@font-face {
    font-family: "NHGY CJK Ext B 1";
    src: url("../fonts/nhgy-cjk-extb-p1.woff2?v=20260921-141") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    unicode-range: U+20000-2A6DF;
}

@font-face {
    font-family: "NHGY CJK Ext B 2";
    src: url("../fonts/nhgy-cjk-extb-p2.woff2?v=20260921-141") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    unicode-range: U+30000-3134F;
}

html.nhgy-lighting-search-page,
html.nhgy-lighting-search-page body,
body.nhgy-lighting-search-page {
    min-height: 100%;
    margin: 0;
}

body.nhgy-lighting-search-page {
    background: #efd08a;
    color: #212121;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

html.nhgy-lighting-search-page,
html:has(> body.nhgy-lighting-search-page),
body.nhgy-lighting-search-page {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

body.nhgy-lighting-search-page *,
body.nhgy-lighting-search-page *::before,
body.nhgy-lighting-search-page *::after {
    box-sizing: border-box;
}

.nhgy-lighting-search-screen {
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #efd08a;
    background-image: url("../img/lighting-search-bg.jpg?v=20260818-95");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.nhgy-lighting-search-page .nhgy-lighting-search-screen {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

.nhgy-lighting-search-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: min(calc(100% - 48px), 1200px);
    max-width: 1200px;
    min-width: 0;
    min-height: 100dvh;
    margin-inline: auto;
}

.nhgy-lighting-search-atmosphere {
    position: static;
    display: flex;
    flex: 0 0 50%;
    align-items: center;
    justify-content: center;
    min-width: 0;
    pointer-events: none;
}

.nhgy-lighting-search-buddha {
    position: static;
    display: block;
    width: 100%;
    max-width: 588px;
    height: auto;
    margin: 0 auto;
    opacity: 0;
    animation: nhgy-lighting-search-buddha-in 3s ease-out both;
}

.nhgy-lighting-search-panel {
    position: static;
    display: flex;
    flex: 0 0 50%;
    width: 527px;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

body.nhgy-lighting-search-page .nhgy-lighting-search-panel {
    --nhgy-lighting-panel-shift-y: 0px;
    transform: translateY(var(--nhgy-lighting-panel-shift-y));
}

.nhgy-lighting-search-calligraphy {
    display: block;
    width: 527px;
    max-width: 100%;
    height: auto;
    opacity: 0;
    animation: nhgy-lighting-search-calligraphy-in 3s ease-in-out both;
}

.nhgy-lighting-search-heading {
    position: relative;
    width: 100%;
    max-width: 453px;
    margin: 0 auto;
    text-align: center;
}

.nhgy-lighting-search-heading h1 {
    margin: 0;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.2;
}

.nhgy-lighting-search-heading p {
    margin: 6px 0 0;
    color: #aa7d51;
    font-size: 20px;
    letter-spacing: normal;
    line-height: 1.5;
}

.nhgy-lighting-search-form {
    width: 453px;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.nhgy-lighting-search-field {
    display: grid;
    gap: 6px;
}

.nhgy-lighting-search-field label {
    color: #212121;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.2;
}

body.nhgy-lighting-search-page .nhgy-lighting-search-field input {
    width: 100%;
    height: 59px;
    padding: 14px;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #212121;
    font: inherit;
    font-size: 22px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(112, 69, 24, 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.nhgy-lighting-search-page .nhgy-lighting-search-field input::placeholder {
    color: #999;
    font-size: 22px;
}

body.nhgy-lighting-search-page .nhgy-lighting-search-field input:focus {
    border-color: #8b4c2d;
    box-shadow: 0 0 0 3px rgba(139, 76, 45, 0.2);
}

.nhgy-lighting-search-submit {
    width: 304px;
    height: 68px;
    max-width: 100%;
    min-height: 68px;
    margin: 20px auto 0;
    border: 0;
    border-radius: 100px;
    background: linear-gradient(180deg, #6b3a2a 0%, #4e271b 100%);
    color: #fff8ed;
    cursor: pointer;
    font: inherit;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1;
    box-shadow: 0 8px 10px rgba(76, 36, 21, 0.1);
    transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nhgy-lighting-search-submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 14px rgba(76, 36, 21, 0.16);
}

.nhgy-lighting-search-submit:active {
    transform: translateY(1px) scale(0.99);
}

.nhgy-lighting-search-submit:focus-visible {
    outline: 3px solid rgba(91, 45, 29, 0.28);
    outline-offset: 4px;
}

@keyframes nhgy-lighting-search-buddha-in {
    0%,
    9.724% {
        opacity: 0;
    }

    69.724%,
    100% {
        opacity: 1;
    }
}

@keyframes nhgy-lighting-search-calligraphy-in {
    0%,
    24.129% {
        opacity: 0;
    }

    78.467%,
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nhgy-lighting-search-screen {
        background-image: url("../img/lighting-search-bg-mobile.png?v=20260818-95");
        background-position: left bottom;
        background-size: cover;
    }

    .nhgy-lighting-search-shell {
        display: block;
        min-height: 100dvh;
        height: auto;
        padding: 245px 0 24px;
    }

    .nhgy-lighting-search-atmosphere {
        display: block;
    }

    .nhgy-lighting-search-buddha {
        position: absolute;
        top: 0;
        left: 50%;
        width: 236px;
        margin: 0;
        transform: translateX(-50%);
    }

    .nhgy-lighting-search-panel {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 20px;
        align-items: stretch;
        gap: 2px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .nhgy-lighting-search-calligraphy {
        width: 100%;
    }

    .nhgy-lighting-search-heading h1 {
        color: #4d2600;
        font-size: 32px;
    }

    .nhgy-lighting-search-heading p {
        margin-top: 2px;
        color: #aa7d51;
        font-size: 16px;
    }

    .nhgy-lighting-search-field label {
        font-size: 20px;
    }

    body.nhgy-lighting-search-page .nhgy-lighting-search-field input {
        height: 42px;
        padding: 0 14px;
        border-radius: 8px;
        font-size: 22px;
    }

    .nhgy-lighting-search-form {
        gap: 12px;
    }

    .nhgy-lighting-search-submit {
        margin: 6px auto 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-search-buddha,
    .nhgy-lighting-search-calligraphy {
        animation: none;
        opacity: 1;
    }

    .nhgy-lighting-search-field input,
    .nhgy-lighting-search-submit {
        transition: none;
    }
}
.nhgy-lighting-search-feedback {
    margin: 0;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 247, 235, 0.84);
    color: #6a3021;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.nhgy-lighting-search-feedback.nhgy-lighting-search-feedback-error {
    margin: 10px 0 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    color: #9D544D;
}

@media (max-width: 768px) {
    .nhgy-lighting-search-feedback.nhgy-lighting-search-feedback-error {
        padding: 6px 10px;
        font-size: 14px;
    }
}

.nhgy-lighting-search-results {
    display: grid;
    gap: 16px;
}

.nhgy-lighting-search-result {
    padding: 22px 24px;
    border: 1px solid rgba(116, 71, 38, 0.16);
    border-radius: 14px;
    background: rgba(255, 249, 238, 0.86);
    box-shadow: 0 12px 24px rgba(112, 69, 24, 0.08);
}

.nhgy-lighting-search-result h2 {
    margin: 0 0 16px;
    color: #4b2b1d;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: 24px;
    line-height: 1.4;
}

.nhgy-lighting-search-result dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.nhgy-lighting-search-result dl > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
}

.nhgy-lighting-search-result dt,
.nhgy-lighting-search-result dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.nhgy-lighting-search-result dt {
    color: #8f6745;
}

.nhgy-lighting-search-result dd {
    color: #4b2b1d;
}

.nhgy-lighting-search-reset {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 22px;
    color: #5b2d1d;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}


html.nhgy-lighting-result-page,
html.nhgy-lighting-result-page body,
body.nhgy-lighting-result-page {
    min-height: 100%;
    margin: 0;
}

body.nhgy-lighting-result-page {
    background: #f6efdf;
    color: #4d2600;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body.nhgy-lighting-result-page *,
body.nhgy-lighting-result-page *::before,
body.nhgy-lighting-result-page *::after {
    box-sizing: border-box;
}

body.nhgy-lighting-result-page button,
body.nhgy-lighting-result-page a {
    -webkit-tap-highlight-color: transparent;
}

.nhgy-lighting-result-screen {
    min-height: 100dvh;
    overflow: hidden;
    background:
        linear-gradient(rgba(246, 239, 223, 0.9), rgba(246, 239, 223, 0.9)),
        url("../img/lighting-result/bg-texture.png") repeat;
    background-size: auto, 350px 350px;
}

.nhgy-lighting-result-hero {
    position: relative;
    width: 100%;
    height: 764px;
    min-height: 764px;
    overflow: hidden;
    background-color: #f6efdf;
    background-image: url("../img/lighting-search-bg.jpg?v=20260818-95");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #4d2600;
}

.nhgy-lighting-result-kv-fluid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nhgy-lighting-result-kv-calligraphy {
    position: absolute;
    top: 100px;
    left: calc(50% - 391px);
    width: 210px;
    height: 344px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nhgy-lighting-result-kv-lamp {
    position: absolute;
    top: 442px;
    left: calc(50% - 501px);
    width: 420px;
    height: 255px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nhgy-lighting-result-kv-content {
    position: absolute;
    top: 160px;
    left: calc(50% + 78px);
    width: 527px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.nhgy-lighting-result-kv-heading-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.nhgy-lighting-result-kv-heading-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    white-space: nowrap;
}

.nhgy-lighting-result-kv-decor {
    flex: 0 0 90px;
    width: 90px;
    height: 34px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nhgy-lighting-result-kv-decor-left {
    transform: rotate(180deg) scaleY(-1);
}

.nhgy-lighting-result-kv-heading-row h1 {
    flex: 0 0 auto;
    margin: 0;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
}

.nhgy-lighting-result-kv-divider {
    width: 527px;
    height: 1px;
    display: block;
    object-fit: fill;
}

.nhgy-lighting-result-kv-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 72px;
    margin: 0;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 72px;
    text-align: center;
    white-space: nowrap;
}

.nhgy-lighting-result-kv-count strong {
    min-width: 38px;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: 64px;
    font-weight: 700;
    line-height: normal;
}

.nhgy-lighting-result-kv-cta {
    width: 304px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 100px;
    background: linear-gradient(180deg, #6b3a2a 0%, #4e271b 100%);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.nhgy-lighting-result-kv-cta:visited,
.nhgy-lighting-result-kv-cta:focus,
.nhgy-lighting-result-kv-cta:active {
    color: #fff;
}

.nhgy-lighting-result-kv-cta:hover,
.nhgy-lighting-result-kv-cta:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.14);
}

.nhgy-lighting-result-kv-scroll {
    position: absolute;
    bottom: 17px;
    left: 50%;
    width: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #6b3a2a;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.nhgy-lighting-result-kv-scroll-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nhgy-lighting-result-kv-scroll-icon img {
    width: 21.23px;
    height: 48.72px;
    display: block;
    object-fit: contain;
    animation: nhgy-lighting-result-kv-arrow-nudge 1.8s ease-in-out infinite;
}

@keyframes nhgy-lighting-result-kv-arrow-nudge {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-result-kv-scroll-icon img {
        animation: none;
    }
}

.nhgy-lighting-result-kv-scroll:hover,
.nhgy-lighting-result-kv-scroll:focus-visible {
    color: #6b3a2a;
}

.nhgy-lighting-result-bottom-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(107, 58, 42, 0.38);
    border-radius: 999px;
    color: #6b3a2a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.nhgy-lighting-result-content {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 46px 0 72px;
}

.nhgy-lighting-result-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 48px;
}

.nhgy-lighting-result-tab {
    min-width: 168px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(107, 58, 42, 0.32);
    border-radius: 999px;
    background: rgba(255, 252, 244, 0.68);
    color: #6b3a2a;
    cursor: pointer;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.12em;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nhgy-lighting-result-tab:hover,
.nhgy-lighting-result-tab.is-active {
    border-color: #6b3a2a;
    background: #6b3a2a;
    color: #f6efdf;
    transform: translateY(-2px);
}

.nhgy-lighting-result-venue[hidden] {
    display: none;
}

.nhgy-lighting-result-venue-heading {
    display: grid;
    grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
    align-items: center;
    gap: 22px;
    margin: 0 auto 38px;
    text-align: center;
}

.nhgy-lighting-result-venue-heading > img {
    width: min(100%, 180px);
    height: 24px;
    object-fit: contain;
}

.nhgy-lighting-result-venue-heading > img:last-child {
    justify-self: end;
}

.nhgy-lighting-result-venue-heading p {
    margin: 0 0 7px;
    color: #936024;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nhgy-lighting-result-venue-heading h2 {
    margin: 0;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.25;
}

.nhgy-lighting-result-venue-heading span {
    display: block;
    margin-top: 8px;
    color: #936024;
    font-family: "Roboto", "Noto Sans TC", sans-serif;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.nhgy-lighting-result-sections {
    display: grid;
    gap: 42px;
}

.nhgy-lighting-result-section {
    scroll-margin-top: 24px;
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid rgba(107, 58, 42, 0.17);
    border-radius: 26px;
    background: rgba(255, 252, 244, 0.88);
    box-shadow: 0 18px 48px rgba(77, 38, 0, 0.08);
}

.nhgy-lighting-result-section-heading,
.nhgy-lighting-result-panorama-heading,
.nhgy-lighting-result-location-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.nhgy-lighting-result-section-heading {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(147, 96, 36, 0.23);
}

.nhgy-lighting-result-section-heading p {
    margin: 0 0 7px;
    color: #936024;
    font-family: "Roboto", "Noto Sans TC", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nhgy-lighting-result-section-heading h3 {
    margin: 0;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.35;
}

.nhgy-lighting-result-section-heading > span {
    flex: 0 0 auto;
    color: #936024;
    font-family: "Roboto", "Noto Sans TC", sans-serif;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.nhgy-lighting-result-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-top: 26px;
}

.nhgy-lighting-result-light-card,
.nhgy-lighting-result-location-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(107, 58, 42, 0.15);
    border-radius: 18px;
    background: #fbf6eb;
}

.nhgy-lighting-result-light-image {
    position: relative;
    height: 248px;
    overflow: hidden;
    background: #d7c2a1;
}

.nhgy-lighting-result-light-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(38, 16, 6, 0.45));
    content: "";
}

.nhgy-lighting-result-light-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nhgy-lighting-result-light-image > span {
    position: absolute;
    right: 20px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 224, 135, 0.78);
    border-radius: 50%;
    background: rgba(255, 192, 61, 0.16);
    box-shadow: 0 0 0 8px rgba(255, 192, 61, 0.08), 0 0 28px rgba(255, 192, 61, 0.46);
}

.nhgy-lighting-result-light-image > span::after {
    position: absolute;
    top: 9px;
    left: 16px;
    width: 8px;
    height: 23px;
    border-radius: 50% 50% 45% 45%;
    background: #ffdb78;
    box-shadow: 0 0 16px #ffbe32;
    content: "";
}

.nhgy-lighting-result-light-copy {
    padding: 22px 24px 24px;
}

.nhgy-lighting-result-light-copy .nhgy-lighting-result-label {
    margin-bottom: 16px;
}

.nhgy-lighting-result-light-copy dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.nhgy-lighting-result-light-copy dl > div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
}

.nhgy-lighting-result-light-copy dt,
.nhgy-lighting-result-light-copy dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.nhgy-lighting-result-light-copy dt {
    color: #936024;
}

.nhgy-lighting-result-light-copy dd {
    color: #4d2600;
    overflow-wrap: anywhere;
}

.nhgy-lighting-result-location-card {
    padding: 24px;
}

.nhgy-lighting-result-location-heading {
    align-items: flex-start;
    margin-bottom: 16px;
}

.nhgy-lighting-result-location-heading h4,
.nhgy-lighting-result-panorama-heading h4 {
    margin: 8px 0 0;
    color: #4d2600;
    font-family: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    font-size: 23px;
    line-height: 1.35;
}

.nhgy-lighting-result-location-heading > span {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(147, 96, 36, 0.12);
    color: #936024;
    font-size: 13px;
    line-height: 1.2;
}

.nhgy-lighting-result-map {
    position: relative;
    min-height: 256px;
    overflow: hidden;
    padding: 34px 18px 36px 48px;
    border: 1px solid rgba(147, 96, 36, 0.26);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(244, 224, 179, 0.88), rgba(251, 246, 235, 0.95)),
        url("../img/lighting-result/bg-texture.png") repeat;
    background-size: auto, 180px 180px;
}

.nhgy-lighting-result-map-ruler {
    position: absolute;
    z-index: 1;
    display: flex;
    color: #936024;
    font-family: "Roboto", "Noto Sans TC", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.nhgy-lighting-result-map-ruler-top {
    top: 12px;
    right: 18px;
    left: 48px;
    justify-content: space-between;
}

.nhgy-lighting-result-map-ruler-side {
    top: 34px;
    bottom: 36px;
    left: 15px;
    flex-direction: column;
    justify-content: space-between;
}

.nhgy-lighting-result-map-surface {
    position: relative;
    height: 178px;
}

.nhgy-lighting-result-map-grid {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(107, 58, 42, 0.24);
    background-image:
        linear-gradient(to right, rgba(107, 58, 42, 0.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(107, 58, 42, 0.18) 1px, transparent 1px);
    background-size: 12.5% 14.2857%;
}

.nhgy-lighting-result-map-marker {
    position: absolute;
    z-index: 2;
    top: var(--marker-y);
    left: var(--marker-x);
    width: clamp(18px, 4vw, 30px);
    aspect-ratio: 1;
    border: 2px solid #fff6dd;
    border-radius: 50%;
    background: #b36e1d;
    box-shadow: 0 0 0 5px rgba(179, 110, 29, 0.24), 0 5px 12px rgba(77, 38, 0, 0.24);
    transform: translate(-50%, -50%);
}

.nhgy-lighting-result-map-marker > span {
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background: #ffd66d;
    box-shadow: 0 0 14px rgba(255, 198, 63, 0.9);
}

.nhgy-lighting-result-map-caption {
    position: absolute;
    right: 18px;
    bottom: 12px;
    left: 48px;
    margin: 0;
    color: #6b3a2a;
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: center;
}

.nhgy-lighting-result-focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding: 0 16px;
    border: 1px solid rgba(107, 58, 42, 0.36);
    border-radius: 8px;
    background: transparent;
    color: #6b3a2a;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background-color 180ms ease, color 180ms ease;
}

.nhgy-lighting-result-focus:hover {
    background: #6b3a2a;
    color: #f6efdf;
}

.nhgy-lighting-result-panorama {
    margin-top: 26px;
    overflow: hidden;
    border-radius: 18px;
    background: #2c180e;
    color: #f6efdf;
}

.nhgy-lighting-result-panorama-heading {
    align-items: center;
    padding: 20px 22px 17px;
}

.nhgy-lighting-result-panorama-heading h4 {
    color: #f6efdf;
    font-size: 20px;
}

.nhgy-lighting-result-panorama-controls {
    display: flex;
    gap: 8px;
}

.nhgy-lighting-result-panorama-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(246, 239, 223, 0.42);
    border-radius: 50%;
    background: transparent;
    color: #f6efdf;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.nhgy-lighting-result-panorama-controls button:hover {
    border-color: #f7c96d;
    background: rgba(247, 201, 109, 0.18);
}

.nhgy-lighting-result-panorama-viewport {
    position: relative;
    height: clamp(180px, 27vw, 292px);
    overflow: hidden;
    background: #1f120c;
    cursor: grab;
    touch-action: pan-y;
}

.nhgy-lighting-result-panorama-viewport.is-dragging {
    cursor: grabbing;
}

.nhgy-lighting-result-panorama-image {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    user-select: none;
    will-change: transform;
}

.nhgy-lighting-result-panorama-marker {
    position: absolute;
    z-index: 2;
    top: 54%;
    left: 50%;
    width: 24px;
    height: 34px;
    border: 3px solid #fff7dc;
    border-radius: 50% 50% 50% 0;
    background: #c07621;
    box-shadow: 0 0 0 6px rgba(192, 118, 33, 0.28), 0 0 22px rgba(255, 209, 95, 0.78);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nhgy-lighting-result-panorama-marker::after {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #ffd66d;
    content: "";
}

.nhgy-lighting-result-panorama-note {
    margin: 0;
    padding: 12px 22px 18px;
    color: rgba(246, 239, 223, 0.72);
    font-size: 13px;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.nhgy-lighting-result-bottom-reset {
    width: 220px;
    margin: 48px auto 0;
    border-color: rgba(107, 58, 42, 0.38);
    color: #6b3a2a;
}

.nhgy-lighting-result-bottom-reset:hover,
.nhgy-lighting-result-bottom-reset:focus-visible {
    background: rgba(107, 58, 42, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .nhgy-lighting-result-hero {
        height: 680px;
        min-height: 680px;
    }

    .nhgy-lighting-result-kv-calligraphy {
        top: 76px;
        left: 8%;
        width: 170px;
        height: 279px;
    }

    .nhgy-lighting-result-kv-lamp {
        top: 410px;
        left: 3%;
        width: 350px;
        height: 213px;
    }

    .nhgy-lighting-result-kv-content {
        top: 142px;
        right: 5%;
        left: auto;
        width: min(527px, 52vw);
        gap: 40px;
    }

    .nhgy-lighting-result-kv-heading-row {
        gap: 18px;
    }

    .nhgy-lighting-result-kv-decor {
        flex-basis: 72px;
        width: 72px;
        height: 27px;
    }

    .nhgy-lighting-result-kv-heading-row h1 {
        font-size: 42px;
    }

    .nhgy-lighting-result-kv-divider {
        width: 100%;
    }

    .nhgy-lighting-result-kv-count {
        font-size: 34px;
        line-height: 62px;
    }

    .nhgy-lighting-result-kv-count strong {
        font-size: 54px;
    }

    .nhgy-lighting-result-kv-cta {
        width: 260px;
        height: 60px;
        font-size: 22px;
    }
}

@media (max-width: 900px) {
    .nhgy-lighting-result-section-grid {
        grid-template-columns: 1fr;
    }

    .nhgy-lighting-result-light-image {
        height: clamp(190px, 34vw, 280px);
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-hero {
        height: 820px;
        min-height: 820px;
        background-position: 28% center;
    }

    .nhgy-lighting-result-kv-calligraphy {
        top: 44px;
        left: 20px;
        width: 120px;
        height: 197px;
    }

    .nhgy-lighting-result-kv-lamp {
        top: auto;
        bottom: 100px;
        left: 8px;
        width: 300px;
        height: 183px;
    }

    .nhgy-lighting-result-kv-content {
        top: 260px;
        right: auto;
        left: 50%;
        width: calc(100% - 32px);
        gap: 34px;
        transform: translateX(-50%);
    }

    .nhgy-lighting-result-kv-heading-block {
        gap: 28px;
    }

    .nhgy-lighting-result-kv-heading-row {
        gap: 10px;
    }

    .nhgy-lighting-result-kv-decor {
        flex-basis: 62px;
        width: 62px;
        height: 24px;
    }

    .nhgy-lighting-result-kv-heading-row h1 {
        font-size: 32px;
    }

    .nhgy-lighting-result-kv-count {
        gap: 12px;
        min-height: 58px;
        font-size: 28px;
        line-height: 58px;
    }

    .nhgy-lighting-result-kv-count strong {
        min-width: 30px;
        font-size: 48px;
    }

    .nhgy-lighting-result-kv-cta {
        width: 220px;
        height: 56px;
        font-size: 20px;
    }

    .nhgy-lighting-result-kv-scroll {
        bottom: 12px;
        font-size: 14px;
    }

    .nhgy-lighting-result-kv-scroll-icon {
        width: 44px;
        height: 44px;
    }

    .nhgy-lighting-result-kv-scroll-icon img {
        width: 16px;
        height: 37px;
    }

    .nhgy-lighting-result-content {
        width: min(100% - 32px, 520px);
        padding-top: 32px;
    }

    .nhgy-lighting-result-tabs {
        margin-bottom: 32px;
    }

    .nhgy-lighting-result-tab {
        min-width: 0;
        flex: 1 1 0;
        padding: 0 12px;
        font-size: 15px;
    }

    .nhgy-lighting-result-venue-heading {
        gap: 12px;
        margin-bottom: 28px;
    }

    .nhgy-lighting-result-venue-heading > img {
        height: 17px;
    }

    .nhgy-lighting-result-section {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .nhgy-lighting-result-section-heading {
        display: block;
    }

    .nhgy-lighting-result-section-heading > span {
        display: block;
        margin-top: 10px;
        font-size: 14px;
    }

    .nhgy-lighting-result-location-card {
        padding: 18px;
    }

    .nhgy-lighting-result-panorama-heading {
        padding: 16px 16px 14px;
    }

    .nhgy-lighting-result-panorama-heading h4 {
        font-size: 17px;
    }

    .nhgy-lighting-result-panorama-note {
        padding-right: 16px;
        padding-left: 16px;
    }
}

.nhgy-lighting-result-back-to-top {
    position: fixed;
    z-index: 20;
    right: 40px;
    bottom: 64px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    color: #af8a35;
    background: #fffcf6;
    box-shadow: 0 4px 20px rgba(95, 50, 36, 0.1);
    font: 700 18px/1.2 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.nhgy-lighting-result-back-to-top:visited,
.nhgy-lighting-result-back-to-top:focus,
.nhgy-lighting-result-back-to-top:active,
.nhgy-lighting-result-back-to-top:hover,
.nhgy-lighting-result-back-to-top:focus-visible {
    color: #af8a35;
}

.nhgy-lighting-result-back-to-top:hover,
.nhgy-lighting-result-back-to-top:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(95, 50, 36, 0.14);
}

.nhgy-lighting-result-back-to-top:focus-visible {
    outline: 3px solid #af8a35;
    outline-offset: 3px;
}

.nhgy-lighting-result-back-to-top img {
    width: 21px;
    height: 37px;
    transform: rotate(90deg);
}

.nhgy-lighting-result-back-to-top > span {
    display: block;
    width: 100%;
}

@media (max-width: 1100px) {
    .nhgy-lighting-result-back-to-top {
        right: 16px;
        bottom: 24px;
        width: 72px;
        height: 72px;
        gap: 4px;
        font-size: 14px;
    }

    .nhgy-lighting-result-back-to-top img {
        width: 15px;
        height: 26px;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-back-to-top {
        right: 10px;
        bottom: 77px;
        width: 66px;
        height: 66px;
        gap: 2px;
        border-radius: 70.768px;
        box-shadow: 0 2px 12px rgba(95, 50, 36, 0.1);
        font-size: 12px;
    }

    .nhgy-lighting-result-back-to-top img {
        width: 14px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-result-back-to-top {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-result-page *,
    .nhgy-lighting-result-page *::before,
    .nhgy-lighting-result-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Figma result section */
.nhgy-lighting-result-screen {
    overflow-x: hidden;
    overflow-y: visible;
    background: #f6efdf;
}

.nhgy-lighting-result-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nhgy-lighting-result-design {
    width: 100%;
    color: #4d2600;
    background: #f6efdf;
}

.nhgy-lighting-result-photo-switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    background:
        linear-gradient(rgba(246, 239, 223, 0.92), rgba(246, 239, 223, 0.92)),
        url("../img/lighting-result/bg-texture.png") repeat;
    background-size: auto, 350px 350px;
}

.nhgy-lighting-result-photo-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nhgy-lighting-result-photo-tab {
    min-width: 180px;
    height: 52px;
    padding: 0 30px;
    border: 1px solid rgba(107, 58, 42, 0.24);
    border-radius: 999px;
    background: rgba(255, 252, 244, 0.62);
    color: #6b3a2a;
    font: 600 18px/1 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nhgy-lighting-result-photo-tab:hover,
.nhgy-lighting-result-photo-tab:focus-visible,
.nhgy-lighting-result-photo-tab.is-active {
    border-color: #6b3a2a;
    background: #6b3a2a;
    color: #fffaf1;
}

.nhgy-lighting-result-photo-tab:focus-visible {
    outline: 3px solid rgba(147, 96, 36, 0.35);
    outline-offset: 3px;
}

.nhgy-lighting-result-photo-tab:hover {
    transform: translateY(-2px);
}

.nhgy-lighting-result-photo-stage {
    position: relative;
    width: min(1320px, calc(100% - 120px));
    height: 600px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(107, 58, 42, 0.16);
    border-radius: 2px;
    background: #e7ddcc;
    box-shadow: 0 14px 30px rgba(79, 45, 22, 0.08);
}

.nhgy-lighting-result-photo-panel {
    width: 100%;
    height: 500px;
}

.nhgy-lighting-result-photo-panel[hidden] {
    display: none;
}

.nhgy-lighting-result-photo-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    background: #d4c0a5;
    touch-action: pan-y;
}

.nhgy-lighting-result-photo-viewport:active {
    cursor: grabbing;
}

.nhgy-lighting-result-photo-image {
    display: block;
    width: auto;
    min-width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    user-select: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.nhgy-lighting-result-photo-controls {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
    width: min(1160px, calc(100% - 80px));
    height: 40px;
    margin: 20px auto 0;
    color: rgba(77, 38, 0, 0.64);
}

.nhgy-lighting-result-photo-controls button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nhgy-lighting-result-photo-controls button:first-child {
    justify-self: start;
}

.nhgy-lighting-result-photo-controls button:last-child {
    justify-self: end;
}

.nhgy-lighting-result-photo-controls button:hover,
.nhgy-lighting-result-photo-controls button:focus-visible {
    transform: scale(1.08);
}

.nhgy-lighting-result-photo-controls button:focus-visible {
    outline: 3px solid rgba(147, 96, 36, 0.35);
    outline-offset: 3px;
}

.nhgy-lighting-result-photo-controls img {
    width: 40px;
    height: 40px;
    display: block;
}

.nhgy-lighting-result-photo-controls p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.nhgy-lighting-result-info-area {
    width: min(1320px, calc(100% - 120px));
    margin: 0 auto;
    padding: 80px 0 100px;
}

.nhgy-lighting-result-design-section {
    padding: 0 0 86px;
}

.nhgy-lighting-result-design-section + .nhgy-lighting-result-design-section {
    padding-top: 12px;
}

.nhgy-lighting-result-design-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 40px;
    margin: 0 0 44px;
}

.nhgy-lighting-result-design-heading h2 {
    flex: 0 0 auto;
    margin: 0;
    color: #6b3a2a;
    font: 600 32px/1.35 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
}

.nhgy-lighting-result-design-line {
    flex: 1 1 0;
    width: 100%;
    height: 1px;
    display: block;
    object-fit: fill;
}

.nhgy-lighting-result-design-decor {
    flex: 0 0 90px;
    width: 90px;
    height: 34px;
    display: block;
    object-fit: fill;
}

.nhgy-lighting-result-design-decor-left {
    transform: rotate(180deg) scaleY(-1);
}

.nhgy-lighting-result-design-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.88fr) minmax(0, 1fr);
    align-items: start;
    gap: 36px;
}

.nhgy-lighting-result-design-info-column,
.nhgy-lighting-result-design-map-column,
.nhgy-lighting-result-design-photo-column {
    min-width: 0;
}

.nhgy-lighting-result-design-info-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.nhgy-lighting-result-design-donor-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 2px;
    background: #d7b44d;
}

.nhgy-lighting-result-design-donor-card::after {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(180deg, rgba(41, 18, 0, 0) 44%, rgba(41, 18, 0, 0.66) 100%);
    content: "";
}

.nhgy-lighting-result-design-donor-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nhgy-lighting-result-design-donor-card span {
    position: absolute;
    z-index: 1;
    right: 26px;
    bottom: 22px;
    left: 26px;
    color: #fff8e8;
    font: 600 24px/1.35 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    text-align: center;
    text-shadow: 0 2px 8px rgba(48, 20, 0, 0.28);
}

.nhgy-lighting-result-design-details {
    padding: 0 6px;
}

.nhgy-lighting-result-design-bless {
    margin: 0 0 22px;
    color: #6b3a2a;
    font: 600 23px/1.65 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
}

.nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless) {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 0;
    color: #6b3a2a;
    font-size: 17px;
    line-height: 1.6;
}

.nhgy-lighting-result-design-details strong {
    color: #4d2600;
    font-weight: 700;
}

.nhgy-lighting-result-design-map-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nhgy-lighting-result-design-map-column h3 {
    margin: 0 0 26px;
    color: #6b3a2a;
    font: 600 24px/1.4 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
}

.nhgy-lighting-result-design-map {
    position: relative;
    width: min(100%, 360px);
    padding: 28px 22px 22px 36px;
}

.nhgy-lighting-result-design-map-axis {
    position: absolute;
    display: grid;
    color: rgba(107, 58, 42, 0.78);
    font-size: 13px;
    line-height: 1;
    text-align: center;
}

.nhgy-lighting-result-design-map-axis-top {
    top: 6px;
    right: 22px;
    left: 36px;
    grid-template-columns: repeat(var(--map-cols), minmax(0, 1fr));
}

.nhgy-lighting-result-design-map-axis-side {
    top: 28px;
    bottom: 22px;
    left: 5px;
    grid-template-rows: repeat(var(--map-rows), minmax(0, 1fr));
    align-items: center;
    width: 20px;
}

.nhgy-lighting-result-design-map-grid {
    display: grid;
    grid-template-columns: repeat(var(--map-cols), minmax(0, 1fr));
    grid-template-rows: repeat(var(--map-rows), minmax(22px, 1fr));
    overflow: hidden;
    border: 1px solid rgba(147, 96, 36, 0.62);
    background:
        linear-gradient(rgba(147, 96, 36, 0.48) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 96, 36, 0.48) 1px, transparent 1px),
        rgba(255, 249, 231, 0.38);
    background-size: calc(100% / var(--map-cols)) calc(100% / var(--map-rows));
}

.nhgy-lighting-result-design-map-cell {
    position: relative;
    min-height: 24px;
    border-right: 1px solid rgba(147, 96, 36, 0.48);
    border-bottom: 1px solid rgba(147, 96, 36, 0.48);
}

.nhgy-lighting-result-design-map-cell.is-selected {
    background: rgba(180, 102, 38, 0.38);
}

.nhgy-lighting-result-design-map-cell.is-selected::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid #fff9e8;
    border-radius: 50%;
    background: #a84c24;
    box-shadow: 0 0 0 3px rgba(168, 76, 36, 0.18);
    content: "";
    transform: translate(-50%, -50%);
}

.nhgy-lighting-result-design-map-code {
    margin: 16px 0 0;
    color: #6b3a2a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
}

.nhgy-lighting-result-design-photo-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.nhgy-lighting-result-design-detail-photo {
    width: 100%;
    height: 290px;
    overflow: hidden;
    border-radius: 2px;
    background: #d7b44d;
}

.nhgy-lighting-result-design-detail-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.nhgy-lighting-result-design-detail-viewport:active {
    cursor: grabbing;
}

.nhgy-lighting-result-design-detail-image {
    display: block;
    width: auto;
    min-width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    user-select: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.nhgy-lighting-result-design-detail-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.nhgy-lighting-result-design-detail-controls button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #6b3a2a;
    font: 500 16px/1.4 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    cursor: pointer;
}

.nhgy-lighting-result-design-detail-controls button:hover,
.nhgy-lighting-result-design-detail-controls button:focus-visible {
    color: #a84c24;
}

.nhgy-lighting-result-design-detail-controls button:focus-visible {
    outline: 3px solid rgba(147, 96, 36, 0.35);
    outline-offset: 3px;
}

.nhgy-lighting-result-design-reset {
    width: fit-content;
    display: block;
    margin: 12px auto 0;
    padding: 12px 26px;
    border: 1px solid rgba(107, 58, 42, 0.4);
    border-radius: 999px;
    color: #6b3a2a;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nhgy-lighting-result-design-reset:hover,
.nhgy-lighting-result-design-reset:focus-visible {
    background: #6b3a2a;
    color: #fffaf1;
    transform: translateY(-2px);
}

.nhgy-lighting-result-design-reset:focus-visible {
    outline: 3px solid rgba(147, 96, 36, 0.35);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .nhgy-lighting-result-photo-stage {
        width: min(100% - 64px, 920px);
    }

    .nhgy-lighting-result-info-area {
        width: min(100% - 64px, 920px);
    }

    .nhgy-lighting-result-design-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: 30px;
    }

    .nhgy-lighting-result-design-photo-column {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-photo-switcher {
        padding: 32px 0 40px;
    }

    .nhgy-lighting-result-photo-tabs {
        width: calc(100% - 32px);
        gap: 10px;
        margin-bottom: 12px;
    }

    .nhgy-lighting-result-photo-tab {
        min-width: 0;
        flex: 1 1 0;
        height: 44px;
        padding: 0 10px;
        font-size: 15px;
    }

    .nhgy-lighting-result-photo-stage {
        width: calc(100% - 32px);
        height: 360px;
        padding: 10px;
    }

    .nhgy-lighting-result-photo-panel {
        height: 300px;
    }

    .nhgy-lighting-result-photo-controls {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        width: calc(100% - 12px);
        height: 30px;
        margin-top: 10px;
    }

    .nhgy-lighting-result-photo-controls button,
    .nhgy-lighting-result-photo-controls img {
        width: 30px;
        height: 30px;
    }

    .nhgy-lighting-result-photo-controls p {
        font-size: 13px;
    }

    .nhgy-lighting-result-info-area {
        width: calc(100% - 32px);
        padding: 46px 0 64px;
    }

    .nhgy-lighting-result-design-section {
        padding-bottom: 60px;
    }

    .nhgy-lighting-result-design-heading {
        gap: 8px;
        margin-bottom: 28px;
    }

    .nhgy-lighting-result-design-heading h2 {
        font-size: 22px;
        letter-spacing: 0.04em;
    }

    .nhgy-lighting-result-design-decor {
        flex-basis: 42px;
        width: 42px;
        height: 17px;
    }

    .nhgy-lighting-result-design-grid {
        display: flex;
        flex-direction: column;
        gap: 34px;
    }

    .nhgy-lighting-result-design-info-column,
    .nhgy-lighting-result-design-map-column,
    .nhgy-lighting-result-design-photo-column {
        width: 100%;
    }

    .nhgy-lighting-result-design-donor-card {
        height: 230px;
    }

    .nhgy-lighting-result-design-donor-card span {
        right: 16px;
        bottom: 16px;
        left: 16px;
        font-size: 21px;
    }

    .nhgy-lighting-result-design-bless {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless) {
        font-size: 15px;
    }

    .nhgy-lighting-result-design-map-column h3 {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .nhgy-lighting-result-design-map {
        width: min(100%, 340px);
    }

    .nhgy-lighting-result-design-photo-column {
        max-width: none;
    }

    .nhgy-lighting-result-design-detail-photo {
        height: 220px;
    }

    .nhgy-lighting-result-design-detail-controls {
        gap: 8px;
    }

    .nhgy-lighting-result-design-detail-controls button {
        gap: 7px;
        font-size: 13px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-result-page .nhgy-lighting-result-photo-tab,
    .nhgy-lighting-result-page .nhgy-lighting-result-photo-controls button,
    .nhgy-lighting-result-page .nhgy-lighting-result-design-reset {
        transition: none;
    }

    .nhgy-lighting-result-page .nhgy-lighting-result-photo-image,
    .nhgy-lighting-result-page .nhgy-lighting-result-design-detail-image {
        will-change: auto;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-design-line {
        min-width: 0;
    }
}

/* Figma result convergence */
.nhgy-lighting-result-screen {
    overflow-x: hidden;
    overflow-y: visible;
}

.nhgy-lighting-result-kv-calligraphy {
    animation: nhgy-lighting-result-kv-calligraphy-opacity 3s linear both,
        nhgy-lighting-result-kv-calligraphy-transform 3s linear both;
    transform-origin: center;
    will-change: opacity, transform;
}

@keyframes nhgy-lighting-result-kv-calligraphy-opacity {
    0%,
    10.105% {
        opacity: 0;
    }

    10.105% {
        animation-timing-function: cubic-bezier(0.22, 0, 0.42, 1);
    }

    34.855%,
    100% {
        opacity: 1;
    }
}

@keyframes nhgy-lighting-result-kv-calligraphy-transform {
    0% {
        transform: translateY(-85px) scale(1.07, 0.93);
    }

    10.105% {
        animation-timing-function: cubic-bezier(0.12, 1, 0.28, 1);
        transform: translateY(-85px) scale(1.07, 0.93);
    }

    55.105%,
    100% {
        transform: translateY(0) scale(1, 1);
    }
}

.nhgy-lighting-result-photo-tabs {
    gap: 20px;
    margin-bottom: 20px;
}

.nhgy-lighting-result-photo-tab {
    width: 200px;
    min-width: 200px;
    height: 69px;
    padding: 0;
    font: 400 24px/1.2 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.nhgy-lighting-result-photo-stage {
    width: min(1320px, calc(100% - 120px));
    height: 600px;
    padding: 20px;
}

.nhgy-lighting-result-photo-panel,
.nhgy-lighting-result-photo-viewport {
    height: 536px;
}

.nhgy-lighting-result-photo-controls {
    position: absolute;
    right: 20px;
    bottom: 16px;
    left: 20px;
    width: auto;
    height: 40px;
    margin: 0;
}

.nhgy-lighting-result-photo-controls p {
    font-size: 30px;
}

.nhgy-lighting-result-info-area {
    width: min(1320px, calc(100% - 120px));
    padding: 80px 0 100px;
}

.nhgy-lighting-result-design-section {
    padding-bottom: 86px;
}

.nhgy-lighting-result-design-section + .nhgy-lighting-result-design-section {
    padding-top: 12px;
}

.nhgy-lighting-result-design-heading {
    gap: 16px;
    margin-bottom: 15px;
}

.nhgy-lighting-result-design-heading h2 {
    color: #936024;
    font-size: 30px;
}

.nhgy-lighting-result-design-grid {
    grid-template-columns: 340px var(--map-viewport-width, 235px) 500px;
    justify-content: center;
    gap: var(--section-gap, 30px);
}

.nhgy-lighting-result-design-info-column,
.nhgy-lighting-result-design-map-column,
.nhgy-lighting-result-design-photo-column {
    width: auto;
}

.nhgy-lighting-result-design-info-column {
    gap: 24px;
}

.nhgy-lighting-result-design-donor-card {
    width: 340px;
    height: auto;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.nhgy-lighting-result-design-donor-card::after {
    display: none;
}

.nhgy-lighting-result-design-donor-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2632 / 2985;
    object-fit: cover;
}

.nhgy-lighting-result-design-donor-card span {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    color: #4d2600;
    background: #f1d78d;
    font: 600 24px/1 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    text-shadow: none;
}

.nhgy-lighting-result-design-details {
    padding: 0;
}

.nhgy-lighting-result-design-bless {
    margin: 0 0 24px;
    color: #4d2600;
    font: 600 30px/1.3 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
}

.nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless) {
    gap: 8px;
    margin: 12px 0 0;
    color: #4d2600;
    font-size: 20px;
    line-height: 1.45;
}

.nhgy-lighting-result-design-details strong {
    color: #4d2600;
}

.nhgy-lighting-result-design-map-column {
    align-items: center;
    min-width: 0;
}

.nhgy-lighting-result-design-map-column h3 {
    margin: 0 0 20px;
    color: #936024;
    font-size: 24px;
}

.nhgy-lighting-result-design-map {
    box-sizing: border-box;
    width: var(--map-viewport-width, 235px);
    height: calc(var(--map-grid-height) + 20px);
    padding: 20px 0 0 25px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nhgy-lighting-result-design-map::-webkit-scrollbar {
    display: none;
}

.nhgy-lighting-result-design-map-axis {
    z-index: 1;
    color: #936024;
    font-size: 18px;
}

.nhgy-lighting-result-design-map-axis-top {
    top: 0;
    right: auto;
    left: 25px;
    width: var(--map-grid-width);
    grid-template-columns: repeat(var(--map-cols), var(--map-cell-size));
    gap: var(--map-gap);
}

.nhgy-lighting-result-design-map-axis-side {
    top: 20px;
    bottom: auto;
    left: 0;
    width: 20px;
    height: var(--map-grid-height);
    grid-template-rows: repeat(var(--map-rows), var(--map-cell-size));
    gap: var(--map-gap);
}

.nhgy-lighting-result-design-map-grid {
    width: var(--map-grid-width);
    grid-template-columns: repeat(var(--map-cols), var(--map-cell-size));
    grid-template-rows: repeat(var(--map-rows), var(--map-cell-size));
    gap: var(--map-gap);
    overflow: visible;
    border: 0;
    background: none;
}

.nhgy-lighting-result-design-map-cell {
    width: var(--map-cell-size);
    min-height: 0;
    height: var(--map-cell-size);
    border: 0;
    border-radius: 4px;
    background: radial-gradient(circle at 32% 26%, rgba(245, 200, 66, 0.2) 0%, rgba(239, 185, 45, 0.2) 20%, rgba(232, 169, 24, 0.2) 40%, rgba(196, 124, 10, 0.2) 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 220, 80, 0.55), inset 0 -2px 4px rgba(120, 60, 0, 0.35);
}

.nhgy-lighting-result-design-map-cell.is-selected {
    background: radial-gradient(circle at 32% 26%, rgba(245, 200, 66, 1) 0%, rgba(239, 185, 45, 1) 20%, rgba(232, 169, 24, 1) 40%, rgba(196, 124, 10, 1) 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 220, 80, 0.55), inset 0 -2px 4px rgba(120, 60, 0, 0.35);
}

.nhgy-lighting-result-design-map-cell.is-missing {
    visibility: hidden;
    pointer-events: none;
}

.nhgy-lighting-result-design-map-cell.is-selected::after {
    display: none;
}

.nhgy-lighting-result-design-map-code {
    margin: 12px 0 0;
    font-size: 18px;
    font-weight: 500;
}

.nhgy-lighting-result-design-detail-photo {
    width: 500px;
    height: 450px;
    border-radius: 0;
}

.nhgy-lighting-result-design-detail-viewport {
    height: 450px;
}

.nhgy-lighting-result-design-section[data-venue-key="nhgy-ysysd"] .nhgy-lighting-result-design-detail-image {
    height: 488px;
}

.nhgy-lighting-result-design-detail-controls {
    gap: 16px;
    margin-top: 18px;
}

.nhgy-lighting-result-design-detail-controls button {
    font-size: 18px;
}

.nhgy-lighting-result-design-reset {
    position: fixed;
    z-index: 20;
    right: 40px;
    bottom: 180px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #4d2600;
    background: radial-gradient(circle at 34% 28%, #ffeaa0 0%, #d6a33d 55%, #a96d20 100%);
    box-shadow: 0 7px 14px rgba(91, 49, 11, 0.24), inset 0 1px 1px rgba(255, 249, 188, 0.8);
    font: 600 18px/1.2 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.nhgy-lighting-result-design-reset:hover,
.nhgy-lighting-result-design-reset:focus-visible {
    color: #4d2600;
    background: radial-gradient(circle at 34% 28%, #fff0af 0%, #e0b04a 55%, #b87820 100%);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .nhgy-lighting-result-photo-stage,
    .nhgy-lighting-result-info-area {
        width: min(100% - 64px, 920px);
    }

    .nhgy-lighting-result-design-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: 30px;
    }

    .nhgy-lighting-result-design-photo-column {
        grid-column: 1 / -1;
        width: min(100%, 500px);
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-photo-switcher {
        padding: 32px 0 40px;
    }

    .nhgy-lighting-result-photo-tabs {
        width: calc(100% - 32px);
        gap: 10px;
        margin-bottom: 12px;
    }

    .nhgy-lighting-result-photo-tab {
        width: auto;
        min-width: 0;
        height: 44px;
        flex: 1 1 0;
        padding: 0 10px;
        font-size: 15px;
    }

    .nhgy-lighting-result-photo-stage {
        width: calc(100% - 32px);
        height: 360px;
        padding: 10px;
    }

    .nhgy-lighting-result-photo-panel,
    .nhgy-lighting-result-photo-viewport {
        height: 300px;
    }

    .nhgy-lighting-result-photo-controls {
        position: static;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        width: calc(100% - 12px);
        height: 30px;
        margin: 10px auto 0;
    }

    .nhgy-lighting-result-photo-controls p {
        font-size: 13px;
    }

    .nhgy-lighting-result-info-area {
        width: calc(100% - 32px);
        padding: 46px 0 64px;
    }

    .nhgy-lighting-result-design-section {
        padding-bottom: 60px;
    }

    .nhgy-lighting-result-design-heading {
        gap: 8px;
        margin-bottom: 28px;
    }

    .nhgy-lighting-result-design-heading h2 {
        font-size: 22px;
    }

    .nhgy-lighting-result-design-decor {
        flex-basis: 42px;
        width: 42px;
        height: 17px;
    }

    .nhgy-lighting-result-design-grid {
        display: flex;
        flex-direction: column;
        gap: 34px;
    }

    .nhgy-lighting-result-design-info-column,
    .nhgy-lighting-result-design-map-column,
    .nhgy-lighting-result-design-photo-column {
        width: 100%;
    }

    .nhgy-lighting-result-design-donor-card {
        width: 100%;
    }

    .nhgy-lighting-result-design-donor-card span {
        height: 58px;
        font-size: 21px;
    }

    .nhgy-lighting-result-design-bless {
        margin-bottom: 14px;
        font-size: 30px;
    }

    .nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless) {
        font-size: 18px;
    }

    .nhgy-lighting-result-design-map-column h3 {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .nhgy-lighting-result-design-map {
        width: 100%;
        max-width: 100%;
    }

    .nhgy-lighting-result-design-photo-column {
        max-width: none;
    }

    .nhgy-lighting-result-design-detail-photo,
    .nhgy-lighting-result-design-detail-viewport {
        width: 100%;
        height: 220px;
    }

    .nhgy-lighting-result-design-section[data-venue-key="nhgy-ysysd"] .nhgy-lighting-result-design-detail-image {
        height: 220px;
    }

    .nhgy-lighting-result-design-detail-controls {
        gap: 8px;
    }

    .nhgy-lighting-result-design-detail-controls button {
        gap: 7px;
        font-size: 13px;
    }

    .nhgy-lighting-result-design-reset {
        right: 16px;
        bottom: 112px;
        width: 72px;
        height: 72px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-result-kv-calligraphy {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Figma photo switcher convergence */
.nhgy-lighting-result-photo-switcher {
    padding: 60px 0;
}

.nhgy-lighting-result-photo-tabs {
    gap: 20px;
    margin-bottom: 20px;
}

.nhgy-lighting-result-photo-tab {
    width: 200px;
    min-width: 200px;
    height: 69px;
    padding: 0;
    border: 1px solid #6b3a2a;
    border-radius: 100px;
    background: transparent;
    color: #6b3a2a;
    font: 500 24px/1.2 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.nhgy-lighting-result-photo-tab.is-active {
    background: #6b3a2a;
    color: #fff;
}

.nhgy-lighting-result-photo-tab:hover,
.nhgy-lighting-result-photo-tab:focus-visible {
    transform: none;
}

.nhgy-lighting-result-photo-tab:hover:not(.is-active) {
    border-color: #6b3a2a;
    background: transparent;
    color: #6b3a2a;
}

.nhgy-lighting-result-photo-stage {
    box-sizing: border-box;
    width: min(1320px, calc(100% - 120px));
    height: auto;
    padding: 20px;
    border: 0;
    border-radius: 0;
    background: #e5dac8;
    box-shadow: none;
}

.nhgy-lighting-result-photo-panel {
    width: 100%;
    height: auto;
}

.nhgy-lighting-result-photo-panel[hidden] {
    display: none;
}

.nhgy-lighting-result-photo-panel.is-active:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-ysysd"] .nhgy-lighting-result-photo-viewport {
    width: 100%;
    height: 500px;
}

.nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-ysysd"] .nhgy-lighting-result-photo-image {
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 536px;
}

.nhgy-lighting-result-photo-controls {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: min(1160px, 100%);
    height: 40px;
    margin: 0;
}

.nhgy-lighting-result-photo-controls button,
.nhgy-lighting-result-photo-controls button:hover,
.nhgy-lighting-result-photo-controls button:focus-visible {
    border: 0;
    background: transparent;
    background-color: transparent;
    color: inherit;
}

.nhgy-lighting-result-photo-controls button:first-child,
.nhgy-lighting-result-photo-controls button:last-child {
    justify-self: auto;
}

.nhgy-lighting-result-photo-controls p {
    margin: 0;
    color: #6b3a2a;
    font: 500 30px/1.2 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.nhgy-lighting-result-photo-controls button:last-child img {
    transform: rotate(180deg);
}

.nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-qgryb"] .nhgy-lighting-result-photo-viewport {
    width: 100%;
    height: auto;
    aspect-ratio: 1280 / 632;
    overflow: hidden;
    cursor: default;
    touch-action: auto;
}

.nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-qgryb"] .nhgy-lighting-result-photo-image {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
    will-change: auto;
    user-select: none;
}

@media (max-width: 680px) {
    .nhgy-lighting-result-photo-stage {
        width: calc(100% - 32px);
        height: auto;
        padding: 10px;
    }

    .nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-ysysd"] .nhgy-lighting-result-photo-viewport {
        height: 300px;
    }

    .nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-ysysd"] .nhgy-lighting-result-photo-image {
        height: 300px;
    }

    .nhgy-lighting-result-photo-controls {
        gap: 10px;
        width: 100%;
        height: 30px;
    }

    .nhgy-lighting-result-photo-controls button,
    .nhgy-lighting-result-photo-controls img {
        width: 30px;
        height: 30px;
    }

    .nhgy-lighting-result-photo-controls p {
        font-size: 13px;
    }

    .nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-qgryb"] .nhgy-lighting-result-photo-viewport {
        height: auto;
        aspect-ratio: 1280 / 632;
    }
}

.nhgy-lighting-result-page button,
.nhgy-lighting-result-page button:hover,
.nhgy-lighting-result-page button:focus,
.nhgy-lighting-result-page button:focus-visible {
    background: transparent;
    background-color: transparent;
    transform: none;
    box-shadow: none;
    transition: none;
}

.nhgy-lighting-result-page button:focus {
    outline: none;
}

.nhgy-lighting-result-page button:focus-visible {
    outline: 2px solid #936024;
    outline-offset: 3px;
}

.nhgy-lighting-result-page .nhgy-lighting-result-photo-tab.is-active,
.nhgy-lighting-result-page .nhgy-lighting-result-photo-tab.is-active:hover,
.nhgy-lighting-result-page .nhgy-lighting-result-photo-tab.is-active:focus,
.nhgy-lighting-result-page .nhgy-lighting-result-photo-tab.is-active:focus-visible {
    background: #6b3a2a;
    background-color: #6b3a2a;
    color: #fff;
}

.nhgy-lighting-result-design-photo-column {
    gap: 12px;
}

.nhgy-lighting-result-design-detail-controls {
    width: 100%;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.nhgy-lighting-result-design-detail-controls button {
    min-height: auto;
    padding: 10px 30px;
    border: 1px solid #6b3a2a;
    border-radius: 100px;
    background: transparent;
    color: #6b3a2a;
    font: 500 18px/1.2 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    gap: 10px;
}

@media (max-width: 680px) {
    .nhgy-lighting-result-design-detail-controls button {
        padding: 8px 16px;
        font-size: 15px;
        gap: 8px;
    }

}

.nhgy-lighting-result-design-detail-controls button,
.nhgy-lighting-result-design-detail-controls button:hover,
.nhgy-lighting-result-design-detail-controls button:focus,
.nhgy-lighting-result-design-detail-controls button:focus-visible {
    color: #fff;
    background: #caa455;
    background-color: #caa455;
    border: 1px solid #caa455;
    opacity: 1;
    transform: none;
    box-shadow: none;
    transition: opacity 160ms ease;
}

.nhgy-lighting-result-design-detail-controls button span {
    color: #ffffff;
}

.nhgy-lighting-result-design-detail-controls button:hover {
    opacity: 1;
}

/* Figma 7:1171 mobile result convergence. */
@media (max-width: 768px) {
    .nhgy-lighting-result-hero {
        height: 690px;
        min-height: 690px;
        background-image: url("../img/lighting-search-bg-mobile.png?v=20260818-95");
        background-position: -10px -329px;
        background-size: 737.798px 1030px;
    }

    .nhgy-lighting-result-kv-calligraphy {
        top: 25px;
        left: calc(50% - 45.3px);
        width: 95.986px;
        height: 157.32px;
    }

    .nhgy-lighting-result-kv-lamp {
        top: 182.54px;
        left: calc(50% - 85.5px);
        width: 171.796px;
        height: 104.463px;
    }

    .nhgy-lighting-result-kv-content {
        top: 310px;
        right: auto;
        left: 20px;
        width: calc(100% - 40px);
        gap: 10px;
        transform: none;
    }

    .nhgy-lighting-result-kv-heading-block {
        gap: 20px;
    }

    .nhgy-lighting-result-kv-heading-row {
        gap: 20px;
    }

    .nhgy-lighting-result-kv-decor {
        flex-basis: 60px;
        width: 60px;
        height: 23px;
    }

    .nhgy-lighting-result-kv-heading-row h1 {
        font-size: 32px;
    }

    .nhgy-lighting-result-kv-divider {
        width: 100%;
    }

    .nhgy-lighting-result-kv-count {
        align-items: flex-end;
        gap: 20px;
        min-height: 0;
        padding-bottom: 10px;
        font-size: 36px;
        line-height: 70px;
    }

    .nhgy-lighting-result-kv-count span {
        font-size: 36px;
        line-height: 70px;
    }

    .nhgy-lighting-result-kv-count strong {
        width: 38px;
        min-width: 38px;
        font-size: 60px;
    }

    .nhgy-lighting-result-kv-cta {
        width: 304px;
        height: 68px;
        font-size: 24px;
    }

    .nhgy-lighting-result-kv-scroll {
        top: 580px;
        bottom: auto;
        left: 50%;
        gap: 6px;
        font-size: 18px;
    }

    .nhgy-lighting-result-kv-scroll-icon {
        width: 40px;
        height: 40px;
    }

    .nhgy-lighting-result-kv-scroll-icon img {
        width: 17.4px;
        height: 40px;
    }

    .nhgy-lighting-result-design-reset {
        right: 10px;
        bottom: 155px;
        width: 66px;
        height: 66px;
        color: #f6efdf;
        background: radial-gradient(circle at 34% 28%, #e4be75 0%, #caa455 55%, #af8a35 100%);
        font: 700 18px/1.22 "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
        letter-spacing: 0;
    }

    .nhgy-lighting-result-design-reset:hover,
    .nhgy-lighting-result-design-reset:focus-visible {
        color: #f6efdf;
        background: radial-gradient(circle at 34% 28%, #e4be75 0%, #caa455 55%, #af8a35 100%);
        transform: none;
    }

    .nhgy-lighting-result-photo-switcher {
        gap: 30px;
        padding: 40px 20px;
        background: rgba(107, 58, 42, 0.03);
    }

    .nhgy-lighting-result-photo-tabs {
        width: 100%;
        gap: 10px;
        margin: 0;
    }

    .nhgy-lighting-result-photo-tab {
        width: 150px;
        min-width: 150px;
        height: 56px;
        flex: 0 0 150px;
        padding: 16px 0;
        font-size: 20px;
    }

    .nhgy-lighting-result-photo-stage {
        width: 100%;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .nhgy-lighting-result-photo-panel.is-active:not([hidden]) {
        gap: 10px;
    }

    .nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-ysysd"] .nhgy-lighting-result-photo-viewport {
        width: 100%;
        height: 200px;
    }

    .nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-ysysd"] .nhgy-lighting-result-photo-image {
        height: 215px;
    }

    .nhgy-lighting-result-photo-controls {
        gap: 10px;
        width: 100%;
        height: auto;
    }

    .nhgy-lighting-result-photo-controls button,
    .nhgy-lighting-result-photo-controls img {
        width: 20px;
        height: 20px;
    }

    .nhgy-lighting-result-photo-controls p {
        font-size: 18px;
    }

    .nhgy-lighting-result-photo-panel[data-photo-panel="nhgy-qgryb"] .nhgy-lighting-result-photo-viewport {
        height: auto;
        aspect-ratio: 1280 / 632;
    }

    .nhgy-lighting-result-info-area {
        width: 100%;
        padding: 40px 20px;
    }

    .nhgy-lighting-result-design-section {
        padding-bottom: 40px;
    }

    .nhgy-lighting-result-design-section + .nhgy-lighting-result-design-section {
        padding-top: 0;
    }

    .nhgy-lighting-result-design-heading {
        gap: 16px;
        margin-bottom: 15px;
    }

    .nhgy-lighting-result-design-line {
        display: none;
    }

    .nhgy-lighting-result-design-decor {
        flex: 0 0 75px;
        width: 75px;
        height: 29px;
    }

    .nhgy-lighting-result-design-heading h2 {
        font-size: 28px;
    }

    .nhgy-lighting-result-design-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .nhgy-lighting-result-design-info-column,
    .nhgy-lighting-result-design-photo-column,
    .nhgy-lighting-result-design-map-column {
        width: 100%;
    }

    .nhgy-lighting-result-design-info-column {
        order: 1;
        gap: 10px;
    }

    .nhgy-lighting-result-design-photo-column {
        order: 2;
    }

    .nhgy-lighting-result-design-map-column {
        order: 3;
    }

    .nhgy-lighting-result-design-donor-card {
        width: 100%;
    }

    .nhgy-lighting-result-design-donor-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 2632 / 2985;
    }

    .nhgy-lighting-result-design-donor-card span {
        height: 58px;
        font-size: 24px;
    }

    .nhgy-lighting-result-design-details {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .nhgy-lighting-result-design-bless {
        margin: 0;
        font-size: 30px;
        line-height: 1.3;
    }

    .nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless) {
        gap: 8px;
        margin: 0;
        font-size: 20px;
        line-height: 1.45;
    }

    .nhgy-lighting-result-design-map-column h3 {
        margin: 0 0 16px;
        font-size: 24px;
    }

    .nhgy-lighting-result-design-map {
        width: min(100%, var(--map-viewport-width, 235px));
        max-width: 335px;
        margin: 0 auto;
    }

    .nhgy-lighting-result-design-map-code {
        margin-top: 12px;
        font-size: 24px;
    }

    .nhgy-lighting-result-design-detail-photo,
    .nhgy-lighting-result-design-detail-viewport {
        width: 100%;
        height: 300px;
    }

    .nhgy-lighting-result-design-section[data-venue-key="nhgy-ysysd"] .nhgy-lighting-result-design-detail-image {
        width: auto;
        min-width: 100%;
        max-width: none;
        height: 311px;
    }

    .nhgy-lighting-result-design-detail-controls {
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin-top: 0;
    }

    .nhgy-lighting-result-design-detail-controls button {
        gap: 6px;
        padding: 10px 20px;
        font-size: 16px;
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-controls {
        justify-content: center;
    }

}

.nhgy-lighting-result-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0 0 48px;
}

.nhgy-lighting-result-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    padding: 10px 24px;
    border: 1px solid #6b3a2a;
    border-radius: 100px;
    color: #6b3a2a;
    background: transparent;
    font: 500 18px/1.2 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    text-decoration: none;
}

.nhgy-lighting-result-pagination-link[hidden] {
    display: none;
}

.nhgy-lighting-result-pagination-link:hover,
.nhgy-lighting-result-pagination-link:focus-visible {
    color: #fff;
    background: #6b3a2a;
}

.nhgy-lighting-result-pagination-link[aria-busy="true"] {
    cursor: wait;
    opacity: 0.65;
    pointer-events: none;
}

.nhgy-lighting-result-pagination-status {
    min-height: 1.5em;
    margin: 0;
    color: #6b3a2a;
    font: 400 16px/1.5 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.nhgy-lighting-result-design-section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

@media (max-width: 680px) {
    .nhgy-lighting-result-pagination {
        margin-bottom: 32px;
    }

    .nhgy-lighting-result-pagination-link {
        min-width: 200px;
        min-height: 44px;
        font-size: 16px;
    }
}

/* Figma 7:639 / 7:640 floating reset button */
.nhgy-lighting-result-design-reset {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: clip;
    border-radius: 468.75px;
    color: #f6efdf;
    background: radial-gradient(circle 83.216px at 36px 19.5px, #e4be75 0%, #caa455 50%, #af8a35 100%);
    box-shadow: 0 4px 20px rgba(95, 50, 36, 0.2), inset 0 4px 20px rgba(255, 255, 255, 0.1);
    font: 700 24px/30px "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    letter-spacing: 0;
    text-align: center;
}

.nhgy-lighting-result-design-reset > span {
    display: block;
    width: 100%;
}

.nhgy-lighting-result-design-reset:visited,
.nhgy-lighting-result-design-reset:focus,
.nhgy-lighting-result-design-reset:active {
    color: #f6efdf;
}

.nhgy-lighting-result-design-reset:hover,
.nhgy-lighting-result-design-reset:focus-visible {
    color: #f6efdf;
    background: radial-gradient(circle 83.216px at 36px 19.5px, #e4be75 0%, #caa455 50%, #af8a35 100%);
    transform: none;
}

.nhgy-lighting-result-design-donor-card span {
    box-sizing: border-box;
    height: auto;
    min-height: 51px;
    padding: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless),
.nhgy-lighting-result-design-details strong {
    font-weight: 500;
}

@media (min-width: 769px) {
    .nhgy-lighting-result-design-info-column {
        gap: 30px;
    }

    .nhgy-lighting-result-design-donor-card span {
        padding: 10px;
        color: #6b3a2a;
        background: #f1d78d;
        font: 500 24px/normal "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    }

    .nhgy-lighting-result-design-details {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .nhgy-lighting-result-design-bless {
        margin: 0;
        color: #4d2600;
        font: 600 30px/normal "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    }

    .nhgy-lighting-result-design-details p:not(.nhgy-lighting-result-design-bless) {
        gap: 8px;
        margin: 0;
        color: #4d2600;
        font: 500 20px/normal "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    }

    .nhgy-lighting-result-design-details strong {
        font-weight: 500;
    }

    .nhgy-lighting-result-design-map-column h3 {
        margin: 0 0 20px;
        color: #4d2600;
        font: 500 24px/normal "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    }

    .nhgy-lighting-result-design-map-code {
        margin: 20px 0 0;
        color: #4d2600;
        font: 500 24px/normal "Roboto", "Noto Sans TC", sans-serif;
    }

    .nhgy-lighting-result-design-detail-controls button {
        font: 500 18px/normal "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-controls {
        justify-content: center;
    }

}

@media (max-width: 768px) {
    .nhgy-lighting-result-design-donor-card span {
        padding: 10px 5px;
        font-size: clamp(20px, 6.15vw, 24px);
    }
}

.nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-viewport {
    cursor: default;
    touch-action: auto;
}

.nhgy-lighting-result-lightbox {
    box-sizing: border-box;
    width: fit-content;
    max-width: min(90vw, calc(100vw - 64px));
    max-height: min(90vh, calc(100vh - 64px));
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #1b120d;
    color: #fff;
    overflow: visible;
}

.nhgy-lighting-result-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nhgy-lighting-result-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.nhgy-lighting-result-lightbox > img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(90vw, calc(100vw - 64px));
    max-height: min(85vh, calc(100vh - 64px));
    object-fit: contain;
    margin: auto;
}

.nhgy-lighting-result-lightbox-close {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(27, 18, 13, 0.84);
    color: #fff;
    font: 400 30px/1 "Noto Sans TC", "PingFang TC", sans-serif;
    cursor: pointer;
}

.nhgy-lighting-result-lightbox-close:hover {
    background: rgba(107, 58, 42, 0.96);
}

.nhgy-lighting-result-lightbox-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.nhgy-lighting-result-lightbox-close > svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.nhgy-lighting-keyboard[hidden] {
    display: none;
}

.nhgy-lighting-keyboard {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    left: 0;
    display: flex;
    justify-content: center;
    padding: 10px 12px 12px;
    pointer-events: none;
}

.nhgy-lighting-keyboard-panel {
    width: min(760px, 100%);
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(255, 248, 237, 0.32);
    border-radius: 16px 16px 0 0;
    background: rgba(69, 35, 25, 0.98);
    box-shadow: 0 -8px 28px rgba(47, 22, 12, 0.24);
    color: #fff8ed;
    pointer-events: auto;
}

.nhgy-lighting-keyboard-toolbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

[data-keyboard-input="phone"] .nhgy-lighting-keyboard-toolbar {
    margin-bottom: 6px;
}

.nhgy-lighting-keyboard-status {
    grid-column: 1;
    min-width: 0;
    color: #f7d9a2;
    font-size: 13px;
    line-height: 1.3;
}

.nhgy-lighting-keyboard-toolbar-button,
.nhgy-lighting-keyboard-modes button,
.nhgy-lighting-keyboard-key,
.nhgy-lighting-keyboard-candidate {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(255, 248, 237, 0.34);
    border-radius: 8px;
    background: rgba(255, 248, 237, 0.1);
    color: #fff8ed;
    cursor: pointer;
    font: inherit;
    touch-action: manipulation;
}

.nhgy-lighting-keyboard-toolbar-button {
    width: 72px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 15px;
    white-space: nowrap;
}

.nhgy-lighting-keyboard-toolbar-button.is-primary {
    border-color: #f1d78d;
    background: #f1d78d;
    color: #4d2600;
    font-weight: 600;
}

.nhgy-lighting-keyboard-composition {
    min-height: 30px;
    margin: 4px 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.16);
    color: #f1d78d;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
}

.nhgy-lighting-keyboard-composition:empty {
    display: none;
}

.nhgy-lighting-keyboard-candidates {
    display: flex;
    gap: 6px;
    min-height: 50px;
    margin: 4px 0;
    overflow-x: auto;
    padding: 2px 0;
}

.nhgy-lighting-keyboard-candidate {
    flex: 0 0 auto;
    padding: 0 14px;
    background: #fff8ed;
    color: #4d2600;
    font-size: 19px;
    white-space: nowrap;
}

.nhgy-lighting-keyboard-candidate::before {
    content: attr(data-candidate-index) " ";
    color: #aa7d51;
    font-size: 13px;
}

.nhgy-lighting-keyboard-modes {
    display: flex;
    gap: 6px;
    margin: 4px 0 6px;
}

.nhgy-lighting-keyboard-candidates[hidden],
.nhgy-lighting-keyboard-modes[hidden] {
    display: none;
}

.nhgy-lighting-keyboard-modes button {
    flex: 1 1 0;
    padding: 0 12px;
    color: #f7d9a2;
    font-size: 15px;
}

.nhgy-lighting-keyboard-modes button[aria-selected="true"] {
    border-color: #f1d78d;
    background: #f1d78d;
    color: #4d2600;
    font-weight: 600;
}

.nhgy-lighting-keyboard-keys {
    display: grid;
    gap: 6px;
}

.nhgy-lighting-keyboard-row {
    display: flex;
    gap: 6px;
}

.nhgy-lighting-keyboard-key {
    flex: 1 1 0;
    padding: 0 8px;
    background: rgba(255, 248, 237, 0.12);
    font-size: 20px;
    line-height: 1;
}

.nhgy-lighting-keyboard-key.is-command {
    background: rgba(241, 215, 141, 0.2);
    color: #f1d78d;
    font-size: 15px;
}

.nhgy-lighting-keyboard-key.is-wide {
    flex-grow: 2;
    font-size: 15px;
}

.nhgy-lighting-keyboard-key.is-tone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nhgy-lighting-keyboard-tone-icon {
    display: block;
    width: 24px;
    height: 24px;
    overflow: visible;
}

.nhgy-lighting-keyboard-toolbar-button:hover,
.nhgy-lighting-keyboard-modes button:hover,
.nhgy-lighting-keyboard-key:hover,
.nhgy-lighting-keyboard-candidate:hover {
    background: rgba(255, 248, 237, 0.24);
}

.nhgy-lighting-keyboard-toolbar-button.is-primary:hover,
.nhgy-lighting-keyboard-modes button[aria-selected="true"]:hover {
    background: #f7e4ac;
}

.nhgy-lighting-keyboard-toolbar-button:focus-visible,
.nhgy-lighting-keyboard-modes button:focus-visible,
.nhgy-lighting-keyboard-key:focus-visible,
.nhgy-lighting-keyboard-candidate:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 680px) {
    .nhgy-lighting-keyboard {
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    }

    .nhgy-lighting-keyboard-panel {
        max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px));
        padding: 8px 4px;
        border-radius: 14px 14px 0 0;
    }

    .nhgy-lighting-keyboard-toolbar {
        grid-template-columns: 1fr auto auto;
    }

    .nhgy-lighting-keyboard-key {
        min-height: 46px;
        padding: 0 4px;
        font-size: 18px;
    }

    .nhgy-lighting-keyboard-row {
        gap: 4px;
    }

    .nhgy-lighting-keyboard-row.is-zhuyin {
        min-width: 0;
        padding: 0;
        gap: 2px;
    }

    .nhgy-lighting-keyboard-row.is-zhuyin .nhgy-lighting-keyboard-key {
        min-width: 0;
        padding: 0;
    }

    .nhgy-lighting-keyboard-row.is-letters .nhgy-lighting-keyboard-key {
        min-width: 0;
    }
}

/* The five-row name layout starts at 769px; drag remains desktop-only. */
@media (min-width: 769px) {
    .nhgy-lighting-keyboard[data-keyboard-input="name"] {
        right: auto;
        width: min(900px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        left: max(12px, calc(50vw - 450px));
        margin-left: 0;
    }

    .nhgy-lighting-keyboard[data-keyboard-input="name"] .nhgy-lighting-keyboard-panel {
        width: 100%;
        max-width: none;
        padding-right: 10px;
        padding-left: 10px;
    }

    .nhgy-lighting-keyboard[data-keyboard-input="name"] .nhgy-lighting-keyboard-keys {
        min-height: 244px;
        align-content: start;
        grid-auto-rows: 44px;
    }

    .nhgy-lighting-keyboard[data-keyboard-input="name"] .nhgy-lighting-keyboard-row {
        gap: 2px;
    }
}

/* The two-column desktop scene starts over the artwork; drag may cover the viewport. */
@media (min-width: 1101px) {
    .nhgy-lighting-keyboard {
        right: auto;
        left: max(0px, calc(50vw - 720px));
        width: min(42vw, 600px);
        margin-left: max(0px, calc((min(50vw, 720px) - min(42vw, 600px)) / 2));
        justify-content: stretch;
    }

    .nhgy-lighting-keyboard[data-keyboard-input="name"] {
        width: min(50vw, 900px);
        max-width: calc(100vw - 24px);
        left: calc(75vw - min(50vw, 900px) / 2);
        margin-left: 0;
    }

    .nhgy-lighting-keyboard[data-keyboard-input="phone"] {
        width: min(39.6vw, 608px);
        left: calc(75vw - 12px - min(39.6vw, 608px) / 2);
        margin-left: 0;
    }

    .nhgy-lighting-keyboard-panel {
        width: 100%;
        max-width: none;
    }

    .nhgy-lighting-keyboard-toolbar {
        cursor: grab;
        touch-action: none;
        user-select: none;
    }

    .nhgy-lighting-keyboard-toolbar.is-dragging {
        cursor: grabbing;
    }

    body.nhgy-lighting-keyboard-dragging {
        user-select: none;
    }
}

@media (min-width: 1248px) {
    .nhgy-lighting-keyboard[data-keyboard-input="phone"] {
        left: calc(50vw + 300px - min(39.6vw, 608px) / 2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-keyboard-panel {
        scroll-behavior: auto;
    }
}

/* Figma 7:1628 / 7:1629 mobile floating reset and lightbox close cascade. */
@media (max-width: 680px) {
    .nhgy-lighting-result-design-reset {
        right: 10px;
        bottom: 155px;
        width: 66px;
        height: 66px;
        border-radius: 281.25px;
        color: #f6efdf;
        background: radial-gradient(circle 54.9px at 23.76px 12.87px, #e4be75 0, #caa455 50%, #af8a35 100%);
        box-shadow: 0 2px 12px rgba(95, 50, 36, 0.2), inset 0 2.4px 12px rgba(255, 255, 255, 0.1);
        font: 700 18px/22px "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
        letter-spacing: 0;
        transform: none;
    }

    .nhgy-lighting-result-design-reset:hover,
    .nhgy-lighting-result-design-reset:focus-visible {
        color: #f6efdf;
        background: radial-gradient(circle 54.9px at 23.76px 12.87px, #e4be75 0, #caa455 50%, #af8a35 100%);
        box-shadow: 0 2px 12px rgba(95, 50, 36, 0.2), inset 0 2.4px 12px rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .nhgy-lighting-result-lightbox-close {
        isolation: isolate;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 22px;
        line-height: 1;
    }

    .nhgy-lighting-result-lightbox-close:hover,
    .nhgy-lighting-result-lightbox-close:focus-visible {
        background: transparent;
    }

    .nhgy-lighting-result-lightbox-close::before {
        position: absolute;
        z-index: -1;
        top: 6px;
        left: 6px;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        background: rgba(27, 18, 13, 0.84);
        content: "";
        pointer-events: none;
    }

    .nhgy-lighting-result-lightbox-close:hover::before,
    .nhgy-lighting-result-lightbox-close:focus-visible::before {
        background: rgba(107, 58, 42, 0.96);
    }
}

/* Final result cascade. */
.nhgy-lighting-result-back-to-top {
    gap: 0;
}

@media (min-width: 681px) {
    .nhgy-lighting-result-lightbox-close {
        margin: 10px;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-lightbox-close,
    .nhgy-lighting-result-lightbox-close:hover,
    .nhgy-lighting-result-lightbox-close:focus-visible {
        margin: 0;
        background: transparent;
    }

    .nhgy-lighting-result-lightbox-close::before,
    .nhgy-lighting-result-lightbox-close:hover::before,
    .nhgy-lighting-result-lightbox-close:focus-visible::before {
        background: transparent;
    }
}

@media (max-width: 768px) {
    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-map {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        padding: 20px 0 0;
        overflow: visible;
        overscroll-behavior: auto;
        scroll-behavior: auto;
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-map-axis {
        font-size: clamp(10px, 3vw, 12px);
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-map-axis-top {
        top: 0;
        right: 0;
        left: 25px;
        width: auto;
        grid-template-columns: repeat(var(--map-cols), minmax(0, 1fr));
        gap: 1px;
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-map-axis-side {
        top: 20px;
        right: auto;
        bottom: 0;
        left: 0;
        width: 20px;
        height: auto;
        grid-template-rows: repeat(var(--map-rows), minmax(0, 1fr));
        gap: 1px;
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-map-grid {
        width: calc(100% - 25px);
        height: auto;
        min-height: 0;
        margin-left: 25px;
        aspect-ratio: var(--map-cols) / var(--map-rows);
        grid-template-columns: repeat(var(--map-cols), minmax(0, 1fr));
        grid-template-rows: repeat(var(--map-rows), minmax(0, 1fr));
        gap: 1px;
        overflow: hidden;
    }

    .nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-map-cell {
        width: auto;
        min-width: 0;
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-back-to-top {
        bottom: 17px;
    }

    .nhgy-lighting-result-design-reset {
        bottom: 88px;
    }
}

@media (min-width: 681px) and (max-width: 1100px) {
    .nhgy-lighting-result-back-to-top {
        right: 40px;
        bottom: 64px;
        width: 100px;
        height: 100px;
        font-size: 18px;
    }

    .nhgy-lighting-result-back-to-top img {
        width: 21px;
        height: 37px;
    }

    .nhgy-lighting-result-design-reset {
        right: 40px;
        bottom: 180px;
        width: 100px;
        height: 100px;
        font: 700 24px/30px "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
    }
}

@media (max-width: 680px) {
    .nhgy-lighting-result-info-area {
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 769px) {
    .nhgy-lighting-result-info-area {
        width: min(calc(100% - 48px), 1320px);
        max-width: 1320px;
    }

    .nhgy-lighting-result-design-info-column,
    .nhgy-lighting-result-design-map-column,
    .nhgy-lighting-result-design-photo-column {
        width: 100%;
        min-width: 0;
    }

    .nhgy-lighting-result-design-photo-column {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }

    .nhgy-lighting-result-design-donor-card {
        width: 100%;
        max-width: 340px;
    }

    .nhgy-lighting-result-design-map {
        width: min(100%, var(--map-viewport-width, 451px));
        max-width: 100%;
    }

    .nhgy-lighting-result-design-detail-photo {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 10 / 9;
    }

    .nhgy-lighting-result-design-detail-viewport {
        width: 100%;
        height: 100%;
    }

    .nhgy-lighting-result-design-detail-image {
        height: 100%;
    }

    .nhgy-lighting-result-design-section[data-venue-key="nhgy-ysysd"] .nhgy-lighting-result-design-detail-image {
        height: 100%;
    }

    .nhgy-lighting-result-design-detail-controls {
        width: 100%;
        max-width: 500px;
    }
}

@media (min-width: 1025px) {
    .nhgy-lighting-result-design-grid {
        display: grid;
        width: min(100%, calc(840px + var(--map-viewport-width, 451px) + var(--section-gap, 30px) + var(--section-gap, 30px)));
        margin-inline: auto;
        grid-template-columns: minmax(0, 34fr) var(--map-viewport-width, 451px) minmax(0, 50fr);
        justify-content: center;
        gap: var(--section-gap, 30px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nhgy-lighting-result-design-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .nhgy-lighting-result-info-area {
        width: min(calc(100% - 48px), 920px);
        max-width: 920px;
    }

    .nhgy-lighting-result-design-info-column {
        order: 1;
        align-items: center;
    }

    .nhgy-lighting-result-design-details {
        width: min(100%, 500px);
    }

    .nhgy-lighting-result-design-photo-column {
        order: 2;
        align-items: center;
    }

    .nhgy-lighting-result-design-map-column {
        order: 3;
        align-items: center;
    }

    .nhgy-lighting-result-design-map-column h3 {
        text-align: center;
    }

}

.nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-photo,
.nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-viewport {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 10 / 9;
}

.nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-image {
    position: absolute;
    top: -10.1334635%;
    left: -77.8%;
    width: 256.8%;
    min-width: 0;
    max-width: none;
    height: 155.333333%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
    will-change: auto;
}

.nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-controls {
    width: 100%;
    max-width: 500px;
    height: 42px;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nhgy-lighting-result-design-section[data-photo-venue="jue"] .nhgy-lighting-result-design-detail-controls button {
    width: 216px;
    max-width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
}

@media (max-width: 768px) {
    .nhgy-lighting-result-design-section[data-photo-venue] .nhgy-lighting-result-design-detail-photo,
    .nhgy-lighting-result-design-section[data-photo-venue] .nhgy-lighting-result-design-detail-viewport {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nhgy-lighting-result-design-section[data-photo-venue="hall"] .nhgy-lighting-result-design-detail-photo,
    .nhgy-lighting-result-design-section[data-photo-venue="hall"] .nhgy-lighting-result-design-detail-viewport {
        height: 260px;
    }
}

.nhgy-lighting-result-design-lamp-overlay {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
    -webkit-backdrop-filter: brightness(1);
    backdrop-filter: brightness(1);
}

.nhgy-lighting-result-design-section[data-photo-venue="hall"] .nhgy-lighting-result-design-detail-controls {
    justify-content: center;
}

.nhgy-lighting-result-design-section[data-photo-venue="hall"] .nhgy-lighting-result-design-detail-controls button {
    height: 42px;
    min-height: 42px;
}

.nhgy-lighting-result-design-map-cell.is-selected.is-flashing {
    animation: nhgy-lighting-result-map-lamp-pulse 1000ms ease-in-out 5 both;
}

.nhgy-lighting-result-design-lamp-overlay.is-flashing {
    animation: nhgy-lighting-result-photo-lamp-pulse 1000ms ease-in-out 5;
}

@keyframes nhgy-lighting-result-map-lamp-pulse {
    0%,
    100% {
        filter: brightness(1);
    }

    36% {
        filter: brightness(1.18) drop-shadow(0 0 3px rgba(255, 229, 127, 0.7));
    }

    68% {
        filter: brightness(0.82);
    }
}

@keyframes nhgy-lighting-result-photo-lamp-pulse {
    0%,
    100% {
        -webkit-backdrop-filter: brightness(1);
        backdrop-filter: brightness(1);
    }

    36% {
        -webkit-backdrop-filter: brightness(1.18);
        backdrop-filter: brightness(1.18);
    }

    68% {
        -webkit-backdrop-filter: brightness(0.82);
        backdrop-filter: brightness(0.82);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nhgy-lighting-result-design-map-cell.is-selected.is-flashing {
        animation: none;
        filter: none;
    }

    .nhgy-lighting-result-design-lamp-overlay.is-flashing {
        animation: none;
        -webkit-backdrop-filter: brightness(1);
        backdrop-filter: brightness(1);
    }
}

/* Optional GeneratePress shell: unlock document flow without changing standalone mode. */
html:has(> body.nhgy-lighting-site-chrome),
html:has(> body.nhgy-lighting-site-chrome) body,
body.nhgy-lighting-site-chrome {
    height: auto;
    max-height: none;
    min-height: 100%;
    overflow: visible;
}

body.nhgy-lighting-site-chrome #page,
body.nhgy-lighting-site-chrome #content,
body.nhgy-lighting-site-chrome .site-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.nhgy-lighting-site-chrome #content {
    display: block;
}

body.nhgy-lighting-site-chrome .nhgy-lighting-search-screen,
body.nhgy-lighting-site-chrome .nhgy-lighting-result-screen {
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: hidden;
}

@media (max-width: 768px) {
    body.nhgy-lighting-site-chrome .nhgy-lighting-search-screen,
    body.nhgy-lighting-site-chrome .nhgy-lighting-search-shell {
        min-height: auto;
    }

    /* Keep the mobile site shell viewport-filled without creating a footer tail. */
    html:has(> body.nhgy-lighting-site-chrome) > body.nhgy-lighting-site-chrome {
        display: flex;
        flex-direction: column;
        height: 100dvh;
        min-height: 100dvh;
    }

    body.nhgy-lighting-site-chrome #page {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
    }

    body.nhgy-lighting-site-chrome #content {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
    }

    body.nhgy-lighting-site-chrome #content > main.nhgy-lighting-search-screen,
    body.nhgy-lighting-site-chrome #content > main.nhgy-lighting-result-screen {
        flex: 1 0 auto;
        height: auto;
        min-height: 0;
    }

    body.nhgy-lighting-site-chrome .nhgy-lighting-search-screen > .nhgy-lighting-search-shell {
        min-height: 100%;
    }

    body.nhgy-lighting-site-chrome > .site-footer {
        flex: 0 0 auto;
    }
}

/* Self-hosted CJK supplementary fallback for every name/IME text hook. */
.nhgy-lighting-keyboard-candidate,
.nhgy-lighting-keyboard-composition,
#nhgy-lighting-name,
.nhgy-lighting-result-design-donor-card span {
    font-family:
        "NHGY CJK Ext B 1",
        "NHGY CJK Ext B 2",
        "Noto Sans TC",
        "PingFang TC",
        "Microsoft JhengHei",
        sans-serif;
}
