/* Shared presentation for translated documents and original app-policy URLs. */
:root { --legal-ink:#293444; --legal-muted:#606b79; --legal-paper:#fcfbf8; --legal-accent:#975b13; }
html { scroll-behavior:smooth; scroll-padding-top:0; }
html body { margin:0; background:#0a0c14; color:#eef0f4; font-family:'Plus Jakarta Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.legal-header { position:sticky; top:0; z-index:40; border-bottom:1px solid #ffffff12; background:#0a0c14f2; backdrop-filter:blur(18px); }
.legal-header-inner { min-height:80px; max-width:1240px; padding:0 28px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.legal-brand { display:inline-flex; align-items:center; gap:11px; color:#f6f5f1; text-decoration:none; font-size:18px; font-weight:750; letter-spacing:.06em; }
.legal-brand-mark { display:grid; place-items:center; width:36px; height:36px; border-radius:11px; background:#ffb454; color:#13111b; font-size:27px; font-weight:800; letter-spacing:-.1em; }
.legal-brand small { display:block; margin-top:3px; color:#9198a9; font-size:8px; letter-spacing:.18em; font-weight:500; }
.legal-header-links { display:flex; align-items:center; gap:22px; }
.legal-header-links > a { color:#b9c0cf; font-size:12px; text-decoration:none; }
.legal-header-links > a:hover { color:#ffb454; }
.legal-page { max-width:1240px; margin:auto; padding:38px 28px 70px; }
.legal-back { display:inline-flex; gap:10px; align-items:center; color:#9da6b9; font-size:12px; text-decoration:none; margin-bottom:32px; }
.legal-back:hover { color:#ffb454; }
.legal-hero { display:flex; align-items:center; gap:19px; padding-bottom:34px; }
.legal-game-icon { width:64px; height:64px; border-radius:17px; box-shadow:0 10px 25px #0005; border:1px solid #ffffff20; flex-shrink:0; }
.legal-kicker { color:#ffb454; font-size:10px; font-weight:650; letter-spacing:.15em; text-transform:uppercase; margin:0 0 9px; }
.legal-title { margin:0; font-size:clamp(25px,3vw,38px); font-weight:750; line-height:1.25; letter-spacing:-.035em; color:#f5f5f0; }
.legal-subtitle { font-size:13px; margin:9px 0 0; color:#a1aabc; }
.legal-layout { display:grid; grid-template-columns:220px minmax(0,1fr); align-items:start; gap:32px; }
.legal-sidebar { position:sticky; top:110px; max-height:calc(100dvh - 140px); overflow:auto; scrollbar-width:thin; }
.legal-sidebar-title { margin:0 0 17px; font-size:10px; font-weight:650; letter-spacing:.12em; color:#919caf; text-transform:uppercase; }
.legal-toc { display:grid; gap:2px; border-left:1px solid #ffffff16; padding-left:13px; }
.legal-toc a { display:block; padding:7px 7px; color:#abb4c6; font-size:11px; line-height:1.55; text-decoration:none; border-radius:5px; }
.legal-toc a:hover, .legal-toc a:focus-visible { color:#ffb454; background:#ffb4540a; }
.legal-sidebar-source { margin:24px 0 0; padding-top:18px; border-top:1px solid #ffffff13; font-size:11px; line-height:1.7; }
.legal-sidebar-source a { color:#ffb454; text-decoration:none; }
.legal-paper { min-width:0; padding:42px 48px; background:var(--legal-paper); border:1px solid #fff7; border-radius:16px; box-shadow:0 18px 55px #0003; color:var(--legal-ink); }
.legal-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding-bottom:22px; margin-bottom:26px; border-bottom:1px solid #dfe2e4; color:var(--legal-muted); font-size:11px; line-height:1.65; }
.legal-meta-date { display:flex; align-items:center; gap:7px; }
.legal-status { display:inline-flex; align-items:center; gap:6px; color:#567460; }
.legal-status::before { content:''; width:5px; height:5px; background:#63846b; border-radius:100%; }
.legal-note { background:#f2eee5; border-left:3px solid #cda05c; padding:13px 16px; margin:0 0 28px; border-radius:0 6px 6px 0; font-size:12px; line-height:1.8; color:#6b614e; }
.legal-paper .policy-content, .legal-legacy-content { color:var(--legal-ink); font-size:14px; line-height:1.95; overflow-wrap:anywhere; }
.legal-paper .policy-content p, .legal-legacy-content p { margin:14px 0 21px; }
.legal-paper .policy-content h2, .legal-legacy-content h2, .legal-legacy-content > strong, .legal-legacy-content div > strong, .legal-legacy-content p > strong:only-child { display:block; margin:34px 0 14px; font-size:19px; line-height:1.45; font-weight:700; color:#15243a; letter-spacing:-.015em; scroll-margin-top:110px; }
.legal-paper .policy-content > h2:first-child, .legal-legacy-content > strong:first-child { margin-top:0; font-size:23px; }
.legal-paper .policy-content strong, .legal-legacy-content strong { color:#15243a; }
.legal-paper .policy-content ul, .legal-legacy-content ul { margin:14px 0 24px; padding-left:23px; list-style:disc; }
.legal-paper .policy-content li, .legal-legacy-content li { padding-left:4px; margin:9px 0; }
.legal-paper .policy-content li::marker, .legal-legacy-content li::marker { color:#ad8149; }
.legal-paper .policy-content a, .legal-legacy-content a { color:var(--legal-accent); text-decoration:underline; text-underline-offset:3px; }
.legal-paper .policy-content hr, .legal-legacy-content hr { margin:30px 0; border:0; border-top:1px solid #dfe2e4; }
.legal-paper .policy-content br, .legal-legacy-content br { display:none; }
.legal-paper-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-top:32px; padding-top:23px; border-top:1px solid #dfe2e4; font-size:11px; }
.legal-paper-footer a { color:var(--legal-accent); text-decoration:none; }
.legal-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:26px; color:#79849a; font-size:10px; }
.legal-legacy-content .container-lg { max-width:none!important; padding:0!important; margin:0!important; }
.legal-legacy-content .container-lg > h1:first-child { display:none; }
.legal-legacy-content { margin:0; }
.legal-legacy-content .anchorjs-link { display:none; }
.legal-mobile-toc { display:none; }
:where(.legal-page,.legal-header) a:focus-visible { outline:2px solid #c38b3f; outline-offset:4px; border-radius:3px; }
@media(max-width:900px) {
 .legal-layout { grid-template-columns:1fr; gap:18px; }
 .legal-sidebar { display:none; }
 .legal-mobile-toc { display:block; margin-bottom:18px; padding:14px 16px; border:1px solid #ffffff1c; border-radius:10px; color:#c3ccda; font-size:12px; }
 .legal-mobile-toc summary { cursor:pointer; }
 .legal-mobile-toc .legal-toc { margin-top:14px; }
 .legal-paper { padding:32px; }
}
@media(max-width:600px) {
 .legal-header-inner { min-height:72px; padding:0 20px; }
 .legal-header-links { gap:12px; }
 .legal-header-links > a { font-size:11px; }
 .legal-page { padding:26px 18px 40px; }
 .legal-back { margin-bottom:26px; }
 .legal-hero { gap:13px; padding-bottom:26px; align-items:flex-start; }
 .legal-game-icon { width:48px; height:48px; border-radius:13px; }
 .legal-kicker { font-size:9px; margin-bottom:7px; }
 .legal-title { font-size:26px; }
 .legal-subtitle { font-size:12px; line-height:1.7; }
 .legal-paper { padding:25px 21px; border-radius:12px; }
 .legal-paper .policy-content, .legal-legacy-content { font-size:14px; line-height:1.95; }
 .legal-paper .policy-content h2, .legal-legacy-content > strong, .legal-legacy-content div > strong, .legal-legacy-content p > strong:only-child { font-size:18px; }
 .legal-bottom { line-height:1.8; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.legal-legacy-content .markdown-body { color:inherit; font-family:inherit; font-size:inherit; line-height:inherit; }
.legal-language { position:relative; font-size:12px; }
.legal-language summary { cursor:pointer; color:#c3ccda; padding:10px 12px; border:1px solid #ffffff20; border-radius:8px; }
.legal-language nav { position:absolute; z-index:50; right:0; top:calc(100% + 8px); min-width:160px; background:#161c2b; padding:8px; border:1px solid #30394b; border-radius:10px; box-shadow:0 10px 25px #0005; }
.legal-language nav a { display:block; color:#c3ccda; padding:9px 12px; text-decoration:none; border-radius:6px; }
.legal-language nav a:hover { color:#ffb454; background:#ffffff08; }
@media(max-width:600px) { .legal-header-links > a { display:none; } }
