/* HARMONY unified dark-luxe design layer.
   Photos and page-specific content stay untouched; this file only normalizes
   shared header, footer, body color, and accent treatment. */

html,
body {
    background: #0d0d12 !important;
}

body:has(.unified-shell) {
    display: block !important;
    place-items: initial !important;
}

.unified-shell,
.unified-shell main {
    background: #08080c;
}

.unified-shell {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin-right: auto;
    margin-left: auto;
    padding: 0 1rem 2.5rem;
    --header-reservation-font-size: 9px;
    --header-phone-font-size: 18px;
    --header-mail-font-size: 12px;
    --header-hours-label-font-size: 14px;
    --header-hours-value-font-size: 14px;
    --footer-phone-font-size: 24px;
    --footer-mail-font-size: 11px;
    --top-heading-line-height: 1;
    --top-heading-letter-spacing: 0.4em;
    --top-heading-word-gap: 1rem;
    --top-heading-mobile-font-size: 19px;
    --top-heading-mobile-line-height: 1.15;
    --top-heading-mobile-letter-spacing: 0.08em;
    --top-heading-mobile-word-gap: 0.45rem;
}

.unified-shell .site-nav {
    margin-bottom: 1rem;
}

.unified-shell .ambient-spotlight {
    pointer-events: none;
}

.unified-shell .site-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.unified-shell .header-brand {
    min-width: 0;
}

.unified-shell .header-title-wrap {
    display: block;
}

.unified-shell .site-kicker {
    margin: 0 0 0.35rem;
    color: rgba(255, 255, 255, 0.68);
    font-family: "Noto Serif JP", serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    line-height: 1.7;
}

.unified-shell .header-logo {
    display: none !important;
}

.unified-shell .harmony-didot-logo,
.unified-shell .footer-logo {
    display: block;
    color: rgba(255, 255, 255, 0.96) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
    font-size: 1.875rem;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.10);
    user-select: none;
}

.unified-shell .header-slogan {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.64);
    font-family: "Noto Serif JP", serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.5em;
    line-height: 1.5;
    opacity: 0.9;
}

.unified-shell .luxe-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.unified-shell .nav-link {
    color: rgba(163, 163, 163, 1);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (min-width: 769px) {
    .unified-shell {
        padding-top: 0 !important;
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .unified-shell .site-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding-top: 0;
    }

    .unified-shell .header-brand {
        padding-top: 0;
    }

    .unified-shell .harmony-didot-logo {
        font-size: 3rem;
    }

    .unified-shell .header-contact {
        top: 0;
        margin-top: 0;
    }
}

.unified-shell .luxe-heading {
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 31%, rgba(255, 255, 255, 0.005) 62%, rgba(255, 255, 255, 0.04));
    border-left: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.unified-shell .luxe-heading::after {
    background: linear-gradient(90deg, rgba(208, 140, 73, 0.78), rgba(255, 255, 255, 0.18), transparent) !important;
}

.unified-shell .luxe-heading h1,
.unified-shell .luxe-heading h2,
.unified-shell .luxe-heading h3 {
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.unified-shell .luxe-heading p:first-child {
    color: rgba(255, 255, 255, 0.58) !important;
}

.unified-shell .nav-link:hover,
.unified-shell .nav-link-active {
    color: #fff !important;
}

.unified-shell [class*="text-[#9e314b]"] {
    color: rgba(255, 255, 255, 0.90) !important;
}

.unified-shell .top-page-heading {
    line-height: var(--top-heading-line-height) !important;
    letter-spacing: var(--top-heading-letter-spacing) !important;
}

.unified-shell .top-page-heading.flex {
    gap: var(--top-heading-word-gap) !important;
}

.unified-shell .top-page-heading .accent-red {
    line-height: inherit;
    letter-spacing: inherit;
}

@media (max-width: 900px) {
    .unified-shell .top-page-heading {
        font-size: var(--top-heading-mobile-font-size) !important;
        line-height: var(--top-heading-mobile-line-height) !important;
        letter-spacing: var(--top-heading-mobile-letter-spacing) !important;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }

    .unified-shell .top-page-heading.flex {
        gap: var(--top-heading-mobile-word-gap) !important;
    }

    .unified-shell .top-page-heading .accent-red {
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }
}

.unified-shell .accent-red,
.unified-shell .diamond-red {
    color: #c40018 !important;
    -webkit-text-fill-color: #c40018 !important;
}

.unified-shell.lady-profile-shell .sec-head-sub {
    color: rgba(255, 255, 255, 0.74) !important;
}

.unified-shell.lady-profile-shell main > section:first-of-type .sec-head-sub,
.unified-shell.lady-profile-shell .profile-label,
.unified-shell.lady-profile-shell .profile-name-en {
    color: #c40018 !important;
    -webkit-text-fill-color: #c40018 !important;
}

.unified-shell.lady-profile-shell .sec-head-title,
.unified-shell.lady-profile-shell .profile-name-ja {
    color: rgba(255, 255, 255, 0.96) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96) !important;
}

.unified-shell.lady-profile-shell .review-body,
.unified-shell.lady-profile-shell .qa-a,
.unified-shell.lady-profile-shell .data-val,
.unified-shell.lady-profile-shell .play-name {
    color: rgba(255, 255, 255, 0.84) !important;
}

.unified-shell.lady-profile-shell .play-ok {
    color: #ff4b67 !important;
    -webkit-text-fill-color: #ff4b67 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 12px rgba(255, 75, 103, 0.42);
}

.unified-shell.lady-profile-shell .play-ask {
    color: #ffb362 !important;
    -webkit-text-fill-color: #ffb362 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 12px rgba(255, 179, 98, 0.38);
}

.unified-shell.lady-profile-shell .play-ng {
    color: rgba(255, 255, 255, 0.68) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.68) !important;
    font-weight: 700 !important;
}

