
/* V2.4.0 | Chuyen ke doc ngang */
.story-section{margin-top:72px;padding-bottom:6px;scroll-margin-top:100px}
.story-section .section-heading{align-items:center;gap:18px;margin-bottom:27px}
.story-section .section-heading h2{max-width:760px;line-height:1.08;margin-bottom:14px}
.story-section .section-heading p{max-width:550px}
.story-section .section-heading>.button{flex-shrink:0}
.story-section svg,.story-reader svg,.story-quiz svg{width:19px;height:19px;flex-shrink:0;display:block}
.story-top-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;margin-bottom:30px}
.story-daily,.story-progress-card,.story-library,.story-badge-panel{border:1.5px solid var(--ink);border-radius:var(--r-card);background:var(--white) url('/paper-grain.png') repeat;background-size:256px;min-width:0}
.story-daily{background-color:var(--blue);color:var(--white);padding:28px;min-height:270px;display:flex;flex-direction:column;justify-content:space-between;gap:25px;position:relative;isolation:isolate;overflow:hidden;box-shadow:5px 5px 0 var(--ink)}
.story-daily::after{content:'';position:absolute;z-index:-1;right:-28px;bottom:-48px;width:190px;height:190px;border-radius:50%;border:1px solid #fff4;box-shadow:0 0 0 17px #fff1,0 0 0 35px #fff1;pointer-events:none}
.story-daily-top,.story-daily-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.story-kicker,.story-index,.story-card-region,.story-daily-region{font-size:11px;font-weight:700;letter-spacing:.6px;line-height:1.5}
.story-kicker{display:flex;align-items:center;gap:7px}
.story-index{white-space:nowrap;color:inherit;opacity:.85}
.story-daily h3{font-size:clamp(33px,4vw,54px);line-height:1.12;margin:10px 0;overflow-wrap:anywhere}
.story-daily p{font-size:16px;line-height:1.6;color:var(--white)}
.story-light{background:var(--lime);color:var(--ink);border-color:var(--ink);font-size:13px;min-height:46px}
.story-icon-light,.story-save,.story-open{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid currentColor;flex-shrink:0;transition:transform .3s cubic-bezier(.22,1,.36,1),background-color .2s,color .2s}
.story-icon-light:hover,.story-save:hover,.story-open:hover{transform:translateY(-3px)}
.story-icon-light{color:var(--white)}
.story-progress-card{padding:26px;display:flex;flex-direction:column;justify-content:center;gap:13px}
.story-progress-card h3,.story-badge-panel h3{font-size:25px;line-height:1.2}
.story-progress-card .story-kicker{color:var(--blue)}
.story-progress-number{display:flex;align-items:baseline;gap:9px}
.story-progress-number strong{font-family:var(--font-title);font-size:46px;color:var(--blue);font-weight:400;line-height:1.1}
.story-progress-number span{font-size:13px;color:var(--muted)}
.story-progress-track,.story-quiz-progress{height:8px;border-radius:99px;background:#DDE4EC;overflow:hidden}
.story-progress-track span,.story-quiz-progress span{display:block;height:100%;background:var(--blue);border-radius:inherit;transition:width .55s cubic-bezier(.22,1,.36,1)}
.story-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.story-mini-stats>div{padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;min-width:0}
.story-mini-stats strong{display:block;font-family:var(--font-title);font-size:24px;font-weight:400}
.story-mini-stats small,.story-small{font-size:12px;color:var(--muted);line-height:1.6}
.story-library{padding:24px}
.story-library-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.story-library-head h3{font-size:27px}
.story-library-head>span{font-size:12px;color:var(--muted);flex-shrink:0}
.story-filters{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:20px}
.story-filters label{min-width:0;display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}
.story-filters input,.story-filters select{width:100%;min-width:0;font-family:var(--font-body);font-size:15px;min-height:45px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--white);padding:10px;color:var(--ink)}
.story-filters input:focus,.story-filters select:focus{outline:2px solid var(--blue);outline-offset:2px}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.story-card{min-width:0;display:flex;flex-direction:column;gap:10px;min-height:184px;padding:17px;border:1px solid var(--line);border-radius:15px;background:var(--paper);transition:border-color .24s,box-shadow .3s,transform .35s cubic-bezier(.22,1,.36,1)}
@media(hover:hover){.story-card:hover{border-color:var(--blue);transform:translateY(-3px);box-shadow:0 6px 0 #54678719}}
.story-card-top,.story-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.story-card-top{align-items:flex-start}
.story-card-region{color:var(--blue);padding-top:6px;font-size:10px}
.story-card h3{font-size:23px;line-height:1.22;overflow-wrap:anywhere}
.story-card p{font-size:14px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.story-card-bottom{margin-top:auto}
.story-save,.story-open{width:36px;height:36px;color:var(--blue);border-color:var(--line);background:var(--white)}
.story-save.saved{background:var(--lime);color:var(--ink);border-color:var(--ink)}
.story-save.saved svg{fill:var(--ink)}
.story-open{background:var(--blue);border-color:var(--blue);color:var(--white)}
.story-status{font-size:10px;line-height:1.45;color:var(--ink);border:1px solid #54678733;border-radius:8px;background:#E3E8EF;padding:5px 7px;overflow-wrap:anywhere;display:inline-block;width:fit-content}
.story-status.literal{background:#F2E7CB}.story-status.interpretation,.story-status.pending{background:#F0DED6}
.story-read-mark{font-size:12px;display:flex;align-items:center;gap:4px;color:var(--blue)}
.story-empty{grid-column:1/-1;padding:35px;text-align:center;display:grid;justify-items:center;gap:12px;color:var(--muted)}
.story-empty p{font-size:14px}
#story-more{display:flex;margin:20px auto 0;min-height:44px}
#story-more[hidden]{display:none}
.story-badge-panel{margin-top:22px;padding:24px}
.story-badge-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.story-badge-head p{font-size:13px;color:var(--muted);margin-top:7px}
.story-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.story-badge{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.story-badge.earned{border-color:var(--blue);background:var(--lime)}
.story-badge-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#DDE4EC;flex-shrink:0;color:var(--blue)}
.story-badge>div{flex:1;min-width:0}
.story-badge strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.story-badge small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}
.story-badge-state{font-size:10px;flex-shrink:0;color:var(--muted)}
.story-editor-note{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.7}
.story-detail-entry{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--white);width:100%;text-align:left;color:var(--ink);margin:14px 0}
.story-detail-entry>span:nth-child(2){flex:1;min-width:0}
.story-detail-entry strong,.story-detail-entry small{display:block;line-height:1.5}
.story-detail-entry strong{font-size:14px}.story-detail-entry small{font-size:12px;color:var(--muted)}
.story-detail-entry .ui-icon{flex-shrink:0;width:20px;height:20px}
.story-reader-title{display:flex;align-items:center;gap:13px;margin:12px 0 20px}
.story-reader-title>span{display:grid;place-items:center;width:48px;height:48px;background:var(--lime);border:1px solid var(--ink);border-radius:13px;flex-shrink:0}
.story-reader-title>div{min-width:0}
.story-reader-title h2{font-size:32px;line-height:1.2;padding:0;overflow-wrap:anywhere;margin-bottom:6px}
.story-meaning{padding:18px;background:var(--blue);color:var(--white);border-radius:14px}
.story-meaning h3{font-size:25px;line-height:1.3;margin-top:8px;overflow-wrap:anywhere}
.story-prose h3,.story-related h3,.story-sources h3{font-size:19px;margin:20px 0 8px;line-height:1.3}
.story-prose p,.story-quiz p{font-size:15px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.story-caution{background:var(--lime);padding:12px;border-radius:10px;font-size:12px;line-height:1.6;margin:13px 0;color:var(--ink)}
.story-related button,.story-inline-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:14px;color:var(--blue);text-align:left;padding:10px 0;border-bottom:1px solid var(--line)}
.story-sources a,.story-feedback a{display:block;color:var(--blue);font-size:12px;line-height:1.6;overflow-wrap:anywhere;text-decoration:underline;margin:6px 0}
.story-reader-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 8px}
.story-reader-actions .button{flex:1;min-width:0;font-size:13px;white-space:normal;min-height:44px;padding:10px}
.story-quiz-progress{margin:14px 0 19px}
.story-quiz h2{font-size:26px;line-height:1.3;overflow-wrap:anywhere}
.story-options{display:grid;gap:9px;margin:20px 0}
.story-options button{display:flex;align-items:center;gap:10px;text-align:left;min-height:49px;border:1px solid var(--line);border-radius:12px;padding:11px;background:var(--white);font-size:15px;overflow-wrap:anywhere;transition:background-color .2s,border-color .2s}
.story-options button>span{border-radius:8px;background:var(--paper);width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;color:var(--blue);font-weight:700}
.story-options button:disabled{opacity:1}
.story-options button.correct{background:#E2EBD8;border-color:#769267}
.story-options button.wrong{background:#F4DDD6;border-color:#BF7966}
.story-feedback{padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font-size:14px;line-height:1.6}
.story-feedback p{font-size:14px;margin:7px 0}
.story-quiz-score{font-family:var(--font-title);font-size:72px;color:var(--blue);line-height:1.1;margin:24px 0}
.story-quiz-score small{font-family:var(--font-body);font-size:25px}
@media(max-width:1150px){.story-card h3{font-size:21px}.story-section .section-heading h2{font-size:clamp(36px,5vw,55px)}}
@media(max-width:900px) and (min-width:761px){.desktop-nav .story-nav-link{font-size:10px;padding-inline:6px}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-daily,.story-progress-card{padding:20px}}
@media(max-width:760px){
.story-section{margin-top:52px;scroll-margin-top:88px}
.story-section .section-heading{align-items:flex-start;flex-direction:column;gap:14px}
.story-section .section-heading h2{font-size:clamp(32px,9vw,43px);line-height:1.14;letter-spacing:-.8px;overflow-wrap:anywhere}
.story-section .section-heading p{font-size:14px;max-width:100%}
.story-section .section-heading>.button{font-size:13px;min-height:44px;padding:10px 14px;gap:8px}
.story-top-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:21px}
.story-daily,.story-progress-card,.story-library,.story-badge-panel{padding:18px;border-radius:20px}
.story-daily{min-height:245px}
.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.story-card{padding:12px;gap:9px;min-height:168px}
.story-card h3{font-size:19px}.story-card p{font-size:13px}
.story-card-region{font-size:9px;letter-spacing:0}
.story-card-top,.story-card-bottom{gap:5px}
.story-save,.story-open{width:32px;height:32px;border-radius:9px}
.story-status{font-size:9px;padding:4px 5px}
.story-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.story-filters label:first-child{grid-column:1/-1}
.story-filters input,.story-filters select{font-size:16px}
.story-library-head h3{font-size:23px}
.story-library-head>span{font-size:11px}
.story-badge-head{align-items:flex-start;flex-direction:column;gap:7px}
.story-badges{grid-template-columns:minmax(0,1fr)}
.story-reader-title h2{font-size:28px}
.story-meaning h3{font-size:23px}
.story-reader-actions .button{font-size:12px}
.story-quiz h2{font-size:24px}
}
@media(max-width:370px){.story-grid{grid-template-columns:minmax(0,1fr)}.story-card{min-height:140px}.story-library-head h3{font-size:21px}.story-daily-bottom .button{font-size:12px;padding-inline:10px}.story-badge-state{font-size:9px}}
@media(prefers-reduced-motion:reduce){.story-card:hover,.story-save:hover,.story-open:hover{transform:none}}

.desktop-nav.story-nav-active .nav-indicator{opacity:0}.desktop-nav.story-nav-active [data-nav].is-active{color:var(--ink);background:transparent}.desktop-nav.story-nav-active .story-nav-link{background:var(--blue);color:var(--white);border-radius:8px}.story-section .story-kicker svg{width:17px;height:17px}

/* V2.4.1: compact province facts and quiz hub */
.province-plate{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:12px 14px;margin:12px 0;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.province-plate>div{min-width:0;flex:1}
.plate-kicker{display:block;font-size:10px;letter-spacing:.6px;color:var(--muted);margin-bottom:4px}
.province-plate strong{font-family:var(--font-title);font-weight:400;font-size:22px;line-height:1.3;color:var(--blue);overflow-wrap:anywhere;display:block}
.province-plate a{font-size:11px;color:var(--blue);text-decoration:underline;flex-shrink:0}
.quiz-topics{display:grid;gap:8px;margin:18px 0}
.quiz-topics button{display:flex;align-items:center;gap:12px;text-align:left;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:11px;min-width:0;min-height:57px;transition:background-color .22s,border-color .22s,transform .25s cubic-bezier(.22,1,.36,1)}
.quiz-topics button:first-child{background:var(--lime);border-color:var(--ink)}
.quiz-topics button:hover{border-color:var(--blue)}
.quiz-topics button>span:nth-child(2){flex:1;min-width:0}
.quiz-topics strong,.quiz-topics small{display:block;line-height:1.45}
.quiz-topics strong{font-size:15px}.quiz-topics small{font-size:11px;color:var(--muted);margin-top:3px}
.quiz-topic-icon{width:35px;height:35px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;color:var(--blue);flex-shrink:0}
.quiz-category{display:inline-block;font-size:11px;color:var(--blue);border-radius:7px;background:#DDE4EC;padding:5px 8px;margin:0 0 9px}
.quiz-refs{margin-top:8px;font-size:12px;color:var(--blue)}.quiz-refs summary{cursor:pointer}
@media(max-width:370px){.province-plate{padding:10px;gap:6px}.province-plate strong{font-size:19px}.province-plate a{font-size:10px}.quiz-topics button{padding:9px;gap:8px}}

/* V3.0 | compact experience */
.v3-kicker{display:block;font-size:11px;letter-spacing:.6px;color:var(--blue);font-weight:700}
.v3-passport{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:28px;padding:22px;border:1px solid var(--line);background:var(--white);border-radius:20px;margin-bottom:24px}
.v3-cover{aspect-ratio:3/4;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;background:var(--blue);color:#F0DFB4;padding:18px 10px;border:1px solid var(--ink);border-radius:9px 18px 18px 9px;box-shadow:4px 5px 0 var(--ink);transition:transform .45s cubic-bezier(.22,1,.36,1)}
.v3-cover svg{width:52px;height:52px;stroke:currentColor;fill:none;stroke-width:1.2}
.v3-cover span,.v3-cover small{font-size:10px;letter-spacing:.5px;line-height:1.4}
.v3-cover strong{font-family:var(--font-title);font-size:23px;line-height:1.12;font-weight:400}
.v3-passport-info{display:grid;gap:10px;min-width:0}
.v3-passport-info h3{font-family:var(--font-title);font-size:clamp(38px,6vw,72px);line-height:1.1;color:var(--blue)}
.v3-passport-info p{font-size:15px}.v3-passport-info small{font-size:12px;color:var(--muted)}
.v3-passport-info .button{justify-self:start;min-height:44px}
.v3-progress{height:8px;background:#DDE4EC;border-radius:20px;overflow:hidden}.v3-progress i{display:block;height:100%;background:var(--blue);transition:width .5s ease}
.v3-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.v3-pages .button{font-size:12px;min-height:42px}.v3-pages span{font-size:13px;white-space:nowrap}
.v3-recap{background:var(--white);border:1px solid var(--ink);border-radius:20px;padding:22px;margin-bottom:20px;display:grid;gap:14px}
.v3-recap-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.v3-recap-head h3{font-size:29px;margin-top:6px}
.v3-recap-head select,.share-controls select{min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);font:inherit}
.v3-recap-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v3-recap-stats>div{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0}
.v3-recap-stats strong{display:block;font-family:var(--font-title);font-size:clamp(28px,4vw,40px);line-height:1.15;overflow-wrap:anywhere;color:var(--blue)}.v3-recap-stats small{font-size:12px;color:var(--muted)}
.v3-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;height:118px;margin:5px 0}.v3-months>div{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:4px;min-width:0}.v3-months i{display:block;width:80%;max-width:32px;height:var(--bar);max-height:82px;background:var(--blue);border-radius:4px;min-height:3px}.v3-months span,.v3-months small{font-size:10px;color:var(--muted)}
.v3-recap p{font-size:13px;line-height:1.5;color:var(--muted)}.v3-recap .button{justify-self:start}
.quiz-shape{height:125px;display:grid;place-items:center;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:13px;margin:10px 0}.quiz-shape svg{height:100%;width:100%;max-width:170px;fill:var(--blue);stroke:none}
.quiz-extras{display:flex;flex-wrap:wrap;gap:8px}.quiz-extras .button{flex:1;min-width:0;white-space:normal;font-size:12px}
#postcard-year-wrap[hidden]{display:none!important}.share-controls .field select{width:100%}
@media(max-width:760px){.v3-passport{grid-template-columns:115px minmax(0,1fr);gap:16px;padding:14px}.v3-cover{padding:10px 6px}.v3-cover svg{width:34px;height:34px}.v3-cover strong{font-size:16px}.v3-cover span,.v3-cover small{font-size:7px}.v3-passport-info{gap:6px}.v3-passport-info h3{font-size:38px}.v3-passport-info .button{padding:8px 10px;font-size:11px;white-space:normal}.v3-passport-info p,.v3-passport-info small{font-size:11px}.v3-recap{padding:15px;gap:12px}.v3-recap-head h3{font-size:24px}.v3-recap-stats>div{padding:10px}.v3-recap-stats small{font-size:11px}.v3-pages{gap:7px}.v3-pages .button{padding-inline:9px;font-size:11px}.modal[open]{position:fixed;inset:auto 0 0!important;margin:0 auto!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 20px)!important;border-radius:24px 24px 0 0!important;padding-bottom:calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}.modal .field select{font-size:16px}.quiz-topics button{min-height:48px}.quiz-shape{height:105px}}
@media(max-width:350px){.v3-passport{grid-template-columns:100px minmax(0,1fr);gap:10px;padding:10px}.v3-cover strong{font-size:14px}.v3-passport-info h3{font-size:31px}}
@media(prefers-reduced-motion:reduce){.v3-cover,.v3-progress i{transition:none}}

.v3-date-option{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);min-height:32px}.v3-date-option input{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0}.v3-date-option[hidden]{display:none!important}.quiz-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-topics button:first-child{grid-column:1/-1}.quiz-topics button{gap:8px}.quiz-topics button>svg{display:none}.quiz-topics button:first-child>svg{display:block}@media(max-width:400px){.quiz-topics button{padding:8px;gap:6px}.quiz-topic-icon{width:27px;height:27px}.quiz-topics strong{font-size:12px}.quiz-topics small{font-size:10px}}

/* V3.0.1: balanced story copy and back to top */
.story-section .section-heading .story-intro{max-width:100%;text-wrap:pretty;line-height:1.65}
.story-intro>span{display:block;text-wrap:balance}
.back-to-top{position:fixed;right:clamp(18px,2.4vw,36px);bottom:clamp(20px,2.6vw,38px);z-index:45;display:grid;place-items:center;width:48px;height:48px;border:1.5px solid var(--ink);border-radius:14px;background:var(--white);color:var(--blue);box-shadow:3px 3px 0 var(--ink);cursor:pointer;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .25s ease,transform .35s cubic-bezier(.22,1,.36,1),background-color .2s}
.back-to-top[hidden]{display:none}.back-to-top.is-visible{opacity:1;transform:none;pointer-events:auto}
.back-to-top svg{width:23px;height:23px}
.back-to-top:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(hover:hover){.back-to-top.is-visible:hover{background:var(--lime);transform:translateY(-3px)}}
@media(max-width:760px){.back-to-top{display:none!important}.story-intro>span{text-wrap:pretty}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}

/* V3.0.2: navigation micro-interactions */
.desktop-nav a{transition:color .22s ease,background-color .26s ease,box-shadow .26s ease;touch-action:manipulation}
.desktop-nav a svg{transition:transform .32s cubic-bezier(.22,1,.36,1)}
.desktop-nav a:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}
@media(hover:hover) and (pointer:fine){
 .desktop-nav a:hover{background-color:#54678716;color:var(--blue)}
 .desktop-nav a:hover svg{transform:translateY(-2px) scale(1.1)}
 .desktop-nav:not(.story-nav-active) a.is-active:hover,.desktop-nav.story-nav-active .story-nav-link:hover{color:var(--white);background-color:#ffffff18;box-shadow:inset 0 0 0 1px #ffffff38}
 .desktop-nav.story-nav-active [data-nav].is-active:hover{color:var(--blue);background-color:#54678716}
 .desktop-nav a:active svg{transform:translateY(0) scale(.94)}
}
@media(prefers-reduced-motion:reduce){.desktop-nav a,.desktop-nav a svg{transition:none}.desktop-nav a:hover svg,.desktop-nav a:active svg{transform:none}}

/* V3.0.3 public polish */
.public-nudge{margin-top:12px;font-size:13px;line-height:1.55;color:var(--blue);max-width:100%}
.public-nudge[hidden]{display:none}
.public-footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;justify-content:flex-end}
.public-footer-links .text-link{font-size:12px;white-space:normal;text-align:left;line-height:1.5;min-height:32px}
.public-prose{display:grid;gap:7px;margin:15px 0 20px}
.public-prose h3{font-size:17px;margin-top:9px;line-height:1.4}
.public-prose p{font-size:14px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:760px){.public-footer-links{justify-content:flex-start;gap:4px 15px}.public-footer-links .text-link{min-height:44px}.public-prose p{font-size:14px}}

#feedback-status{min-height:1.5em;line-height:1.5}#feedback-challenge:empty{display:none}#feedback-challenge{margin-top:12px;max-width:100%}
/* V3.0.5: prevent startup tab indicator sweep; retain original atlas motion. */
.desktop-nav:not(.nav-motion-ready) .nav-indicator,.desktop-nav:not(.nav-motion-ready) a{transition:none!important}.desktop-nav:not(.nav-positioned):not(.story-nav-active) a.is-active{background:var(--blue);color:var(--white)}.desktop-nav:not(.nav-positioned) .nav-indicator{opacity:0}

/* V3.1 mobile-first shell; desktop selectors untouched. */
.mobile-app-heading,.mobile-app-nav,.mobile-more,.mobile-segments,.mobile-story-controls{display:none}
@media(max-width:760px){
 :root{scroll-padding-top:76px;--app-nav-height:70px}
 body{padding-bottom:calc(var(--app-nav-height) + env(safe-area-inset-bottom,0px) + 12px)}
 .site-header{height:calc(60px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);z-index:70}
 .header-inner{width:calc(100% - 32px)}
 .site-header .brand{font-size:23px}
 .mobile-menu,.mobile-nav,.hero,.marquee,.travel-note,.postcard-section,.site-footer,.scroll-progress{display:none!important}
 .mobile-app-heading{display:block;padding-top:20px;padding-bottom:14px}
 .mobile-app-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
 .mobile-app-top>div{min-width:0}
 .mobile-kicker{font-size:10px;letter-spacing:.8px;color:var(--blue);line-height:1.4}
 #mobile-screen-title{font-size:clamp(27px,7.5vw,39px);line-height:1.14;letter-spacing:-.7px;margin:5px 0 6px;overflow-wrap:anywhere}
 #mobile-screen-description{font-size:13px;color:var(--muted);line-height:1.45}
 .mobile-share{background:var(--white);border:1px solid var(--ink);border-radius:13px;width:44px;height:44px;flex:0 0 44px}
 .mobile-share svg{width:20px;height:20px}
 #mobile-nudges:empty{display:none}
 #mobile-nudges .public-nudge{margin:8px 0 0;font-size:12px}
 html:not([data-mobile-screen="map"]) #mobile-nudges{display:none}
 .journey{padding-top:0!important;scroll-margin-top:72px}
 .journey>.section-heading,.journey-toolbar,.journey-bottom,.mobile-list-jump{display:none!important}
 .story-section{margin-top:0!important;padding-bottom:14px;scroll-margin-top:72px}
 .story-section>.section-heading{display:none!important}
 html[data-mobile-screen="stories"] .journey,html[data-mobile-screen="more"] .journey{display:none!important}
 html:not([data-mobile-screen="stories"]) .story-section{display:none!important}
 html[data-mobile-screen="more"] .mobile-more{display:grid;gap:14px}
 .mobile-segments{display:flex;gap:4px;padding:4px;margin:0 0 12px;border:1px solid var(--ink);border-radius:13px;background:var(--white)}
 .mobile-segments button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;min-height:40px;border-radius:9px;padding:7px 5px;font-size:13px;line-height:1.3;color:var(--ink);transition:background-color .2s,color .2s}
 .mobile-segments button svg{width:17px;height:17px}
 .mobile-segments button[aria-pressed="true"]{background:var(--blue);color:var(--white)}
 .mobile-stats-segments{display:none}
 html[data-mobile-screen="stats"] .mobile-stats-segments{display:flex}
 html[data-mobile-map="map"] #panel-map .province-card{display:none!important}
 html[data-mobile-map="list"] #panel-map .map-card{display:none!important}
 .map-layout{display:block!important}
 .map-card,.province-card{border-radius:18px;box-shadow:none}
 .map-card-top{padding:14px 14px 0}
 .map-summary{margin:11px 15px 1px}
 .map-summary strong{font-size:39px}
 .map-summary p{margin-top:3px}
 .map-completion{margin-top:8px}
 .map-canvas{height:clamp(285px,calc(100dvh - 345px),475px);margin-top:6px}
 .map-card .map-bottom{padding:10px 14px}
 .map-hint{font-size:10px}
 .province-card{padding:15px 13px 0}
 .province-header{margin-bottom:12px}
 .province-header h3{font-size:21px}
 .province-list{height:auto;min-height:0;max-height:none;overflow:visible;padding-right:0;flex:none}
 .list-footer{padding:12px 0;margin-top:8px}
 .province-row{min-height:68px}
 .province-toggle{min-height:50px}
 .row-actions .icon-button{min-width:36px;width:36px;min-height:44px}
 .region-filters button{min-height:40px}
 .search-field input,.story-filters input,.story-filters select{font-size:16px}
 .mobile-story-controls{display:block;margin-bottom:14px}
 .mobile-quiz{display:flex;width:100%;justify-content:flex-start;min-height:46px}
 .mobile-quiz-arrow{margin-left:auto;font-size:22px}
 html[data-mobile-story="today"] .story-library,html[data-mobile-story="today"] .story-badge-panel,
 html[data-mobile-story="library"] .story-top-grid,html[data-mobile-story="library"] .story-badge-panel,
 html[data-mobile-story="badges"] .story-top-grid,html[data-mobile-story="badges"] .story-library{display:none!important}
 .story-library{margin-top:0!important}
 .story-badge-panel{margin-top:0!important}
 .story-top-grid{gap:12px}
 html[data-mobile-stats="overview"] .v3-recap,html[data-mobile-stats="overview"] #panel-stats>.badges-card,
 html[data-mobile-stats="recap"] #panel-stats>.stats-overview,html[data-mobile-stats="recap"] #panel-stats>.stats-detail,html[data-mobile-stats="recap"] #panel-stats>.badges-card,
 html[data-mobile-stats="badges"] #panel-stats>.stats-overview,html[data-mobile-stats="badges"] #panel-stats>.stats-detail,html[data-mobile-stats="badges"] .v3-recap{display:none!important}
 .stats-overview{gap:10px}.stat-tile{padding:15px;border-radius:16px}.stat-tile>strong{font-size:40px}
 .stats-detail{gap:10px;margin-top:10px}.rank-card,.region-stats,.badges-card{padding:16px;border-radius:16px}
 #panel-stats>.badges-card{margin-top:0}
 .v3-recap{margin-bottom:0}
 .v3-passport{margin-bottom:12px}
 .stamps-heading{margin:4px 0 12px;gap:9px}.stamps-heading h3{font-size:20px}
 .stamps-grid{gap:9px}.stamp-card{padding:18px 8px 12px;border-radius:14px}.stamp-map{height:76px}
 .v3-pages{margin:12px 0}
 .mobile-app-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;inset:auto 0 0;z-index:90;min-height:calc(var(--app-nav-height) + env(safe-area-inset-bottom,0px));padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));gap:2px;background:var(--white);border-top:1px solid var(--ink);box-shadow:0 -4px 22px #2834490c}
 .mobile-app-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:52px;gap:3px;padding:3px 0;color:var(--muted);border-radius:11px;font-size:10px;line-height:1.15;white-space:nowrap;transition:color .2s}
 .mobile-tab-icon{display:grid;place-items:center;width:43px;height:29px;border-radius:9px;transition:background-color .2s,transform .2s}
 .mobile-tab-icon svg{width:21px;height:21px}
 .mobile-app-nav button[aria-current="page"]{color:var(--ink);font-weight:700}
 .mobile-app-nav button[aria-current="page"] .mobile-tab-icon{background:var(--blue);color:var(--white)}
 .mobile-app-nav button:active .mobile-tab-icon{transform:scale(.92)}
 .mobile-more-card,.mobile-more-group{background:var(--white);border:1px solid var(--ink);border-radius:16px;padding:15px}
 .mobile-more-brand{display:flex;gap:14px;align-items:center;background:var(--lime)}
 .mobile-more-mark{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border:1px solid var(--ink);border-radius:13px;background:var(--white);color:var(--blue)}
 .mobile-more-mark svg{width:33px;height:33px}
 .mobile-more-brand strong{font-size:19px;line-height:1.3;display:block}
 .mobile-more-brand p{font-size:12px;margin-top:4px}
 .mobile-more-group h2{font-size:17px;margin-bottom:6px}
 .mobile-more-group button{display:grid;width:100%;grid-template-columns:25px minmax(0,1fr) 18px;gap:11px;align-items:center;text-align:left;min-height:63px;padding:11px 0;border-bottom:1px solid var(--line)}
 .mobile-more-group button:last-child{border-bottom:0}
 .mobile-more-group button>span:first-child{color:var(--blue)}.mobile-more-group button svg{width:20px;height:20px}.mobile-more-group button>span:last-child svg{width:15px;height:15px;transform:rotate(-90deg)}
 .mobile-more-group strong,.mobile-more-group small{display:block;overflow-wrap:anywhere}
 .mobile-more-group strong{font-size:14px;line-height:1.3}.mobile-more-group small{font-size:11px;color:var(--muted);line-height:1.45;margin-top:3px}
 .mobile-copyright{font-size:11px;text-align:center;color:var(--muted);line-height:1.5}
 .toast{bottom:calc(var(--app-nav-height) + env(safe-area-inset-bottom,0px) + 12px)!important}
 .shared-banner{margin-bottom:12px}
 .shared-banner p{min-width:0;flex:1 1 200px}
}
@media(max-width:370px){.mobile-app-nav button{font-size:9px}.mobile-tab-icon{width:38px}.mobile-more-group{padding:12px}.mobile-segments button{font-size:12px}}
@media(max-width:760px) and (prefers-reduced-motion:reduce){.mobile-app-nav button,.mobile-tab-icon,.mobile-segments button{transition:none}}

@media(max-width:760px){.province-list{height:clamp(230px,calc(100dvh - 420px),560px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:3px}}

@media(max-width:760px){.map-canvas{height:clamp(220px,calc(100dvh - 520px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),500px)}html:has(#browser-hint:not([hidden])) .map-canvas{height:clamp(220px,calc(100dvh - 552px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),500px)}.mobile-app-heading{padding-top:16px;padding-bottom:11px}.map-card .map-bottom{padding-block:9px}.map-summary{margin-top:8px}.mobile-app-nav button{font-size:11px}}@media(max-width:370px){.mobile-app-nav button{font-size:10px}}

/* V3.1.1 mobile detail polish. */
.line-arrow{display:inline-block;vertical-align:middle;flex:none;width:18px;height:18px}
@media(max-width:760px){
 :root{--mobile-control:12px;--mobile-card:18px;--mobile-body:14px;--mobile-caption:12px}
 .mobile-app-nav button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:54px;padding:2px 0;text-align:center;line-height:1.2}
 .mobile-app-nav button>span.mobile-tab-icon[data-icon]{display:grid;place-items:center;flex:0 0 32px;width:44px;height:32px;border-radius:11px;padding:0;margin:0 auto;line-height:0}
 .mobile-app-nav .mobile-tab-icon svg{display:block;width:22px;height:22px;margin:0;flex:none;transform:none}
 .mobile-app-nav button>span:last-child{display:block;line-height:1.25;font-size:11px;text-align:center}
 .mobile-app-nav button[aria-current="page"]{font-weight:600}
 #interactive-map{touch-action:none;overflow:hidden;-webkit-user-select:none;user-select:none}
 #map-canvas{overflow:hidden}
 .mobile-app-heading{padding-top:16px;padding-bottom:12px}
 #mobile-screen-title{font-size:clamp(28px,7.5vw,38px);line-height:1.15}
 #mobile-screen-description,.v3-passport-info p,.mobile-more-group strong,.story-card p{font-size:var(--mobile-body);line-height:1.5}
 .v3-passport-info small,.mobile-more-group small,.mobile-kicker,.map-hint,.mobile-copyright{font-size:var(--mobile-caption);line-height:1.4}
 .mobile-kicker{font-size:11px}
 .mobile-share,.mobile-segments,.mobile-more-group button .ui-icon{flex-shrink:0}
 .mobile-segments{border-radius:var(--mobile-control);margin-bottom:12px}
 .mobile-segments button{min-height:44px;gap:8px;border-radius:9px;font-size:13px}
 .mobile-segments button>span[data-icon],.button>span[data-icon]{display:grid;place-items:center;line-height:0}
 .mobile-segments svg,.button svg,.text-link svg{width:18px;height:18px;flex:none}
 .map-card,.province-card,.v3-recap,.v3-passport,.stat-tile,.rank-card,.region-stats,.badges-card,.story-card,.mobile-more-card,.mobile-more-group{border-radius:var(--mobile-card)}
 .v3-passport{gap:12px;padding:14px;grid-template-columns:clamp(94px,29%,115px) minmax(0,1fr)}
 .v3-passport-info .button{max-width:100%;min-height:44px;white-space:normal;font-size:12px;gap:6px;padding:9px 10px}
 .v3-passport-info h3{font-size:clamp(30px,9vw,40px)}
 .map-card-top .button,.button-small,.v3-pages .button{min-height:44px}
 .button,.icon-button,.field select,.field input,.field textarea{border-radius:var(--mobile-control)}
 .button{gap:8px}
 .modal .field input,.modal .field textarea,.modal .field select,.search-field input,.story-filters input,.story-filters select{font-size:16px}
 .modal .modal-actions{gap:8px;margin-top:20px}
 .modal .modal-actions .button{min-height:46px}
 .map-bottom{gap:6px;flex-wrap:wrap}
 .map-hint{white-space:normal}
 .story-card h3,.mobile-more-group h2{line-height:1.25}
 .mobile-more-group button{gap:12px;padding:12px 0}
}
@media(max-width:370px){.mobile-app-nav button>span:last-child{font-size:10px}.mobile-app-nav button>span.mobile-tab-icon[data-icon]{width:40px}.v3-passport-info small{font-size:11px}.v3-passport-info p{font-size:12px}.map-hint{font-size:10px}}

/* V3.1.2 touch UX: preserve the desktop motion and keyboard controls. */
@media(max-width:760px),(hover:none),(pointer:coarse){
 .confetti{display:none!important}
 .map-province:hover{fill:var(--white);stroke:#8994A4;stroke-width:.75}
 .map-province.visited:hover{fill:var(--blue);stroke:#D0D8E3}
 .map-province.wish:hover{fill:var(--lime);stroke:#A88B4F}
 .map-province.search-match:hover{stroke:#BB806A;stroke-width:2.3}
 .map-province:focus-visible{stroke:var(--blue);stroke-width:1.8}
}
@media(max-width:760px){
 .map-hint{font-size:11px;line-height:1.5;text-align:left}
 .toast{width:max-content;max-width:calc(100% - 24px);white-space:normal;overflow-wrap:anywhere;line-height:1.45;gap:8px;padding:10px 12px}
 .toast>span,.toast button{flex-shrink:0}
 .toast button{min-height:44px;margin-left:0;padding:8px 3px}
 .modal-close{min-width:44px;min-height:44px}
 .modal h2{padding-right:32px}
 .map-tooltip{max-width:calc(100% - 20px);white-space:normal}
 .map-card .map-bottom{align-items:center}
}
@media(hover:none){
 .button:hover,.icon-button:hover{transform:none}
}

@media(max-width:760px){.toast>.toast-copy{flex:1 1 auto;min-width:0}}

/* V3.1.7: explicit map progress label. */
.map-score>.map-percentage{flex:0 0 auto;white-space:nowrap}
@media(max-width:370px){.map-score{gap:5px}.map-score>span:not(.map-percentage){min-width:0;line-height:1.3}.map-score>.map-percentage{padding-inline:6px}}

/* Dual map modes: same screens, one compact selector. */
.dual-mode-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;margin:0 0 14px}
.dual-mode{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--ink);border-radius:13px;background:var(--white)}
.dual-mode button{min-height:40px;padding:8px 14px;border-radius:9px;font-size:13px;color:var(--ink);transition:background .2s,color .2s}
.dual-mode button[aria-pressed="true"]{background:var(--blue);color:var(--white)}
.dual-mode button:disabled{opacity:.6;cursor:wait}
#dual-era{font-size:12px;color:var(--muted);line-height:1.5}
.dual-notice{font-size:12px;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:12px;line-height:1.6}
.dual-notice details p{margin:6px 0 0}.dual-notice summary{cursor:pointer}.dual-notice a{color:var(--blue);text-decoration:underline}
.map-province.dual-unknown:not(.visited):not(.wish){fill:#d1d9e4;stroke:#8994a4;stroke-dasharray:2 1}
.dual-compare{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;color:var(--muted);font-size:12px}
.dual-compare span{border:1px solid var(--line);border-radius:10px;padding:7px 10px;background:var(--white)}
.dual-compare strong{color:var(--ink)}
@media(max-width:760px){.dual-mode-row{display:block;margin-bottom:10px}.dual-mode{width:100%;margin-bottom:5px}.dual-mode button{flex:1;min-height:42px;padding:6px;font-size:13px}#dual-era{display:block;text-align:center;font-size:11px}.dual-notice{font-size:11px}.dual-compare{gap:6px}.dual-compare span{flex:1;white-space:nowrap;text-align:center}.dual-mode-row+ .dual-notice{margin-top:0}}
@media(prefers-reduced-motion:reduce){.dual-mode button{transition:none}}

@media(max-width:760px){html[data-mobile-stats="recap"] .dual-compare,html[data-mobile-stats="badges"] .dual-compare{display:none}}

/* V3.3.1 quick list and bulk check-in */
.quick-list-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 10px}
.quick-list-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 1 auto;border:1px solid var(--ink);border-radius:12px;background:var(--white);color:var(--ink);font-size:12px;min-height:44px;padding:7px 9px;line-height:1.3;white-space:nowrap;transition:background .2s,color .2s}
.quick-list-actions button>span{display:grid;place-items:center;line-height:0}.quick-list-actions svg{width:16px;height:16px}
.quick-list-actions button[aria-pressed=true]{background:var(--blue);color:var(--white)}
.quick-list-actions button[hidden]{display:none}
.bulk-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin:6px 0;color:var(--blue)}
.bulk-summary button{padding:8px;min-height:44px;color:var(--blue);text-decoration:underline}
.bulk-list{max-height:clamp(150px,36dvh,340px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:var(--white);padding:3px 10px}
.bulk-row{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 2px;border-bottom:1px solid var(--line);cursor:pointer}
.bulk-row:last-child{border-bottom:0}.bulk-row input{accent-color:var(--blue);width:20px;height:20px;flex:none;margin:0}.bulk-row span{min-width:0}.bulk-row strong,.bulk-row small{display:block;line-height:1.4}.bulk-row small{font-size:11px;color:var(--muted)}
.bulk-empty{font-size:13px;padding:10px}.bulk-actions{margin-top:14px}
#bulk-search{font-size:16px}
@media(max-width:760px){.quick-list-actions button{font-size:11px;gap:5px;padding:6px}.bulk-list{max-height:32dvh}.bulk-row{min-height:48px}.bulk-actions .button{flex:1}.bulk-summary{font-size:12px}}
@media(prefers-reduced-motion:reduce){.quick-list-actions button{transition:none}}

/* V3.3.2–3.3.5: compact desktop workspace, single navigation, clear filters. */
#ban-do .section-heading h2{line-height:1.15;text-wrap:balance}
.dual-mode-row .save-status{margin-left:auto;white-space:nowrap}
.list-status-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;border:1px solid var(--line);border-radius:11px;padding:3px;background:var(--white);width:100%}
.quick-list-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding-bottom:8px}
.quick-list-actions .list-status-tabs button{min-height:38px;padding:5px 4px;border:0;border-radius:8px;font-size:12px;white-space:normal}
.quick-list-actions #bulk-open{background:var(--blue);color:var(--white);justify-self:stretch;min-height:44px}
.quick-list-actions #bulk-open[hidden],.list-toolbar label[hidden]{display:none!important}
.list-toolbar{padding-bottom:4px!important}
.dual-mode-row{gap:6px 12px}
#dual-notice{padding:7px 12px}
#panel-stats .v3-recap{margin-bottom:16px}
@media(min-width:761px){
 #ban-do.journey{padding-top:clamp(22px,3vh,32px);scroll-margin-top:100px}
 #ban-do>.section-heading{margin-bottom:14px;align-items:center;gap:12px}
 #ban-do>.section-heading .eyebrow{font-size:11px;margin-bottom:5px}
 #ban-do>.section-heading h2{font-size:clamp(29px,3.1vw,44px);letter-spacing:-1px;margin:0 0 6px;max-width:none}
 #ban-do>.section-heading p{margin:0;font-size:14px;line-height:1.45}
 #ban-do>.section-heading>.button{display:none}
 #ban-do .journey-toolbar{display:none}
 .dual-mode-row{margin-bottom:10px}
 .map-card-top{padding-top:12px}
 .map-layout{align-items:start;gap:16px}
 .province-card{padding-top:14px}
 .province-header{margin-bottom:10px!important}
 .province-card .search-field{margin-bottom:8px;min-height:44px}
 .province-card .region-filters{margin-bottom:5px}
 .map-canvas{height:clamp(380px,calc(100vh - 420px),620px)}
 .province-list{height:clamp(250px,calc(100vh - 490px),590px);min-height:250px;max-height:none;flex:none}
 .quick-list-actions{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
 .quick-list-actions #bulk-open{white-space:nowrap;padding-inline:10px}
 .quick-list-actions .list-status-tabs button{font-size:11px}
}
@media(min-width:761px) and (max-width:1100px){.quick-list-actions{grid-template-columns:1fr}}
@media(max-width:760px){.dual-mode-row .save-status{display:none}.quick-list-actions .list-status-tabs button{font-size:12px;min-height:42px}.quick-list-actions #bulk-open{min-height:44px}.province-card .region-filters{margin-bottom:7px}}
@media(prefers-reduced-motion:reduce){.list-status-tabs button{transition:none}}

/* V3.3.7: one prominent, compact quiz entry in discovery. */
.quiz-invitation{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:20px;width:100%;min-height:112px;text-align:left;padding:18px 22px;margin:0 0 18px;border:1.5px solid var(--ink);border-radius:18px;background:#f0dfb4;color:var(--ink);box-shadow:3px 3px 0 var(--ink);cursor:pointer;transition:transform .24s var(--ease),box-shadow .24s var(--ease)}
.quiz-invitation-icon{position:relative;display:grid;place-items:center;width:60px;height:60px;border:1.5px solid var(--ink);border-radius:14px;background:var(--white);transform:rotate(-7deg);transition:transform .3s var(--ease)}
.quiz-invitation-icon>span{display:grid;place-items:center}.quiz-invitation-icon svg{width:30px;height:30px}.quiz-invitation-icon i{position:absolute;right:-8px;top:-9px;display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--ink);border-radius:50%;background:var(--blue);color:white;font-style:normal;font-size:14px}
.quiz-invitation-copy{display:grid;gap:4px;min-width:0}.quiz-invitation-copy strong{font-family:var(--font-title);font-size:clamp(24px,2.6vw,34px);line-height:1.2;font-weight:400}.quiz-invitation-kicker{font-size:10px;letter-spacing:.7px;color:var(--ink)}.quiz-invitation-copy>span:last-child{font-size:13px;line-height:1.4}
.quiz-invitation-cta{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--blue);color:var(--white);padding:12px 16px;min-height:44px;border-radius:11px;white-space:nowrap;font-size:13px}.quiz-invitation-cta>span{display:grid;place-items:center}.quiz-invitation-cta svg{width:16px;height:16px}
.quiz-invitation:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(hover:hover) and (pointer:fine){.quiz-invitation:hover{transform:translateY(-2px);box-shadow:5px 5px 0 var(--ink)}.quiz-invitation:hover .quiz-invitation-icon{transform:rotate(4deg) scale(1.04)}.quiz-invitation:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}}
@media(max-width:760px){.quiz-invitation{grid-template-columns:48px minmax(0,1fr) auto;gap:10px;padding:12px 11px;min-height:90px;margin:0 0 14px;border-radius:14px;box-shadow:2px 2px 0 var(--ink)}.quiz-invitation-icon{width:43px;height:43px;border-radius:10px}.quiz-invitation-icon svg{width:24px;height:24px}.quiz-invitation-icon i{width:20px;height:20px;font-size:12px;right:-5px;top:-6px}.quiz-invitation-copy{gap:3px}.quiz-invitation-copy strong{font-size:21px}.quiz-invitation-kicker{font-size:9px;letter-spacing:0}.quiz-invitation-copy>span:last-child{font-size:11px}.quiz-invitation-cta{padding:8px;min-width:44px;font-size:11px;gap:2px}.quiz-invitation-cta svg{width:14px;height:14px}}
@media(max-width:360px){.quiz-invitation{grid-template-columns:40px minmax(0,1fr);gap:8px}.quiz-invitation-icon{width:36px;height:36px}.quiz-invitation-cta{grid-column:2;justify-self:start;min-height:32px;padding:5px 10px}.quiz-invitation-copy strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.quiz-invitation,.quiz-invitation-icon{transition:none}.quiz-invitation:hover,.quiz-invitation:hover .quiz-invitation-icon{transform:none}}

/* V3.3.8 reader: editorial photo, compact metadata, progressive disclosure */
.reader-v338{min-width:0}.reader-v338>.modal-eyebrow{padding-right:48px;margin-bottom:12px;line-height:1.4}
.reader-photo{margin:0 0 16px;min-width:0}.reader-photo-frame{position:relative;aspect-ratio:16/8.5;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--paper);display:grid;place-items:center}
.reader-photo-frame img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.reader-photo-empty{display:none;padding:12px;font-size:12px;color:var(--muted)}.reader-photo-frame.photo-failed img{display:none}.reader-photo-frame.photo-failed .reader-photo-empty{display:block}
.reader-photo figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;margin:7px 0 1px;font-size:11px;line-height:1.5;color:var(--muted)}.reader-photo figcaption strong{color:var(--ink);font-size:12px}.reader-photo a,.reader-photo-credit a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.reader-photo-credit{font-size:10px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.reader-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,auto);align-items:center;gap:12px;margin:0 0 15px}.reader-heading .story-reader-title{margin:0}.reader-heading .story-reader-title h2{font-size:clamp(25px,4vw,35px);line-height:1.2;margin-bottom:7px}.reader-heading .province-plate{margin:0;max-width:192px;padding:9px 11px;display:grid;gap:2px;align-items:start}.reader-heading .plate-kicker{font-size:9px;margin:0 0 3px}.reader-heading .province-plate strong{font-size:20px;line-height:1.25}.reader-heading .province-plate a{font-size:10px}.reader-heading:has(.story-reader-title:only-child){grid-template-columns:1fr}
.reader-v338 .story-meaning{padding:15px 17px;border-radius:13px}.reader-v338 .story-meaning h3{font-size:23px;line-height:1.3;margin-top:5px}.reader-v338 .story-prose h3{margin:17px 0 7px;font-size:19px}.reader-v338 .story-prose p{font-size:15px;line-height:1.75;color:var(--ink)}.reader-v338 .story-caution{background:#f0dfb4;margin:12px 0 16px;padding:10px 12px}
.reader-disclosure{border-top:1px solid var(--line);margin:0;padding:0}.reader-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;min-height:46px;padding:8px 1px;cursor:pointer;list-style:none}.reader-disclosure summary::-webkit-details-marker{display:none}.reader-disclosure summary:after{content:'+';font-size:22px;font-weight:400;line-height:1;color:var(--blue)}.reader-disclosure[open] summary:after{content:'−'}.reader-disclosure-body{padding:0 1px 12px;min-width:0}.reader-disclosure-body p{font-size:14px;line-height:1.6;color:var(--muted)}.reader-disclosure-body .story-related h3{font-size:14px;margin:8px 0}.reader-v338 .story-sources a{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px;line-height:1.5;padding:5px 0;margin:0}.reader-v338 .story-sources a svg{width:14px;height:14px;align-self:center;flex:none}.reader-v338 .story-reader-actions{margin-top:15px}.reader-bottom-links{display:flex;justify-content:space-between;gap:7px 12px;flex-wrap:wrap}.reader-bottom-links button{min-height:44px;text-align:left}
@media(max-width:760px){.reader-photo-frame{aspect-ratio:16/9}.reader-v338 .story-prose p{font-size:14px}.reader-heading{gap:8px;grid-template-columns:minmax(0,1fr) minmax(90px,auto)}.reader-heading .province-plate{max-width:124px;padding:7px 9px}.reader-heading .province-plate strong{font-size:18px}.reader-heading .story-reader-title h2{font-size:25px}.reader-v338 .story-meaning h3{font-size:21px}.reader-v338 .story-meaning{padding:13px 14px}.reader-photo figcaption{font-size:10px}.reader-photo-credit{font-size:10px}}
@media(max-width:360px){.reader-heading{grid-template-columns:1fr}.reader-heading .province-plate{max-width:none;display:flex;align-items:center}.reader-heading .province-plate strong{font-size:17px}.reader-photo-credit{font-size:10px}}
