:root {
  --bg: #0d1418;
  --surface: #142026;
  --surface-2: #1b2a31;
  --border: #26373f;
  --text: #eef0f4;
  --muted: #9aa3b2;
  --accent: #14b8a6;
  --accent-2: #5eead4;
  --accent-ink: #022a26;
  --danger: #ff5c5c;
  --ok: #3ccf8e;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent-2); }
h1 { font-size: 1.75rem; line-height: 1.2; margin: .4em 0 .3em; }
h2 { font-size: 1.15rem; margin: 0 0 .5em; }
p { margin: .4em 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
[hidden] { display: none !important; }

/* Layout */
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 8px 16px 32px; flex: 1; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(13, 20, 24, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { border-radius: 8px; }
.topbar nav { display: flex; align-items: center; gap: 16px; }
.topbar nav a { color: var(--text); text-decoration: none; }
.footer { text-align: center; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.inline { display: inline; margin: 0; }

/* Hero */
.hero { padding: 16px 0 8px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.section-title { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 24px 0 10px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 20px 0; }

.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.device-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 16px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.device-card:hover, .device-card:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.device-icon { font-size: 1.8rem; }
.device-title { font-weight: 700; font-size: 1.05rem; }
.device-sub { color: var(--muted); font-size: .85rem; }
.more { display: inline-block; margin-top: 12px; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.quick { margin: 0; display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; }
.quick.soon { opacity: .55; }
@media (max-width: 340px) {
  .quick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .device-grid { grid-template-columns: 1fr; }
}

/* Forms */
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: .95rem; }
input[type=email], input[type=password], input[type=text], input[type=tel], .search {
  width: 100%; padding: 13px 14px; font-size: 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
}
input:focus, .search:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search { margin: 8px 0 4px; }

.btn {
  display: inline-block; padding: 13px 20px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-2); }
.btn-block { width: 100%; margin-top: 18px; }
.btn-small { padding: 7px 14px; font-size: .9rem; }
.link { background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; padding: 0; }

.flash { padding: 12px 14px; border-radius: 10px; margin: 12px 0; border: 1px solid; }
.flash-error { background: rgba(255, 92, 92, .1); border-color: rgba(255, 92, 92, .4); }
.flash-ok { background: rgba(60, 207, 142, .1); border-color: rgba(60, 207, 142, .4); }

/* Install banner */
.install-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.install-banner span { flex: 1; }

/* Help center */
.kb-list { display: flex; flex-direction: column; gap: 10px; }
.kb-item {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text); text-decoration: none;
}
a.kb-item:hover { border-color: var(--accent); }
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: #d5d9e1; }
.card .faq { padding: 10px 0; border-top: 1px solid var(--border); }

/* Guide steps */
.back { display: inline-block; margin-top: 8px; text-decoration: none; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 14px 16px 14px 60px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; display: grid; place-items: center;
}
.steps p { margin: 4px 0; }
.code {
  display: inline-block; padding: 1px 10px; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 1.15rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em;
}
.tip { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }

/* ---------- Tickets ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.empty { text-align: center; }
.empty .btn { margin-top: 10px; }
.ticket-row { gap: 6px; }
.ticket-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.badge {
  display: inline-block; flex-shrink: 0; padding: 2px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.badge-answered { background: rgba(60, 207, 142, .15); color: var(--ok); }
.badge-waiting { background: rgba(94, 234, 212, .15); color: var(--accent-2); }
.badge-closed { background: var(--surface-2); color: var(--muted); }

.ticket-head h1 { margin-bottom: 0; }
.thread { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.msg { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--border); background: var(--surface); }
.msg-me { margin-left: 24px; }
.msg-staff { margin-right: 24px; border-color: rgba(20, 184, 166, .45); background: linear-gradient(160deg, rgba(20, 184, 166, .08), var(--surface)); }
.msg header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.staff-tag { font-size: .72rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 1px 7px; border-radius: 6px; margin-left: 4px; vertical-align: 2px; }
.msg-body { overflow-wrap: anywhere; }
.msg-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg-files img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.file-chip { display: inline-block; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); text-decoration: none; }

textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; resize: vertical;
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px;
}
textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ticket-form label:first-of-type { margin-top: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.photo-field { margin-top: 14px; }
.photo-btn {
  display: inline-block; margin: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  border: 1px dashed var(--border); background: var(--bg); font-weight: 600;
}
.photo-btn:hover, #photos:focus-visible + .photo-previews, .photo-field:focus-within .photo-btn { border-color: var(--accent); }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photo-previews:empty { display: none; }
.thumb { position: relative; }
.thumb img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.thumb button {
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: var(--danger); color: #fff; font-weight: 800; cursor: pointer; line-height: 1;
}
.btn[disabled] { opacity: .6; cursor: wait; }

/* Top bar on phones */
.topbar nav a, .topbar nav .link { white-space: nowrap; }
.brand-short { display: none; }
@media (max-width: 560px) {
  .brand-long { display: none; }
  .brand-short { display: inline; }
  .topbar nav { gap: 14px; font-size: .95rem; }
}
@media (max-width: 340px) {
  .brand span { display: none !important; }
}

/* ---------- Supported devices ---------- */
.more { display: block; }
.notice {
  display: flex; flex-direction: column; gap: 2px; margin: 16px 0 4px; padding: 12px 14px;
  border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: rgba(94, 234, 212, .1); border: 1px solid rgba(94, 234, 212, .4);
}
.notice span { color: var(--muted); font-size: .92rem; }
.mini-steps { margin: 6px 0 0; padding-left: 20px; }
.mini-steps li { margin: 6px 0; }
.tier { margin: 24px 0; }
.tier-head { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.tier-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.tier-best .tier-dot { background: var(--ok); }
.tier-good .tier-dot { background: #5aa9ff; }
.tier-ok .tier-dot { background: var(--accent-2); }
.tier-no .tier-dot { background: var(--danger); }
.device-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.device-list li {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border); border-left-width: 4px; border-radius: 10px;
}
.tier-best .device-list li { border-left-color: var(--ok); }
.tier-good .device-list li { border-left-color: #5aa9ff; }
.tier-ok .device-list li { border-left-color: var(--accent-2); }
.tier-no .device-list li { border-left-color: var(--danger); }
.tier-no .device-list strong { text-decoration: line-through; text-decoration-color: rgba(255, 92, 92, .7); }
.tips { padding-left: 20px; margin: 6px 0 14px; }
.tips li { margin: 6px 0; }

/* Device page switcher + notes */
.seg { display: flex; gap: 6px; margin: 14px 0 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.seg a { flex: 1; text-align: center; padding: 9px 8px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.seg a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.notice-static { cursor: default; }
.notice-static span { color: var(--text); }
.how-to .btn { margin: 6px 0 4px; }
.how-to .mini-steps li { margin: 8px 0; }
p.more { margin: 12px 0 0; }

/* ---------- Fix a problem ---------- */
.fix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fix-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none;
}
.fix-card:hover, .fix-card:focus-visible { border-color: var(--accent); }
.fix-card .device-icon { font-size: 1.5rem; }
.fix-banner { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.fix-banner:hover { border-color: var(--accent); }
.fix-progress { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.fix-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.fix-count { margin: 6px 0 0; }
.fix-actions { display: none; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
/* With JS: show one step at a time */
.fixer.js .fix-step { display: none; }
.fixer.js .fix-step.current { display: block; border-color: var(--accent); }
.fixer.js .fix-step.tried { display: block; opacity: .55; }
.fixer.js .fix-step.tried .fix-actions { display: none; }
.fixer.js .fix-step.current .fix-actions { display: flex; }
.fixer.js .fix-stuck { display: none; }
.fixer.js.stuck .fix-stuck { display: block; }
.fixer:not(.js) .fix-progress, .fixer:not(.js) .fix-count { display: none; }

/* ---------- My account ---------- */
.quick-grid { grid-template-columns: repeat(2, 1fr); }
.due-card { border-color: rgba(94, 234, 212, .5); }
.inv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.inv-row > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.inv-pay { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.badge-danger { background: rgba(255, 92, 92, .15); color: var(--danger); }
.svc { gap: 6px; }
.past { margin-top: 14px; }
.past summary { cursor: pointer; }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap a { flex: 1 1 auto; }
@media (max-width: 360px) { .fix-grid { grid-template-columns: 1fr; } }

/* Add your playlist */
.svc-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.svc-chip { padding: 8px 14px; border-radius: 10px; border: 2px solid var(--accent); font-weight: 700; background: rgba(20, 184, 166, .08); }

/* Extra apps */
.extra-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.extra-head img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.extra-head h2 { margin: 0; }
.extra-head p { margin: 2px 0 0; }
.extra-app h3 { font-size: 1rem; margin: 18px 0 4px; }
.extra-app .btn { margin: 4px 0; }
.extra-icons { display: flex; flex-shrink: 0; }
.extra-icons img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--surface); }
.extra-icons img + img { margin-left: -10px; }

/* Linked help entries clear the sticky top bar */
.faq, .card[id], .fix-step { scroll-margin-top: 80px; }

/* Strong warning box */
.notice-danger { background: rgba(255, 92, 92, .1); border-color: rgba(255, 92, 92, .5); }
.notice-danger strong { color: var(--danger); }

/* Recording kit */
.kit-list { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.kit-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.kit-list li > div { display: flex; flex-direction: column; gap: 2px; }
.kit-list .btn { flex-shrink: 0; }

/* Device list buy buttons */
.device-list li.has-buy { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.device-list .dev-text { display: flex; flex-direction: column; gap: 2px; }
.device-list li .btn { flex-shrink: 0; }

/* New Facebook page banner */
.fb-banner {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: #1877f2; color: #fff; font-size: .95rem;
}
.fb-banner[hidden] { display: none !important; }
.fb-banner .fb-text { flex: 1; }
.fb-banner .fb-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #1877f2;
  display: grid; place-items: center; font: 800 1.2rem/1 Arial, sans-serif;
}
.fb-banner .btn { background: #fff; color: #1877f2; flex-shrink: 0; }
.fb-banner .btn:hover { background: #e7f0fd; }
.fb-banner .link { color: #fff; }
@media (max-width: 520px) {
  .fb-banner { flex-wrap: wrap; }
  .fb-banner .fb-text { flex-basis: calc(100% - 80px); }
}
.footer .dot { color: var(--muted); margin: 0 8px; }

/* ---- Members forum ---- */
select {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 16px 0 14px; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex-shrink: 0; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap;
}
.chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.reply-count { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.badge-pin { background: rgba(94, 234, 212, .15); color: var(--accent-2); }
.badge-removed { background: rgba(255, 92, 92, .15); color: var(--danger); }
.is-removed { opacity: .55; }
.removed-note { font-style: italic; margin: 0; }
.post-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; margin-top: 8px; }
.post-actions:empty { display: none; }
.post-link, .mod-link { color: var(--muted); font-size: .85rem; cursor: pointer; }
.mod-link { color: var(--accent-2); }
.post-link:hover, .mod-link:hover { text-decoration: underline; }
.report { width: 100%; }
.report summary { list-style: none; display: inline-block; }
.report summary::-webkit-details-marker { display: none; }
.report-form { display: flex; gap: 8px; margin-top: 8px; }
.report-form input { flex: 1; min-width: 0; }
.mod-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; margin: 12px 0;
  border: 1px dashed rgba(94, 234, 212, .45); border-radius: 10px;
}
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--border); }
.center { text-align: center; }
.forum-form label:first-of-type { margin-top: 0; }
.report-banner { border-color: rgba(255, 92, 92, .5); }
.mute-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; }
.rules { margin-top: 28px; }
@media (max-width: 420px) {
  .report-form { flex-direction: column; }
}

.cat-about { margin: 0 0 12px; }
.forum-form .cat-about { margin: 6px 0 0; }
.forum-form .cat-about:empty { display: none; }
.rules-list strong { display: block; }
.rules-list p { margin-top: 2px; }

/* ---- Web player ---- */
.nav-wide { display: inline; }
@media (max-width: 480px) { .nav-wide { display: none; } }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.wp-promo { border-color: rgba(20, 184, 166, .5); }
.wp-login { max-width: 460px; margin: 20px auto; }
.wp-login h1 { margin-top: 0; }
@media (min-width: 900px) {
  .wp { position: relative; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100vw - 48px)); }
}
.wp-stage { position: sticky; top: 57px; scroll-margin-top: 64px; z-index: 5; background: var(--bg); padding: 8px 0; margin-bottom: 8px; }
.wp-video-wrap { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; max-height: 62vh; max-width: 980px; margin: 0 auto; }
.wp-video-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.wp-overlay {
  position: absolute; inset: auto 12px 56px 12px; padding: 12px 14px; border-radius: 10px;
  background: rgba(15, 17, 21, .88); border: 1px solid var(--border); text-align: center;
}
.wp-now { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px 0; }
.wp-now-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wp-now-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-now-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.wp-icon-btn { font-size: 1.35rem; line-height: 1; padding: 6px 8px; color: var(--accent-2); }
.wp-guide { max-height: 42vh; overflow-y: auto; margin: 10px 0 0; padding: 12px 16px; }
.wp-epg-day { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 6px; }
.wp-epg-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
.wp-epg-row.is-past { opacity: .7; }
.wp-epg-row.is-now { opacity: 1; }
.wp-epg-row.is-now .wp-epg-title { font-weight: 700; }
.wp-epg-time { width: 72px; flex-shrink: 0; color: var(--muted); font-size: .9rem; }
.wp-epg-title { flex: 1; min-width: 0; }
.wp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 12px; }
.wp-tabs { margin: 0; flex: 1 1 320px; }
.wp-top .search { flex: 1 1 220px; margin: 0; }
.wp-body { display: grid; grid-template-columns: 1fr; gap: 12px; }
.wp-cats { display: none; }
.wp-cats-select { margin-bottom: 4px; }
@media (min-width: 900px) {
  .wp-body { grid-template-columns: 240px 1fr; align-items: start; }
  .wp-cats { display: flex; flex-direction: column; gap: 2px; max-height: 75vh; overflow-y: auto; position: sticky; top: 8px; }
  .wp-cats-select { display: none; }
}
.wp-cat {
  text-align: left; background: none; border: 0; color: var(--muted); font: inherit; font-size: .92rem;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
}
.wp-cat:hover { background: var(--surface); color: var(--text); }
.wp-cat[aria-current] { background: var(--surface-2); color: var(--text); font-weight: 600; }
.wp-empty { padding: 24px 4px; text-align: center; }
.wp-channels { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.wp-ch { display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding-right: 4px; }
.wp-ch.is-playing { border-color: var(--accent); }
.wp-ch-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.wp-logo { width: 48px; height: 32px; object-fit: contain; flex-shrink: 0; border-radius: 4px; }
.wp-noimg { display: inline-block; background: var(--surface-2); }
.wp-ch-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-badge { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(90, 169, 255, .15); color: #8cc4ff; vertical-align: 1px; }
.wp-badge-live { background: rgba(255, 92, 92, .15); color: var(--danger); }
.wp-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; margin-bottom: 12px; }
.wp-poster { display: flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.wp-cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.wp-poster:hover .wp-cover { outline: 2px solid var(--accent); }
.wp-poster-name { font-size: .9rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-detail { display: grid; grid-template-columns: 140px 1fr; gap: 16px; margin: 10px 0 16px; }
.wp-detail h2 { font-size: 1.3rem; margin: 0 0 4px; }
.wp-cover-lg { width: 140px; }
.wp-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (max-width: 480px) { .wp-detail { grid-template-columns: 100px 1fr; } .wp-cover-lg { width: 100px; } }
.wp-season-label { display: flex; align-items: center; gap: 10px; }
.wp-season { width: auto; }
.wp-episodes { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 16px; }
.wp-ep { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); font: inherit; cursor: pointer; }
.wp-ep:hover { border-color: var(--accent); }
.wp-foot { text-align: center; margin-top: 20px; }

/* Contact form spam trap: hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done h2 { margin-top: 0; }
