

:root {
  color-scheme: dark;

  --bg:        #0A0A0A;
  --bg-2:      #141414;
  --surface:   #141414;
  --surface-2: #1F1F1F;
  --surface-3: #2A2A2A;
  --line:      #262626;
  --line-2:    #333333;
  --line-strong: rgba(255, 255, 255, .45);

  --ink:   #FFFFFF;
  --ink-2: #E9E9E9;
  --text:   #F0F0F0;
  --text-2: #9C9C9C;
  --text-3: rgba(255, 255, 255, .5);
  --ring:   rgba(255, 255, 255, .1);

  --ok:      #5FBF77;
  --warn:    #D9A03F;
  --danger:  #CF6A6A;
  --discord: #E9E9E9;

  --header-bg: rgba(10, 10, 10, .62);

  --shadow:   0 28px 60px -28px rgba(0, 0, 0, .75);
  --shadow-2: 0 14px 34px -22px rgba(0, 0, 0, .65);

  --hero-fade-1: rgba(10, 10, 10, .62);
  --hero-fade-2: rgba(10, 10, 10, .88);
  --hero-fade-3: #0A0A0A;
  --hero-img-opacity: .36;

  --scroller: rgba(255, 255, 255, .22);
  --scroller-hover: rgba(255, 255, 255, .4);
  --hole: rgba(255, 255, 255, .14);

  --film-edge: rgba(255, 255, 255, .5);
  --film-edge-2: rgba(255, 255, 255, .26);
  --film-glass: rgba(10, 10, 10, .78);
  --film-glass-line: rgba(255, 255, 255, .85);
  --film-scan: rgba(255, 255, 255, .04);
  --film-flash: rgba(255, 255, 255, .18);
  --film-vignette: rgba(10, 10, 10, .48);

  --sheet-paper: #FFFFFF;
  --sheet-mat: rgba(0, 0, 0, .14);
  --sheet-label: #000000;

  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239C9C9C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

  --icon-moon-display: none;
  --icon-sun-display:  block;

  --cta-shine: rgba(255, 255, 255, .9);
  --cta-btn-glow: rgba(255, 255, 255, .3);

  --overlay-1: rgba(26, 26, 26, .05);
  --overlay-2: rgba(26, 26, 26, .62);
  --overlay-3: rgba(26, 26, 26, .88);
  --cap-grad: linear-gradient(transparent, rgba(26, 26, 26, .85));
  --on-media: #FFFFFF;
  --media-chip-bg: #FFFFFF;
  --media-chip-text: #1A1A1A;
  --lb-backdrop: rgba(10, 10, 10, .94);
  --play-bg: rgba(26, 26, 26, .72);
  --dz-bg: rgba(10, 10, 10, .82);

  --r-sm: 8px;
  --r:    10px;
  --r-lg: 16px;
  --wrap: 1180px;

  --font:    'Proxima Nova', sans-serif;
  --display: 'Proxima Nova', sans-serif;
  --mono:    'Proxima Nova', sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg:        #FFFFFF;
  --bg-2:      #F7F7F5;
  --surface:   #FFFFFF;
  --surface-2: #F7F7F5;
  --surface-3: #E9E9E6;
  --line:      #E9E9E6;
  --line-2:    #E9E9E6;
  --line-strong: rgba(26, 26, 26, .5);

  --ink:   #000000;
  --ink-2: #1A1A1A;
  --text:   #1A1A1A;
  --text-2: #666666;
  --text-3: rgba(26, 26, 26, .55);
  --ring:   rgba(26, 26, 26, .08);

  --ok:      #4E9E63;
  --warn:    #B58A3A;
  --danger:  #B56161;
  --discord: #1A1A1A;

  --header-bg: rgba(255, 255, 255, .68);

  --shadow:   0 24px 48px -26px rgba(26, 26, 26, .25);
  --shadow-2: 0 12px 28px -18px rgba(26, 26, 26, .2);

  --hero-fade-1: rgba(255, 255, 255, .62);
  --hero-fade-2: rgba(255, 255, 255, .92);
  --hero-fade-3: #FFFFFF;
  --hero-img-opacity: .3;

  --scroller: rgba(26, 26, 26, .25);
  --scroller-hover: rgba(26, 26, 26, .45);
  --hole: rgba(26, 26, 26, .12);

  --film-edge: rgba(0, 0, 0, .6);
  --film-edge-2: rgba(0, 0, 0, .24);
  --film-glass: rgba(255, 255, 255, .86);
  --film-glass-line: rgba(0, 0, 0, .85);
  --film-scan: rgba(0, 0, 0, .045);
  --film-flash: rgba(255, 255, 255, .55);
  --film-vignette: rgba(255, 255, 255, .4);

  --sheet-paper: #FFFFFF;
  --sheet-mat: rgba(0, 0, 0, .08);
  --sheet-label: #000000;

  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

  --icon-moon-display: block;
  --icon-sun-display:  none;

  --cta-shine: rgba(0, 0, 0, .8);
  --cta-btn-glow: rgba(0, 0, 0, .3);

  --dz-bg: rgba(255, 255, 255, .85);
}

[style*="--accent"] { --accent: var(--ink) !important; }
[style*="--pf"]     { --pf: var(--ink) !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;

  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .25s ease, color .25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(36px, 5.5vw, 54px); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 17px; font-weight: 600; line-height: 1.35; }
