/* Home, next version (trial /home, owner 2026-11-07). Kept apart from styles.css until the owner picks it. */
.page-home2 .h2top{padding-bottom:22px}
.h2me{padding-top:4px}
.h2hi{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
.h2av{flex:none;width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1.5px var(--ink);background:var(--sky-deep)}
.h2av.is-init,.h2st__av.is-init,.h2st__mepic.is-init{display:grid;place-items:center;font-weight:700;color:#fff;background:var(--orange)}
.h2av.is-init{font-size:22px}
.h2hi__t{min-width:0}
.h2hi__t small{display:block;font-size:14px;color:var(--ink-soft)}
.h2hi__t b{font-size:22px;line-height:1.2}
.h2hi__lv{font-size:14px;color:var(--ink-soft);font-weight:500;white-space:nowrap}
.h2gem{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px solid var(--ink);border-radius:99px;padding:3px 12px 3px 5px;box-shadow:2px 2px 0 var(--orange);font-weight:700}
.h2gem svg{width:24px;height:24px}

.h2h{display:flex;align-items:baseline;gap:8px;font-size:20px;margin:0 0 10px;line-height:1.3}
.h2h .hand{font-size:21px}

.h2sec{margin-top:30px}
.h2sec--top{margin-top:22px}

/* Space: stories row. Phones: 3 cards + the edge of a 4th (owner 2026-11-07) */
.h2st{--w:calc((100vw - 24px - 24px - 26px) / 3);display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-16px;padding:0 16px 6px 0;scrollbar-width:none}
.h2st::-webkit-scrollbar{display:none}
.h2st>a{flex:none;width:var(--w);aspect-ratio:9/16;border-radius:16px;scroll-snap-align:start;position:relative;overflow:hidden;border:2px solid var(--ink);text-decoration:none}
.h2st__c{background:#222 center/cover;color:#fff}
.h2st__c:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28),transparent 30%,transparent 58%,rgba(0,0,0,.72))}
.h2st__av{position:absolute;z-index:1;left:7px;top:7px;width:34px;height:34px;border-radius:50%;object-fit:cover;border:2.5px solid var(--orange);box-shadow:0 0 0 2px #fff;font-size:14px}
.h2st__c.is-seen .h2st__av{border-color:#C9D3E6}
.h2st__av--2{left:31px;z-index:0}
.h2st__av--3{left:55px;z-index:0}
.h2st__c > .h2st__av:not(.h2st__av--2):not(.h2st__av--3){z-index:2}.h2st__av--2{z-index:1}
.h2st__n em{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;font-style:normal;overflow:hidden;overflow-wrap:anywhere}   /* the first tagged friend, tucked behind the author (owner 2026-11-25) */
.h2st__n{position:absolute;z-index:1;left:8px;right:8px;bottom:7px;font-weight:700;font-size:13px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h2st__n small{display:block;font-weight:500;font-size:11px;opacity:.85}
.h2st__hot{position:absolute;z-index:1;right:6px;top:9px;font-size:10px;font-weight:700;border-radius:99px;padding:1px 7px;background:var(--orange);border:1.5px solid #fff}

.h2st__alb{position:absolute;z-index:1;right:7px;bottom:9px;width:16px;height:16px;border:2px solid #fff;border-radius:4px;box-shadow:-4px 4px 0 -1px rgba(255,255,255,.7)}
.h2st__me{background:#fff;color:var(--ink)}
.h2st__pic{position:absolute;left:0;right:0;top:0;height:33%;overflow:hidden;background:linear-gradient(135deg,#FFB98A,var(--orange))}
.h2st__mepic{width:100%;height:100%;object-fit:cover;font-size:30px}
.h2st__plus{position:absolute;left:50%;top:33%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;background:var(--orange);border:3px solid #fff;box-shadow:0 0 0 2px var(--ink);display:grid;place-items:center}
.h2st__plus svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round}
/* upload card label (the voucher promo that sat here ended 10 Nov 2026) */
.h2st__lbl{position:absolute;left:6px;right:6px;top:calc(33% + 28px);text-align:center;font-size:14px;font-weight:700;line-height:1.3;color:var(--ink)}

/* quiz + Voice: swipe on phones */
.h2duo{display:flex;gap:10px;margin:16px -16px 0 0;padding:0 16px 8px 0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.h2duo::-webkit-scrollbar{display:none}
.h2duo.h2duo--one>a{width:100%}
.h2duo>a[hidden],.h2dots[hidden]{display:none}
.h2duo>a{flex:none;width:calc(100% - 26px);scroll-snap-align:start;border-radius:20px;border:2px solid var(--ink);text-decoration:none;display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:92px}

.h2quiz{background:#fff;color:var(--ink);box-shadow:4px 4px 0 var(--blue)}
/* Photo Booth card (owner 2026-11-09): the quiz card's look in purple */

.h2quiz__ic{flex:none;display:grid;gap:4px;transform:rotate(-4deg)}
.h2quiz__ic span{display:block;width:52px;text-align:center;font-weight:700;font-size:14px;line-height:1;padding:6px 0 7px;border-radius:10px;border:2px solid var(--ink)}
.h2quiz__t1{background:#22A35A;color:#fff;box-shadow:2px 2px 0 var(--ink)}
.h2quiz__t2{background:var(--orange);color:var(--ink);box-shadow:2px 2px 0 var(--ink);transform:translateX(8px)}
.h2quiz__t{min-width:0;display:grid;gap:3px;justify-items:start}
.h2quiz__k{font-size:12px;font-weight:600;color:var(--blue);letter-spacing:.02em}
.h2quiz__t b{font-size:16px;line-height:1.25}
.h2quiz__go{display:inline-flex;align-items:center;gap:6px;margin-top:3px;background:var(--blue);color:#fff;font-weight:700;font-size:13px;border-radius:99px;padding:4px 6px 4px 12px;border:1.5px solid var(--ink)}
.h2quiz__go i{display:inline-flex;align-items:center;gap:3px;font-style:normal;background:#fff;color:var(--ink);border-radius:99px;padding:1px 7px 1px 3px;font-size:12px}
.h2quiz__go i svg{width:15px;height:15px}
.h2quiz.is-done .h2quiz__go{background:#fff;color:var(--blue);padding-right:12px}
.h2quiz__fire{margin-left:auto;flex:none;display:grid;justify-items:center;line-height:1.05;position:relative}
.h2quiz__fire b{font-size:20px;color:var(--orange)}.h2quiz__fire small{font-size:11px;color:var(--ink-soft)}
.h2fire{position:relative;display:block;width:30px;height:42px}
.h2fire svg{position:relative;width:100%;height:100%;overflow:visible}
.h2fire:not(.is-lit) svg path{fill:none;stroke:#9AA7C2}
.h2fire:not(.is-lit) svg path:first-child{stroke:none}
/* lit: the flame flickers from its base, the inner flame on its own beat, a warm glow breathes behind */
.h2fire.is-lit:before{content:"";position:absolute;left:50%;top:58%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:radial-gradient(circle,rgba(255,184,60,.55),rgba(242,108,33,0) 68%);animation:h2glow 1.6s ease-in-out infinite}
.h2fire.is-lit svg{transform-origin:50% 92%;animation:h2flick 1.2s ease-in-out infinite}
.h2fire.is-lit svg path:last-child{transform-box:fill-box;transform-origin:50% 100%;animation:h2core .8s ease-in-out infinite alternate}
@keyframes h2flick{0%,100%{transform:scale(1,1) skewX(0)}25%{transform:scale(1.04,.96) skewX(-3deg)}50%{transform:scale(.97,1.06) skewX(2deg)}75%{transform:scale(1.03,.98) skewX(-1deg)}}
@keyframes h2core{from{transform:scale(.86,.84)}to{transform:scale(1.08,1.12)}}
@keyframes h2glow{0%,100%{transform:scale(.9);opacity:.75}50%{transform:scale(1.12);opacity:1}}
@media (prefers-reduced-motion:reduce){.h2fire.is-lit svg,.h2fire.is-lit svg path,.h2fire.is-lit:before{animation:none}}
.h2voice{position:relative;overflow:hidden;background:#0b0303;color:#fff;box-shadow:4px 4px 0 var(--orange)}
.h2voice:before{content:"";position:absolute;inset:0;background:radial-gradient(90% 120% at 100% 100%,rgba(242,108,33,.55),transparent 60%)}
.h2voice>*{position:relative}
.h2voice img{width:82px;flex:none;height:auto}

.h2dots{display:flex;gap:6px;justify-content:center;margin-top:8px}
.h2dots i{width:7px;height:7px;border-radius:9px;background:#B8C7E6;transition:width .2s}
.h2dots i.is-on{width:20px;background:var(--blue)}

/* gallery albums */
.h2alb{display:grid;grid-template-columns:1fr 1fr;gap:30px 18px;padding-top:14px}
/* album polaroids like /gallery: taped print, Moraeul caption (2 lines, fitTitles), meta under it (owner 2026-11-08) */
.h2pol{position:relative;display:block;min-width:0;color:var(--ink);text-decoration:none}
.h2pol .polaroid{padding:8px 8px 2px;transition:transform .2s ease}
.h2pol .polaroid::before{width:64px;height:20px;top:-10px}
.h2pol .polaroid img,.h2pol__none{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--sky)}
.h2pol figcaption{padding:6px 2px 4px;font-size:17px;line-height:1.2;height:calc(2.4em + 10px);overflow:hidden;text-wrap:balance;color:var(--ink)}
.h2pol small{display:block;margin-top:10px;font-size:13px;color:var(--ink-soft)}
@media (hover:hover){.h2pol:hover .polaroid{transform:rotate(0) translateY(-4px)}}
/* ดูทั้งหมด: the next covers stacked behind */
.h2pol__stack{position:absolute;inset:0 0 auto 0;aspect-ratio:auto}
.h2pol--all{isolation:isolate}
.h2pol--all>.polaroid{position:relative;z-index:2}
.h2pol__back{position:absolute;z-index:0;left:0;right:0;top:0;padding:8px 8px 40px}
.h2pol__back::before{display:none}
.h2pol__back--1{transform:rotate(-7deg) translate(-10px,6px)}
.h2pol__back--2{transform:rotate(9deg) translate(12px,2px)}
.h2pol__back img{filter:saturate(.7)}
.h2pol__more{position:absolute;left:8px;right:8px;top:8px;aspect-ratio:3/2;display:grid;place-items:center;background:rgba(13,27,62,.38)}
.h2pol__more svg{width:52px;height:52px;overflow:visible}

/* photos of you */
.h2mine{display:flex;gap:10px;overflow-x:auto;margin-right:-16px;padding:0 16px 6px 0;scrollbar-width:none}
.h2mine::-webkit-scrollbar{display:none}
.h2mine>a{flex:none;width:118px;aspect-ratio:3/4;border-radius:14px;overflow:hidden;border:2px solid var(--ink);background:var(--sky)}
.h2mine img{width:100%;height:100%;object-fit:cover;display:block}
.h2mine .h2mine__off{width:auto;flex:1;aspect-ratio:auto;padding:16px;display:grid;gap:4px;color:var(--ink);text-decoration:none;margin-right:16px}
.h2mine__off span{color:var(--ink-soft);font-size:14px}
.h2empty{color:var(--ink-soft);margin:0}

/* events */
.h2ev{display:flex;gap:10px;overflow-x:auto;margin-right:-16px;padding:0 16px 6px 0;scrollbar-width:none}
.h2ev::-webkit-scrollbar{display:none}
.h2ev>*{flex:none;width:150px;border-radius:18px;overflow:hidden;border:2px solid var(--ink);background:#fff;color:var(--ink);text-decoration:none}
.h2ev__art{display:block;aspect-ratio:1;border-bottom:2px solid var(--ink);overflow:hidden}
.h2ev__art .art{height:100%}
.h2ev b{display:block;padding:8px 10px 0;font-size:14px}
.h2ev small{display:block;padding:0 10px 10px;color:var(--ink-soft);font-size:12px}

/* guests */
.h2main{padding-bottom:20px}

@media (min-width:900px){
  .h2st{--w:150px;margin-right:0;padding-right:0}
  .h2duo{margin-right:0;padding-right:0;overflow:visible}
  .h2duo>a{width:auto;flex:1}
  .h2dots{display:none}
  .h2alb{grid-template-columns:repeat(4,1fr);gap:40px 30px}
  .h2pol figcaption{font-size:22px}.h2pol small{font-size:15px}
  .h2mine,.h2ev{margin-right:0;padding-right:0}
  /* fill the panel's width (owner 2026-11-08): 6 photos + ดูทั้งหมด in 7 equal columns, events share the row */
  .h2mine{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible}
  .h2mine>a{width:auto}
  .h2mine .h2mine__off{grid-column:1/-1;margin-right:0}
  .h2ev{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);overflow:visible}
  .h2ev>*{width:auto}
}

/* doodles: pen icons on headings, marker rings / underline, one mascot per section */
.h2h{align-items:center}
.h2ic{flex:none;width:32px;height:32px;margin-right:-2px}
.h2mark{position:relative;display:inline-block}
.h2mark .doodle--ring{left:-22%;top:-30%;width:144%;height:160%}
.h2quiz__fire .doodle--ring path{stroke-width:5}
.h2quiz__fire .h2mark{padding:0 6px}
.h2mascot{flex:none;width:64px;height:42px;margin-left:auto;margin-bottom:-6px;display:block}
.h2mascot img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;display:block}

@media (max-width:640px){
  /* one line on phones: smaller type, the mascot box narrower */
  .h2h{font-size:17px;gap:5px}
  .h2h .hand{font-size:16px}
  .h2ic{width:28px;height:28px}
  .h2mascot{width:50px;height:34px}
  
  .h2sec--top .h2h{margin-right:-8px}   /* the sky panel is inset 8px: line its mascot + link up with the sections below */
}
.h2h{white-space:nowrap}
.h2quiz__fire .h2mark .doodle--ring{top:-18%;height:136%}
/* WebKit painted a black or white box over the top-left of the page when these drop-shadow filters sat inside the
   sideways-scrolling event row (headless WebKit, 2026-11-08); the logos read fine without them */
.h2ev .art img{filter:none}

/* headings (owner 2026-11-08): the title and the mascot are the links (no "ดูทั้งหมด", no underline); the mascot sits at the far right */
.h2h__go{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
.h2h__go:hover{color:var(--blue)}
a.h2mascot{margin-left:auto;transition:transform .2s ease}
a.h2mascot:hover{transform:translateY(-3px) rotate(-4deg)}
.h2hi .wave{font-size:17px;margin-left:2px}
.h2hi .wave svg{width:1.15em;height:1.15em}
/* quiz card: more room between the จริง/มั่ว tiles and the text */
.h2quiz{gap:30px}
.h2quiz__ic{margin-right:6px}   /* the มั่ว tile is pushed 8px right: keep clear of the text */

/* icon, title, hand note and mascot share one centred line */
.h2h{align-items:center}
.h2h .hand{line-height:1;transform:translateY(1px)}
.h2h__go{line-height:1}
.h2mascot{margin-bottom:0}

/* type sizes in line with the rest of the site (owner 2026-11-08: body 18px, meta 15px) */
.h2h{font-size:26px;gap:10px;margin-bottom:14px}
.h2h .hand,.h2note{font-size:26px;line-height:1.2;transform:none}
.h2h__go{line-height:1.2}
.h2ic{width:34px;height:34px}
.h2note{position:relative;display:inline-block}
.h2note .doodle--underline{bottom:-.12em}
.h2hi__t small{font-size:16px}
.h2hi__t b{font-size:24px}
.h2hi__lv{font-size:15px}
.h2gem{font-size:18px}
.h2st__n{font-size:14px}.h2st__n small{font-size:12px}
.h2quiz__k{font-size:14px}
.h2quiz__t b{font-size:18px}
.h2quiz__go{font-size:15px}
.h2quiz__go i{font-size:13px}
.h2quiz__fire b{font-size:22px}.h2quiz__fire small{font-size:13px}

.h2ev b{font-size:16px}.h2ev small{font-size:14px}
.h2empty,.h2mine__off span{font-size:16px}
.h2sec{margin-top:40px}
.h2sec--top{margin-top:26px}
@media (max-width:640px){
  .h2h{font-size:21px;gap:6px;margin-bottom:12px}
  .h2h .hand,.h2note{font-size:21px}
  .h2ic{width:28px;height:28px}
  .h2hi__t b{font-size:21px}

  .h2quiz__t b{font-size:16px}
  .h2sec{margin-top:34px}
}
.h2main{padding-bottom:0}
.page-home2 .footer{margin-top:0}

/* headings: title and Moraeul note on one baseline (they measure the same height: Thai x-height Plex 700 0.57em,
   Moraeul 0.59em); the icon and the mascot centre on the line */
.h2h{align-items:baseline}
.h2h__go{align-items:baseline}
.h2h .h2ic,.h2h .h2mascot{align-self:center}
.h2h .hand,.h2note{font-size:25px}
.h2note .h2mark{display:inline-block;position:relative;padding:0 .18em}
.h2note .h2mark .doodle--ring{left:-14%;top:-16%;width:128%;height:132%}
.h2note .h2mark .doodle--ring path{stroke-width:2.6}
/* greeting: สวัสดี on the circle's top edge, the level on its bottom edge */
.h2hi{align-items:stretch}
.h2av{width:76px;height:76px}
.h2hi__t{display:flex;flex-direction:column;justify-content:space-between;height:76px;padding:1px 0}
.h2hi__t small,.h2hi__t b,.h2hi__lv{display:block;line-height:1.2}
.h2hi__t b{font-size:24px}
.h2gem{align-self:center}
@media (max-width:640px){
  .h2h .hand,.h2note{font-size:20px}
  .h2av{width:68px;height:68px}
  .h2hi__t{height:68px}
  .h2hi__t b{font-size:21px}
  .h2hi__t small{font-size:15px}.h2hi__lv{font-size:14px}
}
.h2hi__t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* loading skeleton (owner 2026-11-29): the site's one .skel shimmer in the shape of each row (Space clips, album
   polaroids, photos of you) until the cache or the data paints; a repeat visit paints from the cache at once.
   home.js removes what is left once loading ends, so a failed request leaves no shimmer behind. */
.h2st>.h2st__sk{flex:none;width:var(--w);aspect-ratio:9/16;border-radius:16px}
/* the Space row sits on the coloured header panel (sky or the member's theme): a see-through shimmer shows on all of them */
.h2st{--skel-a:rgba(13,27,62,.08);--skel-b:rgba(255,255,255,.6)}
.h2top[data-theme="ink"] .h2st{--skel-a:rgba(255,255,255,.12);--skel-b:rgba(255,255,255,.3)}
.h2pol .h2pol__skimg{aspect-ratio:3/2;border-radius:0}
.h2pol__skcap{display:block;font-size:17px;height:calc(2.4em + 10px);padding:8px 2px 4px}
.h2pol__skt{height:16px;width:70%;border-radius:4px}
.h2pol__skm{height:12px;width:45%;margin-top:10px}
.h2mine>.h2mine__sk{flex:none;width:118px;aspect-ratio:3/4;border-radius:14px}
@media (min-width:900px){.h2pol__skcap{font-size:22px}.h2mine>.h2mine__sk{width:auto}}

/* photos of you: the 6th card, ดูทั้งหมด (owner 2026-11-08) */
.h2mine>a.h2mine__all{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:var(--sky);color:var(--ink);text-decoration:none}
.h2mine__all svg{width:46px;height:46px;overflow:visible;transition:transform .2s ease}
.h2mine__all b{font-size:15px}
.h2mine__all small{font-size:13px;color:var(--ink-soft)}
@media (hover:hover){.h2mine__all:hover svg{transform:translateX(3px)}}

/* guests (owner 2026-11-08): the member page, blurred, under a login card */
.is-guest #h-me,.is-guest #h-body{filter:blur(7px);pointer-events:none;user-select:none;-webkit-user-select:none}
.h2gate{position:fixed;z-index:80;left:50%;top:50%;transform:translate(-50%,-38%);width:min(440px,calc(100vw - 32px));box-sizing:border-box;padding:26px 22px 22px;text-align:center;background:#fff;border:2px solid var(--ink);border-radius:24px;box-shadow:5px 5px 0 var(--ink)}
.h2gate[hidden]{display:none}
.h2gate__m{position:absolute;left:50%;top:0;width:120px;height:auto;transform:translate(-50%,-78%)}
.h2gate__hi{margin:14px 0 2px;font-size:24px;color:var(--marker)}
.h2gate__t{margin:0 0 8px;font-size:23px;line-height:1.35;color:var(--blue);text-wrap:balance}
.h2gate__p{margin:0 0 18px;font-size:16px;line-height:1.55;color:var(--ink-soft);text-wrap:pretty}
.h2gate__go{width:100%;justify-content:center}

/* Moraeul notes are links too (owner 2026-11-08) */
a.h2note{color:var(--marker);text-decoration:none}
@media (hover:hover){a.h2note:hover{opacity:.8}}

/* Voice card: the Popular Vote donation total, glowing like the Voice page (vres__sum) */

/* the glow is a soft gradient behind the number: a drop-shadow filter inside the sideways-scrolling row painted a box at the page's top-left in WebKit */

/* the member's /profile colour + scribble on the header (profile-look.js; backgrounds in styles.css) */
.h2top > :not(.nav):not(.nav__ph):not(.phero__doodle){position:relative;z-index:1}
.h2top.is-dark{color:#fff}
.h2top.is-dark .h2gem{color:var(--ink)}
.h2top.is-dark .h2hi,.h2top.is-dark .h2h__go,.h2top.is-dark .nav__back,.h2top.is-dark .nav__bell{color:#fff}
.h2top.is-dark .h2hi__t small,.h2top.is-dark .h2hi__lv{color:rgba(255,255,255,.86)}
.h2top.is-dark a.h2note{color:#FFD84D}
.h2top.is-dark .h2note .doodle path{stroke:#FFD84D}
.h2top.is-dark .h2dots i{background:rgba(255,255,255,.4)}.h2top.is-dark .h2dots i.is-on{background:#fff}
.h2top[data-theme="orange"] a.h2note{color:var(--ink)}
.h2top[data-theme="orange"] .h2note .doodle path{stroke:var(--ink)}

/* every profile colour stays readable on the home header (owner 2026-11-08) */
.h2top[data-theme="orange"] .logo__happy{color:#fff}
.h2top[data-theme="orange"] .logo__smile path{stroke:var(--ink)}
.h2top[data-theme="orange"] .h2hi__t small,.h2top[data-theme="orange"] .h2hi__lv{color:rgba(13,27,62,.78)}
.h2top[data-theme="cherry"] .logo__happy{color:#FFD84D}
.h2top[data-theme="cherry"] .logo__smile path{stroke:#FFD84D}
.h2top[data-theme="sun"] .h2hi__t small,.h2top[data-theme="sun"] .h2hi__lv{color:rgba(13,27,62,.78)}
.h2top[data-theme="sun"] a.h2note{color:#C2410C}
.h2top[data-theme="sun"] .h2note .doodle path{stroke:#C2410C}
/* navy: the ink outlines would vanish */
.h2top[data-theme="ink"] .h2st>a{border-color:rgba(255,255,255,.9)}
.h2top[data-theme="ink"] .h2ic g,.h2top[data-theme="ink"] .h2ic path[stroke="#0D1B3E"]{stroke:#fff}
.h2top[data-theme="ink"] .h2duo>a{border-color:rgba(255,255,255,.9)}
.h2top:is([data-theme="orange"],[data-theme="cherry"]) .h2gem{box-shadow:3px 3px 0 var(--ink)}
/* the orange shadow sinks into an orange or red header (owner 2026-11-18) */
.h2top:is([data-theme="orange"],[data-theme="cherry"]) .dmst{box-shadow:3px 3px 0 var(--ink)}

/* the quiz (blue) and Voice (orange) cards' offset shadows vanished on a panel of the same colour (owner 2026-11-08) */
.h2top[data-theme="blue"] .h2quiz{box-shadow:4px 4px 0 var(--ink)}
.h2top[data-theme="orange"] .h2voice,.h2top[data-theme="cherry"] .h2voice{box-shadow:4px 4px 0 var(--ink)}
body.is-guest{overflow-x:clip}

.h2bt>a{width:140px;aspect-ratio:9/16;background:#F1EAFB;border-color:var(--ink)}
.h2bt>a.h2mine__all{background:#F1EAFB}
.h2bt img{object-position:50% 30%}
@media (min-width:900px){.h2bt{display:flex;gap:14px}}

/* owner 2026-11-13: a light sweeps across the ท้าเพื่อน card's line, like คุณทราย, คุณตูน on the Voice card */
/* owner 2026-11-16: the light sweeps the button now, not the title */ #h-quiz-t{display:inline-block}
@keyframes vsweep{0%{background-position:100% 0}60%,100%{background-position:0 0}}

/* ดูดวงประจำสัปดาห์ card (owner 2026-11-16, took the Voice card's place): a night sky with a crystal ball doodle */
.h2horo{position:relative;overflow:hidden;background:#13224A;color:#fff;box-shadow:4px 4px 0 var(--orange)}
.h2horo:before{content:"";position:absolute;inset:0;background:radial-gradient(1.5px 1.5px at 78% 22%,#fff 60%,transparent),radial-gradient(1.2px 1.2px at 90% 64%,#FFD84D 60%,transparent),radial-gradient(1.4px 1.4px at 64% 84%,#fff 60%,transparent),radial-gradient(1px 1px at 96% 12%,#fff 60%,transparent),radial-gradient(80% 110% at 100% 100%,rgba(117,73,184,.55),transparent 62%)}
.h2horo>*{position:relative}
.h2horo__ic{flex:none;width:64px;height:64px;overflow:visible}
.h2horo__t{min-width:0;display:grid;gap:3px;justify-items:start}
.h2horo__k{font-size:12px;font-weight:600;color:#FFD84D;letter-spacing:.02em}
.h2horo__t b{font-size:16px;line-height:1.25}
.h2horo__go{display:inline-flex;align-items:center;margin-top:3px;background:var(--orange);color:#fff;font-weight:700;font-size:13px;border-radius:99px;padding:4px 12px;border:1.5px solid #fff}
@media (min-width:900px){.h2horo__k{font-size:14px}.h2horo__t b{font-size:18px}.h2horo__go{font-size:15px}}
.h2top[data-theme="orange"] .h2horo,.h2top[data-theme="cherry"] .h2horo{box-shadow:4px 4px 0 var(--ink)}
.h2top:is([data-theme="ink"],[data-theme="navy"]) .h2horo{box-shadow:4px 4px 0 #FFD84D}
/* owner 2026-11-16: a light sweeps across เริ่มดูดวง, and the crystal ball comes alive (floats, glows, the star turns,
   mist drifts, sparkles twinkle) */
.h2horo__go{position:relative;overflow:hidden;isolation:isolate}
.h2horo__go:after{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);transform:skewX(-18deg);animation:h2go 2.6s ease-in-out infinite}
@keyframes h2go{0%,35%{left:-60%}75%,100%{left:130%}}
.h2ball{transform-box:view-box;transform-origin:32px 46px;animation:h2float 3s ease-in-out infinite}
@keyframes h2float{50%{transform:translateY(-2.5px) rotate(-3deg)}}
.h2ball__glow{opacity:.35;transform-box:fill-box;transform-origin:center;animation:h2glow 2.4s ease-in-out infinite}
@keyframes h2glow{50%{opacity:.8;transform:scale(1.12)}}
.h2ball__star{transform-box:fill-box;transform-origin:center;animation:h2star 4s cubic-bezier(.5,0,.3,1) infinite}
@keyframes h2star{0%,55%{transform:rotate(0) scale(1)}70%{transform:rotate(180deg) scale(1.15)}85%,100%{transform:rotate(360deg) scale(1)}}
.h2ball__mist{opacity:.8;animation:h2mist 3.2s ease-in-out infinite}
@keyframes h2mist{50%{transform:translateX(3px) translateY(2px);opacity:.35}}
.h2spark{transform-box:fill-box;transform-origin:center;animation:h2spark 1.8s ease-in-out infinite}
.h2spark--b{animation-delay:.6s}.h2spark--c{animation-delay:1.2s}
@keyframes h2spark{0%,100%{opacity:.2;transform:scale(.5) rotate(0)}50%{opacity:1;transform:scale(1.1) rotate(45deg)}}
@media (prefers-reduced-motion:reduce){.h2horo__go:after,.h2ball,.h2ball__glow,.h2ball__star,.h2ball__mist,.h2spark{animation:none}}
/* owner 2026-11-16: the quiz card's button gets the same light sweep as เริ่มดูดวง */
.h2quiz__go{position:relative;overflow:hidden;isolation:isolate}
.h2quiz__go:after{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.7),transparent);transform:skewX(-18deg);animation:h2go 2.6s ease-in-out .4s infinite}
.h2quiz.is-done .h2quiz__go:after{background:linear-gradient(100deg,transparent,rgba(26,86,219,.25),transparent)}
@media (prefers-reduced-motion:reduce){.h2quiz__go:after{animation:none}}
/* owner 2026-11-16: the section heading doodles move a little (Space: play button pulses, sparks flash; gallery: the
   sun bobs; photos of you: the smile grins, the sparkle turns; events: the star spins) */
.h2ic path{transform-box:fill-box;transform-origin:center}
#h-space-t .h2ic g>path:nth-child(3){animation:h2play 1.8s ease-in-out infinite}
@keyframes h2play{50%{transform:scale(1.25) translateX(1px)}}
:is(#h-space-t,#h-gal-t) .h2ic>path:last-child{animation:h2flash 1.6s ease-in-out infinite}
@keyframes h2flash{0%,100%{opacity:1}50%{opacity:.15}}
#h-gal-t .h2ic g>path:nth-child(3){animation:h2sun 2.6s ease-in-out infinite}
@keyframes h2sun{50%{transform:translateY(-2px) scale(1.15)}}
#h-mine-t .h2ic>path:nth-last-child(2){animation:h2grin 2.4s ease-in-out infinite}
@keyframes h2grin{50%{transform:scaleX(1.3) translateY(.5px)}}
#h-mine-t .h2ic>path:last-child{animation:h2twirl 3s ease-in-out infinite}
@keyframes h2twirl{0%,60%{transform:rotate(0) scale(1)}80%{transform:rotate(180deg) scale(1.4)}100%{transform:rotate(360deg) scale(1)}}
#h-ev-t .h2ic>path:last-child{animation:h2twirl 3.4s ease-in-out .5s infinite}
@media (prefers-reduced-motion:reduce){.h2ic path{animation:none!important}}
/* owner 2026-11-17: Space's heading doodle fires a camera flash now and then (a white burst with rays by the lens, and
   the camera itself lights up for a beat) */
#h-space-t .h2h__go{position:relative}
.h2flashfx{position:absolute;left:20px;top:-6px;width:24px;height:24px;pointer-events:none;z-index:1}
.h2flashfx:before,.h2flashfx i{content:"";position:absolute;inset:0;opacity:0}
.h2flashfx:before{border-radius:50%;background:radial-gradient(circle,#fff 0 30%,rgba(255,255,255,.85) 40%,rgba(255,236,170,.5) 60%,transparent 72%);animation:h2fx 2.8s ease-out infinite}
.h2flashfx i{background:
  linear-gradient(#fff,#fff) center/2.5px 100% no-repeat,
  linear-gradient(#fff,#fff) center/100% 2.5px no-repeat;filter:drop-shadow(0 0 2px #FFD84D);animation:h2fxr 2.8s ease-out infinite}
@keyframes h2fx{0%,62%{opacity:0;transform:scale(.2)}68%{opacity:1;transform:scale(1.25)}84%,100%{opacity:0;transform:scale(1.6)}}
@keyframes h2fxr{0%,62%{opacity:0;transform:scale(.3) rotate(0)}68%{opacity:1;transform:scale(1.5) rotate(20deg)}82%,100%{opacity:0;transform:scale(1.9) rotate(45deg)}}
#h-space-t .h2ic{animation:h2fxcam 2.8s ease-out infinite}
@keyframes h2fxcam{0%,62%,90%,100%{filter:none}68%{filter:brightness(1.35) drop-shadow(0 0 6px rgba(255,236,170,.95))}}
@media (prefers-reduced-motion:reduce){.h2flashfx:before,.h2flashfx i,#h-space-t .h2ic{animation:none}}
/* the upload card's line (owner 2026-11-17): what to post, then +5 and the joy face */
.h2st__lbl{top:calc(33% + 24px);font-size:11.5px;font-weight:600;line-height:1.35;text-wrap:balance}
.h2st__joy{display:flex;align-items:center;justify-content:center;gap:3px;margin-top:5px;font-size:15px;font-weight:700;color:var(--orange)}
.h2st__joy svg{width:18px;height:18px}
/* the flash on a light header: a yellow burst with orange rays (white vanished on the sky panel) */
.h2flashfx{left:14px;top:-11px}
.h2flashfx:before{background:radial-gradient(circle,#fff 0 18%,#FFE27A 30%,rgba(255,216,77,.75) 46%,rgba(255,216,77,0) 70%)}
.h2flashfx i{background:linear-gradient(#F26C21,#F26C21) center/2px 100% no-repeat,linear-gradient(#F26C21,#F26C21) center/100% 2px no-repeat,
  linear-gradient(45deg,transparent 48%,#F26C21 48% 52%,transparent 52%),linear-gradient(-45deg,transparent 48%,#F26C21 48% 52%,transparent 52%);filter:none}
/* upload card (owner 2026-11-18): อัปโหลด + a round pill อัปเลย +5, รับแล้ว +5 once today's post is in */
.h2st__lbl{top:calc(33% + 26px)}
.h2st__up{display:block;font-size:15px;font-weight:700}
/* owner 2026-11-25: the upload card's words scale with the card, so a narrow card (small phones, the hero fitted to the
   screen) shows them whole instead of cutting เรื่องที่อยากแชร์ */
.h2st__me{container-type:inline-size}
.h2st__me .h2st__lbl .h2st__up{font-size:clamp(9.5px, 13.4cqi, 15px)}
.h2st__me .h2st__lbl .h2st__joy{font-size:clamp(9px, 11.2cqi, 12.5px);padding:3px clamp(5px, 7cqi, 9px)}
.h2st__me .h2st__lbl .h2st__joy svg{width:clamp(12px, 14cqi, 16px);height:clamp(12px, 14cqi, 16px)}
.h2st__me .h2st__lbl{top:calc(33% + clamp(16px, 22cqi, 26px));left:4px;right:4px}
/* too narrow for the whole line (the hero fitted to a short screen shrinks the cards to 60px): just อัปโหลด and +5 */
@container (max-width:84px){
  .h2st__me .h2st__lbl .h2st__up{font-size:clamp(11px, 18cqi, 15px)}
  .h2st__me .h2st__up .nb,.h2st__me #h-upjoy-t{display:none}
  .h2st__me .h2st__lbl .h2st__joy{font-size:11px;margin-top:4px}
  .h2st__me .h2st__plus{width:28px;height:28px;border-width:2px}
  .h2st__me .h2st__plus svg{width:15px;height:15px}
  .h2st__me .h2st__lbl{top:calc(33% + 20px)}
}
.h2st__joy{display:inline-flex;margin:8px auto 0;padding:3px 9px 3px 10px;border:1.5px solid var(--orange);border-radius:99px;background:#FFF4EC;font-size:12.5px;white-space:nowrap}
.h2st__joy svg{width:16px;height:16px}
.h2st__joy.is-done{border-color:#B9C3D6;background:#F1F4F9;color:#5B6880}
/* จริงหรือมั่ว row (owner 2026-11-18): today's round, ท้าพิเศษจากเพื่อน, ranks */
.h2qz{display:grid;gap:10px}
.h2qz>a{display:flex;align-items:center;gap:12px;padding:12px 14px;border:2px solid var(--ink);border-radius:20px;background:#fff;color:var(--ink);text-decoration:none}
.h2qz__day{box-shadow:4px 4px 0 var(--blue);min-height:84px}
.h2qz__dayt{min-width:0;display:grid;gap:3px;justify-items:start}
.h2qz__dayt small{font-size:12px;font-weight:600;color:var(--blue)}
.h2qz__dayt b{font-size:17px;line-height:1.25}
.h2qz__dayt b em{font-style:normal;color:var(--orange);font-size:22px}
.h2qz__go{display:inline-flex;align-items:center;gap:6px;margin-top:3px;background:var(--blue);color:#fff;font-weight:700;font-size:13px;border-radius:99px;padding:4px 6px 4px 12px;border:1.5px solid var(--ink)}
.h2qz__go i{display:inline-flex;align-items:center;gap:3px;font-style:normal;background:#fff;color:var(--ink);border-radius:99px;padding:1px 7px 1px 3px;font-size:12px}
.h2qz__go i svg{width:15px;height:15px}
.h2qz__day.is-done .h2qz__go{background:#fff;color:var(--blue)}
.h2qz__fire{margin-left:auto}
.h2qz__dare{background:#FFF4CC !important;box-shadow:4px 4px 0 var(--orange)}
.h2qz__faces{flex:none;display:flex}
.h2qz__face{width:40px;height:40px;border-radius:50%;border:2px solid var(--ink);object-fit:cover;background:var(--orange);display:grid;place-items:center;font-weight:700;margin-left:-12px}
.h2qz__face:first-child{margin-left:0}
.h2qz__dt{min-width:0;flex:1;display:grid;line-height:1.3}
.h2qz__dt small{font-size:12px;font-weight:700;color:#C2410C}
.h2qz__dt b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h2qz__dgo{flex:none;padding:5px 12px;border-radius:99px;background:var(--orange);color:#fff;font-weight:700;font-size:13px;border:1.5px solid var(--ink);animation:h2dare 1.8s ease-in-out infinite}
@keyframes h2dare{50%{transform:scale(1.07) rotate(-2deg)}}
@media (prefers-reduced-motion:reduce){.h2qz__dgo{animation:none}}
.h2qz__rank{background:var(--sky,#E9F2FF) !important;box-shadow:4px 4px 0 var(--ink)}
.h2qz__rk{flex:1;min-width:0;display:grid;line-height:1.25}
/* 2026-11-25: a dashed border drew uneven dashes on iPhone (cut at the ends); one 6px dash per 10px tile, stretched to a whole number of tiles */
.h2qz__rk+.h2qz__rk{padding-left:12px;background:linear-gradient(transparent 2px,rgba(13,27,62,.5) 2px 8px,transparent 8px) left top/2px 10px no-repeat round}
.h2qz__rk small{font-size:12px;color:var(--ink-soft)}
.h2qz__rk b{font-size:13px;font-weight:500;color:var(--ink-soft)}
.h2qz__rk b i{font-style:normal;font-size:24px;font-weight:700;color:var(--blue)}
.h2qz__joy{flex:none;display:inline-flex;align-items:center;gap:5px;padding:3px 11px 3px 4px;border:1.5px solid var(--ink);border-radius:99px;background:#fff;box-shadow:2px 2px 0 var(--orange);font-weight:700}
.h2qz__joy svg{width:22px;height:22px}
@media (min-width:900px){.h2qz{grid-template-columns:1.1fr 1fr}.h2qz__rank{grid-column:1/-1}}
@media (max-width:380px){.h2qz__rk b i{font-size:20px}.h2qz__joy{padding-right:8px}}
.h2qz>a[hidden]{display:none}
.h2st__lbl .h2st__joy svg{flex:none;width:17px;height:17px}
.h2qz__rk b{display:grid;line-height:1.2}
.h2qz__rk b span{font-size:12px}
@media (min-width:900px){.h2qz:not(:has(.h2qz__dare:not([hidden]))) .h2qz__day{grid-column:1/-1}}
/* owner 2026-11-18 (later): the จริงหรือมั่ว row is one big pen-drawn frame (the /quiz card's .sketch) with its parts as
   cells inside: today's round, then a dashed line, the dare (a yellow cell) and the ranks */
.h2qz{position:relative;isolation:isolate;gap:0;padding:14px 16px 12px}
.h2qz>.sketch .sketch__fill{fill:#fff;opacity:1}
.h2qz>.sketch .sketch__line{stroke-width:2.2;opacity:1}
.h2qz>a{border:0;border-radius:0;background:none !important;box-shadow:none !important;padding:12px 2px;min-height:0}
.h2qz>a:not(:first-of-type){border-top:1.5px dashed rgba(13,27,62,.28)}
.h2qz>.h2qz__dare{margin:6px -4px;padding:10px 12px;border:0 !important;border-radius:14px;background:#FFF4CC !important}
.h2qz>.h2qz__dare+.h2qz__rank{border-top:0}
@media (min-width:900px){
  .h2qz{grid-template-columns:1.1fr 1fr;column-gap:0;padding:16px 20px}
  .h2qz>.h2qz__rank{grid-column:auto;grid-row:1;grid-column-start:2;border-top:0;border-left:1.5px dashed rgba(13,27,62,.28);padding-left:20px}
  .h2qz>.h2qz__day{padding-right:20px}
  .h2qz>.h2qz__dare{grid-column:1/-1;grid-row:2;margin:10px 0 2px}
  .h2qz:not(:has(.h2qz__dare:not([hidden]))) .h2qz__day{grid-column:auto}
}
/* owner 2026-11-18: the ranks cell is a yellow box with an orange line, like the dare cell */
.h2qz>.h2qz__rank{margin:6px -4px 2px;padding:10px 12px;border:1.5px solid var(--orange) !important;border-radius:14px;background:#FFF4CC !important}
@media (min-width:900px){.h2qz>.h2qz__rank{margin:0 0 0 12px;padding:10px 14px;border-left:1.5px solid var(--orange) !important}}

/* ---------- Daily Mission (owner 2026-11-18, preview on staging; mission.js) ---------- */
.dmst{position:relative;display:flex;align-items:center;gap:12px;width:100%;margin-top:14px;padding:10px 12px 10px 10px;border:2px solid var(--ink);border-radius:18px;background:#fff;box-shadow:3px 3px 0 var(--orange);font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.dmst:active{transform:translate(1px,1px);box-shadow:2px 2px 0 var(--orange)}
.dmst__ic{flex:none;width:46px;height:46px;display:grid;place-items:center;background:#FFF1D6;border-radius:14px}
.dmst__ic svg{width:38px;height:38px;animation:dmwig 3.2s ease-in-out infinite}
@keyframes dmwig{0%,84%,100%{transform:none}88%{transform:rotate(-9deg)}92%{transform:rotate(8deg)}96%{transform:rotate(-4deg)}}
.dmst__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.dmst__t small{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#4B5675}
.dmst__clock{display:inline-flex;align-items:center;gap:3px;font-style:normal;font-variant-numeric:tabular-nums;font-weight:500}
.dmst__clock svg{width:14px;height:14px}
.dmst__t b{font-size:17px;line-height:1.25}
.dmst__bar{display:flex;gap:4px;margin-top:3px}
.dmst__bar i{flex:1;height:7px;border-radius:9px;background:#E3EAF6;border:1.2px solid #C9D4E8}
.dmst__bar i.is-on{background:var(--orange);border-color:var(--ink)}
.dmst__go{flex:none;align-self:center;padding:8px 14px;border-radius:99px;background:var(--orange);color:#fff;font-weight:700;font-size:14px;border:1.5px solid var(--ink)}

.dmdlg{border:0;padding:0;background:transparent;max-width:none;max-height:none;width:100%;height:100%;margin:0;overscroll-behavior:contain}
.dmdlg::backdrop{background:rgba(13,27,62,.45);animation:dmfade .2s ease}
.dmdlg.is-out::backdrop{opacity:0;transition:opacity .2s}
.dmdlg__in{position:absolute;left:0;right:0;bottom:0;max-height:88svh;overflow:auto;overscroll-behavior:contain;background:#F7FAFF;border-radius:24px 24px 0 0;border-top:2px solid var(--ink);padding:10px 16px calc(22px + env(safe-area-inset-bottom));color:var(--ink);animation:dmup .28s cubic-bezier(.2,.8,.2,1);transition:transform .2s ease}
.dmdlg.is-out .dmdlg__in{transform:translateY(100%)!important;transition:transform .2s ease-in}
@keyframes dmup{from{transform:translateY(40%);opacity:.4}}
@keyframes dmfade{from{opacity:0}}
/* computers: a centred pop-up like the quiz write dialog (owner 2026-11-19); phones keep the bottom sheet */
@media (min-width:641px){
  .dmdlg__in{left:50%;top:50%;right:auto;bottom:auto;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);transform:translate(-50%,-50%);border:0;border-radius:24px;padding:28px 32px 26px;box-shadow:0 24px 60px -20px rgba(13,27,62,.45);animation:dmpop .22s cubic-bezier(.2,.8,.2,1)}
  .dmdlg.is-out .dmdlg__in{transform:translate(-50%,-50%) scale(.96)!important;opacity:0;transition:.18s}
  .dmdlg__grab{display:none!important}
  .dmdlg__x{background:var(--sky)}
  @keyframes dmpop{from{transform:translate(-50%,-48%) scale(.96);opacity:0}}
}
.dmdlg__grab{display:block;width:42px;height:5px;border-radius:9px;background:#C9D4E8;margin:0 auto 6px}
.dmdlg__x{flex:none;width:40px;height:40px;margin:0 -4px -3px 0;border-radius:50%;border:0;background:var(--sky);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.dmdlg__x:focus{outline:none}
.dmdlg__x svg{width:22px;height:22px}
.dmdlg__head{display:flex;align-items:flex-end;gap:8px;padding:6px 0 4px 2px}   /* clock pill and close sit on the ภารกิจวันนี้ line (owner 2026-11-25) */
.dmdlg__tt{flex:1;min-width:0;display:flex;flex-direction:column}
.dmdlg__k{font-size:16px;color:var(--orange);line-height:1;margin-bottom:4px}   /* small enough to clear วันนี้'s upper vowels (owner 2026-11-19) */
.dmdlg__head h2{margin:0;font-size:28px;line-height:1.2;color:var(--blue)}
.dmdlg__u{position:relative;color:var(--ink);margin-left:4px}
.dmdlg__u:after{content:"";position:absolute;left:-2px;right:-4px;bottom:-1px;height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6c20-4 40 2 60-1s26-1 36 0' fill='none' stroke='%23F26C21' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.dmdlg__left{flex:none;margin:0 0 2px;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:99px;background:var(--ink);color:#fff;font-size:12.5px;white-space:nowrap}
.dmdlg__left svg{width:16px;height:16px}
.dmdlg__left b{font-variant-numeric:tabular-nums}
/* phones: the title stays on one line so the clock pill sits beside ภารกิจวันนี้, not beside a wrapped วันนี้ (owner 2026-11-25) */
@media (max-width:640px){
  .dmdlg__head h2{font-size:26px;white-space:nowrap}
  .dmdlg__left{font-size:11.5px;padding:4px 8px;gap:4px}
  .dmdlg__left svg{width:15px;height:15px}
}
@media (max-width:370px){ .dmdlg__left > span{font-size:0} .dmdlg__left b{font-size:12px} }
.dmlist{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.dmrow{display:grid;grid-template-columns:44px 1fr auto auto;align-items:center;gap:10px;padding:10px 10px 10px 8px;background:#fff;border:2px solid var(--ink);border-radius:16px;box-shadow:2px 2px 0 #C9D4E8}
.dmrow.is-done:not(.is-got){box-shadow:3px 3px 0 var(--orange)}
.dmrow.is-got{background:#F1F4FA;box-shadow:none;border-color:#AEB9CF}
.dmrow.is-got .dmrow__ic,.dmrow.is-got .dmrow__pay{opacity:.55}
.dmrow__ic svg{width:42px;height:42px;display:block}
.dmrow__t{min-width:0;display:flex;flex-direction:column;gap:6px}
.dmrow__t>b{font-size:15px;line-height:1.35;font-weight:600;text-wrap:pretty}
.dmrow__p{display:flex;align-items:center;gap:8px}
.dmrow__bar{flex:1;height:8px;border-radius:9px;background:#E3EAF6;overflow:hidden}
.dmrow__bar i{display:block;height:100%;background:var(--orange);border-radius:9px}
.dmrow.is-done .dmrow__bar i{background:#22A06B}
.dmrow__p em{font-style:normal;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;min-width:34px}
.dmrow__pay{display:flex;flex-direction:column;align-items:center;gap:0;min-width:36px}
.dmrow__pay svg{width:28px;height:28px}
.dmrow__pay b{font-size:14px;line-height:1.1}
.dmbtn{min-width:84px;padding:8px 10px;border-radius:99px;font:inherit;font-size:14px;font-weight:700;text-align:center;text-decoration:none;border:1.5px solid var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}
.dmbtn svg{width:15px;height:15px}
.dmbtn.is-go{background:#fff;color:var(--blue);border-color:var(--blue)}
.dmbtn.is-ready{background:var(--orange);color:#fff;box-shadow:2px 2px 0 var(--ink);animation:dmglow 1.6s ease-in-out infinite}
@keyframes dmglow{50%{box-shadow:2px 2px 0 var(--ink),0 0 0 6px rgba(242,108,33,.22)}}
.dmbtn.is-got{background:transparent;color:#22A06B;border-color:transparent;cursor:default}
.dmbtn.is-lock{background:#E3EAF6;color:#4B5675;border-color:#C9D4E8;cursor:default}
.dmrow--bonus{background:#FFF7D6;border-style:dashed}
/* getting-started card (owner 2026-11-27): a different colour, above the missions */
.dmstart{padding:12px 12px 10px;border:2px solid var(--ink);border-radius:18px;background:linear-gradient(160deg,#FFF6CC,#FFE27A);box-shadow:3px 3px 0 var(--orange);list-style:none}   /* yellow (owner 2026-11-28) */
.dmstart__h{display:flex;align-items:baseline;gap:8px;margin:0 0 8px}
.dmstart__h .hand{font-size:18px;color:#C2410C}
.dmstart__h b{font-size:16px;color:var(--ink)}
.dmstart__h em{margin-left:auto;font-style:normal;font-weight:700;font-size:14px;color:#C2410C}
.dmstart ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.dmstart__row{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:8px 8px 8px 6px;border-radius:12px;background:rgba(255,255,255,.85)}
.dmstart__t{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.dmstart__t b{font-size:15px}
.dmstart__t small{font-size:12.5px;color:var(--ink-soft)}
.dmstart .dmbtn{width:76px;min-width:0}
.dmstart__pay{display:inline-flex;align-items:center;gap:2px;margin-left:4px;font-size:13px;color:#C2410C;white-space:nowrap;vertical-align:1px}
.dmstart__pay svg{width:18px;height:18px}
.dmstart__row.is-got .dmrow__ic,.dmstart__row.is-got .dmstart__t{opacity:.55}
.dmwel__img{display:block;width:200px;height:auto;margin:6px auto 4px}
.dmwel__p{margin:6px 0 0;font-size:15px;color:var(--ink-soft)}
.dmwel__p b{color:#C2410C;font-size:17px}
.dmrow--bonus.is-done{border-style:solid}

.dmdlg__sum{margin:14px 0 0;font-size:14px;text-align:center;color:#4B5675}
.dmdlg__sum b{color:var(--orange)}
@media (prefers-reduced-motion:reduce){.dmst__ic svg,.dmbtn.is-ready{animation:none}}

/* mission rows: fixed columns so every progress bar and joy face lines up; height follows the title (owner 2026-11-19) */
.dmrow{grid-template-columns:36px 1fr 34px 76px;gap:10px;padding:10px 10px 10px 8px}
.dmrow__ic svg{width:34px;height:34px}
.dmrow__t{gap:6px}
.dmrow__t>b{font-size:14px;line-height:1.35}
.dmrow__pay{min-width:0}
.dmrow__pay svg{width:24px;height:24px}
.dmrow__pay b{font-size:13px}
.dmbtn{min-width:0;width:76px;padding:7px 4px}
.dmbtn.is-got{padding:7px 0}
@media (max-width:640px){
  .dmrow{grid-template-columns:34px 1fr 30px 66px;gap:8px}
  .dmbtn{width:66px}
}
.dmlist{gap:8px}
.dmrow__p em{min-width:0;width:42px;flex:none;text-align:right}
/* joy reward on the progress bar's line (owner 2026-11-19): title across the top, bar + count + joy below it */
.dmrow{grid-template-columns:36px 1fr 54px 76px;grid-template-rows:auto auto;row-gap:6px;column-gap:10px}
.dmrow__t{display:contents}
.dmrow__ic{grid-column:1;grid-row:1/3}
.dmrow__t>b{grid-column:2/4;grid-row:1}
.dmrow__p{grid-column:2;grid-row:2}
.dmrow__pay{grid-column:3;grid-row:2;flex-direction:row;justify-content:flex-start;gap:3px}
.dmrow>.dmbtn{grid-column:4;grid-row:1/3}
.dmrow__pay svg{width:22px;height:22px}
@media (max-width:640px){.dmrow{grid-template-columns:34px 1fr 50px 66px;column-gap:8px}}
/* phones: Space sits as far below the mission strip as on computers, 26px (owner 2026-11-19; .h2sec's 34px won before) */
@media (max-width:640px){.h2me .dmst + .h2sec--top{margin-top:26px}}

/* Happy Birthday card (owner 2026-11-20, birthday-home.js): first in the horoscope/quiz row on the member's birthday */
.h2bday{position:relative;overflow:hidden;background:#FFE1EC;color:var(--ink);box-shadow:4px 4px 0 var(--orange);cursor:pointer}
.h2bday:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(80% 110% at 100% 100%,rgba(255,216,77,.55),transparent 62%)}
.h2bday>*{position:relative}
.h2bday__ic{position:relative;flex:none;width:64px;height:64px}
.h2bday__cake{width:64px;height:64px;overflow:visible;animation:h2bdayBob 2.2s ease-in-out infinite;transform-origin:50% 100%}
.h2bday__n{position:absolute;top:-6px;right:-8px;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#E5322D;color:#fff;font-size:12px;font-weight:700;line-height:22px;text-align:center;box-shadow:0 0 0 2px #fff}
.h2bday__t{min-width:0;display:grid;gap:3px;justify-items:start}
.h2bday__k{font-size:12px;font-weight:700;color:#D6336C;letter-spacing:.02em}
.h2bday__t b{font-size:16px;line-height:1.25}
.h2bday__go{position:relative;overflow:hidden;display:inline-flex;align-items:center;margin-top:3px;background:var(--orange);color:#fff;font-weight:700;font-size:13px;border-radius:99px;padding:4px 12px;border:1.5px solid #fff}
.h2bday__go:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.7) 50%,transparent 70%);transform:translateX(-120%);animation:h2bdaySweep 2.6s ease-in-out infinite}
@media (min-width:900px){.h2bday__k{font-size:14px}.h2bday__t b{font-size:18px}.h2bday__go{font-size:15px}}
.h2top[data-theme="orange"] .h2bday,.h2top[data-theme="cherry"] .h2bday{box-shadow:4px 4px 0 var(--ink)}
.bdc__flame{transform-box:fill-box;transform-origin:50% 100%;animation:bdcFlick .45s ease-in-out infinite alternate}
.bdc__fire:nth-of-type(2) .bdc__flame{animation-delay:-.15s}
.bdc__smoke{opacity:0}
@keyframes h2bdayBob{50%{transform:rotate(-4deg) translateY(-2px)}}
@keyframes h2bdaySweep{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@keyframes bdcFlick{to{transform:scale(.82,1.12) rotate(-7deg)}}

/* confetti layer (fixed, above everything in its host: body or the open pop-up) */
.bdconf{position:fixed;inset:0;z-index:200;pointer-events:none;overflow:hidden}
.bdconf i{position:absolute;top:0;left:0;width:8px;height:12px;margin:-6px 0 0 -4px;border-radius:2px;will-change:transform,opacity;backface-visibility:visible}

/* the pop-up: blow the candles, then the blessing + friends' wishes */
.bdpop.bdpop{width:min(440px,calc(100vw - 32px));margin:auto;padding:4px;overflow:visible}
.bdpop .bdpop__card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 20px 20px;border-radius:28px;text-align:center;background:linear-gradient(#FFF0F5,#fff 46%);max-height:calc(100dvh - 40px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.bdpop__cake{display:block;padding:0;border:0;background:none;cursor:pointer;line-height:0;-webkit-tap-highlight-color:transparent}
.bdpop__svg{width:132px;height:132px;overflow:visible}
.bdpop__t{display:grid;gap:0;margin:2px 0 0;line-height:1.25}
.bdpop__t small{font-family:var(--f-hand);font-size:24px;font-weight:400;color:#D6336C}
.bdpop__t b{font-size:26px;color:var(--blue);text-wrap:balance}

.bdpop__ask{margin:0;font-size:17px;font-weight:600}
.bdpop__blow{min-width:200px;justify-content:center;font-size:18px;background:var(--orange);color:#fff;animation:bdpopPulse 1.4s ease-in-out infinite}
.bdpop__peek{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:600;color:#D6336C}
.bdpop__peek svg,.bdpop__wishes h3 svg{width:20px;height:20px;flex:none}

.bdpop__bless{display:grid;justify-items:center;gap:2px;padding:12px 14px;border-radius:18px;background:#FFF6D6;box-shadow:inset 0 0 0 2px #FFD84D}
.bdpop__bless small{font-size:13px;font-weight:700;color:var(--orange)}
.bdpop__bless p{margin:2px 0 0;font-size:24px;line-height:1.35;color:var(--ink);text-wrap:balance}
.bdpop__wishes{display:flex;flex-direction:column;min-height:0;text-align:left}
.bdpop__wishes h3{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:16px;color:#D6336C}
.bdpop__wishes h3 b{color:var(--ink)}
.bdw{list-style:none;margin:0;padding:4px;display:grid;gap:8px;max-height:min(260px,34dvh);overflow-y:auto;overscroll-behavior:contain;border-radius:16px;background:var(--sky)}
.bdw__i{display:flex;gap:10px;padding:10px 12px;border-radius:14px;background:#fff}
.bdw__face{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--ink)}
.bdw__face.is-init{display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:700}
.bdw__b{min-width:0;flex:1}
.bdw__who{display:flex;justify-content:space-between;gap:8px;margin:0;font-size:15px}
.bdw__who time{flex:none;font-size:12px;color:#5A6683}
.bdw__b small{display:block;font-size:12px;color:#5A6683;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bdw__msg{margin:4px 0 0;font-size:15px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-line}
.bdpop__done{align-self:center;min-width:180px;justify-content:center}
/* blowing: the flames go out, smoke rises, the cake settles smaller above the wishes */
.is-blown .bdpop__svg .bdc__flame{animation:bdcOut .35s ease-in forwards}
.is-blown .bdpop__svg .bdc__smoke{animation:bdcSmoke 1.4s ease-out .25s forwards}
@keyframes bdcOut{to{transform:scale(.1,.4) translateY(6px);opacity:0}}
@keyframes bdcSmoke{0%{opacity:0;transform:translateY(4px)}30%{opacity:.9}100%{opacity:0;transform:translateY(-14px)}}
@keyframes bdpopPulse{50%{transform:scale(1.05)}}
@media (prefers-reduced-motion:reduce){.h2bday__cake,.h2bday__go:after,.bdc__flame,.bdpop__blow{animation:none}.is-blown .bdpop__svg .bdc__flame{animation:none;opacity:0}}

.bdpop:focus,.bdpop:focus-visible{outline:none}
/* mic blowing (owner 2026-11-20): --lv = how hard right now (0-1), --pg = share of the 3 s done */
.bdpop__mic{display:grid;justify-items:center;gap:8px;width:100%}
.bdpop__mic[hidden],.bdpop__blow[hidden]{display:none}
.bdpop__hint{margin:0;font-size:16px;font-weight:700;color:#D6336C}
.bdpop__meter{display:block;width:min(240px,80%);height:12px;border-radius:99px;background:#FFE1EC;box-shadow:inset 0 0 0 2px var(--ink);overflow:hidden}
.bdpop__meter i{display:block;height:100%;width:calc(var(--pg,0) * 100%);background:linear-gradient(90deg,#FF7FAE,var(--orange));border-radius:99px;transition:width .1s linear}
.bdpop__tap{font-size:14px}
.bdpop__svg .bdc__fire{transform-box:fill-box;transform-origin:50% 100%;transform:rotate(calc(var(--lv,0) * -26deg)) scale(calc(1 - var(--pg,0) * .5),calc(1 - var(--lv,0) * .25))}
.bdpop__tap[hidden]{display:none}
/* full meter holds and shakes until the blessing (owner 2026-11-20); เป่าเค้กอีกรอบ next to ขอบคุณ */
.is-full .bdpop__meter{animation:bdpopShake .12s linear infinite;box-shadow:inset 0 0 0 2px var(--ink),0 0 14px rgba(242,108,33,.55)}
.is-full .bdpop__meter i{transition:none}
@keyframes bdpopShake{0%{transform:translate(0,0) rotate(0)}25%{transform:translate(-2px,1px) rotate(-1deg)}50%{transform:translate(2px,-1px) rotate(1deg)}75%{transform:translate(-1px,-1px) rotate(-.5deg)}100%{transform:translate(1px,1px) rotate(.5deg)}}
.bdpop__row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.bdpop__row .btn{min-width:0;flex:1 1 0;justify-content:center;white-space:nowrap;padding-left:12px;padding-right:12px}
.bdpop .bdpop__done{min-width:0}
.bdpop__again{gap:6px;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 2px var(--orange)}
.bdpop__mini{width:24px;height:24px;flex:none;overflow:visible}
@media (prefers-reduced-motion:reduce){.is-full .bdpop__meter{animation:none}}

/* card: crisp paper bits of one size falling behind the text (owner 2026-11-20) */
.h2bday>.h2bday__bits{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.h2bday__bits i{position:absolute;top:0;width:6px;height:9px;border-radius:1.5px;opacity:.85;animation:h2bdayFall 4.6s linear infinite}
.h2bday__bits i:nth-child(odd){animation-duration:5.4s}
@keyframes h2bdayFall{from{transform:translateY(-14px) rotate(0)}to{transform:translateY(140px) rotate(320deg)}}
.h2bday>.h2bday__ic,.h2bday>.h2bday__t{z-index:1}
@media (prefers-reduced-motion:reduce){.h2bday__bits i{animation:none;top:30%}}
/* the greeting photo's wrapper (bday.js badge sits on it) */
.h2avw{position:relative;flex:none;display:flex;align-items:flex-start}

/* five cakes in a row: swipe, dots, hint, locked cakes (owner 2026-11-20) */
.bdcar{position:relative;width:100%;margin-top:2px}
.bdcar__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.bdcar__track::-webkit-scrollbar{display:none}
.bdcar__s{flex:0 0 100%;scroll-snap-align:center;display:grid;justify-items:center;gap:2px;padding-top:8px}
.bdcar__s .bdpop__cake{position:relative}
.bdcar__name{margin:0;font-size:15px;font-weight:700;color:var(--ink)}
.bdcar__name small{margin-left:4px;font-size:12px;font-weight:600;color:#5A6683}

.bdcar__s.is-locked .bdpop__svg{filter:grayscale(1) opacity(.45)}

.bdcar__s.is-locked :is(.bdc__fire,.bdc__smoke){visibility:hidden}
.bdcar__s.is-blown .bdpop__svg .bdc__flame{animation:bdcOut .35s ease-in forwards}
.bdcar__s.is-blown .bdpop__svg .bdc__smoke{animation:bdcSmoke 1.4s ease-out .25s forwards}
.bdcar__nav{position:absolute;top:58px;z-index:2;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 0 0 1.5px var(--ink),2px 2px 0 var(--orange);cursor:pointer}
.bdcar__nav svg{width:18px;height:18px}
.bdcar__nav--prev{left:0}.bdcar__nav--next{right:0}
.bdcar__nav:disabled{opacity:0;pointer-events:none}
.bdcar__foot{display:grid;justify-items:center;gap:4px}
.bdcar__dots{display:flex;gap:6px}
.bdcar__dots i{width:8px;height:8px;border-radius:9px;background:#D9DEEA;transition:width .2s,background .2s}
.bdcar__dots i.is-done{background:#FFB0CC}
.bdcar__dots i.is-on{width:20px;background:var(--orange)}

.bdpop__body{display:grid;justify-items:center;gap:10px;width:100%;margin-top:4px}
.bdpop__body .bdpop__bless,.bdpop__body .bdpop__row{width:100%}
.bdpop__locked{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:15px;font-weight:600;text-align:left}
.bdpop__locked svg{width:26px;height:30px;flex:none}
.bdpop__all{margin:0;font-size:14px;font-weight:700;color:#D6336C}
.bdpop__wishes{width:100%}
.bdpop__wishes[hidden]{display:none}

.bdcar__s[hidden],.bdcar__dots i[hidden]{display:none}
.bdpop__gift{margin:0;padding:6px 14px;border-radius:99px;background:#FFD84D;box-shadow:0 0 0 1.5px var(--ink),2px 2px 0 var(--orange);font-size:15px;font-weight:700;animation:bdgift .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes bdgift{from{transform:scale(.4);opacity:0}}
/* blown cakes in the row: flames already out, no smoke (owner 2026-11-20) */
.bdcar__s.is-done .bdc__fire,.bdcar__s.is-done .bdc__smoke{display:none}

/* owner 2026-11-23: the horoscope card became ลอยกระทงออนไลน์ (same night card, a bobbing krathong doodle) */
.h2loy__f{transform-box:fill-box;transform-origin:50% 100%;animation:h2loyf 1.2s ease-in-out infinite}
@keyframes h2loyf{50%{transform:scale(1.08,.9) rotate(4deg)}}
.h2loy__w{animation:h2loyw 2.4s ease-in-out infinite}
@keyframes h2loyw{50%{transform:translateX(-3px)}}
@media (prefers-reduced-motion:reduce){.h2loy__f,.h2loy__w{animation:none}}
.h2loy .h2horo__go{gap:4px}
.h2loy__joy{width:17px;height:17px;flex:none}
.h2loy__fw{position:absolute!important;width:46px;height:46px;opacity:0;pointer-events:none;animation:h2fw 3.6s ease-out infinite}
.h2loy__fw svg{width:100%;height:100%;fill:none;stroke-width:2.6;stroke-linecap:round}
.h2loy__fw--a{right:14px;top:8px}
.h2loy__fw--b{right:62px;top:-4px;width:34px;height:34px;animation-delay:1.2s}
.h2loy__fw--c{right:30px;bottom:10px;width:30px;height:30px;animation-delay:2.4s}
@keyframes h2fw{0%{opacity:0;transform:scale(.15)}8%{opacity:1}30%{opacity:1;transform:scale(1)}48%,100%{opacity:0;transform:scale(1.15) translateY(4px)}}
@media (prefers-reduced-motion:reduce){.h2loy__fw{animation:none}}
.dmstart__h{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 8px}
.dmstart__h .hand{grid-area:1/1}
.dmstart__h em{grid-area:1/2}
.dmstart__h b{grid-area:2/1/3/3}
.dmstart__joy{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.dmstart__joy svg{width:20px;height:20px;vertical-align:-4px}
.dmst--new{background:linear-gradient(160deg,#FFF6CC,#FFE27A)}
.dmst--new .dmst__ic{background:#fff}
.dmst--new .dmst__t small{color:#C2410C}

/* Top Space (owner 2026-11-30): the week's 10 most-liked posts, a big hand-written rank on each (owner: Top 10, no circle) */
.h2top5{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-16px;padding:4px 16px 8px 2px;scrollbar-width:none}
.h2top5::-webkit-scrollbar{display:none}
.h2top5__c{flex:none;position:relative;width:138px;aspect-ratio:3/4;border-radius:16px;overflow:hidden;border:2px solid var(--ink);box-shadow:4px 4px 0 var(--orange);background:#222 center/cover;color:#fff;text-decoration:none;scroll-snap-align:start}
.h2top5__c:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),transparent 32%,transparent 52%,rgba(0,0,0,.75))}
.h2top5__rk{position:absolute;z-index:1;left:16px;bottom:30px;font-size:52px;line-height:1;color:#fff;-webkit-text-stroke:2px var(--ink);paint-order:stroke fill;padding:0 .12em}
.h2top5__lk{position:absolute;z-index:1;right:7px;top:7px;display:inline-flex;align-items:center;gap:3px;font-size:13px;font-weight:700;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:99px;padding:1px 8px 1px 5px}
.h2top5__lk svg{width:15px;height:15px;fill:var(--orange);stroke:var(--ink);stroke-width:1.8;stroke-linejoin:round}
.h2top5__by{position:absolute;z-index:1;left:8px;right:8px;bottom:8px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;min-width:0}
.h2top5__by>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.h2top5__av{flex:none;width:22px;height:22px;border-radius:50%;object-fit:cover;border:1.5px solid #fff;font-size:11px}
.h2top5__av.is-init{display:grid;place-items:center;color:#fff;background:var(--orange)}
.h2top5 .h2st__alb{top:36px;bottom:auto}
@media (min-width:641px){
  .h2top5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 16px;overflow:visible;margin-right:0;padding-right:0}
  .h2top5__c{width:auto;min-width:0}
  .h2top5__rk{font-size:64px}
  .h2top5__by{font-size:14px}
}
/* เพื่อนรู้ใจ on home (owner 2026-12-01, design for review; home-gotit.js): the card that leads the top row, in the
   /gotit look (blue, scribble, yellow pill), and the คู่ซี้ประจำเดือน section */
.h2gotit{position:relative;overflow:hidden;isolation:isolate;background:#1A56DB;color:#fff;box-shadow:4px 4px 0 #FFD23F}
.h2gotit__scrib{position:absolute;z-index:-1;right:-30px;top:-40px;width:210px;height:210px;max-width:none;fill:none;stroke:#2F6BEA;stroke-width:34;stroke-linecap:round}
.h2gotit__ic{flex:none;width:60px;height:60px;overflow:visible;animation:h2gotitBob 2.2s ease-in-out infinite;transform-origin:50% 60%}
@keyframes h2gotitBob{50%{transform:translateY(-3px) rotate(-5deg)}}
.h2gotit__faces{flex:none;display:flex}
.h2gotit__faces .h2gi__f{width:52px;height:52px;font-size:20px;border-color:#fff;box-shadow:0 0 0 2px #0D1B3E}
.h2gotit__faces .h2gi__f+.h2gi__f{margin-left:-16px}
.h2gotit__t{min-width:0;display:grid;gap:3px;justify-items:start}
.h2gotit__t small{font-size:12px;font-weight:700;color:#FFD23F;letter-spacing:.02em}
.h2gotit__t b{font-size:16px;line-height:1.25}
.h2gotit__t em{font-style:normal;color:#FFD23F;white-space:nowrap}
.h2gotit__go{display:inline-flex;align-items:center;gap:5px;margin-top:3px;background:#FFD23F;color:#0D1B3E;font-weight:700;font-size:13px;border-radius:99px;padding:4px 12px;border:1.5px solid #0D1B3E;box-shadow:2px 2px 0 #0D1B3E}
.h2gotit__go i{display:inline-flex;align-items:center;gap:3px;font-style:normal}
.h2gotit__go svg{width:18px;height:18px}
.h2top:is([data-theme="blue"],[data-theme="ink"],[data-theme="navy"]) .h2gotit{box-shadow:4px 4px 0 #FFD23F;border-color:#fff}
@media (prefers-reduced-motion:reduce){.h2gotit__ic{animation:none}}
.h2gi{display:grid;gap:12px;min-width:0}
.h2gi__f{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--ink);background:var(--sky-deep);font-size:16px}
.h2gi__f.is-init{display:grid;place-items:center;font-weight:700;color:#fff;background:var(--orange)}
.h2gi__pairs{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-16px;padding:4px 16px 8px 2px;scrollbar-width:none}
.h2gi__pairs::-webkit-scrollbar{display:none}
.h2gi__pair{flex:none;position:relative;width:150px;display:grid;justify-items:center;gap:4px;padding:16px 10px 12px;border:2px solid var(--ink);border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;text-align:center;box-shadow:4px 4px 0 var(--blue);scroll-snap-align:start}
.h2gi__pair.is-mutual{background:#FFF4CC;box-shadow:4px 4px 0 var(--orange)}
.h2gi__rk{position:absolute;left:10px;top:4px;font-size:26px;line-height:1;color:var(--blue)}
.h2gi__duo{display:flex}
.h2gi__duo .h2gi__f{width:52px;height:52px;font-size:20px;box-shadow:0 0 0 2px #fff}
.h2gi__duo .h2gi__f+.h2gi__f{margin-left:-14px}
.h2gi__sc{font-size:40px;line-height:1;color:var(--orange);-webkit-text-stroke:1.5px var(--ink);paint-order:stroke fill;font-weight:400}
.h2gi__sc small{font-size:20px}
.h2gi__who{font-size:13px;line-height:1.35;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.h2gi__tag{font-size:11px;font-weight:700;padding:1px 8px;border-radius:99px;background:var(--orange);color:#fff;border:1.5px solid var(--ink);white-space:nowrap}
.h2gi__none{margin:0;padding:16px;border:2px dashed #9FB3DA;border-radius:18px;color:#5A6787;font-size:14px;text-align:center;text-wrap:balance}
@media (min-width:900px){
  .h2gi__pairs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;overflow:visible;margin-right:0;padding-right:4px}
  .h2gi__pair{width:auto;min-width:0}
}
