:root {
  --void: #07061a;
  --deep: #110d2e;
  --ink: #1d1648;
  --gold: #e8c27c;
  --gold-hi: #fdebbd;
  --gold-lo: #8d6c32;
  --violet: #8f7cff;
  --rose: #ff8fc4;
  --red: #ff8a73;
  --jade: #5fd0b3;
  --text: #f5efe2;
  --dim: #aaa4c6;
  --line: rgba(232, 194, 124, .22);
  --aurora: linear-gradient(100deg, #8f7cff, #ff8fc4 50%, #e8c27c);
  --r: 24px;
  --pad: max(16px, env(safe-area-inset-left));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh; color: var(--text); background: var(--void);
  font: 16px/1.65 'IBM Plex Sans Thai', system-ui, sans-serif;
  overflow-x: hidden;
}
#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(143, 124, 255, .22), transparent 70%),
    radial-gradient(50% 35% at 100% 60%, rgba(255, 143, 196, .10), transparent 70%),
    radial-gradient(80% 40% at 50% 110%, rgba(232, 194, 124, .14), transparent 70%);
}
.serif { font-family: 'Noto Serif Thai', serif; }
.latin { font-family: 'Cinzel', serif; letter-spacing: .5em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

#app { position: relative; z-index: 1; width: min(520px, 100%); margin: 0 auto; padding: 0 var(--pad) 64px; }
.screen { display: none; }
.screen.on { display: block; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- glass ---------- */
.glass {
  position: relative; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* ---------- intro ---------- */
.brand { text-align: center; padding: 56px 0 30px; }
.brand .mark { display: inline-block; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px) rotate(4deg); } }
.brand h1 { margin-top: 14px; font-size: clamp(44px, 13vw, 60px); font-weight: 900; line-height: 1.15; color: var(--gold-hi); }
.brand .latin { margin-top: 6px; font-size: 12px; color: var(--gold); }
.brand .tag { margin-top: 18px; font-size: 18px; color: var(--text); opacity: .9; }

form { padding: 22px 20px 20px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--gold); }
.field em { font-style: normal; color: var(--dim); font-size: 12px; margin-left: 4px; }
.field input:not([type=radio]) {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  background: rgba(7, 6, 26, .55); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 17px; color-scheme: dark; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 194, 124, .18); }
.field input::placeholder { color: rgba(170, 164, 198, .6); }
.row2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(7, 6, 26, .55); border: 1px solid rgba(255, 255, 255, .1); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg b { display: block; text-align: center; padding: 9px 0; border-radius: 11px; font-weight: 500; font-size: 15px; color: var(--dim); transition: .2s; }
.seg input:checked + b { background: rgba(232, 194, 124, .16); color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 194, 124, .45); }
.seg input:focus-visible + b { outline: 2px solid var(--gold); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--dim); line-height: 1.55; }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--gold); flex: none; }
.consent b { color: var(--text); font-weight: 500; }
.err { min-height: 0; color: var(--red); font-size: 14px; }
.err:empty { display: none; }
.fine { text-align: center; font-size: 12px; color: var(--dim); }

.cta {
  position: relative; display: block; width: 100%; min-height: 56px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #c9a15d);
  color: #1a1238; font-weight: 600; font-size: 18px; text-align: center; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 30px rgba(0, 0, 0, .4);
  overflow: hidden; transition: transform .15s;
}
.cta span { position: relative; display: block; padding: 15px 0; }
.cta::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen { 60%, 100% { left: 130%; } }
.cta:active { transform: scale(.98); }
.ghost {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 14px;
  background: rgba(7, 6, 26, .4); border: 1px solid var(--line); color: var(--gold-hi);
}
.ghost:hover { border-color: var(--gold); }

/* ---------- ritual ---------- */
#ritual { text-align: center; padding-top: 12vh; }
#ritual.on { display: block; }
#ritualRing { width: min(340px, 82vw); height: auto; }
.ritual-title { margin-top: 18px; font-size: 26px; font-weight: 800; color: var(--gold-hi); }
.ritual-seat { margin-top: 6px; color: var(--dim); font-size: 15px; min-height: 1.6em; }

