/* Jank Diver Gaming: dark dashboard style. Change --accent to re-theme the site. */
:root {
  --bg: #0a0c10;
  --panel: #12161d;
  --panel-2: #181d26;
  --panel-3: #1f2531;
  --line: #2a3142;
  --text: #e6ecf5;
  --muted: #8a93a6;
  --accent: #2de2e6;
  --accent-ink: #04191a;
  --accent-soft: rgba(45, 226, 230, .12);

  --r-common: #6b7385;
  --r-uncommon: #b9c3d3;
  --r-rare: #d6a93a;
  --r-mythic: #e8640c;

  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --clip: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 var(--font-body); min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .06em; line-height: 1.05; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.loading, .empty { color: var(--muted); padding: 24px 0; font-family: var(--font-mono); font-size: .85rem; }
main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 18px 18px 40px; outline: none; }
input[type="search"], select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 0;
  background: var(--bg); color: var(--text); font: inherit;
}
input:focus, select:focus { outline: 1px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1440px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #7ff6f8, var(--accent) 45%, #0b8f94);
  color: var(--accent-ink); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em;
  box-shadow: 0 0 0 3px #0c3a3c;
}
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-sub { font-family: var(--font-display); color: var(--accent); letter-spacing: .3em; font-size: .9rem; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); padding: 8px 18px; border: 1px solid transparent;
}
.nav a:hover { text-decoration: none; border-color: var(--line); }
.nav a.active { background: var(--accent); color: var(--accent-ink); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase;
  background: none; cursor: pointer;
}
.btn-outline:hover { border-color: var(--accent); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 22px;
  background: var(--accent); color: var(--accent-ink); clip-path: var(--clip);
  font-family: var(--font-mono); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
}
.btn-cta:hover { filter: brightness(1.1); text-decoration: none; }
.btn-tile {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px;
  background: var(--panel-3); color: var(--text); clip-path: var(--clip);
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
}
.btn-tile:hover { background: #283042; text-decoration: none; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg a, .seg button {
  padding: 7px 12px; background: none; border: 0; border-right: 1px solid var(--line); color: var(--muted); cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
}
.seg > :last-child { border-right: 0; }
.seg a:hover, .seg button:hover { color: var(--text); text-decoration: none; }
.seg [aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }

