/* ============================================================
   로드잇(Lordit) — 메인 홈 대시보드 v7.1
   ============================================================ */

/* ── Home accent policy (gold/bronze; no legacy blue on /) ── */
html[data-theme="dark"]:has(body.home-page),
html[data-theme="dark"] body.home-page {
    --home-accent-soft: rgba(194, 165, 106, 0.14);
    --home-accent-border: rgba(194, 165, 106, 0.32);
    --home-accent-border-strong: rgba(194, 165, 106, 0.48);
    --home-accent-glow: rgba(194, 165, 106, 0.2);
    --home-focus-ring-color: rgba(194, 165, 106, 0.42);
    --accent: var(--color-brand-gold);
    --accent-hover: var(--color-brand-gold-hover);
    --accent-soft: rgba(194, 165, 106, 0.14);
    --accent-glow: rgba(194, 165, 106, 0.2);
    --color-focus-ring: rgba(194, 165, 106, 0.42);
    --focus-ring: 0 0 0 3px rgba(194, 165, 106, 0.42);
    --badge-text: var(--color-brand-gold);
    --badge-bg: rgba(194, 165, 106, 0.14);
}

html[data-theme="light"]:has(body.home-page),
html[data-theme="light"] body.home-page {
    --home-accent-soft: rgba(141, 112, 58, 0.12);
    --home-accent-border: rgba(141, 112, 58, 0.28);
    --home-accent-border-strong: rgba(141, 112, 58, 0.42);
    --home-accent-glow: rgba(141, 112, 58, 0.16);
    --home-focus-ring-color: rgba(141, 112, 58, 0.34);
    --accent: var(--color-brand-gold);
    --accent-hover: var(--color-brand-gold-hover);
    --accent-soft: rgba(141, 112, 58, 0.12);
    --accent-glow: rgba(141, 112, 58, 0.16);
    --color-focus-ring: rgba(141, 112, 58, 0.34);
    --focus-ring: 0 0 0 3px rgba(141, 112, 58, 0.34);
    --badge-text: var(--color-brand-gold);
    --badge-bg: rgba(141, 112, 58, 0.12);
}