/* ---------- result ---------- */
.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 10px; }
.mini-brand { display: flex; align-items: center; gap: 10px; }
.mini-brand b { font-size: 20px; color: var(--gold-hi); }
.hello { font-size: 15px; color: var(--dim); }
.hello b { color: var(--text); font-weight: 600; }

.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0 18px; padding: 5px; border-radius: 18px; background: rgba(7, 6, 26, .6); border: 1px solid rgba(255, 255, 255, .08); }
.tabs button { position: relative; z-index: 1; min-height: 46px; font-size: 15px; white-space: nowrap; border: 0; background: none; color: var(--dim); font-weight: 500; transition: color .25s; }
.tabs button.on { color: #1a1238; }
.tab-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 13px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); transition: transform .35s cubic-bezier(.3, .8, .2, 1); }
.tabs[data-on='1'] .tab-ink { transform: translateX(100%); }
.tabs[data-on='2'] .tab-ink { transform: translateX(200%); }
.pane { display: none; }
.pane.on { display: grid; gap: 14px; animation: rise .45s both; }

.kicker { font-size: 13px; color: var(--gold); letter-spacing: .02em; }
.hero-card { padding: 24px 22px; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--aurora); opacity: .8; }
.hero-card h2 { margin-top: 6px; font-size: clamp(27px, 7.4vw, 34px); font-weight: 900; line-height: 1.3; color: var(--gold-hi); text-wrap: balance; }
.hero-card .lede { margin-top: 10px; color: var(--text); opacity: .88; }
.hours { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hours span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(95, 208, 179, .4); color: var(--jade); background: rgba(95, 208, 179, .07); }
.hours span.bad { border-color: rgba(255, 138, 115, .4); color: var(--red); background: rgba(255, 138, 115, .07); }

