/* Zurich RO website - ice theme (Oct 2026): dark navy, glass windows, icy headings, gold play buttons.
   Home: intro burst, frozen hero with drifting ice and the game's own Poring sprites, ticker, features,
   live boards, MVP gallery, 3 steps, closing call. Other pages (guide, database, quests, ranking, MVP,
   top up, terms, privacy) keep app.js's markup and get the same look through the classes below.
   Effects are in fx.js; everything is visible without them (reduced motion turns them off). */

@font-face { font-family: Kanit; font-weight: 300; font-display: swap; src: url(/home/fonts/kanit-thai-300.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Kanit; font-weight: 400; font-display: swap; src: url(/home/fonts/kanit-thai-400.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Kanit; font-weight: 600; font-display: swap; src: url(/home/fonts/kanit-thai-600.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Kanit; font-weight: 800; font-display: swap; src: url(/home/fonts/kanit-thai-800.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Kanit; font-weight: 900; font-display: swap; src: url(/home/fonts/kanit-thai-900.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Kanit; font-weight: 300; font-display: swap; src: url(/home/fonts/kanit-latin-300.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Kanit; font-weight: 400; font-display: swap; src: url(/home/fonts/kanit-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Kanit; font-weight: 600; font-display: swap; src: url(/home/fonts/kanit-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Kanit; font-weight: 800; font-display: swap; src: url(/home/fonts/kanit-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Kanit; font-weight: 900; font-display: swap; src: url(/home/fonts/kanit-latin-900.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #030918; --deep: #071637; --glass: rgba(20, 56, 124, .38); --glass-2: rgba(8, 26, 66, .78); --glass-3: rgba(5, 20, 55, .55);
  --line: rgba(140, 200, 255, .28); --line-hot: #69b6ff;
  --ice: #bfe2ff; --frost: #eef6ff; --mist: #93b4da; --dim: #6f8fb8;
  --gold: #ffc83d; --gold-soft: #ffd76a; --ok: #5ee6a0; --warn: #ffb23f; --err: #ff6b6b; --violet: #c9a6ff;
  --f: Kanit, "Leelawadee UI", "Noto Sans Thai", "Noto Sans Lao", "Noto Sans Myanmar", "Noto Sans Khmer", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hdr-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-padding-top: calc(var(--hdr-h) + 12px); overflow-y: scroll; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
  background: radial-gradient(1100px 700px at 85% -5%, rgba(70, 150, 255, .16), transparent 60%), var(--night);
  color: var(--frost); font: 300 16px/1.6 var(--f);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
a { color: var(--ice); }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
b, strong { font-weight: 600; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--frost); color: var(--night); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; top: 8px; }
.grow { flex: 1; min-width: 0; }
.hgrow { flex: 1; }
.note { color: var(--mist); font-size: 14px; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
main { flex: 1; padding-top: var(--hdr-h); padding-bottom: 40px; }
main:focus { outline: none; }
main > section.wrap { display: grid; gap: 18px; padding-top: 24px; }
main > section.home { padding-top: 0; margin-top: calc(-1 * var(--hdr-h)); }

/* ===== intro / progress ===== */
.intro { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0d2a66, var(--night) 70%); animation: introOut .7s var(--ease) 1.5s forwards; }
.intro img { width: min(46vw, 260px); animation: introPop 1.2s var(--ease) both; filter: drop-shadow(0 0 40px rgba(110, 190, 255, .9)); }
.intro::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #dff0ff;
  box-shadow: 0 0 80px 40px rgba(150, 210, 255, .8); animation: flash 1.5s ease-out both; }
@keyframes introPop { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 55% { transform: scale(1.08) rotate(2deg); opacity: 1; } 100% { transform: scale(1); } }
@keyframes flash { 0%, 40% { transform: scale(0); opacity: 0; } 60% { transform: scale(30); opacity: .9; } 100% { transform: scale(60); opacity: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.prog { position: fixed; top: 0; left: 0; z-index: 120; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #5fb2ff, var(--ice), var(--gold-soft)); pointer-events: none; }

/* ===== header ===== */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(4, 14, 40, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); transition: background .3s, box-shadow .3s, border-color .3s; }
html.at-top body.is-home .hdr { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hbar { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; min-height: var(--hdr-h); padding-block: 8px; }
.logo { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--frost); font-weight: 800; font-size: 20px; }
.logo img { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); box-shadow: 0 0 14px rgba(90, 170, 255, .45); transition: transform .3s var(--ease); }
.logo:hover img { transform: rotate(-6deg) scale(1.06); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; }
.nav .mb { position: relative; display: block; padding: 8px 12px; color: var(--mist); font-weight: 400; font-size: 15px; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav .mb::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--line-hot); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav .mb:hover, .nav .mb[aria-current="page"] { color: var(--frost); }
.nav .mb:hover::after, .nav .mb[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: var(--glass-3); border: 1px solid var(--line); color: var(--frost); border-radius: 10px; padding: 7px 14px; font: 400 15px var(--f); cursor: pointer; }
.lang-sel { background: var(--glass-2); color: var(--frost); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font: 400 14px var(--f); max-width: 140px; }

/* ===== buttons ===== */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  font: 600 16px var(--f); text-decoration: none; white-space: nowrap; cursor: pointer; border-radius: 40px; padding: 10px 22px; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn-play { background: linear-gradient(180deg, #fff1b0, var(--gold) 55%, #e48a10); color: #3b2200; box-shadow: 0 6px 22px rgba(255, 190, 60, .45), inset 0 -3px 0 rgba(0, 0, 0, .18); }
.btn-play::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-play:hover { box-shadow: 0 10px 34px rgba(255, 190, 60, .65), inset 0 -3px 0 rgba(0, 0, 0, .18); }
.btn-ghost { background: rgba(5, 20, 55, .45); color: var(--frost); border: 1.5px solid var(--line-hot); box-shadow: 0 0 22px rgba(90, 170, 255, .25); }
.btn-lg { padding: 15px 32px; font-size: 18px; }

/* the site's ordinary buttons (app.js markup): .rb push buttons, .mb choice buttons, .tab tabs */
.rb, .bar .mb, .toc .mb, #mvFilters .mb {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
  min-height: 36px; padding: 6px 16px; border-radius: 30px; border: 1px solid var(--line);
  background: var(--glass-3); color: var(--frost); font: 400 15px var(--f); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.rb:hover, .bar .mb:hover, .toc .mb:hover, #mvFilters .mb:hover { border-color: var(--line-hot); background: rgba(30, 70, 150, .55); }
.rb:disabled, .rb[aria-disabled="true"] { opacity: .45; cursor: default; }
.rb.main { background: linear-gradient(180deg, #fff1b0, var(--gold) 55%, #e48a10); color: #3b2200; border-color: transparent; font-weight: 600; }
.rb.main:hover { box-shadow: 0 6px 20px rgba(255, 190, 60, .45); }
.rb[aria-pressed="true"], .bar .mb[aria-pressed="true"], #mvFilters .mb[aria-pressed="true"], .toc .mb[aria-current="page"] {
  background: linear-gradient(180deg, rgba(105, 182, 255, .45), rgba(47, 125, 224, .55)); border-color: var(--line-hot); color: #fff; font-weight: 500; }
.rb[aria-busy="true"]::before, .spin::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -1px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 32px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 20px; background: transparent; color: var(--mist); font: 400 14px var(--f); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.tab:hover { color: var(--frost); border-color: var(--line-hot); }
.tab[aria-pressed="true"] { background: rgba(255, 200, 61, .14); color: var(--gold-soft); border-color: rgba(255, 200, 61, .55); font-weight: 500; }
.ro-in { min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 30px; background: var(--glass-2); color: var(--frost); font: 400 15px var(--f); outline: none; }
.ro-in:focus { border-color: var(--line-hot); box-shadow: 0 0 0 3px rgba(105, 182, 255, .2); }
.ro-in::placeholder { color: var(--dim); }
select.ro-in { padding-right: 10px; }
.search { flex: 1 1 220px; min-width: 0; }
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass-3); color: var(--frost); cursor: pointer; position: relative; }
.x::before, .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.x:hover { border-color: var(--line-hot); }

/* ===== windows (app.js .rw markup) ===== */
.rw { background: linear-gradient(180deg, var(--glass), var(--glass-2)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.rw-t { flex: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(105, 182, 255, .14), transparent); font-weight: 600; font-size: 18px; }
.rw-t:empty { display: none; }
.rw-t > * { min-width: 0; }
.rw-t h2 { font-size: 20px; font-weight: 600; }
.rw-t a { font-weight: 400; font-size: 14px; text-decoration: none; }
.rw-b { flex: 1; min-width: 0; padding: 18px 22px 22px; display: grid; gap: 14px; align-content: start; }
.rw-f { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line); color: var(--mist); font-size: 14px; }
.h4, .rw-b h3, .sec-t { margin: 6px 0 0; padding: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--gold-soft); border-bottom: 1px solid var(--line); }

/* page banner with a Kafra (app.js .pbanner) */
.pbanner { overflow: visible; background: none; border: 0; box-shadow: none; }
.pbanner .rw-t { display: none; }
.pbanner .pb-b { position: relative; display: flex; align-items: flex-end; height: 170px; padding: 40px 6px 22px; overflow: hidden;
  border-bottom: 1px solid var(--line); }
.pbanner h1 { position: relative; z-index: 1; font-weight: 900; font-size: clamp(34px, 5vw, 56px); line-height: 1.1;
  background: linear-gradient(100deg, #fff, var(--ice) 40%, #5fb2ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #0b3a8c) drop-shadow(0 0 18px rgba(90, 170, 255, .45)); padding-top: .2em; }
.kafra { position: absolute; right: 0; top: calc(var(--kh) * var(--ky0) / (var(--ky1) - var(--ky0)) * -1 + var(--kt)); height: calc(var(--kh) / (var(--ky1) - var(--ky0))); width: auto; max-width: none;
  pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); animation: kIn .8s var(--ease) both;
  --kh: 150px; --kt: 20px; --ky0: .08; --ky1: .36; }
/* head (top may be cut) to shoulders of each Kafra cut-in: [from, to] as a part of the picture's height */
.kafra[src*="kafra_01"] { --ky0: .12; --ky1: .37; }
.kafra[src*="kafra_02"] { --ky0: .08; --ky1: .36; }
.kafra[src*="kafra_03"] { --ky0: .07; --ky1: .36; }
.kafra[src*="kafra_04"] { --ky0: .10; --ky1: .40; }
.kafra[src*="kafra_05"] { --ky0: .10; --ky1: .39; }
.kafra[src*="kafra_06"] { --ky0: .12; --ky1: .45; }
.kafra[src*="kafra_07"] { --ky0: .06; --ky1: .33; }
.kafra[src*="kafra_08"] { --ky0: .05; --ky1: .32; }
.kafra[src*="kafra_09"] { --ky0: .06; --ky1: .33; }
.kafra.sprite { top: auto; bottom: 6px; height: 90px; image-rendering: pixelated; -webkit-mask-image: none; mask-image: none; }
@keyframes kIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; padding-block: calc(var(--hdr-h) + 70px) 190px;
  background: radial-gradient(900px 600px at 78% 30%, rgba(70, 150, 255, .35), transparent 60%),
              radial-gradient(700px 500px at 10% 90%, rgba(40, 100, 255, .25), transparent 60%),
              linear-gradient(180deg, #0a1f4f 0%, #06143a 60%, var(--night) 100%); }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.tag-gold { display: inline-block; padding: 6px 18px; border-radius: 40px; font-weight: 600; font-size: 15px; background: linear-gradient(90deg, var(--gold-soft), #ffb23f); color: #3b2200; box-shadow: 0 4px 16px rgba(255, 190, 60, .4); }
.hero h1 { margin: 20px 0 0; font-weight: 900; font-size: clamp(36px, 5vw, 70px); line-height: 1.06; letter-spacing: -.01em; }
.hero h1 .ln { display: block; overflow: hidden; padding: .3em 0 .08em; margin-top: -.3em; }
.hero h1 .ln > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: var(--rise, .1s); }
.hero h1 .ln:nth-child(2) > span { --rise: .25s; }
.hero h1 .ln:first-child { filter: drop-shadow(0 4px 0 #0b3a8c) drop-shadow(0 0 22px rgba(90, 170, 255, .55)); }
.icy { background: linear-gradient(100deg, #fff 0%, var(--ice) 30%, #5fb2ff 50%, var(--ice) 70%, #fff 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hi { animation: sheen 5s linear 2.2s infinite; }
@keyframes sheen { to { background-position: -250% 0; } }
@keyframes rise { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.fade-up { animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--fd, 0s) + var(--intro, 0s)); }
.hero h1 .ln > span { animation-delay: calc(var(--rise, .1s) + var(--intro, 0s)); }
html.intro-on { --intro: 1.45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.lead { color: var(--mist); font-size: 19px; max-width: 32em; margin: 18px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.status { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--mist); font-size: 15px; }
.emb-box { position: relative; justify-self: center; width: 100%; max-width: 460px; aspect-ratio: 1; animation: embIn 1.1s var(--ease) both; animation-delay: calc(.1s + var(--intro, 0s)); }
@keyframes embIn { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
.ring { position: absolute; inset: -4%; border-radius: 50%; border: 2px dashed rgba(150, 210, 255, .35); animation: spin 40s linear infinite; pointer-events: none; }
.ring.r2 { inset: 4%; border: 1px solid rgba(150, 210, 255, .25); border-top-color: var(--ice); animation-duration: 9s; }
.emb-link { position: absolute; inset: 6%; display: block; border-radius: 50%; }
.emb { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(90, 170, 255, .6)); animation: float 6s ease-in-out infinite; transition: filter .3s; }
.emb-link:hover .emb, .emb-link:focus-visible .emb { filter: drop-shadow(0 0 54px rgba(120, 190, 255, .95)) brightness(1.08); }
@keyframes float { 50% { translate: 0 -12px; } }
.poring-stage { position: absolute; z-index: 3; left: -8%; right: -8%; bottom: -10%; height: 170px; pointer-events: none; }
.hp { position: absolute; bottom: 0; left: 50%; pointer-events: auto; cursor: pointer; animation: drop .8s var(--ease) both; animation-delay: calc(.6s + var(--intro, 0s)); }
@keyframes drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
.hp::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 34px; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, .4); filter: blur(2px); z-index: -1; }
.spr { display: block; background-repeat: no-repeat; image-rendering: pixelated; image-rendering: crisp-edges; }
.field { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; height: 170px; pointer-events: none; overflow: hidden; }
.mob-walk { position: absolute; bottom: 0; left: 100%; animation: walk var(--t, 38s) linear var(--dl, 0s) infinite; }
.mob-walk::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 18px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(2px); z-index: -1; }
@keyframes walk { to { transform: translateX(calc(-100vw - 220px)); } }
.w-poring, .w-poporing, .w-drops, .w-marin { width: 90px; height: 98px; animation: f10 650ms steps(10) infinite; }
.w-poring { background-image: url(/home/img/walk-poring.png); }
.w-poporing { background-image: url(/home/img/walk-poporing.png); }
.w-drops { background-image: url(/home/img/walk-drops.png); }
.w-marin { background-image: url(/home/img/walk-marin.png); }
.w-metaling { width: 94px; height: 110px; background-image: url(/home/img/walk-metaling.png); animation: f10b 650ms steps(10) infinite; }
.w-angeling { width: 158px; height: 132px; background-image: url(/home/img/walk-angeling.png); animation: f22 1430ms steps(22) infinite; }
.w-deviling { width: 170px; height: 160px; background-image: url(/home/img/walk-deviling.png); animation: f7 1820ms steps(7) infinite; }
.w-ghostring { width: 88px; height: 110px; background-image: url(/home/img/walk-ghostring.png); animation: f9 2340ms steps(9) infinite; }
@keyframes f10 { to { background-position: -900px 0; } }
@keyframes f10b { to { background-position: -940px 0; } }
@keyframes f22 { to { background-position: -3476px 0; } }
@keyframes f7 { to { background-position: -1190px 0; } }
@keyframes f9 { to { background-position: -792px 0; } }

/* ===== stats / ticker ===== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: -60px; position: relative; z-index: 3; }
.stat { padding: 22px 24px; border-radius: 20px; background: linear-gradient(180deg, var(--glass), var(--glass-2)); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); min-width: 0; }
.stat b { display: block; font-weight: 800; font-size: 40px; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span { color: var(--mist); font-size: 15px; }
.stat.gold b { color: var(--gold-soft); }
.srv-line { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--mist); font-size: 14px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #7a8aa3; flex: none; display: inline-block; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
.dot.off { background: var(--err); box-shadow: 0 0 10px var(--err); }
.dot.maint { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.ondot { margin-left: 6px; vertical-align: middle; width: 8px; height: 8px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 230, 160, .6), 0 0 10px var(--ok); } 70% { box-shadow: 0 0 0 10px rgba(94, 230, 160, 0), 0 0 10px var(--ok); } 100% { box-shadow: 0 0 0 0 rgba(94, 230, 160, 0), 0 0 10px var(--ok); } }
.ticker { position: relative; overflow: hidden; margin-top: 56px; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(20, 56, 124, .4), rgba(8, 26, 66, .6)); padding-block: 12px; }
.track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marq 36s linear infinite; font-weight: 600; font-size: 18px; color: var(--ice); white-space: nowrap; }
.ti { display: inline-flex; align-items: center; gap: 12px; }
.tick-mob { height: 28px; width: auto; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ===== home sections ===== */
.sec { padding-block: 90px; }
.sec-tight { padding-top: 20px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .14em; color: var(--gold-soft); }
.home h2, .end h2 { margin: 8px 0 0; font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; text-wrap: balance; padding-top: .1em; }
.sub { color: var(--mist); margin: 12px 0 0; max-width: 36em; }
.feat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; align-items: start; }
.feat-h { position: sticky; top: calc(var(--hdr-h) + 40px); }
.kguide { display: flex; align-items: flex-end; gap: 6px; margin-top: 30px; }
.kguide img { width: 150px; height: auto; flex: none; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .45)); }
.bubble { position: relative; margin-bottom: 60px; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: var(--frost); color: #0b2350; font-weight: 400; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.bubble b { display: block; color: #1c5fc9; font-weight: 600; font-size: 13px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fc { position: relative; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(40, 90, 180, .42), rgba(8, 24, 62, .85)); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden; min-width: 0; }
.fc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(150, 210, 255, .18), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fc:hover { border-color: var(--line-hot); box-shadow: 0 20px 50px rgba(20, 80, 200, .35); }
.fc:hover::before { opacity: 1; }
.fic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-style: normal; color: #fff; background: radial-gradient(circle at 30% 30%, #9fd4ff, #2f7de0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); }
.fc h3 { margin: 16px 0 6px; font-size: 22px; font-weight: 600; }
.fc p { color: var(--mist); font-size: 15px; }
.fc.gold { border-color: rgba(255, 210, 110, .55); background: linear-gradient(160deg, rgba(150, 105, 20, .45), rgba(45, 26, 4, .88)); }
.fc.gold .fic { background: radial-gradient(circle at 30% 30%, #fff1b0, #e09a1c); color: #4a2a00; }
.fc.gold p { color: #ffe2a6; }
.fc.wide { grid-column: 1 / -1; }

.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; align-items: stretch; }
.boards .win { display: flex; flex-direction: column; }
.boards .win-b { flex: 1; }
#mvpSoon { flex: 1 1 auto; min-height: 240px; contain: size; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(140, 200, 255, .35) transparent; }
#mvpSoon::-webkit-scrollbar { width: 6px; }
#mvpSoon::-webkit-scrollbar-thumb { background: rgba(140, 200, 255, .35); border-radius: 6px; }
.win { background: linear-gradient(180deg, var(--glass), var(--glass-2)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; min-width: 0; }
.win-t { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(105, 182, 255, .14), transparent); }
.win-t h3 { font-size: 18px; font-weight: 600; }
.win-t a { font-size: 14px; text-decoration: none; white-space: nowrap; }
.win-b { padding: 16px 22px 22px; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.kv dt { color: var(--mist); font-size: 15px; }
.kv dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.mini { list-style: none; margin: 0; padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.mini li > .mrow, .mini li:not(:has(.mrow)) { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(5, 20, 55, .5); min-width: 0; color: var(--frost); text-decoration: none; }
.mini li > .mrow { transition: transform .25s var(--ease), background .25s; }
.mini li > .mrow:hover { transform: translateX(6px); background: rgba(30, 70, 150, .55); }
.mini .n { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: rgba(105, 182, 255, .18); color: var(--ice); }
.mini li:nth-child(1) .n { background: linear-gradient(180deg, #fff1b0, var(--gold)); color: #3b2200; }
.mini li:nth-child(2) .n { background: linear-gradient(180deg, #f2f6fb, #aab8c8); color: #1d2836; }
.mini li:nth-child(3) .n { background: linear-gradient(180deg, #ffd2a8, #c9783a); color: #3a1c05; }
.mini .nm { flex: 1; min-width: 0; overflow: hidden; }
.mini .nm b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .nm small { display: block; color: var(--mist); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .v { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini .mobpic-s { width: 34px; height: 34px; }
.pill { font-size: 14px; padding: 3px 11px; border-radius: 20px; background: rgba(255, 178, 63, .14); color: var(--warn); border: 1px solid rgba(255, 178, 63, .35); font-variant-numeric: tabular-nums; }
.pill.soon { background: rgba(105, 182, 255, .14); color: var(--ice); border-color: rgba(105, 182, 255, .4); }
.pill.up { background: rgba(94, 230, 160, .12); color: var(--ok); border-color: rgba(94, 230, 160, .35); }

.mvp-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.boss { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 18px 12px 18px; border-radius: 20px; text-align: center; text-decoration: none; color: var(--frost);
  background: linear-gradient(180deg, rgba(8, 24, 62, .2), rgba(20, 56, 124, .55)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.boss::before { content: ""; position: absolute; left: 50%; bottom: 46px; width: 70%; height: 22px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 190, 255, .7), rgba(60, 130, 255, .2) 60%, transparent); }
.boss .stage { position: relative; height: 170px; display: flex; align-items: flex-end; justify-content: center; }
.boss .stage img { position: relative; z-index: 1; transition: transform .35s var(--ease); }
.boss:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: 0 18px 40px rgba(20, 80, 200, .35); }
.boss:hover .stage img { transform: translateY(-8px) scale(1.06); }
.boss b { margin-top: 14px; font-weight: 600; font-size: 16px; }
.boss[aria-busy] { opacity: .7; cursor: progress; }
.boss .lv { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 2px 8px; border-radius: 10px; background: rgba(255, 200, 61, .16); color: var(--gold-soft); border: 1px solid rgba(255, 200, 61, .4); }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-hot), transparent); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step b { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; font-weight: 800; font-size: 28px; color: #3b2200;
  background: linear-gradient(180deg, #fff1b0, var(--gold) 60%, #e48a10); box-shadow: 0 0 0 6px rgba(255, 200, 61, .15), 0 8px 24px rgba(255, 190, 60, .4); }
.step h3 { margin: 18px 0 4px; font-size: 21px; font-weight: 600; }
.step p { color: var(--mist); font-size: 15px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 44px; }
.quick-h { color: var(--mist); margin-right: 4px; }
.qk { padding: 9px 18px; border-radius: 30px; text-decoration: none; color: var(--frost); background: var(--glass-3); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.qk:hover { transform: translateY(-3px); border-color: var(--line-hot); }

.end { position: relative; overflow: hidden; text-align: center; padding-block: 80px 100px; background: radial-gradient(700px 400px at 50% 100%, rgba(80, 160, 255, .35), transparent 70%); }
.end .sub { margin-inline: auto; }
.end .cta { justify-content: center; }
.end-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 10px; min-height: 160px; }
.end-art .k { height: 300px; width: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); }
.end-art .k.r { transform: scaleX(-1); }
.end-emb { position: relative; inset: auto; flex: none; align-self: center; width: 150px; transition: transform .3s var(--ease); }
.end-emb img { width: 150px; height: auto; display: block; filter: drop-shadow(0 0 30px rgba(90, 170, 255, .6)); }
.end-emb:hover { transform: scale(1.06); }

/* ===== guide ===== */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 16px); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.toc .mb { width: 100%; justify-content: center; text-align: center; white-space: normal; line-height: 1.35; border-radius: 14px; }
.gsecs { display: grid; gap: 22px; min-width: 0; }
.gsec p, .gsec ol, .gsec ul { max-width: 75ch; }
.gsec ol, .gsec ul { margin: 0; padding-left: 22px; }
.gsec li { margin: 4px 0; }
.gsec li b { color: var(--ice); }
.gsec h2:focus { outline: none; }
.rw-b h3.gico { display: flex; align-items: center; gap: 8px; }
.rw-b h3.gico img { flex: none; width: 24px; height: 24px; object-fit: contain; }
.tbl-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(140, 200, 255, .14); vertical-align: top; }
table.t th { font-size: 14px; font-weight: 600; color: var(--gold-soft); background: rgba(105, 182, 255, .1); }
table.t tbody tr:hover td { background: rgba(105, 182, 255, .06); }
table.t td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ===== database / quests ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; width: 100%; text-align: left; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--glass-3); color: var(--frost); font: 300 15px/1.45 var(--f); cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease); }
.card:hover { border-color: var(--line-hot); background: rgba(30, 70, 150, .5); transform: translateY(-2px); }
.card .txt { display: grid; min-width: 0; }
.card .nm { font-weight: 500; overflow-wrap: anywhere; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--mist); }
.tag { font-size: 13px; color: var(--mist); white-space: nowrap; }
.tag.mvp { color: var(--err); font-weight: 600; }
.tag.mb { color: var(--warn); font-weight: 600; }
.tag.cash { color: var(--gold-soft); font-weight: 600; }
.tag.cstat { color: var(--ice); font-weight: 600; }
.tag.ceff { color: var(--violet); }
.tag.ns { color: var(--dim); }
.empty { text-align: center; color: var(--mist); padding: 30px 6px; grid-column: 1 / -1; }
.more-row { grid-column: 1 / -1; text-align: center; padding: 10px; }
.ico { width: 28px; height: 28px; flex: none; image-rendering: pixelated; object-fit: contain; }
.ico-l { width: 56px; height: 56px; }
.mobpic { width: 52px; height: 52px; flex: none; object-fit: contain; object-position: center bottom; }
.mobpic-s { width: 26px; height: 26px; flex: none; object-fit: contain; }
.mobpic-l { width: 120px; height: 120px; flex: none; object-fit: contain; object-position: center bottom; }
.bigpic { width: 80px; height: auto; max-height: 120px; flex: none; object-fit: contain; border-radius: 10px; background: #fff; }
.nopic { display: inline-block; background: rgba(105, 182, 255, .08); border: 1px solid var(--line); border-radius: 8px; }
.ico.nopic, .mobpic-s.nopic { width: 26px; height: 26px; }
.npc-city { max-width: 240px; }
.npcpic { width: 52px; height: 52px; flex: none; object-fit: contain; object-position: center bottom; }
.npcpic.nopic { border-style: dashed; }
.npcpic-l { width: 96px; height: 120px; }
.npcmap { position: relative; width: 100%; max-width: 320px; margin: 6px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--glass-3); line-height: 0; }
.npcmap img { width: 100%; height: auto; image-rendering: auto; }
.npcdot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--err); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--err); animation: npcblink 1.2s ease-in-out infinite; }
@keyframes npcblink { 50% { transform: scale(1.5); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 3px 0; }
.chips .tag { border: 1px solid var(--line); background: var(--glass-3); padding: 1px 10px; border-radius: 20px; color: var(--ice); }
.npcdesc { margin: 3px 0; }
.npcmenu { margin: 3px 0; padding-left: 20px; }
.npcsay, .qsum { margin: 4px 0; padding: 10px 14px; border-left: 3px solid var(--line-hot); background: rgba(105, 182, 255, .08); border-radius: 0 12px 12px 0; color: var(--frost); }
.qnavi { color: var(--ice); }
.qcard { min-height: 48px; }
.cos-f { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.cos-g { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cos-l { font-size: 14px; color: var(--mist); margin-right: 4px; }
.cos-note { flex-basis: 100%; margin: 0; }

/* ===== dialog (item / monster / NPC / quest) ===== */
dialog.rw { padding: 0; width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 32px); color: var(--frost);
  background: linear-gradient(180deg, #0f2a5e, #071637); border: 1px solid var(--line-hot); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 40px rgba(90, 170, 255, .25); }
dialog.rw:not([open]) { display: none; }
dialog[open] { animation: dlgIn .3s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: rgba(2, 8, 22, .7); backdrop-filter: blur(4px); }
dialog .rw-t { font-size: 15px; color: var(--mist); }
.dlg-body { overflow-y: auto; padding: 18px 22px 22px; display: grid; gap: 12px; }
.dlg-head { display: flex; align-items: flex-end; gap: 14px; }
.dlg-head > div { min-width: 0; }
.dlg-head h3 { font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.dlg-sub { color: var(--mist); font-size: 13px; }
.statg { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.statg .r { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(140, 200, 255, .14); min-width: 0; }
.statg .r span:last-child { text-align: right; overflow-wrap: anywhere; font-weight: 500; }
.statg .k { color: var(--mist); }
pre.script { margin: 0; padding: 10px 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 10px; font: 13px/1.5 Consolas, "Courier New", monospace; white-space: pre-wrap; word-break: break-word; }
.links { display: grid; gap: 6px; }
.lrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--glass-3); font: 300 15px/1.5 var(--f); color: var(--frost); }
button.lrow { cursor: pointer; transition: border-color .2s, background .2s; }
button.lrow:hover { border-color: var(--line-hot); background: rgba(30, 70, 150, .5); }
.lrow .rate { color: var(--gold-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lrow small { color: var(--mist); }
.lr-l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.count { color: var(--mist); }
.desc { display: grid; gap: 2px; line-height: 1.55; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: #111; }
.desc .sp { display: block; height: 4px; }
.srcs { display: grid; gap: 8px; }
.src-h { font-weight: 600; color: var(--ice); margin-top: 4px; }
.src { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; display: grid; gap: 4px; background: var(--glass-3); }
.src-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.src-top .rate { color: var(--gold-soft); white-space: nowrap; }
.pls { display: flex; flex-wrap: wrap; gap: 0 14px; }
.pl small { color: var(--mist); }
.need { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ilink { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ice); font: 400 15px var(--f); cursor: pointer; text-align: left; }
.ilink:hover span { text-decoration: underline; }

/* ===== ranking ===== */
table.rk td { vertical-align: middle; }
table.rk td.n { width: 44px; color: var(--mist); font-variant-numeric: tabular-nums; font-weight: 600; }
table.rk tr.top1 td.n { color: var(--gold-soft); }
table.rk tr.top2 td.n { color: #dfe8f3; }
table.rk tr.top3 td.n { color: #f0a46a; }
table.rk .nm { font-weight: 500; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.face { flex: none; width: 46px; height: 46px; border-radius: 12px; background: radial-gradient(circle at 50% 35%, rgba(105, 182, 255, .3), rgba(5, 20, 55, .6)); border: 1px solid var(--line); image-rendering: pixelated; object-fit: contain; }
.mini .face { width: 38px; height: 38px; border-radius: 10px; }
.gem { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--glass-3); border: 1px solid var(--line); image-rendering: pixelated; object-fit: contain; padding: 4px; }
table.rk .sub { color: var(--mist); font-size: 13px; }
#rkJob { min-height: 38px; }

/* ===== MVP board ===== */
.mvl { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.mv { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 14px 20px; display: grid; gap: 6px; min-width: 0; background: var(--glass-3); overflow: hidden; }
.mv::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ok); }
.mv.dead::before { background: var(--err); }
.mv.window::before { background: var(--warn); }
.mv-head { display: flex; align-items: flex-end; gap: 12px; }
.mv-hd { flex: 1; min-width: 0; display: grid; }
.mv-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mv-nm { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.mv-lv, .mv-sub { font-size: 13px; color: var(--mist); }
.mv-map small { color: var(--mist); }
.mv-st { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 20px; color: var(--ok); background: rgba(94, 230, 160, .12); border: 1px solid rgba(94, 230, 160, .35); }
.dead .chip { color: var(--err); background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .35); }
.window .chip { color: var(--warn); background: rgba(255, 178, 63, .12); border-color: rgba(255, 178, 63, .35); }
.mv-count { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ===== top up ===== */
.tu { max-width: 620px; width: 100%; justify-self: center; }
.tu-main { display: grid; gap: 14px; }
.tu .rw-b h3 { margin-top: 14px; padding-bottom: 8px; }
.tu .rw-b h3:first-child { margin-top: 4px; }
.tu-step { display: grid; gap: 12px; padding: 2px 0 6px; }
.tu-step.off { opacity: .4; pointer-events: none; }
.tu-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tu-k { color: var(--mist); }
.tu-v { font-weight: 600; }
.ok, .tu .ok { color: var(--ok); }
.bad, .tu .bad { color: var(--err); }
.tu-presets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tu-presets .rb { padding: 6px 4px; }
.tu-amt { width: 130px; text-align: right; }
.tu-get { color: var(--gold-soft); font-weight: 500; }
.tu-msg { min-height: 22px; }
.tu-tbl td.r { text-align: right; }

/* ===== terms / privacy ===== */
.legal .rw-b h3 { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 22px; max-width: 85ch; }
.legal li { margin: 4px 0; }

/* ===== footer ===== */
.ftr { border-top: 1px solid var(--line); padding-block: 24px calc(30px + env(safe-area-inset-bottom, 0px)); color: var(--mist); font-size: 14px; }
.ftr .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.flinks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr a { color: var(--mist); text-decoration: none; }
.ftr a:hover { color: var(--frost); }
.dom { font-weight: 800; font-size: 18px; color: var(--ice); }

/* ===== scroll reveal (fx.js adds html.fx; without it everything simply shows) ===== */
html.fx .rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.fx .rv.l { transform: translateX(-50px); }
html.fx .rv.s { transform: scale(.9); }
html.fx .rv.in { opacity: 1; transform: none; }
html.fx .end-art .k.r.rv { transform: scaleX(-1) translateY(40px); }
html.fx .end-art .k.r.rv.in { transform: scaleX(-1); }

/* ===== menu folds when the tabs do not fit (app.js fitNav sets html.nav-fold) and on phones ===== */
html.nav-fold .hbar .menu-btn { display: inline-flex; }
html.nav-fold .nav, .nav.fold { position: absolute; left: 0; right: 0; top: 100%; order: 9; width: 100%; padding: 10px 20px; background: rgba(4, 14, 40, .97); border-bottom: 1px solid var(--line); }
html.nav-fold .nav ul { flex-direction: column; }
html.nav-fold .nav[data-open="false"] { display: none; }

@media (max-width: 1020px) {
  .feat { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feat-h { position: static; }
  .boards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .boards .win:first-child { grid-column: 1 / -1; }
  .mvp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --hdr-h: 60px; }
  .hbar .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; order: 9; width: 100%; padding: 10px 20px; background: rgba(4, 14, 40, .97); border-bottom: 1px solid var(--line); }
  .nav ul { flex-direction: column; }
  .nav[data-open="false"] { display: none; }
  .logo span { display: none; }
  .lang-sel { max-width: 96px; }
  .hbar .btn-play { padding: 8px 16px; font-size: 15px; }
  .hero { padding-block: calc(var(--hdr-h) + 24px) 160px; text-align: center; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .emb-box { order: -1; max-width: 270px; }
  .poring-stage { height: 120px; bottom: 0; }
  .lead { margin-inline: auto; font-size: 17px; }
  .cta, .status { justify-content: center; }
  .field { height: 120px; bottom: 30px; }
  .field .spr { zoom: .7; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 16px 18px; }
  .stat b { font-size: 30px; }
  .fgrid, .boards, .steps { grid-template-columns: minmax(0, 1fr); }
  .boards .win:first-child { grid-column: auto; }
  #mvpSoon { contain: none; max-height: 430px; }
  .mvp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .boss .stage { height: 140px; }
  .boss .stage img { max-height: 130px; width: auto; }
  .steps::before { display: none; }
  .sec { padding-block: 64px; }
  .sec-tight { padding-top: 10px; }
  .kguide img { width: 110px; }
  .end-art .k { height: 170px; }
  .end-emb, .end-emb img { width: 110px; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .statg { grid-template-columns: minmax(0, 1fr); }
  .pbanner .pb-b { height: 130px; padding-top: 24px; }
  .kafra { --kh: 106px; --kt: 24px; }
  .rw-t, .rw-b, .rw-f { padding-inline: 16px; }
  .tu-presets { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none !important; }
  html.fx .rv { opacity: 1; transform: none; }
  .mob-walk { left: auto; right: calc(var(--dl, 0s) * -2.5px); }
}

/* =====================================================================================
   v2 "modern" layer (Oct 2026): no plain boxes. Panels have cut corners with glowing
   corner edges (blue top-left, gold bottom-right) and a light sweep on hover; stats stand
   free; bosses stand on rune platforms; numbers roll (fx.js odometer); charts (chart.js).
   ===================================================================================== */
:root { --cut: 18px; --edge: rgba(120, 195, 255, .95); --edge2: rgba(255, 215, 106, .85); }

/* ---- cut-corner panel ---- */
.win, .rw:not(.pbanner), .pane, .fc, .mv, .card, .kpi, .zc-tip {
  position: relative; border: 0 !important; border-radius: 0 !important; box-shadow: none;
  background: linear-gradient(160deg, rgba(30, 76, 160, .40), rgba(6, 20, 52, .86));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.win::after, .rw:not(.pbanner)::after, .pane::after, .fc::after, .mv::after, .card::after, .kpi::after, .zc-tip::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--edge) calc(50% - 1px) calc(50% + 1px), transparent 0) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1px), var(--edge2) calc(50% - 1px) calc(50% + 1px), transparent 0) 100% 100% / var(--cut) var(--cut) no-repeat,
    linear-gradient(90deg, var(--edge), rgba(120, 195, 255, .14) 45%, rgba(120, 195, 255, .05)) var(--cut) 0 / calc(100% - var(--cut)) 1px no-repeat,
    linear-gradient(180deg, var(--edge), rgba(120, 195, 255, .12) 55%, transparent) 0 var(--cut) / 1px calc(100% - var(--cut)) no-repeat,
    linear-gradient(270deg, var(--edge2), rgba(255, 215, 106, .1) 40%, transparent 75%) 0 calc(100% - 1px) / calc(100% - var(--cut)) 1px no-repeat,
    linear-gradient(0deg, var(--edge2), rgba(255, 215, 106, .08) 45%, transparent 80%) calc(100% - 1px) 0 / 1px calc(100% - var(--cut)) no-repeat;
  transition: filter .35s;
}
.card, .kpi, .zc-tip { --cut: 10px; }
.mv { --cut: 14px; }
/* light sweep on hover */
.win::before, .pane::before, .card::before, .rw:not(.pbanner):not(dialog)::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(190, 226, 255, .13) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform 1s var(--ease);
}
.win:hover::before, .pane:hover::before, .card:hover::before, .rw:not(.pbanner):not(dialog):hover::before { transform: translateX(110%); }
.win:hover::after, .pane:hover::after, .fc:hover::after, .card:hover::after, .mv:hover::after { filter: brightness(1.5) drop-shadow(0 0 4px var(--edge)); }
.card { background: linear-gradient(160deg, rgba(30, 76, 160, .32), rgba(6, 20, 52, .7)); }
.card:hover { background: linear-gradient(160deg, rgba(50, 110, 210, .5), rgba(10, 30, 76, .8)); }
.mv { background: linear-gradient(160deg, rgba(30, 76, 160, .30), rgba(6, 20, 52, .75)); padding-left: 22px; }
dialog.rw { background: linear-gradient(180deg, #10306a, #071637); }
.rw-t, .win-t { border-bottom: 0 !important; background: linear-gradient(90deg, rgba(105, 182, 255, .16), transparent 70%) !important; position: relative; }
.rw-t::after, .win-t::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--edge), rgba(120, 195, 255, .08) 60%, transparent); }
.win-t h3, .pane-h h3 { position: relative; padding-left: 14px; }
.win-t h3::before, .pane-h h3::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; background: linear-gradient(180deg, var(--ice), #2f7de0); box-shadow: 0 0 10px var(--edge); transform: skewY(-20deg); }
.rw-f { border-top: 0; background: linear-gradient(90deg, transparent, rgba(255, 215, 106, .06)); }
.tbl-wrap { border: 0; border-radius: 0; background: linear-gradient(180deg, rgba(5, 20, 55, .45), transparent); }
table.t th { background: linear-gradient(90deg, rgba(105, 182, 255, .18), rgba(105, 182, 255, .03)); }
table.t tbody tr { transition: background .25s; }
table.t tbody tr:hover td { background: linear-gradient(90deg, rgba(105, 182, 255, .14), transparent); }

/* ---- section heads ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; }
.eyebrow::before, .center .eyebrow::after { content: ""; width: 30px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.center .eyebrow::after { transform: scaleX(-1); }
.home h2 { background: linear-gradient(100deg, #fff, var(--ice) 55%, #7cc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- buttons: angled, not pills ---- */
.btn { border-radius: 0; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-inline: 30px; }
.btn-lg { padding-inline: 40px; }
.btn-ghost { border: 0; background: linear-gradient(90deg, rgba(105, 182, 255, .32), rgba(47, 125, 224, .12)); box-shadow: inset 0 0 0 1px rgba(150, 210, 255, .0); }
.btn-ghost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--edge), transparent 30%, transparent 70%, var(--edge)) top / 100% 1px no-repeat, linear-gradient(90deg, var(--edge), transparent 30%, transparent 70%, var(--edge)) bottom / 100% 1px no-repeat; }
.btn-ghost:hover { background: linear-gradient(90deg, rgba(105, 182, 255, .5), rgba(47, 125, 224, .25)); }
.qk { border: 0; border-radius: 0; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-inline: 24px; background: linear-gradient(90deg, rgba(105, 182, 255, .22), rgba(105, 182, 255, .06)); transition: transform .3s var(--ease), background .3s; }
.qk:hover { background: linear-gradient(90deg, rgba(255, 215, 106, .35), rgba(255, 215, 106, .08)); color: #fff; }

/* ---- rolling numbers ---- */
.odo-on { display: inline-block; }
.odo-in { display: inline-flex; align-items: baseline; white-space: nowrap; }
.od { display: inline-block; height: 1.18em; line-height: 1.18em; overflow: hidden; vertical-align: bottom; }
.od-r { display: flex; flex-direction: column; will-change: transform; }
.od-r > span { display: block; height: 1.18em; text-align: center; font-variant-numeric: tabular-nums; }
.od-s { display: inline-block; line-height: 1.18em; }

/* ---- stats: free-standing numbers ---- */
.stats { gap: 0; margin-top: -40px; padding: 26px 0 8px; position: relative; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--edge) 30%, var(--edge2) 70%, transparent); }
.stats::after { content: ""; position: absolute; top: -2px; left: 0; width: 120px; height: 5px; border-radius: 4px; background: radial-gradient(closest-side, #fff, var(--edge) 50%, transparent); filter: blur(1px); animation: scan 6s ease-in-out infinite; }
@keyframes scan { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 120px); opacity: 0; } }
.stat { background: none !important; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; text-align: center; padding: 6px 10px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, rgba(150, 210, 255, .45), transparent); }
.stat b { font-size: clamp(38px, 4.6vw, 58px); font-weight: 900; color: #fff; text-shadow: 0 0 24px rgba(105, 182, 255, .75), 0 2px 0 #0b3a8c; overflow: visible; }
.stat.gold b { color: var(--gold-soft); text-shadow: 0 0 24px rgba(255, 190, 60, .6), 0 2px 0 #7a4a00; }
.stat > span { display: block; margin-top: 2px; letter-spacing: .04em; }
.stat b span { color: inherit; font-size: inherit; }
.srv-line { justify-content: center; }

/* ---- ticker: a tilted band ---- */
.ticker { border: 0; transform: skewY(-1.6deg); margin-top: 70px; background: linear-gradient(90deg, rgba(47, 125, 224, .45), rgba(120, 80, 220, .35), rgba(47, 125, 224, .45));
  box-shadow: 0 0 40px rgba(60, 140, 255, .25); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ice), transparent); }
.ticker::before { top: 0; } .ticker::after { bottom: 0; }
.track .ti { transform: skewY(1.6deg); }
.track .ti:nth-child(odd) span { color: #fff; }
.track .ti::after { content: ""; width: 8px; height: 8px; margin-left: 32px; background: var(--gold-soft); transform: rotate(45deg); box-shadow: 0 0 10px var(--gold); }

/* ---- features ---- */
.fc { padding: 28px; background: linear-gradient(160deg, rgba(40, 92, 186, .42), rgba(6, 20, 52, .9)); }
.fc.gold { --edge: rgba(255, 215, 106, .95); background: linear-gradient(160deg, rgba(150, 105, 20, .48), rgba(40, 22, 2, .9)); }
.fic { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); width: 62px; height: 56px; transition: transform .5s var(--ease); }
.fc:hover .fic { transform: rotate(-8deg) scale(1.12); animation: icoPulse 1.2s ease-in-out infinite; }
@keyframes icoPulse { 50% { filter: brightness(1.35) drop-shadow(0 0 8px #9fd4ff); } }
.fc h3 { transition: color .3s, letter-spacing .4s var(--ease); }
.fc:hover h3 { color: #fff; letter-spacing: .01em; }
.fc .n-bg { display: none; }

/* ---- live boards ---- */
.boards .win { background: linear-gradient(170deg, rgba(30, 76, 160, .38), rgba(5, 16, 44, .9)); }
.mini li > .mrow, .mini li:not(:has(.mrow)) { border-radius: 0; background: linear-gradient(90deg, rgba(105, 182, 255, .14), rgba(105, 182, 255, .02) 70%, transparent);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); position: relative; }
.mini li > .mrow::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--edge), transparent); transition: width .3s; }
.mini li > .mrow:hover { background: linear-gradient(90deg, rgba(105, 182, 255, .32), rgba(105, 182, 255, .05)); }
.mini li > .mrow:hover::after { width: 4px; box-shadow: 0 0 10px var(--edge); }
.mini .n { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); width: 36px; }
.mini .face, .face { border-radius: 0; border: 0; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.gem { border: 0; border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.pill { border: 0; border-radius: 0; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); padding-inline: 14px; }
.kv dt { position: relative; }
.kv dd { position: relative; }
.kv > dt, .kv > dd { padding-bottom: 8px; background: linear-gradient(90deg, rgba(140, 200, 255, .22), transparent) bottom / 100% 1px no-repeat; }
html.fx .boards .rv .mini li, html.fx .boards .rv .kv > * { opacity: 0; transform: translateX(-18px); }
html.fx .boards .rv.in .mini li, html.fx .boards .rv.in .kv > * { animation: rowIn .6s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.boards .rv.in li:nth-child(2), .boards .rv.in .kv > :nth-child(3), .boards .rv.in .kv > :nth-child(4) { animation-delay: .08s !important; }
.boards .rv.in li:nth-child(3), .boards .rv.in .kv > :nth-child(5), .boards .rv.in .kv > :nth-child(6) { animation-delay: .16s !important; }
.boards .rv.in li:nth-child(4), .boards .rv.in .kv > :nth-child(7), .boards .rv.in .kv > :nth-child(8) { animation-delay: .24s !important; }
.boards .rv.in li:nth-child(5), .boards .rv.in .kv > :nth-child(9), .boards .rv.in .kv > :nth-child(10) { animation-delay: .32s !important; }
.boards .rv.in li:nth-child(6) { animation-delay: .4s !important; }
.boards .rv.in li:nth-child(7) { animation-delay: .48s !important; }
.boards .rv.in li:nth-child(n+8) { animation-delay: .56s !important; }

/* ---- charts ---- */
.chgrid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; margin-top: 36px; }
.pane { padding: 20px 22px 14px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(170deg, rgba(26, 66, 146, .38), rgba(4, 14, 40, .92)); }
.pane-h { display: flex; align-items: center; gap: 10px; }
.pane-h h3 { font-size: 18px; font-weight: 600; flex: 1; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ok); }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 10px 14px; background: linear-gradient(160deg, rgba(105, 182, 255, .16), rgba(5, 18, 48, .6)); }
.kpi b { display: block; font-size: 28px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 16px rgba(105, 182, 255, .7); }
.kpi.gold { --edge: rgba(255, 215, 106, .95); }
.kpi.gold b { color: var(--gold-soft); text-shadow: 0 0 16px rgba(255, 190, 60, .55); }
.kpi > span { color: var(--mist); font-size: 13px; }
.kpi b span { color: inherit; font-size: inherit; }
.zbox { position: relative; flex: 1; min-height: 200px; display: flex; align-items: flex-end; }
.zbox > .zc { flex: 1; min-width: 0; }
.zbox .empty { width: 100%; align-self: center; }
.zc { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.zc-grid { stroke: rgba(140, 200, 255, .14); stroke-dasharray: 2 6; }
.zc-ax { fill: var(--dim); font: 400 12px var(--f); }
.zc-line { filter: drop-shadow(0 0 6px rgba(105, 182, 255, .8)); }
.zc-pulse { fill: rgba(255, 215, 106, .35); transform-box: fill-box; transform-origin: center; animation: zcPulse 1.6s ease-out infinite; }
@keyframes zcPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.zc-head { transition: opacity .4s; }
.zc-dot { fill: #fff; stroke: var(--gold-soft); stroke-width: 2.5; }
.zc-cross { transition: opacity .2s; pointer-events: none; }
.zc-cl { stroke: rgba(220, 240, 255, .5); stroke-dasharray: 3 4; }
.zc-tip { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 12px; pointer-events: none; white-space: nowrap; display: grid; font-size: 13px; background: linear-gradient(160deg, rgba(40, 90, 180, .92), rgba(6, 20, 52, .96)); }
.zc-tip b { font-size: 15px; color: #fff; }
.zc-tip span { color: var(--mist); font-size: 12px; }
.zc-slot { fill: rgba(105, 182, 255, .05); }
.zc-bar { filter: drop-shadow(0 0 8px rgba(105, 182, 255, .55)); transition: filter .25s; }
.zc-bar:hover { filter: drop-shadow(0 0 14px rgba(255, 215, 106, .9)) brightness(1.2); }
.zc-val { fill: var(--frost); font: 600 13px var(--f); }

/* ---- MVP gallery: bosses on rune platforms ---- */
.mvp-row { gap: 26px 14px; margin-top: 30px; }
.boss { background: none !important; border: 0 !important; border-radius: 0; overflow: visible; padding: 34px 6px 6px; box-shadow: none !important; --ec: #8ec8ff; }
.boss[data-el="Dark"] { --ec: #b08cff; }
.boss[data-el="Undead"] { --ec: #7dffcf; }
.boss[data-el="Earth"] { --ec: #ffc27a; }
.boss[data-el="Fire"] { --ec: #ff9a4a; }
.boss::before { display: none; }
.boss .stage { height: 190px; width: 100%; align-items: flex-end; }
.plat { position: absolute; left: 50%; bottom: -6px; width: 88%; max-width: 190px; aspect-ratio: 1; transform: translate(-50%, 50%) perspective(500px) rotateX(72deg); pointer-events: none; }
.plat::before, .plat::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.plat::before { background: repeating-conic-gradient(from 0deg, var(--ec) 0 4deg, transparent 4deg 12deg);
  -webkit-mask: radial-gradient(closest-side, transparent 72%, #000 74% 84%, transparent 86%); mask: radial-gradient(closest-side, transparent 72%, #000 74% 84%, transparent 86%);
  opacity: .55; animation: spin 14s linear infinite; }
.plat::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--ec) 70%, transparent), color-mix(in srgb, var(--ec) 18%, transparent) 55%, transparent 72%); opacity: .6; transition: opacity .3s, transform .4s var(--ease); }
.boss:hover .plat::before, .boss.atk .plat::before { opacity: 1; animation-duration: 3s; }
.boss:hover .plat::after, .boss.atk .plat::after { opacity: 1; transform: scale(1.15); }
.boss .stage img, .boss-cv { position: relative; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.boss-cv { display: block; max-width: none; image-rendering: pixelated; transition: filter .3s; }
.boss.atk .boss-cv { filter: drop-shadow(0 0 10px var(--ec)) drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.boss:hover { transform: none; }
.boss:hover .stage img { transform: translateY(-6px) scale(1.06); }
.boss-fx { position: absolute; left: -24%; right: -24%; top: -40px; bottom: -34px; width: 148%; height: calc(100% + 74px); z-index: 2; pointer-events: none; }
.boss b { margin-top: 30px; position: relative; padding-bottom: 6px; transition: color .3s, text-shadow .3s; }
.boss b::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ec), transparent); transform: scaleX(.3); opacity: .5; transition: transform .4s var(--ease), opacity .3s; }
.boss:hover b, .boss.atk b { color: #fff; text-shadow: 0 0 12px var(--ec); }
.boss:hover b::after, .boss.atk b::after { transform: none; opacity: 1; }
.boss .lv { top: 0; left: 50%; transform: translateX(-50%); border: 0; border-radius: 0; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); padding: 2px 12px; background: linear-gradient(90deg, rgba(255, 200, 61, .3), rgba(255, 200, 61, .1)); }

/* ---- 3 steps: a line that fills as you scroll ---- */
.steps::before { display: none; }
.steps-line { position: absolute; top: 33px; left: 16.6%; right: 16.6%; height: 3px; background: rgba(140, 200, 255, .16); }
.steps-line > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(1); background: linear-gradient(90deg, #5fb2ff, var(--ice), var(--gold-soft)); box-shadow: 0 0 12px rgba(105, 182, 255, .8); }
.step b { z-index: 1; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); border-radius: 0; width: 78px; box-shadow: none; transition: filter .5s, transform .5s var(--ease); }
html.fx .step b { filter: grayscale(1) brightness(.55); }
html.fx .step.lit b { filter: none; animation: stepPop .6s var(--ease); }
@keyframes stepPop { 40% { transform: scale(1.22) rotate(-6deg); } }
html.fx .step h3 { transition: color .5s; color: var(--mist); }
html.fx .step.lit h3 { color: var(--frost); }

/* ---- closing: aurora ---- */
.end { isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); }
.aurora i { position: absolute; width: 60%; height: 70%; border-radius: 50%; filter: blur(60px); opacity: .45; mix-blend-mode: screen; animation: aur 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: -10%; top: 10%; background: #2f7de0; }
.aurora i:nth-child(2) { right: -10%; top: 0; background: #7a4bd6; animation-duration: 20s; animation-delay: -6s; }
.aurora i:nth-child(3) { left: 25%; bottom: -30%; background: #1fb7c9; animation-duration: 24s; animation-delay: -12s; opacity: .3; }
@keyframes aur { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, -6%) scale(1.15); } 100% { transform: translate(-6%, 8%) scale(.95); } }

/* ---- click burst canvas ---- */
.clickfx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 400; pointer-events: none; }

@media (max-width: 1020px) {
  .chgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .stats { margin-top: -30px; row-gap: 14px; }
  .stat:nth-child(3)::before { display: none; }
  .stat b { font-size: 34px; }
  .kpis { gap: 6px; }
  .kpi { padding: 8px 10px; }
  .kpi b { font-size: 22px; }
  .pane { padding: 16px 14px 10px; }
  .zbox { min-height: 160px; }
  .boss .stage { height: 160px; }
  .boss b { margin-top: 24px; font-size: 15px; }
  .steps-line { display: none; }
  .btn { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html.fx .boards .rv .mini li, html.fx .boards .rv .kv > * { opacity: 1; transform: none; }
  html.fx .step b { filter: none; }
}
/* glow outside the digit windows (a text-shadow would be cut into boxes by them) */
.stat b, .kpi b { text-shadow: none !important; }
.stat b { filter: drop-shadow(0 2px 0 #0b3a8c) drop-shadow(0 0 14px rgba(105, 182, 255, .7)); }
.stat.gold b { filter: drop-shadow(0 2px 0 #7a4a00) drop-shadow(0 0 14px rgba(255, 190, 60, .55)); }
.kpi b { filter: drop-shadow(0 0 10px rgba(105, 182, 255, .65)); }
.kpi.gold b { filter: drop-shadow(0 0 10px rgba(255, 190, 60, .5)); }
/* the panel rule above sets position: relative - keep the pop-up card fixed in the middle of the screen
   and the guide's contents list sticky (on phones it sits in the flow; its desktop "top" must not shift it) */
dialog.rw:not(.pbanner) { position: fixed; inset: 0; margin: auto; z-index: 200; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.rw.toc:not(.pbanner) { position: sticky; }
@media (max-width: 760px) { .rw.toc:not(.pbanner) { position: relative; top: auto; } }

/* ===== About Zurich Online (9 Oct 2026: what the app is + why Google Sign-In, read by Google's app check too) ===== */
.about-in { max-width: 860px; }
.about-in h2 { margin: 8px 0 0; }
.about-in .sub { max-width: none; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 18px 0 0; }
.sec.about { padding-block: 70px 0; }
@media (max-width: 760px) { .sec.about { padding-block: 44px 0; } }

/* ===== quest guides: one article per quest line (romobile.online/quest/<id>, questguide.js) ===== */
.qg-card { text-decoration: none; --edge: rgba(255, 215, 106, .95); background: linear-gradient(160deg, rgba(150, 105, 20, .38), rgba(20, 30, 70, .85)); }
.qg-card .nm { color: #fff; font-weight: 600; }
.qg-ico { width: 52px; height: 52px; flex: none; object-fit: contain; object-position: center bottom; image-rendering: pixelated; }
.qg-tag { color: #3b2200 !important; background: linear-gradient(90deg, var(--gold-soft), #ffb23f); padding: 1px 10px; font-weight: 600; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.qg { display: grid; gap: 26px; min-width: 0; }
.qg-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mist); font-size: 14px; }
.qg-crumb a { color: var(--ice); text-decoration: none; }
.qg-crumb a:hover { text-decoration: underline; }
.qg-hero { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 30px 32px; overflow: hidden;
  background: radial-gradient(500px 260px at 15% 60%, rgba(105, 182, 255, .35), transparent 70%), linear-gradient(160deg, rgba(30, 76, 160, .5), rgba(5, 16, 44, .92));
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.qg-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--edge), transparent 50%) top / 100% 1px no-repeat, linear-gradient(270deg, var(--edge2), transparent 50%) bottom / 100% 1px no-repeat; }
.qg-art { position: relative; display: grid; place-items: end center; height: 190px; }
.qg-art::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 210, 255, .6), transparent); animation: qgGlow 3s ease-in-out infinite; }
@keyframes qgGlow { 50% { opacity: .5; transform: scaleX(.85); } }
.qg-heroimg { position: relative; max-width: 100%; max-height: 180px; transform-origin: 50% 100%; width: auto; height: auto; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); animation: float 5s ease-in-out infinite; }
.qg-heroimg.nopic { width: 120px; height: 140px; }
.qg-cat { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.qg-hero h1 { margin: 6px 0 0; font-weight: 900; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; padding-top: .1em;
  background: linear-gradient(100deg, #fff, var(--ice) 55%, #7cc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qg-lead { margin-top: 12px; color: var(--frost); font-size: 17px; max-width: 46em; }
.qg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.qg-chips span { padding: 4px 14px; font-size: 14px; font-weight: 500; background: rgba(105, 182, 255, .18); color: var(--ice); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.qg-chips span:first-child { background: linear-gradient(90deg, rgba(255, 215, 106, .32), rgba(255, 215, 106, .1)); color: var(--gold-soft); }
.qg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.qg-box { position: relative; padding: 20px 24px; background: linear-gradient(160deg, rgba(30, 76, 160, .36), rgba(6, 20, 52, .86));
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.qg-box.gold { background: linear-gradient(160deg, rgba(150, 105, 20, .42), rgba(30, 20, 4, .9)); }
.qg-box h2, .qg-tips h2 { font-size: 18px; font-weight: 600; color: var(--gold-soft); margin-bottom: 10px; }
.qg-box ul, .qg-tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.qg-box li, .qg-tips li { position: relative; padding-left: 22px; }
.qg-box li::before, .qg-tips li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; background: var(--ice); transform: rotate(45deg); box-shadow: 0 0 8px var(--edge); }
.qg-rw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qg-rtxt { width: 100%; font-weight: 600; font-size: 17px; color: #fff; }
.qg-h { font-weight: 800; font-size: clamp(24px, 3vw, 32px); }
.qg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; position: relative; }
.qg-steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--line-hot), rgba(105, 182, 255, .15) 80%, var(--gold-soft)); }
.qg-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 10px 0 22px; }
.qg-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 50px; font-weight: 800; font-size: 22px; color: #3b2200;
  background: linear-gradient(180deg, #fff1b0, var(--gold) 60%, #e48a10); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: transform .4s var(--ease); }
.qg-step:hover .qg-num { transform: scale(1.1) rotate(-6deg); }
.qg-sb { position: relative; padding: 16px 20px 18px; background: linear-gradient(160deg, rgba(30, 76, 160, .3), rgba(6, 20, 52, .8)); min-width: 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: background .3s; }
.qg-step:hover .qg-sb { background: linear-gradient(160deg, rgba(45, 100, 200, .38), rgba(8, 26, 66, .85)); }
.qg-step.hl .qg-sb { animation: qgHl 2.4s ease-out; }
@keyframes qgHl { 0%, 30% { background: linear-gradient(160deg, rgba(255, 215, 106, .45), rgba(40, 30, 8, .85)); } }
.qg-sb h3 { font-size: 19px; font-weight: 600; color: #fff; }
.qg-sb p { margin-top: 6px; color: var(--frost); }
.qg-npcs, .qg-hunt, .qg-items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.qg-il { width: 100%; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--mist); }
.qg-npc { display: flex; align-items: stretch; min-width: 0; flex: 1 1 380px; max-width: 100%; }
.qg-npcb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 0; color: var(--frost); font: inherit; text-align: left; cursor: pointer;
  background: rgba(5, 20, 55, .6); clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); transition: background .25s; }
div.qg-npcb { cursor: default; }
button.qg-npcb:hover { background: rgba(40, 90, 180, .55); }
.qg-npcpic { width: 44px; height: 44px; flex: none; object-fit: contain; object-position: center bottom; image-rendering: pixelated; }
.qg-npcnm { display: grid; min-width: 0; }
.qg-npcnm b { font-weight: 600; overflow-wrap: anywhere; }
.qg-npcnm small { color: var(--mist); font-size: 13px; overflow-wrap: anywhere; }
.qg-navi { position: relative; flex: none; border: 0; padding: 0 14px; font: 600 13px/1.2 Consolas, "Courier New", monospace; color: #3b2200; cursor: pointer; max-width: 46%;
  background: linear-gradient(180deg, #fff1b0, var(--gold) 60%, #e48a10); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); transition: filter .2s; }
.qg-navi span { display: block; overflow-wrap: anywhere; }
.qg-navi:hover { filter: brightness(1.1); }
.qg-navi.ok span { visibility: hidden; }
.qg-navi.ok::after { content: attr(data-done); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f); }
.qg-mob { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 0; color: var(--frost); font: inherit; text-align: left; cursor: pointer;
  background: linear-gradient(90deg, rgba(255, 107, 107, .18), rgba(5, 20, 55, .6)); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .25s; }
.qg-mob:hover { background: linear-gradient(90deg, rgba(255, 107, 107, .32), rgba(30, 60, 130, .6)); }
.qg-mobpic { width: 48px; height: 48px; flex: none; object-fit: contain; object-position: center bottom; image-rendering: pixelated; transition: transform .3s var(--ease); }
.qg-mob:hover .qg-mobpic { transform: scale(1.15) translateY(-3px); }
.qg-mobnm { flex: 1; display: grid; min-width: 0; }
.qg-mobnm b { font-weight: 600; }
.qg-mobnm small { color: var(--mist); font-size: 13px; }
.qg-cnt { font-weight: 800; font-size: 18px; color: #ffb4b4; font-variant-numeric: tabular-nums; }
.qg-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border: 0; color: var(--frost); font: inherit; font-size: 15px; cursor: pointer;
  background: rgba(5, 20, 55, .6); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: background .25s; }
.qg-item:hover { background: rgba(40, 90, 180, .55); }
.qg-item b { color: var(--gold-soft); }
.qg-item.big { padding: 8px 16px 8px 8px; font-weight: 500; background: rgba(0, 0, 0, .28); }
.qg-items.get .qg-item { background: linear-gradient(90deg, rgba(94, 230, 160, .2), rgba(5, 20, 55, .6)); }
.qg-items.give .qg-item { background: linear-gradient(90deg, rgba(255, 178, 63, .2), rgba(5, 20, 55, .6)); }
.qg-tips { padding: 20px 24px; background: linear-gradient(90deg, rgba(105, 182, 255, .14), transparent); border-left: 3px solid var(--line-hot); }
.qg-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
@media (max-width: 760px) {
  .qg-hero { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 10px; text-align: center; }
  .qg-art { height: 130px; }
  .qg-heroimg { max-height: 125px; }
  .qg-chips { justify-content: center; }
  .qg-lead { font-size: 16px; }
  .qg-grid { grid-template-columns: minmax(0, 1fr); }
  .qg-steps::before { left: 19px; }
  .qg-step { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .qg-num { width: 40px; height: 36px; font-size: 17px; }
  .qg-sb { padding: 14px 14px 16px; }
  .qg-npc { flex-basis: 100%; flex-direction: column; }
  .qg-npcb { clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
  .qg-navi { max-width: none; padding: 8px 10px; font-size: 13px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
}

/* boss timer page: MVP / Mini Boss tabs, "n on the map" badge (17 Oct 2026) */
#mvKinds { margin-bottom: 12px; }
.mv-n { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 9px; background: rgba(255, 200, 61, .14); color: var(--gold-soft); font-size: 11px; line-height: 18px; white-space: nowrap; }
/* gacha eggs: costume tag, group headers */
.tag.egg { color: #ffb36b; font-weight: 600; }
.egg-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; }
.egg-h .rate { color: var(--gold-soft); font-weight: 400; white-space: nowrap; }

/* achievements tab */
.acard .meta { flex-wrap: wrap; gap: 4px 12px; }
.tag-pts { color: var(--gold-soft); font-weight: 600; }

/* =====================================================================================
   v3 "light" layer (11 Nov 2026): the whole site follows the look of rolc.maxion.gg -
   pale snowy sky, white rounded cards, navy text, a floating white header capsule, a big pink
   "play" button with a Poring, navy pill buttons, a navy "Leaderboard" tab on the right edge.
   The ice-theme effects (fx.js: snow, rolling numbers, click burst, card tilt) stay, recoloured.
   Colour tokens first (everything above reads them), then the places that had dark colours written in.
   ===================================================================================== */
:root {
  --night: #e9f3fd; --deep: #d3e6fa; --glass: #ffffff; --glass-2: #f7fafe; --glass-3: #eef4fc;
  --line: rgba(28, 78, 168, .17); --line-hot: #3b7be0;
  --ice: #1d5fd0; --frost: #0f2a68; --mist: #4a648f; --dim: #7a8fb2;
  --gold: #ffc83d; --gold-soft: #cc3a76; --pink: #ff86b3; --pink-d: #f0508a;
  --ok: #12925a; --warn: #bf7408; --err: #d23b3b; --violet: #7b4fd0;
  --edge: rgba(59, 123, 224, .9); --edge2: rgba(255, 134, 179, .9);
  --navy-1: #1f55c4; --navy-2: #0d2a78;
  --hdr-h: 78px;
  color-scheme: light;
}
html { background: linear-gradient(180deg, #dcecfb 0%, #eef6fe 45%, #e6f1fc 100%) fixed; }
body { background: transparent; color: var(--frost); }
body::before { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 58vh; z-index: -1; pointer-events: none; opacity: .75;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 320' preserveAspectRatio='xMidYMax slice'><path fill='%23cfe2f6' d='M0 320V200l110-80 90 60 120-110 110 100 100-70 130 100 120-90 110 80 130-60 130 90 150-70V320z'/><g fill='%23bcd4ee'><path d='M90 320V210h22v-34l17-30 17 30v34h22v110zM300 320V190h26v-40l20-36 20 36v40h26v130zM520 320V230h18v-26l14-26 14 26v26h18v90zM760 320V200h24v-38l18-34 18 34v38h24v120zM980 320V225h20v-30l15-28 15 28v30h20v95z'/><rect x='330' y='230' width='12' height='22' rx='6' fill='%23e9f3fd'/><rect x='790' y='235' width='12' height='22' rx='6' fill='%23e9f3fd'/></g></svg>") center bottom / cover no-repeat; }
::selection { background: rgba(255, 134, 179, .35); }
.skip { background: var(--frost); color: #fff; }
.prog { background: linear-gradient(90deg, #5fb2ff, #3b7be0, var(--pink)); }

/* intro */
.intro { background: radial-gradient(circle at 50% 50%, #ffffff, #cfe5fb 70%); }
.intro img { filter: drop-shadow(0 0 40px rgba(59, 123, 224, .55)); }
.intro::after { background: #fff; box-shadow: 0 0 80px 40px rgba(120, 180, 255, .7); }

/* header: floating white capsule */
.hdr { background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0; pointer-events: none; }
.hbar { pointer-events: auto; max-width: 1180px; min-height: 58px; padding: 6px 12px 6px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(28, 78, 168, .16), 0 0 0 1px rgba(28, 78, 168, .08); }
.logo { color: var(--frost); }
.logo img { border: 1px solid var(--line); box-shadow: 0 3px 10px rgba(28, 78, 168, .25); }
.nav .mb { color: var(--frost); font-weight: 500; }
.nav .mb::after { background: var(--pink-d); }
.nav .mb:hover, .nav .mb[aria-current="page"] { color: var(--ice); }
.menu-btn, .lang-sel { background: #fff; color: var(--frost); border: 1px solid var(--line); }
.hbar .btn-play { background: linear-gradient(90deg, var(--navy-1), var(--navy-2)); color: #fff; text-shadow: none; padding-inline: 26px; min-height: 42px;
  box-shadow: 0 6px 16px rgba(13, 42, 120, .32); }
.hbar .btn-play::before { opacity: .5; }
html.nav-fold .nav, .nav.fold { background: #fff; border: 1px solid var(--line); border-radius: 22px; margin-top: 8px; padding: 10px 14px; box-shadow: 0 16px 36px rgba(28, 78, 168, .2); }

/* buttons */
.btn { clip-path: none; border-radius: 999px; padding-inline: 28px; }
.btn-lg { padding-inline: 36px; }
.btn-play { background: linear-gradient(180deg, #ffc9de 0%, #ff86b3 52%, #f0508a 100%); color: #fff; text-shadow: 0 1px 2px rgba(150, 20, 70, .45);
  box-shadow: 0 8px 24px rgba(240, 80, 138, .38), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(160, 20, 80, .18); }
.btn-play:hover { box-shadow: 0 12px 34px rgba(240, 80, 138, .55), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(160, 20, 80, .18); }
.btn-play.btn-lg { min-height: 64px; padding-left: 82px; padding-right: 46px; font-size: 20px; }
.btn-play.btn-lg::after { content: ""; position: absolute; left: 12px; top: 50%; width: 50px; height: 44px; transform: translateY(-50%); border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 30% 28%, #fff 0 7%, transparent 8%),
    radial-gradient(circle at 33% 52%, #3a1630 0 7%, transparent 8%), radial-gradient(circle at 67% 52%, #3a1630 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 76%, #d4406f 0 9%, transparent 10%),
    radial-gradient(circle at 50% 38%, #ffe3ee, #ffa6c8 70%, #f585b0);
  box-shadow: 0 3px 8px rgba(160, 20, 80, .35), inset 0 -4px 6px rgba(200, 60, 110, .3); animation: poBounce 1.5s ease-in-out infinite; }
@keyframes poBounce { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-58%) scaleY(1.07); } }
.btn-ghost { border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #e9f0f9); color: var(--frost); box-shadow: 0 4px 14px rgba(28, 78, 168, .1); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: #fff; border-color: var(--line-hot); box-shadow: 0 8px 22px rgba(28, 78, 168, .2); }
.qk { clip-path: none; border-radius: 999px; padding-inline: 20px; border: 1px solid var(--line); background: #fff; color: var(--frost); box-shadow: 0 3px 10px rgba(28, 78, 168, .08); }
.qk:hover { background: #ffe9f2; border-color: #ffb4cf; color: #b3305f; }
.rb, .bar .mb, .toc .mb, #mvFilters .mb { background: #fff; color: var(--frost); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(28, 78, 168, .06); }
.rb:hover, .bar .mb:hover, .toc .mb:hover, #mvFilters .mb:hover { background: #e8f1fd; border-color: var(--line-hot); }
.rb.main { background: linear-gradient(90deg, var(--navy-1), var(--navy-2)); color: #fff; border-color: transparent; }
.rb.main:hover { box-shadow: 0 6px 18px rgba(13, 42, 120, .4); background: linear-gradient(90deg, #2a63d6, #123488); }
.rb[aria-pressed="true"], .bar .mb[aria-pressed="true"], #mvFilters .mb[aria-pressed="true"], .toc .mb[aria-current="page"] {
  background: linear-gradient(90deg, var(--navy-1), var(--navy-2)); border-color: transparent; color: #fff; }
.tab { background: #fff; color: var(--mist); }
.tab:hover { color: var(--frost); border-color: var(--line-hot); }
.tab[aria-pressed="true"] { background: #ffe3ee; color: #b3305f; border-color: #ffb4cf; }
.ro-in { background: #fff; color: var(--frost); }
.ro-in:focus { box-shadow: 0 0 0 3px rgba(59, 123, 224, .22); }
.x { background: #fff; color: var(--frost); }

/* panels: white rounded cards instead of the cut-corner glass */
.win, .rw:not(.pbanner), .pane, .fc, .mv, .card, .kpi, .zc-tip {
  clip-path: none; border: 1px solid var(--line) !important; border-radius: 22px !important; background: #fff; box-shadow: 0 10px 30px rgba(28, 78, 168, .09); }
.win::after, .rw:not(.pbanner)::after, .pane::after, .fc::after, .mv::after, .card::after, .kpi::after, .zc-tip::after { display: none; }
.card { border-radius: 16px !important; box-shadow: 0 4px 12px rgba(28, 78, 168, .07); }
.kpi, .zc-tip { border-radius: 14px !important; box-shadow: none; }
.mv { border-radius: 18px !important; box-shadow: 0 4px 14px rgba(28, 78, 168, .08); }
.card, .mv { background: #fff; }
.card:hover { background: #eef5fe; border-color: var(--line-hot) !important; }
.win::before, .pane::before, .card::before, .rw:not(.pbanner):not(dialog)::before { background: linear-gradient(105deg, transparent 35%, rgba(59, 123, 224, .08) 50%, transparent 65%); }
.rw-t, .win-t { background: linear-gradient(90deg, rgba(59, 123, 224, .1), transparent 70%) !important; }
.win-t h3::before, .pane-h h3::before { background: linear-gradient(180deg, var(--pink), #3b7be0); box-shadow: none; }
.rw-f { background: transparent; }
.h4, .rw-b h3, .sec-t { color: var(--ice); }
.tbl-wrap { background: transparent; border: 1px solid var(--line); border-radius: 14px; }
table.t th, table.t td { border-bottom-color: rgba(28, 78, 168, .1); }
table.t th { color: var(--ice); background: linear-gradient(90deg, rgba(59, 123, 224, .12), rgba(59, 123, 224, .03)); }
table.t tbody tr:hover td { background: linear-gradient(90deg, rgba(59, 123, 224, .08), transparent); }
dialog.rw { background: #fff; color: var(--frost); border: 1px solid var(--line-hot) !important; box-shadow: 0 30px 80px rgba(13, 42, 120, .35); }
dialog::backdrop { background: rgba(15, 35, 80, .45); }
.statg .r, .kv > dt, .kv > dd { border-bottom-color: rgba(28, 78, 168, .1); }
.kv > dt, .kv > dd { background: linear-gradient(90deg, rgba(28, 78, 168, .14), transparent) bottom / 100% 1px no-repeat; }
pre.script { background: #f0f5fc; color: var(--frost); }
.face { background: radial-gradient(circle at 50% 35%, #fff, #dcebfb); border: 1px solid var(--line); }
.mini .face, .face { clip-path: none; border-radius: 12px; }
.gem { clip-path: none; border-radius: 10px; }
.nopic { background: #eef4fc; }

/* page banners and headings */
.pbanner h1 { background: linear-gradient(100deg, #0f2a68, #1d5fd0 60%, #3b86f0); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, .9)) drop-shadow(0 6px 14px rgba(40, 100, 200, .22)); }
.home h2, .end h2 { background: linear-gradient(100deg, #0f2a68, #1d5fd0 60%, #3b86f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icy { background: linear-gradient(100deg, #0f2a68 0%, #2a6ee0 50%, #0f2a68 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--gold-soft); }
.eyebrow::before, .center .eyebrow::after { background: linear-gradient(90deg, transparent, var(--pink-d)); }
.gsec li b, .qnavi, .ilink, .src-h { color: var(--ice); }

/* hero */
.hero { background: radial-gradient(900px 600px at 78% 25%, rgba(255, 255, 255, .9), transparent 60%), radial-gradient(700px 500px at 6% 92%, rgba(255, 176, 208, .38), transparent 60%),
  linear-gradient(180deg, #bcdcfa 0%, #d9ebfb 55%, var(--night) 100%); }
.hero::after { background: linear-gradient(transparent, var(--night)); }
.tag-gold { background: #ffe3ee; color: #b3305f; border: 1px solid #ffb4cf; box-shadow: 0 4px 14px rgba(240, 80, 138, .18); }
.hero h1 .ln:first-child { filter: drop-shadow(0 3px 0 rgba(255, 255, 255, .95)) drop-shadow(0 8px 16px rgba(40, 100, 200, .28)); }
.lead { color: var(--mist); }
.ring { border-color: rgba(59, 123, 224, .35); }
.ring.r2 { border-color: rgba(59, 123, 224, .22); border-top-color: var(--ice); }
.emb { filter: drop-shadow(0 8px 30px rgba(59, 123, 224, .45)); }
.emb-link:hover .emb, .emb-link:focus-visible .emb { filter: drop-shadow(0 10px 40px rgba(59, 123, 224, .7)) brightness(1.04); }
.hp::after, .mob-walk::after { background: rgba(28, 60, 120, .22); }

/* stats */
.stat b { color: #14357f; filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .95)) drop-shadow(0 6px 12px rgba(40, 100, 220, .25)); }
.stat.gold b { color: #e0457f; filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .95)) drop-shadow(0 6px 12px rgba(240, 80, 138, .28)); }
.stat + .stat::before { background: linear-gradient(180deg, transparent, rgba(28, 78, 168, .25), transparent); }
.kpi b { color: #14357f; filter: drop-shadow(0 0 8px rgba(59, 123, 224, .25)); }
.kpi.gold b { color: #e0457f; filter: drop-shadow(0 0 8px rgba(240, 80, 138, .25)); }
.dot { background: #9aabc6; }

/* ticker: a navy band */
.ticker { background: linear-gradient(90deg, #1f55c4, #3a79e6, #1f55c4); box-shadow: 0 10px 30px rgba(30, 80, 200, .28); }
.ticker::before, .ticker::after { background: linear-gradient(90deg, transparent, #fff, transparent); opacity: .7; }
.track { color: #dce9ff; }
.track .ti::after { background: #ffb4cf; box-shadow: 0 0 10px #ff86b3; }

/* features */
.fc { background: #fff; }
.fc:hover { border-color: var(--line-hot) !important; box-shadow: 0 20px 44px rgba(28, 78, 168, .2); }
.fc::before { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 123, 224, .12), transparent 45%); }
.fic { clip-path: none; border-radius: 18px; width: 60px; height: 60px; background: radial-gradient(circle at 30% 30%, #8ec8ff, #2f6fe0); box-shadow: 0 6px 14px rgba(47, 111, 224, .35), inset 0 -4px 0 rgba(0, 0, 0, .15); }
.fc:hover h3 { color: var(--ice); }
.fc.gold { background: linear-gradient(160deg, #fff6fa, #ffe3ee); border-color: #ffb4cf !important; }
.fc.gold .fic { background: radial-gradient(circle at 30% 30%, #ffc9de, #f0508a); color: #fff; box-shadow: 0 6px 14px rgba(240, 80, 138, .35), inset 0 -4px 0 rgba(0, 0, 0, .12); }
.fc.gold p { color: #9b3562; }
.bubble { background: #fff; color: var(--frost); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(28, 78, 168, .15); }
.bubble b { color: var(--gold-soft); }
.kguide img, .end-art .k { filter: drop-shadow(0 8px 14px rgba(28, 78, 168, .25)); }

/* live boards */
.boards .win { background: #fff; }
#mvpSoon { scrollbar-color: rgba(40, 100, 200, .35) transparent; }
#mvpSoon::-webkit-scrollbar-thumb { background: rgba(40, 100, 200, .35); }
.mini li > .mrow, .mini li:not(:has(.mrow)) { clip-path: none; border-radius: 14px; background: linear-gradient(90deg, rgba(59, 123, 224, .09), rgba(59, 123, 224, .02) 70%, transparent); }
.mini li > .mrow:hover { background: linear-gradient(90deg, rgba(59, 123, 224, .2), rgba(59, 123, 224, .04)); }
.mini .n { clip-path: none; border-radius: 10px; width: 34px; background: rgba(59, 123, 224, .14); color: var(--ice); }
.mini li:nth-child(1) .n { background: linear-gradient(180deg, #fff1b0, var(--gold)); color: #3b2200; }
.mini li:nth-child(2) .n { background: linear-gradient(180deg, #f6f9fd, #b4c2d4); color: #1d2836; }
.mini li:nth-child(3) .n { background: linear-gradient(180deg, #ffd9b8, #cf8244); color: #3a1c05; }
.pill { clip-path: none; border: 1px solid rgba(191, 116, 8, .35); border-radius: 20px; background: rgba(255, 178, 63, .16); color: var(--warn); padding-inline: 12px; }
.pill.soon { background: rgba(59, 123, 224, .12); color: var(--ice); border-color: rgba(59, 123, 224, .35); }
.pill.up { background: rgba(18, 146, 90, .12); color: var(--ok); border-color: rgba(18, 146, 90, .35); }
table.rk tr.top2 td.n { color: #7a8ba3; }
table.rk tr.top3 td.n { color: #c9742e; }

/* charts (colours of the lines/bars are in chart.js) */
.pane { background: #fff; }
.zc-grid { stroke: rgba(28, 78, 168, .14); }
.zc-line { filter: drop-shadow(0 0 5px rgba(59, 123, 224, .5)); }
.zc-pulse { fill: rgba(240, 80, 138, .3); }
.zc-dot { fill: #fff; stroke: var(--pink-d); }
.zc-cl { stroke: rgba(15, 42, 104, .4); }
.zc-tip { background: #fff; }
.zc-tip b { color: var(--frost); }
.zc-slot { fill: rgba(59, 123, 224, .06); }
.zc-bar { filter: drop-shadow(0 0 5px rgba(59, 123, 224, .35)); }
.zc-bar:hover { filter: drop-shadow(0 0 10px rgba(240, 80, 138, .7)) brightness(1.06); }

/* bosses */
.boss { --ec: #4a93e8; }
.boss[data-el="Dark"] { --ec: #8a5ce0; }
.boss[data-el="Undead"] { --ec: #19b48a; }
.boss[data-el="Earth"] { --ec: #d9942e; }
.boss[data-el="Fire"] { --ec: #e8642a; }
.boss .stage img, .boss-cv { filter: drop-shadow(0 6px 8px rgba(28, 60, 120, .3)); }
.boss.atk .boss-cv { filter: drop-shadow(0 0 10px var(--ec)) drop-shadow(0 6px 8px rgba(28, 60, 120, .3)); }
.boss:hover b, .boss.atk b { color: var(--frost); text-shadow: 0 0 12px var(--ec); }
.boss .lv { background: rgba(255, 134, 179, .22); color: #b3305f; }

/* 3 steps */
.step b { clip-path: none; border-radius: 50%; width: 70px; background: linear-gradient(180deg, #ffc9de, #ff86b3 55%, #f0508a); color: #fff; text-shadow: 0 1px 2px rgba(150, 20, 70, .4);
  box-shadow: 0 0 0 6px rgba(255, 134, 179, .2), 0 8px 20px rgba(240, 80, 138, .35); }
.steps-line { background: rgba(59, 123, 224, .16); }
.steps-line > i { background: linear-gradient(90deg, #5fb2ff, #3b7be0, var(--pink)); box-shadow: 0 0 10px rgba(59, 123, 224, .5); }
html.fx .step b { filter: grayscale(1) brightness(1.15) opacity(.7); }
html.fx .step.lit h3 { color: var(--frost); }
.end { background: radial-gradient(700px 400px at 50% 100%, rgba(255, 176, 208, .4), transparent 70%); }
.aurora i { mix-blend-mode: normal; opacity: .32; }
.aurora i:nth-child(1) { background: #8fc2ff; }
.aurora i:nth-child(2) { background: #ffb4d2; }
.aurora i:nth-child(3) { background: #9fe3ea; opacity: .28; }

/* footer */
.ftr { background: rgba(255, 255, 255, .6); }
.ftr a:hover { color: var(--ice); }

/* badges / small things */
.mv-n { background: rgba(255, 134, 179, .22); color: #b3305f; }
.tag.egg { color: #c4621d; }
.chip { background: rgba(18, 146, 90, .12); border-color: rgba(18, 146, 90, .35); }
.dead .chip { background: rgba(210, 59, 59, .1); border-color: rgba(210, 59, 59, .35); }
.window .chip { background: rgba(191, 116, 8, .12); border-color: rgba(191, 116, 8, .35); }

/* quest guides */
.qg-card { background: linear-gradient(160deg, #fff, #fff1f7); --edge: var(--pink); }
.qg-card .nm { color: var(--frost); }
.qg-tag { color: #fff !important; background: linear-gradient(90deg, #ff86b3, #f0508a); clip-path: none; border-radius: 20px; }
.qg-hero { background: radial-gradient(500px 260px at 15% 60%, rgba(59, 123, 224, .16), transparent 70%), linear-gradient(160deg, #fff, #eaf3fe); clip-path: none; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 10px 30px rgba(28, 78, 168, .1); }
.qg-hero::after { display: none; }
.qg-art::before { background: radial-gradient(closest-side, rgba(59, 123, 224, .35), transparent); }
.qg-heroimg { filter: drop-shadow(0 8px 10px rgba(28, 60, 120, .3)); }
.qg-hero h1 { background: linear-gradient(100deg, #0f2a68, #1d5fd0 60%, #3b86f0); -webkit-background-clip: text; background-clip: text; }
.qg-chips span { clip-path: none; border-radius: 20px; background: rgba(59, 123, 224, .12); color: var(--ice); }
.qg-chips span:first-child { background: #ffe3ee; color: #b3305f; }
.qg-box { background: #fff; clip-path: none; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 18px rgba(28, 78, 168, .07); }
.qg-box.gold { background: linear-gradient(160deg, #fff7fb, #ffe6f0); border-color: #ffc0d6; }
.qg-box li::before, .qg-tips li::before { box-shadow: none; background: var(--pink-d); }
.qg-rtxt { color: var(--frost); }
.qg-steps::before { background: linear-gradient(180deg, var(--line-hot), rgba(59, 123, 224, .15) 80%, var(--pink)); }
.qg-num { color: #fff; clip-path: none; border-radius: 50%; width: 50px; height: 50px; background: linear-gradient(180deg, #ffc9de, #ff86b3 55%, #f0508a); box-shadow: 0 6px 14px rgba(240, 80, 138, .3); text-shadow: 0 1px 2px rgba(150, 20, 70, .4); }
.qg-sb { background: #fff; clip-path: none; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 12px rgba(28, 78, 168, .06); }
.qg-step:hover .qg-sb { background: #f1f7ff; }
@keyframes qgHl { 0%, 30% { background: #ffe3ee; } }
.qg-sb h3 { color: var(--frost); }
.qg-npcb, .qg-item, .qg-item.big { background: #eef4fc; clip-path: none; border-radius: 12px; }
button.qg-npcb:hover, .qg-item:hover { background: #dce9fb; }
.qg-mob { background: linear-gradient(90deg, rgba(210, 59, 59, .12), #f3f7fc); clip-path: none; border-radius: 12px; }
.qg-mob:hover { background: linear-gradient(90deg, rgba(210, 59, 59, .2), #e6eefb); }
.qg-cnt { color: #d23b3b; }
.qg-items.get .qg-item { background: linear-gradient(90deg, rgba(18, 146, 90, .16), #eef4fc); }
.qg-items.give .qg-item { background: linear-gradient(90deg, rgba(191, 116, 8, .16), #eef4fc); }
.qg-item b { color: var(--gold-soft); }
.qg-navi { color: #fff; background: linear-gradient(180deg, #5a9bf0, #2f6fe0); clip-path: none; border-radius: 10px; }
.qg-tips { background: linear-gradient(90deg, rgba(59, 123, 224, .1), transparent); }

/* Leaderboard tab on the right edge (like rolc.maxion.gg) */
.sidetab { position: fixed; right: 0; top: 36%; z-index: 90; writing-mode: vertical-rl; padding: 20px 11px 20px 13px; text-decoration: none; color: #fff; font: 600 14px/1 var(--f); letter-spacing: .05em;
  background: linear-gradient(180deg, var(--navy-1), var(--navy-2)); border-radius: 16px 0 0 16px; box-shadow: -4px 6px 22px rgba(13, 42, 120, .32); transition: transform .3s var(--ease), padding .3s var(--ease); }
.sidetab::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-bottom: 10px; background: #ffb4cf; transform: rotate(45deg); box-shadow: 0 0 8px #ff86b3; }
.sidetab:hover { transform: translateX(-4px); padding-right: 15px; }
@media (max-width: 760px) {
  :root { --hdr-h: 74px; }
  .hdr { padding-inline: 8px; }
  .hbar { padding-left: 12px; }
  .sidetab { top: 52%; padding: 14px 8px 14px 10px; font-size: 13px; }
  .btn-play.btn-lg { min-height: 58px; padding-left: 76px; font-size: 18px; }
}
body::before { opacity: .55; }
@media (max-width: 760px) {
  .hbar { flex-wrap: nowrap; gap: 8px; border-radius: 30px; padding: 6px 8px 6px 10px; }
  .hbar .menu-btn { padding: 6px 12px; }
  .hbar .lang-sel { max-width: 84px; padding: 6px 6px; }
  .hbar .btn-play { padding: 8px 14px; font-size: 14px; min-height: 38px; }
  .logo img { width: 38px; height: 38px; }
}
.pbanner h1 { filter: drop-shadow(0 4px 10px rgba(40, 100, 200, .2)); }
.qg-hero h1 { filter: none; }

/* play button: the game's own Poring (idle, facing right) instead of the drawn cartoon (11 Nov 2026) */
.btn-play.btn-lg::after { left: 4px; width: 74px; height: 65px; border-radius: 0; box-shadow: none; image-rendering: auto;
  background: url(/home/img/por-hero.png) 0 -194.4px / 744px 388.8px no-repeat; filter: drop-shadow(0 3px 3px rgba(150, 20, 70, .35));
  animation: poIdle .5s steps(4) infinite; }
@keyframes poIdle { to { background-position: -297.6px -194.4px; } }
.btn-play.btn-lg::after { top: calc(50% - 3px); }