strong, b { font-weight: 600; }
small { font-size: 13px; }
.muted { color: var(--text-2); }
.micro { font-size: 12.5px; line-height: 1.55; }
.mono { font-family: var(--mono); }
.accent { color: var(--ink); }
.link { color: var(--ink); font-weight: 600; }
.link:hover { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink); font-weight: 400; }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.micro, .stat-card__label, .cal__dow, .post__anchor, .event-row__month, .appstep__tag, .gov-card__status, .gov-card__unit { text-transform: uppercase; letter-spacing: .08em; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--cards { padding-block-start: clamp(14px, 2vw, 24px); }
.section--cards .notice { margin-bottom: clamp(22px, 3vw, 32px); }
.section--alt { background: var(--bg-2); }
.section--tight { margin-top: 26px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

* { scrollbar-width: thin; scrollbar-color: var(--scroller) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroller); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroller-hover); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); background: var(--surface-2); }
.theme-toggle svg { display: block; }
.theme-toggle__moon { display: var(--icon-moon-display); }
.theme-toggle__sun  { display: var(--icon-sun-display); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--bg-btn, var(--surface-2)); color: var(--btn-fg, var(--text));
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg-btn: var(--ink); --btn-fg: var(--bg); border-color: var(--ink); }
.btn--primary:hover { --bg-btn: var(--ink-2); border-color: var(--ink-2); }
.btn--ghost { --bg-btn: var(--surface); --btn-fg: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { --bg-btn: var(--surface-2); }
.btn--discord { --bg-btn: var(--ink-2); --btn-fg: var(--bg); border-color: var(--ink-2); }
.btn--discord:hover { --bg-btn: var(--ink); }
.btn--danger { --bg-btn: var(--surface); --btn-fg: var(--ink-2); border-color: var(--ink-2); }
.btn--danger:hover { --bg-btn: var(--ink); --btn-fg: var(--bg); border-color: var(--ink); }
.btn--muted { --bg-btn: var(--surface-3); --btn-fg: var(--text-3); border-color: var(--surface-3); cursor: not-allowed; }
.btn--muted:hover { transform: none; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block, .btn-block { width: 100%; }
.btn-group { display: inline-flex; gap: 10px; }
.btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-locked { opacity: .65; cursor: not-allowed; pointer-events: none; }
.btn-secondary { --bg-btn: var(--surface-2); --btn-fg: var(--ink-2); border-color: var(--line); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
  padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line);
}
.tag--open, .tag--staff, .tag--role { color: var(--ink); background: var(--surface); border-color: var(--ink); }
.tag--danger, .tag--alert { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.tag--civic { color: var(--ink); background: var(--surface); border-color: var(--ink); }
.tag--civic svg, .tag--role svg { flex-shrink: 0; }
.status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.status--approved, .status--done, .status--open, .status--ok { background: var(--ink-2); color: var(--bg); border-color: var(--ink-2); }
.status--pending, .status--in_work, .status--interview { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.status--info, .status--review { background: var(--surface); color: var(--ink-2); border: 1px dashed var(--line-strong); }
.status--rejected, .status--error, .status--closed, .status--withdrawn, .status--cancelled { background: var(--surface-2); color: var(--text-2); border-color: var(--line); }
.badge {
  min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; border-radius: 999px;
  background: var(--surface-3); color: var(--ink-2);
}
.badge--alert, .notif-count { background: var(--ink); color: var(--bg); }
.role-chip {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-2);
}
.role-chip--owner { background: var(--ink); color: var(--bg); }
.role-chip--admin { background: var(--ink-2); color: var(--bg); }
.role-chip--moderator { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.inline-ic { vertical-align: -2px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand__mark { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .06em; color: var(--ink); line-height: 1; }
.brand__mark--lg { font-size: 30px; }
.brand__name {
  font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
  line-height: 1.2;
}
.nav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav__link {
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; color: var(--text-2);
  padding: 10px 13px; border-bottom: 2px solid transparent; border-radius: 0;
  white-space: nowrap; transition: color .15s;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); border-bottom-color: var(--ink); }

@media (min-width: 901px) and (max-width: 1199px) {
  .nav { gap: 0; }
  .nav__link { padding: 10px 9px; font-size: 13.5px; }
  .nav__auth { margin-left: 6px; gap: 8px; }
  .nav__auth .btn--sm { padding: 9px 12px; font-size: 13px; }
}

.nav__auth { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav__auth--desktop { display: none; }
@media (min-width: 901px) {
  .nav__auth--mobile { display: none; }
  .nav__auth--desktop { display: flex; align-items: center; gap: 10px; margin-left: 12px; flex-shrink: 0; flex-wrap: nowrap; }
}
.nav-toggle {
  display: none; background: transparent; border: 0; color: var(--ink-2);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: background .15s ease;
}
.nav-toggle:hover { background: var(--surface-3); }
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.avatar--tile { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--ink-2); font-weight: 600; font-family: var(--display); font-size: 13px; }
.avatar--xs { width: 26px; height: 26px; font-size: 11px; }
.avatar--lg { width: 76px; height: 76px; font-size: 28px; }

.usermenu { position: relative; }
.usermenu__btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px 4px 4px; color: var(--ink-2); cursor: pointer; font-family: var(--font); font-size: 14px;
  transition: border-color .15s, background .15s;
}
.usermenu__btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.usermenu__name { font-size: 14px; font-weight: 500; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usermenu__pop {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px;
  background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.99);
  pointer-events: none; transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.usermenu.is-open .usermenu__pop { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.usermenu__pop a, .usermenu__pop button {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: 8px; color: var(--ink-2); background: none; border: 0;
  font-family: var(--font); font-size: 14px; cursor: pointer; width: 100%; text-align: left;
  transition: background .12s, color .12s;
}
.usermenu__pop a svg, .usermenu__pop button svg { color: var(--text-2); flex-shrink: 0; transition: color .12s; }
.usermenu__pop a:hover, .usermenu__pop button:hover { background: var(--surface-2); color: var(--ink); }
.usermenu__pop a:hover svg, .usermenu__pop button:hover svg { color: var(--ink); }
.usermenu__head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.usermenu__ava { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.usermenu__ava--tile { display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); font-family: var(--display); font-weight: 600; font-size: 17px; }
.usermenu__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.usermenu__who strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.usermenu__role { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.usermenu__items { display: flex; flex-direction: column; padding: 4px 0; }
.usermenu__logout { border-top: 1px solid var(--line); padding: 6px 0 0; margin: 4px 0 0; }
.usermenu__logout button:hover { background: var(--ink); color: var(--bg); }
.usermenu__logout button:hover svg { color: var(--bg); }

.notifmenu { position: relative; }
.notifmenu__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s;
}
.notifmenu__btn:hover { border-color: var(--line-strong); color: var(--ink); }
.notifmenu__count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 10.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--display);
}
.notifmenu__pop {
  position: absolute; right: 0; top: calc(100% + 10px); width: 320px; max-width: 88vw;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.99); pointer-events: none;
  transform-origin: top right; transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.notifmenu.is-open .notifmenu__pop { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.notifmenu__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.notifmenu__head strong { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.notifmenu__readall { background: none; border: 0; color: var(--ink); font-size: 12.5px; font-weight: 500; cursor: pointer; font-family: var(--font); padding: 0; }
.notifmenu__readall:hover { text-decoration: underline; text-underline-offset: 2px; }
.notifmenu__empty { padding: 18px 8px; text-align: center; font-size: 13.5px; color: var(--text-2); }
.notifmenu__list { list-style: none; display: flex; flex-direction: column; gap: 2px; max-height: 62vh; overflow-y: auto; margin: 0; padding: 0; }
.notifmenu__item a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; border-left: 3px solid transparent; }
.notifmenu__item a:hover { background: var(--surface-2); }
.notifmenu__item.is-unread a { border-left-color: var(--ink); background: var(--surface-2); }
.notifmenu__item.notif--warning.is-unread a { border-left-color: var(--ink); }
.notifmenu__title { font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.notifmenu__body { font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.staff-banner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 9px 16px;
  background: var(--surface-2); color: var(--ink-2); border-bottom: 1px solid var(--line);
}
.staff-banner--muted { background: var(--surface-2); color: var(--text-2); }
.timerbar {
  position: sticky; top: 68px; z-index: 99;
  background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.timerbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; }
.timerbar__title {
  color: var(--bg); background: var(--ink); font-family: var(--display);
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 99px;
}
.timerbar__clock { color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 4px 12px; border-radius: 99px; font-weight: 700; letter-spacing: .1em; font-size: 14px; }
.timerbar.is-done .timerbar__title { background: var(--ink-2); }
@media (max-width: 560px) { .timerbar__inner { flex-direction: column; gap: 5px; } }

.hero { position: relative; overflow: hidden; padding-block: clamp(88px, 13vw, 156px); text-align: center; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img, none); background-size: cover; background-position: center;
  opacity: var(--hero-img-opacity);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(110% 100% at 50% 0%, var(--hero-fade-1) 30%, var(--hero-fade-2) 72%, var(--hero-fade-3) 100%),
    linear-gradient(180deg, var(--hero-fade-1), var(--hero-fade-3) 88%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero__title { font-size: clamp(54px, 10vw, 118px); line-height: .98; letter-spacing: -0.02em; color: var(--ink); }
.hero__title .line { display: block; }
.hero__title .accent { position: relative; display: inline-block; color: var(--ink); }
.hero__title .accent::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: .03em;
  height: clamp(4px, .5vw, 7px); background: var(--ink);
}
.hero__lede { max-width: 600px; font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: var(--text-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero__stats { display: flex; gap: clamp(20px, 5vw, 56px); margin: 30px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats div { text-align: center; }
.hero__stats dt { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 36px); line-height: 1; color: var(--ink); }
.hero__stats dd { margin: 6px 0 0; font-size: 11.5px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .12em; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 40px); }
.section-sub { max-width: 640px; margin-top: 14px; color: var(--text-2); font-size: 17px; line-height: 1.6; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.4fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}
.about-head {
  position: sticky; top: 100px;
  flex-direction: column; align-items: flex-start;
  margin-bottom: 0;
}
.about-head__text { margin-top: 18px; max-width: 420px; color: var(--text-2); line-height: 1.7; }
.about-list { display: flex; flex-direction: column; }
.about-item {
  display: grid;
  grid-template-columns: clamp(60px, 6vw, 88px) auto 1fr;
  gap: clamp(16px, 2.5vw, 30px);
  align-items: start;
  padding: clamp(24px, 3vw, 34px) clamp(8px, 1.5vw, 16px);
  border-top: 1px solid var(--line);
  transition: background .25s ease;
}
.about-item:last-child { border-bottom: 1px solid var(--line); }
.about-item:hover { background: var(--surface-2); }
.about-item__num {
  position: relative;
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(30px, 3.2vw, 44px);
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  padding-top: 2px;
}
.about-item__num::after {
  content: attr(data-num);
  position: absolute; inset: 0;
  color: var(--ink); -webkit-text-stroke: 0;
  opacity: 0; transition: opacity .25s ease;
}
.about-item:hover .about-item__num::after { opacity: 1; }
.about-item__icon { margin-top: 12px; color: var(--ink); opacity: .5; transition: opacity .25s ease, transform .25s ease; }
.about-item:hover .about-item__icon { opacity: 1; transform: translateX(2px); }
.about-item__body h3 { font-size: clamp(19px, 2vw, 22px); }
.about-item__body p { margin-top: 8px; color: var(--text-2); line-height: 1.65; }
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-head { position: static; }
}

.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dept-grid--full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dept-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dept-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.dept-card__media { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--surface-3); }
.dept-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--overlay-1) 25%, var(--overlay-2) 62%, var(--overlay-3)); }
.dept-card__body { position: relative; padding: 22px; }
.dept-card__body h2.dept-card__title { font-size: 24px; color: var(--on-media); margin: 0; }
.dept-card__body h2.dept-card__title::after { content: ""; display: block; width: 38px; height: 3px; margin-top: 10px; background: var(--on-media); }
.dept-card__body p { margin-top: 10px; color: rgba(255,255,255,.8); font-size: 14px; }
.dept-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.dept-card__go {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--media-chip-bg); color: var(--media-chip-text);
  border: 1px solid rgba(255,255,255,.4);
}

.civic-strip {
  position: relative; display: flex; align-items: center; gap: 20px;
  border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--r-lg);
  padding: 22px 26px; margin-bottom: 22px; overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .2s, background .2s;
}
.civic-strip:hover { border-color: var(--line-strong); background: var(--surface); }
.civic-strip__icon {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px;
}
.civic-strip__body { flex: 1; min-width: 0; }
.civic-strip__body h3 { font-size: 18px; margin: 8px 0 4px; }
.civic-strip__body p { margin: 0; max-width: 560px; font-size: 14.5px; }
.civic-strip__go {
  flex: none; display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: color .15s, gap .15s;
}
.civic-strip:hover .civic-strip__go { color: var(--ink); gap: 10px; }

