:root {
color-scheme: dark;
--bg:          #0C0A14;   
--surface-1:   #14111F;   
--surface-2:   #1C1829;   
--surface-3:   #262137;   
--surface-4:   #302A45;   
--scrim:       rgba(8, 6, 14, .72);
--line-soft:   #1F1B2E;
--line:        #2E2842;
--line-strong: #40395A;
--text:        #ECE9F5;   
--text-2:      #A6A0BA;   
--text-3:      #908AA8;   
--text-on-accent: #FFFFFF;
--violet:        #A57CFF; 
--violet-light:  #C4AEFF; 
--violet-strong: #7547F0; 
--violet-hover:  #8459F5;
--violet-press:  #6538E0;
--violet-tint:   #231A3D; 
--violet-tint-2: #2D2150;
--violet-line:   rgba(165, 124, 255, .38);
--violet-glow:   rgba(117, 71, 240, .28);
--amber:       #F2B84B;   
--amber-tint:  rgba(242, 184, 75, .12);
--green:       #3FC28A;
--green-tint:  rgba(63, 194, 138, .12);
--red:         #F0556A;
--red-tint:    rgba(240, 85, 106, .12);
--blue:        #7AAFFF;
--blue-tint:   rgba(122, 175, 255, .12);
--discord:     #5865F2;
--font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
--font-body:    "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
--font-mono:    ui-monospace, "SFMono-Regular", Consolas, monospace;
--font-read:    Georgia, "Iowan Old Style", "Times New Roman", serif; 
--fs-xs:   .75rem;    
--fs-sm:   .8125rem;  
--fs-md:   .875rem;   
--fs-base: .9375rem;  
--fs-lg:   1.0625rem; 
--fs-xl:   1.25rem;   
--fs-2xl:  1.5rem;    
--fs-3xl:  1.875rem;  
--fs-4xl:  2.375rem;  
--fs-5xl:  3rem;      
--lh-tight: 1.15;
--lh-snug:  1.3;
--lh-base:  1.55;
--lh-loose: 1.75;
--tracking-caps: .08em;
--s-1:  4px;
--s-2:  8px;
--s-3:  12px;
--s-4:  16px;
--s-5:  20px;
--s-6:  24px;
--s-8:  32px;
--s-10: 40px;
--s-12: 48px;
--s-16: 64px;
--s-20: 80px;
--r-1: 4px;
--r-2: 6px;    
--r-3: 8px;    
--r-pill: 999px; 
--sh-1:   0 1px 0 rgba(0, 0, 0, .35);
--sh-2:   0 6px 18px -8px rgba(0, 0, 0, .65);
--sh-pop: 0 18px 40px -14px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
--ring:   0 0 0 2px var(--bg), 0 0 0 4px var(--violet);
--d-fast: 150ms;
--d:      200ms;
--d-slow: 250ms;
--ease:   cubic-bezier(.2, .7, .2, 1);
--header-h:   60px;
--container:  1320px;
--gutter:     var(--s-4);
--cover-ratio: 2 / 3;
--z-sticky:  20;
--z-header:  50;
--z-drawer:  80;
--z-menu:    90;
--z-modal:   100;
--z-toast:   110;
}
@media (min-width: 640px)  { :root { --gutter: var(--s-6); } }
@media (min-width: 1100px) { :root { --gutter: var(--s-8); } }
@media (prefers-reduced-motion: reduce) {
:root { --d-fast: 0ms; --d: 0ms; --d-slow: 0ms; }
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
scroll-padding-top: calc(var(--header-h) + var(--s-4));
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
min-height: 100vh;
display: flex;
flex-direction: column;
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
font-size: var(--fs-base);
line-height: var(--lh-base);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
svg.i { flex-shrink: 0; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
ul[class], ol[class] { list-style: none; padding: 0; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
font-weight: 700;
line-height: var(--lh-tight);
letter-spacing: -.01em;
text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4, h5, h6 { font-size: var(--fs-base); }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
small { font-size: var(--fs-sm); }
code, kbd, pre { font-family: var(--font-mono); font-size: .9em; }
kbd {
display: inline-flex; align-items: center; justify-content: center;
min-width: 1.6em; padding: 0 .4em; height: 1.6em;
border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: var(--r-1);
background: var(--surface-2); color: var(--text-2); font-size: var(--fs-xs); line-height: 1;
}
a { color: var(--violet); text-decoration: none; transition: color var(--d-fast) var(--ease); }
a:hover { color: var(--violet-light); }
.prose a, a.link { text-decoration: underline; text-decoration-color: var(--violet-line); text-underline-offset: 3px; }
.prose a:hover, a.link:hover { text-decoration-color: currentColor; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: var(--r-1); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }
::selection { background: var(--violet-strong); color: #fff; }
::placeholder { color: var(--text-3); opacity: 1; }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
.sr-only {
position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
position: absolute; left: var(--s-4); top: -100px; z-index: var(--z-toast);
padding: var(--s-2) var(--s-4); border-radius: var(--r-1);
background: var(--violet-strong); color: #fff; font-weight: 600;
}
.skip-link:focus { top: var(--s-2); color: #fff; }
.muted   { color: var(--text-2); }
.faint   { color: var(--text-3); }
.accent  { color: var(--violet); }
.num     { font-variant-numeric: tabular-nums; }
.nowrap  { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-right { text-align: right; }
.caps {
font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-caps);
text-transform: uppercase; color: var(--text-3);
}
.prose { max-width: 72ch; line-height: var(--lh-loose); color: var(--text-2); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { border-left: 2px solid var(--violet-line); padding-left: 1em; color: var(--text-2); font-style: italic; }
.prose strong { color: var(--text); }
.container {
width: 100%;
max-width: calc(var(--container) + 2 * var(--gutter));
margin-inline: auto;
padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.container--tight  { max-width: calc(560px + 2 * var(--gutter)); }
.site-main { flex: 1 0 auto; padding-bottom: var(--s-16); }
.site-main:focus { outline: none; }
.site-header {
position: sticky; top: 0; z-index: var(--z-header);
height: var(--header-h);
background: color-mix(in srgb, var(--bg) 92%, transparent);
border-bottom: 1px solid var(--line-soft);
}
@supports not (background: color-mix(in srgb, red, blue)) { .site-header { background: var(--bg); } }
.header-inner { display: flex; align-items: center; gap: var(--s-4); height: 100%; }
.brand {
display: inline-flex; align-items: center; gap: var(--s-2);
color: var(--text); flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand__logo { width: 28px; height: 28px; border-radius: var(--r-1); }
.brand__name {
font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; line-height: 1;
}
.brand__name span { color: var(--violet); }
.main-nav { display: flex; align-items: center; gap: var(--s-1); margin-left: var(--s-4); }
.main-nav__link {
position: relative; display: inline-flex; align-items: center; gap: 6px;
height: var(--header-h); padding: 0 var(--s-3);
color: var(--text-2); font-size: var(--fs-md); font-weight: 500;
}
.main-nav__link:hover { color: var(--text); }
.main-nav__link[aria-current="page"] { color: var(--text); }
.main-nav__link[aria-current="page"]::after {
content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: -1px;
height: 2px; background: var(--violet); border-radius: 2px 2px 0 0;
}
.header-search { position: relative; flex: 1 1 auto; max-width: 420px; margin-left: auto; }
.header-search__field {
display: flex; align-items: center; gap: var(--s-2);
height: 38px; padding: 0 var(--s-3);
background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-2);
color: var(--text-3);
transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.header-search__field:focus-within { border-color: var(--violet-line); background: var(--surface-2); color: var(--text-2); }
.header-search__input {
flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none;
color: var(--text); font-size: var(--fs-md);
}
.header-search__input::-webkit-search-cancel-button { display: none; }
.header-search__field:focus-within kbd { display: none; }
.search-pop {
position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: var(--z-menu);
background: var(--surface-2); border-radius: var(--r-3); box-shadow: var(--sh-pop);
padding: var(--s-1); max-height: min(70vh, 520px); overflow-y: auto;
}
.search-pop__item {
display: flex; align-items: center; gap: var(--s-3);
padding: var(--s-2); border-radius: var(--r-2); color: var(--text);
}
.search-pop__item:hover, .search-pop__item[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.search-pop__cover { width: 36px; height: 54px; object-fit: cover; border-radius: var(--r-1); background: var(--surface-3); flex-shrink: 0; }
.search-pop__title { font-weight: 500; font-size: var(--fs-md); line-height: var(--lh-snug); }
.search-pop__meta { font-size: var(--fs-xs); color: var(--text-3); }
.search-pop__all {
display: flex; align-items: center; justify-content: space-between;
padding: var(--s-2) var(--s-3); margin-top: var(--s-1);
border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500;
}
.search-pop__empty { padding: var(--s-4); color: var(--text-3); font-size: var(--fs-sm); text-align: center; }
.header-actions { display: flex; align-items: center; gap: var(--s-1); flex-shrink: 0; }
.icon-btn {
position: relative; display: inline-flex; align-items: center; justify-content: center;
width: 38px; height: 38px; border-radius: var(--r-2);
color: var(--text-2);
transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn[aria-current="page"] { color: var(--violet); }
.icon-btn .count {
position: absolute; top: 3px; right: 2px;
}
.adult-switch {
display: inline-flex; align-items: center; gap: 6px;
height: 30px; padding: 0 var(--s-2) 0 6px; margin-right: var(--s-1);
border: 1px solid var(--line); border-radius: var(--r-1);
font-size: var(--fs-xs); font-weight: 600; color: var(--text-3);
transition: border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.adult-switch:hover { border-color: var(--line-strong); color: var(--text-2); }
.adult-switch__track {
position: relative; width: 22px; height: 12px; border-radius: 6px; background: var(--surface-4);
transition: background var(--d-fast) var(--ease);
}
.adult-switch__track::after {
content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%;
background: var(--text-3); transition: transform var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.adult-switch[aria-pressed="true"] { color: var(--text); border-color: var(--violet-line); }
.adult-switch[aria-pressed="true"] .adult-switch__track { background: var(--violet-strong); }
.adult-switch[aria-pressed="true"] .adult-switch__track::after { transform: translateX(10px); background: #fff; }
.account-btn {
display: inline-flex; align-items: center; gap: var(--s-2);
height: 38px; padding: 0 var(--s-2) 0 4px; margin-left: var(--s-1);
border-radius: var(--r-2); color: var(--text-2);
}
.account-btn:hover, .account-btn[aria-expanded="true"] { background: var(--surface-2); color: var(--text); }
.account-btn__name { font-size: var(--fs-md); font-weight: 500; max-width: 120px; }
.menu-wrap { position: relative; }
.menu {
position: absolute; top: calc(100% + 6px); right: 0; z-index: var(--z-menu);
min-width: 232px; padding: var(--s-1);
background: var(--surface-2); border-radius: var(--r-3); box-shadow: var(--sh-pop);
transform-origin: top right;
animation: menu-in var(--d-fast) var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.menu__head { padding: var(--s-2) var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); margin-bottom: var(--s-1); }
.menu__head strong { display: block; font-size: var(--fs-md); }
.menu__head span { font-size: var(--fs-xs); color: var(--text-3); }
.menu__item {
display: flex; align-items: center; gap: var(--s-3); width: 100%;
padding: 7px var(--s-3); border-radius: var(--r-2);
color: var(--text-2); font-size: var(--fs-md); text-align: left;
}
.menu__item .i { color: var(--text-3); }
.menu__item:hover { background: var(--surface-3); color: var(--text); }
.menu__item:hover .i { color: var(--violet); }
.menu__item--danger:hover { color: var(--red); }
.menu__item--danger:hover .i { color: var(--red); }
.menu__sep { height: 1px; background: var(--line); margin: var(--s-1) 0; }
.menu__label { padding: var(--s-2) var(--s-3) 2px; }
.burger { display: none; }
.drawer { display: none; }
@media (max-width: 959px) {
.main-nav, .header-search, .header-actions .adult-switch, .account-btn__name { display: none; }
.burger { display: inline-flex; }
.header-actions { margin-left: auto; }
.drawer {
display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-drawer);
background: var(--bg); overflow-y: auto; padding: var(--s-4) var(--gutter) var(--s-12);
transform: translateX(100%); visibility: hidden;
transition: transform var(--d) var(--ease), visibility 0s linear var(--d);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform var(--d) var(--ease); }
.drawer .header-search { display: block; max-width: none; margin: 0 0 var(--s-4); }
.drawer__nav { display: grid; gap: 2px; }
.drawer__link {
display: flex; align-items: center; gap: var(--s-3);
padding: var(--s-3); border-radius: var(--r-2);
color: var(--text); font-size: var(--fs-lg); font-weight: 500;
}
.drawer__link .i { color: var(--text-3); }
.drawer__link[aria-current="page"] { background: var(--violet-tint); }
.drawer__link[aria-current="page"] .i { color: var(--violet); }
.drawer__section { margin-top: var(--s-6); }
.drawer__section .caps { display: block; padding: 0 var(--s-3) var(--s-2); }
.drawer .adult-switch { display: inline-flex; margin: var(--s-4) var(--s-3) 0; height: 36px; }
}
@media (max-width: 479px) {
.header-actions .icon-btn--msg { display: none; }
}
.site-footer {
flex-shrink: 0; border-top: 1px solid var(--line-soft);
padding: var(--s-6) 0; color: var(--text-3); font-size: var(--fs-sm);
}
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.site-footer .brand__name { font-size: var(--fs-base); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.site-footer__links a { color: var(--text-2); }
.site-footer__links a:hover { color: var(--text); }
.site-footer__note { flex-basis: 100%; font-size: var(--fs-xs); }
@media (min-width: 960px) { .site-footer__note { flex-basis: auto; margin-left: auto; } }
.page-head { padding: var(--s-8) 0 var(--s-6); }
.page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); }
.page-head__title { font-size: var(--fs-3xl); }
.page-head__sub { margin-top: var(--s-2); color: var(--text-2); max-width: 68ch; }
.page-head .breadcrumb { margin-bottom: var(--s-3); }
@media (max-width: 639px) { .page-head { padding: var(--s-6) 0 var(--s-4); } .page-head__title { font-size: var(--fs-2xl); } }
.section { margin-top: var(--s-12); }
.section-head {
display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-soft);
}
.section-head__title { font-size: var(--fs-xl); display: flex; align-items: baseline; gap: var(--s-3); }
.section-head__title .caps { font-family: var(--font-body); }
.section-head__more {
display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
font-size: var(--fs-sm); font-weight: 500;
}
.section-head__more .i { transition: transform var(--d-fast) var(--ease); }
.section-head__more:hover .i { transform: translateX(2px); }
.stack   { display: flex; flex-direction: column; gap: var(--s-4); }
.stack-sm { display: flex; flex-direction: column; gap: var(--s-2); }
.stack-lg { display: flex; flex-direction: column; gap: var(--s-8); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.split   { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.card-grid {
display: grid; gap: var(--s-6) var(--s-4);
grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--s-8) var(--s-5); } }
@media (max-width: 479px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-3); } }
.card-grid--dense { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: var(--s-5) var(--s-3); }
.card-row {
display: grid; grid-auto-flow: column; grid-auto-columns: 42%;
gap: var(--s-3); overflow-x: auto; scroll-snap-type: x mandatory;
margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: var(--s-2);
scrollbar-width: none;
}
.card-row::-webkit-scrollbar { display: none; }
.card-row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .card-row { grid-auto-columns: 28%; } }
@media (min-width: 960px) {
.card-row { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; margin: 0; padding: 0; gap: var(--s-8) var(--s-5); }
.card-row > :nth-child(n+7) { display: none; }
}
.shell { display: grid; gap: var(--s-6); padding-top: var(--s-6); }
@media (min-width: 1024px) {
.shell { grid-template-columns: 232px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
}
.shell__nav {
display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s-2);
border-bottom: 1px solid var(--line-soft);
}
.shell__nav::-webkit-scrollbar { display: none; }
.shell__nav-title { display: none; }
.shell__link {
display: inline-flex; align-items: center; gap: var(--s-2); flex-shrink: 0;
padding: 7px var(--s-3); border-radius: var(--r-2);
color: var(--text-2); font-size: var(--fs-md); font-weight: 500; white-space: nowrap;
}
.shell__link .i { color: var(--text-3); transition: color var(--d-fast) var(--ease); }
.shell__link:hover { background: var(--surface-1); color: var(--text); }
.shell__link[aria-current="page"] { background: var(--violet-tint); color: var(--text); }
.shell__link[aria-current="page"] .i { color: var(--violet); }
.shell__link .count { margin-left: auto; }
.shell__sep { display: none; }
@media (min-width: 1024px) {
.shell__nav {
position: sticky; top: calc(var(--header-h) + var(--s-6));
flex-direction: column; overflow: visible; margin: 0; padding: 0; border: 0;
}
.shell__nav-title { display: block; padding: 0 var(--s-3) var(--s-3); }
.shell__link { white-space: normal; }
.shell__sep { display: block; height: 1px; background: var(--line-soft); margin: var(--s-3) var(--s-3); }
}
.shell__main { min-width: 0; }
.shell__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.shell__head h1 { font-size: var(--fs-2xl); }
.shell__head p { color: var(--text-2); margin-top: 4px; font-size: var(--fs-md); }
@media (hover: none) { .header-search kbd { display: none; } }
.btn {
--btn-h: 38px;
display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
height: var(--btn-h); padding: 0 var(--s-4);
border: 1px solid var(--line); border-radius: var(--r-2);
background: var(--surface-2); color: var(--text);
font-size: var(--fs-md); font-weight: 500; line-height: 1; white-space: nowrap;
text-decoration: none; cursor: pointer; user-select: none;
transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease),
color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: var(--line-strong); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .i { margin-inline: -2px; }
.btn--primary { background: var(--violet-strong); border-color: var(--violet-strong); color: var(--text-on-accent); font-weight: 600; }
.btn--primary:hover { background: var(--violet-hover); border-color: var(--violet-hover); color: #fff; }
.btn--primary:active { background: var(--violet-press); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: transparent; color: var(--text); }
.btn--outline { background: transparent; }
.btn--accent-outline { background: transparent; border-color: var(--violet-line); color: var(--violet-light); }
.btn--accent-outline:hover { background: var(--violet-tint); border-color: var(--violet); color: var(--text); }
.btn--danger { background: transparent; border-color: rgba(240, 85, 106, .4); color: var(--red); }
.btn--danger:hover { background: var(--red-tint); border-color: var(--red); color: var(--red); }
.btn--success { background: transparent; border-color: rgba(63, 194, 138, .4); color: var(--green); }
.btn--success:hover { background: var(--green-tint); border-color: var(--green); color: var(--green); }
.btn--discord { background: var(--discord); border-color: var(--discord); color: #fff; }
.btn--discord:hover { background: #4752c4; border-color: #4752c4; color: #fff; }
.btn.is-active { background: var(--violet-tint); border-color: var(--violet-line); color: var(--text); }
.btn.is-active .i { color: var(--violet); }
.btn--sm { --btn-h: 30px; padding: 0 var(--s-3); font-size: var(--fs-sm); gap: 6px; }
.btn--lg { --btn-h: 46px; padding: 0 var(--s-6); font-size: var(--fs-base); }
.btn--icon { width: var(--btn-h); padding: 0; }
.btn--block { width: 100%; }
.btn-group { display: inline-flex; flex-wrap: wrap; gap: var(--s-2); }
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) {
.form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field__label .req { color: var(--violet); margin-left: 2px; }
.field__hint { font-size: var(--fs-xs); color: var(--text-3); }
.field__error { font-size: var(--fs-xs); color: var(--red); }
.input, .select, .textarea {
width: 100%; min-height: 40px; padding: 8px var(--s-3);
background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-2);
color: var(--text); font-size: var(--fs-md);
transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--violet); background: var(--surface-2); outline: none; box-shadow: 0 0 0 3px var(--violet-glow); }
.input[readonly] { color: var(--text-2); }
.input--sm, .select--sm { min-height: 32px; padding: 4px var(--s-2); font-size: var(--fs-sm); }
.textarea { min-height: 110px; resize: vertical; line-height: var(--lh-base); }
.textarea--code { font-family: var(--font-mono); font-size: var(--fs-sm); }
.select {
appearance: none; padding-right: 34px; cursor: pointer;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23847D9C' stroke-width='2' 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 10px center;
}
.select option { background: var(--surface-2); }
input[type="file"].input { padding: 6px; }
input[type="file"]::file-selector-button {
margin-right: var(--s-3); padding: 6px var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-1);
background: var(--surface-3); color: var(--text); font-size: var(--fs-sm); cursor: pointer;
}
input[type="color"] { width: 44px; height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface-1); }
.input-group { display: flex; }
.input-group > .input { border-radius: var(--r-2) 0 0 var(--r-2); }
.input-group > .btn { border-radius: 0 var(--r-2) var(--r-2) 0; margin-left: -1px; height: auto; }
.input-icon { position: relative; }
.input-icon > .i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.input-icon > .input { padding-left: 36px; }
.check {
display: inline-flex; align-items: center; gap: var(--s-2);
font-size: var(--fs-md); color: var(--text-2); cursor: pointer; user-select: none;
}
.check input { appearance: none; width: 16px; height: 16px; flex-shrink: 0; margin: 0;
border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface-1); cursor: pointer;
display: grid; place-content: center; transition: background var(--d-fast), border-color var(--d-fast); }
.check input[type="radio"] { border-radius: 50%; }
.check input::after { content: ""; width: 8px; height: 8px; transform: scale(0); transition: transform var(--d-fast) var(--ease);
background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check input[type="radio"]::after { clip-path: none; border-radius: 50%; width: 6px; height: 6px; }
.check input:checked { background: var(--violet-strong); border-color: var(--violet-strong); }
.check input:checked::after { transform: scale(1); }
.check:hover { color: var(--text); }
.switch { display: inline-flex; align-items: center; gap: var(--s-3); cursor: pointer; font-size: var(--fs-md); color: var(--text-2); }
.switch input { appearance: none; position: relative; width: 34px; height: 20px; margin: 0; border-radius: 10px;
background: var(--surface-4); cursor: pointer; transition: background var(--d-fast) var(--ease); flex-shrink: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%;
background: var(--text-2); transition: transform var(--d-fast) var(--ease), background var(--d-fast); }
.switch input:checked { background: var(--violet-strong); }
.switch input:checked::after { transform: translateX(14px); background: #fff; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
display: inline-flex; align-items: center; height: 30px; padding: 0 var(--s-3);
border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface-1);
font-size: var(--fs-sm); color: var(--text-2); cursor: pointer;
transition: all var(--d-fast) var(--ease);
}
.choice span:hover { border-color: var(--line-strong); color: var(--text); }
.choice input:checked + span { background: var(--violet-tint); border-color: var(--violet-line); color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.alert {
display: flex; align-items: flex-start; gap: var(--s-3);
padding: var(--s-3) var(--s-4); border-radius: var(--r-2);
border: 1px solid var(--line); border-left-width: 3px; background: var(--surface-1);
font-size: var(--fs-md); color: var(--text);
}
.alert > .i { margin-top: 2px; }
.alert--success { border-left-color: var(--green); } .alert--success > .i { color: var(--green); }
.alert--error   { border-left-color: var(--red); }   .alert--error > .i { color: var(--red); }
.alert--warning { border-left-color: var(--amber); } .alert--warning > .i { color: var(--amber); }
.alert--info    { border-left-color: var(--violet); } .alert--info > .i { color: var(--violet); }
.alert + .alert { margin-top: var(--s-2); }
.flash-stack { margin-bottom: var(--s-5); }
.count {
display: inline-flex; align-items: center; justify-content: center;
min-width: 17px; height: 17px; padding: 0 5px; border-radius: var(--r-pill);
background: var(--violet-strong); color: #fff;
font-size: 10.5px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
box-shadow: 0 0 0 2px var(--bg);
}
.count--muted { background: var(--surface-4); color: var(--text-2); box-shadow: none; }
.count--danger { background: var(--red); }
.count[hidden], .badge[hidden] { display: none !important; }
.chip {
display: inline-flex; align-items: center; gap: 6px;
height: 28px; padding: 0 10px;
border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface-1);
color: var(--text-2); font-size: var(--fs-sm); line-height: 1; white-space: nowrap;
transition: all var(--d-fast) var(--ease);
}
a.chip:hover, button.chip:hover { border-color: var(--line-strong); color: var(--text); background: var(--surface-2); }
.chip.is-on, .chip[aria-pressed="true"] { border-color: var(--violet-line); background: var(--violet-tint); color: var(--text); }
.chip.is-excluded { border-color: rgba(240, 85, 106, .45); background: var(--red-tint); color: var(--red); text-decoration: line-through; }
.chip__n { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.tag {
display: inline-flex; align-items: center; gap: 4px;
height: 20px; padding: 0 6px; border-radius: 3px;
background: var(--surface-3); color: var(--text-2);
font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap;
max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.tag--accent { background: var(--violet-tint-2); color: var(--violet-light); }
.tag--new    { background: var(--violet-strong); color: #fff; }
.tag--adult  { background: #C22F45; color: #fff; }
.tag--amber  { background: var(--amber-tint); color: var(--amber); }
.tag--green  { background: var(--green-tint); color: var(--green); }
.tag--red    { background: var(--red-tint); color: var(--red); }
.tag--blue   { background: var(--blue-tint); color: var(--blue); }
.tag--solid  { background: rgba(12, 10, 20, .82); color: var(--text); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.status--ongoing::before   { background: var(--green); }
.status--completed::before { background: var(--violet); }
.status--hiatus::before    { background: var(--amber); }
.status--cancelled::before, .status--dropped::before { background: var(--red); }
.panel {
background: var(--surface-1); border: 1px solid var(--line-soft); border-radius: var(--r-3);
}
.panel__head {
display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line-soft);
}
.panel__title { font-size: var(--fs-base); font-weight: 700; display: flex; align-items: center; gap: var(--s-2); }
.panel__title .i { color: var(--violet); }
.panel__body { padding: var(--s-5); }
.panel__body--flush { padding: 0; }
.panel__foot { padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line-soft); font-size: var(--fs-sm); }
@media (max-width: 639px) { .panel__head, .panel__body { padding-inline: var(--s-4); } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-4); font-size: var(--fs-md); }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; color: var(--text); min-width: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--surface-1); }
.table { width: 100%; font-size: var(--fs-md); }
.table th {
position: sticky; top: 0; z-index: 1;
padding: 10px var(--s-4); text-align: left; white-space: nowrap;
background: var(--surface-1); border-bottom: 1px solid var(--line);
font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-3);
}
.table td { padding: 10px var(--s-4); border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--d-fast); }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { text-align: right; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions > * + * { margin-left: 4px; }
.table .actions form { display: inline; }
.table-title { display: flex; align-items: center; gap: var(--s-3); min-width: 180px; }
.table-title img { width: 32px; height: 48px; object-fit: cover; border-radius: 3px; background: var(--surface-3); flex-shrink: 0; }
.table-title strong { display: block; font-weight: 600; color: var(--text); }
.table-title small { color: var(--text-3); }
tr.is-muted td { opacity: .6; }
.tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
position: relative; display: inline-flex; align-items: center; gap: var(--s-2);
padding: 10px var(--s-3); color: var(--text-2); font-size: var(--fs-md); font-weight: 500; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"], .tab[aria-current="page"], .tab.is-active { color: var(--text); }
.tab[aria-selected="true"]::after, .tab[aria-current="page"]::after, .tab.is-active::after {
content: ""; position: absolute; left: var(--s-2); right: var(--s-2); bottom: -1px; height: 2px; background: var(--violet);
}
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-2); background: var(--surface-1); border: 1px solid var(--line-soft); }
.seg__btn {
display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
border-radius: var(--r-1); color: var(--text-2); font-size: var(--fs-sm); font-weight: 500;
}
.seg__btn:hover { color: var(--text); }
.seg__btn[aria-pressed="true"], .seg__btn.is-active { background: var(--surface-3); color: var(--text); }
.modal-overlay {
position: fixed; inset: 0; z-index: var(--z-modal);
display: flex; align-items: center; justify-content: center; padding: var(--s-4);
background: var(--scrim);
animation: fade-in var(--d) var(--ease);
}
.modal-overlay[hidden] { display: none !important; }
@keyframes fade-in { from { opacity: 0; } }
.modal {
width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto;
background: var(--surface-2); border-radius: var(--r-3); box-shadow: var(--sh-pop);
animation: modal-in var(--d) var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.modal__title { font-size: var(--fs-lg); }
.modal__body { padding: var(--s-5); display: grid; gap: var(--s-4); }
.modal__foot { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
.modal__msg { font-size: var(--fs-sm); }
.modal__msg--ok { color: var(--green); }
.modal__msg--err { color: var(--red); }
.empty {
display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
padding: var(--s-12) var(--s-6); text-align: center;
border: 1px dashed var(--line); border-radius: var(--r-3); color: var(--text-2);
}
.empty > .i { color: var(--text-3); }
.empty__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
.empty p { max-width: 44ch; font-size: var(--fs-md); }
.empty--sm { padding: var(--s-6); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-1); margin-top: var(--s-10); }
.pager__link {
display: inline-flex; align-items: center; justify-content: center; gap: 4px;
min-width: 36px; height: 36px; padding: 0 var(--s-2); border-radius: var(--r-2);
color: var(--text-2); font-size: var(--fs-md); font-variant-numeric: tabular-nums;
}
.pager__link:hover { background: var(--surface-2); color: var(--text); }
.pager__link[aria-current="page"] { background: var(--violet-strong); color: #fff; font-weight: 600; }
.pager__gap { color: var(--text-3); padding: 0 4px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; padding: 0; font-size: var(--fs-sm); color: var(--text-3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--text-3); margin-right: 2px; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current="page"] { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.avatar {
--size: 32px;
display: inline-grid; place-items: center; flex-shrink: 0;
width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden;
background: var(--violet-tint-2); color: var(--violet-light);
font-family: var(--font-display); font-weight: 700; font-size: calc(var(--size) * .42); line-height: 1;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { --size: 24px; }
.avatar--sm { --size: 28px; }
.avatar--md { --size: 40px; }
.avatar--lg { --size: 64px; }
.avatar--xl { --size: 96px; }
.avatar--square { border-radius: var(--r-2); }
.cover {
position: relative; display: block; aspect-ratio: var(--cover-ratio); overflow: hidden;
border-radius: var(--r-2); background: var(--surface-2);
}
.cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover__fallback {
position: absolute; inset: 0; display: grid; place-items: center;
font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--line-strong);
background: linear-gradient(160deg, var(--surface-3), var(--surface-1));
}
.is-blurred { filter: blur(14px) saturate(.6); transform: scale(1.1); }
.card { position: relative; display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.card__media { position: relative; }
.card__cover { display: block; }
.card__cover img { transition: transform var(--d-slow) var(--ease), filter var(--d-slow) var(--ease); }
.card__badges { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; gap: 4px; pointer-events: none; z-index: 1; }
.card__badges .tag--adult { margin-left: auto; }
.card__reveal {
position: absolute; inset: 0; z-index: 2;
display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
padding: var(--s-3);
border-radius: var(--r-2);
background: linear-gradient(to top, rgba(10, 8, 17, .97) 0%, rgba(10, 8, 17, .9) 55%, rgba(10, 8, 17, .35) 100%);
opacity: 0; visibility: hidden;
transition: opacity var(--d) var(--ease), visibility 0s linear var(--d);
pointer-events: none;
}
.card__reveal > * { transform: translateY(6px); transition: transform var(--d) var(--ease); }
.card__reveal a, .card__reveal button { pointer-events: auto; }
.card__reveal-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--text); }
.card__team { font-size: var(--fs-xs); color: var(--violet-light); font-weight: 500; }
.card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card__tags li { font-size: 11px; color: var(--text-2); padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 3px; }
.card__excerpt { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.45; }
.card__reveal .btn { margin-top: 4px; }
.card:is(:hover, :focus-within) .card__reveal,
.card.is-open .card__reveal { opacity: 1; visibility: visible; transition: opacity var(--d) var(--ease); }
.card:is(:hover, :focus-within) .card__reveal > *,
.card.is-open .card__reveal > * { transform: none; }
.card:hover .card__cover img { transform: scale(1.04); }
.card__peek {
position: absolute; right: 6px; bottom: 6px; z-index: 3;
display: none; place-items: center; width: 30px; height: 30px; border-radius: var(--r-1);
background: rgba(12, 10, 20, .8); color: var(--text);
}
.card.is-open .card__peek { background: var(--violet-strong); }
@media (hover: none) {
.card__peek { display: grid; }
.card__reveal { padding-bottom: 44px; }
.card:hover .card__reveal, .card:focus-within:not(.is-open) .card__reveal { opacity: 0; visibility: hidden; }
.card.is-open .card__reveal { opacity: 1; visibility: visible; }
.card:hover .card__cover img { transform: none; }
}
.card__title { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; line-height: var(--lh-snug); letter-spacing: 0; }
.card__title a { color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--violet-light); }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-3); margin-top: -4px; }
.card__meta a { color: var(--text-2); }
.card__meta a:hover { color: var(--violet); }
.card__meta .dot::before { content: "·"; }
.card__rating { display: inline-flex; align-items: center; gap: 3px; color: var(--amber); font-weight: 600; }
.card__rating .i { fill: currentColor; }
.card--locked .card__cover img { filter: blur(14px) saturate(.6); transform: scale(1.1); }
.card__lock {
position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 6px;
color: var(--text); font-size: var(--fs-xs); font-weight: 600; text-align: center; padding: var(--s-3);
background: rgba(12, 10, 20, .45); border-radius: var(--r-2); pointer-events: none;
}
.card__lock .i { color: var(--red); }
.ch-list { display: grid; }
.ch-row {
display: flex; align-items: center; gap: var(--s-3);
padding: 10px var(--s-3); border-radius: var(--r-2);
color: var(--text); font-size: var(--fs-md);
transition: background var(--d-fast) var(--ease);
}
.ch-row:hover { background: var(--surface-2); color: var(--text); }
.ch-row__num { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-row__title { flex: 1; min-width: 0; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-row__date { color: var(--text-3); font-size: var(--fs-sm); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch-row.is-read .ch-row__num, .ch-row.is-read .ch-row__title { color: var(--text-3); }
.ch-row.is-read .ch-row__num::after { content: " ✓"; color: var(--violet); font-weight: 400; }
.stats { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat {
display: flex; flex-direction: column; gap: 2px;
padding: var(--s-4); border-radius: var(--r-3);
background: var(--surface-1); border: 1px solid var(--line-soft);
}
a.stat { color: inherit; transition: border-color var(--d-fast) var(--ease), background var(--d-fast); }
a.stat:hover { border-color: var(--line-strong); background: var(--surface-2); color: inherit; }
.stat__label { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: var(--tracking-caps); }
.stat__label .i { color: var(--text-3); }
.stat__value { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat__hint { font-size: var(--fs-xs); color: var(--text-3); }
.stat--alert { border-color: rgba(242, 184, 75, .35); }
.stat--alert .stat__value { color: var(--amber); }
.stat--accent .stat__value { color: var(--violet-light); }
.stars { --pct: 0%; position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; }
.stars::before { content: "★★★★★"; color: var(--surface-4); }
.stars::after { content: "★★★★★"; position: absolute; inset: 0; width: var(--pct); overflow: hidden; color: var(--amber); }
.progress { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--violet-strong); border-radius: inherit; transition: width var(--d-slow) var(--ease); }
.progress--lg { height: 10px; border-radius: 5px; }
.toast-host { position: fixed; left: 50%; bottom: var(--s-6); transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: var(--s-2); width: max-content; max-width: calc(100vw - 32px); }
.toast {
display: flex; align-items: center; gap: var(--s-3);
padding: 10px var(--s-4); border-radius: var(--r-2);
background: var(--surface-3); box-shadow: var(--sh-pop); color: var(--text); font-size: var(--fs-md);
animation: toast-in var(--d) var(--ease);
}
.toast .i { color: var(--violet); }
.toast--error .i { color: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.divider-label { display: flex; align-items: center; gap: var(--s-3); color: var(--text-3); font-size: var(--fs-xs); }
.divider-label::before, .divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot-sep > * + *::before { content: "·"; margin: 0 6px; color: var(--text-3); }
.inline-form { display: inline; }
.auth {
display: grid; place-items: center; padding: var(--s-12) var(--gutter) var(--s-8);
}
.auth__box { width: 100%; max-width: 400px; }
.auth__title { font-size: var(--fs-2xl); margin-bottom: var(--s-2); }
.auth__sub { color: var(--text-2); margin-bottom: var(--s-6); font-size: var(--fs-md); }
.auth__alt { margin-top: var(--s-5); text-align: center; font-size: var(--fs-md); color: var(--text-2); }
.error-page { padding-block: var(--s-16); }
.error-page__code {
font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: .9;
color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); letter-spacing: -.03em;
}
.error-page__title { font-size: var(--fs-3xl); margin-top: var(--s-4); }
.error-page__text { color: var(--text-2); margin-top: var(--s-3); max-width: 56ch; }
.error-page .btn-group { margin-top: var(--s-6); }
h2.panel__head, h3.panel__head { justify-content: flex-start; }
.contact-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.legal section + section { margin-top: var(--s-8); }
.legal h2 { font-size: var(--fs-lg); }
.muted a, .pj__login a, .empty p a, .auth__alt a, .field__hint a, .page-head__sub a, .alert a { text-decoration: underline; text-decoration-color: var(--violet-line); text-underline-offset: 3px; }
