/* SavvyGreat Broadcast sections, categories, details and management — Material 3 */
body[data-sgcv-controller="Broadcast"] .sgcv-m3-main {
    position: relative;
    top: auto !important;
    margin-top: 0 !important;
    padding-top: var(--sgcv-context-offset, clamp(104px, 7.6vw, 138px)) !important;
    transform: none !important;
}

body[data-sgcv-controller="Broadcast"] .sgcv-m3-page {
    width: 100%;
    max-width: none;
    padding: 0 clamp(12px, 2vw, 30px) clamp(48px, 6vw, 90px) !important;
}

.sgbv-page,
.sgbc-page,
.sgbd-page,
.sgbf-page,
.sgbv-page *,
.sgbc-page *,
.sgbd-page *,
.sgbf-page *,
.sgbv-page *::before,
.sgbc-page *::before,
.sgbd-page *::before,
.sgbf-page *::before,
.sgbv-page *::after,
.sgbc-page *::after,
.sgbd-page *::after,
.sgbf-page *::after {
    box-sizing: border-box;
}

.sgbv-page,
.sgbc-page,
.sgbd-page,
.sgbf-page {
    --sgbv-primary: var(--md-sys-color-primary, #6750a4);
    --sgbv-on-primary: var(--md-sys-color-on-primary, #fff);
    --sgbv-primary-container: var(--md-sys-color-primary-container, #eaddff);
    --sgbv-on-primary-container: var(--md-sys-color-on-primary-container, #21005d);
    --sgbv-secondary-container: var(--md-sys-color-secondary-container, #e8def8);
    --sgbv-on-secondary-container: var(--md-sys-color-on-secondary-container, #1d192b);
    --sgbv-tertiary-container: var(--md-sys-color-tertiary-container, #ffd8e4);
    --sgbv-on-tertiary-container: var(--md-sys-color-on-tertiary-container, #31111d);
    --sgbv-surface: var(--md-sys-color-surface, #fffbfe);
    --sgbv-surface-low: var(--md-sys-color-surface-container-low, #f7f2fa);
    --sgbv-surface-container: var(--md-sys-color-surface-container, #f3edf7);
    --sgbv-surface-high: var(--md-sys-color-surface-container-high, #ece6f0);
    --sgbv-on-surface: var(--md-sys-color-on-surface, #1d1b20);
    --sgbv-on-surface-variant: var(--md-sys-color-on-surface-variant, #49454f);
    --sgbv-outline: var(--md-sys-color-outline, #79747e);
    --sgbv-outline-variant: var(--md-sys-color-outline-variant, #cac4d0);
    --sgbv-error: var(--md-sys-color-error, #b3261e);
    --sgbv-error-container: var(--md-sys-color-error-container, #f9dedc);
    --sgbv-on-error-container: var(--md-sys-color-on-error-container, #410e0b);
    width: min(100%, 1580px);
    margin-inline: auto;
    color: var(--sgbv-on-surface);
    font-family: var(--m3-font-plain, "Google Sans Text", "Segoe UI", sans-serif);
}

.sgbv-page [hidden],
.sgbc-page [hidden],
.sgbd-page [hidden],
.sgbf-page [hidden] { display: none !important; }

.sgbv-page a,
.sgbc-page a,
.sgbd-page a,
.sgbf-page a { color: inherit; text-decoration: none; }

.sgbv-page button,
.sgbc-page button,
.sgbd-page button,
.sgbf-page button,
.sgbv-page input,
.sgbc-page input,
.sgbd-page input,
.sgbf-page input,
.sgbv-page textarea,
.sgbd-page textarea,
.sgbf-page textarea,
.sgbv-page select,
.sgbf-page select { font: inherit; }

.sgbv-page button:focus-visible,
.sgbc-page button:focus-visible,
.sgbd-page button:focus-visible,
.sgbf-page button:focus-visible,
.sgbv-page a:focus-visible,
.sgbc-page a:focus-visible,
.sgbd-page a:focus-visible,
.sgbf-page a:focus-visible,
.sgbv-page input:focus-visible,
.sgbc-page input:focus-visible,
.sgbd-page input:focus-visible,
.sgbf-page input:focus-visible,
.sgbv-page textarea:focus-visible,
.sgbd-page textarea:focus-visible,
.sgbf-page textarea:focus-visible,
.sgbv-page select:focus-visible,
.sgbf-page select:focus-visible {
    outline: 3px solid var(--sgbv-primary);
    outline-offset: 3px;
}

.sgbv-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sgbv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sgbv-primary);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .085em;
    line-height: 18px;
    text-transform: uppercase;
}

.sgbv-eyebrow .material-symbols-rounded {
    font-size: 19px;
    font-variation-settings: "FILL" 1, "wght" 650, "GRAD" 0, "opsz" 20;
}

.sgbv-filled-button,
.sgbv-tonal-button,
.sgbv-text-button,
.sgbv-danger-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 720;
    line-height: 20px;
    transition: box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.sgbv-filled-button { background: var(--sgbv-primary); color: var(--sgbv-on-primary) !important; }
.sgbv-tonal-button { background: var(--sgbv-secondary-container); color: var(--sgbv-on-secondary-container) !important; }
.sgbv-text-button { background: transparent; color: var(--sgbv-primary) !important; }
.sgbv-danger-button { background: var(--sgbv-error-container); color: var(--sgbv-on-error-container) !important; }
.sgbv-filled-button:hover,
.sgbv-tonal-button:hover,
.sgbv-danger-button:hover { box-shadow: 0 3px 8px rgba(0,0,0,.17); transform: translateY(-1px); }
.sgbv-text-button:hover { background: color-mix(in srgb, var(--sgbv-primary) 9%, transparent); }
.sgbv-filled-button .material-symbols-rounded,
.sgbv-tonal-button .material-symbols-rounded,
.sgbv-text-button .material-symbols-rounded,
.sgbv-danger-button .material-symbols-rounded { font-size: 20px; }

.sgbv-hero,
.sgbc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    gap: clamp(26px, 4vw, 68px);
    align-items: center;
    min-height: clamp(260px, 23vw, 370px);
    padding: clamp(28px, 4vw, 62px);
    overflow: hidden;
    border: 1px solid var(--sgbv-outline-variant);
    border-radius: clamp(28px, 3vw, 46px);
    background:
        radial-gradient(circle at 91% 8%, rgba(234,221,255,.95) 0 18%, transparent 18.5%),
        radial-gradient(circle at 74% 105%, rgba(255,216,228,.78) 0 25%, transparent 25.5%),
        linear-gradient(135deg, var(--sgbv-surface-low), var(--sgbv-surface-container));
    box-shadow: 0 2px 7px rgba(0,0,0,.09);
}

.sgbv-hero h1,
.sgbc-hero h1,
.sgbf-head h1 {
    max-width: 20ch;
    margin: 11px 0 15px;
    font-family: var(--m3-font-brand, "Google Sans", "Segoe UI", sans-serif);
    font-size: clamp(36px, 4.25vw, 66px);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: 1.01;
    text-wrap: balance;
}

.sgbv-hero p,
.sgbc-hero p,
.sgbf-head p {
    max-width: 72ch;
    margin: 0;
    color: var(--sgbv-on-surface-variant);
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.62;
}

.sgbv-hero-actions,
.sgbc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sgbv-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sgbv-hero-stats > div {
    display: grid;
    min-height: 112px;
    align-content: center;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(121,116,126,.28);
    border-radius: 25px;
    background: color-mix(in srgb, var(--sgbv-surface) 86%, transparent);
    backdrop-filter: blur(8px);
}

.sgbv-hero-stats strong {
    font-family: var(--m3-font-brand, "Google Sans", sans-serif);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 620;
    line-height: 1;
}

.sgbv-hero-stats span { color: var(--sgbv-on-surface-variant); font-size: 13px; font-weight: 670; }

.sgbv-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0 0;
    padding: 14px 17px;
    border-radius: 18px;
    font-weight: 650;
}
.sgbv-notice.is-success { background: #d9f7df; color: #0d4d1b; }
.sgbv-notice.is-error { background: var(--sgbv-error-container); color: var(--sgbv-on-error-container); }
.sgbv-notice .material-symbols-rounded { font-size: 22px; }

.sgbv-discovery,
.sgbv-section,
.sgbv-save-panel,
.sgbd-discussion,
.sgbd-related,
.sgbf-layout,
.sgbf-delete-card {
    margin-top: clamp(26px, 3.5vw, 52px);
}

.sgbv-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.sgbv-section-head h2,
.sgbv-save-copy h2,
.sgbd-discussion h2,
.sgbf-admin-panel h2 {
    margin: 5px 0 0;
    font-family: var(--m3-font-brand, "Google Sans", "Segoe UI", sans-serif);
    font-size: clamp(25px, 2.7vw, 38px);
    font-weight: 630;
    letter-spacing: -.028em;
    line-height: 1.1;
}

.sgbv-section-head p,
.sgbv-save-copy p,
.sgbf-admin-panel p {
    max-width: 70ch;
    margin: 8px 0 0;
    color: var(--sgbv-on-surface-variant);
    line-height: 1.55;
}

.sgbv-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--sgbv-outline-variant);
    border-radius: 27px;
    background: var(--sgbv-surface-low);
}

.sgbv-toolbar > p { flex: 0 0 auto; margin: 0 10px 0 auto; color: var(--sgbv-on-surface-variant); font-size: 13px; font-weight: 650; }

.sgbv-search-field {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 42px;
    align-items: center;
    flex: 1 1 620px;
    min-width: 0;
    min-height: 54px;
    padding-left: 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--sgbv-surface);
    box-shadow: inset 0 0 0 1px var(--sgbv-outline-variant);
}

.sgbv-search-field:focus-within { box-shadow: inset 0 0 0 2px var(--sgbv-primary); }
.sgbv-search-field > .material-symbols-rounded { color: var(--sgbv-on-surface-variant); font-size: 22px; }
.sgbv-search-field input {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--sgbv-on-surface) !important;
    font-size: 16px !important;
    transform: none !important;
}
.sgbv-search-field input:focus { outline: 0 !important; box-shadow: none !important; }
.sgbv-search-field button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sgbv-on-surface-variant);
    cursor: pointer;
}
.sgbv-search-field button:hover { background: var(--sgbv-surface-high); }

.sgbv-view-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 4px;
    border-radius: 999px;
    background: var(--sgbv-surface-high);
}
.sgbv-view-toggle button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sgbv-on-surface-variant);
    cursor: pointer;
}
.sgbv-view-toggle button[aria-pressed="true"] { background: var(--sgbv-primary-container); color: var(--sgbv-on-primary-container); }

.sgbv-grid,
.sgbc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(15px, 2vw, 26px);
}

.sgbv-grid[data-view="list"],
.sgbc-grid[data-view="list"] { grid-template-columns: 1fr; }

.sgbv-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sgbv-outline-variant);
    border-radius: 26px;
    background: var(--sgbv-surface);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: transform 170ms ease, box-shadow 170ms ease;
}
.sgbv-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }

.sgbv-card-media {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #141218;
    cursor: pointer;
}
.sgbv-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.sgbv-card:hover .sgbv-card-media img { transform: scale(1.025); }
.sgbv-media-placeholder { color: #fff; font-size: 62px; opacity: .8; }
.sgbv-provider {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(20,18,24,.78);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    backdrop-filter: blur(8px);
}
.sgbv-play {
    position: absolute;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #21005d;
    font-size: 35px;
    box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.sgbv-card-body { display: grid; align-content: start; padding: 20px; }
.sgbv-card-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; color: var(--sgbv-on-surface-variant); font-size: 12px; font-weight: 650; }
.sgbv-card-meta span:not(:only-child)::after { content: "·"; margin-left: 12px; }
.sgbv-card h3 { margin: 10px 0 8px; font-family: var(--m3-font-brand, "Google Sans", sans-serif); font-size: clamp(18px, 1.5vw, 23px); line-height: 1.22; }
.sgbv-card h3 a:hover { color: var(--sgbv-primary); }
.sgbv-card-body > p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--sgbv-on-surface-variant); line-height: 1.52; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.sgbv-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sgbv-card-actions .sgbv-tonal-button,
.sgbv-card-actions .sgbv-text-button { min-height: 38px; padding: 7px 13px; }

.sgbv-grid[data-view="list"] .sgbv-card,
.sgbc-grid[data-view="list"] .sgbv-card { grid-template-columns: minmax(260px, 36%) minmax(0, 1fr); }
.sgbv-grid[data-view="list"] .sgbv-card-media,
.sgbc-grid[data-view="list"] .sgbv-card-media { height: 100%; aspect-ratio: auto; min-height: 220px; }

.sgbv-inline-empty,
.sgbv-empty {
    padding: clamp(25px, 4vw, 52px);
    border: 1px dashed var(--sgbv-outline);
    border-radius: 26px;
    background: var(--sgbv-surface-low);
    color: var(--sgbv-on-surface-variant);
    text-align: center;
}
.sgbv-empty { display: grid; justify-items: center; gap: 8px; margin-top: 22px; }
.sgbv-empty > .material-symbols-rounded { color: var(--sgbv-primary); font-size: 54px; }
.sgbv-empty h1,
.sgbv-empty h2 { margin: 3px 0; color: var(--sgbv-on-surface); }
.sgbv-empty p { margin: 0 0 12px; }

.sgbv-save-panel {
    display: grid;
    grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
    gap: clamp(24px, 4vw, 58px);
    padding: clamp(24px, 4vw, 52px);
    border-radius: 34px;
    background: var(--sgbv-surface-container);
}
.sgbv-save-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}
.sgbv-field { display: grid; align-content: start; gap: 7px; min-width: 0; color: var(--sgbv-on-surface); font-weight: 680; }
.sgbv-field-wide { grid-column: 1 / -1; }
.sgbv-field > span:first-child { font-size: 13px; }
.sgbv-field input:not([type="range"]):not([type="file"]),
.sgbv-field select,
.sgbv-field textarea {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 13px 15px !important;
    border: 1px solid var(--sgbv-outline) !important;
    border-radius: 14px !important;
    background: var(--sgbv-surface) !important;
    box-shadow: none !important;
    color: var(--sgbv-on-surface) !important;
    transform: none !important;
}
.sgbv-field input:not([type="range"]):not([type="file"]),
.sgbv-field select { min-height: 50px !important; }
.sgbv-field textarea { min-height: 112px; resize: vertical; }
.sgbv-field input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--sgbv-outline); border-radius: 14px; background: var(--sgbv-surface); }
.sgbv-field small { color: var(--sgbv-on-surface-variant); font-size: 12px; font-weight: 500; line-height: 1.45; }
.sgbv-field .field-validation-error { color: var(--sgbv-error); font-size: 12px; }
.sgbv-readonly-field { padding: 12px 15px; border: 1px solid var(--sgbv-outline-variant); border-radius: 14px; background: var(--sgbv-surface-low); }
.sgbv-url-preview { display: flex; align-items: center; gap: 9px; padding: 12px 15px; overflow: hidden; border-radius: 14px; background: var(--sgbv-primary-container); color: var(--sgbv-on-primary-container); }
.sgbv-url-preview code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgbv-form-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }

