:root {
	--bg: #F5F5F7;
	--surface: #FFFFFF;
	--fill: #F0F0F3;
	--fill-2: #E8E8ED;
	--seg-on: #FFFFFF;
	--seg-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04);
	--text: #1D1D1F;
	--text-2: #6A6A6F;
	--hair: rgba(0,0,0,.08);
	--hair-strong: rgba(0,0,0,.14);
	--accent: #50CD89;
	--accent-text: #177A41;
	--accent-tint: rgba(80,205,137,.14);
	--accent-btn: #177A41;
	--accent-btn-text: #FFFFFF;
	--warn: #B25500;
	--warn-tint: rgba(255,149,0,.14);
	--danger: #C9302C;
	--danger-tint: rgba(255,59,48,.12);
	--info: #0B6BCB;
	--info-tint: rgba(10,132,255,.12);
	--glass: rgba(255,255,255,.78);
	--overlay: rgba(245,245,247,.84);
	--shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.05);
	--shadow-pop: 0 10px 40px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08);
	--dot: rgba(0,0,0,.16);
	--pill: #1D1D1F;
	--pill-text: #FFFFFF;
	--type-s: #D96B00; --type-s-tint: #FFF2E2;
	--type-t: #7A4CE0; --type-t-tint: #F2EDFF;
	--type-p: #0B7A75; --type-p-tint: #E3F6F5;
	--type-h: #0B6BCB; --type-h-tint: #E6F0FF;
	--gold: #D4A72C; --silver: #A2ADBA; --bronze: #C0814A;
	--radius: 22px;
	--radius-sm: 14px;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #12151B; --surface: #1C2028; --fill: #272C35; --fill-2: #272C35;
		--seg-on: #444B58; --seg-shadow: none;
		--text: #F0F2F5; --text-2: #A0A6B1; --hair: rgba(215,222,235,.10); --hair-strong: rgba(215,222,235,.18);
		--accent-text: #5BD996; --accent-tint: rgba(80,205,137,.16); --accent-btn: #50CD89; --accent-btn-text: #04170C;
		--warn: #FF9F0A; --warn-tint: rgba(255,159,10,.16); --danger: #FF6961; --danger-tint: rgba(255,69,58,.18);
		--info: #64B5FF; --info-tint: rgba(10,132,255,.2);
		--glass: rgba(18,21,27,.78); --overlay: rgba(12,14,19,.84); --shadow: none; --shadow-pop: 0 10px 40px rgba(0,0,0,.6);
		--dot: rgba(255,255,255,.24); --pill: #F0F2F5; --pill-text: #12151B;
		--type-s: #FF9F0A; --type-s-tint: rgba(255,159,10,.16); --type-t: #BF5AF2; --type-t-tint: rgba(191,90,242,.18);
		--type-p: #40C8C0; --type-p-tint: rgba(64,200,192,.16); --type-h: #64B5FF; --type-h-tint: rgba(10,132,255,.2);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #12151B; --surface: #1C2028; --fill: #272C35; --fill-2: #272C35;
	--seg-on: #444B58; --seg-shadow: none;
	--text: #F0F2F5; --text-2: #A0A6B1; --hair: rgba(215,222,235,.10); --hair-strong: rgba(215,222,235,.18);
	--accent-text: #5BD996; --accent-tint: rgba(80,205,137,.16); --accent-btn: #50CD89; --accent-btn-text: #04170C;
	--warn: #FF9F0A; --warn-tint: rgba(255,159,10,.16); --danger: #FF6961; --danger-tint: rgba(255,69,58,.18);
	--info: #64B5FF; --info-tint: rgba(10,132,255,.2);
	--glass: rgba(18,21,27,.78); --overlay: rgba(12,14,19,.84); --shadow: none; --shadow-pop: 0 10px 40px rgba(0,0,0,.6);
	--dot: rgba(255,255,255,.24); --pill: #F0F2F5; --pill-text: #12151B;
	--type-s: #FF9F0A; --type-s-tint: rgba(255,159,10,.16); --type-t: #BF5AF2; --type-t-tint: rgba(191,90,242,.18);
	--type-p: #40C8C0; --type-p-tint: rgba(64,200,192,.16); --type-h: #64B5FF; --type-h-tint: rgba(10,132,255,.2);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font); font-size: 15px; line-height: 1.45;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; width: 100%; min-width: 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: 32px; font-weight: 700; letter-spacing: -.022em; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-tint); }

