/* Homebase Remote + Media: poster rails and grids, sheets, the TV remote. Built on style.css's tokens
   (--bg --panel --card --line --text --muted --accent --green), so light and dark both work. */
:root {
  --hub-grad: linear-gradient(120deg, var(--accent), #00a4dc);
  --hub-soft: color-mix(in srgb, var(--text) 5%, transparent);
  --hub-soft-2: color-mix(in srgb, var(--text) 10%, transparent);
  --hub-amber: #f0a43c; --hub-red: #ff6b78;
  --hub-r: 16px; --hub-ease: cubic-bezier(.22, .61, .36, 1);
  --hub-shadow: 0 10px 28px rgba(0, 0, 0, .32);
}
html[data-theme="light"] { --hub-shadow: 0 10px 26px rgba(20, 30, 60, .14); }
html.hub-locked { overflow: hidden; }
[hidden] { display: none !important; }
.hub-ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- building blocks ---------- */
.hub-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.hub-card + .hub-card { margin-top: 18px; }
.hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hub-head h3, .hub-section-head h3 { margin: 3px 0 0; font-size: 19px; letter-spacing: -.01em; }
.hub-section { margin-top: 34px; }
.hub-section:first-child { margin-top: 6px; }
.hub-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hub-section-head .aside { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.hub-note { color: var(--muted); text-align: center; padding: 44px 16px; border: 1px dashed var(--line); border-radius: var(--hub-r); font-size: 14px; }
.hub-note b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

.hub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--hub-soft); color: var(--text); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .12s, opacity .15s; }
.hub-btn:hover { background: var(--hub-soft-2); }
.hub-btn:active { transform: scale(.97); }
.hub-btn:focus-visible, .hub-icon-btn:focus-visible, .hub-tile:focus-visible, .hub-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hub-btn.primary { background: var(--hub-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 28%, transparent); }
.hub-btn.primary:hover { filter: brightness(1.08); }
.hub-btn.danger { color: var(--hub-red); border-color: color-mix(in srgb, var(--hub-red) 35%, var(--line)); background: color-mix(in srgb, var(--hub-red) 6%, transparent); }
.hub-btn.danger.armed { background: var(--hub-red); color: #fff; border-color: transparent; }
.hub-btn.ghost { background: none; border-color: transparent; color: var(--muted); }
.hub-btn.ghost:hover { color: var(--text); background: var(--hub-soft); }
.hub-btn.small { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; gap: 6px; }
.hub-btn.small .hub-ico { width: 16px; height: 16px; }
.hub-btn:disabled { opacity: .5; cursor: default; transform: none; }
.hub-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--hub-soft); color: var(--text);
  cursor: pointer; transition: background .15s, color .15s, transform .12s; }
.hub-icon-btn:hover { background: var(--hub-soft-2); }
.hub-icon-btn:active { transform: scale(.94); }
.hub-icon-btn.danger { color: var(--hub-red); }
.hub-icon-btn.danger.armed { background: var(--hub-red); color: #fff; border-color: transparent; }
.hub-icon-btn.go { color: #fff; background: var(--hub-grad); border-color: transparent; }
.hub-icon-btn:disabled { opacity: .45; cursor: default; }
.hub-icon-btn.done { color: var(--green); }

/* segmented tabs with a sliding indicator */
.hub-seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--hub-soft); border: 1px solid var(--line); max-width: 100%;
  overflow-x: auto; scrollbar-width: none; }
.hub-seg::-webkit-scrollbar { display: none; }
.hub-seg .ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 10px; background: var(--card); box-shadow: 0 2px 10px rgba(0,0,0,.22), inset 0 0 0 1px var(--line);
  transition: transform .32s var(--hub-ease), width .32s var(--hub-ease); pointer-events: none; }
.hub-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; flex: none; height: 36px; padding: 0 15px; border: 0; border-radius: 10px; background: none;
  color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: color .2s; }
