/* style-theme-mocks_public.css
   Per-theme decorations for shop theme tile mini-mocks.
   Scoped to .theme-mock-{id}. Pseudo-element baselines are shared.
   Compositions reflect each theme's real bg + table details (mirrored at
   miniature scale from style-theme_public.css). Never make a mock look
   fancier than the actual theme. */

/* Baseline for pseudo-element decorations */
.theme-mock::before,
.theme-mock::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ---------- classic: soft highlight, felt dots ---------- */
.theme-mock-classic::before {
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.06), transparent 70%);
}
.theme-mock-classic .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,.04) 0 1px, transparent 1px 4px);
}

/* ---------- subtle: mist bands, ink-dot table ---------- */
.theme-mock-sumi::before {
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 6px, transparent 6px 18px);
}
.theme-mock-sumi::after {
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(180,195,215,.15));
}
.theme-mock-sumi .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 50%, transparent 20%, rgba(255,255,255,.04) 21% 34%, transparent 35%) 0 0 / 10px 13px,
    radial-gradient(circle at 0 50%, transparent 20%, rgba(255,255,255,.04) 21% 34%, transparent 35%) 0 -6px / 10px 13px;
}

/* ---------- shinobi: red moon top-left, mountain silhouette bottom, pattern table ---------- */
.theme-mock-shinobi::before {
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8c8a8, #c8372d);
  opacity: 0.55;
  box-shadow: 0 0 20px rgba(200,55,45,.4);
}
.theme-mock-shinobi::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: #12141a;
  opacity: 0.5;
  clip-path: polygon(0 100%, 0 70%, 18% 40%, 35% 60%, 52% 25%, 68% 58%, 85% 42%, 100% 65%, 100% 100%);
}
.theme-mock-shinobi .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 50%, transparent 20%, rgba(255,255,255,.05) 21% 34%, transparent 35%) 0 0 / 16px 20px,
    radial-gradient(circle at 0 50%, transparent 20%, rgba(255,255,255,.05) 21% 34%, transparent 35%) 0 -10px / 16px 20px;
}

/* ---------- frost: icy glow accents, white dot table ---------- */
.theme-mock-frost::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0, rgba(120,220,200,.4), transparent 45%),
    radial-gradient(ellipse at 85% 10%, rgba(150,170,255,.35), transparent 40%);
}
.theme-mock-frost::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(255,255,255,.75));
}
.theme-mock-frost .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.6px) 0 0 / 8px 10px,
    radial-gradient(circle, rgba(255,255,255,.5) 0 1px, transparent 1.6px) 4px 5px / 12px 11px;
}

/* ---------- mono: subtle top light, minimal ---------- */
.theme-mock-mono::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.5) 0, transparent 30%);
}
/* ---------- dojo: bamboo stripes bg, tatami grid table ---------- */
.theme-mock-dojo::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(110,150,95,.35) 12px 15px, transparent 15px 34px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(80,120,70,.42) 24px 27px, transparent 27px 55px);
  -webkit-mask-image: linear-gradient(transparent, #000 30%);
  mask-image: linear-gradient(transparent, #000 30%);
}
.theme-mock-dojo::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(200,220,200,.18));
}
.theme-mock-dojo .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), #2a3820 calc(50% - 1px) calc(50% + 1px), transparent 0),
    linear-gradient(0deg, transparent calc(50% - 1px), #2a3820 calc(50% - 1px) calc(50% + 1px), transparent 0),
    repeating-linear-gradient(90deg, rgba(50,60,20,.22) 0 1px, transparent 1px 4px);
}

/* ---------- midnight: moon + rooftops bg, gold dots on table ---------- */
.theme-mock-midnight::before {
  top: 10px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4ead0, #d9c9a0);
  box-shadow: 0 0 18px rgba(244,234,208,.4);
  opacity: 0.9;
}
.theme-mock-midnight::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: #05060a;
  clip-path: polygon(0 100%, 0 80%, 10% 80%, 13% 72%, 18% 80%, 30% 80%, 30% 74%, 36% 74%, 38% 68%, 44% 74%, 54% 74%, 54% 66%, 60% 66%, 63% 58%, 66% 54%, 68% 50%, 70% 38%, 71% 28%, 72% 38%, 74% 50%, 76% 54%, 79% 58%, 82% 66%, 88% 66%, 88% 74%, 92% 74%, 94% 70%, 98% 76%, 100% 76%, 100% 100%);
}
.theme-mock-midnight .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(201,164,92,.55) 0 1px, transparent 1.4px) 0 0 / 10px 12px,
    radial-gradient(circle, rgba(201,164,92,.35) 0 1px, transparent 1.4px) 5px 6px / 14px 13px;
}

/* ---------- dojo modal: wood dowel at bottom (top handled by accent gradient) ---------- */
.theme-mock-dojo .theme-mock-modal::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(#5a3a22, #3a2414);
  border-radius: 0 0 3px 3px;
  z-index: 2;
}

/* ---------- midnight modal: gold inner frame (double-line lacquer look) ---------- */
.theme-mock-midnight .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #0e1015,
    inset 0 0 0 2px rgba(201,164,92,.55);
}

