/* EVOS system layer — 28 September 2026
   Loaded last on every public page (injected by sync-navigation.mjs).
   One place for the rules that keep pages calm and readable:
   - paper is the ground; navy is reserved for the header, page openers
     that are brand moments (home, Academy), one closing block and the footer;
   - one display scale (Anton for page and section titles only);
   - a 12px floor for labels, with gentle tracking;
   - one navy family instead of five near-identical blues.
   Page stylesheets keep their layout; this layer only settles tone,
   scale and legibility. */

:root {
  --sys-paper: #f0f2f1;
  --sys-paper-2: #e6eaed;
  --sys-card: #fbfcfd;
  --sys-ink: #10151d;
  --sys-ink-2: #3c4958;
  --sys-ink-dim: #55636f;
  --sys-hair: rgba(16, 21, 29, 0.12);
  --sys-navy: #0a1730;
  --sys-navy-2: #11213f;
  --sys-navy-end: #071020;
  --sys-snow: #eef2f6;
  --sys-snow-dim: #a9b8ca;
  --sys-cyan: #59d8ff;
  --sys-link: #006f91;
  --sys-gold-ink: #6f5300;
  --sys-h1: clamp(46px, 5.6vw, 84px);
  --sys-h2: clamp(34px, 3.6vw, 54px);
  --sys-h2-home: clamp(38px, 4.3vw, 62px);
  --sys-label: 12px;
  --sys-track: 0.08em;
}

::selection { background: var(--sys-cyan); color: var(--sys-ink); }

/* ---------- Surfaces: fewer light/dark switches ---------- */

/* Inner pages: sections that used to flip to navy now sit on a soft paper tone. */
.sect.dark,
.sect.dark--deep,
.academy-coach {
  background: var(--sys-paper-2);
  color: var(--sys-ink);
  /* Components written for navy read their light tones from these tokens. */
  --snow: var(--sys-ink);
  --snow-dim: var(--sys-ink-dim);
  --hair-d: var(--sys-hair);
  --fan-snow: var(--sys-ink);
  --fan-muted: var(--sys-ink-dim);
  --fan-rule: var(--sys-hair);
}
/* Pieces that stay dark inside those sections keep their light text. */
:is(.sect.dark, .sect.dark--deep, .academy-coach) :is(.tiger .n, .portal, .promo, .hall-card, .ribbon, .fan-page-next) {
  --snow: #eef2f6;
  --snow-dim: #9fb1c4;
  --hair-d: rgba(238, 242, 246, 0.16);
  --fan-snow: #eef2f6;
  --fan-muted: #a9bacd;
  --fan-rule: rgba(238, 242, 246, 0.2);
}
.sect.dark + .sect.dark,
.sect.dark--deep + .sect.dark,
.sect.dark + .sect.dark--deep { border-top: 1px solid var(--sys-hair); }
.sect.dark .lbl,
.sect.dark .board-note,
.sect.dark .tl-year,
.sect.dark .tl-body p { color: var(--sys-ink-dim); }
.sect.dark .sect-link { color: var(--sys-link); }
.sect.dark .tl-item { border-color: var(--sys-hair); }
.sect.dark .tl-item.champ .tl-year { color: var(--sys-gold-ink); }
.sect.dark .fact-chips span { color: var(--sys-ink); background: var(--sys-card); border-color: var(--sys-hair); }
.sect.dark .fact-chips span.champ { color: var(--sys-gold-ink); border-color: color-mix(in srgb, var(--sys-gold-ink) 35%, transparent); }

/* Home: one navy family, and the closing trophies + partners read as one block. */
.home-evos-id {
  background: var(--sys-paper-2);
  color: var(--sys-ink);
}
.home-evos-id-card { color: var(--sys-snow); }
.home-evos-id-copy > p:not(.small-label) { color: var(--sys-ink-2); }
.home-evos-id-copy > small { color: var(--sys-ink-dim); }
.home-evos-id .small-label { color: var(--sys-ink-dim); }
#partners.partners-section { background: var(--sys-navy); border-top: 1px solid rgba(238, 242, 246, 0.1); }
#championships.championships { background: var(--sys-navy); }

/* ---------- Display type: one scale ---------- */

.page-head h1 { font-size: var(--sys-h1); line-height: 0.96; letter-spacing: 0.005em; }
.sect-head h2 { font-size: var(--sys-h2); line-height: 1; letter-spacing: 0.005em; }
.promo h2 { font-size: clamp(40px, 5vw, 76px); line-height: 0.96; }

