:root { color-scheme: light; --wm-bg: #f1e3d3; --wm-bg-light: #f6ece0; --wm-paper: rgba(255,253,250,.9); --wm-ink: #3a2414; --wm-muted: #7a5638; --wm-accent: #b84a1f; --wm-accent-dark: #9c3c18; --wm-champagne: #edc8a3; --wm-line: rgba(184,74,31,.25); --wm-shadow: 0 16px 50px rgba(90,52,25,.18); font-family: Inter, "Microsoft YaHei", sans-serif; color: var(--wm-ink); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; background: radial-gradient(120% 60% at 50% -10%, rgba(192,125,89,.30), rgba(244,235,224,0) 60%), linear-gradient(180deg, var(--wm-bg-light) 0%, var(--wm-bg) 45%, #ecdcc8 100%); }
main { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 54px; }
h1, h2 { margin: 0 0 8px; color: var(--wm-ink); }
.wordmark { color: var(--wm-accent); font-size: 22px; font-weight: 800; letter-spacing: .14em; }
.brand-block { flex: 1 1 280px; min-width: 0; }
.brand-logo { display: block; width: min(100%, 300px); height: auto; }
.brand-block .muted { margin: 6px 0 0; }
.muted { color: var(--wm-muted); }
.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.topnav { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; }
.topnav a, .topnav button { width: auto; min-height: 0; padding: 7px 10px; border: 1px solid var(--wm-line); border-radius: 999px; color: var(--wm-muted); background: rgba(255,255,255,.26); text-decoration: none; font-size: .84rem; }
.topnav a:hover, .topnav button:hover { color: var(--wm-accent-dark); border-color: var(--wm-accent); }
.nav-button { cursor: pointer; }
.language { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--wm-muted); white-space: nowrap; }
.language select { width: auto; padding: 7px 9px; }
.hero { text-align: center; margin: 26px 0 16px; }
.hero h1 { font-size: 28px; }
.hero p { margin: 0; color: var(--wm-muted); font-size: 14px; }
.card { margin-top: 20px; padding: 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: var(--wm-paper); box-shadow: var(--wm-shadow); backdrop-filter: blur(8px); }
.upload-card { border-top: 3px solid rgba(184,74,31,.45); }
label { display: block; margin: 14px 0 6px; color: #5a3a22; font-size: .94rem; font-weight: 600; }
input, select, button { width: 100%; padding: 12px 14px; border: 1px solid rgba(154,106,76,.35); border-radius: 10px; background: rgba(255,255,255,.6); color: var(--wm-ink); font: inherit; }
input:focus, select:focus { outline: 2px solid rgba(184,74,31,.35); outline-offset: 1px; }
button { cursor: pointer; font-weight: 700; }
.wm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; border: none; border-radius: 999px; padding: 15px 24px; color: #fff; background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark)); box-shadow: 0 8px 22px rgba(184,74,31,.28); transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease; }
.wm-btn:hover { box-shadow: 0 10px 26px rgba(184,74,31,.38); transform: translateY(-1px); }
.wm-btn.block { display: flex; width: 100%; }
button.secondary { background: rgba(255,255,255,.35); border-color: var(--wm-line); color: var(--wm-muted); }
button.danger { background: #7a3413; border-color: #7a3413; color: #fff; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choice-field { margin-top: 4px; }
.choice-field > label { margin-bottom: 8px; }
.icon-choice-row { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; padding: 2px 1px 7px; scrollbar-color: var(--wm-accent) transparent; }
.social-choice-row { flex-wrap: wrap; overflow: visible; }
.icon-choice { flex: 0 0 54px; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 1px solid rgba(154,106,76,.32); border-radius: 50%; background: rgba(255,255,255,.46); color: var(--wm-muted); }
.icon-choice.social-choice { border-radius: 14px; }
.icon-choice:hover, .icon-choice.selected { border-color: var(--wm-accent); color: var(--wm-accent); background: rgba(237,200,163,.48); box-shadow: 0 5px 14px rgba(184,74,31,.16); }
.social-icon-wrap { position: relative; display: block; width: 40px; height: 40px; }
.social-icon-image { display: block; width: 40px; height: 40px; border-radius: 11px; object-fit: contain; }
.social-international-badge { position: absolute; right: -6px; bottom: -5px; display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid #fffaf4; border-radius: 50%; background: #1565c0; box-shadow: 0 2px 5px rgba(30,56,91,.35); color: #fff; font-family: "Segoe UI Emoji", sans-serif; font-size: 11px; font-style: normal; line-height: 1; }
.icon-choice.social-x { background: transparent; }
.icon-choice.social-x:hover, .icon-choice.social-x.selected { background: rgba(237,200,163,.48); }
.icon-choice.role-choice { flex-basis: 92px; width: 92px; border-radius: 999px; }
.role-choice-text { font-size: 15px; font-weight: 850; letter-spacing: .08em; }
.role-choice-row { display: flex; flex-direction: column; gap: 8px; overflow: visible; }
.role-choice-line { display: grid; grid-template-columns: 36px repeat(5, minmax(0, 1fr)); gap: 4px; }
.role-choice-line + .role-choice-line { grid-template-columns: 36px repeat(4, minmax(0, 1fr)); }
.role-choice-row .role-choice { width: 100%; min-width: 0; height: 48px; padding-inline: 3px; }
.role-group-icon { display: grid; place-items: center; align-self: center; justify-self: center; box-sizing: border-box; width: 36px; height: 36px; border: 1px solid var(--wm-line); border-radius: 50%; color: var(--wm-accent-dark); background: var(--wm-champagne); font-size: 22px; font-weight: 800; line-height: 1; }
.social-more-toggle { flex: 0 0 auto; width: auto; min-height: 54px; padding-inline: 14px; border-radius: 14px; color: var(--wm-muted); }
.own-uploads h2 { font-size: 1.15rem; }
.own-upload { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--wm-line); }
.own-upload button { width: auto; }
.store-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 2px; }
.store-choice { width: 100%; min-height: 54px; padding: 0 14px; border: 1px solid rgba(154,106,76,.32); border-radius: 14px; background: rgba(255,255,255,.46); color: var(--wm-muted); font-weight: 850; letter-spacing: .08em; }
.store-choice:hover, .store-choice.selected { border-color: var(--wm-accent); color: var(--wm-accent); background: rgba(237,200,163,.48); box-shadow: 0 5px 14px rgba(184,74,31,.16); }
.photo-upload-field { margin: 24px 0; padding: 18px; border: 1px dashed rgba(184,74,31,.42); border-radius: 16px; background: rgba(255,255,255,.38); }
.photo-upload-field label { margin-top: 0; }
.photo-upload-field small { display: block; margin-top: 9px; color: var(--wm-muted); line-height: 1.45; }
.photo-file-input { padding: 7px; border: 1px solid rgba(154,106,76,.3); background: rgba(255,255,255,.82); }
.photo-file-input::file-selector-button { margin-right: 12px; padding: 10px 15px; border: 0; border-radius: 9px; background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark)); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.field-invalid { border-color: #d32f2f !important; background: rgba(211,47,47,.07) !important; box-shadow: 0 0 0 2px rgba(211,47,47,.12); }
.field-invalid-control { border-color: #d32f2f !important; outline: 2px solid rgba(211,47,47,.2); outline-offset: 1px; }
.choice-field.field-invalid { margin-inline: -10px; padding: 7px 10px 9px; border: 1px solid #d32f2f; border-radius: 14px; }
.admin-toolbar { display: flex; align-items: end; gap: 12px; }
.admin-toolbar label { flex: 1; margin: 0; }
.admin-search { min-width: 180px; }
.admin-search input { margin-top: 6px; }
.admin-toolbar button { width: auto; }
.guest { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--wm-line); }
.guest img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #e9e1d4; }
.actions { display: flex; gap: 8px; }
.actions button { width: auto; padding: 9px 14px; }
.manage-card { padding: 18px 0; border-bottom: 1px solid var(--wm-line); }
.manage-select { display: flex; align-items: center; gap: 8px; width: fit-content; margin: 0 0 12px; color: var(--wm-muted); font-size: .86rem; cursor: pointer; }
.manage-select input { flex: 0 0 auto; width: 19px; height: 19px; margin: 0; accent-color: var(--wm-accent); }
.manage-heading { display: flex; gap: 14px; align-items: center; min-height: 76px; }
.manage-heading img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: #e9e1d4; }
.manage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; }
.manage-grid label { margin-top: 12px; }
.manage-actions { margin-top: 14px; flex-wrap: wrap; }
.carousel-manager-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.carousel-manager-heading h2 { font-size: 1.22rem; }
.carousel-manager-heading p { max-width: 620px; margin: 0; line-height: 1.55; }
.carousel-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) 155px auto; align-items: end; gap: 12px; margin-top: 14px; }
.carousel-upload-form label { margin: 0; }
.carousel-upload-form button { width: auto; min-height: 46px; }
.panorama-manager { margin-top: 20px; }
.panorama-enabled { display: inline-flex; align-items: center; gap: 7px; width: auto; margin: 0; white-space: nowrap; }
.panorama-enabled input { width: 18px; min-height: 18px; padding: 0; accent-color: var(--wm-accent); }
.panorama-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 14px; }
.panorama-upload-form label { margin: 0; }
.panorama-upload-form button { width: auto; min-height: 46px; }
.carousel-list { display: grid; gap: 12px; margin-top: 10px; }
.carousel-card { display: grid; grid-template-columns: 216px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--wm-line); border-radius: 13px; background: rgba(255,255,255,.36); }
.carousel-card > img, .carousel-card > video { width: 100%; aspect-ratio: 16 / 9; height: 100%; min-height: 118px; object-fit: cover; background: #141210; }
.panorama-card > img { aspect-ratio: 2 / 1; object-fit: contain; background: #0b0b0b; }
.carousel-card.image-error > img { display: none; }
.carousel-card-body { display: grid; grid-template-columns: 1fr 130px; align-items: end; gap: 10px 14px; padding: 13px 15px; }
.carousel-card-body > strong { align-self: center; }
.carousel-card-body label { margin: 0; }
.carousel-card-body input { margin-top: 6px; }
.carousel-actions { grid-column: 1 / -1; flex-wrap: wrap; }
.carousel-media-note { align-self: center; color: var(--wm-muted); font-weight: 650; }
.carousel-upload-form .is-disabled { opacity: .56; }
body[data-page="wall"] { overflow: hidden; background: radial-gradient(circle at 50% 40%, #21150f 0%, #0b0806 56%, #030201 100%); color: #2a1c14; }
.wall-stage { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; margin: 0; padding: 0; overflow: hidden; }
.waterfall { --wall-columns: 3; --wall-gap: clamp(12px, 1.35vw, 24px); --wall-pad: clamp(12px, 1.4vw, 24px); position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--wall-columns), minmax(0, 1fr)); gap: var(--wall-gap); padding: var(--wall-pad); transition: opacity 1s ease; }
.wall-column { position: relative; height: 100vh; height: 100dvh; overflow: hidden; contain: layout paint style; }
.wall-track { --card-gap: clamp(14px, 1.7vh, 24px); display: flex; flex-direction: column; gap: var(--card-gap); width: 100%; padding-bottom: var(--column-bottom-space, 0px); animation-duration: var(--flow-duration, 50s); animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; }
.wall-track.qr-scroll-track { padding-bottom: calc(var(--column-bottom-space, 0px) + var(--qr-safe-space, 0px)); }
.wall-track:not(.is-static) { will-change: transform; }
.wall-track.is-static { animation: none; }
.flow-up .wall-track { animation-name: wall-flow-up; }
.flow-down .wall-track { animation-name: wall-flow-down; }
@keyframes wall-flow-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-1 * var(--flow-travel, 0px)), 0); } }
@keyframes wall-flow-down { from { transform: translate3d(0, calc(-1 * var(--flow-travel, 0px)), 0); } to { transform: translate3d(0, 0, 0); } }
.wall-card { position: relative; overflow: hidden; flex: 0 0 calc((100dvh - 2 * var(--card-gap)) / 3); display: flex; flex-direction: column; width: 100%; height: calc((100dvh - 2 * var(--card-gap)) / 3); min-height: 0; margin: 0; padding: clamp(5px, .55vw, 10px); border-radius: 4px; background: #fffdf9; box-shadow: 0 3px 8px rgba(0,0,0,.26); color: #2a1c14; contain: layout style; }
.wall-photo { overflow: hidden; background: #e9e1d4; }
.wall-photo { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.wall-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wall-store-badge, .manage-store-badge { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: Inter, "Microsoft YaHei", sans-serif; font-weight: 850; letter-spacing: .08em; }
.wall-store-badge { position: absolute; z-index: 2; top: clamp(10px, .9vw, 16px); right: clamp(-29px, -2vw, -20px); display: inline-flex; align-items: center; justify-content: center; width: clamp(84px, 6.8vw, 112px); min-width: 0; padding: 5px 4px; border: 1px solid rgba(255,255,255,.72); border-radius: 3px; box-shadow: 0 3px 7px rgba(0,0,0,.24); font-size: clamp(9px, .68vw, 13px); transform: rotate(45deg); pointer-events: none; }
.manage-store-badge { margin: 0 0 5px; min-width: 48px; padding: 4px 10px; border-radius: 4px 10px 4px 10px; box-shadow: 0 3px 8px rgba(0,0,0,.16); font-size: .75rem; transform: rotate(-5deg); }
.store-max { background: rgba(184,74,31,.92); }
.store-side { background: rgba(22,91,112,.92); }
.wall-card.image-error { display: none; }
.wall-card-entering { animation: wall-card-materialize .76s cubic-bezier(.2,.8,.2,1) both; }
.wall-card-shattering { animation: wall-card-shatter .62s ease-in both; pointer-events: none; }
@keyframes wall-card-materialize { from { opacity: 0; transform: scale(.78) translateY(18px); filter: blur(8px); } to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); } }
@keyframes wall-card-shatter { from { opacity: 1; transform: scale(1); filter: blur(0); } to { opacity: 0; transform: scale(.88); filter: blur(7px); } }
.particle-layer { position: fixed; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; }
.wall-particle { position: absolute; left: 0; top: 0; width: var(--particle-size, 4px); height: var(--particle-size, 4px); border-radius: 50%; background: #f5c7a5; box-shadow: 0 0 8px rgba(245,199,165,.72); animation-delay: var(--particle-delay, 0ms); }
.wall-particle.gather { animation: wall-particle-gather .76s cubic-bezier(.16,.8,.28,1) both; }
.wall-particle.shatter { background: #fff3df; animation: wall-particle-shatter .62s cubic-bezier(.2,.7,.4,1) both; }
@keyframes wall-particle-gather { from { opacity: 0; transform: translate3d(var(--start-x), var(--start-y), 0) scale(.25); } 15% { opacity: 1; } to { opacity: 0; transform: translate3d(var(--end-x), var(--end-y), 0) scale(1); } }
@keyframes wall-particle-shatter { from { opacity: 1; transform: translate3d(var(--start-x), var(--start-y), 0) scale(1); } to { opacity: 0; transform: translate3d(var(--end-x), var(--end-y), 0) scale(.15) rotate(180deg); } }
.wall-card-info { flex: 0 0 auto; padding: clamp(4px, .55vw, 9px) 2px 0; }
.wall-card-info > strong { display: block; overflow: hidden; color: #2f1e14; font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px, 1.55vw, 29px); line-height: 1.05; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.wall-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 7px; color: #6b4a30; font-family: Georgia, "Times New Roman", serif; font-size: clamp(11px, .9vw, 16px); }
.wall-region { display: inline-flex; align-items: center; gap: 3px; overflow: hidden; min-width: 0; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.role-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; padding: 3px 10px; border-radius: 999px; color: #fff; font-family: Inter, sans-serif; font-size: clamp(10px, .72vw, 13px); font-weight: 800; letter-spacing: .04em; }
.role-top { background: #f44336; }
.role-btm { background: #4caf50; }
.role-vers { background: #ffeb3b; color: rgba(0,0,0,.87); }
.role-side { background: #3485d1; }
.role-male_none, .role-female_none { background: #9e9e9e; }
.role-tomboy { background: #009688; }
.role-femme { background: #e91e63; }
.role-half { background: #673ab7; }
.wall-social { display: flex; align-items: center; justify-content: center; gap: 5px; overflow: hidden; min-height: 22px; margin-top: 8px; color: #5e3d27; font-size: clamp(11px, .86vw, 16px); text-align: center; white-space: nowrap; }
.wall-social-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 22px; height: 22px; overflow: hidden; border-radius: 6px; }
.wall-social-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wall-social-icon.social-x { background: #050505; }
.wall-social b { overflow: hidden; color: #3f2819; font-weight: 800; text-overflow: ellipsis; }
.qr-panel { position: absolute; z-index: 30; left: clamp(12px, 1.4vw, 24px); bottom: clamp(12px, 1.4vw, 24px); display: flex; flex-direction: column; align-items: center; width: clamp(145px, 13.5vw, 215px); padding: clamp(10px, 1vw, 16px); border: 1px solid rgba(255,255,255,.72); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,248,238,.58)); box-shadow: 0 18px 42px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); }
.qr-frame { position: relative; isolation: isolate; width: min(100%, 168px); aspect-ratio: 1; padding: 7px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; }
.qr-frame:focus-visible { outline: 2px solid #c34e23; outline-offset: 4px; }
.qr-frame #qr { position: relative; z-index: 2; display: block; width: 100%; height: 100%; box-sizing: border-box; padding: 5px; border-radius: 7px; background: #fff; box-shadow: 0 5px 16px rgba(54,35,24,.12); }
.qr-countdown-ring { position: absolute; z-index: 3; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); overflow: visible; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(106,48,19,.28)); }
.qr-countdown-track, .qr-countdown-progress { fill: none; stroke-width: 3.2; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.qr-countdown-track { stroke: rgba(103,61,34,.5); }
.qr-countdown-progress { stroke: #c45124; stroke-linecap: butt; stroke-dasharray: 400 400; stroke-dashoffset: 0; }
.qr-countdown-progress.is-running { animation: qr-countdown var(--qr-countdown-duration, 60000ms) linear forwards; }
@keyframes qr-countdown { to { stroke-dashoffset: 400; } }
.qr-brand { width: 100%; margin-bottom: clamp(8px, .8vw, 12px); padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.qr-brand:focus-visible { outline: 2px solid #c34e23; outline-offset: 5px; }
.qr-panel .qr-brand img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: auto; padding: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
.qr-panel strong { margin-top: 9px; color: #4f2c1d; font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px, 1.4vw, 25px); }
.qr-panel span { margin-top: 4px; color: #7a5638; font-size: clamp(10px, .7vw, 12px); text-align: center; }
.qr-panel, .particle-layer { transition: opacity 1s ease; }
body.map-story-active .waterfall, body.map-story-active .qr-panel, body.map-story-active .particle-layer { opacity: 0; }
body.map-story-active .wall-track { animation-play-state: paused !important; }
.map-story { position: fixed; z-index: 70; inset: 0; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(21,43,57,.3), rgba(2,5,9,.96) 62%, #010204 100%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 1s ease, visibility 0s linear 1s; }
.map-story.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.map-story::before, .map-story::after { content: ""; position: absolute; z-index: 0; inset: -20%; pointer-events: none; }
.map-story::before { background-image: radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.5px), radial-gradient(circle, rgba(151,202,221,.48) 0 1px, transparent 1.4px); background-position: 0 0, 31px 47px; background-size: 83px 83px, 117px 117px; opacity: .28; }
.map-story::after { background: radial-gradient(circle at 50% 46%, rgba(73,151,178,.2), transparent 29%), radial-gradient(circle at 23% 28%, rgba(184,74,31,.13), transparent 22%); mix-blend-mode: screen; }
.map-story-aura { position: absolute; z-index: 1; left: 50%; top: 48%; width: min(68vw, 68vh); aspect-ratio: 1; border: 1px solid rgba(136,213,235,.18); border-radius: 50%; box-shadow: 0 0 80px rgba(73,155,186,.14), inset 0 0 70px rgba(73,155,186,.1); opacity: .85; transform: translate(-50%, -50%) scale(.88); transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.2,.7,.2,1); }
.map-story-aura::before, .map-story-aura::after { content: ""; position: absolute; border: 1px solid rgba(255,188,119,.2); border-radius: 50%; }
.map-story-aura::before { inset: 8%; }
.map-story-aura::after { inset: 18%; border-color: rgba(130,207,223,.17); }
.map-story-chart { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.96); transition: opacity 1.1s ease, transform 1.4s cubic-bezier(.2,.75,.2,1), filter 1.2s ease; }
.map-story.phase-map .map-story-china { opacity: 1; transform: scale(1); }
.map-story.phase-map .map-story-aura { opacity: .18; transform: translate(-50%, -50%) scale(1.45); }
.map-story-carousel { position: absolute; z-index: 4; inset: 0; overflow: hidden; background: #06090c; opacity: 0; pointer-events: none; transition: opacity .75s ease; }
.map-story-carousel img, .map-story-carousel video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .55s ease, transform 5s linear; }
.map-story-carousel video { background: #000; }
.map-story-carousel img.is-active, .map-story-carousel video.is-active { opacity: 1; transform: scale(1); }
.map-story.phase-carousel .map-story-carousel { opacity: 1; }
.map-story.phase-carousel .map-story-china { opacity: 0; transform: scale(.97); }
.map-story.phase-carousel .map-story-aura { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
.map-story-panorama { position: absolute; z-index: 4; inset: 0; overflow: hidden; background: #020609; opacity: 0; pointer-events: none; transition: opacity .75s ease; }
#panorama-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
#panorama-caption { position: absolute; z-index: 6; left: 50%; top: clamp(15vh, 22vh, 28vh); width: min(84vw, 1240px); margin: 0; padding: clamp(12px, 1.25vw, 22px) clamp(18px, 2vw, 38px); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: linear-gradient(90deg, transparent, rgba(5,10,14,.54) 13%, rgba(5,10,14,.54) 87%, transparent); color: #fff8ed; font-family: Georgia, "Microsoft YaHei", serif; font-size: clamp(28px, 3.2vw, 62px); font-weight: 700; line-height: 1.22; letter-spacing: .06em; text-align: center; text-shadow: 0 3px 18px rgba(0,0,0,.82); transform: translateX(-50%); backdrop-filter: blur(10px); }
#panorama-caption:empty { display: none; }
.map-story.phase-panorama .map-story-panorama { opacity: 1; pointer-events: auto; }
.map-story.phase-panorama .map-story-china, .map-story.phase-panorama .map-story-carousel { opacity: 0; transform: scale(.97); }
.map-story.phase-panorama .map-story-aura { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
.map-story-caption { position: absolute; z-index: 5; left: 50%; bottom: clamp(20px, 3.2vh, 48px); width: min(92vw, 920px); color: #fff7e9; opacity: 0; text-align: center; text-shadow: 0 3px 20px rgba(0,0,0,.8); transform: translate(-50%, 24px); transition: opacity .9s ease .35s, transform .9s cubic-bezier(.2,.75,.2,1) .35s; }
.map-story.phase-map .map-story-caption { opacity: 1; transform: translate(-50%, 0); }
.map-story-caption strong { display: block; font-family: Georgia, "Songti SC", "SimSun", serif; font-size: clamp(24px, 3.1vw, 54px); font-weight: 700; letter-spacing: .08em; }
.map-story-caption em { display: block; margin-top: clamp(5px, .7vh, 10px); color: rgba(229,241,238,.9); font-family: Inter, sans-serif; font-size: clamp(13px, 1.15vw, 20px); font-style: normal; letter-spacing: .08em; }
.map-story-caption span { display: block; margin-top: clamp(8px, 1.2vh, 17px); color: rgba(255,244,222,.88); font-size: clamp(15px, 1.45vw, 25px); letter-spacing: .06em; }
.map-story-caption b { color: #ffbe66; font-size: 1.16em; }
.map-story-source { position: absolute; z-index: 5; right: clamp(12px, 1.6vw, 28px); bottom: clamp(10px, 1.5vh, 20px); color: rgba(206,222,218,.68); font-size: clamp(9px, .62vw, 11px); line-height: 1.45; text-align: right; text-shadow: 0 2px 8px rgba(0,0,0,.78); opacity: 0; transition: opacity .8s ease .55s; }
.map-story.phase-map .map-story-source { opacity: 1; }
.map-story-source small { font-size: .92em; }
@keyframes map-story-stars { to { transform: translate3d(83px, 41px, 0); } }
@keyframes map-story-orbit { to { transform: rotate(360deg); } }
.crop-card { width: min(620px, 100%); padding: 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; background: #fffdfb; box-shadow: 0 24px 70px rgba(42,28,20,.32); }
.crop-card h2 { margin: 16px 0 8px; font-size: 22px; }
.crop-hint { margin: 0 0 14px; color: #5a3a22; line-height: 1.5; }
.crop-stage { position: relative; width: min(100%, 480px, 41.25vh); width: min(100%, 480px, 41.25dvh); margin-inline: auto; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 10px; background: #241a14; touch-action: none; user-select: none; }
.crop-image { position: absolute; max-width: none; transform: translateZ(0); pointer-events: none; }
.crop-frame { position: absolute; left: 50%; top: 50%; width: 84%; aspect-ratio: 3 / 4; border: 2px solid rgba(255,255,255,.95); box-shadow: 0 0 0 999px rgba(0,0,0,.38); transform: translate(-50%, -50%); pointer-events: none; }
.crop-zoom-label { display: block; margin: 16px 0 4px; color: #5a3a22; }
.crop-zoom { display: block; width: 100%; accent-color: var(--wm-accent); }
.crop-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.crop-actions button { width: auto; }
.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(58,36,20,.62); backdrop-filter: blur(4px); }
.modal-backdrop:not(.visible) { display: none; }
.is-uploading { overflow: hidden; }
.upload-loading[hidden] { display: none; }
.upload-loading { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(37,23,14,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.upload-loading-card { width: min(360px, 100%); padding: 34px 26px 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,246,235,.86)); box-shadow: 0 24px 70px rgba(30,17,10,.38); text-align: center; }
.upload-loading-card strong { display: block; margin-top: 20px; color: var(--wm-ink); font-size: 21px; }
.upload-loading-card p { margin: 9px 0 0; color: var(--wm-muted); line-height: 1.55; }
.upload-success { outline: none; }
.upload-success .upload-loading-card { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; }
.upload-success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border: 1px solid #badbc5; border-radius: 50%; background: #e8f5ec; color: #176b3b; font-size: 42px; font-weight: 700; line-height: 1; }
.upload-success small { display: block; margin-top: 18px; color: var(--wm-muted); }
.upload-success-progress { height: 4px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: var(--wm-champagne); }
.upload-success-progress span { display: block; height: 100%; background: var(--wm-accent); transform-origin: left center; animation: upload-success-countdown 3s linear forwards; }
@keyframes upload-success-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .upload-success-progress span { animation: none; } }
.upload-spinner { position: relative; width: 64px; height: 64px; margin: 0 auto; }
.upload-spinner span { position: absolute; inset: 0; border: 4px solid transparent; border-radius: 50%; animation: upload-spin 1.35s linear infinite; }
.upload-spinner span:nth-child(1) { border-top-color: var(--wm-accent); }
.upload-spinner span:nth-child(2) { inset: 9px; border-right-color: #e39a6e; animation-duration: 1s; animation-direction: reverse; }
.upload-spinner span:nth-child(3) { inset: 20px; border-bottom-color: var(--wm-accent-dark); animation-duration: .72s; }
@keyframes upload-spin { to { transform: rotate(360deg); } }
.notice-card { width: min(470px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 28px 24px 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; background: #fffdfb; box-shadow: 0 24px 70px rgba(42,28,20,.32); text-align: center; }
.notice-venue { margin: 14px 0 16px; }
.notice-venue img { display: block; width: 100%; height: auto; border: 1px solid var(--wm-line); border-radius: 12px; background: var(--wm-bg-light); }
.notice-venue figcaption { margin-top: 7px; color: var(--wm-muted); font-size: 12px; line-height: 1.5; }
.notice-logo { display: flex; justify-content: center; }
.notice-logo img { display: block; width: min(100%, 280px); height: auto; }
.notice-card h2 { margin: 16px 0 10px; font-size: 22px; }
.notice-card h2 small { display: block; margin-top: 5px; color: #7a5638; font-size: .68em; font-weight: 650; }
.notice-card p { color: #5a3a22; line-height: 1.65; text-align: left; }
.notice-bilingual p { margin: 10px 0; }
.notice-bilingual p + p { padding-top: 10px; border-top: 1px solid var(--wm-line); }
.bilingual-button span, .bilingual-button small { display: block; }
.bilingual-button small { margin-top: 3px; font-size: .76em; opacity: .86; }
.modal-decline { display: block; width: auto; margin: 13px auto 0; padding: 6px 14px; border: none; background: transparent; color: #9a7a5c; font-size: 14px; text-decoration: underline; }
.consent-options { margin: 20px 0 12px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--wm-line); text-align: left; }
.consent-options legend { padding: 0 6px; color: var(--wm-muted); font-size: 13px; }
.consent-option { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; padding: 10px; border: 1px solid var(--wm-line); border-radius: 10px; line-height: 1.65; }
.consent-option input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 4px 0 0; accent-color: var(--wm-accent-dark); }
.consent-option label { display: inline; margin: 0; font-size: 14px; cursor: pointer; }
.consent-option a { color: var(--wm-accent-dark); text-decoration: underline; font-weight: 650; }
.consent-option small { display: block; color: var(--wm-muted); font-size: 12px; }
.consent-portrait { background: #fff2e5; border-color: #dbb391; }
.notice-card .consent-message { margin: 8px 0 14px; font-size: 13px; }
#notice-agree:disabled, #notice-agree:disabled:hover { background: #e2dfdc; color: #77716b; border-color: #d6d0ca; box-shadow: none; cursor: not-allowed; opacity: 1; transform: none; }
#consent-retry[hidden] { display: none; }
.consent-review { margin-bottom: 10px; }
.legal-reader:not([hidden]) { display: flex; z-index: 120; }
.legal-reader[hidden] { display: none; }
.legal-reader-card { display: flex; flex-direction: column; width: min(760px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); padding: 20px; border-radius: 17px; background: #fffdfb; box-shadow: 0 24px 70px rgba(42,28,20,.32); }
.legal-reader-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legal-reader-card h2 { margin: 0; font-size: 20px; }
.legal-reader-card header button { width: auto; flex-shrink: 0; font-size: 12px; }
#legal-reader-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
#legal-open-page { margin-top: 16px; font-size: 13px; }
.legal-document { max-width: 850px; }
.legal-document h1 { font-size: 26px; }
.legal-copy { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.95; }
.legal-version { color: var(--wm-muted); font-size: 12px; overflow-wrap: anywhere; }
.legal-navigation { display: flex; gap: 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--wm-line); }
.login-card { width: min(440px, 100%); margin-inline: auto; }
.login-card form button[type="submit"] { margin-top: 16px; }
@media (max-width: 760px) { .page-header { flex-wrap: wrap; } .topnav { order: 3; width: 100%; justify-content: flex-start; } }
@media (max-width: 620px) { main:not(.wall-stage) { width: min(100% - 24px, 560px); padding: 22px 0 42px; } .page-header { align-items: stretch; flex-direction: column; } .brand-block { flex-basis: auto; } .brand-logo { width: min(100%, 320px); } .language { align-self: flex-start; } .grid, .manage-grid, .carousel-upload-form, .panorama-upload-form { grid-template-columns: 1fr; } .admin-toolbar { align-items: stretch; flex-direction: column; } .admin-toolbar button, .carousel-upload-form button, .panorama-upload-form button { width: 100%; } .admin-search { width: 100%; } .guest { grid-template-columns: 72px 1fr; } .guest img { width: 72px; height: 72px; } .guest .actions { grid-column: 1 / -1; } .carousel-card { grid-template-columns: 1fr; } .carousel-card-body { grid-template-columns: 1fr; } input, select, button { min-height: 46px; } .card { padding: 18px; } .photo-upload-field { margin-block: 22px; padding: 15px; } .notice-card, .crop-card { padding: 24px 18px 18px; } .qr-panel { padding: 9px; border-radius: 16px; } .qr-brand { margin-bottom: 7px; padding: 0; border: 0; border-radius: 0; } .qr-panel strong { margin-top: 7px; } .crop-actions { flex-direction: column-reverse; } .crop-actions button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .wall-track { animation-duration: 90s; } }
