/* U.C.M inner pages design system (2026-10-15). Same visual language as the landing page: night sky, gold + cyan glow lines, Cinzel, framed plaques.
   Pure CSS, no JavaScript. Per-game accent colour via body[data-game]. */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/cinzel-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/cinzel-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #060918; --night-2: #0a0e24; --gold: #e6b45a; --gold-hi: #f6d58b; --gold-line: rgba(230, 180, 90, .5); --cyan: #9fd8ff;
  --ink: #f4f1fb; --ink-2: #cfcae0; --ink-3: #9d99b4; --accent: #b79cff; --accent-rgb: 183, 156, 255; --tint: rgba(120, 80, 255, .22);
  --card-a: rgba(24, 28, 64, .74); --card-b: rgba(9, 11, 28, .78);
  --display: Cinzel, Georgia, "Times New Roman", serif;
}
body[data-game="pokemon"]   { --accent: #ffd54a; --accent-rgb: 255, 213, 74;  --tint: rgba(255, 150, 40, .20); }
body[data-game="onepiece"]  { --accent: #ff7a6b; --accent-rgb: 255, 122, 107; --tint: rgba(255, 70, 70, .20); }
body[data-game="yugioh"]    { --accent: #c3a2ff; --accent-rgb: 195, 162, 255; --tint: rgba(150, 90, 255, .24); }
body[data-game="mtg"]       { --accent: #ffa95a; --accent-rgb: 255, 169, 90;  --tint: rgba(255, 120, 40, .20); }
body[data-game="lorcana"]   { --accent: #7cc4ff; --accent-rgb: 124, 196, 255; --tint: rgba(70, 140, 255, .24); }
body[data-game="dragonball"]{ --accent: #ffb13d; --accent-rgb: 255, 177, 61;  --tint: rgba(255, 130, 20, .22); }
body[data-game="digimon"]   { --accent: #5fe0ff; --accent-rgb: 95, 224, 255;  --tint: rgba(40, 190, 255, .22); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.65; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- atmosphere ---------- */
.backdrop { position: fixed; inset: -40px; z-index: 0; pointer-events: none; transform: scale(1.08);
  background: url("/ucm-scene-2.jpg") center / cover no-repeat; background-image: image-set(url("/ucm-scene-2.webp") type("image/webp"), url("/ucm-scene-2.jpg") type("image/jpeg"));
  filter: blur(34px) saturate(1.2) brightness(.34); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--tint), transparent 62%), radial-gradient(ellipse at center, rgba(6, 9, 24, 0) 10%, rgba(6, 9, 24, .92) 85%); }
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .75;
  background-image: radial-gradient(1.4px 1.4px at 8% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 62%, #ffe9b8, transparent), radial-gradient(1.6px 1.6px at 37% 28%, #fff, transparent),
    radial-gradient(1px 1px at 51% 78%, #cfe9ff, transparent), radial-gradient(1.4px 1.4px at 66% 14%, #ffe9b8, transparent), radial-gradient(1px 1px at 78% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 91% 34%, #cfe9ff, transparent), radial-gradient(1px 1px at 14% 88%, #fff, transparent), radial-gradient(1.2px 1.2px at 58% 46%, #ffe9b8, transparent), radial-gradient(1px 1px at 86% 90%, #fff, transparent); }
@media (prefers-reduced-motion: no-preference) { .stars { animation: twinkle 7s ease-in-out infinite alternate; } @keyframes twinkle { from { opacity: .45; } to { opacity: .9; } } }

/* ---------- top bar (same family as the landing bar) ---------- */
.sbar { position: sticky; top: 0; z-index: 60; height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 max(14px, calc((100vw - 1060px) / 2 + 22px));
  background: linear-gradient(90deg, rgba(10, 13, 20, .96), rgba(6, 8, 24, .96) 55%, rgba(2, 6, 26, .96)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(230, 180, 90, .25), #f2c46f 30%, #9fd8ff 50%, #f2c46f 70%, rgba(230, 180, 90, .25)); box-shadow: 0 0 10px rgba(130, 190, 255, .55); }
.sbar .ucm-menu-btn { position: relative; top: auto; left: auto; flex: none; }
.slogo { flex: none; display: block; height: 38px; }
.slogo img { height: 100%; width: auto; display: block; }
.sbar .grow { flex: 1; }
.sbar-nav { display: none; align-items: center; gap: 4px; }
.sbar-nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 10px; transition: background .2s ease, color .2s ease; }
.sbar-nav a:hover, .sbar-nav a:focus-visible { background: rgba(230, 180, 90, .14); color: #fff; outline: none; }
.sbar-cta { flex: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 13px; color: #1a1205; padding: 9px 16px; border-radius: 10px;
  background: linear-gradient(90deg, #f6d58b, #e6a94a); box-shadow: 0 0 0 1px rgba(255, 220, 140, .6), 0 4px 18px rgba(230, 169, 74, .35); transition: transform .2s ease, box-shadow .2s ease; }
.sbar-cta:hover, .sbar-cta:focus-visible { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 230, 170, .9), 0 6px 24px rgba(255, 196, 96, .55); outline: none; }
@media (min-width: 900px) { .sbar-nav { display: flex; } .slogo { height: 42px; } }
@media (max-width: 380px) { .sbar-cta { padding: 8px 11px; font-size: 12px; } .slogo { height: 32px; } }

/* ---------- page container ---------- */
.page { position: relative; z-index: 2; flex: 1 0 auto; width: 100%; max-width: 1060px; margin: 0 auto; padding: 40px 22px 72px; }
body[data-kind="guide"] .page, body[data-kind="faq"] .page, body[data-kind="lost"] .page { max-width: 860px; }
body[data-kind="hub"] .page { max-width: 980px; }
.crumbs { font-size: 13px; color: var(--ink-3); margin: 0 0 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted rgba(230, 180, 90, .5); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--gold-hi); outline: none; }

/* ---------- typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.eyebrow::after { transform: scaleX(-1); }
h1 { margin: 0 0 16px; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5.2vw, 54px); line-height: 1.12; letter-spacing: .01em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 8%, var(--gold-hi) 55%, #d9a14a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 190, 90, .28)); }
.hero p, .lead, .intro { color: var(--ink-2); font-size: clamp(16px, 2vw, 18.5px); max-width: 60ch; margin: 0 0 22px; }
h2 { display: flex; align-items: center; gap: 16px; margin: 56px 0 24px; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.6vw, 24px); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); text-wrap: balance; }
h2::before, h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line)); }
h2::after { transform: scaleX(-1); }
h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 16.5px; letter-spacing: .02em; color: var(--gold-hi); }
h3::before { content: "\2726"; display: inline-block; margin-right: 9px; color: var(--accent); font-size: 12px; transform: translateY(-1px); text-shadow: 0 0 10px rgba(var(--accent-rgb), .8); }
p { margin: 0; color: var(--ink-2); font-size: 15px; }
p + p { margin-top: 10px; }
b, strong { color: #fff; font-weight: 600; }
a { color: var(--cyan); text-underline-offset: 3px; text-decoration-color: rgba(159, 216, 255, .45); }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.small { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; }
.asof { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin: 0 0 12px; padding: 8px 0 4px; }
.hero.solo { grid-template-columns: minmax(0, 1fr); }
.hero picture { position: relative; display: block; justify-self: center; width: min(100%, 300px); }
.hero picture::before { content: ""; position: absolute; inset: -14% -24%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .42) 0%, rgba(var(--accent-rgb), .12) 42%, transparent 68%); filter: blur(10px); }
.hero img { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid rgba(255, 224, 160, .55);
  box-shadow: 0 0 0 5px rgba(8, 10, 26, .85), 0 0 0 6px rgba(230, 180, 90, .45), 0 24px 70px rgba(0, 0, 0, .65), 0 0 60px rgba(var(--accent-rgb), .32); }
@media (prefers-reduced-motion: no-preference) { .hero picture { animation: floaty 7s ease-in-out infinite; } @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } } }
.play { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .01em; color: #1a1205; padding: 15px 26px; border-radius: 14px;
  background: linear-gradient(95deg, #f8dc95, #e8ac4c 55%, #f3c46d); box-shadow: 0 0 0 1px rgba(255, 224, 150, .8), 0 8px 30px rgba(230, 169, 74, .38), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .2s ease, box-shadow .2s ease; }
.play::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 28%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); }
.play:hover, .play:focus-visible { color: #1a1205; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 236, 180, 1), 0 12px 38px rgba(255, 196, 96, .55), inset 0 1px 0 rgba(255, 255, 255, .6); outline: none; }
.play:hover::after, .play:focus-visible::after { animation: sweep .9s ease forwards; }
@keyframes sweep { to { left: 125%; } }
.play svg { width: 20px; height: 20px; flex: none; }

/* ---------- cards ---------- */
section { position: relative; margin: 0 0 16px; padding: 22px 24px; border-radius: 18px; border: 1px solid transparent;
  background: linear-gradient(160deg, var(--card-a), var(--card-b)) padding-box, linear-gradient(135deg, rgba(230, 180, 90, .6), rgba(159, 216, 255, .22) 50%, rgba(230, 180, 90, .45)) border-box;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .25s ease, box-shadow .25s ease; }
section:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0, 0, 0, .5), 0 0 34px rgba(var(--accent-rgb), .16), inset 0 1px 0 rgba(255, 255, 255, .08); }
section::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .8), transparent); opacity: .55; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.features section { margin: 0; }
.features section p + p { margin-top: 12px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .hero { grid-template-columns: 1fr; text-align: left; } .hero picture { width: min(72%, 270px); order: 2; margin-top: 8px; } section { padding: 18px 18px; } h2 { margin-top: 44px; } }

/* steps (a real sequence) */
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
ol.steps li { counter-increment: s; position: relative; padding-left: 58px; min-height: 42px; display: flex; align-items: center; color: var(--ink-2); font-size: 15.5px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-weight: 600; font-size: 18px; color: #1a1205;
  background: linear-gradient(135deg, #f8dc95, #e6a94a); box-shadow: 0 0 0 3px rgba(8, 10, 26, .9), 0 0 0 4px rgba(230, 180, 90, .55), 0 0 22px rgba(255, 196, 96, .45); }
ul.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
ul.plain li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; }
ul.plain li::before { content: "\2726"; position: absolute; left: 2px; top: 2px; color: var(--accent); font-size: 12px; text-shadow: 0 0 10px rgba(var(--accent-rgb), .8); }

/* tables */
.tablewrap { overflow-x: auto; margin: 12px 0 4px; border-radius: 14px; border: 1px solid rgba(230, 180, 90, .3); background: rgba(6, 8, 22, .5); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 14px; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--ink-2); }
th { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); background: rgba(230, 180, 90, .09); }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
tbody tr:hover td { background: rgba(var(--accent-rgb), .09); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* guides hub */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px !important; }
.guide-list section { margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.guide-list section::before { display: none; }
.guide-list .thumb { display: block; height: 170px; background-size: cover; background-position: center top; position: relative; border-bottom: 1px solid rgba(230, 180, 90, .4); }
.guide-list .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 24, .1), rgba(6, 9, 24, .85)); }
.guide-list .body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.guide-list p:last-child { margin-top: auto; padding-top: 14px; }
.guide-list p a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #1a1205; background: linear-gradient(95deg, #f8dc95, #e6a94a); padding: 8px 16px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.guide-list p a:hover { color: #1a1205; box-shadow: 0 0 22px rgba(255, 196, 96, .5); }
@media (max-width: 700px) { .guide-list { grid-template-columns: 1fr; } }

/* faq */
.group { margin: 40px 0 16px; display: flex; align-items: center; gap: 14px; scroll-margin-top: 90px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.group::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.faq-topics a { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; text-decoration: none; color: var(--ink); background: rgba(10, 13, 34, .7); border: 1px solid var(--gold-line); transition: background .2s ease, box-shadow .2s ease; }
.faq-topics a:hover, .faq-topics a:focus-visible { background: rgba(230, 180, 90, .18); box-shadow: 0 0 20px rgba(255, 196, 96, .3); outline: none; }

/* related chips + notes */
.explore { margin-top: 44px; padding-top: 6px; }
.explore-h { font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; text-decoration: none; color: var(--ink); background: rgba(10, 13, 34, .72); border: 1px solid rgba(230, 180, 90, .4); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.chips a:hover, .chips a:focus-visible { background: rgba(var(--accent-rgb), .2); box-shadow: 0 0 20px rgba(var(--accent-rgb), .35); transform: translateY(-1px); outline: none; }
.note { margin: 36px 0 0; padding: 14px 18px; border-left: 2px solid var(--gold-line); font-size: 12.5px; line-height: 1.6; color: var(--ink-3); background: rgba(6, 8, 22, .4); border-radius: 0 10px 10px 0; }
.newslink { margin-top: 12px; }
.more { margin-top: 26px; }

/* ---------- bottom bar ---------- */
.sfoot { position: relative; z-index: 2; margin-top: auto; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); text-align: center; font-family: var(--display); font-size: 13px; letter-spacing: .06em; color: #d9cfb9;
  background: linear-gradient(90deg, rgba(10, 13, 20, .96), rgba(6, 8, 24, .96) 55%, rgba(2, 6, 26, .96)); }
.sfoot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(230, 180, 90, .25), #f2c46f 30%, #9fd8ff 50%, #f2c46f 70%, rgba(230, 180, 90, .25)); box-shadow: 0 0 10px rgba(130, 190, 255, .55); }
.sfoot a { color: #d9cfb9; text-decoration: none; margin: 0 2px; }
.sfoot a:hover, .sfoot a:focus-visible { color: var(--gold-hi); outline: none; }
.sfoot .dot { color: var(--gold); margin: 0 9px; font-size: 11px; }
.sfoot-links { margin-top: 10px; font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 6px; }
@media (max-width: 480px) { .sfoot { font-size: 11.5px; } .sfoot .dot { margin: 0 5px; } }

/* 404 */
body[data-kind="lost"] ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
body[data-kind="lost"] li { color: var(--ink-2); font-size: 15px; }

/* FAQ cards use <h2> for questions: make them look like card titles, not section headings */
section h2 { display: block; margin: 0 0 8px; font-size: 16.5px; letter-spacing: .02em; text-transform: none; text-wrap: pretty; }
section h2::before { content: "\2726"; display: inline-block; flex: none; height: auto; background: none; margin-right: 9px; color: var(--accent); font-size: 12px; transform: translateY(-1px); text-shadow: 0 0 10px rgba(var(--accent-rgb), .8); }
section h2::after { display: none; }
/* small screens: calmer eyebrow */
@media (max-width: 640px) { .eyebrow { display: block; font-size: 11.5px; letter-spacing: .2em; line-height: 1.6; } .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 10px; } .eyebrow::after { display: none; } }
/* slightly brighter night-sky so the landing artwork reads through */
.backdrop { filter: blur(30px) saturate(1.2) brightness(.46); }