.sgbv-login-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 19px;
    border: 1px solid var(--sgbv-outline-variant);
    border-radius: 23px;
    background: var(--sgbv-surface);
}
.sgbv-login-card > .material-symbols-rounded { color: var(--sgbv-primary); font-size: 34px; }
.sgbv-login-card > div { flex: 1; min-width: 0; }
.sgbv-login-card h3 { margin: 0 0 4px; }
.sgbv-login-card p { margin: 0; color: var(--sgbv-on-surface-variant); }

.sgbv-validation {
    margin: 18px 0;
    padding: 15px 18px;
    border-radius: 18px;
    background: var(--sgbv-error-container);
    color: var(--sgbv-on-error-container);
}
.sgbv-validation:empty { display: none; }
.sgbv-validation ul { margin: 0; padding-left: 20px; }

.sgbc-hero { grid-template-columns: minmax(0, 1fr) auto; }
.sgbc-hero-actions { max-width: 360px; justify-content: flex-end; }
.sgbc-chips { display: flex; gap: 8px; margin: 18px 0; padding: 6px 2px 8px; overflow-x: auto; scrollbar-width: thin; }
.sgbc-chips a { display: inline-flex; flex: 0 0 auto; min-height: 39px; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--sgbv-outline); border-radius: 999px; color: var(--sgbv-on-surface-variant); font-size: 13px; font-weight: 700; }
.sgbc-chips a:hover,
.sgbc-chips a.is-active { border-color: transparent; background: var(--sgbv-secondary-container); color: var(--sgbv-on-secondary-container); }
.sgbc-chips a span { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: var(--sgbv-surface); font-size: 11px; }
.sgbc-summary { margin: 0 0 14px; color: var(--sgbv-on-surface-variant); font-size: 13px; font-weight: 650; }

