@charset "UTF-8";
:root{color-scheme:dark;--bg:#101b18;--surface:#192521;--surface-deep:#14201b;--border:#334039;--text:#edece4;--muted:#a2b0a7;--gold:#dbb776;--green:#99c6a9;--red:#e89986;--serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;--sans:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-family:var(--sans);font-size:16px;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,rgba(55,79,61,.15),transparent 65%);min-width:320px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button{border:0}img{display:block}p{line-height:1.8}h1,h2,h3,p{margin-top:0}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;padding:14px;background:var(--gold);color:var(--bg);z-index:100}.skip-link:focus{top:10px}
.header{height:94px;max-width:1560px;padding:0 52px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b3931;gap:24px}.brand{display:flex;align-items:flex-start;gap:22px}.brand img{filter:drop-shadow(0 3px 2px #0007);transform:none;width:31px;height:auto;margin-top:-7px;flex-shrink:0}.brand-name{font-family:var(--serif);font-size:25px;font-weight:600;letter-spacing:.16em;line-height:1.1}.brand-name small{display:block;font-family:var(--sans);font-size:12px;font-weight:500;letter-spacing:.21em;color:var(--muted);margin-top:9px}.navigation{align-self:stretch;display:flex;gap:40px}.navigation a{position:relative;display:flex;align-items:center;font-size:14px;color:var(--muted);white-space:nowrap}.navigation a.active{color:var(--text)}.navigation a.active:after{content:"";height:2px;background:var(--gold);position:absolute;bottom:-1px;left:0;right:0}.header-actions{display:flex;align-items:center;gap:25px}.rank{display:flex;align-items:center;gap:9px;font-size:13px;color:#d9c8a7;white-space:nowrap}.rank-symbol{border:1px solid #827250;border-radius:50%;height:29px;width:29px;display:grid;place-items:center;font-family:var(--serif);font-size:16px}.icon-button{width:36px;height:36px;display:grid;place-items:center;background:transparent;color:var(--muted);border-radius:50%}.icon-button:hover{background:#ffffff0a;color:var(--gold)}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.page{max-width:1464px;padding:40px 52px 34px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.eyebrow{font-size:12px;letter-spacing:.23em;color:var(--gold);display:flex;align-items:center;gap:14px;margin-bottom:12px}.eyebrow-line{height:1px;width:36px;background:#826e48}h1{font-family:var(--serif);font-size:31px;letter-spacing:.07em;font-weight:500;line-height:1.5;margin:0 0 9px}.page-heading p{color:var(--muted);font-size:14px;margin:0}.session-stats{display:flex;align-items:center;gap:29px;text-align:center;padding-right:4px}.session-stats>div{min-width:70px}.session-stats span{font-size:12px;color:var(--muted);display:block;letter-spacing:.04em}.session-stats strong{font-family:Georgia,serif;font-size:33px;line-height:1.4;font-weight:400;display:block}.session-stats small{font-family:var(--sans);font-size:12px;margin-left:5px;color:var(--muted)}.session-stats i{height:38px;width:1px;background:var(--border)}
.mode-navigation{display:flex;border-bottom:1px solid var(--border);gap:30px;margin-bottom:22px;overflow-x:auto;scrollbar-width:none}.mode-navigation::-webkit-scrollbar{display:none}.mode-button{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;position:relative;padding:0 0 16px;background:none;color:var(--muted);font-size:14px;min-height:42px;white-space:nowrap}.mode-button.active{color:var(--gold)}.mode-button.active:after{content:"";position:absolute;bottom:0;height:2px;width:100%;background:var(--gold)}.mode-button .icon{width:17px;height:17px}.mode-button:hover{color:var(--text)}
.practice-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:16px}.question-id{font-size:12px;letter-spacing:.14em;color:var(--muted);display:flex;align-items:center;gap:10px}.question-id strong{font-family:Georgia,serif;font-size:21px;color:var(--text);font-weight:400}.question-id>span{font-size:12px;color:var(--gold);padding:4px 8px;background:#dbb77614}.toolbar-controls{display:flex;gap:9px;align-items:center;font-size:12px}.toolbar-controls label{margin-right:3px;color:var(--muted)}select{font-size:13px;background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:5px;padding:8px 25px 8px 10px;min-height:36px}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 322px;gap:25px;align-items:start}.table-column{min-width:0}.table-frame{border-radius:18px;background:linear-gradient(145deg,#555147 0%,#292c26 11%,#37392e 40%,#1b1e19 70%,#454236 100%);padding:13px;box-shadow:0 17px 35px #0003,0 2px 3px #0008,inset 0 1px 1px #8e8b6870,inset 0 -4px 3px #080d08b0;position:relative}.table-frame:before{position:absolute;inset:6px;border:1px solid #95938132;border-radius:13px;content:"";pointer-events:none}.mahjong-table{position:relative;border:1px solid #081c13;border-radius:8px;background:linear-gradient(180deg,#07382f4d,#04291f33),url('/assets/felt.png') center/cover;min-height:453px;padding:24px 24px 26px;box-shadow:inset 0 2px 10px #0009,inset 0 0 45px #00150b55;display:flex;flex-direction:column;overflow:hidden}.table-top{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1}.table-context{display:flex;gap:10px;align-items:center;font-size:13px;color:#dae2cc}.table-context .divider{width:1px;height:13px;background:#b6c5a153}.wind-badge{display:grid;place-items:center;width:28px;height:28px;border:1px solid #c1c7a670;border-radius:3px;background:#062d2190;font-family:var(--serif);font-size:18px}.table-corner{font-size:12px;letter-spacing:.16em;color:#c0cbb5ae}.table-scene{position:relative;min-height:251px;display:flex;align-items:center;justify-content:center;gap:45px}.dora-area{position:absolute;left:0;top:24px}.dora-label{font-size:12px;letter-spacing:.09em;color:#d1ddc2aa;margin-bottom:9px}.dora-row{display:flex;gap:3px;align-items:flex-start}.dora-tile{width:31px;height:auto;filter:drop-shadow(1px 5px 3px #00170faa)}.ura-area{margin-top:16px}.ura-area .dora-tile{width:25px}.compass{width:132px;height:132px;background:linear-gradient(150deg,#314338,#13271e);border-radius:8px;border:3px solid #10291d;box-shadow:0 6px 9px #00190988,inset 0 1px 2px #a5b39a38;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(0deg)}.compass:before{content:"";position:absolute;inset:21px;border:1px solid #577057;border-radius:3px}.compass-label{font-size:12px;color:#95ab8d;letter-spacing:.12em;margin-bottom:3px}.round-display{font-size:23px;font-family:var(--serif);color:#e2ce97;letter-spacing:.08em}.compass-counters{font-size:12px;color:#91a88a;margin-top:6px;font-variant-numeric:tabular-nums}.compass-wind{position:absolute;font-family:var(--serif);color:#9baf94;font-size:13px;line-height:1}.compass-wind.north{top:5px;transform:rotate(180deg)}.compass-wind.east{right:5px;transform:rotate(-90deg)}.compass-wind.south{bottom:5px;color:var(--gold)}.compass-wind.west{left:5px;transform:rotate(90deg)}.table-mark{position:absolute;right:0;top:25px;writing-mode:vertical-rl;font-family:var(--serif);font-size:22px;letter-spacing:.3em;color:#bdd0a73d}.table-mark small{font-family:var(--sans);font-size:12px;letter-spacing:.28em;display:inline-block;margin-right:11px;opacity:.8}.riichi-line{position:absolute;bottom:29px;left:50%;transform:translateX(-50%);color:#e3cca5;font-size:12px;letter-spacing:.2em;display:flex;gap:10px;align-items:center}.riichi-line .riichi-dot{height:7px;width:7px;background:#b8563f;border:1px solid #d59a78;border-radius:50%;box-shadow:0 0 8px #b8563f44}.hand-area{margin-top:auto;position:relative}.hand-caption{display:flex;align-items:center;gap:8px;margin-bottom:11px;font-size:12px;color:#dce4c8}.hand-caption strong{font-weight:500}.hand-caption .seat-tag{color:#c3d1b59e;margin-left:5px;font-size:12px}.winning-tag{margin-left:auto;padding:4px 9px;border-radius:3px;font-size:12px;background:#e1c688;color:#3a3627;font-weight:600;letter-spacing:.08em}.hand-row{display:flex;gap:2px;align-items:flex-end;width:100%;padding:0 1px 8px;perspective:900px}.tile{flex:0 1 auto;min-width:0;width:calc((100% - 28px)/14);border-radius:5px;position:relative;filter:drop-shadow(2px 8px 3px #00110885);transform-origin:center bottom;transition:transform .18s,filter .18s;line-height:0}.tile img{width:100%;height:auto;border-radius:4px}.tile:hover{transform:translateY(-5px) rotate(-1deg);filter:drop-shadow(2px 11px 5px #00110885)}.tile.win{margin-left:12px}.tile.win:after{content:"";height:2px;background:#e4c581;position:absolute;bottom:-8px;left:15%;right:15%;box-shadow:0 0 8px #d7bc76b0}.meld-group{display:flex;gap:1px;margin-left:10px;flex:3 1 0;min-width:0;position:relative}.meld-group .tile{width:33.333%;flex:1}.meld-group.kan{flex:4}.meld-label{position:absolute;top:-20px;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.06em;color:#d8e2c8a0}.meld-group .tile.called{transform:rotate(0deg)}.hand-note{text-align:right;font-size:12px;color:#b7c7ad95;margin-top:8px}.under-table{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 3px 0;font-size:12px;color:#83998a}.keycap{padding:1px 4px;border:1px solid #516355;border-radius:3px;font-size:12px;color:#b7c5b8}.text-button{font-size:12px;padding:4px 0;background:none;color:var(--muted);line-height:1.8}.text-button:hover{color:var(--gold)}.text-button>span:last-child{margin-left:8px}.answer-card{background:linear-gradient(150deg,#213128,#1a2821);border:1px solid #435142;border-radius:10px;padding:24px;min-height:480px;box-shadow:0 12px 28px #0002;display:flex;flex-direction:column}.answer-steps{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #62715835;padding-bottom:19px;margin-bottom:23px}.answer-step{display:flex;align-items:center;gap:6px;font-size:12px;color:#80907f;white-space:nowrap}.answer-step.active{color:var(--gold)}.answer-step.done{color:var(--green)}.step-num{width:21px;height:21px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-size:12px}.step-dash{height:1px;width:15px;background:#516049;margin:0 4px}.question-step{font-size:12px;color:var(--gold);letter-spacing:.17em;margin-bottom:10px}.answer-card h2{font-family:var(--serif);font-weight:500;font-size:24px;line-height:1.6;margin:0 0 4px}.question-sub{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 20px}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 20px}.option{position:relative;min-height:57px;border-radius:5px;border:1px solid #61705766;background:#18251e;color:#e8eadf;display:flex;align-items:center;justify-content:center;gap:4px;font-size:21px;font-family:Georgia,var(--serif);transition:background .2s,border-color .2s,transform .2s;padding:10px 5px;line-height:1.5}.option small{font-family:var(--sans);font-size:12px;color:var(--muted);align-self:center;margin-left:3px}.option:hover:not(:disabled){background:#2b3d2d;border-color:#adab7d}.option.selected{background:#c9ab6b1a;border-color:var(--gold);color:#efd6a5;box-shadow:inset 0 0 0 1px #dbb776}.option.correct{border-color:var(--green);background:#81af8b23;color:#c0e9c7}.option.incorrect{border-color:var(--red);background:#d77d6220;color:#ffbcaa}.option.score-option{font-size:19px}.option.long-option{font-family:var(--sans);font-size:14px;line-height:1.6}.answer-actions{margin-top:auto}.primary-button{width:100%;min-height:48px;padding:12px 15px;background:#dfbd7f;color:#253023;font-size:14px;font-weight:600;border:1px solid #e0c698;border-radius:5px;box-shadow:inset 0 1px 0 #ffffed55,0 2px 2px #0003;display:flex;align-items:center;justify-content:center;gap:12px;transition:background .2s}.primary-button:hover{background:#efc98a}.primary-button:disabled{background:#655e48;color:#a4a28e;border-color:#77705a;box-shadow:none}.primary-button .icon{width:16px;height:16px}.hint-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:13px 4px 0;background:none;color:#9dac98;font-size:12px}.hint-button:hover{color:var(--gold)}.hint-button .icon{width:15px;height:15px}.hint{margin-top:12px;padding:12px;background:#071b1450;border-left:2px solid var(--gold);border-radius:0 4px 4px 0;font-size:13px;line-height:1.9;color:#d3d7c2}.feedback{font-size:13px;padding:12px 0;color:var(--green);line-height:1.6}.feedback.error{color:var(--red)}.feedback strong{display:block;font-size:16px;margin-bottom:4px}.result-mark{height:55px;width:55px;border:1px solid #8db4988a;background:#9acaab11;border-radius:50%;display:grid;place-items:center;margin:2px auto 17px;color:var(--green)}.result-mark .icon{width:26px;height:26px}.result-mark.error{color:var(--gold);border-color:#dbb77680;background:#dbb77610}.result-heading{text-align:center}.result-heading h2{font-size:23px}.result-heading p{color:var(--muted);font-size:13px;margin:6px 0 17px}.result-score{text-align:center;background:#0d1d1555;border:1px solid #58674c66;border-radius:6px;padding:20px 6px;margin-bottom:18px}.result-score small{font-size:12px;display:block;color:#bfcca8;margin-bottom:8px}.result-score strong{font-family:Georgia,serif;font-size:32px;font-weight:400;color:var(--gold)}.result-score strong span{font-family:var(--sans);font-size:12px;margin-left:3px}.result-picks{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px;justify-content:center}.result-picks>span{font-size:12px;border-radius:3px;padding:3px 7px;background:#92bda419;color:var(--green)}.result-picks>span.wrong{background:#d8856e12;color:var(--red)}.practice-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:21px 0 29px;padding-bottom:24px;border-bottom:1px solid var(--border)}.practice-note{font-size:12px;display:flex;gap:9px;align-items:center;color:#93a38f}.note-symbol{border:1px solid #778872;border-radius:50%;height:15px;width:15px;text-align:center;line-height:14px;font-family:Georgia,serif;font-size:12px;flex-shrink:0}#review-count{margin-left:4px;padding:1px 5px;background:#ffffff08;color:var(--gold);border-radius:3px}.reference-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.reference-links a{display:flex;align-items:center;gap:15px;padding:18px 17px;background:#19251d77;border:1px solid #3b4a3b90;border-radius:7px;transition:background .2s,border-color .2s}.reference-links a:hover{background:#243427;border-color:#6d795a}.reference-icon{font-family:var(--serif);font-size:24px;height:39px;width:39px;color:#c5b68e;border:1px solid #6b6c4b;display:grid;place-items:center;border-radius:3px;flex-shrink:0}.reference-links strong{font-size:13px;font-weight:500;display:block;margin-bottom:5px}.reference-links small{display:block;color:var(--muted);font-size:12px}.link-arrow{margin-left:auto;color:#9baf92;font-size:17px}.footer{border-top:1px solid #33433477;max-width:1360px;padding:22px 0 29px;margin:0 auto;color:#80907c;font-size:12px;display:flex;justify-content:space-between;gap:20px}.footer-dot{margin:0 9px;color:#61735a}.preparing{display:grid;place-items:center;min-height:300px;color:var(--muted);font-size:14px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#dfbd7f;color:#17291c;box-shadow:0 6px 24px #0005;border-radius:7px;font-size:14px;padding:15px 22px;z-index:50;max-width:calc(100% - 40px)}
.explanation{padding:27px;border:1px solid var(--border);background:#18271e;border-radius:8px;margin-bottom:25px}.explanation-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.explanation h2{font-size:20px;font-family:var(--serif);font-weight:500;margin:0}.explanation-header>span{font-size:12px;color:var(--gold)}.explanation-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px}.explanation h3{color:var(--gold);font-size:13px;font-weight:500;margin:0 0 15px}.detail-row{display:flex;justify-content:space-between;gap:15px;font-size:13px;line-height:1.8;padding:7px 0;color:#c1cbb7}.detail-row strong{white-space:nowrap;font-size:13px;font-weight:400;color:var(--text)}.detail-row.total{border-top:1px solid #54644880;margin-top:7px;padding-top:12px;color:var(--text)}.detail-row.total strong{color:var(--gold)}.formula{font-family:Georgia,var(--sans);font-size:19px;line-height:1.7;color:var(--gold);padding:10px 0}.formula-note{font-size:13px;color:var(--muted);line-height:1.8}.table-prompt{font-family:var(--serif);font-size:35px;color:#e0d4a8;position:relative;text-align:center;margin:30px 0 0}.table-prompt small{display:block;font-family:var(--sans);font-size:14px;color:#c0c9ab;margin-bottom:12px}.table-description{font-size:14px;line-height:1.9;max-width:450px;position:relative;margin:12px auto 0;text-align:center;color:#dde3ce}.alt .table-scene{min-height:190px}.alt .hand-row{justify-content:center}.river{display:flex;gap:3px;flex-wrap:wrap;max-width:260px;justify-content:center;margin:auto}.river .tile{width:30px;flex:none}.river .tile.riichi-tile{transform:rotate(90deg);margin:0 6px}.river-caption{font-size:12px;text-align:center;color:#b9c9af;margin-bottom:10px}.nani-picker{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 22px;justify-content:center}.tile-option{padding:3px;border:1px solid #61705766;background:#14251a;border-radius:5px;min-width:44px;transition:transform .15s}.tile-option img{width:34px;height:auto}.tile-option:hover{transform:translateY(-3px)}.tile-option.selected{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}.tile-option.correct{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.tile-option.incorrect{border-color:var(--red)}.timer{font-size:13px;font-variant-numeric:tabular-nums;color:var(--gold);margin-left:auto}.timer.urgent{color:var(--red)}.simple-explanation{font-size:14px;line-height:1.9;color:#c8d3be}.simple-explanation p{margin-bottom:12px}
.secondary-heading{margin-bottom:29px}.secondary-heading p{font-size:14px;color:var(--muted)}.back-link{font-size:13px;color:var(--gold);display:inline-flex;margin:0 0 24px;gap:8px}.guide-tabs{display:flex;gap:27px;border-bottom:1px solid var(--border);margin-bottom:30px}.guide-tabs a{padding:0 0 15px;font-size:14px;color:var(--muted);border-bottom:2px solid transparent}.guide-tabs a.active{color:var(--gold);border-bottom-color:var(--gold)}.guide-content{max-width:1050px}.guide-intro{padding:26px;border:1px solid var(--border);border-radius:8px;background:#1b2b20;margin-bottom:25px}.guide-intro h2{font-size:23px;font-family:var(--serif);font-weight:500;line-height:1.6}.guide-intro p{font-size:15px;color:#b5c2ac;margin-bottom:0}.fu-flow{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:24px 0 10px;font-size:16px}.fu-flow>span{border:1px solid #78866770;padding:15px 18px;border-radius:5px;color:var(--gold)}.fu-flow>i{color:var(--muted);font-style:normal}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.guide-card{border:1px solid var(--border);background:#17271d;padding:24px;border-radius:8px}.guide-card h3{font-size:17px;color:var(--text);font-weight:500;margin-bottom:18px}.guide-card p{font-size:14px;color:var(--muted)}.guide-note{font-size:13px!important;color:var(--gold)!important;margin-top:15px!important}.guide-table{width:100%;border-collapse:collapse;font-size:14px}.guide-table th,.guide-table td{padding:12px 8px;border-bottom:1px solid #394c3866;text-align:left;font-weight:400;white-space:nowrap}.guide-table th{color:var(--gold);font-size:12px}.guide-table td{color:#cbd3c0}.guide-table tbody tr:last-child td{border-bottom:none}.table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:8px;padding:10px 18px;background:#18281e}.score-table{width:100%;border-collapse:collapse;font-size:14px;min-width:700px;text-align:center}.score-table th,.score-table td{padding:16px 12px;border-bottom:1px solid #42553b80;line-height:1.8}.score-table th{font-size:13px;font-weight:500;color:var(--gold)}.score-table td{color:var(--text);font-variant-numeric:tabular-nums}.score-table td small{display:block;color:var(--muted);font-size:12px}.score-table tbody tr:hover{background:#e7c28209}.score-table .limit-cell{color:var(--gold)}.score-table caption{caption-side:bottom;text-align:left;font-size:12px;color:var(--muted);padding:16px 0}.score-controls{display:flex;gap:10px;align-items:center;margin-bottom:18px}.score-controls label{font-size:14px;color:var(--muted)}.score-note{font-size:13px;color:var(--muted);margin:16px 0}.yaku-section{margin-bottom:30px}.yaku-section>h2{font-size:20px;font-family:var(--serif);color:var(--gold);font-weight:500;padding-bottom:15px;border-bottom:1px solid var(--border);margin-bottom:0}.yaku-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.yaku-item{border-bottom:1px solid #324631;min-width:0}.yaku-item summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:15px;min-height:64px;gap:14px;list-style:none}.yaku-item summary::-webkit-details-marker{display:none}.yaku-item summary:after{content:"＋";font-size:16px;color:var(--muted)}.yaku-item[open] summary:after{content:"−"}.yaku-item summary small{font-size:12px;color:var(--muted);margin-left:auto}.yaku-detail{font-size:14px;color:#c2d1b7;line-height:1.9;padding-bottom:20px}.yaku-example{display:flex;gap:2px;flex-wrap:wrap;margin-top:15px}.yaku-example img{width:25px;height:auto;filter:drop-shadow(1px 3px 2px #0005)}.stats-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:25px}.stat-card{border:1px solid var(--border);border-radius:8px;padding:25px;background:#1a2a20}.stat-card>span{font-size:13px;color:var(--muted)}.stat-card strong{display:block;font-size:39px;font-family:Georgia,serif;font-weight:400;color:var(--gold);margin-top:17px}.stat-card small{font-size:13px;margin-left:6px;font-family:var(--sans)}.stats-chart{display:flex;height:190px;align-items:flex-end;gap:14px;padding-top:25px;margin-top:25px}.chart-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0}.chart-col .bar{width:100%;max-width:45px;background:#b9a16b;border-radius:3px 3px 0 0;min-height:2px}.chart-col small{margin-top:12px;font-size:12px;color:var(--muted)}.chart-col>span{font-size:12px;color:#d4ceaf;margin-bottom:7px}.stats-empty{color:var(--muted);font-size:14px;line-height:1.9;padding:12px 0}.review-panel{margin-top:25px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border);background:#1c2b20;border-radius:8px;padding:24px}.review-panel h3{font-size:16px;font-weight:500;margin-bottom:5px}.review-panel p{margin:0;font-size:13px;color:var(--muted)}.review-panel button{max-width:220px}.noscript{padding:25px;color:var(--red)}
@keyframes deal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.dealing .hand-row{animation:deal .38s ease-out both}.dealing .table-top{animation:deal .25s ease-out both}
@media(min-width:1600px){.page{padding-top:48px}.mahjong-table{min-height:492px}.table-scene{min-height:282px}.answer-card{min-height:518px}}
@media(max-width:1200px){.header{padding:0 32px}.page{padding:34px 32px 30px}.practice-layout{grid-template-columns:minmax(0,1fr) 292px;gap:20px}.answer-card{padding:20px}.mahjong-table{padding:22px 19px 24px}.table-scene{min-height:250px}.mode-navigation{gap:25px}.navigation{gap:28px}.footer{margin:0 32px}.reference-links{gap:14px}.reference-links a{padding:16px 12px;gap:11px}.reference-links small{font-size:12px}.compass{width:115px;height:115px}.table-mark{display:none}.table-corner{font-size:12px}}
@media(max-width:980px){.practice-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.header{height:82px;padding:0 24px}.page{padding:29px 24px}.brand-name{font-size:21px}.header-actions{gap:10px}.navigation{gap:22px}.navigation a{font-size:13px}.rank{font-size:12px}.page-heading h1{font-size:28px}.mahjong-table{min-height:423px;padding:17px 14px 20px}.table-frame{padding:10px;border-radius:13px}.table-scene{min-height:248px}.table-corner{display:none}.dora-tile{width:27px}.dora-label{font-size:12px}.compass{margin-left:70px;width:109px;height:109px}.riichi-line{left:calc(50% + 35px);bottom:35px}.table-context{font-size:12px}.answer-card{min-height:443px;padding:18px}.answer-card h2{font-size:21px}.answer-options{gap:8px;margin-bottom:15px}.option{min-height:53px}.answer-steps{margin-bottom:20px;padding-bottom:17px}.step-dash{width:10px}.under-table{font-size:12px}.keyboard-only{display:none}.reference-icon{font-size:21px;width:34px;height:34px}.reference-links small{display:none}.reference-links strong{margin-bottom:0}.practice-note{font-size:12px}.footer{margin:0 24px}.explanation-grid{gap:18px}.detail-row{font-size:12px}.formula{font-size:17px}}
@media(max-width:760px){.header{height:auto;min-height:77px;flex-wrap:wrap;padding:17px 20px 0;gap:15px}.brand{gap:17px}.brand-name{font-size:22px}.brand img{width:28px}.brand-name small{font-size:12px;margin-top:7px}.header-actions{margin-left:auto;gap:17px}.navigation{order:3;width:100%;gap:28px;height:41px;justify-content:center}.navigation a{font-size:13px}.page{padding:25px 20px 26px}.page-heading{align-items:center;margin-bottom:23px;gap:12px}.eyebrow{font-size:12px;margin-bottom:8px}.page-heading h1{font-size:25px;letter-spacing:.03em;white-space:nowrap}.page-heading p{font-size:12px;max-width:270px;line-height:1.8}.session-stats{gap:12px;padding:0}.session-stats>div{min-width:45px}.session-stats strong{font-size:24px}.session-stats span{font-size:12px}.session-stats small{font-size:12px}.session-stats i{height:28px}.session-stats>div:last-child,.session-stats i{display:none}.mode-navigation{gap:25px;margin-bottom:17px;margin-right:-20px;padding-right:20px}.mode-button{font-size:13px;padding-bottom:13px;gap:6px}.mode-button .icon{width:15px;height:15px}.practice-toolbar{gap:8px;margin-bottom:13px}.question-id{font-size:12px;gap:7px}.question-id strong{font-size:20px}.toolbar-controls{gap:7px}.toolbar-controls label{display:none}select{font-size:12px;min-height:33px;padding:7px 19px 7px 9px}.practice-layout{display:flex;flex-direction:column;gap:17px}.table-column,.answer-card{width:100%}.table-frame{padding:10px}.mahjong-table{min-height:363px;padding:17px 14px 20px}.table-scene{min-height:204px}.compass{margin-left:0;width:113px;height:113px}.table-mark{display:block;font-size:18px;right:1px;top:33px}.table-mark small{font-size:12px}.dora-area{top:16px}.dora-tile{width:28px}.table-corner{display:block;font-size:12px}.riichi-line{left:50%;bottom:10px;font-size:12px}.hand-row{gap:1px}.tile{width:calc((100% - 20px)/14);filter:drop-shadow(1px 5px 2px #00110890);border-radius:3px}.tile img{border-radius:3px}.tile.win{margin-left:8px}.meld-group{margin-left:8px;gap:1px}.hand-caption{margin-bottom:10px;font-size:12px}.hand-note{font-size:12px}.under-table{padding-top:13px}.under-table>span{display:none}.under-table .text-button{margin-left:auto;font-size:12px}.answer-card{min-height:0;padding:20px;display:block}.answer-steps{justify-content:flex-start;gap:12px;margin-bottom:17px;padding-bottom:17px}.step-dash{width:30px}.answer-card h2{font-size:23px}.question-sub{font-size:12px;margin-bottom:16px}.answer-options{grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:17px}.option{min-height:54px;font-size:23px}.option.score-option{font-size:17px}.option.long-option{font-size:13px}.answer-actions{margin-top:0}.primary-button{min-height:48px}.question-step{font-size:12px}.hint-button{padding-top:15px}.practice-bottom{margin:19px 0 23px;padding-bottom:20px;align-items:flex-start;flex-direction:column;gap:12px}.practice-note{font-size:12px}.practice-bottom>.text-button{margin-left:auto;font-size:12px}.reference-links{gap:10px}.reference-links a{flex-direction:column;align-items:flex-start;padding:15px 10px;gap:12px;position:relative}.reference-links strong{font-size:12px}.reference-links .link-arrow{position:absolute;right:9px;top:14px;font-size:13px}.reference-icon{height:31px;width:31px;font-size:21px}.footer{margin:0 20px;flex-direction:column;padding:22px 0;gap:9px;font-size:12px}.result-mark{margin-top:0;width:45px;height:45px}.result-score{padding:17px 8px}.result-score strong{font-size:33px}.result-picks{margin-bottom:16px}.explanation{padding:20px}.explanation-grid{grid-template-columns:1fr;gap:24px}.explanation-header{margin-bottom:22px}.explanation h2{font-size:19px}.explanation-grid>div+div{border-top:1px solid var(--border);padding-top:22px}.detail-row{font-size:14px}.formula{font-size:22px}.guide-tabs{gap:21px}.guide-tabs a{font-size:13px}.secondary-heading h1{font-size:27px}.guide-intro{padding:21px}.guide-intro h2{font-size:21px}.guide-intro p{font-size:14px}.guide-grid{grid-template-columns:1fr;gap:15px}.fu-flow{gap:9px;font-size:13px;line-height:1.8}.fu-flow>span{padding:10px}.guide-card{padding:21px}.yaku-list{grid-template-columns:1fr}.yaku-item summary{font-size:14px}.yaku-item summary small{font-size:12px}.stats-summary{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:20px}.stat-card strong{font-size:32px}.stats-chart{gap:9px}.review-panel{align-items:flex-start;flex-direction:column}.review-panel button{max-width:none}.table-prompt{font-size:29px}.table-description{font-size:12px}.alt .table-scene{min-height:165px}.alt .mahjong-table{min-height:330px}.river .tile{width:25px}.river{max-width:235px}.tile-option img{width:32px}.tile-option{min-width:43px}.nani-picker{gap:8px}.table-prompt small{font-size:12px}}
@media(max-width:390px){.page{padding-left:14px;padding-right:14px}.header{padding-left:14px;padding-right:14px}.brand-name{font-size:21px}.rank{font-size:12px}.header-actions{gap:9px}.page-heading h1{font-size:23px}.mode-navigation{margin-right:-14px;padding-right:14px;gap:21px}.mahjong-table{padding-left:10px;padding-right:10px;min-height:340px}.table-frame{padding:8px}.table-scene{min-height:193px}.compass{width:102px;height:102px;margin-left:22px}.dora-tile{width:24px}.table-mark{display:none}.riichi-line{left:calc(50% + 11px)}.answer-card{padding:18px}.option.score-option{font-size:15px}.reference-links strong{font-size:12px}.practice-note{font-size:12px}.footer{margin-left:14px;margin-right:14px}.hand-caption .seat-tag{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.tile{background:#d4d0b7;box-shadow:0 2px 0 #d8d3b9,0 4px 0 #a7ac89,0 6px 0 #496b42}.tile img{box-shadow:inset 0 1px 0 #fff}.dora-tile{border-radius:3px;box-shadow:0 2px 0 #babe97,0 4px 0 #3f663d}.rivers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 23px;margin:27px 0 16px}.river-group{min-width:0}.river{gap:5px 3px}.river .tile{box-shadow:0 2px 0 #b8bd96,0 3px 0 #486943;filter:drop-shadow(1px 3px 2px #00110880)}.river-instruction{font-size:12px;color:#c1ccae;line-height:1.8;margin:auto 0 0}.speed-scene,.decision-scene{margin:auto;text-align:center;width:100%;padding:15px 0 28px}.speed-scene .table-prompt{font-size:51px;letter-spacing:.08em}.speed-context{display:flex;gap:12px;justify-content:center;margin-top:20px}.speed-context>span{padding:7px 16px;border:1px solid #bdcba867;border-radius:4px;font-size:16px;color:#e2e7d3}.speed-clock{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:25px;font-size:13px;color:#abbc99}.speed-clock .icon{width:17px;height:17px}.decision-scene .table-description{max-width:400px;padding:23px;margin-top:25px;border:1px solid #a4b18f66;background:#0a2e2180;border-radius:5px;font-size:16px;line-height:2}.decision-note{font-size:12px;color:#becaa9;margin-top:18px}.alt-result-score{font-size:25px!important;line-height:1.8;overflow-wrap:anywhere}.two-options{grid-template-columns:1fr 1fr!important}.score-option{flex-wrap:wrap;column-gap:0;row-gap:0}.score-option>small{font-size:12px;flex-basis:100%;margin:0}.hand-note{line-height:1.6}.yaku-item summary{flex-wrap:wrap}.table-scene .compass-label,.table-scene .compass-counters{font-size:12px}.table-scene .compass:before{inset:22px}.table-scene .round-display{font-size:22px}.mode-button,.navigation a,.text-button,.primary-button,.hint-button,.answer-step,.question-sub,.toolbar-controls,.toolbar-controls select,.reference-links strong{font-size:14px}.page-heading p{font-size:16px}.table-corner,.table-mark small{font-size:12px}.brand-name small{font-size:12px}.footer{font-size:12px}.question-id{font-size:12px}.stats-chart{gap:8px}.chart-col small{font-size:12px}.chart-col>span{font-size:12px}.guide-intro p,.guide-card p,.formula-note,.simple-explanation{font-size:16px}
@media(max-width:1200px){.mode-navigation{gap:23px}.table-corner{display:none}.table-mark small{display:none}.header .navigation{gap:24px}.under-table>.text-button{font-size:13px}}
@media(max-width:980px){.answer-step{font-size:13px}.step-dash{width:7px;margin:0 2px}.answer-steps{gap:0}.compass-label{display:none}.compass-counters{margin-top:5px}.table-scene .round-display{font-size:23px}.reference-links strong{font-size:13px}}
@media(max-width:760px){.header .navigation{gap:28px}.header .navigation a{font-size:14px}.brand-name small{font-size:12px}.page-heading p{font-size:14px}.page-heading>div:first-child{min-width:0}.mode-button{font-size:14px}.question-id{font-size:12px;letter-spacing:.04em}.toolbar-controls select{font-size:13px}.table-corner{display:none}.table-context{font-size:12px;gap:8px}.hand-caption,.hand-caption .seat-tag,.winning-tag,.hand-note{font-size:12px}.table-mark{right:0;font-size:18px}.table-mark small{display:none}.table-scene{min-height:211px}.mahjong-table{min-height:379px}.answer-steps{gap:10px}.answer-step{font-size:14px}.step-dash{width:25px;margin:0 4px}.question-sub{font-size:14px}.hint-button{font-size:14px}.reference-links strong{font-size:12px;line-height:1.6}.practice-note{font-size:12px;line-height:1.8}.practice-bottom .text-button{font-size:14px}.footer{font-size:12px;line-height:1.8}.rivers-grid{gap:20px 13px;margin-top:24px}.rivers-grid .river .tile{width:24px}.river-instruction{font-size:12px;margin-top:7px}.speed-scene .table-prompt{font-size:42px}.decision-scene .table-description{font-size:14px;padding:18px}.decision-note{font-size:12px;line-height:1.9}.stats-chart{gap:5px}.chart-col:nth-child(2n) small{visibility:hidden}.chart-col small{font-size:12px}.chart-col>span{font-size:12px}.keyboard-only{display:none}.under-table .text-button{font-size:13px}.question-id>span{max-width:48px;font-size:12px;letter-spacing:0;padding:4px}.question-id:has(>span:not([hidden])){font-size:0;gap:5px}}
@media(max-width:390px){.session-stats{display:none}.page-heading h1{font-size:24px}.brand-name small{font-size:12px}.table-mark{display:none}.mahjong-table{padding-left:9px;padding-right:9px}.dora-label{font-size:12px}.dora-tile{width:24px}.table-scene .compass{margin-left:42px}.riichi-line{left:calc(50% + 21px)}.step-dash{width:18px}.reference-links{gap:8px}.reference-links a{padding:14px 8px}.question-id{font-size:12px}.toolbar-controls{gap:5px}.toolbar-controls select{font-size:12px}}

/* CPU match start screen */
.home-heading{margin-bottom:28px}.home-heading h1{font-size:clamp(28px,3vw,38px)}.home-heading p{font-size:16px;color:var(--muted);margin:12px 0 0;max-width:650px}
.match-start{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface-deep)}.match-intro{padding:32px}.match-intro>h2{font-size:22px;font-family:var(--serif);font-weight:500;margin-bottom:28px}.match-learning{display:flex;gap:18px;margin-top:24px}.learning-mark{flex:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid #827250;border-radius:6px;font:24px var(--serif);color:var(--gold)}.match-learning h3{font-size:18px;line-height:1.6;margin:0 0 8px;font-weight:500}.match-learning p{font-size:16px;color:#becac1;margin:0;line-height:1.9}.match-advice-note{font-size:14px;color:var(--muted);margin:24px 0 0;line-height:1.8}
.match-entry{display:flex;flex-direction:column;justify-content:center;padding:36px;background:linear-gradient(#123a2cd9,#122a20ed),url('/assets/felt.png') center/cover;border-left:1px solid var(--border)}.entry-label{font-size:14px;letter-spacing:.1em;color:var(--gold);margin-bottom:18px}.match-entry h2{font:500 27px/1.6 var(--serif);margin-bottom:16px}.match-entry p{font-size:16px;color:#c3d0c6;line-height:1.9}.match-entry .primary-button{margin-top:12px;font-size:16px;min-height:54px}.match-entry .entry-save{font-size:14px;color:var(--muted);margin:16px 0 0}.home-practice-link{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0 6px}.home-practice-link h2{font-size:16px;font-weight:500;margin-bottom:6px}.home-practice-link p{font-size:14px;color:var(--muted);margin:0}.home-practice-link a{white-space:nowrap}
@media(max-width:760px){.match-start{grid-template-columns:1fr}.match-intro{padding:24px}.match-entry{padding:24px;border-left:0;border-top:1px solid var(--border)}.match-intro>h2{font-size:21px}.match-learning{gap:12px}.match-learning h3{font-size:17px}.home-heading{margin-bottom:24px}.home-practice-link{align-items:flex-start;flex-direction:column;gap:14px}.header .navigation{gap:clamp(12px,4vw,28px)}.match-entry .primary-button{margin-top:0}}

.brand img{transform:none;margin-top:0}.brand{align-items:center}

/* Compact indicators stay beside the scoring question and result. */
.dora-reference{min-width:0;margin:12px 0 16px;color:#ccd9c4}
.dora-reference-groups{display:flex;flex-wrap:wrap;gap:8px 18px}
.dora-reference-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;max-width:100%}
.dora-reference-group>span{font-size:.875rem;line-height:1.5;white-space:nowrap}
.dora-reference-tiles{display:flex;flex-wrap:wrap;align-items:center;gap:4px 3px}
.dora-reference-tiles img{display:block;flex:none;width:22px;height:30px;border-radius:2px;box-shadow:0 1px 0 #8d9879}
.mahjong-table:not(.alt)>.table-scene{min-height:190px}
.mahjong-table:not(.alt) .compass{margin-left:0}
.mahjong-table.is-riichi .compass{margin-bottom:42px}
.mahjong-table:not(.alt) .riichi-line{left:50%;bottom:12px;flex-direction:row;gap:9px;padding:6px 12px;border:2px solid #ff858f;border-radius:5px;background:#572329;color:#fff2e8;font-size:14px;font-weight:600;white-space:nowrap}
.mahjong-table .riichi-line .riichi-stick{width:68px;height:8px}
.mahjong-table.is-riichi .hand-area{outline:2px solid #ff858f;outline-offset:7px;border-radius:4px;background:#76293822}
.river-group.is-riichi{border:2px solid #ff858f;border-radius:6px;padding:10px 5px;background:#57232966}
.river-group.is-riichi .river-caption{color:#ffe8e5}
@media(max-width:760px){.mahjong-table:not(.alt)>.table-scene{min-height:168px}.mahjong-table:not(.alt) .compass{width:96px;height:96px;margin-bottom:34px}.mahjong-table:not(.alt) .riichi-line{bottom:9px}}
.riichi-stick{display:block;width:140px;height:16px;object-fit:cover;object-position:center}.riichi-line{flex-direction:column;gap:5px;letter-spacing:.12em}.player-name .riichi-stick{width:70px;height:8px;flex-shrink:0}

.home-heading-with-image{display:flex;align-items:center;gap:32px;margin-bottom:28px}.home-heading-with-image .home-heading{flex:1;margin-bottom:0}.home-brand-image{display:block;width:36%;max-width:400px;height:auto;border-radius:8px;border:1px solid var(--border)}.entry-orientation{font-size:14px!important;line-height:1.7!important;color:var(--gold)!important;margin-top:16px!important}@media(max-width:700px){.home-heading-with-image{flex-direction:column-reverse;align-items:stretch;gap:18px}.home-brand-image{width:100%;max-width:400px;align-self:center}.home-heading-with-image .home-heading h1{font-size:26px}}

.home-hand-example{margin-top:16px;padding:12px;background:#091b1266;border:1px solid #53644966;border-radius:6px;max-width:100%}.home-hand-example>span{display:block;font-size:13px;color:var(--muted);margin-bottom:10px}.home-hand-example>div{display:flex;gap:2px;max-width:100%}.home-hand-example img{display:block;width:calc((100% - 26px)/14);max-width:30px;height:auto;object-fit:contain;align-self:center;filter:drop-shadow(0 2px 1px #0007)}.entry-tile-photo{display:flex;justify-content:center;gap:5px;padding:18px 10px;margin-bottom:18px;border-radius:6px;background:url('/assets/felt.png') center/cover}.entry-tile-photo img{height:auto;filter:drop-shadow(2px 4px 3px #0008)}

/* Home: play and practice first; optional explanations and the course follow. */
#home-view{max-width:1160px;margin-inline:auto}
#home-view>.home-heading{margin-bottom:24px}
#home-view>.home-heading h1{font-size:clamp(24px,2.6vw,32px);letter-spacing:.025em;line-height:1.5;margin:0}
.home-match-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,1fr);overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#13231b}
.home-visual{display:flex;align-items:center;min-width:0;background:#0c1812}
.home-visual .home-brand-image{width:100%;max-width:none;height:auto;border:0;border-radius:0}
.home-match-hero .match-entry{min-width:0;padding:28px 32px;background:transparent;border-left:1px solid var(--border)}
.home-match-hero .entry-label{font-size:14px;letter-spacing:.08em;margin-bottom:10px}
.home-match-hero .match-entry h2{font-size:28px;line-height:1.5;margin:0 0 10px;letter-spacing:.02em}
.home-match-hero .entry-description{font-size:16px;line-height:1.8;margin:0 0 12px}
.home-match-hero .entry-rules{font-size:14px;line-height:1.8;margin:0 0 18px}
.home-match-hero .primary-button{margin:0;min-height:52px}
.home-match-hero .entry-orientation{font-size:14px!important;color:var(--muted)!important;margin:12px 0 0!important;line-height:1.65!important}
.home-match-hero .entry-save{font-size:12px;line-height:1.7;margin:6px 0 0}
#home-view .home-practice-link{gap:20px;margin-top:16px;padding:24px 26px;border:1px solid var(--border);border-radius:10px;background:var(--surface-deep)}
#home-view .home-practice-link h2{font-size:20px;font-weight:500;line-height:1.5;margin-bottom:8px}
#home-view .home-practice-link p{font-size:16px;line-height:1.8}
#home-view .home-practice-link a{display:flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0;min-height:50px;padding:12px 22px;border:1px solid #827250;border-radius:5px;color:var(--gold);font-size:16px;white-space:normal;text-align:center;line-height:1.6}
#home-view .home-practice-link a:hover{background:#dbb77612;border-color:var(--gold)}
.home-match-details{margin-top:22px;border-bottom:1px solid var(--border)}
.home-match-details>summary{padding:16px 0;color:var(--muted);font-size:14px;line-height:1.8;cursor:pointer}
.home-match-details>summary:hover,.home-match-details[open]>summary{color:var(--gold)}
.home-match-details>summary::marker{color:var(--gold)}
.home-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:12px}
.home-learning-grid .match-learning{margin:0;padding:0;gap:12px;min-width:0}
.home-learning-grid .match-learning>div{min-width:0;flex:1}
.home-learning-grid .learning-mark{width:30px;height:30px;font-size:18px;border:0;border-radius:0;border-top:2px solid var(--gold)}
.home-learning-grid h3{font-size:18px;margin:0 0 10px}
.home-learning-grid p{font-size:16px;line-height:1.85}
.home-learning-grid .home-hand-example{border:0;border-radius:5px;background:#07171080;margin-top:16px;padding:14px}
.home-learning-grid .home-hand-example>span{font-size:14px;line-height:1.7;margin-bottom:10px}
.home-learning-grid .home-hand-example img{max-width:28px}
.home-match-details>.match-advice-note{font-size:14px;margin:20px 0 24px;line-height:1.8}
#home-view .home-roadmap-entry{margin:28px 0 0;padding:24px 0 4px;gap:24px;border:0;border-radius:0;background:none}
#home-view .home-roadmap-entry h2{font-size:20px;line-height:1.6;margin-bottom:8px}
#home-view .home-roadmap-entry p{max-width:680px;font-size:16px;line-height:1.8}
#home-view .home-roadmap-entry a{flex-shrink:0;display:flex;gap:12px;align-items:center;min-height:44px;font-size:14px;color:var(--gold)}
@media(max-width:760px){
  #home-view>.home-heading{margin-bottom:20px}
  #home-view>.home-heading h1{font-size:24px}
  .home-match-hero{grid-template-columns:1fr}
  .home-visual{display:none}
  .home-match-hero .match-entry{border:0;padding:22px}
  .home-match-hero .match-entry h2{font-size:26px}
  .home-match-hero .entry-label{margin-bottom:8px}
  #home-view .home-practice-link{align-items:stretch;gap:16px;padding:22px}
  #home-view .home-practice-link h2{font-size:20px}
  #home-view .home-practice-link a{width:100%}
  .home-learning-grid{grid-template-columns:1fr;gap:24px;margin-top:8px}
  .home-learning-grid .match-learning+.match-learning{border-top:1px solid var(--border);padding-top:24px}
  .home-learning-grid .home-hand-example img{max-width:30px}
  #home-view .home-roadmap-entry{gap:12px;margin-top:20px;padding-top:12px}
}
@media(max-width:390px){#home-view>.home-heading h1{font-size:22px}.home-match-hero .match-entry,#home-view .home-practice-link{padding:20px}}
