/* Streamnight — Apple-inspired styling (HIG: clarity, deference, depth) */
:root {
  /* Glass skin — matches cal.selmer.net */
  --bg: #0B1824;
  --bg2: rgba(255,255,255,.06);
  --bg3: rgba(255,255,255,.10);
  --fill: rgba(255,255,255,.16);
  --fill2: rgba(255,255,255,.08);
  --sep: rgba(160,210,240,.18);
  --label: #E8F1F7;
  --label2: #93A9B9;
  --label3: rgba(147,169,185,.6);
  --accent: #3E8BC0;
  --accent-grad: linear-gradient(160deg, #5AA6D6, #2B6E9E);
  --accent-text: #9CD0F2;
  --green: #30D158;
  --red: #FF6B5A;
  --orange: #F66B40;
  --yellow: #FFD60A;
  --glass: linear-gradient(170deg, rgba(24,58,86,.88), rgba(8,28,46,.92));
  --glass2: linear-gradient(160deg, rgba(40,62,82,.62), rgba(22,38,54,.58));
  --glass-border: 1px solid rgba(150,200,235,.22);
  --glass-shadow: 0 18px 40px rgba(9,40,62,.3), inset 0 1px 0 rgba(220,245,255,.35);
  --glass-shadow2: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(200,230,255,.12);
  --chip: rgba(255,255,255,.12);
  --chip-border: 1px solid rgba(255,255,255,.22);
  --bar: linear-gradient(170deg, rgba(24,58,86,.88), rgba(8,28,46,.92));
  --radius: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --side: 0px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--label); }
body {
  font: 17px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-text); text-decoration: none; }
img { display: block; }
.hidden { display: none !important; }
.muted { color: var(--label2); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- layout ---------- */
#app { padding-bottom: calc(84px + var(--safe-b)); }
.page { max-width: 1280px; margin: 0 auto; padding: calc(12px + var(--safe-t)) 20px 32px; }
.large-title { font-size: 34px; font-weight: 700; letter-spacing: .37px; margin: 8px 0 4px; }
.subtitle { color: var(--label2); margin: 0 0 20px; font-size: 15px; }
.section-title { font-size: 22px; font-weight: 700; letter-spacing: .35px; margin: 28px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.section-title small { font-size: 15px; font-weight: 400; color: var(--label2); }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-around;
  padding: 6px 4px calc(6px + var(--safe-b));
  background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: .5px solid var(--sep);
}
.tabbar button {
  flex: 1; background: none; border: 0; padding: 4px 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; font-weight: 500; color: var(--label2);
}
.tabbar button svg { width: 26px; height: 26px; }
.tabbar button.active { color: var(--accent-text); }
.tabbar .brand { display: none; }

@media (min-width: 900px) {
  :root { --side: 232px; }
  #app { padding-bottom: 0; padding-left: var(--side); }
  .tabbar {
    top: 0; right: auto; width: var(--side); flex-direction: column; justify-content: flex-start; gap: 2px;
    padding: 20px 12px; border-top: 0; border-right: .5px solid var(--sep);
  }
  .tabbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; padding: 4px 10px 22px; }
  .tabbar .brand img { width: 30px; height: 30px; border-radius: 7px; }
  .tabbar button { flex: 0; flex-direction: row; gap: 12px; padding: 9px 10px; font-size: 15px; border-radius: 9px; color: var(--label); }
  .tabbar button svg { width: 22px; height: 22px; color: var(--accent-text); }
  .tabbar button.active { background: var(--fill); color: var(--label); }
  .page { padding-top: 28px; padding-left: 36px; padding-right: 36px; }
}

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 20px; cursor: pointer;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 17px;
  transition: transform .12s ease, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.secondary { background: var(--fill); color: var(--accent-text); }
.btn.plain { background: none; color: var(--accent-text); padding: 8px 4px; font-weight: 400; }
.btn.danger { background: var(--fill); color: var(--red); }
.btn.small { padding: 7px 14px; font-size: 15px; border-radius: 18px; }
.btn.block { width: 100%; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; color: var(--label2); margin: 0 4px 6px; text-transform: uppercase; letter-spacing: -.08px; }
.input, textarea.input, select.input {
  width: 100%; border: 0; outline: 0; border-radius: 11px; padding: 12px 14px;
  background: var(--bg2); color: var(--label); font-size: 17px;
}
@media (prefers-color-scheme: dark) { .input { background: var(--bg3); } }
.input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
textarea.input { resize: none; min-height: 84px; line-height: 1.4; }