.gov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gov-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.gov-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.gov-card__notch {
  position: absolute; top: 0; right: 0; width: 44px; height: 44px; z-index: 2;
  background: var(--ink); color: var(--bg); clip-path: polygon(100% 0, 0 0, 100% 100%);
  display: grid;
}
.gov-card__notch svg { position: absolute; top: 7px; right: 7px; }
.gov-card__media { position: relative; height: 150px; background-size: cover; background-position: center; background-color: var(--surface-2); }
.gov-card__media:not([style*="background-image"]) { background-image: linear-gradient(150deg, var(--surface-3) 0%, var(--surface-2) 78%); }
.gov-card__status {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; background: var(--media-chip-bg); border: 1px solid rgba(255,255,255,.6); color: var(--media-chip-text);
  border-radius: 999px;
}
.gov-card__status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #000000; }
.gov-card__status--closed { color: #666666; }
.gov-card__status--closed::before { background: #666666; }
.gov-card__body { position: relative; padding: 16px 20px 20px; }
.gov-card__unit {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 8px;
}
.gov-card__body h3 { font-size: 20px; margin: 0 0 6px; }
.gov-card__body p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-grid--full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: background .2s, border-color .2s, transform .2s;
}
.news-card:hover { background: var(--surface-2); transform: translateY(-2px); }
.news-card__media { position: relative; display: block; aspect-ratio: 16/9; background: var(--surface-2) center/cover; overflow: hidden; }
.news-card__media--empty { background: linear-gradient(155deg, var(--surface-3) 0%, var(--surface-2) 55%, var(--surface-2) 100%); }
.news-card__index {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(64px, 9vw, 120px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--line-2);
  letter-spacing: .06em; pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.news-card__media--empty::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 16px; height: 1px;
  background: var(--line);
}
.news-card:hover .news-card__index { -webkit-text-stroke-color: var(--text-3); transform: translateY(-3px); }
.news-card--lead .news-card__index { font-size: clamp(96px, 13vw, 190px); }
.news-card__mark { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; color: var(--text-3); pointer-events: none; }
.news-card__body { padding: 22px; }
.news-card__body time { color: var(--text-2); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.news-card__body h3 { font-size: 19px; margin: 8px 0 10px; }
.news-card__body h3 a { color: var(--ink); }
.news-card__body h3 a:hover { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.news-card__body p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.badge-pin {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--media-chip-bg); color: var(--media-chip-text); border: 1px solid rgba(255,255,255,.6);
}
.readmore { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 4px; margin: 6px -4px -10px; color: var(--ink); font-weight: 600; font-size: 14px; transition: gap .15s; }
.readmore:hover { gap: 10px; }

.gallery-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16/10; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption, .shot__cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 28px 14px 12px;
  font-size: 13px; color: var(--on-media);
  background: var(--cap-grad);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.shot__cap--simple { justify-content: flex-start; }
.shot--card .shot__cap { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 5px; }
.shot__title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shot__by { color: rgba(255,255,255,.7); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot__reacts { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; flex-shrink: 0; }
.vote { margin: 0; }
.vote__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--play-bg); border: 1px solid rgba(255,255,255,.35);
  color: #FFFFFF; padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-size: 13px; transition: all .15s;
}
.vote__btn:hover { border-color: #FFFFFF; }
.vote__btn.is-on { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
.vote__btn.is-static { cursor: default; }

.shot-reel { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 14px; }
.reel-cell {
  position: relative; display: block; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); border-radius: 12px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.reel-cell:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.reel-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.reel-cell:hover img { transform: scale(1.04); }
.reel-cell__sprocket {
  position: absolute; top: 0; left: 0; right: 0; height: 9px; z-index: 2;
  background: repeating-linear-gradient(90deg, transparent 0 14px, var(--hole) 14px 18px, transparent 18px 32px) top / 100% 100% no-repeat;
}
.reel-cell__cap {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 34px 14px 12px;
  background: var(--cap-grad);
  display: flex; flex-direction: column; gap: 3px;
}
.reel-cell__title { font-weight: 600; font-size: 14px; color: var(--on-media); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-cell__meta { font-size: 11.5px; color: rgba(255,255,255,.72); letter-spacing: .06em; }
.reel-cell--hero { grid-column: span 2; grid-row: span 2; }
.reel-cell--hero .reel-cell__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-media); margin-bottom: 3px; }
.reel-cell--hero .reel-cell__title { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; white-space: normal; }
.reel-cell--hero .reel-cell__cap { padding: 54px 22px 20px; }
.reel-cell--video .shot__play { top: 42%; }
.shot-reel--videos { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }

.vfilm-reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 16px; align-items: start; }
.vfilm {
  position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 9px 9px 15px; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.vfilm:hover { transform: translateY(-7px); border-color: var(--line-2); box-shadow: var(--shadow-2); z-index: 2; }
.vfilm--drop { transform: translateY(30px); }
.vfilm--drop:hover { transform: translateY(23px); }

.vfilm__gate { position: relative; padding: 3px; background: var(--surface-3); border-radius: calc(var(--r-lg) - 4px); }
.vfilm__img-wrap { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); border-radius: 6px; }
.vfilm__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.vfilm:hover .vfilm__img { transform: scale(1.06); filter: contrast(1.06); }

.vfilm__flash {
  position: absolute; inset: 0; pointer-events: none; background: var(--film-flash);
  transform: translateX(-103%); transition: transform .55s ease;
}
.vfilm:hover .vfilm__flash { transform: translateX(103%); }

.vfilm__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--film-glass); border: 2px solid var(--film-glass-line); color: var(--ink);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .65);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease;
}
.vfilm__play svg { margin-left: 4px; }
.vfilm:hover .vfilm__play { transform: translate(-50%, -50%) scale(1.12); }

.vfilm__date {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; background: var(--film-glass); border: 1px solid var(--film-edge-2);
  color: var(--ink); font-size: 10.5px; letter-spacing: .08em;
}
.vfilm__date svg { opacity: .75; }

.vfilm__body { display: flex; flex-direction: column; gap: 4px; padding: 13px 6px 0; }
.vfilm__num { font-size: 10px; letter-spacing: .3em; color: var(--text-2); text-transform: uppercase; }
.vfilm__title {
  font-weight: 600; font-size: 15px; color: var(--ink-2); line-height: 1.3; transition: color .2s ease;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vfilm__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-2); letter-spacing: .06em; }
.vfilm__meta svg { opacity: .7; }
.vfilm:hover .vfilm__title { color: var(--ink); }
.vfilm:hover .vfilm__num, .vfilm:hover .vfilm__meta { color: var(--text-3); }

.mosa-hero {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.mosa-hero:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.mosa-hero__link { display: block; }
.mosa-hero__img {
  display: block; width: 100%; height: clamp(280px, 34vw, 430px); object-fit: cover; object-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.mosa-hero:hover .mosa-hero__img { transform: scale(1.03); filter: contrast(1.03); }
.mosa-hero__cap {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 70px 26px 24px;
  background: linear-gradient(transparent, rgba(10, 10, 10, .72) 72%);
  pointer-events: none;
}
.mosa-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--film-glass); border: 1px solid var(--film-glass-line);
  color: var(--ink); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
}
.mosa-hero__title {
  font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.12; color: var(--on-media);
  max-width: 62ch;
}
.mosa-hero__meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .82);
}
.mosa-hero__meta svg { opacity: .8; }

.mosa-strip {
  display: flex; gap: 12px; margin-top: 14px; padding: 2px 2px 10px;
  overflow-x: auto; scrollbar-width: none;
  cursor: grab; touch-action: pan-y;
}
.mosa-strip::-webkit-scrollbar { display: none; }
.mosa-strip.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.mosa-strip.is-dragging .mosa-strip__img { pointer-events: none; }
.mosa-strip.is-dragging .mosa-strip__item { transition: none; }
.mosa-strip__item {
  position: relative; display: block; flex: none; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.mosa-strip__item:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-2); z-index: 2; }
.mosa-strip__img {
  display: block; height: clamp(130px, 15vw, 175px); width: auto; max-width: none;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.mosa-strip__item:hover .mosa-strip__img { transform: scale(1.05); }
.mosa-strip__cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 10px 8px;
  font-size: 10.5px; letter-spacing: .08em; color: var(--on-media); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(transparent, rgba(10, 10, 10, .8));
  opacity: 0; transition: opacity .25s ease;
}
.mosa-strip__item:hover .mosa-strip__cap { opacity: 1; }

