/* TufLuck Tag — public page. Colours come from :root vars written by lib/render.php. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden;
  font-family: var(--font); color: var(--tx); line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  /* derived button tokens (overridden per button style) */
  --surf: var(--btn); --on: var(--btn-t); --bd: transparent; --shadow: none; --inv: var(--btn);
  --soft: color-mix(in srgb, var(--on) 10%, transparent);
}
img, video { max-width: 100%; }
button { font: inherit; color: inherit; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--tx) 70%, transparent); outline-offset: 3px; }

/* ── wallpaper ── */
.wp { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.wp img, .wp video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wpo { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.wp-anim { background-size: 300% 300% !important; animation: grad 16s ease infinite; }
@keyframes grad { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
.wp-aurora i { position: absolute; width: 75vmax; height: 75vmax; border-radius: 50%; filter: blur(80px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.wp-aurora i:nth-child(1) { top: -30vmax; left: -25vmax; }
.wp-aurora i:nth-child(2) { bottom: -35vmax; right: -25vmax; animation-duration: 23s; }
.wp-aurora i:nth-child(3) { top: 35%; left: 20%; width: 45vmax; height: 45vmax; opacity: .45; animation-duration: 29s; }
@keyframes drift { to { transform: translate(12vmax, 9vmax) scale(1.2); } }
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.wp-blur img { filter: blur(50px) saturate(1.4); transform: scale(1.5); }

/* ── layout ── */
.wrap { position: relative; max-width: 580px; margin: 0 auto; padding: max(30px, env(safe-area-inset-top)) 16px calc(36px + env(safe-area-inset-bottom)); }
.wrap > :not(.stickers):not(.sharetop) { position: relative; z-index: 1; }

/* ── header ── */
.hdr { text-align: center; margin-bottom: 16px; }
.avw { display: flex; justify-content: center; }
.av { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.av.ini { display: grid; place-items: center; font: 700 40px/1 var(--tfont); color: var(--btn-t); background: var(--btn); }
.who { margin-top: 14px; }
.title { margin: 0; font-family: var(--tfont); color: var(--title); font-weight: 700; letter-spacing: -.01em; line-height: 1.15;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; }
.title.lg { font-size: clamp(22px, 6.4vw, 30px); }
.title.sm { font-size: 19px; }
.verified { width: 22px; height: 22px; flex: none; }
.logo { margin: 0; }
.logo img { display: inline-block; max-height: 84px; max-width: 78%; object-fit: contain; }
.followers { margin: 6px 0 0; font-size: 14px; opacity: .8; }
.bio { margin: 8px auto 0; max-width: 440px; font-size: 15px; opacity: .86; overflow-wrap: anywhere; }

.lay-hero .wrap { padding-top: 0; }
.l-hero .hero { position: relative; margin: 0 -16px; aspect-ratio: 1 / 1; max-height: 64vh; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.l-hero .hero video, .l-hero .hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-hero .who { margin-top: -70px; }
.l-hero .title.lg { font-size: clamp(26px, 8vw, 36px); }

.l-banner .banner { height: 160px; margin: -14px -2px 0; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, var(--btn), color-mix(in srgb, var(--btn) 55%, var(--tx))); }
.l-banner .banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-banner .avw { margin-top: -54px; }
.l-banner .av { width: 108px; height: 108px; border: 4px solid var(--bg); }

.l-cutout .av { width: auto; height: 210px; max-width: 82%; border-radius: 0; object-fit: contain; background: none;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)); }
.l-shape .av { width: 156px; height: 156px; border-radius: 62% 38% 46% 54% / 55% 46% 54% 45%; animation: morph 10s ease-in-out infinite; }
@keyframes morph { 33% { border-radius: 40% 60% 62% 38% / 42% 58% 42% 58%; } 66% { border-radius: 55% 45% 35% 65% / 60% 40% 60% 40%; } }

/* ── icons ── */
.i { width: 22px; height: 22px; display: inline-block; flex: none; }
.si { background: currentColor; -webkit-mask: var(--si) center / contain no-repeat; mask: var(--si) center / contain no-repeat; }

/* ── socials ── */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 0 20px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--tx); border-radius: 50%; transition: transform .15s, background .15s; }
.socials a .i { width: 25px; height: 25px; }
.socials a:active { transform: scale(.9); }
@media (hover: hover) { .socials a:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--tx) 8%, transparent); } }
.tab ~ .socials { margin: 24px 0 0; }

