/* Front-end */

/* Definite preferred width prevents shrink-to-content in Elementor flex widgets. */
.sammc-wrap {
  position: relative;
  --sammc-w: 440px;
  --sammc-h: 660px;
  width: var(--sammc-w);
  max-width: 100%;
  margin: 0 auto;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  display: flow-root;
  box-sizing: border-box;
  height: auto;
  overflow: visible;
}

/*
 * Keep the card footer in normal document flow. Some page builders and themes
 * reuse generic card/action rules that make these elements absolute or floated,
 * which makes the following section overlap the caption and action buttons.
 */
.sammc-wrap > .sammc-card {
  position: relative !important;
  display: block !important;
  float: none !important;
  clear: both;
  height: auto !important;
}

.sammc-wrap > .sammc-card-footer {
  position: relative !important;
  display: block !important;
  inset: auto !important;
  float: none !important;
  clear: both;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
  transform: none !important;
  overflow: visible !important;
  contain: none !important;
}

.sammc-card-footer > .sammc-help,
.sammc-card-footer > .sammc-cta-message,
.sammc-card-footer > .sammc-card-actions {
  position: relative !important;
  inset: auto !important;
  float: none !important;
  clear: both;
  width: 100%;
  box-sizing: border-box;
  transform: none !important;
}

.sammc-tabs {
  position: absolute;
  z-index: 60;
  left: 14px;
  bottom: 20px;
  transform: translateX(0);
  width: max-content;
  max-width: calc(100% - 24px);
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 10px;
  box-sizing: border-box;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.sammc-tabs.is-dragging {
  cursor: grabbing;
}

.sammc-tabs-drag,
.sammc-wrap button.sammc-tabs-drag {
  all: unset;
  box-sizing: border-box;
  width: 30px;
  min-width: 30px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, .48);
  color: rgba(255, 255, 255, .9);
  cursor: grab;
  touch-action: none;
  line-height: 1;
  font-size: 14px;
  letter-spacing: -1px;
}

.sammc-tabs.is-dragging .sammc-tabs-drag {
  cursor: grabbing;
}

.sammc-tabs-drag:hover {
  background: rgba(17, 17, 17, .66);
}

.sammc-tabs-drag span {
  pointer-events: none;
  transform: translateY(-1px);
}

.sammc-wrap button.sammc-tab {
  all: unset;
  box-sizing: border-box;
}

.sammc-tab {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(17, 17, 17, .66);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}

.sammc-tab span {
  display: inline-block;
}

.sammc-tab-icon,
.sammc-wrap button.sammc-tab-icon {
  display: inline-block !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  flex: 0 0 46px !important;
  padding: 0 !important;
  border-radius: 999px;
  border: 0 solid rgba(62, 62, 62, 0.72);
  background-color: rgba(255, 255, 255, 0.66);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  cursor: pointer;
}

.sammc-tab-icon span {
  display: block;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



@media (max-width: 640px) {
  .sammc-tabs {
    flex-wrap: wrap;
  }

  .sammc-wrap.sammc-tap-open .sammc-tabs {
    display: none !important;
  }

  .sammc-wrap {
    width: 440px;
    max-width: 100%;
  }

  .sammc-wrap .sammc-stage,
  .sammc-wrap.sammc-orient-landscape .sammc-stage {
    aspect-ratio: 2 / 3;
    max-height: 660px;
  }
}

.sammc-tab:hover {
  background: rgba(17, 17, 17, .82);
}

.sammc-tab.is-active,
.sammc-tab.sammc-tab-close {
  background: #111;
  border-color: #111;
  color: #fff;
}

.sammc-card {
  position: relative;
  z-index: 1;
  width: min(100%, var(--sammc-w));
  height: auto;
  outline: none;
  margin: 0 auto;
}

.sammc-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: var(--sammc-h);
  transform-style: preserve-3d;
  transition: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  background: #ffffff;
}

.sammc-face {
  position: absolute;
  inset: 0;
  z-index: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.sammc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sammc-missing {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .08) 10px, rgba(255, 255, 255, .03) 10px, rgba(255, 255, 255, .03) 20px);
}

.sammc-yap {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  pointer-events: auto;
}

.sammc-yap-hidden {
  display: none;
}

.sammc-yap-inner {
  width: 100%;
  height: 100%;
  background: transparent;
}

.sammc-yap-close,
.sammc-wrap .sammc-yap-close,
.elementor .sammc-wrap .sammc-yap-close,
.elementor-kit-1196 .sammc-wrap .sammc-yap-close {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
  line-height: 1 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  appearance: none;
  -webkit-appearance: none;
}

.sammc-yap-close:hover,
.sammc-wrap .sammc-yap-close:hover,
.elementor .sammc-wrap .sammc-yap-close:hover,
.elementor-kit-1196 .sammc-wrap .sammc-yap-close:hover {
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
}