.unified-shell [class*="text-[#9e314b]/70"],
.unified-shell [class*="text-[#9e314b]/60"],
.unified-shell [class*="text-[#9e314b]/50"] {
    color: rgba(255, 255, 255, 0.56) !important;
}

.unified-shell [class*="hover:text-[#9e314b]"]:hover {
    color: #fff !important;
}

.unified-shell [class*="border-[#9e314b]"] {
    border-color: rgba(255, 255, 255, 0.26) !important;
}

.unified-shell [class*="border-[#9e314b]/40"] {
    border-color: rgba(208, 140, 73, 0.58) !important;
}

.unified-shell [class*="border-[#9e314b]/30"],
.unified-shell [class*="border-[#9e314b]/20"] {
    border-color: rgba(255, 255, 255, 0.20) !important;
}

.unified-shell .bg-[#9e314b],
.unified-shell [class*="bg-[#9e314b]"] {
    background-color: rgba(255, 255, 255, 0.82) !important;
}

.unified-shell [class*="from-[#9e314b]"] {
    --tw-gradient-from: rgba(255, 255, 255, 0.75) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(255, 255, 255, 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.unified-shell .course-tab.active {
    border-color: rgba(255, 255, 255, 0.38) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.06) !important;
}

.unified-shell .course-tab.active .tab-label {
    color: rgba(255, 255, 255, 0.94) !important;
}

.unified-shell .course-tab.active .tab-sub {
    color: rgba(255, 255, 255, 0.46) !important;
}

.unified-shell .acc-icon,
.unified-shell .acc-content ul li::before,
.unified-shell .compact-list li::before,
.unified-shell .step-num {
    color: #d08c49 !important;
}

.unified-shell .warn-box {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}

.unified-shell .schedule-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 0 0 34px !important;
}

.unified-shell .schedule-tabs a {
    position: relative !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)), #050505 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: "Courier Prime", monospace !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.26em !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease, transform 0.35s ease !important;
}

.unified-shell .schedule-tabs a::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #c40018;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.unified-shell .schedule-tabs a:hover,
.unified-shell .schedule-tabs a.active {
    border-color: rgba(196, 0, 24, 0.72) !important;
    background: linear-gradient(180deg, rgba(196, 0, 24, 0.14), rgba(196, 0, 24, 0.035)), #050505 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.unified-shell .schedule-tabs a:hover::before,
.unified-shell .schedule-tabs a.active::before {
    opacity: 1;
}

.unified-shell .top-schedule-tabs {
    max-width: 100%;
    margin-top: 4rem !important;
}

/* Keep schedule cards at their content height on every viewport. */
#schedule .grid,
.today-grid {
    align-items: start !important;
    grid-auto-rows: max-content !important;
}

#schedule .today-card,
.today-grid .today-card {
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
}

#schedule .schedule-lady-photo,
.today-grid .schedule-lady-photo {
    flex: 0 0 auto !important;
}

.unified-shell .info-card,
.unified-shell .costume-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), #050505 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.unified-shell .site-footer {
    position: relative;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    color: rgba(255, 255, 255, 0.58);
}

.unified-shell .footer-nav {
    margin-bottom: 2.5rem;
}