.gallery-masonry { display: block; columns: 3 300px; column-gap: 18px; }
.gallery-masonry .film-cell {
  display: block; break-inside: avoid; margin: 0 0 18px; aspect-ratio: auto;
  border: 1px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gallery-masonry .film-cell:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.gallery-masonry .film-cell img { width: 100%; height: auto; display: block; }
.gallery-masonry .shot { aspect-ratio: auto; border-radius: 12px; }
.gallery-masonry .shot:hover img { transform: none; }
.film-cell__cap { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.film-cell__title { font-weight: 600; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.film-cell__meta { font-size: 11.5px; color: var(--text-2); letter-spacing: .08em; }
.film-cell .shot__play { top: 42%; }

.featured-shot {
  position: relative; display: block; margin-top: 8px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow);
}
.featured-shot img { width: 100%; max-height: 68vh; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.featured-shot:hover img { transform: scale(1.02); }
.featured-shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 4px; padding: 46px 26px 22px;
  background: linear-gradient(transparent, var(--overlay-3));
}
.featured-shot__label { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--on-media); }
.featured-shot__title { font-size: clamp(22px, 3.4vw, 36px); font-weight: 700; line-height: 1.08; color: var(--on-media); }
.featured-shot__meta { font-size: 12.5px; color: rgba(255,255,255,.75); letter-spacing: .08em; }

.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 30px 0; }
.gallery-toolbar__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gsort { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.gsort__opt {
  font-family: var(--font); font-weight: 600; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-2); padding: 10px 18px;
  border: 0; background: none; cursor: pointer; transition: color .15s, background .15s;
}
.gsort__opt + .gsort__opt { border-left: 1px solid var(--line); }
.gsort__opt:hover { color: var(--ink); }
.gsort__opt.is-on { background: var(--ink); color: var(--bg); }
.gtabs { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.gtabs__tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; min-height: 44px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
  font-family: var(--font); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  font-size: 13px; text-decoration: none; line-height: 1; border-radius: 10px;
  transition: border-color .15s, color .15s, background .15s;
}
.gtabs__tab svg { flex: 0 0 auto; }
.gtabs__tab:hover { border-color: var(--ink); color: var(--ink); }
.gtabs__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb__backdrop { position: absolute; inset: 0; background: var(--lb-backdrop); backdrop-filter: blur(4px); }
.lb__stage { position: relative; z-index: 2; margin: 0; max-width: min(1280px, 92vw); max-height: 88vh; display: flex; flex-direction: column; animation: lbIn .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97) translateY(10px); } }
.lb__stage img { max-width: 100%; max-height: calc(88vh - 64px); object-fit: contain; display: block; border: 1px solid #333333; background: #000; border-radius: 10px; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 2px 0; }
.lb__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lb__info b { font-weight: 600; font-size: 16px; color: #FFFFFF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__info span { color: rgba(255,255,255,.6); font-size: 13px; }
.lb__actions { display: flex; align-items: center; gap: 18px; }
.lb__heart {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px;
  color: #FFFFFF; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25);
  padding: 8px 14px; border-radius: 99px; cursor: pointer; font-family: var(--font);
  transition: color .15s, border-color .15s, transform .1s;
}
.lb__heart:hover { border-color: #FFFFFF; }
.lb__heart.is-on { color: #000000; background: #FFFFFF; border-color: #FFFFFF; }
.lb__heart:active { transform: scale(.94); }
.lb__counter { color: rgba(255,255,255,.55); letter-spacing: .14em; }
.lb__close {
  position: absolute; top: 18px; right: 22px; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25);
  color: #FFFFFF; cursor: pointer; border-radius: 10px; transition: color .15s, border-color .15s, background .15s;
}
.lb__close:hover { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
.lb__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; place-items: center;
  width: 52px; height: 72px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2);
  color: #FFFFFF; cursor: pointer; border-radius: 10px;
  transition: color .15s, border-color .15s, background .15s;
}
.lb__arrow:hover { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
.lb__arrow--prev { left: 18px; }
.lb__arrow--next { right: 18px; }
.lb__arrow[disabled] { opacity: .25; pointer-events: none; }
body.lb-open { overflow: hidden; }

.shot__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--play-bg); border: 2px solid rgba(255,255,255,.85); color: #FFFFFF;
  pointer-events: none; transition: transform .25s ease, background .25s ease;
}
.shot__play svg { margin-left: 3px; }
.shot--video:hover .shot__play { transform: translate(-50%, -50%) scale(1.08); background: rgba(26,26,26,.9); }

.dropzone {
  position: relative; display: grid; place-items: center; min-height: 170px; cursor: pointer;
  border: 1.5px dashed var(--text-2); background: var(--surface-2); border-radius: 14px; overflow: hidden;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--ink); background: var(--surface); }
.dropzone__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--text-2); padding: 22px; }
.dropzone__inner svg { color: var(--ink); }
.dropzone__inner b { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13.5px; color: var(--ink-2); }
.dropzone__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dropzone.has-file .dropzone__inner { position: relative; z-index: 2; background: var(--dz-bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; }
.dropzone--field { min-height: 118px; }
.dropzone--field .dropzone__inner { padding: 14px; }
.dropzone--field .dropzone__inner b { font-size: 12.5px; }

.upload { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 20px; overflow: hidden; }
.upload__summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.upload__summary svg { transition: transform .2s; color: var(--text-2); }
.upload[open] .upload__summary svg { transform: rotate(180deg); }
.upload__summary::-webkit-details-marker { display: none; }
.upload__form { padding: 0 22px 22px; display: grid; gap: 14px; }
.upload__actions { display: flex; align-items: center; gap: 14px; }

.shotview { display: grid; grid-template-columns: 1.65fr 1fr; gap: 26px; align-items: start; margin-top: 12px; }
.shotview__stage {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.shotview__stage img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.shotview__stage--video { aspect-ratio: 16 / 9; max-height: 82vh; }
.shotview__stage--video iframe { width: 100%; height: 100%; border: 0; display: block; }
.shotview__meta { display: flex; flex-direction: column; gap: 14px; }

.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(26px, 3.5vw, 36px);
}
.cta-band__eyebrow {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; letter-spacing: .2em;
  padding-bottom: 12px;
}

.cta-band__eyebrow::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 28px; height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: width .4s ease;
}
.cta-band__inner:hover .cta-band__eyebrow::after { width: 46px; }
.cta-band__eyebrow .accent { color: var(--ink); font-weight: 700; }

