/* JX2 TRD Online account site: "Paper on lacquer".
   Dark lacquer page and header, forms on paper sheets, wide pages (rankings, admin) on a lacquer panel.
   Palette and fonts match the World map page (map.php). */
:root {
  --page: #1d1812;
  --page-deep: #14100c;
  --page-fg: #efe4cb;
  --page-soft: #d7c8a6;
  --page-muted: #a8977a;
  --paper: #e9dcbc;
  --paper-deep: #d8c59a;
  --paper-hi: #f3ead3;
  --ink: #2b2118;
  --ink-soft: #5a4632;
  --cinnabar: #a8261c;
  --cinnabar-dk: #7e1c14;
  --gold: #b0842f;
  --gold-hi: #dcb769;
  --jade: #2f6b5a;
  --display: "IM Fell English SC", "Iowan Old Style", Georgia, serif;
  --brush: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;
  --body: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--page); }
html, body { margin: 0; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--page-fg);
  font: 16px/1.5 var(--body);
}
/* Background art: full strength beside the narrow sheets, dimmed behind wide pages. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, .92) 0%, rgba(20, 16, 12, .62) 34%, rgba(20, 16, 12, .12) 68%, rgba(20, 16, 12, .25) 100%),
    linear-gradient(0deg, rgba(20, 16, 12, .7) 0%, transparent 35%),
    url('../img/register_bg.jpg?v=4') 62% center / cover no-repeat var(--page);
}
body.wide::before {
  background:
    linear-gradient(rgba(29, 24, 18, .9), rgba(29, 24, 18, .97)),
    url('../img/register_bg.jpg?v=4') 50% 30% / cover no-repeat var(--page);
}
a { color: var(--gold-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

/* Header and menu */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 16, 12, .94);
  border-bottom: 1px solid rgba(176, 132, 47, .35);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .25);
}
.site-head-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px max(16px, 3vw);
  display: flex;
  align-items: center;
  gap: 8px 28px;
}
.brandmark { display: flex; align-items: center; flex: none; margin-block: -10px; }
.brandmark img { display: block; height: 57px; width: auto; }   /* Jx2 Trd logo (sword woven through the letters, 2026-11-03), made in Blender (jx2-tools/ui/logo_script.py) */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 20px; }
.site-nav a {
  display: block;
  color: var(--page-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--page-fg); border-bottom-color: rgba(176, 132, 47, .55); }
.site-nav a[aria-current="page"] { color: var(--page-fg); border-bottom-color: var(--gold); }
.nav-account { margin-left: auto; }
.site-nav a.cta {
  color: var(--page-fg);
  border: 1px solid rgba(176, 132, 47, .7);
  border-radius: 2px;
  padding: 6px 12px;
}
.site-nav a.cta:hover, .site-nav a.cta[aria-current="page"] { background: rgba(176, 132, 47, .18); border-color: var(--gold); }

/* Page frame */
.page {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px max(16px, 3vw) 64px;
  display: flex;
  align-items: flex-start;
}
body.hero .page { align-items: center; }

/* Panels. Each sets its own surface tokens; everything inside reads them. */
.panel {
  --s-bg: var(--paper);
  --s-fg: var(--ink);
  --s-head: var(--ink);
  --s-muted: var(--ink-soft);
  --s-line: rgba(43, 33, 24, .22);
  --s-rule: rgba(43, 33, 24, .12);
  --s-field: var(--paper-hi);
  --s-field-line: #bfa779;
  --s-link: #8a1e16;
  --s-slip: rgba(255, 250, 236, .45);
  --s-th: var(--ink-soft);
  --s-th-bg: rgba(43, 33, 24, .06);
  --s-hover: rgba(43, 33, 24, .04);
  --s-code: rgba(43, 33, 24, .08);
  --s-ok: #1f5446;
  --s-err: #8a1e16;
  color-scheme: light;
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 32px 32px 28px;
  border-radius: 2px;
  background-color: var(--s-bg);
  background-image:
    radial-gradient(120% 80% at 50% 35%, rgba(255, 250, 235, .38), transparent 62%),
    radial-gradient(150% 110% at 50% 50%, transparent 58%, rgba(120, 88, 40, .2) 100%);
  color: var(--s-fg);
  box-shadow: 0 1px 0 var(--paper-deep), 0 2px 0 rgba(0, 0, 0, .25), 0 24px 56px rgba(0, 0, 0, .55);
}
/* Paper sheets hang like a scroll: a lacquered roller with gold end caps above and below. */
.panel:not(.wide):not(.bare)::before, .panel:not(.wide):not(.bare)::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  height: 12px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--gold) 0 9px, transparent 9px calc(100% - 9px), var(--gold) calc(100% - 9px)),
    linear-gradient(#4a3524, #20160e 70%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .2), 0 3px 6px rgba(0, 0, 0, .45);
}
.panel:not(.wide):not(.bare)::before { top: -9px; }
.panel:not(.wide):not(.bare)::after { bottom: -9px; }
.panel.wide {
  --s-bg: #241c15;
  --s-fg: var(--page-fg);
  --s-head: #f1e4c4;
  --s-muted: var(--page-muted);
  --s-line: rgba(176, 132, 47, .3);
  --s-rule: rgba(176, 132, 47, .14);
  --s-field: #15100c;
  --s-field-line: rgba(176, 132, 47, .42);
  --s-link: var(--gold-hi);
  --s-slip: rgba(0, 0, 0, .25);
  --s-th: var(--gold);
  --s-th-bg: rgba(0, 0, 0, .28);
  --s-hover: rgba(255, 255, 255, .03);
  --s-code: rgba(0, 0, 0, .45);
  --s-ok: #a9d9c4;
  --s-err: #f0a89e;
  color-scheme: dark;
  max-width: none;
  background-image: none;
  border: 1px solid rgba(176, 132, 47, .28);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .45);
}
.panel :where(a:not(.btn)) { color: var(--s-link); }

