/* GENERATED by tools/split_css.py from styles.css for impactvoice2026.html - do not edit, edit styles.css. */
/* IBM Plex Sans Thai, self-hosted since 2026-11-11 (was Google Fonts): same files and unicode ranges Google serves.
   The thai + latin files of 400 and 700 are preloaded in every page head. Refresh: tools note in AGENTS.md. */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-500-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-700-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plex/plex-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Happy IMPACT — structure borrowed from aliabdaal.com (inset rounded panels, two-voice headlines,
   intent cards, hand-drawn marker accents). Signature: the marker-circled wall calendar. */

@font-face{font-family:"Moraeul Thai";src:url("/assets/fonts/MoraeulThai.woff2") format("woff2");font-weight:400 700;font-display:swap}
:root{
  --orange:#F26C21;        /* marker orange — strokes, CTAs */
  --marker:#D9530C;        /* orange for handwritten text (contrast-safe) */
  --orange-tint:#FFEADF;
  --blue:#1A56DB;          /* IMPACT blue — headlines, primary buttons */
  --blue-soft:#5B8DEF;
  --sky:#E9F2FF;           /* panel background */
  --sky-deep:#D6E5FF;
  --ink:#0D1B3E;           /* text */
  --ink-soft:#4A5878;
  --paper:#FFFFFF;
  --stage:#170A03;

  --f-ui:"IBM Plex Sans Thai","Noto Sans Thai",system-ui,sans-serif;
  --f-hand:"Moraeul Thai","IBM Plex Sans Thai",cursive;

  --r-panel:36px;
  --r-card:24px;
  --wrap:1180px;
  --gutter:32px;
  color-scheme:light;
}
*{box-sizing:border-box}
/* manipulation: no double-tap zoom, so after a pinch-zoom iOS doesn't hold every tap back to wait for a second one;
   overflow-x clip: nothing (a hero circle, a doodle) can ever make the page wider than the screen */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;touch-action:manipulation;overflow-x:clip}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--f-ui);font-weight:400;font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3,h4,p,ol,ul{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:16px;top:-80px;z-index:50;background:var(--ink);color:#fff;padding:8px 16px;border-radius:999px;text-decoration:none}
.skip:focus{top:16px}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.panel{position:relative;margin:16px;border-radius:var(--r-panel);overflow:hidden}
.panel--sky{background:var(--sky)}
.hand{font-family:var(--f-hand);color:var(--marker);font-size:30px;line-height:1.2}
.eyebrow{font-weight:500;font-size:15px;color:var(--ink-soft);letter-spacing:.01em}
/* ---------- buttons & links ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:10px 26px 11px;font-family:var(--f-ui);font-weight:500;font-size:18px;line-height:1.2;text-decoration:none;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px -8px rgba(13,27,62,.35)}
.btn--blue{background:var(--blue);color:#fff}
.btn--orange{background:var(--orange);color:var(--ink)}
.btn--ghost{background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 2px var(--sky-deep)}
.link{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;font-weight:500;font-size:17px;color:var(--ink);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;cursor:pointer}
.link:hover{color:var(--blue)}
.link__arrow{transition:transform .15s ease}
.link:hover .link__arrow{transform:translateX(4px)}
.round{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:var(--orange);color:var(--ink);cursor:pointer;transition:transform .15s ease}
.round:hover{transform:scale(1.06)}
.round svg{width:20px;height:20px}
.tag{display:inline-block;border-radius:999px;padding:2px 12px 3px;font-weight:500;font-size:14px;line-height:1.3;white-space:nowrap}
.tag--ok{display:inline-flex;align-items:center;gap:5px;background:#DDF3E6;color:#11613A}
.tag--tbc{background:var(--paper);color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--blue-soft)}
.js .tag--tbc{position:relative;background:none;box-shadow:none}
.doodle--tag{position:absolute;left:-6%;top:-22%;width:112%;height:144%;max-width:none;overflow:visible;pointer-events:none}
.doodle--tag path{fill:none;stroke:var(--blue-soft);stroke-width:1.6;stroke-dasharray:5 4;stroke-linecap:round;vector-effect:non-scaling-stroke}
.tag--live{background:var(--orange);color:var(--ink)}
.tag--done{display:inline-flex;align-items:center;gap:5px;background:#E6EAF2;color:var(--ink-soft)}
/* ---------- marker strokes (draw on view) ---------- */
.mark{fill:none;stroke:var(--orange);stroke-linecap:round;stroke-linejoin:round}
.js .draw path{stroke-dasharray:1 2;stroke-dashoffset:1;opacity:0;transition:stroke-dashoffset .9s cubic-bezier(.65,.05,.3,1),opacity 0s}
.js .draw path + path{transition-delay:.8s;transition-duration:.25s}
.js .draw.is-drawn path{stroke-dashoffset:0;opacity:1}
/* ---------- doodles ---------- */
.hl{position:relative;display:inline-block}
.doodle{position:absolute;max-width:none;overflow:visible;pointer-events:none}
.doodle--underline,.doodle--wavy,.doodle--double{left:-2%;width:104%;bottom:-.16em;height:.34em}
.doodle--underline path{stroke-width:4}
.doodle--wavy path,.doodle--double path{stroke-width:3.5}
.doodle--ring{left:-9%;top:-42%;width:118%;height:184%}
.doodle--ring path{stroke-width:3}
.hover-draw path{stroke-dasharray:1 2;stroke-dashoffset:1;opacity:0;transition:stroke-dashoffset .4s ease,opacity 0s}
a:hover > .hover-draw path,a:focus-visible > .hover-draw path{stroke-dashoffset:0;opacity:1}
[data-hover]{position:relative}
[data-hover] .doodle{bottom:-.3em}
/* sketchy outline + offset marker fill behind cards */
.sketch{position:absolute;inset:0;z-index:-1;width:100%;height:100%;max-width:none;overflow:visible;pointer-events:none}
.sketch__fill{fill:var(--sky)}
.sketch__line{fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.8}
/* ---------- nav ---------- */
.nav{position:relative;z-index:10;display:flex;align-items:center;gap:28px;padding-top:26px;padding-bottom:10px}
.logo{position:relative;display:inline-flex;align-items:baseline;gap:6px;text-decoration:none;line-height:1}
.logo__happy{font-family:var(--f-hand);color:var(--marker);font-size:30px;transform:rotate(-6deg) translateY(-2px)}
.logo__impact{position:relative;font-weight:700;font-size:30px;color:var(--blue);letter-spacing:.01em}
.logo__smile{position:absolute;left:2%;width:98%;top:88%;height:auto;max-width:none;overflow:visible}
.logo__smile path{stroke-width:11}
.nav__links{display:flex;gap:28px;margin-left:auto}
.nav__links a{position:relative;font-weight:500;font-size:18px;text-decoration:none}
.nav__links a:hover{color:var(--blue)}
.nav__cta{white-space:nowrap}
/* a stored Supabase token = probably a member: keep the default login button hidden until nav-user.js knows (it drops has-sess for a guest) */
.has-sess .nav__user>.nav__cta{visibility:hidden}
/* ---------- hero ---------- */
.hero{padding-bottom:28px}
.hero::before{content:"";position:absolute;right:-280px;top:-320px;width:980px;height:980px;border-radius:50%;border:110px solid rgba(26,86,219,.05);pointer-events:none}
/* next-up card */
.next{position:relative}
.next::before{content:"";position:absolute;z-index:4;top:-14px;left:56%;width:124px;height:32px;transform:rotate(4deg);background:rgba(255,224,206,.85);box-shadow:0 1px 4px rgba(13,27,62,.14)}
.count{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}
/* "this year" strip — the logo row on Ali's hero */
.strip{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px 34px;padding-top:26px;margin-top:4px}
.strip::before{content:"";position:absolute;top:0;left:var(--gutter);right:var(--gutter);height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5C180 3 380 6 560 4S860 3 998 5' fill='none' stroke='%235B8DEF' stroke-width='1.8' stroke-linecap='round' opacity='.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%}
.strip a{position:relative;font-weight:700;font-size:19px;text-decoration:none;color:var(--ink)}
.strip a:hover{color:var(--blue)}
/* ---------- split titles (two voices, like "How Can / I Help You?") ---------- */
.split-title{display:flex;flex-direction:column;gap:.05em;font-size:clamp(39px,5.0vw,66px);line-height:1.15;text-wrap:balance}
.split-title__light{font-weight:400;color:var(--ink)}
.split-title__bold{font-weight:700;color:var(--blue)}
.circled{position:relative;display:inline-block;padding:0 .08em}
.circled__ring{position:absolute;left:-12%;top:-24%;width:124%;max-width:none;height:150%;overflow:visible}
.circled__ring path{stroke-width:4}
/* ---------- events (intent cards) ---------- */
.events{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding-top:120px;padding-bottom:120px}
.card{display:flex;flex-direction:column;gap:12px;background:var(--sky);border-radius:var(--r-card);padding:40px 44px 40px}
.card .link{margin-top:8px;align-self:flex-start}
.js .card{position:relative;isolation:isolate;background:none;border-radius:0}
/* ---------- calendar ---------- */

.day{position:relative;display:flex;flex-direction:column;align-items:center;height:100%;padding-top:10px}
.ring{position:absolute;left:50%;top:-3px;width:62px;height:50px;transform:translateX(-50%) rotate(var(--rot,0deg));overflow:visible}
.ring path{fill:none;stroke:var(--orange);stroke-width:5.5;stroke-linecap:round}
@keyframes flash{0%,100%{background:transparent}25%{background:var(--orange-tint)}}
.nb{white-space:nowrap}
p,li,dd,figcaption{text-wrap:pretty}
.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 22px;margin:10px 0 6px;font-size:17px}
.facts dt{color:var(--ink-soft)}
.facts dd{margin:0;font-weight:500}
.facts .tag{margin-left:10px}
/* notes pointing right sit at the right edge of the text column, next to the picture */

