:root {
    color-scheme: light;
    --bg: #f5f7f8;
    --panel: #ffffff;
    --panel-soft: #edf3fa;
    --text: #202c40;
    --muted: #697589;
    --brand: #0878f9;
    --brand-strong: #0064dc;
    --success: #00ad72;
    --success-soft: #ccefe3;
    --danger: #cf3f4d;
    --danger-soft: #fff1f2;
    --border: #dce2e8;
    --shadow: 0 2px 5px rgba(31, 44, 64, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(115deg, var(--bg) 0%, #f7f9f9 68%, #eef9f3 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.site-header,
.site-footer,
.page-shell {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    padding-block: 1.5rem 1rem;
}

.site-nav,
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}

.brand {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
}

.brand span:last-child {
    line-height: 1.2;
}

.brand-mark {
    position: relative;
    width: 1.45rem;
    height: 1.45rem;
    border: 2px solid #171717;
    border-right-color: transparent;
    border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    content: "";
    border-right-color: transparent;
    border-radius: 50%;
}

.brand-mark::before {
    inset: 1px;
    border: 2px solid #e32832;
    border-right-color: transparent;
}

.brand-mark::after {
    inset: 4px 0 0 4px;
    border: 2px solid #08a66d;
    border-right-color: transparent;
}

.conference-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.conference-link:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-strong);
}

.page-shell {
    min-height: calc(100vh - 9rem);
    padding-block: 1.5rem 4rem;
}

body:has(.watch-layout) .site-header {
    padding-block: 1rem 0.5rem;
}

body:has(.watch-layout) .page-shell {
    padding-block: 1rem 2rem;
}

.site-footer {
    padding-block: 1.5rem;
    border-top: 1px solid rgba(32, 44, 64, 0.08);
    color: var(--muted);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--brand-strong);
}

.card {
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.compact-card {
    width: min(100%, 34rem);
    margin: 7vh auto 0;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.error-card {
    text-align: left;
}

.error-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 1.5rem;
    font-weight: 700;
}

.error-action {
    margin-top: 1rem;
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    padding-block: 2rem 2.5rem;
}

.dashboard-intro {
    max-width: 42rem;
    margin-bottom: 0;
}

.role-pill,
.admin-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border: 1px solid #b8d8ff;
    border-radius: 999px;
    background: #edf6ff;
    color: var(--brand-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.section-heading h2 {
    margin: 0.35rem 0 0;
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 500;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-action {
    margin-top: 1rem;
}

.dashboard-card {
    min-height: 18rem;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.dashboard-card h2 {
    margin: 0.5rem 0 0.8rem;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 500;
}

.dashboard-open-card {
    min-height: 22rem;
}

.viewer-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: center;
    padding-block: clamp(3rem, 8vw, 6.5rem);
}

.viewer-hero-copy h1 {
    max-width: 44rem;
    margin-block: 0.65rem 1.25rem;
    font-size: clamp(2.65rem, 6vw, 4.8rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.viewer-hero-intro {
    max-width: 40rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.7;
}

.viewer-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.75rem;
    color: #425068;
    font-size: 0.9rem;
    font-weight: 600;
}

.viewer-hero-points > span {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.hero-check {
    display: inline-grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: var(--success-soft);
    color: #007a52;
    font-size: 0.75rem;
}

.broadcast-visual {
    position: relative;
    padding: 1.5rem 0 2.5rem 1.5rem;
}

.broadcast-window {
    overflow: hidden;
    border: 1px solid #cfdae5;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 55px rgba(31, 44, 64, 0.16);
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
}

.broadcast-toolbar {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    height: 2.4rem;
    padding-inline: 0.85rem;
    border-bottom: 1px solid #e7edf3;
    background: #f8fafc;
}

.broadcast-toolbar > span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cad3dd;
}

.broadcast-address {
    width: 45%;
    height: 0.55rem;
    margin-left: 0.5rem;
    border-radius: 999px;
    background: #e6ebf0;
}

.broadcast-screen {
    position: relative;
    display: grid;
    min-height: 18rem;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(8, 120, 249, 0.38), transparent 32%),
        radial-gradient(circle at 20% 80%, rgba(0, 173, 114, 0.3), transparent 35%),
        linear-gradient(145deg, #17243a, #243b5d 58%, #1c304d);
}

.broadcast-screen::before,
.broadcast-screen::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.broadcast-screen::before {
    width: 17rem;
    height: 17rem;
    right: -7rem;
    top: -8rem;
}

.broadcast-screen::after {
    width: 10rem;
    height: 10rem;
    left: -5rem;
    bottom: -5rem;
}

.broadcast-live {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(12, 21, 36, 0.72);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.broadcast-live span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ff4d5e;
    animation: stream-live-pulse 1.4s ease-out infinite;
    box-shadow: 0 0 0 rgba(255, 77, 94, 0.28);
}

.broadcast-play {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    place-items: center;
    padding-left: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.25rem;
    backdrop-filter: blur(8px);
}

.broadcast-caption {
    position: absolute;
    right: 1.25rem;
    bottom: 1.15rem;
    left: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
    font-size: 0.78rem;
}

.broadcast-caption span {
    color: rgba(255, 255, 255, 0.68);
}

.broadcast-secure-card {
    position: absolute;
    right: -1rem;
    bottom: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 15rem;
    padding: 0.9rem 1rem;
    border: 1px solid #d8e3ec;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(31, 44, 64, 0.14);
    color: var(--muted);
    font-size: 0.74rem;
}

.broadcast-secure-card strong,
.guidance-list strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--text);
    font-size: 0.82rem;
}

.secure-icon {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--success-soft);
    color: #007a52;
    font-weight: 800;
}

.viewer-journey {
    padding-block: clamp(2rem, 5vw, 4rem);
}

.viewer-section-heading {
    margin-bottom: 1.75rem;
}

.viewer-section-heading > p {
    max-width: 18rem;
    margin: 0;
    text-align: right;
}

.viewer-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.viewer-step-card {
    position: relative;
    min-height: 15rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(31, 44, 64, 0.06);
}

.step-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: #c1cad5;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.step-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 2.5rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--panel-soft);
    color: var(--brand-strong);
    font-weight: 800;
}

