/* ══════════════════════════════════════════════════════════════════
   Sarya Video Library — Seoul Dak theme
   Matches support.eatseouldak.com: red/orange on near-black, with a
   sticky blurred header, a hero band with a giant KR watermark, and
   14px-radius cards that flip to a red→orange gradient on hover.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --red:      #E8321A;
  --red2:     #c42a14;
  --orange:   #FF6B2B;
  --gold:     #F5A623;
  --dark:     #0D0D0D;
  --dark2:    #161616;
  --dark3:    #1F1F1F;
  --dark4:    #282828;
  --dark5:    #333;
  --text:     #F5F0EB;
  --muted:    #999;
  --muted2:   #777;
  --border:   #2A2A2A;
  --green:    #22C55E;
  --blue:     #3B82F6;
  --danger:   #ff6b6b;
  --header-bg: rgba(13, 13, 13, .95);
  --radius:   14px;
  --shadow:   0 20px 40px rgba(0, 0, 0, .5);
  --brand-grad: linear-gradient(135deg, var(--red), var(--orange));
}

html[data-theme="light"] {
  --dark:     #FAF7F2;
  --dark2:    #FFFFFF;
  --dark3:    #F1ECE4;
  --dark4:    #E8E1D5;
  --dark5:    #D6CFC1;
  --text:     #1A0A05;
  --muted:    #6B6660;
  --muted2:   #8C857C;
  --border:   #E5DED4;
  --header-bg: rgba(255, 251, 246, .97);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font: 15px/1.55 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s, color .2s;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .35rem; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: 1.65rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p  { margin: 0 0 .6rem; }
.muted { color: var(--muted); }
.sm    { font-size: .82rem; }
.right { text-align: right; }
.hidden { display: none !important; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ---------------- nav ---------------- */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 32px;
  height: 60px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: -.01em;
}
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand-grad);
  display: grid; place-items: center;
  color: #fff; font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(232, 50, 26, .35);
  flex: 0 0 auto;
}
.mark.mark-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; padding: 4px;
  overflow: hidden;
}
.mark.mark-logo img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.login-brand .mark.mark-logo.login-mark {
  width: 48px; height: 48px; border-radius: 12px; padding: 6px;
}
.brand-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 3px;
  background: var(--brand-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-sub {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 2px; margin-top: 1px;
  -webkit-text-fill-color: var(--muted);
}
.logo-div { width: 1px; height: 22px; background: var(--border); }

.nav-links {
  display: flex; gap: 4px; margin-right: auto;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--muted); font-size: 13px; font-weight: 600;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--dark3); }
.nav-links a.on    { color: var(--text); background: var(--dark4); }

.nav-user { display: flex; align-items: center; gap: 12px; }
.who { color: var(--muted); font-size: 13px; }
.who em {
  font-style: normal;
  color: var(--orange); font-size: 10px;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 2px 8px; border-radius: 20px;
  background: rgba(255, 107, 43, .12);
  margin-left: 6px;
}

.theme-toggle, .signout {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.theme-toggle:hover, .signout:hover {
  color: var(--red); border-color: var(--red);
}

/* ---------------- wrap ---------------- */
.wrap        { max-width: 1100px; margin: 0 auto; padding: 32px 32px 64px; }
.wrap.wide   { max-width: 1400px; }
@media (max-width: 720px) { .wrap { padding: 20px 18px 56px; } .nav { padding: 0 18px; } }

/* ---------------- hero (library page only) ---------------- */
.hero {
  position: relative;
  padding: 56px 32px 48px;
  background: linear-gradient(135deg, #170805 0%, #0D0D0D 65%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
html[data-theme="light"] .hero {
  background: linear-gradient(135deg, #FFF8F0 0%, #FAF1E6 65%);
}
.hero-kr {
  position: absolute; right: -18px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 200px; font-weight: 700;
  color: rgba(232, 50, 26, .05);
  user-select: none; line-height: 1; pointer-events: none;
}
.hero-logo {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  width: 240px; height: 240px;
  opacity: .07;
  user-select: none; pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(232, 50, 26, .5));
}
.hero-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232, 50, 26, .12);
  border: 1px solid rgba(232, 50, 26, .25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px; color: var(--orange);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero-eyebrow .lock { font-size: 12px; }
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px; letter-spacing: 3px;
  line-height: 1; margin-bottom: 12px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 14px; color: var(--muted); max-width: 520px; line-height: 1.6; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 26px;
}
.hero-stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; color: var(--red); line-height: 1;
}
.hero-stat-lbl {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 4px;
}

/* ---------------- page head (non-library pages) ---------------- */
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; letter-spacing: 3px; line-height: 1;
}
.page-head p { margin: 0; color: var(--muted); }