/* Type */
h1 { margin: 0 0 6px; font: 400 36px/1.05 var(--display); color: var(--s-head); letter-spacing: .01em; text-wrap: balance; }
h2 {
  margin: 30px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--s-line);
  font: 400 23px/1.15 var(--display);
  color: var(--s-head);
  text-wrap: balance;
}
.panel > h2:first-child { border-top: 0; padding-top: 0; margin-top: 4px; }
.sub { color: var(--s-muted); margin: 0 0 20px; }
.hint { color: var(--s-muted); font-size: 14.5px; margin: -4px 0 4px; }
.alt { text-align: center; color: var(--s-muted); margin: 20px 0 0; }
.muted { color: var(--s-muted); }
.nowrap { white-space: nowrap; }
.count { font: 15px/1 var(--body); color: var(--s-muted); margin-left: 6px; }
code { background: var(--s-code); border: 1px solid var(--s-line); border-radius: 2px; padding: 1px 6px; color: var(--s-link); }

/* Forms */
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; font-weight: 500; color: var(--s-muted); }
input, select {
  font: 16px/1.3 var(--body);
  color: var(--s-fg);
  background: var(--s-field);
  border: 1px solid var(--s-field-line);
  border-radius: 2px;
  padding: 10px 12px;
  min-width: 0;
  outline: none;
}
input::placeholder { color: var(--s-muted); opacity: .75; }
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 132, 47, .28); }
fieldset { border: 1px solid var(--s-line); border-radius: 2px; padding: 10px 14px 14px; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
legend { color: var(--s-head); font: 400 16px var(--display); padding: 0 6px; }
form.inline { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
form.inline input { flex: 1 1 140px; }
.clear { align-self: center; font-size: 14px; }
.small-input { width: 140px; padding: 5px 8px; font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 16px/1.2 var(--body);
  letter-spacing: .02em;
  color: #f8eedb;
  background: var(--cinnabar);
  border: 1px solid var(--cinnabar-dk);
  border-radius: 2px;
  padding: 12px 18px;
  margin-top: 4px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn:hover { background: #941f17; }
.btn:active { background: var(--cinnabar-dk); }
.btn.small { padding: 7px 12px; font-size: 14.5px; margin: 0; }
.btn.warn { background: var(--cinnabar-dk); }
.panel.wide .btn.small:not(.warn) { color: var(--page-fg); background: transparent; border-color: rgba(176, 132, 47, .6); box-shadow: none; }
.panel.wide .btn.small:not(.warn):hover { background: rgba(176, 132, 47, .16); }
.panel a.btn { color: #f8eedb; }
.btn.google, .panel a.btn.google { color: #1f1f1f; background: #fff; border-color: #dadce0; box-shadow: none; font-weight: 600; }
.btn.google:hover { background: #f6f6f6; }
.or { display: flex; align-items: center; gap: 12px; color: var(--s-muted); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--s-line); }

/* Messages */
.msg { border-radius: 2px; padding: 10px 12px; margin: 0 0 16px; font-size: 15px; border: 1px solid; }
.msg.ok { color: var(--s-ok); border-color: var(--jade); background: rgba(47, 107, 90, .13); }
.msg.err { color: var(--s-err); border-color: var(--cinnabar); background: rgba(168, 38, 28, .1); }

/* My account */
.panel.roomy { max-width: 560px; }
.tag { margin-left: 8px; font-size: 12.5px; color: var(--s-muted); border: 1px solid var(--s-line); border-radius: 2px; padding: 1px 7px; white-space: nowrap; }
details summary { cursor: pointer; color: var(--s-muted); font-size: 14.5px; margin-top: 6px; }
details summary:hover { color: var(--s-fg); }
.sub-form { border-top: 1px solid var(--s-line); margin-top: 16px; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }

/* Message pages (no access, page not found, feature off): a short sheet with a seal stamped in the corner. */
.panel.notice { max-width: 480px; }
.panel.notice h1 { padding-right: 64px; }
.notice-seal {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 7px 8px;
  font: 30px/1 var(--brush);
  color: #f7e9d2;
  background: var(--cinnabar);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px rgba(247, 233, 210, .55), inset 0 0 0 3px var(--cinnabar);
  transform: rotate(5deg);
}
.notice-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 4px 0 0; }
.notice-links .btn { margin: 0; }

/* Register: where the player is on the way to playing, field hints, show passwords. */
.journey { list-style: none; counter-reset: j; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; padding: 0; }
.journey li { counter-increment: j; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 8px 10px; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; line-height: 1.25; }
.journey li::before { content: counter(j); grid-row: 1 / span 2; width: 26px; height: 26px; display: grid; place-items: center; font: 400 16px/1 var(--display); color: var(--s-muted); border: 1.5px solid var(--s-line); border-radius: 3px; }
.journey li.now { border-color: var(--cinnabar); }
.journey li.now::before { color: #f7e9d2; background: var(--cinnabar); border-color: var(--cinnabar); box-shadow: inset 0 0 0 1.5px rgba(247, 233, 210, .55), inset 0 0 0 3px var(--cinnabar); }
.journey b { font-size: 14px; color: var(--s-fg); }
.journey span { font-size: 12.5px; color: var(--s-muted); }
fieldset > label { gap: 4px; }
.field-hint { font-size: 13px; font-weight: 400; color: var(--s-muted); }
.opt { margin-left: 4px; font-size: 12.5px; font-weight: 400; color: var(--s-muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; font-size: 14.5px; }
label.check input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--cinnabar); }

/* Top up: JPoint per game account and its latest changes. */
.after-btn { margin-top: 10px; }
.balances { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.balances li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
.balances .jp { color: var(--s-muted); font-size: 14px; white-space: nowrap; }
.balances .jp b { margin-right: 4px; font: 400 27px/1 var(--display); color: var(--s-head); font-variant-numeric: tabular-nums; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 4px 14px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--s-rule); font-size: 15px; }
.ledger .when { color: var(--s-muted); white-space: nowrap; }
.ledger .acct { overflow-wrap: anywhere; }
.ledger b { text-align: right; font-variant-numeric: tabular-nums; }
.ledger small { color: var(--s-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Top up prices (radio cards when logged in) and the Bakong QR for the picked price. */
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 2px 0 10px; }
.tier { position: relative; display: grid; gap: 2px; padding: 12px 12px 10px; text-align: center; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; color: var(--s-fg); font-weight: 400; }
label.tier { cursor: pointer; }
label.tier:hover { background: var(--s-hover); border-color: var(--gold); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier:has(input:checked) { border-color: var(--cinnabar); box-shadow: inset 0 0 0 1px var(--cinnabar); }
.tier:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(176, 132, 47, .38); }
.tier-jp { font: 400 22px/1.1 var(--display); color: var(--s-head); font-variant-numeric: tabular-nums; }
.tier-jp small { font: 500 12px var(--body); color: var(--s-muted); }
.tier-bonus { font-size: 12.5px; color: var(--s-ok); min-height: 1.2em; }
.tier-usd { font-weight: 700; font-size: 17px; color: var(--s-link); }
.qr-card { max-width: 300px; margin: 0 auto 14px; padding: 16px; text-align: center; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
.qr-amt { font: 400 38px/1 var(--display); color: var(--s-head); }
.qr-gets { margin: 6px 0 12px; font-size: 14.5px; color: var(--s-muted); }
.qr-img { display: inline-block; padding: 12px; background: #fff; border-radius: 4px; line-height: 0; }
.qr-img img, .qr-img canvas { width: 240px; max-width: 100%; height: auto; }
.qr-code { margin-top: 10px; font-size: 13px; color: var(--s-muted); overflow-wrap: anywhere; }
.qr-steps { margin: 0 0 16px; padding-left: 22px; line-height: 1.6; }
.btn.linkish { color: var(--s-link); background: transparent; border-color: var(--s-line); box-shadow: none; }
.btn.linkish:hover { background: var(--s-hover); }
.panel:not(.wide):not(.bare) .amt-plus { color: #1f5446; }
.panel:not(.wide):not(.bare) .amt-minus { color: #8a1e16; }

/* Game account slips: the account name, a red server stamp, its heroes, and the password form folded inside. */
.slips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.slip {
  display: grid;
  gap: 8px;
  padding: 14px 16px 12px;
  background: var(--s-slip);
  border: 1px solid var(--s-line);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 2px rgba(60, 40, 20, .12);
}
.slip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.slip-name { font: 400 23px/1.1 var(--display); color: var(--s-head); overflow-wrap: anywhere; }
.stamp {
  flex: none;
  margin-top: 1px;
  padding: 4px 7px 3px;
  font: 400 12.5px/1 var(--display);
  letter-spacing: .04em;
  color: var(--cinnabar);
  border: 1.5px solid var(--cinnabar);
  border-radius: 3px;
  transform: rotate(-4deg);
  opacity: .9;
}
.slip-meta, .slip-empty { margin: 0; font-size: 14px; color: var(--s-muted); }
.heroes { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--s-line); }
.heroes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--s-line); }
.hero-name { font-weight: 700; overflow-wrap: anywhere; }
.hero-sect { grid-row: 2; font-size: 14px; color: var(--s-muted); }
.hero-lv { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 400 19px/1 var(--display); color: var(--s-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slip details summary { margin-top: 0; }
.slip details form { margin-top: 8px; }

/* Folding sections under the slips: create another account, profile, link an old account. */
.folds { margin-top: 26px; }
.fold { border-top: 1px solid var(--s-line); }
.fold:last-child { border-bottom: 1px solid var(--s-line); }
.fold > summary {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin: 0;
  padding: 13px 30px 13px 0;
  list-style: none;
  color: var(--s-head);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary span { font: 400 20px/1.2 var(--display); }
.fold > summary small { font-size: 14px; color: var(--s-muted); }
.fold > summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font: 400 24px/1 var(--body); color: var(--s-muted); }
.fold[open] > summary::after { content: "\2212"; }
.fold > summary:hover span { color: var(--s-link); }
.fold > form, .fold > .sub-form:last-child { margin-bottom: 20px; }
.folds > form { margin-bottom: 26px; }
.fold > form:first-of-type { margin-top: 4px; }

/* Rankings: a podium for the top three (first place in the middle), then a list that fits a phone. */
.panel.list { max-width: 860px; margin-inline: auto; }
.podium { list-style: none; margin: 10px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.podium li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  padding: 18px 12px 16px;
  text-align: center;
  background: linear-gradient(#30251b, #211a13);
  border: 1px solid rgba(176, 132, 47, .35);
  border-radius: 2px;
}
.podium .p1 { order: 2; padding-top: 34px; border-color: rgba(220, 183, 105, .75); box-shadow: 0 14px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 236, 200, .14); }
.podium .p2 { order: 1; }
.podium .p3 { order: 3; }
.podium .pos { font: 400 46px/1 var(--display); color: var(--gold); }
.podium .p1 .pos { font-size: 62px; color: #ecd08a; text-shadow: 0 0 18px rgba(233, 200, 120, .35); }
.podium .pn { font: 400 21px/1.15 var(--display); color: var(--s-head); overflow-wrap: anywhere; }
.podium .ps { font-size: 14px; color: var(--s-muted); }
.podium .pl { font-weight: 700; font-variant-numeric: tabular-nums; }
.laurel {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 5px;
  font: 20px/1 var(--brush);
  color: #f7e9d2;
  background: var(--cinnabar);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px rgba(247, 233, 210, .55), inset 0 0 0 3px var(--cinnabar);
}
.you { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 12px; font-weight: 700; line-height: 1.5; color: #a9d9c4; background: rgba(47, 107, 90, .35); border: 1px solid var(--jade); border-radius: 2px; vertical-align: 1px; }
.ranks td { vertical-align: middle; }
.ranks .num { text-align: right; width: 1%; white-space: nowrap; }
.ranks td.pos { font: 400 19px/1 var(--display); color: var(--gold); }
.ranks .sect { display: block; font-size: 14px; color: var(--s-muted); }
.ranks .seen { white-space: nowrap; width: 1%; }
.ranks td.seen { color: var(--s-muted); }
.ranks tr.mine td { background: rgba(47, 107, 90, .14); }

/* Tables (rankings, admin) */
.table-wrap { overflow-x: auto; margin-top: 10px; border: 1px solid var(--s-line); border-radius: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--s-rule); vertical-align: top; }
th { color: var(--s-th); background: var(--s-th-bg); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--s-hover); }

/* Pages that lay themselves out (the World map) sit straight on the lacquer page. */
.panel.bare {
  --s-fg: var(--page-fg);
  --s-head: var(--page-fg);
  --s-muted: var(--page-muted);
  --s-line: rgba(176, 132, 47, .3);
  --s-link: var(--gold-hi);
  color-scheme: dark;
  max-width: 1240px;
  margin-inline: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--page-fg);
}

/* Guides (First steps, Battlefield): one wide paper sheet, steps numbered with seals. */
.panel.article { max-width: 920px; margin-inline: auto; padding: 44px 52px 48px; }
.article .eyebrow { color: #8a1e16; }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); }
.article .lede { max-width: 65ch; margin: 0 0 24px; font-size: 18px; color: var(--s-muted); }
.article h2 { margin-top: 44px; font-size: 27px; }
.article h3 { margin: 22px 0 8px; font: 400 20px/1.25 var(--display); color: var(--s-head); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.panel .toc a { padding: 4px 12px; border: 1px solid var(--s-line); border-radius: 99px; color: var(--ink); font-size: 14.5px; text-decoration: none; }
.panel .toc a:hover { border-color: var(--cinnabar); color: #8a1e16; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 0 0 12px; }
.fact, .how > div { padding: 12px 14px; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
.fact b { display: block; margin-bottom: 3px; color: #8a1e16; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fact span { font-size: 15.5px; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.how h3 { margin: 0 0 4px; font: 400 19px/1.25 var(--display); color: var(--s-head); }
.how p { margin: 0; color: var(--s-muted); font-size: 15px; }
kbd { padding: 2px 6px; font: 600 13px/1 ui-monospace, Consolas, monospace; color: var(--ink); background: var(--paper-hi); border: 1px solid #bfa779; border-bottom-width: 2px; border-radius: 3px; }
ol.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
ol.steps > li { counter-increment: step; position: relative; padding: 16px 18px 16px 74px; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font: 400 21px/1 var(--display);
  color: #f7e9d2;
  background: var(--cinnabar);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px rgba(247, 233, 210, .55), inset 0 0 0 3px var(--cinnabar);
}
ol.steps > li.npc::before { background: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(255, 245, 220, .6), inset 0 0 0 3px var(--gold); }
.q { margin: 0 0 2px; font: 400 21px/1.2 var(--display); color: var(--s-head); }
.who { margin: 0 0 8px; color: var(--s-muted); font-size: 14.5px; }
.do { margin: 0 0 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.meta span { padding: 1px 10px; color: var(--s-muted); border: 1px solid var(--s-line); border-radius: 99px; }
.meta .rw { color: #1f5446; border-color: rgba(47, 107, 90, .55); background: rgba(47, 107, 90, .08); }
.tip { margin: 10px 0 0; padding: 8px 12px; font-size: 15px; color: var(--ink); background: rgba(176, 132, 47, .13); border: 1px solid rgba(176, 132, 47, .4); border-radius: 2px; }
.tablewrap { overflow-x: auto; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
.article td.s { font: 400 17px/1.3 var(--display); white-space: nowrap; }
.article .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.only { color: #8a1e16; font-size: 13px; white-space: nowrap; }
.song { color: var(--cinnabar); font-weight: 700; }
.liao { color: #2e5e7e; font-weight: 700; }
.rank-ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; }
.rank-ladder span { padding: 3px 10px; font-size: 14.5px; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
.rank-ladder i { color: var(--s-muted); font-style: normal; }
.article details:not(.fold) { margin-bottom: 8px; padding: 12px 16px; background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; }
.article details:not(.fold) summary { margin: 0; color: var(--s-fg); font-size: 16px; font-weight: 700; }
.article details:not(.fold) p { margin: 8px 0 0; color: var(--s-muted); }

/* Admin: side menu beside the current view, on the lacquer panel. */
.panel.admin { display: grid; grid-template-columns: 210px minmax(0, 1fr); padding: 0; overflow: hidden; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; padding: 24px 12px; background: rgba(0, 0, 0, .24); border-right: 1px solid var(--s-line); }
.adm-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 2px; color: var(--page-soft); text-decoration: none; font-weight: 500; white-space: nowrap; }
.adm-nav a:hover { background: rgba(176, 132, 47, .1); color: var(--page-fg); }
.adm-nav a[aria-current="page"] { background: rgba(176, 132, 47, .18); color: var(--page-fg); box-shadow: inset 2px 0 0 var(--gold); }
.badge { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: rgba(0, 0, 0, .4); color: var(--page-muted); font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.badge.alert { background: var(--cinnabar); color: #f8eedb; }
.adm-main { min-width: 0; padding: 26px 30px 32px; }
.adm-main > h1 { margin-bottom: 14px; }
.eyebrow { margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Overview */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 4px 0 8px; }
.stat { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border: 1px solid var(--s-line); border-radius: 2px; background: rgba(0, 0, 0, .2); color: var(--s-fg); text-decoration: none; }
.stat:hover { border-color: rgba(176, 132, 47, .65); background: rgba(176, 132, 47, .08); }
.stat b { font: 400 36px/1.05 var(--display); color: var(--s-head); font-variant-numeric: tabular-nums; }
.stat span { font-weight: 700; }
.stat small { color: var(--s-muted); font-size: 13.5px; }
.stat.alert { border-color: var(--cinnabar); background: rgba(168, 38, 28, .12); }
.stat.alert b { color: #f0a89e; }
.ov-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ov-list { list-style: none; margin: 0; padding: 0; }
.ov-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--s-rule); }
.ov-list small { color: var(--s-muted); white-space: nowrap; }
.amt-plus { color: #a9d9c4; }
.amt-minus { color: #f0a89e; }

/* Status pills */
.pill { display: inline-block; padding: 0 8px; border: 1px solid transparent; border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.55; white-space: nowrap; vertical-align: 1px; }
.pill.active { color: #a9d9c4; background: rgba(47, 107, 90, .32); border-color: rgba(47, 107, 90, .95); }
.pill.suspended { color: #f0cf8a; background: rgba(176, 132, 47, .2); border-color: rgba(176, 132, 47, .75); }
.pill.pending { color: #f6c1b8; background: rgba(168, 38, 28, .38); border-color: var(--cinnabar); }
.pill.deleted, .pill.none { color: var(--page-muted); background: rgba(255, 255, 255, .04); border-color: rgba(168, 151, 122, .4); }
.pill.gm { color: var(--page); background: var(--gold-hi); border-color: var(--gold-hi); }
.note { display: block; margin-top: 3px; font-size: 13px; color: var(--s-muted); }

/* Search and filters */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 10px; }
form.search { margin: 0 0 12px; max-width: 520px; }
.toolbar form.search { flex: 1 1 300px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { padding: 4px 11px; border: 1px solid var(--s-line); border-radius: 99px; color: var(--page-soft); font-size: 14px; text-decoration: none; white-space: nowrap; }
.chips a:hover { border-color: rgba(176, 132, 47, .65); color: var(--page-fg); }
.chips a[aria-current] { background: rgba(176, 132, 47, .2); border-color: var(--gold); color: var(--page-fg); }
.chips a span { margin-left: 6px; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.panel .fold.create { margin-bottom: 18px; border-bottom: 1px solid var(--s-line); }
.form-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; }
.jp-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px; align-items: start; }
.jp-grid h2, .ov-lists h2 { border-top: 0; padding-top: 0; margin-top: 14px; }
.panel.admin td.num, .panel.admin th.num { text-align: right; }

/* Row actions. Destructive ones open a confirm panel that names the account and asks for it to be typed. */
.acts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.acts form { display: block; }
.acts-cell { white-space: nowrap; }
details.confirm { display: inline-block; vertical-align: top; }
details.confirm[open] { display: block; flex-basis: 100%; }
details.confirm > summary { list-style: none; margin: 0; }
details.confirm > summary::-webkit-details-marker { display: none; }
details.confirm .c-open, details.confirm[open] .c-closed { display: none; }
details.confirm[open] .c-open { display: inline; }
details.confirm[open] > summary.btn { color: var(--page-fg); background: transparent; border-color: rgba(176, 132, 47, .6); box-shadow: none; }
.confirm-panel {
  display: grid;
  gap: 10px;
  min-width: 240px;
  max-width: 340px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(176, 132, 47, .55);
  border-radius: 2px;
  background: rgba(0, 0, 0, .32);
  white-space: normal;
}
details.confirm.danger > summary.btn { color: #f0a89e; background: transparent; border-color: rgba(168, 38, 28, .85); box-shadow: none; }
details.confirm.danger > summary.btn:hover { background: rgba(168, 38, 28, .2); }
details.confirm.danger .confirm-panel { border-color: var(--cinnabar); background: rgba(168, 38, 28, .13); }
.confirm-panel p { margin: 0; font-size: 14.5px; color: var(--s-fg); }
.confirm-panel form { gap: 8px; }
.confirm-panel label { font-size: 13.5px; }
.confirm-panel label b { color: var(--s-fg); }

@media (max-width: 900px) {
  .panel.admin { grid-template-columns: minmax(0, 1fr); }
  .adm-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--s-line); }
  .adm-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
  .adm-main { padding: 20px 18px 26px; }
  .jp-grid, .ov-lists { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .panel.article { padding: 28px 20px 30px; }
  ol.steps > li { padding: 64px 14px 14px; }
  ol.steps > li::before { left: 14px; top: 12px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 12px; }
  .stat b { font-size: 30px; }
}
@media (max-width: 760px) {
  /* Admin tables turn into one card per row, each value with its column name. */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 10px 12px; border-bottom: 1px solid var(--s-line); }
  table.stack td { position: relative; min-height: 1.6em; padding: 3px 0 3px 122px; border: 0; text-align: left; white-space: normal; }
  table.stack td::before { content: attr(data-label); position: absolute; left: 0; top: 6px; width: 112px; color: var(--s-th); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
  table.stack td[data-label=""] { padding-left: 0; padding-top: 8px; }
  .panel.admin table.stack td.num { text-align: left; }
  table.stack td[colspan] { display: block; }
  table.stack td[colspan]::before { content: none; }
}
@media (max-width: 600px) {
  /* Podium becomes three rows: number, name and sect, level. */
  .podium { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .podium li, .podium .p1 {
    order: 0;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px 14px;
    text-align: left;
  }
  .podium .pos, .podium .p1 .pos { grid-row: 1 / span 2; justify-self: center; font-size: 38px; }
  .podium .p1 .pos { font-size: 44px; }
  .podium .pn, .podium .ps { grid-column: 2; }
  .podium .pl { grid-column: 3; grid-row: 1 / span 2; }
  .laurel { top: -9px; left: 8px; transform: none; font-size: 15px; padding: 3px 4px; }
  .ranks th, .ranks td { padding: 8px 9px; }
}
@media (max-width: 440px) {
  .ranks .seen { display: none; }
}
@media (max-width: 760px) {
  .site-head { position: static; }
  .site-head-in { flex-wrap: wrap; column-gap: 12px; padding-block: 8px 0; }
  /* The main menu becomes a sideways-scrolling strip; the fade at the right edge shows there is more. */
  .nav-main {
    order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * max(16px, 3vw)); padding: 0 max(16px, 3vw);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  }
  .nav-main::-webkit-scrollbar { display: none; }
  .nav-main ul { gap: 18px; }
  .nav-account ul { gap: 14px; }
  .site-nav a { font-size: 15px; }
  .page { padding: 24px 16px 40px; }
  body.hero .page { align-items: flex-start; }
  body::before { background-position: center, center, 64% center; }
}
@media (max-width: 560px) {
  .panel { padding: 24px 20px 22px; }
  .brandmark img { height: 48px; }
  .site-nav a.cta { padding: 5px 9px; }
  h1 { font-size: 32px; }
}
@media (max-width: 480px) {
  /* The three steps stay side by side: seal on top, title under it. */
  .journey { gap: 6px; }
  .journey li { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 5px; padding: 8px 4px; text-align: center; }
  .journey li::before { grid-row: auto; }
  .journey b { font-size: 13px; }
  .journey span { display: none; }
  .ledger li { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .ledger small { grid-column: 2 / -1; }
}
@media (max-width: 420px) {
  .brandmark img { height: 42px; }
  .nav-account ul { gap: 10px; }
  .nav-account a { font-size: 14px; }
  .site-nav a.cta { padding: 4px 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .site-nav a, input, select { transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s; }
}

/* Khmer site (2026-10-20): every page is lang="km". Khmer letters fall back to Noto Sans Khmer (loaded in lib.php);
   letter-spacing is off because it pulls Khmer letter clusters apart, and lines are taller for the vowel marks. */
:root {
  --display: "IM Fell English SC", "Noto Sans Khmer", "Iowan Old Style", Georgia, serif;
  --body: "Alegreya Sans", "Noto Sans Khmer", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
html[lang="km"] :is(.or, .btn, .fact b, .eyebrow, th, .stamp, .brandmark .name, table.stack td::before, h1, legend) { letter-spacing: 0; }
html[lang="km"] :is(h1, h2, h3, .q, .fold > summary span, .podium .pn, .slip-name, legend, .how h3, .article h3) { line-height: 1.5; }
html[lang="km"] .article td.s { white-space: normal; line-height: 1.6; }
html[lang="km"] .site-nav a { white-space: nowrap; }

/* Website categories (2026-10-29, lib.php site_cats): drop-down under each menu category on wide screens; on phones the
   drop-down stays hidden and the category name opens its page (cat.php). */
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: 3px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; opacity: .7; }
.site-nav ul.sub {
  display: none;
  position: absolute; top: 100%; left: -14px; z-index: 20;
  min-width: 220px; padding: 6px 0; gap: 0;
  flex-direction: column; align-items: stretch;
  background: rgba(20, 16, 12, .98);
  border: 1px solid rgba(176, 132, 47, .45); border-radius: 2px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .5);
}
.site-nav .has-sub:hover > ul.sub, .site-nav .has-sub:focus-within > ul.sub { display: flex; }
.site-nav ul.sub a { padding: 7px 14px; border-bottom: 0; border-left: 2px solid transparent; }
.site-nav ul.sub a:hover { border-left-color: var(--gold); background: rgba(176, 132, 47, .12); }
.site-nav ul.sub small { display: block; font-size: 12px; color: var(--page-muted); }
@media (max-width: 1180px) { .nav-main ul { gap: 4px 15px; } .site-nav a { font-size: 15px; } }
@media (max-width: 760px) { .site-nav ul.sub, .site-nav .has-sub > a::after { display: none !important; } }

/* Category pages (cat.php) and Latest updates (updates.php): one card per page. */
.catlist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.catlist > li > a, .catlist > li > div {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; color: var(--ink); text-decoration: none;
  background: var(--s-slip, rgba(255, 255, 255, .25)); border: 1px solid var(--s-line, rgba(0, 0, 0, .15)); border-radius: 2px;
}
.catlist > li > a:hover { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.catlist b { font-size: 17px; color: #8a1e16; }
.catlist .en { font-size: 13px; color: var(--ink-soft); }
.catlist span:last-child, .catlist .meta { font-size: 14.5px; line-height: 1.7; }
.catlist .meta { margin-top: 4px; color: var(--ink-soft); font-size: 13px; }
.catlist .tag { align-self: flex-start; margin-bottom: 4px; padding: 1px 8px; font-size: 12px; color: #fff; background: #8a1e16; border-radius: 2px; }
.updates { grid-template-columns: minmax(0, 1fr); }
.catpage h2 { margin-top: 22px; }

/* Main account ID (My account page) and the confirm box of a game account transfer inside its slip. */
.member-id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: -12px 0 20px; color: var(--s-muted); }
.member-id b { padding: 2px 10px; font: 400 21px/1.2 var(--display); color: var(--s-head); background: var(--s-slip); border: 1px solid var(--s-line); border-radius: 2px; font-variant-numeric: tabular-nums; user-select: all; }
.member-id small { flex-basis: 100%; font-size: 13.5px; }
.xfer-confirm { display: grid; gap: 8px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--cinnabar); border-radius: 2px; background: rgba(168, 38, 28, .08); }
.xfer-confirm p { margin: 0; font-size: 14.5px; }
.xfer-confirm form { margin-top: 0; gap: 8px; }

/* Poster sheet (login, 2026-11-11): a hanging scroll with turned wooden rods and gold knobs, a thin gold frame with
   corner brackets, centred title under a small gold eyebrow, a red seal stamped in the corner, full-width buttons. */
.panel.poster {
  --c: rgba(176, 132, 47, .75);
  max-width: 460px;
  padding: 50px 44px 38px;
  outline: 1px solid rgba(176, 132, 47, .5);
  outline-offset: -14px;
  background:
    linear-gradient(var(--c), var(--c)) 20px 20px / 26px 2px, linear-gradient(var(--c), var(--c)) 20px 20px / 2px 26px,
    linear-gradient(var(--c), var(--c)) right 20px top 20px / 26px 2px, linear-gradient(var(--c), var(--c)) right 20px top 20px / 2px 26px,
    linear-gradient(var(--c), var(--c)) left 20px bottom 20px / 26px 2px, linear-gradient(var(--c), var(--c)) left 20px bottom 20px / 2px 26px,
    linear-gradient(var(--c), var(--c)) right 20px bottom 20px / 26px 2px, linear-gradient(var(--c), var(--c)) right 20px bottom 20px / 2px 26px,
    radial-gradient(120% 80% at 50% 30%, rgba(255, 250, 235, .45), transparent 62%),
    radial-gradient(150% 110% at 50% 50%, transparent 55%, rgba(120, 88, 40, .28) 100%) var(--s-bg);
  background-repeat: no-repeat;
}
.panel.poster.roomy { max-width: 580px; }
.panel.poster .btn[type="submit"], .panel.poster form > .btn { margin-top: 8px; }
.panel.poster .journey { margin-bottom: 20px; }
.panel.poster::before, .panel.poster::after {
  left: -24px; right: -24px; height: 18px; border-radius: 9px;
  background:
    radial-gradient(circle at 9px 50%, #f3d58c 0 2px, var(--gold-hi) 3px, var(--gold) 6px, #6e4c1d 8.5px, transparent 9px),
    radial-gradient(circle at calc(100% - 9px) 50%, #f3d58c 0 2px, var(--gold-hi) 3px, var(--gold) 6px, #6e4c1d 8.5px, transparent 9px),
    linear-gradient(90deg, transparent 17px, var(--gold) 17px 21px, transparent 21px calc(100% - 21px), var(--gold) calc(100% - 21px) calc(100% - 17px), transparent calc(100% - 17px)),
    linear-gradient(#6a4a30, #3a281a 45%, #1c130c) 16px 0 / calc(100% - 32px) 100% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .5));
}
.panel.poster::before { top: -12px; }
.panel.poster::after { bottom: -12px; }
.panel.poster .notice-seal { top: 34px; right: 38px; font-size: 24px; padding: 6px 7px; }
.poster-head { text-align: center; margin: 0 0 22px; }
.poster-head .eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 6px; color: #8a6a2a; font: 400 14px/1 var(--display); letter-spacing: .18em; text-transform: uppercase;
}
.poster-head .eyebrow::before, .poster-head .eyebrow::after { content: ""; width: 28px; border-top: 1px solid var(--c); }
.poster-head h1 { font-size: 40px; margin-bottom: 4px; }
.poster-head .sub { margin: 0 auto; max-width: 30em; font-size: 15px; }
.poster-head::after {
  content: ""; display: block; height: 12px; margin: 16px auto 0; width: 180px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M12 0l6 6-6 6-6-6z' fill='%23a8261c'/%3E%3Cpath d='M2 6l3-2.5v5zM22 6l-3-2.5v5z' fill='%23b0842f'/%3E%3C/svg%3E") center / 24px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) left center / calc(50% - 14px) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right center / calc(50% - 14px) 1px no-repeat;
}
.panel.poster .btn { width: 100%; min-height: 48px; }
.panel.poster .btn.google { background: #fffdf6; border-color: #cbb487; }
.panel.poster .btn.google:hover { background: #fff; border-color: var(--gold); }
.panel.poster .alt { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--s-line); font-size: 15px; }
@media (max-width: 560px) {
  .panel.poster { padding: 44px 26px 30px; outline-offset: -10px; }
  .panel.poster::before, .panel.poster::after { left: -14px; right: -14px; }
  .panel.poster .notice-seal { top: 22px; right: 22px; font-size: 20px; }
  .poster-head h1 { font-size: 34px; }
}