.sammc-yap-close:focus,
.sammc-wrap .sammc-yap-close:focus,
.elementor .sammc-wrap .sammc-yap-close:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .28), 0 2px 10px rgba(0, 0, 0, .22) !important;
}

.sammc-yap-close span {
  display: block;
  transform: translateY(-1px);
  pointer-events: none;
}

.sammc-help {
  margin-top: 10px;
  text-align: left;
  font-size: 13px;
  color: rgba(0, 0, 0, .6);
}

.sammc-top-menu {
  margin-bottom: 10px;
  color: rgba(0, 0, 0, .6);
  font-size: 13px;
}

.sammc-top-guide-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.sammc-top-help-main {
  flex: 0 0 80%;
  max-width: 80%;
  box-sizing: border-box;
  padding-right: 12px;
  text-align: left;
  line-height: 1.45;
}

.sammc-top-break-slot {
  flex: 0 0 20%;
  max-width: 20%;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.sammc-top-break-slot:empty {
  display: none;
}

.sammc-guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.sammc-help-main {
  flex: 0 0 80%;
  max-width: 80%;
  box-sizing: border-box;
  padding-right: 12px;
  text-align: left;
  line-height: 1.55;
}

.sammc-break-slot {
  flex: 0 0 20%;
  max-width: 20%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sammc-break-slot:empty {
  display: none;
}

.sammc-cta-message {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0, 0, 0, .78);
}

.sammc-cta-message .sammc-cta-link {
  font-weight: 600;
}

/* Actions */
.sammc-card-actions {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.sammc-card-actions-overlay {
  position: static;
  z-index: auto;
  left: auto;
  bottom: auto;
  transform: none;
  width: auto;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #c9c9c9;
  pointer-events: auto;
}

.sammc-card-actions-overlay>* {
  pointer-events: auto;
}

.sammc-card-actions .sammc-read-more,
.sammc-card-actions .sammc-reply-button,
.sammc-card-actions .sammc-relay-button { all:unset; box-sizing:border-box; display:inline; padding:0 12px; color:#777!important; background:transparent!important; background-image:none!important; font:inherit; font-size:16px; line-height:1.35; text-decoration:none; cursor:pointer; box-shadow:none!important; }
.sammc-card-actions .sammc-read-more { border:0; border-radius:0; box-shadow:none; }
.sammc-card-actions .sammc-reply-button,
.sammc-card-actions .sammc-relay-button { border-left:1px solid #777; }
.sammc-card-actions .sammc-read-more:hover,
.sammc-card-actions .sammc-reply-button:hover,
.sammc-card-actions .sammc-relay-button:hover { color:#fdb63e!important; background:transparent!important; text-decoration:none; }
.sammc-landing-copy { position:absolute; inset:0; z-index:50; display:grid; place-items:center; box-sizing:border-box; padding:7px; color:var(--sammc-landing-color,inherit); background:#fff; opacity:1; visibility:visible; transition:opacity .4s ease,visibility .4s ease; border-radius:inherit; }
.sammc-landing-copy.is-dismissed { opacity:0; visibility:hidden; pointer-events:none; }
.sammc-landing-copy-content { max-width:90%; text-align:center; }
.sammc-landing-copy-content p { margin:0; font-size:var(--sammc-landing-size,22px); line-height:1.25; font-weight:600; }
.sammc-wrap .sammc-landing-copy-content button[data-sammc-landing-dismiss],
.elementor .sammc-wrap .sammc-landing-copy-content button[data-sammc-landing-dismiss] { all:unset; box-sizing:border-box !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; min-width:0 !important; min-height:40px !important; width:auto !important; height:auto !important; margin:18px 0 0 !important; padding:9px 18px !important; border:1px solid currentColor !important; border-radius:999px !important; color:inherit !important; background:#fff !important; background-image:none !important; font:600 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif !important; letter-spacing:0 !important; text-transform:none !important; box-shadow:none !important; cursor:pointer !important; appearance:none !important; -webkit-appearance:none !important; }
.sammc-wrap .sammc-landing-copy-content button[data-sammc-landing-dismiss]::before,
.sammc-wrap .sammc-landing-copy-content button[data-sammc-landing-dismiss]::after { content:none !important; display:none !important; }
.sammc-reply-layer { position:absolute; z-index:35; display:block; box-sizing:border-box; left:0; right:0; top:0; width:100%; height:min(560px,100%); padding:7px; overflow:visible; background:transparent; }
.sammc-reply-layer.sammc-yap-hidden { display:none; }
.sammc-wrap button.sammc-reply-close,
.elementor .sammc-wrap button.sammc-reply-close { all:unset; box-sizing:border-box !important; position:absolute !important; top:14px !important; right:14px !important; z-index:2 !important; width:34px !important; height:34px !important; min-width:34px !important; min-height:34px !important; display:flex !important; align-items:center !important; justify-content:center !important; margin:0 !important; padding:0 !important; border:0 !important; border-radius:999px !important; color:#fff !important; background:#333 !important; background-image:none !important; cursor:pointer !important; box-shadow:0 2px 10px rgba(0,0,0,.2) !important; appearance:none !important; -webkit-appearance:none !important; }
.sammc-wrap button.sammc-reply-close::before,
.sammc-wrap button.sammc-reply-close::after { content:none !important; display:none !important; }
.sammc-reply-close svg { display:block !important; width:18px !important; height:18px !important; margin:0 !important; padding:0 !important; overflow:visible; fill:none !important; stroke:currentColor !important; stroke-width:3 !important; stroke-linecap:round !important; pointer-events:none; }
.sammc-reply-form { display:block; width:100%; height:100%; box-sizing:border-box; padding:40px 26px 7px; overflow:auto; border-radius:26px; background:var(--sammc-reply-bg,rgba(255,255,255,.92)); }

.sammc-send-to-me,
.sammc-print-order,
.sammc-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .96);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  color: rgba(0, 0, 0, .88);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}

.sammc-send-to-me:hover,
.sammc-print-order:hover,
.sammc-read-more:hover {
  border-color: rgba(0, 0, 0, .25);
}

/* For HTML game iframe */
.sammc-yap-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

/* Orientation */
.sammc-orient-landscape .sammc-stage {
  aspect-ratio: 3 / 2;
}

/* Face visibility (fake flip: swap at halfway) */
.sammc-show-front .sammc-front {
  display: block;
}

.sammc-show-front .sammc-back {
  display: none;
}

.sammc-show-back .sammc-front {
  display: none;
}

.sammc-show-back .sammc-back {
  display: block;
}

/* Hide tabs option */
.sammc-tabs-hidden .sammc-tabs {
  display: none;
}

/* =========================
   Send To Me modal (popup)
========================= */
#sammc-ledger-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

#sammc-ledger-modal.is-open {
  display: block;
}

#sammc-ledger-modal .sammc-ledger-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

#sammc-ledger-modal .sammc-ledger-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 24px));
  height: min(520px, calc(100vh - 24px));
  background: #0b0b0d;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

#sammc-ledger-modal .sammc-ledger-x {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(20, 20, 23, .9);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

#sammc-ledger-modal .sammc-ledger-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Saved state */
.sammc-send-to-me.is-saved {
  opacity: .95;
}

@media (max-width: 640px) {

  .sammc-send-to-me,
  .sammc-print-order,
  .sammc-read-more {
    font-size: 12px;
    padding: 9px 12px;
  }
}

.sammc-send-to-me.is-sent {
  opacity: .55;
  pointer-events: auto;
}

.sammc-send-to-me.is-sent::after {
  content: " ✓";
}

/* Ledger logout (this browser) */
button#sammc-ledger-logout-fab,
button.sammc-ledger-logout-fab {
  all: unset;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #111;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

button#sammc-ledger-logout-fab:hover,
button.sammc-ledger-logout-fab:hover {
  background: #f6f6f6;
  color: #FDB63E;
}

/* Mailbox preview / embed mode */
html.sammc-mailbox-preview,
body.sammc-mailbox-preview {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.sammc-mailbox-preview #wpadminbar,
body.sammc-mailbox-preview #sammc-mailbox-dock,
body.sammc-mailbox-preview .sammc-ledger-logout-fab,
body.sammc-mailbox-preview #sammc-ledger-logout-fab,
body.sammc-mailbox-preview header,
body.sammc-mailbox-preview footer,
body.sammc-mailbox-preview .site-header,
body.sammc-mailbox-preview .site-footer,
body.sammc-mailbox-preview .entry-header,
body.sammc-mailbox-preview .entry-title,
body.sammc-mailbox-preview .page-header,
body.sammc-mailbox-preview .page-title,
body.sammc-mailbox-preview .post-title,
body.sammc-mailbox-preview .elementor-location-header,
body.sammc-mailbox-preview .elementor-location-footer,
body.sammc-mailbox-preview .elementor-widget-theme-post-title,
body.sammc-mailbox-preview .elementor-widget-post-title,
body.sammc-mailbox-preview .sam-ledger-wrap,
body.sammc-mailbox-preview .sam-ledger-root,
body.sammc-mailbox-preview .sammc-card-actions,
body.sammc-mailbox-preview .sammc-mailbox-dock-btn,
body.sammc-mailbox-preview [data-mailbox-open],
body.sammc-mailbox-preview [data-mailbox-state] {
  display: none !important;
}

body.sammc-mailbox-preview .site,
body.sammc-mailbox-preview .site-main,
body.sammc-mailbox-preview .site-content,
body.sammc-mailbox-preview .content-area,
body.sammc-mailbox-preview .entry-content,
body.sammc-mailbox-preview .post,
body.sammc-mailbox-preview article,
body.sammc-mailbox-preview .elementor,
body.sammc-mailbox-preview .elementor-section,
body.sammc-mailbox-preview .elementor-container,
body.sammc-mailbox-preview .elementor-column,
body.sammc-mailbox-preview .elementor-widget-wrap,
body.sammc-mailbox-preview .elementor-widget-shortcode,
body.sammc-mailbox-preview .elementor-shortcode {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

body.sammc-mailbox-preview #sammc-mailbox-preview-root {
  width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 16px 0 20px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-wrap {
  --sammc-w: clamp(440px, 64vw, 560px);
  width: min(94vw, var(--sammc-w)) !important;
  max-width: var(--sammc-w) !important;
  margin: 0 auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  zoom: 1 !important;
}

body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-card,
body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-stage,
body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-tabs {
  display: block !important;
}

body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-card {
  box-shadow: none !important;
}

body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-help {
  text-align: center !important;
}

body.sammc-mailbox-preview,
body.sammc-mailbox-preview html {
  overflow: auto !important;
}

body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-card,
body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-stage {
  width: 100% !important;
  max-width: none !important;
}

.sammc-help .sammc-help-link,
.sammc-top-menu .sammc-help-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sammc-help .sammc-help-link:hover,
.sammc-help .sammc-help-link:focus,
.sammc-top-menu .sammc-help-link:hover,
.sammc-top-menu .sammc-help-link:focus {
  color: #fdb63e;
  opacity: 1;
}


.sammc-lottie-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.sammc-lottie-stage {
  width: 100%;
  height: 100%;
}

.sammc-lottie-toolbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 160px;
  display: grid;
  gap: 8px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
  z-index: 15;
}

.sammc-lottie-controls,
.sammc-lottie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.sammc-lottie-btn,
.sammc-lottie-select,
.sammc-lottie-time {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(17, 17, 17, .8);
  background: rgba(255, 255, 255, .92);
  color: #111;
  border-radius: 999px;
  padding: 8px 12px;
  line-height: 1;
  font-size: 13px;
  box-sizing: border-box;
}

.sammc-lottie-btn {
  cursor: pointer;
}

.sammc-lottie-btn:hover,
.sammc-lottie-btn:focus,
.sammc-lottie-select:hover,
.sammc-lottie-select:focus {
  background-color: #fff;
}

.sammc-lottie-btn.is-icon {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background-color: rgba(255, 255, 255, 0.9);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  text-indent: -9999px;
  overflow: hidden;
}

.sammc-lottie-btn.is-play {
  background-image: url('img/sam_play.svg');
}

.sammc-lottie-btn.is-pause {
  background-image: url('img/sam_pause.svg');
}

.sammc-lottie-btn.is-stop {
  background-image: url('img/sam_stop.svg');
}

.sammc-lottie-btn.is-reset {
  background-image: url('img/sam_reset.svg');
}

.sammc-lottie-seek {
  width: min(120px, 42vw);
}

.sammc-lottie-time {
  font-size: 12px;
  border-color: rgba(17, 17, 17, .15);
}

.sammc-tab.is-locked {
  position: relative;
}

.sammc-tab-lock {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 12px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
}

.sammc-unlock-modal.is-hidden {
  display: none;
}

.sammc-unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.sammc-unlock-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.sammc-unlock-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(320px, calc(100vw - 24px));
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

#sammc-unlock-modal button.sammc-unlock-x {
  all: unset;
  box-sizing: border-box !important;
  position: absolute !important;
  right: 10px !important;
  top: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #333 !important;
  color: #fff !important;
  font: 22px/1 Arial, sans-serif !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer;
}

.sammc-unlock-title {
  padding-right: 26px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sammc-unlock-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.sammc-unlock-form {
  display: flex;
  gap: 8px;
}

.sammc-unlock-input {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #ccd0d4;
  border-radius: 10px;
  padding: 0 12px;
}

#sammc-unlock-modal button.sammc-unlock-submit {
  all: unset;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  height: 42px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 0 12px !important;
  background: #111 !important;
  color: #fff !important;
  font: 600 14px/1.2 Arial, sans-serif !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer;
  white-space: nowrap;
}
#sammc-unlock-modal button.sammc-unlock-x::before,
#sammc-unlock-modal button.sammc-unlock-x::after,
#sammc-unlock-modal button.sammc-unlock-submit::before,
#sammc-unlock-modal button.sammc-unlock-submit::after { content:none !important; }
#sammc-unlock-modal button:focus-visible { outline:2px solid #2271b1; outline-offset:2px; }

.sammc-unlock-message {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
}

.sammc-publisher {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #777;
  text-align: center;
}

.sammc-publisher a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sammc-publisher span {
  font-weight: 500;
}

@media (max-width: 640px) {
  body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-wrap {
    --sammc-w: 440px;
    width: min(94vw, 440px) !important;
    max-width: 440px !important;
  }

  body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-wrap .sammc-stage {
    aspect-ratio: 2 / 3 !important;
    max-height: 660px !important;
  }

  body.sammc-mailbox-preview #sammc-mailbox-preview-root .sammc-wrap.sammc-tap-open .sammc-tabs {
    display: none !important;
  }
}

/* Previous/next controls stay outside the flipping stage. */
.sammc-wrap .sammc-card > button.sammc-sequence{all:unset;box-sizing:border-box!important;position:absolute!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:50px!important;height:50px!important;min-width:50px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;z-index:40;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .18s ease}
.sammc-wrap .sammc-card > .sammc-sequence-prev{left:0!important}
.sammc-wrap .sammc-card > .sammc-sequence-next{right:0!important}
.sammc-sequence span{display:block;width:50px;height:50px;background:#000;-webkit-mask:center/50px 50px no-repeat;mask:center/50px 50px no-repeat}
.sammc-sequence-prev span{-webkit-mask-image:url('img/ys_left_btn.svg');mask-image:url('img/ys_left_btn.svg')}
.sammc-sequence-next span{-webkit-mask-image:url('img/ys_right_btn.svg');mask-image:url('img/ys_right_btn.svg')}
.sammc-wrap .sammc-card:hover > .sammc-sequence,.sammc-wrap .sammc-card > .sammc-sequence:focus-visible{opacity:.4;pointer-events:auto}
.sammc-wrap .sammc-card > .sammc-sequence:hover,.sammc-wrap .sammc-card > .sammc-sequence:focus-visible{opacity:1}
.sammc-sequence:hover span,.sammc-sequence:focus-visible span{background:#ffdc00}
.sammc-wrap .sammc-card > .sammc-sequence:focus-visible{outline:2px solid #ffdc00;outline-offset:2px}
@media(hover:none),(pointer:coarse){.sammc-wrap .sammc-card > button.sammc-sequence{opacity:.1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.sammc-wrap .sammc-card > button.sammc-sequence{transition:none}}

/* Equal horizontal inset for the menus and caption. */
.sammc-wrap > .sammc-top-menu,
.sammc-wrap > .sammc-card-footer { box-sizing:border-box; padding-left:10px; padding-right:10px; }
.sammc-card-actions { align-items:center; row-gap:6px; }
.sammc-wrap .sammc-card-actions > a,
.sammc-wrap .sammc-card-actions > button { position:static; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; width:auto; height:auto; min-height:0; margin:0; padding:0 12px; border:0; border-radius:0; font:inherit; font-size:16px; line-height:1.35; color:#777!important; background:transparent!important; box-shadow:none!important; transform:none; text-decoration:none; }
.sammc-wrap .sammc-card-actions > * + * { border-left:1px solid #777; }
.sammc-wrap .sammc-card-actions > :hover { color:#fdb63e!important; }


/* Keep dynamic Playlist indicators below the menu and CTA. */
.sammc-wrap > .sammc-card-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
}
.sammc-card-footer > .sammc-help { order: 0; }
.sammc-card-footer > .sammc-cta-message { order: 1; }
.sammc-card-footer > .playlist__now-playing { order: 2; }
.sammc-card-footer > .sammc-publisher { order: 3; }
.sammc-card-footer > .sammc-card-actions { order: 4; }

/* Release the Page View column when its mobile control is absent or hidden. */
@media (max-width:720px) {
  .sammc-top-guide-row:has(> .sammc-top-break-slot:empty) > .sammc-top-help-main,
  .sammc-top-guide-row:has(> .sammc-top-break-slot > .sambr-hide-mobile) > .sammc-top-help-main,
  .sammc-guide-row:has(> .sammc-break-slot:empty) > .sammc-help-main,
  .sammc-guide-row:has(> .sammc-break-slot > .sambr-hide-mobile) > .sammc-help-main {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    text-align: center;
  }
  .sammc-top-break-slot:has(> .sambr-hide-mobile),
  .sammc-break-slot:has(> .sambr-hide-mobile) { display: none; }
}

/* Index cards use sequence navigation; mouse drag must not select artwork. */
.sammc-card .sammc-img { user-select: none; -webkit-user-drag: none; }
.sammc-card.sammc-is-swiping { cursor: grabbing; user-select: none; }

/* Card identity reads clockwise down the right edge, above the next arrow. */
.sammc-wrap .sammc-card > .sammc-index { position:absolute; right:16px; bottom:16px; max-height:calc(100% - 28px); writing-mode:vertical-rl; text-orientation:sideways; z-index:41; display:flex; align-items:center; flex-wrap:nowrap; gap:3px; color:#888; font:400 10px/1.4 system-ui,sans-serif; pointer-events:auto; }
.sammc-index [data-sammc-index-label] { min-height:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.sammc-wrap .sammc-index button { all:unset; cursor:pointer; font:inherit; font-size:9px; color:inherit; padding:3px; }
.sammc-wrap .sammc-index button:focus-visible { outline:1px solid currentColor; }
.sammc-index [role=status] { font-size:9px; }
@media(max-width:720px) { .sammc-wrap .sammc-card > .sammc-index { right:12px; bottom:16px; max-height:calc(100% - 28px); } }

/* The swipe hint is independent of the menu / Page View row. */
.sammc-swipe-hint { width:100%; margin-bottom:8px; text-align:center; line-height:1.55; }
.sammc-guide-row:has(> .sammc-break-slot:empty) > .sammc-help-main {
  flex:1 1 100%;
  max-width:100%;
  padding-right:0;
  text-align:center;
}

/* Optional Cover video: retain the existing image beneath the player. */
.sammc-cover-media { position:absolute; inset:0; pointer-events:none; }
.sammc-cover-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:auto; }
.sammc-wrap .sammc-cover-media > button.sammc-cover-play {
  all:unset; box-sizing:border-box!important; position:absolute!important;
  inset:auto!important; top:50%!important; left:50%!important;
  transform:translate(-50%,-50%)!important; width:160px!important; height:160px!important;
  min-width:0!important; min-height:0!important; max-width:100%!important; max-height:100%!important;
  margin:0!important; padding:0!important; border:0!important; border-radius:50%!important;
  background:transparent!important; box-shadow:none!important; outline:none!important;
  opacity:.6!important; cursor:pointer; pointer-events:auto; line-height:0!important;
}
.sammc-wrap .sammc-cover-media > button.sammc-cover-play::before,
.sammc-wrap .sammc-cover-media > button.sammc-cover-play::after { display:none!important; }
.sammc-wrap .sammc-cover-play > img {
  display:block!important; position:static!important; width:100%!important; height:100%!important;
  max-width:none!important; max-height:none!important; margin:0!important; padding:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
  object-fit:contain; transform:none!important;
}
.sammc-wrap .sammc-cover-media > button.sammc-cover-play:focus-visible { outline:3px solid #fff!important; outline-offset:4px; }
/* Reuse Card navigation above the native video control strip. */
.sammc-cover-swipe { position:absolute; inset:0 0 64px; pointer-events:auto; touch-action:pan-y; }
.sammc-cover-video[hidden] + .sammc-cover-swipe { display:none; }
.sammc-cover-play:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.sammc-cover-error { position:absolute; bottom:18px; left:8%; right:8%; padding:8px; text-align:center; color:#fff; background:#222d; }
.sammc-cover-media [hidden] { display:none !important; }
.sammc-cover-settings { margin:16px 0; padding:14px; border:1px solid #ccc; }

/* Shared title stays outside the replaceable shortcode / media content. */
/* Explicit sizing avoids the centered absolute box wrapping at half the Card width.
   Isolate the host title from theme / content typography without changing add-ons. */
.sammc-wrap .sammc-card .sammc-yap > .sammc-card-title{
  box-sizing:border-box!important;position:absolute!important;top:20px!important;left:50%!important;right:auto!important;bottom:auto!important;
  transform:translateX(-50%)!important;z-index:8;display:block!important;float:none!important;
  width:max-content!important;min-width:0!important;max-width:min(230px, calc(100% - 24px))!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:7px 24px!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  background:var(--sammc-title-bg, rgba(0,174,255,.6))!important;color:var(--sammc-title-color, #fff)!important;
  font-family:Arial, sans-serif!important;font-size:var(--sammc-title-size, 18px)!important;font-weight:600!important;font-style:normal!important;
  line-height:1.25!important;letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important;
  text-align:center!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;
  opacity:1!important;pointer-events:none;
}
.sammc-wrap .sammc-tap-media{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;border:0;margin:0}
.sammc-wrap .sammc-tap-video-shell{position:relative;width:100%;height:100%;background:#000}
.sammc-wrap .sammc-tap-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border:0;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:28px;line-height:1;padding:0;cursor:pointer;z-index:2}
.sammc-wrap .sammc-tap-video-play[hidden],.sammc-wrap .sammc-tap-video-error[hidden]{display:none!important}
.sammc-wrap .sammc-tap-video-error{position:absolute;bottom:50px;left:10px;right:10px;background:rgba(0,0,0,.75);color:#fff;padding:8px;text-align:center}

.sammc-wrap .sammc-yap-inner{position:relative;z-index:0}
.sammc-wrap .sammc-tap-video-play{font-size:0;background:transparent url("cover_play_btn.svg") center/contain no-repeat}

/* Gesture surface leaves native video controls accessible at the bottom. */
.sammc-wrap .sammc-tap-video-swipe{position:absolute;inset:0 0 64px;z-index:1;pointer-events:auto;touch-action:pan-y}

/* Compact position counter beside the swipe instruction, synced per instance. */
.sammc-wrap .sammc-swipe-count{display:inline-block;margin-left:.3em;font-size:1.2em!important;font-weight:700!important;line-height:inherit;color:inherit;white-space:nowrap;vertical-align:baseline}

/* Native responsive listing card: the template stays inert on wide screens. */
.sammc-mobile-cover{display:block;color:inherit;text-decoration:none;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.15)}
.sammc-mobile-cover-image{display:block;width:100%;height:auto}
.sammc-mobile-cover-missing{display:grid;place-items:center;min-height:12rem;padding:1rem;border:1px solid #ddd}
.sammc-mobile>.sammc-mobile-cover[hidden],.sammc-mobile>.sammc-mobile-live[hidden]{display:none!important}

/* Conceal sealed menu entries until the server confirms the viewer. */
.sammc-tab[data-deck-locked="1"][hidden]{display:none!important}
[data-deck-notice]{padding:12px;border:1px solid #d6b76c;border-radius:8px;background:#fff8e8;color:#443719;font-size:14px;white-space:pre-line}

/* Compact Deck Lock notice, isolated from theme button styles. */
#modum-deck-modal{box-sizing:border-box;width:min(420px,calc(100vw - 32px));min-height:260px;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:20px;background:#fff;color:#171717;box-shadow:0 24px 80px #0004;font:14px/1.3 system-ui,sans-serif;overflow:auto}
#modum-deck-modal::backdrop{background:rgba(20,18,16,.48);backdrop-filter:blur(4px)}
#modum-deck-modal .modum-deck-panel{box-sizing:border-box;position:relative;min-height:260px;padding:60px 30px 30px;text-align:left;display:flex;flex-direction:column}
#modum-deck-modal h2{font:600 18px/1.3 system-ui,sans-serif;margin:0 32px 12px 0;color:inherit}
#modum-deck-modal .modum-deck-message{font:14px/1.3 system-ui,sans-serif;margin:0;white-space:pre-line;overflow-wrap:anywhere}
#modum-deck-modal .modum-deck-progress{font:13px/1.3 system-ui,sans-serif;color:#716b62;margin:12px 0}
#modum-deck-modal .modum-deck-progress[hidden]{display:none!important}
#modum-deck-modal .modum-deck-more{color:inherit;font:inherit;text-decoration:none}
#modum-deck-modal .modum-deck-more:hover{text-decoration:underline}
#modum-deck-modal button.modum-deck-close{all:unset;box-sizing:border-box!important;position:absolute;right:12px;top:12px;width:34px!important;height:34px!important;display:flex;align-items:center;justify-content:center;padding:0!important;margin:0!important;border:0!important;border-radius:999px!important;background:#111!important;color:#fff!important;cursor:pointer;box-shadow:0 2px 10px #0003}
#modum-deck-modal .modum-deck-close svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;pointer-events:none}
#modum-deck-modal button.modum-deck-dismiss{all:unset;box-sizing:border-box;align-self:center;margin:28px 0 0;padding:6px 24px;min-width:86px;text-align:center;border:1px solid #dcdcde!important;border-radius:999px!important;background:#fff!important;color:#171717!important;font:14px/1.3 system-ui,sans-serif;cursor:pointer}
#modum-deck-modal button:focus-visible,#modum-deck-modal a:focus-visible{outline:2px solid #2271b1;outline-offset:3px}
.sammc-wrap .sammc-card > img.modum-deck-label{position:absolute!important;top:0!important;left:20px!important;width:60px!important;height:55px!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;opacity:.6;object-fit:contain;z-index:31;pointer-events:none;user-select:none}

.modum-deck-loading{margin:6px 0;text-align:center;font:13px/1.5 system-ui,sans-serif;color:#716b62}
.modum-deck-loading[hidden]{display:none!important}

/* Tile View reuses the live Card View nodes and their content settings. */
.sammc-view-switch { display:flex; justify-content:center; margin:10px 0; }
.sammc-view-switch-top { justify-content:flex-end; }
.sammc-wrap .sammc-view-switch > button { all:unset; cursor:pointer; color:#009cff; font:12px/1.5 system-ui,sans-serif; padding:4px; }
.sammc-wrap .sammc-view-switch > button:focus-visible { outline:2px solid #009cff; outline-offset:2px; }
.sammc-wrap.sammc-tile-view { width:calc(var(--sammc-w) * 2 + 20px); }
.sammc-wrap.sammc-tile-view > .sammc-card { width:100%; }
.sammc-tile-view > .sammc-card > .sammc-stage { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; aspect-ratio:auto; max-height:none; overflow:visible; border-radius:0; box-shadow:none; background:transparent; }
.sammc-tile-view > .sammc-card > .sammc-stage > .sammc-face,
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] { position:relative; inset:auto; display:flex; min-width:0; width:100%; aspect-ratio:2/3; overflow:hidden; box-sizing:border-box; border:1px solid #686868; border-radius:0; transform:none; }
.sammc-tile-view.sammc-orient-landscape > .sammc-card > .sammc-stage > .sammc-face,
.sammc-tile-view.sammc-orient-landscape > .sammc-card > .sammc-stage > [data-yap-root] { aspect-ratio:3/2; }
.sammc-tile-view > .sammc-card > .sammc-stage > .sammc-front { order:-1; }
.sammc-tile-view > .sammc-card > .sammc-stage > .sammc-back { order:1; }
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] { border:1px dashed #d9d9d9; background-image:none; }
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > [data-yap-inner] { position:absolute; inset:0; }
.sammc-tile-view > .sammc-top-menu,
.sammc-tile-view > .sammc-card-footer > .sammc-help,
.sammc-tile-view > .sammc-card > .sammc-tabs,
.sammc-tile-view > .sammc-card > .sammc-index,
.sammc-wrap.sammc-tile-view > .sammc-card > .sammc-sequence,
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > .sammc-yap-close,
.sammc-tile-view > .sammc-card > .sammc-stage > .sammc-reply-layer { display:none!important; }
.sammc-tile-unlock { position:absolute; inset:0; z-index:30; cursor:pointer; }
.sammc-tile-unlock[hidden] { display:none; }
@media(max-width:640px) { .sammc-tile-view > .sammc-card > .sammc-stage { grid-template-columns:minmax(0,1fr); } .sammc-wrap.sammc-tile-view { width:var(--sammc-w); } }

.sammc-tile-view > .sammc-card > .sammc-stage > .sammc-face > .sammc-img { position:absolute; inset:0; width:100%; height:100%; }

/* Keep theme button hover fills out of both view-switch states. */
.sammc-wrap .sammc-view-switch > button,
.sammc-wrap .sammc-view-switch > button:hover,
.sammc-wrap .sammc-view-switch > button:focus,
.sammc-wrap .sammc-view-switch > button:active { background:transparent!important; border:0!important; box-shadow:none!important; }
.sammc-wrap .sammc-view-switch > button { color:#009cff!important; }
.sammc-wrap .sammc-view-switch > button:hover,
.sammc-wrap .sammc-view-switch > button:focus-visible { color:#006bb3!important; }
.sammc-wrap .sammc-view-switch > button::before,
.sammc-wrap .sammc-view-switch > button::after { content:none!important; }

/* Per-Card direct links are visible only in the expanded grid. */
.sammc-tile-index { display:none; }
.sammc-tile-view > .sammc-card > .sammc-stage > :is(.sammc-face,[data-yap-root]) > .sammc-tile-index { position:absolute; right:4px; bottom:12px; max-height:calc(100% - 24px); writing-mode:vertical-rl; text-orientation:sideways; z-index:41; display:flex; align-items:center; gap:3px; color:#686868; background:rgba(255,255,255,.9); font:400 10px/1.4 system-ui,sans-serif; pointer-events:auto; }
.sammc-tile-index > span:first-child { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; min-height:0; }
/* Override display surfaces only; authored content, media and controls keep their styling. */
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root],
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > [data-yap-inner],
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > [data-yap-inner] :is(.sam-booklet,.sam-booklet__viewport,.sam-booklet__panel,.sam-notes,.sam-notes__viewport,.sam-notes__panel,.sam-bio-card,.sam-bio-card__paper,.showcase__backdrop,.showcase__panel,.playlist__backdrop,.playlist__card,.video_card__backdrop,.video_card__card,.msv-surface,.modum-blank,.modum-newsletter,.mn-panel,.modum-episode) { background-color:#fff!important; background-image:none!important; }
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > [data-yap-inner] :is(.playlist__backdrop,.playlist__card,.msv-panel)::before { background:#fff!important; opacity:1!important; }
.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > [data-yap-inner] :is(.mn-background,.msv-background,.episode__overlay) { display:none!important; }

.sammc-tile-view > .sammc-card > .sammc-stage > [data-yap-root] > .sammc-tile-unlock { background:#fff!important; color:#171717!important; border:0!important; }

.sammc-wrap { scroll-margin-top:20px; }
body.admin-bar .sammc-wrap { scroll-margin-top:66px; }