/* ---------- zen modal: thick shoji wooden frame ---------- */
.theme-mock-zen .theme-mock-modal {
  border-width: 4px;
}

/* ---------- zen: washi paper + ink circle bg, raked circles table ---------- */
.theme-mock-zen::before {
  inset: 0;
  background:
    radial-gradient(rgba(120,90,50,.08) 1px, transparent 1px) 0 0/4px 4px,
    repeating-linear-gradient(92deg, rgba(255,255,255,.28) 0 1px, transparent 1px 7px),
    radial-gradient(ellipse at 20% 100%, rgba(25,20,15,.4), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(25,20,15,.28), transparent 50%);
}
.theme-mock-zen::after {
  top: 8px;
  right: -14px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 6px solid rgba(25,20,15,.5);
  border-right-color: transparent;
  transform: rotate(-30deg);
  filter: blur(0.5px);
}
.theme-mock-zen .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(90,75,50,.22) 0 1.5px, transparent 1.5px 10px);
}

/* ==========================================================================
   MODAL DECORATIONS for the 5 earlier themes
   ========================================================================== */

/* ---------- classic modal: soft blue inner line ---------- */
.theme-mock-classic .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(76,141,255,.35);
}

/* ---------- subtle modal: cream frame + terracotta hairline ---------- */
.theme-mock-sumi .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #d8cfbc,
    inset 0 0 0 2px rgba(138,44,31,.25);
}

/* ---------- shinobi modal: washi rice-paper inner border ---------- */
.theme-mock-shinobi .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 2px rgba(185,166,127,.4);
}

/* ---------- frost modal: white inset + light blue tint ---------- */
.theme-mock-frost .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #ffffff,
    inset 0 0 0 2px rgba(63,134,199,.25);
}

/* ---------- mono modal: neutral inner line ---------- */
.theme-mock-mono .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #cfd3dc;
}

/* ==========================================================================
   SAKURA NIGHT mock
   ========================================================================== */
.theme-mock-sakura::before {
  inset: 0;
  background:
    radial-gradient(ellipse 4px 2px at 12% 18%, rgba(255,183,197,.55) 60%, transparent 70%),
    radial-gradient(ellipse 3px 2px at 28% 52%, rgba(255,183,197,.4) 60%, transparent 70%),
    radial-gradient(ellipse 5px 3px at 41% 12%, rgba(255,183,197,.5) 60%, transparent 70%),
    radial-gradient(ellipse 3px 2px at 57% 66%, rgba(255,183,197,.45) 60%, transparent 70%),
    radial-gradient(ellipse 4px 2px at 73% 30%, rgba(255,183,197,.5) 60%, transparent 70%),
    radial-gradient(ellipse 4px 3px at 86% 74%, rgba(255,183,197,.4) 60%, transparent 70%);
}
.theme-mock-sakura::after {
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(255,150,180,.18), transparent 40%);
}
.theme-mock-sakura .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 50%, transparent 20%, rgba(255,255,255,.03) 21% 34%, transparent 35%) 0 0 / 12px 16px,
    radial-gradient(circle at 0 50%, transparent 20%, rgba(255,255,255,.03) 21% 34%, transparent 35%) 0 -8px / 12px 16px;
}
.theme-mock-sakura .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,.3),
    inset 0 0 12px rgba(255,255,255,.08);
}

/* ==========================================================================
   ART DECO mock
   ========================================================================== */
.theme-mock-deco::before {
  left: 50%;
  top: -40px;
  width: 80px;
  height: 80px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(240,215,138,.16);
  box-shadow:
    0 0 0 12px transparent,
    0 0 0 13px rgba(240,215,138,.1),
    0 0 0 30px transparent,
    0 0 0 31px rgba(240,215,138,.07);
}
.theme-mock-deco .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #0c0c0e,
    inset 0 0 0 2px rgba(240,215,138,.45);
}

/* ==========================================================================
   SAHARA mock
   ========================================================================== */
.theme-mock-sahara::before {
  left: 50%;
  bottom: 30%;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffe2a8, #ffb36b 70%);
  opacity: 0.85;
}
.theme-mock-sahara::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(#7a3a24, #2a130c);
  clip-path: polygon(0 60%, 18% 35%, 38% 55%, 60% 22%, 82% 50%, 100% 30%, 100% 100%, 0 100%);
}
.theme-mock-sahara .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(241,224,184,1),
    inset 0 0 0 2px rgba(139,90,43,.5);
}

/* ==========================================================================
   NAUTICAL mock
   ========================================================================== */