.sec {
  font-size: 10px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--muted); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.sec::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---------------- controls ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark3);
  color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  text-decoration: none;
}
.btn:hover { background: var(--dark4); border-color: var(--dark5); }
.btn.primary {
  background: var(--brand-grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(232, 50, 26, .25);
}
.btn.primary:hover { filter: brightness(1.05); box-shadow: 0 10px 24px rgba(232, 50, 26, .35); }
.btn.ghost   { background: transparent; }
.btn.ghost:hover { background: var(--dark3); }
.btn.danger  { color: var(--danger); border-color: rgba(255, 107, 107, .3); background: transparent; }
.btn.danger:hover { background: rgba(255, 107, 107, .1); border-color: var(--danger); }
.btn.sm      { padding: 6px 12px; font-size: 12px; }
.btn.block   { width: 100%; margin-top: 10px; padding: 12px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

input, textarea, select {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark3); color: var(--text);
  font: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 50, 26, .15);
}
label {
  display: block; margin-bottom: 14px; font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 2px; font-weight: 600;
}
label input, label textarea, label select {
  margin-top: 6px; text-transform: none; letter-spacing: 0;
  color: var(--text); font-size: 14px; font-weight: 400;
}
label.check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 12px 14px; border-radius: 10px;
  background: var(--dark3); border: 1px solid var(--border);
  text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text);
  font-weight: 500;
}
label.check input {
  width: 18px; height: 18px; margin: 0; flex: 0 0 auto;
  accent-color: var(--red);
}
label.check span { line-height: 1.4; }
label.check:has(input:checked) { border-color: var(--red); background: rgba(232, 50, 26, .08); }

textarea { resize: vertical; min-height: 80px; }
.search input { width: 260px; padding: 8px 14px; font-size: 13px; }

.err {
  background: rgba(255, 107, 107, .1);
  border: 1px solid rgba(255, 107, 107, .35);
  color: #ffb4b0; padding: 10px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 16px;
}
.ok-msg {
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #86efac; padding: 10px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 16px;
}

/* ---------------- cards ---------------- */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card.pad    { padding: 24px; }
.card.scroll { overflow-x: auto; }
.card + .card { margin-top: 20px; }
.empty { text-align: center; padding: 60px 24px; }
.empty .btn { margin-top: 16px; }

/* ---------------- library grid ---------------- */
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.video-card {
  display: block; position: relative;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 16px 32px rgba(232, 50, 26, .18);
}
.thumb {
  position: relative; aspect-ratio: 16 / 9;
  background: #050505; overflow: hidden;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s;
}
.video-card:hover .thumb img { transform: scale(1.06); }
.thumb-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: var(--dark5); font-size: 2rem;
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
}
.thumb-fallback.sm { font-size: 1rem; }
.badge {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0, 0, 0, .82); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
}
.badge.sm { font-size: 10px; padding: 2px 6px; right: 4px; bottom: 4px; }
.badge.restricted {
  left: 8px; right: auto; top: 8px; bottom: auto;
  background: rgba(232, 50, 26, .9); text-transform: uppercase; letter-spacing: 1px;
}
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.4rem; color: #fff; opacity: 0;
  background: linear-gradient(135deg, rgba(232, 50, 26, .82), rgba(255, 107, 43, .82));
  transition: opacity .2s;
}
.video-card:hover .play { opacity: 1; }
.meta { padding: 14px 16px 18px; }
.meta h3 {
  font-size: .95rem; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta p { margin: 0; }

/* ---------------- watch ---------------- */
.watch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px; align-items: start;
}
@media (max-width: 980px) { .watch { grid-template-columns: 1fr; } }

