/* Game website: top bar (League client style PLAY button), pages, shop, profile, admin. Uses the styles.css tokens. */

/* Plan colors: Explorer silver, Premium blue (sea family), Royal gold. */
:root { --plan-silver: #a9b1b8; --plan-blue: #2f74a8; }

.site { height: 100%; display: flex; flex-direction: column; }
.site__body { flex: 1; min-height: 0; display: flex; position: relative; }
.site__page { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-gutter: stable both-edges; }
.site__page > .home { height: auto; min-height: 100%; }

/* ---------------------------------------------------------------- top bar */

.site-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 8px 16px;
	background: linear-gradient(180deg, #4a2f1b, #2d1c10);
	border-bottom: 3px solid var(--gold-dark);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
	color: #f8ecd6;
	z-index: 5;
	position: relative;
	overflow-x: auto;
	scrollbar-width: none;
}
.site-bar::-webkit-scrollbar { display: none; }
.site-bar > * { flex: none; }
.site-bar button { cursor: pointer; }
.site-bar__logo { display: flex; align-items: center; gap: 0; padding: 0; border: none; background: none; color: #fff3dc; font-family: var(--font-title); font-size: 34px; font-weight: 700; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.site-bar__logo .piece-icon { width: 52px; height: 52px; margin-right: -4px; }
.site-bar__logo > span:last-child { line-height: 1; padding-top: 0.12em; }

.play-button {
	position: relative;
	min-width: 150px;
	min-height: 46px;
	padding: 8px 26px;
	border: 2px solid #f6d77a;
	border-radius: 4px;
	background: linear-gradient(180deg, #1f6f7a 0%, #0f3f49 100%);
	box-shadow: 0 0 0 2px #2d1c10, 0 0 14px rgba(246, 215, 122, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	color: #fff6dd;
	font-family: var(--font-title);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	transition: filter 0.15s, box-shadow 0.15s, transform 0.08s;
}
.play-button:hover { filter: brightness(1.15); box-shadow: 0 0 0 2px #2d1c10, 0 0 22px rgba(246, 215, 122, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.play-button:active { transform: translateY(2px); }
.play-button--active { background: linear-gradient(180deg, #2a8f9c 0%, #135561 100%); }
.play-button--hero { min-width: 240px; min-height: 60px; font-size: 26px; cursor: pointer; }

.site-bar__nav { display: flex; gap: 2px; margin-right: auto; }
.site-bar__more { display: contents; }
.site-bar__menu { display: none; }
.site-bar__link {
	min-height: 44px;
	padding: 6px 14px;
	border: none;
	border-bottom: 3px solid transparent;
	background: none;
	color: #d9c6a5;
	font-family: var(--font-title);
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.site-bar__link:hover { color: #fff3dc; }
.site-bar__link--active { color: #fff3dc; border-bottom-color: var(--gold); }

.site-bar__account { display: flex; align-items: center; gap: 10px; padding: 4px 10px; border: 1px solid rgba(246, 215, 122, 0.4); border-radius: 4px; background: rgba(0, 0, 0, 0.2); color: inherit; }
.site-bar__name { font-size: 15px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-bar .rank__text small { color: #d9c6a5; }

.queue-pill { display: flex; align-items: center; border: 2px solid #f6d77a; border-radius: 22px; overflow: hidden; background: #0f3f49; animation: glow 1.6s ease-in-out infinite alternate; }
.queue-pill button { min-height: 36px; padding: 4px 12px; border: none; background: none; color: #fff6dd; font-size: 14px; }
.queue-pill__cancel { border-left: 1px solid rgba(255, 255, 255, 0.3) !important; }

/* ---------------------------------------------------------------- shared bits */

.page { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.page--wide { max-width: 1400px; }
.page__title { margin: 4px 0 0; color: #f8ecd6; }
.page > .hint { color: #e8d8bd; }
.page__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.site-card { background: var(--parchment); border: 2px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 16px; color: var(--ink); }
.site-card h2 { margin: 0 0 10px; font-size: 20px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row input { flex: 1; min-width: 0; }
.link { border: none; background: none; padding: 0; color: var(--primary-dark); text-decoration: underline; cursor: pointer; font-size: inherit; }
.up { color: var(--primary-dark); font-weight: 800; }
.down { color: var(--danger); font-weight: 800; }

.rank { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.rank__emblem {
	display: grid; place-items: center; width: 30px; height: 30px; flex: none;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: linear-gradient(160deg, #fff8 0%, transparent 60%), var(--rank);
	color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 15px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.rank__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.rank__text b { font-size: 14px; }
.rank__text small { font-size: 12px; color: var(--ink-soft); }
.rank--big .rank__emblem { width: 64px; height: 64px; font-size: 30px; }
.rank__art { position: relative; display: inline-flex; flex: none; }
.rank-icon { display: block; overflow: visible; }
.rank--big .rank__art { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)); }
.rank-icon--inline { display: inline-block; width: 1.35em; height: 1.35em; vertical-align: -0.35em; margin: 0 1px; }
.rank--big .rank__text b { font-size: 26px; }
.rank--big .rank__text small { font-size: 15px; }

.banner-strip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px 2px 8px; border-radius: 4px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); }
.banner-strip__emblem { font-size: 1.1em; }
.banner-strip__name { font-weight: 800; }

.plan-tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 13px; font-weight: 800; background: var(--parchment-deep); color: var(--ink-soft); }
.plan-tag--1 { background: var(--plan-silver); color: var(--ink); }
.plan-tag--2 { background: var(--plan-blue); color: #fff; }
.plan-tag--3 { background: linear-gradient(90deg, #c9952a, #f2c14e); color: #3b2a1e; }

.lock-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }

.home-preview { display: inline-block; width: 56px; height: 56px; transform-origin: 50% 80%; }
.home-preview .piece-icon { width: 100%; height: 100%; }
.anim-jelly { animation: jelly 1.25s ease-in-out infinite; }
.anim-bounce { animation: hop 1.05s ease-in-out infinite; }
.anim-sway { animation: sway 2.8s ease-in-out infinite; }
.anim-pulse { animation: pulse-home 2.1s ease-in-out infinite; }
.anim-heartbeat { animation: heartbeat 0.9s ease-in-out infinite; }
.anim-rise { animation: rise 3.1s ease-in-out infinite; }
.anim-spin { animation: spin-home 3.5s ease-in-out infinite; }
.anim-squeeze { animation: squeeze 2.4s ease-in-out infinite; }
@keyframes pulse-home {
	0%, 100% { transform: scale(0.94); }
	50% { transform: scale(1.06); }
}
@keyframes heartbeat {
	0%, 40%, 100% { transform: scale(1); }
	10% { transform: scale(1.12); }
	20% { transform: scale(1); }
	30% { transform: scale(1.08); }
}
@keyframes rise {
	0%, 50%, 100% { transform: scale(1, 1); }
	25% { transform: scale(0.94, 1.32); }
}
@keyframes spin-home {
	0%, 100% { transform: perspective(200px) rotateY(-65deg); }
	50% { transform: perspective(200px) rotateY(65deg); }
}
@keyframes squeeze {
	0%, 30%, 100% { transform: scale(1, 1); }
	15% { transform: scale(0.78, 1.13); }
	22% { transform: scale(1.05, 0.96); }
}
@keyframes jelly {
	0%, 100% { transform: scale(1, 1); }
	20% { transform: scale(1.12, 0.88); }
	40% { transform: scale(0.92, 1.08); }
	60% { transform: scale(1.05, 0.95); }
	80% { transform: scale(0.98, 1.02); }
}
@keyframes hop {
	0%, 100% { transform: translateY(0) scale(1.1, 0.9); }
	15% { transform: translateY(0) scale(1, 1); }
	50% { transform: translateY(-14%) scale(1, 1); }
	85% { transform: translateY(0) scale(1, 1); }
}
@keyframes sway {
	0%, 100% { transform: rotate(-7deg); }
	50% { transform: rotate(7deg); }
}

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; padding: 8px; font-size: 13px; color: var(--ink-soft); border-bottom: 2px solid var(--line); }
.table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.win td:first-child { color: var(--gold-dark); }
.table tr.me td { background: var(--highlight); }

.test-banner { margin: 0; padding: 10px 14px; border: 2px dashed var(--gold-dark); border-radius: 6px; background: var(--highlight); color: var(--ink); }
.hint .rank { margin-left: 6px; }

/* ---------------------------------------------------------------- play */

.play { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 20px; max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }
.play__modes { display: flex; flex-direction: column; gap: 10px; }
/* Wide screens: the main window is centered under the logo, the mode list sits glued to its left side. */
@media (min-width: 1280px) {
	.play { position: relative; display: block; max-width: none; padding: 20px 330px 40px; }
	.play__detail { max-width: 760px; margin: 0 auto; }
	/* Glued to the left edge of the centered main window (half its width from the center, 12px gap), like the lobby seats. */
	.play__modes { position: absolute; top: 20px; right: calc(50% + min(380px, 50% - 330px) + 12px); z-index: 15; width: 300px; }
}
.mode {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; cursor: pointer;
	border: 2px solid var(--line); border-radius: 8px; background: var(--parchment); color: var(--ink); box-shadow: var(--shadow);
	transition: border-color 0.15s, transform 0.1s;
}
.mode:hover:not(:disabled) { border-color: var(--gold-dark); }
.mode:disabled { opacity: 0.5; cursor: default; }
.mode--active { border-color: var(--gold-dark); background: var(--highlight); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.45); }
.mode__icon { font-size: 30px; }
.mode__text { display: flex; flex-direction: column; flex: 1; }
.mode__text b { font-family: var(--font-title); font-size: 19px; }
.mode__text small { color: var(--ink-soft); font-weight: 600; font-size: 13px; }
.mode .lock-badge { position: absolute; top: 8px; right: 8px; }

.play__detail { min-width: 0; }
.play__panel { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 20px; text-align: center; background: var(--parchment); border: 2px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.play__panel h2 { margin: 0; font-size: 30px; }
.play__about { max-width: 460px; margin: 0; color: var(--ink-soft); line-height: 1.4; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.checklist li { display: flex; align-items: center; gap: 8px; color: var(--danger); font-weight: 700; }
.checklist li.ok { color: var(--primary-dark); }

.find-button {
	min-width: 260px; min-height: 58px; padding: 10px 30px; cursor: pointer;
	border: 2px solid #f6d77a; border-radius: 4px;
	background: linear-gradient(180deg, #1f6f7a, #0f3f49);
	box-shadow: 0 0 16px rgba(246, 215, 122, 0.45);
	color: #fff6dd; font-family: var(--font-title); font-size: 22px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
}
.find-button:hover:not(:disabled) { filter: brightness(1.15); }
.find-button:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.find-button--cancel { background: linear-gradient(180deg, #7a2a1f, #4a160f); }
.find-button--ai { background: linear-gradient(180deg, #5a2f8a, #321650); }

.queue-ring {
	display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%;
	border: 6px solid var(--line); border-top-color: var(--gold); animation: spin 1.2s linear infinite;
}
.queue-ring span { animation: spin 1.2s linear infinite reverse; font-family: var(--font-title); font-size: 34px; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }

.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.map { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; text-align: left; cursor: pointer; border: 2px solid var(--line); border-radius: 8px; background: var(--parchment); color: var(--ink); }
.map b { font-family: var(--font-title); font-size: 17px; }
.map small { color: var(--ink-soft); font-weight: 600; }
.map--active { border-color: var(--gold-dark); background: var(--highlight); }
.map .lock-badge { position: absolute; top: 8px; right: 8px; }

/* ---------------------------------------------------------------- landing */

.hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 16px 28px; text-align: center; color: #fff3dc; }
.hero h1 { margin: 0; font-size: clamp(46px, 9vw, 84px); line-height: 1; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.3); }
.hero p { margin: 0; font-size: 19px; max-width: 520px; }
.hero__cards { display: flex; height: 96px; }
.hero__cards img { width: 62px; margin: 0 -8px; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.35)); transform-origin: 50% 120%; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature { display: flex; flex-direction: column; gap: 4px; }
.feature__icon { font-size: 30px; }
.feature b { font-family: var(--font-title); font-size: 18px; }
.feature p { margin: 0; color: var(--ink-soft); }
.teaser { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.teaser h2 { margin: 0 0 6px; }
.teaser p { margin: 0 0 12px; color: var(--ink-soft); }
.teaser__homes { display: flex; gap: 14px; }
.teaser__homes .home-preview { width: 76px; height: 76px; }

/* ---------------------------------------------------------------- profile */

.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-head .home-preview { width: 72px; height: 72px; }
.profile-head .banner-strip { padding: 6px 26px 6px 10px; }
.profile-head__name { flex: 1; min-width: 200px; }
.profile-head__name h1 { margin: 0; font-size: 32px; }
.profile-head__name span { color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats div { display: flex; flex-direction: column; align-items: center; padding: 8px; border-radius: 6px; background: var(--surface); }
.stats b { font-family: var(--font-title); font-size: 26px; }
.stats small { color: var(--ink-soft); }
.auth { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.auth input, .admin__search, .row input { min-height: 42px; padding: 6px 12px; border: 2px solid var(--line); border-radius: 6px; font-size: 16px; }
.looks h3 { margin: 12px 0 8px; font-size: 16px; color: var(--ink-soft); }
.looks__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.look { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; padding: 12px 10px 8px; cursor: pointer; border: 2px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.look--active { border-color: var(--gold-dark); background: var(--highlight); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.45); }
.look--locked .look__art { filter: grayscale(0.8); opacity: 0.6; }
.look__art { display: grid; place-items: center; min-height: 58px; }
.look__name { font-size: 14px; }
.look .lock-badge { position: absolute; top: 4px; right: 4px; }

/* ---------------------------------------------------------------- shop */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 18px; border: 3px solid var(--line); border-radius: 10px; background: var(--parchment); color: var(--ink); box-shadow: var(--shadow); }
.plan h2 { margin: 0; font-size: 24px; }
.plan ul { flex: 1; margin: 0; padding-left: 20px; line-height: 1.6; }
.plan__price b { font-family: var(--font-title); font-size: 40px; }
.plan--1 { border-color: var(--plan-silver); }
.plan--2 { border-color: var(--plan-blue); transform: translateY(-6px); }
.plan--3 { border-color: var(--gold-dark); background: linear-gradient(180deg, var(--highlight), var(--parchment) 45%); }
.plan--current { box-shadow: 0 0 0 4px rgba(90, 158, 75, 0.5); }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 2px 12px; border-radius: 12px; background: var(--plan-blue); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.plans__note { margin: 0; color: #f8ecd6; font-size: 14px; }
:root[data-theme="dark"] .plans__note { color: var(--ink-soft); }
/* Divider between purchase types: a label on a gold rule. */
.shop-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 14px; color: #f8ecd6; font-family: var(--font-title); font-size: 20px; font-weight: 700; white-space: nowrap; }
.shop-divider::before, .shop-divider::after { content: ''; flex: 1; height: 2px; background: var(--gold-dark); opacity: 0.7; }
.shop-divider small { font-family: var(--font); font-size: 13px; font-weight: 600; opacity: 0.75; }
:root[data-theme="dark"] .shop-divider { color: var(--ink); }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.catalog__item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px; }
.catalog__item small { color: var(--ink-soft); font-size: 12px; }
.catalog__art { display: grid; place-items: center; min-height: 64px; }
.catalog__art--map { width: 100%; }
.catalog__art--map .map-preview { margin: 0 auto; }

/* ---------------------------------------------------------------- admin */

.admin__search { max-width: 420px; }
.admin__table { overflow-x: auto; padding: 4px; }
.admin__table select, .admin__table input[type="date"] { min-height: 34px; border: 2px solid var(--line); border-radius: 6px; font-family: inherit; font-weight: 700; background: var(--surface); color: var(--ink); }
.admin__table input[type="checkbox"] { width: 20px; height: 20px; }
.admin__id { display: block; color: var(--ink-soft); font-size: 12px; }
.admin__actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- game additions */

.player { position: relative; overflow: hidden; }
.player > * { position: relative; }
.player__banner { position: absolute !important; inset: 0 auto 0 0; width: 46%; opacity: 0.35; clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); pointer-events: none; }
.player__banner span { position: absolute; right: 22%; bottom: 0; font-size: 22px; opacity: 0.8; color: #fff; }
.ranking .mmr-delta { flex: none; font-weight: 800; }
.lobby__code small { color: var(--ink-soft); }

@media (max-width: 760px) {
	.play { grid-template-columns: 1fr; }
	.site-bar { gap: 8px; padding: 6px 10px; }
	.site-bar__logo { position: static; transform: none; }
	.site-bar__logo > span:last-child { display: none; }
	/* Menu button opens a panel under the bar with the links, account, language and theme. */
	.site-bar { overflow: visible; }
	.site-bar__menu { display: grid; margin-left: auto; width: 42px; height: 42px; font-size: 22px; }
	.site-bar__more { display: none; }
	.site-bar__more--open { display: flex; flex-direction: column; align-items: stretch; gap: 6px; position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
		padding: 10px 14px 14px; background: #2d1c10; border-bottom: 3px solid var(--gold-dark); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4); }
	.site-bar__more--open .site-bar__nav { flex-direction: column; margin: 0; }
	.site-bar__more--open .site-bar__link { text-align: left; padding: 10px 6px; font-size: 18px; }
	.site-bar__more--open > .site-bar__account { justify-content: flex-start; padding: 8px; }
	.site-bar__more--open > .lang-picker, .site-bar__more--open > .theme-toggle { align-self: flex-start; }
	.play-button { min-width: 110px; font-size: 18px; padding: 6px 14px; }
	.plan--2 { transform: none; }
	.find-button { min-width: 0; width: 100%; }
}

/* ---------------------------------------------------------------- game setup (custom game + room lobby) */

.play__custom { align-items: stretch; text-align: left; gap: 18px; }
.play__custom-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; }
.play__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.seat__home { display: inline-flex; }

.lobby-looks { padding: 12px; border: 2px solid var(--line); border-radius: 8px; background: var(--surface); }
.lobby-looks h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.lobby-looks__body { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.lobby-looks__body > .home-preview, .lobby-looks__body > .banner-strip { flex: none; align-self: center; }
.lobby-looks__body .home-preview { width: 64px; height: 64px; }
.lobby-looks__pickers { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
/* Narrow seats panel: preview on top, then one row per slot with the dropdown filling the rest (long names cut with …). */
.lobby-looks__row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.lobby-looks__row > span { flex: none; width: 42%; }
.lobby-looks__row .dropdown { flex: 1; min-width: 0; color: var(--ink); }
.lobby-looks__row .dropdown__button { width: 100%; min-width: 0; justify-content: space-between; height: 32px; padding: 0 8px; border: 2px solid var(--line); border-radius: 6px; background: var(--parchment); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.bot-seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.bot-seats__item { display: flex; padding: 0; overflow: hidden; background: var(--surface); border: 2px solid var(--line); border-left-width: 6px; border-radius: 6px; font-weight: 600; }
.bot-seats__item .avatar { width: 36px; height: 36px; }
.bot-seats__picker { flex: 1; }
.bot-seats__picker .dropdown__button { width: 100%; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 0; }
.bot-seats__picker .dropdown__button:hover { background: var(--highlight); }
.bot-seats__name { flex: 1; text-align: left; }
.seat__level { font-size: 12px; }
.seat__level .dropdown__button { padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--parchment); font-size: 12px; }
.bot-seats__level { display: flex; border-left: 1px solid var(--line); }
.bot-seats__level .dropdown__button { height: 100%; padding: 4px 8px; border-radius: 0; font-size: 12px; }
.bot-seats__level .dropdown__button:hover { background: var(--highlight); }
.play__start { width: 100%; margin-top: 6px; }
.play__custom .join-code { padding: 0 0 12px; border-top: none; border-bottom: 2px dashed var(--line); }
.join-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; border-top: 2px dashed var(--line); color: var(--ink-soft); font-weight: 700; }
.join-code input { width: 90px; padding: 8px 10px; border: 2px solid var(--line); border-radius: 6px; font: inherit; font-size: 18px; letter-spacing: 4px; text-align: center; text-transform: uppercase; }

.setup { display: flex; flex-direction: column; gap: 16px; }
.setup__section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 18px; }
.setup__value { min-width: 44px; padding: 2px 12px; border-radius: 16px; background: var(--gold); color: var(--ink); text-align: center; font-family: var(--font-title); font-size: 24px; line-height: 1.2; }
.setup--readonly button:disabled { cursor: default; }
.setup--readonly .map:not(.map--active), .setup--readonly .dice-mode:not(.dice-mode--active) { opacity: 0.45; }

.map { align-items: center; text-align: center; }
.map:disabled { color: var(--ink); }
/* Pre-rendered board image (Client/game/MapPreviews.ts): square, the sea fills the corners. */
.map-preview { display: block; width: 100%; max-width: 150px; aspect-ratio: 1; margin-bottom: 4px; border-radius: 8px; object-fit: cover; user-select: none; }
.map-preview--loading { background: var(--sea); opacity: 0.35; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { min-width: 44px; padding: 6px 12px; border: 2px solid var(--line); border-radius: 18px; background: var(--parchment); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.chip:hover:not(:disabled) { border-color: var(--gold-dark); }
.chip--active { border-color: var(--gold-dark); background: var(--gold); }
.chip:disabled:not(.chip--active) { opacity: 0.45; cursor: default; }
.chips input[type=range] { flex: 1; min-width: 140px; accent-color: var(--gold-dark); }

.dice-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.dice-mode { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; text-align: left; border: 2px solid var(--line); border-radius: 8px; background: var(--parchment); color: var(--ink); font: inherit; cursor: pointer; }
.dice-mode:hover:not(:disabled) { border-color: var(--gold-dark); }
.dice-mode--active { border-color: var(--gold-dark); background: var(--highlight); }
.dice-mode b { font-family: var(--font-title); font-size: 16px; }
.dice-mode b em { color: var(--ink-soft); font-style: normal; font-size: 13px; }
.dice-mode small { color: var(--ink-soft); font-weight: 600; line-height: 1.3; }
.dice-chart { display: flex; align-items: flex-end; gap: 2px; height: 34px; }
.dice-chart i { align-self: flex-end; }
.dice-chart i { flex: 1; border-radius: 2px 2px 0 0; background: var(--wood, #8b5a2b); }
.dice-chart i.seven { background: #c0392b; }

.colors { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 28px; height: 28px; padding: 0; border: 3px solid #fff8; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.swatch--active { border-color: #fff; box-shadow: 0 0 0 3px var(--gold-dark); }
.swatch:disabled:not(.swatch--active) { opacity: 0.25; cursor: default; }

.room-lobby { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; align-items: start; }
/* Wide screens: the lobby window is centered under the logo, the seats panel sits glued to its left side. */
@media (min-width: 1280px) {
	.room-lobby { position: relative; display: block; max-width: none; padding: 20px 330px 40px; }
	.room-lobby__stage.panel { max-width: 760px; margin: 0 auto; }
	/* Glued to the left edge of the centered lobby window (half its width from the center, 12px gap). */
	.room-lobby__seats.panel { position: absolute; top: 20px; right: calc(50% + min(380px, 50% - 330px) + 12px); z-index: 15; width: 340px; }
}
.room-lobby .panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.seat--setup { flex-direction: column; align-items: stretch; gap: 8px; border-left-width: 6px; }
.seat__row { display: flex; align-items: center; gap: 10px; }
.seat__row .seat__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat__row > * { flex-shrink: 0; }
.seat__row > .seat__name { flex-shrink: 1; }
.seat__row .icon-button { width: 30px; height: 30px; padding: 5px; background: #555; border: 1px solid #3a3a3a; }
.seat__row .icon-button:hover { background: #666; }
.seat__color .dropdown__button { padding: 0 6px 0 0; border-radius: 22px; }
.seat__color .dropdown__button:hover .avatar { box-shadow: 0 0 0 3px var(--gold); }
.color-option { display: inline-flex; align-items: center; gap: 10px; text-transform: capitalize; }
.color-option i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3); }

/* Lobby reveal (LoL-style), played inside the room card: a gold sweep crosses it, the code flares, details rise in; the seats panel rises next to it. */
.room-lobby > .panel { animation: lobby-panel-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.room-lobby > .room-lobby__seats { animation-delay: 0.15s; }
.room-lobby .lobby__seats > .seat { animation: seat-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; animation-delay: var(--delay, 0s); }
@keyframes lobby-panel-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes seat-in { from { opacity: 0; transform: translateX(-28px); } 60% { opacity: 1; } }

.room-lobby__stage.panel { position: relative; overflow: hidden; align-items: center; gap: 10px; padding: 34px 24px 28px; text-align: center; color: #f8ecd6;
	background: radial-gradient(ellipse at 50% 30%, #5a3a22, #2d1c10 75%); border-color: var(--gold-dark); }
.lobby-stage__sweep { position: absolute; top: 118px; left: -10%; width: 120%; height: 3px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--gold), #fff6d5, var(--gold), transparent); box-shadow: 0 0 18px var(--gold);
	animation: stage-sweep 0.8s cubic-bezier(0.7, 0, 0.3, 1) 0.25s both; }
.lobby-stage__title { color: #e8d4a8; font-family: var(--font-title); font-size: 16px; letter-spacing: 0.45em; text-transform: uppercase; animation: stage-text 0.5s ease-out 0.45s both; }
.lobby-stage__code { color: #fff3dc; font-family: var(--font-title); font-size: 64px; line-height: 1; letter-spacing: 0.22em; margin-right: -0.22em;
	text-shadow: 0 0 26px rgba(242, 193, 78, 0.8); animation: stage-code 0.9s ease-out 0.55s both; }
.lobby-stage__invite { animation: stage-rise 0.4s ease-out 0.9s both; }
.lobby-stage__map { width: min(260px, 70%); margin-top: 10px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); animation: stage-map 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) 1s both; }
.lobby-stage__map .map-preview { width: 100%; max-width: none; height: auto; border-radius: 14px; }
/* Lobby settings: compact map cards. */
.lobby-stage__settings .maps { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.lobby-stage__settings .map { padding: 8px; font-size: 13px; }
.lobby-stage__settings .map-preview { max-width: 80px; }
.lobby-stage__start { align-self: stretch; margin-top: 8px; }
.lobby-stage__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.lobby-stage__facts li { display: flex; flex-direction: column; min-width: 92px; padding: 8px 14px; border: 1px solid rgba(242, 193, 78, 0.45); border-radius: 8px; background: rgba(0, 0, 0, 0.25);
	animation: stage-rise 0.4s ease-out both; }
.lobby-stage__facts li:nth-child(1) { animation-delay: 1.25s; }
.lobby-stage__facts li:nth-child(2) { animation-delay: 1.35s; }
.lobby-stage__facts li:nth-child(3) { animation-delay: 1.45s; }
.lobby-stage__facts small { color: #d9c6a5; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.lobby-stage__facts b { font-size: 17px; }
@keyframes stage-sweep { from { transform: scaleX(0); } 65% { transform: scaleX(1); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
@keyframes stage-text { from { opacity: 0; transform: translateY(6px); } }
@keyframes stage-code { from { opacity: 0; transform: scale(1.3); filter: blur(8px); letter-spacing: 0.5em; } 50% { text-shadow: 0 0 40px var(--gold); } }
@keyframes stage-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes stage-map { from { opacity: 0; transform: scale(0.6) rotate(-8deg); } }

@media (prefers-reduced-motion: reduce) {
	.room-lobby > .panel, .room-lobby .lobby__seats > .seat, .room-lobby__stage *, .room-lobby__stage .lobby-stage__sweep { animation: none; }
	.lobby-stage__sweep { display: none; }
}

@media (max-width: 800px) {
	.room-lobby { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- friends (right panel, League client style) */

.friends-toggle { position: absolute; top: 12px; right: 12px; z-index: 20; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
	background: var(--parchment); color: var(--ink); border: 2px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
	font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; animation: friends-in 0.2s ease-out; }
.friends-toggle:hover { background: var(--highlight); }
.friends-toggle__count { min-width: 22px; padding: 0 6px; border-radius: 11px; background: var(--primary); color: #fff; font-size: 13px; line-height: 22px; text-align: center; }
.friends-toggle__badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--parchment); }

.friends { position: absolute; top: 12px; right: 12px; bottom: 12px; z-index: 20; width: 290px; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
	background: var(--parchment); color: var(--ink); border: 2px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
	animation: friends-in 0.25s ease-out; }
/* Floating card: always floats over the page, never pushes the layout. */
@keyframes friends-in { from { transform: translateX(30px); opacity: 0; } }
.friends__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 10px 16px; border-bottom: 2px solid var(--line); }
.friends__head h2 { margin: 0; font-size: 20px; }
.friends__head h2 small { margin-left: 6px; font-size: 14px; color: var(--ink-soft); }
.friends__close { width: 32px; height: 32px; font-size: 16px; color: var(--ink-soft); }
.friends__body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 10px 20px; display: flex; flex-direction: column; gap: 14px; }
.friends__guest { padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.friends__add { display: flex; gap: 6px; }
.friends__add input { flex: 1; min-width: 0; padding: 7px 10px; border: 2px solid var(--line); border-radius: 6px; font: inherit; background: var(--surface); color: var(--ink); }
.friends__add input:focus { outline: none; border-color: var(--gold); }
.friends__add .button { width: 38px; font-size: 20px; padding: 0; }
.friends__section h3 { margin: 0 6px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.friends__section h3 small { margin-left: 4px; }
.friends__section--offline .friend { opacity: 0.6; }
.friends__empty { margin: 4px 6px; font-size: 14px; color: var(--ink-soft); }
.friends__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.friend { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; animation: stage-rise 0.25s ease-out both; }
.friend:hover { background: var(--parchment-deep); }
.friend--invite, .friend--request { background: var(--highlight); border: 1px solid var(--gold); }
.friend__avatar { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.friend__avatar .piece-icon { width: 26px; height: 26px; }
.friend__avatar::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--parchment); background: var(--status, #9a9a9a); }
.friend__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.friend__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.friend__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-soft); }
.friend__dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--status, #9a9a9a); vertical-align: 1px; }
.friend--online, .friend__avatar--online { --status: #3fa34d; }
.friend--queue, .friend__avatar--queue { --status: #e2b13c; }
.friend--lobby, .friend__avatar--lobby { --status: #4aa3c7; }
.friend--game, .friend__avatar--game { --status: #7c5cd6; }
.friend__join { flex: none; }
.friend__dismiss { flex: none; width: 28px; height: 28px; padding: 0; font-size: 13px; color: var(--ink-soft); }
.friend__menu { flex: none; }
.friend__menu .dropdown__button { width: 30px; height: 30px; padding: 0; justify-content: center; border-radius: 6px; font-size: 20px; line-height: 1; }
.friend__menu .dropdown__caret { display: none; }
.friend__menu .dropdown__check { display: none; }

@media (max-width: 760px) {
	.friends { top: 8px; right: 8px; bottom: 8px; width: calc(100vw - 16px); max-width: 320px; }
	.friends-toggle { top: 8px; right: 8px; }
}

/* ---------------------------------------------------------------- ladder: all ranks */

/* One row, Silver first: seven equal columns, emblems scale down with the column instead of scrolling. */
.ranks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; padding: 4px 0 8px; }
.ranks__tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 10px; text-align: center;
	animation: stage-rise 0.4s ease-out both; animation-delay: calc(var(--i) * 0.06s); }
.ranks__tier .rank-icon { width: min(132px, 100%); height: auto; margin-bottom: 6px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)); transition: transform 0.2s ease; }
.ranks__tier:hover .rank-icon { transform: scale(1.08) translateY(-2px); }
.ranks__tier b { font-family: var(--font-title); font-size: clamp(13px, 1.5vw, 20px); white-space: nowrap; color: var(--ink); }
.ranks__tier small { font-size: clamp(11px, 1vw, 13px); color: var(--ink-soft); }
.ranks__count { margin-top: 6px; padding: 1px 8px; border-radius: 10px; background: var(--parchment-deep); font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.ranks__tier--mine .rank-icon { filter: drop-shadow(0 0 10px var(--rank)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)); }
.ranks__you { position: absolute; top: 0; right: 4px; padding: 1px 8px; border-radius: 10px; background: var(--rank); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; }
@media (max-width: 700px) {
	.ranks { gap: 2px; }
	.ranks__tier b { white-space: normal; overflow-wrap: anywhere; font-size: 11px; }
	.ranks__tier small { display: none; }
}
.google-signin { display: flex; justify-content: center; min-height: 44px; margin-top: 12px; }
.player-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: none; border-bottom: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.player-card:hover { background: var(--highlight); }
.player-card__home { display: grid; place-items: center; width: 52px; height: 52px; }
.player-card__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.player-card__text > b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-card__text > small { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 13px; }
.play__custom--menu { align-items: center; text-align: center; }
.play__custom--menu .find-button { min-width: 260px; }
.lobby-stage__hint { color: var(--ink-soft); text-align: center; }
.lobby-stage__settings { width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--parchment); color: var(--ink); text-align: left; }
.lobby-stage__settings h3 { margin: 0 0 8px; }

/* ---------------------------------------------------------------- profile rank (own card under the name card on /profile) */
.rank-card { display: flex; justify-content: center; }
.rank-hero { display: flex; align-items: center; gap: 20px; animation: stage-rise 0.4s ease-out both; }
.rank-hero svg { flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)); }
.rank-hero__text { display: flex; flex-direction: column; }
.rank-hero__tier { font-family: var(--font-title); font-size: 44px; line-height: 1.1; color: var(--rank); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.rank-hero small { font-size: 20px; font-weight: 700; color: var(--ink-soft); }

/* ---------------------------------------------------------------- dice odds (chosen mode, exact per total) */
.dice-odds { margin-top: 12px; padding: 12px 12px 8px; border: 2px solid var(--line); border-radius: 8px; background: var(--surface); }
.dice-odds__bars { display: flex; gap: 4px; }
.dice-odds__col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
/* Fixed-height track per total, so bar heights stay exactly proportional to the odds. */
.dice-odds__track { width: 100%; height: 90px; display: flex; align-items: flex-end; }
.dice-odds__track i { width: 100%; border-radius: 3px 3px 0 0; background: var(--wood, #8b5a2b); }
.dice-odds__col small { font-size: 11px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.dice-odds__col b { font-family: var(--font-title); font-size: 16px; line-height: 1; color: var(--ink); }
.dice-odds__col--seven .dice-odds__track i { background: #c0392b; }
.dice-odds__col--seven b { color: #c0392b; }
.dice-odds__note { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
/* Selectable with a large hit area: padding grows the grab zone, negative margins keep the layout unchanged. */
.lobby-stage__code { position: relative; z-index: 1; user-select: text; -webkit-user-select: text; cursor: text;
	padding: 14px 32px 14px 32px; margin: -14px calc(-0.22em - 32px) -14px -32px; border-radius: 10px; }
.lobby-stage__code:hover { background: rgba(255, 255, 255, 0.06); }
.lobby-stage__code::selection { background: rgba(242, 193, 78, 0.7); }
/* Selected text across the site: a see-through gold highlight, the text keeps its own color. */
::selection { background: rgba(242, 193, 78, 0.7); }

.profile-head__logout { margin-left: auto; align-self: center; }

/* Display ad (AdSlot): reserved height so the page does not jump when the ad loads. */
.ad-slot { margin: 16px auto 0; width: 100%; max-width: 970px; min-height: 100px; }
.dialog .ad-slot { min-height: 90px; margin-top: 12px; }

/* Legal pages and the footer under every page. */
.legal__body { display: flex; flex-direction: column; gap: 4px; line-height: 1.55; }
.legal__body h2 { margin: 14px 0 4px; font-size: 1.1rem; }
.legal__body section:first-child h2 { margin-top: 0; }
.legal__body p, .legal__body ul { margin: 0; }
.legal__body li { margin: 3px 0; }
.legal-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 12px 16px 20px; font-size: 0.8rem; opacity: 0.7; }
.legal-footer a, .legal-footer .link { color: inherit; font-size: inherit; }
.shop__unlock { margin-top: 32px; }

/* ---------------------------------------------------------------- highscores: filters, rows, pages */
.ranks__tier { border: 2px solid transparent; border-radius: 10px; background: none; font: inherit; cursor: pointer; }
.ranks__tier:hover { background: rgba(255, 255, 255, 0.06); }
.ranks__tier--selected { border-color: var(--rank); background: rgba(255, 255, 255, 0.1); }
.highscores__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.highscores__bar .hint { margin: 0 auto 0 0; }
.highscores__search, .highscores__tier { min-height: 40px; padding: 6px 12px; border: 2px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; outline: none; }
.highscores__search { width: 220px; max-width: 100%; }
.highscores__search:focus, .highscores__tier:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.35); }
.table--ladder td { padding-top: 4px; padding-bottom: 4px; }
.highscores__place { width: 1%; font-weight: 800; color: var(--ink-soft); text-align: right; white-space: nowrap; }
.highscores__icon { width: 1%; }
.highscores__icon .rank-icon { display: block; }
.highscores__mmr { width: 1%; font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--rank); white-space: nowrap; }
.highscores__pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: #f8ecd6; font-weight: 700; }
:root[data-theme="dark"] .highscores__pages { color: var(--ink); }
@media (max-width: 600px) {
	.highscores__extra { display: none; }
	.highscores__search { flex: 1; }
}
