/* StreamPip 0.9.17.0.16 — shared presentation, no playback overrides */
:root{--sp-focus:#68e6f4;--sp-ink:#f5f1ff;--sp-muted:#bcb5cc;--sp-edge:#39344d;--sp-surface:#14192b;--sp-accent:#d1a3ff}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--sp-focus)!important;outline-offset:3px}
:where(input,textarea)::placeholder{color:#aaa5bd;opacity:1}
:where(input,select,textarea){accent-color:#ad79ef}
:where(.auth .panel,.sp-hub-card,.sp-status){border-color:var(--sp-edge);box-shadow:0 12px 32px #0002}
.auth .panel{border-radius:16px;background:linear-gradient(145deg,#1c1b30,#111625);padding:clamp(22px,4vw,36px)}
.auth .panel :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;background:#101426;border-color:#49435f;color:var(--sp-ink)}
.auth .panel label{color:var(--sp-muted);font-size:13px;line-height:1.5}
.auth .panel .button{border-radius:10px;min-height:44px;background:linear-gradient(110deg,#7136c6,#6744c7);color:#fff!important}
.auth .panel .button:hover{background:#834bd3}
.auth .panel .button.secondary{background:#25243c;border:1px solid var(--sp-edge)}
.sp-premium-header{background:rgba(14,17,33,.96);backdrop-filter:blur(16px)}
.sp-profile-panel{background:#171b2e;border-color:var(--sp-edge);border-radius:12px}
.sp-profile-panel a:hover,.sp-profile-panel button:hover{background:#29243e!important}
.sp-hub-card,.sp-recent-item,.sp-action-link,.sp-title-action,.sp-header-icon{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
.sp-hub-card:hover{box-shadow:0 6px 20px #8547c51c}
.sp-polish-skip{position:fixed;top:8px;left:12px;z-index:10000;transform:translateY(-150%);padding:12px 18px;background:#202541;color:white;border-radius:8px}
.sp-polish-skip:focus{transform:none}
.sp-notice.sp-polish-notice{position:relative;display:flex;align-items:center;gap:16px;justify-content:space-between;background:#192936;border:1px solid #486c72;border-radius:10px;color:#e4fff5;padding:14px 18px;margin:16px auto;width:calc(100% - 32px);font-weight:500}
.sp-polish-close{flex:none;background:transparent;border:0;color:inherit;font:inherit;font-size:22px;line-height:1;cursor:pointer;padding:8px;border-radius:6px}
.sp-polish-close:hover{background:#ffffff15}
.sp-polish-loading{background:#20243b;animation:sp-polish-pulse 1.4s ease-in-out infinite}
@keyframes sp-polish-pulse{50%{background-color:#34304c}}
.sp-polish-loading img{opacity:0}
.sp-polish-ready img{transition:opacity .18s ease;opacity:1}
.sp-polish-failed img{visibility:hidden}
.sp-polish-failed{background:#1b2033;position:relative}
.sp-polish-failed::after{content:'';position:absolute;inset:0;background:url('brand/streampip-ribbon.png') center/32px auto no-repeat;pointer-events:none}
@media(max-width:650px){.auth .panel{width:100%;max-width:440px}.auth .panel :is(input,select,textarea){font-size:16px}.sp-hub{padding-inline:16px}.sp-hub-grid{grid-template-columns:minmax(0,1fr)}.sp-hub-identity{flex-wrap:wrap}.sp-hub-identity>a{margin-left:0}.sp-hub-tabs{scrollbar-width:thin}.sp-compact-catalog .sp-watch-filters input,.sp-compact-catalog .sp-watch-filters select{font-size:16px}.sp-profile-panel{max-height:65dvh}}
@media(prefers-reduced-motion:reduce){.sp-hub-card,.sp-recent-item,.sp-action-link,.sp-title-action,.sp-header-icon,.sp-polish-ready img{transition:none}.sp-polish-loading{animation:none}}