.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i--sm { width: 14px; height: 14px; stroke-width: 2; }
.i--lg { width: 22px; height: 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.nowrap { white-space: nowrap; }
.break-any { overflow-wrap: anywhere; }
.show-sm { display: none; }
.num { font-variant-numeric: tabular-nums; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.clamp-2, .clamp-3, .clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; } .clamp-3 { -webkit-line-clamp: 3; } .clamp-4 { -webkit-line-clamp: 4; }
.text-right { text-align: right; }
.center { text-align: center; }
.warn { color: var(--warn); }
.danger { color: var(--danger); }
.accent { color: var(--accent-text); }
.strong { font-weight: 600; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.page { padding-top: 28px; padding-bottom: 56px; }
.layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.layout > .col-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.layout > .col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.layout > .col-side--narrow { flex: 1 1 300px; max-width: 100%; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; } .mt-5 { margin-top: 40px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--glass); border-bottom: 1px solid var(--hair);
	-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.site-header__bar { height: 56px; display: flex; align-items: center; gap: 4px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 28px; width: auto; display: block; }
.logo .logo--dark { display: none; }
:root[data-theme="dark"] .logo .logo--light { display: none; }
:root[data-theme="dark"] .logo .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .logo .logo--light { display: none; }
	:root:not([data-theme="light"]) .logo .logo--dark { display: block; }
}
.theme-icon--sun { display: none; }
:root[data-theme="dark"] .theme-icon--moon { display: none; }
:root[data-theme="dark"] .theme-icon--sun { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-icon--moon { display: none; }
	:root:not([data-theme="light"]) .theme-icon--sun { display: block; }
}

.site-nav { display: flex; align-items: stretch; gap: 2px; height: 44px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 0; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav.has-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.site-nav > a, .site-nav > button {
	position: relative; display: flex; align-items: center; gap: 3px; padding: 0 12px;
	font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap;
	background: none; border: 0; text-decoration: none;
}
.site-nav > a:hover, .site-nav > button:hover { color: var(--text); text-decoration: none; }
.site-nav > .is-active { color: var(--text); font-weight: 600; }
.site-nav > .is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); }
.site-nav .nav-sep { flex: 0 0 1px; background: var(--hair); margin: 13px 8px; }
.site-nav .tag { font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--fill); color: var(--text-2); margin-left: 3px; }

.menu {
	position: fixed; z-index: 60; min-width: 220px; padding: 6px;
	background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--shadow-pop);
}
.menu a, .menu button {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px;
	font-size: 14px; color: var(--text); background: none; border: 0; text-align: left; text-decoration: none;
}
.menu a:hover, .menu button:hover { background: var(--fill); text-decoration: none; }
.menu .menu__head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 12px; border-bottom: 1px solid var(--hair); margin-bottom: 6px; }
.menu .menu__head .avatar { width: 40px; height: 40px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 36px; padding: 0 16px; border-radius: 980px; border: 0;
	font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none;
	background: var(--fill); color: var(--text); transition: filter .15s, opacity .15s;
}
.btn:hover { text-decoration: none; filter: brightness(.96); }
:root[data-theme="dark"] .btn:hover { filter: brightness(1.15); }
.btn:disabled, .btn.is-busy { opacity: .55; pointer-events: none; }
.btn--primary { background: var(--accent-btn); color: var(--accent-btn-text); }
.btn--dark { background: var(--pill); color: var(--pill-text); }
.btn--tint { background: var(--accent-tint); color: var(--accent-text); }
.btn--danger { background: var(--danger-tint); color: var(--danger); }
.btn--ghost { background: transparent; color: var(--accent-text); padding: 0 8px; }
.btn--sm { min-height: 30px; padding: 0 12px; font-size: 13px; }
.btn--lg { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

.icon-btn {
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--text);
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-btn:hover { background: var(--fill); }
.icon-btn--sm { width: 32px; height: 32px; border-radius: 16px; }
.icon-btn--filled { background: var(--fill); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
.login-pill { height: 44px; display: inline-flex; align-items: center; border: 0; background: none; padding: 0; }
.login-pill span { height: 34px; padding: 0 16px; border-radius: 17px; background: var(--pill); color: var(--pill-text); font-size: 14px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; }

.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: var(--accent-text); white-space: nowrap; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; min-width: 0; }
.card--flush { padding: 0; overflow: hidden; }
.card--tight { padding: 20px; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.card__head h2 a { color: inherit; }
.card__head .card__sub { display: block; font-size: 13px; color: var(--text-2); font-weight: 400; margin-top: 2px; letter-spacing: 0; }
.card__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tile { background: var(--fill); border-radius: var(--radius-sm); padding: 16px; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 24px; }
.page-head__titles { min-width: 0; flex: 1 1 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.crumbs a { color: var(--text-2); }
.crumbs > * + *::before { content: "›"; margin-right: 6px; color: var(--dot); }
.page-head h1 { word-break: break-word; }
.page-head__sub { color: var(--text-2); margin-top: 4px; font-size: 14px; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 100%; min-width: 0; }
.col-main > .page-head { margin-bottom: 0; align-items: center; }

.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-tint); color: var(--text); }
.notice .i { color: var(--accent-text); margin-top: 1px; }
.notice--muted { background: var(--fill); }
.notice--muted .i { color: var(--text-2); }
.notice__close { margin-left: auto; margin-top: -8px; margin-right: -10px; }

.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--text); position: relative; min-width: 0; }
a.list-row:hover, button.list-row:hover { text-decoration: none; }
a.list-row:hover .list-row__title, button.list-row:hover .list-row__title { color: var(--accent-text); }
button.list-row { width: 100%; border: 0; background: none; text-align: left; padding-left: 0; padding-right: 0; }
.list-row + .list-row::before { content: ""; position: absolute; top: 0; right: 0; left: var(--sep-inset, 56px); height: 1px; background: var(--hair); }
.list--compact .list-row { padding: 10px 0; }
.list-row__icon { flex: 0 0 42px; height: 42px; border-radius: 21px; display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent-text); }
.list-row__icon--sq { flex-basis: 38px; height: 38px; border-radius: 11px; }
.list-row__icon--warn { background: var(--warn-tint); color: var(--warn); }
.list-row__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.list-row__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.list-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--text-2); }
.list-row__end { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.new-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); flex-shrink: 0; }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 980px; background: var(--fill); color: var(--text); font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill--accent { background: var(--accent-tint); color: var(--accent-text); }
.pill--info { background: var(--info-tint); color: var(--info); }
.pill--warn { background: var(--warn-tint); color: var(--warn); }
.pill--danger { background: var(--danger-tint); color: var(--danger); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 6px; background: var(--fill); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }

