/* Student-friendly room entry and illustrated learning explorer. */
.games-page .room-entry{background:#fffcf4;border:1px solid #d8dbc5;border-radius:24px;padding:28px;box-shadow:0 12px 30px #001e2c33;color:#194e55}.room-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:22px;border-bottom:1px solid #dde5d9}.room-welcome>div{max-width:780px}.room-kicker{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#317971}.room-welcome h2{font-size:clamp(25px,2.8vw,37px);line-height:1.18;color:#164e54;margin:10px 0}.room-welcome p{font-size:14px;line-height:1.6;color:#617674;margin:0}.room-welcome>img{height:128px;width:128px;object-fit:cover;border-radius:22px;flex-shrink:0}.room-profile{margin-top:24px;padding:22px;background:#f0f6ed;border:1px solid #d6e4d4;border-radius:18px}.room-step{display:flex;align-items:center;gap:12px;color:#245e5e}.room-step>span,.path-step>span{display:grid;place-items:center;background:#d6e9dc;color:#256657;width:31px;height:31px;border-radius:50%;font-size:14px;font-weight:800;flex-shrink:0}.room-step h3{margin:0;font-size:21px}.room-step p{font-size:12px;color:#648075;margin:5px 0 0}.room-profile .registration-fields{margin-top:18px;display:block}.room-profile .registration-fields fieldset{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px;border:0;padding:0;background:transparent}.room-profile fieldset>legend{display:none}.room-entry label{font-size:13px;color:#315c60;display:grid;gap:8px;min-width:0}.room-entry input,.room-entry select{background:#fff;border:1px solid #c1d5c7;border-radius:10px;min-height:46px;padding:12px;width:100%;color:#174e58;font-size:15px}.room-choice-step{margin:25px 0 18px;font-size:21px}.room-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px}.room-choices>div{min-width:0;border:1px solid #ccdcd5;border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:16px;box-shadow:0 4px 12px #153f4610;background:#fff}.room-choices .room-create{background:#eef7f2;border-color:#b1d2be}.room-choices .room-join{background:#fff6e5;border-color:#e6d3aa}.room-choice-heading{display:flex;align-items:center;gap:16px;min-height:108px}.room-choice-heading>img{width:90px;height:100px;flex:0 0 90px;object-fit:contain;border-radius:14px}.room-join .room-choice-heading>img{object-fit:cover}.room-choice-heading h3{font-size:26px;margin:8px 0;color:#164e55;line-height:1.15}.room-choice-heading p{font-size:13px;line-height:1.6;color:#5e7777;margin:0}.room-choices button{width:100%;min-height:49px;font-size:17px;border-radius:11px;background:#08777c;color:#fff;border:0;box-shadow:0 3px 0 #075258}.room-choices button:hover{background:#09626b}.room-choices label{margin-top:auto;margin-bottom:0}.room-join #joinCode{font-size:22px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.room-entry>details{border-top:1px solid #dce5d6;padding-top:18px;margin-top:24px;font-size:14px}.room-entry>.bar{margin-bottom:0}.room-entry .resume{margin:16px 0}.room-entry>.bar a{font-size:12px;background:#f1f5eb;border:1px solid #d2ddcc}.games-page .hero-card{border-radius:22px}.games-page .hero-card .bar button{font-size:14px;min-height:45px;border-radius:11px}.games-page .learning-path{padding:30px;background:#fffdf5;border:1px solid #ded7b7;border-radius:25px}.path-heading{align-items:flex-start;border-bottom:1px solid #e4e6d4;padding-bottom:8px;margin-bottom:24px}.path-heading h2{font-size:clamp(25px,3vw,36px);line-height:1.15;max-width:680px;color:#174e55;letter-spacing:-.8px}.path-heading p{font-size:14px;line-height:1.6;color:#647871;max-width:740px}.topic-count{background:#e6f0e7;border:1px solid #c6d9c9;color:#216457;min-width:135px;font-size:26px;border-radius:16px}.topic-count small{font-size:11px}.path-step{font-size:20px;color:#275d5a;display:flex;align-items:center;gap:11px;margin:22px 0 16px}.games-page .area-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0 0 25px}.games-page .area-options button{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;text-align:left;background:#fff;border:2px solid #e0e7da;border-radius:18px;box-shadow:0 4px 10px #174c5a10;min-width:0;transition:border-color .15s,box-shadow .15s}.games-page .area-options button:hover{border-color:var(--competence);box-shadow:0 7px 18px #174c5a25}.games-page .area-options button[aria-pressed=true]{border-color:var(--competence);box-shadow:0 0 0 3px color-mix(in srgb,var(--competence) 15%,transparent)}.area-options button>img{display:block;width:100%;height:150px;object-fit:contain;background:#f7f4eb}.games-page .area-options button>.area-card-copy{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1;padding:15px 38px 16px 16px;font-size:inherit;color:#184b54}.area-card-copy strong{font-size:19px;line-height:1.2;font-weight:800;overflow-wrap:anywhere}.area-card-copy>span{font-size:12px;line-height:1.5;font-weight:400;color:#647872}.games-page .area-options button>.area-check{position:absolute;right:11px;bottom:17px;display:grid;place-items:center;width:23px;height:23px;min-width:23px;border-radius:50%;background:#e5eee5;color:var(--competence);font-size:14px;font-weight:800}.path-filters{background:#f2f6ef;border:1px solid #dce6d6;padding:5px 24px 20px;border-radius:20px}.path-filters .grade-options{gap:10px}.path-filters .grade-options button{background:#fff;border-color:#cfddcb;color:#24595e;border-radius:12px;min-height:48px;font-size:16px}.path-filters .grade-options button[aria-pressed=true]{background:#166c6d;color:#fff;border-color:#166c6d;box-shadow:none}.path-filters .competence-options button{background:#fff;border-radius:12px;padding:13px;font-size:14px}.path-filters .competence-name{font-size:14px;color:#638079}.path-filters .topic-options button{border:1px solid #ccdcd0;border-radius:15px;box-shadow:none;background:#fff;padding:20px}.path-filters .topic-options button[aria-pressed=true]{border:2px solid #317d71;background:#e5f2e7}.path-filters .topic-options b{font-size:19px;line-height:1.3}.path-filters .topic-options span{font-size:13px;line-height:1.6}.path-filters .area-context{font-size:12px}.room-entry input:focus-visible,.room-entry select:focus-visible,.learning-path button:focus-visible{outline:3px solid #dda82f;outline-offset:3px}
@media(max-width:900px){.room-profile .registration-fields fieldset{grid-template-columns:1fr 1fr}.room-profile fieldset>label:first-of-type{grid-column:1/-1}.room-choice-heading{gap:10px;align-items:flex-start}.room-choice-heading>img{width:65px;height:80px;flex-basis:65px}.room-choice-heading h3{font-size:23px}.room-choice-heading p{font-size:12px}.games-page .area-options{gap:12px}.area-card-copy strong{font-size:17px}.area-options button>img{height:130px}}
@media(max-width:600px){.games-page .room-entry{padding:19px;border-radius:19px}.room-welcome{gap:13px;align-items:flex-start}.room-welcome>img{width:74px;height:85px;border-radius:15px}.room-welcome h2{font-size:26px}.room-welcome p{font-size:12px}.room-kicker{font-size:8px;letter-spacing:.7px}.room-profile{padding:16px;margin-top:18px}.room-profile .registration-fields fieldset{gap:12px}.room-profile label{font-size:12px}.room-entry input,.room-entry select{font-size:14px;min-height:44px;padding:10px}.room-step h3,.room-choice-step{font-size:19px}.room-step p{font-size:11px}.room-choices{grid-template-columns:1fr;gap:16px}.room-choices>div{padding:19px;gap:15px}.room-choice-heading{align-items:center;min-height:85px}.room-choice-heading>img{width:76px;height:88px;flex-basis:76px}.room-choice-heading h3{font-size:25px}.room-choice-heading p{font-size:12px}.room-choices button{font-size:17px}.games-page .learning-path{padding:19px;border-radius:20px}.path-heading h2{font-size:28px;margin:12px 0}.path-heading p{font-size:12px}.path-heading{margin-bottom:16px}.path-step{font-size:18px;line-height:1.3;margin:19px 0 15px}.path-step>span{width:27px;height:27px;font-size:12px}.games-page .area-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.area-options button>img{height:112px}.games-page .area-options button>.area-card-copy{padding:12px 12px 30px;gap:5px}.area-card-copy strong{font-size:16px;line-height:1.25}.area-card-copy>span{font-size:10px;line-height:1.4}.games-page .area-options button>.area-check{right:9px;bottom:9px;width:19px;height:19px;min-width:19px;font-size:12px}.path-filters{padding:1px 14px 16px;border-radius:16px}.path-filters .grade-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.path-filters .grade-options button{font-size:14px;min-height:43px}.path-filters .competence-options{gap:8px}.path-filters .competence-options button{font-size:11px;padding:10px 8px;gap:5px}.path-filters .competence-options button span{font-size:19px}.path-filters .topic-options button{padding:16px}.path-filters .topic-options b{font-size:17px}.path-filters .topic-options span{font-size:12px}.topic-count{display:none}.room-entry>.bar{gap:8px}.room-entry>.bar a{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.games-page .area-options button{transition:none}}
