/* ==========================================================================
   Dlacks public site. Dark base, powderblue primary, warm gold accent.
   Every rule is scoped under body.site so it won't fight legacy pages.
   ========================================================================== */

/* Always keep room for the scrollbar, so the header and page don't shift sideways between short pages
   (Family, Discussions) and long ones (Home, Library) */
html:has(body.site) {
    scrollbar-gutter: stable;
}

body.site {
    --bg: #07090b;
    --card: #121920;
    --card-2: #0c1116;
    --line: #213039;
    --text: #e9f6fa;
    --soft: #c7dde4;
    --muted: #8fa3b0;
    --blue: #b0e0e6;
    --blue-2: #5cc3dc;
    --gold: #f5c86b;
    --danger: #ff7a7a;
    --ok: #7ee0a8;
    --radius: 16px;

    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(176, 224, 230, 0.16), transparent 60%),
        radial-gradient(700px 400px at 100% 0%, rgba(92, 195, 220, 0.10), transparent 55%),
        var(--bg);
}

body.site *,
body.site *::before,
body.site *::after {
    box-sizing: border-box;
}

body.site a {
    color: var(--blue);
    text-decoration: none;
}

body.site :focus-visible {
    outline: 2px solid var(--blue-2);
    outline-offset: 2px;
}

body.site h1,
body.site h2,
body.site h3 {
    margin: 0;
    color: #fff;
    line-height: 1.2;
}

body.site img {
    display: block;
}

body.site main {
    flex: 1;
}

/* Header ------------------------------------------------------------------ */

body.site .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 9, 11, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

body.site .site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

body.site .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

body.site .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 19px;
    color: #04171d;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

body.site .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

body.site .brand-name {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.04em;
    color: #fff;
}

body.site .brand-sub {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Toll-free number next to the logo; just the phone icon on very narrow screens */
body.site .header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: auto;
    padding: 6px 12px;
    border: 1px solid rgba(245, 200, 107, 0.4);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.site .header-phone:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(245, 200, 107, 0.10);
}

body.site .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

body.site .nav-link {
    display: inline-block;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--soft);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

body.site .nav-link:hover,
body.site .nav-link.is-active {
    color: #04171d;
    background: var(--blue);
}

body.site .nav-login {
    color: #04171d;
    background: var(--blue);
    font-weight: 700;
}

body.site .nav-login:hover {
    background: var(--blue-2);
}

body.site .nav-logout {
    color: var(--muted);
}

body.site .nav-admin {
    color: var(--gold);
}

body.site .nav-avatar {
    margin: 0 6px 0 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--blue);
}

body.site .nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.site .nav-dropdown {
    position: relative;
}

body.site .nav-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 210px;
    padding: 6px;
    margin-top: 6px;
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

body.site .nav-drop-menu--tall {
    max-height: 70vh;
    overflow-y: auto;
}

body.site .nav-drop-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--soft);
}

body.site .nav-drop-menu a:hover {
    background: rgba(176, 224, 230, 0.12);
    color: #fff;
}

body.site .nav-dropdown:hover .nav-drop-menu,
body.site .nav-dropdown:focus-within .nav-drop-menu {
    display: block;
}

body.site .nav-toggle {
    display: none;
}

body.site .nav-burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    cursor: pointer;
    position: relative;
}

body.site .nav-burger span,
body.site .nav-burger::before,
body.site .nav-burger::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.site .nav-burger::before { top: 13px; }
body.site .nav-burger span { top: 20px; }
body.site .nav-burger::after { top: 27px; }

/* Layout helpers ---------------------------------------------------------- */

body.site .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body.site .site-main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px 56px;
}

body.site .section {
    margin-top: 38px;
}

body.site .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body.site .section-head h2 {
    font-size: 21px;
}

body.site .section-link {
    font-size: 14px;
    color: var(--blue-2);
}

body.site .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

body.site .muted {
    color: var(--muted);
}

/* Buttons ----------------------------------------------------------------- */

body.site .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    color: #04171d;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 8px 22px rgba(92, 195, 220, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.site .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(92, 195, 220, 0.35);
    color: #04171d;
}

body.site .btn--ghost {
    color: var(--blue);
    background: transparent;
    border: 1px solid var(--line);
    box-shadow: none;
}