.cta-band__title { font-size: clamp(46px, 8.5vw, 100px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.cta-band__title-line { display: block; font-weight: 700; }
.cta-band__title-word {
  display: block; position: relative;
  font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.cta-band__title-shine {
  position: absolute; inset: 0;
  font-weight: 800; color: transparent; -webkit-text-stroke: 0;
  background: linear-gradient(105deg, transparent 42%, var(--cta-shine) 50%, transparent 58%) 200% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: ctaShine 6s ease-in-out infinite;
}
@keyframes ctaShine {
  0%, 25% { background-position: 200% 0; }
  60%, 100% { background-position: -100% 0; }
}

.cta-band__draw { width: min(460px, 74vw); height: 22px; margin-top: -10px; overflow: visible; }
.cta-band__draw-path {
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 520; stroke-dashoffset: 520;
  animation: ctaDraw 8s ease-in-out infinite;
}
@keyframes ctaDraw {
  0%, 10% { stroke-dashoffset: 520; opacity: 0; }
  16% { opacity: 1; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  72% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.cta-band__actions .btn { min-height: 52px; }
.cta-band__cta {
  box-shadow: 0 22px 48px -22px var(--cta-btn-glow);
  transition: transform .18s ease, box-shadow .25s ease, background .18s ease, border-color .18s ease;
}
.cta-band__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -24px var(--cta-btn-glow);
}
.cta-band__cta svg { transition: transform .2s ease; }
.cta-band__cta:hover svg { transform: translateX(3px); }
@media (max-width: 560px) {
  .cta-band__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__title-shine { animation: none; background-position: 160% 0; }
  .cta-band__draw-path { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

.page-hero { padding-block: clamp(48px, 7vw, 88px) 0; }
.page-hero--compact { padding-block-start: clamp(24px, 3vw, 36px); }
.page-hero--compact .page-title { margin-bottom: 0; }
.page-hero--compact .page-sub { margin: 10px 0 0; }
.page-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-title { font-size: clamp(34px, 5.5vw, 54px); }
.page-sub { max-width: 640px; margin-top: 14px; font-size: 17px; color: var(--text-2); line-height: 1.6; }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 500; font-size: 14px; margin-bottom: 18px; }
.backlink:hover { color: var(--ink); }

.dept-hero { position: relative; overflow: hidden; padding-block: clamp(60px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.dept-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .3; }
.dept-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--hero-fade-1), var(--hero-fade-3) 92%); }
.dept-hero__cta { margin-top: 24px; }
.dept-hero__status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dept-hero .page-sub { color: var(--ink-2); }
.gate-note { margin-top: 12px; max-width: 520px; font-size: 14px; color: var(--text-2); }
.dept-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.dept-aside .panel { margin-bottom: 16px; }
.dept-aside .panel__title { font-size: 17px; margin-bottom: 14px; }

.prose { max-width: 760px; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 26px; color: var(--ink); margin-top: 34px; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 24px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose blockquote { border-left: 3px solid var(--line-2); padding-left: 16px; color: var(--text-2); }
.prose code { font-family: var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose--sm { font-size: 15px; line-height: 1.65; }
.prose--post { max-width: none; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.prose--post > * + * { margin-top: 10px; }

.document-page { max-width: 860px; }
.document-page__head { margin-bottom: 28px; }
.document-page__head .page-title { max-width: 760px; }
.document-meta { margin-top: 10px; color: var(--text-2); font-size: 14px; }
.document-page__body { max-width: 760px; }
.legal-consent-page .form-page { max-width: 760px; }
.legal-consent-form { max-width: 760px; }
.consent-list { display: flex; flex-direction: column; gap: 10px; }
.consent-list > .micro { margin-bottom: 2px; color: var(--text-2); }
.legal-consent { padding: 12px 14px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; }
.legal-consent--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.legal-consent:hover { border-color: var(--line-strong); }
.legal-consent a { text-decoration: underline; text-underline-offset: 2px; }

.article { padding-block: clamp(40px, 6vw, 72px); }
.article__head { max-width: 760px; margin-bottom: 18px; }
.article__head time { display: block; color: var(--text-2); font-size: 13px; }
.article__title { font-size: clamp(30px, 5vw, 48px); margin-top: 10px; }
.article__cover { aspect-ratio: 16/8; border-radius: var(--r-lg); background: var(--surface-2) center/cover; margin: 30px 0; border: 1px solid var(--line); }

.empty { text-align: center; padding: 70px 20px; color: var(--text-2); border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }
.empty svg { color: var(--text-2); margin-bottom: 14px; }
.empty p { color: var(--text-2); }
.empty--slim { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 20px; text-align: left; }
.empty--slim svg { margin-bottom: 0; flex: 0 0 auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
}
.state-page { text-align: center; max-width: 460px; margin: 60px auto; }
.state-page--tight { margin: 30px auto; }
.state-page__code { font-size: 56px; font-weight: 700; font-family: var(--display); color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.state-page h1 { font-size: 26px; margin: 6px 0 12px; }
.state-page__icon { color: var(--ink); margin-bottom: 16px; }
.state-page__actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.state-page .btn { margin-top: 22px; }

.rules-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.rules-toc { position: sticky; top: 88px; max-height: calc(100vh - 112px); overflow: auto; padding-right: 6px; }
.rules-toc__list, .rules-toc__sublist { list-style: none; margin: 0; padding: 0; }
.rules-toc__sublist { margin: 2px 0 6px 16px; border-left: 1px solid var(--line); }
.rules-toc a { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-size: 14px; line-height: 1.35; }
.rules-toc a:hover { background: var(--surface-2); color: var(--ink); }
.rules-toc a:focus-visible { background: var(--surface-2); color: var(--ink); }
.rules-toc .mono { color: var(--text-2); flex: 0 0 auto; font-size: 12px; }
.rule-block, .rule-block .prose h2, .rule-block .prose h3 { scroll-margin-top: 88px; }
.rule-block { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.rule-block h2 { display: flex; align-items: baseline; gap: 12px; font-size: 24px; margin-bottom: 14px; }
.rule-block__num { color: var(--ink); font-size: 17px; flex: 0 0 auto; font-weight: 700; }

.profile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.profile-head__avatar { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; border: 1px solid var(--line); }
.profile-head__avatar--tile { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--ink-2); font-family: var(--display); font-weight: 700; font-size: 32px; }
.profile-head__name { font-size: clamp(28px, 5vw, 38px); }
.profile-head .btn { margin-left: auto; }
.profile-head__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.profile-shots { margin-top: 30px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; transition: background .2s, border-color .2s; }
.stat-card:hover { background: var(--surface-2); }
.stat-card__label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.stat-card__value { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); }
.stat-card__value.is-ok { color: var(--ink-2); }
.stat-card__value.is-warn, .stat-card__value.is-accent { color: var(--ink); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 22px; }
.panel--soft { background: var(--surface-2); }
.panel__title { font-size: 18px; margin-bottom: 18px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel__head .panel__title { margin: 0; }
.notice { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; }
.notice--ok { color: var(--ink-2); background: var(--surface-2); border-color: var(--line); }
.notice--warn { color: var(--ink); background: var(--surface-2); border-color: var(--ink); }
.warn-list, .app-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.warn-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink); }
.warn-item--notice { border-left-color: var(--text-2); }
.warn-item--severe { border-left-color: var(--ink); }
.warn-item.is-inactive { opacity: .5; }
.warn-item__sev { font-weight: 600; font-size: 13px; min-width: 120px; color: var(--ink); }
.warn-item__reason { flex: 1; color: var(--text-2); font-size: 14px; }
.warn-item__actions { display: inline-flex; gap: 6px; margin-left: auto; }
.app-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.app-item__dept { font-weight: 600; display: block; color: var(--ink); }
.app-note { list-style: none; padding: 2px 16px 0; }
.app-note--ask { color: var(--ink); font-weight: 600; }
.app-respond { display: grid; gap: 8px; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.app-respond .btn { justify-self: start; }
.app-note--warn { color: var(--ink-2); padding-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.app-respond { margin: 6px 0 12px; display: grid; gap: 8px; }
.app-respond__field { display: grid; gap: 4px; }
.app-respond__q { font-weight: 600; color: var(--ink-2); font-size: 13.5px; }
.app-respond textarea.input { width: 100%; min-height: 64px; resize: vertical; }
.app-answers { list-style: none; padding: 0 16px; }
.app-answers summary { cursor: pointer; font-size: 13px; color: var(--text-2); padding: 4px 0; }
.app-answers summary:hover { color: var(--ink); }
.app-answers .qa { margin: 8px 0 12px; display: grid; gap: 4px; }
.app-answers .qa dt { font-weight: 600; color: var(--ink-2); font-size: 13.5px; margin-top: 10px; }
.app-answers .qa dd { margin: 0; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }

.discord-unlock { display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin-bottom: 24px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.discord-unlock__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--bg); flex-shrink: 0; }
.discord-unlock__text { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }
.discord-unlock__text strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.discord-unlock--interview { border-color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field__hint { font-size: 12.5px; color: var(--text-2); }
.input {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ring); background: var(--surface); }
.input--mono { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; }
.input--sm { padding: 7px 10px; font-size: 13.5px; }
.input--color { padding: 4px; height: 46px; cursor: pointer; }
.input.is-err { border-color: var(--ink) !important; box-shadow: 0 0 0 3px var(--ring); }
textarea.input { resize: vertical; }
select.input { appearance: none; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); width: 17px; height: 17px; }
.form-page { max-width: 680px; }
.form-page--apply { max-width: 1040px; }
.form-page__head { margin-bottom: 26px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form-card__actions { display: flex; gap: 12px; margin-top: 8px; }

.switch-row { display: flex; gap: 22px; flex-wrap: wrap; padding: 6px 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch > span:first-of-type { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); transition: background .2s, border-color .2s; flex-shrink: 0; }
.switch > span:first-of-type::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-3); transition: transform .2s, background .2s; }
.switch input:checked + span { background: var(--ink); border-color: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--bg); }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.switch--field { align-self: end; padding-bottom: 12px; }
.switch--big { align-items: flex-start; padding: 6px 0 14px; }
.switch__text { display: flex; flex-direction: column; }
.switch__text em { font-style: normal; font-size: 13px; color: var(--text-2); }

.uploader { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13.5px; width: fit-content; }
.uploader:hover, .uploader:hover strong { color: var(--ink); }
.uploader strong { color: var(--ink-2); font-weight: 600; }

.auth-page { display: grid; place-items: center; min-height: 60vh; padding: 24px; }
.auth-page--solo { min-height: 100dvh; }
.auth-card { width: 100%; max-width: 440px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 44px 36px; box-shadow: var(--shadow-2); }
.auth-card h1 { font-size: 24px; margin: 18px 0 8px; }
.auth-card > p.muted { margin-top: 4px; }
.auth-card .btn--block { margin-top: 22px; }
.auth-card__brand { display: inline-block; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--text-2); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-dev { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.auth-help { margin-top: 16px; font-size: 13.5px; color: var(--text-2); }
.auth-help--last { margin-top: 8px; }

.maintenance { display: grid; place-items: center; min-height: 100dvh; padding: 24px; text-align: center; }
.maintenance__box { max-width: 460px; }
.maintenance__box h1 { font-size: 32px; margin: 22px 0 12px; }
.maintenance__box .btn { margin-top: 24px; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 40px; }
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(4, minmax(130px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px);
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 320px; }
.site-footer__brand-link { display: inline-flex; align-items: center; gap: 14px; }
.site-footer__brand .brand__mark { font-size: 26px; }
.site-footer__tagline { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.site-footer__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.site-footer__col-title {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  margin: 0 0 10px;
}
.site-footer__col a {
  position: relative; color: var(--text-2); font-size: 14.5px;
  padding: 8px 0; width: fit-content;
  transition: color .18s ease, transform .18s ease;
}
.site-footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.site-footer__col a:hover { color: var(--ink); transform: translateX(3px); }
.site-footer__col a:hover::after { transform: scaleX(1); }
.site-footer__bottom { border-top: 1px solid var(--line); }
.site-footer__bottom-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 18px; font-size: 13px; color: var(--text-2);
}
.site-footer__copy { font-weight: 600; color: var(--ink-2); }
.site-footer__disclaimer {
  margin-left: auto; max-width: 430px; text-align: right;
  font-size: 12px; line-height: 1.5; color: var(--text-3);
}
.site-footer__right { display: inline-flex; align-items: center; gap: 14px; }
.prod-credit { font-weight: 600; color: var(--text-2); padding: 10px 0; }
.prod-credit:hover .accent { text-decoration: underline; }

@media (max-width: 1000px) {
  .site-footer__main { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
  .site-footer__disclaimer { margin-left: 0; text-align: left; max-width: none; width: 100%; }
}
@media (max-width: 560px) {
  .site-footer__main { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.flash {
  position: fixed; top: 82px; right: 22px; z-index: 200;
  display: flex; align-items: center; gap: 10px; max-width: 400px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink-2);
  box-shadow: var(--shadow); animation: flashIn .25s ease; color: var(--ink-2); font-size: 14.5px;
}
.flash--success { border-left-color: var(--ink-2); }
.flash--error { border-left-color: var(--ink); }
.flash svg { flex-shrink: 0; color: var(--ink); }
.flash--error svg { color: var(--ink); }
.flash__close { margin-left: auto; background: none; border: 0; color: var(--text-2); cursor: pointer; padding: 2px; }
.flash__close:hover { color: var(--ink); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } }

.tickets-layout { display: grid; grid-template-columns: 1fr; gap: 4px; }
.ticket-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; transition: border-color .15s, transform .15s; }
.ticket-row:hover { border-color: var(--line-strong); transform: translateX(2px); }
.ticket-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ticket-row__subj { font-weight: 600; color: var(--ink-2); }
.ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ticket-head__subj { font-size: clamp(20px, 3vw, 26px); }
.thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.msg { padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; max-width: 82%; }
.msg--user { align-self: flex-start; }
.msg--staff { align-self: flex-end; background: var(--surface-2); border-color: var(--line); }
.msg__head { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.msg__who { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.msg__body { white-space: pre-wrap; word-break: break-word; line-height: 1.55; color: var(--ink-2); }
.reply-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.preview--ticket img { max-height: 320px; width: auto; border: 1px solid var(--line); border-radius: 10px; }
.ticket-video { margin: 0 0 14px; display: grid; gap: 6px; justify-items: start; }
.ticket-video__stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ticket-video__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ticket-admin-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-admin { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; transition: border-color .15s, transform .15s; }
.ticket-admin:hover { border-color: var(--line-strong); transform: translateX(2px); }
.ticket-admin.is-open { border-left: 3px solid var(--ink); }
.ticket-admin__subj { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ticket-admin__meta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ticket-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ticket-status .is-active { border-color: var(--ink); color: var(--ink); }
.appeal-logout { margin-top: 22px; text-align: center; }

.server-card { max-width: 460px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 28px; box-shadow: var(--shadow-2); }
.server-card__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--text-2); }
.server-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.server-dot.is-online { background: var(--ok); box-shadow: 0 0 0 4px var(--ring); }
.server-dot.is-offline { background: var(--text-2); }
.server-count { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 14px 0 2px; font-family: var(--display); }
.server-count__num { font-size: 56px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.server-count__sep, .server-count__max { font-size: 28px; color: var(--text-2); }
.server-count__label { color: var(--text-2); font-size: 13px; margin-bottom: 10px; }
.server-host { font-weight: 600; margin-top: 6px; word-break: break-word; color: var(--ink-2); }
.server-card__actions { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; }

.notif-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; vertical-align: middle; }
.notif-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.notif { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-left: 3px solid var(--line); background: var(--surface); border-radius: 10px; transition: border-color .15s; }
.notif:hover { border-color: var(--line-strong); }
.notif.is-unread { border-left-color: var(--ink); background: var(--surface-2); }
.notif--warning.is-unread { border-left-color: var(--ink); }
.notif__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.notif__title { font-weight: 600; color: var(--ink-2); }
.notif__body { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.notifitem { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid var(--line); border-left: 3px solid transparent; background: var(--surface); border-radius: 10px; }
.notifitem:hover { border-color: var(--line-strong); }
.notifitem.is-unread { border-left-color: var(--ink); background: var(--surface-2); }
.notifitem__icon { flex: 0 0 auto; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.notifitem__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.notifitem__title { font-weight: 600; font-size: 14px; line-height: 1.25; color: var(--ink-2); }
.notifitem__body { font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notifitem__time { color: var(--text-2); margin-top: 1px; font-size: 12px; }
.notifitem__del { flex: 0 0 auto; display: flex; }
.notifitem__del button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: none; border: 0; color: var(--text-2); cursor: pointer; border-radius: 6px; transition: color .12s, background .12s; }
.notifitem__del button:hover { color: var(--bg); background: var(--ink); }
.notifitem--warn .notifitem__icon { background: var(--surface-2); color: var(--ink); }
.notifitem--warn.is-unread { border-left-color: var(--ink); }
.notifitem--tkt .notifitem__icon { background: var(--surface-2); }
.notifmenu__actions { display: inline-flex; gap: 12px; }

.cal { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cal__month { font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.cal__nav { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 9px; cursor: pointer; transition: color .12s, border-color .12s, background .12s; }
.cal__nav:hover { color: var(--bg); border-color: var(--ink); background: var(--ink); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow { padding: 10px 6px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cal__cell { min-height: 86px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cal__cell:nth-child(7n) { border-right: 0; }
.cal__cell--pad { background: var(--surface-2); }
.cal__day { font-size: 12px; color: var(--text-2); font-weight: 500; }
.cal__cell.is-today { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal__cell.is-today .cal__day { color: var(--ink); font-weight: 700; }
.cal__event { display: block; padding: 4px 6px; background: var(--surface-2); border-left: 3px solid var(--ink); font-size: 12px; line-height: 1.25; overflow: hidden; border-radius: 0 4px 4px 0; transition: background .12s, transform .12s; }
.cal__event:hover { background: var(--surface-3); }
.cal__event-time { display: inline; color: var(--text-2); font-size: 11px; margin-right: 4px; }
.cal__event-title { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.event-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.event-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; transition: border-color .12s, transform .12s, box-shadow .12s; }
.event-row:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.event-row__date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 56px; padding: 8px 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.event-row__day { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1; }
.event-row__month { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); margin-top: 3px; }
.event-row__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.event-row__title { font-size: 16px; font-weight: 600; color: var(--ink); }
.event-row__meta { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; color: var(--text-2); font-size: 13.5px; }
.event-row__meta svg { vertical-align: -2px; }
.event-row__go { color: var(--text-2); transition: color .12s, transform .12s; }
.event-row:hover .event-row__go { color: var(--ink); transform: translateX(3px); }
.event-facts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.event-fact { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); font-size: 13px; border-radius: 999px; }
.event-fact svg { color: var(--ink); }

.video-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.video-strip .shot { aspect-ratio: 16/9; }

.forum-cats { display: flex; flex-direction: column; gap: 12px; }
.forum-cat { display: grid; grid-template-columns: 48px 1fr 130px 200px; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .15s, transform .1s, background .15s; }
.forum-cat:hover { border-color: var(--line-strong); transform: translateY(-2px); background: var(--surface-2); }
.forum-cat.is-hidden-cat { opacity: .6; border-style: dashed; }
.forum-cat__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; }
.forum-cat__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.forum-cat__main p { margin: 0; font-size: 14px; color: var(--text-2); }
.forum-cat__stats { display: flex; flex-direction: column; gap: 4px; text-align: right; color: var(--text-2); font-size: 13px; }
.forum-cat__last { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.forum-cat__lasttitle { font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fstat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.fstat { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; }
.fstat b { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.fstat span { font-size: 11.5px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .1em; }
.fstat--live b { display: flex; align-items: center; gap: 9px; font-size: 17px; text-transform: uppercase; }
.fstat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ring); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.fside { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 30px; }
.fpanel { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden; }
.fpanel__head { padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.fpanel__head .eyebrow { margin-bottom: 0; }
.ffeed, .ftop { display: flex; flex-direction: column; }
.ffeed__row, .ftop__row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); transition: background .12s; }
.ffeed__row:last-child, .ftop__row:last-child { border-bottom: 0; }
.ffeed__row:hover, .ftop__row:hover { background: var(--surface-2); }
.ffeed__main { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13.5px; color: var(--ink-2); }
.ffeed__main b { color: var(--ink); font-weight: 600; }
.ffeed__main, .ffeed__main b { overflow: hidden; text-overflow: ellipsis; }
.ftop__no { color: var(--text-2); font-size: 12px; letter-spacing: .1em; }
.ftop__row b { font-size: 14px; font-weight: 600; margin-right: auto; color: var(--ink-2); }

.tprefix {
  display: inline-flex; align-items: center; font-family: var(--font); font-weight: 600;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px;
  color: var(--ink); border: 1px solid var(--line); background: var(--surface-2); border-radius: 99px; white-space: nowrap;
}
.tprefix--lg { font-size: 13px; padding: 5px 12px; vertical-align: 6px; }
.tprefix--pick { cursor: pointer; opacity: .55; transition: opacity .15s, box-shadow .15s; }
.tprefix--pick:hover { opacity: .85; }
.tprefix--pick.is-on { opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
.prefix-pick { display: flex; gap: 8px; flex-wrap: wrap; }

.ffilters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ffilter {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-weight: 600;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
  border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; background: var(--surface);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.ffilter:hover { color: var(--ink); border-color: var(--line-strong); }
.ffilter.is-on { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.ffilter__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.ffilter.is-on .ffilter__dot { background: var(--bg); }

.topiclist { display: flex; flex-direction: column; gap: 8px; }
.topicrow { display: grid; grid-template-columns: 1fr 120px 160px; gap: 14px; align-items: center; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.topicrow:hover { border-color: var(--line-strong); background: var(--surface-2); }
.topicrow.is-pinned { border-left: 3px solid var(--ink); background: var(--surface-2); }
.topicrow__title { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); }
.topicrow__title svg { color: var(--ink); flex: 0 0 auto; }
.topicrow__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.topicrow__stats { display: flex; flex-direction: column; gap: 3px; text-align: right; color: var(--text-2); font-size: 13px; }
.topicrow__last { display: flex; flex-direction: column; gap: 3px; text-align: right; color: var(--text-2); font-size: 12.5px; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex-shrink: 0; display: inline-block; }

.topichead { margin-bottom: 22px; }
.topichead .page-title { display: flex; align-items: center; gap: 10px; }
.topichead .page-title svg { color: var(--ink); }
.topichead__mod { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.topichead__mod form { display: inline-flex; }

.fcat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fcat-head .page-sub { margin-bottom: 4px; }

.postlist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.post { display: grid; grid-template-columns: 190px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.post--deleted { opacity: .75; border-style: dashed; }
.post__author { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; background: var(--surface-2); border-right: 1px solid var(--line); }
.post__author .avatar { width: 44px; height: 44px; }
.post__authormeta { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.post__name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.post__name:hover { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.post__body { padding: 14px 18px 16px; min-width: 0; }
.post__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--text-2); font-size: 12.5px; }
.post__anchor { margin-left: auto; color: var(--text-2); }
.post__stub { display: inline-flex; align-items: center; gap: 7px; font-style: italic; color: var(--text-2); }
.post__hiddenbody { opacity: .55; margin: 10px 0; padding-left: 12px; border-left: 2px solid var(--line-2); color: var(--ink-2); }
.post__restore { margin-top: 8px; }
.post__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.post__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.post__actions form { display: inline-flex; gap: 8px; align-items: center; }
.post__actions .input { width: 220px; padding: 7px 10px; font-size: 13px; }

.pager { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 22px 0; color: var(--text-2); }
.pager .is-disabled { opacity: .4; pointer-events: none; }
.replyform { margin-top: 26px; max-width: 760px; }
.replyform textarea { margin-bottom: 12px; }
.forum-form { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.forum-form__actions { display: flex; gap: 10px; }

.contest-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.contest-head__title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display, inherit); font-size: 24px; font-weight: 700; color: var(--ink); }
.contest-head__title svg { color: var(--ink); }
.contest-head__desc { color: var(--text-2); margin-top: 8px; max-width: 640px; }
.contest-head__meta { display: flex; gap: 12px; flex-wrap: wrap; }
.contest-hint { margin-top: 12px; text-align: center; color: var(--text-2); font-size: 14px; }
.contest-entry { display: flex; flex-direction: column; }
.contest-entry__img { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.contest-entry__img img { width: 100%; display: block; }
.contest-entry__lead { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; }
.contest-entry.is-voted { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 14px; }
.contest-entry__voteform { display: inline-flex; flex-shrink: 0; }
.contest-vote {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-family: var(--font);
  font-size: 12.5px; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.contest-vote:hover { border-color: var(--ink); }
.contest-vote.is-mine { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.contest-vote svg { color: var(--ink); }
.contest-vote.is-mine svg { color: var(--bg); }

.reactions { display: flex; flex-wrap: wrap; gap: 8px; }
.react { margin: 0; }
.react__btn { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); padding: 6px 12px; cursor: pointer; font-size: 18px; line-height: 1; border-radius: 999px; transition: transform .1s, border-color .1s, background .1s; }
.react__btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.react__btn.is-on { background: var(--surface-2); border-color: var(--ink); }
.react__btn.is-static { cursor: default; }
.react__c { font-family: var(--font); font-size: 13px; color: var(--text-2); }
.react__btn.is-on .react__c { color: var(--ink); }
.comments { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.comments__title { font-size: 19px; margin-bottom: 14px; }
.comments__empty { padding: 8px 0; color: var(--text-2); }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; align-items: flex-start; }
.comment-form textarea { width: 100%; }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.comment { display: flex; gap: 12px; align-items: flex-start; }
.comment__body { flex: 1; background: var(--surface-2); border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; min-width: 0; }
.comment__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.comment__author { font-weight: 600; color: var(--ink); }
a.comment__author:hover { text-decoration: underline; }
.comment__head time { color: var(--text-2); font-size: 12px; }
.comment__body p { color: var(--ink-2); word-break: break-word; }
.comment__del { margin: 0; }
.cdel { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); cursor: pointer; border-radius: 8px; flex-shrink: 0; transition: color .12s, background .12s, border-color .12s; }
.cdel:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); }

.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ladder__item { display: flex; align-items: flex-start; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-left: 3px solid var(--line); background: var(--surface); border-radius: 10px; }
.ladder__item.is-done { border-left-color: var(--ink-2); }
.ladder__item.is-now { border-left-color: var(--ink); background: var(--surface-2); }
.ladder__dot { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); }
.ladder__item.is-done .ladder__dot { color: var(--bg); background: var(--ink-2); border-color: var(--ink-2); }
.ladder__item.is-now .ladder__dot { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.ladder__text { display: flex; flex-direction: column; gap: 2px; }
.ladder__text strong { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.ladder__text p { color: var(--text-2); font-size: 13.5px; }
.ladder__link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; text-decoration: none; font-size: 13.5px; }
.ladder__link:hover { text-decoration: underline; text-underline-offset: 2px; }
.perm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.perm-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink-2); border-radius: 10px; }
.perm-item.is-revoked { border-left-color: var(--ink); opacity: .65; }
.perm-item__name { font-family: var(--display); font-weight: 600; flex: 1; color: var(--ink-2); }

.appform__steps { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.appstep-dot { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); letter-spacing: .06em; font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--text-2); }
.appstep-dot b { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--line); border-radius: 50%; color: var(--text-2); font-size: 13px; font-weight: 700; background: var(--surface); }
.appstep-dot.is-on { color: var(--ink); }
.appstep-dot.is-on b { border-color: var(--ink); color: var(--bg); background: var(--ink); }
.appstep-line { flex: 1; height: 1px; background: var(--line); max-width: 90px; }
.appstep { display: flex; flex-direction: column; gap: 16px; }
.appstep__tag { display: block; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); cursor: pointer; padding: 4px 0; }
.consent input { margin-top: 3px; flex-shrink: 0; }
.appform { display: grid; gap: 24px; }
.appform:not(.at-2) { max-width: 640px; margin-inline: auto; }
html.js .appform:not(.at-2) .appstep[data-step="2"] { display: none; }
.appform.at-2 { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
.appstep { position: relative; }
.appform.at-2 .appstep[data-step="1"] .appstep__body { filter: blur(3px); opacity: .5; pointer-events: none; user-select: none; transition: filter .3s ease, opacity .3s ease; }
.appform.at-2 .appstep[data-step="1"] .appstep__foot { display: none; }
.recap-cover { display: none; }
.appform.at-2 .recap-cover { display: flex; position: absolute; inset: 0; z-index: 3; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--dz-bg); backdrop-filter: blur(2px); cursor: pointer; }
.recap-cover__hint { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: 12.5px; color: var(--bg); background: var(--ink); padding: 10px 18px; border-radius: 10px; transition: transform .1s, background .1s; }
.recap-cover:hover .recap-cover__hint { background: var(--ink-2); }

.push-panel__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.push-panel__hint { max-width: 520px; color: var(--text-2); font-size: 14px; }
.transfer-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.transfer-block:last-child { border-bottom: 0; padding-bottom: 0; }
.transfer-block > p:first-child { margin-top: 0; }

html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s cubic-bezier(.2, .7, .2, 1), transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 45ms); }
html.js .reveal.in { opacity: 1; transform: none; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-header { position: fixed; left: 0; right: 0; top: 0; }
  body { padding-top: 69px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 14px 22px 22px;
    transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid transparent; border-radius: 8px; }
  .nav__link:hover { background: var(--surface-2); }
  .nav__link.is-active { border-bottom-color: transparent; background: var(--surface-2); }
  .nav { max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav .nav__auth--mobile { order: -1; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .nav__auth { margin: 8px 0 0; }
  .nav__auth--mobile { flex-direction: row; align-items: center; gap: 8px; flex-wrap: nowrap; }
  .nav__auth--mobile .usermenu { order: 1; flex: 1 1 auto; min-width: 0; }
  .nav__auth--mobile .theme-toggle { order: 2; flex: 0 0 auto; }
  .nav__auth--mobile .notifmenu { order: 3; flex: 0 0 auto; }
  .site-header__inner .nav__auth--mobile .usermenu__name { display: inline-block; flex: 1 1 auto; min-width: 0; max-width: none; }
  .nav__auth--mobile .usermenu__btn { width: 100%; justify-content: flex-start; }
  .nav__auth--mobile { position: relative; }
  .nav__auth--mobile .usermenu, .nav__auth--mobile .notifmenu { position: static; }
  .nav__auth--mobile .usermenu__pop, .nav__auth--mobile .notifmenu__pop {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
    width: min(420px, calc(100vw - 44px)); display: none;
  }
  .nav__auth--mobile .usermenu.is-open .usermenu__pop,
  .nav__auth--mobile .notifmenu.is-open .notifmenu__pop { display: flex; }
  .feature-grid, .dept-grid, .news-grid, .gov-grid { grid-template-columns: 1fr; }
  .civic-strip { flex-wrap: wrap; }
  .civic-strip__go { width: 100%; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .rules-wrap { grid-template-columns: 1fr; gap: 28px; }
  .rules-toc { position: static; max-height: 280px; padding: 6px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; }
  .rules-toc a { padding: 7px 8px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .dept-layout { grid-template-columns: minmax(0, 1fr); }
  .fstat-band { grid-template-columns: repeat(2, 1fr); }
  .fside { grid-template-columns: 1fr; }
  .forum-cat { grid-template-columns: 40px 1fr; }
  .forum-cat__stats, .forum-cat__last { display: none; }
}
@media (max-width: 820px) {
  .shot-reel { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .reel-cell--hero { grid-column: span 2; grid-row: span 2; }
  .shot-reel--videos { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .vfilm-reel { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .vfilm--drop { transform: none; }
  .vfilm--drop:hover { transform: translateY(-7px); }
  .mosa-hero__img { height: 240px; }
  .mosa-strip { gap: 10px; margin-top: 12px; }
  .mosa-strip__img { height: 120px; }
  .shotview { grid-template-columns: 1fr; }
  .shotview__stage { max-height: 62vh; }
  .shotview__stage--video { max-height: none; }
  .gallery-masonry { columns: 2 220px; }
  .video-strip { grid-template-columns: 1fr; }
  .lb__arrow { width: 40px; height: 56px; }
  .lb__arrow--prev { left: 6px; }
  .lb__arrow--next { right: 6px; }
  .featured-shot img { max-height: 48vh; }
  .post { grid-template-columns: 1fr; }
  .post__author { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .topicrow { grid-template-columns: 1fr; }
  .topicrow__stats, .topicrow__last { display: none; }
  .form-page--apply { max-width: 640px; }
  .appform.at-2 { grid-template-columns: 1fr; }
  .appform.at-2 .appstep[data-step="1"] { display: none; }
}
@media (max-width: 720px) {
  .cal__cell { min-height: 56px; padding: 4px; }
  .cal__event-title { display: none; }
  .cal__event { padding: 2px 4px; }
  .event-row { gap: 12px; padding: 12px; }
  .event-row__go { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .brand__name { display: none; }
  .hero__title { font-size: clamp(40px, 12.5vw, 54px); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .micro, .muted.micro { font-size: 13px; }
  .auth-card { padding: 32px 20px; }
  .stat-cards { grid-template-columns: 1fr; }
  .flash { left: 16px; right: 16px; max-width: none; }
  .hero__stats { gap: 22px; }
  .shot-reel { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .reel-cell--hero { grid-column: span 1; grid-row: span 2; }
  .vfilm-reel { grid-template-columns: 1fr; }
  .mosa-hero__cap { padding: 50px 18px 16px; }
  .mosa-hero__title { font-size: clamp(19px, 6vw, 26px); }
  .mosa-hero__img { height: 220px; }
  .mosa-strip { gap: 8px; margin-top: 10px; }
  .mosa-strip__img { height: 105px; }
  .gallery-masonry { columns: 1; }
  .discord-unlock { flex-direction: column; align-items: flex-start; }
  .discord-unlock .btn { width: 100%; }
  .site-footer__col a { padding: 11px 0; }
  .site-footer__bottom-inner { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }

}

.rules-stats { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.rules-stats b { color: var(--ink-2); font-weight: 600; }
.tldr-section { padding-block: 42px 0; }
.tldr { margin-bottom: 10px; }
.tldr__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tldr__head h2 { font-size: 17px; margin: 0; }
.tldr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tldr__card { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.tldr__card:hover { border-color: var(--ink); transform: translateY(-1px); }
.tldr__card .mono { font-size: 12px; color: var(--text-2); }
.tldr__card b { font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.tldr__card p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; }
.rules-toc__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.rules-search { width: 100%; }
.rules-toc__toggle { display: none; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text-2); font-weight: 600; font-size: 13px; cursor: pointer; }
.rules-toc__toggle:hover { color: var(--ink); border-color: var(--ink); }
.rules-toc__empty { display: none; padding: 10px 4px; font-size: 13px; color: var(--text-3); }
.rules-toc__empty.is-visible { display: block; }
.rules-toc a.is-current { background: var(--surface-2); color: var(--ink); box-shadow: inset 2px 0 0 var(--ink); }
.rules-toc .is-hidden, .rule-block.is-hidden { display: none; }
.rules-toc mark, .rule-block mark { background: rgba(227, 173, 92, .28); color: inherit; border-radius: 3px; padding: 0 2px; }
.rbadge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.rbadge--danger { background: rgba(200, 55, 55, .14); color: #ff8f8f; border: 1px solid rgba(200, 55, 55, .35); }
.rbadge--warn { background: rgba(227, 173, 92, .14); color: #e3ad5c; border: 1px solid rgba(227, 173, 92, .35); }
.rbadge--ok { background: rgba(70, 170, 110, .14); color: #6fd18f; border: 1px solid rgba(70, 170, 110, .35); }
.rule-block h2 { flex-wrap: wrap; row-gap: 8px; }
.rule-copy { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text-2); cursor: pointer; transition: color .15s, border-color .15s; }
.rule-block .rule-copy { width: 38px; height: 38px; }
.rule-copy:hover { color: var(--ink); border-color: var(--ink); }
.rule-block.is-flash { animation: ruleFlash 1.6s ease; }
@keyframes ruleFlash { 0%, 100% { box-shadow: none; } 20% { box-shadow: 0 0 0 3px rgba(227, 173, 92, .35); border-radius: 12px; } }
.rules-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.rules-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--ink); z-index: 400; transition: width .12s linear; }
@media (max-width: 768px) {
  .rules-toc__toggle { display: inline-flex; }
  .rules-toc__list { display: none; }
  .rules-toc.is-open .rules-toc__list { display: block; }
}

.lc-progress { font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.lc-progress b { color: var(--ink-2); }
.lc-master { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 14px; cursor: pointer; }
.lc-master b { display: block; font-size: 14px; }
.lc-master em { font-style: normal; }
.lc-doc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px; margin-bottom: 12px; }
.lc-doc__head { display: flex; align-items: flex-start; gap: 12px; }
.lc-doc__icon { color: var(--text-2); margin-top: 2px; flex: 0 0 auto; }
.lc-doc__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lc-doc__meta b { font-size: 15px; }
.lc-doc__open { margin-left: auto; white-space: nowrap; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.lc-doc__summary { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; }
.lc-doc__actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.lc-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
.lc-check input:disabled + span { opacity: .45; }
.btn--danger-ghost { color: #ff8f8f; border-color: rgba(200, 55, 55, .4); }
.btn--danger-ghost:hover { color: #ffb3b3; border-color: #ff8f8f; }
.lc-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.lc-tab { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.lc-tab:hover { color: var(--ink); border-color: var(--ink); }
.lc-tab.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lc-status-list .is-hidden { display: none; }
.lc-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.lc-status:last-child { border-bottom: 0; }
.lc-status__main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lc-status__title { font-size: 14.5px; font-weight: 600; }
.lc-status__read { font-size: 12px; }
.lc-details { margin-top: 10px; }
.lc-details summary { cursor: pointer; }
.lc-details table { width: 100%; font-size: 12.5px; margin-top: 8px; }
.lc-details td { padding: 4px 8px; vertical-align: top; }
.lc-details td.mono { color: var(--text-2); word-break: break-all; }

.news-grid--home { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
.news-card--lead .news-card__media { aspect-ratio: 16/8; }
.news-card--lead .news-card__body h3 { font-size: 24px; line-height: 1.2; max-width: 640px; }
.news-card--lead .news-card__body p { font-size: 15px; max-width: 640px; }
.news-card--compact .news-card__body { padding: 16px 18px; }
.news-card--compact .news-card__body h3 { font-size: 16.5px; }
.news-card--compact .news-card__body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card--lead-page { margin-bottom: 22px; }
.news-card--lead-page .news-card__media { aspect-ratio: 21/9; }
.related-news { padding-bottom: 0; }
.section-head--related { margin-bottom: 22px; }

.news-hero__dots .news-hero__dot { width: 14px; height: 14px; margin: 2px; }
.news-hero__dots .news-hero__dot.is-active { width: 28px; }
@media (max-width: 560px) {
  .news-hero__dots { bottom: 14px; right: 14px; gap: 6px; }
  .rules-progress { top: auto; }
}

.site-header__inner .brand { margin-right: 0; }
.site-header__inner .nav { flex: 0 1 auto; justify-content: flex-start; gap: 2px; }
.site-header__inner .nav__auth--desktop { margin-left: 14px; }

@media (min-width: 1200px) {
  .site-header__inner .nav { gap: 0; }
  .site-header__inner .nav__link { padding: 10px 11px; font-size: 14px; }
  .site-header__inner .nav__auth--desktop { margin-left: 12px; }
}

@media (max-width: 1100px) {
  .site-header__inner .usermenu__name { display: none; }
}

@media (max-width: 999px) {
  .site-header__inner .nav__auth--desktop .theme-toggle,
  .site-header__inner .nav__auth--desktop .notifmenu { display: none; }
  .site-header__inner .nav__link { padding: 10px 8px; }
}

.avatar--sm { width: 36px; height: 36px; font-size: 14px; }

.shotview { grid-template-columns: 1.65fr 1fr; align-items: stretch; }
.shotview__stage {
  position: relative;
  background: none;
  border: 0;
  box-shadow: none;
}
.shotview__stage img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: var(--r-lg); }
.shotview__stage--video { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }

.shotview__meta {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px;
  box-shadow: var(--shadow);
}
.shotview__head { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.shotview__head .page-title { margin-bottom: 6px; }

.uploader--card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.uploader--card .avatar { flex: 0 0 auto; }
.uploader__who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.uploader__label {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
}
.uploader__who strong { font-size: 15px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uploader__go { margin-left: auto; color: var(--text-2); transition: color .15s, transform .15s; }
.uploader--card:hover .uploader__go { color: var(--ink); transform: translateX(3px); }

.reactions { flex-wrap: wrap; align-items: center; row-gap: 10px; }
.reactions__label {
  width: 100%; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3);
}
.react__btn { transition: transform .12s, border-color .12s, background .12s; }
.react__btn:hover { transform: translateY(-2px) scale(1.04); }
.react__btn.is-on { transform: scale(1.06); }

.shotview__facts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.shotview__fact {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); color: var(--text-2);
  font-size: 13.5px; font-weight: 600; text-decoration: none;
}
.shotview__fact svg { color: var(--ink); }
.shotview__fact--link {
  margin-left: auto;
  background: var(--ink); border-color: var(--ink); color: var(--bg);
  transition: opacity .15s, transform .15s;
}
.shotview__fact--link:hover { opacity: .88; transform: translateY(-1px); }
.shotview__fact--link svg { color: inherit; }

.shotview__pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 22px;
}
.pager-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  min-width: 0;
}
.pager-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: var(--shadow); }
.pager-btn--next { text-align: right; justify-content: flex-end; }
.pager-btn__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}
.pager-btn__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pager-btn--next .pager-btn__text { align-items: flex-end; }
.pager-btn__label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
}
.pager-btn__title {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pager-btn.is-disabled { opacity: .4; pointer-events: none; }

@media (max-width: 560px) {
  .shotview__pager { grid-template-columns: 1fr; }
  .pager-btn--next { text-align: left; justify-content: flex-start; }
  .pager-btn--next .pager-btn__text { align-items: flex-start; }
  .pager-btn--next .pager-btn__icon { order: -1; }
}

.related-news { margin-top: 34px; }
.section-title--related { margin-bottom: 16px; }

.shotview.is-wide { grid-template-columns: 1fr; }
.shotview.is-wide .shotview__stage img { max-height: none; }

.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.related-card {
  position: relative; display: block; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  text-decoration: none; isolation: isolate;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.related-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.related-card picture { display: block; width: 100%; height: 100%; }
.related-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .25s ease, opacity .2s;
}
.related-card:hover img { transform: scale(1.04); }
.related-card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(10, 10, 10, .55); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.related-card__badge svg { color: inherit; }
.related-card__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: block; padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(10, 10, 10, .72), rgba(10, 10, 10, 0));
}
.related-card__title {
  display: block; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { aspect-ratio: 16 / 9; }
}

.comments {
  margin-top: 4px; border-top: 1px solid var(--line);
  padding-top: 18px;
}
.comments__title { font-size: 17px; }
.comment-list { gap: 16px; }
.comment { gap: 12px; }
.comment .avatar { flex: 0 0 auto; }
.comment__body { padding: 12px 16px; }
.comment__head { align-items: center; gap: 10px; }
.comment__body p { line-height: 1.5; }

@media (max-width: 900px) {
  .shotview { align-items: start; }
  .shotview__stage { box-shadow: none; }
  .shotview__meta { box-shadow: none; }
}