.sgbv-dialog {
    width: min(94vw, 1040px);
    max-width: 1040px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 30px;
    background: var(--sgbv-surface);
    color: var(--sgbv-on-surface);
    box-shadow: 0 22px 70px rgba(0,0,0,.35);
}
.sgbv-dialog::backdrop { background: rgba(20,18,24,.72); backdrop-filter: blur(3px); }
.sgbv-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 21px; }
.sgbv-dialog-head h2 { margin: 3px 0 0; font-size: clamp(20px, 2vw, 28px); }
.sgbv-dialog-head button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: var(--sgbv-surface-high); color: inherit; cursor: pointer; }
.sgbv-frame-wrap { aspect-ratio: 16 / 9; background: #000; }
.sgbv-frame-wrap iframe { width: 100%; height: 100%; border: 0; }

.sgbd-local-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; color: var(--sgbv-on-surface-variant); font-size: 13px; font-weight: 650; }
.sgbd-local-nav a { display: inline-flex; align-items: center; gap: 5px; }
.sgbd-local-nav a:hover { color: var(--sgbv-primary); }
.sgbd-local-nav .material-symbols-rounded { font-size: 18px; }
.sgbd-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(22px, 3vw, 42px); align-items: start; }
.sgbd-main { min-width: 0; }
.sgbd-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(22px, 2.4vw, 34px); background: #000; box-shadow: 0 8px 28px rgba(0,0,0,.19); }
.sgbd-player iframe { width: 100%; height: 100%; border: 0; }
.sgbd-header { padding: clamp(20px, 3vw, 34px) clamp(4px, 1vw, 12px); }
.sgbd-labels { display: flex; flex-wrap: wrap; gap: 8px; }
.sgbd-labels span { padding: 6px 11px; border-radius: 999px; background: var(--sgbv-secondary-container); color: var(--sgbv-on-secondary-container); font-size: 12px; font-weight: 720; }
.sgbd-labels span.is-admin { background: var(--sgbv-tertiary-container); color: var(--sgbv-on-tertiary-container); }
.sgbd-header h1 { max-width: 28ch; margin: 14px 0 12px; font-family: var(--m3-font-brand, "Google Sans", sans-serif); font-size: clamp(30px, 4vw, 58px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.sgbd-byline { display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--sgbv-on-surface-variant); font-size: 13px; font-weight: 620; }
.sgbd-byline span,
.sgbd-byline time { display: inline-flex; align-items: center; gap: 5px; }
.sgbd-byline .material-symbols-rounded { color: var(--sgbv-primary); font-size: 19px; }
.sgbd-description { margin: 22px 0 0; color: var(--sgbv-on-surface-variant); font-size: 16px; line-height: 1.72; white-space: pre-line; }
.sgbd-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.sgbd-side { position: sticky; top: calc(var(--sgcv-context-offset, 108px) + 18px); display: grid; gap: 14px; padding: 22px; border: 1px solid var(--sgbv-outline-variant); border-radius: 27px; background: var(--sgbv-surface-low); }
.sgbd-side dl { display: grid; gap: 0; margin: 13px 0 0; }
.sgbd-side dl div { display: grid; grid-template-columns: minmax(90px, .75fr) minmax(0, 1.25fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--sgbv-outline-variant); }
.sgbd-side dl div:last-child { border-bottom: 0; }
.sgbd-side dt { color: var(--sgbv-on-surface-variant); font-size: 12px; font-weight: 650; }
.sgbd-side dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; text-align: right; }
.sgbd-side-link { width: 100%; }
.sgbd-discussion { padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: var(--sgbv-surface-low); }
.sgbd-rating-summary { display: grid; justify-items: end; }
.sgbd-rating-summary strong { color: var(--sgbv-primary); font-size: 34px; line-height: 1; }
.sgbd-rating-summary span { color: var(--sgbv-on-surface-variant); font-size: 12px; }
.sgbd-comment-form { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, .65fr); gap: 16px; align-items: end; margin: 20px 0 30px; padding: 20px; border: 1px solid var(--sgbv-outline-variant); border-radius: 23px; background: var(--sgbv-surface); }
.sgbd-comment-form > button { justify-self: start; }
.sgbd-comment-form input[type="range"] { width: 100%; accent-color: var(--sgbv-primary); }
.sgbd-comments { display: grid; gap: 14px; }
.sgbd-comment { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; padding: 17px; border: 1px solid var(--sgbv-outline-variant); border-radius: 21px; background: var(--sgbv-surface); }
.sgbd-comment-avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--sgbv-primary-container); color: var(--sgbv-on-primary-container); font-weight: 800; }
.sgbd-comment header { display: flex; justify-content: space-between; gap: 12px; }
.sgbd-comment time { color: var(--sgbv-on-surface-variant); font-size: 11px; }
.sgbd-comment-rating { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; color: #805600; font-weight: 760; }
.sgbd-comment-rating .material-symbols-rounded { font-size: 18px; font-variation-settings: "FILL" 1; }
.sgbd-comment p { margin: 7px 0 0; color: var(--sgbv-on-surface-variant); line-height: 1.55; white-space: pre-line; }
.sgbv-snackbar { position: fixed; z-index: 1200; right: 22px; bottom: 22px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 14px; background: #322f35; color: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.28); font-weight: 650; }

.sgbf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: clamp(25px, 3vw, 44px); border-radius: 32px; background: var(--sgbv-surface-container); }
.sgbf-head h1 { font-size: clamp(34px, 4vw, 58px); }
.sgbf-layout { display: grid; grid-template-columns: minmax(280px, .55fr) minmax(0, 1.45fr); gap: clamp(22px, 3.5vw, 50px); align-items: start; }
.sgbf-preview { position: sticky; top: calc(var(--sgcv-context-offset, 108px) + 18px); display: grid; gap: 17px; }
.sgbf-preview dl,
.sgbf-delete-copy dl { display: grid; gap: 0; margin: 0; padding: 15px 18px; border: 1px solid var(--sgbv-outline-variant); border-radius: 20px; background: var(--sgbv-surface-low); }
.sgbf-preview dl div,
.sgbf-delete-copy dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sgbv-outline-variant); }
.sgbf-preview dl div:last-child,
.sgbf-delete-copy dl div:last-child { border-bottom: 0; }
.sgbf-preview dt,
.sgbf-delete-copy dt { color: var(--sgbv-on-surface-variant); font-size: 12px; }
.sgbf-preview dd,
.sgbf-delete-copy dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; text-align: right; }
.sgbf-form { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--sgbv-outline-variant); border-radius: 28px; background: var(--sgbv-surface-low); }
.sgbf-admin-panel { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, .4fr)); gap: 16px; align-items: end; padding: 19px; border-radius: 21px; background: var(--sgbv-tertiary-container); color: var(--sgbv-on-tertiary-container); }
.sgbf-admin-panel h2 { font-size: 23px; }
.sgbf-delete-card { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 54px); align-items: center; padding: clamp(22px, 3.5vw, 48px); border: 1px solid var(--sgbv-outline-variant); border-radius: 34px; background: var(--sgbv-surface-low); }
.sgbf-delete-copy h2 { margin: 7px 0 10px; font-size: clamp(27px, 3vw, 43px); line-height: 1.08; }
.sgbf-delete-copy > p { color: var(--sgbv-on-surface-variant); line-height: 1.6; }
.sgbf-delete-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