body.site .btn--ghost:hover {
    color: var(--blue);
    border-color: var(--blue);
    box-shadow: none;
}

body.site .btn--gold {
    background: linear-gradient(135deg, #ffd98a, var(--gold));
}

body.site .btn--block {
    width: 100%;
}

body.site .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Cards and badges -------------------------------------------------------- */

body.site .card {
    background: linear-gradient(180deg, var(--card), var(--card-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

body.site .pill {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #04171d;
    background: var(--blue);
}

body.site .pill--gold {
    background: var(--gold);
    color: #1b1404;
}

body.site .empty {
    padding: 26px 18px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

body.site .alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
}

body.site .alert.is-error {
    color: var(--danger);
    border-color: rgba(255, 122, 122, 0.4);
    background: rgba(255, 122, 122, 0.08);
}

body.site .crumbs {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

body.site .crumbs a {
    color: var(--blue-2);
}

/* Poster tiles and rails -------------------------------------------------- */

body.site .rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

body.site .rail > * {
    flex: 0 0 170px;
    scroll-snap-align: start;
}

body.site .poster-card {
    display: block;
    color: var(--text);
}

body.site .poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card-2);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.site .poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

body.site .poster-card:hover .poster-frame {
    transform: translateY(-4px);
    border-color: var(--blue-2);
    box-shadow: 0 14px 30px rgba(92, 195, 220, 0.2);
}

body.site .poster-card:hover .poster-frame img {
    transform: scale(1.04);
}

body.site .poster-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #1b1404;
    background: var(--gold);
}

body.site .poster-title {
    display: block;
    margin-top: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Welcome hero ------------------------------------------------------------ */

body.site .hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
    align-items: center;
    padding: 34px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card-2);
    min-height: 340px;
}

body.site .hero-backdrop {
    position: absolute;
    inset: -30px;
    z-index: 0;
}

body.site .hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(26px) brightness(0.45) saturate(1.1);
    transform: scale(1.1);
}

body.site .hero-body,
body.site .hero-poster {
    position: relative;
    z-index: 1;
}

body.site .hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    margin-bottom: 12px;
}

body.site .hero p {
    color: var(--soft);
    max-width: 60ch;
}

body.site .hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(176, 224, 230, 0.3);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

body.site .hero .btn-row {
    margin-top: 22px;
}

body.site .hero-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 10px;
}

body.site .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

body.site .stat {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
}

body.site .stat strong {
    display: block;
    font-size: 26px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

body.site .stat span {
    font-size: 13px;
    color: var(--muted);
}

/* Title detail and player ------------------------------------------------- */

body.site .detail {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

body.site .detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

body.site .detail-info h1 {
    font-size: clamp(24px, 3.4vw, 34px);
    margin: 12px 0 10px;
}

body.site .detail-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

body.site .detail-desc {
    margin: 14px 0 0;
    color: var(--soft);
}

body.site .detail-desc summary {
    cursor: pointer;
    color: var(--blue-2);
    font-weight: 600;
    list-style: none;
}

body.site .detail-desc summary::-webkit-details-marker {
    display: none;
}

body.site .detail-desc p {
    margin: 10px 0 0;
    white-space: pre-wrap;
}

body.site .avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.site .avatars img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

body.site .avatars img:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}

body.site .avatars--sm img {
    width: 44px;
    height: 44px;
}

body.site .player-frame {
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

body.site .player-frame video {
    display: block;
    width: 100%;
    max-height: 72vh;
    background: #000;
}

/* Mini clip played from a part of the main video: fades and the end screen */
body.site .player-frame.has-clip {
    position: relative;
}

body.site .clip-end {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    text-align: center;
}

body.site .clip-end[hidden] {
    display: none;
}

body.site .clip-end p {
    margin: 0;
    color: var(--soft);
}

body.site .player-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 12px;
}

body.site .player-meta h1 {
    font-size: clamp(22px, 3vw, 30px);
}

body.site .tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
    overflow-x: auto;
}

body.site .tab {
    padding: 10px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
}

body.site .tab[aria-selected="true"] {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

body.site .tab-panel[hidden] {
    display: none;
}

body.site .tab-panel p {
    color: var(--soft);
    white-space: pre-wrap;
}

body.site .group-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 18px 0 10px;
}