/* ── tabs ── */
.tabs { display: flex; width: max-content; margin: 0 auto 18px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--tx) 10%, transparent); }
.tabs button { border: 0; background: none; padding: 9px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--tx); cursor: pointer; transition: background .2s, color .2s; }
.tabs button.on { background: var(--btn); color: var(--btn-t); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tabs i { display: none; }
.js .tab:not(.on) { display: none; }
.tab-links { display: flex; flex-direction: column; gap: 14px; }
.shopgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── button styles ── */
.bs-outline { --surf: transparent; --on: var(--btn); --bd: var(--btn); --inv: var(--bg); }
.bs-glass { --surf: color-mix(in srgb, var(--btn) 22%, transparent); --bd: color-mix(in srgb, var(--btn) 45%, transparent); --on: var(--btn-t); }
.bs-hard { --bd: var(--sh); --shadow: 4px 4px 0 var(--sh); }
.bs-soft { --shadow: 0 10px 28px -8px color-mix(in srgb, var(--sh) 50%, transparent); }

.btn, .card { background: var(--surf); color: var(--on); border: 2px solid var(--bd); box-shadow: var(--shadow); }
.bs-glass .btn, .bs-glass .card { -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }

.item { position: relative; }
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px;
  padding: 9px 60px; border-radius: var(--r); text-decoration: none; text-align: center; font-weight: 600; font-size: 16px; line-height: 1.25;
  cursor: pointer; transition: transform .16s cubic-bezier(.3,.7,.4,1.4), box-shadow .16s; -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn .t { overflow-wrap: anywhere; }
.btn small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; opacity: .7; }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .item .btn:hover, a.card:hover { transform: translateY(-2px) scale(1.01); } }
.bs-hard .btn:active, .bs-hard a.card:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sh); }
.thumb { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: min(var(--r), 50%); object-fit: cover; }
.thumb.emoji, .thumb.ico { display: grid; place-items: center; font-size: 24px; line-height: 1; }
.thumb.ico .i { width: 24px; height: 24px; }
.lockic { display: inline-grid; margin-left: 6px; opacity: .65; }
.lockic .i { width: 15px; height: 15px; }
.kebab { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: none; color: var(--on); opacity: .55; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.kebab:hover { opacity: 1; background: var(--soft); }
.kebab .i { width: 20px; height: 20px; }

.card { display: block; border-radius: min(var(--r), 22px); overflow: hidden; text-decoration: none; }
.card .tt { display: block; font-weight: 650; font-size: 15px; line-height: 1.3; }
.card .sub { font-size: 13.5px; opacity: .75; margin-top: 2px; }
.card .sub p { margin: 0; }
.card .btn.small, .pill {
  width: auto; min-height: 40px; padding: 8px 18px; font-size: 14px; flex: none; border: 0; box-shadow: none;
  background: var(--on); color: var(--inv); border-radius: min(var(--r), 999px); display: inline-flex; align-items: center; justify-content: center; font-weight: 650; text-decoration: none;
}

/* featured link */
.feat .featc img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feat .ft { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 52px; font-weight: 650; text-align: center; }
.feat .kebab { top: auto; bottom: 8px; transform: none; }

/* text */
.sec { margin: 10px 0 0; font-size: 15px; font-weight: 700; text-align: center; letter-spacing: .01em; }
.txt { font-size: 15px; opacity: .9; overflow-wrap: anywhere; }
.txt a { color: inherit; }
hr.div { border: 0; height: 1px; margin: 4px 18%; background: color-mix(in srgb, var(--tx) 25%, transparent); }
.spacer { height: 10px; }
.empty { text-align: center; opacity: .6; padding: 24px 0; }

/* collections */
.coll .sec { margin: 0 0 10px; }
.c-list .cbody { display: flex; flex-direction: column; gap: 14px; }
.c-grid .cbody { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-grid .cell.wide { grid-column: 1 / -1; }
.c-carousel .cbody, .c-showcase .cbody, .g-carousel .gbody {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; scrollbar-width: none;
}
.cbody::-webkit-scrollbar, .gbody::-webkit-scrollbar { display: none; }
.c-carousel .cell { flex: 0 0 64%; scroll-snap-align: start; }
.c-showcase .cell { flex: 0 0 88%; scroll-snap-align: center; }
.c-carousel .cell.wide, .c-showcase .cell.wide { flex-basis: 88%; }
.cell > .card { height: 100%; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; min-height: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--tx); opacity: .28; transition: width .25s, opacity .25s; }
.dots i.on { width: 18px; opacity: .85; }

.tile .media, .prod .media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.c-showcase .tile .media, .c-showcase .prod .media { aspect-ratio: 4 / 5; }
.tile .media img, .prod .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
@media (hover: hover) { a.card:hover .media img { transform: scale(1.04); } }
.ph { display: grid; place-items: center; width: 100%; height: 100%; }
.ph .i { width: 38%; height: 38%; opacity: .55; }
.ph .emoji { font-size: 52px; }
.tile .tt { padding: 10px 12px 12px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.pi { display: block; padding: 10px 12px 12px; }
.pp { display: block; margin-top: 3px; font-size: 14px; }
.pp s { opacity: .55; margin-left: 4px; }
.tab-links > .prod { display: flex; align-items: center; }
.tab-links > .prod .media { width: 112px; flex: none; }
.tab-links > .prod .pi { padding: 12px 16px; }

/* embeds */
.emh { margin: 0 0 8px; font-size: 15px; text-align: center; }
.emb iframe { display: block; width: 100%; border: 0; background: var(--soft); }
.emb video, .emb audio { display: block; width: 100%; }
.emb audio { padding: 8px; }
.vert .emb, .e-tiktok .emb, .e-instagram .emb { max-width: 360px; margin: 0 auto; }
.e-tiktok .emb, .e-instagram .emb { background: #fff; }
.yt { position: relative; display: block; width: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: #f00; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.play .i { width: 26px; height: 26px; }

/* gallery */
.gallery .sec { margin: 0 0 10px; }
.gi { margin: 0; }
.zoom { display: block; width: 100%; border: 0; padding: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; }
.zoom img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-grid .gbody { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: min(var(--r), 20px); overflow: hidden; }
.g-grid .zoom { aspect-ratio: 1; }
.g-carousel .gi { flex: 0 0 80%; scroll-snap-align: center; }
.g-carousel .zoom { aspect-ratio: 4 / 5; border-radius: min(var(--r), 20px); }
.g-stack .gbody { display: flex; flex-direction: column; gap: 12px; }
.g-stack .zoom { border-radius: min(var(--r), 20px); }
.g-stack .zoom img { height: auto; }
figcaption { margin-top: 6px; font-size: 13px; opacity: .75; text-align: center; }

/* map */
.mapv { position: relative; height: 180px; display: grid; place-items: center;
  background: linear-gradient(var(--soft) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--soft) 1px, transparent 1px) 0 0 / 22px 22px, var(--soft); }
.mapv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.maptap { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 10px 18px; border-radius: 999px; background: var(--on); color: var(--inv); font-weight: 650; cursor: pointer; }
.maptap .i { width: 18px; height: 18px; }
.mapi { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }

/* booking / event / countdown */
.book { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; }
.bico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); flex: none; }
.bimg { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.bi { flex: 1; min-width: 150px; }
.meta { margin-top: 4px; font-size: 13px; font-weight: 650; }
.book > .btn.small { margin-left: auto; }
.bookframe { width: 100%; height: 640px; border: 0; border-radius: 14px; background: #fff; }
.evimg { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.evrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.date { width: 54px; flex: none; text-align: center; border-radius: 12px; background: var(--soft); padding: 7px 0; line-height: 1.05; display: grid; place-items: center; }
.date span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .8; }
.date b { font-size: 22px; }
.evi { flex: 1; min-width: 0; }
.countdown { padding: 16px; text-align: center; }
.cd { display: flex; justify-content: center; gap: 8px; margin: 12px 0; }
.cu { min-width: 62px; padding: 9px 4px; border-radius: 14px; background: var(--soft); }
.cu b { display: block; font-size: 26px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cu small { font-size: 10.5px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }

/* forms + messaging */
details.fold > summary { list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
.chev { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; transition: transform .25s; opacity: .7; }
.chev .i { width: 20px; height: 20px; }
details[open] .chev { transform: translateY(-50%) rotate(180deg); }
.fbody { margin-top: 8px; padding: 16px; animation: drop .28s cubic-bezier(.2,.9,.3,1); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.fopen { padding: 16px; }
.fopen > .tt { text-align: center; margin-bottom: 10px; }
.fform { display: flex; flex-direction: column; gap: 10px; }
.fform .sub { margin: 0 0 4px; text-align: center; }
.fform input:not([type=checkbox]), .fform textarea {
  width: 100%; padding: 14px 16px; border-radius: min(var(--r), 14px); font: inherit; font-size: 16px; color: var(--on);
  border: 1.5px solid color-mix(in srgb, var(--on) 22%, transparent); background: color-mix(in srgb, var(--on) 5%, transparent); outline: none; resize: vertical;
}
.fform input:focus, .fform textarea:focus { border-color: var(--on); }
.fform ::placeholder { color: color-mix(in srgb, var(--on) 55%, transparent); }
.fform .btn.small { width: 100%; min-height: 50px; font-size: 15px; }
.fform .btn.small[disabled] { opacity: .6; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; text-align: left; }
.consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--on); flex: none; }
.consent a { color: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fmsg { margin: 0; font-size: 14px; text-align: center; }
.fmsg:empty { display: none; }
.fmsg.err { color: #d93025; }
.fform.done > :not(.fmsg) { display: none; }
.fform.done .fmsg { font-size: 16px; font-weight: 600; padding: 10px 0; }
.chans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.chan { display: flex; align-items: center; gap: 9px; padding: 11px; border-radius: min(var(--r), 14px); background: var(--soft); color: var(--on); text-decoration: none; font-weight: 600; font-size: 14px; }
.cico { width: 32px; height: 32px; border-radius: 50%; background: var(--bc); color: #fff; display: grid; place-items: center; flex: none; }
.cico .i { width: 18px; height: 18px; }

/* share button, stickers, footer */
.sharetop { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 5; width: 42px; height: 42px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--btn-t); background: color-mix(in srgb, var(--btn) 72%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.sharetop .i { width: 20px; height: 20px; }
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stk { position: absolute; font-size: var(--sz); line-height: 1; transform: translateX(-50%) rotate(var(--rot)); filter: drop-shadow(0 4px 8px rgba(0,0,0,.15)); }
.stk img { width: var(--sz); height: auto; display: block; }
.stk.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateX(-50%) translateY(-10px) rotate(var(--rot)); } }
/* WIN tab (brand page): plain link like the other tabs, gold while a competition is open */
.tabs .wintab { display: inline-flex; align-items: center; gap: 4px; padding: 9px 20px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .04em;
  color: var(--tx); text-decoration: none; transition: transform .15s; }
.tabs .wintab.live { margin: 0 3px; color: #1a1205; background: linear-gradient(120deg, #ffd36b, #f5b942 55%, #ffcf5c); animation: winglow 2.6s ease-in-out infinite; }
.tabs .wintab:active { transform: scale(.95); }
@keyframes winglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,185,66,.55); } 50% { box-shadow: 0 0 0 5px rgba(245,185,66,0), 0 4px 18px rgba(245,185,66,.75); } }
.foot { margin-top: 30px; text-align: center; font-size: 13px; opacity: .72; }
.foot p { margin: 4px 0; }
.foot a { color: inherit; }

/* entrance + attention animations */
.tab-links > * { animation: rise .5s cubic-bezier(.2,.8,.3,1) both; }
.tab-links > :nth-child(2) { animation-delay: .04s; } .tab-links > :nth-child(3) { animation-delay: .08s; }
.tab-links > :nth-child(4) { animation-delay: .12s; } .tab-links > :nth-child(5) { animation-delay: .16s; }
.tab-links > :nth-child(6) { animation-delay: .2s; } .tab-links > :nth-child(n+7) { animation-delay: .24s; }
.hdr, .socials { animation: rise .5s cubic-bezier(.2,.8,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.anim-buzz > .btn, .anim-buzz > .card, .anim-buzz.card { animation: buzz 4s ease infinite; }
.anim-wobble > .btn, .anim-wobble > .card, .anim-wobble.card { animation: wobble 3.6s ease infinite; }
.anim-pop > .btn, .anim-pop > .card, .anim-pop.card { animation: pop 3s ease infinite; }
.anim-pulse > .btn, .anim-pulse > .card, .anim-pulse.card { animation: pulse 2.2s ease-in-out infinite; }
.anim-glow > .btn, .anim-glow > .card, .anim-glow.card { animation: glow 2.4s ease-in-out infinite; }
.anim-swipe > .btn, .anim-swipe > .card, .anim-swipe.card { overflow: hidden; }
.anim-swipe > .btn::after, .anim-swipe > .card::after, .anim-swipe.card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: swipe 3.2s ease-in-out infinite; }
details.anim-buzz > summary, details.anim-wobble > summary { animation: inherit; }
@keyframes buzz { 0%, 86%, 100% { transform: none; } 88% { transform: translateX(-3px) rotate(-1deg); } 90% { transform: translateX(3px) rotate(1deg); } 92% { transform: translateX(-3px) rotate(-1deg); } 94% { transform: translateX(3px) rotate(1deg); } 96% { transform: translateX(-1px); } }
@keyframes wobble { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-2.5deg); } 88% { transform: rotate(2deg); } 92% { transform: rotate(-1.5deg); } 96% { transform: rotate(1deg); } }
@keyframes pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.045); } 94% { transform: scale(.99); } }
@keyframes pulse { 50% { transform: scale(1.025); } }
@keyframes glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--btn) 35%, transparent), 0 0 26px 4px color-mix(in srgb, var(--btn) 60%, transparent); } }
@keyframes swipe { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ── overlays (built by page.js) ── */
.ov { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(10,10,14,.5); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; background: #fff; color: #16161a; font-family: var(--font);
  border-radius: 26px 26px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); animation: up .32s cubic-bezier(.2,.9,.3,1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: #d8d8dd; margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 4px; font-size: 17px; text-align: center; }
.sheet .sl { margin: 0 0 18px; font-size: 13px; color: #6b6b75; text-align: center; overflow-wrap: anywhere; }
.sheet .x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f1f4; display: grid; place-items: center; cursor: pointer; }
.sheet .x .i { width: 18px; height: 18px; }
.shgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.sho { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #33333a; font-size: 12px; text-decoration: none; cursor: pointer; }
.sho > span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--bc, #ececf0); color: #fff; transition: transform .15s; }
.sho:active > span { transform: scale(.92); }
.sho .i { width: 24px; height: 24px; }
.shcopy { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding: 6px 6px 6px 16px; border: 1px solid #e2e2e8; border-radius: 999px; font-size: 14px; }
.shcopy span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #44444c; }
.shcopy button { border: 0; border-radius: 999px; padding: 10px 18px; background: #16161a; color: #fff; font-weight: 600; cursor: pointer; }
@media (min-width: 600px) { .ov { align-items: center; } .sheet { border-radius: 26px; animation: popin .25s cubic-bezier(.2,.9,.3,1); } .sheet .grab { display: none; } }
@keyframes popin { from { opacity: 0; transform: scale(.95); } }

.lb { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fade .2s; touch-action: pan-y; }
.lb img { max-width: 100vw; max-height: 82vh; object-fit: contain; user-select: none; }
.lb p { color: #eee; font-size: 14px; margin: 12px 16px 0; text-align: center; }
.lb button { position: absolute; border: 0; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb .lbx { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lb .lbp { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb .lbn { right: 12px; top: 50%; transform: translateY(-50%); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; background: #16161a; color: #fff;
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-family: var(--font); box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: up .25s; }
.gate { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; text-align: center; background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.gate > div { max-width: 360px; }
.gate h2 { margin: 0 0 8px; font-family: var(--tfont); }
.gate p { margin: 0 0 20px; opacity: .8; }
.gate .btn { margin-top: 10px; padding: 9px 20px; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; max-width: 480px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 16px; border-radius: 18px; background: #16161a; color: #fff; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: up .3s; }
.cookie p { margin: 0; flex: 1; }
.cookie button { border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 600; cursor: pointer; background: #fff; color: #16161a; }
.cookie button + button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }

@media (max-width: 360px) { .btn { padding: 9px 54px; font-size: 15px; } .shopgrid, .c-grid .cbody { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
