/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #17171a;
  --panel-2: #232327;
  --line: #3a3a42;
  --text: #f7f7f8;
  --muted: #b8b8c2;
  --accent: #FF8398;
  --accent-2: #ffb3c0;
  --danger: #e05272;
  --ok: #86efac;
  --input: #111114;
  --shadow-pink: rgba(255, 131, 152, .2);
  --on-accent: #2b101c;
  --on-accent-strong: #220912;
  --text-soft: rgba(247, 247, 248, .76);
  --text-faint: rgba(247, 247, 248, .72);
  --muted-soft: rgba(184, 184, 194, .74);
  --border-soft: rgba(255, 255, 255, .08);
  --border-faint: rgba(255, 255, 255, .07);
  --border-mid: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .13);
  --surface-glass: rgba(255, 255, 255, .04);
  --surface-soft: rgba(255, 255, 255, .025);
  --surface-hover: rgba(255, 255, 255, .07);
  --surface-panel-glass: rgba(23, 23, 26, .84);
  --surface-panel-strong: rgba(23, 23, 26, .98);
  --surface-input-glass: rgba(8, 8, 10, .58);
  --header-bg: linear-gradient(180deg, rgba(11, 11, 13, .92), rgba(11, 11, 13, .74));
  --header-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  --panel-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  --panel-shadow-strong: 0 24px 70px rgba(0, 0, 0, .42);
  --thumb-bg: #101012;
  --deep-bg: #020203;
  --hero-bg: #050506;
  --hero-overlay: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .42) 54%, rgba(0, 0, 0, .14)), linear-gradient(0deg, rgba(11, 11, 13, .72), transparent 58%);
  --hero-overlay-mobile: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .34)), linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .12));
  --hero-pill-bg: rgba(0, 0, 0, .36);
  --views-bg: rgba(0, 0, 0, .76);
  --thumb-shade: linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 38%);
  --watch-bg: radial-gradient(90% 52% at 50% 4%, rgba(255, 131, 152, .09), transparent 58%), linear-gradient(180deg, #060607 0%, #080809 38%, #0a0a0c 70%, #0d0d10 100%);
  --watch-hero-mask: linear-gradient(90deg, rgba(6, 6, 7, .94), rgba(6, 6, 7, .42) 48%, rgba(6, 6, 7, .9)), linear-gradient(0deg, #080809 0%, rgba(8, 8, 9, .9) 18%, rgba(8, 8, 9, .42) 52%, transparent 78%);
  --watch-content-fade: linear-gradient(180deg, rgba(8, 8, 9, 0), rgba(8, 8, 9, .86) 34%, rgba(10, 10, 12, 0));
  --watch-panel: rgba(18, 18, 21, .68);
  --field-focus-shadow: 0 0 0 4px rgba(255, 131, 152, .12), 0 12px 28px rgba(0, 0, 0, .18);
  --modal-scrim: rgba(0, 0, 0, .58);
  --shine: rgba(255, 255, 255, .28);
  --shine-soft: rgba(255, 255, 255, .18);
  --danger-text: #fecaca;
  --ok-text: #bbf7d0;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f0f1f4;
  --line: #d9dce3;
  --text: #17171a;
  --muted: #666b76;
  --accent: #FF8398;
  --accent-2: #b93255;
  --danger: #c92f55;
  --ok: #148a48;
  --input: #ffffff;
  --shadow-pink: rgba(255, 131, 152, .22);
  --on-accent: #2b101c;
  --on-accent-strong: #220912;
  --text-soft: rgba(23, 23, 26, .76);
  --text-faint: rgba(23, 23, 26, .7);
  --muted-soft: rgba(102, 107, 118, .76);
  --border-soft: rgba(23, 23, 26, .08);
  --border-faint: rgba(23, 23, 26, .07);
  --border-mid: rgba(23, 23, 26, .1);
  --border-strong: rgba(23, 23, 26, .14);
  --surface-glass: rgba(23, 23, 26, .045);
  --surface-soft: rgba(23, 23, 26, .03);
  --surface-hover: rgba(23, 23, 26, .06);
  --surface-panel-glass: rgba(255, 255, 255, .86);
  --surface-panel-strong: rgba(255, 255, 255, .98);
  --surface-input-glass: rgba(255, 255, 255, .72);
  --header-bg: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  --header-shadow: 0 18px 46px rgba(27, 31, 42, .08);
  --panel-shadow: 0 10px 28px rgba(27, 31, 42, .08);
  --panel-shadow-strong: 0 24px 70px rgba(27, 31, 42, .16);
  --thumb-bg: #eceef2;
  --deep-bg: #eef0f4;
  --hero-bg: #e9ebf0;
  --hero-overlay: linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .62) 56%, rgba(255, 255, 255, .18)), linear-gradient(0deg, rgba(247, 247, 248, .74), transparent 58%);
  --hero-overlay-mobile: linear-gradient(0deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .62)), linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .18));
  --hero-pill-bg: rgba(255, 255, 255, .62);
  --views-bg: rgba(255, 255, 255, .82);
  --thumb-shade: linear-gradient(180deg, rgba(255, 255, 255, .34), transparent 42%);
  --watch-bg: radial-gradient(90% 52% at 50% 4%, rgba(255, 131, 152, .12), transparent 58%), linear-gradient(180deg, #fbfbfc 0%, #f5f6f8 44%, #f1f2f5 100%);
  --watch-hero-mask: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .54) 48%, rgba(255, 255, 255, .9)), linear-gradient(0deg, #f5f6f8 0%, rgba(245, 246, 248, .9) 18%, rgba(245, 246, 248, .42) 52%, transparent 78%);
  --watch-content-fade: linear-gradient(180deg, rgba(245, 246, 248, 0), rgba(245, 246, 248, .88) 34%, rgba(247, 247, 248, 0));
  --watch-panel: rgba(255, 255, 255, .74);
  --field-focus-shadow: 0 0 0 4px rgba(255, 131, 152, .16), 0 12px 28px rgba(27, 31, 42, .1);
  --modal-scrim: rgba(247, 247, 248, .72);
  --shine: rgba(255, 255, 255, .46);
  --shine-soft: rgba(255, 255, 255, .34);
  --danger-text: #b42346;
  --ok-text: #137a42;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  font: inherit;
}
img { max-width: 100%; display: block; }

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-height: 76px;
  padding: 14px clamp(16px, 3vw, 34px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-faint);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
          backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: var(--header-shadow);
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.logo:hover {
  transform: translateY(-1px);
}
.logo img {
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  white-space: nowrap;
}
.logo-text-plain {
  color: var(--text);
}
.logo-text-badge {
  color: var(--on-accent-strong);
  background: linear-gradient(135deg, var(--accent), #ffc0cb);
  padding: 5px 8px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(255, 131, 152, .22);
}
.logo-mark {
  color: var(--on-accent);
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 4px;
  box-shadow: 0 0 22px var(--shadow-pink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--muted);
}
.nav a,
.nav button.secondary,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}
.nav a:hover,
.nav button.secondary:hover,
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-mid);
  background: var(--surface-hover);
  transform: translateY(-1px);
}
.nav form {
  margin: 0;
}
.admin-blur-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-glass);
  cursor: pointer;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}
