/* CosmeticHQ - the website's look. One dark theme, the mod's own colours: every rank has its colour. */
:root {
	--bg: #0b0d14;
	--bg-2: #10131d;
	--panel: #151927;
	--panel-2: #1b2031;
	--line: #262c42;
	--line-2: #343c5a;
	--text: #e9ecf5;
	--dim: #9aa3bd;
	--faint: #6b7493;
	--accent: #9d6bff;
	--accent-2: #ff6ba8;
	--accent-3: #ffb347;
	--ok: #4ade80;
	--bad: #ff5d73;
	--common: #bec4d0;
	--rare: #58a6ff;
	--epic: #be78ff;
	--legendary: #ffbe46;
	--mythic: #ff5470;
	--radius: 14px;
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	--font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--mono: "Cascadia Mono", "Consolas", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.pending body { opacity: 0; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	transition: opacity 0.12s;
	-webkit-font-smoothing: antialiased;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(157, 107, 255, 0.22), transparent 62%),
		radial-gradient(760px 480px at 92% 4%, rgba(255, 107, 168, 0.14), transparent 60%),
		radial-gradient(900px 600px at 50% 110%, rgba(88, 166, 255, 0.10), transparent 60%),
		var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: inherit; }
main { flex: 1; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.hidden { display: none !important; }
.grow { flex: 1; }

/* ----- the bar at the top */
.top {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(14px);
	background: rgba(11, 13, 20, 0.78);
	border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand .mark {
	width: 30px; height: 30px; border-radius: 9px;
	background: conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--accent-3), var(--rare), var(--accent));
	box-shadow: 0 0 22px rgba(157, 107, 255, 0.55);
	position: relative;
}
.brand .mark::after { content: ""; position: absolute; inset: 7px; border-radius: 4px; background: var(--bg); }
.brand b { background: linear-gradient(90deg, #fff, #cdbaff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand i { font-style: normal; color: var(--accent-3); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 13px; border-radius: 9px; color: var(--dim); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a.here { color: var(--text); background: rgba(157, 107, 255, 0.16); }
.side { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; font-size: 13px; font-weight: 700; }
.lang a { padding: 6px 9px; color: var(--faint); }
.lang a.here { background: var(--panel-2); color: var(--text); }
.coins { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 190, 70, 0.12); color: var(--legendary); font-weight: 800; font-variant-numeric: tabular-nums; }
.coin { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff3c4, #ffbe46 48%, #c9811b); box-shadow: inset 0 0 0 2px rgba(120, 70, 0, 0.35); flex: none; }
.who { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.who img, .who .face { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.menu-button { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; }
.nav-extra { display: none; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ----- buttons */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 11px 20px; border-radius: 11px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; white-space: nowrap;
	background: var(--panel-2); border-color: var(--line-2);
	transition: transform 0.12s, box-shadow 0.12s, background 0.12s, border-color 0.12s;
}
.button:hover { transform: translateY(-1px); border-color: var(--accent); }
.button:active { transform: translateY(0); }
.button.main { background: linear-gradient(135deg, var(--accent), #7a4dff 55%, var(--accent-2)); border-color: transparent; box-shadow: 0 10px 30px rgba(157, 107, 255, 0.35); color: #fff; }
.button.main:hover { box-shadow: 0 14px 38px rgba(157, 107, 255, 0.5); }
.button.gold { background: linear-gradient(135deg, #ffcf6b, #ff9f43); color: #2a1700; border-color: transparent; box-shadow: 0 10px 28px rgba(255, 179, 71, 0.28); }
.button.discord { background: #5865f2; border-color: transparent; color: #fff; }
.button.small { padding: 7px 13px; font-size: 13.5px; border-radius: 9px; }
.button.ghost { background: transparent; }
.button.danger { border-color: rgba(255, 93, 115, 0.5); color: var(--bad); background: rgba(255, 93, 115, 0.08); }
.button[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.button.big { padding: 15px 28px; font-size: 17px; border-radius: 13px; }

/* ----- the front page */
.hero { padding: 84px 0 56px; text-align: center; position: relative; }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); font-weight: 900; margin: 0 auto 18px; max-width: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent) 5%, var(--accent-2) 48%, var(--accent-3) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--dim); max-width: 60ch; margin: 0 auto 32px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .under { margin-top: 16px; color: var(--faint); font-size: 14px; }

.strip { overflow: hidden; padding: 26px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.strip .row { display: flex; gap: 16px; width: max-content; animation: slide 70s linear infinite; }
.strip:hover .row { animation-play-state: paused; }
.strip .tile { width: 168px; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

section.block { padding: 70px 0; }
.block h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 850; text-align: center; }
.block .sub { text-align: center; color: var(--dim); max-width: 62ch; margin: 14px auto 0; font-size: 17px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.number { padding: 22px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: center; }
.number b { display: block; font-size: 38px; font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(180deg, #fff, #bcaaff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.number span { color: var(--dim); font-size: 14.5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature { padding: 26px 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--tone, var(--accent)); opacity: 0.9; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--dim); font-size: 15px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; background: color-mix(in srgb, var(--tone, var(--accent)) 18%, transparent); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); cursor: zoom-in; transition: transform 0.16s, border-color 0.16s; }
.shot:hover { transform: translateY(-3px); border-color: var(--accent); }
.shot img { width: 100%; height: auto; aspect-ratio: 1600 / 879; object-fit: cover; }
.shade.zoom { cursor: zoom-out; padding: 14px; }
.shade.zoom img { max-width: min(1600px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow); }
.shot figcaption { padding: 12px 16px; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); }
figure { margin: 0; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.step { padding: 26px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-weight: 900; margin-bottom: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: 15px; }
.step code { font-family: var(--mono); font-size: 13.5px; background: var(--bg); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); }
.call { margin: 30px 0 90px; padding: 46px 30px; border-radius: 22px; text-align: center; border: 1px solid var(--line-2); background: radial-gradient(600px 220px at 50% 0%, rgba(157, 107, 255, 0.28), transparent 70%), var(--panel); }
.call h2 { font-size: clamp(26px, 3.6vw, 38px); }
.call p { color: var(--dim); margin: 12px auto 26px; max-width: 54ch; }

/* ----- a thing of the catalog, as a card */
.tile { border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform 0.14s, border-color 0.14s, box-shadow 0.14s; }
.tile:hover { transform: translateY(-3px); border-color: var(--tone, var(--line-2)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }
.tile .picture { aspect-ratio: 1; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--tone, #556) 26%, #1a1f30), #10131d 72%); position: relative; display: grid; place-items: center; }
.tile .picture img { width: 100%; height: 100%; object-fit: cover; }
.tile .picture .letter { font-size: 44px; font-weight: 900; color: color-mix(in srgb, var(--tone, #889) 70%, #fff); opacity: 0.55; }
.tile .marks { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; }
.mark-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 6px; background: rgba(11, 13, 20, 0.78); border: 1px solid rgba(255, 255, 255, 0.14); }
.tile .text { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tile .name { font-weight: 750; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .rank { font-size: 12.5px; font-weight: 700; color: var(--tone, var(--dim)); }
.tile .foot { margin-top: 9px; display: flex; align-items: center; gap: 8px; min-height: 32px; }
.price { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--legendary); font-variant-numeric: tabular-nums; }
.state { font-size: 13px; font-weight: 700; color: var(--ok); }
.state.free { color: var(--dim); }
.state.none { color: var(--faint); }
.tile.worn { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 12px 30px rgba(157, 107, 255, 0.25); }
.common { --tone: var(--common); } .rare { --tone: var(--rare); } .epic { --tone: var(--epic); } .legendary { --tone: var(--legendary); } .mythic { --tone: var(--mythic); } .feature-rank { --tone: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }

/* ----- pages below the front page */
.head { padding: 44px 0 22px; }
.head h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; }
.head p { color: var(--dim); margin-top: 8px; max-width: 70ch; }
.bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 6px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); font-weight: 650; font-size: 14px; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.on { background: rgba(157, 107, 255, 0.18); border-color: var(--accent); color: var(--text); }
.chip .count { color: var(--faint); font-weight: 600; margin-left: 5px; font-size: 12.5px; }
.field { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; min-width: 0; outline: none; }
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(157, 107, 255, 0.2); }
.field.search { width: 260px; }
select.field { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.note { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--dim); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.note b { color: var(--text); }
.note.warn { border-color: rgba(255, 190, 70, 0.45); background: rgba(255, 190, 70, 0.07); }
.empty { text-align: center; color: var(--faint); padding: 60px 0; }
.card { border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); padding: 22px; }
.card h2 { font-size: 19px; margin-bottom: 4px; }
.card .hint { color: var(--dim); font-size: 14.5px; margin-bottom: 16px; }
.cols { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.pair { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pair:last-child { border-bottom: 0; }
.pair span { color: var(--dim); }
.pair b { text-align: right; overflow-wrap: anywhere; }
.code-input { font-family: var(--mono); font-size: 22px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; width: 100%; padding: 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slot { border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); padding: 10px; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.slot:hover { border-color: var(--accent); }
.slot.on { border-color: var(--accent); background: rgba(157, 107, 255, 0.10); }
.slot small { color: var(--faint); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.slot .now { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tone, var(--text)); }
.slot .now.none { color: var(--faint); font-weight: 600; }
.coin-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pack { border-radius: var(--radius); border: 1px solid rgba(255, 190, 70, 0.3); background: linear-gradient(180deg, rgba(255, 190, 70, 0.10), var(--panel)); padding: 20px; text-align: center; }
.pack b { display: block; font-size: 30px; font-weight: 900; color: var(--legendary); }
.pack span { color: var(--dim); font-size: 14px; }

/* ----- the admins' pages */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tab { padding: 11px 16px; border: 0; background: none; color: var(--dim); font-weight: 700; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); border-bottom-color: var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; color: var(--faint); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; padding: 9px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr.pick { cursor: pointer; }
tr.pick:hover td { background: rgba(255, 255, 255, 0.03); }
.scroll { overflow-x: auto; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--dim); }
.pill.on { color: var(--ok); border-color: rgba(74, 222, 128, 0.4); }
.pill.bad { color: var(--bad); border-color: rgba(255, 93, 115, 0.4); }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.form-row .field { flex: 1; min-width: 150px; }
.muted { color: var(--dim); }
.small { font-size: 13.5px; }
.suggest { position: relative; flex: 1; min-width: 200px; }
.suggest .list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; z-index: 10; max-height: 280px; overflow-y: auto; box-shadow: var(--shadow); }
.suggest .list button { display: flex; width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; gap: 8px; }
.suggest .list button:hover { background: rgba(157, 107, 255, 0.16); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }

/* ----- small things */
.toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); max-width: 340px; animation: rise 0.18s ease-out; }
.toast.good { border-color: rgba(74, 222, 128, 0.5); }
.toast.bad { border-color: rgba(255, 93, 115, 0.55); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.shade { position: fixed; inset: 0; background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(4px); z-index: 50; display: grid; place-items: center; padding: 20px; }
.dialog { width: min(460px, 100%); border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); padding: 24px; }
.dialog h3 { font-size: 21px; margin-bottom: 8px; }
.dialog p { color: var(--dim); }
.dialog .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.dialog .preview { display: flex; gap: 14px; align-items: center; margin: 16px 0 4px; }
.dialog .preview .tile { width: 110px; flex: none; }
footer { border-top: 1px solid var(--line); padding: 28px 0 34px; color: var(--faint); font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a:hover { color: var(--text); }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: turn 0.8s linear infinite; margin: 50px auto; }
@keyframes turn { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
	.features, .steps { grid-template-columns: 1fr 1fr; }
	.numbers { grid-template-columns: 1fr 1fr; }
	.shots, .cols { grid-template-columns: 1fr; }
	.coin-packs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.wrap { width: min(1180px, 100% - 32px); }
	.top .wrap { gap: 10px; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 16px 14px; }
	.nav.open { display: flex; }
	.menu-button { display: block; }
	.who span { display: none; }
	.who { padding: 4px; }
	.features, .steps { grid-template-columns: 1fr; }
	.hero { padding: 54px 0 36px; }
	section.block { padding: 48px 0; }
	.grid { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; }
	.field.search { width: 100%; }
	.strip .tile { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
	.strip .row { animation: none; }
	html { scroll-behavior: auto; }
}

/* ----- the front page: the figure next to the words */
html.pending body { animation: shown-anyway 0.01s linear 3s forwards; }
@keyframes shown-anyway { to { opacity: 1; } }
.hero { text-align: left; padding: 56px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 30px; align-items: center; }
.hero h1 { margin-left: 0; max-width: 12ch; font-size: clamp(42px, 6.3vw, 84px); }
.hero .lead { margin-left: 0; }
.hero .actions { justify-content: flex-start; }
.arrow { font-weight: 900; font-size: 1.1em; line-height: 1; }
.stage { position: relative; height: 540px; display: grid; place-items: center; }
.stage .ring { position: absolute; inset: 6% 2% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(157, 107, 255, 0.34), rgba(255, 107, 168, 0.12) 58%, transparent 72%); filter: blur(6px); }
.stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 26px; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); }
.stage .figure { position: absolute; z-index: 1; max-height: 500px; width: auto; max-width: 100%; opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.6s ease, transform 0.6s ease; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55)); image-rendering: auto; }
.stage .figure.on { opacity: 1; transform: none; animation: bob 5.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.dots { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line-2); transition: width 0.2s, background 0.2s; }
.dots button.on { width: 26px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
section.block.tight { padding: 26px 0 10px; }
.feature img.icon { width: 76px; height: 76px; border-radius: 16px; object-fit: contain; padding: 4px; }

/* ----- cards to pick, and one looked at closely */
.tile.pick { cursor: pointer; outline: none; }
.tile.pick:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(157, 107, 255, 0.3); }
.tile.owned .picture::after { content: "✓"; position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #06210f; background: var(--ok); }
.get { font-size: 12.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; color: #2a1700; background: linear-gradient(135deg, #ffcf6b, #ff9f43); }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-weight: 600; font-size: 14.5px; cursor: pointer; user-select: none; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }
.chips { margin-bottom: 14px; }
.dialog .preview { display: flex; gap: 18px; align-items: center; margin: 0 0 16px; }
.dialog .preview .tile { width: 150px; flex: none; }
.dialog .preview .tile .text { display: none; }
.dialog .about { min-width: 0; }
.dialog .about .kind { color: var(--faint); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; }
.dialog .about h3 { font-size: 24px; margin: 4px 0 6px; overflow-wrap: anywhere; }
.rank-line { font-weight: 750; font-size: 14.5px; color: var(--tone, var(--dim)); }
.dialog .about .cost { margin-top: 12px; font-size: 20px; }
.dialog .about .cost .coin { width: 20px; height: 20px; }
.packs-block { margin: 54px 0 20px; }

/* ----- the account */
.narrow { max-width: 560px; padding-top: 70px; }
.card.center { text-align: center; padding: 38px 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.card.center h2 { font-size: 24px; }
.card.center .hint { max-width: 46ch; margin-bottom: 18px; }
.done-mark { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 900; color: #06210f; background: var(--ok); margin-bottom: 12px; box-shadow: 0 0 34px rgba(74, 222, 128, 0.45); }
.who-big { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.who-big b { display: block; font-size: 19px; overflow-wrap: anywhere; }
.who-big span { color: var(--faint); font-size: 13.5px; }
.face-big { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.way { margin: 0 0 18px; padding-left: 22px; color: var(--dim); font-size: 15px; display: grid; gap: 6px; }
.way li::marker { color: var(--accent); font-weight: 800; }
.slot { flex-direction: row; align-items: center; gap: 10px; cursor: pointer; }
.slot .thumb { width: 46px; height: 46px; flex: none; border-radius: 10px; object-fit: contain; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tone, #556) 26%, #1a1f30), #10131d 75%); }
.slot .thumb.none { display: grid; place-items: center; color: var(--faint); font-size: 18px; }
.slot-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.picker { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.picker-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.picker-head b { font-size: 17px; }
.pick-hint { text-align: center; padding: 18px 0 6px; }
.grid.compact { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.grid.tiny { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.grid.tiny .tile .rank { display: none; }
.amount { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount.plus { color: var(--ok); }
.amount.minus { color: var(--bad); }
.card h2 .price { font-size: inherit; }

/* ----- more for the admins */
.cols.even { grid-template-columns: 1fr 1fr; }
.player-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 16px; }
.player-head h2 { font-size: 26px; }
.card .player-head { margin: 0 0 12px; }
.card .player-head h2 { font-size: 19px; margin: 0; }
.back { margin-bottom: 14px; }
.right { text-align: right; }
.mono { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.gap { margin-top: 18px; }
p.lead { margin-bottom: 18px; }
.price-row { display: grid; grid-template-columns: 110px 120px auto 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.rank-name { color: var(--tone, var(--text)); }
.manage { margin-top: 4px; }
.suggest .list.hidden { display: none; }
.card table { margin-top: 6px; }
.stat-grid .number b { font-size: 30px; }

@media (max-width: 980px) {
	.hero { text-align: center; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
	.hero .actions { justify-content: center; }
	.stage { height: 430px; }
	.stage .figure { max-height: 400px; }
	.cols.even { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.stage { height: 350px; }
	.stage .figure { max-height: 320px; }
	.dialog .preview { flex-direction: column; text-align: center; }
	.price-row { grid-template-columns: 1fr 1fr; }
	.side .lang, .side .logout { display: none; }
	.tile .get { display: none; }
	.nav.open .nav-extra { display: flex; }
	.grid.compact { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.stage .figure.on { animation: none; }
}
