:root {
	--bg: #333333;
	--surface: #3b3b3b;
	--surface-2: #2c2c2c;
	--surface-3: #474747;
	--border: #4a4a4a;
	--border-strong: #5c5c5c;
	--text: #eeeeee;
	--text-2: #cccccc;
	--muted: #9a9a9a;
	--accent: #46be5a;
	--accent-hover: #46aa5a;
	--accent-ink: #ffffff;
	--accent-soft: rgba(70, 190, 90, .16);
	--blue: #5ab4fa;
	--blue-hover: #5ab4d2;
	--danger: #e6323c;
	--danger-soft: rgba(230, 50, 60, .14);
	--male: #009fff;
	--female: #009fff;
	--warn: #ffaa00;
	--radius: 10px;
	--radius-sm: 7px;
	--shadow: 0 20px 50px -24px rgba(0, 0, 0, .55);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Jost", "Futura", "Century Gothic", var(--font);
	color-scheme: dark;
}

.light {
	--surface: #eeeeee;
	--surface-2: #ffffff;
	--surface-3: #dddddd;
	--border: #e2e2e2;
	--border-strong: #c9c9c9;
	--text: #333333;
	--text-2: #555555;
	--muted: #888888;
	--danger: #c8232c;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
	color: var(--text);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.s2k {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font: 400 15px/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
}

.s2k a { color: var(--accent); text-decoration: none; }
.s2k a:hover { text-decoration: underline; }

.s2k button, .s2k input, .s2k textarea, .s2k select { font: inherit; color: inherit; }

.s2k :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.logo {
	--size: 420px;
	position: relative;
	width: var(--size);
	height: var(--size);
	max-width: 100%;
	flex: none;
	display: block;
}
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.logo .ring { animation: s2k-drop .7s cubic-bezier(.2, .9, .3, 1.15) .1s both; }
.logo .circle { animation: s2k-pop .6s cubic-bezier(.2, .9, .3, 1.3) .45s both; }
.logo .text { animation: s2k-fade .6s ease .8s both; }
.logo.sm { --size: 44px; }
.logo.sm img { animation: none; }

@keyframes s2k-drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes s2k-fade { from { opacity: 0; } to { opacity: 1; } }

@keyframes s2k-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes s2k-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes s2k-out { to { opacity: 0; transform: translateX(24px); height: 0; margin: 0; padding-top: 0; padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
	.s2k *, .s2k *::before, .s2k *::after { animation: none !important; transition: none !important; }
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.btn:hover { background: var(--surface-3); border-color: var(--border-strong); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn.danger { background: transparent; color: var(--danger); border-color: var(--border); }
.btn.danger:hover { background: var(--danger-soft); border-color: var(--danger); }

.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }

.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; height: 50px; font-size: 15px; }

.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.hint { font-size: 12.5px; color: var(--muted); }

.input, .textarea {
	width: 100%;
	border: 1px solid var(--border);
	background: var(--surface-2);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.input { height: 46px; }
.textarea { min-height: 190px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.alert {
	display: none;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	background: var(--danger-soft);
	color: var(--danger);
	border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
}
.alert.show { display: block; animation: s2k-rise .25s ease both; }

.s2k-logo {
	--size: 260px;
	position: relative;
	width: var(--size);
	height: var(--size);
	flex: none;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #e4e4e4;
	box-shadow: 0 0 0 calc(var(--size) * .045) #2b2b2b, 0 0 0 calc(var(--size) * .085) #d6d6d6, 0 20px 50px -18px rgba(0, 0, 0, .7);
	color: #7a7a7a;
	font-family: var(--font-display);
	font-weight: 400;
	text-align: center;
	line-height: 1.05;
	letter-spacing: .04em;
	animation: s2k-pop .7s cubic-bezier(.2, .9, .3, 1.2) both;
}
.s2k-logo::after {
	content: "";
	position: absolute;
	inset: calc(var(--size) * -.13);
	border-radius: 50%;
	border: 3px solid var(--accent);
	border-right-color: transparent;
	border-bottom-color: transparent;
	animation: s2k-spin 1.1s cubic-bezier(.5, 0, .2, 1) .2s both;
}
.s2k-logo span { display: block; font-size: calc(var(--size) * .15); }
.s2k-logo span.num { color: var(--accent); font-weight: 500; }
.s2k-logo.sm { --size: 40px; animation: none; box-shadow: 0 0 0 2px #2b2b2b, 0 0 0 3.5px #d6d6d6; }
.s2k-logo.sm::after { display: none; }
.s2k-logo.sm span { font-size: 6.5px; letter-spacing: .02em; }

@keyframes s2k-spin { from { opacity: 0; transform: rotate(-180deg); } to { opacity: 1; transform: rotate(0); } }

.pub {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.pub-main {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr minmax(0, 520px);
	gap: 64px;
	align-items: center;
	padding: 48px 0;
}

.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; padding-left: 24px; }
.hero h1 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(30px, 4.2vw, 46px);
	line-height: 1.1;
	letter-spacing: -.01em;
	color: #eee;
	animation: s2k-rise .6s ease .25s both;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { margin: -18px 0 0; color: #ccc; font-size: 16.5px; max-width: 440px; animation: s2k-rise .6s ease .35s both; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; animation: s2k-rise .6s ease .45s both; }
.rules li { display: flex; gap: 10px; align-items: flex-start; color: #ccc; font-size: 14px; }
.rules li svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }

.gplay { display: block; line-height: 0; margin-top: -6px; transition: transform .15s; animation: s2k-rise .6s ease .55s both; }
.gplay:hover { transform: translateY(-2px); }
.gplay img { height: 56px; width: auto; }

.compose { padding: 30px; display: grid; gap: 20px; animation: s2k-rise .6s ease .2s both; }
.compose h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.compose .sub { margin: -14px 0 0; color: var(--muted); font-size: 14px; }
.compose .textarea { min-height: 220px; font-size: 16px; }
.compose .input { height: 50px; font-size: 16px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--surface-3); border-radius: 10px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; border-radius: 7px; cursor: pointer;
	font-weight: 600; font-size: 14px; color: #888;
	transition: background .15s, color .15s, box-shadow .15s;
}
.segmented label .sym { font-size: 20px; line-height: 1; }
.segmented label:hover { color: #444; }
.segmented input:checked + label { background: #fff; color: #333; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 4px 12px -6px rgba(0, 0, 0, .3); }
.segmented input:checked + label.male .sym { color: #009fff; }
.segmented input:checked + label.female .sym { color: #ff5fa2; }
.segmented input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.counter { display: flex; justify-content: space-between; align-items: center; }
.counter .count { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.compose .btn.block { height: 52px; font-size: 16px; }

.success { display: none; padding: 40px 30px; text-align: center; gap: 18px; justify-items: center; }
.success.show { display: grid; animation: s2k-rise .4s ease both; }
.success .check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.success .check svg { width: 32px; height: 32px; }
.success h2 { margin: 0; font-size: 22px; color: var(--accent); }
.success p { margin: -8px 0 0; color: var(--text-2); }
.success .promo img { max-width: 100%; border-radius: var(--radius-sm); display: block; }
.success .apps { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.ad-slot { margin-top: 18px; text-align: center; }

.pub-foot { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px dashed #555; font-size: 13px; }
.pub-foot nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.pub-foot a, .pub-foot .linklike { color: #aaa; }
.pub-foot a:hover, .pub-foot .linklike:hover { color: #fff; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.linklike:hover { text-decoration: underline; }

dialog.modal {
	width: min(460px, calc(100vw - 32px));
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	box-shadow: var(--shadow);
}
dialog.modal::backdrop { background: rgba(0, 0, 0, .85); }
dialog.modal[open] { animation: s2k-rise .25s ease both; }
.modal form { padding: 24px; display: grid; gap: 16px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal .textarea { min-height: 130px; }
.modal .ok { display: none; color: var(--accent); font-weight: 600; margin: 0; }
.modal .ok.show { display: block; }

.icon-btn { width: 36px; height: 36px; padding: 0; border-radius: 9px; }

@media (max-width: 880px) {
	.pub { padding: 0 16px; }
	.pub-main { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
	.hero { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px; padding-left: 10px; }
	.hero .s2k-logo { --size: 92px; }
	.hero h1 { font-size: 26px; }
	.hero p.lead, .hero .rules { display: none; }
	.gplay { margin: 0; }
	.gplay img { height: 44px; }
	.compose { padding: 20px; }
	.compose .textarea { min-height: 170px; }
}

.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }
.doc header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.doc header a { color: var(--text); font-weight: 600; }
.doc .card { padding: 28px; }
.doc h1 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 500; font-size: 32px; }
.doc h3 { margin: 22px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }

.adm { display: grid; grid-template-columns: 250px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "top top" "side main"; min-height: 100vh; }

.adm-side {
	grid-area: side;
	position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
	background: rgba(0, 0, 0, .22);
	padding: 18px 14px;
	display: flex; flex-direction: column; gap: 22px;
}
.adm-top .adm-brand { flex: none; width: 222px; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px; color: #eee !important; text-decoration: none !important; }
.adm-brand b { font-size: 15px; }
.adm-brand small { display: block; color: #999; font-size: 12px; font-weight: 500; }

.nav-group { display: grid; gap: 2px; }
.nav-title { padding: 0 10px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a8a8a; }
.nav-link {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 10px; border-radius: 6px;
	color: #ddd !important; text-decoration: none !important;
	font-size: 14px; font-weight: 500;
	transition: background .12s, color .12s;
}
.nav-link svg, .nav-link img.pic { width: 20px; height: 20px; flex: none; object-fit: contain; opacity: .85; }
.nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
.nav-link.active { background: var(--warn); color: #333 !important; font-weight: 700; }
.nav-link.active img.pic { filter: brightness(.2); opacity: 1; }
.nav-link.active svg { opacity: 1; }
.nav-link .badge { margin-left: auto; }
.nav-sub { display: grid; gap: 2px; margin: 4px 0 8px 30px; padding-left: 10px; border-left: 1px dashed #777; }
.nav-sub .nav-link { padding: 6px 10px; font-size: 13.5px; }
.nav-sub .nav-link.active { background: rgba(255, 170, 0, .18); color: var(--warn) !important; }

.badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px;
	background: var(--danger); color: #fff;
	font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.badge.muted { background: rgba(0, 0, 0, .25); color: #aaa; }

.adm-main { grid-area: main; min-width: 0; display: flex; flex-direction: column; }

.adm-top {
	grid-area: top;
	position: sticky; top: 0; z-index: 10;
	display: flex; align-items: center; gap: 14px;
	height: 64px; padding: 0 20px 0 14px;
	background: #2e2e2e;
	border-bottom: 1px dashed #555;
	border-radius: 0;
}
.adm-top .menu-toggle { display: none; color: #eee; }

.search { position: relative; flex: 1; max-width: 560px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #999; pointer-events: none; }
.search .input { height: 42px; padding-left: 38px; background: rgba(0, 0, 0, .2); border-color: transparent; color: #eee; text-transform: uppercase; }
.search .input::placeholder { color: #999; }
.search .input:focus { background: rgba(0, 0, 0, .3); border-color: var(--warn); box-shadow: none; }
.search-results {
	display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
	max-height: 320px; overflow-y: auto;
	background: #2a2a2a; border: 1px solid #4a4a4a; border-radius: 6px;
	box-shadow: var(--shadow); padding: 6px;
}
.search-results.show { display: block; }
.search-results a { display: block; padding: 8px 10px; border-radius: 5px; color: #eee; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-results a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.search-results .empty { padding: 8px 10px; color: #999; font-size: 13.5px; }

.adm-top .top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #aaa; font-size: 13px; }

.adm-content { padding: 28px; display: grid; gap: 22px; align-content: start; width: 100%; max-width: 1180px; margin: 0 auto; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px dashed #666; }
.page-head h1 { margin: 0; font-size: 24px; font-weight: 700; color: #eee; text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.page-head h1 .head-pic { width: 38px; height: 38px; object-fit: contain; }
.page-head p { margin: 4px 0 0; color: #aaa; font-size: 14px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 7px 12px; border-radius: 4px; background: rgba(0, 0, 0, .2); color: #ddd; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.tabs a:hover { background: rgba(0, 0, 0, .35); color: #fff; text-decoration: none; }
.tabs a.active { background: var(--warn); color: #333; }

.adm .card { background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .06); border-radius: 8px; box-shadow: none; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat {
	padding: 28px 20px 22px; display: grid; justify-items: center; gap: 12px;
	color: #eee !important; text-decoration: none !important;
	transition: background .15s, transform .15s;
	animation: s2k-rise .4s ease both;
}
.stat:nth-child(2) { animation-delay: .05s; }
.stat:nth-child(3) { animation-delay: .1s; }
.stat:hover { background: rgba(0, 0, 0, .32); transform: translateY(-2px); }
.stat .stat-pic { width: 120px; height: 120px; object-fit: contain; transition: transform .2s; }
.stat:hover .stat-pic { transform: scale(.94); }
.stat .lbl { color: #ccc; font-size: 15px; font-weight: 600; }
.new-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 70%; height: 26px; padding: 0 14px; border-radius: 50px; background: var(--danger); color: #fff; font-size: 14px; }
.new-pill b { font-weight: 800; }
.new-pill.zero { background: rgba(0, 0, 0, .25); color: #999; }

.msgs { display: grid; gap: 12px; }
.msg { padding: 16px 18px; display: grid; gap: 12px; animation: s2k-rise .3s ease both; overflow: hidden; }
.msg:hover { background: rgba(0, 0, 0, .28); }
.msg.leaving { animation: s2k-out .35s ease forwards; }
.msg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #aaa; }
.msg-head .lp { font-weight: 700; color: #ccc; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .25); color: #ddd; font-size: 12.5px; font-weight: 700; }
.pill.male { color: #33b2ff; }
.pill.female { color: #ff7ab6; }
.pill.vip { color: var(--warn); }
.msg-head .meta { display: inline-flex; align-items: center; gap: 5px; }
.msg-head .meta svg { width: 14px; height: 14px; }
.msg-head .time { margin-left: auto; font-variant-numeric: tabular-nums; }
.msg-body {
	margin: 0; white-space: pre-wrap; overflow-wrap: anywhere;
	font: 15.5px/1.6 var(--font); color: #fff;
	max-height: 168px; overflow: hidden; position: relative; cursor: pointer;
}
.msg-body.clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(transparent, #2b2b2b); }
.msg-body.open { max-height: none; }
.msg-body.open::after { display: none; }
.msg-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.msg-foot .grow { flex: 1; }
.msg-foot .thumb img { height: 34px; width: auto; border-radius: 4px; display: block; }
.btn.act { height: 30px; padding: 0 12px; gap: 6px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .08); border-color: transparent; color: #ddd; }
.btn.act svg { width: 15px; height: 15px; }
.btn.act:hover { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; }
.btn.act.icon-only { width: 30px; padding: 0; }

.btn.share { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.share:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.reject { background: #eee; border-color: #eee; color: #333; }
.btn.reject:hover { background: #fa7878; border-color: #fa7878; color: #fff; }
.adm .btn.ghost { color: #bbb; }
.adm .btn.ghost:hover { background: rgba(0, 0, 0, .25); color: #fff; }

.empty-state { padding: 48px 20px; text-align: center; color: #999; display: grid; gap: 8px; justify-items: center; }
.empty-state svg { width: 40px; height: 40px; opacity: .6; }

.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; padding: 12px 16px; background: rgba(0, 0, 0, .3); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.tbl td { padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .07); color: #eee; vertical-align: top; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .08); }
.tbl td.num, .tbl td.time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td.wrap { white-space: pre-wrap; min-width: 260px; color: #fff; }

.settings { padding: 24px; display: grid; gap: 18px; max-width: 640px; }
.settings label { font-size: 13px; font-weight: 600; color: #ccc; }
.settings .input { background: #eee; border-color: #e2e2e2; color: #333; }
.settings .preview { border: 1px dashed #777; border-radius: 6px; padding: 12px; display: grid; place-items: center; min-height: 120px; color: #999; font-size: 13px; }
.settings .preview img { max-width: 100%; max-height: 260px; border-radius: 4px; }
.settings .row { display: flex; gap: 10px; align-items: center; }
.saved { color: var(--accent); font-weight: 600; font-size: 14px; opacity: 0; transition: opacity .2s; }
.saved.show { opacity: 1; }

.last-view { position: fixed; right: 10px; bottom: 6px; z-index: 4; font-size: 11px; line-height: 1.4; color: #999; text-align: right; font-variant-numeric: tabular-nums; pointer-events: none; }

.toast {
	position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px);
	background: #222; color: #eee; border: 1px solid #555;
	padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
	box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.scrim { display: none; }

@media (max-width: 980px) {
	.stats { grid-template-columns: 1fr; }
	.stat { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; padding: 16px 18px; }
	.stat .stat-pic { width: 48px; height: 48px; }
	.new-pill { min-width: 0; }
}

@media (max-width: 860px) {
	.adm { grid-template-columns: 1fr; }
	.adm { grid-template-areas: "top" "main"; }
	.adm-top .adm-brand { width: auto; }
	.adm-top .adm-brand small { display: none; }
	.adm-side { position: fixed; z-index: 30; left: 0; top: 0; height: 100vh; width: 270px; transform: translateX(-100%); transition: transform .2s ease; background: #2a2a2a; }
	.adm.nav-open .adm-side { transform: none; }
	.adm.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .6); }
	.adm-top { padding: 10px 16px; }
	.adm-top .menu-toggle { display: inline-flex; }
	.adm-top .top-right .hide-sm { display: none; }
	.adm-content { padding: 18px 16px 60px; }
	.msg-head .time { margin-left: 0; width: 100%; }
}