.admin-blur-toggle:hover {
  color: var(--text);
  border-color: rgba(255, 131, 152, .38);
  background: rgba(255, 131, 152, .12);
  transform: translateY(-1px);
}
.theme-toggle {
  width: 40px;
  min-width: 40px;
  padding: 0;
  border-color: var(--border-soft);
  background: var(--surface-glass);
  cursor: pointer;
}
.theme-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.theme-toggle-icon.is-moon {
  background: var(--panel);
  box-shadow: inset -7px 0 0 currentColor;
  transform: rotate(135deg);
}
.theme-toggle-icon.is-sun {
  border: 2px solid currentColor;
  transform: scale(.75);
}
.theme-toggle-icon.is-sun::before,
.theme-toggle-icon.is-sun::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%);
  box-shadow:
    0 -13px 0 currentColor,
    6.5px -11.3px 0 currentColor,
    11.3px -6.5px 0 currentColor,
    13px 0 0 currentColor,
    11.3px 6.5px 0 currentColor,
    6.5px 11.3px 0 currentColor;
}
.theme-toggle-icon.is-sun::after {
  box-shadow:
    0 13px 0 currentColor,
    -6.5px 11.3px 0 currentColor,
    -11.3px 6.5px 0 currentColor,
    -13px 0 0 currentColor,
    -11.3px -6.5px 0 currentColor,
    -6.5px -11.3px 0 currentColor;
}
.admin-blur-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-blur-toggle-slash {
  stroke-width: 2.4;
}
.link:hover { color: var(--accent-2); }
.side-list a:hover {
  color: var(--accent-2);
}
.page-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-gap: 24px;
  gap: 24px;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 24px 20px 44px;
}
.auth-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 7vw, 76px) 18px;
  background:
    linear-gradient(180deg, rgba(255, 131, 152, .055), transparent 34%),
    linear-gradient(135deg, var(--surface-glass), transparent 46%);
}
.auth-card {
  width: min(100%, 480px);
  display: grid;
  grid-gap: 24px;
  gap: 24px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background:
    linear-gradient(180deg, var(--surface-hover), var(--surface-soft)),
    var(--surface-panel-glass);
  box-shadow: var(--panel-shadow-strong);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}
.auth-copy {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.auth-copy h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 48px);
  line-height: .96;
}
.auth-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--text-faint);
  line-height: 1.55;
}
.auth-form {
  gap: 16px;
}
.auth-form .field {
  gap: 8px;
}
.auth-form .field span {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 800;
}
.auth-form input {
  min-height: 50px;
  border-color: var(--border-mid);
  border-radius: 10px;
  background: var(--surface-input-glass);
  padding: 0 15px;
  box-shadow: 0 1px 0 var(--surface-glass) inset;
}
.auth-form input:focus {
  outline: 0;
  border-color: rgba(255, 131, 152, .58);
  box-shadow: var(--field-focus-shadow);
}
.auth-form button {
  min-height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ffc0cb);
  color: var(--on-accent-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .32) inset,
    0 16px 34px rgba(255, 131, 152, .18);
}
.auth-switch {
  margin: 0;
  padding-top: 2px;
  color: var(--muted);
  font-size: 14px;
}
.auth-switch a {
  color: var(--accent-2);
  font-weight: 900;
}
.auth-switch a:hover {
  color: var(--text);
}
.sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 102px;
  align-self: start;
  z-index: 12;
}
.side-section, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--panel-shadow);
}
.side-section {
  padding: 14px;
  background: var(--surface-panel-glass);
}
.side-section h2, .section-title {
  margin: 0 0 14px;
  font-size: 18px;
}
.side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.side-heading h2 {
  margin: 0;
}
.side-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.side-list {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-list-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.side-list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--muted);
  transition: color .16s ease, background .16s ease;
}
.side-list a:hover {
  color: var(--text);
  background: rgba(255, 131, 152, .11);
}
.content { min-width: 0; }
.home-shell {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  padding-top: 26px;
}
.side-drawer {
  width: 64px;
}
.side-drawer-trigger {
  display: grid;
  place-items: center;
  grid-gap: 10px;
  gap: 10px;
  width: 64px;
  min-height: 150px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-panel-glass);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.side-drawer-trigger:hover,
.side-drawer.is-open .side-drawer-trigger {
  color: var(--text);
  border-color: rgba(255, 131, 152, .45);
  background: var(--surface-hover);
  box-shadow: var(--panel-shadow);
}
.side-drawer-icon {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.side-drawer-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}
.side-drawer.is-open .side-drawer-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.side-drawer.is-open .side-drawer-icon span:nth-child(2) {
  opacity: 0;
}
.side-drawer.is-open .side-drawer-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.side-drawer-label {
  writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
          text-orientation: mixed;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.side-drawer-panel {
  position: absolute;
  top: 0;
  left: 76px;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  width: min(320px, calc(100vw - 120px));
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-panel-strong);
  box-shadow: var(--panel-shadow-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-14px) scale(.985);
  transform-origin: left center;
  visibility: hidden;
  transition:
    opacity .22s ease,
    transform .28s cubic-bezier(.2, .8, .2, 1),
    visibility 0s linear .28s;
}
.side-drawer.is-open .side-drawer-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  visibility: visible;
  transition:
    opacity .2s ease,
    transform .28s cubic-bezier(.2, .8, .2, 1),
    visibility 0s;
}
.home-hero {
  position: relative;
  min-height: clamp(230px, 28vw, 340px);
  overflow: hidden;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  background: var(--hero-bg);
  box-shadow: var(--panel-shadow);
}
.home-hero > .hero-rotator,
.home-hero > .hero-rotator-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transform: scale(1.015);
}
.hero-rotator {
  display: block;
  pointer-events: none;
}
.hero-rotator .hero-rotator-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.hero-rotator .hero-rotator-image.is-active {
  opacity: 1;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.home-hero-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  grid-gap: 10px;
  gap: 10px;
  width: min(560px, 100%);
  min-height: inherit;
  padding: clamp(18px, 3vw, 30px);
}
.home-hero-kicker {
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 131, 152, .18);
  color: var(--accent-2) !important;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.home-hero h1,