.player-shell {
  background: #000;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: var(--arn, 1.7778);
  max-width: calc(76vh * var(--arn, 1.7778));
  margin-inline: auto;
}
#player { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }

.watch-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin: 20px 0 6px;
}
.watch-head h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 2px; line-height: 1.1;
}
.watch-head p { margin: 0; color: var(--muted); font-size: 13px; }
.watch-actions { display: flex; gap: 8px; }

.desc {
  color: var(--text);
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px; margin-top: 10px;
  white-space: pre-wrap; line-height: 1.6; font-size: 14px;
}

.admin-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-top: 20px; padding: 14px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.inline { display: flex; gap: 8px; align-items: center; margin: 0; }
.inline.grow { flex: 1; min-width: 240px; }
.inline input { min-width: 0; }

.up-next h2 {
  font-size: 10px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--muted); margin-bottom: 12px;
}
.up-next .row {
  display: flex; gap: 12px; padding: 8px; border-radius: 10px;
  margin-bottom: 4px; transition: background .15s;
}
.up-next .row:hover { background: var(--dark2); }
.row-thumb {
  position: relative; width: 128px; flex: 0 0 128px;
  aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background: #050505;
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-meta h4 { font-size: .88rem; margin: 0 0 4px; }
.row-meta p { margin: 0; font-size: 11px; color: var(--muted); }

/* ---------------- tables ---------------- */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th {
  text-align: left; padding: 12px 16px;
  color: var(--muted); font-size: 10px;
  text-transform: uppercase; letter-spacing: 2px;
  border-bottom: 1px solid var(--border); font-weight: 700;
}
td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td .inline { justify-content: flex-end; display: inline-flex; }
td input { width: 160px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--dark3); color: var(--muted);
}
.tag.admin   { background: rgba(232, 50, 26, .15); color: #ffb4a5; }
.tag.chef    { background: rgba(255, 107, 43, .18); color: #ffb890; }
.tag.viewer  { background: rgba(59, 130, 246, .15); color: #93c5fd; }
.tag.kitchen { background: rgba(245, 166, 35, .18); color: #fbbf24; }
.add-user {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 16px; align-items: end;
}
.add-user .btn { margin-bottom: 14px; }

/* ---------------- upload ---------------- */
.file input {
  padding: 14px;
  background: var(--dark3);
  border-style: dashed; border-width: 1.5px; cursor: pointer;
}
.progress { height: 8px; background: var(--dark3); border-radius: 20px; overflow: hidden; margin: 8px 0; }
.bar { height: 100%; width: 0; background: var(--brand-grad); transition: width .2s; }

/* ---------------- login ---------------- */
.login-body {
  min-height: 100vh;
  display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(232, 50, 26, .18) 0%, transparent 60%),
    var(--dark);
  position: relative;
  overflow: hidden;
}
.login-body::after {
  content: '한식'; /* KR mark, subtle */
  position: absolute; right: -40px; bottom: -60px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 320px; font-weight: 700;
  color: rgba(232, 50, 26, .04);
  user-select: none; pointer-events: none; line-height: 1;
}
.login {
  width: 100%; max-width: 400px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 32px;
  box-shadow: var(--shadow);
  position: relative; z-index: 1;
}
.login-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; margin-bottom: 24px;
}
.login h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 3px;
  margin-bottom: 6px;
}
.login .err { margin: 12px 0; }
.login form { margin-top: 20px; }

/* ---------------- video wall ---------------- */
.wall-body { margin: 0; height: 100vh; overflow: hidden; background: #000; cursor: none; }
#stage { position: fixed; inset: 0; background: #000; }
#stage video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .6s ease;
}
.wall-body.cover #stage video { object-fit: cover; }
#stage video.on { opacity: 1; }
#hint {
  position: fixed; left: 0; right: 0; bottom: 32px; text-align: center;
  color: rgba(255, 255, 255, .5); font-size: .85rem; letter-spacing: .02em;
  transition: opacity .6s ease; pointer-events: none;
}

