/* EVO Rose+ - the website's look (2026-10-31).
   The in-game pastel palette: cream / peach surfaces with dark text, periwinkle bands with light text, coral for the
   main action, cyan for chosen things, gold for points. Night (the hero, page heads) is a deep blue. No pictures besides the four class figures.
   No web fonts: system fonts only (fast, nothing loaded from other sites). */
:root {
	--cream: #fff9f4;
	--cream-2: #fdf1e9;
	--peach: #f8e6dc;
	--peach-2: #efd6c9;
	--line: #ead3c6;
	--ink: #251f4a;			/* headings on cream (14.9:1) */
	--text: #3a3460;		/* body on cream (10.6:1) */
	--muted: #5e5880;		/* secondary on cream (6.3:1) */
	--peri: #4a5ca4;
	--peri-2: #5a6cb6;
	--peri-d: #34427f;
	--night: #171c45;
	--night-2: #222a5e;
	--on-dark: #f5f7ff;
	--on-dark-soft: #d3dbfb;	/* (on --peri-d 7.6:1, on --night 11:1) */
	--coral: #d84a52;
	--coral-d: #b8333f;
	--coral-l: #f48c78;
	--coral-ink: #a8323a;		/* links / marks on cream (5.9:1) */
	--cyan: #7fe0f4;
	--cyan-d: #17758a;		/* cyan text on cream (5.0:1) */
	--gold: #ffdc70;
	--gold-d: #8a5a0b;
	--ok: #8ff5b8;
	--bad: #ffb4a8;
	--soldier: #e07a5f; --muse: #8a6fd8; --hawker: #3aa58c; --dealer: #e0a43a;
	--r1: #9aa3b5; --r2: #39b26a; --r3: #3f86e8; --r4: #a259e6; --r5: #f08a24;
	--radius: 18px;
	--radius-s: 12px;
	--shadow: 0 14px 34px -16px rgba(37, 31, 74, .45);
	--shadow-s: 0 6px 16px -8px rgba(37, 31, 74, .35);
	--font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
	--font-head: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--wrap: 1180px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 1rem/1.6 var(--font);
	color: var(--text);
	background: var(--cream);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-d); }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan-d); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible, .nav :focus-visible, .page-hero :focus-visible, .footer :focus-visible { outline-color: var(--cyan); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
svg.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- buttons ---- */
.btn {
	--bg: linear-gradient(180deg, #ce4650 0%, #c4404a 50%, var(--coral-d) 100%);	/* (white label 4.6:1 at the top) */
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font: 700 1rem/1 var(--font-head);
	padding: .9em 1.4em;
	border-radius: 999px;
	border: 0;
	color: #fff;
	background: var(--bg);
	box-shadow: 0 8px 18px -8px rgba(184, 51, 63, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s;
	white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 22px -8px rgba(184, 51, 63, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn.big { font-size: 1.15rem; padding: 1em 1.7em; }
.btn.small { font-size: .9rem; padding: .65em 1.1em; }
.btn.block { width: 100%; }
.btn.ghost { background: rgba(255, 255, 255, .1); color: var(--on-dark); box-shadow: inset 0 0 0 2px rgba(211, 219, 251, .55); }
.btn.ghost:hover { background: rgba(255, 255, 255, .18); }
.btn.soft { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line), var(--shadow-s); }
.btn.soft:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--peach-2), var(--shadow); }
.btn .sub { font: 600 .78em/1 var(--font); opacity: .9; }

/* ---- the bar on top ---- */
.nav {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	display: flex; align-items: center; gap: 18px;
	padding: 14px max(16px, (100% - var(--wrap)) / 2);
	transition: background .25s, box-shadow .25s, padding .25s;
}
.nav.solid, body.sub .nav { background: rgba(23, 28, 69, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(147, 165, 230, .25); padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand .word { font: 800 1.35rem/1 var(--font-head); letter-spacing: -.01em; }
.brand .word b { font-weight: 800; color: #c9d3ff; letter-spacing: .06em; margin-right: .18em; font-size: .82em; }
.brand .word i { font-style: normal; color: var(--coral-l); }
.links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.links a { color: var(--on-dark-soft); font-weight: 600; font-size: .95rem; padding: 8px 11px; border-radius: 999px; text-decoration: none; }
.links a:hover, .links a.here { color: #fff; background: rgba(255, 255, 255, .12); }
.nav .btn { margin-left: 6px; }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.menu svg { width: 24px; height: 24px; }

/* ---- the hero (home) ---- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(100svh, 920px);
	display: flex; align-items: center;
	color: var(--on-dark);
	background:
		radial-gradient(60% 70% at 78% 40%, rgba(64, 186, 196, .35), transparent 70%),
		radial-gradient(50% 60% at 20% 20%, rgba(138, 111, 216, .45), transparent 70%),
		radial-gradient(40% 50% at 60% 100%, rgba(244, 140, 120, .25), transparent 70%),
		linear-gradient(160deg, #1d2560 0%, var(--night) 55%, #120f33 100%);
	padding: 110px 0 120px;
}
.stars { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .8;
	background-image:
		radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
		radial-gradient(1px 1px at 120px 80px, #dfe6ff, transparent),
		radial-gradient(1.5px 1.5px at 200px 160px, #fff, transparent),
		radial-gradient(1px 1px at 60px 190px, #c9f3fc, transparent),
		radial-gradient(1px 1px at 260px 40px, #ffe9a8, transparent);
	background-size: 300px 220px;
	animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }
.hero-text { position: relative; width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.hero-text > * { max-width: 600px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.logo { font: 800 clamp(3rem, 8vw, 5.6rem)/.95 var(--font-head); color: #fff; margin: 0 0 18px; letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(10, 12, 40, .5); }
.logo b { display: block; font-size: .42em; letter-spacing: .32em; color: #c9d3ff; margin-bottom: .2em; font-weight: 800; }
.logo i { font-style: normal; background: linear-gradient(180deg, #ffd0c4, var(--coral-l) 55%, #ff7a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-soft); margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.facts li { font: 600 .85rem/1 var(--font); padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(211, 219, 251, .25); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--on-dark-soft); padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(10, 12, 40, .35); }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa3c8; box-shadow: 0 0 0 4px rgba(154, 163, 200, .2); }
.status.on .dot { background: #4fe08f; box-shadow: 0 0 0 4px rgba(79, 224, 143, .25), 0 0 14px #4fe08f; animation: pulse 2s infinite; }
.status.off .dot { background: #ff7a6e; box-shadow: 0 0 0 4px rgba(255, 122, 110, .25); }
.status.on { color: #d9ffe9; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(79, 224, 143, 0), 0 0 14px #4fe08f; } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; width: 100%; z-index: 1; color: var(--cream); }

/* ---- sections ---- */
.section { padding: 88px 0; position: relative; }
.section.tint { background: linear-gradient(180deg, var(--cream-2), var(--peach)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow { font: 700 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 12px; display: block; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.dark { background: linear-gradient(170deg, #44559c, var(--peri-d) 70%); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p, .dark p { color: var(--on-dark-soft); }
.dark .eyebrow { color: var(--gold); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

/* reveal on scroll (only with JS; respects reduced motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- news ---- */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.news-item { position: relative; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--peri-2); }
.news-item:first-child { border-top-color: var(--coral); }
.news-item time { font: 700 .78rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-d); }
.news-item h3 { font-size: 1.25rem; margin: 2px 0 4px; }
.news-item p { color: var(--muted); margin: 0; white-space: pre-line; }
.news-item .tag { position: absolute; top: 18px; right: 18px; font: 700 .7rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; background: #fde4e0; color: var(--coral-ink); padding: 6px 9px; border-radius: 999px; }
.news-more { text-align: center; color: var(--muted); margin-top: 22px; font-size: .95rem; }

/* ---- feature highlights (art cards) ---- */
.grid-feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); border: 1px solid #f3e4db; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.feat .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, #e9edff, #d9e0ff); color: var(--peri); margin-bottom: 6px; }
.feat:nth-child(3n+2) .ico { background: linear-gradient(160deg, #ffe8e2, #ffd6cc); color: var(--coral-d); }
.feat:nth-child(3n+3) .ico { background: linear-gradient(160deg, #dcf7fc, #c3eef7); color: var(--cyan-d); }
.feat .ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.05rem; margin: 0; }
.feat p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---- endgame ---- */
.endgame { overflow: hidden; }
.endgame::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 90% 10%, rgba(127, 224, 244, .18), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(244, 140, 120, .18), transparent 70%); }
.road { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0 0 40px; }
.road::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--gold), var(--coral-l)); opacity: .7; }
.road li { position: relative; text-align: center; padding: 0 4px; }
.road .lv { position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 50%; font: 800 1.15rem/1 var(--font-head); color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff, #ffe9a8 60%, #f2c450); box-shadow: 0 0 0 5px rgba(255, 255, 255, .15), 0 10px 20px -8px rgba(0, 0, 0, .5); }
.road li:last-child .lv { background: radial-gradient(circle at 35% 30%, #fff, #ffd0c4 55%, var(--coral-l)); }
.road h3 { font-size: 1rem; margin-bottom: 4px; }
.road p { font-size: .86rem; margin: 0; }
.eg-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eg { border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(211, 219, 251, .22); backdrop-filter: blur(4px); }
.eg h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 8px; }
.eg h3 svg { color: var(--gold); width: 22px; height: 22px; }
.eg p { font-size: .94rem; margin: 0; }
.eg .pill { display: inline-block; margin-top: 10px; font: 700 .74rem/1 var(--font); padding: 6px 9px; border-radius: 999px; background: rgba(255, 220, 112, .16); color: var(--gold); }

/* ---- play / download ---- */
.play { background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%); }
.play-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-s); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font: 800 1.3rem/1 var(--font-head); color: #fff; background: linear-gradient(160deg, var(--peri-2), var(--peri-d)); }
.steps h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.steps p { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.steps p:last-child { margin: 0; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.req { font-size: .88rem; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.req span { display: inline-flex; align-items: center; gap: 6px; }
.req svg { color: var(--cyan-d); }

/* ---- footer ---- */
.footer { background: var(--night); color: var(--on-dark-soft); padding: 60px 0 30px; font-size: .92rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--cyan); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; margin-bottom: 36px; }
.foot-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid .brand { margin-bottom: 12px; }
.foot-grid p { margin: 0; max-width: 340px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: rgba(255, 255, 255, .16); }
.legal { border-top: 1px solid rgba(211, 219, 251, .18); padding-top: 22px; font-size: .82rem; color: #b9c2ea; display: grid; gap: 6px; }
.legal p { margin: 0; }

/* ---- sub pages ---- */
.page-hero {
	position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
	padding: 130px 0 90px;
	background:
		radial-gradient(50% 80% at 85% 30%, rgba(64, 186, 196, .3), transparent 70%),
		radial-gradient(50% 70% at 10% 10%, rgba(138, 111, 216, .45), transparent 70%),
		linear-gradient(160deg, #1d2560, var(--night) 60%, #120f33);
}
.page-hero .wrap { position: relative; }
.page-hero .kicker { margin-bottom: 12px; }
.page-title { font: 800 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--font-head); color: #fff; margin: 0 0 12px; }
.page-hero .lead { max-width: 560px; margin: 0; }

/* forms (register, login, account) */
.split { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: start; }
.form { display: grid; gap: 14px; padding: 28px; align-content: start; }
.form .btn { justify-self: start; }
.form .btn.block { justify-self: stretch; }
.form h2 { font-size: 1.5rem; margin: 0 0 4px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.form input[type="text"], .form input[type="password"], .form input[type="email"], .form input:not([type]) {
	font: inherit; font-weight: 400; color: var(--ink); width: 100%;
	padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream);
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.form input:focus { outline: none; border-color: var(--peri-2); background: #fff; box-shadow: 0 0 0 4px rgba(90, 108, 182, .18); }
.form small { font-weight: 400; color: var(--muted); font-size: .84rem; }
.form .opt { font-weight: 400; color: var(--muted); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--coral); flex: none; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 0; min-height: 1.4em; font-weight: 600; font-size: .95rem; }
.msg.ok { color: #1c7a4a; }
.msg.bad { color: #b3261e; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; color: var(--text); }
.ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: #e3f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks b { color: var(--ink); }
.aside h2 { font-size: 1.6rem; }
.aside p { color: var(--muted); }

/* rankings */
.rank-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.tab { font: 700 .95rem/1 var(--font-head); padding: 10px 20px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.tab.on { background: linear-gradient(160deg, var(--peri-2), var(--peri-d)); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .88rem/1 var(--font); padding: 9px 14px; border-radius: 999px; border: 0; background: #fff; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; }
.chip.on { background: #dff6fb; color: #0f5566; box-shadow: inset 0 0 0 2px #8be3f5; }
.search { font: inherit; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); min-width: 220px; }
.search:focus { outline: none; border-color: var(--peri-2); box-shadow: 0 0 0 4px rgba(90, 108, 182, .18); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin-bottom: 26px; }
.podium:empty { display: none; }
.pod { text-align: center; border-radius: 20px; padding: 22px 16px; background: #fff; box-shadow: var(--shadow); border-top: 5px solid #c9d0e6; }
.pod.p1 { order: 2; padding-block: 32px; border-top-color: #f2c450; background: linear-gradient(180deg, #fff8e0, #fff 60%); }
.pod.p2 { order: 1; border-top-color: #b8c2dc; }
.pod.p3 { order: 3; border-top-color: #e2a07a; }
.medal { width: 46px; height: 46px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; font: 800 1.1rem/1 var(--font-head); color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff, #dfe4f2 60%, #b8c2dc); }
.p1 .medal { background: radial-gradient(circle at 35% 30%, #fff, #ffe9a8 55%, #f2c450); }
.p3 .medal { background: radial-gradient(circle at 35% 30%, #fff, #f7d2bd 55%, #e2a07a); }
.pname { font: 800 1.2rem/1.2 var(--font-head); color: var(--ink); word-break: break-word; }
.pjob { color: var(--muted); font-size: .9rem; margin: 4px 0 8px; }
.plev { display: inline-block; font-weight: 700; font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: #eef1ff; color: var(--peri-d); }
.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.rank { width: 100%; border-collapse: collapse; font-size: .96rem; }
.rank th { text-align: left; font: 700 .76rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 16px 18px; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.rank td { padding: 13px 18px; border-bottom: 1px solid #f4e8e1; }
.rank tr:last-child td { border-bottom: 0; }
.rank tbody tr:hover td { background: #fffaf6; }
.rank .num { text-align: right; font-variant-numeric: tabular-nums; }
.rank .pos { width: 60px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank tr.t1 .pos { color: #a8750a; } .rank tr.t2 .pos { color: #6a7596; } .rank tr.t3 .pos { color: #a6582e; }
.rank .name { font-weight: 700; color: var(--ink); }
.rank .para { color: #6a4bc4; font-weight: 700; }
.rank .empty { text-align: center; color: var(--muted); padding: 40px 18px; }
.job-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; }
.job-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b9bfd3; }
.job-tag.c1::before { background: var(--soldier); } .job-tag.c2::before { background: var(--muse); } .job-tag.c3::before { background: var(--hawker); } .job-tag.c4::before { background: var(--dealer); }
.updated { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 16px; }

/* account */
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.stat { text-align: center; padding: 22px 12px; }
.stat .sv { font: 800 2rem/1.1 var(--font-head); color: var(--ink); }
.stat .sv.para { color: #6a4bc4; }
.stat .sv.gold { color: var(--gold-d); }
.stat .sl { color: var(--muted); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.sub-title { font-size: 1.5rem; margin: 0 0 16px; }
.acc-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; align-items: start; }

/* ---- the hero's planets (drawn, no pictures) ---- */
.orbits { position: absolute; z-index: -1; right: max(-120px, (100% - 1500px) / 2); top: 50%; width: min(760px, 62vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(201, 211, 255, .18); animation: spin 120s linear infinite; }
.ring.r1 { width: 46%; height: 46%; animation-duration: 60s; }
.ring.r2 { width: 72%; height: 72%; animation-duration: 95s; animation-direction: reverse; border-style: dashed; border-color: rgba(127, 224, 244, .16); }
.ring.r3 { width: 98%; height: 98%; animation-duration: 150s; }
@keyframes spin { to { transform: rotate(360deg); } }
.sun { position: absolute; inset: 0; margin: auto; width: 18%; height: 18%; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #fff6e0, #ffd27a 40%, #f48c78 75%, rgba(244, 140, 120, 0) 76%); box-shadow: 0 0 60px 20px rgba(255, 196, 120, .35), 0 0 160px 60px rgba(244, 140, 120, .18); }
.planet { position: absolute; border-radius: 50%; box-shadow: inset -6px -6px 14px rgba(0, 0, 0, .35), 0 0 22px rgba(255, 255, 255, .15); }
.planet.p1 { width: 34px; height: 34px; top: -17px; left: calc(50% - 17px); background: radial-gradient(circle at 35% 30%, #d9ffe9, #4fd08a 55%, #1f7a55); }
.planet.p2 { width: 20px; height: 20px; bottom: 8%; right: 4%; background: radial-gradient(circle at 35% 30%, #fff, #b9c6ff 55%, #5a6cb6); }
.planet.p3 { width: 46px; height: 46px; top: 12%; left: 6%; background: radial-gradient(circle at 35% 30%, #fff1e6, #f48c78 55%, #b8333f); }
.planet.p4 { width: 28px; height: 28px; bottom: -14px; left: calc(50% - 14px); background: radial-gradient(circle at 35% 30%, #e9fbff, #7fe0f4 55%, #17758a); }
.planet.p5 { width: 56px; height: 56px; top: 30%; right: -28px; background: radial-gradient(circle at 35% 30%, #fff8dc, #ffdc70 50%, #b8812f); }
.planet.p6 { width: 24px; height: 24px; top: 4%; left: 22%; background: radial-gradient(circle at 35% 30%, #f6ecff, #b59cf0 55%, #6a4bc4); }
.planet.p7 { width: 38px; height: 38px; bottom: 10%; left: 10%; background: radial-gradient(circle at 35% 30%, #f3f6ff, #d3dbfb 50%, #8f9bd0); }

/* ---- feature highlights (no pictures: a big icon on a gradient) ---- */
.spot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.spot-card { --g1: #5a6cb6; --g2: #34427f; position: relative; overflow: hidden; border-radius: 22px; display: flex; flex-direction: column; color: var(--on-dark); box-shadow: var(--shadow); background: var(--night-2); }
.spot-card .glyph { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden;
	background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(150deg, var(--g1), var(--g2)); }
.spot-card .glyph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--night-2)); }
.spot-card .glyph svg { width: 84px; height: 84px; color: #fff; stroke-width: 1.4; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3)); transition: transform .5s ease; }
.spot-card:hover .glyph svg { transform: translateY(-4px) scale(1.05); }
.spot-card.s-oro { --g1: #f2c450; --g2: #b8603a; }
.spot-card.s-pet { --g1: #7fd3f0; --g2: #5a6cb6; }
.spot-card.s-tower { --g1: #b59cf0; --g2: #4a3c8c; }
.spot-card .body { padding: 6px 24px 24px; flex: 1; }
.rar-row { display: flex; gap: 6px; margin-bottom: 12px; }
.rar-row span { width: 22px; height: 6px; border-radius: 3px; }
.spot-card .lvl { display: inline-block; font: 700 .72rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.spot-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.spot-card p { color: var(--on-dark-soft); margin: 0 0 14px; font-size: .97rem; }
.spot-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.spot-card li { font: 600 .78rem/1 var(--font); padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); }

/* ---- classes: the four first jobs ---- */
[data-family="soldier"] { --c: #b04a33; }
[data-family="muse"] { --c: #7357c9; }
[data-family="hawker"] { --c: #23806b; }
[data-family="dealer"] { --c: #94600c; }
.classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cls { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--c); transition: transform .25s ease, box-shadow .25s ease; }
.cls:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(37, 31, 74, .5); }
.cls .portrait { position: relative; aspect-ratio: 1; overflow: hidden;
	background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c) 22%, transparent) 1px, transparent 1.5px) 0 0 / 14px 14px,
		radial-gradient(80% 80% at 50% 30%, #fff 0%, color-mix(in srgb, var(--c) 18%, #fff) 70%, color-mix(in srgb, var(--c) 32%, #fff) 100%); }
.cls .portrait { aspect-ratio: auto; height: 300px; display: flex; align-items: flex-end; justify-content: center; padding-top: 16px; }
.cls .portrait::after { content: ""; position: absolute; bottom: 10px; left: 50%; width: 150px; height: 18px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 31, 74, .22), transparent); }
.cls .portrait picture { position: relative; z-index: 1; display: flex; justify-content: center; height: 100%; }
.cls .portrait img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 12px rgba(37, 31, 74, .22)); transition: transform .4s ease; }
.cls:hover .portrait img { transform: translateY(-6px); }
.cls .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.role { display: inline-block; font: 700 .72rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 8px; }
.cls h3 { font-size: 1.55rem; margin-bottom: 6px; }
.cls p { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.cls .jobs-h { font: 700 .72rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: auto 0 8px; padding-top: 12px; border-top: 1px solid #f1e3da; }
.cls .jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cls .jobs li { font-size: .9rem; color: var(--text); line-height: 1.4; }
.cls .jobs b { display: block; font-family: var(--font-head); font-size: 1rem; color: color-mix(in srgb, var(--c) 85%, #000); }

/* ---- the numbers card (play section) ---- */
.numbers { border-radius: 24px; padding: 30px; color: var(--on-dark); box-shadow: var(--shadow);
	background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 1.5px) 0 0 / 18px 18px, linear-gradient(160deg, #44559c, var(--night) 90%); }
.numbers h3 { color: #fff; font-size: 1.25rem; margin-bottom: 18px; }
.numbers dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.numbers dl div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(211, 219, 251, .18); }
.numbers dt { font: 800 2.1rem/1 var(--font-head); color: #fff; margin-bottom: 6px; }
.numbers dl div:nth-child(3n+1) dt { color: var(--gold); }
.numbers dl div:nth-child(3n+2) dt { color: var(--cyan); }
.numbers dl div:nth-child(3n+3) dt { color: #ffc2b4; }
.numbers dd { margin: 0; color: var(--on-dark-soft); font-size: .9rem; font-weight: 600; }

/* ---- sub pages: the same drawn planets in the page head ---- */
.page-hero .orbits { width: 420px; right: max(-60px, (100% - var(--wrap)) / 2 - 40px); opacity: .9; }

/* ---- account e-mail pages (confirm, resend, forgot, reset) and the account page's banner ---- */
.wrap.narrow { width: min(520px, 100% - 32px); }
.form.center { text-align: center; justify-items: center; }
.big-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 0 auto 4px; background: linear-gradient(160deg, #e9edff, #d9e0ff); color: var(--peri); }
.big-ico svg { width: 32px; height: 32px; }
.is-ok .big-ico { background: linear-gradient(160deg, #e3f6ec, #c9eedb); color: #1c7a4a; }
.is-bad .big-ico { background: linear-gradient(160deg, #ffe8e2, #ffd6cc); color: var(--coral-d); }
.dl-row.center { justify-content: center; }
.hint { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.8; }
.form .btn svg.i { width: 1.15em; height: 1.15em; }
.banner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 20px; align-items: center; margin-bottom: 30px; border-left: 5px solid var(--coral); background: linear-gradient(90deg, #fff4f1, #fff 40%); }
.banner .big-ico { margin: 0; background: linear-gradient(160deg, #ffe8e2, #ffd6cc); color: var(--coral-d); }
.banner h2 { font-size: 1.2rem; margin: 0 0 4px; }
.banner p { margin: 0; color: var(--muted); }
.banner .msg { grid-column: 1 / -1; }
.banner[hidden] { display: none; }
@media (max-width: 640px) {
	.banner { grid-template-columns: 1fr; text-align: left; }
}

/* ---- responsive ---- */
@media (max-width: 1080px) {
	.grid-feat { grid-template-columns: repeat(3, 1fr); }
	.road { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
	.road::before { display: none; }
	.foot-grid { grid-template-columns: 1fr 1fr 1fr; }
	.foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.menu { display: grid; place-items: center; }
	.links { position: absolute; top: 100%; left: 12px; right: 12px; margin: 8px 0 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 18px; background: rgba(23, 28, 69, .97); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); display: none; }
	.links.open { display: flex; }
	.links a { padding: 12px 14px; font-size: 1rem; }
	.nav { background: rgba(23, 28, 69, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
	.nav > .btn { display: none; }
	.eg-grid { grid-template-columns: 1fr 1fr; }
	.play-grid, .split { grid-template-columns: 1fr; }
	.spot { grid-template-columns: 1fr; }
	.classes { grid-template-columns: 1fr 1fr; }
	.acc-stats { grid-template-columns: 1fr 1fr; }
	.acc-forms { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
	.hero { min-height: auto; padding: 96px 0 110px; align-items: flex-start; }
	.orbits { width: 120vw; right: -62vw; top: 62%; opacity: .35; }
	.page-hero .orbits { width: 300px; right: -110px; opacity: .3; }
	}
@media (max-width: 640px) {
	.classes { gap: 12px; }
	.cls .portrait { height: 220px; }
	.cls .body { padding: 14px 14px 16px; }
	.cls h3 { font-size: 1.25rem; }
	.cls p { font-size: .88rem; }
	.cls .jobs li { font-size: .84rem; }
	.numbers dl { gap: 10px; }
	.numbers dt { font-size: 1.7rem; }
	.section { padding: 64px 0; }
	.grid-feat { grid-template-columns: 1fr 1fr; gap: 12px; }
	.feat { padding: 16px; }
	.eg-grid { grid-template-columns: 1fr; }
	.road { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.podium { gap: 8px; }
	.pod { padding: 14px 6px; border-radius: 14px; }
	.pod.p1 { padding-block: 20px; }
	.pod .pjob { display: none; }
	.pname { font-size: .95rem; margin-bottom: 6px; }
	.medal { width: 34px; height: 34px; font-size: .95rem; }
	.plev { font-size: .76rem; padding: 5px 8px; }
	.rank-bar { flex-direction: column; align-items: stretch; }
	.search { min-width: 0; width: 100%; }
	.rank th, .rank td { padding: 11px 10px; }
	.hide-s { display: none; }
	.btn.big { font-size: 1.05rem; padding: .95em 1.4em; }
	.cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