.home-hero h2 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.04;
  max-width: 760px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-page-intro {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 2px 2px 0;
}
.home-page-intro h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.04em;
}
.home-page-intro p {
  margin: 0;
  color: var(--muted);
}
.home-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  max-width: 540px;
}
.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.home-hero-meta span,
.home-hero-meta a {
  padding: 4px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--hero-pill-bg);
}
.home-hero-meta a {
  color: var(--accent-2);
}
.home-hero .tag-row {
  margin-top: 2px;
}
.home-hero .tag-row .button {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    filter .18s ease;
  animation: hero-action-in .34s ease both;
}
.home-hero .tag-row .button:nth-child(2) {
  animation-delay: .06s;
}
.home-hero .tag-row .button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, var(--shine) 48%, transparent 82%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .18s ease, transform .42s ease;
}
.home-hero .tag-row .button:hover,
.home-hero .tag-row .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 131, 152, .18), 0 0 0 1px var(--border-soft) inset;
}
.home-hero .tag-row .button:hover::after,
.home-hero .tag-row .button:focus-visible::after {
  opacity: 1;
  transform: translateX(120%);
}
.home-hero .tag-row .button:active {
  transform: translateY(0) scale(.98);
}
@keyframes hero-action-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-section {
  margin-top: 30px;
}
.search-page-panel {
  position: relative;
  z-index: 20;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 22px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 131, 152, .14), transparent 34%),
    var(--surface-panel-glass);
  box-shadow: var(--panel-shadow);
}
.search-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.search-page-heading h1 {
  margin: 2px 0 0;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -.035em;
}
.search-page-heading > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.search-page-query .search {
  width: 100%;
}
.search-page-query .search input {
  min-height: 58px;
  padding: 14px 20px;
  border-color: var(--border-soft);
  border-radius: 999px;
  background: var(--surface-input-glass);
  font-size: 16px;
  box-shadow: 0 1px 0 var(--surface-glass) inset;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.search-page-query .search input::placeholder {
  color: var(--muted-soft);
}
.search-page-query .search input:focus {
  border-color: rgba(255, 131, 152, .52);
  background: var(--surface-hover);
  box-shadow: var(--field-focus-shadow);
}
.search-page-query .suggestions {
  inset: calc(100% + 10px) 0 auto;
  border-color: var(--border-soft);
  border-radius: 12px;
  background: var(--surface-panel-strong);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}
.search-page-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-panel-glass);
  text-align: center;
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 16px;
}
.home-section-head h1,
.home-section-head h2 {
  margin: 2px 0 0;
  font-size: 24px;
}
.home-section-head .muted {
  margin: 7px 0 0;
  max-width: 760px;
  line-height: 1.5;
}
.related-taxonomy {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 20px;
}
.related-taxonomy > strong {
  font-size: 14px;
}
.home-section-head > .button {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    filter .18s ease;
}
.home-section-head > .button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, var(--shine-soft) 50%, transparent 84%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .18s ease, transform .42s ease;
}
.home-section-head > .button:hover,
.home-section-head > .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 131, 152, .14);
}
.home-section-head > .button:hover::after,
.home-section-head > .button:focus-visible::after {
  opacity: 1;
  transform: translateX(120%);
}
.home-section-head > .button:active {
  transform: translateY(0) scale(.98);
}
.home-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}
.home-shell .grid {
  grid-template-columns: repeat(var(--home-video-columns, 4), minmax(0, 1fr));
}
.video-card {
  position: relative;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-width: 0;
  border-radius: 8px;
  transition: transform .2s ease, filter .2s ease;
  transform-origin: center;
}
.video-card:hover {
  z-index: 4;
  transform: scale(1.025);
}
.thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--thumbnail-aspect-ratio, 16 / 9);
  overflow: hidden;
  border-radius: 7px;
  background: var(--thumb-bg);
  border: 1px solid var(--line);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.video-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--thumb-shade);
}
.thumb-preview {
  position: absolute;
  inset: 0;
  display: block;
}
.video-card:hover .thumb {
  border-color: rgba(255, 131, 152, .6);
  box-shadow: var(--panel-shadow-strong);
}
.video-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .26s ease, filter .26s ease;
}
.thumb-backdrop {
  z-index: 0;
  object-fit: cover;
  filter: blur(var(--thumbnail-backdrop-blur, 18px)) saturate(1.12);
  transform: scale(1.12);
  opacity: .72;
}
.thumb-main {
  z-index: 1;
  object-fit: contain;
}
.video-card:hover .thumb-backdrop {
  transform: scale(1.16);
  filter: blur(var(--thumbnail-backdrop-blur, 18px)) saturate(1.18) contrast(1.04);
}
.video-card:hover .thumb-main {
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.04);
}
.admin-blur-thumbnails .thumb img,
.admin-blur-thumbnails .home-hero > img,
.admin-blur-thumbnails .home-hero .hero-rotator-image,
.admin-blur-thumbnails .watch-backdrop .hero-rotator-image,
.admin-blur-thumbnails .watch-backdrop,
.admin-blur-thumbnails .player iframe,
.admin-blur-thumbnails .admin-video-preview img,
.admin-blur-thumbnails .admin-video-thumb {
  filter: blur(var(--admin-blur-intensity, 34px)) saturate(.85) !important;
  transform: scale(1.12);
}
.page-load-blur-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
  backdrop-filter: blur(var(--page-load-blur-intensity, 34px));
  -webkit-backdrop-filter: blur(var(--page-load-blur-intensity, 34px));
  animation: page-load-blur-clear var(--page-load-blur-duration, .5s) ease-out var(--page-load-blur-delay, 0s) forwards;
  will-change: backdrop-filter, -webkit-backdrop-filter;
}
.page-load-fade-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  background: #000;
  animation: page-load-fade var(--page-load-blur-duration, .5s) ease-out forwards;
  will-change: opacity;
}
@keyframes page-load-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes page-load-blur-clear {
  from {
    backdrop-filter: blur(var(--page-load-blur-intensity, 34px));
    -webkit-backdrop-filter: blur(var(--page-load-blur-intensity, 34px));
  }
  to {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-load-blur-overlay,
  .page-load-fade-overlay {
    animation-duration: .01ms;
    animation-delay: 0s;
  }
}
.card-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: var(--card-overlay-opacity, .1);
  transition: opacity .18s ease;
}
.views-pill {
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--views-bg);
  color: var(--text);
  font-size: 12px;
  opacity: var(--card-overlay-opacity, .1);
  transition: opacity .18s ease;
}
.hide-view-counts .views-pill,
.hide-view-counts .view-count-display {
  display: none;
}
.video-card-copy {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  min-width: 0;
  padding: 0 2px 2px;
  color: var(--text);
}
.video-card-title,
.video-card-performers a {
  color: inherit;
  text-decoration: none;
}
.video-card:hover .card-badge,
.video-card:hover .views-pill,
.video-card:focus-within .card-badge,
.video-card:focus-within .views-pill {
  opacity: 1;
}
.video-card-copy strong {
  font-size: 15px;
  line-height: 1.28;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-performers {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-card-performers a:hover,
.video-card-performers a:focus-visible {
  color: var(--accent);
}
.video-card-performers a:not(:last-child)::after {
  content: ", ";
  color: var(--muted);
}
.muted, .performers {
  color: var(--muted);
  font-size: 14px;
}
.button, button, input[type="submit"] {
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--border-faint) inset;
}
.button.secondary, button.secondary {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.button:hover, button:hover, input[type="submit"]:hover {
  filter: brightness(1.06);
}
.button.secondary:hover, button.secondary:hover {
  border-color: var(--accent);
}
.button.danger, button.danger { background: var(--danger); color: white; }
.form {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.field {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}
.field-label-with-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.help-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 131, 152, .48);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  cursor: help;
}
.help-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 50;
  width: min(320px, 76vw);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  box-shadow: var(--panel-shadow);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease;
}
.help-tip:hover::after,
.help-tip:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.field span, label {
  color: var(--muted);
  font-size: 14px;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--input);
  color: var(--text);
  padding: 10px 11px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(255, 131, 152, .42);
  border-color: var(--accent);
}
textarea { min-height: 120px; resize: vertical; }
.json-input {
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.5;
}
.error { color: var(--danger-text); }
.ok { color: var(--ok-text); }
.search {
  position: relative;
  width: min(520px, 45vw);
}
.site-header .search {
  flex: 1 1 340px;
  max-width: 620px;
}
.site-header .search input {
  min-height: 46px;
  border-color: var(--border-soft);
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--surface-hover), var(--surface-glass));
  padding-inline: 18px;
  color: var(--text);
  box-shadow:
    0 1px 0 var(--surface-glass) inset,
    var(--panel-shadow);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.site-header .search input::placeholder {
  color: var(--muted-soft);
}
.site-header .search input:focus {
  border-color: rgba(255, 131, 152, .48);
  background: var(--surface-input-glass);
  box-shadow: var(--field-focus-shadow);
}
.site-header .suggestions {
  inset: calc(100% + 10px) 0 auto 0;
  border-color: var(--border-soft);
  border-radius: 12px;
  background: var(--surface-panel-strong);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}