.viewer-step-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.08rem;
}

.viewer-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.viewer-guidance {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    margin-block: 2rem 3rem;
    padding: clamp(1.75rem, 5vw, 3rem);
    border: 1px solid #d7e4ef;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff, #f3f8fc);
}

.viewer-guidance h2 {
    margin: 0.55rem 0 0.8rem;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 550;
}

.guidance-list {
    display: grid;
    gap: 0.75rem;
}

.guidance-list > div {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
    font-size: 0.82rem;
}

.guidance-icon {
    display: grid;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border-radius: 0.65rem;
    background: #e8f2ff;
    color: var(--brand-strong);
    font-size: 0.85rem;
    font-weight: 800;
}

.dashboard-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.helper-text {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.metric {
    margin-top: 1.2rem;
    color: var(--brand);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
}

.status-list {
    display: grid;
    gap: 0;
    margin: 1.2rem 0;
}

.status-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.8rem;
    border-bottom: 1px solid #e8ecf0;
}

.status-list dt {
    color: var(--muted);
}

.status-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.status-value-ready {
    color: var(--success) !important;
}

.status-value-warning {
    color: #ad6500 !important;
}

.text-link {
    color: var(--brand);
    font-weight: 500;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

h1 {
    margin: 0.35rem 0 0.8rem;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    font-weight: 500;
    line-height: 1.08;
}

.eyebrow {
    margin: 0;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
    line-height: 1.6;
}

.access-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
}

label {
    margin-top: 0.45rem;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: none;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(8, 120, 249, 0.14);
}

.button {
    display: inline-flex;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.button-primary {
    margin-top: 0.6rem;
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(8, 120, 249, 0.22);
}

.button-primary:hover {
    background: var(--brand-strong);
    color: white;
    box-shadow: 0 3px 7px rgba(8, 120, 249, 0.28);
}

.button-secondary {
    border-color: var(--text);
    background: var(--text);
    color: #ffffff;
}

.button-secondary:hover {
    border-color: #111b2b;
    background: #111b2b;
}

.button-danger {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.24);
}

.button-danger:hover {
    border-color: #b91c1c;
    background: #b91c1c;
    color: #ffffff;
    box-shadow: 0 3px 7px rgba(220, 38, 38, 0.3);
}

.button-outline {
    border-color: var(--border);
    background: var(--panel);
    color: var(--text);
}

.button-outline:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
}

.field-error {
    margin: -0.3rem 0 0.2rem;
    color: var(--danger);
    font-size: 0.88rem;
}

.notice,
.status-panel {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--panel-soft);
    color: var(--text);
}

.status-panel .muted {
    margin: 0.85rem 0 0;
}

.notice {
    margin-bottom: 1rem;
}

.notice-error {
    border-color: #f2c9cd;
    background: var(--danger-soft);
    color: var(--danger);
}

.status-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--muted);
    box-shadow: none;
}

.status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
}

.status-pill .status-dot {
    flex: 0 0 0.55rem;
}

.status-live {
    background: var(--danger-soft);
    color: var(--danger);
}

.status-live .status-dot {
    animation: stream-live-pulse 1.4s ease-out infinite;
    background: var(--danger);
    box-shadow: 0 0 0 rgba(215, 45, 59, 0.36);
}

.status-pending {
    background: #fff4db;
    color: #9a5b00;
}

.status-pending .status-dot {
    background: #f5a400;
}

.status-muted {
    background: #f1f5f9;
    color: var(--muted);
}