/* Header — unified search + nav gold system */
.home-page .header-search {
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: var(--color-surface);
    border-color: var(--color-border);
    transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.home-page .header-search:focus-within {
    border-color: var(--home-accent-border-strong);
    box-shadow: var(--focus-ring);
}

.home-page .header-search-input {
    padding: 0.4375rem 0.375rem 0.4375rem 0.75rem;
}

.home-page .header-search-btn {
    width: 2.125rem;
    height: 2.125rem;
    margin: 0.125rem;
    border-radius: calc(var(--radius-md) - 3px);
    background: transparent;
    color: var(--color-text-muted);
}

.home-page .header-search-btn:hover,
.home-page .header-search-btn:focus-visible {
    background: var(--home-accent-soft);
    color: var(--color-brand-gold);
}

.home-page .nav-link {
    min-height: 2.125rem;
    padding: 0.4375rem 0.6875rem;
    font-size: 0.875rem;
    line-height: 1.2;
}

.home-page .nav-link:hover {
    color: var(--color-text);
    background: var(--home-accent-soft);
}

.home-page .nav-link.is-active {
    color: var(--color-brand-gold);
    background: var(--home-accent-soft);
    font-weight: 600;
}

.home-page .nav-link:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-page .nav-link--guild.is-active,
.home-page .nav-link--guild:hover .nav-link-icon,
.home-page .nav-link--guild.is-active .nav-link-icon {
    color: var(--color-brand-gold);
}

.home-page .logo-en {
    color: var(--color-brand-gold);
}

.home-page .theme-menu-trigger,
.home-page .mobile-menu-toggle {
    min-height: 2.125rem;
    min-width: 2.125rem;
    border-radius: var(--radius-md);
}

.home-page .mobile-menu-toggle:hover {
    background: var(--home-accent-soft);
    color: var(--color-text);
}

.home-page .theme-menu-option.is-active .theme-menu-option-check {
    color: var(--color-brand-gold);
}

.home-page .mobile-nav-link:hover,
.home-page .mobile-nav-link.is-active {
    color: var(--color-brand-gold);
    background: var(--home-accent-soft);
}

.home-page .mobile-nav-search .btn-primary {
    background: color-mix(in srgb, var(--color-brand-gold) 88%, var(--color-surface) 12%);
    color: var(--color-primary-text, #faf9f6);
    border: 1px solid color-mix(in srgb, var(--color-brand-gold) 55%, var(--color-border));
    box-shadow: none;
}

.home-page .mobile-nav-search .btn-primary:hover {
    filter: brightness(1.04);
    box-shadow: 0 2px 8px var(--home-accent-glow);
}

/* Skip link + coupon copy — explicit gold (no global --accent dependency) */
.home-page .skip-link {
    background: var(--color-brand-gold);
    color: var(--color-primary-text, #faf9f6);
}

.home-page .skip-link:focus,
.home-page .skip-link:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-page .home-coupon-section .coupon-copy-btn.btn-outline {
    color: var(--text-secondary);
    border-color: var(--color-border);
    background: transparent;
}

.home-page .home-coupon-section .coupon-copy-btn.btn-outline:hover {
    color: var(--color-brand-gold);
    background: color-mix(in srgb, var(--color-text) 3.5%, var(--color-surface));
    border-color: color-mix(in srgb, var(--color-brand-gold) 28%, var(--color-border));
}

.home-page .home-coupon-section .coupon-copy-btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-dashboard {
    --home-main-max: 72rem;
    --home-rail-width: clamp(6.75rem, 7vw, 8.25rem);
    --home-shell-gap: clamp(1.25rem, 1.8vw, 1.875rem);
    --home-sticky-top: calc(var(--header-offset, 96px) + 1rem);
    --home-section-gap: clamp(1.25rem, 2vw, 1.75rem);
    --home-guild-height: 4.25rem;
    --home-section-radius: var(--radius-md);
    padding-bottom: var(--space-5);
}

body.home-page .home-hub,
body.home-page .home-dashboard,
body.home-page .home-shell {
    overflow: visible;
}

.home-shell {
    width: min(
        100% - clamp(1.25rem, 3vw, 2rem),
        calc(var(--home-main-max) + (2 * var(--home-rail-width)) + (2 * var(--home-shell-gap)))
    );
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "main"
        "ads";
    gap: var(--home-section-gap);
}

.home-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: var(--home-section-gap);
    min-width: 0;
}

.home-sponsor-section {
    grid-area: ads;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    min-width: 0;
}

.home-sponsor-head--inline {
    grid-column: 1 / -1;
}

@media (min-width: 1500px) {
    .home-dashboard {
        --home-main-max: 67.5rem;
        --home-rail-width: clamp(8.75rem, 9vw, 10rem);
        --home-shell-gap: clamp(1.5rem, 2vw, 2rem);
        padding-bottom: var(--space-4);
    }

    .home-shell {
        grid-template-columns: var(--home-rail-width) minmax(0, var(--home-main-max)) var(--home-rail-width);
        grid-template-areas: "rail-l main rail-r";
        column-gap: var(--home-shell-gap);
        row-gap: 0;
        align-items: start;
    }

    .home-main {
        max-width: var(--home-main-max);
    }

    .home-sponsor-section {
        display: contents;
    }

    .home-sponsor-head--inline {
        display: none;
    }

    .home-ad-rail.home-ad-slot--1 {
        grid-area: rail-l;
        position: sticky;
        top: var(--home-sticky-top);
        align-self: start;
        z-index: 0;
    }

    .home-ad-rail.home-ad-slot--2 {
        grid-area: rail-r;
        position: sticky;
        top: var(--home-sticky-top);
        align-self: start;
        z-index: 0;
    }
}

@media (max-width: 767px) {
    .home-sponsor-section {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Guild quick access ── */
.home-guild-entry {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.625rem 0.875rem;
    min-height: var(--home-guild-height);
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--home-section-radius);
    background: color-mix(in srgb, var(--color-brand-gold) 5%, var(--color-surface));
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--motion-fast), border-color var(--motion-fast);
}

.home-guild-entry:hover {
    background: color-mix(in srgb, var(--color-brand-gold) 8%, var(--color-surface));
}

.home-guild-entry:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-guild-entry__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    border: none;
    background: color-mix(in srgb, var(--color-brand-gold) 10%, transparent);
    color: var(--color-brand-gold);
}

.home-guild-entry__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.home-guild-entry__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

.home-guild-entry__secondary {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-guild-entry__secondary--mobile {
    display: none;
}

.home-guild-entry__action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    transition: color var(--motion-fast);
}

.home-guild-entry:hover .home-guild-entry__action {
    color: var(--color-brand-gold);
}

.home-guild-entry__action-arrow {
    display: inline-flex;
    opacity: 0.75;
}

@media (max-width: 639px) {
    .home-dashboard {
        --home-guild-height: 3.875rem;
    }

    .home-guild-entry {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.5rem 0.625rem;
        padding: 0.5625rem 0.75rem;
    }

    .home-guild-entry__icon {
        width: 1.875rem;
        height: 1.875rem;
    }

    .home-guild-entry__body {
        gap: 0.0625rem;
    }

    .home-guild-entry__title {
        font-size: 0.8125rem;
    }

    .home-guild-entry__secondary {
        font-size: 0.6875rem;
    }

    .home-guild-entry__secondary--desktop {
        display: none;
    }

    .home-guild-entry__secondary--mobile {
        display: -webkit-box;
    }

    .home-guild-entry__action {
        width: 100%;
        justify-content: flex-end;
        padding-top: 0.25rem;
        margin-top: 0.0625rem;
        border-top: 1px solid color-mix(in srgb, var(--color-border) 90%, transparent);
        font-size: 0.75rem;
        min-height: 2rem;
    }
}

@media (min-width: 640px) {
    .home-guild-entry__body {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        column-gap: 0.625rem;
    }

    .home-guild-entry__secondary {
        flex: 1 1 12rem;
    }
}

/* ── Section headers ── */
.home-dashboard .home-section-head {
    margin-bottom: 0.6875rem;
    padding: 0;
}

.home-dashboard .home-section-head-stack {
    align-items: flex-end;
    gap: 0.625rem;
}

.home-dashboard .home-section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.home-dashboard .home-section-desc {
    margin: 0.1875rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ── Utility cards ── */
.home-util-block {
    min-width: 0;
}

@media (max-width: 767px) {
    .home-util-block .home-section-head-stack {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title link"
            "desc desc";
        align-items: start;
        justify-content: space-between;
        column-gap: 0.75rem;
        row-gap: 0.1875rem;
        width: 100%;
    }

    .home-util-block .home-section-head-copy {
        display: contents;
    }

    .home-util-block .home-section-title {
        grid-area: title;
        text-align: left;
    }

    .home-util-block .home-section-desc {
        grid-area: desc;
        text-align: left;
        margin-top: 0;
    }

    .home-util-block .home-section-head-stack > .lordit-link-sm {
        grid-area: link;
        justify-self: end;
        align-self: start;
    }
}

.home-util-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-util-grid > li {
    display: flex;
    min-width: 0;
}

.home-util-card {
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
    width: 100%;
    min-height: 6.875rem;
    padding: 1rem 1.0625rem;
    border: 1px solid var(--color-border);
    border-radius: var(--home-section-radius);
    background: var(--color-surface);
    color: inherit;
    text-decoration: none;
    transition: background-color var(--motion-fast), border-color var(--motion-fast);
}

.home-util-card:hover {
    background: color-mix(in srgb, var(--color-text) 2.5%, var(--color-surface));
    border-color: color-mix(in srgb, var(--color-border) 82%, var(--color-text) 18%);
}

.home-util-card:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-util-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.home-util-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-brand-gold) 10%, transparent);
    color: var(--color-brand-gold);
}

