:root {
  --bg: #12110f;
  --bg-elev: #1c1a17;
  --bg-soft: #26231e;
  --line: rgba(245, 230, 200, 0.12);
  --text: #f4efe6;
  --muted: #a89f90;
  --accent: #e2b15a;
  --accent-2: #8fbf9f;
  --danger: #e07a6a;
  --ok: #7dba8a;
  --radius: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(226, 177, 90, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(143, 191, 159, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 17, 15, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.nav__links { display: flex; gap: 1rem; flex: 1; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__user { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .9rem; }

.main { max-width: 1180px; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 .35rem;
  letter-spacing: -0.02em;
}
.hero p { margin: 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.stat__label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.stat__value {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  margin-top: .25rem;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.panel__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
}

.search {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.search input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: .55rem .8rem;
  min-width: 220px;
  font: inherit;
}
.search input:focus { outline: 2px solid rgba(226,177,90,.35); border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 0;
  border-radius: 10px;
  padding: .55rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #1a1408;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn--danger { background: var(--danger); color: #1a0c0a; }
.btn--sm { padding: .35rem .7rem; font-size: .85rem; }

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
tr:hover td { background: rgba(255,255,255,.02); }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; font-size: .9rem; }
.badge {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.badge--ban { background: rgba(224,122,106,.2); color: #f0b0a6; }
.badge--ok { background: rgba(125,186,138,.18); color: #b6e0be; }
.badge--warn { background: rgba(226,177,90,.18); color: #e2b15a; }

.eyebrow {
  margin: 0 0 .35rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero--videos { align-items: flex-end; margin-bottom: 1.25rem; }
.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}
.metric {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.metric strong { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.metric--on {
  border-color: rgba(143,191,159,.35);
  background: rgba(143,191,159,.1);
  color: #b6e0be;
}
.metric--on strong { color: #d6f0dc; }
.metric--muted { opacity: .85; }
.hero__actions { margin: 0; }

.panel--videos {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.vid-toolbar {
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.vid-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .15rem .15rem .15rem .7rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.vid-search:focus-within {
  border-color: rgba(226,177,90,.55);
  box-shadow: 0 0 0 3px rgba(226,177,90,.14);
}
.vid-search__icon {
  width: .85rem;
  height: .85rem;
  flex-shrink: 0;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  position: relative;
  opacity: .7;
}
.vid-search__icon::after {
  content: "";
  position: absolute;
  width: .35rem;
  height: 1.5px;
  background: var(--muted);
  right: -.28rem;
  bottom: -.12rem;
  transform: rotate(45deg);
  border-radius: 1px;
}
.vid-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: .5rem .55rem .5rem 0;
  font: inherit;
  outline: none;
}
.vid-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.prot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.1);
}
.prot-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.prot-chip:hover {
  color: var(--text);
  border-color: rgba(226,177,90,.35);
  text-decoration: none;
}
.prot-chip.is-active {
  background: rgba(226,177,90,.18);
  border-color: rgba(226,177,90,.45);
  color: var(--accent);
}
.prot-chip.is-active[href*="prot=on"] {
  background: rgba(143,191,159,.16);
  border-color: rgba(143,191,159,.4);
  color: #b6e0be;
}
.prot-chip.is-active[href*="prot=off"] {
  background: rgba(226,177,90,.14);
  border-color: rgba(226,177,90,.4);
  color: #e2b15a;
}

.vlist { padding: 0; }
.vlist__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.5rem 3.2rem;
  gap: .75rem;
  align-items: center;
  padding: .55rem 1rem .55rem 2.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0,0,0,.18);
}
.vlist__head span:last-child { text-align: center; }
.vrow {
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
  background: transparent;
}
.vrow:last-child { border-bottom: 0; }
.vrow.is-open {
  background:
    linear-gradient(90deg, rgba(226,177,90,.07), transparent 42%),
    rgba(255,255,255,.015);
}
.vrow.is-busy { opacity: .72; pointer-events: none; }
.vrow.is-protected .vrow__title { color: #d4ead9; }
.vrow__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .35rem;
  min-height: 3.35rem;
  padding-right: .65rem;
}
button.vrow__open {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) 9.5rem;
  align-items: center;
  gap: .75rem;
  width: 100%;
  margin: 0;
  padding: .72rem .5rem .72rem 1rem;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--text) !important;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
}
button.vrow__open:hover { background: rgba(255,255,255,.03) !important; }
button.vrow__open:focus-visible {
  outline: 2px solid rgba(226,177,90,.45);
  outline-offset: -2px;
}
.vrow__chev {
  display: block;
  width: .42rem;
  height: .42rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  margin-left: .15rem;
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
  opacity: .85;
  flex-shrink: 0;
}
.vrow.is-open .vrow__chev { transform: rotate(45deg); }
.vrow__name {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.vrow__title {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.vrow__file {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vrow__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .35rem;
  flex-shrink: 0;
}
.vchip {
  display: inline-flex;
  align-items: center;
  padding: .18rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  border: 1px solid transparent;
  white-space: nowrap;
}
.vchip--on {
  background: rgba(125,186,138,.16);
  color: #b6e0be;
  border-color: rgba(125,186,138,.22);
}
.vchip--off {
  background: rgba(226,177,90,.12);
  color: #e2b15a;
  border-color: rgba(226,177,90,.2);
}
.vchip--muted {
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border-color: var(--line);
}
.vchip--bad {
  background: rgba(224,122,106,.16);
  color: #f0b0a6;
  border-color: rgba(224,122,106,.22);
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 1.45rem;
  margin: 0 .2rem 0 0;
  cursor: pointer;
  flex-shrink: 0;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.switch__track {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #3a3530;
  border: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  pointer-events: none;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #f4efe6;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
}
.switch input:checked + .switch__track {
  background: rgba(143,191,159,.55);
  border-color: rgba(143,191,159,.55);
}
.switch input:checked + .switch__track::after { transform: translateX(1.1rem); }
.switch input:focus-visible + .switch__track {
  box-shadow: 0 0 0 3px rgba(226,177,90,.2);
}
.vrow.is-protected .switch__track {
  background: rgba(143,191,159,.62);
  border-color: rgba(143,191,159,.45);
}

.vrow__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s cubic-bezier(.2,.8,.2,1);
}
.vrow.is-open .vrow__panel { grid-template-rows: 1fr; }
.vrow__panel[hidden] { display: none !important; }
.vrow__panel-inner {
  overflow: hidden;
  padding: 0 1rem 1.05rem 2.55rem;
  border-top: 1px solid rgba(245,230,200,.06);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease;
}
.vrow.is-open .vrow__panel-inner {
  opacity: 1;
  transform: none;
}
.vrow__form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding-top: .9rem;
  min-width: 0;
}
.vrow__form-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem auto auto;
  gap: .65rem;
  align-items: end;
  min-width: 0;
}
.vrow__form-top > .btn {
  width: auto;
  max-width: max-content;
  justify-self: start;
  white-space: nowrap;
}
.vrow__form .field { margin: 0; min-width: 0; }
.vrow__form .field span {
  display: block;
  margin-bottom: .3rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.vrow__form .field input,
.vrow__form .field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: .55rem .7rem;
  font: inherit;
  color-scheme: dark;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vrow__form .field input:focus,
.vrow__form .field textarea:focus {
  outline: none;
  border-color: rgba(226,177,90,.5);
  box-shadow: 0 0 0 3px rgba(226,177,90,.12);
}
.vrow__form .field textarea {
  resize: vertical;
  min-height: 3.2rem;
}
.vrow__form .field--check .field__check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.35rem;
  padding: 0 .55rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.vrow__form .field--check .field__check input {
  width: auto;
  margin: 0;
  accent-color: #c9a24a;
}
.vrow__access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.vrow__access-head {
  grid-column: 1 / -1;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.vrow__access .vrow__hint { grid-column: 1 / -1; margin: 0; }
.vrow__access .field--check { align-self: end; }
.vrow__access .field--wide { grid-column: 1 / -1; }
.vrow__embed { margin-top: .9rem; }
.vrow__preview {
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px dashed var(--line);
}
.vrow__preview-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
  flex-wrap: wrap;
}
.vrow__preview-stage {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  max-width: 640px;
}
.vrow__preview-video,
.vrow__preview-frame {
  display: block;
  width: 100%;
  max-height: 360px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.vrow__preview-video { object-fit: contain; }
.vrow__embed-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .45rem;
  flex-wrap: wrap;
}
.vrow__embed-label {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.vrow__id {
  display: inline-block;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .72rem;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vrow__hint {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}
.vid-embed__code {
  width: 100%;
  max-width: 100%;
  resize: vertical;
  min-height: 3.2rem;
  background: #151310;
  border: 1px solid var(--line);
  color: #e8dfd0;
  border-radius: 12px;
  padding: .7rem .85rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: .78rem;
  line-height: 1.5;
}
.vid-copied {
  color: var(--ok);
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
}
.vid-copied.is-show {
  opacity: 1;
  transform: none;
}
.empty--videos {
  display: grid;
  gap: .35rem;
  padding: 2.75rem 1.25rem;
}
.empty--videos strong {
  color: var(--text);
  font-size: 1.05rem;
}
.empty--videos span { font-size: .9rem; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .9rem 1rem 1.05rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.pager a, .pager__cur {
  min-width: 2.1rem;
  text-align: center;
  padding: .4rem .55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pager a:hover {
  color: var(--text);
  border-color: rgba(226,177,90,.35);
  text-decoration: none;
}
.pager__cur {
  background: var(--accent);
  color: #1a1408;
  border-color: transparent;
}

@media (max-width: 900px) {
  .vlist__head { display: none; }
  button.vrow__open { grid-template-columns: 1rem minmax(0, 1fr); }
  .vrow__meta { display: none; }
  .vrow__form-top { grid-template-columns: minmax(0, 1fr) 7rem; }
  .vrow__form-top .field--check,
  .vrow__form-top > .btn { grid-column: 1 / -1; justify-self: start; }
  .vrow__access { grid-template-columns: 1fr; }
  .vrow__panel-inner { padding-left: 1rem; }
}
@media (max-width: 560px) {
  .vrow__form-top { grid-template-columns: 1fr; }
  .hero__metrics .metric--muted { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vrow, .vrow__chev, .vrow__panel, .vrow__panel-inner, .switch__track, .switch__track::after, .vid-copied {
    transition: none !important;
  }
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.login {
  width: min(420px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.login h1 {
  font-family: var(--display);
  margin: 0 0 .35rem;
  font-size: 2rem;
}
.login p { color: var(--muted); margin: 0 0 1.5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .85rem; }
.field input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: .7rem .85rem;
  font: inherit;
}
.err {
  background: rgba(224,122,106,.15);
  color: #f0b0a6;
  padding: .7rem .9rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.empty { padding: 2rem 1rem; color: var(--muted); text-align: center; }

.flash {
  padding: .75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.flash--ok { background: rgba(125,186,138,.15); color: #b6e0be; }
.flash--err { background: rgba(224,122,106,.15); color: #f0b0a6; }

.check-row {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.check-row input { width: auto; accent-color: var(--accent); }

.form-stack { padding: 1rem 1.25rem 1.5rem; max-width: 520px; }
.form-stack .hint { margin: .4rem 0 0; color: var(--muted); font-size: .8rem; }
.form-stack .field input[type="number"] { width: 100%; }

.ban-actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 11.5rem;
  max-width: 14rem;
}
.ban-duration {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: 0;
}
.ban-duration__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ban-duration__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem;
  align-items: stretch;
}
.ban-duration__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  background-color: var(--bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a89f90' d='M1.4 1.4 6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: .45rem 1.85rem .45rem .7rem;
  font: inherit;
  font-size: .82rem;
  color-scheme: dark;
  cursor: pointer;
}
.ban-duration__select:focus {
  outline: none;
  border-color: rgba(226, 177, 90, 0.55);
  box-shadow: 0 0 0 3px rgba(226, 177, 90, 0.15);
}
.ban-duration__select option {
  background: #1c1a17;
  color: var(--text);
}
.ban-duration__apply {
  white-space: nowrap;
  border-radius: 10px;
}
.ban-unban { margin: 0; }
.ban-unban__btn {
  width: 100%;
  border-radius: 10px;
  border-color: rgba(224, 122, 106, 0.35);
  color: #f0b0a6;
  justify-content: center;
}
.ban-unban__btn:hover {
  background: rgba(224, 122, 106, 0.12);
  border-color: rgba(224, 122, 106, 0.55);
  color: #f7c4bc;
  text-decoration: none;
}

.chart-bars {
  display: flex;
  gap: .35rem;
  padding: 1.75rem 1rem 1.25rem;
  align-items: flex-end;
}
.chart-bar {
  position: relative;
  flex: 1;
  text-align: center;
  cursor: default;
}
.chart-bar__track {
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chart-bar__fill {
  width: 70%;
  min-height: 4px;
  background: linear-gradient(180deg, var(--accent), #a67c2d);
  border-radius: 6px 6px 2px 2px;
  transition: filter .15s ease, opacity .15s ease;
}
.chart-bar:hover .chart-bar__fill {
  filter: brightness(1.12);
}
.chart-bar__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 1.55rem);
  transform: translateX(-50%) translateY(4px);
  padding: .2rem .45rem;
  border-radius: 6px;
  background: rgba(20, 18, 16, 0.95);
  border: 1px solid rgba(226, 177, 90, 0.35);
  color: var(--text);
  font: 600 .72rem/1.2 ui-monospace, monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
  z-index: 2;
}
.chart-bar:hover .chart-bar__tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.chart-bar__day {
  color: var(--muted);
  font-size: .7rem;
  margin-top: .35rem;
}

a.th-sort {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(226, 177, 90, 0.35);
}
a.th-sort:hover,
a.th-sort.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .nav__links { order: 3; width: 100%; }
  th:nth-child(n+5), td:nth-child(n+5) { display: none; }
}