.suggestions {
  position: absolute;
  inset: calc(100% + 6px) 0 auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  z-index: 30;
  box-shadow: var(--panel-shadow);
}
.suggestions a, .suggestions button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  background: transparent;
  color: var(--text);
}
.suggestions a:hover,
.suggestions a.is-active,
.suggestions button:hover,
.suggestions button.is-active {
  background: rgba(255, 131, 152, .11);
}
.watch-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--watch-bg);
}
.watch-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(16px, 3vw, 34px) clamp(12px, 3vw, 30px) clamp(52px, 7vw, 96px);
}
.watch-backdrop {
  position: absolute;
  inset: -90px -40px auto -40px;
  z-index: -2;
  width: calc(100% + 80px);
  height: min(72vw, 760px);
  object-fit: cover;
  filter: blur(34px) saturate(1.15);
  opacity: .23;
  transform: scale(1.06);
}
.watch-backdrop.hero-rotator {
  overflow: hidden;
}
.watch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--watch-hero-mask);
}
.watch-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: start;
  grid-gap: clamp(16px, 2vw, 24px);
  gap: clamp(16px, 2vw, 24px);
  width: min(1640px, 100%);
  margin: 0 auto;
}
.watch-stage {
  position: relative;
  align-self: start;
  min-width: 0;
  border-radius: 8px;
  background: var(--deep-bg);
  box-shadow: var(--panel-shadow-strong), 0 0 0 1px var(--border-soft);
  overflow: hidden;
}
.watch-stage-column {
  display: grid;
  align-content: start;
  grid-gap: 20px;
  gap: 20px;
  min-width: 0;
}
.watch-stage-column .watch-tags {
  margin-top: -2px;
}
.watch-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--border-faint), inset 0 -70px 90px rgba(0, 0, 0, .22);
  z-index: 1;
}
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--deep-bg);
  overflow: hidden;
}
.player iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.player-loading,
.player-unavailable {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  grid-gap: 12px;
  gap: 12px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 131, 152, .12), transparent 34%),
    var(--deep-bg);
  color: white;
  text-align: center;
}
.player-unavailable {
  position: relative;
  width: 100%;
  height: 100%;
}
.player-unavailable span,
.player-loading > span,
.player-timeout-copy span {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}
.player-loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, .18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: player-spin .8s linear infinite;
}
.player-timeout-copy {
  display: grid;
  justify-items: center;
  grid-gap: 8px;
  gap: 8px;
}
.player-timeout-copy > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
@keyframes player-spin {
  to { transform: rotate(360deg); }
}
.watch-rail {
  display: grid;
  align-content: start;
  grid-gap: 14px;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  background: var(--watch-panel);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  overflow: visible;
}
.watch-rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 4px;
}
.watch-rail-head span,
.watch-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.watch-rail-head strong {
  font-size: 18px;
}
.recommended-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.watch-rail .video-card:hover {
  transform: scale(1.02);
}
.watch-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: clamp(28px, 5vw, 58px);
  gap: clamp(28px, 5vw, 58px);
  width: min(1380px, 100%);
  margin: clamp(-66px, -5vw, -34px) auto 0;
  padding: 0 clamp(12px, 3vw, 30px) 56px;
}
.watch-content::before {
  content: "";
  position: absolute;
  top: clamp(-72px, -6vw, -42px);
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: clamp(150px, 18vw, 250px);
  transform: translateX(-50%);
  pointer-events: none;
  background: var(--watch-content-fade);
}
.watch-main {
  min-width: 0;
}
.watch-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.watch-title-block {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
  min-width: 0;
}
.watch-title-block h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.02;
  text-wrap: balance;
}
.watch-meta {
  margin: 0;
  color: var(--text-faint);
  font-weight: 700;
}
.watch-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}
.watch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.watch-tags .tag {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--text);
}
.watch-tags .tag:hover {
  border-color: rgba(255, 131, 152, .58);
  background: rgba(255, 131, 152, .14);
  color: var(--text);
}
.watch-description {
  margin-top: 16px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-hover), var(--surface-soft));
  color: var(--text-soft);
  line-height: 1.7;
}
.watch-description p {
  margin: 0;
}
.watch-more {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.watch-more .grid {
  grid-template-columns: repeat(var(--recommended-video-columns, 4), minmax(0, 1fr));
}
.watch-more .section-title {
  margin-bottom: 0;
  font-size: clamp(22px, 2vw, 30px);
}
.tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0 0;
  border-bottom: 1px solid var(--line);
}
.tabs a, .tabs button {
  padding: 12px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 700;
}
.tabs a.active, .tabs button.active {
  color: var(--accent-2);
  border-bottom: 2px solid var(--accent);
}
.comments-panel {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 18px 0 4px;
}
.comment-composer {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.comment-composer textarea {
  min-height: 92px;
  background: var(--bg);
}
.comment-composer button {
  justify-self: end;
}
.comment-login {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.comment-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.empty-comments {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}
.comment-thread {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.comment {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-glass), var(--surface-soft));
}
.comment-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
}
.comment-content {
  min-width: 0;
}
.comment-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.comment-head strong {
  color: var(--text);
  font-size: 14px;
}
.comment-body {
  margin: 8px 0 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.reply {
  margin-left: 50px;
  background: var(--surface-soft);
}
.reply .comment-avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 8px;
  gap: 8px;
  margin-left: 50px;
  align-items: start;
}
.reply-form textarea {
  min-height: 44px;
  resize: vertical;
  padding: 9px 10px;
}
.reply-form button {
  height: 44px;
}
.reaction {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.reaction button,
.admin-comment-actions button {
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}
.admin-comment-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 131, 152, .14);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-side {
  border-right: 1px solid var(--line);
  padding: 22px;
  background: var(--thumb-bg);
}
.admin-main { padding: 28px; }
.admin-nav {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
  margin-top: 20px;
}
.admin-folder-input {
  display: none;
}
.admin-import-button {
  width: 100%;
  text-align: left;
}
.admin-import-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--modal-scrim);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.admin-import-popup {
  width: min(440px, 100%);
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--panel-shadow-strong);
}
.admin-import-popup.folder-picker-popup {
  width: min(760px, 100%);
  max-height: min(88vh, 820px);
  overflow: hidden;
}
.admin-import-popup h2 {
  margin: 3px 0 8px;
}
.admin-import-popup p {
  margin-bottom: 0;
}
.folder-picker-header,
.folder-picker-loading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.folder-picker-loading {
  align-items: center;
  justify-content: flex-start;
}
.folder-picker-close {
  flex: 0 0 auto;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--input);
  color: var(--muted);
  font-size: 22px;
}
.folder-picker-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  gap: 10px;
}
.folder-picker-summary > div {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--input);
}
.folder-picker-summary strong,
.folder-picker-summary span {
  display: block;
}
.folder-picker-summary strong {
  font-size: 18px;
}
.folder-picker-summary span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.folder-picker-list {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
  min-height: 80px;
  max-height: min(43vh, 390px);
  overflow-y: auto;
  padding-right: 4px;
}
.folder-picker-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 11px;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--input);
}
.folder-picker-card.is-valid {
  border-color: rgba(91, 196, 140, .35);
}
.folder-picker-card.is-invalid {
  border-color: rgba(255, 92, 116, .35);
  background: rgba(255, 92, 116, .06);
}
.folder-picker-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(91, 196, 140, .14);
  color: var(--ok-text);
  font-weight: 900;
}
.folder-picker-card.is-invalid .folder-picker-icon {
  background: rgba(255, 92, 116, .14);
  color: var(--danger-text);
}
.folder-picker-card strong,
.folder-picker-card div > span {
  display: block;
}
.folder-picker-card div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.folder-picker-card > button {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 21px;
}
.folder-picker-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 92, 116, .12);
  color: var(--danger-text);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.folder-picker-note,