#home-evos-id-title,
#matchday-heading,
#teams-heading,
#updates-heading,
#goods-heading,
#trophy-heading,
#partners-heading,
.community-join h2 {
  font-size: var(--sys-h2-home);
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.community-join h2 { font-size: clamp(44px, 5.2vw, 76px); }

@media (max-width: 600px) {
  .page-head h1 { font-size: clamp(38px, 11vw, 54px); }
  .sect-head h2,
  #home-evos-id-title, #matchday-heading, #teams-heading, #updates-heading,
  #goods-heading, #trophy-heading, #partners-heading { font-size: clamp(32px, 9.5vw, 44px); }
  .community-join h2 { font-size: clamp(38px, 11vw, 52px); }
}

/* ---------- Labels and small print: 12px floor, calmer tracking ---------- */

.lbl, .small-label, .board-note, .sect-link,
.fact-chips span, .ribbon-track span, .goods-item span,
.player-top span, .player-bottom span, .price .per,
.reach .lbl, .nm .lbl, .nm .cat, .matchday-label span,
.brand-origin span, .row .d, .row .d span, .ak-m,
.trophy-pick .trophy-short, .home-evos-id-card > div:last-child > span {
  font-size: var(--sys-label);
  letter-spacing: var(--sys-track);
}
.board-note, .home-evos-id-copy > small, .fan-footer small,
.fan-footer-base span, .fan-footer-base a { font-size: 13px; letter-spacing: 0; }
.trophy-pick .trophy-index, .trophy-pick .trophy-year { font-size: 11px; }
.community-join .fams-socials a, .fams-socials a { font-size: 12px; }

/* ---------- Actions: one size family ---------- */

.community-join .fams-copy > .button {
  min-height: 56px;
  padding: 16px 22px;
  font-size: 16px;
}

/* ---------- Details that assumed a navy ground ---------- */

:is(.sect.dark, .sect.dark--deep, .academy-coach) .academy-coach-role,
:is(.sect.dark, .sect.dark--deep) .academy-eyebrow { color: var(--sys-link); }
:is(.sect.dark, .sect.dark--deep) .reach .num { color: var(--sys-ink); }
:is(.sect.dark, .sect.dark--deep) .reach .num.champ,
:is(.sect.dark, .sect.dark--deep) .reach .champ .num { color: var(--sys-gold-ink); }
:is(.sect.dark, .sect.dark--deep) .cd span { color: var(--sys-ink-dim); }
:is(.sect.dark, .sect.dark--deep) .cfield { display: none; }

/* ---------- EVOS ID: an app screen, so calm and even ---------- */

/* The three hub features are equals: colour stays in the top rule and icon,
   the buttons share one quiet style instead of three saturated fills. */
body.eid-demo .id-feature-card .demo-btn,
body.eid-demo .id-feature-card.coin .demo-btn,
body.eid-demo .id-feature-card.mission .demo-btn {
  background: transparent;
  border-color: var(--id-line);
  color: var(--id-paper);
}
@media not all and (pointer:coarse){body.eid-demo .id-feature-card .demo-btn:hover{ border-color: var(--id-cyan); color: var(--id-cyan); }}
body.eid-demo .id-account-overview h2 { font-size: clamp(26px, 2.6vw, 36px); }
body.eid-demo .id-feature-card h3 { font-size: clamp(24px, 2.2vw, 30px); }
body.eid-demo .id-feature-hub > header h2,
body.eid-demo .id-community > header h2 { font-size: clamp(26px, 2.8vw, 38px); }

body.eid-demo :is(.demo-strip strong, .demo-heading small, .pass-top small, .pass-bottom small,
  .demo-status, .reward-kind, .member-welcome small, .member-account small,
  .id-academy-feature > div > span, .id-coin-balance span, .id-feature-states b,
  .id-account-count small, .id-feature-card > div > small, .id-feature-status,
  .id-account-overview > span, .id-feature-hub > header span, .id-community > header small,
  .id-coin-live .demo-section-head small, .id-mission-live .demo-section-head small) {
  font-size: 12px;
  letter-spacing: var(--sys-track);
}
body.eid-demo .id-community-note { font-size: 13px; }

/* ---------- EVOS ID + Profil: reading sizes on navy ---------- */

/* Descriptions were 12–13px in muted blue on navy; 15px with more line height reads without strain. */
body.eid-demo :is(.demo-heading p, .demo-note, .demo-muted, .member-note, .id-feature-hub > header > p,
  .id-feature-card p, .id-academy-feature p, .id-mission-live > div > p, .id-empty-state,
  .id-community-grid p, .demo-mission-feature p, .id-activity p, .id-tile p, .member-benefits li,
  #evos-academy-portal .academy-history-row p, #evos-academy-portal .academy-history-row time) {
  font-size: 15px;
  line-height: 1.6;
}
body.eid-demo :is(.member-email, .demo-row small, .demo-error, .mission-reward) { font-size: 13px; }
body.eid-demo :is(.id-activity small, .demo-section-head small, .id-services-head small, .id-tile em, .member-benefits b, .demo-nav button) {
  font-size: 12px;
  letter-spacing: var(--sys-track);
}
body.eid-demo :is(.demo-btn, .demo-btn.small, .reward-card .demo-btn, .demo-row .demo-btn) { font-size: 14px; }

body.eid-profile-page :is(.profile-hero p, .profile-section-head p, .social-row p) { font-size: 15px; line-height: 1.6; }
body.eid-profile-page :is(.profile-help, .reward-note, .profile-message, .profile-privacy, .profile-status, .profile-back) { font-size: 13px; line-height: 1.55; }
body.eid-profile-page :is(.profile-guest small, .profile-eyebrow, .profile-progress small,
  .social-row-meta b, .social-row-meta small) { font-size: 12px; letter-spacing: var(--sys-track); }

/* Callouts: a quiet hairline box instead of a thick coloured left bar. */
body.eid-demo :is(.demo-note, .id-empty-state) { border-left: 0; border: 1px solid var(--id-line); border-radius: 8px; }
body.eid-profile-page :is(.profile-access-notice, .phone-verified) { border-left: 0; border: 1px solid var(--profile-line); border-radius: 8px; }

/* Social rows: the reward note sat in the 46px icon column and wrapped one word per line. */
body.eid-profile-page .social-row > .profile-btn + .social-row-meta { grid-column: 2 / -1; grid-row: 2; text-align: left; margin-top: -8px; }

/* EVOS ID hub: say the name once (the heading and the card already carry it). The account bar keeps
   the email and Log out; its profile link moves into the overview panel. In the Academy view the bar
   stays complete because the hub is hidden. */
body.eid-demo:not(.academy-focus) .member-account :is(strong, a[href="evos-profile.html"]) { display: none; }
/* The wallet panel repeats the balance shown on the EVOS Points card, so it is quieter. */
body.eid-demo .id-coin-balance strong { font-size: clamp(40px, 4vw, 52px); }

/* ---------- Label floor that wins (audit 28 Sep, second pass) ----------
   Page stylesheets set these labels with more specific selectors (10–11px), so the floor above
   lost the cascade. !important is limited to font-size on this explicit list. */
:is(.small-label, .matchday-label span, .fixture small, .player-top span, .player-bottom span,
  .division-list a span, .nm .cat, .academy-official, .goods-item span, .goods-item p,
  .trophy-pick .trophy-index, .trophy-pick .trophy-year, .trophy-pick .trophy-short,
  .tiger .n span, .inactive-status, .ak-note, .fact-chips span, .wall span,
  .curriculum ol li b, section.sect ol > li > b, .fan-bottom a, .fan-bottom .fan-more) { font-size: 12px !important; }
.fan-footer .fan-footer-base :is(span, a) { font-size: 13px !important; }
/* Footer links such as "Tim" were 20px wide on phones; give each a comfortable tap width. */
.fan-footer nav a { min-width: 32px; padding-inline: 4px; text-align: center; }

/* Home (28 Sep): the next match is shown once — in the schedule band that now sits right under the hero —
   and Academy is promoted once (the "Mimpi besar" card), not also as a row in the team list. */
body:has(#hero-title) #hero-match { display: none; }
.division-list .academy-link { display: none; }

/* Screen-reader-only text, available on every page (profile loading states use it for their page heading). */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Pass 3 (28 Sep): pages that had no design of their own ---------- */

/* Match recaps are generated as bare markup (prepare-match-articles.mjs); give them a reading layout. */
#fan-main > article.sect.wrap { max-width: 760px; margin-inline: auto; padding-block: clamp(40px, 8vh, 88px); }
#fan-main > article.sect.wrap > p:first-child { font-size: 12px; font-weight: 800; letter-spacing: var(--sys-track); text-transform: uppercase; color: var(--sys-link); margin: 0 0 12px; }
#fan-main > article.sect.wrap > h1 { font-family: var(--f-display, Anton, sans-serif); font-weight: 400; font-size: var(--sys-h1); line-height: 0.98; text-transform: uppercase; margin: 0; }
#fan-main > article.sect.wrap > time { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: var(--sys-track); color: var(--sys-ink-dim); }
#fan-main > article.sect.wrap > p:not(:first-child) { max-width: 65ch; margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--sys-ink-2); }
#fan-main > article.sect.wrap > p:nth-of-type(2) { font-size: 20px; color: var(--sys-ink); }
#fan-main > article.sect.wrap > a,
#fan-main > article.sect.wrap > p > a { display: inline-flex; align-items: center; min-height: 44px; margin: 22px 10px 0 0; padding: 10px 18px; border: 1px solid var(--sys-hair); border-radius: 30px; font-weight: 700; font-size: 14px; color: var(--sys-ink); }
#fan-main > article.sect.wrap > a:first-of-type { background: var(--sys-cyan); border-color: var(--sys-cyan); }
#fan-main > article.sect.wrap > p:has(> a) { display: inline; margin: 0; }

/* Inactive players without a photo: the status sat on the same line as the name. */
.tiger .n2 .inactive-status { display: block; margin-top: 4px; }

/* Academy programme: the Offline option was a full cyan slab; keep the emphasis without the glare. */
.af-grid .af-plus { background: color-mix(in srgb, var(--sys-cyan) 12%, var(--sys-card)); border: 1px solid color-mix(in srgb, var(--sys-cyan) 55%, transparent); color: var(--sys-ink); }
.tiger--more .n2 { font-family: var(--f-display, Anton, sans-serif); font-size: 22px; line-height: 1; letter-spacing: 0.01em; }
.tiger--more .n2 .inactive-status { font-family: var(--f-body, "Hanken Grotesk", sans-serif); font-weight: 700; letter-spacing: var(--sys-track); }
.tiger .n2, .tiger .n2 .inactive-status { white-space: normal; overflow-wrap: anywhere; }
/* Academy programme on phones: title and main action first, the photo grid after. */
@media (max-width: 760px) { .ap-hero .ap-hero-copy { order: -1; } }
/* The status notice inside the navy programme hero matches the Academy page (dark tint, light text). */
.ap-hero .academy-access-notice { background: rgba(238, 242, 246, 0.07); color: var(--sys-snow); }

/* ---------- Academy feedback form (academy.html#feedback=<token>) ---------- */
body.feedback-mode main > section:not(#feedback), body.feedback-mode .academy-sticky { display: none !important; }
.academy-feedback { background: var(--sys-paper); padding-block: clamp(32px, 6vh, 72px); }
.academy-feedback-wrap { max-width: 720px; }
.academy-feedback h1 { font-family: var(--f-display, Anton, sans-serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1; text-transform: uppercase; margin: 8px 0 14px; }
.academy-feedback-lead { font-size: 17px; line-height: 1.6; color: var(--sys-ink-2); max-width: 60ch; margin: 0 0 24px; }
.academy-feedback-form { display: grid; gap: 22px; }
.fb-scale { border: 1px solid var(--sys-hair); border-radius: 12px; padding: 16px 18px; margin: 0; background: var(--sys-card); }
.fb-scale legend { float: left; width: 100%; padding: 0; font-weight: 700; font-size: 16px; line-height: 1.4; }
.fb-scale legend + .fb-options { clear: both; }
.fb-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fb-options label { position: relative; }
.fb-options input { position: absolute; opacity: 0; inset: 0; }
.fb-options span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--sys-hair); border-radius: 10px; font-weight: 700; cursor: pointer; background: var(--sys-paper); }
.fb-options input:checked + span { background: var(--sys-navy); color: var(--sys-snow); border-color: var(--sys-navy); }
.fb-options input:focus-visible + span { outline: 2px solid var(--sys-link); outline-offset: 2px; }
.fb-ends { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 13px; color: var(--sys-ink-dim); }
.fb-text { display: grid; gap: 8px; font-weight: 700; }
.fb-text textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--sys-hair); border-radius: 10px; background: var(--sys-card); color: var(--sys-ink); resize: vertical; }
.fb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.fb-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.fb-error { color: #b3324b; font-weight: 700; margin: 0; }
.academy-feedback-form .fan-cta { justify-self: start; min-height: 48px; }

/* ---------- EVOS ID: Academy applications ---------- */
/* Active classes are cards with their next step; finished, expired and rejected ones sit in a collapsible history. */
body.eid-demo #evos-academy-portal #academy-history-list { max-height: none; overflow: visible; padding: 0; }
body.eid-demo #evos-academy-portal .academy-list-title { margin: 18px 0 10px; font-size: 12px; letter-spacing: var(--sys-track, .14em); text-transform: uppercase; color: #8fa6c0; }
body.eid-demo #evos-academy-portal .academy-active-list { display: grid; gap: 12px; }
body.eid-demo #evos-academy-portal .academy-active-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px; border: 1px solid #29496c; border-radius: 12px; background: #0d1b30; }
body.eid-demo #evos-academy-portal .academy-active-card > div { display: grid; gap: 4px; min-width: 0; }
body.eid-demo #evos-academy-portal .academy-active-card strong,
body.eid-demo #evos-academy-portal .academy-past-row strong { display: block; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; }
body.eid-demo #evos-academy-portal .academy-history-status { display: block; margin: 0; font-size: 15px; color: #e6eef8; }
body.eid-demo #evos-academy-portal .academy-active-note { margin: 0; font-size: 14px; line-height: 1.5; color: #f3c969; }
body.eid-demo #evos-academy-portal .academy-history-id { display: block; margin: 0; font-size: 12px; line-height: 1.4; color: #8fa6c0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
body.eid-demo #evos-academy-portal .academy-active-card button { flex: none; }
body.eid-demo #evos-academy-portal .academy-empty { margin: 12px 0; font-size: 15px; color: #bed0e5; }
body.eid-demo #evos-academy-portal .academy-past { margin-top: 20px; border-top: 1px solid #29496c; }
body.eid-demo #evos-academy-portal .academy-past summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 700; color: #e6eef8; }
body.eid-demo #evos-academy-portal .academy-past summary { list-style: none; }
body.eid-demo #evos-academy-portal .academy-past summary::-webkit-details-marker { display: none; }
body.eid-demo #evos-academy-portal .academy-past summary::before { content: "\25B8"; width: 18px; color: #4bd4ff; }
body.eid-demo #evos-academy-portal .academy-past[open] summary::before { content: "\25BE"; }
body.eid-demo #evos-academy-portal .academy-past ul { list-style: none; margin: 0; padding: 0; }
body.eid-demo #evos-academy-portal .academy-past-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #1d3553; }
body.eid-demo #evos-academy-portal .academy-past-row > div { display: grid; gap: 2px; min-width: 0; }
body.eid-demo #evos-academy-portal .academy-past-row strong { font-size: 14px; }
body.eid-demo #evos-academy-portal .academy-past-row span { font-size: 14px; color: #bed0e5; }
body.eid-demo #evos-academy-portal .academy-account button.academy-past-open { min-height: 40px; padding: 8px 14px; margin: 0; background: transparent; border: 1px solid #3d648d; color: #e6eef8; font-size: 13px; }
body.eid-demo #evos-academy-portal .academy-account button.academy-new-registration { display: block; margin: 20px 0 0; background: transparent; border: 1px solid #4bd4ff; color: #4bd4ff; }
body.eid-demo #evos-academy-portal .academy-account button.academy-new-registration[hidden],
body.eid-demo #evos-academy-portal .academy-account button#academy-history-refresh[hidden] { display: none; }
body.eid-demo #evos-academy-portal .academy-account button#academy-history-refresh { margin: 12px 0 0; padding: 9px 14px; font-size: 13px; }
body.eid-demo #evos-academy-portal .academy-form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body.eid-demo #evos-academy-portal .academy-account button.academy-form-close { min-height: 44px; padding: 0 4px; margin: 0; background: none; border: 0; color: #4bd4ff; font-size: 14px; }
body.eid-demo #evos-academy-portal .academy-account button.academy-form-close[hidden] { display: none; }
@media (max-width: 650px) {
  body.eid-demo #evos-academy-portal .academy-active-card { flex-direction: column; align-items: stretch; }
  body.eid-demo #evos-academy-portal .academy-active-card button { width: 100%; }
}

/* Timeline photos keep their aspect ratio; width/height attributes only reserve space while they load. */
.tl-media img { width: 100%; height: auto; }

/* Anton loads from Google Fonts with display=swap. Until it arrives, headings used a much wider system font,
   so titles wrapped differently and the page jumped when Anton swapped in. This local fallback is Arial/Roboto
   scaled to Anton's width (72%) with Anton's vertical metrics, so the swap no longer moves the layout. */
@font-face {
  font-family: "Anton Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 72.05%;
  ascent-override: 163.8%;
  descent-override: 45.8%;
  line-gap-override: 0%;
}
:root {
  --font-display: "Anton", "Anton Fallback", sans-serif;
  --fan-display: "Anton", "Anton Fallback", sans-serif;
  --id-display: "Anton", "Anton Fallback", sans-serif;
  --f-display: "Anton", "Anton Fallback", sans-serif;
}
/* Title widths were in `ch`, which follows the active font: the fallback's narrower "0" shrank the box and
   forced an extra line until Anton arrived. Same widths in Anton's em (1ch = 0.49em). */
.page-head h1 { max-width: 7.84em; }
.legal-hero h1, .not-found-page h1 { max-width: 5.88em; }

/* Contact page: display headings follow the uppercase rule; long addresses wrap instead of being clipped. */
.contact-directory h2 { text-transform: uppercase; }
.contact-email, .contact-phone { min-width: 0; overflow-wrap: anywhere; }
.contact-phone { gap: 6px; }
@media (max-width: 760px) {
  .contact-opening, .contact-location-inner { grid-template-columns: minmax(0, 1fr); }
}

/* Touch baseline: no double-tap delay, menu scroll stays in the menu,
   and focused elements are not hidden behind the fixed bottom navigation. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { touch-action: manipulation; }
.fan-menu { overscroll-behavior: contain; }
@media (max-width: 920px) {
  html { scroll-padding-bottom: 72px; }
}
/* Header and footer controls are 44px wide as well as tall: the logo, the icon-only EVOS ID button,
   the language button and the short footer links ("Tim", "Fams") were 36 to 40px wide on phones. */
.fan-brand, .evos-id-nav { min-width: 44px; justify-content: center; }
.fan-header .language-switch a { min-width: 44px; min-height: 44px; }
.fan-footer nav a { min-width: 44px; }
/* Partner names rested at 55% ink, which is 3.9:1 on paper at 22px on phones. 75% keeps them
   quieter than the hovered name and clears 4.5:1. */
.wall b { opacity: 0.75; }

/* Contact page: the title lines up with the first rule of the directory and carries a one-line intro. */
.contact-statement h1 { margin: 0 0 20px; }
.contact-community .fan-quick-actions { margin-top: 16px; }

/* Press feedback: pressables give way slightly under the finger or cursor. Hover styles live behind
   @media not all and (pointer: coarse) in each stylesheet, so nothing stays "hovered" after a tap on a
   phone, while mouse (and pointer-less desktop) sessions keep them. */
.fan-cta, .fan-menu-toggle, .evos-id-nav, .fan-bottom a, .fan-bottom button, .pill {
  transition: transform 160ms var(--ease, cubic-bezier(0.16, 1, 0.3, 1)), background-color 200ms ease;
}
.fan-cta:active, .fan-menu-toggle:active, .evos-id-nav:active, .fan-bottom a:active, .fan-bottom button:active, .pill:active {
  transform: scale(0.97);
  transition-duration: 160ms;
}
.fan-menu a, .fan-footer a { transition: color 150ms ease; }

/* Menu: the open state is visible on its toggles, and the panel eases in instead of appearing at once.
   Closing stays instant (links navigate away, Escape is a keyboard action). */
.fan-menu-toggle[aria-expanded="true"], .fan-more[aria-expanded="true"] { color: var(--fan-cyan, #59d8ff); }
.fan-menu { transition: opacity 200ms var(--ease, cubic-bezier(0.16, 1, 0.3, 1)), transform 200ms var(--ease, cubic-bezier(0.16, 1, 0.3, 1)); }
.fan-menu[hidden] { transition: none; }
@starting-style {
  .fan-menu:not([hidden]) { opacity: 0; transform: translateY(-8px); }
}
@media (max-width: 920px) {
  @starting-style {
    .fan-menu:not([hidden]) { transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .fan-cta:active, .fan-menu-toggle:active, .evos-id-nav:active, .fan-bottom a:active, .fan-bottom button:active, .pill:active { transform: none; }
  .fan-menu { transition: opacity 150ms ease; }
  @starting-style {
    .fan-menu:not([hidden]) { transform: none; }
  }
}

/* EVOS ID and its profile page draw their content from script. Until that arrives the main area was empty,
   so the footer sat right under the header and then jumped a full screen down. Keep the main area one
   screen tall so the footer always starts below the fold. */
body.eid-demo main, body.eid-profile-page main { min-height: calc(100vh - 82px); min-height: calc(100svh - 82px); }

/* Profile page: the static "Memeriksa akses EVOS ID…" strip only ever disappeared again once the Academy
   catalogue answered, pushing the whole profile up (or staying forever when that request failed). The
   profile script already shows its own loading and error states, so the strip stays out of the layout. */
body.eid-profile-page .profile-static-access { display: none; }

/* EVOSGOODS on the home page: with three products the third no longer sits alone. Wide screens show one
   row of three; phones keep the pair on top and turn the third into a compact image + text row. */
@media (min-width: 1000px) {
  .goods-grid:has(> .goods-item:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goods-grid > .goods-item:nth-child(3):last-child { grid-column: auto; }
}
@media (max-width: 999px) {
  .goods-grid > .goods-item:nth-child(3):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; align-content: start; }
  .goods-grid > .goods-item:nth-child(3):last-child > .goods-image { grid-row: 1 / span 4; }
  .goods-grid > .goods-item:nth-child(3):last-child > span:first-of-type { margin-top: 0; }
}
@media (pointer: coarse) {
  .goods-item:hover img { transform: none; }
}

/* Academy: coaches side by side (photo, name, role). */
.academy-page .academy-coach h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; margin: 0; }
.academy-coaches { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: clamp(16px, 3vw, 32px); margin-top: 32px; }
.academy-coaches figure { margin: 0; }
.academy-coaches img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; border-radius: 4px; }
.academy-coaches figcaption { margin-top: 14px; }
.academy-coaches b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; }
.academy-coaches span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-dim); }
.academy-coach .academy-coaches + .fan-cta { margin-top: 32px; }

