/* 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 .ambient-spotlight {
    pointer-events: none;
}

.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 .header-title-wrap a,
.unified-shell .header-title-wrap h1,
.unified-shell footer h2 {
    color: rgba(255, 255, 255, 0.96) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.10);
}

.unified-shell header > div:last-child {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

.unified-shell .header-contact {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    width: 285px;
    max-width: 100%;
    text-align: right;
}

.unified-shell .header-contact > a {
    align-self: flex-end;
    justify-content: flex-end;
    gap: 0.75rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    background: transparent !important;
    border-color: transparent !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

.unified-shell .header-contact > div,
.unified-shell .header-contact .flex > div {
    width: 100%;
    text-align: right;
}

.unified-shell .header-contact .flex {
    align-items: flex-end;
}

.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 header .bg-white {
    background-color: #fff !important;
}

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

.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;
}

.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 footer {
    color: rgba(255, 255, 255, 0.58);
}

.unified-shell footer a,
.unified-shell footer p,
.unified-shell footer div {
    visibility: visible;
}

.unified-shell footer [class*="text-2xl"],
.unified-shell footer [class*="text-3xl"] {
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
}

/* 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;
    }
}

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

    .unified-shell .header-contact {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .unified-shell .header-contact > a,
    .unified-shell .header-contact > div,
    .unified-shell .header-contact .flex > div {
        justify-content: flex-start;
        text-align: left;
    }
}
