:root {
  --accent: #ef171f;
  --ink: #faf9fa;
  --muted: #c0bdc3;
  --canvas: #0a0a0c;
  --panel: #1a191d;
  --line: #434149;
  color: #faf9fa; background: #0a0a0c;
  font: 16px/1.45 Inter, "Segoe UI", Arial, sans-serif;
  font-size: max(16px, 1.15vw);
}
* { box-sizing: border-box; }
body { margin: 0; background: #0a0a0c; color: #faf9fa; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, .control-link { border: 1px solid #45434c; border-radius: .55rem; background: #252429; color: #faf9fa; min-height: 2.85rem; padding: .57rem 1rem; font-weight: 650; text-decoration: none; }
button:focus, input:focus, select:focus, a:focus { outline: .19rem solid white; outline-offset: .19rem; box-shadow: 0 0 0 .34rem #070709; }
button:disabled { opacity: .65; cursor: wait; }
button:hover:not(:disabled), .control-link:hover { background: #35333b; }
button.primary, button.primary:hover { background: #bc1420; background: var(--accent, #bc1420); border-color: transparent; color: white; text-shadow: 0 1px 3px #550000; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 2.55rem; line-height: 1.08; letter-spacing: -.052em; }
h2 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -.035em; }
h3 { font-size: 1.12rem; }
p + p { margin-top: .7rem; }
.muted, .lead { color: #c0bdc3; }
.small { font-size: .92rem; }
.icon { width: 1.2rem; height: 1.2rem; object-fit: contain; flex: none; vertical-align: middle; }
.with-icon { display: inline-flex; justify-content: center; align-items: center; }
.with-icon > .icon { margin-right: .58rem; }
.logo { object-fit: contain; }
.splash { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.splash img { width: 15rem; margin-bottom: 1.8rem; }
.login { min-height: 100vh; display: flex; justify-content: center; align-items: center; position: relative; padding: 4vh 5vw; background: radial-gradient(ellipse at 19% 45%,#350c13 0%,#110d11 45%,#09090b 76%); }
.wallpaper { display:block; position:absolute; inset:0; top:0; left:0; width:100%; height:100%; object-fit:cover; pointer-events:none; opacity:.28; }
.brand-side { position: relative; width: 37%; max-width: 27rem; padding-right: 4.5vw; }
.brand-side .logo { display: block; width: 100%; max-width: 20rem; max-height: 32vh; }
.login-card { position: relative; width: 27rem; max-width: 49%; padding: 1.5rem 1.7rem; background: #19181c; background: linear-gradient(145deg,rgba(33,32,37,.98),rgba(18,17,20,.98)); border: 1px solid #454149; border-radius: 1.2rem; box-shadow: 0 2.5rem 6rem rgba(0,0,0,.38); }
.login-card h1 { font-size: 1.9rem; margin-bottom: .5rem; }
.login-card > .lead { margin-bottom: 1rem; font-size: .9rem; }
.field { display:block; font-weight: 650; margin-bottom: .95rem; }
.field > span { display: block; margin-bottom: .32rem; }
input:not([type=checkbox]), select { display:block; width:100%; height:2.9rem; background:#101013; border:1px solid #55525e; color:#fff; border-radius:.47rem; padding:0 .8rem; }
input[type=checkbox] { width:1.2rem; height:1.2rem; margin:0 .55rem 0 0; vertical-align:middle; accent-color:var(--accent, #ef171f); }
.check { display:flex; align-items:center; margin:.7rem 0 1.2rem; color:#e1dfe2; }
.form-actions { display:flex; }
.form-actions > button:first-child { flex:1; }
.form-actions > button + button { margin-left:.55rem; }
.support-code { background: white; padding:.6rem; display:block; image-rendering:pixelated; max-width:100%; width:13rem; height:auto; margin:1rem 0; }
.error { color:#ffbfc4; margin:.85rem 0; }
.error:empty { display:none; }
.shell { height: 100vh; display:flex; flex-direction:column; background:#0a0a0c; position:relative; }
.shell > .wallpaper { opacity:.12; }
.bar { flex:none; z-index:1; display:flex; align-items:center; background:rgba(14,14,17,.95); border-bottom:1px solid #302e35; padding:.57rem 4vw; min-height:4.7rem; }
.bar .logo { width:5.6rem; height:3.05rem; margin-right:2vw; }
.bar nav { display:flex; align-items:center; flex:1; }
.nav-button { display:inline-flex; position:relative; align-items:center; padding:.6rem .9rem; background:transparent; border-color:transparent; white-space:nowrap; }
.nav-button .icon { margin-right:.46rem; }
.nav-button.active { background:#2c282c; }
.nav-button.active:after { content:''; position:absolute; bottom:.05rem; height:.15rem; left:20%; right:20%; background:#ef171f; background:var(--accent); }
.nav-right { display:flex; margin-left:auto; }
.nav-right .nav-button { padding:.65rem; margin-left:.35rem; }
.nav-right .icon { margin:0; }
.content { position:relative; flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; }
.page { padding:2rem 4vw 3rem; }
.page-title, .row-heading, .pager, .actions { display:flex; flex-wrap:wrap; align-items:center; }
.page-title, .row-heading { justify-content:space-between; margin:0 0 1.2rem; }
.actions > *, .pager > * { margin:.3rem .55rem .3rem 0; }
.page-title .muted { margin-top:.45rem; }
.hero { min-height:20.5rem; position:relative; display:flex; align-items:flex-end; overflow:hidden; background:linear-gradient(115deg,#301218,#131116); border-radius:.85rem; margin-bottom:1.8rem; }
.hero > img { position:absolute; top:0; right:0; width:72%; height:100%; object-fit:cover; object-position:center 29%; }
.hero:after { content:''; position:absolute; inset:0; top:0;bottom:0;left:0;right:0; background:linear-gradient(90deg,#1d1115 1%,rgba(19,13,17,.92) 33%,rgba(15,12,14,.18) 85%),linear-gradient(0deg,rgba(13,12,15,.85),transparent 65%); }
.hero-copy { position:relative; z-index:1; padding:2.2rem; width:70%; max-width:45rem; }
.hero h1 { font-size:3.35rem; margin:.45rem 0; }
.eyebrow { font-size:.86rem; line-height:1.3; color:#f4d5d9; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.hero-copy p, .summary { margin:.5rem 0 .8rem; color:#e0dde1; line-height:1.5; }
.hero-copy p { overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.row { margin:1.5rem 0; }
.cards { display:flex; flex-wrap:wrap; margin:0 -.48rem; }
.card { width:calc(16.6667% - .96rem); padding:0; display:flex; flex-direction:column; align-items:stretch; overflow:hidden; text-align:left; border:1px solid #34323a; border-radius:.58rem; margin:.48rem; background:#1c1a1f; }
.poster { position:relative; width:100%; padding-top:138%; background:linear-gradient(145deg,#3c3038,#1a191d); }
.card.live .poster { padding-top:57%; }
.poster img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
.card.live .poster img { object-fit:contain; padding:.7rem; }
.poster .fallback { object-fit:contain; margin:auto; width:30%; height:30%; top:35%; left:35%; opacity:.48; }
.card-copy { padding:.7rem .72rem; min-width:0; }
.card-copy strong { display:block; line-height:1.27; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-copy small { display:block; color:#c8c2c8; margin-top:.25rem; font-size:.86rem; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.meter { height:.22rem; background:#45404a; }
.meter span { display:block; height:100%; background:var(--accent,#ef171f); }
.panel { background:rgba(27,25,30,.94); padding:1.25rem 1.5rem; border:1px solid #3e3a43; border-radius:.73rem; margin-bottom:1rem; }
.panel h2 { margin:.1rem 0 .85rem; }
.panel .muted { margin:.4rem 0 .75rem; }
.panel dl { margin:0; }
.panel dt { color:#beb8c0; padding-top:.7rem; }
.panel dd { margin:0; overflow-wrap:anywhere; }
.split { display:flex; flex-wrap:wrap; margin:0 -.55rem; }
.split > .panel { width:calc(50% - 1.1rem); margin:0 .55rem 1.1rem; }
.filters { display:flex; flex-wrap:wrap; align-items:flex-end; margin-bottom:.9rem; }
.filters .field { min-width:12rem; max-width:24rem; margin:0 .8rem .6rem 0; }
.filters > button { margin:0 .6rem .6rem 0; }
.pager { margin-top:1rem; }
.pager span { color:#dad6db; }
.episodes button { display:flex; align-items:center; text-align:left; width:100%; margin:.5rem 0; }
.episodes button .icon { margin-right:.75rem; }
.episodes small { display:block; color:#ccc6ce; font-weight:400; }
.epg { padding-left:1.3rem; }
.epg li { padding:.45rem 0; }
.epg time { color:#c1bac1; margin-right:.7rem; }
.overlay { position:fixed; z-index:30; top:0; right:0; bottom:0; left:0; background:rgba(0,0,0,.78); display:flex; align-items:center; justify-content:center; padding:4vh 4vw; }
.dialog { width:33rem; max-width:100%; max-height:90vh; overflow:auto; background:#201e23; border:1px solid #55515c; border-radius:1rem; padding:1.6rem; }
.dialog h2 { margin:0 0 .9rem; }
#notice { position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%); max-width:85%; z-index:90; background:#30282e; color:white; border-radius:.65rem; box-shadow:0 .6rem 1.5rem #0008; }
#notice:not(:empty) { padding:.75rem 1.1rem; border:1px solid #756c75; }
.search-box { display:flex; padding:.45rem 0 1rem; max-width:42rem; }
.search-box input { flex:1; min-width:0; margin-right:.6rem; }
.status { color:#c6c1c8; padding:1.3rem 0; }
@media (min-width:2000px) { :root { font-size:1.15vw; } }
@media (max-width:1050px) { .bar { padding:.5rem 2.5vw; } .nav-button { padding:.5rem; } .card { width:calc(20% - .96rem); } }
@media (max-width:780px) {
  .login { flex-direction:column; padding:1.5rem 5vw; } .brand-side { width:10rem; padding:0 0 1rem; }
  .login-card { width:30rem; max-width:100%; padding:1.5rem; }
  .bar { flex-wrap:wrap; } .bar .logo { width:3.5rem; margin-right:.4rem; } .bar nav { overflow-x:auto; padding:.25rem; }
  .bar nav .icon { display:none; } .nav-right { margin:0; }
  .card { width:calc(33.33% - .96rem); } .hero-copy { width:92%; padding:1.25rem; } .hero h1 { font-size:2.25rem; }
  .split > .panel { width:calc(100% - 1.1rem); } .page { padding:1rem 4vw 2rem; }
}
@media (max-width:480px) { .card { width:calc(50% - .96rem); } .bar { justify-content:space-between; } .bar nav { order:3; width:100%; flex:none; } }
.pair-start { width:100%; margin-top:.7rem; } .pair-code { margin:.8rem 0 .2rem; font-size:1.5rem; letter-spacing:.06em; }
@media (min-width:781px) and (max-height:650px) {
  .login { padding:1rem 5vw; }
  .login-card { padding:1.1rem 1.5rem; }
  .login-card h1 { font-size:1.7rem; }
  .login-card .field { margin-bottom:.55rem; }
  .login-card input:not([type=checkbox]), .login-card select { height:2.5rem; }
  .login-card .check { margin:.55rem 0 .7rem; font-size:.9rem; }
  .login-card button { min-height:2.5rem; padding:.45rem .8rem; }
  .login-card .pair-start { margin-top:.5rem; }
}

/* The signed-in layout uses a single horizontal navigation at every size. */
.shell { --gutter:clamp(16px,4vw,96px); --coal:#101012; height:100vh; height:100dvh; background:var(--coal); }
.main-area { position:relative; display:flex; flex-direction:column; height:100%; min-height:0; }
.shell .topbar { position:relative; z-index:4; min-height:3.9rem; padding:.3rem var(--gutter); gap:1.3rem; background:#0d0d0f; border-bottom:1px solid #252527; }
.topbar .logo { width:5rem; height:2.8rem; margin:0; }
.topbar nav { gap:.18rem; }
.topbar .nav-button { min-height:2.5rem; background:transparent; border:0; border-radius:.3rem; padding:.45rem .72rem; color:#c1c0c3; font-size:.92rem; }
.topbar .nav-button:hover,.topbar .nav-button.active { background:transparent; color:white; }
.topbar .nav-button.active:after { left:.75rem; right:.75rem; bottom:.1rem; height:3px; border-radius:1px; }
.topbar .nav-right { gap:.25rem; }
.topbar .nav-right button { margin:0; padding:.62rem; }
.nav-right button span { display:none; }
.topbar .nav-right .icon { width:1.12rem; height:1.12rem; }
.shell .page { padding:clamp(1.25rem,4vh,3.5rem) var(--gutter) 3rem; }
.shell .page-home { padding:0 0 3rem; }
.page-home > div:not(.billboard) { margin-inline:var(--gutter); }
.shell .hero { isolation:isolate; overflow:hidden; border:0; border-radius:.45rem; background:radial-gradient(ellipse at 85% 30%,#40353b,#201d20 55%,#121214); }
.billboard .hero { margin:0; min-height:clamp(19rem,55vh,40rem); border-radius:0; align-items:center; }
.shell .hero > img { width:82%; object-position:center 32%; }
.shell .hero > .portrait-art { width:60%; object-position:50% 26%; }
.shell .hero:after { background:linear-gradient(90deg,#101012 1%,rgba(16,16,18,.91) 25%,rgba(16,16,18,.57) 46%,transparent 76%),linear-gradient(0deg,#101012,transparent 32%); }
.shell .hero-copy { width:63%; max-width:55rem; text-shadow:0 1px 14px #0009; }
.billboard .hero-copy { padding:2.6rem var(--gutter) 3rem; }
.shell .eyebrow { display:inline-flex; align-items:center; gap:.6rem; color:#f4f3f3; font-size:.72rem; font-weight:750; letter-spacing:.18em; }
.shell .eyebrow:before { content:''; background:var(--accent); width:1.65rem; height:.17rem; }
.shell .hero h1 { font-size:clamp(2.25rem,4.45vw,4.7rem); line-height:1.01; letter-spacing:-.048em; margin:.6rem 0 .7rem; overflow-wrap:anywhere; }
.shell .hero-copy p { font-size:.96rem; max-width:38rem; line-height:1.46; }
.shell .hero-copy p[hidden] { display:none; }
.shell .hero .small { color:#dedde1; font-size:.85rem; }
.shell .hero .actions { margin-top:1rem; }
.shell .actions button { border-radius:.32rem; min-height:2.6rem; }
.shell .hero .actions .primary { background:#f3f3f3; color:#111114; text-shadow:none; }
.shell .hero .actions .primary .icon { filter:brightness(0); }
.feature-switch { position:absolute; z-index:2; right:var(--gutter); bottom:1.45rem; display:flex; gap:.1rem; }
.feature-switch .feature-dot { min-height:1.6rem; min-width:1.75rem; padding:0 .17rem; background:transparent; border:0; }
.feature-dot:after { display:block; content:''; height:3px; background:#aaa9; }
.feature-dot[aria-pressed=true]:after { background:#fff; }
.hero-loading .status { margin:auto var(--gutter); }
.shell .row { margin:1.25rem 0 1.85rem; min-width:0; }
.shell .row-heading { margin:0 0 .4rem; gap:.6rem; align-items:center; }
.shell .row h2 { font-size:clamp(1.1rem,1.6vw,1.65rem); }
.shelf-tools { display:flex; align-items:center; gap:.32rem; }
.shelf-tools button { display:inline-flex; align-items:center; justify-content:center; background:transparent; border-color:transparent; min-height:2.15rem; padding:.25rem .45rem; font-size:.76rem; }
.shelf-tools .shelf-more { flex-direction:row-reverse; color:#d3d2d6; }
.shelf-more .icon,.shelf-arrow .icon { width:.88rem; height:.88rem; margin:0; }
.shelf-arrow { border-radius:50%; width:2.15rem; }
.shelf-tools .shelf-arrow { border:1px solid #5a565c; }
.shell .cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(clamp(8rem,12vw,12rem),1fr)); gap:.85rem; margin:0; padding:.5rem 0; }
.shell .row .cards { display:flex; flex-wrap:nowrap; overflow:auto hidden; gap:.65rem; padding:.55rem .4rem .75rem; margin:0 -.4rem; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:#555 transparent; }
.shell .card { width:100%; min-width:0; position:relative; display:block; margin:0; padding:0; border:0; border-radius:.38rem; overflow:hidden; background:#242328; transition:transform .17s ease,box-shadow .17s ease; }
.shell .row .card { flex:0 0 clamp(7.7rem,13vw,12rem); scroll-snap-align:start; }
.shell .progress-row .card,.shell .row .card.live { flex-basis:clamp(12rem,20vw,18rem); }
.shell .card .poster { padding-top:148%; background:radial-gradient(at 65% 12%,#43353e,#211e23 65%); }
.shell .progress-row .poster,.shell .card.live .poster { padding-top:67%; }
.shell .card-copy { position:absolute; inset:auto 0 0; padding:2.7rem .65rem .65rem; background:linear-gradient(transparent,rgba(8,8,10,.82) 55%,rgba(8,8,10,.98)); }
.shell .card-copy strong { font-size:.84rem; }
.shell .card-copy small { font-size:.69rem; margin-top:.2rem; }
.shell .meter { position:absolute; z-index:2; bottom:0; left:0; right:0; }
.shell .card:focus { z-index:1; }
@media (hover:hover) { .shell .card:hover { transform:translateY(-.19rem); box-shadow:0 .3rem .7rem #0009; } }
.shell .page-title { align-items:end; padding-bottom:1.05rem; border-bottom:1px solid #343337; }
.shell .page-title h1 { font-size:clamp(2rem,3.7vw,3.65rem); }
.shell .filters { gap:.35rem; }
.shell .filters .field { font-size:.8rem; color:#bdbbc1; }
.shell select,.shell input:not([type=checkbox]) { border-color:#47464b; background:#202024; }
.shell .panel { background:#1b1b1e; border-color:#343337; border-radius:.45rem; }
.shell .search-box { max-width:46rem; }
.page-detail .detail-back { margin-bottom:.3rem; }
.page-detail .hero { margin-bottom:1rem; min-height:clamp(17rem,45vh,34rem); }
.page-detail .hero-copy { padding:clamp(1.2rem,3vw,3.2rem); }
.shell .episodes button { background:#252528; border:0; border-bottom:1px solid #3a393e; border-radius:.25rem; padding:.85rem; }
@media (max-width:780px) {
  .shell .topbar { gap:.35rem; flex-wrap:wrap; padding:.3rem var(--gutter); }
  .shell .topbar nav { flex:auto; overflow:visible; }
  .topbar .logo { width:3.8rem; }
  .shell .hero-copy { width:80%; }
  .shell .hero > .portrait-art { width:65%; }
  .shell .page-title { align-items:center; }
}
@media (max-width:620px) {
  .shell .topbar { justify-content:space-between; }
  .shell .topbar nav { order:3; width:100%; flex:none; justify-content:space-between; padding:0; }
  .topbar .nav-right { margin-left:auto; }
  .topbar .nav-button { padding:.3rem .42rem; min-height:2.35rem; font-size:.88rem; }
  .billboard .hero { min-height:24rem; align-items:flex-end; }
  .shell .hero > img,.shell .hero > .portrait-art { width:100%; object-position:50% 22%; }
  .shell .hero:after { background:linear-gradient(0deg,#101012 3%,rgba(16,16,18,.91) 28%,rgba(16,16,18,.22) 76%,transparent); }
  .shell .hero-copy { width:100%; }
  .billboard .hero-copy { padding:5.5rem var(--gutter) 2.15rem; }
  .shell .hero h1 { font-size:clamp(1.85rem,8vw,2.7rem); }
  .feature-switch { bottom:.15rem; }
  .shell .hero-copy p { font-size:.88rem; }
  .shell .hero .actions { margin-top:.4rem; }
  .shell .actions button { font-size:.86rem; }
  .shell .row h2 { flex:1; }
  .shelf-tools .shelf-arrow { display:none; }
  .shell .cards { grid-template-columns:repeat(auto-fill,minmax(7.3rem,1fr)); gap:.65rem; }
  .shell .filters .field { min-width:0; max-width:100%; }
  .shell .filters > div { max-width:100%; }
}
@media (max-height:480px) and (min-width:621px) {
  .shell .topbar { min-height:2.8rem; }
  .billboard .hero { min-height:13rem; }
  .billboard .hero-copy { padding:1rem var(--gutter) 1.8rem; }
  .shell .hero h1 { font-size:1.85rem; }
}
@media (prefers-reduced-motion:reduce) { .shell .card,.max-playback .mp-bar { transition:none; } }

.channel-layout { display:grid; grid-template-columns:minmax(15rem,2fr) minmax(0,3fr); gap:1.15rem; align-items:start; }
.channel-list,.live-guide { background:#18181b; border:1px solid #343337; border-radius:.65rem; }
.channel-list { max-height:59vh; overflow-y:auto; padding:.45rem; scrollbar-color:#56525a #19181b; }
.shell .channel-list .card { display:flex; flex-direction:row; align-items:center; text-align:left; background:transparent; padding:.35rem; min-height:3.65rem; border:2px solid transparent; }
.shell .channel-list .card:hover { transform:none; background:#302d32; }
.shell .channel-list .card[aria-pressed="true"] { background:#30282b; border-left-color:var(--accent); }
.shell .channel-list .card:focus { outline:2px solid white; outline-offset:-2px; }
.shell .channel-list .card.live .poster { padding:0; width:3.65rem; height:2.45rem; flex:none; border-radius:.25rem; background:#252529; }
.shell .channel-list .poster img { padding:.24rem; }
.shell .channel-list .poster .fallback { padding:0; }
.shell .channel-list .card-copy { position:static; padding:.25rem .7rem; background:transparent; }
.shell .channel-list .card-copy strong { font-size:1rem; }
.channel-head,.guide-body { padding:1rem 1.25rem; }
.channel-head { border-bottom:1px solid #39363c; }
.channel-head h2 { margin:.35rem 0 .85rem; font-size:clamp(1.2rem,2.1vw,2rem); line-height:1.14; }
.guide-body h3 { margin:0 0 .7rem; }
.channel-schedule { list-style:none; margin:0; padding:0; max-height:38vh; overflow-y:auto; }
.channel-schedule li { border-top:1px solid #363439; padding:.65rem .2rem; }
.channel-schedule li:first-child { border-top:0; }
.schedule-time { display:flex; align-items:center; gap:.65rem; color:#c2bdc4; font-size:.8rem; }
.program-tag { color:#fff; font-size:.8rem; }
.on-air .program-tag { color:#ff9299; }
.program-name { display:block; margin-top:.22rem; }
.channel-schedule progress { display:block; max-width:16rem; width:100%; height:.35rem; margin:.45rem 0; accent-color:var(--accent); }
.channel-schedule p { margin:.25rem 0; font-size:.85rem; }
.channel-search { display:flex; gap:.35rem; align-items:center; margin:0 .6rem .6rem 0; min-width:0; }
.channel-search input { width:10rem; min-width:0; }
@media(max-width:700px) {
  .channel-layout { display:flex; flex-direction:column; gap:.7rem; }
  .channel-list,.live-guide { width:100%; }
  .channel-list { max-height:13rem; }
  .channel-head,.guide-body { padding:.85rem; }
  .channel-search { flex:1 1 12rem; }
  .channel-search input { flex:1; }
}

/* Keep server selection inside the app so TV Back and arrows stay available. */
.login-card .login-server { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:2.5rem; padding:.45rem .8rem; text-align:left; border:1px solid #52515c; border-radius:.4rem; background:#101014; color:#fff; font:inherit; }
.login-server span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.login-card button.login-server:after { content:""; width:.42rem; height:.42rem; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg); margin:0 .24rem .22rem .7rem; flex-shrink:0; }
.dialog.server-dialog { width:25rem; max-width:90vw; max-height:90vh; overflow:auto; }
.server-options { max-height:48vh; overflow-y:auto; padding:.3rem; margin:0 -.3rem .7rem; }
.server-options button { display:flex; width:100%; justify-content:space-between; margin:0 0 .35rem; text-align:left; white-space:normal; overflow-wrap:anywhere; }
.server-options .chosen:after { content:"✓"; margin-left:.7rem; }
.server-options button:focus,.login-card button.login-server:focus { outline:2px solid #fff; background:#a20716; color:white; }