/* ---------------- copy rows ---------------- */
.copy-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.copy-row input {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}
.copy-row .btn { flex: 0 0 auto; }
table.opts td { border-bottom: 0; padding: 6px 12px 6px 0; vertical-align: top; }
table.opts code {
  background: var(--dark3);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 3px 8px; font-size: 12px; white-space: nowrap;
}

/* ---------------- kiosk admin switches ---------------- */
.switches { display: grid; gap: 4px; }
.switches.cols { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; }
.switch {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 4px; margin: 0; cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.switches.cols .switch { border-bottom: 0; }
.switch:last-child { border-bottom: 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  flex: 0 0 auto; width: 46px; height: 26px; border-radius: 999px;
  background: var(--dark3); border: 1px solid var(--border);
  position: relative; transition: background .18s, border-color .18s;
}
.switch .knob {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform .18s, background .18s;
}
.switch input:checked + .track {
  background: rgba(232, 50, 26, .3); border-color: var(--red);
}
.switch input:checked + .track .knob {
  transform: translateX(20px); background: var(--red);
}
.switch input:focus-visible + .track {
  box-shadow: 0 0 0 3px rgba(232, 50, 26, .25);
}
.switch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.switch-text strong { font-weight: 700; font-size: .95rem; }
.switch-text em { font-style: normal; color: var(--muted); font-size: .8rem; }

/* ═════════════ Standalone additions: chips, outlets, comments ═════════════ */

.chips-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.chips-row .sec-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--muted); margin-right: 8px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--red); color: var(--text); }
.chip.on {
  background: var(--brand-grad);
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px rgba(232, 50, 26, .25);
}
.chip.xs {
  padding: 2px 8px; font-size: 10px; border-radius: 20px;
  letter-spacing: 0; text-transform: none; font-weight: 500;
}
.chip.red { background: rgba(232, 50, 26, .15); color: var(--orange); border-color: rgba(232, 50, 26, .35); }
.chip.muted { color: var(--muted); background: var(--dark3); border-color: var(--border); }

.badge.cat {
  right: auto; left: 8px; bottom: 8px;
  background: rgba(0, 0, 0, .78);
  text-transform: none; letter-spacing: 0;
  font-weight: 700;
}
.badge.restricted { top: 8px; left: 8px; bottom: auto; right: auto; }

.outlets {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 8px !important;
}

.tags-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}

/* ── upload form extras ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  align-items: start;
}
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.outlet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px; margin-bottom: 20px;
}
.outlet-check {
  padding: 10px 12px; font-size: 12px;
}

.inline-check {
  padding: 8px 12px; margin: 0;
  font-size: 12px;
}

/* ── comments block ── */
.comments { margin-top: 24px; }
.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-of-type { border-bottom: 0; }
.c-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; font-size: 13px;
}
.c-head strong { color: var(--text); }
.comment p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; }
.comment-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.comment-form textarea {
  margin-bottom: 10px;
  min-height: 60px;
}

/* ── users row-actions dropdown ── */
.row-actions summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
}
.row-actions summary::-webkit-details-marker { display: none; }
.row-panel {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
  padding: 12px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  justify-content: flex-start;
}
.row-panel input { max-width: 240px; }

/* ── login page tweaks for GIS button ── */
.or-divider {
  margin: 20px 0 14px; text-align: center;
  color: var(--muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px;
  position: relative;
}
.or-divider span {
  background: var(--dark2); padding: 0 12px;
  position: relative; z-index: 1;
}
.or-divider::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--border);
}
.google-btn-wrap { display: flex; justify-content: center; }
.login-mark { width: 44px; height: 44px; border-radius: 11px; padding: 5px; }

/* ── watch page tweaks ── */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .watch { grid-template-columns: 1fr; } }
.watch-head h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px; letter-spacing: 2px; line-height: 1.1;
  margin-bottom: 8px;
}