.folder-picker-empty {
  color: var(--muted);
  font-size: 12px;
}
.folder-picker-empty {
  padding: 22px;
  text-align: center;
}
.folder-picker-popup > .error {
  margin: 0;
}
.folder-picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.folder-picker-actions button {
  width: 100%;
}
.admin-import-status {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(91, 196, 140, .16);
  color: var(--ok-text);
  font-size: 24px;
  font-weight: 900;
}
.admin-import-popup.is-error .admin-import-status {
  background: rgba(255, 92, 116, .16);
  color: var(--danger-text);
}
.admin-import-status.is-active {
  animation: import-status-pulse 1.6s ease-in-out infinite;
}
@keyframes import-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 196, 140, .05); }
  50% { box-shadow: 0 0 0 9px rgba(91, 196, 140, .12); }
}
.folder-import-progress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.folder-import-progress {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--input);
}
.folder-import-progress > header,
.folder-import-log-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.folder-import-progress > header span,
.folder-import-log-shell > header span {
  color: var(--muted);
  font-size: 12px;
}
.folder-import-progress-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-2);
}
.folder-import-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .2s ease;
}
.folder-import-progress-track.is-processing > span {
  background: linear-gradient(90deg, var(--ok), var(--accent-2));
}
.folder-import-progress-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 11px;
}
.folder-import-activity {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(91, 196, 140, .3);
  border-radius: 9px;
  background: rgba(91, 196, 140, .07);
}
.folder-import-activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(91, 196, 140, .12);
}
.folder-import-activity strong,
.folder-import-activity span {
  display: block;
}
.folder-import-activity strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-import-activity div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.folder-import-activity.is-stale {
  border-color: rgba(255, 131, 152, .42);
  background: rgba(255, 131, 152, .08);
}
.folder-import-activity.is-stale .folder-import-activity-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 131, 152, .14);
}
.folder-import-log-shell {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--input);
}
.folder-import-log-shell > header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.folder-import-log {
  display: grid;
  align-content: start;
  grid-gap: 1px;
  gap: 1px;
  max-height: min(31vh, 260px);
  overflow-y: auto;
  padding: 7px;
  background: rgba(0, 0, 0, .14);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.folder-import-log-entry {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-gap: 8px;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 5px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.42;
}
.folder-import-log-entry:nth-child(even) {
  background: var(--surface-soft);
}
.folder-import-log-entry time {
  color: var(--muted);
}
.folder-import-log-entry.is-success span {
  color: var(--ok-text);
}
.folder-import-log-entry.is-warning span {
  color: var(--accent-2);
}
.folder-import-log-entry.is-error span {
  color: var(--danger-text);
}
.folder-picker-result-content {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  min-height: 0;
  max-height: min(58vh, 520px);
  overflow-y: auto;
}
.folder-import-log-shell.is-result .folder-import-log {
  max-height: 230px;
}
.admin-import-results {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  max-height: min(42vh, 360px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
}
.admin-import-results ul {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}
.admin-import-results .muted {
  margin-top: 6px;
}
.duplicate-check-form {
  margin: 0;
}
.duplicate-check-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.duplicate-check-actions button {
  width: 100%;
}
.admin-import-popup > button {
  width: 100%;
}
.dashboard {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}
.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 131, 152, .16), transparent 42%),
    var(--panel);
}
.dashboard-hero h1 {
  margin: 2px 0 8px;
  font-size: 34px;
  line-height: 1;
}
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-metrics span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-glass);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}
.storage-overview-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr) 58px;
  grid-gap: 0;
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(255, 131, 152, .14), transparent 42%),
    var(--panel);
  color: var(--text);
  text-align: left;
  box-shadow: var(--panel-shadow);
}
.storage-overview-card.is-clickable {
  cursor: pointer;
}
.storage-overview-card.is-clickable:focus-visible {
  outline: 2px solid rgba(255, 131, 152, .48);
  outline-offset: 3px;
}
.storage-recalculate-error {
  color: var(--danger-text);
  font-size: 12px;
}
.storage-overview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 8px;
}
.storage-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-glass);
  color: var(--text);
  box-shadow: 0 1px 0 var(--border-faint) inset;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.storage-action:hover {
  filter: none;
  transform: translateY(-1px);
}
.storage-action:focus-visible {
  outline: 2px solid rgba(255, 131, 152, .42);
  outline-offset: 2px;
}
.storage-action-muted {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}
.storage-action-muted:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--text);
}
.storage-action-primary {
  border-color: rgba(255, 131, 152, .42);
  background:
    linear-gradient(180deg, rgba(255, 131, 152, .18), rgba(255, 131, 152, .09)),
    var(--surface-soft);
  color: var(--accent-2);
}
.storage-action-primary:hover {
  border-color: rgba(255, 131, 152, .68);
  background:
    linear-gradient(180deg, rgba(255, 131, 152, .25), rgba(255, 131, 152, .13)),
    var(--surface-hover);
}
.storage-action:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}
.storage-action-icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}
.storage-action-icon.is-spinning {
  animation: storage-action-spin .8s linear infinite;
}
.storage-action-compact {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11px;
}
.storage-recalculate-tab {
  width: 58px;
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  grid-gap: 10px;
  gap: 10px;
  padding: 14px 8px;
  border: 0;
  border-left: 1px solid rgba(255, 131, 152, .3);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 131, 152, .18), rgba(255, 131, 152, .07)),
    var(--surface-soft);
  color: var(--accent-2);
  box-shadow: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.storage-recalculate-tab > span:last-child {
  writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
          text-orientation: mixed;
}
.storage-recalculate-tab:hover {
  filter: none;
  border-color: rgba(255, 131, 152, .65);
  background:
    linear-gradient(180deg, rgba(255, 131, 152, .27), rgba(255, 131, 152, .12)),
    var(--surface-hover);
  color: var(--text);
}
.storage-recalculate-tab:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(255, 131, 152, .48);
  outline-offset: -3px;
}
.storage-recalculate-tab:disabled {
  cursor: wait;
  opacity: .58;
}
.storage-live-progress {
  grid-column: 1 / -1;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(91, 196, 140, .045), transparent 32%),
    var(--surface-soft);
}
.storage-live-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.storage-live-progress-header h3 {
  margin: 3px 0 0;
  font-size: 17px;
}
.storage-live-progress-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.storage-progress-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(91, 196, 140, .28);
  border-radius: 999px;
  color: var(--ok-text);
  background: rgba(91, 196, 140, .07);
  font-size: 11px;
  font-weight: 900;
}
.storage-progress-state > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(91, 196, 140, .12);
  animation: import-status-pulse 1.6s ease-in-out infinite;
}
.storage-live-progress.is-stale .storage-progress-state {
  border-color: rgba(255, 174, 87, .38);
  color: var(--accent-2);
  background: rgba(255, 174, 87, .08);
}
.storage-live-progress.is-stale .storage-progress-state > span {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 131, 152, .14);
}
.storage-live-progress.is-disconnected .storage-progress-state {
  border-color: rgba(255, 92, 116, .4);
  color: var(--danger-text);
  background: rgba(255, 92, 116, .08);
}
.storage-live-progress.is-disconnected .storage-progress-state > span {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 92, 116, .13);
  animation: none;
}
.storage-live-progress.is-complete .storage-progress-state > span {
  animation: none;
}
.storage-progress-close {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
}
.storage-progress-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 6px;
  gap: 6px;
}
.storage-progress-steps > span {
  min-width: 0;
  display: grid;
  justify-items: center;
  grid-gap: 5px;
  gap: 5px;
  padding: 8px 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.storage-progress-steps i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}