.home-util-card__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.home-util-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
}

.home-util-card__desc {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

@media (min-width: 640px) {
    .home-util-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .home-util-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .home-util-grid > li:nth-child(-n+3) {
        grid-column: span 2;
    }

    .home-util-grid > li:nth-child(4),
    .home-util-grid > li:nth-child(5) {
        grid-column: span 3;
    }

    .home-util-card {
        min-height: 7.125rem;
        padding: 1.0625rem 1.125rem;
    }
}

/* ── Info dashboard: news + featured ── */
.home-info-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--home-section-gap);
    min-width: 0;
}

@media (min-width: 992px) {
    .home-info-dashboard {
        grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
        align-items: start;
    }
}

.home-news-panel,
.home-featured-panel,
.home-dashboard .home-coupon-section:not(.home-coupon-section--empty) {
    padding: 1rem 1.125rem;
    border: 1px solid var(--color-border);
    border-radius: var(--home-section-radius);
    background: var(--color-surface);
    min-width: 0;
    box-shadow: none;
}

/* Text actions — neutral default, gold on hover */
.home-dashboard .lordit-link-sm,
.home-dashboard .lordit-link-xs,
.home-dashboard .coupon-more-link,
.home-dashboard .home-coupon-more-link,
.home-sponsor-section .lordit-link-xs {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color var(--motion-fast);
}