.status-muted .status-dot {
    background: #94a3b8;
}

.status-failed {
    background: var(--danger-soft);
    color: var(--danger);
}

.status-failed .status-dot {
    background: var(--danger);
}

@keyframes stream-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 45, 59, 0.36);
    }
    70% {
        box-shadow: 0 0 0 0.45rem rgba(215, 45, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 45, 59, 0);
    }
}

.watch-heading,
.stream-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.watch-heading {
    margin-bottom: 1.25rem;
}

.watch-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.watch-actions .button {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}

.watch-actions form {
    margin: 0;
}

.watch-heading h1 {
    font-size: clamp(1.3rem, 2.4vw, 1.95rem);
}

.watch-layout {
    width: min(1500px, calc(100vw - 2rem));
    margin-left: 50%;
    transform: translateX(-50%);
}

.watch-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.watch-content:fullscreen,
.watch-content:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    padding: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 1rem;
    align-items: center;
    background: var(--bg);
}

.watch-content:fullscreen .player-column,
.watch-content:-webkit-full-screen .player-column {
    min-height: 0;
}

.watch-content:fullscreen .player-frame,
.watch-content:-webkit-full-screen .player-frame {
    max-height: calc(100vh - 4rem);
}

.watch-content:fullscreen .chat-panel,
.watch-content:-webkit-full-screen .chat-panel {
    position: static;
    overflow-y: auto;
    max-height: calc(100vh - 2rem);
}

.player-column {
    min-width: 0;
}

.player-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: min(68vh, 760px);
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: #000;
    box-shadow: var(--shadow);
}

#stream-player {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.72);
    text-align: center;
}

.player-overlay[hidden] {
    display: none;
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.stream-meta {
    padding-block: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.chat-panel {
    position: sticky;
    top: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.chat-panel h2 {
    margin: 0.25rem 0 0.5rem;
    font-size: 1.35rem;
}

.chat-panel p {
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.chat-panel .form-control {
    width: 100%;
    padding-inline: 0.85rem;
    font-size: 0.9rem;
}

.chat-panel .form-control::placeholder {
    font-size: 0.9rem;
}

.chat-panel .chat-status {
    min-height: 1.25rem;
    margin: 0.6rem 0 0;
    font-size: 0.88rem;
}

.chat-panel .chat-status:empty {
    margin: 0;
    min-height: 0;
}

.viewer-list-panel {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.viewer-list-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.65rem;
}

.viewer-list-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.viewer-list-heading span {
    display: inline-flex;
    min-width: 1.7rem;
    min-height: 1.7rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.viewer-list {
    display: grid;
    gap: 0.45rem;
    max-height: 9.5rem;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.viewer-list li {
    overflow: hidden;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: #ffffff;
    color: var(--text);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.viewer-list .viewer-list-empty {
    color: var(--muted);
    font-style: italic;
}

.chat-status-success {
    color: #00744d;
}

.chat-status-error {
    color: var(--danger);
}

.chat-actions {
    display: grid;
    gap: 1rem;
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.chat-actions .button {
    width: 100%;
}

.chat-actions .button:disabled {
    cursor: wait;
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
    .watch-content {
        grid-template-columns: 1fr;
    }

    .chat-panel {
        position: static;
    }

    .watch-content:fullscreen,
    .watch-content:-webkit-full-screen {
        overflow-y: auto;
        grid-template-columns: 1fr;
        align-content: start;
    }
}

@media (max-width: 640px) {
    .dashboard-hero {
        flex-direction: column;
    }

    .dashboard-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .watch-heading,
    .stream-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .watch-actions,
    .watch-heading form,
    .watch-heading .button {
        width: 100%;
    }

    .watch-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .brand {
        align-items: flex-start;
        font-size: 1rem;
    }

    .site-nav,
    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .conference-link {
        padding-left: 0;
    }

    .viewer-hero {
        grid-template-columns: 1fr;
        padding-block: 2.5rem 3.5rem;
    }

    .viewer-hero-copy h1 {
        font-size: clamp(2.4rem, 13vw, 3.6rem);
    }

    .broadcast-visual {
        padding-left: 0;
    }

    .broadcast-screen {
        min-height: 13rem;
    }

    .broadcast-caption {
        align-items: flex-start;
        flex-direction: column;
    }

    .broadcast-secure-card {
        right: 0.75rem;
    }

    .viewer-step-grid,
    .viewer-guidance {
        grid-template-columns: 1fr;
    }

    .viewer-section-heading > p {
        text-align: left;
    }
}

@media (min-width: 641px) and (max-width: 960px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-open-card {
        grid-column: 1 / -1;
    }

    .viewer-hero {
        grid-template-columns: 1fr;
    }

    .broadcast-visual {
        width: min(100%, 38rem);
        margin-inline: auto;
    }
}