/* News: the list waits (without changing layout) for the CMS items instead of showing the built-in
   cards and then swapping them, and tablets get two columns instead of one 700px-wide card. */
.cms-hold { visibility: hidden; }
@media (min-width: 620px) and (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Skip link for pages that do not load fan-pages.css (privacy, terms, 404): hidden until it receives keyboard focus. */
.fan-skip { position: fixed; top: 8px; left: 16px; z-index: 10000; padding: 12px 20px; background: var(--fan-cyan, #59d8ff); color: var(--fan-ink, #10151d); font-weight: 700; text-decoration: none; transform: translateY(-160%); }
.fan-skip:focus { transform: none; }

/* Jadwal. The built-in rows and next-match card only reserve space: they stay invisible until the schedule
   script has filled them, so an outdated fixture never flashes on a slow connection. If that script cannot
   load, only content the CMS loader has filled in is revealed after four seconds; the built-in placeholders
   (fixtures from September) are never shown. */
.match-feature [data-cms-first="Matches"]:not([data-match-snapshot]),
[data-cms-list="Matches"]:not([data-match-snapshot]) > .row { visibility: hidden; }
html.js .match-feature [data-cms-first="Matches"][data-cms-applied]:not([data-match-snapshot]),
html.js [data-cms-list="Matches"][data-cms-applied]:not([data-match-snapshot]) > .row { animation: evos-late-reveal 0s linear 4s forwards !important; }
/* Home: "Jadwal belum tersedia" is an honest fallback, but it must not flash before the fixtures arrive.
   These reveals are a delayed visibility switch, not motion, so they are exempt (!important) from the
   reduced-motion rule that turns every animation off. */
[data-cms-list="Matches"]:not([data-match-snapshot]) > .matchday-empty { visibility: hidden; animation: evos-late-reveal 0s linear 4s forwards !important; }
@keyframes evos-late-reveal { to { visibility: visible; } }

/* A match that is scheduled to be on right now: one plain line above the next fixture. */
.fan-match-now { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: rgba(89, 216, 255, 0.12); color: var(--fan-snow, #eef2f6); font-size: 14px; font-weight: 600; line-height: 1.5; }

/* Result rows. A score still to come was pale blue on a white card (2.2:1); it now uses the dim ink. On phones the
   date column gives up width it never used, so "MPL ID S18 · 14:00 WIB" stays on one line and the opponent's
   name no longer breaks after "VS". */
.fan-score-pending { color: var(--ink-dim, #55636f) !important; max-width: none; white-space: nowrap; }
@media (max-width: 560px) {
  .board .row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
  .board .row .w small { letter-spacing: 0.06em; }
  .fan-score-pending { max-width: 9ch; white-space: normal; }
}

/* Detail pass (make-interfaces-feel-better, 9 Oct 2026).
   Headings break into lines of similar length and running text avoids a single word on its last line.
   Browsers without text-wrap support ignore both. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption, dd, blockquote { text-wrap: pretty; }
/* The countdown ticks every minute: equal-width digits keep it from shifting sideways. */
.cd b, .cd [data-u] { font-variant-numeric: tabular-nums; }
/* News photos: a hairline in pure black at 10% gives light photos an edge against the white card. */
.news-card > img:not(.news-contain) { outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; }

/* Tim: di layar lebar kartu roster menyesuaikan lebar supaya enam pemain muat sebaris, dan roster yang lebih
   panjang turun ke baris berikutnya. Sebelumnya kartu 250px membuat pemain terakhir tersembunyi di balik gulir
   mendatar yang mudah terlewat oleh pengguna mouse. Di bawah 1200px strip tetap digeser. */
@media (min-width: 1200px) {
  .page[data-page^="team"] .tigers { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; }
  .page[data-page^="team"] .tigers > .tiger { flex-basis: clamp(170px, calc((100% - 61px) / 6), 250px); }
  .page[data-page^="team"] .tigers > .tiger--more { min-height: 0; }
}
/* Strip roster yang bisa digeser menerima fokus keyboard (fan-pages.js); garis fokusnya jangan terpotong. */
.tigers:focus-visible { outline-offset: 4px; }

/* Profil EVOS ID: nickname sosial yang diisi member (migrasi 0040). */
.social-row.social-claim { grid-template-columns: 46px minmax(0, 1fr); align-items: start; }
.social-claim p a { color: var(--profile-cyan); text-underline-offset: 3px; }
.social-claim .profile-status { margin-left: 6px; white-space: nowrap; }
.social-claim-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-claim-field { display: flex; flex: 1 1 200px; min-width: 0; height: 48px; align-items: center; padding-left: 14px; border: 1px solid var(--profile-line); border-radius: 6px; background: var(--profile-input); color: var(--profile-muted); }
.social-claim-field:focus-within { outline: 2px solid var(--profile-cyan); outline-offset: 2px; }
.social-claim-field input { flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 4px; border: 0; background: transparent; color: var(--profile-paper); font: inherit; }
.social-claim-field input:focus { outline: none; }
.social-claim-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-row.social-claim .profile-btn { width: auto; min-width: 96px; min-height: 48px; margin-top: 0; grid-column: auto; }
.social-claim .profile-message { margin-top: 8px; }

/* Beranda: dialog ajakan EVOS ID (evos-id-promo.js). Warna dari token Beranda. */
.id-promo { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--color-rule, #355181); border-radius: 20px; background: var(--color-stage-deep, #061a44); color: var(--color-snow, #f2f6fb); overflow: hidden; box-shadow: 0 24px 60px rgb(2 16 46 / 0.5); }
.id-promo[open] { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: end; }
.id-promo::backdrop { background: rgb(2 10 28 / 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.id-promo-copy { padding: 40px 8px 36px 36px; align-self: center; }
.id-promo h2 { margin: 0 0 12px; font-family: var(--font-display, Anton, sans-serif); font-weight: 400; font-size: clamp(30px, 5vw, 44px); line-height: 1; text-transform: uppercase; color: var(--color-snow, #f2f6fb); }
.id-promo p { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.55; color: var(--color-dim, #b8cbed); }
.id-promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; }
.id-promo-cta { display: inline-flex; min-height: 48px; align-items: center; gap: 8px; padding: 0 22px; border-radius: 999px; background: var(--color-accent, #59d8ff); color: var(--color-accent-ink, #082969); font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform 0.15s ease-out; }
.id-promo-cta:active { transform: scale(0.97); }
.id-promo-later { min-height: 48px; padding: 0 8px; border: 0; background: none; color: var(--color-dim, #b8cbed); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.id-promo-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(242 246 251 / 0.1); color: var(--color-snow, #f2f6fb); font-size: 24px; line-height: 1; cursor: pointer; }
.id-promo :focus-visible { outline: 2.5px solid var(--color-accent, #59d8ff); outline-offset: 3px; }
.id-promo-art { display: block; width: 100%; height: auto; align-self: end; margin: 24px 12px 0 0; }
@media (hover: hover) { .id-promo-cta:hover { background: #8ae4ff; } .id-promo-later:hover, .id-promo-close:hover { color: #fff; } }
@media (max-width: 560px) {
  .id-promo[open] { grid-template-columns: minmax(0, 1fr); }
  .id-promo-art { order: -1; width: 132px; margin: 28px 0 0 24px; }
  .id-promo-copy { padding: 16px 24px 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .id-promo[open] { animation: id-promo-in 0.22s ease-out; }
  @keyframes id-promo-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
}

/* Academy: klip suasana kelas (academy-clips.js), satu deret per lokasi di bawah kartunya. ITF: dua kartu tegak.
   UI: satu video lebar seukuran sepasang kartu tegak (tingginya dipatok oleh .academy-clip-sizer). */
.academy-location-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.academy-clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 420px; margin-top: auto; padding-top: 28px; }
.academy-clip-sizer { grid-area: 1 / 1; aspect-ratio: 448 / 832; }
.academy-clips-wide .academy-clip-wide { grid-area: 1 / 1 / 2 / 3; aspect-ratio: auto; height: 100%; width: 100%; }
.academy-clip { position: relative; display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #0c1830; aspect-ratio: 448 / 832; cursor: pointer; }
.academy-clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.academy-clip::after { content: ""; position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgb(6 26 68 / 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f2f6fb' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 22px no-repeat; transition: opacity 0.2s ease-out; }
.academy-clip.is-playing::after { opacity: 0; }
.academy-clip:focus-visible { outline: 2.5px solid var(--link, #125bc1); outline-offset: 3px; }
@media (max-width: 768px) {
  .academy-clips { max-width: 368px; padding-top: 20px; }
}

/* Academy: tombol "Tutorial" di header (garis cyan, di kiri tombol Academy) dan dialog video cara daftar. */
.fan-header .academy-nav-tutorial { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; padding: 0 14px; border: 1.5px solid var(--fan-cyan, #59d8ff); border-radius: 4px; color: var(--fan-cyan, #59d8ff); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
.fan-header .academy-nav-tutorial svg { width: 14px; height: 14px; flex: none; }
.fan-header .academy-nav-tutorial + .academy-nav-feature { margin-left: 10px; }
@media not all and (pointer: coarse) { .fan-header .academy-nav-tutorial:hover { background: rgb(89 216 255 / 0.12); } }
.fan-header .academy-nav-tutorial:focus-visible { outline: 2px solid var(--fan-cyan, #59d8ff); outline-offset: 3px; }
/* Ponsel: header sudah penuh. Di halaman Academy tombol "Academy" menunjuk halaman yang sedang dibuka, jadi
   tempatnya dipakai tombol Tutorial. */
@media (max-width: 550px) {
  .fan-header .academy-nav-tutorial { padding: 0 10px; gap: 6px; font-size: 12px; }
  .fan-header .academy-nav-tutorial + .academy-nav-feature[aria-current="page"] { display: none; }
}
@media (max-width: 374px) {
  .fan-header .academy-nav-tutorial { width: 44px; padding: 0; justify-content: center; }
  .fan-header .academy-nav-tutorial span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.academy-tutorial { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; border: 0; border-radius: 16px; background: #0c1830; color: #f2f6fb; overflow: auto; }
.academy-tutorial.is-tall { width: min(420px, calc(100vw - 32px)); }
.academy-tutorial::backdrop { background: rgb(4 10 24 / 0.82); }
.academy-tutorial-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.academy-tutorial-head .academy-eyebrow { margin: 0 0 6px; color: var(--fan-cyan, #59d8ff); }
.academy-tutorial h2 { margin: 0; font: 400 clamp(26px, 3.4vw, 36px)/1 var(--fan-display, Anton, sans-serif); text-transform: uppercase; }
.academy-tutorial-close { flex: none; width: 44px; height: 44px; border: 1px solid rgb(242 246 251 / 0.25); border-radius: 50%; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.academy-tutorial-close:focus-visible { outline: 2px solid var(--fan-cyan, #59d8ff); outline-offset: 2px; }
.academy-tutorial video { display: block; width: 100%; height: auto; max-height: calc(100dvh - 190px); border-radius: 10px; background: #000; }
.academy-tutorial p:last-child { margin: 14px 0 0; color: rgb(242 246 251 / 0.78); font-size: 15px; }

/* Beranda: banner geser di slot "EVOS ID" (home-banner.js). Satu pola untuk semua slide; tinggi dikunci. */
.home-banner { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); background: var(--sys-paper-2, #e6eaec); color: var(--sys-ink, #10151d); }
.home-banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.home-banner-track::-webkit-scrollbar { display: none; }
.home-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-inline: var(--fan-gutter, clamp(20px, 4.5vw, 58px)); min-height: 400px; }
.home-slide h2 { margin: 0 0 16px; font: 400 clamp(40px, 6vw, 84px)/0.95 var(--fan-display, Anton, sans-serif); letter-spacing: -0.01em; text-transform: uppercase; }
.home-slide p { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--sys-ink-2, #3a4654); }
.home-slide .fan-cta { margin-top: 24px; }
.home-slide-art { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; background: #0a1830; display: grid; place-items: center; }
.home-slide-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-slide-art.is-contain { background: radial-gradient(circle at 70% 25%, rgb(89 216 255 / 0.22), transparent 46%), #0a1830; }
.home-slide-art.is-contain { position: relative; }
.home-slide-art.is-contain img { position: absolute; inset: 7% 13%; width: 74%; height: 86%; object-fit: contain; }
.home-slide-art.is-light { background: #fff; }
.home-slide-art.is-light img { object-fit: contain; }
.home-banner-controls { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-inline: var(--fan-gutter, clamp(20px, 4.5vw, 58px)); }
.home-banner-dots { display: flex; gap: 4px; margin-right: auto; }
.home-banner-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.home-banner-dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgb(16 21 29 / 0.5); transition: background-color 0.2s ease-out; }
.home-banner-dot[aria-current="true"]::before { background: var(--sys-ink, #10151d); }
.home-banner-btn { width: 44px; height: 44px; border: 1px solid rgb(16 21 29 / 0.28); border-radius: 50%; background: none; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; transition: transform 0.15s ease-out, background-color 0.15s ease-out; }
.home-banner-btn:active { transform: scale(0.96); }
.home-banner-btn svg { display: block; width: 16px; height: 16px; margin: auto; fill: currentColor; }
.home-banner :focus-visible { outline: 2.5px solid var(--sys-link, #125bc1); outline-offset: 3px; }
@media (hover: hover) { .home-banner-btn:hover { background: rgb(16 21 29 / 0.07); } }
@media (max-width: 820px) {
  .home-slide { grid-template-columns: minmax(0, 1fr); gap: 20px; min-height: 0; align-content: start; }
  .home-slide-art { order: -1; aspect-ratio: 16 / 10; }
  .home-slide h2 { font-size: clamp(38px, 11vw, 60px); }
  .home-slide .fan-cta { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .home-banner-track { scroll-behavior: smooth; } }

/* EVOS ID journey (13 Okt 2026): the entry page shows the same card artwork as the popup and the banner,
   and a new account sees its locked features as three compact rows instead of three tall empty cards. */
body.eid-demo .member-welcome { min-height: 0; padding-block: clamp(32px, 6vw, 72px); }
body.eid-demo .member-welcome > img.member-welcome-art { width: 100%; max-width: 400px; height: auto; justify-self: center; }
body.eid-demo .member-welcome .member-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
body.eid-demo .member-welcome .member-actions .demo-btn { margin: 0; }
@media (max-width: 600px) {
  body.eid-demo .member-welcome > img.member-welcome-art { grid-row: 1; width: min(42vw, 168px); justify-self: start; }
  body.eid-demo .member-welcome .member-actions .demo-btn { width: 100%; }
}
body.eid-demo .id-feature-grid.is-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.eid-demo .id-feature-grid.is-compact .id-feature-card { grid-column: auto; min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; opacity: 1; }
body.eid-demo .id-feature-grid.is-compact .id-feature-card > .di { flex: none; width: 26px; height: 26px; margin: 0; opacity: .7; }
body.eid-demo .id-feature-grid.is-compact .id-feature-card > div > small { display: none; }
body.eid-demo .id-feature-grid.is-compact .id-feature-card h3 { margin: 0 0 4px; font-size: 22px; padding-right: 96px; }
body.eid-demo .id-feature-grid.is-compact .id-feature-card p { max-width: none; font-size: 13px; line-height: 1.45; }
body.eid-demo .id-feature-grid.is-compact .id-feature-status { top: 20px; right: 18px; }
@media (max-width: 900px) { body.eid-demo .id-feature-grid.is-compact { grid-template-columns: minmax(0, 1fr); } }

/* Beranda: banner besar di bagian paling atas (13 Okt 2026). Slide pertama = logo + tagline EVOS (brand-hero apa adanya);
   slide lain memakai panggung biru yang sama dan mengikuti tinggi slide pertama. */
.home-banner--hero { padding: 0; background: none; color: inherit; }
.home-banner--hero .home-slide--brand { display: block; padding: 0; min-height: 0; }
.home-banner--hero .home-slide:not(.home-slide--brand) { padding-block: clamp(28px, 5vw, 64px); align-content: center; }
.home-banner--hero .home-slide p { color: #c8d6ea; }
.home-banner--hero .home-slide-art { outline-color: rgb(255 255 255 / 0.14); max-height: min(62vh, 560px); justify-self: center; width: 100%; }
.home-banner--hero .home-banner-controls { max-width: 1800px; margin: 0 auto; padding-block: 12px 20px; }
.home-banner--hero .home-banner-dot::before { background: rgb(242 246 251 / 0.42); }
.home-banner--hero .home-banner-dot[aria-current="true"]::before { background: #f2f6fb; }
.home-banner--hero .home-banner-btn { border-color: rgb(242 246 251 / 0.4); }
.home-banner--hero :focus-visible { outline-color: var(--color-focus, #59d8ff); }
@media (hover: hover) { .home-banner--hero .home-banner-btn:hover { background: rgb(242 246 251 / 0.12); } }

/* Banner Beranda: gambar unggahan admin yang bentuknya tidak cocok dengan bingkai tampil utuh (home-banner.js, fit()). */
.home-slide-art.is-fit { position: relative; background: #0a1830; }
.home-slide-art.is-fit::before { content: ""; position: absolute; inset: -28px; background: var(--fit-bg) center / cover no-repeat; filter: blur(24px) brightness(0.72); }
.home-slide-art.is-fit img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }

/* Banner Beranda tanpa kotak (13 Okt 2026, keputusan pemilik): gambar tiap slide mengisi sisi kanan panggung dari
   tepi atas sampai bawah dan memudar ke warna latar, bukan kartu bersudut. Gambar utuh (maskot, logo, unggahan
   berbentuk lain) berdiri langsung di atas latar. Di ponsel gambar mengisi bagian atas slide dan memudar ke bawah. */
.home-banner--hero .home-slide:not(.home-slide--brand) { position: relative; overflow: hidden; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); }
.home-banner--hero .home-slide-copy { position: relative; z-index: 1; }
.home-banner--hero .home-slide-art,
.home-banner--hero .home-slide-art.is-contain,
.home-banner--hero .home-slide-art.is-light,
.home-banner--hero .home-slide-art.is-fit { position: absolute; inset: 0 0 0 auto; width: 64%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; outline: 0; background: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36%); mask-image: linear-gradient(90deg, transparent 0, #000 36%); }
.home-banner--hero .home-slide-art.is-light { background: #fff; }
.home-banner--hero .home-slide-art.is-contain { background: radial-gradient(closest-side at 62% 50%, rgb(89 216 255 / 0.2), transparent 78%); }
.home-banner--hero .home-slide-art.is-fit::before { content: none; }
.home-banner--hero .home-slide-art.is-fit { background: radial-gradient(closest-side at 62% 50%, rgb(255 255 255 / 0.1), transparent 78%); }
.home-banner--hero .home-slide-art.is-contain img,
.home-banner--hero .home-slide-art.is-light img,
.home-banner--hero .home-slide-art.is-fit img { position: absolute; inset: 7% 5% 7% 30%; width: 65%; height: 86%; object-fit: contain; }
@media (max-width: 820px) {
  .home-banner--hero .home-slide:not(.home-slide--brand) { grid-template-columns: minmax(0, 1fr); padding-top: 0; align-content: start; }
  .home-banner--hero .home-slide-art,
  .home-banner--hero .home-slide-art.is-contain,
  .home-banner--hero .home-slide-art.is-light,
  .home-banner--hero .home-slide-art.is-fit { position: relative; inset: auto; order: -1; justify-self: stretch; width: auto; height: auto; aspect-ratio: 4 / 3; margin-inline: calc(var(--fan-gutter, clamp(20px, 4.5vw, 58px)) * -1); -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent); mask-image: linear-gradient(180deg, #000 64%, transparent); }
  .home-banner--hero .home-slide-art.is-contain img,
  .home-banner--hero .home-slide-art.is-light img,
  .home-banner--hero .home-slide-art.is-fit img { inset: 6% 12% 16%; width: 76%; height: 78%; }
  .home-banner--hero .home-slide-copy { margin-top: -28px; }
}

/* Ponsel: slide logo mengisi tinggi banner (slide lain lebih tinggi sejak gambarnya selebar layar). Isi slide
   dibagi rata ke tinggi yang ada dan logo sedikit dibesarkan, supaya ruang kosong tidak menumpuk di bawah. */
@media (max-width: 640px) {
  .home-banner--hero .home-slide--brand { display: flex; }
  .home-banner--hero .home-slide--brand > .brand-hero { flex: 1; display: flex; flex-direction: column; width: 100%; min-width: 0; }
  .home-banner--hero .home-slide--brand .brand-poster { flex: 1; align-content: center; margin-bottom: 0; }
  .home-banner--hero .home-slide--brand .brand-poster { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  .home-banner--hero .home-slide--brand .hero-emblem,
  .home-banner--hero .home-slide--brand .emblem-control { order: -1; width: min(50vw, 200px) !important; height: min(50vw, 200px) !important; }
  .home-banner--hero .home-slide--brand .brand-mantra :is(.brand-pretitle, .brand-name, .brand-belief) { font-size: clamp(38px, 12vw, 50px) !important; line-height: 1.05; }
  .home-banner--hero .home-slide--brand .hero-emblem img { width: 100%; height: 100%; }
  .home-banner--hero .home-slide--brand .brand-ground { margin-top: 0; padding-bottom: 8px; }
  .home-banner--hero .home-slide--brand .brand-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; }
  .home-banner--hero .home-slide--brand .brand-actions .fan-cta { width: auto; min-width: 0; margin: 0; padding-inline: 8px; white-space: nowrap; }
}

/* Banner Beranda: foto potret (jersey) dipotong dari bagian atas supaya wajah dan jersey tetap terlihat. */
.home-banner--hero .home-slide-art.is-top img { object-position: 50% 16%; }
@media (min-width: 821px) {
  /* Desktop: foto potret tampil setinggi slide di sisi kanan dan memudar di kedua sisinya, bukan diperbesar sampai terpotong. */
  .home-banner--hero .home-slide-art.is-top { -webkit-mask-image: none; mask-image: none; }
  .home-banner--hero .home-slide-art.is-top img { position: absolute; top: 0; right: 7%; left: auto; width: auto; height: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 78%, transparent 100%); }
}

/* Banner Beranda: gambar yang isinya di kanan-tengah (Topup). Ponsel memotong sisi gambar, jadi potongannya digeser ke kanan. */
@media (max-width: 820px) { .home-banner--hero .home-slide-art.is-right img { object-position: 100% 50%; } }

/* Gambar EVOS ID baru (kartu Fams, mendatar) di popup dan halaman masuk; sebelumnya maskot berbentuk potret. */
.id-promo[open] { grid-template-columns: minmax(0, 1fr) 290px; align-items: center; }
.id-promo-art { align-self: center; margin: 0 0 0 -22px; width: calc(100% + 22px); }
body.eid-demo .member-welcome > img.member-welcome-art { max-width: 540px; }
@media (max-width: 600px) {
  .id-promo[open] { grid-template-columns: minmax(0, 1fr); }
  .id-promo-art { order: -1; width: min(62vw, 240px); margin: 26px 0 0 16px; }
  body.eid-demo .member-welcome > img.member-welcome-art { width: min(74vw, 290px); margin-left: -8px; }
}

/* Halaman Profil (tamu): gambar kartu EVOS ID mendatar perlu kolom lebih lebar daripada maskot potret. */
@media (min-width: 761px) { body.eid-profile-page .profile-guest { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); } body.eid-profile-page .profile-guest img { max-height: 300px; } }
@media (max-width: 600px) { body.eid-profile-page .profile-guest img { width: min(72vw, 280px); max-height: none; margin-left: -8px; } }
body.eid-profile-page .profile-guest img { height: auto; }

/* Academy: penanda "status berubah" (titik merah) dan tautan grup WhatsApp kelas di EVOS ID (migrasi 0044). */
.id-news, .academy-new { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #ffe3e0; color: #8a1509; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: none; white-space: nowrap; vertical-align: middle; }
.id-news i, .academy-new i { width: 8px; height: 8px; border-radius: 50%; background: #e02b1d; flex: none; }
body.eid-demo .id-feature-card .id-news-card { position: absolute; top: 16px; right: 16px; margin: 0; }
body.eid-demo #evos-academy-portal .academy-active-card.is-new { box-shadow: inset 4px 0 0 #e02b1d; }
body.eid-demo #evos-academy-portal .academy-group-join { display: inline-flex; align-items: center; min-height: 44px; margin: 10px 0 6px; padding: 0 18px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
body.eid-demo #evos-academy-portal .academy-group-join:focus-visible { outline: 2.5px solid var(--id-cyan, #59d8ff); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .id-news i, .academy-new i { animation: id-news-pulse 1.8s ease-in-out 3; } @keyframes id-news-pulse { 50% { box-shadow: 0 0 0 5px rgb(224 43 29 / 0.25); } } }

/* EVOS ID: link feedback grup (#feedback, evos-id-feedback.js). */
body.eid-demo .id-feedback-gate { padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 40px) 0; }
body.eid-demo .id-feedback-card { max-width: 720px; margin: 0 auto; padding: clamp(22px, 4vw, 34px); border: 1px solid rgb(89 216 255 / 0.45); border-radius: 18px; background: #0b1c3d; }
body.eid-demo .id-feedback-kicker { margin: 0 0 10px; color: var(--id-cyan, #59d8ff); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; }
body.eid-demo .id-feedback-card h2 { margin: 0 0 10px; font: 400 clamp(28px, 5vw, 40px)/1.05 var(--id-display, Anton, sans-serif); text-transform: uppercase; }
body.eid-demo .id-feedback-card p { margin: 0; max-width: 56ch; color: #c3d1e0; line-height: 1.6; }
body.eid-demo .id-feedback-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
body.eid-demo .id-feedback-list .demo-btn { width: 100%; justify-content: space-between; }
body.eid-demo .id-feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
body.eid-demo .id-feedback-later { min-height: 44px; padding: 0 6px; border: 0; background: none; color: #c3d1e0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- EVOS Points wallet, stage 2 (16 Oct 2026) ----------
   Daily login state, the next expiry and a collapsible history under the Reward/Redeem states. */
body.eid-demo .id-ep-today { display: block; margin-top: 8px; color: var(--id-green); font-size: 13px; font-weight: 700; }
body.eid-demo .id-ep-facts { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
body.eid-demo .id-ep-facts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--id-line); border-radius: 10px; font-size: 14px; }
body.eid-demo .id-ep-facts b { flex: none; font-size: 12px; letter-spacing: var(--sys-track, .08em); }
body.eid-demo .id-ep-facts b.on { color: var(--id-green); }
body.eid-demo .id-ep-facts b.off { color: var(--id-muted); }
body.eid-demo .id-ep-facts .id-ep-expiry { color: var(--id-muted); }
body.eid-demo .id-ep-history { margin-top: 14px; border-top: 1px solid var(--id-line); padding-top: 12px; }
body.eid-demo .id-ep-history summary { cursor: pointer; width: fit-content; min-height: 44px; display: flex; align-items: center; color: var(--id-cyan); font-size: 14px; font-weight: 700; }
body.eid-demo .id-ep-history ol { display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
body.eid-demo .id-ep-history li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--id-line); font-size: 14px; }
body.eid-demo .id-ep-history li span { display: grid; gap: 2px; min-width: 0; }
body.eid-demo .id-ep-history li small { color: var(--id-muted); font-size: 12px; }
body.eid-demo .id-ep-history li b { flex: none; font-variant-numeric: tabular-nums; }
body.eid-demo .id-ep-history li b.in { color: var(--id-green); }
body.eid-demo .id-ep-history li b.out { color: var(--id-paper); }
body.eid-demo .id-ep-history p { margin: 10px 0 0; color: var(--id-muted); font-size: 13px; line-height: 1.55; }
/* With the history open the wallet grows tall; keep the balance at the top instead of floating mid-panel. */
body.eid-demo .id-coin-live { align-items: start; }

/* EVOS Points per Academy class (17 Oct 2026): a quiet gold line on a running class. */
body.eid-demo #evos-academy-portal .academy-ep-hint { margin: 10px 0 0; color: #ffc233; font-size: 14px; font-weight: 700; }

/* EVOS Points from merchandise purchases (17 Oct 2026): claim form under the EVOS Goods grid. */
body.eid-demo .merch-claim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; padding: 24px; border: 1px solid var(--id-line); border-radius: 14px; }
body.eid-demo .merch-claim small { display: block; color: var(--id-cyan); font-size: 12px; font-weight: 800; letter-spacing: var(--sys-track, .08em); }
body.eid-demo .merch-claim h3 { margin: 6px 0 8px; font-size: 22px; }
body.eid-demo .merch-claim p { margin: 0; color: var(--id-muted); font-size: 14px; line-height: 1.6; }
body.eid-demo .merch-claim-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
body.eid-demo .merch-claim-form > div { display: flex; gap: 8px; }
body.eid-demo .merch-claim-form input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--id-line); border-radius: 10px; background: var(--id-bg); color: var(--id-paper); font: inherit; }
body.eid-demo .merch-claim-form input:not(:placeholder-shown) { text-transform: uppercase; }
body.eid-demo .merch-claim-form .demo-btn { flex: none; }
body.eid-demo .merch-claim-msg { margin-top: 10px !important; font-size: 14px; }
body.eid-demo .merch-claim-msg.is-ok { color: var(--id-green) !important; }
body.eid-demo .merch-claim-msg.is-error { color: var(--id-error) !important; }
body.eid-demo .merch-claim-list { grid-column: 1 / -1; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--id-line); }
body.eid-demo .merch-claim-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--id-line); font-size: 14px; }
body.eid-demo .merch-claim-list li > span { display: grid; gap: 2px; min-width: 0; }
body.eid-demo .merch-claim-list li > span:last-child { text-align: right; }
body.eid-demo .merch-claim-list li small { color: var(--id-muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
body.eid-demo .merch-claim-state.is-approved { color: var(--id-green); }
body.eid-demo .merch-claim-state.is-rejected, body.eid-demo .merch-claim-state.is-reversed { color: var(--id-error); }
@media (max-width: 760px) { body.eid-demo .merch-claim { grid-template-columns: minmax(0, 1fr); padding: 20px; } body.eid-demo .merch-claim-list li { align-items: flex-start; } }

/* Academy: CS WhatsApp khusus Academy di bawah tombol daftar. */
.academy-cs { margin: 20px 0 0; font-size: 15px; color: var(--ink-dim, #3a4654); }
.academy-cs-link { display: inline-block; padding: 10px 0; line-height: 1.6; color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.academy-cs-number { white-space: nowrap; }

/* Academy: tombol WhatsApp CS Academy yang selalu terlihat di kanan bawah. Di layar ≤920px naik di atas navigasi
   bawah; di ≤760px naik lagi saat bar "Daftar" lengket sedang tampil. */
.academy-cs-float { position: fixed; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 20px 6px 6px; border-radius: 999px; background: #0e7a3e; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 28px rgb(4 20 12 / 0.35); }
.academy-cs-float-icon { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.academy-cs-float-icon img { width: 30px; height: auto; }
.academy-cs-float-icon svg { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: #0e7a3e; color: #fff; box-shadow: 0 0 0 2px #fff; }
.academy-cs-float-text { display: grid; line-height: 1.15; text-align: left; }
.academy-cs-float-text small { font-size: 12px; font-weight: 600; opacity: 0.9; }
@media not all and (pointer: coarse) { .academy-cs-float:hover { background: #0b6634; } }
.academy-cs-float:active { transform: translateY(1px); }
.academy-cs-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #0e7a3e; }
@media (max-width: 920px) { .academy-cs-float { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); min-height: 50px; padding: 5px 16px 5px 5px; font-size: 14px; gap: 8px; } .academy-cs-float-icon { width: 40px; height: 40px; } .academy-cs-float-icon img { width: 27px; } }
@media (max-width: 760px) { body:has(.academy-sticky:not([hidden]), .ap-sticky:not([hidden])) .academy-cs-float { bottom: calc(160px + env(safe-area-inset-bottom)); } }
@media print { .academy-cs-float { display: none; } }

/* Feedback mingguan Academy (academy-weekly-feedback.js): pilihan game/week/coach memakai gaya tombol nilai. */
.fb-choices span { flex-direction: column; gap: 2px; padding: 8px 14px; text-align: center; font-weight: 700; }
.fb-choices span small { font-size: 12px; font-weight: 500; opacity: 0.8; }
.fb-hint { margin: 0; font-size: 14px; color: var(--sys-ink-dim); }
.fb-short input { font: inherit; font-weight: 400; font-size: 16px; width: 100%; max-width: 200px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--sys-hair); border-radius: 10px; background: var(--sys-card); color: inherit; }
.fb-short input:focus-visible { outline: 2px solid var(--sys-link); outline-offset: 2px; }
.fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fb-done-actions .fb-secondary { background: transparent; border: 1.5px solid currentColor; }

/* Academy: "Kata peserta" (academy-voices.js) di kanan kartu game pada layar lebar; di bawah kartu dan bisa digeser
   pada layar sempit. Panel hanya tampil bila staf sudah memilih kesan peserta. */
.academy-voices { align-self: start; padding: 22px 20px 18px; border: 1px solid var(--sys-hair, #d5dbe1); border-radius: 14px; background: var(--sys-card, #fff); color: var(--sys-ink, #10151d); }
.academy-voices .academy-eyebrow { margin: 0 0 6px; }
.academy-voices h3 { margin: 0 0 14px; font: 400 26px/1.05 var(--fan-display, Anton, sans-serif); text-transform: uppercase; }
.academy-voices-list { display: grid; gap: 12px; }
.academy-voice { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--sys-paper, #eef1f3); }
.academy-voice-stars { margin: 0 0 6px; color: #b07a00; letter-spacing: 2px; font-size: 14px; }
.academy-voice-stars span { color: var(--sys-hair, #c9d0d6); }
.academy-voice blockquote { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.academy-voice blockquote::before { content: "“"; } .academy-voice blockquote::after { content: "”"; }
.academy-voice figcaption { margin-top: 8px; font-size: 12px; color: var(--sys-ink-dim, #55606b); }
.academy-voices-note { margin: 12px 0 0; font-size: 12px; color: var(--sys-ink-dim, #55606b); }
@media (min-width: 1100px) {
  #program .academy-programs.academy-programs--voices:has(.academy-voices:not([hidden])) { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(280px, 340px); }
  .academy-voices { position: sticky; top: 96px; }
  .academy-voices-list { max-height: 520px; overflow-y: auto; padding-right: 2px; }
}
@media (max-width: 1099px) {
  .academy-voices { grid-column: 1 / -1; }
  .academy-voices-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
  .academy-voice { flex: 0 0 min(82%, 340px); scroll-snap-align: start; }
}
.fb-group { display: grid; gap: 12px; margin: 0; padding: 16px 18px; border: 1px solid var(--sys-hair); border-radius: 12px; background: var(--sys-card); }
.fb-group legend { float: left; width: 100%; padding: 0; font-weight: 800; font-size: 17px; }
.fb-group legend + * { clear: both; }
.fb-group .fb-text span { font-weight: 700; font-size: 15px; }
.fb-group .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.academy-voices-score { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--sys-navy, #0c1830); color: #f2f6fb; }
.academy-voices-score[hidden] { display: none; }
.academy-voices-avg { margin: 0; display: flex; align-items: baseline; gap: 2px; }
.academy-voices-avg b { font: 400 40px/1 var(--fan-display, Anton, sans-serif); }
.academy-voices-avg span { font-size: 15px; opacity: 0.75; }
.academy-voices-score .academy-voice-stars { margin: 0 0 2px; color: #ffc233; }
.academy-voices-score .academy-voice-stars span { color: rgb(242 246 251 / 0.3); }
.academy-voices-count { margin: 0; font-size: 12px; opacity: 0.8; }
/* Di HP, saat formulir pendaftaran terbuka di EVOS ID, tombol CS jadi ikon bulat di pojok supaya tidak menutupi QRIS. */
@media (max-width: 640px) {
  #evos-academy-portal:has(#academy-registration-frame:not([hidden])) .academy-cs-float { gap: 0; padding: 5px; min-height: 0; right: 10px; }
  #evos-academy-portal:has(#academy-registration-frame:not([hidden])) .academy-cs-float-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* EVOS ID: Prediksi Match (evos-predictions.js). */
.id-predict .pred-rules { margin: -6px 0 16px; font-size: 15px; line-height: 1.6; }
.id-predict .pred-stats { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: rgb(89 216 255 / 0.14); font-size: 13px; font-weight: 700; }
.pred-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.pred-card { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--id-line, rgb(255 255 255 / 0.14)); border-radius: 12px; background: rgb(255 255 255 / 0.03); min-width: 0; }
.pred-card.is-win { border-color: #3ccf91; }
.pred-card.is-locked, .pred-card.is-done { opacity: 0.92; }
.pred-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pred-head small { font-size: 12px; opacity: 0.75; }
.pred-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.pred-team { min-height: 52px; padding: 8px 10px; border: 1.5px solid var(--id-line, rgb(255 255 255 / 0.25)); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; overflow-wrap: anywhere; }
.pred-team[aria-pressed="true"] { background: var(--fan-cyan, #59d8ff); border-color: var(--fan-cyan, #59d8ff); color: #071020; }
.pred-team:focus-visible, .pred-scores button:focus-visible { outline: 2px solid var(--fan-cyan, #59d8ff); outline-offset: 2px; }
.pred-vs { font-size: 12px; font-weight: 800; opacity: 0.6; }
.pred-scores { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pred-scores span { width: 100%; font-size: 12px; opacity: 0.8; }
.pred-scores button { min-width: 52px; min-height: 40px; border: 1px solid var(--id-line, rgb(255 255 255 / 0.25)); border-radius: 8px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.pred-scores button[aria-pressed="true"] { background: rgb(89 216 255 / 0.2); border-color: var(--fan-cyan, #59d8ff); }
.pred-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pred-actions small { font-size: 12px; opacity: 0.75; }
.pred-teams { margin: 0; font-size: 17px; }
.pred-score { display: inline-block; margin: 0 8px; font: 400 22px/1 var(--fan-display, Anton, sans-serif); }
.pred-result { margin: 0; font-size: 14px; }
.pred-result strong { color: #3ccf91; }
.pred-note { margin: 0; font-size: 13px; color: #ffb4b4; }
.pred-note.ok { color: #9ce6bf; }
.pred-sub { margin: 22px 0 10px; font-size: 15px; }

/* Tiga coach: tiga kolom di layar lebar, dua kolom di HP. */
@media (max-width: 760px) { .academy-coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.academy-coaches .coach-game { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--sys-navy, #0c1830); color: #f2f6fb; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Artikel (artikel.html + artikel.js) ----------
   Daftar: kartu bergambar tiga kolom. Artikel: kolom baca ±68 karakter di atas kertas, judul Anton,
   subjudul isi memakai Hanken (Anton hanya untuk judul halaman). */
[data-page=artikel] .article-sect { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.article-status { margin: 0; color: var(--sys-ink-dim); font-size: 16px; }
.article-status:empty { display: none; }
.article-inline-link { color: var(--sys-link); font-weight: 700; }
[data-page=artikel] .fan-filters { margin: 0 0 22px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.article-card[hidden] { display: none; }
.article-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--sys-hair); border-radius: 14px; background: var(--sys-card); color: var(--sys-ink); text-decoration: none; transition: border-color 0.18s ease, transform 0.18s ease; }
.article-card a:hover { border-color: rgba(16, 21, 29, 0.28); transform: translateY(-2px); }
.article-card a:focus-visible { outline: 3px solid var(--sys-link); outline-offset: 3px; }
.article-card img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: 50% 20%; background: var(--sys-navy); }
.article-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.article-card-body b { font-size: 19px; line-height: 1.3; font-weight: 800; }
.article-card-body > span:last-child { color: var(--sys-ink-2); font-size: 15px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: var(--sys-ink-dim); font-size: var(--sys-label); font-weight: 700; letter-spacing: var(--sys-track); text-transform: uppercase; }
.article-topic { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sys-navy); color: var(--sys-snow); font-size: 11px; font-weight: 800; letter-spacing: var(--sys-track); text-transform: uppercase; }
.article-view { max-width: 760px; margin: 0 auto; color: var(--sys-ink); }
.article-view[hidden] { display: none; }
.article-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; color: var(--sys-ink-dim); font-size: 14px; }
.article-crumbs a { color: var(--sys-link); font-weight: 700; }
.article-head h1 { margin: 14px 0 12px; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.article-lede { margin: 0; color: var(--sys-ink-2); font-size: 19px; line-height: 1.55; }
.article-cover { margin: 26px 0 30px; }
.article-cover img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: 50% 20%; border-radius: 14px; background: var(--sys-navy); }
.article-body { font-size: 18px; line-height: 1.75; }
.article-body > * { max-width: 68ch; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1em; }
.article-body h2 { margin: 1.8em 0 0.6em; font-size: 26px; line-height: 1.25; font-weight: 800; }
.article-body h3 { margin: 1.5em 0 0.5em; font-size: 20px; line-height: 1.3; font-weight: 800; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li::marker { color: var(--sys-link); }
.article-body li + li { margin-top: 0.35em; }
.article-body a, .article-sources a { color: var(--sys-link); font-weight: 700; text-underline-offset: 3px; }
.article-sources { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--sys-hair); font-size: 15px; }
.article-sources h2, .article-related h2 { margin: 0 0 10px; font-size: var(--sys-label); font-weight: 800; letter-spacing: var(--sys-track); text-transform: uppercase; color: var(--sys-ink-dim); }
.article-sources ul { margin: 0; padding-left: 1.2em; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 36px 0 0; padding: 24px; border-radius: 14px; background: var(--sys-navy); color: var(--sys-snow); }
.article-cta h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.article-cta p { margin: 0; max-width: 46ch; color: var(--sys-snow-dim); font-size: 15px; line-height: 1.55; }
.article-cta .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--sys-cyan); color: var(--sys-navy-end); font-weight: 800; text-decoration: none; white-space: nowrap; }
.article-cta .btn-primary:focus-visible { outline: 3px solid var(--sys-snow); outline-offset: 3px; }
.article-related { margin: 36px 0 0; }
.article-related ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article-related a { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--sys-hair); border-radius: 12px; background: var(--sys-card); color: var(--sys-ink); font-weight: 800; line-height: 1.35; text-decoration: none; }
.article-related a:hover { border-color: rgba(16, 21, 29, 0.28); }
@media (max-width: 600px) {
  .article-body { font-size: 17px; }
  .article-cta { padding: 20px; }
  .article-cta .btn-primary { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .article-card a { transition: none; } .article-card a:hover { transform: none; } }

/* ---------- Academy: "Yang didapat di EVOS Academy" (#didapat) ----------
   Jawaban untuk orang tua ("anak saya dapat apa?"): enam poin bernomor dan kotak khusus orang tua.
   Angka Anton sebagai penanda ritme, isi tetap Hanken agar mudah dibaca. */
.academy-gains { background: var(--sys-paper); color: var(--sys-ink); }
.academy-gains-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
.academy-gains-head .academy-eyebrow { margin: 0 0 12px; color: var(--sys-ink-dim); font-size: var(--sys-label); }
.academy-page .academy-gains-head h2 { margin: 0 0 14px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: var(--sys-h2); line-height: 1.02; letter-spacing: 0.005em; color: var(--sys-ink); }
.academy-gains-lead { margin: 0; max-width: 56ch; color: var(--sys-ink-2); font-size: 18px; line-height: 1.6; }
.academy-gains-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.academy-gains-list li { display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: 24px 0 30px; border-top: 2px solid var(--sys-navy); }
.academy-gains-num { display: block; margin: 0 0 10px; font-family: Anton, Impact, sans-serif; font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--sys-link); }
.academy-gains-list h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; font-weight: 800; }
.academy-gains-list p { margin: 0; max-width: 42ch; color: var(--sys-ink-2); font-size: 16px; line-height: 1.6; }
.academy-parents { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 12px clamp(24px, 4vw, 48px); align-items: start; margin: clamp(20px, 3vw, 32px) 0 0; padding: clamp(22px, 3vw, 32px); border-radius: 14px; background: var(--sys-navy); color: var(--sys-snow); }
.academy-parents h3 { margin: 0; font-size: 22px; font-weight: 800; }
.academy-parents ul { grid-column: 2; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.academy-parents li { color: var(--sys-snow-dim); font-size: 16px; line-height: 1.6; }
.academy-parents li b { color: var(--sys-snow); }
.academy-parents .academy-cs-link { grid-column: 2; padding: 4px 0 0; color: var(--sys-cyan); }
@media (max-width: 900px) { .academy-gains-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .academy-gains-list { grid-template-columns: minmax(0, 1fr); }
  .academy-gains-list li { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; column-gap: 16px; padding: 20px 0 22px; }
  .academy-gains-num { grid-row: span 2; font-size: 38px; }
  .academy-parents { grid-template-columns: minmax(0, 1fr); }
  .academy-parents ul, .academy-parents .academy-cs-link { grid-column: 1; }
}
.academy-gains-list .academy-gains-more { justify-self: start; margin-top: 8px; padding: 2px 0; color: var(--sys-link); font-size: 15px; }
@media (max-width: 600px) { .academy-gains-list .academy-gains-more { grid-column: 2; } }

/* ---------- Roar Survivor (evos-game.js kartu EVOS ID + roar-survivor.js permainan layar penuh, 0071) ---------- */
.game-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.game-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--id-line, rgb(255 255 255 / 0.14)); border-radius: 12px; background: radial-gradient(circle at 15% 50%, rgb(89 216 255 / 0.16), transparent 60%), rgb(255 255 255 / 0.03); min-width: 0; }
.game-roar { width: 120px; height: 120px; object-fit: contain; object-position: 50% 100%; }
.game-lead { margin: 0 0 8px; font-size: 15px; line-height: 1.6; }
.game-meta { margin: 0 0 12px; font-size: 14px; opacity: 0.9; }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.game-best { font-size: 14px; }
.game-note { margin: 10px 0 0; font-size: 14px; color: #ffb4a8; }
.game-board { padding: 16px; border: 1px solid var(--id-line, rgb(255 255 255 / 0.14)); border-radius: 12px; background: rgb(255 255 255 / 0.03); min-width: 0; }
.game-board h3 { margin: 0 0 10px; font-size: 15px; }
.game-board ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.game-board li { display: grid; grid-template-columns: 3ch minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.game-board li.is-me { color: #59d8ff; font-weight: 800; }
.game-rank { opacity: 0.7; font-variant-numeric: tabular-nums; }
.game-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-board b { font-variant-numeric: tabular-nums; }
.game-empty, .game-small { margin: 0; font-size: 13px; opacity: 0.8; line-height: 1.5; }
.game-small { margin-top: 12px; }
@media (max-width: 760px) { .game-card { grid-template-columns: minmax(0, 1fr); } .game-hero { grid-template-columns: 84px minmax(0, 1fr); } .game-roar { width: 84px; height: 84px; } }

html.rs-open, html.rs-open body { overflow: hidden !important; }
.rs-overlay { position: fixed; inset: 0; z-index: 2147483000; background: #071020; color: #eef2f6; font-family: "Hanken Grotesk", sans-serif; touch-action: none; user-select: none; -webkit-user-select: none; }
.rs-canvas { display: block; width: 100%; height: 100%; outline: none; }
.rs-pause { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border: 1px solid rgb(238 242 246 / 0.35); border-radius: 10px; background: rgb(7 16 32 / 0.7); color: #eef2f6; font: 800 14px/1 "Hanken Grotesk", sans-serif; cursor: pointer; }
.rs-pause:focus-visible, .rs-panel button:focus-visible { outline: 3px solid #59d8ff; outline-offset: 2px; }
.rs-toast { position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 12px); max-width: min(560px, calc(100% - 32px)); margin: 0; padding: 10px 16px; border-radius: 10px; background: rgb(7 16 32 / 0.88); border: 1px solid rgb(89 216 255 / 0.4); font-size: 14px; line-height: 1.45; text-align: center; opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; }
.rs-toast.on { opacity: 1; transform: translate(-50%, 0); }
.rs-panel[hidden] { display: none; }
.rs-panel { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 24px 16px; background: rgb(7 16 32 / 0.82); text-align: center; overflow-y: auto; }
.rs-panel h2 { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(34px, 7vw, 56px); letter-spacing: 0.02em; }
.rs-sub, .rs-help { margin: 0; color: #a9b8ca; font-size: 15px; }
.rs-help { max-width: 40ch; font-size: 13px; }
.rs-options { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 12px; width: min(100%, 700px); }
.rs-options button { position: relative; display: grid; gap: 6px; align-content: start; min-height: 140px; padding: 16px 14px; border: 2px solid rgb(89 216 255 / 0.4); border-radius: 14px; background: #0d1d36; color: #eef2f6; text-align: left; cursor: pointer; font: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
.rs-options button:hover { border-color: #59d8ff; transform: translateY(-2px); }
.rs-options b { font-size: 17px; } .rs-options small { color: #59d8ff; font-weight: 800; font-size: 12px; letter-spacing: 0.06em; } .rs-options span { color: #c7d3e1; font-size: 14px; line-height: 1.45; }
.rs-options kbd { position: absolute; top: 10px; right: 12px; font: 700 12px/1 "Hanken Grotesk", sans-serif; opacity: 0.6; }
.rs-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rs-actions button { min-height: 44px; padding: 10px 22px; border: 1px solid rgb(238 242 246 / 0.4); border-radius: 999px; background: transparent; color: #eef2f6; font: 800 15px/1 "Hanken Grotesk", sans-serif; cursor: pointer; }
.rs-actions .rs-primary { background: #59d8ff; border-color: #59d8ff; color: #071020; }
.rs-link { padding: 0; border: 0; background: none; color: #59d8ff; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.rs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: min(100%, 520px); margin: 6px 0; }
.rs-stats div { padding: 10px; border-radius: 10px; background: #0d1d36; } .rs-stats dt { font-size: 12px; color: #a9b8ca; } .rs-stats dd { margin: 4px 0 0; font: 400 26px/1 Anton, Impact, sans-serif; }
.rs-score { margin: 0; font-size: 18px; } .rs-score b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 34px; color: #59d8ff; margin-left: 6px; }
.rs-tag { margin: 0; color: #ffc233; font-weight: 800; letter-spacing: 0.12em; font-size: 13px; }
@media (max-width: 640px) { .rs-options { grid-template-columns: minmax(0, 1fr); } .rs-options button { min-height: 0; } .rs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .rs-toast, .rs-options button { transition: none; } }
/* Dasbor EVOS ID memakai grid dua kolom; bagian game dan prediksi selebar penuh seperti bagian lain. */
body.eid-demo .member-dashboard main > .id-game, body.eid-demo .member-dashboard main > .id-predict { grid-column: 1 / -1; }
.game-roar { width: 110px; height: 110px; object-fit: contain; object-position: 50% 100%; }
@media (max-width: 760px) { .game-roar { width: 76px; height: 76px; } }

/* ---------- Halaman Roar Survivor (roar-survivor.html) + kartu pintasan di EVOS ID ---------- */
.game-page-body { background: #071020; color: #eef2f6; font-family: "Hanken Grotesk", system-ui, sans-serif; }
.game-page { max-width: 1120px; margin: 0 auto; padding: 18px 16px 96px; }
.game-crumbs { display: flex; gap: 8px; margin: 0 0 18px; font-size: 14px; color: #a9b8ca; }
.game-crumbs a { color: #59d8ff; font-weight: 700; }
.game-state { color: #a9b8ca; }
.game-gate { max-width: 560px; margin: 40px auto; padding: 28px 24px; border: 1px solid rgb(238 242 246 / 0.14); border-radius: 16px; background: #0d1d36; text-align: center; }
.game-gate h2 { margin: 0 0 10px; font-size: 22px; } .game-gate p { margin: 0 0 18px; color: #c7d3e1; line-height: 1.6; }
.game-link { padding: 0; border: 0; background: none; color: #59d8ff; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.game-stage { position: relative; display: grid; justify-items: center; gap: 12px; padding: clamp(24px, 5vw, 48px) 20px; border-radius: 20px; text-align: center; background: radial-gradient(circle at 50% 30%, rgb(89 216 255 / 0.22), transparent 62%), linear-gradient(180deg, #0d1d36, #091528); border: 1px solid rgb(89 216 255 / 0.25); overflow: hidden; }
.game-badge { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: #ffc233; color: #2a1d00; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.game-stage-roar { width: 156px; height: 156px; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 22px rgb(0 0 0 / 0.45)); }
.game-stage h1 { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(44px, 9vw, 84px); line-height: 0.95; letter-spacing: 0.01em; }
.game-stage h1 span { color: #59d8ff; }
.game-stage-lead { max-width: 60ch; margin: 0; color: #c7d3e1; font-size: 17px; line-height: 1.6; }
.game-stage .game-meta { margin: 0; font-size: 15px; }
.game-stage .game-actions { justify-content: center; }
.game-play { min-height: 52px; padding: 14px 34px; border: 0; border-radius: 999px; background: #59d8ff; color: #071020; font: 800 18px/1 "Hanken Grotesk", sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgb(89 216 255 / 0.3); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.game-play:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgb(89 216 255 / 0.4); }
.game-play:focus-visible { outline: 3px solid #eef2f6; outline-offset: 3px; }
.game-play[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.game-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; margin-top: 18px; }
.game-page .game-board, .game-howto { padding: 20px; border: 1px solid rgb(238 242 246 / 0.14); border-radius: 16px; background: #0d1d36; min-width: 0; }
.game-page .game-board h2, .game-howto h2 { margin: 0 0 12px; font-size: 18px; }
.game-howto h3 { margin: 18px 0 10px; font-size: 15px; }
.game-howto ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.55; color: #c7d3e1; }
.game-howto li b { color: #eef2f6; margin-right: 6px; }
.game-sponsors li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.game-sponsors img { box-sizing: border-box; width: 64px; height: 36px; object-fit: contain; padding: 4px 6px; border-radius: 8px; background: #eef2f6; }
.game-teaser { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--id-line, rgb(255 255 255 / 0.14)); border-radius: 14px; background: radial-gradient(circle at 8% 50%, rgb(89 216 255 / 0.18), transparent 55%), rgb(255 255 255 / 0.03); color: inherit; text-decoration: none; transition: border-color 0.15s ease; }
.game-teaser:hover { border-color: rgb(89 216 255 / 0.6); }
.game-teaser-copy { display: grid; gap: 6px; } .game-teaser .game-lead, .game-teaser .game-meta { margin: 0; }
.game-teaser-cta { white-space: nowrap; }
@media (max-width: 760px) {
  .game-columns { grid-template-columns: minmax(0, 1fr); }
  .game-teaser { grid-template-columns: 70px minmax(0, 1fr); } .game-teaser-cta { grid-column: 1 / -1; justify-content: center; }
  .game-badge { position: static; }
}
/* Upgrade permanen (0073): saldo Koin Roar + 4 cabang */
.game-coins { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.game-coins b { color: #ffc233; }
.game-tree { margin-top: 18px; padding: 20px; border: 1px solid rgb(238 242 246 / 0.14); border-radius: 16px; background: #0d1d36; }
.game-tree-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.game-tree-head h2 { margin: 0; font-size: 18px; }
.game-tree-head .game-coins { font-size: 16px; }
.game-tree > .game-small { margin: 8px 0 16px; max-width: 70ch; }
.game-branches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.game-branch h3 { margin: 0 0 10px; font-size: 15px; }
.game-branch ol { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.game-node { position: relative; display: grid; gap: 6px; padding: 12px; border: 1px solid rgb(89 216 255 / 0.3); border-radius: 12px; background: rgb(255 255 255 / 0.03); }
.game-node + .game-node::before { content: ""; position: absolute; top: -11px; left: 22px; width: 2px; height: 10px; background: rgb(89 216 255 / 0.35); }
.game-node.is-locked { border-color: rgb(238 242 246 / 0.12); opacity: 0.62; }
.game-node.is-max { border-color: #ffc233; }
.game-node-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.game-node-top b { font-size: 15px; } .game-node-top small { color: #a9b8ca; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.game-node-unit { color: #c7d3e1; font-size: 13px; line-height: 1.4; }
.game-pips { display: flex; flex-wrap: wrap; gap: 3px; } .game-pips i { width: 10px; height: 4px; border-radius: 2px; background: rgb(238 242 246 / 0.16); } .game-pips i.on { background: #59d8ff; }
.game-node.is-max .game-pips i.on { background: #ffc233; }
.game-node-lock, .game-node-done { font-size: 12px; color: #a9b8ca; } .game-node-done { color: #ffc233; font-weight: 800; }
.game-buy { justify-self: start; min-height: 36px; padding: 6px 14px; border: 1px solid #59d8ff; border-radius: 999px; background: transparent; color: #eef2f6; font: 800 14px/1 "Hanken Grotesk", sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: background 0.15s ease; }
.game-buy:hover:not([disabled]) { background: rgb(89 216 255 / 0.18); }
.game-buy:focus-visible { outline: 3px solid #59d8ff; outline-offset: 2px; }
.game-buy[disabled] { opacity: 0.45; cursor: not-allowed; }
.rs-reroll { min-height: 40px; padding: 8px 18px; border: 1px dashed rgb(238 242 246 / 0.45); border-radius: 999px; background: transparent; color: #eef2f6; font: 700 14px/1 "Hanken Grotesk", sans-serif; cursor: pointer; }
.rs-reroll[hidden] { display: none; }
.rs-coins { margin: 0; color: #ffc233; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .game-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .game-branches { grid-template-columns: minmax(0, 1fr); } .game-tree { padding: 16px; } }
/* Kostum Roar (0077): tiket, gacha, hasil tarikan, koleksi */
.game-tickets { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.game-tickets b { color: #d9a6ff; }
.game-wardrobe { margin-top: 18px; padding: 20px; border: 1px solid rgb(238 242 246 / 0.14); border-radius: 16px; background: radial-gradient(circle at 85% 0%, rgb(192 75 255 / 0.14), transparent 55%), #0d1d36; }
.game-wardrobe > .game-small { margin: 8px 0 14px; max-width: 72ch; }
.game-gacha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.game-gacha { min-height: 46px; padding: 12px 26px; font-size: 16px; background: linear-gradient(135deg, #c04bff, #59d8ff); color: #071020; }
.game-gacha[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.game-rarity { justify-self: start; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: rgb(238 242 246 / 0.12); color: #c7d3e1; }
.game-rarity.r-langka { background: rgb(57 135 229 / 0.22); color: #9cc6ff; }
.game-rarity.r-epik { background: rgb(144 133 233 / 0.25); color: #cdc6ff; }
.game-rarity.r-legendaris { background: rgb(255 194 51 / 0.22); color: #ffd979; }
.game-pull { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 18px; }
.game-pull-card { display: grid; justify-items: center; gap: 6px; padding: 14px 10px; border-radius: 14px; border: 2px solid rgb(57 135 229 / 0.6); background: rgb(255 255 255 / 0.04); text-align: center; animation: game-reveal 0.5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 90ms); }
.game-pull-card.r-biasa { border-color: rgb(238 242 246 / 0.22); }
.game-shop { justify-self: start; font-size: 12px; font-weight: 700; color: #59d8ff; text-decoration: underline; text-underline-offset: 3px; }
.game-shop:hover { color: #a8ecff; }
.game-pull-card .game-shop { justify-self: center; }
.game-copies { font-size: 12px; font-weight: 700; color: #9fb0c4; }
.game-pull-card.r-epik { border-color: rgb(144 133 233 / 0.8); box-shadow: 0 0 22px rgb(144 133 233 / 0.25); }
.game-pull-card.r-legendaris { border-color: #ffc233; box-shadow: 0 0 30px rgb(255 194 51 / 0.35); }
.game-pull-card img { width: 110px; height: 110px; object-fit: contain; }
.game-pull-card b { font-size: 15px; } .game-pull-card small { color: #c7d3e1; font-size: 12px; }
@keyframes game-reveal { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
.game-costumes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.game-costume { display: grid; gap: 6px; align-content: start; padding: 12px; border: 1px solid rgb(238 242 246 / 0.14); border-radius: 12px; background: rgb(255 255 255 / 0.03); }
.game-costume img { justify-self: center; width: 110px; height: 110px; object-fit: contain; }
.game-costume b { font-size: 15px; } .game-costume small { color: #c7d3e1; font-size: 12px; line-height: 1.45; }
.game-costume.is-locked img { filter: brightness(0) opacity(0.35); }
.game-costume.is-on { border-color: #59d8ff; box-shadow: inset 0 0 0 1px #59d8ff; }
.game-costume.r-legendaris:not(.is-locked) { border-color: rgb(255 194 51 / 0.55); }
@media (prefers-reduced-motion: reduce) { .game-pull-card { animation: none; } }
@media (prefers-reduced-motion: reduce) { .game-play, .game-teaser { transition: none; } .game-play:hover { transform: none; } }

/* 16-0 MPL Draft: game penuh di dalam iframe sama-origin (games/mpl-draft/), tinggi diatur mpl-draft-page.js. */
.mpl-page-body .fan-bottom { display: none; }
.game-page.mpl-page { max-width: none; padding: 0; }
.mpl-frame-wrap { min-height: 480px; }
.mpl-frame-wrap .game-state { padding: 24px 16px; }
.mpl-frame { display: block; width: 100%; min-height: 480px; border: 0; background: #071020; }

/* ---------- Promo 16-0 MPL Draft (EVOS ID, beranda, menu) ---------- */
.mpl-promo { --mp-ink: #eef2f6; --mp-muted: #b6c4d4; --mp-cyan: #59d8ff; --mp-line: rgb(238 242 246 / 0.14); position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 40px); border: 1px solid rgb(89 216 255 / 0.28); border-radius: 18px; background: radial-gradient(circle at 85% 40%, rgb(89 216 255 / 0.16), transparent 58%), linear-gradient(160deg, #0d1d36, #081427); color: var(--mp-ink); overflow: hidden; }
.mpl-promo-copy { display: grid; gap: 14px; min-width: 0; }
.mpl-promo-kicker { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mp-cyan); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; }
.mpl-promo-kicker b { padding: 3px 9px; border-radius: 999px; background: var(--mp-cyan); color: #071020; letter-spacing: 0.1em; }
.mpl-promo h2 { margin: 0; font: 400 clamp(36px, 6vw, 64px)/0.95 Anton, "Anton Fallback", Impact, sans-serif; letter-spacing: 0.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.mpl-promo h2 span { color: var(--mp-cyan); }
.mpl-promo-lead { margin: 0; max-width: 52ch; color: var(--mp-muted); font-size: 16px; line-height: 1.6; }
.mpl-promo-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mpl-promo-facts li { padding: 7px 12px; border: 1px solid var(--mp-line); border-radius: 999px; font-size: 13px; font-weight: 700; }
.mpl-promo-cta { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 28px; border-radius: 999px; background: var(--mp-cyan); color: #071020; font: 800 17px/1 "Hanken Grotesk", system-ui, sans-serif; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 28px rgb(89 216 255 / 0.25); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mpl-promo-cta:focus-visible { outline: 3px solid var(--mp-ink); outline-offset: 3px; }
@media not all and (pointer: coarse) { .mpl-promo-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgb(89 216 255 / 0.36); } }
.mpl-promo-art { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.mpl-promo-score { font: 400 clamp(84px, 13vw, 168px)/0.85 Anton, "Anton Fallback", Impact, sans-serif; color: var(--mp-ink); text-shadow: 0 0 40px rgb(89 216 255 / 0.35); }
.mpl-promo-score span { color: var(--mp-cyan); }
.mpl-promo-roles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: min(100%, 340px); }
.mpl-promo-roles li { display: grid; place-items: center; min-height: 44px; border: 1px solid rgb(89 216 255 / 0.35); border-radius: 10px; background: rgb(89 216 255 / 0.07); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }
.mpl-promo-note { margin: 0; color: var(--mp-muted); font-size: 12px; }
body.eid-demo .member-dashboard main > .mpl-promo { grid-column: 1 / -1; margin-top: 28px; }
.member-guest-promo { max-width: 1240px; margin: 0 auto 48px; padding: 0 40px; }
.home-mpl-promo { max-width: 1240px; margin: clamp(32px, 6vw, 72px) auto; padding: 0 var(--fan-gutter, 24px); }
.fan-menu a.fan-menu-game, .fan-footer a.fan-menu-game { color: var(--fan-cyan, #59d8ff); font-weight: 800; }
.fan-menu a.fan-menu-game small, .fan-footer a.fan-menu-game small { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--fan-cyan, #59d8ff); color: #071020; font-size: 10px; letter-spacing: 0.08em; vertical-align: 2px; }
@media (max-width: 760px) {
  .mpl-promo { grid-template-columns: minmax(0, 1fr); }
  .mpl-promo-art { grid-row: 1; justify-items: start; }
  .mpl-promo-score { display: none; }
  .mpl-promo-cta { justify-self: stretch; justify-content: center; }
  .member-guest-promo { padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) { .mpl-promo-cta { transition: none; } .mpl-promo-cta:hover { transform: none; } }
