[hidden]{display:none!important}.p-wrap{max-width:1100px;margin:auto;padding:24px 20px 50px}.p-back{display:inline-block;margin:0 0 12px;color:#3b647c}.p-wrap h1{font-size:clamp(1.65rem,4vw,2.4rem);line-height:1.15;margin:10px 0 14px}.p-lead{color:#536b7c;max-width:730px;line-height:1.6}.p-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 32px}.p-card{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:24px;background:#fff1b8;color:#20394c;text-decoration:none;box-shadow:0 3px 0 #20394c0d;min-width:0}.p-card:nth-child(3n+2){background:#e5dafa}.p-card:nth-child(3n){background:#bdeee2}.p-card-icon{font-size:2.4rem}.p-card h2{font-size:1.18rem;line-height:1.2;margin:0;overflow-wrap:normal}.p-card p{font-size:.94rem;line-height:1.45;margin:0;color:#476173}.p-card small{margin-top:auto;color:#365a77;font-weight:700;padding-top:6px}.p-card:hover{box-shadow:0 4px 14px #244b6b22;transform:translateY(-2px)}.p-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.p-wrap button,.p-wrap input{font:inherit}.p-wrap button{border:0;border-radius:16px;background:#eaf1f9;color:#263e50;padding:13px 18px;cursor:pointer;min-height:48px;font-weight:650}.p-wrap button:disabled{opacity:.5;cursor:default}.p-wrap .p-primary{background:#3265d9;color:#fff;box-shadow:0 3px 0 #214faf}.p-wrap :is(button,a,input):focus-visible{outline:3px solid #ed9a23;outline-offset:4px}.p-game{max-width:780px;margin:0 auto;background:white;border-radius:26px;padding:24px}.p-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:14px}.p-toolbar strong{font-size:1rem;margin-right:auto}.p-toolbar button{font-size:.87rem;min-height:42px;padding:9px 12px}.p-game progress{width:100%;height:10px;accent-color:#42a689;display:block;margin-bottom:20px}.p-count{color:#60778a;font-size:.85rem;white-space:nowrap}.p-game h2{font-size:clamp(1.25rem,3.8vw,1.65rem);line-height:1.3;text-align:center;margin:12px 0}.p-visual{font-size:clamp(2rem,6vw,3.8rem);line-height:1.4;text-align:center;white-space:pre-wrap;word-break:normal;max-width:100%;margin:18px 0}.p-visual:not(:empty){padding:18px;background:#f3f7fb;border-radius:18px}.p-image{display:block;object-fit:contain;width:100%;height:215px;margin:12px auto}.p-dots{display:grid;grid-template-columns:repeat(5,32px);gap:12px;justify-content:center;font-size:35px;color:#3265d9;padding:20px}.p-options{display:grid;gap:10px;margin:18px 0}.p-option-row{display:flex;gap:6px}.p-option{flex:1;text-align:left;font-weight:650!important}.p-hear{flex:0 0 48px;padding:10px!important}.p-built{min-height:65px;padding:16px;background:#e8f5ef;border:2px dashed #85b8a4;border-radius:16px;font-size:1.2rem;text-align:center}.p-options:has(.p-token){display:flex;flex-wrap:wrap;justify-content:center}.p-number{display:block;width:130px;max-width:100%;text-align:center;padding:12px;margin:20px auto;font-size:2rem!important;border:2px solid #a4bbd3;border-radius:16px;color:#213b50}.p-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px}.p-feedback{color:#2f705b;text-align:center;line-height:1.5;min-height:22px;font-size:1rem}.p-hint,.p-note{color:#627789;font-size:.9rem;line-height:1.5}.p-hint{text-align:center;margin:12px 0}.p-answer{text-align:center;font-size:1.8rem;font-weight:750;color:#315e86}.p-finish{text-align:center;background:white;border-radius:24px;padding:35px 22px}.p-trophy{font-size:5rem}.p-extras{margin-top:38px;line-height:1.75;color:#425b6d}.p-extras article{max-width:830px;margin:28px auto}.p-extras h2{font-size:1.5rem}.p-extras h3{font-size:1.15rem}.p-extras details{background:#ffffff9c;border-radius:18px;padding:18px;margin:22px 0}.p-extras summary{cursor:pointer;font-weight:700}.p-films{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.p-film{background:white;border-radius:16px;overflow:hidden;text-decoration:none;color:#263e50;font-weight:650}.p-film img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.p-film span{display:block;padding:12px}.p-playing .site-header,.p-playing footer,.p-playing .p-page-title,.p-playing .p-back{display:none}.p-playing .p-wrap{padding:12px}.p-paused :is(#p-art,#p-options,#p-question,#p-answer,#p-built,#p-number){opacity:.15;pointer-events:none}.p-paused .p-controls button:not(#p-listen){visibility:hidden}.p-question-text{font-size:1.4rem}.p-game[data-reading-text] .p-visual{font-size:1.3rem}.p-game:has(.p-visual:not(:empty)) .p-visual{font-size:clamp(1.6rem,4vw,2.8rem)}
@media(max-width:650px){.p-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.p-card{padding:16px;gap:8px;border-radius:20px}.p-card-icon{font-size:2rem}.p-card h2{font-size:1.06rem}.p-card p{font-size:.86rem}.p-wrap{padding:18px 14px 35px}.p-game{padding:17px 13px;border-radius:20px}.p-toolbar{flex-wrap:wrap}.p-toolbar strong{flex-basis:100%}.p-image{height:180px}.p-films{grid-template-columns:1fr}.p-game h2{font-size:1.25rem}.p-visual{margin:12px 0}.p-controls button{padding:12px 14px}.p-option{font-size:.98rem!important}.p-extras{font-size:.95rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.p-card:hover{transform:none}}
.p-game .p-visual.p-reading-passage{font-size:1.25rem!important;line-height:1.65;text-align:left}.p-card-status{font-size:.8rem;line-height:1.3;color:#315875;font-weight:650}.p-option:disabled{opacity:.75!important}.p-card:focus-visible{outline:3px solid #ed9a23;outline-offset:4px}
/* A lesson URL opens on the task; explanatory content follows below it. */
.p-playing .p-page-title{display:block!important;max-width:780px;margin:0 auto}.p-playing .p-page-title h1{font-size:clamp(1.1rem,3.5vw,1.4rem);margin:4px 0 12px;color:#315c78;line-height:1.2}.p-playing .p-game{margin-top:0}.p-toolbar .p-other{display:inline-flex;align-items:center;min-height:42px;padding:8px 10px;background:#eaf1f9;border-radius:12px;color:#315c78;font-size:.84rem;font-weight:650;white-space:nowrap}.p-toolbar strong{display:none}.p-toolbar #p-count{margin-right:auto}.p-playing .p-wrap{max-width:1100px}.p-playing .p-extras:not([hidden]){margin-top:36px}.p-playing #p-status:empty{display:none}.p-extras .p-cards{align-items:stretch}#p-game .p-toolbar #p-review{font-size:.8rem;padding:8px}
.app-nav-portal .p-page-title{max-width:780px;margin:0 auto}.app-nav-portal .p-page-title h1{font-size:clamp(1.1rem,3.5vw,1.4rem);margin:4px 0 12px;line-height:1.2}.app-nav-portal #p-status{max-width:780px;margin:6px auto}.app-nav-portal #p-status:empty{display:none}
/* Speech for non-readers: picture, short spoken model and one large arrow. */
.p-speech #p-question{font-size:1.15rem;color:#61798a;margin:8px 0}.p-speech #p-answer{font-size:clamp(1.7rem,5vw,2.25rem);line-height:1.2;margin:12px 0 18px}.p-speech .p-image{height:min(34vh,280px);margin:8px auto}.p-speech #p-hint:empty{display:none}.p-speech #p-feedback:empty{display:none}.p-speech .p-controls{margin:18px 0 5px;gap:14px;align-items:center}.p-speech #p-listen{min-width:58px;min-height:58px;font-size:1.6rem;padding:10px;background:#edf3fa}.p-speech #p-next{min-width:125px;min-height:68px;font-size:2.9rem;line-height:1;border-radius:22px}.p-speech #p-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:14px 0}.p-speech-choice{padding:8px!important;background:#f2f6fb!important;border:2px solid #dce7ef!important;border-radius:22px!important;min-height:180px!important}.p-speech-choice img{width:100%;height:min(30vh,220px);object-fit:contain}.p-speech progress{height:7px;margin-bottom:12px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#e4edf5}.p-speech progress::-webkit-progress-bar{background:#e4edf5}.p-speech progress::-webkit-progress-value{background:#62b397}.p-speech progress::-moz-progress-bar{background:#62b397}@media(max-width:650px){.p-speech{padding:14px!important}.p-speech .p-image{height:min(31vh,230px)}.p-speech #p-options{gap:10px}.p-speech-choice img{height:min(26vh,190px)}.p-speech .p-controls{margin-top:14px}.p-speech #p-answer{font-size:1.7rem}.p-speech #p-next{min-height:62px;min-width:112px}}

/* Retain the previous compact layout, with the preferred orange arrow. */
body[data-lesson="mowienie/od-slow-do-zwrotow"] .p-speech #p-next{background:#e9972e;color:#fff;box-shadow:0 4px 0 #bd701c}
