:root{color-scheme:light;--ink:#22333b;--muted:#566a73;--red:#d94730;--yellow:#efbd43;--green:#167858;--line:#d7dedc;--bg:#f5f4ed}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Microsoft JhengHei','PingFang TC',Arial,sans-serif;line-height:1.7;font-size:20px}button{font:inherit;cursor:pointer;touch-action:manipulation;transition:transform .2s,background .2s,border-color .2s,box-shadow .2s}button:disabled{cursor:default}button:focus-visible{outline:3px solid #2879a1;outline-offset:4px}button:active:not(:disabled){transform:scale(.98)}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4}h2{font-size:clamp(30px,3.1vw,44px);letter-spacing:-.03em}img{display:block;max-width:100%}.topbar{max-width:1500px;margin:auto;padding:22px 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.brand{display:flex;align-items:center;gap:13px;background:none;border:0;text-align:left;font-size:24px;font-weight:bold;color:var(--ink)}.brand small{display:block;font-size:14px;font-weight:400;color:var(--muted);letter-spacing:.06em}.brand-mark{width:40px;color:var(--red)}.brand-mark svg{display:block;width:100%}.topbar-right{display:flex;gap:25px;align-items:center}.edition{font-size:15px;color:var(--muted)}.sound{border:1px solid #cbd4d2;background:#fff9;border-radius:8px;padding:10px 17px;font-size:17px}.sound[aria-pressed=true]{background:#e3f1e8;border-color:#94b9a3}main{max-width:1380px;margin:auto;min-height:calc(100vh - 190px);outline:none}.workspace{padding:36px 34px 52px}.eyebrow{font-size:17px;font-weight:bold;color:#a66f14;letter-spacing:.09em;display:flex;align-items:center;gap:12px;margin-bottom:16px}.eyebrow:before{content:'';width:23px;height:4px;background:var(--yellow)}.cinema-hero{min-height:650px;position:relative;overflow:hidden;border-radius:17px;background:#eee9df;border:1px solid #dbd8cc;isolation:isolate;box-shadow:0 17px 42px #493f2910;display:flex;align-items:center}.hero-photo{position:absolute;inset:0 0 0 18%;background:linear-gradient(90deg,#eee9df 0%,#eee9dfe8 12%,#eee9df00 46%),url('assets/real-hero.jpg') center/cover;z-index:-1}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#eee9df66,transparent 22%)}.hero-copy{position:relative;width:58%;padding:50px}.hero-copy h1{font-size:clamp(48px,5.4vw,78px);letter-spacing:-.04em;line-height:1.2;font-weight:900}.hero-copy h1 span{display:block;color:var(--red);margin-top:8px}.hero-subtitle{font-size:25px;font-weight:700;line-height:1.7;margin:27px 0 29px;color:#27383d}.primary{display:inline-flex;align-items:center;justify-content:center;gap:32px;border:0;background:var(--red);color:#fff;border-radius:8px;padding:16px 29px;font-size:21px;font-weight:700;box-shadow:0 7px 22px #cb45202a;min-height:61px}.primary span{font-family:Arial;font-size:25px;line-height:1}.primary:hover:not(:disabled){background:#bd3522;transform:translateY(-3px);box-shadow:0 9px 28px #cb45203a}.primary:disabled{background:#dce2df;color:#7c8a85;box-shadow:none}.hero-copy .primary{min-width:260px}.hero-details{display:flex;gap:12px;align-items:center;margin-top:24px;color:#4d5d61;font-size:16px;font-weight:600}.hero-details i{width:4px;height:4px;background:var(--red);border-radius:50%}.hero-corner{position:absolute;right:25px;bottom:25px;padding:12px 18px;background:#ffffffdb;border-left:4px solid var(--yellow);font-size:13px;color:#53626a;backdrop-filter:blur(8px);line-height:1.8}.hero-corner strong{font-size:15px;color:var(--ink)}.home-path{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.home-path>div{display:flex;align-items:center;gap:21px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px 28px}.path-number{font:300 46px Arial;color:var(--red);border-right:1px solid #e2e7e3;padding-right:22px}.home-path small{color:#9f6d19;font-weight:700;font-size:14px;letter-spacing:.1em}.home-path h3{font-size:25px}.home-path p{font-size:17px;color:var(--muted);margin-top:6px}.path-arrow{margin-left:auto;font-size:30px;color:#9eaaa5}.original-section{margin-top:52px;display:grid;grid-template-columns:1fr 1.4fr;gap:36px;align-items:center;border-top:1px solid var(--line);padding-top:40px}.original-section h2{font-size:31px}.original-section p{font-size:20px;color:var(--muted);margin-top:16px}.original-section img{width:100%;height:auto;border-radius:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:29px}.section-heading>p{font-size:18px;color:var(--muted)}.progress{max-width:165px;flex-shrink:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:9px}.progress strong{font:300 45px Arial;color:var(--red)}.progress>span{font-size:18px;color:var(--muted)}.progress-dots{width:100%;display:flex;gap:8px;margin-top:7px}.dot{width:22px;height:5px;background:#d6ded8;border-radius:8px}.dot.on{background:var(--red)}.mission-gallery{display:grid;grid-template-columns:1fr 1fr;gap:28px}.mission-feature{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 9px 26px #30483409}.mission-feature>img{width:100%;aspect-ratio:16/9;object-fit:cover}.feature-bottom{padding:30px}.level-tag{display:inline-block;color:#a46a10;background:#fff0c9;padding:5px 11px;border-radius:4px;font-size:16px;font-weight:700;letter-spacing:.06em;margin-bottom:15px}.feature-bottom h3{font-size:33px}.feature-bottom p{font-size:20px;color:var(--muted);margin:15px 0 26px;line-height:1.8}.feature-bottom .primary{width:100%}.lock-note{display:block;padding:16px;background:#eef1ee;color:#62716a;text-align:center;border-radius:8px;font-size:19px}.pending .level-tag{background:#eaf0eb;color:#62736a}.scenario-panel{display:grid;grid-template-columns:1.03fr 1fr;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 32px #354b3c08}.scenario-visual{position:relative;background:#e9ece6;align-self:stretch;display:flex;align-items:center}.scenario-visual img{width:100%;height:100%;object-fit:cover;max-height:500px;min-height:360px}.visual-index{position:absolute;left:20px;top:20px;background:#fffdf3ec;color:#8e5d13;border-left:4px solid var(--yellow);font-size:16px;font-weight:bold;padding:7px 12px}.scenario-copy{padding:29px 33px;display:flex;flex-direction:column;justify-content:center}.micro-label{font-size:16px;font-weight:bold;color:#a46c14;margin-bottom:14px;letter-spacing:.04em}.scenario-copy p{font-size:21px;line-height:1.9;color:#45575c}.scenario-copy h3{font-size:26px;line-height:1.6;margin-top:23px;color:var(--ink)}.choice-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:27px 0 16px;font-size:19px;font-weight:bold}.choice-heading small{font-size:16px;font-weight:400;color:var(--muted)}.answers{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.option{background:#fff;border:1px solid #d1dbd5;border-radius:12px;text-align:left;color:var(--ink);display:flex;flex-direction:column;gap:16px;padding:24px;min-height:240px;position:relative;font-size:20px;font-weight:600;line-height:1.8;box-shadow:0 4px 12px #30483405}.letter{display:grid;place-items:center;border:1px solid #d6dbd0;border-radius:7px;background:#f6f4e9;font:600 21px Arial;color:#a57419;width:39px;height:39px}.option-arrow{position:absolute;right:22px;top:20px;color:#b8c1b7;font-size:23px}.option:hover:not(:disabled){border-color:#dfad48;background:#fffcf1;transform:translateY(-4px);box-shadow:0 9px 22px #5b492e10}.option.correct{background:#e8f5ed;border-color:var(--green);animation:confirm .4s}.option.correct .letter{background:var(--green);color:white;border-color:var(--green)}.option.wrong{background:#fff3e2;border-color:#c89443;animation:nudge .3s}.feedback{margin-top:22px;padding:22px 27px;background:#fff2d7;border:1px solid #e5c484;border-radius:12px;animation:rise .3s}.feedback strong{font-size:23px;color:#9a6915;display:block;margin-bottom:8px}.feedback p{font-size:20px;line-height:1.85}.feedback.good{background:#e9f5ec;border-color:#9cc5ac}.feedback.good strong{color:var(--green)}.quiz-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px}.rule{font-size:16px;color:var(--muted)}.instruction{display:flex;gap:17px;align-items:center;background:#fff4d3;border:1px solid #e6d49d;border-radius:10px;padding:20px 24px;margin-bottom:28px}.instruction-icon{font-size:32px;color:#a0751c}.instruction b{font-size:22px}.instruction small{font-size:16px;display:block;margin-top:4px;color:#726742}.board{display:grid;grid-template-columns:1fr 90px 1fr;position:relative}.column{display:grid;grid-template-rows:45px repeat(5,minmax(112px,auto));gap:14px;z-index:1;min-width:0}.column h3{display:flex;align-items:center;gap:12px;font-size:23px}.column h3>span{font:600 17px Arial;color:var(--red)}.column h3 small{margin-left:auto;font-size:16px;color:var(--muted);font-weight:400}.match-card{font-size:20px;background:white;border:1px solid #d3dcd5;border-radius:10px;display:flex;gap:15px;align-items:center;min-height:115px;padding:21px;text-align:left;line-height:1.7;color:var(--ink);position:relative}.badge{font:600 18px Arial;min-width:30px;flex-shrink:0;color:#a87c25}.match-card:hover:not(:disabled){border-color:#dba547;transform:translateY(-2px);background:#fffbed}.match-card.selected{background:#fff0cc;border-color:#c89125;box-shadow:0 0 0 3px #dba54720}.match-card.done{background:#e7f4ea;border-color:#8ebd9f}.match-card.done .badge{color:var(--green);font-size:16px}.match-card.wrong{background:#fff0df;border-color:#cc8e4b;animation:nudge .3s}.port{position:absolute;right:-5px;top:calc(50% - 5px);width:10px;height:10px;border:2px solid #aebeb2;background:var(--bg);border-radius:50%}#measures .port{right:auto;left:-5px}.done .port{background:var(--green);border-color:var(--green)}#lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#lines path{stroke-width:3;stroke-dasharray:700;animation:connect .6s}.mobile-selected{display:none}.pair-footer{display:flex;gap:25px;align-items:center;justify-content:space-between;margin-top:26px}.pair-footer #pair-feedback{flex:1}.pair-footer .feedback{margin-top:0}.pair-footer .primary{flex-shrink:0}.pair-status{font-size:19px;color:var(--muted)}.finish-layout{background:linear-gradient(135deg,#fffdf3,#edf4ef);border:1px solid var(--line);border-radius:17px;padding:45px;min-height:600px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}.finish-visual{height:380px;position:relative;display:grid;place-items:center;overflow:hidden}.finish-symbol{font:300 110px Arial;color:var(--red);background:#fff;width:180px;height:180px;display:grid;place-items:center;border-radius:50%;box-shadow:0 15px 50px #b9781d18;animation:symbol .6s}.orbit{position:absolute;border:1px solid #e4c587;border-radius:50%;width:280px;height:280px;animation:symbol .7s}.orbit-two{width:360px;height:360px;border-style:dashed;border-color:#e2d4b4}.orbit-one:before{content:'';width:13px;height:13px;border-radius:50%;background:var(--yellow);position:absolute;top:35px;left:27px}.finish-stamp{position:absolute;bottom:45px;padding:7px 20px;background:var(--red);border-radius:25px;color:white;font-size:19px}.success .finish-symbol{color:var(--green)}.success .finish-stamp{background:var(--green)}.finish-copy h2{font-size:45px}.finish-copy h2 em{font-style:normal;color:var(--red);display:block}.finish-copy>p{font-size:22px;margin-top:20px;color:var(--muted)}.finish-status{display:flex;flex-direction:column;gap:9px;margin:25px 0;font-size:20px;color:var(--green)}.summary-total{font-size:18px;color:var(--muted)}.takeaway-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.takeaway{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;position:relative}.takeaway img{width:100%;aspect-ratio:3/2;object-fit:cover}.takeaway>div:not(.takeaway-number){padding:24px}.takeaway h3{font-size:25px;margin-bottom:12px}.takeaway p{font-size:20px;color:var(--muted);line-height:1.85}.takeaway-number{position:absolute;left:15px;top:15px;color:#986414;background:#fffcece8;padding:3px 10px;font:700 17px/1.8 Arial;border-radius:5px}.takeaway-check{display:none}.closing{text-align:center;margin-top:40px;padding-top:30px;border-top:5px solid var(--yellow)}.closing p{font-size:30px;line-height:1.7}.closing strong{color:var(--red)}.actions{display:flex;justify-content:center;gap:15px;margin-top:27px}.secondary{background:white;border:1px solid #c9d2cb;border-radius:8px;padding:15px 26px;font-size:21px;color:var(--ink);font-weight:bold}.secondary:hover{background:#edf1e9}footer{max-width:1312px;margin:auto;padding:23px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;font-size:15px;color:var(--muted)}.enter .workspace{animation:rise .4s}.spark-burst{position:fixed;left:50%;top:45%;z-index:100;pointer-events:none;width:1px;height:1px}.spark-burst i{position:absolute;width:6px;height:14px;background:var(--color);border-radius:2px;animation:burst .8s ease-out forwards}@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes symbol{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes nudge{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes confirm{50%{transform:scale(1.015)}100%{transform:scale(1)}}@keyframes connect{from{stroke-dashoffset:700}to{stroke-dashoffset:0}}@keyframes burst{0%{opacity:1;transform:rotate(var(--angle)) translateY(0)}100%{opacity:0;transform:rotate(var(--angle)) translateY(-180px) rotate(90deg)}}
@media(max-width:1150px){.workspace{padding:30px 28px 40px}.hero-copy{padding:36px;width:62%}.hero-copy h1{font-size:62px}.cinema-hero{min-height:610px}.hero-subtitle{font-size:24px}.hero-photo{left:13%}.scenario-copy{padding:25px}.scenario-copy p{font-size:20px}.scenario-copy h3{font-size:24px}.option{padding:21px;font-size:19px;min-height:270px}.answers{gap:14px}.board{grid-template-columns:1fr 60px 1fr}.match-card{font-size:19px;padding:18px;gap:10px}.column h3 small{display:none}.takeaway-list{grid-template-columns:1fr 1fr}.finish-layout{padding:32px}.finish-copy h2{font-size:39px}footer{margin:0 28px}.original-section{grid-template-columns:1fr 1.3fr}}
@media(max-width:800px){.edition{display:none}.hero-copy{width:66%;padding:30px}.hero-copy h1{font-size:53px}.hero-subtitle{font-size:22px}.hero-copy .eyebrow{font-size:15px}.hero-details{font-size:14px;gap:9px}.hero-corner{display:none}.cinema-hero{min-height:570px}.hero-photo{left:5%;background:linear-gradient(90deg,#eee9df 0%,#eee9dfc9 25%,#eee9df00 75%),url('assets/real-hero.jpg') center/cover}.home-path>div{padding:22px;gap:14px}.path-number{font-size:35px;padding-right:15px}.home-path h3{font-size:22px}.path-arrow{display:none}.home-path p{font-size:16px}.original-section{grid-template-columns:1fr;gap:23px}.original-section img{max-width:760px;margin:auto}.scenario-panel{grid-template-columns:1fr}.scenario-visual img{height:auto;min-height:0;max-height:480px;object-fit:contain}.scenario-copy{padding:28px}.scenario-copy p{font-size:21px}.scenario-copy h3{font-size:26px}.answers{grid-template-columns:1fr}.option{min-height:95px;flex-direction:row;align-items:center;font-size:20px;padding:22px;gap:20px}.letter{flex-shrink:0}.option-arrow{position:static;margin-left:auto}.mission-gallery{gap:20px}.feature-bottom{padding:25px}.feature-bottom h3{font-size:29px}.feature-bottom p{font-size:19px}.feature-bottom .primary{font-size:19px;padding:15px 18px}.finish-layout{grid-template-columns:1fr;gap:0;min-height:0}.finish-visual{height:320px;max-width:400px;width:100%;margin:auto}.orbit-two{width:310px;height:310px}.orbit{width:245px;height:245px}.finish-symbol{width:160px;height:160px;font-size:85px}.finish-stamp{bottom:25px}.finish-copy{text-align:center;padding:15px}.finish-copy .eyebrow{justify-content:center}.finish-status{align-items:center}.pair-footer{flex-direction:column;align-items:stretch}.pair-footer .primary{align-self:flex-end}.instruction b{font-size:20px}.instruction small{font-size:15px}.match-card{font-size:18px;padding:16px}.takeaway-list{gap:18px}.takeaway p{font-size:19px}}
@media(max-width:520px){body{font-size:19px}.topbar{padding:17px 18px}.brand{font-size:20px;gap:10px}.brand-mark{width:32px}.brand small{font-size:11px;letter-spacing:0}.sound{font-size:14px;padding:8px 11px}.workspace{padding:22px 17px 35px}.cinema-hero{display:block;min-height:0;background:#eee9df;border-radius:12px}.hero-photo{position:relative;inset:auto;height:300px;background:url('assets/real-hero.jpg') 65% center/cover}.hero-photo:after{background:linear-gradient(0deg,#eee9df,transparent 45%)}.hero-copy{padding:0 24px 29px;width:100%;margin-top:-30px}.hero-copy h1{font-size:47px;letter-spacing:-.04em}.hero-copy .eyebrow{font-size:14px;margin-bottom:15px}.hero-subtitle{font-size:21px;margin:22px 0}.hero-copy .primary{width:100%;min-width:0;font-size:21px}.hero-details{font-size:14px;justify-content:center;margin-top:22px}.home-path{grid-template-columns:1fr;gap:12px;margin-top:17px}.home-path>div{padding:21px;gap:20px}.home-path h3{font-size:24px}.home-path p{font-size:17px}.home-path small{font-size:13px}.path-number{font-size:39px}.original-section{margin-top:32px;padding-top:28px;gap:22px}.original-section h2{font-size:27px}.original-section p{font-size:18px;margin-top:11px}.eyebrow{font-size:15px}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:17px;margin-bottom:23px}.section-heading h2{font-size:29px}.section-heading>p{font-size:18px}.progress{max-width:none;width:100%;align-items:center;gap:8px}.progress strong{font-size:31px}.progress>span{font-size:16px}.progress-dots{margin:0 0 0 auto;width:auto;gap:7px}.dot{width:21px}.mission-gallery{grid-template-columns:1fr;gap:23px}.feature-bottom{padding:24px}.feature-bottom h3{font-size:29px}.feature-bottom p{font-size:19px}.level-tag{font-size:14px}.scenario-copy{padding:22px}.scenario-copy p{font-size:20px;line-height:1.85}.scenario-copy h3{font-size:24px;margin-top:20px}.micro-label{font-size:14px}.visual-index{font-size:14px;top:13px;left:13px}.choice-heading{align-items:flex-start;flex-direction:column;gap:5px;margin:23px 0 13px;font-size:20px}.choice-heading small{font-size:15px}.option{font-size:19px;padding:19px 16px;gap:13px;align-items:flex-start;min-height:110px}.letter{width:31px;height:34px;font-size:18px;margin-top:3px}.option-arrow{display:none}.feedback{padding:20px}.feedback strong{font-size:22px}.feedback p{font-size:19px}.quiz-actions{flex-direction:column;align-items:stretch;gap:16px}.rule{font-size:15px}.primary{font-size:20px;padding:16px 23px}.instruction{padding:17px;gap:12px;align-items:flex-start}.instruction b{font-size:20px}.instruction small{font-size:14px}.instruction-icon{font-size:27px}.board{display:flex;flex-direction:column;gap:24px}.board-gap,#lines,.port{display:none}.column{display:flex;flex-direction:column;gap:11px}.column h3{font-size:23px;margin-bottom:5px}.column h3 small{display:block;font-size:15px}.match-card{font-size:19px;min-height:100px;padding:20px 16px;gap:13px}.mobile-selected{display:block;position:sticky;top:0;z-index:2;background:#fff1cb;border:1px solid #daba74;border-radius:8px;padding:13px 15px;font-size:16px}.pair-footer .primary{width:100%}.finish-layout{padding:18px;border-radius:12px}.finish-copy{padding:14px 4px}.finish-copy h2{font-size:35px}.finish-copy>p{font-size:20px}.finish-status{font-size:18px}.finish-copy .primary{font-size:19px;width:100%;gap:12px}.takeaway-list{grid-template-columns:1fr;gap:22px}.takeaway h3{font-size:26px}.takeaway p{font-size:20px}.takeaway>div:not(.takeaway-number){padding:24px}.summary-total{display:none}.closing p{font-size:25px}.actions{flex-direction:column;gap:13px}.secondary{font-size:20px}footer{margin:0 18px;padding:20px 0;flex-direction:column;gap:6px;font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.spark-burst{display:none}}

/* Original meeting photograph, presented uncropped on the cover. */
.cinema-hero{display:grid;grid-template-columns:.85fr 1.35fr;min-height:0;align-items:center;background:#eee9df}.hero-copy{grid-column:1;grid-row:1;width:100%;padding:42px 32px}.hero-copy h1{font-size:clamp(42px,4.5vw,66px)}.hero-photo.meeting-photo{position:relative;inset:auto;grid-column:2;grid-row:1;background:none;z-index:0;height:auto;padding:24px 24px 24px 0}.hero-photo.meeting-photo:after{display:none}.meeting-photo img{width:100%;height:auto;object-fit:contain;border-radius:10px}.hero-subtitle{font-size:23px}.hero-details{flex-wrap:wrap;font-size:15px}
@media(max-width:1000px){.cinema-hero{grid-template-columns:1fr}.hero-copy{grid-column:1;grid-row:2;padding:28px 32px 35px;margin:0}.hero-photo.meeting-photo{grid-column:1;grid-row:1;padding:22px 22px 0;height:auto}.hero-copy h1{font-size:53px}.hero-copy h1 span{display:inline;margin-left:.2em}.hero-subtitle{margin:20px 0}.hero-subtitle br{display:none}}
@media(max-width:520px){.hero-photo.meeting-photo{padding:12px 12px 0}.hero-copy{padding:24px}.hero-copy h1{font-size:44px}.hero-copy h1 span{display:block;margin-left:0}.hero-subtitle{font-size:21px}.hero-subtitle br{display:block}.meeting-photo img{border-radius:6px}}

/* Touch-friendly responsive layout */
button{touch-action:manipulation;min-height:44px}.workspace,.column,.scenario-copy,.hero-copy{min-width:0}.device-note{font-size:17px;line-height:1.6;margin:18px 0 0;color:#575b60}.mobile-return{display:none}
@media(max-width:520px){.mobile-return{display:block;width:100%;margin-top:20px}.hero-copy h1{font-size:clamp(34px,10vw,44px)}.device-note{font-size:16px}.finish-visual{overflow:hidden}.instruction,.match-card,.option{overflow-wrap:anywhere}.topbar{gap:8px}.topbar-right{flex-shrink:0}.scenario-visual img{width:100%}}

/* Keep hazard and measure columns side by side on phones. */
@media(max-width:520px){
.board{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:0;align-items:start}
.board-gap{display:block}#lines{display:block;pointer-events:none}.port{display:none}
.column{gap:12px}.column h3{font-size:19px;flex-wrap:wrap;gap:5px;min-height:60px}.column h3 small{font-size:14px}
.match-card{width:100%;font-size:16px;line-height:1.65;min-height:185px;padding:12px 9px;flex-direction:column;align-items:flex-start;gap:8px;word-break:normal;overflow-wrap:anywhere}
.match-card.selected{transform:none;outline:3px solid #c42c22;outline-offset:1px}.match-card .badge{font-size:14px;flex-shrink:0}
.mobile-selected,.mobile-return{display:none}.instruction b{font-size:18px}.instruction small{font-size:15px}
.pair-footer{position:sticky;bottom:0;z-index:4;background:#fff;padding:10px;border-top:2px solid #e6ded1;max-height:38vh;overflow:auto;margin-top:18px}.pair-footer .feedback{padding:8px}.pair-footer .feedback p{font-size:16px}.pair-footer .feedback strong{font-size:18px}.pair-footer .primary:disabled{display:none}.pair-status{font-size:16px;margin:0}
}