.theme-mock-nautical::before {
  inset: 0;
  background: radial-gradient(circle at 50% 100%, transparent 0 38%, rgba(255,255,255,.09) 39% 42%, transparent 43%) 0 0/22px 11px;
  -webkit-mask: linear-gradient(transparent 25%, #000);
  mask: linear-gradient(transparent 25%, #000);
}
.theme-mock-nautical::after {
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7e0, #e8d8a8);
  box-shadow: 0 0 14px rgba(255,247,224,.5);
  opacity: 0.9;
}
.theme-mock-nautical .theme-mock-modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(#5a3a22, #3a2414);
  border-radius: 3px 3px 0 0;
  z-index: 2;
}
.theme-mock-nautical .theme-mock-modal::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(#3a2414, #5a3a22);
  border-radius: 0 0 3px 3px;
  z-index: 2;
}

/* ==========================================================================
   WOODLAND mock
   ========================================================================== */
.theme-mock-woodland::before {
  inset: 0;
  background: repeating-conic-gradient(from 160deg at 50% -10%, rgba(220,255,190,.08) 0 6deg, transparent 6deg 16deg);
}
.theme-mock-woodland::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(5,15,8,.7));
}
.theme-mock-woodland .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #5a7a45,
    inset 0 0 6px rgba(0,0,0,0.4);
}

/* ==========================================================================
   SYNTHWAVE mock
   ========================================================================== */
.theme-mock-synthwave::before {
  left: 50%;
  bottom: 32%;
  width: 40px;
  height: 40px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(#ffe45c, #ff3d81);
  -webkit-mask: linear-gradient(#000 52%, transparent 52% 58%, #000 58% 68%, transparent 68% 75%, #000 75% 85%, transparent 85% 92%, #000 92%);
  mask: linear-gradient(#000 52%, transparent 52% 58%, #000 58% 68%, transparent 68% 75%, #000 75% 85%, transparent 85% 92%, #000 92%);
}
.theme-mock-synthwave::after {
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 30%;
  background:
    linear-gradient(rgba(255,61,129,.65) 1px, transparent 1px) 0 0/100% 8px,
    linear-gradient(90deg, rgba(255,61,129,.65) 1px, transparent 1px) 0 0/14px 100%,
    #14052a;
  transform-origin: 50% 100%;
  transform: perspective(80px) rotateX(55deg);
}
.theme-mock-synthwave .theme-mock-modal {
  box-shadow:
    0 0 0 1px rgba(255,61,129,.55),
    0 0 12px rgba(24,214,255,.4),
    0 0 24px rgba(255,61,129,.3);
}

/* ==========================================================================
   OLD LIBRARY mock
   ========================================================================== */
.theme-mock-library::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, #3a1d14 0 8px, #2a1810 8px 13px, #44281a 13px 17px, #1d3a2c 17px 22px, #4a2c1c 22px 27px);
  opacity: 0.85;
}
.theme-mock-library::after {
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(0,0,0,.75)),
    radial-gradient(circle at 80% 15%, rgba(255,190,100,.25), transparent 35%);
}
.theme-mock-library .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 0 0 1px #c9a24a,
    inset 0 0 0 2px rgba(201,162,74,.35);
}
.theme-mock-library .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0,0,0,.14) 0 1px, transparent 1.6px) 0 0/5px 5px;
}

/* ==========================================================================
   COSMOS mock
   ========================================================================== */
.theme-mock-cosmos::before {
  inset: 0;
  background:
    radial-gradient(circle, #fff 0 .5px, transparent 1px) 8px 12px/28px 32px,
    radial-gradient(circle, rgba(255,240,200,.85) 0 .6px, transparent 1.1px) 22px 4px/44px 38px,
    radial-gradient(circle, rgba(255,255,255,.6) 0 .4px, transparent .9px) 3px 18px/19px 22px;
}
.theme-mock-cosmos::after {
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200,70,150,.25), transparent 45%),
    radial-gradient(ellipse at 90% 70%, rgba(60,120,220,.22), transparent 40%),
    radial-gradient(ellipse at 60% 10%, rgba(140,90,220,.22), transparent 40%);
}
.theme-mock-cosmos .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,.3),
    inset 0 0 8px rgba(180,180,255,.15);
}
.theme-mock-cosmos .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,.85) 0 .5px, transparent 1px) 0 0/14px 16px,
    radial-gradient(circle, rgba(255,235,180,.7) 0 .5px, transparent 1px) 7px 4px/22px 19px;
}

/* ==========================================================================
   IMPERIAL RED mock
   ========================================================================== */
.theme-mock-imperial::before {
  top: 4px;
  left: 0;
  right: 0;
  height: 14px;
  background:
    radial-gradient(circle at 12.5% 50%, rgba(255,170,60,.75) 0 4px, rgba(255,120,40,.25) 5px 12px, transparent 13px),
    radial-gradient(circle at 37.5% 50%, rgba(255,170,60,.75) 0 4px, rgba(255,120,40,.25) 5px 12px, transparent 13px),
    radial-gradient(circle at 62.5% 50%, rgba(255,170,60,.75) 0 4px, rgba(255,120,40,.25) 5px 12px, transparent 13px),
    radial-gradient(circle at 87.5% 50%, rgba(255,170,60,.75) 0 4px, rgba(255,120,40,.25) 5px 12px, transparent 13px);
}
.theme-mock-imperial .theme-mock-modal {
  box-shadow:
    0 3px 8px rgba(0,0,0,0.35),
    inset 0 0 0 1px #f0d78a,
    inset 0 0 0 2px rgba(240,215,138,.45);
}
.theme-mock-imperial .theme-mock-table::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(240,215,138,.22) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(240,215,138,.22) 0 1px, transparent 1px 7px);
}