.unified-shell .footer-content {
    display: grid;
    gap: 3rem;
    padding: 0 0.75rem 2.5rem;
}

.unified-shell .footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.unified-shell .footer-logo {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.6em;
    line-height: 1.6;
}

.unified-shell .footer-slogan {
    margin-top: 0.5rem;
    color: rgba(163, 163, 163, 0.9);
    font-family: "Noto Serif JP", serif;
    font-size: 10px;
    letter-spacing: 0.5em;
}

.unified-shell .footer-copy {
    margin-top: 1.25rem;
    color: rgba(82, 82, 82, 1);
    font-family: 'Courier Prime', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.unified-shell .footer-contact-wrap {
    display: flex;
}

.unified-shell .footer-contact-panel {
    padding: 0 0 0 1.25rem;
    border-left: 2px solid rgba(158, 49, 75, 0.30);
}

.unified-shell .footer-contact-title {
    margin-bottom: 0.35rem;
    color: #d08c49;
    font-family: 'Courier Prime', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.unified-shell .footer-contact-phone {
    color: #fff;
    font-family: 'Courier Prime', monospace;
    font-size: var(--footer-phone-font-size);
    font-weight: 300;
    letter-spacing: 0.025em;
    line-height: 1.6;
}

.unified-shell .footer-contact-mail {
    display: block;
    margin-top: 0.2rem;
    color: rgba(163, 163, 163, 1);
    font-family: 'Courier Prime', monospace;
    font-size: var(--footer-mail-font-size);
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.unified-shell .footer-contact-mail:hover {
    color: #d08c49;
}

.unified-shell .footer-hours {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 0.7rem;
    color: rgba(163, 163, 163, 1);
    font-family: 'Courier Prime', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.unified-shell .footer-hours-item {
    display: flex;
    flex-direction: column;
}

.unified-shell .footer-hours-label {
    margin-bottom: 0.25rem;
    color: rgba(115, 115, 115, 1);
    font-size: 9px;
}

.unified-shell .footer-hours-value {
    white-space: nowrap;
}

.unified-shell .footer-late-note {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #d08c49;
    font-family: "Noto Serif JP", serif;
    font-size: 10px;
    font-style: italic;
    letter-spacing: 0.2em;
}

@media (min-width: 769px) {
    .unified-shell .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6rem;
    }

    .unified-shell .footer-contact-wrap {
        justify-content: flex-end;
    }
}

/* Gallery detail / completion / error pages do not use the standard shell. */
.detail-shell {
    background: #08080c;
}

.detail-header {
    border-left-color: rgba(255, 255, 255, 0.42) !important;
}

.detail-kicker {
    color: rgba(255, 255, 255, 0.58) !important;
}

.detail-title {
    color: rgba(255, 255, 255, 0.94) !important;
}

.detail-media {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), #050505 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.detail-media:hover {
    border-color: rgba(208, 140, 73, 0.42) !important;
}

.top-profile-detail {
    border-color: rgba(196, 0, 24, 0.82) !important;
    box-shadow:
        0 0 0 1px rgba(196, 0, 24, 0.32),
        0 0 22px rgba(196, 0, 24, 0.14),
        0 0 24px rgba(255, 255, 255, 0.04) !important;
}

.top-profile-detail:hover {
    border-color: rgba(196, 0, 24, 1) !important;
    box-shadow:
        0 0 0 1px rgba(196, 0, 24, 0.46),
        0 0 30px rgba(196, 0, 24, 0.2),
        0 0 24px rgba(255, 255, 255, 0.04) !important;
}

.gallery-stamp,
.detail-toolbar span,
.back-link,
.detail-media span:not(.movie-poster):not(.play-mark) {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: var(--film-glow-shadow) !important;
}

body > main:not(.stage) {
    border-color: rgba(255, 255, 255, 0.20) !important;
}

/* Shared film-guide glow.
   Change these variables once to tune every Kodak/film guide label. */
:root {
    --film-glow-color: #d08c49;
    --film-glow-light: #ffce99;
    --film-glow-shadow:
        0 0 1px var(--film-glow-light),
        0 0 3px var(--film-glow-color),
        0 0 8px rgba(208, 140, 73, 0.82),
        0 0 14px rgba(208, 140, 73, 0.28);
}

.glow-orange,
.film-stamp,
.film-stamp span,
.kodak-header,
.kodak-header span,
.kodak-label,
.kodak-frame-num,
.top-kodak-header,
.top-kodak-header span,
.top-kodak-header #film-name,
.top-kodak-header #frame-info,
.schedule-film-stamp,
.schedule-film-stamp span,
.schedule-banner-tag,
.gallery-stamp,
.gallery-stamp span,
.thumb-stamp,
.thumb-stamp span {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: var(--film-glow-shadow) !important;
}

@media print {
    .glow-orange,
    .film-stamp,
    .film-stamp span,
    .kodak-header,
    .kodak-header span,
    .kodak-label,
    .kodak-frame-num,
    .top-kodak-header,
    .top-kodak-header span,
    .top-kodak-header #film-name,
    .top-kodak-header #frame-info,
    .schedule-film-stamp,
    .schedule-film-stamp span,
    .schedule-banner-tag,
    .gallery-stamp,
    .gallery-stamp span,
    .thumb-stamp,
    .thumb-stamp span {
        color: var(--film-glow-color) !important;
        -webkit-text-fill-color: var(--film-glow-color) !important;
        text-shadow: none !important;
    }
}

/* Shared reservation block used by every main-site header. */
.unified-shell .header-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 320px);
    margin-top: 2rem;
    margin-left: auto;
    padding: 4px 0;
    align-items: flex-end;
    color: rgba(163, 163, 163, 1);
    font-family: 'Courier Prime', monospace;
    text-align: right;
}

