.remote-main { max-width: 640px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.remote-panel { padding: 22px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 18px; background: #15171c; }
.remote-panel h1 { font-size: 27px; letter-spacing: -.6px; margin-bottom: 8px; }
.remote-panel h2 { margin-bottom: 18px; }
.remote-panel h3 { margin: 24px 0 12px; font-size: 17px; }
.remote-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.remote-panel button { min-height: 48px; touch-action: manipulation; }
.remote-panel input[type=range] { width: 100%; padding: 0; height: 40px; accent-color: var(--accent); cursor: pointer; }
.remote-panel .watch-toggle { margin-bottom: 12px; }
.remote-time { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; margin-bottom: 12px; }
.remote-transport { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 10px; }
#play-pause, .primary { background: var(--accent); color: #181324; font-weight: 650; border-color: var(--accent); }
.remote-row { display: flex; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.remote-row > * { flex: 1; }
.remote-row label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.remote-row select { width: 100%; min-width: 0; }
.volume-label { display: flex; gap: 18px; align-items: center; font-size: 13px; color: var(--muted); }
.remote-titles { display: grid; gap: 8px; }
.remote-title { text-align: left; width: 100%; display: flex; align-items: center; gap: 12px; }
.remote-title span { display: block; }
.remote-title small { color: var(--muted); }
.remote-title img { width: 42px; height: 60px; object-fit: cover; border-radius: 5px; }
#open-title { width: 100%; }
.install-hint { margin-top: 28px; }
@media (max-width: 420px) { .remote-main { padding: 18px 12px 32px; } .remote-panel { padding: 16px; } .remote-row button { font-size: 13px; padding: 9px; } }