.storage-progress-steps > span.is-active {
  border-color: rgba(255, 131, 152, .45);
  color: var(--text);
  background: rgba(255, 131, 152, .08);
}
.storage-progress-steps > span.is-active i {
  background: rgba(255, 131, 152, .17);
  color: var(--accent-2);
}
.storage-progress-steps > span.is-complete {
  color: var(--ok-text);
}
.storage-progress-steps > span.is-complete i {
  background: rgba(91, 196, 140, .15);
  color: var(--ok-text);
}
.storage-overall-progress {
  background: var(--panel);
}
.storage-overall-progress > header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.storage-progress-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}
.storage-progress-metrics > span {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.storage-progress-metrics small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.storage-progress-metrics strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.storage-progress-activity.is-disconnected {
  border-color: rgba(255, 92, 116, .4);
  background: rgba(255, 92, 116, .08);
}
.storage-progress-activity.is-disconnected .folder-import-activity-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 92, 116, .13);
}
.storage-progress-log-shell {
  background: var(--panel);
}
.storage-progress-log {
  max-height: 220px;
}
@keyframes storage-action-spin {
  to { transform: rotate(360deg); }
}
.storage-overview-card:hover {
  border-color: rgba(255, 131, 152, .55);
  filter: none;
}
.storage-overview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}
.storage-overview-heading > span:first-child {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}
.storage-overview-heading > span > strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}
.storage-overview-heading small {
  color: var(--muted);
  font-weight: 700;
}
.storage-open-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}
.storage-overview-breakdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.storage-overview-breakdown > span {
  display: grid;
  align-content: center;
  grid-gap: 7px;
  gap: 7px;
  padding: 18px;
  border-left: 1px solid var(--line);
}
.storage-overview-breakdown > span:first-child {
  border-left: 0;
}
.storage-overview-breakdown small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.storage-overview-breakdown strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.storage-modal-overlay {
  z-index: 150;
  align-items: center;
}
.admin-import-popup.storage-modal {
  width: min(1180px, 100%);
  max-height: min(92vh, 980px);
  display: flex;
  gap: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.storage-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 131, 152, .13), transparent 46%),
    var(--panel);
}
.storage-modal-header h2 {
  margin: 3px 0 7px;
  font-size: 28px;
}
.storage-modal-header p:last-child {
  margin: 0;
}
.storage-modal-close {
  flex: 0 0 auto;
  width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}