body.site .comment-preview {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

body.site .comment-preview li {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--card-2);
    border: 1px solid var(--line);
}

body.site .comment-preview img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

/* Audience tab: everyone who has looked at the event */
body.site .viewer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 16px 12px;
}

body.site .viewer-list li {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
    min-width: 0;
}

body.site .viewer-list img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--card-2);
}

body.site .viewer-list strong {
    max-width: 100%;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.site .viewer-list small {
    font-size: 12px;
}

body.site .comment-preview strong {
    color: #fff;
    font-size: 14px;
}

body.site .comment-preview time {
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
}

body.site .comment-preview p {
    margin: 4px 0 0;
    color: var(--soft);
    font-size: 14px;
    overflow-wrap: anywhere;
}

/* Login and index --------------------------------------------------------- */

body.site .index-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 34px;
    align-items: start;
    margin-top: 6px;
}

body.site .index-hero h1 {
    font-size: clamp(30px, 4.6vw, 50px);
    margin-bottom: 14px;
}

body.site .lead {
    font-size: 17px;
    color: var(--soft);
    max-width: 58ch;
}

body.site .hero-visual {
    margin-top: 26px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    max-width: 560px;
}

body.site .hero-visual img {
    width: 100%;
    height: auto;
}

body.site .login-card {
    padding: 26px;
}

body.site .login-card h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

body.site .login-card > p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 18px;
}

body.site .field {
    margin-bottom: 14px;
}

body.site .field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--soft);
    margin-bottom: 6px;
}

body.site .field input {
    width: 100%;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--card-2);
    color: var(--text);
    font: inherit;
}

body.site .field input:focus {
    outline: none;
    border-color: var(--blue-2);
    box-shadow: 0 0 0 3px rgba(92, 195, 220, 0.18);
}

body.site .field.has-error input {
    border-color: var(--danger);
}

body.site .field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger);
}

body.site .login-foot {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

body.site .band {
    margin-top: 48px;
    padding: 26px;
}

body.site .services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

body.site .service {
    padding: 18px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

body.site .service:hover {
    transform: translateY(-3px);
    border-color: var(--blue-2);
}

body.site .service img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

body.site .service h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

body.site .service p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

body.site .price {
    font-weight: 800;
    color: var(--gold);
    font-size: 18px;
}

body.site .service .service-tier {
    margin-top: 2px;
    font-size: 13px;
    color: var(--soft);
}

/* Home page: what a local service gives you, right under the prices */
body.site .local-why {
    margin-top: 18px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--blue-2);
}

body.site .local-why h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #fff;
}

body.site .local-why ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px 20px;
}

body.site .local-why li {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--muted);
    min-width: 0;
}

body.site .local-why strong {
    color: var(--gold);
    font-size: 15px;
}

body.site .steps {
    counter-reset: step;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

body.site .steps li {
    position: relative;
    padding: 20px 20px 20px 66px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--soft);
    font-size: 14px;
}

body.site .steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
    color: #04171d;
    background: var(--blue);
}

body.site .steps strong {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

body.site .addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

body.site .cta {
    margin-top: 48px;
    padding: 34px;
    text-align: center;
    border-radius: 22px;
    background:
        radial-gradient(500px 220px at 50% 0%, rgba(176, 224, 230, 0.18), transparent 70%),
        var(--card);
    border: 1px solid var(--line);
}

body.site .cta p {
    color: var(--soft);
    max-width: 56ch;
    margin: 10px auto 22px;
}

/* Footer ------------------------------------------------------------------ */

body.site .site-footer {
    border-top: 1px solid var(--line);
    background: rgba(7, 9, 11, 0.9);
}

body.site .site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

body.site .site-footer nav {
    display: flex;
    gap: 16px;
}

body.site .site-footer nav a {
    color: var(--blue-2);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 900px) {
    body.site .nav-burger {
        display: block;
    }

    body.site .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
        border-top: 1px solid var(--line);
    }

    body.site .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    body.site .nav-toggle:checked ~ .nav-burger span {
        opacity: 0;
    }

    body.site .nav-toggle:checked ~ .nav-burger::before {
        transform: translateY(7px) rotate(45deg);
    }

    body.site .nav-toggle:checked ~ .nav-burger::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    body.site .nav-link,
    body.site .nav-drop-btn {
        text-align: left;
        border-radius: 10px;
    }

    body.site .nav-dropdown {
        width: 100%;
    }

    body.site .nav-drop-menu {
        position: static;
        margin: 0 0 6px;
        box-shadow: none;
    }

    body.site .nav-avatar {
        margin: 6px 0;
    }

    body.site .index-hero,
    body.site .detail,
    body.site .hero {
        grid-template-columns: 1fr;
    }

    body.site .hero-poster {
        display: none;
    }

    body.site .detail-poster {
        max-width: 240px;
    }
}