.hub-seg button:hover, .hub-seg button.on { color: var(--text); }
.hub-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.hub-count:empty { display: none; }
.hub-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.hub-chips::-webkit-scrollbar { display: none; }
.hub-chip { flex: none; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.hub-chip:hover:not(.on) { color: var(--text); background: var(--hub-soft); }
.hub-chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }

/* sticky tab + search bar */
.hub-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 0; margin: -12px 0 14px;
  border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.hub-bar.stuck { background: color-mix(in srgb, var(--bg) 84%, transparent); border-bottom-color: var(--line); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hub-bar .hub-search { flex: 1; min-width: 0; }
.hub-search { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--hub-soft); color: var(--muted); transition: border-color .15s, background .15s; }
.hub-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; }
.hub-search input::-webkit-search-cancel-button { display: none; }
.hub-search:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: var(--card); }
.hub-search kbd { font: inherit; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.hub-search:focus-within kbd, .hub-search.has-text kbd { display: none; }
.hub-search .clear { display: none; width: 30px; height: 30px; border-radius: 8px; border: 0; background: var(--hub-soft-2); color: var(--text); cursor: pointer; place-items: center; }
.hub-search.has-text .clear { display: grid; }
.hub-search .clear .hub-ico { width: 15px; height: 15px; }
@media (hover: none), (pointer: coarse) { .hub-search kbd { display: none; } }
@media (max-width: 760px) {
  .hub-bar { flex-direction: column-reverse; align-items: stretch; gap: 10px; padding: 10px 0; }
  .hub-bar .hub-seg { align-self: stretch; }
  .hub-bar .hub-seg button { flex: 1 0 auto; justify-content: center; padding: 0 8px; font-size: 12.5px; gap: 5px; }
}

/* ---------- poster tiles, grids and rails ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 24px 16px; }
.hub-tile { position: relative; display: block; width: 100%; text-align: left; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; min-width: 0; border-radius: 12px; }
.hub-tile .art { position: relative; aspect-ratio: 2/3; border-radius: 12px; background: var(--hub-soft) center/cover; overflow: hidden; box-shadow: var(--hub-shadow);
  transition: transform .25s var(--hub-ease), box-shadow .25s var(--hub-ease); }
.hub-tile .art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; }
.hub-tile .art.empty { display: grid; place-items: center; padding: 12px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 650; }
.hub-tile:hover .art { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,.4); }
.hub-tile .t { margin-top: 9px; font-size: 13.5px; font-weight: 650; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-tile .s { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-badge { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 8px; border-radius: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hub-badge.have { background: color-mix(in srgb, var(--green) 82%, #000); }
.hub-badge.missing { background: color-mix(in srgb, var(--hub-amber) 85%, #000); }
.hub-badge.new { background: var(--hub-grad); }
.hub-tile .rating { position: absolute; right: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 7px;
  background: rgba(0,0,0,.6); color: #ffd36b; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hub-tile .rating .hub-ico { width: 11px; height: 11px; }
.hub-progress { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; height: 4px; border-radius: 9px; background: rgba(0,0,0,.55); overflow: hidden; }
.hub-progress i { display: block; height: 100%; border-radius: inherit; background: var(--hub-grad); transition: width .6s var(--hub-ease); }
.hub-bar-line { height: 6px; border-radius: 99px; background: var(--hub-soft-2); overflow: hidden; }
.hub-bar-line i { display: block; height: 100%; border-radius: inherit; background: var(--hub-grad); transition: width .6s var(--hub-ease); }
.hub-bar-line.good i { background: linear-gradient(90deg, #39c98a, #53d6a0); }

.hub-rail-wrap { position: relative; margin: 0 -4px; }
.hub-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scroll-padding: 0 4px; padding: 6px 4px 12px; scrollbar-width: none; }
.hub-rail::-webkit-scrollbar { display: none; }
.hub-rail > * { scroll-snap-align: start; }
.hub-rail-arrow { position: absolute; top: 96px; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  background: color-mix(in srgb, var(--panel) 88%, transparent); color: var(--text); box-shadow: var(--hub-shadow); cursor: pointer; opacity: 0; transition: opacity .2s, transform .15s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hub-rail-arrow.prev { left: -8px; } .hub-rail-arrow.next { right: -8px; }
.hub-rail-wrap:hover .hub-rail-arrow { opacity: 1; }
.hub-rail-arrow:active { transform: scale(.94); }
@media (hover: none), (pointer: coarse) { .hub-rail-arrow { display: none; } }
@media (max-width: 680px) {
  .hub-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 10px; }
  .hub-rail { grid-auto-columns: 116px; gap: 10px; }
  .hub-tile .t { font-size: 12.5px; margin-top: 7px; }
  .hub-tile .s { font-size: 11px; }
  .hub-badge { left: 6px; top: 6px; font-size: 9.5px; padding: 2px 6px; }
  .hub-tile .rating { right: 6px; top: 6px; font-size: 10px; padding: 2px 5px; }
}

/* ---------- For You spotlight ---------- */
.hub-spot { position: relative; overflow: hidden; border-radius: 22px; min-height: clamp(320px, 32vw, 430px); background: #0b1020; color: #fff; box-shadow: var(--hub-shadow); isolation: isolate; }
.hub-spot .bg { position: absolute; inset: 0; background: center 22%/cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--hub-ease), transform 6s linear; z-index: -2; }
.hub-spot .bg.on { opacity: 1; transform: scale(1); }
.hub-spot::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,10,20,.94) 0%, rgba(7,10,20,.72) 38%, rgba(7,10,20,.12) 72%), linear-gradient(0deg, rgba(7,10,20,.85), transparent 45%); }
.hub-spot .in { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: inherit; max-width: 560px; padding: 34px 36px; }
.hub-spot .in.swap > * { animation: hub-in .5s var(--hub-ease) both; }
.hub-spot .in.swap > :nth-child(2) { animation-delay: .05s; } .hub-spot .in.swap > :nth-child(3) { animation-delay: .1s; } .hub-spot .in.swap > :nth-child(4) { animation-delay: .15s; }
.hub-spot .why { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b9c4ff; }
.hub-spot h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.02em; }
.hub-spot .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: rgba(255,255,255,.75); }
.hub-spot .meta .star { color: #ffd36b; display: inline-flex; gap: 4px; align-items: center; } .hub-spot .meta .star .hub-ico { width: 13px; height: 13px; }
.hub-spot p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-spot .acts { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.hub-spot .hub-btn:not(.primary) { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hub-spot .hub-btn:not(.primary):hover { background: rgba(255,255,255,.22); }
.hub-spot .dots { position: absolute; right: 26px; bottom: 26px; display: flex; gap: 6px; }
.hub-spot .dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s var(--hub-ease), background .3s; }
.hub-spot .dots button.on { width: 24px; background: #fff; }
@media (max-width: 680px) {
  .hub-spot { min-height: 440px; border-radius: 18px; }
  .hub-spot::before { background: linear-gradient(0deg, rgba(7,10,20,.97) 8%, rgba(7,10,20,.7) 48%, rgba(7,10,20,.05) 80%); }
  .hub-spot .bg { background-position: center top; }
  .hub-spot .in { padding: 22px 18px 44px; }
  .hub-spot p { -webkit-line-clamp: 2; font-size: 13.5px; }
  .hub-spot .acts .hub-btn { flex: 1; }
  .hub-spot .dots { left: 0; right: 0; bottom: 18px; justify-content: center; }
}

/* ---------- stats ---------- */
.hub-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.hub-stat { padding: 15px 16px; border-radius: var(--hub-r); border: 1px solid var(--line); background: var(--card); min-width: 0; }
.hub-stat .k { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hub-stat .v { margin-top: 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-stat .v small { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 3px; }
.hub-stat .d { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-stat.warn .v { color: var(--hub-amber); }
@media (max-width: 760px) { .hub-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hub-stat { padding: 13px 14px; } .hub-stat .v { font-size: 22px; } }

.hub-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hub-toolbar .hub-chips { flex: 1 1 320px; min-width: 0; }
.hub-toolbar .right { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.hub-select { height: 34px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  appearance: none; -webkit-appearance: none; background: var(--hub-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a96ad'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 8px center/18px no-repeat; }
.hub-select option { background: var(--panel); color: var(--text); }

/* ---------- coming up ---------- */
.hub-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.hub-cal-item { display: flex; gap: 14px; align-items: center; width: 100%; padding: 10px; text-align: left; border-radius: var(--hub-r); border: 1px solid var(--line); background: var(--card);
  color: inherit; font: inherit; cursor: pointer; min-width: 0; transition: border-color .15s, transform .2s var(--hub-ease), background .15s; }
.hub-cal-item:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.hub-cal-item .th { flex: none; width: 132px; aspect-ratio: 16/9; border-radius: 10px; background: var(--hub-soft) center/cover; position: relative; overflow: hidden; }
.hub-cal-item .info { flex: 1; min-width: 0; }
.hub-cal-item .t { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-cal-item .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.hub-cal-item .when { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12px; font-weight: 700; }
.hub-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 750; background: var(--hub-soft-2); color: var(--text); white-space: nowrap; }
.hub-tag.good { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); }
.hub-tag.warn { background: color-mix(in srgb, var(--hub-amber) 18%, transparent); color: var(--hub-amber); }
.hub-tag.accent { background: color-mix(in srgb, var(--accent) 20%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--text)); }
.hub-tag .hub-ico { width: 12px; height: 12px; }
@media (max-width: 680px) { .hub-cal { grid-template-columns: minmax(0, 1fr); } .hub-cal-item .th { width: 104px; } }

/* ---------- downloads ---------- */
.hub-list { display: grid; gap: 10px; }
.hub-dl { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--hub-r); border: 1px solid var(--line); background: var(--card);
  transition: border-color .3s, box-shadow .3s; }
.hub-dl .src { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; }
.hub-dl .src.qb { background: linear-gradient(135deg, #2f7bd8, #1b56a8); } .hub-dl .src.sab { background: linear-gradient(135deg, #f0b13c, #c98417); } .hub-dl .src.arr { background: var(--hub-grad); }
.hub-dl .nm { font-weight: 650; font-size: 14px; word-break: break-word; line-height: 1.35; }
.hub-dl .sub { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.hub-dl .hub-bar-line { margin-top: 10px; }
.hub-dl .acts { display: flex; gap: 6px; }
.hub-dl.failed { border-color: color-mix(in srgb, var(--hub-red) 40%, var(--line)); }
@media (max-width: 680px) { .hub-dl { grid-template-columns: 38px minmax(0, 1fr); padding: 13px; gap: 12px; } .hub-dl .src { width: 38px; height: 38px; } .hub-dl .acts { grid-column: 2; } }

/* ---------- sheet: centred window on big screens, slides up from the bottom on phones ---------- */
.hub-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4,7,14,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .28s; }
.hub-scrim.open { opacity: 1; pointer-events: auto; }
.hub-sheet { position: fixed; z-index: 61; left: 50%; top: 50%; width: min(780px, 94vw); max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; border-radius: 24px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0,0,0,.5);
  transform: translate(-50%, -46%) scale(.97); opacity: 0; pointer-events: none; transition: transform .34s var(--hub-ease), opacity .24s; scrollbar-width: thin; }
.hub-sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.hub-sheet-close { position: sticky; top: 14px; float: right; margin: 14px 14px -50px 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,14,26,.55); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hub-sheet-close:hover { background: rgba(10,14,26,.8); }
.hub-sheet-body.swap { animation: hub-in .32s var(--hub-ease) both; }
@media (max-width: 680px) {
  .hub-sheet { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 92vh; border-radius: 22px 22px 0 0; border-bottom: 0; transform: translateY(104%); opacity: 1; transition: transform .38s var(--hub-ease); }
  .hub-sheet.open { transform: none; }
}
.sh-banner { position: relative; height: 230px; background: var(--hub-soft) center 25%/cover no-repeat; }
.sh-banner.blur { background-size: 130%; filter: blur(26px) saturate(1.3); transform: scale(1.1); opacity: .7; }
.sh-banner-wrap { position: relative; overflow: hidden; border-radius: 24px 24px 0 0; }
.sh-banner-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, color-mix(in srgb, var(--panel) 55%, transparent) 60%, var(--panel) 100%); }
.sh-head { position: relative; z-index: 1; display: flex; gap: 20px; align-items: flex-end; padding: 0 26px; margin-top: -110px; }
.sh-poster { flex: none; width: 130px; aspect-ratio: 2/3; border-radius: 14px; background: var(--hub-soft-2) center/cover; box-shadow: 0 16px 40px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); }
.sh-title { min-width: 0; padding-bottom: 4px; }
.sh-title .kicker { margin-bottom: 4px; }
.sh-title h2 { margin: 0; font-size: 27px; line-height: 1.12; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hub-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sh-content { padding: 18px 26px 26px; }
.sh-overview { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.sh-overview.open { -webkit-line-clamp: unset; display: block; }
.sh-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.sh-progress .hub-bar-line { flex: 1; }
.sh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.sh-actions .spacer { flex: 1; }
.sh-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.sh-section > .kicker { margin-bottom: 12px; }
.sh-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sh-section-head .kicker { margin: 0; flex: none; }
.sh-section-head .hub-chips { min-width: 0; }
.hub-icon-btn.tall { width: 42px; height: 42px; border-radius: 12px; }
.sh-danger { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sh-danger b { display: block; font-size: 14px; }
.sh-danger span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sh-foot { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 12px; margin: 22px -26px -26px; padding: 16px 26px; border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sh-foot .hint { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted); }
.hub-split { display: inline-flex; align-items: stretch; border-radius: 12px; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 28%, transparent); }
.hub-split .hub-btn.primary { border-radius: 12px 0 0 12px; box-shadow: none; }
.hub-split select { height: 42px; padding: 0 30px 0 12px; border: 0; border-left: 1px solid rgba(255,255,255,.25); border-radius: 0 12px 12px 0; color: #fff; font: inherit; font-size: 13px; font-weight: 650;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: color-mix(in srgb, #00a4dc 88%, #000) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 7px center/18px no-repeat; }
.hub-split select option { color: var(--text); background: var(--panel); }
.hub-field { display: grid; gap: 7px; margin: 14px 0 0; }
.hub-field > span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hub-field select { height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--hub-soft); color: var(--text); font: inherit; padding: 0 12px; }
.hub-field select option { background: var(--panel); }
.hub-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
.hub-more { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.hub-more summary { cursor: pointer; color: var(--muted); font-weight: 650; font-size: 13.5px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
.hub-more summary::-webkit-details-marker { display: none; }
.hub-more summary::after { content: "+"; font-size: 17px; line-height: 1; }
.hub-more[open] summary::after { content: "–"; }
.hub-more[open] { padding-bottom: 14px; }
.hub-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.hub-option { position: relative; text-align: left; padding: 12px 14px 12px 40px; border-radius: 13px; border: 1px solid var(--line); background: var(--hub-soft); color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .15s, background .15s; }
.hub-option::before { content: ""; position: absolute; left: 14px; top: 15px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); box-sizing: border-box; transition: .15s; }
.hub-option .t { display: block; font-weight: 700; font-size: 14px; }
.hub-option .d { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.hub-option:hover { background: var(--hub-soft-2); }
.hub-option.on { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.hub-option.on::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--panel); }
.hub-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 16px; border-radius: 14px; font-size: 13.5px;
  background: color-mix(in srgb, var(--green) 12%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); }
.hub-banner .hub-ico { color: var(--green); width: 20px; height: 20px; }
.hub-banner span { flex: 1; min-width: 0; }
@media (max-width: 680px) {
  .sh-banner { height: 180px; }
  .sh-banner-wrap { border-radius: 22px 22px 0 0; }
  .sh-head { gap: 14px; padding: 0 16px; margin-top: -84px; }
  .sh-poster { width: 92px; border-radius: 11px; }
  .sh-title h2 { font-size: 21px; }
  .sh-content { padding: 14px 16px calc(env(safe-area-inset-bottom) + 22px); }
  .sh-foot { margin: 20px -16px calc(-22px - env(safe-area-inset-bottom)); padding: 12px 16px calc(env(safe-area-inset-bottom) + 12px); }
  .sh-foot .hub-btn { flex: 1; }
  .sh-foot .hint { display: none; }
  .sh-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .sh-actions .hub-split { grid-column: 1 / -1; } .hub-split .hub-btn { flex: 1; }
  .sh-actions > .hub-btn { padding: 0 10px; }
}

/* seasons, episodes, releases */
.hub-ep { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--line); }
.hub-ep:first-of-type { border-top: 0; }
.hub-ep .n { font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-ep .info { min-width: 0; cursor: pointer; }
.hub-ep .nm { display: flex; align-items: center; font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; }
.hub-ep .nm span { overflow: hidden; text-overflow: ellipsis; }
.hub-ep .sub { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-ep .acts { display: flex; gap: 6px; }
.hub-ep .acts .hub-icon-btn { width: 34px; height: 34px; }
.hub-ep .acts .hub-ico { width: 17px; height: 17px; }
.hub-ep .more { grid-column: 2 / -1; font-size: 13px; color: var(--muted); line-height: 1.5; padding: 4px 0 2px; }
.hub-ep.busy .acts { opacity: .55; pointer-events: none; }
.hub-dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--muted); opacity: .6; }
.hub-dot.have { background: var(--green); opacity: 1; } .hub-dot.want { background: var(--hub-amber); opacity: 1; } .hub-dot.soon { background: var(--accent); opacity: 1; }
@media (max-width: 680px) { .hub-ep { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 8px; padding: 11px 0; } .hub-ep .acts { gap: 4px; } .hub-ep .acts .hub-icon-btn { width: 32px; height: 32px; } }
.hub-release { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.hub-release:first-of-type { border-top: 0; }
.hub-release .nm { font-size: 13px; font-weight: 650; word-break: break-word; line-height: 1.4; }
.hub-release .hub-pills { margin-top: 7px; }
.hub-release .why { margin-top: 6px; font-size: 12px; color: var(--hub-amber); }
.hub-release.rejected .nm { color: var(--muted); }
.hub-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: var(--hub-soft-2); font-size: 12px; font-weight: 650; color: var(--text); white-space: nowrap; }
.hub-pill.good { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.hub-pill.warn { background: color-mix(in srgb, var(--hub-amber) 16%, transparent); color: var(--hub-amber); }
.hub-pill .hub-ico { width: 13px; height: 13px; }

/* toast (sits above the phone tab bar) */
.hub-toast { position: fixed; z-index: 80; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); display: flex; align-items: center; gap: 14px; transform: translate(-50%, 24px); opacity: 0;
  transition: opacity .25s, transform .35s var(--hub-ease); max-width: min(520px, calc(100% - 32px)); padding: 12px 12px 12px 16px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.4); font-size: 14px; pointer-events: none; }
.hub-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hub-toast.error { border-color: color-mix(in srgb, var(--hub-red) 50%, var(--line)); }
.hub-toast span { padding-right: 4px; }
.hub-toast-action { flex: none; height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--hub-soft-2); color: var(--text); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
@media (max-width: 680px) { .hub-toast { bottom: calc(env(safe-area-inset-bottom) + 86px); } }

/* loading placeholders and motion */
.hub-skel { position: relative; overflow: hidden; background: var(--hub-soft); border-radius: 10px; box-shadow: none !important; }
.hub-skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 7%, transparent), transparent);
  animation: hub-shimmer 1.3s infinite; }
.hub-skel.line { height: 11px; margin-top: 10px; width: 82%; } .hub-skel.line.short { width: 52%; margin-top: 7px; }
.hub-skel.row { height: 76px; border-radius: var(--hub-r); }
.hub-skel.spot { height: clamp(320px, 32vw, 430px); border-radius: 22px; }
@keyframes hub-shimmer { to { transform: translateX(100%); } }
@keyframes hub-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes hub-flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); } }
.hub-view > * { animation: hub-in .4s var(--hub-ease) both; }
.hub-view > :nth-child(2) { animation-delay: .04s; } .hub-view > :nth-child(3) { animation-delay: .08s; } .hub-view > :nth-child(4) { animation-delay: .12s; } .hub-view > :nth-child(n+5) { animation-delay: .16s; }
.hub-grid > .hub-tile, .hub-rail > .hub-tile { animation: hub-in .45s var(--hub-ease) both; animation-delay: calc(min(var(--i, 0), 18) * 22ms); }
.hub-flash { animation: hub-flash 1.1s ease 2; border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
@media (prefers-reduced-motion: reduce) {
  .hub-view > *, .hub-grid > .hub-tile, .hub-rail > .hub-tile, .hub-sheet-body.swap, .hub-spot .in.swap > * { animation: none !important; }
  .hub-spot .bg { transition: opacity .3s; transform: none !important; }
}

/* sign-in panel (reuses style.css's .download-login form) and the topbar status pill */
.hub-gate { margin-bottom: 18px; }
.hub-status { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.hub-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.hub-status.ok i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.hub-status.warn i { background: var(--hub-amber); }
@media (max-width: 680px) { .hub-status { display: none; } }

/* ---------- remote ---------- */
.tv-seg { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--hub-soft); border: 1px solid var(--line); }
.tv-seg button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
  transition: background .2s, color .2s; white-space: nowrap; }
