/* C+ - original C palette, clearer learning controls, larger game discovery. */
html{scroll-padding-top:24px}body{font-size:16px;--ink:#173d32;--muted:#4e665b;--line:#cdd8ce;--accent:#205440;--bg:#f6f3ea;--surface:#fffef9;--tint:#e8eee3}
.shell,.header-inner,.dock-inner{width:min(1320px,calc(100% - 80px))}.review-inner{max-width:1400px;min-height:44px;padding-inline:40px;font:13px/1.5 'Malgun Gothic',sans-serif}.review-label{font:700 13px 'Malgun Gothic',sans-serif;letter-spacing:0}.review-inner>span:last-child{color:#d3dfda;font-size:12px}.review-bar{background:#173d32}.header-inner{min-height:108px}.brand-name{font-size:25px}.brand-name small{font-size:12px;letter-spacing:0}.site-header nav{font-size:15px;gap:25px}.save-nav{font-size:14px;padding:10px 16px}.eyebrow{font:700 13px/1.5 'Malgun Gothic',sans-serif;letter-spacing:.03em}
html[data-design=c] .hero,.hero{padding-block:72px 66px;gap:54px;grid-template-columns:1.05fr 1fr}.hero h1{font-size:clamp(42px,4vw,62px);line-height:1.25;margin:22px 0;letter-spacing:-.065em}.hero-intro{font-size:17px;line-height:1.85}.hero-actions{font-size:15px;gap:22px;margin-top:30px}.hero-facts{font-size:13px;gap:16px;margin-top:30px}.hero-facts span+span{padding-left:16px}.hero-facts b{font-size:18px}.primary{border-radius:9px;min-height:50px;padding:13px 22px}.hero-showcase,html[data-design=c] .hero-showcase{transform:none;background:#e7eadf;padding:17px;border:1px solid #cdd8ce;border-radius:22px;box-shadow:0 20px 50px #183d320b}.showcase-top{font:700 13px/1.5 'Malgun Gothic',sans-serif;letter-spacing:0;margin-bottom:12px}.style-grid{gap:10px}.style-tile{padding:0;min-height:166px;border-radius:12px;display:block;position:relative;isolation:isolate}.style-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}.style-tile:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0c2429e0,transparent 80%);z-index:-0}.style-tile>div{position:absolute;bottom:13px;left:16px;right:10px;z-index:1}.style-tile small{font:400 12px 'Malgun Gothic',sans-serif;letter-spacing:0;color:#fff}.style-tile strong{display:block;font-size:19px;line-height:1.4;margin-top:3px;color:#fff}.hero-showcase>p{font-size:11px;margin-top:10px}.bank-strip{padding-block:23px;gap:16px}.bank-strip strong{font-size:17px}.bank-strip div>span{font-size:14px}.bank-badge{font-size:12px;padding:8px 12px}
.learning-section{padding-block:64px 32px}.section-heading h2{font-size:34px;margin-top:7px}.section-heading>div>p:last-child{font-size:16px;margin-top:10px}.section-heading{gap:20px;margin-bottom:25px}.quiet-button{font-size:14px;white-space:nowrap}.learning-panel{padding:30px;border-radius:18px}.subject-header{font-size:16px;margin-bottom:15px}.step-dot{font-size:12px;width:26px;height:26px}.subject-button{font-size:20px;min-height:85px;padding:16px 21px;border-color:#bdcdbf}.subject-button small{font-size:13px;margin-top:2px}.subject-button[aria-pressed=true]{padding:15px 20px;background:#e5eedf;border-color:#205440;box-shadow:inset 0 0 0 1px #205440}.range-fields{gap:18px}.range-fields label{font-size:15px}.range-fields select{font-size:16px;min-height:54px;padding:10px 13px;border-color:#aebfb1}.range-help{font-size:13px;line-height:1.7}.objective-details{padding-top:6px;margin-top:23px}.objective-details summary{min-height:58px;font-size:16px;flex-wrap:wrap}.objective-count{font-size:14px}.objectives-toolbar{gap:8px;margin-block:12px}.objectives-toolbar button{font-size:14px;min-height:46px;border:1px solid var(--line);padding:9px 16px}.objective-list{grid-template-columns:repeat(3,1fr);gap:10px}.objective-list label{font-size:14px;min-height:58px;line-height:1.6;padding:12px;align-items:flex-start}.objective-list input{width:20px;height:20px;margin-top:2px}.learning-footer p{font-size:14px}.learning-footer p strong{font-size:17px}.learning-footer .primary{font-size:15px;white-space:nowrap}.learning-footer{gap:24px}
.games-section{padding-top:42px}.search-box input{font-size:15px;width:220px}.game-selection-summary{display:flex;justify-content:space-between;gap:20px;padding:21px 24px;background:#e5eddf;border:1px solid #b7cbb6;border-radius:12px;margin-bottom:22px;align-items:center}.game-selection-summary span{display:block;font-size:13px;color:var(--muted);margin-bottom:5px}.game-selection-summary strong{font-size:17px;line-height:1.7;display:block}.game-selection-summary a{min-height:44px;display:flex;align-items:center;flex-shrink:0;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px}.card-review{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;font-size:13px;color:var(--muted)}.card-review>div{display:flex;gap:5px;background:#e7e8de;border:1px dashed #acbeb0;padding:4px;border-radius:8px}.card-review button{min-height:44px;padding:8px 16px;background:transparent;color:var(--ink);font-size:14px;border-radius:5px}.card-review button[aria-pressed=true]{background:#fffef9;box-shadow:0 1px 5px #183d3218;font-weight:700}.section-help{font-size:12px;line-height:1.7;margin-bottom:18px;margin-top:0}
.game-grid,html[data-layout=large] .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.game-card{border-radius:16px;box-shadow:0 7px 20px #203d3406;min-width:0;display:flex;flex-direction:column}.game-poster{aspect-ratio:1.95;padding:0;display:block;background:var(--poster);overflow:hidden}.game-poster img{width:100%;height:100%;object-fit:cover;display:block}.art-label{position:absolute;top:14px;left:15px;font-size:11px;line-height:1.5;padding:5px 8px;border-radius:5px;background:#142f36e8;color:#fff}.poster-caption{position:absolute;left:0;bottom:0;right:0;padding:25px 22px 16px;background:linear-gradient(transparent,#112b36eb);font-size:20px;font-weight:700;line-height:1.45;color:#fff}.game-body{padding:23px;flex:1;display:flex;flex-direction:column}.genre-badge{font-size:12px;padding:4px 8px;align-self:flex-start;margin-bottom:10px;color:#40564a;background:#eef0e6}.game-body h3{font-size:24px;min-height:0;line-height:1.45}.version-tag{font:700 15px system-ui;display:inline-block;vertical-align:middle;color:var(--muted);margin-left:4px}.game-desc{font-size:15px;line-height:1.8;min-height:0;margin-top:10px}.connection{font-size:13px;line-height:1.6;margin-top:18px;padding-top:15px}.compatibility-badge{font-size:13px;display:inline-block;align-self:flex-start;padding:5px 10px;background:#edf0e7;border:1px solid #d3dccd;border-radius:5px;margin-top:13px;font-weight:700}.compatibility-badge.is-ready{background:#205440;color:#fff;border-color:#205440}.blocked-reason{font-size:14px;line-height:1.7;min-height:0;margin:9px 0 18px}.game-actions{margin-top:auto;display:flex;gap:13px;align-items:center;padding-top:3px}.game-actions .primary{font-size:15px;min-height:50px;flex:1;width:auto;padding:12px}.detail-button{font-size:14px;min-height:48px;white-space:nowrap;padding:6px 2px}.game-actions .primary:disabled{color:#4e6255;background:#e8e9df;border:1px solid #ced7c8}
html[data-layout=four] .game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}html[data-layout=four] .game-poster{aspect-ratio:1.2}html[data-layout=four] .game-body{padding:18px}html[data-layout=four] .game-body h3{font-size:20px;min-height:58px}html[data-layout=four] .game-desc{font-size:14px;min-height:77px}html[data-layout=four] .poster-caption{font-size:17px;padding-inline:15px}html[data-layout=four] .game-actions{display:grid;gap:5px}html[data-layout=four] .game-actions .primary{width:100%;font-size:14px}html[data-layout=four] .art-label{font-size:10px;left:10px;top:10px}
.save-section{margin-top:55px;padding-block:34px}.save-section h2{font-size:27px}.save-section p:not(.eyebrow){font-size:15px}.save-section>.secondary{font-size:14px}.classroom-note{font-size:14px}.classroom-note>span{font-size:12px}.selection-dock{position:static;background:#173d32;box-shadow:none;margin-top:10px}.dock-inner{padding-block:18px;gap:22px}.dock-label{font:700 12px 'Malgun Gothic',sans-serif;letter-spacing:0}.dock-inner p{font-size:15px}.dock-edit{font-size:14px}.dock-next{font-size:15px;min-width:165px}.footer-brand{font-size:22px}.footer-brand span{font-size:12px}footer{font-size:12px;padding-block:30px 45px}.preview-status{font-size:12px;padding-block:12px}.preview-status>span{font-size:11px}.preview-status select{font-size:13px}
dialog{max-height:92dvh;padding:25px;width:min(790px,calc(100% - 32px))}dialog h2{font-size:31px}dialog p{font-size:15px;line-height:1.8}.guide-tabs button{font-size:14px;padding:9px 12px;min-height:46px}.detail-summary{font-size:15px;padding:18px;margin:17px 0}.detail-summary strong{font-size:17px}.detail-summary small{display:block;font-size:12px;color:#496154;margin-top:8px}.guide-step{padding:15px 0;gap:15px}.guide-step>span{border-radius:10px;min-width:45px;height:45px;font-size:27px;background:#e8eddf;color:#205440}.guide-step h3{font-size:17px;margin:0 0 5px}.guide-step p{font-size:14px}.guide-safety{background:#f5eadb;border:1px solid #dfc8a7;border-radius:8px;padding:13px 16px;margin-top:18px;font-size:15px}.guide-safety p{font-size:14px;color:#634c2d}.filename{font-size:14px;padding:14px;line-height:1.6}.dialog-warning{font-size:13px;line-height:1.8}.url-text{font-size:12px}.status-pairs div{font-size:14px}.status-pairs strong{font-size:14px}.status-pairs span{font-size:12px}.dialog-top{margin-bottom:9px}.dialog-actions{font-size:15px}.data-state{font-size:15px}.empty-games{font-size:16px}
@media(max-width:1100px){.header-inner{flex-wrap:wrap;padding-block:20px;gap:15px}.site-header nav{gap:20px}.hero,html[data-design=c] .hero{gap:25px}.hero h1{font-size:43px}.hero-intro{font-size:16px}.hero-actions{flex-wrap:wrap;gap:10px 20px}.hero-facts{flex-wrap:wrap;gap:9px}.style-tile{min-height:155px}.style-tile strong{font-size:17px}.showcase-top{font-size:12px}.objective-list{grid-template-columns:repeat(2,1fr)}html[data-layout=four] .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.save-section{flex-wrap:wrap}.save-section>.secondary{margin-left:0}}
@media(max-width:800px){.shell,.header-inner,.dock-inner{width:calc(100% - 40px)}.review-inner{padding:9px 20px;gap:8px;flex-wrap:wrap}.review-inner>span:last-child{font-size:11px}.header-inner{min-height:0;display:block;padding-block:20px 12px}.brand-name{font-size:24px}.site-header nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:15px;font-size:15px}.site-header nav>a{display:flex!important;min-height:46px}.save-nav{min-height:46px;font-size:14px}.hero,html[data-design=c] .hero{grid-template-columns:1fr;padding-block:42px;gap:32px}.hero h1{font-size:46px;line-height:1.24}.hero-intro{font-size:17px}.hero-facts{font-size:13px}.hero-showcase{max-width:none}.style-tile{min-height:184px}.style-tile strong{font-size:21px}.hero-showcase>p{font-size:12px}.bank-strip{gap:12px;align-items:flex-start;flex-wrap:wrap}.bank-symbol{width:25px;font-size:27px}.bank-strip>div{flex:1}.bank-strip strong{font-size:17px}.bank-strip div>span{font-size:14px}.bank-badge{margin-left:37px}.learning-section{padding-block:40px 20px}.section-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}.section-heading h2{font-size:29px}.section-heading>div>p:last-child{font-size:15px}.quiet-button{padding:6px 0;min-height:44px}.learning-panel{padding:22px}.subject-grid{grid-template-columns:repeat(2,1fr);gap:10px}.subject-button{min-height:81px}.range-fields{grid-template-columns:1fr 1fr;gap:17px;margin-top:23px;padding-top:23px}.unit-field{grid-column:1/-1}.range-help{flex-direction:column;gap:5px;font-size:12px}.learning-footer{flex-wrap:wrap}.learning-footer .primary{width:100%;font-size:15px;white-space:normal}.games-section{padding-top:32px}.search-box{width:100%;max-width:none}.search-box input{width:100%}.game-grid,html[data-layout=large] .game-grid,html[data-layout=four] .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.game-poster{aspect-ratio:1.5}.game-body{padding:20px}.game-body h3{font-size:21px}.game-actions{display:grid;gap:5px}.game-actions .primary{width:100%;font-size:14px}.detail-button{font-size:14px}.card-review{gap:10px;flex-wrap:wrap}.game-selection-summary{padding:18px;align-items:flex-start}.game-selection-summary strong{font-size:16px}.game-selection-summary a{font-size:13px}.save-section h2{font-size:25px}.save-section{margin-top:38px;gap:18px}.save-section>.secondary{width:100%;max-width:none;font-size:15px}.classroom-note{font-size:13px;display:block}.classroom-note>span{font-size:12px;display:block;margin-top:8px;white-space:normal}.dock-inner{flex-wrap:wrap;gap:10px}.dock-inner p{font-size:14px}.dock-next{font-size:14px}.dock-label{font-size:12px}footer>div{font-size:11px;max-width:230px}footer{align-items:flex-start}.footer-brand span{font-size:11px}}
@media(max-width:520px){.shell,.header-inner,.dock-inner{width:calc(100% - 36px)}.review-inner{padding-inline:18px;display:block}.review-label{font-size:12px}.review-inner>span:last-child{display:none}.header-inner{padding-top:18px}.brand-mark{width:43px;height:43px}.brand-name{font-size:23px}.brand-name small{font-size:11px}.site-header nav{gap:4px 18px;font-size:15px;margin-top:13px}.save-nav{width:100%;justify-content:space-between;padding-inline:12px;margin-top:2px}.hero,html[data-design=c] .hero{padding-block:32px 34px;gap:28px}.hero h1{font-size:37px;margin:17px 0}.hero-intro{font-size:16px;white-space:normal;line-height:1.85}.hero-actions{display:grid;gap:9px;margin-top:24px}.hero-actions .primary{font-size:16px}.hero-actions .text-link{font-size:14px;justify-content:flex-start;min-height:44px}.hero-facts{font-size:12px;gap:9px;margin-top:15px}.hero-facts span+span{padding-left:9px}.hero-facts b{font-size:16px}.hero-showcase{padding:12px;border-radius:15px}.style-grid{gap:8px}.style-tile{min-height:140px;border-radius:8px}.style-tile>div{left:11px;bottom:10px}.style-tile small{font-size:11px}.style-tile strong{font-size:16px}.showcase-top{font-size:11px;margin-bottom:10px}.hero-showcase>p{font-size:10px;line-height:1.7}.bank-strip{padding-block:20px}.bank-strip strong{font-size:16px}.bank-strip div>span{font-size:13px;display:block;margin-top:4px}.bank-badge{font-size:11px;margin-left:0}.section-heading h2{font-size:26px}.section-heading>div>p:last-child{font-size:14px}.eyebrow{font-size:12px}.section-heading{margin-bottom:20px}.learning-panel{padding:18px}.subject-header{font-size:15px}.subject-button{font-size:19px;padding:13px;min-height:78px}.subject-button[aria-pressed=true]{padding:12px}.subject-button small{font-size:12px}.range-fields{gap:15px 12px}.range-fields label{font-size:14px}.range-fields select{font-size:15px;padding-inline:9px;min-height:52px}.range-help{font-size:12px}.objective-details summary{font-size:15px;gap:6px}.objective-count{font-size:13px}.objective-list{grid-template-columns:1fr;gap:8px}.objective-list label{font-size:14px;padding:12px;min-height:52px}.objectives-toolbar button{font-size:13px}.learning-footer p{font-size:14px}.learning-footer p strong{font-size:16px}.learning-footer{margin-top:18px;padding-top:18px;gap:16px}.learning-footer .primary{font-size:14px;padding-inline:12px}.game-grid,html[data-layout=large] .game-grid,html[data-layout=four] .game-grid{grid-template-columns:1fr;gap:22px}.game-poster,html[data-layout=four] .game-poster{aspect-ratio:1.65}.game-body,html[data-layout=four] .game-body{padding:20px}.game-body h3,html[data-layout=four] .game-body h3{font-size:22px;min-height:0}.game-desc,html[data-layout=four] .game-desc{font-size:15px;min-height:0}.poster-caption,html[data-layout=four] .poster-caption{font-size:19px;padding:25px 17px 14px}.art-label,html[data-layout=four] .art-label{font-size:10px;top:12px;left:12px}.genre-badge{font-size:12px}.connection{font-size:12px}.blocked-reason{font-size:14px}.game-actions{gap:5px}.game-actions .primary,html[data-layout=four] .game-actions .primary{font-size:15px}.detail-button{font-size:14px}.game-selection-summary{display:block;padding:16px}.game-selection-summary strong{font-size:15px}.game-selection-summary a{margin-top:5px;min-height:44px}.card-review{font-size:12px}.card-review button{font-size:13px;padding:9px 12px}.section-help{font-size:12px}.save-icon{width:52px;height:65px;font-size:27px}.save-icon span{font-size:10px}.save-section{gap:13px;padding-block:25px}.save-section>div:nth-child(2){min-width:0;flex:1}.save-section h2{font-size:23px}.save-section p:not(.eyebrow){font-size:14px}.save-section .eyebrow{font-size:12px}.dock-inner>div{flex-basis:calc(100% - 70px)}.dock-inner p{font-size:13px}.dock-edit{font-size:13px}.dock-next{min-height:48px;width:100%}.preview-status{display:block;padding:12px 18px;font-size:12px}.preview-status>span{display:block;max-width:none;font-size:11px;margin-top:8px}.preview-status select{font-size:12px}.footer-brand{font-size:19px}footer>div{font-size:10px;max-width:175px}footer{gap:14px}dialog{padding:18px 16px;width:calc(100% - 24px);max-height:92dvh}dialog h2{font-size:25px}dialog p{font-size:14px}.guide-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.guide-tabs button{font-size:12px;padding:8px;min-height:46px}.detail-summary{padding:14px;font-size:14px}.detail-summary strong{font-size:16px}.detail-summary small{font-size:11px}.guide-step{gap:11px;padding-block:15px}.guide-step>span{min-width:35px;width:35px;height:38px;font-size:24px}.guide-step h3{font-size:15px}.guide-step p{font-size:13px}.guide-safety{font-size:14px;padding:12px}.guide-safety p{font-size:13px}.filename{font-size:12px}.dialog-warning{font-size:12px}.dialog-actions .primary,.dialog-actions .secondary{font-size:14px}.dialog-actions{flex-wrap:wrap}.url-text{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Phase2 integration controls; C+ styling remains the baseline. */
.metadata-note{font-size:13px;color:var(--muted);margin:0 0 15px;line-height:1.8}.genre-filter{display:flex;align-items:center;gap:12px;font-size:14px;margin:0 0 18px}.genre-filter select{min-height:46px;max-width:250px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:8px 12px}.range-fields label[hidden]{display:none!important}.range-fields.no-semester{grid-template-columns:1fr 2fr}.game-poster{margin-top:0}#actual-launch[aria-disabled=true]{opacity:.7;cursor:default}#launch-opened{margin-top:15px}.review-inner>span:last-child{color:#d3dfda}.game-actions .primary{font-size:14px}
@media(max-width:800px){.range-fields.no-semester{grid-template-columns:1fr}.range-fields.no-semester .unit-field{grid-column:auto}}

.teacher-entry{display:flex;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.selection-status{font-size:14px;color:#3e5a50;line-height:1.6}.selection-status:empty{display:none}.teacher-share{border-top:1px solid #b5c7bc;margin-top:24px;padding-top:20px}.teacher-share input{width:100%;box-sizing:border-box;min-height:48px;padding:10px;border:1px solid #91aa9b;border-radius:8px}.teacher-share button{min-height:48px}.teacher-share p,.save-type p,.save-type dd{overflow-wrap:anywhere}.teacher-steps li{margin-bottom:14px}.save-type{border:1px solid #ccd8cf;border-radius:12px;padding:18px;margin:18px 0;background:#faf8f0}.save-type h3{margin-top:0}.save-type dt{font-weight:700;margin-top:12px}.save-type dd{margin:5px 0;line-height:1.7}.save-type code{display:block;overflow-wrap:anywhere;white-space:normal}#share-qr{max-width:440px;margin:15px auto;background:white;padding:12px;box-sizing:border-box}#share-qr svg{display:block;width:100%;height:auto}.local-game-review{background:#6b461d!important}.dialog-top{position:sticky;top:0;z-index:5;background:#fffdf7}@media(max-width:500px){.save-type{padding:13px}.teacher-entry{gap:10px}.teacher-share .dialog-actions{display:grid;grid-template-columns:1fr}.teacher-entry span{font-size:14px}}