@media (max-width: 560px) {
    body.site .site-main {
        padding: 16px 14px 44px;
    }

    body.site .site-header-inner {
        gap: 10px;
        padding: 10px 14px;
    }
}

/* Phones: drop the tagline under the logo so the toll-free number fits */
@media (max-width: 440px) {
    body.site .brand-sub {
        display: none;
    }

    body.site .header-phone {
        padding: 7px 11px;
        font-size: 13.5px;
    }
}

@media (max-width: 330px) {
    body.site .header-phone-num {
        display: none;
    }
}

@media (max-width: 560px) {

    body.site .hero {
        padding: 22px;
    }

    /* Two per row on phones so the videos aren't pushed far down */
    body.site .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.site .rail > * {
        flex-basis: 140px;
    }

    body.site .card,
    body.site .band {
        padding: 18px;
    }

    body.site .steps li {
        padding-left: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.site *,
    body.site *::before,
    body.site *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* File: site.css (enhancements appended) */
/* ==========================================================================
   Enhancements: keyboard-friendly dropdowns, focus rings, continue-watching
   progress bars, powder-blue and gold guest notice, mobile player polish.
   ========================================================================== */

/* Focus rings for keyboard users */
body.site a:focus-visible,
body.site button:focus-visible,
body.site select:focus-visible,
body.site input:focus-visible,
body.site textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Dropdowns open on click or keyboard (class toggled by site-enhance.js) */
body.site .nav-dropdown.is-open .nav-drop-menu {
    display: block;
}

/* Continue-watching progress bar on poster tiles */
body.site .poster-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.18);
}

body.site .poster-progress > span {
    display: block;
    height: 100%;
    width: var(--pct, 0%);
    background: linear-gradient(90deg, var(--gold), #ffd98a);
    box-shadow: 0 0 6px rgba(245, 200, 107, 0.6);
}

/* Guest notice: powder blue on black with gold accents */
body.site .guest-bar {
    background: linear-gradient(90deg, #0c1116, #14222b 50%, #0c1116);
    color: var(--soft);
    border-bottom: 2px solid var(--gold);
}

body.site .guest-bar strong {
    color: var(--gold);
}

body.site .guest-bar-close {
    color: var(--gold);
}

body.site .guest-bar-close:hover {
    background: rgba(245, 200, 107, 0.15);
}

/* Guest days-left badge */
body.site .guest-days {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 10px;
    border-radius: 999px;
    font-weight: 700;
    color: #1b1404;
    background: var(--gold);
}

/* Player: keep the video and controls usable on small screens */
@media (max-width: 560px) {
    body.site .player-frame video {
        max-height: 56vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.site .poster-progress > span {
        transition: none;
    }
}

/* Gold bubble on Discussions: how many discussions have comments you haven't read */
body.site .nav-talk {
    position: relative;
}

body.site .nav-bubble {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: #1b1404;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(245, 200, 107, 0.55);
    vertical-align: 1px;
    animation: nav-bubble-in 0.5s ease;
}

/* Powder blue: things waiting for you (Manage), next to the gold new-comments bubble */
body.site .nav-bubble--blue {
    color: #04171d;
    background: var(--blue);
    box-shadow: 0 0 10px rgba(176, 224, 230, 0.55);
}

body.site .nav-bubble[hidden] {
    display: none;
}

/* The bell (site-header.php, notif.js, notifications.php): always beside the menu button, also on phones */
body.site .nt-wrap {
    position: relative;
}

body.site .nt-bell {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--soft);
    transition: background 0.2s ease, color 0.2s ease;
}

body.site .nt-bell:hover,
body.site .nt-bell.is-active,
body.site .nt-bell[aria-expanded="true"] {
    color: #04171d;
    background: var(--blue);
}

body.site .nt-bell .nav-bubble {
    position: absolute;
    top: -2px;
    right: -6px;
    margin: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10.5px;
}

body.site .nt-panel {
    position: absolute;
    z-index: 60;
    top: 100%;
    right: 0;
    width: min(380px, calc(100vw - 24px));
    max-height: 70vh;
    overflow-y: auto;
    margin-top: 8px;
    padding: 6px;
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

body.site .nt-panel[hidden] {
    display: none;
}

body.site .nt-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

body.site .nt-panel-head a {
    color: var(--blue);
    font-size: 13px;
}

body.site .nt-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 10px;
    color: var(--soft);
    font-size: 14px;
    line-height: 1.4;
}

body.site .nt-item:hover {
    background: rgba(176, 224, 230, 0.1);
}

body.site .nt-item.is-new {
    background: rgba(245, 200, 107, 0.08);
}

body.site .nt-item.is-new .nt-text::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--gold);
    vertical-align: 1px;
}