.unified-shell .header-contact::before {
    content: "RESERVATION INQUIRY";
    display: block;
    width: 100%;
    margin-bottom: 4px;
    color: #d08c49;
    font-size: var(--header-reservation-font-size);
    line-height: 1.4;
    letter-spacing: 0.28em;
    text-align: right;
    white-space: nowrap;
}

.unified-shell .header-phone-link {
    display: inline-flex;
    width: max-content;
    margin: 0 0 2px auto;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
}

.unified-shell .header-phone-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #c40018;
}

.unified-shell .header-phone-number {
    color: rgba(255, 255, 255, 0.96);
    font-size: var(--header-phone-font-size);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.35;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.unified-shell .header-phone-link:hover .header-phone-number {
    color: #d08c49;
}

.unified-shell .header-hours {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding-top: 2px;
    align-items: flex-end;
    gap: 2px;
}

.unified-shell .header-hours-row {
    display: flex;
    width: max-content;
    max-width: 100%;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
    text-align: right;
}

.unified-shell .header-hours-label {
    color: rgba(255, 255, 255, 0.50);
    font-size: var(--header-hours-label-font-size);
    letter-spacing: 0.16em;
    text-align: left;
}

.unified-shell .header-hours-label::after {
    content: ":";
}

.unified-shell .header-hours-value {
    color: rgba(255, 255, 255, 0.64);
    font-size: var(--header-hours-value-font-size);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.12em;
    text-align: left;
    white-space: nowrap;
}

.unified-shell .header-mail-row {
    margin-top: 1px;
}

.unified-shell .header-mail-link {
    color: rgba(255, 255, 255, 0.48);
    font-size: var(--header-mail-font-size);
    letter-spacing: 0.18em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.unified-shell .header-mail-link:hover {
    color: #d08c49;
}

@media (max-width: 768px) {
    .unified-shell .site-kicker {
        font-size: 10px;
        letter-spacing: 0.16em;
    }
}

/* Mobile landscape keeps the brand and reservation block on one row. */
@media (max-width: 900px) and (orientation: landscape) {
    .unified-shell .site-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
    }

    .unified-shell .header-brand {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .unified-shell .header-title-wrap,
    .unified-shell .harmony-didot-logo {
        width: max-content;
        max-width: 100%;
        overflow-wrap: normal;
        white-space: nowrap;
        word-break: keep-all;
    }

    .unified-shell .harmony-didot-logo {
        font-size: clamp(24px, 5vw, 32px);
        line-height: 1.15;
    }

    .unified-shell .site-kicker {
        font-size: 8px;
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

    .unified-shell .header-slogan {
        margin-top: 10px;
        font-size: 8px;
        letter-spacing: 0.25em;
        white-space: nowrap;
    }

    .unified-shell .header-contact {
        top: 0;
        flex: 0 0 clamp(220px, 43vw, 285px);
        width: clamp(220px, 43vw, 285px);
        min-width: 0;
        margin-top: 0;
        padding-left: 14px;
    }

    .unified-shell .header-contact::before {
        margin-bottom: 3px;
        font-size: 8px;
        letter-spacing: 0.18em;
    }

    .unified-shell .header-hours {
        gap: 1px;
    }

    .unified-shell .header-hours-row {
        gap: 5px;
    }
}
