/*
===========================================================================

site.css - the GoSRO public site's look

Ink-black lacquer, imperial gold and cinnabar: the palette of the v1.150
Jangan loading screens. System fonts only, so nothing blocks the first
paint; one hero image, everything else lazy.

===========================================================================
*/
:root {
	color-scheme: dark;
	--ink: #0d0b08;
	--ink-2: #15120d;
	--panel: #1a1610;
	--panel-2: #221c14;
	--line: #3a3020;
	--line-2: #574629;
	--gold: #d9b26a;
	--gold-2: #f1d595;
	--text: #f3ead6;
	--muted: #b3a688;
	--cinnabar: #b8382e;
	--cinnabar-2: #d9493c;
	--jade: #4fbf8a;
	--amber: #e2a43c;
	--radius: 10px;
	--display: Georgia, "Palatino Linotype", "Book Antiqua", serif;
	--body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink) radial-gradient(ellipse at 50% -10%, #2a1f12 0, transparent 60%) no-repeat;
	color: var(--text);
	font: 16px/1.55 var(--body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff3cf; }
code { background: #000; border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; font-size: .9em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted, .hint { color: var(--muted); }
.hint { font-size: 13px; margin: 6px 0 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* ---------- Top bar and masthead ---------- */
.topbar { background: #070605; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar__row { display: flex; gap: 22px; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topbar__item b { color: var(--text); }
.topbar__clock { margin-left: auto; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #777; box-shadow: 0 0 0 3px #77777733; }
.status[data-state="up"] .dot { background: var(--jade); box-shadow: 0 0 0 3px #4fbf8a33; }
.status[data-state="down"] .dot { background: var(--cinnabar-2); box-shadow: 0 0 0 3px #d9493c33; }

.masthead {
	position: sticky; top: 0; z-index: 20;
	background: #0d0b08ee; backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.masthead__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 168px; height: auto; display: block; }
.brand__tag {
	font: 600 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
	color: var(--gold); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); padding: 9px 12px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--panel-2); color: var(--gold-2); }
.nav a[aria-current="page"] { color: var(--gold-2); background: var(--panel); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .nav__play { margin-left: 8px; color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 14px; font: inherit; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
	font: 700 15px/1 var(--body); letter-spacing: .02em; cursor: pointer;
	transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--play { background: linear-gradient(#cf4a3d, #9e2c23); color: #fff; border-color: #e0685b55; box-shadow: 0 6px 18px #b8382e44; }
.btn--play:hover { background: linear-gradient(#df5649, #ad3329); color: #fff; box-shadow: 0 8px 24px #b8382e66; }
.btn--ghost { background: #0008; color: var(--gold-2); border-color: var(--gold); }
.btn--ghost:hover { background: #d9b26a22; color: #fff3cf; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; padding: 14px; margin-top: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero picture, .hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, #0d0b08f2 0%, #0d0b08b0 45%, #0d0b0820 100%), linear-gradient(0deg, var(--ink) 0, transparent 40%);
}
.hero__body { padding-top: 90px; padding-bottom: 70px; max-width: var(--wrap); width: 100%; }
.hero h1 { font: 700 clamp(34px, 5vw, 58px)/1.08 var(--display); color: var(--gold-2); margin: 10px 0 14px; max-width: 620px; text-shadow: 0 2px 18px #000; }
.lead { font-size: 18px; color: #e9dfc6; max-width: 560px; margin: 0 0 22px; }
.eyebrow { font: 700 12px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Live strip ---------- */
.live-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -38px 0 28px; position: relative; }
.tile {
	display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
	background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
	border-radius: var(--radius); color: var(--text); box-shadow: 0 10px 30px #0008;
	transition: border-color .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--text); }
.tile__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile__value { font: 700 30px/1.1 var(--display); color: var(--gold-2); }
.tile__value--sm { font-size: 21px; }
.tile__meta { font-size: 13px; color: var(--muted); min-height: 1.2em; }

/* ---------- Cards and grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.card { background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); margin: -4px 0 14px; padding-bottom: 10px; }
.card__head h2 { font: 700 19px/1.2 var(--display); color: var(--gold-2); margin: 0; letter-spacing: .02em; }
.card__head h2::before { content: "◆"; color: var(--cinnabar-2); font-size: 11px; margin-right: 8px; vertical-align: 2px; }
.card__head a { font-size: 14px; }

/* ---------- News ---------- */
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #ffffff0d; }
.news li:last-child { border-bottom: 0; }
.news__date { align-self: start; text-align: center; background: #0006; border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; }
.news__date b { display: block; font: 700 22px/1 var(--display); color: var(--gold-2); }
.news__date span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.news h3 { font: 700 16px/1.3 var(--body); margin: 2px 0 4px; }
.news p { margin: 0; color: #d8ccb1; font-size: 14.5px; }
.tag { display: inline-block; font: 700 10.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; margin-right: 8px; vertical-align: 2px; }
.tag--Güncelleme { background: #d9b26a22; color: var(--gold-2); border: 1px solid #d9b26a55; }
.tag--Yenilik { background: #4fbf8a1f; color: #8fe0b8; border: 1px solid #4fbf8a55; }
.tag--Düzeltme { background: #b8382e22; color: #f09084; border: 1px solid #b8382e66; }
.news--full li { padding: 20px 0; }
.news--full p { font-size: 15.5px; }

/* ---------- Rates ---------- */
.rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rates--wide { grid-template-columns: repeat(3, 1fr); }
.rate { background: #0007; border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; }
.rate b { display: block; font: 700 26px/1.1 var(--display); color: var(--gold-2); }
.rate span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Uniques ---------- */
.unique-list { list-style: none; margin: 0; padding: 0; }
.unique-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ffffff0d; }
.unique-list li:last-child { border-bottom: 0; }
.unique-list__name { font-weight: 700; }
.unique-list__meta { font-size: 13px; color: var(--muted); }
.unique-list__state { margin-left: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--alive { color: var(--jade); background: #4fbf8a1a; border: 1px solid #4fbf8a55; }
.badge--dead { color: #f09084; background: #b8382e1a; border: 1px solid #b8382e55; }
.badge--unknown { color: var(--muted); background: #ffffff0a; border: 1px solid var(--line); }
.lvl { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 8px; background: #000; border: 1px solid var(--line-2); font: 700 15px/1 var(--display); color: var(--gold-2); }

.unique-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.ucard { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); display: flex; flex-direction: column; min-height: 340px; }
.ucard__art { height: 190px; background-size: cover; background-position: center; position: relative; }
.ucard__art img { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); max-height: 180px; max-width: 92%; width: auto; z-index: 1; filter: drop-shadow(0 8px 14px #000c); }
.ucard__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 0, #0d0b0899 60%, #0d0b0840 100%); }
.ucard__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ucard h3 { font: 700 21px/1.15 var(--display); color: var(--gold-2); margin: 4px 0 0; position: relative; }
.ucard__meta { font-size: 13px; color: var(--muted); }
.ucard__big { font: 700 26px/1.1 var(--display); margin-top: auto; }
.ucard__small { font-size: 13px; color: var(--muted); }
.ucard[data-state="alive"] { border-color: #4fbf8a77; box-shadow: 0 0 0 1px #4fbf8a22, 0 12px 30px #0009; }
.kills { list-style: none; margin: 0; padding: 0; }
.kills li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #ffffff0d; flex-wrap: wrap; }
.kills li:last-child { border-bottom: 0; }
.kills time { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- Podium and rankings ---------- */
.podium { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.podium li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: #0006; border: 1px solid var(--line); }
.podium li:nth-child(1) { border-color: #d9b26a99; background: #d9b26a14; }
.podium .rank-no { font: 700 18px/1 var(--display); color: var(--gold); text-align: center; }
.podium .who b { display: block; }
.podium .who span { font-size: 13px; color: var(--muted); }
.podium .score { font: 700 17px/1 var(--display); color: var(--gold-2); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button {
	background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 8px;
	padding: 10px 16px; font: 600 14px/1 var(--body); cursor: pointer;
}
.tabs button[aria-selected="true"] { color: #1a1206; background: var(--gold); border-color: var(--gold); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--text); border-color: var(--line-2); }
.search input {
	width: 100%; max-width: 380px; background: #000; color: var(--text); border: 1px solid var(--line-2);
	border-radius: 8px; padding: 11px 14px; font: inherit; margin-bottom: 14px;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.rank { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank th { text-align: left; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--panel-2); padding: 12px 14px; position: sticky; top: 0; }
.rank td { padding: 11px 14px; border-top: 1px solid #ffffff0d; }
.rank tbody tr:hover { background: #d9b26a0d; }
.rank td:first-child { width: 56px; font: 700 16px/1 var(--display); color: var(--gold); }
.rank tr:nth-child(-n+3) td:first-child { color: var(--gold-2); }
.rank .num { text-align: right; font-variant-numeric: tabular-nums; }
.rank .empty { text-align: center; color: var(--muted); padding: 30px; }

/* ---------- Server ---------- */
.stat { padding: 18px; }
.stat b { display: block; font: 700 30px/1.1 var(--display); color: var(--gold-2); margin-top: 4px; }
.stat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.region { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.region div { height: 92px; background-size: cover; background-position: center; }
.region b { display: block; padding: 8px 10px; font: 700 15px/1.2 var(--display); color: var(--gold-2); }
.region span { display: block; padding: 0 10px 10px; font-size: 12.5px; color: var(--muted); }

/* ---------- Features and steps ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 6px 0 20px; }
.feature { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature svg { width: 30px; height: 30px; color: var(--gold); }
.feature h3 { font: 700 17px/1.25 var(--display); color: var(--gold-2); margin: 10px 0 6px; }
.feature p { margin: 0; color: #d0c4a8; font-size: 14.5px; }
.steps { margin-bottom: 30px; }
.steps__list { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.steps__list li::marker { color: var(--gold); font-weight: 700; }
.steps__cta { margin-top: 16px; }

/* ---------- Pages ---------- */
.page { padding-top: 36px; padding-bottom: 40px; }
.page--narrow { max-width: 860px; }
.page__head { margin-bottom: 24px; }
.page__head h1 { font: 700 clamp(30px, 4vw, 44px)/1.1 var(--display); color: var(--gold-2); margin: 8px 0 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: #d8ccb1; }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 1fr 440px; gap: 28px; align-items: stretch; }
.account__art { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(0deg, #0d0b08 0, transparent 50%), url("/site-assets/donwhang.webp") center/cover; min-height: 480px; }
.form { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; }
.form h1 { font: 700 28px/1.15 var(--display); color: var(--gold-2); margin: 0 0 6px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 6px; }
.form input { width: 100%; background: #000; color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; font: inherit; }
.form input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px #d9b26a33; }
.form input[aria-invalid="true"] { border-color: var(--cinnabar-2); }
.form__result { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; }
.form__result[data-ok="true"] { color: var(--jade); }
.form__result[data-ok="false"] { color: #f09084; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #070605; margin-top: 40px; }
.footer__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px 40px; padding-top: 30px; padding-bottom: 30px; align-items: start; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__note { grid-column: 1 / -1; font-size: 13px; margin: 0; }
.preview-flag { position: fixed; right: 14px; bottom: 14px; margin: 0; background: #e2a43c; color: #1a1206; font: 700 12px/1 var(--body); padding: 9px 12px; border-radius: 999px; z-index: 40; box-shadow: 0 6px 18px #0009; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.brand__tag { display: none; }
	.nav a { padding: 9px 9px; font-size: 14px; }
}
@media (max-width: 1080px) {
	.unique-board, .features { grid-template-columns: repeat(2, 1fr); }
	.regions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
	.menu-toggle { display: inline-block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; }
	.nav[data-open="true"] { display: flex; }
	.nav .nav__play { margin: 8px 0 0; }
	.brand__tag { display: none; }
	.grid-2, .grid-3, .account { grid-template-columns: 1fr; }
	.live-strip { grid-template-columns: repeat(2, 1fr); }
	.account__art { min-height: 200px; }
	.footer__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.hero { min-height: 520px; }
	.unique-board, .features, .rates--wide { grid-template-columns: 1fr; }
	.regions { grid-template-columns: repeat(2, 1fr); }
	.topbar__clock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Unique thumbnails, clickable rows and the profile ---------- */
.uthumb { width: 46px; height: 46px; border-radius: 8px; background: #000 center/contain no-repeat; border: 1px solid var(--line-2); flex: none; }
.rank tbody tr[data-name] { cursor: pointer; }
.rank tbody tr[data-name] td:nth-child(2) { color: var(--gold-2); text-decoration: underline dotted #d9b26a66; text-underline-offset: 3px; }
.podium li[data-name] { cursor: pointer; }
.podium li[data-name]:hover { border-color: var(--gold); }
.profile { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--ink-2)); color: var(--text); }
.profile::backdrop { background: #000b; }
.profile__close { position: absolute; right: 8px; top: 6px; z-index: 2; }
.profile__close button { background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; line-height: 1; }
.profile__close button:hover { color: var(--gold-2); }
.profile__body { display: grid; grid-template-columns: 360px 1fr; min-height: 440px; }
.profile__model { background: radial-gradient(ellipse at 50% 70%, #3a2c18 0, #0d0b08 70%); border-right: 1px solid var(--line); position: relative; }
.profile__model iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; color-scheme: normal; }
.profile__model p { position: absolute; inset: auto 0 16px; text-align: center; color: var(--muted); font-size: 13px; margin: 0; }
.profile__info { padding: 24px 26px; overflow: auto; }
.profile__info h2 { font: 700 30px/1.1 var(--display); color: var(--gold-2); margin: 6px 0 14px; }
.profile__info h3 { font: 700 16px/1 var(--display); color: var(--gold); margin: 20px 0 10px; letter-spacing: .04em; }
.gear { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gear li { display: flex; align-items: center; gap: 10px; background: #0007; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; min-width: 0; }
.gear img { width: 32px; height: 32px; flex: none; image-rendering: auto; }
.gear b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gear span { font-size: 12px; color: var(--muted); }
.gear .plus { color: var(--gold-2); font-weight: 700; }
@media (max-width: 760px) {
	.profile__body { grid-template-columns: 1fr; }
	.profile__model { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
	.gear { grid-template-columns: 1fr; }
}

/* ---------- Profile equipment window ---------- */
.doll {
	position: absolute; inset: 0; margin: auto; width: 300px; height: 360px;
	display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr);
	grid-template-areas: "head . . weapon" "shoulder . . shield" "body . . dress" "arm . . ." "leg earring necklace ." "foot ring1 ring2 .";
	align-content: center;
}
.doll::before { content: ""; grid-area: 1 / 2 / 5 / 4; background: url("/site-assets/gosro-448.webp") center/80% no-repeat; opacity: .12; }
.doll__slot { position: relative; width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--line-2); background: #000a; display: grid; place-items: center; }
.doll__slot img { width: 40px; height: 40px; }
.doll__slot--empty { opacity: .45; }
.doll__plus { position: absolute; right: 2px; bottom: 1px; font: 700 11px/1 var(--body); color: var(--gold-2); text-shadow: 0 1px 2px #000; }

/* ---------- Signed-in account and silk ---------- */
.account-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.account-head__actions { display: flex; gap: 10px; }
.chars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.chars li { background: #0007; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; }
.chars li:hover { border-color: var(--gold); }
.chars b { display: block; font: 700 17px/1.2 var(--display); color: var(--gold-2); }
.chars span { font-size: 13px; color: var(--muted); }
.silk { margin: 20px 0; }
.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 14px 0; }
.package { position: relative; text-align: center; padding: 18px 12px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-2), #0009); cursor: pointer; color: var(--text); font: inherit; }
.package:hover { border-color: var(--gold); }
.package[aria-checked="true"] { border-color: var(--gold-2); box-shadow: 0 0 0 2px #d9b26a55, 0 10px 24px #0009; }
.package b { display: block; font: 700 28px/1.1 var(--display); color: var(--gold-2); }
.package small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.package em { display: block; font-style: normal; font-weight: 700; font-size: 18px; margin-top: 10px; }
.package i { position: absolute; top: -9px; right: 10px; font: 700 11px/1 var(--body); font-style: normal; background: var(--cinnabar); color: #fff; padding: 5px 8px; border-radius: 999px; }
.silk__order { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.silk__order label { flex-basis: 100%; font-weight: 700; font-size: 14px; }
.silk__order select { min-width: 260px; background: #000; color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px; font: inherit; }
.orders { list-style: none; margin: 0; padding: 0; }
.orders li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ffffff0d; flex-wrap: wrap; }
.orders li:last-child { border-bottom: 0; }
.package__hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.silk__order { align-items: center; }
.silk__order .hint { margin: 0; }
.news h4 { font: 700 15px/1.2 var(--display); color: var(--gold); margin: 14px 0 6px; }
.notes { margin: 0; padding-left: 18px; color: #d8ccb1; font-size: 14.5px; display: grid; gap: 4px; }
.news .notes li { display: list-item; padding: 0; border: 0; grid-template-columns: none; }

/* ---------- Silk checkout dialog ---------- */
.silk-dialog { width: min(640px, calc(100vw - 24px)); }
.silk-dialog__body { padding: 26px 28px; }
.silk-dialog__body h2 { font: 700 28px/1.15 var(--display); color: var(--gold-2); margin: 6px 0 16px; }
.silk-pay { margin: 18px 0; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line-2); background: #0008; }
.silk-pay h3 { font: 700 15px/1 var(--display); color: var(--gold); margin: 0 0 8px; }
.silk-pay p { margin: 0; white-space: pre-line; font-weight: 600; }
.silk-dialog__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Discord ---------- */
.dc-logo { width: 18px; height: 18px; flex: none; }
.topbar__discord { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #c9cdfb; font-weight: 600; }
.topbar__discord:hover { color: #fff; }
.footer__discord { display: inline-flex; align-items: center; gap: 6px; color: #c9cdfb; }
.discord-card {
	display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
	padding: 20px 24px; border-radius: var(--radius); color: #fff;
	background: radial-gradient(circle at 12% 20%, #7a83ff55, transparent 55%), linear-gradient(120deg, #3c45c5, #5865f2 55%, #2b2f8f);
	border: 1px solid #8f97ff; box-shadow: 0 10px 30px #5865f233;
	transition: transform .15s ease, box-shadow .15s ease;
}
.discord-card:hover { transform: translateY(-2px); box-shadow: 0 14px 36px #5865f255; color: #fff; }
.discord-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff2; }
.discord-card__icon .dc-logo { width: 40px; height: 40px; }
.discord-card__text b { display: block; font: 700 22px/1.2 var(--display); margin-bottom: 4px; }
.discord-card__text span { color: #e3e5ff; }
.discord-card__btn { background: #fff; color: #3c45c5; border-color: #fff; white-space: nowrap; }
@media (max-width: 640px) {
	.discord-card { grid-template-columns: auto 1fr; }
	.discord-card__btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
	.topbar__discord { margin-left: 0; }
}