.tv-seg button i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 45%, transparent); transition: background .3s; }
.tv-seg button i.playing { background: var(--green); box-shadow: 0 0 7px var(--green); } .tv-seg button i.paused { background: var(--hub-amber); } .tv-seg button i.online { background: var(--muted); }
.tv-seg button.on { background: var(--card); color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,.22), inset 0 0 0 1px var(--line); }
.remote-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.remote-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.remote-layout .hub-card + .hub-card { margin-top: 0; }
@media (max-width: 1020px) { .remote-layout { grid-template-columns: minmax(0, 1fr); } }
.np { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--card); min-height: 170px; isolation: isolate; }
.np .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: blur(28px) saturate(1.4); transform: scale(1.3); opacity: .55; transition: opacity .6s; }
.np .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--card) 20%, transparent), var(--card)); }
.np .in { display: flex; gap: 18px; padding: 18px; align-items: center; }
.np .thumb { flex: none; width: 176px; aspect-ratio: 16/9; border-radius: 12px; background: var(--hub-soft) center/cover; display: grid; place-items: center; color: var(--muted); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.np .thumb .hub-ico { width: 30px; height: 30px; opacity: .6; }
.np .meta { flex: 1; min-width: 0; }
.np h2 { margin: 6px 0 2px; font-size: 21px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np .sub { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.np .state { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.np .state i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.np .state.playing i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.np .state.paused i { background: var(--hub-amber); box-shadow: 0 0 8px var(--hub-amber); }
.np .more { padding: 0 18px 16px; }
.np .more p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.np .more p.open { -webkit-line-clamp: unset; display: block; }
.np .ends { font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) { .np .in { flex-direction: column; align-items: stretch; } .np .thumb { width: 100%; } }
.seek { padding: 10px 0; margin: 6px 0 -2px; cursor: pointer; touch-action: none; }
.seek .bar { position: relative; height: 5px; border-radius: 99px; background: var(--hub-soft-2); }
.seek .bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--hub-grad); }
.seek .bar b { position: absolute; top: 50%; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0,0,0,.5); transition: transform .15s; }
.seek:hover .bar b { transform: translate(-50%, -50%) scale(1.15); }
.np:not(.live) .seek, .np:not(.live) .times { visibility: hidden; }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.transport { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr; gap: 10px; align-items: center; margin-top: 18px; }
.rkey { height: 58px; border-radius: var(--hub-r); border: 1px solid var(--line); background: var(--hub-soft); color: var(--text); display: grid; place-items: center; cursor: pointer; font: inherit;
  transition: background .15s, transform .1s; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.rkey svg { width: 24px; height: 24px; fill: currentColor; }
.rkey small { font-size: 10.5px; font-weight: 700; margin-top: -1px; color: var(--muted); }
.rkey .stack { display: grid; place-items: center; gap: 1px; }
.rkey:hover { background: var(--hub-soft-2); }
.rkey.hit, .rkey:active { transform: scale(.95); background: var(--hub-soft-2); }
.rkey.big { width: 76px; height: 76px; border-radius: 50%; justify-self: center; background: var(--hub-grad); border: 0; color: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.rkey.big svg { width: 32px; height: 32px; }
.rrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.rrow.four { grid-template-columns: repeat(4, 1fr); }
.say { display: flex; gap: 8px; }
.say input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--hub-soft); color: var(--text); font: inherit; font-size: 14.5px; outline: 0; }
.say input:focus { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: var(--card); }
.say .hub-btn { height: 48px; }
.say .mic { width: 48px; flex: none; padding: 0; background: var(--hub-grad); border: 0; color: #fff; }
.say .mic svg { width: 22px; height: 22px; fill: currentColor; }
.say .mic.on { animation: hub-listen 1.1s ease-in-out infinite; }
@keyframes hub-listen { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
.say-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.say-hint:empty { display: none; }
.say-chips { margin-top: 12px; }
.pad-wrap { display: grid; justify-items: center; gap: 14px; --pad: min(76vw, 320px); }
.dpad { position: relative; width: var(--pad); height: var(--pad); border-radius: 50%; background: var(--hub-soft); border: 1px solid var(--line); }
.dpad .arrow { position: absolute; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dpad .arrow svg { width: 30px; height: 30px; fill: currentColor; }
.dpad .up { top: 0; left: 30%; width: 40%; height: 30%; } .dpad .down { bottom: 0; left: 30%; width: 40%; height: 30%; }
.dpad .left { left: 0; top: 30%; width: 30%; height: 40%; } .dpad .right { right: 0; top: 30%; width: 30%; height: 40%; }
.dpad .arrow:hover, .dpad .arrow.hit { color: var(--text); }
.dpad .ok { position: absolute; inset: 31%; border-radius: 50%; border: 0; background: var(--hub-grad); color: #fff; font: inherit; font-weight: 800; font-size: 20px; cursor: pointer;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); transition: transform .1s, filter .1s; -webkit-tap-highlight-color: transparent; }
.dpad .ok.hit { filter: brightness(1.2); transform: scale(.96); }
.touchpad { position: relative; width: var(--pad); height: var(--pad); border-radius: 30px; background: var(--hub-soft); border: 1px solid var(--line); touch-action: none; overflow: hidden; cursor: grab; }
.touchpad .hint { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; pointer-events: none; }
.touchpad .dot { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); transition: opacity .15s; }
.touchpad.active .dot { opacity: 1; }
.pad-wrap .rrow { width: var(--pad); margin-top: 0; }
.type-row { display: flex; gap: 8px; width: var(--pad); }
.type-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--hub-soft); color: var(--text); font: inherit; font-size: 14px; outline: 0; }
.type-row .hub-btn { height: 44px; }
.kbd-hint { font-size: 12px; color: var(--muted); text-align: center; }
@media (hover: none), (pointer: coarse) { .kbd-hint { display: none; } }
@media (max-width: 680px) {
  .remote-top { flex-wrap: wrap; } .remote-top .top-right { width: 100%; }
  .tv-seg { flex: 1; min-width: 0; } .tv-seg button { flex: 1; justify-content: center; padding: 0 6px; }
  .hub-card { padding: 16px; border-radius: 18px; }
  .transport { gap: 8px; } .rkey { height: 54px; } .rkey.big { width: 68px; height: 68px; }
}
.sh-path { margin-top: 8px; font-size: 12px; color: var(--muted); word-break: break-all; }
a.hub-btn { text-decoration: none; }
@media (min-width: 1021px) { .remote-layout > .hub-card { position: sticky; top: 20px; } }
