.games-page,.games-lesson-panel,.games-home-card,.game-player{font-size:1rem;line-height:1.65}
.games-page h1{font-size:2rem}.games-page h2,.games-lesson-panel h2{font-size:1.25rem}.games-page h3{font-size:1.125rem;line-height:1.4}
.games-page p,.games-lesson-panel p,.games-home-card p{color:#756871}.games-page .btn,.games-lesson-panel .btn,.games-home-card .btn,.games-form .btn{font-size:.875rem;min-height:42px;white-space:normal}
.games-page .badge,.games-page .form-label,.games-form .form-label{font-size:.875rem}.games-page .eyebrow{font-size:.8125rem}
.games-page .page-heading p{font-size:1rem;max-width:720px}.games-page .page-heading{align-items:flex-start}
.game-tabs{margin:20px 0 24px;overflow:auto;white-space:nowrap}.game-tabs button{font-size:.875rem;padding:12px 17px;flex-shrink:0;min-height:44px}
.games-demo-context{display:flex;align-items:center;gap:18px;background:#fff;border:1px dashed #d7c5cd;border-radius:12px;padding:15px 19px;color:#756871;font-size:.875rem;flex-wrap:wrap}
.games-demo-context>span{max-width:155px;font-weight:600;color:#755462}.games-demo-context .form-label{margin:0;min-width:250px;flex:1;max-width:380px}.games-demo-context p{font-size:.875rem;flex:1;min-width:200px}
.games-page select,.games-form select{appearance:none;min-height:44px;width:100%;font-size:.875rem;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2381777b' stroke-width='1.5'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px}
.games-library-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;background:#efe2e8;border:1px solid #e7d4de;border-radius:17px;margin-bottom:26px}
.games-library-intro h2{font-size:1.6rem;margin:6px 0 9px}.games-library-intro p{max-width:700px;font-size:1rem;color:#705965}.games-library-symbol{display:flex;align-items:center;justify-content:center;width:84px;height:84px;background:#ffffff70;border-radius:24px;transform:rotate(8deg);color:#985775;flex-shrink:0}.games-library-symbol .icon{width:42px;height:42px;stroke-width:1.2}
.games-filters{display:flex;align-items:end;gap:16px;margin-bottom:20px}.games-filters>.form-label{min-width:145px;flex:1;max-width:230px;margin:0}.games-search{display:flex;align-items:end;gap:10px;flex:2}.games-search>.form-label{flex:1;margin:0}.games-search input{width:100%;font-size:.875rem;min-height:44px}
.game-library-count{color:#756871;font-size:.875rem;margin:0 0 13px}.game-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.game-library-card{overflow:hidden;display:flex;flex-direction:column}.game-card-content{padding:22px;display:flex;flex-direction:column;flex:1}.game-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.8125rem;color:#6c5b65;margin-bottom:11px}.game-card-tags>span{padding:3px 8px;background:#f7f3f5;border-radius:6px}.game-card-content h3{font-size:1.125rem;margin-bottom:8px}.game-card-content>p{font-size:.875rem;line-height:1.7;margin-bottom:20px}
.game-art{height:185px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:25px;overflow:hidden;gap:9px}.art-match{background:#f0dfe7;color:#75465e}.art-quiz{background:#e1ebe3;color:#3e6656}.art-type{background:#e4e7f1;color:#515b89}.art-memory{background:#f0e6d9;color:#8c6942}.game-art-label{position:absolute;top:14px;left:18px;letter-spacing:1.8px;text-transform:uppercase;font-size:.75rem;font-weight:700;opacity:.8}.art-question{font-size:1.2rem;font-weight:600;margin:8px 0 0;letter-spacing:-.2px}.art-pill{background:#fff;border-radius:8px;padding:5px 15px;min-width:62%;font-size:.875rem;display:flex;justify-content:space-between;gap:20px;box-shadow:0 3px 5px #33443308}.art-pill.faint{opacity:.6}.art-pill b{color:#56856a}.art-pairs{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center;width:100%;font-size:.8125rem}.art-pairs span{padding:9px 6px;background:#fff;border-radius:8px;text-align:center;box-shadow:0 5px 9px #77445508}.art-pairs b{opacity:.5}.art-input{background:#fff;border-bottom:2px solid #98a4ca;border-radius:8px;padding:8px 20px;min-width:70%;font-size:1rem}.art-input i{display:inline-block;border-right:1px solid #8c97bb;height:16px;margin-left:3px;vertical-align:middle}.art-keys{font-size:.875rem;letter-spacing:5px;opacity:.6}.art-memory{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%}.art-memory span{background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;height:70px;font-size:.875rem;text-align:center;line-height:1.35;padding:7px;transform:rotate(-4deg)}.art-memory span:nth-child(even){transform:rotate(5deg)}.art-memory span:first-child,.art-memory span:last-child{font-size:1.7rem;background:#b4926b;color:#fff}
.game-author{display:flex;align-items:center;gap:10px;margin-top:auto;margin-bottom:20px;font-size:.875rem}.game-author-avatar{height:34px;width:34px;border-radius:50%;background:#f1e8ed;color:#8d4e69;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.game-author strong{font-size:.875rem;font-weight:600;display:block}.game-author small{font-size:.8125rem;display:block;color:#7c6e77;margin-top:3px}.game-card-actions{display:flex;gap:8px}.game-card-actions .btn{flex:1}.game-card-minor .btn{font-size:.8125rem;min-height:36px;padding:8px 0;margin-top:8px;justify-content:flex-start;color:#8c566d}.games-demo-note{font-size:.875rem;color:#756871;margin-top:24px}
.game-editor{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;align-items:start}.game-editor .card{padding:26px}.game-editor h2{margin-bottom:20px}.game-editor .form-label{margin-top:17px;gap:7px}.game-editor input,.game-editor textarea{font-size:1rem;min-height:44px;width:100%}.game-editor .form-row{align-items:start}.game-editor p{font-size:.875rem;margin-bottom:20px;line-height:1.7}.game-editor textarea.game-pairs-editor{min-height:290px;line-height:2;white-space:pre;font-size:.9375rem}.game-editor-note{display:flex;gap:12px;background:#f7eff3;padding:16px;border-radius:10px;margin-top:20px}.game-editor-note .icon{margin-top:4px;color:#943b59}.game-editor-note p{margin:0;font-size:.875rem}.game-editor-note strong{color:#735462}.game-editor-submit{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
.games-assigned-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:22px 0}.games-assigned-intro p{font-size:1rem;margin-top:7px;max-width:700px}.games-assigned-intro>.form-label{min-width:220px;max-width:300px}.game-assignments{display:grid;gap:16px}.game-assignment-card{display:flex;align-items:flex-start;gap:20px;padding:24px}.game-assignment-icon{height:56px;width:56px;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.game-assignment-icon .icon{width:26px;height:26px}.game-assignment-body{flex:1;min-width:0}.game-assignment-body p{font-size:.875rem;margin-top:7px}.game-assignment-end{display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:155px}.game-assignment-end .badge{text-align:center}.game-assignment-end .btn.ghost{font-size:.8125rem}.game-assignment-meta{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:.875rem;margin-top:11px;color:#6d5c66}.games-explanation{font-size:1rem;color:#756871;line-height:1.75}.games-form input,.games-form select{font-size:1rem;min-height:44px}.games-form .form-label{gap:7px}
.game-report{margin-top:24px}.game-report table{font-size:.875rem;min-width:650px;width:100%}.game-report th,.game-report td{font-size:.875rem!important;padding:16px 13px!important}.game-report-details{margin-top:24px}.game-report-details>h3{margin-bottom:14px}.game-report-details details{font-size:.9375rem;border-top:1px solid var(--line);padding:14px 0}.game-report-details summary{cursor:pointer;font-weight:600}.game-report-details ul{line-height:1.8;padding-left:22px}.game-report-details p{font-size:1rem;margin-top:12px}.game-report-select{max-width:600px}.games-lesson-panel{display:grid;gap:14px;margin-top:20px}.games-lesson-panel p{font-size:.875rem;margin-top:6px}.game-lesson-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:13px}.game-lesson-row strong{display:block;font-size:.9375rem}.game-lesson-row small{display:block;font-size:.8125rem;color:#756871}.games-home-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;background:#f5e7ed;border-color:#e7d4de}.games-home-card h2{font-size:1.2rem;margin:6px 0}.games-home-card .eyebrow{font-size:.8125rem}.games-home-card .btn{flex-shrink:0}
.game-player{position:fixed;inset:0;background:#f7f4f6;z-index:60;overflow:auto;color:#362b30;padding:22px 32px 50px}.game-player-shell{max-width:1080px;margin:auto}.game-player-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:45px}.game-player .btn{font-size:.9375rem;min-height:46px}.game-player .badge{font-size:.875rem}.game-player-brand{font-size:1.2rem;font-weight:700;text-align:center;line-height:1.3}.game-player-brand span{display:block;font-size:.8125rem;color:#8d7783;letter-spacing:.5px;font-weight:400;margin-top:4px}.game-play-title{text-align:center;max-width:800px;margin:0 auto 24px}.game-play-title .eyebrow{justify-content:center;font-size:.875rem}.game-play-title h1{font-size:2.2rem;margin:10px 0 12px}.game-play-title p{font-size:1rem;color:#756871;max-width:680px;margin:auto}.game-play-progress{max-width:760px;margin:24px auto;color:#756871;font-size:.875rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.game-play-progress>div{width:100%;background:#e8dee4;height:7px;border-radius:10px;overflow:hidden}.game-play-progress i{display:block;height:100%;background:#a55376;border-radius:10px;transition:width .2s}.game-play-area{max-width:900px;margin:auto}.game-match-board{display:grid;grid-template-columns:1fr 1fr;gap:32px}.game-match-column{display:grid;gap:11px}.game-match-column h2{font-size:.875rem;font-weight:600;color:#86707c;text-align:center;margin:0 0 4px}.game-match-card{width:100%;min-height:68px;border:2px solid #e4d8df;background:#fff;border-radius:13px;padding:14px 20px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:1rem;text-align:center;line-height:1.35;box-shadow:0 4px 0 #ede6eb}.game-match-card:hover{border-color:#b77d97;background:#fffafd}.game-match-card.selected{border-color:#943b59;background:#f6e5ee;box-shadow:0 4px 0 #d9b4c6}.game-match-card.matched{background:#e5f1e9;color:#40725a;border-color:#bdd7c8;box-shadow:none;opacity:.65}.game-feedback{min-height:42px;text-align:center;font-size:1rem;color:#8d566d;padding:17px 12px;line-height:1.5}.game-feedback.correct{color:#397054}.game-feedback.incorrect{color:#99544c}.game-memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.game-memory-card{min-height:110px;background:#79536a;color:#fff;border:2px solid #79536a;box-shadow:0 4px 0 #614056;border-radius:15px;padding:14px;font-size:1rem;line-height:1.4}.game-memory-card>span{font-size:1.6rem;letter-spacing:3px;opacity:.6}.game-memory-card.face-up{background:#fff;color:#674655;border-color:#ccadbe;box-shadow:0 4px 0 #e0cdd7}.game-memory-card.matched{background:#e5f1e9;color:#40725a;border-color:#bdd7c8;box-shadow:none;opacity:.7}.game-memory-controls{text-align:center}.game-question{text-align:center;background:#fff;border:1px solid #e9dfe5;border-radius:18px;padding:32px 24px;max-width:760px;margin:28px auto}.game-question>span{font-size:.875rem;color:#8d7783}.game-question h2{font-size:1.8rem;line-height:1.4;margin-top:9px;font-weight:600}.game-quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:760px;margin:auto}.game-quiz-option{background:#fff;border:2px solid #dfd4dc;border-radius:13px;min-height:82px;padding:17px 20px;font-size:1.1rem;display:flex;align-items:center;gap:18px;text-align:left;box-shadow:0 4px 0 #e9e0e6}.game-quiz-option>span{display:flex;align-items:center;justify-content:center;min-height:32px;width:32px;flex-shrink:0;border-radius:8px;background:#f2ebef;color:#8a6a7c;font-size:.875rem}.game-quiz-option:hover{border-color:#b37d96}.game-quiz-option.correct{border-color:#6eaa87;background:#edf7f0;color:#356f4e;opacity:1}.game-quiz-option.incorrect{border-color:#ce9c92;background:#fcf0ec;opacity:1}.game-quiz-option.correct>.icon{margin-left:auto}.game-answer-footer{display:flex;flex-direction:column;align-items:center;margin:14px auto;max-width:760px}.game-answer-footer .game-feedback p{margin-top:4px}.game-type-answer{max-width:600px;margin:0 auto;display:grid;gap:12px;text-align:center}.game-type-answer label{text-align:left;font-size:.9375rem}.game-type-answer input{font-size:1.3rem;padding:18px;border:2px solid #cfb8c5;border-radius:12px;text-align:center;width:100%;min-height:66px}.game-type-answer p{font-size:.875rem;color:#8d7783;margin:0 0 9px}.game-result{max-width:720px;margin:auto;padding:38px 35px;text-align:center}.game-result-icon{display:flex;align-items:center;justify-content:center;width:75px;height:75px;border-radius:50%;color:#a4783f;background:#faf0da;margin:0 auto 20px}.game-result-icon .icon{width:38px;height:38px;fill:#f3dca5;stroke-width:1.3}.game-result h2{font-size:1.6rem;line-height:1.4}.game-result>p{font-size:1rem;color:#756871;margin:12px 0 20px}.game-result>.badge{white-space:normal}.game-result-review{text-align:left;margin-top:26px;border-top:1px solid var(--line);padding-top:20px}.game-result-review h3{font-size:1.1rem;margin-bottom:12px}.game-result-review>div{display:grid;grid-template-columns:1fr 1fr;gap:3px 15px;font-size:1rem;padding:12px 0;border-bottom:1px solid var(--line)}.game-result-review small{grid-column:1/-1;color:#8d7783;font-size:.875rem}.game-result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
@media(min-width:1600px){.game-art{height:210px}.game-card-content{padding:25px}}
@media(max-width:1250px){.game-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-editor{grid-template-columns:1fr}.game-editor .card{max-width:none}.games-filters{flex-wrap:wrap}.games-search{min-width:280px}}
@media(max-width:850px){.games-library-intro{padding:23px}.games-library-symbol{display:none}.games-demo-context>span{max-width:none;flex-basis:100%}.games-demo-context .form-label{max-width:none}.game-assignment-icon{display:none}.game-assignment-card{padding:20px}.game-assignment-end{min-width:140px}.games-home-card{align-items:flex-start}.game-player{padding:18px 20px 40px}}
@media(max-width:580px){.game-library-grid{grid-template-columns:1fr}.games-page h1{font-size:1.7rem}.games-page .page-heading{gap:14px;flex-direction:column}.games-library-intro h2{font-size:1.4rem}.games-filters{align-items:stretch;gap:12px}.games-filters>.form-label{min-width:0;max-width:none;flex-basis:45%}.games-search{flex-basis:100%;min-width:0}.game-art{height:180px}.game-card-content{padding:21px}.game-editor-submit{flex-direction:column}.game-editor .card{padding:20px}.game-editor .form-row{grid-template-columns:1fr}.games-assigned-intro{flex-direction:column;gap:16px}.games-assigned-intro>.form-label{width:100%;max-width:none}.game-assignment-card{flex-direction:column;gap:18px}.game-assignment-end{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.game-assignment-end>.btn{flex:1}.game-assignment-end>.badge{flex-basis:100%}.games-home-card{flex-direction:column;gap:15px}.games-demo-context{padding:14px}.games-demo-context p{min-width:0}.game-player{padding:14px 14px 35px}.game-player-header{gap:9px;flex-wrap:wrap;margin-bottom:25px}.game-player-header>.btn{font-size:.875rem;padding:9px 12px}.game-player-brand{font-size:1rem}.game-player-header>.badge{width:100%;text-align:center;background:none;color:#8a697a}.game-play-title h1{font-size:1.8rem}.game-play-title p{font-size:.9375rem}.game-match-board{gap:13px}.game-match-card{font-size:.9375rem;padding:12px 8px;min-height:70px}.game-match-column{gap:10px}.game-memory-board{gap:9px;grid-template-columns:repeat(3,1fr)}.game-memory-card{font-size:.875rem;min-height:98px;padding:8px}.game-question{padding:24px 15px}.game-question h2{font-size:1.5rem}.game-quiz-options{grid-template-columns:1fr;gap:11px}.game-quiz-option{min-height:65px;font-size:1rem;padding:12px 16px}.game-result{padding:28px 20px}.game-result h2{font-size:1.4rem}.game-result-review>div{grid-template-columns:1fr}.game-result-actions>.btn{width:100%}.game-play-progress{font-size:.8125rem}.games-form .form-row{grid-template-columns:1fr}}

body:has(.game-player) .sidebar,body:has(.game-player) .topbar,body:has(.game-player) .mobile-bottom,body:has(.game-player) .skip-link,body:has(.game-player) .footer-line{display:none}