body.site .nt-pic {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
}

body.site .nt-pic img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

body.site .nt-kind {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--card-2);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    color: #04171d;
    background: var(--blue);
}

body.site .nt-kind--react { background: #f08aa0; }
body.site .nt-kind--video { background: var(--gold); }

body.site .nt-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.site .nt-text { color: #fff; }

body.site .nt-quote {
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.site .nt-when {
    color: var(--muted);
    font-size: 12px;
}

body.site .nt-empty {
    padding: 14px 10px;
    color: var(--muted);
    font-size: 14px;
}

body.site .nt-page {
    max-width: 720px;
}

body.site .nt-list {
    margin-top: 18px;
    padding: 6px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
}

body.site .nt-page .nt-pic img { border: 0; }

@media (min-width: 901px) {
    body.site .nt-wrap { order: 3; }
}

/* Phones: with the bell there, the call button shows just its icon so the menu button stays on the same line */
@media (max-width: 560px) {
    body.site .nt-panel {
        position: fixed;
        top: 62px;
        left: 12px;
        right: 12px;
        width: auto;
    }
}

@media (max-width: 440px) {
    body.site .site-header-inner:has(.nt-wrap) .header-phone-num {
        display: none;
    }
}

@keyframes nav-bubble-in {
    0% { transform: scale(0.4); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Media protection (with media-guard.js): no dragging pictures out, no long-press save menu on phones */
body.site img,
body.site video {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

body.site .media-protected,
body.site .media-protected img {
    user-select: none;
    -webkit-user-select: none;
}

@media print {
    body.site .media-protected,
    body.site .poster-frame img,
    body.site .photo-grid img {
        visibility: hidden;
    }
}

/* Future Content (future-lib.php): the "coming soon" box with Notify me, on single.php */
body.site .fc-soon {
    margin: 14px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(245, 200, 107, 0.45);
    border-radius: 12px;
    background: rgba(245, 200, 107, 0.07);
}

body.site .fc-soon p {
    margin: 0 0 10px;
    color: var(--soft);
}

body.site .fc-soon form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

body.site .fc-soon-on {
    color: var(--gold);
    font-weight: 700;
}

body.site .fc-soon-ok {
    color: var(--ok) !important;
}

body.site .fc-soon--owner {
    border-color: var(--line);
    background: var(--card-2);
}

/* Event date fields (event-date-lib.php) on event-edit.php and content-edit.php */
body.site .ed-when {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

body.site .ed-when legend {
    padding: 0;
    margin-bottom: 6px;
    font-weight: 600;
}

body.site .ed-parts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.site .ed-part {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 160px;
    font-size: 13px;
    color: var(--muted);
}

body.site .ed-part--day,
body.site .ed-part--year {
    flex: 0 1 110px;
}

/* The Future Content tick on event-edit.php */
body.site .fc-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

body.site .fc-check input {
    width: auto;
    margin-top: 4px;
}

body.site .fc-check span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.site .fc-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

/* Event date under a card's title (library.php) */
body.site .lib-card-when {
    display: block;
    font-size: 12px;
    color: var(--gold);
}

/* Holiday gift-card promotion banner (gp_banner in credit-lib.php), on light and dark pages alike */
.gp-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 18px; border-radius: 16px;
    background: linear-gradient(135deg, #7a1f2b, #b8323f); color: #fff; box-shadow: 0 8px 24px rgba(122, 31, 43, 0.25); }
.gp-banner .gp-ribbon { font-size: 28px; line-height: 1; }
.gp-banner div { flex: 1; min-width: 200px; }
.gp-banner strong { display: block; font-size: 17px; }
.gp-banner span { color: #ffe3e6; font-size: 14px; }
.gp-banner .gp-btn { padding: 10px 18px; border-radius: 999px; background: #fff; color: #7a1f2b; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gp-banner .gp-btn:hover { background: #ffe3e6; }

/* ---------- Reactions and @mentions (social.js) ---------- */
body.site .rx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; position: relative; }
body.site .rx[hidden] { display: none; }
body.site .rx button { font: inherit; cursor: pointer; }
body.site .rx-main, body.site .rx-more {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--card-2); color: var(--soft); font-size: 13px; font-weight: 600;
}
body.site .rx-main:hover, body.site .rx-more:hover { border-color: var(--blue-2); color: var(--text); }
body.site .rx-main.is-on { border-color: var(--gold); color: var(--gold); background: rgba(245, 200, 107, 0.08); }
body.site .rx-more { padding: 5px 9px; }
body.site .rx-emoji { font-size: 15px; line-height: 1; }
body.site .rx-pick {
    position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; display: flex; gap: 2px; padding: 5px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
body.site .rx-pick[hidden] { display: none; }
body.site .rx-opt { border: 0; background: transparent; font-size: 22px; line-height: 1; padding: 4px 5px; border-radius: 50%; transition: transform 0.12s; }
body.site .rx-opt:hover, body.site .rx-opt:focus-visible { transform: scale(1.25); background: rgba(255, 255, 255, 0.06); }
body.site .rx-opt.is-on { background: rgba(245, 200, 107, 0.18); }
body.site .rx-sum { display: inline-flex; align-items: center; gap: 1px; font-size: 13px; color: var(--muted); cursor: default; }
body.site .rx-sum-n { margin-left: 4px; }
body.site .rx.is-busy { opacity: 0.6; }
body.site .rx--small { margin: 0; }
body.site .rx--small .rx-main, body.site .rx--small .rx-more { padding: 2px 9px; font-size: 12px; }
body.site .rx--small .rx-label { display: none; }
/* Comments: the count is a small pill at the top right; the React button sits after Reply, behind a divider */
body.site .rx-sum--head {
    margin-left: auto; padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--card-2); font-size: 12px; line-height: 1.6;
}
body.site .rx-sum--head[hidden] { display: none; }
body.site .rx-sum-emoji.is-mine { filter: drop-shadow(0 0 3px rgba(245, 200, 107, 0.8)); }
body.site .rx--pick .rx-label { display: inline; }
body.site .rx-more[hidden] { display: none; }
body.site .rx--pick .rx-main { padding: 3px 11px; font-size: 12px; font-weight: 600; }
body.site .cm-actions-row, body.site .dz-c-acts { display: flex; flex-wrap: wrap; align-items: center; margin-top: 10px; }
body.site .dz-c-acts { gap: 0; }
body.site .dz-c-acts .dz-link { margin: 0 14px 0 0; }
body.site .cm-actions-sep { width: 1px; height: 18px; margin: 0 16px 0 6px; background: var(--line); }

body.site .mention { color: var(--blue-2); font-weight: 600; }
body.site .mention.is-me { color: #111; background: var(--gold); border-radius: 4px; padding: 0 3px; }
body.site .cm-badge--mention, body.site .dz-tag--mention { background: rgba(245, 200, 107, 0.16); color: var(--gold); }
body.site .mn-list {
    position: absolute; z-index: 40; min-width: 220px; max-width: 320px; padding: 4px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
body.site .mn-list[hidden] { display: none; }
body.site .mn-item {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px;
    background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
body.site .mn-item img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
body.site .mn-item.is-on, body.site .mn-item:hover { background: rgba(92, 195, 220, 0.14); }
