:root {
    --green-950: #0a2d1a;
    --green-900: #103c22;
    --green-800: #174b2a;
    --green-700: #226437;
    --green-500: #4d955a;
    --cream: #f6f1df;
    --paper: #fffdf7;
    --gold: #efb93e;
    --ink: #19221b;
    --muted: #66736a;
    --line: #dce5dc;
    --shadow: 0 22px 60px rgb(16 60 34 / 16%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.65;
}

button, input, select, textarea {
    font: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

button:disabled {
    cursor: wait;
    opacity: 0.66;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 8px;
    left: 8px;
    padding: 8px 12px;
    color: white;
    background: var(--green-950);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    padding-top: env(safe-area-inset-top);
    color: white;
    background: rgb(10 45 26 / 92%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-mark,
.brand-logo {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
}

.brand-mark {
    color: var(--green-950);
    background: var(--gold);
    font-size: 20px;
}

.brand-logo {
    object-fit: contain;
    background: white;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
}

.site-nav a {
    color: rgb(255 255 255 / 78%);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: white;
}

.site-nav .nav-action {
    padding: 8px 16px;
    color: var(--green-950);
    background: var(--gold);
    border-radius: 999px;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(140deg, var(--green-950) 0%, var(--green-800) 58%, #2d6b36 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: linear-gradient(to right, black, transparent 72%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    min-height: 650px;
    gap: 70px;
    padding-block: 82px;
}

.hero-grid.has-featured-image {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.hero-grid.has-featured-image .field-media {
    min-height: 520px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #f5cd6c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.eyebrow.dark {
    color: var(--green-700);
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hero-copy > p {
    max-width: 630px;
    margin: 26px 0 0;
    color: rgb(255 255 255 / 76%);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--green-950);
    background: var(--gold);
}

.button-secondary {
    color: white;
    border-color: rgb(255 255 255 / 35%);
    background: rgb(255 255 255 / 8%);
}

.hero-copy .release-note {
    margin-top: 20px;
    font-size: 13px;
}

.field-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 32px;
    background: linear-gradient(#6ea17d 0 48%, #d7b65e 49% 100%);
    box-shadow: var(--shadow);
}

.sun {
    position: absolute;
    top: 50px;
    right: 54px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #f4ce65;
    box-shadow: 0 0 50px rgb(244 206 101 / 45%);
}

.field-lines {
    position: absolute;
    inset: 48% -20% -30%;
    background: repeating-linear-gradient(98deg, #9a762c 0 5px, #caa54c 5px 38px);
    transform: perspective(240px) rotateX(35deg);
}

.corn {
    position: absolute;
    bottom: 70px;
    width: 14px;
    height: 200px;
    border-radius: 12px;
    background: var(--green-800);
    transform-origin: bottom;
}

.corn::before,
.corn::after {
    position: absolute;
    width: 78px;
    height: 28px;
    background: var(--green-700);
    border-radius: 100% 0;
    content: "";
}

.corn::before {
    top: 74px;
    right: 3px;
    transform: rotate(28deg);
}

.corn::after {
    top: 122px;
    left: 4px;
    transform: scaleX(-1) rotate(20deg);
}

.corn span {
    position: absolute;
    top: 92px;
    left: 8px;
    width: 30px;
    height: 72px;
    background: var(--gold);
    border: 5px solid var(--green-700);
    border-radius: 50%;
    transform: rotate(12deg);
}

.corn-one {
    left: 26%;
    transform: scale(1.15) rotate(-4deg);
}

.corn-two {
    left: 53%;
    transform: scale(0.9) rotate(3deg);
}

.corn-three {
    right: 18%;
    transform: scale(1.3) rotate(5deg);
}

.visual-label {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: rgb(10 45 26 / 84%);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.visual-label span {
    color: rgb(255 255 255 / 68%);
    font-size: 13px;
}

.platform-section,
.coming-section {
    padding-block: 100px;
}

.section-heading {
    max-width: 720px;
}

.section-heading h2,
.coming-card h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.section-heading p,
.coming-card p {
    color: var(--muted);
    font-size: 17px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.feature-card {
    min-height: 245px;
    padding: 30px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgb(16 60 34 / 6%);
}

.feature-number {
    color: var(--green-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.feature-card h3 {
    margin: 34px 0 10px;
    font-size: 24px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--green-700);
    font-weight: 700;
}

.mini-site-list {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.mini-site-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 16px;
    background: rgb(255 255 255 / 65%);
    border: 1px solid rgb(23 75 42 / 10%);
    border-radius: 14px;
}

.mini-site-list span {
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.detail-hero,
.list-hero {
    color: white;
    background: linear-gradient(135deg, var(--green-950), var(--green-700));
}

.detail-hero {
    padding-block: 92px;
}

.detail-hero.small {
    padding-block: 72px;
}

.list-hero {
    padding-block: 78px;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    align-items: center;
    gap: 70px;
}

.detail-hero h1,
.list-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
}

.detail-hero p,
.list-hero p {
    max-width: 720px;
    color: rgb(255 255 255 / 76%);
    font-size: 18px;
}

.summary-panel {
    padding: 28px;
    background: rgb(255 255 255 / 9%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 22px;
    backdrop-filter: blur(10px);
}

.summary-panel > span {
    color: #f5cd6c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.summary-panel h2 {
    margin: 10px 0 0;
    font-size: 30px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.tag-row span {
    padding: 7px 12px;
    color: rgb(255 255 255 / 85%);
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 999px;
    font-size: 13px;
}

.back-link {
    display: block;
    margin-bottom: 28px;
    color: rgb(255 255 255 / 68%);
    font-size: 14px;
}

.content-section {
    padding-block: 86px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 56px;
}

.section-heading.compact h2 {
    font-size: clamp(28px, 3vw, 38px);
}

.subsection {
    margin-top: 68px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 30px 0 0;
}

.data-grid > div {
    padding: 18px 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.data-grid dt {
    color: var(--muted);
    font-size: 12px;
}

.data-grid dd {
    margin: 6px 0 0;
    font-weight: 700;
}

.content-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.content-card {
    padding: 24px;
    background: var(--cream);
    border-radius: 18px;
}

.content-card > span,
.site-meta {
    color: var(--green-700);
    font-size: 12px;
    font-weight: 800;
}

.content-card h3 {
    margin: 12px 0 8px;
    font-size: 23px;
}

.content-card p {
    margin: 0;
    color: var(--muted);
}

.prose-card,
.risk-card,
.data-note {
    margin-top: 28px;
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.prose-card h3:not(:first-child) {
    margin-top: 28px;
}

.prose-card p,
.risk-card p,
.data-note p {
    color: var(--muted);
}

.risk-card {
    background: #fff7e1;
    border-color: #efd89e;
}

.data-note {
    border-left: 5px solid var(--green-500);
}

.rich-copy p:first-child {
    margin-top: 0;
}

.rich-copy p:last-child {
    margin-bottom: 0;
}

.side-panel {
    position: sticky;
    top: 98px;
    padding: 26px;
    background: var(--cream);
    border-radius: 22px;
}

.side-panel h2 {
    margin: 0 0 20px;
    font-size: 28px;
}

.side-site {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-top: 1px solid rgb(23 75 42 / 12%);
}

.side-site span,
.side-site small,
.empty-copy {
    color: var(--muted);
}

.side-site span {
    font-size: 13px;
}

.side-site small {
    margin-top: 6px;
}

.button-dark {
    margin-top: 20px;
    color: white;
    background: var(--green-800);
}

.narrow-content {
    max-width: 820px;
}

.filter-bar {
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 20px;
    background: var(--cream);
    border-radius: 18px;
}

.filter-bar label {
    display: grid;
    gap: 6px;
}

.filter-bar label span {
    color: var(--muted);
    font-size: 12px;
}

.filter-bar select {
    min-width: 160px;
    min-height: 44px;
    padding: 0 36px 0 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.filter-bar .button {
    margin: 0;
    min-height: 44px;
}

.clear-filter {
    align-self: center;
    color: var(--green-700);
    font-size: 13px;
}

.view-mode-switch {
    display: inline-flex;
    gap: 4px;
    margin-top: 20px;
    padding: 4px;
    background: var(--cream);
    border-radius: 999px;
}

.view-mode-switch button {
    min-height: 40px;
    padding: 0 18px;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.view-mode-switch button.active {
    color: white;
    background: var(--green-800);
    font-weight: 700;
}

.site-map-section {
    padding-top: 36px;
}

.site-map-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.site-map-toolbar h1 {
    margin: 6px 0 0;
    color: var(--green-950);
    font-size: clamp(28px, 4vw, 44px);
}

.site-map-toolbar .view-mode-switch {
    flex: 0 0 auto;
    margin-top: 0;
}

.site-map-view {
    margin-top: 28px;
}

#site-map {
    width: 100%;
    height: min(68vh, 620px);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgb(16 60 34 / 8%);
}

#site-map .amap-info-content strong {
    display: block;
    color: var(--green-900);
    font-size: 15px;
}

#site-map .amap-info-content p {
    margin: 6px 0;
    color: var(--muted);
}

#site-map .amap-info-content a {
    color: var(--green-700);
    font-weight: 700;
}

#site-map.map-configuration-missing {
    display: grid;
    place-items: center;
    padding: 30px;
    color: var(--muted);
    background: var(--cream);
    text-align: center;
}

.map-coordinate-note {
    margin: 12px 4px 0;
    color: var(--muted);
    font-size: 13px;
}

.map-location-status {
    margin: 12px 4px 0;
    color: var(--green-800);
    font-size: 14px;
    font-weight: 700;
}

.site-map-popup {
    display: grid;
    gap: 5px;
    min-width: 160px;
}

.site-map-popup img {
    width: 180px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.site-map-popup span {
    color: var(--muted);
    font-size: 12px;
}

.site-map-popup a {
    color: var(--green-800);
    font-weight: 800;
}

.site-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.site-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgb(16 60 34 / 6%);
}

.site-card-visual {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: white;
    background: linear-gradient(145deg, var(--green-500), var(--green-950));
}

.site-card-visual span {
    color: #f5cd6c;
    font-size: 12px;
}

.site-card-visual strong {
    font-size: 24px;
}

.site-card-body {
    padding: 24px;
}

.site-card-body h2 {
    margin: 8px 0;
    font-size: 23px;
}

.site-card-body p {
    min-height: 52px;
    color: var(--muted);
}

.site-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}

.site-card-stats span {
    padding: 4px 8px;
    color: var(--green-800);
    background: #eef5ed;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.visit-state {
    display: inline-flex;
    padding: 6px 10px;
    color: var(--green-800);
    background: #e7f2e7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.state-closed {
    color: #765c21;
    background: #f7edcf;
}

.state-not_open {
    color: #606760;
    background: #ecefec;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 70px 30px;
    text-align: center;
    background: var(--cream);
    border-radius: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    padding: 15px;
    background: white;
    border-radius: 14px;
}

.contact-card span {
    color: var(--muted);
    font-size: 12px;
}

.contact-card a {
    margin-top: 8px;
    color: var(--green-700);
    font-weight: 800;
}

.coming-section {
    padding-top: 0;
}

.coming-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 48px;
    background: var(--cream);
    border-radius: 28px;
}

.coming-card > div {
    max-width: 720px;
}

.status-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    color: var(--green-800);
    background: white;
    border: 1px solid #d5dfd1;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.status-pill i {
    width: 8px;
    height: 8px;
    background: #54a85f;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgb(84 168 95 / 15%);
}

.site-footer {
    color: white;
    background: var(--green-950);
}

.site-footer p {
    margin: 4px 0 0;
    color: rgb(255 255 255 / 58%);
    font-size: 13px;
}

.phone-link {
    color: var(--gold);
    font-weight: 700;
}

.muted {
    color: rgb(255 255 255 / 55%);
    font-size: 13px;
}

.message-stack {
    position: fixed;
    top: 84px;
    right: 20px;
    z-index: 20;
    display: grid;
    width: min(420px, calc(100% - 40px));
    gap: 8px;
}

.message {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-left: 5px solid var(--green-500);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: opacity 220ms ease, transform 220ms ease;
}

.message.is-leaving {
    opacity: 0;
    transform: translateX(16px);
}

.message [data-dismiss-message] {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    color: var(--green-950);
    background: transparent;
    border: 0;
    border-radius: 50%;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.message [data-dismiss-message]:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}

.message-error {
    border-left-color: #b34735;
}

.stage-detail-hero {
    padding: 56px 0 48px;
    color: white;
    background: linear-gradient(145deg, var(--green-950), var(--green-700));
}

.stage-detail-heading {
    text-align: center;
}

.stage-detail-heading .back-link {
    display: block;
    width: max-content;
    margin: 0 0 28px;
    color: rgb(255 255 255 / 78%);
}

.stage-detail-heading h1 {
    margin: 0;
    font-size: clamp(40px, 9vw, 72px);
    line-height: 1.08;
}

.stage-detail-heading > strong {
    display: block;
    margin-top: 12px;
    color: #f5cd6c;
    font-size: clamp(18px, 4vw, 26px);
}

.stage-marketing-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.stage-marketing-tags span {
    padding: 7px 14px;
    color: var(--green-950);
    background: #f5cd6c;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.stage-detail-column {
    display: grid;
    max-width: 820px;
    gap: 22px;
}

.stage-primary-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.stage-primary-gallery a:first-child {
    grid-column: 1 / -1;
}

.stage-primary-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.stage-primary-gallery a:first-child img {
    aspect-ratio: 16 / 10;
}

.stage-summary-card,
.stage-conversion-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.stage-summary-card span {
    color: var(--green-700);
    font-size: 13px;
    font-weight: 800;
}

.stage-summary-card p {
    margin: 8px 0 0;
    font-size: 18px;
}

.stage-conversion-card {
    text-align: center;
}

.stage-external-videos {
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.stage-external-videos > span {
    color: var(--green-700);
    font-size: 13px;
    font-weight: 800;
}

.stage-external-videos h2 {
    margin: 4px 0 12px;
}

.stage-external-videos div {
    display: grid;
    gap: 10px;
}

.stage-external-videos a {
    display: grid;
    gap: 2px;
    padding: 14px;
    color: var(--ink);
    text-decoration: none;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.stage-external-videos strong {
    color: var(--green-700);
}

.stage-external-videos em {
    font-style: normal;
    font-weight: 800;
}

.stage-external-videos small {
    color: var(--muted);
}

.stage-detail-link {
    display: inline-flex;
    margin: 4px 0 16px;
    color: var(--green-700);
    font-weight: 800;
}

@media (max-width: 680px) {
    .stage-detail-hero {
        padding: 30px 0 28px;
    }

    .stage-primary-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-section {
    padding-block: 90px;
    background: var(--cream);
    border-top: 1px solid var(--line);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
    align-items: start;
    gap: 54px;
}

.contact-directory > h2,
.inquiry-panel > h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.contact-directory > p,
.inquiry-panel > p {
    color: var(--muted);
}

.regional-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.regional-contact-card,
.regional-contact-empty {
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.regional-contact-card > span {
    color: var(--green-600);
    font-size: 12px;
    font-weight: 800;
}

.regional-contact-card h3 {
    margin: 8px 0;
    font-size: 20px;
}

.regional-contact-card a,
.regional-contact-empty a {
    display: block;
    color: var(--green-700);
    font-weight: 800;
}

.regional-contact-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.regional-contact-empty {
    grid-column: 1 / -1;
}

.inquiry-panel {
    padding: 30px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgb(16 60 34 / 8%);
}

.inquiry-form {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.inquiry-form label:not(.consent-field) {
    display: grid;
    gap: 7px;
}

.inquiry-form label > span {
    color: #405246;
    font-size: 13px;
    font-weight: 700;
}

.inquiry-form input:not([type="checkbox"]),
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 12px 13px;
    background: #fbfcfa;
    border: 1px solid #ccd8ce;
    border-radius: 10px;
    font: inherit;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: 3px solid rgb(58 132 70 / 15%);
    border-color: var(--green-500);
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.consent-field input {
    margin-top: 3px;
}

.inquiry-form .button {
    width: 100%;
    margin-top: 0;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-card-visual.has-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgb(7 35 19 / 70%));
    content: "";
}

.hero-video-link {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-video-link::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgb(7 35 19 / 24%));
    content: "";
    pointer-events: none;
}

.hero-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    padding-left: 5px;
    color: var(--green-950);
    background: rgb(255 255 255 / 92%);
    border-radius: 50%;
    box-shadow: 0 12px 34px rgb(0 0 0 / 28%);
    font-size: 28px;
    transform: translate(-50%, -50%);
    transition: transform 160ms ease, background 160ms ease;
}

.hero-video-link:hover .hero-play-button,
.hero-video-link:focus-visible .hero-play-button {
    background: var(--gold);
    transform: translate(-50%, -50%) scale(1.06);
}

.hero-video-link:focus-visible {
    outline: 4px solid var(--gold);
    outline-offset: -8px;
}

.hero-local-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #071a0f;
    object-fit: contain;
}

.field-cover-image,
.summary-cover,
.card-cover,
.content-card > img,
.side-site > img,
.mini-site-list img,
.site-card-visual > img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.field-cover-image {
    position: absolute;
    inset: 0;
    height: 100%;
}

.field-media .visual-label {
    z-index: 1;
}

.card-cover {
    height: 150px;
    margin: -30px -30px 24px;
    width: calc(100% + 60px);
}

.feature-card:has(.card-cover) h3 {
    margin-top: 14px;
}

.mini-site-list img {
    width: 72px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 9px;
}

.summary-panel.with-cover {
    overflow: hidden;
    padding-top: 0;
}

.summary-cover {
    height: 190px;
    margin: 0 -28px 24px;
    width: calc(100% + 56px);
}

.content-card {
    overflow: hidden;
}

.content-card > img {
    height: 150px;
    margin: -24px -24px 20px;
    width: calc(100% + 48px);
}

.side-site > img {
    height: 118px;
    margin-bottom: 12px;
    border-radius: 12px;
}

.site-card-visual {
    position: relative;
    overflow: hidden;
}

.site-card-visual > img {
    position: absolute;
    inset: 0;
    height: 100%;
}

.site-card-visual span,
.site-card-visual strong {
    position: relative;
    z-index: 1;
}

.media-section {
    margin-top: 48px;
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.gallery-item {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    color: white;
    background: var(--green-950);
    border-radius: 16px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform 180ms ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 14px 12px;
    background: linear-gradient(transparent, rgb(5 30 16 / 86%));
    font-size: 12px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.video-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.local-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #071a0f;
    object-fit: contain;
}

.video-fullscreen-dialog {
    width: min(100vw, 100%);
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 24, 12, 0.96);
}

.video-fullscreen-dialog::backdrop {
    background: rgba(0, 0, 0, 0.86);
}

.video-fullscreen-dialog video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-fullscreen-close {
    position: fixed;
    z-index: 2;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.campaign-landing-card {
    width: min(92vw, 560px);
    margin: 16vh auto;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fffdf5;
    box-shadow: var(--shadow);
    text-align: center;
}

.campaign-landing-card span {
    color: var(--muted);
    font-size: 13px;
}

.campaign-landing-card h1 {
    margin: 12px 0;
    color: var(--green-950);
    font-size: clamp(24px, 7vw, 38px);
}

.video-cover {
    position: relative;
    display: grid;
    min-height: 190px;
    place-items: center;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, var(--green-700), var(--green-950));
}

.video-cover img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
}

.video-cover i {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding-left: 4px;
    background: rgb(255 255 255 / 92%);
    border-radius: 50%;
    color: var(--green-900);
    font-style: normal;
}

.video-placeholder {
    font-weight: 700;
}

.video-body {
    padding: 20px;
}

.video-body > span {
    color: var(--green-600);
    font-size: 12px;
    font-weight: 800;
}

.video-body h3 {
    margin: 8px 0;
}

.video-body p {
    margin-bottom: 0;
    color: var(--muted);
}

.lightbox {
    position: fixed;
    width: min(1100px, calc(100% - 32px));
    max-width: none;
    height: min(780px, calc(100% - 32px));
    padding: 52px 70px 42px;
    color: white;
    background: #071a0f;
    border: 0;
    border-radius: 20px;
}

.lightbox::backdrop {
    background: rgb(0 0 0 / 82%);
}

.lightbox figure {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.lightbox figure img {
    min-height: 0;
    max-width: 100%;
    max-height: calc(100% - 40px);
    object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 1;
    width: 42px;
    height: 42px;
    color: white;
    background: rgb(255 255 255 / 12%);
    border: 0;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
}

.lightbox-close {
    top: 12px;
    right: 12px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.previous {
    left: 14px;
}

.lightbox-nav.next {
    right: 14px;
}

@media (max-width: 860px) {
    .site-nav a:not(.nav-action) {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 46px;
        padding-block: 64px;
    }

    .hero-grid.has-featured-image {
        grid-template-columns: 1fr;
    }

    .hero-grid.has-featured-image .field-media {
        min-height: 420px;
    }

    .field-visual {
        min-height: 380px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .coming-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-hero-grid,
    .detail-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .media-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .side-panel {
        position: static;
    }

    .site-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 62px;
    }

    .brand {
        max-width: 72%;
        font-size: 13px;
    }

    .brand-mark,
    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .site-nav {
        gap: 0;
    }

    .site-nav .nav-action {
        padding: 7px 12px;
        font-size: 12px;
    }

    .hero-grid {
        min-height: auto;
        padding-block: 52px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .field-visual {
        min-height: 330px;
        border-radius: 24px;
    }

    .hero-grid.has-featured-image .field-media {
        min-height: 330px;
    }

    .hero-play-button {
        width: 64px;
        height: 64px;
        font-size: 23px;
    }

    .corn-one {
        left: 18%;
    }

    .corn-three {
        right: 12%;
    }

    .platform-section,
    .coming-section {
        padding-block: 48px;
    }

    .coming-section {
        padding-top: 0;
    }

    .coming-card {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .platform-section .section-heading h2,
    .coming-card h2 {
        font-size: 26px;
    }

    .platform-section .section-heading p,
    .coming-card p {
        font-size: 14px;
    }

    .feature-grid {
        gap: 10px;
        margin-top: 20px;
    }

    .feature-card {
        min-height: 0;
        padding: 16px 18px;
        border-radius: 14px;
        box-shadow: 0 7px 20px rgb(16 60 34 / 7%);
    }

    .feature-number {
        font-size: 11px;
    }

    .feature-card h3,
    .feature-card:has(.card-cover) h3 {
        margin: 12px 0 5px;
        font-size: 19px;
    }

    .feature-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .feature-card .text-link {
        margin-top: 10px;
        font-size: 13px;
    }

    .feature-card .card-cover {
        width: calc(100% + 36px);
        height: 104px;
        margin: -16px -18px 14px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 24px;
    }

    .detail-hero,
    .list-hero {
        padding-block: 54px;
    }

    .content-section {
        padding-block: 58px;
    }

    .site-map-section {
        padding-block: 18px 38px;
    }

    .site-map-toolbar {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .site-map-toolbar h1 {
        margin-top: 3px;
        font-size: 21px;
        line-height: 1.2;
    }

    .site-map-toolbar .eyebrow {
        font-size: 9px;
    }

    .site-map-toolbar .view-mode-switch {
        margin-left: auto;
    }

    .site-map-toolbar .view-mode-switch button {
        min-height: 34px;
        padding-inline: 12px;
        font-size: 12px;
    }

    .data-grid,
    .content-card-grid,
    .site-card-grid,
    .media-gallery,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .regional-contact-list {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding-block: 40px;
    }

    .contact-layout {
        gap: 28px;
    }

    .contact-directory > h2,
    .inquiry-panel > h2 {
        font-size: 24px;
    }

    .contact-directory > p,
    .inquiry-panel > p {
        margin-block: 7px 0;
        font-size: 13px;
        line-height: 1.45;
    }

    .regional-contact-list {
        gap: 8px;
        margin-top: 16px;
    }

    .regional-contact-card,
    .regional-contact-empty {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .regional-contact-card > span {
        font-size: 10px;
    }

    .regional-contact-card h3 {
        margin: 3px 0;
        font-size: 16px;
    }

    .regional-contact-card a,
    .regional-contact-empty a {
        font-size: 14px;
    }

    .regional-contact-card p {
        margin-top: 5px;
        font-size: 12px;
    }

    .inquiry-panel {
        padding: 16px;
        border-radius: 16px;
    }

    .inquiry-form {
        gap: 10px;
        margin-top: 16px;
    }

    .inquiry-form .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .inquiry-form label:not(.consent-field) {
        gap: 4px;
    }

    .inquiry-form label > span {
        font-size: 11px;
    }

    input, select, textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .inquiry-form input:not([type="checkbox"]),
    .inquiry-form select,
    .inquiry-form textarea {
        min-height: 44px;
        padding: 8px 9px;
        font-size: 16px;
    }

    .inquiry-form textarea {
        min-height: 80px;
    }

    .inquiry-form .consent-field {
        gap: 7px;
        font-size: 12px;
        line-height: 1.4;
    }

    .inquiry-form .button {
        min-height: 44px;
        padding-block: 9px;
    }

    .consent-field input {
        min-height: 22px;
    }

    .lightbox {
        padding-inline: 48px;
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-bar select {
        width: 100%;
    }

    .view-mode-switch {
        display: flex;
    }

    .view-mode-switch button {
        flex: 1;
    }

    #site-map {
        height: 58vh;
        min-height: 330px;
        border-radius: 14px;
    }

    .site-map-view {
        margin-top: 12px;
    }

    .map-location-status,
    .map-coordinate-note {
        margin-top: 8px;
        font-size: 12px;
    }

    .site-list-page .site-card-grid {
        gap: 10px;
        margin-top: 16px;
    }

    .site-list-page .site-card {
        display: grid;
        min-width: 0;
        grid-template-columns: 106px minmax(0, 1fr);
        border-radius: 14px;
        box-shadow: 0 7px 20px rgb(16 60 34 / 7%);
    }

    .site-list-page .site-card-visual {
        min-height: 118px;
        padding: 10px;
    }

    .site-list-page .site-card-visual span {
        font-size: 9px;
    }

    .site-list-page .site-card-visual strong {
        font-size: 15px;
    }

    .site-list-page .site-card-body {
        min-width: 0;
        padding: 11px 13px;
    }

    .site-list-page .site-card-body h2 {
        margin: 3px 0;
        font-size: 18px;
        line-height: 1.25;
    }

    .site-list-page .site-card-body p {
        display: -webkit-box;
        min-height: 0;
        margin: 5px 0 8px;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-list-page .visit-state {
        padding: 3px 7px;
        font-size: 10px;
    }

    .site-detail-page .site-detail-hero {
        padding-block: 26px;
    }

    .site-detail-page .detail-hero-grid {
        gap: 14px;
    }

    .site-detail-page .back-link {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .site-detail-page .site-detail-hero h1 {
        font-size: 30px;
    }

    .site-detail-page .site-detail-hero p {
        display: -webkit-box;
        margin-bottom: 0;
        overflow: hidden;
        font-size: 14px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-detail-page .summary-panel {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .site-detail-page .summary-panel h2 {
        margin-top: 4px;
        font-size: 20px;
    }

    .site-detail-page .summary-panel p {
        margin-top: 5px;
        font-size: 12px;
    }

    .site-detail-page .content-section {
        padding-block: 32px;
    }

    .site-detail-page .detail-layout {
        gap: 32px;
    }

    .site-detail-page .section-heading.compact h2 {
        font-size: 24px;
    }

    .site-detail-page .data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 16px;
    }

    .site-detail-page .data-grid > div {
        min-width: 0;
        padding: 11px 12px;
        border-radius: 11px;
    }

    .site-detail-page .data-grid dd {
        margin-top: 3px;
        overflow-wrap: anywhere;
        font-size: 13px;
    }

    .site-detail-page .subsection {
        margin-top: 38px;
    }

    .site-detail-page .prose-card {
        margin-top: 15px;
        padding: 16px;
        border-radius: 14px;
    }

    .site-detail-page .media-section {
        margin-top: 34px;
    }

    .site-detail-page .side-panel {
        padding: 18px;
        border-radius: 16px;
    }

    .mini-site-list a {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .mini-site-list span {
        text-align: left;
    }
}

.site-footer {
    padding-bottom: env(safe-area-inset-bottom);
}

.privacy-link,
.consent-field a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-content {
    max-width: 780px;
}

.privacy-content h2 {
    margin-top: 36px;
}

.douyin-browser .site-header {
    position: relative;
}

/* Mobile-first variety promotion page: FE-VAR-001/002/003, FE-MEDIA-001/002/003. */
.variety-hero {
    padding-block: 36px;
    color: white;
    background: linear-gradient(145deg, var(--green-950), var(--green-800));
}

.variety-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    align-items: center;
    gap: 48px;
}

.variety-hero-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #071a0f;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgb(0 0 0 / 28%);
}

.variety-hero-visual > img,
.variety-hero-video,
.variety-hero-video-link,
.variety-hero-video-link > img {
    display: block;
    width: 100%;
    height: 100%;
}

.variety-hero-visual > img,
.variety-hero-video-link > img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.variety-hero-video {
    position: absolute;
    inset: 0;
    background: #071a0f;
    object-fit: contain;
}

.variety-hero-video-link {
    position: absolute;
    inset: 0;
}

.variety-hero-video-link::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 58%, rgb(0 0 0 / 68%));
    content: "";
}

.variety-play-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    padding-left: 5px;
    color: var(--green-950);
    background: rgb(255 255 255 / 94%);
    border-radius: 50%;
    box-shadow: 0 12px 36px rgb(0 0 0 / 24%);
    transform: translate(-50%, -50%);
}

.variety-hero-video-link small {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 16px;
    color: white;
    font-weight: 700;
}

.variety-hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    padding: 42px;
    background:
        radial-gradient(circle at 72% 25%, rgb(239 185 62 / 72%) 0 8%, transparent 8.5%),
        linear-gradient(155deg, #3e7b43, #0a2d1a 70%);
}

.variety-hero-placeholder span {
    color: rgb(255 255 255 / 68%);
    font-size: 13px;
}

.variety-hero-placeholder strong {
    font-size: 24px;
}

.variety-hero-copy h1 {
    margin: 8px 0 12px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
}

.variety-positioning {
    margin: 0;
    color: white;
    font-size: clamp(18px, 2.3vw, 25px);
    font-weight: 700;
    line-height: 1.45;
}

.variety-area {
    margin: 22px 0 0;
    color: rgb(255 255 255 / 78%);
    font-size: 14px;
}

.variety-area span {
    color: var(--gold);
    font-size: 10px;
}

.variety-tags {
    margin-top: 18px;
}

.variety-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.variety-hero-actions .button {
    margin-top: 0;
}

.variety-content {
    max-width: 980px;
    padding-block: 72px 40px;
}

.variety-section,
.variety-mobile-page > .media-section,
.variety-content > .media-section {
    margin-top: 72px;
    scroll-margin-top: 90px;
}

.variety-content > :first-child {
    margin-top: 0;
}

.mobile-selling-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.mobile-selling-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgb(16 60 34 / 8%);
}

.mobile-selling-visual {
    position: relative;
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    color: rgb(255 255 255 / 48%);
    background: linear-gradient(145deg, var(--green-700), var(--green-950));
    font-size: 52px;
    font-weight: 800;
}

.mobile-selling-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-selling-visual small {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    color: white;
    background: rgb(10 45 26 / 82%);
    border-radius: 999px;
    font-size: 11px;
}

.mobile-selling-copy {
    padding: 18px;
}

.mobile-selling-copy h3 {
    margin: 0 0 7px;
    font-size: 21px;
}

.mobile-selling-copy p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mobile-selling-copy > span {
    display: block;
    margin-top: 14px;
    color: var(--green-700);
    font-size: 12px;
    font-weight: 800;
}

.variety-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
}

.variety-data-grid > div {
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.variety-data-grid > .wide {
    grid-column: span 2;
}

.variety-data-grid dt {
    color: var(--muted);
    font-size: 12px;
}

.variety-data-grid dd {
    margin: 5px 0 0;
    font-weight: 800;
    line-height: 1.45;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading-row > a {
    flex: 0 0 auto;
    padding-bottom: 6px;
    color: var(--green-700);
    font-size: 13px;
    font-weight: 800;
}

.variety-site-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.variety-site-card {
    overflow: hidden;
    background: var(--cream);
    border-radius: 18px;
}

.variety-site-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.variety-site-card > div {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.variety-site-card span {
    color: var(--muted);
    font-size: 12px;
}

.variety-site-card p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.variety-disclosure {
    margin-top: 12px;
    padding: 0 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.variety-disclosure summary {
    padding-block: 17px;
    font-weight: 800;
    cursor: pointer;
}

.variety-disclosure > p,
.variety-disclosure > div {
    margin: 0;
    padding: 0 0 20px;
    color: var(--muted);
}

.variety-disclosure h3 {
    margin: 18px 0 4px;
    color: var(--ink);
    font-size: 15px;
}

.variety-disclosure h3:first-child,
.variety-disclosure p:first-child {
    margin-top: 0;
}

.variety-risk {
    margin-top: 32px;
}

.variety-mobile-actions {
    display: none;
}

#regional-contacts,
#inquiry {
    scroll-margin-top: 90px;
}

@media (max-width: 860px) {
    .has-mobile-action-bar {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .variety-mobile-actions {
        position: fixed;
        z-index: 30;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr 1.18fr 1fr;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: rgb(255 253 247 / 96%);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 30px rgb(10 45 26 / 12%);
        backdrop-filter: blur(14px);
    }

    .variety-mobile-actions a {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 1px;
        color: var(--green-800);
        font-size: 12px;
        font-weight: 800;
    }

    .variety-mobile-actions a.primary {
        color: white;
        background: var(--green-800);
        border-radius: 12px;
        font-size: 14px;
    }

    .variety-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .variety-hero-visual {
        min-height: 430px;
    }

    .mobile-selling-grid,
    .variety-site-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .variety-data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .variety-hero {
        padding-block: 0 28px;
    }

    .variety-hero .container {
        width: 100%;
    }

    .variety-hero-grid {
        gap: 22px;
    }

    .variety-hero-visual {
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-radius: 0;
        box-shadow: none;
    }

    .variety-hero-copy {
        padding-inline: 18px;
    }

    .variety-hero-copy h1 {
        margin-block: 5px 8px;
        font-size: 40px;
    }

    .variety-positioning {
        font-size: 18px;
    }

    .variety-area {
        display: -webkit-box;
        margin-top: 13px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .variety-tags {
        margin-top: 12px;
    }

    .variety-tags span:nth-child(n+4) {
        display: none;
    }

    .variety-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .variety-hero-actions .button {
        padding: 12px 10px;
    }

    .variety-content {
        padding-block: 38px 30px;
    }

    .variety-section,
    .variety-content > .media-section {
        margin-top: 42px;
    }

    .mobile-selling-grid,
    .variety-site-grid {
        width: calc(100% + 14px);
        grid-auto-columns: min(82vw, 310px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 12px;
        margin-right: -14px;
        padding-right: 14px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .mobile-selling-grid::-webkit-scrollbar,
    .variety-site-grid::-webkit-scrollbar {
        display: none;
    }

    .mobile-selling-card,
    .variety-site-card {
        scroll-snap-align: start;
    }

    .mobile-selling-grid {
        width: 100%;
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .mobile-selling-card {
        display: grid;
        min-width: 0;
        grid-template-columns: 108px minmax(0, 1fr);
        border-radius: 14px;
        box-shadow: 0 7px 20px rgb(16 60 34 / 7%);
        scroll-snap-align: none;
    }

    .mobile-selling-visual {
        min-height: 116px;
        aspect-ratio: auto;
        font-size: 28px;
    }

    .mobile-selling-visual small {
        right: 6px;
        bottom: 6px;
        max-width: calc(100% - 12px);
        padding: 3px 7px;
        overflow: hidden;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-selling-copy {
        display: flex;
        min-width: 0;
        justify-content: center;
        flex-direction: column;
        padding: 12px 14px;
    }

    .mobile-selling-copy h3 {
        margin-bottom: 4px;
        font-size: 18px;
        line-height: 1.25;
    }

    .mobile-selling-copy p {
        min-height: 0;
        font-size: 13px;
        line-height: 1.45;
    }

    .mobile-selling-copy > span {
        margin-top: 7px;
        font-size: 11px;
    }

    .variety-selling-points .section-heading.compact h2 {
        font-size: 25px;
    }

    .variety-mobile-page .media-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .variety-mobile-page .gallery-item:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 4 / 3;
    }

    .variety-mobile-page .gallery-item,
    .variety-mobile-page .gallery-item img {
        min-height: 0;
        aspect-ratio: 1;
    }

    .variety-mobile-page .gallery-item img {
        object-fit: cover;
    }

    .variety-data-grid {
        gap: 8px;
    }

    .variety-data-grid > div {
        min-width: 0;
        padding: 14px;
    }

    .variety-data-grid > .wide {
        grid-column: 1 / -1;
    }

    .variety-data-grid dd {
        overflow-wrap: anywhere;
        font-size: 14px;
    }

    .section-heading-row {
        align-items: end;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

.public-observation-list {
    display: grid;
    gap: 18px;
}

.public-observation-list > .public-observation {
    margin-top: 0;
}

.public-observation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-observation-heading h3 {
    margin: 0;
}

.public-observation-heading span {
    color: var(--muted);
    font-size: 13px;
}

.public-field-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.public-field-photos a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
}

.public-field-photos img,
.public-field-video {
    width: 100%;
    border-radius: 12px;
}

.public-field-photos img {
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 180ms ease;
}

.public-field-photos a:hover img {
    transform: scale(1.03);
}

.public-field-video {
    margin-top: 14px;
    background: #071a0f;
}

.public-observation-summary {
    margin: 16px 0 0;
    color: var(--ink);
    line-height: 1.7;
}

.key-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.key-metric-grid div {
    padding: 12px;
    background: #f2f6ef;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.key-metric-grid dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.key-metric-grid dd {
    margin: 4px 0 0;
    color: var(--green-950);
    font-size: 18px;
    font-weight: 900;
}

.public-observation-data.data-grid {
    margin-top: 16px;
}

html.mobile-preview-active,
body.mobile-preview-host {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body.mobile-preview-host {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #dfe5df;
}

.mobile-preview-frame {
    width: min(430px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    border: 0;
    box-shadow: 0 0 34px rgb(10 45 26 / 18%);
}

@media (max-width: 560px) {
    .selling-point-page .selling-point-hero {
        padding-block: 22px 24px;
    }

    .selling-point-hero .container,
    .selling-point-content {
        width: min(100% - 24px, 820px);
    }

    .selling-point-hero .back-link {
        margin-bottom: 13px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .selling-point-hero .eyebrow {
        margin-bottom: 7px;
        font-size: 10px;
    }

    .selling-point-hero h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .selling-point-hero p {
        margin: 8px 0 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .selling-point-page .content-section {
        padding-block: 16px 30px;
    }

    .selling-point-content {
        display: flex;
        flex-direction: column;
    }

    .selling-point-content > .media-section {
        order: -1;
        margin-top: 18px;
    }

    .selling-point-content > .media-section:first-of-type {
        margin-top: 0;
    }

    .selling-point-content > .prose-card,
    .selling-point-content > .data-note {
        margin-top: 14px;
        padding: 15px 16px;
        border-radius: 13px;
    }

    .selling-point-content .rich-copy {
        font-size: 14px;
        line-height: 1.65;
    }

    .selling-point-content .rich-copy p {
        margin-block: 8px;
    }

    .selling-point-content .data-note {
        border-left-width: 4px;
    }

    .selling-point-content .data-note strong {
        font-size: 14px;
    }

    .selling-point-content .data-note p {
        margin: 6px 0 0;
        font-size: 12px;
        line-height: 1.55;
    }

    .selling-point-content .section-heading.compact h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .selling-point-content .section-heading.compact .eyebrow {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .selling-point-content .media-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .selling-point-content .gallery-item:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .selling-point-content .gallery-item,
    .selling-point-content .gallery-item img {
        min-height: 0;
        aspect-ratio: 1;
    }

    .selling-point-content .gallery-item > span {
        max-height: 54px;
        padding: 22px 10px 8px;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.35;
    }

    .selling-point-content .video-grid {
        gap: 10px;
        margin-top: 12px;
    }

    .selling-point-content .video-card {
        border-radius: 13px;
    }

    .selling-point-content .video-cover {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .selling-point-content .video-cover i {
        width: 48px;
        height: 48px;
    }

    .selling-point-content .video-body {
        padding: 12px 14px;
    }

    .selling-point-content .video-body h3 {
        margin: 4px 0;
        font-size: 16px;
    }

    .selling-point-content .video-body p {
        display: -webkit-box;
        margin-top: 4px;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

/* 公开营销主题：由站点配置选择，不影响采集端和后台管理端。 */
.theme-system.home-page,
.theme-system.stage-detail-page {
    --brand-purple-950: #0b2f1b;
    --brand-purple-900: #123f24;
    --brand-purple-800: #1e6037;
    --brand-purple-700: #2f7d46;
    --brand-purple-100: #edf5ef;
    --brand-yellow: #f5cd6c;
    --brand-yellow-soft: #fff4d1;
    --brand-ink: #152219;
    --brand-line: #dbe7dc;
    --brand-surface: #fbf5e8;
    --brand-surface-soft: #fffdf7;
    --brand-shadow-rgb: 11 47 27;
}

.theme-purple-yellow.home-page,
.theme-purple-yellow.stage-detail-page {
    --brand-purple-950: #2d126f;
    --brand-purple-900: #32128f;
    --brand-purple-800: #4a24d8;
    --brand-purple-700: #6137e6;
    --brand-purple-100: #f1edff;
    --brand-yellow: #fff500;
    --brand-yellow-soft: #fff7a3;
    --brand-ink: #1c1533;
    --brand-line: #dfd7fa;
    --brand-surface: #fffbe5;
    --brand-surface-soft: #fffdf7;
    --brand-shadow-rgb: 45 18 111;
}

.home-page .site-header,
.stage-detail-page .site-header {
    background: var(--brand-purple-950);
    border-bottom-color: rgb(255 245 0 / 35%);
}

.home-page .site-nav .nav-action,
.stage-detail-page .site-nav .nav-action {
    color: var(--brand-purple-950);
    background: var(--brand-yellow);
}

.home-page .hero {
    color: white;
    background:
        radial-gradient(circle at 86% 18%, rgb(255 245 0 / 18%), transparent 23%),
        linear-gradient(
            140deg,
            var(--brand-purple-950),
            var(--brand-purple-800) 58%,
            var(--brand-purple-700)
        );
}

.home-page .hero-pattern {
    opacity: 0.24;
    background-image:
        radial-gradient(circle at 1px 1px, var(--brand-yellow) 1px, transparent 1.5px),
        linear-gradient(115deg, transparent 38%, rgb(255 245 0 / 25%) 38.3%, transparent 38.7%);
    background-size: 28px 28px, 240px 140px;
    mask-image: linear-gradient(to right, black, transparent 80%);
}

.home-page .hero-grid {
    min-height: 610px;
}

.home-page .field-visual {
    background: linear-gradient(145deg, var(--brand-yellow-soft), var(--brand-yellow));
    border: 7px solid rgb(255 255 255 / 92%);
    box-shadow:
        0 0 0 3px var(--brand-yellow),
        0 28px 60px rgb(var(--brand-shadow-rgb) / 38%);
}

.home-page .field-media {
    padding: 0;
    background: var(--brand-purple-950);
}

.home-page .visual-label {
    background: var(--brand-purple-950);
    opacity: 0.94;
}

.home-page .field-cover-image,
.home-page .hero-local-video,
.home-page .hero-video-link {
    border-radius: 13px;
}

.home-page .hero-copy .eyebrow {
    color: var(--brand-yellow);
}

.home-page .hero h1 {
    color: var(--brand-yellow);
    font-weight: 950;
    letter-spacing: -0.055em;
    text-shadow: 0 5px 0 rgb(var(--brand-shadow-rgb) / 70%);
}

.home-page .hero-copy > p {
    color: rgb(255 255 255 / 88%);
}

.home-page .button-primary {
    color: var(--brand-purple-950);
    background: var(--brand-yellow);
    box-shadow: 0 8px 24px rgb(255 245 0 / 22%);
}

.home-page .button-secondary {
    color: white;
    background: rgb(255 255 255 / 8%);
    border-color: rgb(255 255 255 / 55%);
}

.home-page .hero-copy .release-note {
    color: var(--brand-yellow-soft);
}

.home-page .platform-section {
    background: linear-gradient(180deg, var(--brand-surface), var(--brand-surface-soft));
}

.home-page .section-heading .eyebrow.dark,
.home-page .feature-card .text-link,
.home-page .coming-card .eyebrow.dark {
    color: var(--brand-purple-800);
}

.home-page .section-heading h2,
.home-page .feature-card h3,
.home-page .coming-card h2 {
    color: var(--brand-ink);
}

.home-page .feature-card {
    position: relative;
    border-color: var(--brand-line);
    box-shadow: 0 18px 45px rgb(var(--brand-shadow-rgb) / 10%);
}

.home-page .feature-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-purple-700));
}

.home-page .feature-number {
    color: var(--brand-purple-700);
}

.home-page .coming-section {
    background: var(--brand-purple-100);
}

.home-page .coming-card {
    border-color: var(--brand-line);
}

.home-page .status-pill {
    color: var(--brand-purple-950);
    background: var(--brand-yellow);
}

.home-page .status-pill i {
    background: var(--brand-purple-800);
}

.home-page .contact-section,
.stage-detail-page .contact-section {
    background: linear-gradient(180deg, var(--brand-surface), var(--brand-surface-soft));
    border-top-color: var(--brand-line);
}

.home-page .regional-contact-card,
.home-page .inquiry-panel,
.stage-detail-page .regional-contact-card,
.stage-detail-page .inquiry-panel {
    border-color: var(--brand-line);
}

.home-page .inquiry-form .button,
.stage-detail-page .inquiry-form .button {
    color: var(--brand-purple-950);
    background: var(--brand-yellow);
}

.home-page .site-footer,
.stage-detail-page .site-footer {
    background: var(--brand-purple-950);
}

.stage-detail-page {
    color: var(--brand-ink);
    background: var(--brand-surface-soft);
}

.stage-detail-page .stage-detail-hero {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 83% 26%, rgb(255 245 0 / 22%), transparent 25%),
        linear-gradient(
            145deg,
            var(--brand-purple-950),
            var(--brand-purple-800) 62%,
            var(--brand-purple-700)
        );
}

.stage-detail-page .stage-detail-hero::after {
    position: absolute;
    right: -8%;
    bottom: -85px;
    width: 52%;
    height: 150px;
    content: "";
    background: var(--brand-yellow);
    border-radius: 50% 0 0;
    opacity: 0.92;
    transform: rotate(-4deg);
}

.stage-detail-page .stage-detail-heading {
    position: relative;
    z-index: 1;
}

.stage-detail-page .stage-detail-heading h1 {
    color: var(--brand-yellow);
    font-weight: 950;
    text-shadow: 0 5px 0 rgb(var(--brand-shadow-rgb) / 75%);
}

.stage-detail-page .stage-detail-heading > strong {
    color: white;
}

.stage-detail-page .stage-marketing-tags span {
    color: var(--brand-purple-950);
    background: var(--brand-yellow);
}

.stage-detail-page .stage-detail-content {
    background: linear-gradient(
        180deg,
        var(--brand-surface),
        var(--brand-surface-soft) 420px
    );
}

.stage-detail-page .stage-primary-gallery img {
    border: 3px solid white;
    box-shadow: 0 12px 35px rgb(var(--brand-shadow-rgb) / 16%);
}

.stage-detail-page .stage-summary-card,
.stage-detail-page .stage-conversion-card,
.stage-detail-page .stage-external-videos,
.stage-detail-page .public-observation-data > div {
    border-color: var(--brand-line);
}

.stage-detail-page .stage-summary-card span,
.stage-detail-page .stage-external-videos > span,
.stage-detail-page .stage-external-videos strong,
.stage-detail-page .public-observation-data dt {
    color: var(--brand-purple-700);
}

.stage-detail-page .stage-external-videos {
    background: var(--brand-surface-soft);
}

.stage-detail-page .stage-external-videos a {
    background: white;
    border-color: var(--brand-line);
}

.stage-detail-page .stage-conversion-card {
    color: white;
    background: linear-gradient(135deg, var(--brand-purple-950), var(--brand-purple-800));
    box-shadow: 0 20px 50px rgb(var(--brand-shadow-rgb) / 18%);
}

.stage-detail-page .stage-conversion-card .eyebrow,
.stage-detail-page .stage-conversion-card h2 {
    color: var(--brand-yellow);
}

.stage-detail-page .stage-conversion-card .button-primary {
    color: var(--brand-purple-950);
    background: var(--brand-yellow);
}

@media (max-width: 680px) {
    .home-page .hero-grid {
        min-height: auto;
    }

    .home-page .field-visual {
        border-width: 4px;
        box-shadow:
            0 0 0 2px var(--brand-yellow),
            0 18px 38px rgb(var(--brand-shadow-rgb) / 30%);
    }

    .home-page .hero h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .home-page .variety-mobile-actions,
    .stage-detail-page .variety-mobile-actions {
        background: var(--brand-purple-950);
        border-top-color: rgb(255 245 0 / 40%);
    }

    .home-page .variety-mobile-actions a,
    .stage-detail-page .variety-mobile-actions a {
        color: white;
    }

    .home-page .variety-mobile-actions a.primary,
    .stage-detail-page .variety-mobile-actions a.primary {
        color: var(--brand-purple-950);
        background: var(--brand-yellow);
    }

    .stage-detail-page .stage-detail-hero::after {
        right: -22%;
        bottom: -105px;
        width: 85%;
    }
}

@media (max-width: 560px) {
    .site-detail-page .public-observation-list {
        gap: 10px;
    }

    .site-detail-page .public-observation-list > .public-observation {
        margin-top: 0;
        padding: 14px;
    }

    .site-detail-page .public-observation-heading {
        align-items: baseline;
        gap: 10px;
    }

    .site-detail-page .public-observation-heading h3 {
        font-size: 20px;
    }

    .site-detail-page .public-observation-heading span {
        font-size: 10px;
        white-space: nowrap;
    }

    .site-detail-page .public-field-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 11px;
    }

    .site-detail-page .public-field-photos a:only-child {
        grid-column: 1 / -1;
    }

    .site-detail-page .public-field-photos a,
    .site-detail-page .public-field-photos img {
        border-radius: 9px;
    }

    .site-detail-page .public-observation-summary {
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.6;
    }

    .site-detail-page .key-metric-grid,
    .stage-detail-page .key-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }

    .site-detail-page .key-metric-grid div,
    .stage-detail-page .key-metric-grid div {
        padding: 9px;
        border-radius: 10px;
    }

    .site-detail-page .key-metric-grid dt,
    .stage-detail-page .key-metric-grid dt {
        font-size: 10px;
    }

    .site-detail-page .key-metric-grid dd,
    .stage-detail-page .key-metric-grid dd {
        font-size: 15px;
    }

    .site-detail-page .public-observation-data.data-grid {
        margin-top: 12px;
    }

    .site-detail-page .public-field-video {
        margin-top: 10px;
        border-radius: 9px;
    }
}

@media (max-width: 560px) {
    .lightbox[open] {
        inset: 0;
        width: 100vw;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        padding: calc(58px + env(safe-area-inset-top)) 8px
            calc(20px + env(safe-area-inset-bottom));
        margin: 0;
        overflow: hidden;
        background: #02180c;
        border-radius: 0;
    }

    .lightbox figure {
        width: 100%;
        height: 100%;
        gap: 8px;
    }

    .lightbox figure img {
        width: 100%;
        min-height: 0;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        flex: 1 1 auto;
        object-fit: contain;
    }

    .lightbox figcaption {
        max-width: calc(100vw - 24px);
        flex: 0 0 auto;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.35;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lightbox-close,
    .lightbox-nav {
        position: fixed;
        z-index: 3;
        width: 44px;
        height: 44px;
        background: rgb(38 70 52 / 94%);
        box-shadow: 0 4px 16px rgb(0 0 0 / 28%);
        touch-action: manipulation;
    }

    .lightbox-close {
        top: calc(8px + env(safe-area-inset-top));
        right: calc(8px + env(safe-area-inset-right));
    }

    .lightbox-nav {
        top: 50dvh;
    }

    .lightbox-nav.previous {
        left: calc(6px + env(safe-area-inset-left));
    }

    .lightbox-nav.next {
        right: calc(6px + env(safe-area-inset-right));
    }
}