.storage-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.storage-summary-grid article {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 16px 18px;
  border-left: 1px solid var(--line);
  background: var(--surface-soft);
}
.storage-summary-grid article:first-child {
  border-left: 0;
}
.storage-summary-grid article > span,
.storage-summary-grid article > small {
  color: var(--muted);
  font-size: 12px;
}
.storage-summary-grid article > strong {
  font-size: 19px;
}
.storage-summary-grid .storage-warning-card {
  background: rgba(255, 174, 87, .08);
}
.storage-modal-content {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 18px;
  overflow-y: auto;
}
.storage-detail-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
}
.storage-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.storage-section-heading h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.storage-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.storage-size-value {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  grid-gap: 2px;
  gap: 2px;
  text-align: right;
}
.storage-size-value strong {
  font-size: 13px;
}
.storage-size-value small {
  color: var(--muted);
  font-size: 10px;
}
.storage-detail-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.storage-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.storage-detail-row:first-child {
  border-top: 0;
}
.storage-detail-row > span:first-child {
  display: grid;
  min-width: 0;
  grid-gap: 2px;
  gap: 2px;
}
.storage-detail-row > span:first-child > strong {
  font-size: 13px;
}
.storage-detail-row > span:first-child > small {
  color: var(--muted);
  font-size: 11px;
}
.storage-database-summary,
.storage-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 12px;
}
.storage-health-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}
.storage-database-summary > span,
.storage-health-grid > span {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.storage-database-summary small,
.storage-health-grid small {
  color: var(--muted);
  font-size: 11px;
}
.storage-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.storage-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
}
.storage-table th,
.storage-table td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.storage-table th {
  color: var(--muted);
  background: var(--panel-2);
  font-size: 11px;
}
.storage-table th:first-child,
.storage-table td:first-child {
  text-align: left;
}
.storage-table tbody tr:last-child td {
  border-bottom: 0;
}
.storage-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}
.storage-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.storage-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}
.storage-detail-list.compact {
  max-height: 340px;
  overflow-y: auto;
}
.storage-file-path {
  max-width: min(34vw, 390px);
}
.storage-file-path strong,
.storage-file-path small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.storage-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel-2);
  font-size: 11px;
}
.storage-modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.storage-modal-footer-actions button {
  flex: 0 0 auto;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.stat, .table-wrap, .panel-pad {
  padding: 16px;
}
.stat {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  min-height: 124px;
}
.stat-primary {
  background:
    linear-gradient(180deg, rgba(255, 131, 152, .1), var(--surface-soft)),
    var(--panel);
}
.stat-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.stat strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}
.stat small {
  color: var(--muted);
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.dashboard-card {
  padding: 16px;
}
.dashboard-card h2,
.activity-panel h2 {
  margin: 0;
  font-size: 16px;
}
.dashboard-card ul {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.dashboard-card li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}
.dashboard-card li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}
.activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  grid-gap: 14px;
  gap: 14px;
}
.activity-panel {
  padding: 16px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.activity-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.activity-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.activity-item p {
  margin: 0 0 8px;
  line-height: 1.4;
}
.activity-item div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.activity-item.compact p {
  margin-bottom: 6px;
}
.video-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.video-toolbar > div:first-child {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}
.admin-video-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.admin-video-row {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
  padding: 14px;
}
.admin-video-preview {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.admin-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-video-info {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  min-width: 0;
}
.admin-video-info h2 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.admin-video-meta {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}
.admin-video-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-video-meta p {
  margin: 0;
}
.admin-video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-video-actions {
  display: flex;
  grid-column: 2;
  flex-direction: row;
  gap: 8px;
  align-items: stretch;
  justify-content: flex-start;
}
.admin-video-actions .button,
.admin-video-actions button {
  width: 100%;
  text-align: center;
}
.empty-admin-state {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  justify-items: start;
  padding: 22px;
}
.empty-admin-state h2 {
  margin: 0;
}
.admin-create-panel {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
  padding: 18px;
}
.admin-create-panel h2 {
  margin: 0 0 6px;
  font-size: 18px;
}
.admin-create-panel p {
  margin: 0;
}
.admin-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.admin-entity-card {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  padding: 16px;
}
.entity-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.entity-card-head h2 {
  margin: 0 0 5px;
  font-size: 18px;
}
.entity-card-head p {
  margin: 0;
}
.metric-pill {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-2);
  background: var(--surface-glass);
  font-size: 12px;
  font-weight: 900;
}
.entity-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.entity-edit-form {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}
.entity-actions {
  display: flex;
  gap: 8px;
}
.entity-actions .button,
.entity-actions button,
.entity-delete {
  width: 100%;
  text-align: center;
}
.admin-comment-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.admin-comment-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 128px;
  grid-gap: 14px;
  gap: 14px;
  align-items: start;
  padding: 14px;
}
.admin-comment-main {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-width: 0;
}
.admin-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.admin-comment-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-comment-head strong {
  font-size: 15px;
}
.admin-comment-head span {
  color: var(--muted);
  font-size: 13px;
}
.admin-comment-main p {
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.admin-comment-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.admin-comment-context span {
  color: var(--accent-2);
  font-weight: 900;
}
.admin-comment-actions-block {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.admin-comment-actions-block button {
  width: 100%;
}
.admin-user-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.admin-user-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 120px;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px;
}
.admin-user-main {
  min-width: 0;
}
.admin-user-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.admin-user-head h2 {
  margin: 0 0 5px;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.admin-user-head p {
  margin: 0;
}
.admin-user-actions button {
  width: 100%;
}
.settings-panel {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 18px;
}
.settings-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.settings-panel-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.settings-panel-head p {
  margin: 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.settings-group {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.settings-group-head {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.settings-group-head h3 {
  margin: 0;
  color: var(--accent-2);
  font-size: 17px;
}
.settings-group-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.settings-grid .field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.settings-field-wide {
  grid-column: 1 / -1;
}
.setting-toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
}
.setting-toggle input {
  width: auto;
  margin-top: 3px;
}
.setting-toggle span {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.setting-toggle strong {
  color: var(--text);
}
.setting-toggle small {
  color: var(--muted);
  line-height: 1.35;
}
.settings-save-form {
  padding-bottom: 86px;
}
.settings-save-form > button {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 35;
  min-width: 180px;
  padding: 13px 18px;
  box-shadow: var(--panel-shadow-strong), 0 0 0 1px var(--border-soft) inset;
}
table {
  width: 100%;
  border-collapse: collapse;
}
.security-dashboard {
  min-width: 0;
}
.security-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.security-table {
  min-width: 1080px;
  font-size: 12px;
}
.security-event-table {
  min-width: 1580px;
}
.security-table th,
.security-table td {
  white-space: nowrap;
}
.security-table code {
  color: var(--text);
  font-size: 11px;
}
.security-password {
  max-width: 260px;
  overflow-wrap: anywhere;
  white-space: normal !important;
  color: var(--danger-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.security-user-agent {
  max-width: 360px;
  overflow-wrap: anywhere;
  white-space: normal !important;
}
.security-table form {
  margin: 0;
}
.security-table button {
  padding: 7px 9px;
  font-size: 11px;
}
.admin-video-thumb {
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
}
th, td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--accent-2);
}
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--modal-scrim);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
          backdrop-filter: blur(16px) saturate(1.1);
}
.age-box {
  width: min(520px, 100%);
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--panel-shadow-strong);
}
.age-box h1 {
  margin: 4px 0 10px;
  font-size: 34px;
  line-height: 1;
}
.age-box p {
  margin: 0;
  line-height: 1.55;
}
.age-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 0 34px var(--shadow-pink);
}
.age-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 10px;
  gap: 10px;
}
.age-actions button {
  padding: 12px 14px;
}
.maintenance-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
.maintenance-box {
  width: min(520px, 100%);
  display: grid;
  justify-items: start;
  grid-gap: 14px;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.maintenance-box h1 {
  margin: 0;
  font-size: 34px;
}
.maintenance-box p {
  margin: 0;
  color: var(--muted);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dropdown {
  position: relative;
}
.dropdown summary {
  list-style: none;
}
.dropdown summary::-webkit-details-marker {
  display: none;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 25;
  display: grid;
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--panel-shadow);
}
.dropdown-menu a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--text);
}
.dropdown-menu a:hover {
  background: rgba(255, 131, 152, .11);
}
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent-2);
  background: var(--surface-glass);
}

html[data-theme="light"] .home-hero-overlay,
html[data-theme="light"] .home-hero p,
html[data-theme="light"] .home-hero-meta,
html[data-theme="light"] .home-hero h1,
html[data-theme="light"] .home-hero h2 {
  color: var(--text);
}

html[data-theme="light"] .home-hero > .hero-rotator,
html[data-theme="light"] .home-hero > .hero-rotator-image {
  opacity: .38;
}

html[data-theme="light"] .watch-backdrop {
  opacity: .16;
}

html[data-theme="light"] .thumb-backdrop {
  opacity: .42;
}

html[data-theme="light"] .watch-stage::before {
  box-shadow: inset 0 0 0 1px var(--border-faint), inset 0 -70px 90px rgba(255, 255, 255, .18);
}