/* rounds — a real sequence, so it's numbered */
.rounds{display:flex;flex-direction:column;gap:12px;margin:10px 0 6px;counter-reset:r}
.rounds li{position:relative;display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;counter-increment:r}
.rounds li::before{content:counter(r);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--orange);color:var(--ink);font-weight:700;font-size:19px}
.rounds li:not(:last-child)::after{content:"";position:absolute;left:18px;top:52px;bottom:-8px;width:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='16'%3E%3Cpath d='M4 0c4 4-4 4 0 8s-4 4 0 8' fill='none' stroke='%235B8DEF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y}
.rounds b{display:block;font-size:21px;line-height:1.1;font-weight:700}
.rounds span{font-size:16px;color:var(--ink-soft)}
/* ---------- art tiles ---------- */
.art{position:relative;overflow:hidden;width:100%;height:100%}
.art--voice{display:grid;place-items:center;background:
  radial-gradient(ellipse 70% 45% at 50% 108%,rgba(242,108,33,.7),transparent 70%),
  radial-gradient(ellipse 60% 60% at 50% 40%,rgba(242,108,33,.16),transparent 70%),
  var(--stage)}
.art--voice::before,.art--voice::after{content:"";position:absolute;top:-10%;width:34%;height:120%;background:linear-gradient(180deg,rgba(255,196,140,.32),transparent 75%);filter:blur(6px)}
.art--voice::before{left:6%;transform:rotate(-24deg);transform-origin:top}
.art--voice::after{right:6%;transform:rotate(24deg);transform-origin:top}
.art--voice img{position:relative;z-index:1;width:78%;height:auto;filter:drop-shadow(0 10px 24px rgba(0,0,0,.5))}
.art--sports{background:var(--blue)}
.art--logo{display:grid;place-items:center;background:var(--sky)}
.art--logo img{width:72%;height:auto;filter:drop-shadow(0 14px 22px rgba(13,27,62,.18))}
.art--sports svg{width:100%;height:100%}
.art--party{display:grid;place-items:center;background:var(--orange);container-type:size}
/* compact art inside the next-up card */

/* ---------- photos ---------- */
.photos{padding-top:120px;padding-bottom:120px}
.polaroid-link{display:block;color:inherit;text-decoration:none;border-radius:4px}
.polaroid-link .polaroid{transition:transform .2s ease,box-shadow .2s ease}
.polaroid-link:hover .polaroid{transform:rotate(0deg) translateY(-6px);box-shadow:0 30px 50px -24px rgba(13,27,62,.5),0 0 0 1px rgba(13,27,62,.06)}
.polaroid-link:focus-visible{outline-offset:8px}
.polaroid{position:relative;margin:0;background:var(--paper);padding:12px 12px 6px;box-shadow:0 22px 44px -24px rgba(13,27,62,.45),0 0 0 1px rgba(13,27,62,.06);max-width:100%}
.polaroid::before{content:"";position:absolute;z-index:2;top:-15px;left:50%;width:110px;height:30px;transform:translateX(-50%) rotate(-4deg);background:rgba(255,224,206,.85);box-shadow:0 1px 4px rgba(13,27,62,.14)}
.polaroid img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.polaroid figcaption{padding:10px 4px 8px;font-size:24px;line-height:1.2}
.polaroid--tilt-r{transform:rotate(2.5deg)}
.polaroid--tilt-l{transform:rotate(-2deg)}
.polaroid--tilt-r::before{transform:translateX(-50%) rotate(5deg)}
/* ---------- about ---------- */
.about{padding:104px 0 0}
/* ---------- footer ---------- */
.footer{display:grid;grid-template-columns:1.4fr 2fr;gap:40px;padding-top:72px;padding-bottom:72px}
.footer__brand p{margin-top:18px;font-size:16px;color:var(--ink-soft)}
.vfooter__logo img{height:34px;width:auto}
.vfooter__logo img[src*="rangers"]{height:22px}
/* ---------- responsive ---------- */

@media (max-width:960px){
  :root{--gutter:24px}

  .stickers{margin-top:72px}
  
  .next{max-width:520px}
  .events{grid-template-columns:1fr;gap:28px;padding-top:88px;padding-bottom:88px}

  .footer{grid-template-columns:1fr 1fr}
  .footer__brand{grid-column:1/-1}
}
@media (max-width:640px){:root{--gutter:16px;--r-panel:26px}
body{font-size:17px}
.panel{margin:8px}
.nav{gap:16px;padding-top:18px}
.nav__links{display:none}
.nav__cta{margin-left:auto;padding:8px 14px 9px;font-size:15px}
.logo__impact{font-size:26px}
.logo__happy{font-size:26px}
.strip{gap:6px 20px}
.strip a{font-size:17px}
.card{padding:30px 24px}
.ring{width:46px;height:38px;top:0}
.about{padding-top:72px}
.footer{grid-template-columns:1fr;gap:28px}
.photos{padding-top:88px;padding-bottom:88px}
.polaroid figcaption{font-size:21px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.js .draw path{stroke-dashoffset:0;opacity:1;transition:none}
.btn,.round,.link__arrow{transition:none}
.hover-draw path{transition:none}
.polaroid-link .polaroid{transition:none}}
/* ===================== IMPACT Voice 2 page ===================== */
.vhero{background:
  radial-gradient(ellipse 70% 50% at 50% 115%,rgba(242,108,33,.55),transparent 70%),
  radial-gradient(ellipse 50% 40% at 15% 0%,rgba(255,196,140,.16),transparent 70%),
  radial-gradient(ellipse 50% 40% at 85% 0%,rgba(255,196,140,.16),transparent 70%),
  var(--stage);color:#fff;padding-bottom:56px}
.logo--light .logo__impact{color:#fff}
.vhero .nav__links a{color:#fff}
.vhero__body{position:relative;padding-top:28px}
.vhero__note{position:absolute;right:calc(var(--gutter) + 8px);top:6px;color:#FFB27A;font-size:30px;transform:rotate(-5deg)}
.vfacts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.vfacts li{position:relative;isolation:isolate}
.vfacts__cheer{padding:0 !important;border-radius:18px;box-shadow:0 0 0 2px var(--orange)}
.vfacts__in{display:grid;grid-template-columns:52px 1fr;align-items:center;align-content:start;gap:14px 16px;height:100%;padding:18px 22px;border-radius:18px;background:linear-gradient(100deg,#2A1408,#120a05 60%);color:#fff}
.vfacts__in > svg{width:52px;height:52px;color:#fff;transform:rotate(-8deg)}
.vfacts__in > span{min-width:0}
.vfacts__cheer small{display:block}
.vfacts__cheer small.hand{font-size:20px;color:var(--marker);transform:rotate(-2deg);transform-origin:0 100%}
.vfacts__cheer b{font-size:21px;line-height:1.3;text-wrap:balance}
.vfacts__go{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 18px 12px;border-radius:999px;background:var(--orange);color:#1A0B03;font-weight:700;font-size:17px;text-decoration:none;box-shadow:3px 3px 0 #FFD84D;transition:transform .15s ease,background .2s,color .2s}
.vfacts__go svg{width:20px;height:20px;flex:none}
.vfacts__go:hover{transform:translateY(-2px) rotate(-1deg)}
.vfacts__go--fan{background:#FFF4E8;color:#1A0B03;box-shadow:3px 3px 0 var(--orange)}
.vfacts__cheer .sketch{display:none}
@media (prefers-reduced-motion:reduce){.vfacts__cheer{animation:none}}
@media (max-width:600px){.vfacts__in{grid-template-columns:44px 1fr;padding:14px 16px}
.vfacts__in > svg{width:44px;height:44px}
.vfacts__cheer b{font-size:18px}}
.vlive{padding-top:110px;padding-bottom:110px}
.vlive__head{position:relative;display:flex;align-items:flex-end;gap:48px;margin-bottom:28px}
.vlive__head>.split-title{flex:0 0 auto}
.vlive__note{display:flex;align-items:flex-end;gap:4px;margin-bottom:8px;min-width:0;max-width:420px}
.vlive__note .hand{transform:rotate(-4deg)}
.vlive__arrow{width:74px;height:60px;order:-1;margin-bottom:-40px}
.vlive__arrow path{stroke-width:3.5}
.vlive__frame{position:relative;padding:14px;background:var(--stage);border-radius:28px;box-shadow:0 30px 60px -30px rgba(23,10,3,.6)}
.vlive__player{position:relative;aspect-ratio:16/9;max-width:100%;border-radius:18px;overflow:hidden;background:#000}
.vlive__player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vlive__links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:22px}
.vlive__links p{color:var(--ink-soft)}
.vrounds{padding:96px 0 104px}
.vrounds .split-title{margin-bottom:40px}
.vsteps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.vstep{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:30px 34px 32px}
.vstep .sketch__fill,.vschedule .sketch__fill,.vfacts .sketch__fill{fill:var(--paper)}
.vstep h3{font-weight:700;font-size:34px;line-height:1.15}
.vstep__when{font-weight:600;font-size:19px;color:var(--blue)}
.vstep p:not(.eyebrow):not(.vstep__when){font-size:17px;color:var(--ink-soft)}
.vstep .tag{margin-top:6px}
.vpeople{padding-top:110px;padding-bottom:110px}
.vpeople__head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 32px;margin-bottom:28px}
.vpeople__count{transform:rotate(-4deg);padding-bottom:10px}
.vpeople__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}
.vpeople__lede{margin:-8px 0 28px;color:var(--ink-soft)}
.vperson{display:flex}
.vperson__btn{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:12px 12px 14px;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.vperson__btn .sketch__fill{fill:var(--sky)}
.vperson__btn .sketch__line{opacity:.55}
.vperson__thumb{position:relative;display:block;width:100%;aspect-ratio:3/4;margin-bottom:10px;border-radius:10px;overflow:hidden;background:#000}
.vperson__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
@media (hover:hover){.vperson__btn:hover .vperson__thumb img{transform:scale(1.05)}}
.vperson__play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--orange);color:#120700;transform:translate(-50%,-50%);box-shadow:0 6px 18px rgba(0,0,0,.45);transition:transform .2s ease}
.vperson__btn:hover .vperson__play{transform:translate(-50%,-50%) scale(1.1)}
.vperson__play svg{width:22px;height:22px;margin-left:3px}
.vperson__btn:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:12px}
/* finalists: the 10 who made the FINAL (no badge in the full list, owner 2026-10-22) */
.vfinal{padding-bottom:0}
/* FINAL result (owner's poster 2026-11-05): winner, runners-up, ชมเชย, Popular Vote + donation; faces open the Live Audition clip */
.vres{position:relative;padding-top:72px}
.vres__who{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;min-width:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:center;cursor:pointer}
.vres__pic{display:block;width:100%;max-width:180px;aspect-ratio:4/5;margin-bottom:6px;border-radius:16px;background:radial-gradient(70% 60% at 50% 70%,rgba(255,122,47,.38),rgba(255,122,47,0) 70%),#111;box-shadow:inset 0 0 0 1px rgba(255,138,61,.22);overflow:hidden}
.vres__pic img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5));transition:transform .25s ease}
@media (hover:hover){.vres__who:hover .vres__pic img{transform:scale(1.05)}}
.vres__who b{font-weight:700;font-size:26px;line-height:1.2;color:var(--orange)}
.vres__who small{font-size:14px;line-height:1.35;color:var(--ink-soft);text-wrap:balance}
.vres__who:focus-visible{outline:3px solid var(--orange);outline-offset:4px;border-radius:16px}
.vres__win{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,300px) 1fr;align-items:center;gap:20px 44px;margin-top:28px;padding:28px 36px}
.vres__who--win .vres__pic{max-width:300px;background:none;box-shadow:none}
.vres__who--win b,.vres__who--win small{display:none}
.vres__wintxt{position:relative;min-width:0}
.vres__crown{display:block;width:72px;height:50px;margin-bottom:6px;color:var(--ink);transform:rotate(-8deg)}
.vres__eyebrow{font-weight:700;font-style:italic;font-size:clamp(44px,7vw,84px);line-height:1;letter-spacing:.01em;color:#FFD84D}
.vres__winname{margin-top:8px;font-weight:700;font-size:clamp(48px,7vw,80px);line-height:1.1;color:var(--orange)}
.vres__windept{font-weight:600;font-size:24px;color:var(--ink)}
.vres__note{margin-top:10px;font-size:22px;color:var(--marker)}
.vres__row{display:grid;gap:20px;margin-top:20px}
.vres__row--2{grid-template-columns:1fr 1fr}
.vres__row--3{grid-template-columns:3fr 1fr}
.vres__group{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;min-width:0;padding:22px 18px 24px}
.vres__group h3{margin-bottom:14px;font-weight:700;font-style:italic;font-size:21px;line-height:1.25;color:#FFD84D;text-align:center}
.vres__trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
.vres__give{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;margin-top:20px;padding:30px 20px 32px;text-align:center}
.vres__givehead{font-weight:700;font-size:20px}
.vres__sum{margin:4px 0 6px;font-weight:600;font-size:22px}
.vres__sum b{font-weight:700;font-size:clamp(48px,8vw,72px);line-height:1.1;color:var(--orange);font-variant-numeric:tabular-nums}
.vres__givenote{max-width:34em;font-size:15px;color:var(--ink-soft);text-wrap:pretty}
@media (max-width:760px){.vres{padding-top:48px}
.vres__win{grid-template-columns:1fr;justify-items:center;padding:22px 18px 26px;text-align:center}
.vres__who--win .vres__pic{max-width:220px;margin-bottom:0}
.vres__crown{margin:0 auto 6px}
.vres__row--3{grid-template-columns:1fr}
.vres__row--2{gap:12px}
.vres__group{padding:18px 10px 20px}
.vres__group h3{font-size:17px}
.vres__trio{gap:10px}
.vres__who b{font-size:21px}
.vres__who small{font-size:12.5px}}
/* clip player */
.vplayer{width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:22px;background:#0B0B0B;color:#FFF4EC;box-shadow:0 0 0 1.5px rgba(255,138,61,.4),0 40px 80px rgba(0,0,0,.6)}
.vplayer::backdrop{background:rgba(0,0,0,.78)}
.vplayer__box{display:flex;flex-direction:column;padding:16px 16px 18px}
.vplayer__head{display:grid;grid-template-columns:1fr auto;align-items:start;gap:0 12px;margin-bottom:12px}
.vplayer__id{grid-column:1;font-weight:600;font-size:14px;color:#FFA35C;letter-spacing:.04em}
.vplayer__name{grid-column:1;font-weight:700;font-size:24px;line-height:1.2}
.vplayer__close{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#1E1E1E;color:#FFF4EC;cursor:pointer}
.vplayer__close:hover{background:#FF7A2F;color:#120700}
.vplayer__close svg{width:20px;height:20px}
.vplayer__video{width:100%;max-height:calc(100vh - 150px);border-radius:14px;background:#000;object-fit:contain}
/* music doodles: decorative, placed in free space only */
.mdoodle{position:absolute;display:block;pointer-events:none}
.mdoodle svg{width:100%;height:100%;overflow:visible}
.mdoodle path{fill:none;stroke:var(--marker);stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.page-voice .mdoodle path{stroke:#FFA35C}
/* music doodles: strokes draw one after another (delays set inline in voice.js) */
.js .mdoodle .draw path{transition-duration:.55s}
.mdoodle--hero-notes{left:calc(var(--gutter) - 70px);top:120px;width:64px;height:64px;transform:rotate(-12deg)}
.vlive{position:relative}
.mdoodle--headphones{right:var(--gutter);top:92px;width:78px;height:78px;transform:rotate(8deg)}
.vrounds .wrap{position:relative}
.mdoodle--guitar{right:var(--gutter);top:-12px;width:110px;height:110px;transform:rotate(14deg)}
.vpeople{position:relative}
.vpeople__head{position:relative}
.mdoodle--mic{right:96px;bottom:-6px;width:70px;height:70px;transform:rotate(-14deg)}
.mdoodle--eq{right:0;bottom:-2px;width:80px;height:64px}
.vfooter{position:relative}
.mdoodle--wave{left:50%;top:-14px;width:180px;height:28px;transform:translateX(-50%)}
.vperson__id{font-weight:600;font-size:14px;color:var(--marker);letter-spacing:.04em;font-variant-numeric:tabular-nums}
.vperson__name{font-weight:700;font-size:22px;line-height:1.25}
.vfooter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding-top:56px;padding-bottom:64px;border-top:1px solid #EDF2FB}
.vfooter__orgs{display:flex;flex-wrap:wrap;gap:16px 48px}
.vfooter__orgs p{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.vfooter__orgs small{font-size:14px;color:var(--ink-soft)}
.vfooter__orgs b{font-size:18px}
.vfooter__logo{display:inline-flex;align-items:center;height:52px;padding:0 16px;background:#fff;border-radius:12px}
@media (max-width:960px){.vfacts{grid-template-columns:1fr}
.vsteps{grid-template-columns:1fr}
.vlive__head{flex-direction:column;align-items:flex-start;gap:8px}
.vlive__note{margin-bottom:0}
.vlive__arrow{display:none}}
@media (max-width:640px){.vhero__note{position:static;display:block;margin-top:14px;font-size:24px}
.vlive{padding-top:72px;padding-bottom:72px}
.vlive__frame{padding:8px;border-radius:20px}
.vlive__player{border-radius:14px}
.vrounds{padding:72px 0 80px}
.vstep{padding:24px 22px 26px}
.vstep h3{font-size:28px}
.vpeople{padding-top:72px;padding-bottom:80px}
.vpeople__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mdoodle--hero-notes,.mdoodle--mic{display:none}
.mdoodle--headphones{top:auto;bottom:62px;width:56px;height:56px}
.mdoodle--guitar{width:76px;height:76px;top:-6px}
.mdoodle--eq{width:56px;height:46px}
.vperson__name{font-size:19px}}
/* Voice page runs fully in the stage palette: same tokens, dark values */
.page-voice{
  --stage:#000;
  --paper:#111;             /* card surface */
  --sky:#171717;            /* panels, chips */
  --sky-deep:#262626;
  --ink:#FFF4EC;
  --ink-soft:#B8ADA6;
  --blue:#FF8A3D;           /* headline accent becomes a brighter orange on black */
  --blue-soft:#FFB27A;
  --marker:#FFA35C;
  --orange:#FF7A2F;
  --orange-tint:#2A1408;
  color-scheme:dark;
  background:#000;color:var(--ink)}
.page-voice .vhero{margin-bottom:0}
.page-voice .btn--blue{background:var(--orange);color:#1A0B03}
.page-voice .btn--orange{color:#1A0B03}
.page-voice .tag--ok{background:#1E3A2A;color:#9FE3BD}
.page-voice .tag--tbc{background:none;color:var(--blue-soft)}
.page-voice .vrounds{background:#0B0B0B;box-shadow:inset 0 0 0 1px rgba(255,138,61,.14)}
.page-voice .vlive__frame{background:#000;box-shadow:0 0 0 1.5px rgba(255,138,61,.35),0 30px 60px -30px rgba(0,0,0,.8)}
.page-voice .vlive__links p{color:var(--ink-soft)}
.page-voice .vperson__btn .sketch__fill{fill:var(--sky)}
.page-voice .vperson__btn .sketch__line,.page-voice .vstep .sketch__line,.page-voice .vfacts .sketch__line,.page-voice .vschedule .sketch__line{stroke:#FFB27A;opacity:.55}
.page-voice .vfooter{border-top-color:rgba(255,255,255,.12)}
.page-voice :focus-visible{outline-color:var(--orange)}
.page-voice .skip{background:var(--orange);color:#1A0B03}
@media (max-width:560px){.vfooter__logo{height:44px;padding:0 12px}
.vfooter__logo img{height:24px}
.vfooter__logo img[src*="rangers"]{height:16px}}
@media (max-width:560px){.vfooter__orgs p{display:grid;grid-template-columns:auto auto;justify-content:start;gap:8px}
.vfooter__orgs small{grid-column:1/-1}}
.auth{display:flex;flex-direction:column;align-items:center;gap:24px;padding:56px 16px 72px;min-height:calc(100vh - 140px)}
.auth__card{width:100%;max-width:460px;background:var(--paper);border-radius:28px;padding:36px 36px 30px;box-shadow:0 24px 50px -32px rgba(13,27,62,.3)}
.auth__hello{font-size:26px;margin:0 0 12px;transform:rotate(-2deg)}
.auth__title{font-weight:700;font-size:34px;line-height:1.2;color:var(--blue);margin:0 0 18px;text-wrap:balance}
.auth__title--sm{font-size:24px}
.auth__lead{color:var(--ink-soft);font-size:17px;margin:0 0 8px;text-wrap:pretty}
.auth__step{display:flex;flex-direction:column;gap:10px}
.auth__step[hidden]{display:none}
.auth__step label,.auth__step legend{font-weight:600;font-size:16px}
.auth__step fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.auth__step input,.auth__step select{font:inherit;font-size:18px;color:var(--ink);background:var(--paper);border:2px solid var(--sky-deep);border-radius:14px;padding:11px 14px;min-width:0;width:100%}
.auth__step input:focus,.auth__step select:focus{outline:none;border-color:var(--blue)}
.auth__step .btn{justify-content:center;margin-top:8px}
.auth__step .btn:disabled{opacity:.6;cursor:progress}
.auth__dob{display:grid;grid-template-columns:.8fr 1.5fr 1.1fr;gap:8px}
.auth__pin{letter-spacing:.5em;font-variant-numeric:tabular-nums;text-align:center}
.auth__back{align-self:center;border:0;background:none;font:inherit;font-size:15px;color:var(--ink-soft);text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:4px}
.auth__small{font-size:14px;color:var(--ink-soft);margin:6px 0 0;text-align:center}
.auth__msg{min-height:1.6em;margin:14px 0 0;font-size:16px;font-weight:500;color:#C2410C;text-wrap:pretty}
@media (max-width:560px){.auth{padding:32px 8px 48px}
.auth__card{padding:28px 22px 24px}
.auth__dob{grid-template-columns:1fr 1fr;}
.auth__dob select:nth-child(2){grid-column:1/-1;grid-row:1}}
/* ---------- back office ---------- */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tag--warn{background:#FDE7D7;color:#9A3412}
.bo{width:100%;max-width:960px;margin:0 auto;display:flex;flex-direction:column;gap:20px;min-width:0}
.bo__head .auth__title{margin-bottom:4px}
.bo__stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.bo__stats li{background:var(--paper);border-radius:20px;padding:18px 20px;display:flex;flex-direction:column}
.bo__stats b{font-size:34px;font-weight:700;color:var(--blue);line-height:1.2;font-variant-numeric:tabular-nums}
.bo__stats span{font-size:15px;color:var(--ink-soft)}
.bo__card{max-width:none}
.bo__search{display:flex;gap:10px}
.bo__search input{flex:1;min-width:0;font:inherit;font-size:17px;border:2px solid var(--sky-deep);border-radius:14px;padding:10px 14px}
.bo__search input:focus{outline:none;border-color:var(--blue)}
.bo__list{list-style:none;margin:8px 0 0;padding:0}
.bo__row--av{justify-content:flex-start}
.bo__row--av .bo__actions{margin-left:auto}
.bo__av{flex:0 0 auto;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;overflow:hidden;background:var(--sky);color:var(--blue);font-weight:600;font-size:20px}
.bo__av img{width:100%;height:100%;object-fit:cover}
.bo__list--scroll{max-height:560px;overflow-y:auto;padding-right:6px}
#us-stats{margin-top:14px}
.bo__shots{list-style:none;margin:14px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.bo__shot{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px}
.bo__shot a{display:block;margin-bottom:4px;border-radius:10px;overflow:hidden;background:var(--sky);aspect-ratio:9/16}
.bo__shot img{display:block;width:100%;height:100%;object-fit:cover}
.bo__shot small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink-soft)}
.bo__shot b{color:var(--ink)}
.bo__usage{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px;margin-top:14px}
.bo__ubox{background:var(--paper);border-radius:20px;padding:16px 18px;min-width:0;overflow-x:auto}
#er-list .ap__note{overflow-wrap:anywhere}
.er__stack summary{cursor:pointer;font-size:13px;color:var(--blue)}
.er__stack pre{margin:6px 0 0;padding:8px 10px;background:var(--sky,#E9F2FF);border-radius:10px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.bo__ubox h3{margin:0 0 8px;font-size:17px;color:var(--blue)}
.bo__ubox table{width:100%;border-collapse:collapse;font-size:14px}
.bo__ubox th{text-align:left;font-weight:600;color:var(--ink-soft);padding:4px 8px 6px 0;border-bottom:1px solid #EDF2FB}
.bo__ubox td{padding:6px 8px 6px 0;border-bottom:1px solid #EDF2FB;vertical-align:top}
.bo__ubox td:not(:first-child),.bo__ubox th:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.bo__uempty{margin:0;color:var(--ink-soft);font-size:14px}
.bo__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:14px 0;border-bottom:1px solid #EDF2FB}
.bo__who{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.bo__who b{font-size:17px}
.bo__who small{font-size:14px;color:var(--ink-soft)}
.bo__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ap__row{align-items:flex-start}
.ap__row .bo__who{flex:1 1 420px}
.ap__note{margin:6px 0 0;padding:10px 14px;border-radius:12px;background:var(--orange-tint);font-size:15px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}
.ap__note b{font-size:15px}
.bo__actions select{font:inherit;font-size:15px;border:2px solid var(--sky-deep);border-radius:12px;padding:6px 10px;background:var(--paper)}
.bo__actions .btn{font-size:15px;padding:7px 16px 8px}
@media (max-width:560px){.bo__stats{gap:8px}
.bo__stats li{padding:14px 12px}
.bo__stats b{font-size:26px}
.bo__stats span{font-size:13px}}
/* hero greeting: handwriting sweep, then the hand keeps waving */

.wave{display:inline-block;transform-origin:70% 80%}
.wave svg{width:1.05em;height:1.05em;overflow:visible;vertical-align:-.1em}
/* pen-drawn hand, no emoji (owner 2026-10-23) */
.js .wave{opacity:0;transition:opacity .3s ease}
@keyframes hello-wave{0%,55%,100%{transform:rotate(0)}8%{transform:rotate(16deg)}16%{transform:rotate(-8deg)}24%{transform:rotate(16deg)}32%{transform:rotate(-4deg)}40%{transform:rotate(10deg)}}
/* nav: member menu */
.nav__user{position:relative;flex:none}
@media (max-width:640px){.nav__user{margin-left:auto}}
.nav__menu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;list-style:none;margin:0;padding:6px;min-width:180px;background:var(--paper);border-radius:16px;box-shadow:0 18px 40px -18px rgba(13,27,62,.35),0 0 0 1px rgba(13,27,62,.06)}
.nav__menu[hidden]{display:none}
.nav__menu a,.nav__menu button{display:block;width:100%;text-align:left;padding:10px 14px;border:0;border-radius:10px;background:none;font:inherit;font-size:16px;font-weight:500;color:var(--ink);text-decoration:none;cursor:pointer}
.nav__menu a:hover,.nav__menu button:hover,.nav__menu a:focus-visible,.nav__menu button:focus-visible{background:var(--sky);color:var(--blue);outline:none}
/* schedule: names open the audition clip */

/* footer: social channels */
.footer__social h3{font-weight:700;font-size:18px;margin-bottom:14px}
.footer__social ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.footer__social a{display:inline-flex;align-items:center;gap:12px;padding:10px 18px 10px 12px;border-radius:999px;background:var(--sky);color:var(--ink);text-decoration:none;transition:transform .15s ease,background .15s ease}
.footer__social a:hover{transform:translateY(-2px);background:var(--sky-deep)}
.footer__social svg{width:36px;height:36px;flex:none;overflow:visible}
.footer__social span{display:flex;flex-direction:column;line-height:1.3}
.footer__social b{font-size:16px}
.footer__social small{font-size:14px;color:var(--ink-soft)}
/* Voice: organiser logos sit right above the site footer */
.page-voice .vfooter{padding-bottom:0}
.page-voice .footer[data-site-footer]{padding-top:36px}
.nav__links a[aria-current="page"]{color:var(--blue)}
.bview{font-size:16px}
@keyframes bpulse{0%,35%{stroke:var(--orange);stroke-width:4;opacity:1}100%{stroke:var(--ink);stroke-width:2;opacity:.85}}
/* dialogs */
.bdlg{width:min(620px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);padding:4px;border:0;background:none;color:var(--ink);overflow-y:auto;overscroll-behavior:contain}
.bdlg::backdrop{background:rgba(13,27,62,.5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.bdlg__card{position:relative;isolation:isolate;padding:34px 36px 28px;background:var(--paper);border-radius:24px}
.bdlg__card > .sketch .sketch__fill{display:none}
.bdlg__close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:var(--sky);color:var(--ink);cursor:pointer}
.bdlg__close svg{width:20px;height:20px}
.bdlg__close:hover{background:var(--sky-deep)}
.bdlg__kind{margin-bottom:8px}
.bdlg__title{padding-right:44px;font-size:28px;font-weight:700;line-height:1.3;color:var(--blue);text-wrap:balance;overflow-wrap:anywhere}
.bdlg__body{margin-top:12px;font-size:17px;white-space:pre-line;text-wrap:pretty;overflow-wrap:anywhere}
.bdlg__by{margin-top:12px;font-size:15px;color:var(--ink-soft)}
.bdlg__by b,.bcomment__by b{color:var(--ink);font-weight:600}
.bdlg__by time::before,.bcomment__by time::before{content:", "}
.bdlg__note{margin-top:12px;padding:8px 14px;border-radius:12px;background:var(--orange-tint);font-size:15px}
.bdlg__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}
@keyframes bheart{40%{transform:scale(1.3)}}
.bdlg__tools{display:flex;gap:4px}
.bcomments__form .btn:disabled,.bdlg__submit:disabled{opacity:.6;cursor:progress}
.bdlg__submit{width:100%;justify-content:center;margin-top:16px}
@media (max-width:640px){.bview{font-size:15px}
.bdlg{width:100%;margin:auto 0 0;max-height:92dvh;padding:0}
.bdlg__card{padding:28px 20px 22px;border-radius:24px 24px 0 0}
.bdlg__card > .sketch{display:none}
.bdlg__title{font-size:23px}}
/* nav: five links (incl. IMPACT Buzz) stay on one line between 641px and 1180px */
.nav__links a{white-space:nowrap}
@media (max-width:1180px){.nav{gap:22px}
.nav__links{gap:18px}
.nav__links a{font-size:16.5px}}
@media (max-width:1280px){.nav__links{display:none}
.nav__user{margin-left:auto}}
.auth__mascot{width:170px;height:auto;margin:-8px 0 -46px;position:relative;z-index:1;transform:rotate(-4deg);pointer-events:none}
@media (max-width:640px){.auth__mascot{width:140px;margin-bottom:-38px}}
@media (max-width:640px){/* beside the heading (owner 2026-10-29) */}
/* mobile menu (nav-links.js): same links as the desktop nav, in a sheet under the bar */

/* overflow:clip so focusing something near the edge can't scroll a rounded panel sideways */
.panel{overflow:clip}
/* the mobile menu hangs below short headers (gallery, booth): let it out while it is open. Not the home hero: the menu
   fits inside it, and its 980px ring (.hero::before) would widen the page so iOS zooms out to fit it */
.panel:not(.hero).is-navmenu{overflow:visible;z-index:30}
/* nav-user.js sets it while the profile menu or the bell list is open */
@media (max-width:640px){.nav{gap:8px}}
@media (max-width:400px){.logo__happy,.logo__impact{font-size:23px}}
/* back office: IMPACT Buzz moderation */
.bo__stats--4{grid-template-columns:repeat(4,1fr);margin:6px 0 16px}
.bo__stats--4 li{background:var(--sky)}
.bo__search select{font:inherit;font-size:16px;border:2px solid var(--sky-deep);border-radius:14px;padding:8px 10px;background:var(--paper)}
@media (max-width:560px){.bo__stats--4{grid-template-columns:repeat(2,1fr)}
.bo__search{flex-wrap:wrap}}
/* back office Popular Vote (owner 2026-10-28) */

.vo__flags{display:flex;flex-direction:column;gap:6px;margin:12px 0}
.vo__form{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:16px;border-radius:18px;background:var(--sky)}
.vo__form label{font-weight:600;margin-top:4px}
.vo__form input,.vo__form select{font:inherit;font-size:17px;border:2px solid var(--sky-deep);border-radius:14px;padding:10px 14px;background:var(--paper)}
.vo__who{color:var(--ink-soft);min-height:1.2em}
.vo__label{font-weight:600;margin-top:4px}
.vo__pick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.vo__fin{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 8px;border:2px solid var(--sky-deep);border-radius:16px;background:var(--paper);color:var(--ink);font:inherit;font-size:16px;cursor:pointer;transition:opacity .15s,transform .15s,background .15s}
.vo__fin img{width:100%;aspect-ratio:1;height:auto;border-radius:12px;object-fit:cover;object-position:50% 6%;background:var(--sky)}
.vo__tick{position:absolute;top:-8px;right:-8px;width:30px;height:30px;padding:4px;border-radius:50%;background:var(--orange);color:#fff;box-shadow:0 0 0 3px var(--paper);opacity:0;transform:scale(.5);transition:.15s}
.vo__pick .vo__fin[aria-checked="true"]{opacity:1;filter:none;border-color:var(--orange);background:#FFF1E6;box-shadow:0 0 0 3px var(--orange);transform:scale(1.04);font-weight:700}
.vo__fin[aria-checked="true"] .vo__tick{opacity:1;transform:none}
.vo__fin:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media (max-width:560px){.vo__pick{grid-template-columns:repeat(3,minmax(0,1fr))}}
.vo__find{margin-top:16px;flex-wrap:wrap}
.vo__find select{flex:none}
.vo__n{display:inline-block;margin-left:6px;padding:0 10px 1px;border-radius:999px;background:var(--orange);color:#fff;font-size:.9em;white-space:nowrap}
.vo__garland{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#FFF1E6;font-size:14px;font-weight:600;cursor:pointer}
.vo__garland input{width:18px;height:18px;accent-color:#16A34A}
.vo__garland small{font-weight:400;color:var(--ink-soft)}
.vo__sect{position:sticky;top:0;z-index:1;margin-top:10px;padding:8px 12px;border-radius:10px;background:#DCFCE7;color:#166534;font-size:14px;font-weight:700}
.vo__live{display:flex;align-items:center;gap:6px;margin:2px 0 8px;font-size:13px;color:var(--ink-soft)}
.vo__live:not(:empty)::before{content:"";width:8px;height:8px;border-radius:50%;background:#16A34A;box-shadow:0 0 0 3px rgba(22,163,74,.2)}
@keyframes vofresh{0%,40%{background:#FFE8D6;box-shadow:inset 4px 0 0 var(--orange)}100%{background:transparent;box-shadow:inset 4px 0 0 transparent}}
.vo__switch{display:inline-flex;align-self:flex-start;align-items:center;gap:12px;cursor:pointer}
/* only the switch and its words toggle, not the empty row (owner 2026-10-29) */
.vo__switch input{position:absolute;opacity:0;width:1px;height:1px}
.vo__track{flex:none;position:relative;width:52px;height:30px;border-radius:99px;background:#C9D3E3;transition:background .2s}
.vo__track::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.vo__switch input:checked + .vo__track{background:var(--orange)}
.vo__switch input:checked + .vo__track::after{transform:translateX(22px)}
.vo__switch input:focus-visible + .vo__track{outline:3px solid var(--blue);outline-offset:2px}
.vo__switch small{display:block;color:var(--ink-soft)}
.vo__flags{gap:12px}
.vo__btns{display:flex;gap:10px;margin-top:8px}
.vo__rank{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.vo__rank li{display:flex;flex-direction:column;padding:10px 12px;border-radius:14px;background:var(--sky)}
.vo__rank li span{font-size:14px;color:var(--ink-soft)}
.vo__rank .vo__sum{grid-column:1/-1;background:none;padding:0;font-weight:600}
.phero{padding-bottom:12px}
.pface{position:relative;width:184px;height:184px;flex:none;margin:14px}
.pface::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--blue-soft);transform:translate(8px,9px)}
.pface__pic{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:var(--blue);border:5px solid var(--paper);box-shadow:0 0 0 2px var(--ink);transition:opacity .2s ease}
.pface__pic img{width:100%;height:100%;object-fit:cover}
.pface__initial{display:grid;place-items:center;width:100%;height:100%;font-size:78px;font-weight:700;line-height:1;color:#fff}
.pface__ring{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);max-width:none;overflow:visible;pointer-events:none}
.pface__ring path{stroke-width:1.5}
.pface__btn{position:absolute;right:-2px;bottom:4px;z-index:2;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:0 0 0 2px var(--ink),0 10px 20px -10px rgba(13,27,62,.5);cursor:pointer;transition:transform .15s ease}
.pface__btn:hover{transform:translateY(-2px) rotate(-6deg)}
.pface__btn svg{width:30px;height:30px;overflow:visible}
.pface__btn{border:0;padding:0;font:inherit}
.pface:focus-within .pface__btn{outline:3px solid var(--blue);outline-offset:3px}
/* phones: a round icon button beside the name pencil, so the name line never wraps it below (owner 2026-11-27) */
@media (max-width:640px){.pmanage__btn{width:44px;height:44px;padding:0;justify-content:center;border-radius:50%}.pmanage__txt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
.phero > .nav{position:relative;z-index:3}
/* above .pcard, so the menu sheet and user menu open over it */
.phero__doodle{position:absolute;left:0;width:100%;z-index:0;pointer-events:none;overflow:visible}
.phero__doodle path{fill:none;stroke:var(--ph-bgd);stroke-width:10;stroke-linecap:round;stroke-linejoin:round}
.phero__doodle--top{top:0;height:130px}
.phero__doodle--bottom{bottom:0;height:130px;transform:scaleY(-1)}
.phero__doodle--whole{inset:0;height:100%}
.phero__doodle--tr,.phero__doodle--bl{width:auto;height:clamp(110px,14vw,170px)}
.phero__doodle--tr{top:14px;right:14px;left:auto}
.phero__doodle--bl{bottom:14px;left:14px;transform:rotate(180deg)}
.phero__doodle--whole path{stroke-width:26px;vector-effect:non-scaling-stroke}
/* wide panels: keep the loop round instead of stretching it across the screen (owner 2026-10-24) */
@media (min-width:900px){.phero__doodle--whole{left:50%;right:auto;width:auto;aspect-ratio:1.5;transform:translateX(-50%)}}
:is(.phero,.h2top,.shero,.ghero,.qhero)[data-theme="blue"]{background:#1A56DB}
:is(.phero,.h2top,.shero,.ghero,.qhero)[data-theme="orange"]{background:#F26C21}
:is(.phero,.h2top,.shero,.ghero,.qhero)[data-theme="sun"]{background:#FFD84D}
:is(.phero,.h2top,.shero,.ghero,.qhero)[data-theme="cherry"]{background:#E8505B}
:is(.phero,.h2top,.shero,.ghero,.qhero)[data-theme="ink"]{background:#0D1B3E}
:is(.phero,.h2top,.shero,.ghero,.qhero)[data-theme="paper"]{background:#fff repeating-linear-gradient(180deg,transparent 0 34px,#E3EDFF 34px 36px)}
.phero.is-dark .nav__links > li > a,.phero.is-dark .pinfo__name,.phero.is-dark .pmsg{color:#fff}
.phero[data-theme="orange"] .plv__title,.phero[data-theme="orange"] .logo__happy{color:#fff}
.phero[data-theme="orange"] .pface__ring path,.phero[data-theme="orange"] .logo__smile path,.phero[data-theme="orange"] .nav__links .mark{stroke:var(--ink)}
.phero[data-theme="cherry"] .nav__links .mark{stroke:#FFD84D}
.phero[data-theme="cherry"] .logo__happy{color:#FFD84D}
/* the same colour on the Space, gallery and quiz headers (owner 2026-11-12) */
:is(.shero,.ghero,.qhero) > :not(.nav):not(.nav__ph):not(.phero__doodle){position:relative;z-index:1}
:is(.shero,.ghero,.qhero) > .nav:not(.is-stuck){position:relative;z-index:3}
:is(.shero,.ghero,.qhero).is-dark :is(.split-title__light,.fhead__lede,.gbar__note){color:#fff}
:is(.shero,.ghero,.qhero).is-dark .split-title__bold{color:#FFD84D}
:is(.shero,.ghero,.qhero):is([data-theme="blue"],[data-theme="cherry"]) :is(.fhead,.ghead,.qhead) :is(.hand,.fhead__pop){color:#FFD84D}
:is(.shero,.ghero,.qhero)[data-theme="orange"] :is(.fhead,.ghead,.qhead) :is(.hand,.split-title__bold,.fhead__pop){color:#fff}
:is(.shero,.ghero,.qhero)[data-theme="orange"] .logo__happy{color:#fff}
:is(.shero,.ghero,.qhero)[data-theme="orange"] .logo__smile path{stroke:var(--ink)}
:is(.shero,.ghero,.qhero)[data-theme="cherry"] .logo__happy{color:#FFD84D}
:is(.shero,.ghero,.qhero)[data-theme="cherry"] .logo__smile path{stroke:#FFD84D}
:is(.shero,.ghero,.qhero)[data-theme="sun"] :is(.fhead,.ghead,.qhead) .hand{color:#C2410C}
.pearn,.plog{position:relative;isolation:isolate;padding:24px 26px 20px}
.plog .sketch__fill{fill:var(--sky)}
.pearn__list,.plog__list{margin:0;padding:0;list-style:none}
.plog__list li{display:grid;grid-template-columns:44px 1fr auto;align-items:baseline;gap:8px;padding:8px 0;font-size:15px}
.plog__list li + li{border-top:1px solid rgba(13,27,62,.08)}
.plog__amt{font-weight:700;color:#15803D;font-variant-numeric:tabular-nums}
.plog__list time{font-size:13px;color:var(--ink-soft);white-space:nowrap}
li.plog__empty{display:block;font-size:15px;color:var(--ink-soft)}
/* nav button: profile photo next to the name */

.nav__me-face{width:26px;height:26px;flex:none;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px rgba(255,255,255,.9)}
.nav__me-face--initial{display:grid;place-items:center;background:var(--blue);color:#fff;font-size:13px;font-weight:700;line-height:1}
/* desktop: the จัดการ paintbrush sits in the panel's bottom-right corner, past the Level row (owner 2026-10-23) */

@media (max-width:1080px){
  .pcard{grid-template-columns:auto 1fr;gap:28px 40px}
  .pgem{grid-column:1/-1;max-width:560px}
  .pgemw{grid-column:1/-1;max-width:560px}
}
@media (max-width:760px){.pface{grid-area:face;width:118px;height:118px;margin:14px}
.pface__ring{inset:-14px;width:calc(100% + 28px);height:calc(100% + 28px)}
.pface__initial{font-size:50px}
.pface__btn{width:40px;height:40px;right:-4px;bottom:0}
.pface__btn svg{width:22px;height:22px}}
@media (max-width:640px){.phero{padding-bottom:0}}
@media (prefers-reduced-motion:reduce){.pgem__bar i,.pface__btn,.pinfo__edit,.pgem{transition:none}}
/* nav: members get a round photo button (pen style: ink outline + offset orange fill) */
.nav__avatar{position:relative;display:block;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;transition:transform .15s ease}
.nav__avatar::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--orange);transform:translate(3px,3px)}
.nav__avatar:hover{transform:translateY(-2px)}
.nav__avatar[aria-expanded="true"]{transform:none}
.nav__avatar .nav__me-face{position:relative;display:grid;place-items:center;width:44px;height:44px;box-shadow:0 0 0 2px var(--ink)}
.nav__avatar .nav__me-face--initial{font-size:19px}
.nav__avatar:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.logo--light ~ .nav__user .nav__avatar .nav__me-face{box-shadow:0 0 0 2px #fff}
.nav__menu-who{padding:10px 14px 8px;margin-bottom:4px;border-bottom:1px solid var(--sky);font-size:15px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
/* nav: round photo + display name (owner, 2026-10-10) */
.nav__avatar{display:inline-flex;align-items:center;gap:10px;width:auto;height:auto;padding:0 4px 0 0;border-radius:999px;color:var(--ink);font:inherit}
.nav__avatar::before{width:44px;height:44px;inset:0 auto auto 0}
.nav__avatar-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:600}
.nav__avatar-chev{width:12px;height:8px;flex:none;transition:transform .2s ease}
.nav__avatar[aria-expanded="true"] .nav__avatar-chev{transform:rotate(180deg)}
.nav__avatar:hover .nav__avatar-name{color:var(--blue)}
.logo--light ~ .nav__user .nav__avatar{color:#fff}
@media (max-width:640px){.nav__avatar{gap:7px}
.nav__avatar-name{max-width:92px;font-size:15px}}
@media (max-width:400px){.nav__avatar-name{max-width:70px}}
/* mascots a little lower (owner, 2026-10-10) */

@media (max-width:400px){
  .nav__avatar::before,.nav__avatar .nav__me-face{width:38px;height:38px}
  .nav__avatar .nav__me-face--initial{font-size:16px}
  .nav__avatar-name{max-width:66px;font-size:14px}
  .nav__avatar-chev{display:none}
}
/* profile photo is a button: tap to re-position / zoom */
button.pface__pic{padding:0;margin:0;cursor:zoom-in;font:inherit;color:inherit;display:block}
button.pface__pic:focus-visible{outline:3px solid var(--blue);outline-offset:6px}
button.pface__pic:hover img{transform:scale(1.04)}
.pface__pic img{transition:transform .25s ease}
/* ===================== Buzz: crystal leaderboard ===================== */
.board{padding-top:96px;padding-bottom:40px}
.board__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:48px}
.board__head .split-title__bold{white-space:nowrap}
/* ความสุขสะสม / ไฟ Streak สะสม stay on one line; the switch wraps below (owner 2026-11-28) */

.gem{width:22px;height:22px;flex:none;overflow:visible}
.board__face{display:block;width:40px;height:40px;flex:none;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--ink)}
.board__face--initial{display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:700;font-size:17px;line-height:1}
.board__you{display:inline-block;margin-left:6px;padding:0 8px 1px;border-radius:999px;background:var(--orange);color:var(--ink);font-size:12px;font-weight:700;vertical-align:2px}
.board__lv{font-size:14px;font-weight:600;color:var(--ink-soft);white-space:nowrap}
.board__gems{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.board__gems b{font-size:20px;font-weight:700;color:var(--ink)}
.board__podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:24px;margin:0 0 28px;padding:0;list-style:none}
.board__step{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:4px;padding:28px 20px 24px;text-align:center;min-width:0}
.board__step .sketch__fill{fill:var(--sky)}
.board__step--first{padding-top:40px;padding-bottom:30px}
.board__step--first .sketch__fill{fill:var(--orange-tint)}
.board__pic{position:relative;margin-bottom:6px}
.board__step .board__face{width:76px;height:76px;font-size:30px;box-shadow:0 0 0 3px var(--paper),0 0 0 5px var(--ink)}
.board__step--first .board__face{width:104px;height:104px;font-size:40px}
.board__ring{position:absolute;inset:-22px;width:calc(100% + 44px);height:calc(100% + 44px);max-width:none;overflow:visible;pointer-events:none}
.board__ring path{stroke-width:1.6}
.board__place{font-size:24px;transform:rotate(-3deg)}
.board__step--first .board__place{font-size:30px}
.board__name{max-width:100%;font-size:19px;line-height:1.3;overflow-wrap:anywhere}
.board__step--first .board__name{font-size:22px}
.board__dept{font-size:14px;color:var(--ink-soft);min-height:1.4em}
.board__step .board__gems{margin-top:6px}
.board__step--first .board__gems b{font-size:26px}
.board__step--first .gem{width:28px;height:28px}
.board__list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.board__row{display:grid;grid-template-columns:36px 40px 1fr auto auto;align-items:center;gap:14px;padding:10px 18px;border-radius:18px;background:var(--sky)}
.board__rank{font-size:20px;font-weight:700;color:var(--blue);text-align:center;font-variant-numeric:tabular-nums}
.board__who{display:flex;flex-direction:column;min-width:0}
.board__who b{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board__who small{font-size:13px;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board__row .board__gems{justify-content:flex-end;min-width:72px}
.board__me{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:20px;padding:14px 18px;border-radius:18px;background:#FFE3CF;box-shadow:inset 0 0 0 2px var(--orange);font-size:16px}
.board__me b{font-size:18px}
@media (max-width:760px){.board{padding-top:72px}
.board__podium{grid-template-columns:1fr;gap:14px}
.board__step--first{order:-1}
.board__step{flex-direction:row;flex-wrap:wrap;text-align:left;align-items:center;gap:2px 12px;padding:16px 18px}
.board__step--first{padding:20px 18px}
.board__pic{margin:0 6px 0 0}
.board__step .board__face,.board__step--first .board__face{width:56px;height:56px;font-size:24px}
.board__ring{inset:-14px;width:calc(100% + 28px);height:calc(100% + 28px)}
.board__place,.board__step--first .board__place{font-size:22px;flex-basis:auto}
.board__name,.board__step--first .board__name{font-size:18px}
.board__dept{flex-basis:100%;min-height:0;font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ฝ่าย shows on phones too (owner 2026-11-08) */
  .board__step .board__gems{margin:0 0 0 auto}
.board__step--first .board__gems b{font-size:22px}
.board__row{grid-template-columns:28px 36px 1fr auto;gap:10px;padding:10px 14px}
.board__row .board__face{width:36px;height:36px}
.board__row .board__lv{display:none}}
/* Happy Birthday cake on a face in the boards (owner 2026-11-20, quiz-board.js) */
.bday{position:relative;display:block;width:max-content;padding:0;border:0;border-radius:50%;background:none;color:inherit;line-height:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bday:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.board__row .bday .board__face{box-shadow:0 0 0 2px var(--ink),0 0 0 4px #FF7FAE}
.bday__cake{position:absolute;right:-30%;top:-46%;width:66%;height:auto;max-width:none;transform:rotate(12deg);transform-origin:50% 100%;pointer-events:none;animation:bdayBob 1.8s ease-in-out infinite}
.board__row .bday__cake{right:auto;left:-34%;top:-58%;width:72%;transform:rotate(-12deg)}
.board__row .bday__cake{animation-name:bdayBobL}
@keyframes bdayBobL{50%{transform:rotate(-5deg) translateY(-2px)}}
.board__step .bday__cake{right:-22%;top:-34%;width:54%}
.bday__flame{transform-box:fill-box;transform-origin:50% 100%;animation:bdayFlick .45s ease-in-out infinite alternate}
@keyframes bdayBob{50%{transform:rotate(4deg) translateY(-2px)}}
@keyframes bdayFlick{to{transform:scale(.82,1.12) rotate(-8deg)}}
@media (prefers-reduced-motion:reduce){.bday__cake,.bday__flame{animation:none}}
.board__step--first .board__pic{margin-bottom:22px}
@media (max-width:760px){.board__step--first .board__pic{margin:0 14px 0 6px}}
@media (max-width:760px){.board__step,.board__step--first{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"pic place gems" "pic name gems" "pic lv gems";align-items:center;column-gap:14px;row-gap:0;text-align:left}
.board__pic,.board__step--first .board__pic{grid-area:pic;margin:0 4px 0 2px}
.board__step--first .board__pic{margin:0 10px 0 8px}
.board__place{grid-area:place;transform:rotate(-2deg);transform-origin:0 50%}
.board__name{grid-area:name}
.board__step .board__lv{grid-area:lv}
.board__step .board__gems{grid-area:gems;margin:0}}
/* hover only with a mouse: on phones the tap that starts the round left a stuck hover on the มั่ว button that
   appears under the finger (an orange tint, owner 2026-11-06) */
@media (hover:hover){
  .qbtn:hover:not(:disabled){transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--orange)}
  .qbtn--true:hover:not(:disabled){background:#EAF7EF}
  .qbtn--false:hover:not(:disabled){background:var(--orange-tint)}
}
@keyframes qpop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.15);opacity:1}100%{transform:scale(1)}}
@keyframes qmineflash{0%,30%{box-shadow:0 0 0 3px var(--orange)}100%{box-shadow:0 0 0 3px transparent}}
@keyframes qmup{from{transform:translateY(40%);opacity:.4}}
@keyframes qtin{from{opacity:0;transform:translate(-50%,10px)}}
@keyframes qthink{50%{transform:scale(.82)}}
@keyframes qtpulse{50%{transform:scale(1.18)}}
@keyframes gemnote-in{from{opacity:0;transform:translate(-50%,-24px) scale(.9)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
.tag--soon{margin-left:6px;background:var(--ink);color:#fff;font-size:13px;vertical-align:3px}
/* red "watch live" button in the next-event card and the upcoming list */

@media (prefers-reduced-motion:reduce){a.sticker{transition:none}}
/* mobile nav order: logo ... menu button, user button (user button keeps the right edge) */

@media (max-width:640px){.stickers{height:auto;aspect-ratio:1/1}}
@keyframes flashFill2{0%,100%{fill:var(--orange-tint)}30%{fill:#FFD84D}}
.bo__dn{display:block;margin-top:2px}
.bo__dn i{font-style:normal;color:var(--ink-soft)}
/* play button on contestant cards: hidden for now (owner, 2026-10-14); delete this line to bring it back */
.vperson__play{display:none!important}
/* home: hidden activities (Sports Day, Staff Party, ทำดี): stay hidden even where a rule sets display */
.card[hidden]{display:none!important}
/* nav: IMPACT Voice 2 link sits last, with an orange outline (owner, 2026-10-14) */

/* home upcoming list: blurred teaser card for activities not announced yet (owner, 2026-10-15) */

/* nav: IMPACT Voice 2 sits last with a hand-drawn marker ring that draws itself once (owner, 2026-10-15) */
/* gaps are measured from the text: the ring hangs outside the link (no side margin), right margin keeps it off the user button */
.nav__links a.nav__voice{position:relative;display:inline-block;margin:0 14px 0 0;font-weight:600}
.nav__voice-ring{position:absolute;left:-14px;top:-38%;width:calc(100% + 28px);height:176%;max-width:none;overflow:visible;pointer-events:none}
.nav__voice-ring path{stroke-width:3;stroke-dasharray:1 2;stroke-dashoffset:1;animation:navring .9s cubic-bezier(.65,.05,.3,1) .4s forwards}
@keyframes navring{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.nav__voice-ring path{animation:none;stroke-dashoffset:0}}
.rw{white-space:nowrap}
.rw--free,.nb.rw--free{white-space:normal}
.rrow{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:3cqi}
@keyframes rcutpop{0%{transform:scale(.6) rotate(-12deg)}60%{transform:scale(1.12) rotate(4deg)}100%{transform:none}}
@keyframes rcutup{from{opacity:0;transform:translateY(18px)}}
@keyframes rcutbob{50%{transform:translateY(-5px)}}
@keyframes rcutshake{25%{transform:rotate(-8deg)}75%{transform:rotate(8deg)}}
@keyframes rcutpulse{50%{transform:scale(1.07)}}
@keyframes rcutrise{from{transform:translateY(34px)}}
@keyframes rcutflash{0%{opacity:0}50%{opacity:1}}
@keyframes rcutdraw{from{stroke-dashoffset:1}}
.ghead{padding-top:28px}
.ghead2__top.ghead2__top--chips{justify-content:center;margin-bottom:16px}
.ghead2 .ghead2__top--chips{margin-bottom:10px}
.ghead__hello{transform:rotate(-3deg);transform-origin:left;margin-bottom:6px}
/* ONE loading look for the whole site (owner 2026-11-16): every placeholder is this shimmer, in the shape of what is
   coming. New ones: class="skel" on a block sized by its own rule (or .skel--tile / a .skelrow list row). On a dark
   or coloured box set --skel-a / --skel-b on the container. No bouncing dots or a bare กำลังโหลด line for content that is on its way (embeds keep their orange ring, buttons their own progress). */
.skel,.gskel__img,.gskel__line,.pskel span,.fskel,.ho-me__skel,.sdsk{display:block;background:linear-gradient(100deg,var(--skel-a,var(--sky)) 30%,var(--skel-b,#f6f9ff) 50%,var(--skel-a,var(--sky)) 70%) 0 0/300% 100%;animation:gskel 1.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.skel,.gskel__img,.gskel__line,.pskel span,.fskel,.ho-me__skel,.sdsk{animation:none}}
.skel{border-radius:6px}
.skel--tile{aspect-ratio:3/4;border-radius:0}
.skelrow{display:flex;align-items:center;gap:12px;padding:10px 6px;list-style:none}
.skelrow .skel{height:12px}
.skelrow .skel--face{flex:none;width:36px;height:36px;border-radius:50%}
.skelrow__t{flex:1;min-width:0;display:grid;gap:8px}
.fs__list{--skel-a:rgba(255,255,255,.1);--skel-b:rgba(255,255,255,.24)}
@keyframes gskel{from{background-position:100% 0}to{background-position:0 0}}
.ghead2{display:flex;flex-direction:column;gap:6px;margin-bottom:24px}
.ghead2 .link{align-self:flex-start}
.ghead2__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
.ghead2__top .link{align-self:center}
.ghead2__title{margin-top:6px;font-size:clamp(28px,3.4vw,40px);font-weight:700;line-height:1.25;color:var(--blue);text-wrap:balance}
.ghead2__meta{font-size:16px;color:var(--ink-soft);text-wrap:pretty}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
/* photo viewer: solid black (owner 2026-10-23); one-finger moves go to light-swipe.js (pinch still zooms); the page
   behind doesn't scroll while it is open, the viewer scrolls it to the photo on screen instead */
.glight{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000;color:#fff;touch-action:none;overscroll-behavior:contain}
html:has(.glight[open]){overflow:hidden}
.glight::backdrop{background:transparent}
.glight{overflow:hidden}
.glight:focus{outline:none}
/* the dialog takes focus itself (autofocus), so ✕ shows no ring on open */   /* the photo sliding out (and its neighbour) must not give the dialog a scrollbar */
.glight[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.glight__top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.glight__count{font-size:15px;opacity:.85;white-space:pre}
.glight__album{display:flex;width:max-content;align-items:center;gap:6px;margin-top:8px;padding:6px 14px 7px 10px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.glight__album svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.glight__top{align-items:flex-start}
.glight__close{width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.glight__fig{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;margin:0;padding:0 64px}
.glight__ring{position:absolute;border:3px dashed #FFD84D;border-radius:50%;box-shadow:0 0 0 3px rgba(9,14,30,.35);pointer-events:none}
.glight__fig img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}
.glight__fig img.glight__ghost{position:absolute;top:0;bottom:0;margin:auto;pointer-events:none}
.glight__nav{position:absolute;top:50%;width:48px;height:48px;margin-top:-24px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:32px;line-height:1;cursor:pointer}
.glight__nav--prev{left:10px}
.glight__nav{transition:opacity .25s}
.glight__nav--next{right:10px}
/* bottom bar: round icons in one row of a fixed height, so the photo never moves (owner 2026-10-23) */
.glight__bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;height:100px;padding:0 16px 14px}
.glight__l,.glight__c,.glight__r{position:relative;display:flex;align-items:center;gap:12px}
.glight__l{justify-self:start}
.glight__r{justify-self:end}
.glight__ic{position:relative;display:grid;place-items:center;flex:none;width:58px;height:58px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;text-decoration:none;cursor:pointer;transition:transform .12s ease,background .15s}
.glight__ic svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.glight__ic:hover{background:rgba(255,255,255,.24)}
.glight__ic:active{transform:scale(.92)}
.glight__ic:focus-visible{outline:3px solid #FFD84D;outline-offset:2px}
.glight__ic:disabled{opacity:.35;cursor:default}
@keyframes glspin{to{transform:rotate(360deg)}}
.glight__ic--orange,.glight__ic--orange:hover{background:var(--orange);color:var(--ink)}
.glight__ic--blue,.glight__ic--blue:hover{background:var(--blue);color:#fff}
.glight__ic--light,.glight__ic--light:hover{background:#fff;color:var(--ink)}
.glight__ic--green,.glight__ic--green:hover{background:#22A35A;color:#fff}
.glight__ic--red,.glight__ic--red:hover{background:#E5484D;color:#fff}
.glight__ic--me,.glight__ic--me:hover{background:none;box-shadow:inset 0 0 0 2px var(--orange);color:var(--orange);cursor:default}
button.glight__ic--me{cursor:pointer}
.glight__ic--on,.glight__ic--on:hover{background:#fff;color:var(--ink)}
.glight__ask{position:relative;display:flex;gap:12px}
.glight__menu{position:absolute;left:0;bottom:calc(100% + 10px);display:flex;flex-direction:column;min-width:190px;padding:6px;border-radius:16px;background:#1b1b1d;box-shadow:0 10px 30px rgba(0,0,0,.5);z-index:2}
.glight__menu[hidden]{display:none}
.glight__menu button{display:flex;align-items:center;gap:10px;padding:12px 14px;border:0;border-radius:10px;background:none;color:#fff;font:inherit;font-size:15px;text-align:left;cursor:pointer}
.glight__menu button:hover{background:rgba(255,255,255,.1)}
.glight__menu svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* one button in the middle: แชร์ on touch phones (the share sheet saves), ดาวน์โหลด on computers (owner 2026-10-24) */
@media (hover:none) and (pointer:coarse){.glight__ic--dl{display:none}}
@media not ((hover:none) and (pointer:coarse)){.glight__ic--sh{display:none}}
.glight__asklbl{position:absolute;left:50%;bottom:calc(100% + 2px);transform:translateX(-50%) rotate(-3deg);font-size:20px;line-height:1;color:#FFD84D;white-space:nowrap;pointer-events:none}
@media (max-width:640px){.glight__fig{padding:0 8px}
.glight__nav{width:40px;height:40px;margin-top:-20px;font-size:26px;background:rgba(9,14,30,.55)}
.glight__bar{gap:8px;height:92px;padding:0 12px 12px}
.glight__l,.glight__c,.glight__r{gap:10px}
.glight__ic{width:54px;height:54px}
.glight__ask{gap:10px}}
/* Voice: FINAL running order on its own, first after the hero (owner 2026-10-26) */

/* activities at the FINAL (owner's poster 2026-10-26): star badges ต่อที่ 1/2 like the poster */

.vact{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:34px 30px 30px}
.vact .sketch__fill{fill:var(--paper)}
.page-voice .vact .sketch__line{stroke:#FFB27A;opacity:.55}
.vact h3{font-weight:700;font-size:28px;line-height:1.2;text-wrap:balance}
.vact .eyebrow{font-weight:700;font-size:17px;color:var(--orange)}
.vact p:not(.eyebrow){font-size:18px;line-height:1.6;color:var(--ink);text-wrap:pretty}
.vact .circled{margin:0 .3em;font-weight:700;color:var(--orange)}
.vact .hl{font-weight:700}
@media (max-width:640px){.vact{padding:28px 22px 24px}
.vact h3{font-size:24px}}
/* Voice: photo album card linking to /gallery (owner 2026-10-26) */
.vgal{padding-top:110px}
.vgal .split-title{margin-bottom:48px}
.vgal__card{display:block;width:min(560px,100%);text-decoration:none;color:inherit}
.vgal .polaroid{background:#F7F1EA;color:#111;padding:12px 12px 4px}
.vgal .polaroid img{aspect-ratio:3/2}
.vgal figcaption{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;padding:12px 6px 10px}
.vgal figcaption b{font-size:22px}
.vgal figcaption .hand{font-size:22px;color:#E25A12}
@media (max-width:640px){.vgal{padding-top:72px}
.vgal .split-title{margin-bottom:36px}
.vgal figcaption b,.vgal figcaption .hand{font-size:19px}}
/* Voice FINAL running order (owner 2026-10-20): names open the Live Audition clip */
.vschedule{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:8px;margin-top:32px;padding:30px 34px 32px}
.vschedule h3{font-weight:700;font-size:26px}
.vschedule p{font-size:17px;color:var(--ink-soft)}
.vsched__no{font-size:14px;color:var(--ink-soft);text-align:right}
.vsched__time{font-size:16px;color:var(--orange)}
.vsched__who{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;min-width:0}
.vsched__who b{font-weight:700;font-size:17px}
.vsched__who small{font-size:13px;color:var(--ink-soft)}
.vsched__break .vsched__who b{font-weight:500;color:var(--ink-soft)}
button.vsched__who{border:0;background:none;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer}
button.vsched__who b{text-decoration:underline;text-decoration-color:rgba(255,178,122,.45);text-underline-offset:5px}
button.vsched__who:hover b,button.vsched__who:focus-visible b{color:var(--orange);text-decoration-color:currentColor}
button.vsched__who:focus-visible{outline:2px solid var(--orange);outline-offset:3px;border-radius:6px}
.vsched__play{width:12px;height:12px;flex:none;color:var(--orange);align-self:center}
.vsched__act .vsched__no,.vsched__act .vsched__time{align-self:center}
button.vsched__who{flex-wrap:nowrap;align-items:center;gap:12px}
.vsched__face{flex:none;width:64px;height:80px;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 4px 8px rgba(0,0,0,.45));transition:transform .2s ease}
button.vsched__who:hover .vsched__face{transform:scale(1.06)}
.vsched__txt{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;min-width:0}
.vsched__txt small{flex-basis:100%}
@media (max-width:720px){.vschedule{padding:24px 20px 26px}
.vsched__face{width:52px;height:65px}
.vsched__act .vsched__no{grid-row:1/3;align-self:center}
.vsched__act .vsched__time{align-self:start}
.vsched__act .vsched__who{grid-column:2}}
@keyframes sfeedIn{from{opacity:0;transform:translateY(30px) scale(.94)}}
.btmain{padding-top:6px;padding-bottom:40px}
@keyframes btpop{0%{transform:scale(.4);opacity:0}25%{transform:scale(1.1);opacity:1}80%{opacity:1}100%{transform:scale(.9);opacity:0}}
@keyframes btflash{0%{opacity:.95}100%{opacity:0}}
.btn:disabled{opacity:.5;cursor:default}
html:has(#bt-share[open]){overflow:hidden;overscroll-behavior:none}
/* no footer on a page that only asks the guest to log in (owner 2026-11-10) */
body:has(a[href^="/login"]:not(.nav__cta)) .footer[data-site-footer],body.is-guest .footer[data-site-footer]{display:none}
@keyframes btpose{0%{transform:translateX(-50%) rotate(-3deg) scale(.3);opacity:0}100%{transform:translateX(-50%) rotate(-3deg) scale(1);opacity:1}}
@keyframes btkhint{50%{transform:translateX(-50%) rotate(-2deg) scale(1.06)}}
@media (max-width:600px){.btmain{padding-left:10px;padding-right:10px}}
/* live embed: a spinning orange marker ring until YouTube has loaded (owner 2026-10-23) */
.vlive__load{position:absolute;left:50%;top:50%;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;border:4px solid rgba(255,138,61,.22);border-top-color:#FF7A2F;animation:vspin .9s linear infinite;transition:opacity .3s}
.vlive__player.is-loaded .vlive__load{opacity:0;animation:none}
@keyframes vspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.vlive__load{animation-duration:2.4s}}
/* clip feed (owner 2026-10-23): the previous / next player waits above / below while the finger drags up or down */
.vplayer{overflow:visible}
.vplayer__ghost{position:absolute;left:0;width:100%;border-radius:22px;background:#0B0B0B;color:#FFF4EC;box-shadow:0 0 0 1.5px rgba(255,138,61,.4);visibility:hidden;pointer-events:none}
.vplayer__ghost[data-d="1"]{top:calc(100% + 24px)}
.vplayer__ghost[data-d="-1"]{bottom:calc(100% + 24px)}
.vplayer.is-feed .vplayer__ghost{visibility:visible}
.vplayer__ghost .vplayer__close{visibility:hidden}
.vplayer__ghost img.vplayer__video{display:block;object-fit:cover}
/* the player takes focus itself (autofocus), so the ✕ shows no ring on open (owner 2026-10-23); no page scroll behind */
.vplayer:focus{outline:none}
.vplayer{touch-action:none;overscroll-behavior:contain}
html:has(.vplayer[open]){overflow:hidden}
/* ✕ on the card's top-right corner */
@media (max-width:600px){
  .cone__card .cbub{--g:1.25;font-size:19px}
  .bdlg.cone{width:calc(100% - 24px);margin:auto}   /* centred, not a bottom sheet: it is one card */
  .cone .bdlg__card{padding:56px 8px 8px}
  .cone .bdlg__close{top:78px;right:-2px}
}
.cstage{position:relative;max-width:1440px;margin:0 auto;width:calc(100% - 32px);padding:34px 22px 0;border-radius:28px;overflow:hidden;
  background:
    radial-gradient(ellipse 60% 40% at 50% 104%,rgba(255,122,47,.45),transparent 70%),
    repeating-conic-gradient(from 180deg at 50% -10%,rgba(255,214,170,.06) 0 4deg,transparent 4deg 12deg),
    #0a0a0a}
/* the stage fills the screen; bubbles drift right to left and push each other (cheer.js sim), round and round */
.cstage{display:flex;flex-direction:column;height:calc(100svh - var(--ctop,110px) - 16px);min-height:420px;padding-top:18px}
@keyframes cglow{from{box-shadow:4px 4px 0 var(--orange),0 0 0 3px var(--marker),0 0 18px rgba(255,163,92,.6)}to{box-shadow:4px 4px 0 var(--orange),0 0 0 5px #FFD84D,0 0 44px rgba(255,200,120,1)}}
@media (max-width:899px){.cstage{margin:0 8px;width:auto;padding:10px 12px 0;border-radius:22px;height:calc(100svh - var(--ctop,80px) - 8px);min-height:380px}}
/* the send dialog never moves the page behind it; phones with the keyboard open: fitted to what is visible (cheer.js
   fitDlg), the ส่งกำลังใจ button stuck to its bottom, right above the keyboard */
html:has(.cdlg[open]){overflow:hidden}
/* solid, so nothing shows through the stuck button */
@media (max-width:899px){
  .cdlg.is-kb[open]{position:fixed;inset:var(--vvt,0) 0 auto;height:var(--vvh,100dvh);max-height:var(--vvh,100dvh);margin:0;display:flex;flex-direction:column}
  .cdlg.is-kb .bdlg__card{margin-top:auto;border-radius:20px 20px 0 0}
}
/* ชวนคุย compose (owner 2026-10-26, like /cheer): the page behind never scrolls, the button follows the keyboard */
html:has(.kdlg[open]){overflow:hidden}
.kdlg:focus{outline:none}
.kdlg .bdlg__submit{position:sticky;bottom:10px;z-index:1;box-shadow:0 8px 22px rgba(13,27,62,.28)}
@media (max-width:899px){.kdlg.is-kb[open]{position:fixed;inset:var(--vvt,0) 0 auto;height:var(--vvh,100dvh);max-height:var(--vvh,100dvh);margin:0;display:flex;flex-direction:column}
.kdlg.is-kb .bdlg__card{margin-top:auto;border-radius:20px 20px 0 0}}
@keyframes vup{50%{background:#3a2406;box-shadow:inset 0 0 0 3px #FFD84D,0 0 40px rgba(255,216,77,.8)}}
@keyframes vhit{to{box-shadow:inset 0 0 0 3px #FFD84D,0 0 30px rgba(255,216,77,.7)}}
@keyframes vfade{from{opacity:0}}
@keyframes vfadeout{to{opacity:0}}
@keyframes vpopin{from{transform:scale(.92);opacity:0}}
@keyframes vpopout{to{transform:scale(.96);opacity:0}}
@keyframes vring{to{stroke-dashoffset:0}}
@keyframes vrays{to{transform:rotate(360deg)}}
@keyframes vspark{0%{opacity:1;transform:translate(0,0) scale(.4)}80%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1) rotate(200deg)}}
@keyframes vglow{to{filter:brightness(1.06);transform:scale(1.02)}}
@keyframes vflash{0%{opacity:.95}100%{opacity:0}}
@keyframes vshake{20%{transform:translate(-6px,3px)}40%{transform:translate(5px,-4px)}60%{transform:translate(-4px,2px)}80%{transform:translate(3px,-1px)}}
@keyframes vshakebig{20%{transform:translate(-16px,8px) rotate(-.6deg)}40%{transform:translate(14px,-10px) rotate(.6deg)}60%{transform:translate(-10px,6px)}80%{transform:translate(8px,-4px)}}
@keyframes cvote{to{filter:brightness(1.12)}}
/* /impactvoice2026: the ส่งกำลังใจ buttons are hidden for now (owner 2026-10-28) */
.vfacts__cheer[hidden]{display:none}
@keyframes vhistrun{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes vhistin{from{transform:translateX(-30px);opacity:0}}
/* the Voice nav ring is orange: on an orange header (profile colour ส้ม) it turns white (owner 2026-10-29) */
[data-theme="orange"] .nav__voice-ring path{stroke:#fff}
/* beside the heading (owner 2026-10-29) */
/* the heading's light line wraps before the mascot, so a wider phone (or iOS's wider Thai line) never runs it under the mascot (owner 2026-11-04) */
@media (max-width:640px){.details > .split-title .split-title__light{padding-right:128px}}
/* IMPACT Dance art (owner 2026-11-05: neon dance-game look in orange/red, like a synthwave warm-up video): black room, glowing speed streaks, a neon grid floor (inline SVG .art__neon); the logo's orange is recoloured red */
.art--dance{display:grid;place-items:center;background:#0B0306}
.art--dance .art__neon{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.art--dance img{position:relative;z-index:1;width:84%;height:auto;transform:rotate(-3deg);filter:drop-shadow(0 12px 22px rgba(0,0,0,.55))}
/* I'M app link (owner 2026-10-29): while the SSO token is turned into a session, every page shows only the sky and
   /login shows the Happy IMPACT loading screen, so the code form never flashes */
html.is-applogin{background:var(--sky)}
html.is-applogin body > :not(.applogin){visibility:hidden}
.applogin{display:none}
html.is-applogin .applogin{position:fixed;inset:0;z-index:100;display:grid;place-content:center;justify-items:center;gap:22px;background:var(--sky);text-align:center}
.applogin__logo .logo__happy,.applogin__logo .logo__impact{font-size:44px}
/* owner 2026-11-02: just the logo, its smile drawing in and out on a loop (no text, no spinner) */
.applogin__logo .logo__smile .mark{stroke-dasharray:320;stroke-dashoffset:320;animation:applogin-draw 1.6s .1s cubic-bezier(.45,0,.3,1) infinite}
@keyframes applogin-draw{0%{stroke-dashoffset:320}45%,70%{stroke-dashoffset:0}100%{stroke-dashoffset:-320}}
@media (prefers-reduced-motion:reduce){.applogin__logo .logo__smile .mark{animation:none;stroke-dashoffset:0}}
/* must-pick-a-name popup (nav-user.js, owner 2026-10-29): can't be closed until a name is saved */
html:has(.nameask[open]){overflow:hidden}
.nameask .bdlg__card{display:grid;gap:10px}
.nameask__lede{margin:0 0 6px;font-size:16px;color:var(--ink-soft);text-wrap:pretty}
.nameask label{font-weight:600;font-size:16px}
.nameask input{font:inherit;font-size:18px;color:var(--ink);background:var(--paper);border:2px solid var(--sky-deep);border-radius:14px;padding:11px 14px;width:100%;min-width:0}
.nameask input:focus{outline:none;border-color:var(--blue)}
.nameask__msg{margin:0;min-height:1.4em;font-size:15px;color:#C62828}
.nameask .bdlg__submit{margin-top:4px}
/* /admin-vote garlands: one finalist at a time (owner 2026-10-29) */
.vo__gpick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0}
.vo__gfin{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;border:2px solid var(--sky-deep);border-radius:16px;background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}
.vo__gfin img{width:72%;aspect-ratio:1;height:auto;border-radius:50%;object-fit:cover;object-position:50% 6%;background:var(--sky)}
.vo__gfin small{font-size:13px;color:#C2410C;font-weight:600}
.vo__gpick .vo__gfin[aria-checked="true"]{opacity:1;border-color:var(--orange);background:#FFF1E6;box-shadow:0 0 0 3px var(--orange)}
@media (max-width:560px){.vo__gpick{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* /admin-vote (owner 2026-10-29): baht written inside the amount box; ซ่อนอันดับ as one clear toggle card */
.vo__money{position:relative;display:block}
.vo__money input{width:100%;padding-right:64px !important}
.vo__money > span{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-weight:600;color:var(--ink-soft);pointer-events:none}
.vo__hide{gap:14px;padding:12px 18px 12px 14px;border:2px solid var(--sky-deep);border-radius:18px;background:var(--paper);transition:border-color .2s,background .2s}
.vo__hide b{font-size:17px}
.vo__hide .vo__state{margin-left:8px;padding:3px 12px 4px;border-radius:999px;background:#E5EAF2;color:var(--ink-soft);font-size:14px;font-weight:700;white-space:nowrap}
.vo__hide .vo__state::after{content:"แสดงอันดับอยู่"}
.vo__hide:has(input:checked){border-color:var(--orange);background:#FFF1E6}
.vo__hide:has(input:checked) .vo__state{background:var(--orange);color:#fff}
.vo__hide:has(input:checked) .vo__state::after{content:"ซ่อนอยู่"}
#garland-admin .vo__find{margin-top:6px}
.vo__b{display:inline-block;margin-left:8px;padding:0 10px 1px;border-radius:999px;background:var(--blue);color:#fff;font-size:.9em;white-space:nowrap}
/* baht first, then votes (owner 2026-10-29) */
.vo__b + .vo__n{margin-left:4px}
.fchips{display:flex;gap:8px;max-width:var(--wrap,1180px);margin:16px auto 0;padding:2px 16px 4px;overflow-x:auto;scrollbar-width:none}
.fchips::-webkit-scrollbar{display:none}
.fchip{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border:0;border-radius:999px;background:#1a1a1a;color:#fff;font:inherit;font-size:15px;cursor:pointer;box-shadow:inset 0 0 0 1.5px #2e2e2e}
.fchip--face{padding-left:4px}
.fchip img{width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:50% 8%;background:var(--orange)}
.fchip:focus-visible{outline:3px solid var(--marker);outline-offset:2px}
/* player */
.fplayer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#fff;overflow:hidden;touch-action:none;overscroll-behavior:contain}
.fplayer::backdrop{background:#000}
.fplayer:focus{outline:none}
html:has(.fplayer[open]){overflow:hidden}
.fp__track{position:absolute;inset:0;margin:0 auto;width:min(100vw,calc(100dvh * 9 / 16 + 120px))}
.fp__panel{position:absolute;inset:0;background:#000;overflow:hidden}
.fp__video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.fp__still{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;pointer-events:none}
.fp__still[hidden]{display:none}
/* iPhone + MediaSource (2026-11-12): the video is drawn on a separate GPU layer, so everything that must show over it
   gets its own layer and a z-index above it (painted into the panel, the caption and buttons ended up under it) */
.fp__panel--cur{isolation:isolate}
/* pinch zoom (owner 2026-11-27): the clip or photo grows in place; caption and buttons step aside meanwhile */

.fp__video{z-index:0}
.fp__still,.fp__alb{z-index:1}
.fp__shade,.fp__info,.fp__rail,.fp__heart{z-index:2;will-change:transform}
.fp__pause,.fp__fast{will-change:transform}
.fp__ghost{visibility:hidden;pointer-events:none}
.fp__ghost[data-d="1"]{top:100%;bottom:-100%}
.fp__ghost[data-d="-1"]{top:-100%;bottom:100%}
.fplayer.is-feed .fp__ghost{visibility:visible}
.fp__ghost>img{width:100%;height:100%;object-fit:contain}
.fp__pause{position:absolute;z-index:2;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.45);pointer-events:none}
.fp__pause svg{width:56px;height:56px}
@keyframes fppin{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@keyframes fppout{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.25)}}
.fplayer:has(.fp__flash.is-on) .fp__pause{visibility:hidden}
.fp__flash{position:absolute;z-index:3;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.45);opacity:0;pointer-events:none}
.fp__flash svg{width:56px;height:56px}
@keyframes fpflash{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1.05)}60%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
.fp__pause[hidden]{display:none}
.fp__info{position:absolute;left:0;right:76px;bottom:0;padding:60px 16px calc(30px + env(safe-area-inset-bottom));pointer-events:none}
/* one shade across the whole width behind the name and the rail (it stopped at the rail before: owner's iPhone) */
.fp__shade{position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(transparent,rgba(0,0,0,.25) 40%,rgba(0,0,0,.72));pointer-events:none}
.fp__info a,.fp__info button{pointer-events:auto}
.fp__by{display:flex;align-items:center;gap:10px}
.fp__by img,.fp__ini{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 2px #fff}
.fp__ini{display:grid;place-items:center;background:var(--orange);color:#111;font-weight:700}
.fp__by b{display:block;font-size:16px;line-height:1.2}
.fp__by small{display:block;font-size:13px;color:#E6DED7}
.fp__cap{margin-top:8px;font-size:15px;line-height:1.45;text-wrap:pretty;white-space:pre-line;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.fp__rail{position:absolute;right:8px;bottom:calc(30px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:14px}
.fp__act{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:56px;padding:0;border:0;background:none;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.fp__act svg{width:34px;height:34px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.fp__views svg{width:26px;height:26px}
.fp__views{cursor:default}
.fp__act:disabled{cursor:default;opacity:.8}
@keyframes fpbeat{40%{transform:scale(1.25)}}
.fp__act:focus-visible{outline:3px solid var(--marker);outline-offset:3px;border-radius:12px}
.fp__menu{position:absolute;right:62px;bottom:0;min-width:160px;padding:6px;border-radius:14px;background:#1a1a1a;box-shadow:0 10px 30px rgba(0,0,0,.5),inset 0 0 0 1.5px #2e2e2e}
.fp__menu[hidden]{display:none}
.fp__menu button{display:block;width:100%;padding:11px 12px;border:0;border-radius:10px;background:none;color:#fff;font:inherit;font-size:15px;text-align:left;cursor:pointer}
.fp__menu button:hover{background:#2a2a2a}
.fp__bar{position:absolute;z-index:3;left:0;right:0;bottom:0;height:26px;display:flex;flex-direction:column;justify-content:flex-end;cursor:pointer;touch-action:none}
.fp__line{height:3px;background:rgba(255,255,255,.22);transition:height .15s}
.fp__line span{display:block;height:100%;background:var(--orange);transform-origin:0 50%;transform:scaleX(0)}
.fp__time{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);padding:4px 12px;border-radius:999px;background:rgba(0,0,0,.6);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;opacity:0;transition:opacity .15s;pointer-events:none;white-space:nowrap}
/* hold = 2x */
.fp__fast{position:absolute;z-index:2;left:50%;top:calc(22px + env(safe-area-inset-top));transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;background:rgba(0,0,0,.55);font-weight:700;font-size:16px;opacity:0;transition:opacity .15s;pointer-events:none}
.fp__fast svg{width:24px;height:16px;color:var(--orange)}
.fp__panel--cur{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* comments sheet */
.fp__scrim{position:absolute;inset:0;z-index:4;background:rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .25s}
.fp__sheet{position:absolute;z-index:5;left:0;right:0;bottom:0;margin:0 auto;width:min(100vw,560px);height:min(68dvh,620px);display:flex;flex-direction:column;border-radius:20px 20px 0 0;background:#141414;box-shadow:0 -10px 40px rgba(0,0,0,.5),inset 0 1.5px 0 #2a2a2a;transform:translateY(100%);transition:transform .26s cubic-bezier(.2,.8,.2,1);touch-action:pan-y}
.fp__sheet[hidden]{display:none}
.fs__head{display:flex;align-items:center;justify-content:center;position:relative;padding:14px 56px 10px}
.fs__head h2{font-size:16px;font-weight:700}
.fs__grab{position:absolute;top:6px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:4px;background:#3a3a3a}
.fs__close{position:absolute;right:8px;top:6px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer}
.fs__close svg{width:20px;height:20px}
.fs__list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 16px 8px;display:flex;flex-direction:column;gap:14px}
.fs__empty{margin:auto;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--ink-soft);text-align:center}
.fs__empty b{color:#fff;font-size:16px}
.fs__reply{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;border-top:1px solid #262626;font-size:13px;color:#BDB5AE}
.fs__reply b{color:#fff;font-weight:600}
.fs__reply button{width:28px;height:28px;border:0;border-radius:50%;background:#262626;color:#fff;display:grid;place-items:center;padding:0}
.fs__reply svg{width:14px;height:14px}
.fs__reply[hidden]{display:none}
.fs__msg{padding:0 16px;color:#FF8A8A;font-size:14px}
.fs__msg:empty{display:none}
.fp__act>span{display:block;line-height:18px;min-height:18px;font-variant-numeric:tabular-nums}
.fs__form{display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #262626}
.fs__form input{flex:1;min-width:0;height:44px;padding:0 16px;border:2px solid #333;border-radius:999px;background:#0d0d0d;color:#fff;font:inherit;font-size:16px}
.fs__form input:focus{outline:none;border-color:var(--orange)}
.fs__send{height:44px;padding:0 18px;margin:0}
.fs__send:disabled{opacity:1;background:#5C2E12;color:#C99272}
.fp__heart{position:absolute;inset:0;pointer-events:none}
.fp__pop{position:absolute;width:96px;height:96px;margin:-48px 0 0 -48px;animation:fppop .85s ease-out forwards}
.fp__pop svg{width:100%;height:100%;color:#fff;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4))}
@keyframes fppop{0%{transform:rotate(var(--r)) scale(.3);opacity:0}25%{transform:rotate(var(--r)) scale(1.15);opacity:1}55%{transform:rotate(var(--r)) scale(1)}100%{transform:rotate(var(--r)) translateY(-90px) scale(.8);opacity:0}}
.fp__close{position:absolute;z-index:2;top:calc(12px + env(safe-area-inset-top));left:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.4);color:#fff;cursor:pointer}
.fp__close svg{width:22px;height:22px}
.fp__nav{position:absolute;z-index:2;right:calc(50% - min(50vw, calc(100dvh * 9 / 32 + 60px)) - 64px);top:50%;transform:translateY(-50%);display:none;flex-direction:column;gap:12px;opacity:0;transition:opacity .3s}
.fp__nav button{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#1f1f1f;color:#fff;cursor:pointer}
.fp__nav button:hover{background:var(--orange);color:#111}
.fp__nav button:disabled{opacity:.3;cursor:default;background:#1f1f1f;color:#fff}
.fp__nav svg{width:24px;height:24px}
.fplayer.is-nav .fp__nav{opacity:1}
@media (hover:hover) and (min-width:900px){.fp__nav{display:flex}
.fp__panel{border-radius:0}}
@media (prefers-reduced-motion:reduce){.fp__pop,.fp__like.is-on svg{animation:none}}
.fu__pick{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:14px;padding:22px 16px;border-radius:18px;background:#141414;border:2px dashed #3a3a3a;cursor:pointer;text-align:center}
.fu__pick[hidden]{display:none}
.fu__pick svg{width:52px;height:52px;color:#fff}
.fu__pick b{font-size:18px}
.fu__pick small{color:var(--ink-soft)}
.fu__pick:hover{border-color:var(--orange)}
.fu__edit{display:flex;gap:16px;margin-top:14px;align-items:flex-end}
.fu__edit[hidden]{display:none}
.fu__prev{position:relative;width:120px;max-height:220px;flex:none;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#000}
.fu__prev canvas{display:block;width:100%;height:100%;object-fit:cover;background:#000}
/* tap the preview to play it (owner 2026-11-25) */
.fu__prev{cursor:pointer}
.fu__play{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;pointer-events:none}
.fu__play svg{width:22px;height:22px;margin-left:3px}
.fu__trim .fu__strip{width:100%;height:100%}
.fu__ph{position:absolute;z-index:3;top:0;bottom:0;width:3px;margin-left:-1.5px;border-radius:2px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.35);pointer-events:none;display:none}
.fu__mutebadge{display:none;position:absolute;left:6px;bottom:6px;padding:1px 6px;border-radius:6px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;font-weight:600}
.fu__dur{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:2px 7px;border-radius:6px;background:#fff;color:#111;font-size:12px;font-weight:700;white-space:nowrap;pointer-events:none}
.fu__win{overflow:visible}
.fu__ph{width:28px!important;margin-left:-14px!important;background:none!important;box-shadow:none!important;pointer-events:auto;cursor:ew-resize;top:-6px!important;bottom:-6px!important}
.fu__ph::before{content:"";position:absolute;left:12px;top:0;bottom:0;width:4px;border-radius:2px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.4)}
.fu__len{position:absolute;right:6px;bottom:6px;padding:1px 6px;border-radius:6px;background:rgba(0,0,0,.6);font-size:12px;font-weight:600}
.fu__side{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}
.fu__cover{display:flex;flex-direction:column;gap:6px;font-weight:600}
.fu__cover input{width:100%;accent-color:var(--orange)}
.fu__err{margin-top:8px;color:#FF8A8A;font-size:15px;text-wrap:pretty}
.fu__err:empty{display:none}
.fu__who{margin:16px 0 0;padding:0;border:0}
.fu__who legend{font-weight:600}
.fu__who legend small,.fdlg .bfield small{font-weight:400;color:var(--ink-soft)}
.fu__earn{margin-top:12px;font-size:15px;color:#E6DED7}
.fu__earn b{color:var(--orange)}
.fu__earn small{color:var(--ink-soft)}
@media (max-width:520px){.fu__prev{width:96px}}
/* /admin Fancam card */
.fa__stats{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:15px;color:var(--ink-soft)}
.fa__stats b{color:var(--ink)}
.fa__row{align-items:flex-start;flex-wrap:nowrap}
.fa__row .bo__who{flex:1 1 auto;min-width:0}
.fa__thumb{flex:none;width:72px;aspect-ratio:9/16;border-radius:10px;overflow:hidden;background:#111}
.fa__thumb img{width:100%;height:100%;object-fit:cover}
.fa__rep{margin:6px 0 0;padding:10px 14px;border-radius:12px;background:#FDECEC;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.fa__row .bo__actions{flex-direction:column;align-items:stretch}
.fa__del{color:#C8102E}
.fa__csv{flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:15px}
.fa__csv label{display:flex;align-items:center;gap:6px}
.fa__watch{margin-top:8px;max-height:320px;overflow:auto;border:1px solid #dfe6f3;border-radius:12px}
.fa__watch table{width:100%;border-collapse:collapse;font-size:14px}
.fa__watch th,.fa__watch td{padding:6px 8px;text-align:left;border-bottom:1px solid #eef2f8;vertical-align:top;white-space:nowrap}
.fa__watch td:first-child{white-space:normal;min-width:130px}
.fa__watch td small{display:block;color:var(--ink-soft)}
.fa__watch th{position:sticky;top:0;background:#F6F9FF;font-weight:600}
@media (max-width:640px){.fa__row{flex-wrap:wrap}
.fa__row .bo__who{flex-basis:calc(100% - 88px)}
.fa__row .bo__actions{flex-direction:row;flex-wrap:wrap;width:100%}}
/* /fancam upload: trim bar */
.fu__edit{flex-wrap:wrap}
.fu__trimbox{flex:1 1 100%}
.fu__trimbox[hidden]{display:none}
.fu__trimlab{display:flex;justify-content:space-between;gap:8px;font-size:15px}
.fu__trimlab span{color:var(--ink-soft);font-variant-numeric:tabular-nums}
.fu__trim{position:relative;height:60px;margin-top:8px;border-radius:10px;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.fu__strip{position:absolute;inset:0;width:100%;height:100%}
.fu__shade{position:absolute;top:0;bottom:0;background:rgba(0,0,0,.66);pointer-events:none}
.fu__shade--l{left:0}
.fu__shade--r{right:0}
.fu__win{position:absolute;top:0;bottom:0;border:3px solid var(--orange);border-left-width:0;border-right-width:0;pointer-events:none}
.fu__h{position:absolute;top:-3px;bottom:-3px;width:18px;padding:0;border:0;background:var(--orange);pointer-events:auto;cursor:ew-resize}
.fu__h::after{content:"";position:absolute;left:7px;top:50%;width:4px;height:20px;margin-top:-10px;border-radius:2px;background:#111}
.fu__h--l{left:-2px;border-radius:8px 0 0 8px}
.fu__h--r{right:-2px;border-radius:0 8px 8px 0}
.fu__h:focus-visible{outline:3px solid #fff;outline-offset:1px}
.fu__hint{margin-top:6px;font-size:14px;color:#FFC79E;text-wrap:pretty}
.fu__hint:empty{display:none}
/* /fancam sort (owner 2026-11-05): a round doodle button at the right end of the chip row; the native select lies
   invisible on top so a tap opens the phone's picker; orange once a sort other than random is picked */
.fchipbar{display:flex;align-items:center;gap:8px;max-width:var(--wrap,1180px);margin:16px auto 0;padding:0 16px 0 0}
.fchipbar[hidden]{display:none}
.fchipbar .fchips{flex:1;min-width:0;margin:0;max-width:none}
.fchipbar .fchips{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);padding-right:28px}
/* Voice results: doodle outlines (owner 2026-11-05: the boxes use the site's sketch style) */
.vres__win .sketch__fill,.vres__group .sketch__fill{fill:#0B0B0B}
.page-voice .vres__win .sketch__line,.page-voice .vres__group .sketch__line{stroke:#FFB27A;opacity:.6}
.vres__win > .sketch{filter:drop-shadow(0 0 22px rgba(255,122,47,.35))}
/* the donation total shines (owner 2026-11-05): a warm glowing box, a glowing number with a light sweeping across it */
.vres__give .sketch__fill{fill:#1A0B03}
.page-voice .vres__give .sketch__line{stroke:var(--orange);stroke-width:2.6;opacity:1}
.vres__give > .sketch{filter:drop-shadow(0 0 14px rgba(255,122,47,.75)) drop-shadow(0 0 40px rgba(255,122,47,.45));animation:vgive 2.8s ease-in-out infinite}
@keyframes vgive{50%{filter:drop-shadow(0 0 20px rgba(255,150,70,.95)) drop-shadow(0 0 60px rgba(255,122,47,.6))}}
.vres__give::before{content:"";position:absolute;z-index:-1;inset:10% 18%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,170,90,.35),rgba(255,122,47,0));pointer-events:none}
.vres__givehead{color:#FFF4EC}
.vres__sum{color:#FFF4EC}
.vres__sum b{background:linear-gradient(100deg,#FF7A2F 0%,#FF7A2F 38%,#FFE3B8 50%,#FF7A2F 62%,#FF7A2F 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 14px rgba(255,140,60,.75));animation:vsweep 3.2s ease-in-out infinite}
@keyframes vsweep{0%{background-position:100% 0}60%,100%{background-position:0 0}}
.vres__givenote{color:#E6D6CA}
@media (prefers-reduced-motion:reduce){.vres__give > .sketch,.vres__sum b{animation:none}}
/* Voice hero: three glowing boxes (ส่งกำลังใจ, Fancam, แกลเลอรี; owner 2026-11-05) on one row on wide screens */
@media (min-width:961px){.vfacts{grid-template-columns:repeat(3,minmax(0,1fr))}.vfacts__cheer b{font-size:19px}}
/* Voice photos: FINAL + Live Audition albums side by side, stacked on phones */
.vgal__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;max-width:1100px}
.vgal__cards .vgal__card{width:100%}
@media (max-width:760px){.vgal__cards{grid-template-columns:1fr;gap:28px}}
@media (min-width:961px){.vfacts__in{grid-template-rows:1fr auto;align-content:stretch}
.vfacts__in > span,.vfacts__in > svg{align-self:center}}
/* /fancam upload progress (owner 2026-11-05): one look everywhere (dark track, orange fill, light text, one overall
   percentage): the send button while the dialog is open, a full-width bar along the bottom once it is closed (the +
   buttons step aside), a strip at the top of the player while a clip is open */
.fu__send{position:relative;overflow:hidden;isolation:isolate}
.fu__fill{position:absolute;inset:0;z-index:-1;transform-origin:0 50%;transform:scaleX(0)}
.fp__up{position:absolute;z-index:6;top:calc(14px + env(safe-area-inset-top));left:70px;right:70px;margin:0 auto;max-width:360px;min-height:44px;padding:4px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:999px;font-size:14px;line-height:1.25}
.fp__up[hidden]{display:none}
@keyframes fnew{0%,30%{box-shadow:inset 0 0 0 4px var(--orange)}100%{box-shadow:inset 0 0 0 0 transparent}}
/* ===================== Site menu (nav-links.js, owner 2026-11-06, like YouTube's) =====================
   Every page's nav: ☰, the Happy IMPACT logo, then the profile (or เข้าสู่ระบบ) at the far right; the nav's own links
   are hidden on every width. ☰ opens a drawer from the left in the page's own header colours (nav-links.js copies them
   onto the panel as --sm-bg / --sm-ink), with its ☰ and logo laid exactly over the nav's. */
.nav .nav__links{display:none}
.nav{gap:6px}
.nav > .nav__user,.page-auth .nav > :last-child:not(.logo){margin-left:auto}
.nav__menu-btn{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-left:-10px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.nav__menu-btn svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.nav__menu-btn:hover{background:color-mix(in srgb,currentColor 9%,transparent)}
.nav__menu-btn:focus-visible{outline:3px solid var(--marker);outline-offset:1px}
.nav__menu-btn.is-light{color:#fff}
.nav__menu-btn + .logo{margin-left:-2px}
/* owner 2026-11-06: logo close to ☰ */
/* the bar stays at the top on scroll (nav-links.js): fixed at the same x and width, header colour across the screen */
.nav.is-stuck{position:fixed;top:env(safe-area-inset-top,0px);z-index:60;margin:0}
.nav__cap{position:fixed;z-index:29;top:0;left:0;right:0;pointer-events:none;padding-top:env(safe-area-inset-top,0px);box-sizing:content-box}
/* touches the top edge: iOS 26 Safari tints its status bar from a fixed bar there. z-index under .panel.is-navmenu (30): at 59 it covered the logo and bell while the bell list or profile menu was open */
html.is-swback .nav__cap{display:none}
.nav.is-stuck::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-100vmax;right:-100vmax;background:var(--bar-bg);box-shadow:0 8px 18px -12px rgba(0,0,0,.35)}
.nav__ph[hidden]{display:none}
.smenu{position:fixed;inset:0;z-index:1000;width:100%;height:100%;margin:0;padding:0;border:0;background:none;overflow:hidden}
.smenu:not(.is-shown){visibility:hidden;pointer-events:none}
.smenu__panel{will-change:transform}
.smenu__scrim{will-change:opacity}
.smenu::backdrop{background:none}
.smenu__scrim{position:absolute;inset:0;touch-action:none;background:rgba(13,27,62,.45);opacity:0;transition:opacity .26s ease}
.smenu.is-open .smenu__scrim{opacity:1}
.smenu__panel{position:absolute;top:0;bottom:0;left:0;width:var(--sm-w,300px);max-width:92vw;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:0 0 calc(16px + env(safe-area-inset-bottom));background:var(--sm-bg,var(--paper));color:var(--sm-ink,var(--ink));box-shadow:12px 0 40px -18px rgba(0,0,0,.5);transform:translateX(-100%);transition:transform .26s cubic-bezier(.2,.8,.2,1)}
.smenu.is-open .smenu__panel{transform:none}
.smenu__panel:focus{outline:none}
/* the head: copies of the nav's ☰ and logo, sliding in with the panel and landing exactly where the nav has them;
   a sticky band, so the list scrolls under it */
.smenu__head{position:sticky;top:0;z-index:1;touch-action:none;flex:none;height:var(--sm-head,72px);background:var(--sm-bg,var(--paper))}
.smenu__head > *{position:absolute;margin:0 !important}
.smenu__group{padding:8px 0;border-top:1px solid color-mix(in srgb,currentColor 14%,transparent)}
.smenu .smenu__group > *{margin-left:var(--sm-x,0px)}
.smenu__body > .smenu__group:first-child{border-top:0}
.smenu__group ul{margin:0;padding:0 8px;list-style:none}
.smenu__title{display:flex;align-items:center;gap:4px;margin:0;padding:8px 22px 6px;font-size:16px;font-weight:700;line-height:1.3;color:inherit;text-decoration:none}
a.smenu__title:hover{opacity:.75}
.smenu__fire{display:inline-flex;align-items:center;gap:4px;margin-left:6px;font-size:15px;font-weight:700}
.smenu__fire svg{width:16px;height:22px}
.smenu__fire:not(.is-lit){opacity:.55}
.smenu__new{margin-left:auto;padding:1px 9px 2px;border-radius:999px;background:#F26C21;color:#fff;font-size:12px;font-weight:700;line-height:1.5;box-shadow:0 0 0 1.5px #FF9A55,0 0 12px rgba(255,122,47,.8);animation:smnew 1.6s ease-in-out infinite alternate}
@keyframes smnew{to{box-shadow:0 0 0 1.5px #FFB27A,0 0 20px rgba(255,122,47,1)}}
@media (prefers-reduced-motion:reduce){.smenu__new{animation:none}}
.smenu__chev{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.smenu__item{display:flex;align-items:center;gap:18px;min-height:46px;padding:6px 14px;border-radius:12px;font-size:16px;font-weight:500;line-height:1.3;color:inherit;text-decoration:none}
.smenu__item:hover,.smenu__item:focus-visible{background:color-mix(in srgb,currentColor 9%,transparent);outline:none}
.smenu__item[aria-current="page"]{background:color-mix(in srgb,currentColor 13%,transparent);font-weight:700}
/* pen doodles, outline only (owner 2026-11-06: no colour fill) */
.smenu__ic{flex:none;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:reduce){.smenu__panel,.smenu__scrim{transition:none}}
/* profile menu (nav-user.js): a card (photo, name, Lv, ความสุข) then โปรไฟล์, แกลเลอรี, ออกจากระบบ with pen icons */
:root{--navmenu-w:min(320px,calc(100vw - 32px))}
/* the profile menu and the bell list: same place, same width */
.nav__menu{min-width:0;width:var(--navmenu-w);padding:8px}
/* items spaced like the ☰ menu's (owner 2026-11-06) */
.nav .nav__menu a,.nav .nav__menu button{display:flex;align-items:center;gap:18px;min-height:46px;padding:6px 14px;border-radius:12px;font-size:16px;font-weight:500;line-height:1.3}
.nav__menu-ic{flex:none;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nav .nav__menu .nav__menu-card{display:flex;align-items:center;gap:12px;padding:8px 14px 10px;min-height:0}
/* the card is a link to /profile too (owner 2026-11-06) */
.nav__menu-card .nav__me-face{display:grid;place-items:center;flex:none;width:44px;height:44px;box-shadow:0 0 0 2px var(--ink)}
.nav__menu-card .nav__menu-who{min-width:0;max-width:none;display:flex;flex-direction:column;padding:0;margin:0;border:0;line-height:1.3;white-space:normal;overflow:visible}
.nav__menu-name{font-size:16px;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.nav__menu-lv{font-size:13px;font-weight:600;color:var(--marker)}
.nav__menu-lv:empty{display:none}
.nav__menu-gems{display:inline-flex;align-items:center;gap:4px;margin-left:auto;font-size:15px;font-weight:600;color:var(--ink)}
.nav__menu-gems[hidden]{display:none}
.nav__menu-gems svg{width:22px;height:22px}
/* home page buttons (owner 2026-11-06): the old pill buttons, no glow, a pen doodle before each label */

/* Voice page after the FINAL (owner 2026-11-06): the Voice 2 logo centred where the key visual was, then the
   Popular Vote donation total */
.vhero__logo{display:flex;justify-content:center;margin:6px 0 0}
.vhero__logo img{width:min(560px,82%);height:auto;filter:drop-shadow(0 18px 40px rgba(242,108,33,.35))}
@media (max-width:760px){.vhero__logo img{width:min(420px,92%)}}
/* profile button = photo only (owner 2026-11-06); the name lives in its menu's card */
.nav__avatar .nav__avatar-name,.nav__avatar .nav__avatar-chev{display:none}
.nav__user{display:flex;align-items:center;gap:4px}
/* notifications bell (nav-user.js, owner 2026-11-06): before the photo, the same size and stroke as ☰ (44px, 26px icon) */
.nav__bellbox{position:relative}
.nav__bell{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer}
.nav .nav__bell svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nav__bell:hover{background:color-mix(in srgb,currentColor 9%,transparent)}
.nav__bell:focus-visible{outline:3px solid var(--marker);outline-offset:1px}
.logo--light ~ .nav__user .nav__bell{color:#fff}
.nav__bell-n{position:absolute;top:3px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#F26C21;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--paper)}
.nav__bell-n[hidden]{display:none}
.nav__notifs{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:var(--navmenu-w);max-height:min(70vh,560px);overflow-y:auto;overscroll-behavior:contain;padding:8px;background:var(--paper);color:var(--ink);border-radius:16px;box-shadow:0 18px 40px -18px rgba(13,27,62,.4),0 0 0 1px rgba(13,27,62,.06)}
.nav__notifs[hidden]{display:none}
.nav__notifs-head{padding:6px 12px 8px;font-size:16px;font-weight:700}
.nav__notifs-list{margin:0;padding:0;list-style:none}
.nav__notif > a,.nav__notif > div{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:12px;color:inherit;text-decoration:none}
.nav__notif > a:hover{background:var(--sky)}
.nav__notif.is-new > a,.nav__notif.is-new > div{background:color-mix(in srgb,#F26C21 9%,transparent)}
.nav__notif-pic{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--sky);color:var(--ink);font-weight:700}
.nav__notif-pic--ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nav__notif-txt{min-width:0;font-size:15px;line-height:1.45;text-wrap:pretty}
.nav__notif-body{display:block;color:var(--ink-soft)}
.nav__notif-txt small{display:block;margin-top:2px;font-size:13px;color:var(--ink-soft)}
.nav__notifs-empty{padding:18px 12px;color:var(--ink-soft);text-align:center;font-size:15px}
/* back office: announcements card */
.bo__notify{display:grid;gap:6px;margin-top:10px}
.bo__notify label{font-weight:600;font-size:15px;margin-top:6px}
.bo__notify label small{font-weight:400;color:var(--ink-soft)}
.bo__notify input,.bo__notify textarea,.bo__notify select{width:100%;padding:10px 14px;border:2px solid var(--sky-deep);border-radius:12px;background:var(--paper);font:inherit;font-size:16px;color:var(--ink)}
.bo__notify .btn{justify-self:start;margin-top:10px}
.bo__notifs{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.bo__notifs li{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:12px;background:var(--sky)}
.bo__notifs li > div{flex:1;min-width:0;display:flex;flex-direction:column;font-size:15px}
.bo__notifs li small{color:var(--ink-soft);font-size:13px}
.bo__notifs .btn{padding:6px 14px;font-size:14px}
/* /login: the header inside the sky panel like every other page (owner 2026-11-06) */
.auth--nav{padding-top:0}
.auth--nav > .nav{align-self:stretch;width:100%;max-width:var(--wrap);margin-inline:auto;margin-bottom:8px}
@media (max-width:560px){.auth--nav{padding-top:0}}
/* pop-up announcement in the middle of the screen (nav-user.js, owner 2026-11-06): shows once per member */
.npop{max-width:min(420px,calc(100vw - 32px))}
.npop__card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 24px 24px}
.npop__ic{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--sky);margin-bottom:4px}
.npop__ic svg{width:40px;height:40px;overflow:visible;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.npop__ic svg .npop__ic-fill{stroke:var(--orange);opacity:.55}
.npop__hand{font-size:20px;color:var(--marker);transform:rotate(-2deg)}
.npop__title{font-size:22px;font-weight:700;line-height:1.35;color:var(--ink);text-wrap:balance}
.npop__body{font-size:16px;line-height:1.55;color:var(--ink-soft);text-wrap:pretty;white-space:pre-line}
.npop__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;width:100%}
.npop__btns .btn{flex:1;min-width:120px;justify-content:center}
.bo__notify .bo__check{display:flex;align-items:center;gap:8px;font-weight:500}
.bo__notify .bo__check input{width:20px;height:20px;padding:0}
.bo__notify input[hidden]{display:none}
/* the pop-up stays in the middle on phones too (dialogs here are bottom sheets on phones) */
.bdlg.npop{width:min(420px,calc(100vw - 32px));margin:auto}
.bdlg.npop .npop__card{border-radius:24px;padding:28px 22px 22px}
/* desktop header to the panel's edges (owner 2026-11-06, like YouTube): ☰ at the far left, bell + profile at the far right */
@media (min-width:641px){
  .nav.wrap,.auth--nav > .nav{max-width:none;padding-inline:22px}
}
.fp__alb{position:absolute;inset:0;overflow:hidden;background:#000}
.fp__alb[hidden]{display:none}
.fp__albtrack{display:flex;height:100%;will-change:transform}
.fp__pic{flex:0 0 100%;height:100%;display:grid;place-items:center}
.fp__pic{background:#000 center/contain no-repeat}
/* 2026-11-25: the photo is absolutely placed in its slide. As a grid item with height:100% iPhone Safari sized the
   row by the photo's own height, so a tall photo filled the width and its bottom ran off the screen */
.fp__pic{position:relative}
.fp__pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;user-select:none;transition:opacity .18s}
.fp__dots{position:absolute;z-index:3;left:0;right:0;top:auto;display:flex;justify-content:center;gap:6px;margin:0;pointer-events:none;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.fp__dots[hidden],.fp__albn[hidden]{display:none}
.fp__dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5);transition:background .2s,transform .2s}
/* N / M pill at the top right, like TikTok's photo mode (owner 2026-11-25) */
.fp__albn{position:absolute;z-index:3;top:calc(16px + env(safe-area-inset-top));right:14px;margin:0;padding:5px 12px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:15px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;pointer-events:none}
.fp__albn:empty{display:none}
/* name line: the name (cut with …) and the รูปภาพ chip on one line (owner 2026-11-25) */
.fp__by b{display:flex;align-items:center;gap:8px;min-width:0}
.fp__by > span{min-width:0}
.fp__nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp__with{display:block;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* tagged friends under the name (owner 2026-11-25) */
.fp__kind{flex:none;display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 6px;border-radius:7px;background:rgba(255,255,255,.2);font-size:12px;font-weight:600;line-height:1.3}
/* tagged friends: two faces like a YouTube collab, the line opens the list */
.fp__by--tags,.fp__by--who{pointer-events:auto;cursor:pointer}
/* .fp__info lets taps through to the clip; the author line takes them (friend profile) */
.fp__faces{flex:none;display:flex}
.fp__faces > *{width:36px;height:36px}
.fp__faces > * + *{margin-left:-14px}
.fu__tagrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.fu__tag{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 10px;border-radius:999px;background:var(--sky,#E9F2FF);font-size:14px}
.fu__tag button{width:22px;height:22px;border:0;border-radius:50%;background:none;font-size:16px;line-height:1;color:var(--ink-soft);cursor:pointer}
.fp__kind svg{width:13px;height:13px}
.fp__albgo{position:absolute;z-index:4;top:50%;width:40px;height:40px;margin-top:-20px;display:none;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.85);color:#0D1B3E;cursor:pointer}
.fp__albgo svg{width:22px;height:22px}
.fp__albgo--l{left:12px}
.fp__albgo--r{right:12px}
@media (hover:hover){.fp__alb:not(.is-first) .fp__albgo--l,.fp__alb:not(.is-last) .fp__albgo--r{display:grid}}
/* upload: the picked photos in a row, the first is the cover */
.fu__alb{margin-top:14px}
.fu__alb[hidden]{display:none}
.fu__pics{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0;padding:0;list-style:none}
.fu__pics li{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:var(--sky)}
.fu__pics img{width:100%;height:100%;object-fit:cover}
.fu__picx{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:rgba(13,27,62,.75);color:#fff;cursor:pointer}
.fu__picx svg{width:14px;height:14px}
.fu__picc{position:absolute;left:4px;bottom:4px;padding:1px 7px;border-radius:999px;background:var(--orange);color:#fff;font-size:11px;font-weight:700}
.fu__albrow{display:flex;align-items:center;gap:14px;margin:10px 0 0;font-size:14px;color:var(--ink-soft)}
.fu__albrow #fu-picn{margin-left:auto}
.fu__pichint{margin:8px 0 0;font-size:13px;color:var(--ink-soft)}
.fu__pics li{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.fu__pics img{pointer-events:none;-webkit-user-drag:none}
#fu-evbox[hidden]{display:none}
.fu__prep{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:24px;border-radius:inherit;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.fu__prep[hidden]{display:none}
.fu__prepbox{display:grid;gap:10px;width:min(300px,100%);text-align:center;font-size:16px}
.fu__prepbox small{font-size:13px;color:var(--ink-soft)}
.fu__prepbar{height:12px;border-radius:999px}
.fu__more{cursor:pointer}
.fu__more[hidden]{display:none}
/* Voice page: Fancam prize line + FINAL playlist link (owner 2026-11-06) */

.vres__who{text-decoration:none;color:inherit}
.vres__more{display:flex;justify-content:center;margin:6px 0 22px}
.vres__more .vfacts__go{width:auto;white-space:nowrap;padding-inline:26px}
/* App-style navigation (owner 2026-11-08, trial on /home, app-nav.js; pages opt in with html.appnav):
   back | logo in the middle | bell, and a floating bottom tab bar like Facebook's for members */
.appnav .nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.appnav .nav > .nav__menu-btn,.appnav .nav > .nav__links{display:none}
.appnav .nav > .nav__back{grid-column:1;justify-self:start}
.appnav .nav > .logo{grid-column:2;justify-self:center;margin:0}
.appnav .nav > .nav__user{grid-column:3;justify-self:end;margin:0 -8px 0 0}
.appnav.has-atabs .nav .nav__avatar,.appnav.has-atabs .nav .nav__menu{display:none}
/* the photo button lives in the tab bar: hidden from the first paint (it flashed at the top on a refresh, owner 2026-11-12), except on pages without the bar */
.appnav:not(.no-atabs) .nav .nav__avatar,.appnav:not(.no-atabs) .nav .nav__menu{display:none}
.nav__back{display:grid;place-items:center;width:44px;height:44px;margin-left:-10px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.nav__back svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nav__back:hover{background:color-mix(in srgb,currentColor 9%,transparent)}
.nav__back:focus-visible{outline:3px solid var(--marker);outline-offset:1px}
.nav__back.is-none{visibility:hidden}
.logo--light ~ .nav__back,.nav:has(.logo--light) .nav__back{color:#fff}
/* owner 2026-11-08: Facebook's size, as close to Safari's address bar as it goes */
.aptr{position:absolute;top:-52px;left:50%;width:36px;height:36px;margin-left:-18px;opacity:0;pointer-events:none;z-index:60}
.aptr svg{display:block;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);transition:transform .15s}
.aptr circle{fill:none;stroke:var(--orange);stroke-width:3.6;stroke-linecap:round}
.aptr--ready svg{transform:rotate(-90deg) scale(1.15)}
.atabs{position:fixed;z-index:70;left:12px;right:12px;bottom:calc(4px + env(safe-area-inset-bottom));max-width:420px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;height:52px;padding:0 4px;background:#fff;border:2px solid var(--ink);border-radius:999px;box-shadow:3px 3px 0 var(--ink)}
.atab{position:relative;display:grid;place-items:center;height:40px;margin:0 2px;border-radius:999px;color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent;transition:background .15s ease}
.atab svg{width:30px;height:30px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.atab .atab__o{stroke:none}
.atab[aria-current] {background:var(--sky)}
.atab[aria-current] .atab__o{fill:var(--orange)}
.atab[aria-current] .atab__f{fill:#FFD84D}
.atab__face{width:28px;height:28px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--ink)}
.atab[aria-current] .atab__face{box-shadow:0 0 0 2px var(--ink),3px 3px 0 1px var(--orange)}
.atab__dot{position:absolute;top:5px;left:calc(50% + 8px);width:10px;height:10px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 2px #fff}
.atab__dot[hidden]{display:none}
@media (hover:hover){.atab:not([aria-current]):hover{background:color-mix(in srgb,var(--sky) 60%,transparent)}}
.atab:focus-visible{outline:3px solid var(--marker);outline-offset:-3px}
.has-atabs body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
/* the profile tab's menu sheet (app-nav.js) */
.asheet{position:fixed;inset:0;z-index:1000}
.asheet[hidden]{display:none}
.asheet__scrim{position:absolute;inset:0;background:rgba(13,27,62,.45);opacity:0;transition:opacity .28s ease;touch-action:none}
.asheet.is-open .asheet__scrim{opacity:1}
.asheet__panel{position:absolute;left:0;right:0;bottom:0;max-width:520px;margin:0 auto;max-height:86svh;display:flex;flex-direction:column;background:var(--sky);color:var(--ink);border:2px solid var(--ink);border-bottom:0;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom);transform:translateY(100%);transition:transform .28s cubic-bezier(.2,.8,.2,1);outline:none}
.asheet.is-open .asheet__panel{transform:none}
.asheet__head{flex:none;padding:8px 14px 6px;touch-action:none}
.asheet__grab{display:block;width:42px;height:5px;margin:0 auto 10px;border-radius:3px;background:color-mix(in srgb,var(--ink) 30%,transparent)}
.asheet__card{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;background:#fff;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);color:inherit;text-decoration:none}
.asheet__face{flex:none;width:52px;height:52px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--ink)}
.asheet__face--none{display:grid;place-items:center;background:var(--orange);color:#fff;font-weight:700;font-size:22px}
.asheet__who{display:flex;flex-direction:column;min-width:0;flex:1}
.asheet__who b{font-size:18px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.asheet__who small{font-size:14px;opacity:.7}
.asheet__gems{display:inline-flex;align-items:center;gap:6px;font-size:17px}
.asheet__gems svg{width:24px;height:24px}
.asheet__body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 0}
.asheet button.smenu__item{width:100%;border:0;background:none;color:inherit;cursor:pointer;font-family:inherit;text-align:left;-webkit-appearance:none;appearance:none}
.asheet button.smenu__item:hover,.asheet button.smenu__item:focus-visible{background:color-mix(in srgb,currentColor 9%,transparent)}
.atab--me{border:0;background:none;padding:0;cursor:pointer;font:inherit}
.atab--me[aria-expanded="true"]{background:var(--sky)}
@media (min-width:600px){.asheet__panel{bottom:calc(66px + env(safe-area-inset-bottom));border-bottom:2px solid var(--ink);border-radius:24px;box-shadow:4px 4px 0 var(--ink);transform:translateY(24px);opacity:0;transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
.asheet.is-open .asheet__panel{opacity:1}}
/* the tab bar and the sheet keep the site's light colours on dark pages (Voice, Fancam redefine --ink/--sky) */
.atabs,.asheet{--ink:#0D1B3E;--sky:#E9F2FF;--orange:#F26C21;color:#0D1B3E}
.npop__card:focus{outline:none}
.npop__btns .btn{white-space:nowrap}
/* owner 2026-11-08: the header sits higher (less room above back / logo / bell and above its panel) */
.appnav .nav{padding-top:8px;padding-bottom:6px}
.appnav .panel:has(> .nav){margin-top:6px}
@media (max-width:640px){.appnav .panel:has(> .nav){margin-top:4px}}
/* the tab bar slides away while scrolling down and comes back on the way up (owner 2026-11-08) */
.atabs{transition:transform .25s cubic-bezier(.2,.8,.2,1),scale .18s cubic-bezier(.25,1,.5,1)}
.atabs.is-press{scale:1.025}
/* swells under the finger like Facebook's bar (owner 2026-11-18) */
.atabs-away .atabs{transform:translateY(calc(100% + 12px + env(safe-area-inset-bottom)))}
/* ควิซ tab popover (owner 2026-11-16): จริงหรือมั่ว / ดูดวงประจำสัปดาห์ */
.apop{position:fixed;z-index:72;width:max-content;min-width:236px;padding:6px;background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:18px;box-shadow:3px 3px 0 var(--ink);display:grid;gap:2px;transform-origin:var(--ax) 100%;animation:apopin .18s cubic-bezier(.2,.8,.2,1)}
.apop[hidden]{display:none}
.apop:after{content:"";position:absolute;left:calc(var(--ax) - 8px);bottom:-9px;width:14px;height:14px;background:#fff;border:solid var(--ink);border-width:0 2px 2px 0;transform:rotate(45deg);border-bottom-right-radius:3px}
@keyframes apopin{from{opacity:0;transform:translateY(6px) scale(.94)}}
.apop__row{position:relative;display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:12px;color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent}
.apop__row[aria-current]{background:var(--sky)}
@media (hover:hover){.apop__row:not([aria-current]):hover{background:color-mix(in srgb,var(--sky) 60%,transparent)}}
.apop__ic{flex:none;width:40px;height:40px;display:grid;place-items:center}
.apop__ic svg{width:34px;height:34px;overflow:visible}
.apop__ic svg:not(.apop__ball){fill:none;stroke:var(--ink);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.apop__ic .atab__o{stroke:none;fill:var(--orange)}
.apop__ic .atab__f{fill:#FFD84D}
.apop__t{display:grid;line-height:1.3}
.apop__t b{font-size:15px}
.apop__t small{font-size:12.5px;color:var(--ink-soft)}
.apop__dot{position:absolute;right:12px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:var(--orange)}
.atab--quiz,.atab--gallery{border:0;background:none;padding:0;cursor:pointer;font:inherit}
.atab--quiz.is-open,.atab--gallery.is-open{background:var(--sky)}
@media (prefers-reduced-motion:reduce){.apop{animation:none}}
/* ติดต่อทีมงาน form (app-nav.js contact(), owner 2026-11-08) */
.bdlg.npop--form{margin:max(16px,6svh) auto auto}
.ctalk{gap:8px}
.ctalk textarea{width:100%;font:inherit;font-size:16px;line-height:1.5;border:2px solid var(--ink);border-radius:14px;padding:10px 12px;resize:vertical;min-height:120px;background:#fff;color:var(--ink)}
.ctalk textarea:focus{outline:none;border-color:var(--blue)}
.ctalk__msg{margin:0;min-height:1.2em;font-size:14px;color:#9A3412}
/* 2026-11-11 review fixes (375px): bigger tap areas without changing the look, notices clear of the top bar */
.pchips__link,.cheart,.bview{position:relative}
.pchips__link::after,.cheart::after,.bview::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,40px);height:max(100%,40px);transform:translate(-50%,-50%)}
.nav__cta{min-height:40px}
.vpeople__more{display:none}
@media (max-width:640px){.vpeople__grid.is-short > li:nth-child(n+9){display:none}
.vpeople__grid.is-short + .vpeople__more{display:flex;margin:22px auto 0}}
[data-until][hidden]{display:none !important}
#fu-ev{width:100%;min-height:44px;padding:8px 12px;border:2px solid var(--ink);border-radius:12px;background:#fff;font:inherit}
.se__form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-top:12px}
.se__form label{display:grid;gap:4px;font-size:14px}
.se__form input:not([type=checkbox]){min-height:40px;padding:6px 10px;border:2px solid var(--ink);border-radius:10px;font:inherit}
.se__form .se__tick{display:flex;align-items:center;gap:8px}
/* Voice page (owner 2026-11-11): the three boxes no longer glow; the WINNER box does; the donation total is a header
   title under the logo, not a framed box */
.vres__win > .sketch{filter:drop-shadow(0 0 14px rgba(255,122,47,.75)) drop-shadow(0 0 40px rgba(255,122,47,.45));animation:vgive 2.8s ease-in-out infinite}
.vres__win::before{content:"";position:absolute;z-index:-1;inset:8% 10%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,170,90,.3),rgba(255,122,47,0));pointer-events:none}
@media (prefers-reduced-motion:reduce){.vres__win > .sketch{animation:none}}
.vhero__give{display:flex;flex-direction:column;align-items:center;text-align:center;margin:6px auto 0;padding:0 8px}
.vhero__give .vres__givehead{font-size:clamp(20px,3.4vw,28px)}
.vhero__give .vres__sum{margin:0 0 4px;font-size:clamp(22px,3.4vw,30px)}
.vhero__give .vres__sum b{font-size:clamp(56px,11vw,96px)}
.vhero__give .vres__givenote{font-size:15px}
/* the WINNER box glows as strongly as the lucky-winners box (owner 2026-11-12): same orange line, same warm fill */
.vres__win .sketch__fill{fill:#1A0B03}
.page-voice .vres__win .sketch__line{stroke:var(--orange);stroke-width:2.6;opacity:1}
.vres__win::before{inset:6% 8%;background:radial-gradient(closest-side,rgba(255,170,90,.4),rgba(255,122,47,0))}
.fp__sound{position:absolute;z-index:3;left:50%;top:max(14px,calc(env(safe-area-inset-top) + 10px));transform:translateX(-50%);margin:0;padding:7px 14px;border-radius:99px;background:rgba(0,0,0,.62);color:#fff;font-size:14px;font-weight:600;white-space:nowrap;pointer-events:none}
.fp__sound[hidden]{display:none}
/* swipe right = back, the iOS way (app-nav.js, owner 2026-11-12): the page moves piece by piece over .swsheet (its
   own background + edge shadow); .swprev is a sketch of the previous page behind it */
.swprev{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.swprev>i{position:absolute;display:block;box-sizing:border-box}
.swprev__t{border-radius:99px;opacity:.16}
.swprev__m{background:rgba(127,140,160,.22)}
.swprev__logo{position:absolute;white-space:nowrap}
.swprev__page{position:absolute;left:0;right:0}
.swprev__page>body{margin:0;min-height:0}
.swprev>i.swprev__row{position:relative;height:84px;margin:84px 16px -70px;border-radius:16px;background:rgba(13,27,62,.07)}
.swprev>i.swprev__row.is-w{height:150px}
.swprev__dim{position:fixed;inset:0;background:#000;opacity:.35}
.swsheet{position:fixed;inset:0;z-index:-1;pointer-events:none;box-shadow:-10px 0 24px rgba(0,0,0,.18)}
html.is-swback,html.is-swback body{overflow-x:clip}
/* gallery and quiz headers in Space's size (owner 2026-11-12): 20px hand note, 28px title (21px on phones), tight top */
:is(.ghead,.qhead){padding-top:6px}
:is(.ghead__hello,.qhead__hello){font-size:20px;line-height:1.1;margin-bottom:2px}
:is(.ghead,.qhead) .split-title{font-size:28px;line-height:1.25;gap:0}
:is(.ghead,.qhead) .split-title__light{font-weight:700}
@media (max-width:640px){:is(.ghead,.qhead) .split-title,.is-qplay .qhead .split-title__bold{font-size:21px}}
/* cherry on /profile: the logo's line and the photo ring yellow too (owner 2026-11-12) */
.phero[data-theme="cherry"] .logo__smile path,.phero[data-theme="cherry"] .pface__ring path{stroke:#FFD84D}
/* small headers (Space, gallery, quiz; owner 2026-11-12): one scribble, not a pair */
:is(.shero,.ghero) :is(.phero__doodle--bottom,.phero__doodle--bl){display:none}
/* quiz's panel is tall: both scribbles (owner 2026-11-13) */
/* title underlines: gallery one straight pen line, Space a tilted zigzag, quiz its wavy (owner 2026-11-12) */
.doodle--line{left:-2%;width:104%;bottom:-.12em;height:.3em}
.doodle--line path{stroke-width:4}
.doodle--zig{left:0;width:100%;bottom:-.3em;height:.36em;transform:rotate(-2.5deg)}
.doodle--zig path{stroke-width:3}
:is(.shero,.ghero,.qhero).is-dark :is(.fhead,.ghead,.qhead) .doodle path,:is(.shero,.ghero,.qhero)[data-theme="cherry"] :is(.fhead,.ghead,.qhead) .doodle path{stroke:#FFD84D}
:is(.shero,.ghero,.qhero)[data-theme="orange"] :is(.fhead,.ghead,.qhead) .doodle path{stroke:var(--ink)}
.ghead .split-title__bold .hl{margin-right:.25em}
/* the site footer only on wide screens (owner 2026-11-12) */
@media (max-width:899px){.footer[data-site-footer]{display:none}}
.swprev>i.is-soft{background:rgba(13,27,62,.07)}
.swprev>i.swprev__t.is-soft{background:rgba(13,27,62,.12);opacity:1}
/* while a swipe moves the page, the stuck bar's band stays its own width (it reached across the screen and hid the page behind) */
html.is-swback .nav.is-stuck::before{left:-24px;right:-24px}
/* Space, gallery and quiz titles at the size of quiz's ความสุข number (26px), Moraeul upright (owner 2026-11-13) */
:is(.ghead,.qhead) .split-title,.is-qplay .qhead .split-title__bold,.page-space .fhead__lede{font-size:26px;line-height:1.25}
@media (max-width:640px){:is(.ghead,.qhead) .split-title,.is-qplay .qhead .split-title__bold,.page-space .fhead__lede{font-size:26px}}
:is(.ghead__hello,.qhead__hello),.fhead__title .hand{transform:none}
/* gallery title: แกลเลอรี in the bold colour, ชาวอิมแพ็ค in the other (owner 2026-11-13) */
.ghead__rest{color:var(--ink)}
/* gallery ชาวอิมแพ็ค orange on the light looks (owner 2026-11-13) */
.ghead__rest{color:var(--orange)}
#board,#fboard{padding-top:44px;padding-bottom:16px}
#board .board__head,#fboard .board__head{margin-bottom:18px}
/* digits sit high in their line box: lift the face to their middle (owner 2026-11-13) */
.btn--danger{color:#B91C1C;box-shadow:inset 0 0 0 2px #B91C1C}
/* ---------- /admin-impact: cross-division dashboard (owner 2026-11-14) ---------- */
.imp .bo__stats--4 small{font-size:12.5px;color:var(--ink-soft);margin-top:4px;line-height:1.35}
.imp__range{flex-wrap:wrap;align-items:center;margin:4px 0 2px}
.imp__range label{font-size:15px;color:var(--ink-soft)}
.imp__range input{flex:0 1 170px}
.imp__scroll{overflow-x:auto;margin:6px -4px 0;padding:0 4px}
.imp__table{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
.imp__table th,.imp__table td{padding:9px 10px;border-bottom:1px solid #EDF2FB;text-align:left;vertical-align:middle}
.imp__table thead th{font-size:13px;font-weight:600;color:var(--ink-soft);white-space:nowrap;border-bottom:2px solid var(--sky-deep)}
.imp__table tbody th{font-weight:500;min-width:150px}
.imp__table tbody th small{display:block;font-size:12.5px;font-weight:400;color:var(--ink-soft)}
.imp__table .imp__num{text-align:right;white-space:nowrap}
.imp__barcell{width:26%;min-width:90px}
.imp__bar{display:block;height:10px;border-radius:6px;background:var(--sky-deep);overflow:hidden}
.imp__bar i{display:block;height:100%;border-radius:6px;background:var(--orange)}
.imp__table--sort thead button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.imp__table--sort thead button:hover{color:var(--blue)}
.imp__table--sort th[aria-sort] button{color:var(--blue)}
.imp__table--sort th[aria-sort="descending"] button::after{content:" ▾"}
.imp__table--sort th[aria-sort="ascending"] button::after{content:" ▴"}
.imp__notes{margin:8px 0 0;padding-left:20px;font-size:15px;line-height:1.6}
.imp__notes li+li{margin-top:6px}
@media (max-width:560px){.imp__range input{flex:1 1 130px}
.imp__table{font-size:14px}
.imp__table th,.imp__table td{padding:8px 6px}
.imp__barcell{min-width:64px}}
/* /admin: back office rights beside the role (profiles.perms, owner 2026-11-16) */

.bo__perm{display:inline-flex;align-items:center;gap:6px;font-size:14.5px;padding:6px 10px;border:2px solid var(--sky-deep);border-radius:12px;cursor:pointer;white-space:nowrap}
.bo__perm input{width:16px;height:16px;accent-color:var(--blue);margin:0}
.bo__perm:has(input:checked){border-color:var(--blue);background:var(--sky)}
/* ทั้งอิมแพ็ค / ฝ่ายคุณ switch at the right of each /quiz board title (owner 2026-11-16) */
.board__head:has(.bswitch){flex-wrap:wrap;align-items:flex-start}
.board__morerow{list-style:none;display:flex;justify-content:center;padding-top:6px}
.board__more{min-height:42px;padding:0 22px;border:2px solid var(--ink);border-radius:99px;background:var(--paper);font:inherit;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.board__more:disabled{opacity:.6}
/* profile sheet: Back office drops down its pages (owner 2026-11-16) */
.asheet__bo .asheet__chev{width:20px;height:20px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.asheet__bo[aria-expanded=true] .asheet__chev{transform:rotate(180deg)}
.asheet__sub{margin:2px 0 4px;padding:0 0 0 22px;list-style:none;border-left:2px solid color-mix(in srgb,currentColor 14%,transparent);margin-left:26px}
.asheet__sub .smenu__item{min-height:42px;font-size:15px}
.asheet__sub .smenu__ic{width:22px;height:22px}
@keyframes newtag{to{transform:rotate(6deg) translateY(-3px);box-shadow:0 0 0 1.5px #FF9A55,0 0 18px rgba(255,122,47,1)}}
@keyframes qpeekup{from{opacity:0;transform:translateY(18px)}}
@keyframes qnudge{50%{transform:translateY(5px)}}
/* ---------- /admin-activity: member activity log (owner 2026-11-17); shares .imp__range / .imp__notes ---------- */
.act__who{position:relative;margin-bottom:12px}
.act__find{display:flex;flex-direction:column;gap:6px;position:relative}
.act__find[hidden],.act__picked[hidden]{display:none}
.act__lbl{font-size:15px;color:var(--ink-soft)}
.act__find input{font:inherit;font-size:17px;border:2px solid var(--sky-deep);border-radius:14px;padding:10px 14px;min-width:0}
.act__find input:focus{outline:none;border-color:var(--blue)}
.act__results{position:absolute;z-index:5;top:100%;left:0;right:0;margin:6px 0 0;padding:6px;list-style:none;background:var(--paper);border-radius:16px;box-shadow:0 14px 34px -10px rgba(13,27,62,.35);max-height:340px;overflow-y:auto}
.act__results button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:12px;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.act__results button:hover,.act__results button:focus-visible{background:var(--sky);outline:none}
.act__results b,.act__picked b,.act__who-btn b{display:block;font-weight:600;line-height:1.3}
.act__results small,.act__picked small,.act__who-btn small{display:block;font-size:12.5px;color:var(--ink-soft);line-height:1.3}
.act__picked{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.act__picked>span:not(.act__av){flex:1 1 160px;min-width:0}
.act .auth__msg:empty{display:none}
.act__av{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--sky);color:var(--blue);font-weight:600;font-size:15px}
.act__av img{display:block;width:100%!important;height:100%!important;max-width:none;aspect-ratio:1;object-fit:cover;border-radius:50%}
.act__av--big{width:64px;height:64px;font-size:24px}
.act__range{margin:0 0 12px}
.act__chips,.act__counts{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.act__chip{--c:var(--blue);font:inherit;font-size:14px;padding:6px 12px;border-radius:999px;border:1.5px solid var(--c);background:var(--paper);color:var(--c);cursor:pointer}
.act__chip[aria-pressed="true"]{background:var(--c);color:#fff}
.act__chip--all{--c:var(--ink);border-style:dashed}
.act__chip--login{--c:#1A56DB}
.act__chip--page{--c:#5B6B8C}
.act__chip--quiz{--c:#C2410C}
.act__chip--space{--c:#7549B8}
.act__chip--voice{--c:#B4235A}
.act__chip--horo{--c:#3B3486}
.act__chip--loy{--c:#B4570B}
.act__chip--mission{--c:#A16207}
.act__chip--booth{--c:#0E7C86}
.act__chip--gallery{--c:#2F7D32}
.act__chip--share{--c:#8A5A00}
.act__chip--buzz{--c:#9C3D10}
.act__chip--sd{--c:#0B6E4F}
.act__chip--points{--c:#B7791F}
.act__chip--gotit{--c:#E11D48}
.act__chip--birthday{--c:#B5179E}
.act__chip--other{--c:#0D1B3E}
.act__counts .act__chip{cursor:default;background:var(--paper)}
.act__counts b{font-variant-numeric:tabular-nums}
.act__phead{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.act__phead .auth__title{margin:0}
.act__meta{margin:2px 0 0;color:var(--ink-soft);font-size:15px}
.act__facts{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.act__facts li{background:var(--sky);border-radius:14px;padding:10px 14px;display:flex;flex-direction:column}
.act__facts span{font-size:13px;color:var(--ink-soft)}
.act__facts b{font-size:17px;font-variant-numeric:tabular-nums}
.act__facts small{font-size:12.5px;color:var(--ink-soft)}
.act__feed{list-style:none;margin:0;padding:0}
.act__day{font-weight:600;color:var(--blue);font-size:15px;padding:14px 0 6px;border-bottom:2px solid var(--sky-deep)}
.act__day:first-child{padding-top:0}
.act__row{display:grid;grid-template-columns:52px minmax(170px,240px) 1fr;gap:6px 12px;align-items:center;padding:9px 0;border-bottom:1px solid #EDF2FB;font-size:15px}
.act__row time{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:14px}
.act__who-btn{display:flex;align-items:center;gap:8px;min-width:0;padding:2px 6px 2px 2px;border:0;border-radius:12px;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.act__who-btn:hover,.act__who-btn:focus-visible{background:var(--sky);outline:none}
.act__who-btn span{min-width:0}
.act__who-btn b,.act__who-btn small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.act__what{min-width:0;overflow-wrap:anywhere;line-height:1.45}
.act__what a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--sky-deep);text-underline-offset:3px}
.act__what a:hover{color:var(--blue)}
.act__tag{display:inline-block;margin-right:8px;padding:1px 9px;border-radius:999px;font-size:12.5px;color:#fff;background:var(--c,var(--ink));vertical-align:1px;white-space:nowrap}
.act__none{color:var(--ink-soft);padding:10px 0;list-style:none}
.act__more{display:block;margin:14px auto 0}
.act__skel{display:flex;flex-direction:column;gap:12px;padding:8px 0}
.act__skel .skel{height:22px;border-radius:8px}
@media (max-width:640px){.act__row{grid-template-columns:44px 1fr;font-size:14.5px}
.act__row:not(.is-one) .act__what{grid-column:2}
.act__row time{grid-row:span 2;align-self:start;padding-top:6px}}
@keyframes fcmpop{40%{transform:scale(1.35)}}
.fs__add{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:2px solid #333;color:#ddd;cursor:pointer}
.fs__add svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fs__add:active{transform:scale(.94)}
.fs__pic{position:relative;align-self:flex-start;margin:8px 12px 0;width:72px;height:72px;border-radius:12px;overflow:hidden;border:2px solid #333}
.fs__pic img{width:100%;height:100%;object-fit:cover}
.fs__pic button{position:absolute;right:3px;top:3px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(0,0,0,.7);color:#fff;display:grid;place-items:center;padding:0}
.fs__pic button svg{width:14px;height:14px}
@keyframes qbragin{from{transform:scale(.4) rotate(-12deg);opacity:0}}
@keyframes qlikepop{0%{transform:scale(1)}40%{transform:scale(1.45)}100%{transform:scale(1)}}
/* /admin-quiz: a reply box under each waiting ขอค้าน, sent with the decision (owner 2026-11-18) */
.ap__reply{grid-column:1/-1;display:grid;gap:6px;width:100%;margin-top:4px;font-size:14px;font-weight:600}
.ap__reply small{display:block;font-weight:500;color:var(--ink-soft)}
.ap__reply textarea{width:100%;padding:8px 12px;border:1.5px solid var(--sky-deep);border-radius:12px;font:inherit;font-size:15px;font-weight:400;resize:vertical;background:#fff}
/* Happy Birthday: a party hat behind the member's own photo (bday.js hat(); owner 2026-11-20, replaced the cake badge).
   Placed in % of the (square) photo box: its base centre sits halfway out from the middle at 1 o'clock, tilted 30deg,
   so both base corners stay under the photo (owner: no corner may show) */
.has-bdhat{position:relative}
.bdhat{position:absolute;z-index:0;left:37.5%;top:-45.4%;width:62%;height:auto;max-width:none;overflow:visible;pointer-events:none;transform:rotate(30deg);transform-origin:50% 90%;animation:bdhatBob 2.6s ease-in-out infinite}
.h2avw.has-bdhat{align-self:flex-start}
.h2avw.has-bdhat .h2av{position:relative;z-index:1}
.bdhatw{position:relative;display:inline-flex;flex:none;line-height:0}
.bdhatw>:not(.bdhat){position:relative;z-index:1}
@keyframes bdhatBob{50%{transform:rotate(25deg)}}
@media (prefers-reduced-motion:reduce){.bdhat{animation:none}}
/* owner 2026-11-26: the reason a moderator gave for hiding your Space post */
.nav__notif-why{color:var(--orange);background:linear-gradient(transparent 55%,rgba(255,214,0,.55) 55%);padding:0 2px;border-radius:2px}
#lg-chips{margin:12px 0 6px}
.phero.panel:has(~ .pmain > .mtabs:not([hidden])){margin-bottom:4px}
#m-box{margin-top:2px}
:is(#board,#fboard) :is(.board__face,.board__name,.board__who b),.fp__by > img:first-child,.fp__by .fp__faces > :first-child,.fp__nm,#fs-list [data-member] .fcm__face,#fs-list [data-member] .fcm__by b{cursor:pointer}
@keyframes bdgSwing{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}
@keyframes bdgDot{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-2.4px)}}
@keyframes bdgTilt{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@keyframes bdgSing{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg) scale(1.05)}}
@keyframes bdgShout{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(3deg) scale(1.06)}}
@keyframes bdgWaves{0%,100%{opacity:.3}50%{opacity:1}}
@keyframes bdgFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-2px) rotate(3deg)}}
@keyframes bdgFlick{from{transform:scale(.85,1.1)}to{transform:scale(1.1,.9)}}
@keyframes bdgWater{0%,100%{transform:translateX(0)}50%{transform:translateX(-3px)}}
@keyframes bdgFlag{0%,100%{transform:skewY(0)}50%{transform:skewY(-8deg) scaleX(.92)}}
@keyframes bdgFire{from{transform:scale(.94,1.04) rotate(-2deg)}to{transform:scale(1.05,.96) rotate(2deg)}}
@keyframes bdgBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes bdgQ{0%,100%{opacity:1}50%{opacity:.55}}
@keyframes bdgBeat{0%,40%,100%{transform:scale(1)}20%{transform:scale(1.14)}30%{transform:scale(.96)}}
@keyframes bdgTick{0%{stroke-dashoffset:22}40%,80%{stroke-dashoffset:0}100%{stroke-dashoffset:22}}
@keyframes bdgShine{0%{transform:translateX(0) skewX(-20deg)}60%,100%{transform:translateX(150px) skewX(-20deg)}}
@keyframes bdgSpin{to{transform:rotate(360deg)}}
@keyframes bdgSpark{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1.1)}}
@keyframes bdgGlow{0%,100%{filter:drop-shadow(0 0 4px rgba(255,195,0,.5))}50%{filter:drop-shadow(0 0 14px rgba(255,195,0,.95))}}
@keyframes bdgCrown{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-3px) rotate(4deg)}}
/* the card takes focus on open: no ring at its corners */
@media (max-width:640px){.bdlg.bdet,.bdlg.bnew{width:calc(100% - 32px);max-width:400px;margin:auto}.bdet .bdlg__card,.bnew .bdlg__card{border-radius:24px}}
@keyframes bnewPop{from{transform:scale(.2) rotate(-20deg);opacity:0}to{transform:none;opacity:1}}
@keyframes bnewBurst{from{transform:rotate(var(--a)) translateY(0);opacity:1}to{transform:rotate(var(--a)) translateY(-130px);opacity:0}}
