:root{--weather-paper:#f8f3ea;--weather-paper-soft:#eee5d8;--weather-ink:#24343b;--weather-muted:#718089;--weather-warm:#9a6d3e;--weather-line:rgba(112,74,44,.22)}
.weather-location-tools{position:relative;z-index:32;width:auto;max-width:180px;pointer-events:auto}.weather-location-tools>*{pointer-events:auto}
.reality-weather-chip{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;width:auto;min-width:138px;max-width:180px;height:38px;padding:0 9px;border:1px solid rgba(90,87,83,.23);border-radius:4px;background:var(--paper);color:#55535a;box-shadow:0 2px 10px rgba(20,30,36,.15);text-align:left}
.reality-weather-chip:hover{background:#fff}.reality-weather-chip>span:last-child{display:block;min-width:0}.reality-weather-icon{position:relative;display:grid;place-items:center;width:18px;height:18px;color:#977347}.reality-weather-icon::before{width:8px;height:8px;border:1px solid currentColor;border-radius:50%;content:""}.reality-weather-icon::after{position:absolute;inset:1px;background:linear-gradient(currentColor,currentColor) center/1px 100% no-repeat,linear-gradient(90deg,currentColor,currentColor) center/100% 1px no-repeat;content:""}.reality-weather-chip strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c5d37;font:700 12px/1 sans-serif}.reality-weather-chip small{display:none}.reality-weather-chip.is-locating .reality-weather-icon{animation:weatherPulse 1s infinite}@keyframes weatherPulse{50%{opacity:.35;transform:scale(.86)}}
.weather-acceptance{position:absolute;top:43px;right:0;width:245px;overflow:hidden;border:1px solid rgba(255,255,255,.3);border-radius:11px;background:rgba(48,58,57,.82);color:#fff;box-shadow:0 12px 28px rgba(20,29,34,.18);backdrop-filter:blur(13px);font-family:sans-serif}.weather-acceptance-head{width:100%;min-height:30px;display:flex;align-items:center;justify-content:space-between;padding:6px 11px;border:0;background:transparent;color:rgba(255,255,255,.78);font-size:10px;text-align:left}.weather-acceptance-head b{font:400 14px/1 sans-serif}.weather-acceptance-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:2px 9px 9px}.weather-acceptance-body[hidden]{display:none}.weather-acceptance label{display:grid;gap:4px;color:rgba(255,255,255,.66);font-size:8px}.weather-acceptance select{width:100%;min-width:0;height:29px;padding:0 5px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:rgba(255,255,255,.09);color:#fff;font-size:9px}.weather-acceptance option{color:#222}.weather-acceptance .weather-warm-action{grid-column:1/-1;min-height:32px;padding:7px 10px;font-size:10px}
.weather-warm-action,.weather-line-action{min-height:42px;padding:9px 14px;border-radius:9px;font:600 12px/1.2 sans-serif}.weather-warm-action{border:1px solid var(--weather-warm);background:var(--weather-warm);color:#fff;box-shadow:0 8px 18px rgba(112,74,44,.14)}.weather-line-action{border:1px solid rgba(67,83,89,.3);background:transparent;color:var(--weather-ink)}
.weather-mystery-card{position:absolute;z-index:45;top:50%;left:50%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;width:min(560px,calc(100vw - 42px));padding:18px 20px;border:1px solid rgba(255,255,255,.78);border-radius:20px;background:rgba(248,243,234,.95);color:var(--weather-ink);box-shadow:0 25px 70px rgba(22,30,33,.3);backdrop-filter:blur(16px);opacity:0;visibility:hidden;transform:translate(-50%,-42%) scale(.97);transition:opacity .3s,transform .3s,visibility .3s;text-align:left}.weather-mystery-card.is-visible{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}.weather-mystery-symbol{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--weather-line);border-radius:50%;background:#eadfce;color:var(--weather-warm);font-size:25px}.weather-mystery-copy{display:grid;gap:4px}.weather-mystery-copy small{color:var(--weather-warm);font:700 8px/1.1 sans-serif;letter-spacing:.2em}.weather-mystery-copy strong{font-size:21px;font-weight:500;line-height:1.35}.weather-mystery-copy em{color:var(--weather-muted);font:normal 10px/1.35 sans-serif}.weather-mystery-action{color:var(--weather-warm);font:10px/1.2 sans-serif;white-space:nowrap}.city.weather-secret-active .presence-pins,.city.weather-secret-active .event-pins,.city.weather-secret-active .scene-card{opacity:0;pointer-events:none}
.weather-layer{z-index:92;background:rgba(25,34,37,.58);backdrop-filter:blur(10px)}.weather-invitation-card,.weather-story-card{position:relative;display:grid;grid-template-columns:42% 58%;width:min(920px,calc(100vw - 38px));height:min(520px,calc(100dvh - 34px));overflow:hidden;border:1px solid rgba(255,255,255,.8);border-radius:22px;background:var(--weather-paper);box-shadow:0 28px 80px rgba(20,28,31,.32);color:var(--weather-ink)}.weather-close{position:absolute;z-index:5;top:13px;right:13px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:rgba(238,229,216,.9);color:#69777d;font:26px/1 sans-serif}.weather-invitation-art{position:relative;background:#9ea8a3 center/cover no-repeat}.weather-invitation-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(45,42,37,.22))}.weather-invitation-art img{position:absolute;z-index:1;bottom:-6%;left:50%;width:82%;height:91%;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 18px 18px rgba(27,31,31,.18));transform:translateX(-50%)}.weather-invitation-copy{display:flex;flex-direction:column;justify-content:center;padding:46px 48px 34px}.weather-invitation-copy>small{color:var(--weather-warm);font:700 9px/1.1 sans-serif;letter-spacing:.22em}.weather-invitation-copy h2{margin:12px 0 18px;font-size:31px;font-weight:500}.weather-invitation-copy p{margin:0 0 18px;color:var(--weather-muted);font:12px/1.7 sans-serif}.weather-invitation-copy blockquote{margin:0 0 22px;padding:15px 17px;border-left:3px solid var(--weather-warm);background:var(--weather-paper-soft);font-size:17px;line-height:1.65}.weather-invitation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.weather-invitation-copy>em{margin-top:11px;color:#94918b;text-align:center;font:normal 9px/1.2 sans-serif}
.weather-story-card{grid-template-columns:42% 58%}.weather-story-art{position:relative;background:#8d9993 center/cover no-repeat}.weather-story-art>span{position:absolute;inset:0;background:linear-gradient(180deg,rgba(24,31,32,.1),rgba(24,31,32,.15) 45%,rgba(24,31,32,.7))}.weather-story-heading{position:absolute;z-index:1;right:22px;bottom:28px;left:26px;color:#fff}.weather-story-heading small{font:700 8px/1.1 sans-serif;letter-spacing:.18em}.weather-story-heading h2{margin:7px 0 0;font-size:26px;font-weight:500}.weather-story-count{position:absolute;z-index:1;top:22px;left:25px;display:flex;align-items:baseline;gap:7px;color:#fff}.weather-story-count b{font-size:38px;font-weight:500}.weather-story-count span{font:10px/1 sans-serif;opacity:.72}.weather-dialogue-card{display:flex;flex-direction:column;padding:42px 42px 28px}.weather-story-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:23px}.weather-story-progress span{height:3px;border-radius:3px;background:#d8cdbd}.weather-story-progress span.is-active{background:var(--weather-warm)}.weather-dialogue-card>p{min-height:60px;margin:0 0 14px;color:var(--weather-muted);font:12px/1.75 sans-serif}.weather-speaker{display:flex;align-items:center;gap:8px;color:#725035}.weather-speaker img{width:30px;height:30px;border:1px solid #d8bd95;border-radius:50%;object-fit:cover;object-position:center 32%}.weather-speaker strong{font-size:12px}.weather-dialogue-card blockquote{min-height:76px;margin:10px 0 15px;font-size:18px;line-height:1.65}.weather-dialogue-card blockquote:before{content:"“";color:var(--weather-warm)}.weather-dialogue-card blockquote:after{content:"”";color:var(--weather-warm)}.weather-story-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}.weather-story-choices button{min-height:41px;padding:8px 10px;border:1px solid var(--weather-line);border-radius:8px;background:var(--weather-paper-soft);color:var(--weather-ink);font:600 10px/1.35 sans-serif}.weather-dialogue-card>em{margin-top:9px;color:#97928a;text-align:center;font:normal 9px/1.2 sans-serif}
.weather-footprint-tabs{display:flex;gap:6px;margin:10px 0 12px;padding:4px;border-radius:9px;background:#eee6db}.weather-footprint-tabs button{flex:1;min-height:34px;border:0;border-radius:6px;background:transparent;color:#747174;font:600 10px/1 sans-serif}.weather-footprint-tabs button.is-active{background:#fff;color:#825d35;box-shadow:0 3px 10px rgba(58,49,40,.08)}.weather-footprint-tabs b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:3px;border-radius:50%;background:rgba(154,109,62,.12)}#footprintList[hidden],#secretFootprintList[hidden]{display:none}.weather-secret-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.weather-secret-row{display:grid;grid-template-columns:78px 1fr;min-height:88px;overflow:hidden;border:1px solid #e3d7c7;border-radius:8px;background:#fff}.weather-secret-row>i{background:#9ca49f center/cover no-repeat}.weather-secret-row>span{display:flex;flex-direction:column;justify-content:center;padding:10px}.weather-secret-row small{color:var(--weather-warm);font:700 8px/1.1 sans-serif;letter-spacing:.1em}.weather-secret-row strong{margin:6px 0;color:var(--weather-ink);font-size:12px}.weather-secret-row em{color:var(--weather-muted);font:normal 9px/1.3 sans-serif}.weather-secret-empty{grid-column:1/-1;padding:24px;border:1px dashed #d9c8b3;border-radius:8px;color:#7e7a73;text-align:center;font:10px/1.5 sans-serif}
@media(max-width:950px){.weather-location-tools{top:47px;width:min(300px,38vw)}.reality-weather-chip{min-height:43px;padding:6px 11px}.reality-weather-icon{font-size:19px}.reality-weather-chip strong{font-size:11px}.reality-weather-chip small{font-size:8px}.weather-acceptance-head{min-height:27px;padding:5px 8px}.weather-acceptance-body{gap:5px;padding:2px 7px 7px}.weather-acceptance select{height:26px}.weather-acceptance .weather-warm-action{min-height:29px}.weather-invitation-card,.weather-story-card{width:min(820px,calc(100vw - 18px));height:min(350px,calc(100dvh - 12px));grid-template-columns:38% 62%;border-radius:16px}.weather-invitation-copy{padding:26px 32px 20px}.weather-invitation-copy h2{margin:8px 0 10px;font-size:23px}.weather-invitation-copy p{margin-bottom:10px;font-size:10px}.weather-invitation-copy blockquote{margin-bottom:12px;padding:10px 12px;font-size:14px}.weather-invitation-actions button{min-height:37px}.weather-dialogue-card{padding:27px 30px 18px}.weather-story-progress{margin-bottom:14px}.weather-dialogue-card>p{min-height:41px;margin-bottom:9px;font-size:10px}.weather-dialogue-card blockquote{min-height:45px;margin:7px 0 9px;font-size:14px}.weather-story-heading h2{font-size:20px}.weather-story-count b{font-size:30px}.weather-story-choices button{min-height:36px}.weather-dialogue-card>.weather-warm-action{min-height:37px}}
@media(max-width:720px){.weather-location-tools{left:57%;width:250px}.reality-weather-chip small{display:none}.weather-mystery-card{width:min(470px,calc(100vw - 20px));padding:12px 14px;gap:11px}.weather-mystery-symbol{width:42px;height:42px;font-size:20px}.weather-mystery-copy strong{font-size:16px}.weather-mystery-copy em{font-size:9px}.weather-invitation-card,.weather-story-card{grid-template-columns:34% 66%}.weather-invitation-copy{padding:22px 25px 15px}.weather-invitation-copy p{line-height:1.5}.weather-invitation-copy>em{margin-top:6px}.weather-dialogue-card{padding:22px 24px 14px}.weather-story-heading{bottom:17px;left:18px}.weather-story-count{top:16px;left:18px}.weather-secret-list{grid-template-columns:1fr}}
@media(max-height:380px){.weather-location-tools{top:46px}.weather-mystery-card{top:54%}.weather-invitation-card,.weather-story-card{height:calc(100dvh - 36px)}.weather-invitation-copy{padding-top:18px;padding-bottom:12px}.weather-invitation-copy h2{font-size:20px}.weather-dialogue-card{padding-top:18px}.weather-story-progress{margin-bottom:9px}.weather-dialogue-card>p{min-height:32px;line-height:1.45}.weather-dialogue-card blockquote{min-height:36px;line-height:1.45}.weather-story-choices button{min-height:33px}.weather-dialogue-card>em{margin-top:5px}}
@media(max-width:950px){.weather-location-tools{top:auto;left:auto;width:auto;max-width:158px;transform:none}.reality-weather-chip{min-width:126px;max-width:158px;height:34px;min-height:34px;padding:0 7px;grid-template-columns:16px minmax(0,1fr);gap:5px}.reality-weather-icon{width:16px;height:16px}.reality-weather-chip strong{font-size:10px}.weather-acceptance{top:39px;width:230px}}
@media(max-width:720px){.weather-location-tools{left:auto;max-width:142px}.reality-weather-chip{min-width:116px;max-width:142px}.weather-acceptance{width:220px}}
@media(max-height:380px){.weather-location-tools{top:auto}}

/* Compact the full weather encounter flow without scaling text into unreadability. */
.weather-invitation-card,.weather-story-card{width:min(600px,calc(100vw - 38px));height:min(340px,calc(100dvh - 34px));grid-template-columns:40% 60%;border-radius:16px}
.weather-invitation-copy{padding:24px 26px 18px}.weather-invitation-copy>small{font-size:7px}.weather-invitation-copy h2{margin:8px 0 11px;font-size:22px}.weather-invitation-copy p{margin-bottom:11px;font-size:10px;line-height:1.55}.weather-invitation-copy blockquote{margin-bottom:13px;padding:10px 12px;font-size:13px;line-height:1.5}.weather-invitation-actions{gap:7px}.weather-invitation-actions button{min-height:34px;padding:7px 9px;font-size:9px}.weather-invitation-copy>em{margin-top:7px;font-size:8px}
.weather-dialogue-card{padding:33px 25px 7px}.weather-story-progress{gap:5px;margin-bottom:14px}.weather-dialogue-card>p{min-height:38px;margin-bottom:8px;font-size:10px;line-height:1.55}.weather-speaker{gap:6px}.weather-speaker img{width:25px;height:25px}.weather-speaker strong{font-size:10px}.weather-dialogue-card blockquote{min-height:43px;margin:7px 0 9px;font-size:13px;line-height:1.5}.weather-story-heading{right:15px;bottom:17px;left:17px}.weather-story-heading h2{margin-top:4px;font-size:19px}.weather-story-count{top:14px;left:16px}.weather-story-count b{font-size:28px}.weather-story-choices{gap:6px;margin-bottom:6px}.weather-story-choices button{min-height:32px;padding:6px 8px;font-size:9px}.weather-dialogue-card>.weather-warm-action{min-height:34px;padding:7px 10px;font-size:9px}.weather-dialogue-card>em{margin-top:5px;font-size:8px}
@media(max-width:950px){.weather-invitation-card,.weather-story-card{width:min(560px,calc(100vw - 18px));height:min(318px,calc(100dvh - 12px));grid-template-columns:39% 61%}.weather-invitation-copy{padding:19px 21px 14px}.weather-invitation-copy h2{font-size:19px}.weather-invitation-copy p{font-size:9px}.weather-invitation-copy blockquote{font-size:12px}.weather-dialogue-card{padding:28px 21px 5px}.weather-dialogue-card>p{min-height:32px;font-size:9px}.weather-dialogue-card blockquote{min-height:36px;font-size:12px}.weather-story-heading h2{font-size:17px}.weather-story-count b{font-size:25px}}
@media(max-width:720px){.weather-invitation-card,.weather-story-card{width:min(520px,calc(100vw - 16px));height:min(300px,calc(100dvh - 10px));grid-template-columns:37% 63%}.weather-invitation-copy{padding:16px 18px 12px}.weather-invitation-copy h2{font-size:17px}.weather-invitation-copy blockquote{padding:8px 10px;font-size:11px}.weather-dialogue-card{padding:23px 18px 3px}.weather-story-heading{bottom:13px;left:13px}.weather-story-count{top:11px;left:13px}}
@media(prefers-reduced-motion:reduce){.reality-weather-chip.is-locating .reality-weather-icon{animation:none}}

/* V2 full source uses the existing card with readable, paginated narrative. */
.weather-layer[data-content-version="V2"] .weather-dialogue-card>p,.weather-layer[data-content-version="V2"] #weatherStoryDialogue{font:400 16px/1.7 "Noto Serif SC",serif;color:var(--weather-ink)}
.weather-layer[data-content-version="V2"] .weather-speaker{min-height:24px;margin:0 0 8px}
.weather-layer[data-content-version="V2"] .weather-speaker strong{font-size:12px}
.weather-layer[data-content-version="V2"] .weather-story-choices button,.weather-layer[data-content-version="V2"] .weather-warm-action{min-height:44px;font-size:14px}
@media(max-height:500px) and (orientation:landscape){.weather-layer[data-content-version="V2"] .weather-dialogue-card>p,.weather-layer[data-content-version="V2"] #weatherStoryDialogue{font-size:14px}.weather-layer[data-content-version="V2"] .weather-story-choices button,.weather-layer[data-content-version="V2"] .weather-warm-action{font-size:13px}}

.weather-acceptance-head{min-height:44px}
