/* V4: missing public/auth and city-detail states. Width, not device names,
   controls the responsive layout. Existing V3 tokens and components are reused. */
.preview-state{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 20px;padding:9px 12px;border:1px dashed #decbd6;border-radius:13px;background:#fff7fa;font-size:12px;color:#806a78}
.preview-state>span{display:flex;gap:7px;align-items:center;min-width:0}.preview-state>span .i{width:16px;height:16px}.preview-state .textbtn{min-height:44px;font-size:12px;padding:5px 8px}
.guest-hero{display:grid;grid-template-columns:1.25fr .85fr;gap:16px;align-items:center;padding:34px;border-radius:25px;background:linear-gradient(125deg,#fff2e4,#f8e4e9);border:1px solid #ead7d0;margin-bottom:22px;overflow:hidden}
.guest-copy{min-width:0}.guest-copy .eyebrow{color:#956f5d;letter-spacing:1px}.guest-copy h1{font-size:34px;line-height:1.4;margin:12px 0}.guest-copy p{font-size:15px;color:#806a78;max-width:390px;line-height:1.9}.guest-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:23px}.guest-art{width:100%;max-width:280px;justify-self:center}.guest-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.guest-help-grid .shortcut{min-height:92px;padding:17px}.guest-help-grid strong{font-size:15px}.guest-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.guest-feature{padding:21px;border:1px solid var(--line);border-radius:18px;background:white}.guest-feature h3{margin:14px 0 8px;font-size:16px}.guest-feature p{font-size:13px;color:#806a78;line-height:1.8}.guest-section{margin-top:26px}.guest-section .block-heading{margin-bottom:15px}.public-note{font-size:12px;color:#806a78;margin-top:15px;line-height:1.8}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;max-width:960px;margin:20px auto}.auth-story{padding:26px 10px}.auth-story .guest-art{max-width:220px;margin:20px auto}.auth-story h2{font-size:29px;line-height:1.6;margin-top:12px}.auth-story p{font-size:14px;line-height:1.9;color:#806a78;margin-top:12px}.auth-card{padding:27px;border-radius:23px;border:1px solid var(--line);background:#fff}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f6eff2;padding:5px;gap:5px;border-radius:13px;margin-bottom:23px}.auth-tabs a{min-height:46px;display:grid;place-items:center;font-size:15px;color:#806a78;border-radius:10px}.auth-tabs a.active{background:#fff;color:#b02d61;box-shadow:0 2px 6px #65474b08;font-weight:650}.auth-card h1{font-size:25px;margin:2px 0 8px}.auth-card .auth-caption{font-size:13px;color:#806a78;line-height:1.8;margin-bottom:20px}.auth-card .field{margin-bottom:17px}.auth-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;margin:5px 0 20px}.auth-remember{display:flex;gap:9px;align-items:center;min-height:44px;cursor:pointer}.auth-remember input{width:20px;height:20px;accent-color:var(--pink);margin:0}.auth-alt{text-align:center;margin-top:17px;font-size:13px;color:#806a78}.auth-test{border-top:1px dashed #e9dbe2;margin-top:21px;padding-top:15px}.auth-test p{font-size:12px;line-height:1.8;color:#806a78}.auth-test .textbtn{padding:8px 0}.auth-error{font-size:13px;color:#a63050;line-height:1.8;margin:9px 0 16px}.auth-error:empty{display:none}
.auth-gate{max-width:670px;margin:30px auto;padding:32px;text-align:center}.auth-gate .ibox{margin:0 auto 18px}.auth-gate h1{font-size:25px;margin-bottom:12px}.auth-gate p{font-size:14px;color:#806a78;line-height:1.9}.auth-gate .guest-actions{justify-content:center}.member-unbound{background:#fff5eb;border:1px solid #ecdbce;padding:22px;border-radius:20px;margin-bottom:20px}.member-unbound h2{font-size:20px;margin:10px 0}.member-unbound p{font-size:14px;color:#806a78;line-height:1.8}
.city-navline{display:flex;align-items:center;gap:10px;margin:0 0 20px}.city-navline select{flex:1;min-width:0}.city-navline .iconbtn{flex:0 0 48px;width:48px;height:48px}.city-detail-banner{display:flex;align-items:center;gap:19px;justify-content:space-between;padding:22px 26px;border:1px dashed #d6bbce;border-radius:18px;background:linear-gradient(115deg,#fcf0f4,#faf4ea);margin-bottom:20px}.city-detail-title{display:flex;align-items:center;gap:16px;min-width:0}.city-detail-title>.city-art{width:72px;height:58px;margin:0;color:#9c7a8c}.city-detail-title h1{font-size:26px;margin:3px 0}.city-detail-title p{font-size:13px;color:#806a78}.city-detail-banner .tag{align-self:center;flex-shrink:0}.city-editor-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.85fr);gap:20px;align-items:start}.city-editor-layout>section{min-width:0}.city-editor-card{padding:24px;min-width:0}.city-editor-card h2{font-size:18px}.city-editor-card .block-heading{margin-bottom:16px}.city-form-group+.city-form-group{border-top:1px solid var(--line);padding-top:21px;margin-top:21px}.city-form-group h3{font-size:16px;margin-bottom:8px}.city-form-group>p{font-size:13px;color:#806a78;line-height:1.8;margin-bottom:14px}.city-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.city-radio{position:relative;display:flex;align-items:center;gap:11px;min-height:58px;border:1px solid #e9dce4;border-radius:13px;padding:12px;background:#fff;cursor:pointer}.city-radio input{position:absolute;width:1px;height:1px;opacity:0}.city-radio .radio-mark{width:19px;height:19px;border:1.5px solid #bfa4b7;border-radius:50%;flex-shrink:0}.city-radio input:checked+.radio-mark{border:6px solid var(--pink)}.city-radio:has(input:checked){border-color:#d388a9;background:#fdf1f6}.city-radio:has(input:focus-visible){outline:3px solid #84609e;outline-offset:3px}.city-radio strong{font-size:14px;display:block}.city-radio small{display:block;color:#806a78;font-size:12px;margin-top:3px}.city-switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.city-switch-row:last-child{border:0}.city-switch-copy{flex:1;min-width:0}.city-switch-copy strong{display:block;font-size:15px}.city-switch-copy small{display:block;font-size:12px;color:#806a78;line-height:1.8;margin-top:4px}.city-toggle{display:flex;align-items:center;justify-content:center;height:48px;width:58px;padding:7px 2px;flex-shrink:0}.city-toggle-track{width:48px;height:29px;background:#dfd4dc;border:1px solid #d2c4cf;border-radius:30px;display:block;position:relative;transition:background .15s}.city-toggle-track:after{content:'';position:absolute;width:21px;height:21px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #35232f20;transition:transform .15s}.city-toggle[aria-checked=true] .city-toggle-track{background:var(--pink);border-color:var(--pink)}.city-toggle[aria-checked=true] .city-toggle-track:after{transform:translateX(19px)}
.city-value-row{display:grid;grid-template-columns:1fr 134px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.city-value-row label{font-size:14px;font-weight:600;min-width:0}.city-value-row label small{display:block;font-size:12px;font-weight:400;color:#806a78;margin-top:4px}.city-value-row .field-error{grid-column:1/-1}.city-value-row:last-child{border:0}.city-upgrade-list{display:grid;gap:0}.city-source-badge{display:flex;align-items:center;gap:6px;font-size:12px;color:#806a78;line-height:1.7;margin:15px 0}.city-source-badge .i{width:15px;height:15px}.city-summary{position:sticky;top:20px}.city-summary dl{margin:14px 0}.city-summary dl>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.city-summary dt{color:#806a78}.city-summary dd{margin:0;text-align:right;font-weight:600}.city-local-status{font-size:13px;color:#3b7557;min-height:38px;display:flex;align-items:center;gap:7px;margin:14px 0}.city-local-status .i{width:17px;height:17px}.city-actions{display:flex;gap:10px;flex-wrap:wrap}.city-actions .btn{flex:1}.city-rulebox{margin-top:18px;font-size:12px;line-height:1.85;color:#806a78;padding:14px;border-radius:12px;background:#faf5f8}.city-help-link{font-size:13px;min-height:44px}.city-nav-links{display:flex;gap:10px;margin-top:22px}.city-nav-links .btn{flex:1;min-width:0}.city-foot-feedback{font-size:12px;line-height:1.8;color:#806a78;margin-top:18px}.guest-main .news-strip{margin-top:2px}
@media(max-width:900px){.guest-hero{padding:27px;gap:8px}.guest-copy h1{font-size:29px}.guest-help-grid{grid-template-columns:1fr 1fr}.guest-features{grid-template-columns:1fr 1fr}.city-editor-layout{grid-template-columns:1fr}.city-summary{position:static}.city-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.auth-layout{gap:20px}.auth-card{padding:24px}.auth-story h2{font-size:26px}}
@media(max-width:620px){.preview-state{padding:6px 10px;margin-bottom:14px;font-size:11px}.preview-state .textbtn{font-size:11px;min-width:44px}.guest-hero{display:block;padding:24px 21px 22px;position:relative;min-height:265px;margin-bottom:16px;border-radius:21px}.guest-copy{position:relative;z-index:1}.guest-copy h1{font-size:28px;max-width:240px;margin:10px 0 12px;line-height:1.5}.guest-copy p{font-size:14px;line-height:1.85;max-width:240px}.guest-hero>.guest-art{position:absolute;right:-38px;top:5px;width:152px;opacity:.45;pointer-events:none}.guest-actions{margin-top:20px;gap:9px}.guest-actions .btn{flex:1;min-height:48px;min-width:0;font-size:14px}.guest-help-grid{gap:10px;margin-bottom:20px}.guest-help-grid .shortcut{padding:13px 10px;min-height:83px;gap:9px}.guest-help-grid .shortcut .ibox{width:35px;height:37px;border-radius:11px}.guest-help-grid strong{font-size:14px}.guest-help-grid small{font-size:11px}.guest-features{grid-template-columns:1fr;gap:12px}.guest-feature{padding:17px;display:grid;grid-template-columns:40px 1fr;gap:3px 13px}.guest-feature .ibox{grid-row:1/3;width:39px;height:39px}.guest-feature h3{margin:0;font-size:15px}.guest-feature p{font-size:13px;margin-top:5px}.guest-section{margin-top:23px}.auth-layout{display:block;margin:0 auto;max-width:480px}.auth-story{display:none}.auth-card{padding:22px;border-radius:21px}.auth-card h1{font-size:24px}.auth-caption{font-size:13px}.auth-gate{padding:25px 20px;margin:18px auto}.auth-gate h1{font-size:23px}.city-navline{gap:8px;margin-bottom:16px}.city-detail-banner{padding:17px 16px;margin-bottom:17px;gap:10px;flex-wrap:wrap}.city-detail-title{gap:11px}.city-detail-title>.city-art{width:52px;height:49px}.city-detail-title h1{font-size:24px}.city-detail-title p{font-size:12px}.city-detail-banner>.tag{font-size:11px}.city-editor-layout{gap:16px}.city-editor-card{padding:20px 17px}.city-editor-card h2{font-size:18px}.city-options{gap:8px}.city-radio{padding:11px 10px;gap:8px;min-height:60px}.city-radio strong{font-size:13px}.city-radio small{font-size:11px}.city-summary dl{display:block}.city-value-row{grid-template-columns:minmax(0,1fr) 115px;gap:10px}.city-value-row label{font-size:13px}.city-switch-copy strong{font-size:14px}.city-actions .btn{font-size:13px}.city-nav-links .btn{font-size:12px;padding:10px}.city-nav-links{margin-top:17px}.member-unbound{padding:20px}.member-unbound h2{font-size:18px}}
@media(max-width:360px){.guest-copy h1{font-size:25px}.guest-copy p{font-size:13px}.guest-hero{padding:21px 18px}.auth-card{padding:20px 17px}.city-detail-title>.city-art{display:none}.city-radio{gap:7px;padding:11px 8px}.city-radio strong{font-size:12px}.city-value-row{grid-template-columns:minmax(0,1fr) 100px}}
@media(prefers-reduced-motion:reduce){.city-toggle-track,.city-toggle-track:after{transition:none}}
.city-dependent[hidden]{display:none!important}.city-normal-state p{font-size:13px;line-height:1.8;color:#806a78}.city-normal-state .city-actions{margin-top:13px}.city-form-group .city-form-group{border-top:0;margin:0;padding:0}.city-switch-value{color:#36745f}
.auth-first-guide{border:1px solid #eadad1;background:#fff9f1;border-radius:14px;padding:16px;margin-top:20px}.auth-first-guide h3{font-size:15px;margin-bottom:7px}.auth-first-guide p{font-size:12px;color:#806a78;line-height:1.8}.auth-first-guide .guest-actions{margin-top:14px}.auth-first-guide .btn{font-size:13px;flex:1;min-height:44px}.auth-inline .auth-remember:last-child{flex-basis:100%}.guest-main .shell{padding-bottom:40px}.guest-main .auth-layout{margin-top:12px}.guest-main .auth-card{box-shadow:0 8px 28px #634a3905}.guest-main .auth-story h2{font-size:32px}.auth-test{margin-top:17px;padding-top:12px}.guest-main .news-copy>span{white-space:nowrap}
@media(max-width:620px){.guest-main .topbar{padding-bottom:15px}.guest-main .auth-card{padding:21px 19px}.guest-main .auth-layout{margin-top:15px}.guest-main .news-strip{margin-bottom:16px}.guest-main .auth-tabs{margin-bottom:19px}.guest-main .auth-card .notice{font-size:12px;padding:11px 12px}.auth-first-guide{padding:14px}.auth-first-guide .btn{font-size:12px;padding:8px;min-width:0}.auth-first-guide .guest-actions{gap:8px}.guest-main .disclaimer{padding-top:18px}}
/* Keep login's primary action nearer the first screen on landscape tablets. */
@media(min-width:621px) and (max-height:900px){.guest-main .topbar{padding-bottom:12px}.guest-main .preview-state{padding-block:4px;margin-bottom:12px}.guest-main .news-strip{margin-bottom:12px;min-height:46px}.guest-main .auth-tabs{margin-bottom:16px}.guest-main .auth-card .field{margin-bottom:13px}.guest-main .auth-card .notice{font-size:12px;padding:11px 13px}.guest-main .auth-caption{margin-bottom:12px}.guest-main .auth-story{padding-top:22px}}
.city-review-notice{display:flex;align-items:flex-start;gap:8px;border:1px solid #edddbd;background:#fff8e9;color:#806132;padding:13px 15px;border-radius:13px;font-size:13px;line-height:1.8;margin:0 0 17px}.city-review-notice .i{width:17px;height:17px;margin-top:3px;flex-shrink:0}
.city-expiry-line{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px;padding:12px 13px;border-radius:11px;background:#faf5f8;font-size:12px;color:#806a78}.city-expiry-line strong{margin-left:auto;color:#715666;font-weight:500}.city-expiry-line small{font-size:12px;flex-basis:100%}
/* Visually hide the skip link until keyboard focus; don't paint it outside the viewport. */
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;min-width:1px;min-height:1px;overflow:hidden;white-space:nowrap;position:fixed;top:0;left:0;padding:0}
.skip:focus{clip-path:none;top:12px;left:20px;width:auto;height:auto;min-height:44px;padding:10px}
.city-values summary,.city-rules summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#806a78;cursor:pointer;list-style:none}.city-values summary::-webkit-details-marker,.city-rules summary::-webkit-details-marker{display:none}.city-values summary .i,.city-rules summary .i{height:16px;width:16px}.city-values[open]>summary .i,.city-rules[open]>summary .i{transform:rotate(180deg)}.city-rules{margin-top:12px;border-top:1px solid var(--line);padding-top:7px}.city-rules .city-rulebox{margin-top:5px}.city-form-group h3+.city-normal-state{margin-top:10px}.city-form-group h3+.city-switch-row{padding-top:6px}.city-summary dl{margin-top:0}.city-summary .block-heading{margin-bottom:4px}