.type-icon { position: relative; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.type-icon--S { background: var(--type-s-tint); color: var(--type-s); }
.type-icon--I { background: var(--type-s-tint); color: var(--type-s); }
.type-icon--T { background: var(--type-t-tint); color: var(--type-t); }
.type-icon--P { background: var(--type-p-tint); color: var(--type-p); }
.type-icon--H { background: var(--type-h-tint); color: var(--type-h); }
.type-icon--sm { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; }
.type-icon--sm .i { width: 16px; height: 16px; }
.type-icon__badge { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--surface); color: var(--text-2); box-shadow: 0 0 0 1px var(--hair-strong); font-size: 10.5px; font-weight: 600; line-height: 19px; text-align: center; font-variant-numeric: tabular-nums; }

.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--fill); flex-shrink: 0; display: block; }
.avatar--sm { width: 28px; height: 28px; }
.avatar--lg { width: 96px; height: 96px; }
.initials { width: 36px; height: 36px; border-radius: 50%; background: var(--fill); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; overflow: hidden; }
.initials img { width: 100%; height: 100%; object-fit: cover; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--text); }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hint { font-size: 13px; color: var(--text-2); }
.input, .select, .textarea {
	width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px;
	border: 1px solid transparent; background: var(--fill); color: var(--text); font-size: 15px;
	transition: border-color .15s, background .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.input--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent-btn); flex-shrink: 0; }
.search { position: relative; display: flex; align-items: center; }
.search .i { position: absolute; left: 12px; color: var(--text-2); pointer-events: none; }
.search .input { padding-left: 38px; min-height: 38px; border-radius: 10px; font-size: 14px; }

.segmented { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--fill-2); gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented > * {
	height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text);
	font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none;
}
.segmented > *:hover { text-decoration: none; }
.segmented > [aria-pressed="true"], .segmented > [aria-current="page"], .segmented > .is-on { background: var(--seg-on); box-shadow: var(--seg-shadow); font-weight: 600; }
.segmented--sm > * { height: 30px; padding: 0 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > * {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 980px;
	border: 1px solid var(--hair-strong); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none;
}
.chips > *:hover { text-decoration: none; border-color: var(--text-2); }
.chips > [aria-pressed="true"], .chips > .is-on { background: var(--pill); color: var(--pill-text); border-color: var(--pill); }

.picker { position: relative; }
.picker__panel { min-width: 220px; }
.picker__panel label { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; cursor: pointer; }
.picker__panel label:hover { background: var(--fill); }
.picker__panel input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-btn); }

dialog.modal {
	width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 22px;
	background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop); overflow: hidden;
}
dialog.modal[open] { display: flex; flex-direction: column; animation: pop .18s ease-out; }
dialog.modal::backdrop { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.modal--wide { width: min(760px, calc(100vw - 24px)); }
.modal__head { display: flex; align-items: center; gap: 12px; padding: 18px 16px 8px 24px; }
.modal__head h2 { font-size: 20px; flex: 1 1 auto; min-width: 0; }
.modal__body { padding: 8px 24px 24px; overflow-y: auto; }
.modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 24px 20px; border-top: 1px solid var(--hair); }
.modal__intro { text-align: center; margin-bottom: 20px; }
.modal__intro h2 { font-size: 26px; margin-bottom: 6px; }
.modal__intro p { color: var(--text-2); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; font-size: 14px; }
.dl dt { color: var(--text-2); }
.dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.toasts { position: fixed; top: 112px; right: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: calc(100vw - 32px); }
.toast {
	pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; max-width: 380px; padding: 12px 16px; border-radius: 14px;
	background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop); border: 1px solid var(--hair); font-size: 14px;
	animation: pop .18s ease-out;
}
.toast .i { color: var(--accent-text); margin-top: 1px; }
.toast--error .i { color: var(--danger); }
.toast button { margin-left: 8px; }