@media (max-width: 980px) {
  .page-shell, .watch-layout, .admin-shell { grid-template-columns: 1fr; }
  .watch-hero-inner { grid-template-columns: 1fr; }
  .watch-rail .recommended-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .watch-more .grid {
    grid-template-columns: repeat(var(--recommended-video-columns-tablet, 3), minmax(0, 1fr));
  }
  .watch-info {
    flex-direction: column;
  }
  .watch-admin-actions {
    justify-content: flex-start;
  }
  .home-shell { grid-template-columns: 1fr; }
  .home-shell .grid { grid-template-columns: repeat(var(--home-video-columns-tablet, 3), minmax(0, 1fr)); }
  .sidebar { position: static; order: 2; }
  .side-drawer {
    width: 100%;
  }
  .side-drawer-trigger {
    width: 100%;
    min-height: 52px;
    display: flex;
    justify-content: flex-start;
    padding: 12px 14px;
  }
  .side-drawer-label {
    writing-mode: horizontal-tb;
  }
  .side-drawer-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 12px;
    transform: translateY(-8px) scale(.99);
    transform-origin: top center;
  }
  .side-drawer.is-open .side-drawer-panel {
    transform: translateY(0) scale(1);
  }
  .search { width: 100%; }
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-gap: 12px;
    gap: 12px;
  }
  .site-header .search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
  .nav {
    margin-left: 0;
    justify-content: flex-end;
  }
  .stats, .dashboard-grid, .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-hero { align-items: flex-start; flex-direction: column; }
  .storage-overview-card { grid-template-columns: minmax(0, 1fr) 56px; }
  .storage-overview-heading { grid-column: 1; grid-row: 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .storage-overview-breakdown { grid-column: 1; grid-row: 2; }
  .storage-recalculate-tab { grid-column: 2; grid-row: 1 / span 2; width: 56px; }
  .storage-live-progress { grid-column: 1 / -1; grid-row: 3; }
  .storage-progress-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .storage-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-summary-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .storage-summary-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .home-hero { min-height: 300px; }
  .home-hero-overlay { width: 100%; }
  .admin-video-row { grid-template-columns: 160px minmax(0, 1fr); }
  .admin-video-actions { grid-column: 2; flex-direction: row; }
  .admin-comment-card { grid-template-columns: 40px minmax(0, 1fr); }
  .admin-comment-actions-block { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-user-card { grid-template-columns: 42px minmax(0, 1fr); }
  .admin-user-actions { grid-column: 2; }
}

@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .watch-hero {
    padding: 10px 10px 54px;
  }
  .watch-hero-inner {
    gap: 14px;
  }
  .watch-stage,
  .watch-rail,
  .watch-description {
    border-radius: 7px;
  }
  .watch-rail {
    padding: 12px;
  }
  .watch-rail .recommended-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .watch-more .grid {
    grid-template-columns: repeat(var(--recommended-video-columns-mobile, 2), minmax(0, 1fr));
  }
  .watch-content {
    margin-top: -34px;
    padding-inline: 12px;
    padding-bottom: 38px;
  }
  .watch-title-block h1 {
    font-size: 30px;
  }
  .watch-admin-actions,
  .watch-admin-actions form,
  .watch-admin-actions .button,
  .watch-admin-actions button {
    width: 100%;
  }
  .home-shell .grid { grid-template-columns: repeat(var(--home-video-columns-mobile, 2), minmax(0, 1fr)); }
  .site-header {
    min-height: 0;
    padding: 12px;
  }
  .logo {
    min-width: 0;
    font-size: 19px;
  }
  .logo img {
    max-width: 150px;
  }
  .nav {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a,
  .nav button.secondary,
  .admin-blur-toggle,
  .theme-toggle {
    flex: 0 0 auto;
    min-height: 38px;
  }
  .site-header .search input {
    min-height: 44px;
  }
  .page-shell { padding: 16px 12px 34px; }
  .home-shell { gap: 22px; }
  .home-hero {
    min-height: 280px;
    border-radius: 8px;
  }
  .home-hero::after {
    background: var(--hero-overlay-mobile);
  }
  .home-hero-overlay {
    gap: 9px;
    padding: 18px;
  }
  .home-section-head { align-items: flex-start; flex-direction: column; }
  .search-page-panel {
    gap: 16px;
    padding: 18px;
  }
  .search-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .search-page-query .search input {
    min-height: 52px;
  }
  .admin-main { padding: 16px; }
  .stats, .dashboard-grid, .activity-grid { grid-template-columns: 1fr; }
  .dashboard-hero h1 { font-size: 28px; }
  .storage-overview-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-overview-heading { align-items: stretch; flex-direction: column; }
  .storage-overview-actions { width: 100%; justify-content: flex-start; }
  .storage-overview-actions .storage-action { flex: 1 1 auto; }
  .storage-live-progress { padding: 12px; }
  .storage-live-progress-header { align-items: flex-start; }
  .storage-live-progress-header-actions { align-items: flex-end; flex-direction: column-reverse; }
  .storage-progress-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-progress-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-overview-breakdown > span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .storage-overview-breakdown > span:nth-child(4) { border-top: 1px solid var(--line); }
  .storage-summary-grid,
  .storage-two-column,
  .storage-health-grid { grid-template-columns: 1fr; }
  .storage-summary-grid article { border-left: 0; border-top: 1px solid var(--line); }
  .storage-summary-grid article:first-child { border-top: 0; }
  .storage-modal-overlay { padding: 8px; }
  .admin-import-popup.storage-modal { max-height: 96vh; }
  .storage-modal-header { padding: 18px; }
  .storage-modal-header h2 { font-size: 23px; }
  .storage-modal-content { padding: 10px; }
  .storage-detail-section { padding: 12px; }
  .storage-modal-footer { flex-direction: column; gap: 3px; }
  .storage-modal-footer-actions { justify-content: space-between; }
  .storage-file-path { max-width: 55vw; }
  .video-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-video-row { grid-template-columns: 1fr; }
  .admin-video-actions { grid-column: 1; flex-direction: column; }
  .admin-create-panel { grid-template-columns: 1fr; }
  .admin-entity-grid { grid-template-columns: 1fr; }
  .admin-comment-card { grid-template-columns: 32px minmax(0, 1fr); }
  .admin-comment-actions-block { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .admin-user-card { grid-template-columns: 32px minmax(0, 1fr); }
  .admin-user-actions { grid-column: 1 / -1; }
  .admin-user-head { align-items: flex-start; flex-direction: column; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-save-form > button {
    left: 16px;
    right: 16px;
    bottom: 14px;
    width: auto;
  }
  .admin-import-overlay {
    align-items: end;
    padding: 10px;
  }
  .admin-import-popup.folder-picker-popup {
    max-height: 92vh;
    padding: 18px;
    border-radius: 12px;
  }
  .folder-picker-summary {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
  .folder-picker-summary > div {
    padding: 10px;
  }
  .folder-picker-summary strong {
    font-size: 15px;
  }
  .folder-picker-card {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 10px;
  }
  .folder-picker-card.is-invalid {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .folder-picker-card.is-invalid .folder-picker-badge {
    grid-column: 2;
    justify-self: start;
  }
  .folder-picker-actions {
    grid-template-columns: 1fr;
  }
  .folder-import-progress-grid {
    grid-template-columns: 1fr;
  }
  .folder-import-log {
    max-height: 200px;
  }
  .folder-import-log-entry {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 6px;
    padding-inline: 4px;
  }
  .folder-picker-result-content {
    max-height: 56vh;
  }
  th, td { padding: 8px 6px; font-size: 14px; }
  .comment { grid-template-columns: 32px minmax(0, 1fr); padding: 12px; }
  .comment-avatar { width: 32px; height: 32px; font-size: 13px; }
  .reply, .reply-form { margin-left: 18px; }
  .reply-form { grid-template-columns: 1fr; }
  .reply-form button { justify-self: end; }
  .age-actions { grid-template-columns: 1fr; }
}