/* ---------- Panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px; }
.panel-body { padding: 0 14px 14px; }
.panel-foot { margin-top: auto; padding: 10px 14px; border-top: 1px solid var(--line); text-align: right; }
.more {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.more::after { content: " →"; }
.more:hover { text-decoration: none; filter: brightness(1.15); }
.label {
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px;
}

/* ---------- Home dashboard ---------- */
.dash { display: grid; grid-template-columns: 360px minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.dash-col { display: grid; gap: 14px; min-width: 0; }
.about { text-align: center; }
.about p { margin: 0 0 10px; color: var(--muted); }
.about p strong { color: var(--accent); font-weight: 500; }
.bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; text-align: left; margin: 0 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.bullets li::before { content: "◆"; color: var(--accent); font-size: .6rem; margin-right: 8px; vertical-align: 2px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }

.mini-tiers { border-top: 1px solid var(--line); }
.mini-row { display: grid; grid-template-columns: 30px 1fr; border-bottom: 1px solid var(--line); }
.mini-row .t { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; border-left: 4px solid; }
.mini-row .strip { display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: thin; }
.mini-row .strip button { flex: 0 0 auto; width: 52px; aspect-ratio: 488 / 680; padding: 0; border: 0; background: var(--panel-2); cursor: pointer; border-radius: 3px; overflow: hidden; }
.mini-row .strip img { width: 100%; height: 100%; object-fit: cover; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.panel .video-grid { grid-template-columns: 1fr 1fr; }
.video {
  background: var(--panel-2); border: 1px solid var(--line); display: flex; flex-direction: column; color: var(--text); min-width: 0;
}
.video:hover { border-color: var(--accent); text-decoration: none; }
.video .thumb { aspect-ratio: 16 / 9; background: var(--bg); position: relative; overflow: hidden; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .soon {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px;
  background: repeating-linear-gradient(135deg, #12161d 0 12px, #151a22 12px 24px);
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase;
}
.video .soon small { display: block; color: var(--accent); font-size: .9rem; letter-spacing: .2em; }
.video .meta { padding: 10px 12px 12px; display: grid; gap: 4px; }
.video .kind { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.video .kind b { color: var(--accent); font-weight: 500; }
.video .title { font-weight: 600; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.list-index { list-style: none; margin: 0; padding: 0; }
.list-index a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--text);
}
.list-index a:hover { background: var(--panel-2); text-decoration: none; }
.list-index .name { font-weight: 600; }
.list-index .info { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.list-index .dist { grid-column: 1 / -1; }

.quick-results { display: grid; margin-top: 8px; }
.quick-results a, .quick-results p { padding: 8px 2px; border-top: 1px solid var(--line); color: var(--text); display: flex; justify-content: space-between; gap: 8px; }
.quick-results a:hover { color: var(--accent); text-decoration: none; }
.quick-results button {
  padding: 8px 2px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); font: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer;
}
.quick-results button:hover { color: var(--accent); }
.result h3 .name-btn { background: none; border: 0; padding: 0; color: var(--text); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-align: left; }
.result h3 .name-btn:hover { color: var(--accent); }
.buy { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.buy .label { margin: 0; }
.buy .price { font-size: .85rem; color: var(--text); }
.buy .shop-row { display: flex; flex-wrap: wrap; gap: 8px; }
.buy .shop-row .btn-tile { padding: 10px 18px; }
.buy .fine { margin: 0; font-size: .7rem; color: var(--muted); }
.quick-results p { color: var(--muted); font-size: .85rem; margin: 0; }

/* Tier spread bar */
.dist { display: flex; height: 5px; background: var(--bg); }
.dist span { display: block; height: 100%; }

/* ---------- Page toolbar ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px;
  border: 1px solid var(--line); border-bottom: 0; background: var(--panel); padding: 12px 14px;
}
.toolbar .grow { flex: 1 1 220px; }
.toolbar .right { margin-left: auto; text-align: right; }
.list-picker { position: relative; }
.list-picker select {
  appearance: none; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 40px 2px 12px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a93a6' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer; width: auto; max-width: 100%;
}
.watch-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid var(--line); border-bottom: 0;
  background: var(--panel-2); font-size: .9rem;
}
.watch-bar .yt { font-family: var(--font-display); letter-spacing: .14em; font-size: 1.05rem; background: #e62117; color: #fff; padding: 3px 10px; }
.watch-bar .yt:hover { text-decoration: none; filter: brightness(1.1); }
.embed-wrap { border: 1px solid var(--line); border-bottom: 0; background: #000; padding: 14px; }
.embed-wrap iframe { display: block; width: 100%; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border: 0; }

/* ---------- Tier board ---------- */
.board { border: 1px solid var(--line); background: var(--bg); }
.grade-row { display: grid; grid-template-columns: 56px 1fr; border-bottom: 1px solid var(--line); min-height: 52px; }
.grade-row:last-child { border-bottom: 0; }
.grade-label {
  display: grid; place-items: center; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .04em;
  border-left: 5px solid; background: var(--panel);
}
.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 8px; }
.chip {
  width: 168px; min-height: 38px; padding: 4px 8px 4px 9px; border: 0; border-left: 3px solid var(--r-common);
  background: linear-gradient(90deg, #222936, #12161d 85%); color: var(--text); font: 500 .86rem/1.2 var(--font-body);
  text-align: left; cursor: pointer; display: flex; align-items: center;
}
.chip[data-rarity="uncommon"] { border-left-color: var(--r-uncommon); }
.chip[data-rarity="rare"] { border-left-color: var(--r-rare); }
.chip[data-rarity="mythic"] { border-left-color: var(--r-mythic); }
.chip .chip-name { flex: 1; }
.chip .chip-g { font-family: var(--font-display); font-size: 1.1rem; color: var(--muted); padding-left: 6px; }
.chip:hover { background: linear-gradient(90deg, #2c3546, #161b24 85%); }
.chip.dim { opacity: .2; }
.chip.highlight { outline: 2px solid var(--accent); outline-offset: 1px; }

.art-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; }
.art-card { position: relative; width: 146px; padding: 0; border: 0; background: none; cursor: pointer; }
.art-card .img { width: 146px; aspect-ratio: 488 / 680; border-radius: 6px; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; text-align: center; font-size: .75rem; color: var(--muted); padding: 0; border: 0; cursor: pointer; font-family: inherit; }
.art-card .ts, .table .ts {
  display: inline-block; margin-top: 5px; font-family: var(--font-mono); font-size: .72rem; color: var(--accent);
  border: 1px solid var(--line); padding: 2px 7px; background: var(--panel);
}
.art-card .ts:hover, .table .ts:hover { border-color: var(--accent); text-decoration: none; }
.art-card .img img { width: 100%; height: 100%; object-fit: cover; }
.art-card:hover .img { outline: 2px solid var(--accent); }
.art-card.dim { opacity: .2; }
.art-card.highlight .img { outline: 3px solid var(--accent); }
.art-card .g {
  position: absolute; top: -5px; right: -5px; font-family: var(--font-display); font-size: 1rem; letter-spacing: .02em;
  padding: 1px 7px; color: #0a0c10;
}

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 3px; height: 12px; margin-right: 6px; vertical-align: -2px; background: var(--c); }

/* Episode order table */
.table { width: 100%; border-collapse: collapse; background: var(--panel); }
.table th, .table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { font-family: var(--font-display); font-weight: 400; letter-spacing: .14em; color: var(--muted); font-size: 1rem; }
.table tr:last-child td { border-bottom: 0; }
.table tr.highlight td { background: var(--accent-soft); }
.table tr.dim { opacity: .25; }
.table .num { font-family: var(--font-mono); color: var(--muted); width: 48px; }
.table .thumbcell { width: 58px; padding: 6px 4px; }
.table .thumbbtn { display: block; width: 46px; aspect-ratio: 488 / 680; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--panel-2); cursor: pointer; }
.table .thumbbtn img { width: 100%; height: 100%; object-fit: cover; }
.table button.link { background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; padding: 0; text-align: left; }
.table button.link:hover { color: var(--accent); }
.table .rarity { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); text-transform: capitalize; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

.gpill { display: inline-block; min-width: 34px; text-align: center; padding: 1px 7px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .02em; color: #0a0c10; }

/* ---------- Tier list index ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.list-card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--text); overflow: hidden; display: flex; flex-direction: column; }
.list-card:hover { border-color: var(--accent); text-decoration: none; }
.list-card .fan { display: flex; height: 120px; background: var(--bg); overflow: hidden; }
.list-card .fan img { flex: 1 1 0; min-width: 0; object-fit: cover; object-position: center 20%; }
.list-card .body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.list-card .info { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }

/* ---------- Videos page ---------- */
.library { display: grid; grid-template-columns: 230px minmax(0, 1fr); border: 1px solid var(--line); min-height: 70vh; }
.lib-side { background: var(--panel); border-right: 1px solid var(--line); }
.lib-side h2 { padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.lib-side h2::before { content: "▤ "; color: var(--accent); }
.lib-side a {
  display: flex; justify-content: space-between; padding: 12px 16px; color: var(--text); border-left: 3px solid transparent;
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase;
}
.lib-side a:hover { background: var(--panel-2); text-decoration: none; }
.lib-side a.active { background: var(--panel-3); border-left-color: var(--accent); color: var(--accent); }
.lib-side a span { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: 0; }
.lib-side .links { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.lib-main { min-width: 0; }
.lib-bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.lib-bar input { flex: 1 1 220px; width: auto; }
.lib-main .video-grid { padding: 14px; }

/* ---------- Search page ---------- */
.search-big { display: flex; gap: 0; border: 1px solid var(--line); background: var(--panel); padding: 14px; margin-bottom: 14px; }
.search-big input { font-size: 1.1rem; padding: 12px 14px; }
.results { display: grid; gap: 0; border: 1px solid var(--line); }
.result { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 12px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.result .thumbbtn { width: 84px; aspect-ratio: 488 / 680; padding: 0; border: 0; background: var(--panel-2); border-radius: 4px; overflow: hidden; cursor: pointer; }
.result .thumbbtn img { width: 100%; height: 100%; object-fit: cover; }
.result h3 { font-size: 1.35rem; }
.result .type { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin: 2px 0 8px; }
.apps { display: grid; gap: 6px; }
.app { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; }
.app .date { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.app .watch { font-family: var(--font-display); letter-spacing: .12em; font-size: .95rem; }

/* ---------- Hover preview and modal ---------- */
#hover-preview { position: fixed; z-index: 40; width: 240px; border-radius: 10px; pointer-events: none; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); }
.modal-panel { position: relative; background: var(--panel); border: 1px solid var(--line); width: 100%; max-width: 740px; max-height: calc(100vh - 32px); overflow: auto; padding: 20px; }
.modal-close { position: absolute; top: 6px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.modal-body { display: grid; grid-template-columns: minmax(0, 270px) 1fr; gap: 22px; }
.modal-body .big { width: 100%; aspect-ratio: 488 / 680; border-radius: 12px; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; color: var(--muted); text-align: center; }
.modal-body .big img { width: 100%; height: 100%; object-fit: cover; }
.modal-body h2 { font-size: 1.9rem; padding-right: 30px; }
.modal-body .type { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin: 6px 0 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: .7rem; color: var(--muted); max-width: 640px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-family: var(--font-display); letter-spacing: .14em; font-size: 1rem; color: var(--muted); text-transform: uppercase; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .dash { grid-template-columns: 1fr 1fr; }
  .dash-col.center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 760px) {
  main { padding: 12px 12px 32px; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .brand-mark { width: 40px; height: 40px; font-size: 1rem; }
  .brand-name { font-size: 1.35rem; }
  .discord-btn { margin-left: auto; padding: 5px 10px; font-size: 1rem; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .nav a { padding: 6px 12px; font-size: 1.05rem; white-space: nowrap; }
  .dash { grid-template-columns: 1fr; }
  .panel .video-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grade-row { grid-template-columns: 40px 1fr; }
  .grade-label { font-size: 1.2rem; }
  .chips { gap: 4px; padding: 6px; }
  .chip { width: calc(50% - 2px); font-size: .8rem; }
  .art-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; }
  .art-card, .art-card .img { width: 100%; }
  .library { grid-template-columns: 1fr; }
  .lib-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .lib-side h2, .lib-side .links { display: none; }
  .lib-side nav { display: flex; overflow-x: auto; }
  .lib-side a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; gap: 8px; }
  .lib-side a.active { border-bottom-color: var(--accent); }
  .modal-body { grid-template-columns: 1fr; }
  .modal-body .big { max-width: 250px; margin: 0 auto; }
  .table .hide-sm { display: none; }
  .toolbar .right { margin-left: 0; text-align: left; }
  .list-picker, .list-picker select { width: 100%; font-size: 1.35rem; }
  .video .soon { font-size: 1rem; }
  .video .soon small { font-size: .7rem; }
}