.groups { display: grid; gap: 10px; }
.group { padding: 16px 18px; border-radius: 20px; }
.group > button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; background: none; border: 0; text-align: left; }
.group .ic { font-size: 24px; line-height: 1; }
.group .nm { font-weight: 600; font-size: 17px; }
.group .nm small { display: block; font-weight: 400; font-size: 13px; color: var(--dim); }
.stars { font-family: 'Chakra Petch'; font-size: 15px; letter-spacing: 2px; color: var(--gold-hi); white-space: nowrap; }
.stars i { font-style: normal; color: rgba(255, 255, 255, .18); }
.group.low .stars { color: var(--red); }
.group .more { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .1); font-size: 15px; }
.group.open .more { display: block; animation: rise .3s both; }
.group .more p + p { margin-top: 6px; }
.group .more .ok::before { content: '✦ '; color: var(--jade); }
.group .more .no::before { content: '✕ '; color: var(--red); }
.bar { height: 4px; border-radius: 2px; margin-top: 12px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 2px; background: var(--aurora); transform-origin: left; animation: grow 1s cubic-bezier(.2, .7, .2, 1) both; }
.group.low .bar i { background: linear-gradient(90deg, #ff6f5a, var(--red)); }
@keyframes grow { from { transform: scaleX(0); } }

.clash { padding: 16px 18px; border-radius: 20px; font-size: 14.5px; line-height: 1.6; background: rgba(255, 138, 115, .07); border: 1px solid rgba(255, 138, 115, .3); }
.clash b { color: var(--red); font-weight: 600; }
.note { font-size: 13px; color: var(--dim); }
.note:empty { display: none; }
.disclaimer { text-align: center; font-size: 12.5px; color: var(--dim); line-height: 1.6; }
.share { margin-top: 4px; }

/* ---------- lotto ---------- */
.lotto-card { padding: 20px 16px 18px; text-align: center; overflow: hidden; }
.lotto-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--aurora); opacity: .8; }
.orrery { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin: 4px auto 0; }
.orrery svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; }
.core > span { color: var(--gold); font-size: 15px; }
.core small { font-size: 12.5px; color: var(--dim); max-width: 210px; line-height: 1.45; }
.tiles { display: flex; gap: clamp(3px, 1.2vw, 6px); }
.tiles span {
  width: clamp(34px, 9.6vw, 44px); height: clamp(46px, 13vw, 58px); border-radius: 10px;
  display: grid; place-items: center; font: 700 clamp(28px, 8vw, 38px)/1 'Chakra Petch', sans-serif; color: var(--gold-hi);
  background: linear-gradient(180deg, #2c2163, #120d30); border: 1px solid rgba(232, 194, 124, .55);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), 0 8px 18px rgba(0, 0, 0, .45);
  animation: flip .7s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes flip { from { transform: rotateX(90deg); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--dim); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.quote { margin-top: 14px; font-size: 16px; line-height: 1.6; }
.quote em { font-style: normal; color: var(--red); }
.quote:empty { display: none; }
.lotto-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }

.warn { padding: 18px 18px 16px; }
.warn h3 { font-size: 15px; font-weight: 500; color: var(--gold); }
.warn ul { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.warn li { font-size: 14px; color: var(--dim); line-height: 1.5; display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: baseline; }
.warn li b { font: 600 17px 'Chakra Petch', sans-serif; color: var(--gold-hi); }
.warn .help { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .1); font-size: 13px; color: var(--dim); }
.warn .help b { color: var(--jade); }

/* ---------- share sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: rgba(4, 3, 14, .78); backdrop-filter: blur(6px); }
.sheet[hidden] { display: none; }
.sheet-box { width: min(380px, 100%); padding: 16px; text-align: center; animation: rise .35s both; }
.sheet-box img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; }
.sheet-box p { margin-top: 10px; font-size: 13px; color: var(--dim); }
.sheet-box .cta { width: auto; flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* กล่องในกริดต้องหดตามจอได้ ไม่งั้นช่องวันที่/เวลาดันทั้งหน้าล้นจอมือถือ */
.field, .row2 > *, .pane > *, .groups > *, form > * { min-width: 0; }
.field input { min-width: 0; }

/* ---------- ช่วงเวลา ---------- */
.spans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.spans button { min-height: 40px; border-radius: 999px; font-size: 14px; color: var(--dim); background: rgba(7, 6, 26, .5); border: 1px solid rgba(255, 255, 255, .1); transition: .2s; }
.spans button.on { color: var(--gold-hi); border-color: var(--gold); background: rgba(232, 194, 124, .12); }
.spans button:disabled { opacity: .6; cursor: progress; }
.buy { padding: 18px 20px; border-color: rgba(95, 208, 179, .45); background: linear-gradient(135deg, rgba(95, 208, 179, .12), rgba(143, 124, 255, .06)); }
.buy h3 { font-size: 14px; font-weight: 500; color: var(--jade); }
.buy p.big { margin-top: 4px; font-size: 22px; font-weight: 800; line-height: 1.35; }
.buy p.sub { margin-top: 6px; font-size: 14px; color: var(--dim); }
.spark { padding: 16px 18px 14px; }
.spark svg { display: block; width: 100%; height: 110px; margin-top: 8px; overflow: visible; }
.spark-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-top: 4px; }
.spark-note { margin-top: 8px; font-size: 13.5px; line-height: 1.55; }
.spark-note b { color: var(--jade); font-weight: 600; } .spark-note i { font-style: normal; color: var(--red); font-weight: 600; }
.group .more .when { font-size: 13px; color: var(--gold); }

/* ---------- ดวงชะตา ---------- */
.loading { text-align: center; color: var(--dim); padding: 40px 0; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
#fateBody { display: grid; gap: 14px; }
#fateBody[hidden] { display: none; }
.asc { margin-top: 10px; font-size: 14px; color: var(--dim); }
.asc:empty { display: none; }
.sec { font-size: 20px; font-weight: 800; color: var(--gold-hi); }
.animal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.animal { padding: 14px 10px 12px; border-radius: 20px; text-align: center; cursor: pointer; }
.animal .emo { display: block; font-size: 40px; line-height: 1.2; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
.animal .realm { display: block; margin-top: 4px; font-size: 11.5px; color: var(--gold); letter-spacing: .04em; }
.animal b { display: block; font-size: 17px; font-family: 'Noto Serif Thai', serif; }
.animal .tr { display: block; margin-top: 4px; font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.animal .why { display: none; margin-top: 6px; font-size: 11.5px; color: var(--text); opacity: .8; line-height: 1.45; }
.animal.open .why { display: block; }
.graph { padding: 18px 14px 14px; }
.graph .sec, .graph .graph-sub, .graph .fine { padding: 0 4px; }
.graph-sub { font-size: 13px; color: var(--dim); }
.graph-wrap { margin-top: 8px; touch-action: pan-y; }
.graph-wrap svg { display: block; width: 100%; height: auto; overflow: visible; cursor: crosshair; }
.graph-info { margin: 8px 4px 0; padding: 12px 14px; border-radius: 16px; background: rgba(7, 6, 26, .55); border: 1px solid var(--line); font-size: 14px; line-height: 1.55; min-height: 70px; }
.graph-info b { color: var(--gold-hi); }
.graph-keys { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 4px 8px; }
.graph-keys span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(95, 208, 179, .4); color: var(--jade); }
.graph-keys span.dip { border-color: rgba(255, 138, 115, .4); color: var(--red); }
.now, .yogas, .boost { padding: 18px 20px; }
.now h3, .yogas h3, .boost h3 { font-size: 15px; font-weight: 500; color: var(--gold); margin-bottom: 6px; }
.now p, .yogas p, .boost p { font-size: 14.5px; line-height: 1.6; }
.yogas p + p, .boost p + p { margin-top: 8px; }
.yogas b { color: var(--gold-hi); } .yogas .bad b { color: var(--red); }
.group .txt { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text); opacity: .9; }
.voices { padding: 14px 18px; }
.voices summary { cursor: pointer; color: var(--gold-hi); font-size: 15px; }
.voices div p { margin-top: 10px; font-size: 13.5px; line-height: 1.5; }
.voices div p b { display: block; color: var(--gold); font-weight: 500; }
.voices div p small { color: var(--dim); }

/* ---------- ห้องประชุมสภา ---------- */
.council { padding: 18px 16px; }
.council .sec, .council .graph-sub { padding: 0 4px; }
.filters { display: flex; gap: 6px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 36px; padding: 4px 13px; border-radius: 999px; font-size: 13px; color: var(--dim); background: rgba(7, 6, 26, .5); border: 1px solid rgba(255, 255, 255, .1); }
.filters button.on { color: var(--gold-hi); border-color: var(--gold); }
.filters i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.conf-key { margin: 8px 4px 0; font-size: 12px; color: var(--dim); }
.cf.high { color: #5fd0b3; } .cf.medium { color: #e8c27c; } .cf.low { color: #ff8a73; }
.seat-list { display: grid; gap: 8px; margin-top: 12px; }
.seat { padding: 12px 14px; border-radius: 16px; background: rgba(7, 6, 26, .45); border: 1px solid rgba(255, 255, 255, .07); border-left: 3px solid var(--c); transition: box-shadow .4s; }
.seat.flash { box-shadow: 0 0 0 2px var(--gold); }
.seat .hd { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.seat .hd b { font-size: 15px; font-weight: 600; }
.seat .hd small { flex: none; font-size: 11.5px; color: var(--dim); }
.seat .digits { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.seat .digits span { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; font: 600 15px 'Chakra Petch', sans-serif; background: rgba(255, 255, 255, .06); color: var(--dim); }
.seat .digits span.hit { background: rgba(232, 194, 124, .2); color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 194, 124, .55); }
.seat .digits span.veto { background: rgba(255, 138, 115, .1); color: var(--red); text-decoration: line-through; }
.seat .digits em { font-style: normal; font-size: 11.5px; color: var(--dim); align-self: center; margin: 0 4px 0 2px; }
.seat p { margin-top: 6px; font-size: 13px; color: var(--text); opacity: .85; line-height: 1.5; overflow-wrap: anywhere; }
.seat p small { display: block; margin-top: 2px; color: var(--dim); font-size: 11.5px; }
.more-seats { display: block; margin: 12px auto 0; }
#ring circle[data-i] { cursor: pointer; }
.seat .hd { flex-wrap: wrap; }
.seat .hd b { flex: 1 1 55%; }
.seat .hd small { flex: 0 1 auto; }

/* ---------- อ่านง่ายขึ้น: แท็บค้างด้านบน หัวข้อแต่ละหน้า ---------- */
.tabs { position: sticky; top: 8px; z-index: 5; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(10, 8, 30, .85); }
.tabs button { min-height: 60px; display: grid; place-content: center; font-size: 14.5px; line-height: 1.3; }
.tabs button i { font-style: normal; font-size: 20px; line-height: 1.15; }
.spans button { font-size: 15px; min-height: 44px; }
.pane-head { padding: 4px 2px 0; }
.pane-head h2 { font-size: 26px; font-weight: 900; color: var(--gold-hi); line-height: 1.3; }
.pane-head p { font-size: 14.5px; color: var(--dim); }
.group .gsum { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text); }
.group .tip { margin-top: 6px; padding: 6px 0; background: none; border: 0; color: var(--gold); font-size: 14px; }
.group .more { margin-top: 6px; }
.hero-card .lede { font-size: 16px; }
.core > span { font-size: 16px; font-weight: 600; }
.core small { font-size: 13.5px; }
.group > .tip { display: inline-block; width: auto; grid-template-columns: none; text-align: left; }

/* ---------- ผลงวดที่แล้ว ---------- */
.last { padding: 18px 20px; }
.last h3 { font-size: 14px; font-weight: 500; color: var(--gold); }
.last-row { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 10px; }
.last-row small { display: block; font-size: 12px; color: var(--dim); margin-bottom: 4px; }
.mini-tiles { display: flex; gap: 4px; }
.mini-tiles span { width: 28px; height: 36px; border-radius: 7px; display: grid; place-items: center; font: 700 20px 'Chakra Petch', sans-serif;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--text); }
.mini-tiles span.hit { background: rgba(232, 194, 124, .22); border-color: var(--gold); color: var(--gold-hi); }
.mini-tiles.real span { color: var(--dim); }
.last p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.last p.won { color: var(--jade); font-size: 16px; font-weight: 600; }

/* ---------- ดวงสมพงษ์ ---------- */
.match { padding: 18px 18px; }
.match-form { display: grid; gap: 12px; margin-top: 12px; padding: 0; }
.heart { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.ring-pct { --p: 50; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(#ff8fc4 calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.ring-pct::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #120d30; }
.ring-pct b { position: relative; font: 700 24px 'Chakra Petch', sans-serif; color: var(--gold-hi); }
.pair { font-size: 21px; font-weight: 800; }
.mlabel { font-size: 15px; color: var(--rose); }
.mpart { margin-top: 14px; }
.mhd { display: flex; justify-content: space-between; font-size: 14.5px; }
.mhd span { font-family: 'Chakra Petch'; color: var(--gold-hi); }
.mpart .bar { margin-top: 6px; }
.mpart p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--text); opacity: .88; }
.match .fine { margin-top: 12px; }

/* แถบแท็บค้างด้านบน ห้ามบังหัวข้อเวลากระโดดไปหาส่วนต่าง ๆ */
.glass, .seat, section { scroll-margin-top: 92px; }
