/* theme-lq.css - LIQUID ROHAN PVE "launcher" skin (2026-11-21).
   Loaded after style.css / market.css / topup.css. Same look as the LQ game launcher:
   launcher key art full-bleed, emerald + gold, gold gradient lettering, glass panels with gold hairlines,
   shining sweep loops on the buttons, pulsing glow on the main call to action. */
:root {
  --bg:#060c0b; --surface:#0b1513; --surface-2:#11201c; --text:#ecf2ec; --muted:#a3b6ad;
  --accent:#5dffb0; --accent-2:#39e09a; --gold:#e6c27a; --gold-2:#c9a464; --gold-hi:#fff3c8; --gold-lo:#a8722a;
  --line:#2a3d36; --line-soft:#1a2a25; --hero-image:url('assets/liquid-keyart.webp');
  --gold-text:linear-gradient(180deg,#fff6d6 0%,#f0cf86 42%,#c99645 62%,#a8722a 78%,#f3d48e 100%);
  --panel:linear-gradient(180deg,#0d1816f2,#070e0df5);
  --hair:linear-gradient(90deg,transparent,#e6c27a 50%,transparent);
}
body { background:var(--bg); }
body::before { background:radial-gradient(ellipse 70% 40% at 30% 18%,#1f6b4e22,transparent 70%),radial-gradient(ellipse 50% 35% at 80% 60%,#8a6a2e14,transparent 70%); }
::selection { background:var(--gold); color:#1a1206; }

/* ------------------------------------------------------------ gold lettering */
h2 { font-family:'Cinzel','Trajan Pro',Georgia,'Times New Roman',serif; font-weight:700; letter-spacing:.02em; text-transform:uppercase;
     background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 2px 2px #000a); }
h2>span { background:linear-gradient(180deg,#e9fff4,#8cf5c8 55%,#1f9f74); -webkit-background-clip:text; background-clip:text; color:transparent; }
.section-kicker,.panel-overline,.card-index { color:var(--gold); letter-spacing:.24em; }

/* ------------------------------------------------------------ header (glass bar like the launcher title bar) */
.utility-bar { background:#030706; border-bottom:1px solid #c9a46422; }
.site-header { background:linear-gradient(180deg,#050a09f7,#081210f2); border-bottom:0; box-shadow:0 10px 30px #0008; }
.site-header::after { content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--hair); opacity:.75; }
.lq-brand { display:inline-flex; align-items:center; gap:12px; white-space:nowrap; }
.lq-brand img { width:40px; height:40px; animation:lq-emblem 4s ease-in-out infinite; }
.lq-brand b { display:block; font:700 1.12rem/1 'Cinzel','Trajan Pro',Georgia,serif; letter-spacing:.06em; background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 1px 1px #000); }
.lq-brand small { display:block; margin-top:6px; font:700 .62rem/1 'Segoe UI',sans-serif; letter-spacing:.32em; color:#9fc8b6; }
@keyframes lq-emblem { 0%,100% { filter:drop-shadow(0 0 2px #5dffb055); } 50% { filter:drop-shadow(0 0 9px #5dffb0aa); } }
.site-nav a.active,.site-nav a:hover,.header-link:hover,.header-link.active { color:var(--gold-hi); }
.site-nav a.active::after { background:var(--hair); box-shadow:0 0 12px #e6c27a88; height:2px; }
.site-nav .nav-rune { color:var(--gold)!important; }
.header-progress span { background:linear-gradient(90deg,var(--accent-2),var(--gold))!important; }

/* ------------------------------------------------------------ buttons: gold with a shining sweep loop */
.button { border-radius:6px; overflow:hidden; isolation:isolate; letter-spacing:.08em; }
.button-primary,.button-small {
  border:1px solid #5b3d12; color:#2a1b06; text-shadow:0 1px 0 #fff3d080;
  background:linear-gradient(180deg,#f8dfa0 0%,#d3a252 48%,#9c6b26 100%);
  box-shadow:inset 0 1px 0 #fff4cf,inset 0 0 0 1px #fff4cf55,0 0 0 1px #00000060,0 6px 26px #e6c27a26; }
.button-primary:hover,.button-small:hover { background:linear-gradient(180deg,#fff0c4 0%,#e2b764 48%,#b7832f 100%); box-shadow:inset 0 1px 0 #fff,0 0 0 1px #0006,0 0 26px #ffd98a66,0 8px 30px #e6c27a44; }
.button-primary::after,.button-small::after,.button-outline::after {
  content:''; position:absolute; z-index:-1; top:-20%; bottom:-20%; width:58px; left:-90px; transform:skewX(-24deg);
  background:linear-gradient(90deg,transparent,#ffffffd0,transparent); animation:lq-shine 2.8s ease-in-out infinite; pointer-events:none; }
.button-outline::after { background:linear-gradient(90deg,transparent,#ffffff3a,transparent); animation-duration:4.2s; animation-delay:.8s; }
.button-primary>*,.button-small>*,.button-outline>* { position:relative; z-index:1; }
@keyframes lq-shine { 0% { left:-80px; } 45%,100% { left:calc(100% + 80px); } }
.button-play,.join-section .button-primary { animation:lq-pulse 2.6s ease-in-out infinite; }
@keyframes lq-pulse { 0%,100% { box-shadow:inset 0 1px 0 #fff4cf,0 0 0 1px #0006,0 0 14px #6bffbe33,0 6px 26px #e6c27a26; }
                      50% { box-shadow:inset 0 1px 0 #fff4cf,0 0 0 1px #0006,0 0 30px #6bffbe77,0 8px 34px #e6c27a55; } }
.button-outline { border-radius:6px; background:linear-gradient(180deg,#1b2a26e6,#0d1714e6); border-color:#c9a464bb; color:#eadfc6; box-shadow:inset 0 1px 0 #ffffff14; }
.button-outline:hover { border-color:var(--gold); background:linear-gradient(180deg,#2c4038,#0d1714); box-shadow:0 0 18px #e6c27a33; color:#fff2d2; }
.text-link { color:var(--gold); }

/* ------------------------------------------------------------ hero: the launcher key art, full bleed */
.hero-stage { --art-h:37vw; --art-w:100%;
  background:
    linear-gradient(180deg,#08121000 calc(var(--art-h) * .62),#081210c0 calc(var(--art-h) * .88),#081210 calc(var(--art-h) - 4px)),
    linear-gradient(180deg,#05090ae0 0,#05090a00 90px),
    var(--hero-image) center top / var(--art-w) auto no-repeat,
    #081210;
  border-bottom:0; }
.hero-stage::before { content:''; position:absolute; inset:0 0 auto; height:var(--art-h); z-index:1; pointer-events:none;
  background:linear-gradient(105deg,transparent 30%,#ffffff10 44%,#fff5d038 50%,#ffffff10 56%,transparent 70%) no-repeat;
  background-size:60% 100%; animation:lq-art-sweep 9s ease-in-out infinite; mix-blend-mode:screen; }
@keyframes lq-art-sweep { 0% { background-position:-120% 0; } 60%,100% { background-position:260% 0; } }
.hero-stage::after { content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--hair); z-index:3; }
.hero-atmosphere .magic-sigil,.hero-atmosphere .eclipse-halo { display:none; }
.hero { justify-content:center; align-items:flex-end; min-height:0; padding-block:calc(var(--art-h) - 60px) 96px; }
.hero-copy { width:min(760px,100%); max-width:100%; }
.hero h1 { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); margin:0; }
.eyebrow { color:#cfe6da; }
.realm-gem { background:var(--gold); box-shadow:0 0 14px var(--gold); }
.hero-battlecry { font:700 clamp(1.3rem,2.1vw,2rem)/1.2 'Cinzel','Trajan Pro',Georgia,serif; letter-spacing:.14em; margin:14px 0 10px;
  background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 2px 3px #000); }
.hero-lead { max-width:520px; color:#c4d4cd; font-size:.95rem; }
.hero-actions { gap:16px; margin-top:24px; }
.button-play { min-height:62px; min-width:270px; font-size:1rem; }
.hero-meta { color:#9fc8b6; }
.hero-meta i { background:var(--gold); box-shadow:0 0 6px var(--gold); }
.hero-coordinate { color:#8fb3a3; bottom:30px; }

/* ------------------------------------------------------------ glass panels with gold hairlines */
.realm-dock,.panel,.why-card,.server-spec,.server-version,.quick-access a,.join-section,.auth-card,.account-card,.market-card,.topup-card {
  background:var(--panel)!important; border:1px solid #c9a46438!important; box-shadow:0 18px 40px #0007,inset 0 1px 0 #ffffff0a!important; border-radius:6px; }
.realm-dock { border-color:#c9a4645c!important; }
.realm-dock::before,.realm-dock::after { background:var(--gold); box-shadow:0 0 10px var(--gold); }
.panel,.why-card,.server-spec,.quick-access a { position:relative; }
.panel::after,.server-spec::after,.quick-access a::after { content:''; position:absolute; left:18%; right:18%; top:-1px; height:1px; background:var(--hair); opacity:.7; pointer-events:none; }
.why-card::before { border-color:#e6c27a99!important; }
.why-card::after { color:#e6c27a1f; font-family:'Cinzel',Georgia,serif; }
.why-card:hover,.server-spec:hover,.quick-access a:hover { border-color:#e6c27a99!important; box-shadow:0 0 0 1px #e6c27a33,0 18px 40px #0008,0 0 30px #5dffb014!important; transform:translateY(-3px); }
.why-icon,.spec-icon,.quick-icon,.dock-icon,.reference-panel-heading>span { color:var(--gold)!important; border-color:#e6c27a66!important; background:radial-gradient(circle,#1f6b4e55,transparent 70%)!important; }
.why-card h3,.server-spec h3,.panel h3 { color:#f4ead2; }
.online-number-row>strong { background:linear-gradient(180deg,#e9fff4,#8cf5c8 60%,#1f9f74); -webkit-background-clip:text; background-clip:text; color:transparent; }
.online-state { color:var(--accent); }
.dock-stat strong { color:#f4ead2; }
.version-orbit { border-color:#e6c27a88!important; box-shadow:0 0 30px #5dffb022; }
.version-orbit span,.server-version h3 span { background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.server-version { background:linear-gradient(180deg,#081210cc,#060c0bf2),url('assets/realm-keyart.webp') 72% center / cover!important; }
.version-tags span,.spec-pill { border-color:#e6c27a77!important; color:var(--gold)!important; border-radius:3px; }

/* forge meters = launcher progress bars (shimmer loop) */
.forge-meter { height:8px!important; border-radius:4px; background:linear-gradient(180deg,#06100e,#1a2b27)!important; box-shadow:inset 0 0 0 1px #3c524966; overflow:hidden; }
.forge-meter span { position:relative; display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,#9c6b26,#f2d08a)!important; box-shadow:0 0 10px #f2d08a66; overflow:hidden; }
.forge-meter span::after { content:''; position:absolute; top:0; bottom:0; width:40px; left:-50px; background:linear-gradient(90deg,transparent,#ffffffb0,transparent); animation:lq-shine 2.4s ease-in-out infinite; }
.forge-value { background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent!important; }
.tamir-cell { border-radius:4px; border-color:#2f4a40!important; background:linear-gradient(180deg,#0f1d1a,#08110f)!important; }
.tamir-cell strong { color:#9ff7cf!important; }
.tamir-risk { border-color:#c9a46466!important; background:linear-gradient(180deg,#22190b,#100c06)!important; }
.tamir-risk strong { color:var(--gold)!important; }

/* join banner uses the key art */
.join-section { background:linear-gradient(90deg,#060c0bf5 30%,#060c0b99 60%,#060c0b33),url('assets/realm-keyart.webp') right 30% / cover!important; overflow:hidden; }
.join-section h2 span { background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* footer */
.site-footer { background:#030706; border-top:0; position:relative; }
.site-footer::before { content:''; position:absolute; left:0; right:0; top:0; height:1px; background:var(--hair); }
.site-footer a:hover { color:var(--gold-hi); }

/* forms (login / register / account) */
input[type=text],input[type=password],input[type=email],input[type=number],select,textarea {
  border-radius:5px; border-color:#2f4a40; background:#050b0a; }
input:focus,select:focus,textarea:focus { border-color:var(--gold)!important; box-shadow:0 0 0 3px #e6c27a22!important; outline:0; }

@media (max-width:700px) {
  .hero-stage { --art-h:66vw; --art-w:178%; }
  .hero { padding-block:calc(var(--art-h) - 34px) 64px; }
}
@media (max-width:900px) {
  .lq-brand b { font-size:1rem; }
}
.motion-paused .button::after,.motion-paused .hero-stage::before,.animations-paused .button::after,.animations-paused .hero-stage::before { animation-play-state:paused!important; }
/* inner pages keep the character key art (no logo behind the headings) */
body:not(.page-home) { --hero-image:url('assets/realm-keyart.webp'); }
.header-inner .lq-brand { margin-right:14px; }
.auth-intro h1 em { background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---- launcher extras: breathing light behind the logo, PLAY button sparkle + arrow nudge, shine on hover too ---- */
.hero-atmosphere::before { content:''; position:absolute; left:50%; top:calc(var(--art-h, 37vw) * .52); width:min(46vw,900px); aspect-ratio:2/1;
  transform:translate(-50%,-50%); border-radius:50%; background:radial-gradient(closest-side,#5dffb03a,#5dffb012 55%,transparent);
  mix-blend-mode:screen; animation:lq-breathe 4.5s ease-in-out infinite; pointer-events:none; }
@keyframes lq-breathe { 0%,100% { opacity:.45; transform:translate(-50%,-50%) scale(.94); } 50% { opacity:1; transform:translate(-50%,-50%) scale(1.04); } }
.button-play::before,.join-section .button-primary::before,.button-small::before {
  content:''; position:absolute; z-index:2; top:7px; right:12px; width:16px; height:16px; pointer-events:none;
  background:radial-gradient(circle,#fff 0 12%,#fff8 22%,transparent 62%), linear-gradient(90deg,transparent 46%,#fffd 50%,transparent 54%), linear-gradient(0deg,transparent 46%,#fffd 50%,transparent 54%);
  opacity:0; animation:lq-sparkle 2.8s ease-in-out infinite; }
@keyframes lq-sparkle { 0%,52% { opacity:0; transform:scale(.3) rotate(0); } 64% { opacity:1; transform:scale(1.1) rotate(45deg); } 80%,100% { opacity:0; transform:scale(.4) rotate(90deg); } }
.button-play>span:last-child,.hero-actions .button-primary>span:last-child { display:inline-block; animation:lq-nudge 1.6s ease-in-out infinite; }
.button-play:hover>span:last-child { animation-duration:.8s; }
@keyframes lq-nudge { 0%,100% { transform:translateX(0); } 50% { transform:translateX(5px); } }
.button-primary:hover::after,.button-small:hover::after { animation-duration:1.4s; }
.realm-dock::before,.realm-dock::after { animation:lq-hair 3s ease-in-out infinite; }
@keyframes lq-hair { 0%,100% { opacity:.55; } 50% { opacity:1; } }
.motion-paused *,.motion-paused *::before,.motion-paused *::after { animation-play-state:paused!important; }

/* ------------------------------------------------------------ market + account pages: launcher art backdrop */
body.page-market:not(.is-embed),body.page-account:not(.is-embed) {
  background:
    radial-gradient(ellipse 34% 52% at 50% 36%,#060c0bf0,#060c0bc8 55%,#060c0b00 100%),
    radial-gradient(ellipse 75% 60% at 50% 38%,#060c0b8c,transparent 75%),
    linear-gradient(180deg,#060c0b66 0,#060c0ba6 46vh,#060c0be6 88vh,#060c0bf5 100%),
    url('assets/liquid-keyart.webp') center top / cover no-repeat fixed,
    #060c0b; }
.page-embers { position:fixed!important; inset:0; width:100vw!important; height:100vh!important; z-index:0!important; pointer-events:none; }
body.page-market main,body.page-account main,body.page-market .site-footer,body.page-account .site-footer { position:relative; z-index:1; }
.home-hero,.market-hero,.home-bar,.home-search,.market-empty,.market-card,.char-card,.account-panel-inner,.topup-card,.shop-card,.account-section,.account-box {
  background:linear-gradient(180deg,#0c1715d9,#060c0be6)!important; backdrop-filter:blur(10px) saturate(1.2); -webkit-backdrop-filter:blur(10px) saturate(1.2);
  border:1px solid #c9a46440!important; border-radius:6px!important; box-shadow:0 18px 44px #0009,inset 0 1px 0 #ffffff0d!important; }
.home-hero,.market-hero { position:relative; overflow:hidden; }
.home-hero::before,.market-hero::before { content:''; position:absolute; left:12%; right:12%; top:0; height:1px; background:var(--hair); z-index:2; }
.home-hero::after { content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:linear-gradient(105deg,transparent 35%,#fff5d014 48%,#fff5d024 50%,#fff5d014 52%,transparent 65%) no-repeat; background-size:55% 100%; animation:lq-art-sweep 8s ease-in-out infinite; }
.home-hero>*,.market-hero>* { position:relative; z-index:1; }
.home-hero h1,.market-hero h1 { font-family:'Cinzel','Trajan Pro',Georgia,serif; font-weight:700; letter-spacing:.02em;
  background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 2px 2px #000a); }
.home-hero h1 span,.market-hero h1 span { background:linear-gradient(180deg,#e9fff4,#8cf5c8 55%,#1f9f74); -webkit-background-clip:text; background-clip:text; color:transparent; }
.home-balance { background:linear-gradient(180deg,#07100ecc,#040807e6)!important; border:1px solid #e6c27a66!important; border-radius:6px; box-shadow:0 0 24px #5dffb012,inset 0 1px 0 #ffffff10; }
.home-balance strong { background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent!important; filter:drop-shadow(0 1px 1px #000); }
.home-balance-link { color:var(--accent)!important; }
.home-balance-link:hover { color:var(--gold-hi)!important; }
/* tabs + pills: gold like the launcher buttons, with the shine loop */
.home-tab.is-active,.pill.is-active { position:relative; overflow:hidden; color:#2a1b06!important; border-color:#5b3d12!important;
  background:linear-gradient(180deg,#f8dfa0,#d3a252 48%,#9c6b26)!important; box-shadow:inset 0 1px 0 #fff4cf,0 0 16px #e6c27a40!important; }
.home-tab.is-active::after,.pill.is-active::after { content:''; position:absolute; top:-20%; bottom:-20%; width:30px; left:-50px; transform:skewX(-24deg);
  background:linear-gradient(90deg,transparent,#ffffffc0,transparent); animation:lq-shine 3.2s ease-in-out infinite; }
.home-tab:not(.is-active):hover,.pill:not(.is-active):hover { color:var(--gold-hi)!important; border-color:#e6c27a88!important; }
.home-btn { position:relative; overflow:hidden; border-radius:5px!important; border:1px solid #c9a46480!important;
  background:linear-gradient(180deg,#1b2a26e6,#0d1714e6)!important; color:#eadfc6!important; box-shadow:inset 0 1px 0 #ffffff12; }
.home-btn:hover { border-color:var(--gold)!important; color:#fff2d2!important; box-shadow:0 0 16px #e6c27a33,inset 0 1px 0 #ffffff18; }
.home-btn::after { content:''; position:absolute; top:-20%; bottom:-20%; width:26px; left:-40px; transform:skewX(-24deg);
  background:linear-gradient(90deg,transparent,#ffffff40,transparent); animation:lq-shine 4.6s ease-in-out infinite; pointer-events:none; }
.home-btn:nth-child(2)::after { animation-delay:.5s; } .home-btn:nth-child(3)::after { animation-delay:1s; } .home-btn:nth-child(4)::after { animation-delay:1.5s; }
.home-btn:nth-child(5)::after { animation-delay:2s; } .home-btn:nth-child(6)::after { animation-delay:2.5s; }
.home-btn--topup { color:var(--gold)!important; }
.gear-btn { border-color:#c9a46480!important; color:var(--gold)!important; }
.home-search input[type=search],.home-sort select { background:#040908cc!important; border-color:#2f4a40!important; }
.market-empty { border-style:solid!important; }
.market-empty-rune { color:var(--gold)!important; text-shadow:0 0 14px #e6c27a88; animation:lq-hair 3s ease-in-out infinite; }
.market-empty h2 { font-size:clamp(1.4rem,2.2vw,2rem); }
@media (max-width:700px) { body.page-market:not(.is-embed),body.page-account:not(.is-embed) { background-attachment:scroll; background-size:auto 70vh; } }

/* ------------------------------------------------------------ top up (and other full account pages): launcher backdrop */
body.page-account:not(.is-embed) .auth-main { background:none!important; }
body.page-account:not(.is-embed) .auth-atmosphere { display:none; }
.topup-card { backdrop-filter:blur(10px) saturate(1.2); -webkit-backdrop-filter:blur(10px) saturate(1.2); }
.topup-card::before { content:''; position:absolute; left:12%; right:12%; top:0; height:1px; background:var(--hair); }
.topup-balance { border-color:#e6c27a66!important; background:linear-gradient(180deg,#07100ecc,#040807e6)!important; border-radius:6px; }
.topup-balance strong { background:var(--gold-text); -webkit-background-clip:text; background-clip:text; color:transparent!important; }
.topup-method-body,.topup-pack-body,.topup-summary,.topup-tiers,.topup-streamer select { background:#050b0acc!important; border-color:#2f4a40!important; border-radius:6px!important; }
.topup-method input:checked+.topup-method-body,.topup-pack input:checked+.topup-pack-body { border-color:var(--gold)!important; box-shadow:0 0 0 1px #e6c27a66,0 0 18px #e6c27a33!important; background:linear-gradient(180deg,#1d1a0ecc,#0a0c08e6)!important; }
.topup-pack-points { color:#f4ead2; }
.gl-hint { margin:12px 0 0; font-size:.9rem; color:var(--muted); }
.gl-hint kbd { display:inline-block; min-width:26px; padding:1px 7px; border:1px solid #c9a46499; border-bottom-width:2px; border-radius:4px; background:#0d1714; color:var(--gold-hi); font:700 .8rem/1.5 'Segoe UI',sans-serif; text-align:center; }

/* ---- 2026-11-21: sign-up credentials download ---- */
.signup-done { text-align:center; padding:10px 0 4px; }
.signup-done-icon { width:64px; height:64px; margin:0 auto 12px; display:grid; place-items:center; font-size:30px; color:#6ee7b7; border:2px solid #6ee7b7; border-radius:50%; box-shadow:0 0 24px #34d39955; }
.signup-done h3 { margin:0 0 8px; color:#f4d58a; font-size:1.3rem; }
.signup-done p { color:#cfdcd7; }
.cred-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:18px; background:#020807d9; backdrop-filter:blur(4px); animation:credFade .25s ease-out; }
.cred-modal[hidden] { display:none; }
.cred-box { position:relative; width:100%; max-width:440px; padding:30px 26px 24px; text-align:center; background:linear-gradient(160deg,#0f2622,#07120f); border:1px solid #c9a24a99; border-radius:12px; box-shadow:0 24px 70px #000b,0 0 40px #e8c46a22; overflow:hidden; animation:credPop .35s cubic-bezier(.2,1.4,.4,1); }
.cred-glow { position:absolute; left:50%; top:-90px; width:260px; height:180px; transform:translateX(-50%); background:radial-gradient(circle,#e8c46a44,transparent 70%); pointer-events:none; }
.cred-icon { position:relative; width:68px; height:68px; margin:0 auto 12px; display:grid; place-items:center; color:#0b1414; background:linear-gradient(180deg,#f4d58a,#c9a24a); border-radius:50%; box-shadow:0 0 0 6px #e8c46a22,0 0 30px #e8c46a77; animation:credBob 2.2s ease-in-out infinite; }
.cred-kicker { display:block; font-size:.7rem; font-weight:800; letter-spacing:.24em; color:#6ee7b7; }
.cred-box h3 { margin:6px 0 8px; font-size:1.35rem; color:#f4d58a; text-shadow:0 0 18px #e8c46a44; }
.cred-file { display:inline-block; margin:0 0 14px; padding:5px 12px; font-family:Consolas,monospace; font-size:.85rem; color:#e6f2ee; background:#00000066; border:1px dashed #6ee7b799; border-radius:6px; }
.cred-list { margin:0 0 12px; padding:0; list-style:none; text-align:left; }
.cred-list li { position:relative; margin:7px 0; padding-left:24px; font-size:.9rem; line-height:1.45; color:#d9e6e1; }
.cred-list li::before { content:'◆'; position:absolute; left:4px; top:1px; font-size:.7rem; color:#e8c46a; }
.cred-list b { color:#fff; }
.cred-small { margin:0 0 16px; font-size:.78rem; color:#8aa7a1; }
.cred-actions { display:grid; grid-template-columns:1fr 1.3fr; gap:8px; }
.cred-actions .button { width:100%; justify-content:center; }
@keyframes credFade { from { opacity:0; } to { opacity:1; } }
@keyframes credPop { from { transform:scale(.85); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes credBob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }
@media (max-width:420px) { .cred-actions { grid-template-columns:1fr; } }

/* v32 new feature cards: auto translation / PVP button / any-language chat */
.why-card-new { border-color:#5dffb055!important; }
.why-new { position:absolute; top:20px; right:62px; padding:3px 9px; border:1px solid #5dffb099; border-radius:999px; background:#5dffb01a; color:#8dffc6; font:700 .68rem/1.2 'Segoe UI',sans-serif; letter-spacing:.14em; box-shadow:0 0 14px #5dffb02e; }

/* v33 language switcher: EN / ID / TW / KR / VN / JP ---------------------------- */
.utility-cluster { display:flex; align-items:center; gap:16px; margin-left:auto; }
.lang-switch { display:flex; align-items:center; gap:5px; flex:0 0 auto; }
.lang-btn {
  display:inline-flex; align-items:center; gap:6px; padding:4px 7px; border-radius:4px;
  border:1px solid #ffffff12; background:#ffffff08; color:#a8bfb4; text-decoration:none;
  font:700 .6875rem/1 'Segoe UI',system-ui,sans-serif; letter-spacing:.08em; white-space:nowrap;
  flex:0 0 auto; cursor:pointer;
  transition:color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.lang-btn:hover, .lang-btn:focus-visible { color:var(--gold-hi); border-color:#c9a46488; background:#ffffff14; }
.lang-btn.is-active {
  color:#241703; border-color:#5b3d12;
  background:linear-gradient(180deg,#f8dfa0 0%,#d3a252 55%,#b7832f 100%);
  box-shadow:inset 0 1px 0 #fff4cf, 0 0 12px #e6c27a3d;
}
.lang-flag { display:block; width:17px; height:11px; border-radius:2px; box-shadow:0 0 0 1px #00000055; }
.lang-btn.is-active .lang-flag { box-shadow:0 0 0 1px #00000033; }
@media (max-width:1180px) { .utility-cluster { gap:10px; } .lang-switch { gap:3px; } .lang-btn { padding:4px 5px; gap:5px; font-size:.65625rem; } }
@media (max-width:760px) { .lang-btn span { display:none; } .lang-flag { width:18px; height:12px; } .lang-btn { padding:4px 5px; } }
/* Small phones cannot hold the edition line, six flags and the account links on one row,
   so the utility bar becomes two short centred rows instead of pushing the page sideways. */
@media (max-width:560px) {
  .utility-bar { height:auto; }
  .utility-inner { flex-wrap:wrap; justify-content:center; height:auto; padding-block:6px; gap:6px 10px; }
  .utility-cluster { margin-left:0; gap:10px; }
  .utility-links { gap:12px; }
  /* The Discord shortcut moves into the menu on phones so the flag row and the
     account link always fit; it stays one tap away in the drawer. */
  .utility-links > a[target="_blank"] { display:none; }
  /* The brand used a fixed width sized for the old logo image; with the emblem
     the name needs the room, so let it size itself and tighten the type instead
     of letting the gold wordmark slide under the PLAY FREE button. */
  .header-inner .lq-brand { width:auto; flex:0 1 auto; min-width:0; margin-right:0; }
  .lq-brand img { width:34px; height:34px; }
  .lq-brand b { font-size:.95rem; letter-spacing:.03em; }
  .lq-brand small { font-size:.5625rem; letter-spacing:.2em; }
  .lq-brand span { min-width:0; overflow:hidden; text-overflow:ellipsis; }
  .header-actions .button-small { min-width:0; padding:9px 11px; }
  .utility-links a { font-size:.8125rem; }
}
@media (max-width:420px) { .lang-flag { width:16px; height:11px; } .lang-switch { gap:2px; } .utility-cluster { gap:8px; } }
/* Under 480px the emblem costs more room than the wordmark can spare, so the
   name gets the space and stays complete instead of being cut by the CTA. */
@media (max-width:480px) {
  .lq-brand img { display:none; }
  .lq-brand b { font-size:.95rem; }
}
@media (max-width:400px) {
  .lq-brand b { font-size:.875rem; letter-spacing:.02em; }
  .lq-brand small { font-size:.5rem; letter-spacing:.16em; }
  /* Vietnamese "CHƠI MIỄN PHÍ" is the longest call to action; ease it so the
     wordmark keeps its last letters at 360px. */
  .header-actions .button-small { padding:9px 9px; font-size:.8125rem; letter-spacing:.02em; }
  /* Six flags still have to sit beside the account link at 360px. */
  .lang-flag { width:14px; height:10px; }
  .lang-btn { padding:3px 3px; }
  .lang-switch { gap:1px; }
  .utility-links { gap:8px; }
  .utility-links a { font-size:.75rem; letter-spacing:.02em; }
}

/* Menu-only shortcut: hidden on desktop, where the top bar already shows it. */
.site-nav > a.nav-community { display:none; }
@media (max-width:900px) { .site-nav > a.nav-community { display:grid; } }

/* Language-specific typography: Latin display faces have no CJK glyphs, so give
   Chinese, Korean and Japanese their own readable stacks and tighter tracking. */
html:not([lang="en"]) h1, html:not([lang="en"]) h2, html:not([lang="en"]) h3,
html:not([lang="en"]) h4, html:not([lang="en"]) .hero-battlecry { letter-spacing:0; }
html:not([lang="en"]) .section-kicker, html:not([lang="en"]) .panel-overline,
html:not([lang="en"]) .card-index, html:not([lang="en"]) .spec-label { letter-spacing:.1em; }
html:lang(zh-Hant-TW) h1, html:lang(zh-Hant-TW) h2, html:lang(zh-Hant-TW) h3,
html:lang(zh-Hant-TW) .lq-brand b, html:lang(zh-Hant-TW) .hero-battlecry {
  font-family:'Microsoft JhengHei','PingFang TC','Noto Sans TC','Segoe UI',sans-serif;
}
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3,
html:lang(ko) .lq-brand b, html:lang(ko) .hero-battlecry {
  font-family:'Malgun Gothic','Apple SD Gothic Neo','Noto Sans KR','Segoe UI',sans-serif;
}
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3,
html:lang(ja) .lq-brand b, html:lang(ja) .hero-battlecry {
  font-family:'Yu Gothic','Hiragino Kaku Gothic ProN','Meiryo','Noto Sans JP','Segoe UI',sans-serif;
}

/* Thai stacks vowels and tone marks above and below the baseline, so it needs a
   Thai-capable face and more leading than the Latin display fonts allow. */
html:lang(th) body, html:lang(th) h1, html:lang(th) h2, html:lang(th) h3, html:lang(th) h4,
html:lang(th) .lq-brand b, html:lang(th) .hero-battlecry, html:lang(th) button,
html:lang(th) input, html:lang(th) select, html:lang(th) textarea {
  font-family:'Noto Sans Thai','Leelawadee UI','Sarabun','Tahoma','Segoe UI',sans-serif;
}
html:lang(th) h1, html:lang(th) h2, html:lang(th) h3, html:lang(th) .hero-battlecry {
  letter-spacing:0; line-height:1.34;
}
html:lang(th) body { line-height:1.7; }

/* The pause control floats over the bottom of the hero, where the translated
   strapline wraps to two or three lines on phones. It is a decorative control,
   so on small screens it steps aside instead of covering the text. */
@media (max-width:760px) {
  .motion-control { display:none; }
}
