header,main{max-width:1100px}header nav{display:flex;gap:20px;flex-wrap:wrap}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.catalog-card{padding:20px;margin:0}.catalog-card h3{margin-top:0}.catalog-card p{font-size:13px}.catalog-card a{font-weight:600}.review-note{background:#f3ecda;padding:14px;border-radius:10px;font-size:13px}.source-text{white-space:pre-wrap;font-size:14px;line-height:1.9}.article-links{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.step-selector{display:block;width:100%;margin:12px 0}.article-lesson{max-width:780px;margin:auto}.reflection{font-family:inherit;font-size:16px;min-height:110px}.answer-controls{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.seat-order{padding:15px;border:2px solid #b2c3a5;border-radius:35px;background:#edf2e6;text-align:center}.number-answer{max-width:240px}.step-feedback{white-space:pre-wrap;background:#e9eee1;border-left:4px solid #638066;padding:18px}.review-status{font-size:12px;color:#6c603b}.source-details{margin:18px 0}.filter-label select{display:block;max-width:100%;margin:8px 0 22px}.preview-insert{border:2px dashed #a0b293;padding:20px;background:#f5f8ed}.private-note{font-size:12px}.progress-count{font-size:13px}@media(max-width:600px){.catalog-grid{grid-template-columns:1fr}.catalog-card{padding:17px}.answer-controls,.article-links{display:grid;grid-template-columns:1fr}.answer-controls button{width:100%}.article-lesson{padding:16px}.number-answer{max-width:100%}.seat-order{font-size:13px;padding:12px}.step-selector{font-size:14px}header nav{display:grid;gap:12px}}

.review-note{border-left:4px solid #a7665c}.review-status{color:#8a413b}

.context-table{overflow-x:auto;max-width:100%}.context-table table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.85rem}.context-table th,.context-table td{border:1px solid #d9ded3;padding:6px;overflow-wrap:anywhere}.question-context{padding:12px;background:#f4f6ef;border-left:3px solid #8d9d78;margin:12px 0}

@media(max-width:480px){.context-table{overflow:visible}.context-table table,.context-table tbody,.context-table tr,.context-table td{display:block;width:auto}.context-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.context-table tr{margin:8px 0;border:1px solid #d9ded3}.context-table td{border:0;padding:4px 6px;white-space:normal}.context-table td:before{content:attr(data-label) '：';font-weight:600;margin-right:4px}}

/* First-hand visual lesson: scoped; no other lesson layout changes. */
.first-hand{max-width:900px}.first-hand h2{margin-bottom:12px}.fh-table{background:#244e43;border:8px solid #a8997a;border-radius:100px;padding:22px 28px;color:#fffdf2;box-shadow:inset 0 0 0 2px #53796a;display:grid;gap:18px;isolation:isolate}.fh-opponents{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fh-seat{text-align:center;padding:8px;border:2px solid transparent;border-radius:18px;min-width:0;background:#193d34}.fh-seat strong{display:inline-block;font-size:16px}.fh-position{display:inline-block;background:#f2e8ca;color:#223f35;border-radius:50%;font-size:11px;padding:4px;margin-left:6px;font-weight:bold}.fh-stack{font-size:14px;margin:3px 0}.fh-hand,.fh-board,.fh-rank-cards{display:flex;justify-content:center;gap:5px;flex-wrap:nowrap}.fh-card{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fffdf7;color:#202d30;width:42px;height:58px;flex:0 0 42px;border:1px solid #a8afa5;border-radius:6px;box-shadow:0 2px 2px #0002;font-size:21px;line-height:1.05}.fh-card b{font-size:20px}.fh-red{color:#a32f3e}.fh-back{background:repeating-linear-gradient(45deg,#254664,#254664 4px,#335675 4px,#335675 8px);border:2px solid #e6e7da;color:#fff;font-size:24px}.fh-slot{background:#ffffff09;border:1px dashed #a5bbb1;color:#d5e0d7;font-size:10px;box-shadow:none}.fh-seat-status{font-size:12px;margin-top:6px}.fh-active{border-color:#f2cf77;box-shadow:0 0 0 2px #f2cf7733}.fh-active .fh-seat-status{color:#ffdf92;font-weight:bold}.fh-folded{background:#253f38;border-style:dashed;border-color:#8c9e93}.fh-folded .fh-hand{opacity:.55}.fh-empty-hand{height:36px;display:flex;align-items:center;font-size:12px;color:#d4ded8}.fh-chip{display:inline-block;border:2px dashed #d8ae69;border-radius:18px;padding:1px 10px;background:#f8e6ba;color:#40311d;font-size:12px;margin-top:5px;font-weight:bold}.fh-middle{text-align:center}.fh-board-label{font-size:12px;margin-bottom:8px}.fh-pot{display:flex;align-items:center;justify-content:center;gap:8px;font-size:20px;margin-top:10px}.fh-pot-icon{color:#f7d48a;text-shadow:2px 2px #997841}.fh-middle small{color:#e0e9df}.fh-btn{justify-self:center;min-width:190px}.fh-btn .fh-card{width:50px;flex-basis:50px;height:68px;font-size:25px}.fh-cue{font-weight:600;background:#edf2e6;border-left:4px solid #526e4b;padding:12px 16px;margin:16px 0}.fh-explain{margin:12px 0}.first-hand summary{cursor:pointer;min-height:44px;padding:10px 0}.first-hand .answer-controls button{min-height:48px;font-weight:600}.fh-ranks{border-top:1px solid #d2dace;margin-top:20px}.fh-ranks ol{padding-left:28px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.fh-ranks li{padding:10px;border:1px solid #d8ded2;border-radius:10px;min-width:0}.fh-rank-cards{justify-content:flex-start;margin:8px 0}.fh-ranks small{display:block}.first-hand button:focus-visible,.first-hand summary:focus-visible{outline:3px solid #94651e;outline-offset:3px}body:has(.first-hand) header{padding-top:20px;padding-bottom:12px}body:has(.first-hand) header h1{font-size:26px}body:has(.first-hand) header>p:not(.eyebrow){font-size:12px}body:has(.first-hand) header nav{font-size:12px}.first-hand .quiz-controls{margin-top:16px}
@media(max-width:600px){.first-hand{padding:10px}.fh-table{border-width:5px;border-radius:50px;padding:16px 8px;gap:16px}.fh-opponents{gap:8px}.fh-seat{padding:6px 2px}.fh-seat strong{font-size:13px}.fh-stack{font-size:12px}.fh-position{font-size:10px;padding:3px;margin-left:3px}.fh-card{width:36px;flex-basis:36px;height:49px;font-size:19px}.fh-card b{font-size:18px}.fh-btn{min-width:160px}.fh-board{gap:4px}.fh-pot{font-size:18px}.fh-ranks ol{grid-template-columns:1fr;padding-left:22px}.fh-ranks .fh-card{width:35px;flex-basis:35px;height:48px}.first-hand .article-links{font-size:12px}body:has(.first-hand) main{padding:8px}body:has(.first-hand) header{padding:14px 18px}.fh-cue{font-size:14px;padding:10px}}
.fh-board .fh-slot{font-size:10px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.first-hand *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.lesson-scene{border:1px solid #b8c6b6;border-radius:20px;background:#f0f4ea;padding:20px;margin:16px 0}.scene-phase{font-weight:700;margin-bottom:14px}.scene-opponents,.scene-seats{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.scene-seat{background:#e2eadd;border:1px solid #a6b8a3;border-radius:16px;text-align:center;padding:10px;min-width:120px}.scene-seat strong,.scene-seat small{display:block}.scene-seat .fh-hand{margin:6px 0}.scene-table{background:#2b5146;color:#fffbed;border:7px solid #a8997a;border-radius:45px}.scene-table .scene-seat{background:#1b3c32;border-color:#628474}.scene-table small{color:#e3eadf}.scene-center{text-align:center;padding:18px 0}.scene-center .fh-board{margin:8px 0}.scene-center p{font-size:13px}.scene-pot{display:block;font-size:20px;color:#ffe1a1}.scene-self{text-align:center;border:2px solid #dec38a;border-radius:15px;max-width:260px;padding:10px;margin:0 auto 12px;background:#1d3e35}.scene-self .fh-hand{margin-top:6px}.scene-amount{display:inline-block;padding:7px 12px;border-radius:12px;background:#fff5d8;color:#493e29;border:1px solid #c9b982;margin:4px;font-weight:600;font-size:14px}.scene-table .scene-notice{color:#e0e6dc}.scene-notice{font-size:11px;margin-bottom:0}.scene-flow{padding-left:25px;margin:12px 0;font-size:14px}.scene-flow li{padding:5px}.scene-card-strip{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.scene-story{display:grid;gap:10px}.scene-fact{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #c9d5c2;padding:12px 0 0}.scene-fact p{margin:0}.scene-step{font-size:13px;background:#536e55;color:white;border-radius:8px;padding:3px 7px}.scene-person{display:block;font-size:25px;color:#5a7359}.scene-process{background:#f4efe2}.scene-numbers .scene-amount{font-size:20px}.lesson-scene .fh-ranks{color:#293d35;background:#fffefa;padding:10px}
@media(max-width:600px){.lesson-scene{padding:12px}.scene-table{border-width:4px;border-radius:28px}.scene-seat{min-width:100px}.scene-amount{font-size:12px;margin:3px;padding:6px}.scene-center .fh-card{width:34px;flex-basis:34px;height:48px}.scene-flow{padding-left:20px}.scene-fact{font-size:14px}.scene-center{padding:12px 0}.scene-card-strip .fh-card{width:34px;flex-basis:34px;height:46px}}