@media (max-width: 1100px) {
    .sgbv-grid,
    .sgbc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sgbv-save-panel { grid-template-columns: 1fr; }
    .sgbd-layout { grid-template-columns: 1fr; }
    .sgbd-side { position: static; grid-template-columns: 1fr auto; align-items: center; }
    .sgbd-side section { min-width: 0; }
    .sgbd-side-link { width: auto; }
    .sgbf-layout { grid-template-columns: 1fr; }
    .sgbf-preview { position: static; grid-template-columns: minmax(260px, 1fr) minmax(220px, .55fr); align-items: center; }
}

@media (max-width: 760px) {
    body[data-sgcv-controller="Broadcast"] .sgcv-m3-page { padding-inline: 10px !important; }
    .sgbv-hero,
    .sgbc-hero { grid-template-columns: 1fr; min-height: 0; padding: 25px 20px; border-radius: 27px; }
    .sgbv-hero h1,
    .sgbc-hero h1 { font-size: clamp(34px, 11vw, 48px); }
    .sgbc-hero-actions { max-width: none; justify-content: flex-start; }
    .sgbv-hero-stats { grid-template-columns: repeat(4, minmax(110px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
    .sgbv-hero-stats > div { min-height: 90px; }
    .sgbv-section-head { align-items: flex-start; flex-direction: column; }
    .sgbv-toolbar { align-items: stretch; flex-direction: column; border-radius: 22px; }
    .sgbv-toolbar > p { margin: 0 9px 5px; }
    .sgbv-view-toggle { align-self: flex-end; }
    .sgbv-grid,
    .sgbc-grid { grid-template-columns: 1fr; }
    .sgbv-grid[data-view="list"] .sgbv-card,
    .sgbc-grid[data-view="list"] .sgbv-card { grid-template-columns: 1fr; }
    .sgbv-grid[data-view="list"] .sgbv-card-media,
    .sgbc-grid[data-view="list"] .sgbv-card-media { min-height: 0; aspect-ratio: 16 / 9; }
    .sgbv-save-form { grid-template-columns: 1fr; }
    .sgbv-field-wide { grid-column: auto; }
    .sgbv-login-card { align-items: flex-start; flex-wrap: wrap; }
    .sgbv-login-card .sgbv-filled-button { width: 100%; }
    .sgbv-dialog { width: 100vw; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; }
    .sgbd-header h1 { font-size: clamp(31px, 10vw, 47px); }
    .sgbd-side { display: grid; grid-template-columns: 1fr; }
    .sgbd-side-link { width: 100%; }
    .sgbd-comment-form { grid-template-columns: 1fr; }
    .sgbd-comment header { flex-direction: column; gap: 3px; }
    .sgbf-head { flex-direction: column; }
    .sgbf-preview { grid-template-columns: 1fr; }
    .sgbf-admin-panel { grid-template-columns: 1fr; }
    .sgbf-delete-card { grid-template-columns: 1fr; padding: 18px; border-radius: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .sgbv-page *, .sgbc-page *, .sgbd-page *, .sgbf-page * {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .sgbv-card,
    .sgbv-hero,
    .sgbc-hero,
    .sgbv-toolbar,
    .sgbv-save-panel,
    .sgbd-side,
    .sgbd-discussion,
    .sgbf-form,
    .sgbf-delete-card { border: 1px solid CanvasText; }
    .sgbv-filled-button,
    .sgbv-tonal-button,
    .sgbv-danger-button { border: 1px solid ButtonText; }
}