.home-dashboard .lordit-link-sm:hover,
.home-dashboard .lordit-link-xs:hover,
.home-dashboard .coupon-more-link:hover,
.home-dashboard .home-coupon-more-link:hover,
.home-sponsor-section .lordit-link-xs:hover {
    color: var(--color-brand-gold);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.home-dashboard .lordit-link-sm:focus-visible,
.home-dashboard .lordit-link-xs:focus-visible,
.home-dashboard .coupon-more-link:focus-visible,
.home-dashboard .home-coupon-more-link:focus-visible,
.home-sponsor-section .lordit-link-xs:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* ── News panel ── */
.home-dashboard .news-tab-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-dashboard .news-tab-item + .news-tab-item {
    border-top: 1px solid color-mix(in srgb, var(--color-border) 92%, transparent);
}

.home-dashboard .news-tab-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    padding: 0.4375rem 0.125rem;
    margin: 0 -0.125rem;
    border-radius: calc(var(--radius-sm) - 1px);
    color: inherit;
    text-decoration: none;
    transition: background-color var(--motion-fast);
}

.home-dashboard .news-tab-link:hover {
    background: color-mix(in srgb, var(--color-text) 3%, var(--color-surface));
}

.home-dashboard .news-tab-link:hover .news-tab-title {
    color: var(--color-brand-gold);
}

.home-dashboard .news-tab-btn:hover {
    color: var(--color-text);
    border-color: var(--color-border);
    background: color-mix(in srgb, var(--color-text) 4%, var(--color-surface));
}

.home-dashboard .news-tab-btn.is-active {
    color: var(--color-brand-gold);
    background: var(--home-accent-soft);
    border-color: color-mix(in srgb, var(--color-brand-gold) 22%, var(--color-border));
}

.home-dashboard .news-tab-btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-dashboard .news-tab-link-main {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    flex: 1;
}

.home-dashboard .news-tab-title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
}

.home-dashboard .news-tab-date {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.home-dashboard .news-tabs {
    margin-bottom: 0.4375rem;
}

.home-dashboard .news-tab-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
}

.home-dashboard .news-tab-footer {
    margin-top: 0.375rem;
    padding-top: 0.375rem;
}

.home-dashboard .news-tab-empty {
    margin: 0;
    padding: 0.625rem 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.home-dashboard .home-pinned-strip-compact {
    margin-bottom: 0.4375rem;
    padding: 0.375rem 0.5rem;
    border-radius: calc(var(--radius-sm) - 1px);
    background: color-mix(in srgb, var(--color-text) 3%, var(--color-surface));
    border: 1px solid color-mix(in srgb, var(--color-border) 94%, transparent);
}

.home-dashboard .home-pinned-link {
    color: var(--color-text);
}

/* ── Featured content ── */
.home-dashboard .featured-aside-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 11.5rem;
    border: none;
    padding: 0;
    border-radius: calc(var(--home-section-radius) - 2px);
    overflow: hidden;
    background: color-mix(in srgb, var(--color-text) 2%, var(--color-surface));
}

.home-dashboard .featured-aside-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-dashboard .featured-aside-video {
    aspect-ratio: 16 / 10;
    max-height: 11.5rem;
    border-radius: calc(var(--home-section-radius) - 2px);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-border) 94%, transparent);
}

.home-dashboard .featured-aside-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.home-dashboard .featured-aside-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--home-section-radius) - 2px);
}

.home-dashboard .featured-aside-body {
    padding-top: 0.625rem;
}

.home-dashboard .featured-aside-body h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.home-dashboard .featured-aside-body p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.home-dashboard .featured-aside-empty {
    margin: 0;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Coupon ── */
.home-dashboard .home-coupon-section {
    min-width: 0;
}

.home-dashboard .home-coupon-section--empty {
    padding: 0.25rem 0;
    border: none;
    background: transparent;
}

.home-dashboard .home-coupon-count {
    margin-left: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.home-dashboard .home-coupon-section--empty .home-section-head {
    margin-bottom: 0.375rem;
}

.home-dashboard .home-coupon-section--empty .home-section-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.home-dashboard .home-coupon-empty-box {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 4rem;
    max-height: 5rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 94%, transparent);
    border-radius: calc(var(--home-section-radius) - 1px);
    background: color-mix(in srgb, var(--color-text) 2%, var(--color-surface));
}

@media (min-width: 768px) {
    .home-dashboard .home-coupon-section--empty .home-coupon-empty-box {
        width: fit-content;
        max-width: min(100%, 26rem);
    }
}

.home-dashboard .home-coupon-empty-icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 92%, transparent);
    border-radius: calc(var(--radius-sm) - 2px);
    background: color-mix(in srgb, var(--color-text) 3%, var(--color-surface));
    opacity: 0.72;
}