.table-wrap { overflow: auto; border-radius: var(--radius-sm); }
.table-wrap--tall { max-height: 600px; }
.table-wrap--mid { max-height: 500px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th { position: sticky; top: 0; z-index: 1; background: var(--surface); text-align: left; font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; padding: 0 12px 10px; white-space: nowrap; border-bottom: 1px solid var(--hair); }
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th[data-sort]::after { content: ""; display: inline-block; width: 10px; }
.table th[aria-sort="ascending"]::after { content: " ↑"; }
.table th[aria-sort="descending"]::after { content: " ↓"; }
.table td { padding: 12px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.is-link { cursor: pointer; }
.table tbody tr.is-link:hover td { background: var(--fill); }
.table tbody tr.is-link:hover td:first-child { border-radius: 10px 0 0 10px; }
.table tbody tr.is-link:hover td:last-child { border-radius: 0 10px 10px 0; }
.table .num, .table .text-right { text-align: right; }
.table--compact td { padding: 9px 12px; }
.table .sub-row td { background: var(--fill); border-bottom-color: transparent; padding-top: 8px; padding-bottom: 8px; }
.table-empty { padding: 32px 12px; text-align: center; color: var(--text-2); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--fill); min-width: 0; }
.stat .i { width: 24px; height: 24px; color: var(--accent-text); }
.stat__value { font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 13px; color: var(--text-2); }

.pager { display: flex; align-items: center; justify-content: center; gap: 4px; }
.pager__label { min-width: 64px; text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.spinner.spinner--inline { display: inline-block; width: 13px; height: 13px; border-width: 2px; margin: 0; vertical-align: -1px; }

.spinner { width: 24px; height: 24px; border: 2.5px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; margin: 32px auto; }
.empty { padding: 32px 0; text-align: center; color: var(--text-2); }

.site-footer { border-top: 1px solid var(--hair); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 24px; padding-bottom: 40px; font-size: 13px; color: var(--text-2); }
.site-footer .container > span { margin-right: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { color: var(--text-2); }

.hero { position: relative; overflow: hidden; }
.hero__photo { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; object-position: center 45%; filter: blur(8px); }
.hero__photo + .hero__veil { position: absolute; inset: 0; background: var(--overlay); }
.hero__inner { position: relative; padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.hero__inner > .news-card { flex: 999 1 600px; min-width: 0; }
.hero__inner > .events-card { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }

.news-card { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.dots { display: flex; align-items: center; gap: 5px; }
.dots span { display: block; height: 6px; width: 6px; border-radius: 3px; background: var(--dot); transition: width .25s, background .25s; }
.dots span.is-on { width: 18px; background: var(--accent); }
.slides { position: relative; min-height: 264px; display: grid; }
.slide { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; opacity: 0; visibility: hidden; transition: opacity .35s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.slide__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.slide__title { margin: 0; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.14; font-weight: 700; letter-spacing: -.022em; }
.slide__title a { color: var(--text); }
.slide__img { flex: 1 1 280px; max-width: 420px; min-width: 0; }
.slide__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; background: var(--fill); }
.slide__img--logo img { object-fit: contain; padding: 24px; }
.headline-tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.headline-tabs::-webkit-scrollbar { display: none; }
.headline-tabs button {
	flex: 1 0 140px; height: 76px; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--fill); color: var(--text-2);
	font-size: 13px; line-height: 1.3; font-weight: 500; text-align: left;
}
.headline-tabs button[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent-text); font-weight: 600; }

.events-card { padding: 28px 24px 14px; }
.events-scroll { flex: 1 1 auto; max-height: 452px; overflow-y: auto; scrollbar-width: thin; --sep-inset: 50px; }
.hero__inner { container-type: inline-size; }
@container (min-width: 964px) { .events-scroll { flex-basis: 0; min-height: 240px; max-height: none; } }
.events-scroll .list-row { gap: 12px; padding: 11px 0; }
.deadline-icon { color: var(--warn); display: flex; flex-shrink: 0; }

.ad-row { display: flex; flex-wrap: wrap; gap: 16px; }
.ad-row > .ad { flex: 1 1 260px; }
.ad { display: block; border-radius: 18px; overflow: hidden; color: inherit; text-align: center; }
.ad:hover { text-decoration: none; }
.ad img { max-width: 100%; display: block; margin: 0 auto; border-radius: 14px; }
.ad-thumb { flex: 0 0 136px; height: 64px; overflow: hidden; border-radius: 10px; background: var(--fill); }
.ad-thumb > .ad { width: 340px; transform: scale(.4); transform-origin: top left; pointer-events: none; }
.ad-preview { max-width: 340px; min-height: 64px; border-radius: var(--radius-sm); background: var(--fill); overflow: hidden; }
.ad-preview .muted { display: block; padding: 22px; text-align: center; }
.ad .text-center { text-align: center; } .ad .rounded { border-radius: 14px; } .ad .p-8 { padding: 2rem; }
.ad .mb-0 { margin-bottom: 0; } .ad .ms-5 { margin-left: 1.25rem; } .ad .text-white { color: #fff; } .ad .fs-3x { font-size: 2.25rem; font-weight: 700; }

.map-strip { margin-top: 24px; display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.map-strip::-webkit-scrollbar { display: none; }
.map-strip a { flex: 0 0 calc((100% - 42px) / 4); min-width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.map-strip a:hover { text-decoration: none; }
.map-strip a > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; background: var(--fill); margin-bottom: 6px; }
.map-strip__name { font-size: 13px; font-weight: 600; }
.map-strip__meta { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 12px; color: var(--text-2); }
.map-strip__meta img { width: 16px; height: 12px; flex-shrink: 0; border-radius: 2px; object-fit: cover; }

.feed { max-height: 560px; overflow-y: auto; scrollbar-width: thin; --sep-inset: 48px; }
.feed .list-row { align-items: flex-start; gap: 12px; padding: 14px 0; }
.feed__text { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.feed__media { margin-top: 8px; border-radius: 12px; max-height: 280px; object-fit: cover; width: 100%; }
.feed__quote { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--fill); font-size: 13px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.news-tile { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--text); transition: transform .2s; }
.news-tile:hover { text-decoration: none; transform: translateY(-2px); }
.news-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--fill); display: block; }
.news-tile img.is-logo { object-fit: contain; padding: 28px; }
.news-tile__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.news-tile__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.article { max-width: 760px; }
.article__img { width: 100%; border-radius: var(--radius); margin: 8px 0 24px; }
.article__body { font-size: 17px; line-height: 1.6; }

.composer .field + .field { margin-top: 16px; }
.composer__editor { margin-top: 16px; }
[data-composer-slot] { display: contents; }
.composer__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.msg { padding: 22px 24px 14px; }
.msg__head { display: flex; align-items: flex-start; gap: 12px; }
.msg__title { font-size: 19px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.msg__title--reply { display: flex; align-items: center; gap: 8px; }
.msg__title--reply > .i { flex-shrink: 0; color: var(--text-2); }
.msg__title--reply > span { min-width: 0; }
.msg__time { font-size: 13px; color: var(--text-2); margin-top: 3px; font-variant-numeric: tabular-nums; }
.msg__tools { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-top: -6px; margin-right: -8px; }
.msg__body { margin-top: 14px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.msg__body img { max-width: 100%; max-height: 300px; height: auto; border-radius: 10px; cursor: zoom-in; }
.msg__body ul, .msg__body ol { padding-left: 1.4em; }
.msg__body p { margin: 0 0 .7em; }
.msg__body p:last-child { margin-bottom: 0; }
.msg__body blockquote:not(.msg-quote) { margin: 0 0 .8em; padding-left: 12px; border-left: 3px solid var(--hair-strong); color: var(--text-2); }
.msg__foot { display: flex; align-items: center; gap: 4px; margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--hair); }
.msg__author { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); min-width: 0; }
.vote { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 17px; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vote:hover { background: var(--fill); }
.vote.is-up { color: var(--accent-text); }
.vote.is-up .i { fill: var(--accent-tint); }
.vote.is-down { color: var(--danger); }
.vote.is-down .i { fill: var(--danger-tint); }
.hidden-bar { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--fill); color: var(--text-2); font-size: 14px; text-align: left; }
.hidden-bar strong { color: var(--accent-text); font-weight: 600; margin-left: 4px; }
blockquote.msg-quote { margin: 0 0 14px; padding: 0; border: 0; }
.quote-card { border-radius: 14px; background: var(--fill); padding: 12px 14px; font-size: 14px; }
.quote-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--text-2); font-size: 13px; }
a.quote-card__head:hover { text-decoration: none; }
.quote-card__head strong { color: var(--text); }
.quote-card__body { max-height: 200px; overflow-y: auto; }
.quote-card__body img { max-height: 160px; }
.quote-card__body blockquote.msg-quote { display: none; }
.topic-side .list-row { --sep-inset: 56px; }
.forum-head { display: flex; flex-direction: column; gap: 18px; }
.forum-head__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.forum-head__titles { flex: 1 1 auto; min-width: 0; }
.forum-head__row > .pager { margin-left: auto; }
.msg__thread { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.composer__hint { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.composer__hint .i { flex-shrink: 0; margin-top: 2px; color: var(--accent-text); }
.suggest { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--fill); font-size: 14px; }
.suggest__label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.suggest__label:not(:first-child) { margin-top: 6px; }
.suggest__row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.suggest__row > .i { flex-shrink: 0; color: var(--text-2); }
.suggest__title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--text); }
.suggest__meta { flex-shrink: 0; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.topic-side .list-row[aria-current="page"] .list-row__title { color: var(--accent-text); }
.chip--author { max-width: 100%; color: var(--text); }
.list-row__end .chip { font-weight: 500; }
.list-row--more { justify-content: flex-end; padding-bottom: 0; }
.list-row--more .list-row__main { align-items: flex-end; }
.list-row--more::before { display: none; }
.move-results { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; margin: 0 -8px; }
.move-target { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 10px 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; }
.move-target:hover { background: var(--fill); }
.move-target[aria-pressed="true"] { background: var(--accent-tint); }
.move-target > .i { flex-shrink: 0; color: var(--text-2); }
.move-target[aria-pressed="true"] > .i { color: var(--accent-text); }
.move-target__title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.move-target__meta { flex-shrink: 0; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.thread-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px; }
.thread-card__top { display: flex; align-items: flex-start; gap: 10px; }
.thread-card__title { flex: 1 1 auto; min-width: 0; font-size: 19px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.thread-card__title a { color: inherit; }
.thread-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; min-width: 0; }
.thread-card__meta > * + *::before { content: "·"; margin-right: 6px; color: var(--text-2); font-weight: 400; }
.thread-card__head { display: block; color: var(--text); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.thread-card__head:hover { text-decoration: none; color: var(--text); }
.thread-card__replies { display: flex; flex-direction: column; padding-left: 14px; border-left: 2px solid var(--hair-strong); }
.thread-card__gap { padding: 2px 0 4px; font-size: 13px; color: var(--text-2); }
.thread-reply { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 14px; color: var(--text); min-width: 0; }
.thread-reply:hover { text-decoration: none; color: var(--text); }
.thread-reply:hover .thread-reply__text { color: var(--accent-text); }
.thread-reply__text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-reply__time { flex-shrink: 0; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.85); padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

.ck.ck-editor__main > .ck-editor__editable { background: var(--fill) !important; border-color: transparent !important; color: var(--text) !important; border-radius: 0 0 12px 12px !important; min-height: 140px; }
.ck.ck-editor__main > .ck-editor__editable.ck-focused { border-color: var(--accent) !important; box-shadow: none !important; }
.ck.ck-toolbar { border: 0 !important; border-radius: 12px 12px 0 0 !important; background: var(--fill-2) !important; }
.ck.ck-toolbar > .ck-toolbar__items { overflow-x: auto; flex-flow: row !important; }
.ck.ck-reset_all, .ck-reset_all :not(.ck-reset_all-excluded *) { color: var(--text) !important; }
.ck.ck-button:not(.ck-disabled):hover, .ck.ck-button.ck-on { background: var(--fill) !important; }
.ck.ck-dropdown__panel, .ck.ck-balloon-panel { background: var(--surface) !important; border-color: var(--hair) !important; }
.ck.ck-input { background: var(--fill) !important; }
.ck-splitbutton__arrow { display: none !important; }
.ck-content blockquote.msg-quote { margin: 12px 0; padding: 0; border: 0; font-style: normal; overflow: visible; }
.ck-content .quote-card { pointer-events: none; background: var(--surface); border: 1px solid var(--hair-strong); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.toolbar .search { flex: 1 1 220px; max-width: 300px; }
.date-range { display: flex; align-items: center; gap: 6px; }
.date-range .input { width: 150px; min-height: 38px; padding: 6px 10px; font-size: 14px; border-radius: 10px; }
.event-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.event-date small { display: block; color: var(--text-2); font-size: 12px; }
.event-link { color: var(--text); }
.event-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.event-head > .type-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; }
.event-head > .type-icon .i { width: 28px; height: 28px; }
.event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.event-fact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--fill); }
.event-fact__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.event-fact__value { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.event-fact .pill { margin-top: 4px; }
.event-fact__extra { margin-top: 6px; font-size: 13px; color: var(--text-2); }
.event-fact__extra strong { color: var(--text); }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sources { margin-top: 16px; }

.fc { --fc-border-color: var(--hair); --fc-page-bg-color: var(--surface); --fc-neutral-bg-color: var(--fill); --fc-today-bg-color: var(--accent-tint); --fc-event-bg-color: var(--accent-btn); --fc-event-border-color: transparent; --fc-event-text-color: var(--accent-btn-text); --fc-list-event-hover-bg-color: var(--fill); font-size: 13px; }
.fc .fc-toolbar { flex-wrap: wrap; gap: 10px; text-transform: capitalize; }
.fc .fc-toolbar-title { font-size: 20px; font-weight: 700; }
.fc .fc-button { background: var(--fill) !important; color: var(--text) !important; border: 0 !important; border-radius: 980px !important; padding: 6px 14px !important; font-weight: 600 !important; text-transform: capitalize; box-shadow: none !important; }
.fc .fc-button-group > .fc-button { border-radius: 0 !important; }
.fc .fc-button-group > .fc-button:first-child { border-radius: 980px 0 0 980px !important; }
.fc .fc-button-group > .fc-button:last-child { border-radius: 0 980px 980px 0 !important; }
.fc .fc-button-active, .fc .fc-button:active { background: var(--pill) !important; color: var(--pill-text) !important; }
.fc .fc-button:disabled { opacity: .45; }
.fc .fc-daygrid-event { border-radius: 6px; padding: 1px 4px; cursor: pointer; }
.fc .fc-col-header-cell-cushion, .fc .fc-daygrid-day-number { color: var(--text); text-decoration: none; }
.fc .fc-list-event-time { display: none; }
.fc a { color: inherit; }
.fc .fc-list-event { cursor: pointer; }
.fc .fc-scrollgrid { border-radius: 12px; overflow: hidden; }
.fc .fc-type-S, .fc .fc-type-I { --ev: var(--type-s); }
.fc .fc-type-T { --ev: var(--type-t); }
.fc .fc-type-P { --ev: var(--type-p); }
.fc .fc-type-H { --ev: var(--type-h); }
.fc [class*="fc-type-"] { --fc-event-bg-color: color-mix(in srgb, var(--ev) 22%, var(--surface)); --fc-event-border-color: var(--ev); --fc-event-text-color: var(--text); }
.fc .fc-daygrid-event[class*="fc-type-"] { border-width: 0 0 0 3px; font-weight: 500; }

.rank-hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; color: #fff; margin-bottom: 24px; }
.rank-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rank-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.rank-hero > div { position: relative; z-index: 1; max-width: 760px; }
.rank-hero h1 { color: #fff; margin-bottom: 10px; }
.rank-hero p { font-size: 16px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.rank-hero a { color: #8EF0BA; font-weight: 600; }
.rank-intro { font-size: 16px; max-width: 640px; }
.rank-lists { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.rank-list-card { display: flex; flex-direction: column; gap: 18px; }
.rank-list-card--link { color: var(--text); }
.rank-list-card--link:hover, .rank-archive:hover { text-decoration: none; box-shadow: var(--shadow-pop); }
.rank-list-card__head { display: flex; align-items: flex-start; gap: 14px; }
.rank-list-card__head h2 { font-size: 20px; }
.rank-list-card__head h2 a { color: inherit; }
.rank-list-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.rank-figures { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-2); }
.rank-figures > span { display: inline-flex; align-items: center; gap: 6px; }
.rank-figures strong { color: var(--text); font-variant-numeric: tabular-nums; }
.leaders { list-style: none; margin: 0; padding: 4px 14px; border-radius: var(--radius-sm); background: var(--fill); }
.leaders li { display: flex; align-items: center; gap: 12px; padding: 9px 0; min-width: 0; }
.leaders li + li { border-top: 1px solid var(--hair); }
.rank-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; }
.rank-archive { display: flex; align-items: center; gap: 14px; color: var(--text); }
.rank-archive .grow > span { display: block; }

.medal { --m: var(--bronze); flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--text); background: color-mix(in srgb, var(--m) 28%, var(--surface)); box-shadow: inset 0 0 0 2px var(--m); font-variant-numeric: tabular-nums; }
.medal--1 { --m: var(--gold); }
.medal--2 { --m: var(--silver); }

.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll > * { flex-shrink: 0; }

.me-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.me-banner__main { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.me-banner__title { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 17px; font-weight: 600; }
.me-banner__title strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.me-banner__figures { display: flex; flex-wrap: wrap; gap: 6px; }
.me-banner__figures span { padding: 3px 9px; border-radius: 980px; background: var(--fill); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.me-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; }
.podium__item { --m: var(--bronze); display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 18px 10px 16px; border: 0; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--m) 12%, var(--surface)); color: var(--text); text-align: center; transition: background .15s; }
.podium__item:hover { background: color-mix(in srgb, var(--m) 20%, var(--surface)); }
.podium__item--1 { --m: var(--gold); order: 2; padding-top: 30px; }
.podium__item--2 { --m: var(--silver); order: 1; }
.podium__item--3 { order: 3; }
.podium__item .medal { margin-bottom: 6px; }
.podium__item--1 .medal { flex-basis: 36px; width: 36px; height: 36px; font-size: 16px; }
.podium__name { font-size: 15px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.podium__points { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.podium__item--1 .podium__points { font-size: 26px; }
.podium__meta { font-size: 12px; color: var(--text-2); }
.podium__item.is-me { box-shadow: inset 0 0 0 2px var(--accent); }
.table tbody tr.is-me td, .table tbody tr.is-link.is-me:hover td { background: var(--accent-tint); }
.is-flash, tr.is-flash td { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 35% { background: color-mix(in srgb, var(--accent) 35%, var(--surface)); } }

.om { position: relative; flex: 1 0 auto; }
.om__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.om__veil { position: absolute; inset: 0; background: var(--overlay); z-index: -1; }
.om-start { max-width: 460px; margin: 0 auto; padding: 48px 0; }
.om-start__head { text-align: center; margin-bottom: 24px; }
.om-start__head .list-row__icon { margin: 0 auto 10px; }
.om-start__head h1 { font-size: 34px; }
.om-start__head p { color: var(--text-2); font-style: italic; margin-top: 6px; }
.status-bar { flex: 0 0 4px; align-self: stretch; border-radius: 2px; background: var(--dot); }
.status-bar--1 { background: var(--accent); } .status-bar--2 { background: var(--danger); } .status-bar--3 { background: var(--warn); } .status-bar--4 { background: var(--info); }
.status-dot { width: 10px; height: 10px; border-radius: 5px; background: var(--dot); flex-shrink: 0; }
.status-dot--1 { background: var(--accent); } .status-dot--2 { background: var(--danger); } .status-dot--3 { background: var(--warn); } .status-dot--4 { background: var(--info); }
.slots { display: flex; flex-direction: column; gap: 6px; }
.slot { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 4px 0 12px; border-radius: 10px; background: var(--fill); font-size: 13px; font-weight: 600; }
.slot.is-empty { border: 1px dashed var(--hair-strong); background: transparent; color: var(--text-2); font-weight: 500; cursor: pointer; }
.slot span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.budget { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.budget.is-over { background: var(--danger-tint); color: var(--danger); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 0; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px 30px; color: var(--text-2); }

.center-page { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 20px; flex: 1 0 auto; }
.center-page .card { width: min(460px, 100%); text-align: left; }
.center-page h1 { margin-bottom: 12px; }
.avatar-edit { display: flex; align-items: center; gap: 16px; }
.prose { max-width: 760px; font-size: 16px; line-height: 1.6; }
.prose h2 { margin: 1.4em 0 .5em; font-size: 20px; }
.prose ul { padding-left: 1.3em; }

.wrapped-hero { border-radius: var(--radius); padding: 48px 40px; margin-bottom: 40px; color: #fff; background: linear-gradient(135deg, #177A41 0%, #0B7A75 45%, #0B6BCB 100%); }
.wrapped-hero h1 { color: #fff; font-size: clamp(34px, 6vw, 60px); letter-spacing: -.03em; margin: 10px 0 12px; }
.wrapped-hero p { font-size: 18px; max-width: 640px; opacity: .92; }
.wrapped-hero__kicker { display: inline-block; padding: 4px 12px; border-radius: 980px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wrapped-hero__meta { display: block; margin-top: 18px; font-size: 13px; opacity: .8; }
.wrapped-section { margin-bottom: 48px; }
.wrapped-section > h2 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 16px; }
.wrapped-section__sub { margin: -10px 0 16px; }
.wrapped-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.wrapped-stat { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.wrapped-stat strong { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.wrapped-stat > span:first-of-type { color: var(--text-2); font-size: 14px; }
.wrapped-stat .wrapped-trend { font-size: 14px; }
.wrapped-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--text-2); font-variant-numeric: tabular-nums; }
.wrapped-trend--up { color: var(--accent-text); }
.wrapped-trend--down { color: var(--danger); }
.wrapped-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.wrapped-grid--wide { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; }
.wrapped .card h3 { margin-bottom: 12px; }
.wrapped-big { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; }
.wrapped-bar { display: grid; grid-template-columns: 140px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 14px; }
.wrapped-bar__track { height: 10px; border-radius: 5px; background: var(--fill); overflow: hidden; }
.wrapped-bar__fill { display: block; height: 100%; border-radius: 5px; background: var(--type-s); }
.wrapped-bar__value { text-align: right; color: var(--text-2); }
.wrapped-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.wrapped-rank li { counter-increment: r; display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hair); }
.wrapped-rank li:first-child { border-top: 0; }
.wrapped-rank li::before { content: counter(r) "."; min-width: 22px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.wrapped-rank li > :first-child { flex: 1 1 auto; min-width: 0; }
.wrapped-rank--small li { padding: 6px 0; font-size: 14px; }
.wrapped-top { list-style: none; margin: 0; padding: 0; }
.wrapped-top li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); }
.wrapped-top li:first-child { border-top: 0; padding-top: 0; }
.wrapped-top__rank { width: 26px; flex-shrink: 0; font-size: 18px; font-weight: 700; text-align: center; color: var(--text-2); }
.wrapped-top li:nth-child(-n+3) .wrapped-top__rank { color: var(--accent-text); }
.wrapped-top__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wrapped-top__main a { color: var(--text); }
.wrapped-top__bar { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.wrapped-top__bar span { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.wrapped-top__value { font-size: 18px; font-weight: 700; }
.wrapped-awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.wrapped-award { --tone: var(--accent-text); display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--tone) 12%, var(--surface)); }
.wrapped-award--danger { --tone: var(--danger); }
.wrapped-award--info { --tone: var(--info); }
.wrapped-award--warn { --tone: var(--warn); }
.wrapped-award__kicker { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--tone); }
.wrapped-award__pct { margin-top: 14px; font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--tone); }
.wrapped-award__name { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--text); }
.wrapped-award .wrapped-rank li { border-top-color: color-mix(in srgb, var(--tone) 22%, transparent); }
.wrapped-award .wrapped-rank a { color: var(--text); }
.wrapped-map { height: 600px; }
.wrapped-thread { display: flex; flex-direction: column; gap: 2px; }
.wrapped-thread a { color: var(--text); }
.wrapped-months { display: flex; flex-direction: column; gap: 2px; }
.wrapped-month { grid-template-columns: 96px minmax(0, 1fr) 32px; padding: 6px 8px; margin: 0 -8px; width: calc(100% + 16px); border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.wrapped-month:hover { background: var(--fill); }
.wrapped-month:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.wrapped-month .wrapped-bar__fill { background: var(--accent); transition: opacity .15s; }
.wrapped-month[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); font-weight: 600; }
.wrapped-months.is-filtered .wrapped-month:not([aria-pressed="true"]) .wrapped-bar__fill { opacity: .35; }
.wrapped-medals .medal { font-size: 11px; }
.leaflet-container { font: inherit; background: var(--fill); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop); }
.leaflet-popup-content { margin: 12px 14px; font-size: 13px; line-height: 1.45; }
.leaflet-control-attribution a[href="https://leafletjs.com"], .leaflet-control-attribution a[href="https://leafletjs.com"] + span { display: none; }
:root[data-theme="dark"] .wrapped-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .wrapped-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }
}