.segmented {
  display: inline-flex; background: var(--fill2); border-radius: 9px; padding: 2px; gap: 2px;
}
.segmented button {
  border: 0; background: none; padding: 6px 16px; border-radius: 7px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--label);
}
.segmented button.on { background: var(--bg2); box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04); }
@media (prefers-color-scheme: dark) { .segmented button.on { background: #636366; } }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 0; cursor: pointer; border-radius: 18px; padding: 7px 14px; font-size: 15px;
  background: var(--fill2); color: var(--label); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.chip.on { background: var(--accent); color: #fff; }
.chip img { width: 20px; height: 20px; border-radius: 5px; }

.group { background: var(--bg2); border-radius: var(--radius); overflow: hidden; }
@media (prefers-color-scheme: dark) { .group { background: var(--bg2); } }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; min-height: 44px; position: relative; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: .5px solid var(--sep); }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-size: 17px; }
.row .sub { font-size: 13px; color: var(--label2); }
.group-label { font-size: 13px; color: var(--label2); text-transform: uppercase; margin: 26px 16px 7px; }
.group-foot { font-size: 13px; color: var(--label2); margin: 7px 16px 0; }

.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--fill); border-radius: 16px; transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15); transition: .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }

.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none; color: #fff; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
}
.avatar.lg { width: 56px; height: 56px; font-size: 22px; }

/* ---------- auth screens ---------- */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth .card { width: 100%; max-width: 420px; }
.auth .logo { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 18px; box-shadow: 0 10px 30px rgba(94,92,230,.35); }
.auth h1 { text-align: center; font-size: 30px; margin: 0 0 6px; }
.auth p.lead { text-align: center; color: var(--label2); margin: 0 0 26px; }
.error { color: var(--red); font-size: 15px; margin: 6px 4px 12px; min-height: 0; }

/* ---------- ask ---------- */
.ask {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--bg2)), var(--bg2) 70%);
  border-radius: 20px; padding: 18px; margin-top: 8px;
}
.ask textarea.input { background: var(--bg); min-height: 70px; }
@media (prefers-color-scheme: light) { .ask textarea.input { background: var(--bg); } }
.ask .lbl { font-size: 13px; color: var(--label2); margin: 14px 2px 8px; text-transform: uppercase; }
.ask .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.viewer { border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--label2); padding: 0; width: 58px; }
.viewer .avatar { width: 46px; height: 46px; font-size: 18px; opacity: .45; transition: .15s; outline: 3px solid transparent; outline-offset: 2px; }
.viewer.on .avatar { opacity: 1; outline-color: var(--accent); }
.viewer.on { color: var(--label); }