.home-dashboard .home-coupon-empty {
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.home-dashboard .coupon-compact-item {
    padding: 0.5rem 0;
}

.home-dashboard .coupon-compact-item + .coupon-compact-item {
    border-top: 1px solid var(--color-border);
}

/* ── Ad rails ── */
.home-ad-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px dashed color-mix(in srgb, var(--color-border) 98%, transparent);
    border-radius: calc(var(--home-section-radius) - 1px);
    background: color-mix(in srgb, var(--color-text) 1.25%, var(--color-surface));
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.home-ad-slot-label {
    position: absolute;
    top: 0.3125rem;
    left: 0.3125rem;
    z-index: 1;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0.55;
    background: transparent;
}

.home-ad-slot .promo-slot-media {
    min-height: 0;
    aspect-ratio: 17 / 4;
}

.home-ad-slot.promo-slot-card-empty {
    padding: 0.5rem 0.625rem;
    border-style: dashed;
    background: color-mix(in srgb, var(--color-text) 1%, var(--color-surface));
}

.home-ad-slot.promo-slot-card-empty .promo-slot-empty-icon {
    color: var(--text-muted);
    opacity: 0.35;
    font-size: 0.75rem;
}

.home-ad-slot.promo-slot-card-empty .promo-slot-empty-text {
    color: var(--text-muted);
    font-size: 0.6875rem;
    opacity: 0.85;
}

@media (min-width: 1500px) {
    .home-ad-slot .promo-slot-media {
        aspect-ratio: 3 / 5;
        min-height: 13rem;
    }

    .home-ad-slot.promo-slot-card-empty {
        min-height: 13rem;
        justify-content: center;
    }
}

.home-sponsor-head {
    margin-bottom: 0.375rem;
}

.home-sponsor-section .home-bento-label-inline {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.home-dashboard .home-ad-section {
    margin-top: 0;
}

@media (max-width: 767px) {
    .home-shell {
        width: min(100% - 1.5rem, var(--home-main-max));
    }
}

/* Legacy blue overrides from style.css (home scope only) */
.home-page .nav-link:hover {
    background-color: var(--home-accent-soft) !important;
}

.home-page .nav-link.is-active {
    color: var(--color-brand-gold) !important;
    background-color: var(--home-accent-soft) !important;
}

.home-dashboard .lordit-link-sm,
.home-dashboard .lordit-link-xs,
.home-dashboard .coupon-more-link,
.home-dashboard .home-coupon-more-link,
.home-sponsor-section .lordit-link-xs {
    color: var(--text-secondary) !important;
}

.home-dashboard .lordit-link-sm:hover,
.home-dashboard .lordit-link-xs:hover,
.home-dashboard .coupon-more-link:hover,
.home-dashboard .home-coupon-more-link:hover,
.home-sponsor-section .lordit-link-xs:hover {
    color: var(--color-brand-gold) !important;
}

.home-page .news-tab-btn:hover {
    border-color: var(--color-border) !important;
}

.home-page .news-tab-btn.is-active {
    color: var(--color-brand-gold) !important;
    background: var(--home-accent-soft) !important;
    border-color: color-mix(in srgb, var(--color-brand-gold) 22%, var(--color-border)) !important;
}

.home-page .news-tab-link:hover .news-tab-title {
    color: var(--color-brand-gold);
}

.home-page .home-pinned-link:hover {
    color: var(--color-brand-gold);
}

.home-page .home-hub .news-tab-date {
    color: var(--text-muted);
}

.home-page .home-hub .coupon-code-copyable.is-copy-flash {
    animation: home-coupon-copy-flash 0.55s ease;
}

@keyframes home-coupon-copy-flash {
    0% {
        box-shadow: 0 0 0 0 var(--home-accent-glow);
    }
    40% {
        box-shadow: 0 0 0 3px var(--home-accent-soft);
    }
    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.home-page .site-footer a:hover {
    color: var(--color-brand-gold);
}

.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
