/* Shared setup and signage surfaces; operational assets remain lightweight. */
.ds-portal { scrollbar-color: #52684e #0b1511; caret-color: #e9ff54; }
.ds-portal ::selection, .ds-auth-page ::selection { background: #e9ff54; color: #102018; }
.ds-setup { margin: 0 0 24px; border: 1px solid #3a5140; border-radius: 12px; padding: 22px; background: #111f19; }
.ds-setup summary { font-size: 17px; font-weight: 650; cursor: pointer; }
.ds-setup > p { max-width: 70ch; color: #b1c1b7; font-size: 13px; }
.ds-setup ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; padding: 0; margin: 24px 0 0; }
.ds-setup li { display: grid; gap: 9px; align-content: start; padding: 0 20px; border-left: 1px solid #344637; }
.ds-setup li:first-child { padding-left: 0; border: 0; }
.ds-setup li strong { font-size: 14px; }
.ds-setup li p { margin: 0; color: #b1c1b7; font-size: 12px; }
.ds-setup li > span { font-size: 12px; color: #f4d687; }
.ds-setup li.done > span { color: #b5f1c6; }
.ds-setup li a { color: #e9ff54; font-size: 13px; justify-self: start; }
.ds-auth-page .ds-auth-intro { background: #0b1511 url('../images/signal-space.png') center/cover; }
.ds-auth-page .ds-auth-intro h1 { font-size: clamp(42px, 5vw, 78px); line-height: 1.05; letter-spacing: -.03em; max-width: 12ch; }
.ds-auth-page .ds-auth-form-wrap { background: #111f19; }
.ds-auth-page .ds-auth-form { max-width: 430px; }
.ds-auth-page .ds-auth-form h2 { font-size: 30px; }
.ds-auth-page .ds-auth-form small { display: block; color: #b1c1b7; font-size: 12px; line-height: 1.6; margin-top: 8px; }
.ds-auth-page .ds-google-form button { width: 100%; border: 1px solid #6c7c6d; background: #f4f6f0; color: #152018; }
.ds-auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: #b1c1b7; font-size: 12px; }
.ds-auth-divider::before, .ds-auth-divider::after { content: ''; height: 1px; flex: 1; background: #405244; }
.ds-auth-info { padding: 14px; border: 1px solid #52684e; background: #1b3021; color: #e9f4d7; border-radius: 8px; font-size: 13px; margin: 18px 0; }
.ds-portal .ds-template-grid article { overflow: hidden; }
.ds-portal .ds-template-grid img { object-fit: contain; background: #0b1511; }
.ds-slide-types { flex-wrap: wrap; }
body.ds-connection { background: #0b1511; color: #f4f6f0; font-family: system-ui, sans-serif; }
body.ds-connection .shell::before { background: url('../images/signal-space.png') center/cover !important; filter: none !important; }
body.ds-connection .shell::after { display: none; }
body.ds-connection .card { grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); }
body.ds-connection h1 { max-width: 13ch; letter-spacing: -.03em; line-height: 1.06; font-weight: 650; }
body.ds-connection .eyebrow { display: none; }
body.ds-connection .qr { box-shadow: 0 18px 50px #0006; border-radius: 12px; }
body.ds-connection .qr svg, [data-ds-qr] svg { display: block; width: 100%; height: auto; }
body.ds-connection .qr { width: min(360px, 29vw); }
body.ds-connection .code { font-variant-numeric: tabular-nums; letter-spacing: .1em; color: #e9ff54; }
body.ds-connection .hint { max-width: 42ch; }
.ds-addon { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 7%; background: #0b1511; color: #f4f6f0; overflow: hidden; container-type: size; }
.ds-addon-copy { min-width: 0; }
.ds-addon h1 { font: 650 clamp(28px, 5vw, 110px)/1.08 system-ui, sans-serif; letter-spacing: -.03em; max-width: 22ch; margin: 0 0 .6em; overflow-wrap: anywhere; }
.ds-addon p { font: 400 clamp(18px, 2.8vw, 62px)/1.45 system-ui, sans-serif; max-width: 50ch; white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; }
.ds-addon-qr { flex: 0 0 34%; padding: 12px; background: white; border-radius: 10px; min-width: 0; }
.ds-addon-qr svg { width: 100%; display: block; }
.ds-addon-qr:empty { display: none; }
.ds-addon.ds-addon-qr { border-radius: 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 7%; flex-basis: auto; padding: 7%; background: #0b1511; }
.ds-addon.ds-addon-qr > .ds-addon-copy { flex: 1; }
.ds-addon .ds-addon-address { color: #d4e68f; font-size: clamp(14px, 1.5vw, 34px); margin-top: 2em; }
.ds-addon-counter { margin-top: .5em; font: 650 clamp(30px, 8vw, 180px)/1.15 system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #e9ff54; overflow-wrap: anywhere; }
.ds-no-channel { background: #0b1511 url('../images/signal-space.png') center/cover !important; }
.ds-no-channel-kicker { display: none; }
.ds-no-channel-card h1 { letter-spacing: -.03em; line-height: 1.04; }
.ds-no-channel-qr { background: white; padding: 16px; border-radius: 12px; }
.ds-no-channel-qr svg { width: 100%; display: block; }
.ds-start-overlay { background: #0b1511 url('../images/signal-space.png') center/cover !important; }
.ds-start-inner { background: #111f19; padding: clamp(24px, 5vw, 64px); border-radius: 16px; border: 1px solid #405244; }
.ds-start-title { font-weight: 650; letter-spacing: -.02em; }
@media (max-width: 760px), (orientation: portrait) {
  body.ds-connection .card { grid-template-columns: 1fr; }
  body.ds-connection .qr { width: min(68vw, 38vh, 420px); }
  .ds-setup ol { grid-template-columns: 1fr; gap: 20px; }
  .ds-setup li { border-left: 0; padding: 16px 0 0; border-top: 1px solid #344637; }
  .ds-setup li:first-child { padding-top: 0; }
  .ds-addon.ds-addon-qr { flex-direction: column; justify-content: center; }
  .ds-addon-qr { flex-basis: auto; width: min(65%, 42vh); }
}
@media (prefers-reduced-motion: reduce) { body.ds-connection * { animation: none !important; transition: none !important; } }

.ds-connection #ds-qr { width: min(340px, 27vw); }
.ds-connection #ds-qr svg { display:block; width:100%; height:auto; }
@media(max-width:760px),(orientation:portrait) { .ds-connection #ds-qr { width:min(66vw,38vh,420px); } }
@media(max-height:500px) and (orientation:landscape) { body.ds-connection .qr, .ds-connection #ds-qr { width:min(190px,40vh); } }
.ds-playlist-help { color:#b1c1b7; max-width:55ch; font-size:13px; }

@supports (font-size: 1cqw) {
 .ds-addon h1 { font-size:clamp(20px,5cqw,110px); }
 .ds-addon p { font-size:clamp(14px,2.8cqw,62px); }
 .ds-addon .ds-addon-address { font-size:clamp(12px,1.5cqw,34px); }
 .ds-addon-counter { font-size:clamp(24px,8cqw,180px); }
}
.ds-auth-page .ds-auth-form { color:#f4f6f0; }
.ds-auth-page .ds-auth-form > p { color:#b1c1b7; }
.ds-auth-page .ds-auth-form a { color:#e9ff54; }
.ds-auth-page .ds-auth-form form:not(.ds-google-form) button { background:#e9ff54; color:#152018; }
.ds-auth-page .ds-google-form button:hover { background:#e5ecd9; }
.ds-auth-page .ds-auth-form input:focus { border-color:#819b59; box-shadow:0 0 0 3px #a0c46a33; }
@media (orientation:landscape) {
 .ds-addon.ds-addon-qr { flex-direction:row; }
 .ds-addon.ds-addon-qr > .ds-addon-qr { width:34%; flex:0 0 34%; }
}

body.ds-tv-setup { background:#0b1511 url('../images/signal-space.png') center/cover; color:#f4f6f0; }
.ds-tv-setup .ds-tv-code { min-width:0; max-width:100%; color:#e9ff54; border:1px solid #68804a; background:#111f19; border-radius:12px; }
.ds-tv-setup .ds-tv-kicker, .ds-tv-setup .ds-tv-help { color:#b1c1b7; }
.ds-tv-setup .ds-tv-progress { background:#344637; }
.ds-tv-setup .ds-tv-progress span { background:#e9ff54; }
.ds-tv-setup .ds-tv-reset { color:#b1c1b7; }
@media(max-width:500px) { .ds-tv-setup .ds-tv-card { width:90vw; } .ds-tv-setup .ds-tv-code { font-size:44px; } }
.ds-addon.ds-addon-qr { width:100%; height:100%; }