.thinking { display: flex; align-items: center; gap: 12px; padding: 22px 4px; color: var(--label2); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--fill); border-top-color: var(--accent-text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sugg { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .sugg { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .sugg { grid-template-columns: 1fr 1fr 1fr; } }
.sugg-card {
  display: flex; gap: 14px; background: var(--bg2); border-radius: var(--radius); padding: 12px; cursor: pointer; text-align: left; border: 0; width: 100%;
  transition: transform .15s;
}
.sugg-card:active { transform: scale(.985); }
.sugg-card img.poster { width: 84px; height: 126px; border-radius: 8px; object-fit: cover; background: var(--fill2); flex: none; }
.sugg-card .t { font-weight: 600; font-size: 17px; }
.sugg-card .m { font-size: 13px; color: var(--label2); margin: 2px 0 6px; }
.sugg-card .why { font-size: 15px; line-height: 1.35; }
.logos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.logos img { width: 26px; height: 26px; border-radius: 6px; }

/* ---------- poster rows & grids ---------- */
.shelf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; scroll-padding: 20px; }
@media (min-width: 900px) { .shelf { margin: 0 -36px; padding: 2px 36px 6px; scroll-padding: 36px; } }
.shelf::-webkit-scrollbar { display: none; }
.poster-card { flex: none; width: 128px; scroll-snap-align: start; cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
@media (min-width: 900px) { .poster-card { width: 150px; } }
.poster-card .img { position: relative; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; background: var(--fill2); box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .2s; }
.poster-card:hover .img { transform: translateY(-2px); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; }
.poster-card .t { font-size: 13px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-card .y { font-size: 12px; color: var(--label2); }
.badge { position: absolute; top: 6px; left: 6px; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(8px); }
.badge.r { left: auto; right: 6px; }
.grid { display: grid; gap: 16px 12px; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.grid .poster-card { width: auto; }
.noposter { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; font-size: 13px; color: var(--label2); }

.empty { text-align: center; color: var(--label2); padding: 48px 20px; }
.empty .big { font-size: 44px; margin-bottom: 8px; }

/* ---------- explore filters ---------- */
.searchbar { position: relative; margin: 6px 0 14px; }
.searchbar input { padding-left: 38px; background: var(--fill2) !important; }
.searchbar svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--label2); }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

/* ---------- sheet (detail) ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .25s ease; }
.sheet {
  position: relative; width: 100%; max-width: 860px; max-height: calc(100vh - 28px - var(--safe-t)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 14px 14px 0 0; animation: up .32s cubic-bezier(.2,.9,.3,1);
  padding-bottom: calc(24px + var(--safe-b));
}
@media (min-width: 900px) {
  .sheet-wrap { align-items: center; padding-left: var(--side); }
  .sheet { border-radius: 16px; max-height: 90vh; margin: 20px; }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.sheet .close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(12px); font-size: 18px; line-height: 1;
}
.hero { position: relative; aspect-ratio: 16/8; background: var(--bg3) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, var(--bg)); }
.hero iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.detail { padding: 0 20px; margin-top: -70px; position: relative; z-index: 1; }
.detail .top { display: flex; gap: 16px; align-items: flex-end; }
.detail .top img { width: 108px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35); flex: none; }
.detail h2 { font-size: 26px; line-height: 1.15; margin: 0 0 4px; }
.detail .meta { color: var(--label2); font-size: 14px; }
.detail .tagline { font-style: italic; color: var(--label2); margin: 14px 0 0; }
.detail p.overview { line-height: 1.45; margin: 14px 0 0; }
.actions-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 4px; }
.act { border: 0; background: var(--bg2); border-radius: 12px; padding: 10px 4px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--label); }
.act svg { width: 24px; height: 24px; color: var(--accent-text); }
.act.on { background: var(--accent); color: #fff; }
.act.on svg { color: #fff; }
.act.on.bad { background: var(--red); }
.where { background: var(--bg2); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; }
.where .lbl { font-size: 13px; color: var(--label2); text-transform: uppercase; margin-bottom: 10px; }
.where .provs { display: flex; flex-wrap: wrap; gap: 10px; }
.prov { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.prov img { width: 34px; height: 34px; border-radius: 8px; }
.cast { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.cast > div { flex: none; width: 76px; text-align: center; font-size: 12px; }
.cast img, .cast .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; background: var(--fill2); }
.cast .c { color: var(--label2); }
.famline { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-top: 8px; }
.famline .avatar { width: 26px; height: 26px; font-size: 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translateX(-50%); z-index: 90;
  background: rgba(40,40,42,.92); color: #fff; padding: 11px 18px; border-radius: 22px; font-size: 15px; backdrop-filter: blur(10px);
  animation: up .25s ease; max-width: 90vw; text-align: center;
}
@media (min-width: 900px) { .toast { bottom: 32px; margin-left: calc(var(--side) / 2); } }

.attrib { margin: 36px 4px 0; font-size: 12px; color: var(--label2); line-height: 1.5; }
.attrib img { height: 12px; display: inline-block; vertical-align: middle; }
.dot { display: inline-block; min-width: 18px; padding: 1px 6px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; }
.tabbar .dot { position: relative; top: -1px; margin-left: 2px; }
select.chip { -webkit-appearance: none; appearance: none; padding-right: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238e8e93' fill='none' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '› '; display: inline-block; transition: transform .2s; }
details[open] summary::before { transform: rotate(90deg); }

/* ================= Glass skin (as cal.selmer.net) ================= */
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1000px 650px at 12% 6%, #1E4663 0%, rgba(30,70,99,0) 60%),
    radial-gradient(900px 700px at 92% 94%, #173A55 0%, rgba(23,58,85,0) 60%),
    linear-gradient(135deg, #0E1B27, #0B1824 55%, #08131D);
  background-attachment: fixed;
  color: var(--label);
}
html { background: #0B1824; }

/* tab bar: floating glass bar on mobile, glass rail on desktop */
.tabbar {
  left: 10px; right: 10px; bottom: calc(8px + var(--safe-b));
  padding: 6px;
  background: var(--glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: var(--glass-border); border-radius: 26px; box-shadow: var(--glass-shadow);
}
.tabbar button { border-radius: 16px; padding: 6px 0; color: var(--label2); }
.tabbar button.active { background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); color: #fff; }
#app { padding-bottom: calc(96px + var(--safe-b)); }
@media (min-width: 900px) {
  :root { --side: 120px; }
  .tabbar {
    top: 18px; bottom: 18px; left: 18px; right: auto; width: 84px; padding: 12px 8px; gap: 8px;
    border-radius: 26px; align-items: stretch;
  }
  .tabbar .brand { padding: 2px 0 14px; justify-content: center; font-size: 0; }
  .tabbar .brand img { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
  .tabbar button { flex-direction: column; gap: 4px; padding: 10px 0 8px; font-size: 11px; font-weight: 500; color: var(--label); }
  .tabbar button svg { width: 22px; height: 22px; color: currentColor; }
  .tabbar button.active { background: rgba(255,255,255,.18); color: #fff; }
  .page { padding-top: 18px; padding-left: 12px; padding-right: 28px; }
  .shelf { margin: 0 -28px 0 -12px; padding: 2px 28px 6px 12px; scroll-padding: 12px; }
}
.tabbar .dot { position: absolute; margin-left: 14px; margin-top: -2px; }
.tabbar button { position: relative; }

/* glass surfaces */
.ask, .group, .where, .sugg-card, .sheet {
  background: var(--glass2); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(160,210,240,.18); box-shadow: var(--glass-shadow2);
}
.ask { background: var(--glass); border: var(--glass-border); box-shadow: var(--glass-shadow); border-radius: 24px; }
.group { border-radius: 20px; }
.where { border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: none; }
.sugg-card { border-radius: 18px; }
.sugg-card:hover { border-color: rgba(160,210,240,.35); }
.row + .row::before { border-top-color: rgba(160,210,240,.14); }

/* controls */
.btn { background: var(--accent-grad); color: #fff; box-shadow: 0 8px 18px rgba(10,40,70,.35), inset 0 1px 0 rgba(255,255,255,.4); border-radius: 19px; }
.btn.secondary, .btn.danger { background: var(--chip); border: var(--chip-border); box-shadow: none; color: #fff; }
.btn.danger { color: var(--red); }
.btn.plain { background: none; box-shadow: none; border: 0; color: var(--accent-text); }
.input, textarea.input, select.input, .ask textarea.input {
  background: rgba(255,255,255,.10) !important; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: #fff;
}
.input::placeholder { color: rgba(232,241,247,.55); }
.input:focus { box-shadow: 0 0 0 3px rgba(90,166,214,.35); border-color: rgba(156,208,242,.6); }
.chip { background: var(--chip); border: var(--chip-border); color: #fff; }
.chip.on { background: rgba(156,208,242,.28); border-color: rgba(156,208,242,.7); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.segmented { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 3px; }
.segmented button { color: #fff; border-radius: 11px; }
.segmented button.on { background: rgba(255,255,255,.22) !important; border: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
select.chip option { color: #000; }
.viewer.on .avatar { outline-color: #9CD0F2; }
.switch input:checked + span { background: #3E8BC0; }

/* posters */
.poster-card .img { border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.35); border: 1px solid rgba(160,210,240,.12); }
.badge { background: rgba(8,28,46,.7); border: 1px solid rgba(160,210,240,.2); }

/* sheet */
.sheet { background: linear-gradient(170deg, rgba(20,48,72,.97), rgba(8,24,40,.98)); border: var(--glass-border); }
@media (min-width: 900px) { .sheet { border-radius: 26px; } }
.hero::after { background: linear-gradient(to bottom, rgba(10,30,48,0) 30%, rgba(14,36,56,1)); }
.act { background: rgba(255,255,255,.08); border: 1px solid rgba(160,210,240,.18); border-radius: 16px; color: #fff; }
.act svg { color: var(--accent-text); }
.act.on { background: var(--accent-grad); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.act.on.bad { background: linear-gradient(160deg, #F07A6A, #B8432F); }
.sheet .close { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); }
.toast { background: var(--glass); border: var(--glass-border); box-shadow: var(--glass-shadow); }
.auth .logo { box-shadow: 0 12px 30px rgba(10,40,70,.5); border-radius: 22px; }
.auth .card { background: var(--glass); border: var(--glass-border); box-shadow: var(--glass-shadow); border-radius: 26px; padding: 28px 22px; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.spinner { border-color: rgba(255,255,255,.18); border-top-color: #9CD0F2; }
