:root { color-scheme: dark; --bg: #090b10; --panel: #11141b; --line: rgba(255,255,255,.09); --muted: #a1a7b5; --text: #f5f6f8; --accent: #e54b5d; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--bg); }
body { min-width: 320px; margin: 0; color: var(--text); background: radial-gradient(ellipse at 8% 42%, rgba(229,75,93,.08), transparent 48%), radial-gradient(ellipse at 100% 20%, rgba(111,124,255,.045), transparent 45%); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; }
a, button, input { outline-offset: 5px; }
:focus-visible { outline: 2px solid #ff94a1; }
.remote-shell { width: min(1140px, 100%); min-height: 100svh; margin: auto; padding: 0 42px; display: flex; flex-direction: column; }
.remote-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.remote-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -.8px; }
.remote-brand img { width: 44px; height: 44px; object-fit: contain; }
.remote-brand > span > span { color: var(--accent); }
.nav-link { padding: 12px 0 12px 12px; font-size: 12px; color: #c4c8d1; text-decoration: none; }
.nav-link span { margin-left: 12px; color: #ff8595; }
.nav-link:hover, .remote-footer a:hover { color: #ff94a1; }
.connect-layout { display: grid; grid-template-columns: 1fr 430px; align-items: center; gap: 72px; flex: 1; padding: 70px 0 80px; }
.eyebrow { color: #ff8494; font-size: 9px; line-height: 1.6; font-weight: 800; letter-spacing: 2px; }
.connect-intro h1 { margin: 18px 0 24px; font-size: clamp(42px, 5.4vw, 66px); font-weight: 800; line-height: 1.03; letter-spacing: -3px; }
.connect-intro > p { max-width: 420px; margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }
.connection-details { display: grid; gap: 22px; margin-top: 42px; }
.connection-details > div { display: flex; align-items: center; gap: 15px; }
.detail-number { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(229,75,93,.24); border-radius: 10px; color: #f78d9b; font-size: 10px; background: rgba(229,75,93,.06); }
.connection-details strong, .connection-details small { display: block; }
.connection-details strong { font-size: 12px; font-weight: 650; }
.connection-details small { margin-top: 5px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.connect-card { min-width: 0; padding: 30px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: linear-gradient(145deg, #151922, #0e1118); box-shadow: 0 26px 80px rgba(0,0,0,.2); }
.card-topline { display: flex; align-items: center; gap: 7px; margin-bottom: 24px; color: #b3b9c6; font-size: 10px; }
.connection-dot { height: 6px; width: 6px; border-radius: 50%; background: #a78a58; }
.connection-dot.ready { background: #65d69a; box-shadow: 0 0 11px rgba(69,205,131,.35); }
h2 { margin: 0 0 10px; font-size: 25px; line-height: 1.2; letter-spacing: -.9px; }
.card-intro { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.account-tabs { display: flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 9px; background: #0a0d12; margin-bottom: 22px; }
.account-tabs button { flex: 1; min-height: 38px; padding: 8px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font-size: 11px; }
.account-tabs button.active { color: #f9d9de; background: rgba(229,75,93,.13); }
.form-field { display: grid; gap: 9px; color: #d4d7df; font-size: 11px; font-weight: 600; }
.form-field input { width: 100%; height: 44px; min-width: 0; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: var(--text); background: #0b0e14; font-size: 14px; }
.form-field input:focus { border-color: rgba(229,75,93,.7); }
.field-hint { margin: 7px 0 19px; color: #9198a7; font-size: 10px; line-height: 1.65; }
.primary-button, .secondary-button { min-height: 44px; padding: 12px 16px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #e54b5d, #ca364e); text-decoration: none; font-size: 12px; font-weight: 700; line-height: 1.5; }
.primary-button:hover { background: linear-gradient(135deg, #ef596c, #d83c55); }
.secondary-button { border: 1px solid var(--line); background: rgba(255,255,255,.045); font-weight: 500; }
.text-button { min-height: 44px; border: 0; background: none; color: #ff94a1; font-size: 11px; }
.full-width { width: 100%; }
.form-status { margin: 16px 0 0; color: #b8c4bb; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status.error { color: #ff9ba8; }
.card-footnote { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #8f97a6; font-size: 10px; line-height: 1.8; }
.session-state { display: inline-block; padding: 5px 8px; margin-bottom: 14px; border-radius: 5px; color: #edc58c; background: rgba(225,174,93,.08); font-size: 10px; }
.session-state.approved { color: #8cddb2; background: rgba(69,205,131,.08); }
.session-details { margin: 22px 0; }
.session-details > div { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.6; }
.session-details dt { color: var(--muted); }
.session-details dd { margin: 0; max-width: 65%; overflow-wrap: anywhere; text-align: right; }
.session-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; }
.remote-footer { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; color: #8b93a2; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.6; }
.remote-footer a { padding: 10px 0; color: #b2b9c6; text-decoration: none; }
.download-layout { grid-template-columns: 1fr 430px; }
.download-intro h1 { font-size: clamp(42px, 5vw, 62px); }
.download-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(229,75,93,.25); border-radius: 13px; background: rgba(229,75,93,.08); }
.download-mark svg { width: 24px; height: 24px; stroke: #ff8c9c; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.release-details { margin: 22px 0; }
.release-details div { margin: 13px 0; }
.release-details dt { color: var(--muted); font-size: 10px; }
.release-details dd { margin: 5px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.release-details .checksum { color: #bac1ce; font-family: Consolas, monospace; font-size: 10px; line-height: 1.65; }
#download-refresh { margin-top: 12px; }
@media (max-width: 900px) {
  .remote-shell { padding: 0 28px; }
  .connect-layout, .download-layout { grid-template-columns: 1fr 390px; gap: 34px; padding: 54px 0; }
  .connect-intro h1 { font-size: 47px; letter-spacing: -2px; }
  .connect-intro > p { font-size: 13px; }
  .connect-card { padding: 25px; }
}
@media (max-width: 720px) {
  .remote-header { min-height: 86px; }
  .remote-shell { max-width: 530px; padding: 0 22px; }
  .remote-brand { gap: 8px; font-size: 20px; }
  .remote-brand img { width: 35px; height: 35px; }
  .nav-link { font-size: 11px; }
  .nav-link span { margin-left: 4px; }
  .connect-layout, .download-layout { grid-template-columns: 1fr; gap: 30px; align-content: start; padding: 40px 0; }
  .connect-intro h1 { margin: 13px 0 17px; font-size: 45px; }
  .connect-intro h1 br { display: none; }
  .connect-intro > p { max-width: 440px; }
  .connection-details { display: none; }
  .connect-card { padding: 25px; border-radius: 15px; }
  .remote-footer { align-items: start; }
  .remote-footer span { max-width: 215px; }
  .form-field input { font-size: 16px; }
}
@media (max-width: 370px) {
  .remote-shell { padding: 0 16px; }
  .remote-brand { font-size: 18px; }
  .remote-brand img { width: 29px; height: 29px; }
  .connect-card { padding: 21px; }
  .connect-intro h1 { font-size: 40px; }
}