@media (max-width: 720px) {
	h1 { font-size: 28px; }
	.page { padding-top: 20px; }
	.card { padding: 20px; }
	.card--flush { padding: 0; }
	.news-card { padding: 20px; }
	.events-card { padding: 20px 18px 10px; }
	.msg { padding: 18px 18px 10px; }
	.thread-card { padding: 18px; }
	.forum-head .segmented .i { display: none; }
	.forum-head .page-head__actions .btn { min-height: 32px; padding: 0 12px; font-size: 13px; }
	.suggest__row { flex-wrap: wrap; row-gap: 2px; }
	.suggest__title { flex-basis: calc(100% - 30px); }
	.suggest__meta { padding-left: 26px; }
	.suggest__row .btn { margin-left: auto; }
	.thread-card__title { font-size: 17px; }
	.hero__inner { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
	.map-strip a { flex-basis: 42%; min-width: 130px; }
	.toasts { top: auto; bottom: 16px; right: 16px; left: 16px; }
	.toast { max-width: none; }
	.modal__body { padding: 8px 18px 20px; }
	.modal__head { padding: 16px 12px 6px 18px; }
	.modal__foot { padding: 12px 18px 16px; }
	.table td { padding: 10px 8px; }
	.table th { padding: 0 8px 8px; }
	.hide-sm { display: none !important; }
	.show-sm { display: inline !important; }
	.wrapped-hero { padding: 32px 22px; margin-bottom: 32px; }
	.wrapped-grid--wide { grid-template-columns: minmax(0, 1fr); }
	.wrapped-map { height: 380px; }
	.wrapped-bar { grid-template-columns: 96px minmax(0, 1fr) 30px; gap: 8px; font-size: 13px; }
	.wrapped-stat strong { font-size: 32px; }
	.wrapped-award__pct { font-size: 44px; }
	.event-head > .type-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }
	.event-facts { gap: 8px; }
	.event-fact { padding: 12px; }
	.event-fact__value { font-size: 15px; }
	.ad-thumb { flex-basis: 96px; height: 46px; }
	.ad-thumb > .ad { transform: scale(.28); }
	.chips--scroll { margin-left: -20px; margin-right: -20px; padding: 0 20px; }
	.card__actions--fill { flex-basis: 100%; }
	.card__actions--fill > .segmented { flex: 1; }
	.card__actions--fill > .segmented > * { flex: 1; justify-content: center; }
	.podium { gap: 8px; }
	.podium__item { padding: 14px 6px 12px; }
	.podium__item--1 { padding-top: 22px; }
	.podium__name { font-size: 13px; }
	.podium__points { font-size: 18px; }
	.podium__item--1 .podium__points { font-size: 20px; }
}

.only-narrow { display: none !important; }
@media (max-width: 1003px) { .only-narrow { display: inline-flex !important; } }
