/* Mission reading surfaces. Loaded after the student/guest shell; the server
   still owns grade, questions, feedback, help allowance and rewards. */
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) {
  --ink:#28343e;--text:#28343e;--muted:#4e5962;--muted-2:#4e5962;
  --bg:#d8d0c0;--bg-2:#e3ddcf;--panel:#e3ddcf;--panel-2:#cfc7b7;
  --line:#ada99a;--line-strong:#697671;--mint:#455846;--primary:#455846;
  --accent:#5c4d6e;--gold:#735725;--mission-accent:#455846;--mission-glow:#c5cba7;
  --math-command-color:#455846;--font-h:var(--font,Manrope,system-ui,sans-serif);
  --m-clip:none;--m-clip-s:none;--m-card:linear-gradient(#e3ddcf,#e3ddcf);
  --adv-dlg-pt:30px;--adv-dlg-pr:32px;
  width:min(1020px,calc(100% - 40px));max-height:calc(100dvh - 40px);
  padding:30px 32px;border:1px solid #8f938b;border-radius:18px;
  background:#d8d0c0;color:#28343e;color-scheme:light;
  font-family:var(--font,Manrope,system-ui,sans-serif);font-size:16px;
  box-shadow:0 24px 70px #10202d66;text-shadow:none;
}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach)::backdrop {background:#152330b8;backdrop-filter:blur(3px)}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach)>h2 {font-family:inherit;font-size:clamp(22px,2.4vw,28px);line-height:1.25;font-weight:750;letter-spacing:-.025em;color:#28343e;margin:0 54px 24px 0;text-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) .adventure-dialog-close {top:calc(12px - var(--adv-dlg-pt));right:calc(12px - var(--adv-dlg-pr));width:44px;height:44px;margin:-12px calc(12px - var(--adv-dlg-pr)) -32px auto;border:1px solid #8d948b;border-radius:50%;background:#e3ddcf;color:#28343e;box-shadow:none;font-size:23px;clip-path:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) :is(button,a,input,select,summary):focus-visible {outline:3px solid #4e5962;outline-offset:3px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) [hidden] {display:none!important}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) .btn {font-family:inherit;min-height:44px;min-width:44px;font-size:14px;line-height:1.45;letter-spacing:0;text-transform:none;text-shadow:none;clip-path:none;border-radius:9px;box-shadow:none;white-space:normal;padding:11px 17px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) .btn-primary {background:#d6c495;color:#122734;border:1px solid #7b653a}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) .btn-primary:hover {background:#e4d3a9;color:#122734;border-color:#7b653a;filter:none;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) .btn-ghost {background:transparent;color:#34453d;border:1px solid #697671}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) .btn-ghost:hover {background:#e3ddcf;color:#28343e;box-shadow:none}
.premium-mission-layout {display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:30px;align-items:start}
.premium-mission-layout:has(.premium-mission-aside:empty) {grid-template-columns:minmax(0,1fr)}
.premium-mission-question,.premium-mission-aside {min-width:0}
.premium-mission-aside:empty {display:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question .daily-question-meta {display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin:0 0 12px;font-size:14px;line-height:1.5;color:#4e5962}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question .daily-question-meta>span {background:none;color:#4e5962;border:0;border-radius:0;padding:0;min-height:0;white-space:normal;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-question-meta>.daily-question-context {flex-basis:100%;font-weight:600;color:#5c4d6e}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog :is(.daily-question-context,.mission-skip-lektura) .e8k-icon {color:inherit}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question>progress {display:block;appearance:none;width:100%;height:5px;margin:0 0 24px;border:0;border-radius:5px;background:#b9b9a9;accent-color:#59694f;overflow:hidden}
.premium-mission-question>progress::-webkit-progress-bar {background:#b9b9a9}
.premium-mission-question>progress::-webkit-progress-value {background:#59694f;border-radius:5px}
.premium-mission-question>progress::-moz-progress-bar {background:#59694f;border-radius:5px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question :is(.daily-question-prompt,.math-question) {font-family:inherit;color:#28343e;font-size:clamp(20px,2.1vw,25px);line-height:1.45;letter-spacing:-.018em;margin:18px 0 22px;text-shadow:none;overflow-wrap:anywhere}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question .math-question {font-size:18px;font-weight:450;line-height:1.65;--math-command-color:#455846}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question .math-question p {font:inherit;color:inherit;line-height:inherit}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question .math-command {font-weight:700;color:#455846}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-question-instruction {font-size:16px;line-height:1.55;color:#4e5962;margin:12px 0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question .e8k-cke-badge {font-family:inherit;font-size:13px;line-height:1.5;background:#c5cba7;border:1px solid #7b8563;color:#354333;box-shadow:none;letter-spacing:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid {gap:11px;margin:18px 0 20px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button {font-family:inherit;min-height:58px;padding:14px 16px;border:1px solid #697671;border-radius:9px;background:#e3ddcf;color:#28343e;box-shadow:none;clip-path:none;font-size:16px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button:hover:not(:disabled) {background:#eee8dc;border-color:#455846;color:#28343e;transform:none;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button>.answer-letter {display:grid;place-items:center;min-width:28px;height:28px;flex:0 0 28px;background:#d1d0bc;border:0;clip-path:none;border-radius:6px;color:#455846;font-family:inherit;font-size:14px;letter-spacing:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button>.answer-text {font-family:inherit;font-size:inherit;color:inherit;font-weight:500;line-height:inherit;letter-spacing:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button:is(.is-correct,.is-picked,[aria-pressed=true]) {border-color:#3c6950;background:#c6d3ba;color:#263e2e;box-shadow:inset 0 0 0 1px #3c6950}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button.is-wrong {border-color:#96613f;background:#e1c8ae;color:#5d3c28;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button:disabled {opacity:.75}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button.is-removed {opacity:.38}
.premium-mission-tools {display:flex;flex-direction:column;align-items:stretch;gap:12px;padding-top:4px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-tools .mission-companion-help {margin:0;padding:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-tools .mission-help-toggle {min-height:44px;padding:8px 12px;font-size:14px;line-height:1.4;border:1px solid #697671;gap:8px}
.premium-mission-tools .mission-help-toggle [data-help-portrait] {width:26px;height:26px;flex-basis:26px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-tools .mission-help-note {font-size:13px;line-height:1.5;margin:6px 0 0;display:block;color:#4e5962;opacity:1;max-width:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-help-panel {background:#e3ddcf;border:1px solid #8d948b;color:#28343e;padding:18px;border-radius:10px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-help-panel p {font-size:16px;line-height:1.65;color:#28343e;margin:12px 0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-help-panel :is(a,summary) {font-size:14px;color:#455846}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-help-panel :is(.mission-help-hint,.mission-help-example) {border-color:#778168}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-tools .mission-skip-lektura {flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 8px;text-align:left;width:auto;max-width:100%;margin:0;align-self:flex-start;min-height:44px;border:1px solid #697671;padding:8px 10px;border-radius:8px;text-decoration:none;color:#4e5962;font-size:14px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-skip-lektura small {font-size:13px;color:#4e5962;text-decoration:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-tools .skill-cards {width:100%;margin:4px 0 0;padding:14px 0 0;border:0;border-top:1px solid #ada99a;display:flex;flex-wrap:wrap;gap:8px;background:none;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards :is(button,button:hover) {font-family:inherit;color:#34453d;background:#e3ddcf;border:1px solid #697671;box-shadow:none;clip-path:none;letter-spacing:0;text-transform:none;min-height:44px;padding:9px 10px;font-size:14px;border-radius:8px;white-space:normal}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards .skill-card-slot {flex-basis:135px}
@media (min-width:380px) and (max-width:599px) {
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards .skill-card-slot {flex-basis:calc((100% - 16px) / 3)}
}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards .skill-card-slot>button {flex-direction:row;flex-wrap:wrap;justify-content:center;align-content:center;gap:4px 8px;min-height:48px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards.is-compact:not(.show-info) .skill-card-slot>button {flex:1 1 auto;min-width:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-card-label {display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:normal;text-align:center}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-card-label .e8k-icon {color:inherit}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards button small {color:#4e5962;font-size:12px;line-height:1.4;letter-spacing:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards .skill-cards-toggle {padding:8px 12px;flex:none;align-self:flex-start;background:transparent}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .skill-cards :is(.skill-card-info,.skill-cards-refill) {font-size:13px;line-height:1.5;color:#4e5962;opacity:1}
.premium-mission-aside {background:#cbc4b4;border:1px solid #aaa99a;border-radius:12px;overflow:hidden;padding:16px}
.premium-mission-aside:has(.mission-scene):before {content:"";display:block;aspect-ratio:1.5;margin:-16px -16px 16px;background:url('../images/magic/expedition-world.webp') center/cover;filter:saturate(.85)}
.premium-mission-aside[data-mission-subject=polski]:before {background-image:url('../images/magic/story-library.webp')}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-scene {margin:0;padding:0;background:none;color:#28343e;border:0;border-radius:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-scene summary {font-family:inherit;font-size:16px;line-height:1.4;min-height:44px;padding:8px 0;color:#28343e;cursor:pointer;font-weight:700}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-scene p {font-size:16px;line-height:1.6;color:#28343e;margin:6px 0 16px;padding:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-secret-tag {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;white-space:normal;min-height:44px;padding:10px 0;margin:8px 0 0;border:0;border-top:1px solid #969b8c;background:none;color:#34453d;font-family:inherit;font-size:14px;line-height:1.5;letter-spacing:0;text-transform:none;border-radius:0;text-shadow:none;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-secret-info {border:0;background:none;color:#28343e;font-size:14px;line-height:1.6;padding:0;margin:12px 0 0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-info-more {min-height:44px;margin:8px 0 0;padding:7px 10px;color:#34453d;font-size:13px;line-height:1.4;opacity:1;border-radius:7px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog :is(.daily-question-passage,.daily-passage-label,.daily-lesson-hint) {color:#28343e}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-question-passage {background:#e3ddcf;border-color:#aaa99a;font-size:16px;line-height:1.75}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-question-passage p {color:inherit}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-passage-toggle {color:#455846;border-color:#697671}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-gap-select {background:#e3ddcf;color:#28343e;border-color:#697671;font:inherit;min-height:44px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .question-report {color:#4e5962;border-color:#aaa99a;font-family:inherit;font-size:14px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .question-report :is(input,textarea,select) {color:#28343e;background:#e3ddcf;border:1px solid #697671;font-size:16px}
/* Interactive games retain an intentional dark play area and their own palette. */
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-task {--ink:#eee8dc;--text:#eee8dc;--muted:#c0c6c8;--mint:#c5cba7;--primary:#c5cba7;--accent:#d6bd82;--gold:#d6bd82;--panel:#193440;--bg:#102936;--mission-accent:#c5cba7;--mission-glow:#c5cba720;--line:#819087;--line-strong:#a4aea0;--m-card:linear-gradient(#193440,#193440);background:#102936;color:#eee8dc;padding:20px;border-radius:12px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-task :is(.task-choice-text,.task-sentence,.task-lock-clue,.task-bubble,.task-reveal-hint,.task-verdict-text,.task-sense p) {color:#eee8dc}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-task :is(.task-race,.task-runner,.task-text-input,.task-bubble.is-me) {background:#193440;color:#eee8dc}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-task :is(button,summary,input):focus-visible {outline-color:#efd7a0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-task .btn-primary {background:#d6c495;color:#122734;border-color:#d6c495}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-task .btn-primary:hover {background:#e4d3a9;color:#122734;border-color:#e4d3a9}
/* Explanations and results use real response data, with no flying duplicate XP. */
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback {background:#e3ddcf;color:#28343e;border:1px solid #969e8c;border-radius:12px;padding:24px;box-shadow:none;clip-path:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback :is(p,h3) {color:inherit;font-family:inherit;text-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback p {font-size:16px;line-height:1.7;margin:12px 0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback-status {font-family:inherit;font-size:24px;line-height:1.3;text-shadow:none;letter-spacing:-.02em}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback.is-correct .mission-feedback-status {color:#365c3b}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback.is-wrong .mission-feedback-status {color:#825234}
/* Legacy feedback used pale pink spans and mint success text for dark panels.
   Keep both the answer and its MathML fraction legible on the reading surface. */
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback .mission-feedback-given span {color:#825234;text-decoration-color:currentColor;text-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback .mission-feedback-expected b {color:#365c3b}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback :is(.math-inline,.math-expression) {color:inherit;text-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-feedback .mission-feedback-status.is-correct {color:#365c3b}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-step-result .mission-step-count {font-size:14px;color:#4e5962;margin-bottom:16px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-feedback {font-size:16px;line-height:1.6;color:#28343e}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-feedback:empty {display:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-mission-finish) {width:min(740px,calc(100% - 40px));background:#193440;color:#eee8dc;color-scheme:dark;--ink:#eee8dc;--text:#eee8dc;--muted:#c0c6c8;--muted-2:#c0c6c8;--mint:#c5cba7;--primary:#c5cba7;--accent:#d6bd82;--gold:#d6bd82;--panel:#102936;--bg:#102936;--line:#819087;--line-strong:#a4aea0;--m-card:linear-gradient(#102936,#102936)}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-mission-finish)>h2 {font-family:Cinzel,Georgia,serif;font-weight:500;text-align:center;color:#eee8dc;margin:10px 32px 20px;font-size:30px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-mission-finish) .adventure-dialog-close {background:#102936;border-color:#819087;color:#eee8dc}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish {text-align:center}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish p {font-size:16px;line-height:1.6;color:#c0c6c8;margin:14px 0}
.mission-result-mark {display:grid;place-items:center;width:58px;height:58px;margin:0 auto 15px;border:1px solid #91a276;background:#455846;color:#dce6b6;border-radius:50%;font-size:30px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-result-caption {font-size:14px;color:#c0c6c8;margin:0 0 24px}
.mission-result-stats {display:grid;grid-template-columns:1fr 1.35fr;gap:20px;align-items:center;border-block:1px solid #81908770;padding:20px 0;margin:0 0 24px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-result-stats p {margin:0;color:#eee8dc}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish strong {font-family:inherit;color:#c5cba7;font-size:32px;text-shadow:none;letter-spacing:-.02em;line-height:1.25}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-score {font-size:22px;font-weight:650;color:#eee8dc;line-height:1.45}
.mission-result-rewards {display:flex;flex-direction:column;gap:9px;border-left:1px solid #81908770;padding-left:20px}
.mission-result-rewards [data-mission-rewards-sum] {font-size:16px;color:#d6bd82}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(.mission-secret,.mission-secret.is-done) {background:#455846;border:1px solid #91a276;color:#eee8dc;border-radius:10px;text-align:left;padding:18px;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-secret p {color:#eee8dc;text-shadow:none;margin:4px 0;font-family:inherit;font-size:16px;line-height:1.6;letter-spacing:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-secret :is(.mission-secret-title,.e8k-neon-aura) {color:#dce6b6;font-weight:700;text-shadow:none;font-family:inherit;letter-spacing:0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(.return-story,.mission-mistakes-box) {text-align:left;margin:20px 0;border-color:#81908770}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(summary,small) {color:#c0c6c8;font-size:14px;line-height:1.5}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .btn {margin-top:12px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .btn-primary {background:#d6c495;color:#122734;border:1px solid #d6c495;min-width:180px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-mission-finish) .btn-primary:hover {background:#e4d3a9;color:#122734;border-color:#e4d3a9}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .btn-ghost {background:#102936;color:#eee8dc;border-color:#819087}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-mission-finish) .btn-ghost:hover {background:#254756;color:#eee8dc;border-color:#d6bd82}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(.mission-chest,.drop-card,.backpack-card,.mission-discovery) {background:#102936;color:#eee8dc;border-color:#81908770;box-shadow:none;clip-path:none;border-radius:10px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(.drop-desc,.drop-rarity,.backpack-card-desc,.mission-chest-hint,.mission-discovery-name) {color:#c0c6c8;text-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(.mission-chest-title,.drop-detect,.drop-lucky,.drop-amount,.drop-name,.backpack-card-rarity) {color:#d6bd82;text-shadow:none;letter-spacing:0;font-family:inherit}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-chest-box {background:#193440;color:#eee8dc;border:1px solid #819087;clip-path:none;border-radius:10px;box-shadow:none}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish :is(button,a,summary):focus-visible {outline-color:#efd7a0}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-coach {font-size:16px;color:#28343e}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-coach :is(p,legend,label,summary) {color:#28343e;line-height:1.6}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-coach :is(.mission-mode,.mission-coach-topic,.mission-scope label,.mission-length label) {color:#28343e;background:#e3ddcf;border-color:#697671;clip-path:none;border-radius:9px}
:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-coach input {background:#e3ddcf;color:#28343e;border-color:#697671;accent-color:#455846;font-size:16px}
@media(max-width:780px) {
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-question-meta,.daily-mission-finish,.mission-feedback,.mission-coach) {width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:24px 20px;--adv-dlg-pt:24px;--adv-dlg-pr:20px;border-radius:14px}
  .premium-mission-layout {grid-template-columns:minmax(0,1fr);gap:20px}
  .premium-mission-aside {padding:12px 16px}
  .premium-mission-aside:has(.mission-scene):before {display:none}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-aside .mission-scene summary {font-size:15px}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .premium-mission-question :is(.daily-question-prompt,.daily-question-prompt.is-long) {font-size:21px;line-height:1.5}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid.answer-look-grid {grid-template-columns:minmax(0,1fr)}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid.answer-look-grid.answer-n-3 button:last-child {grid-column:auto}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-answer-grid button {padding:13px 12px;font-size:16px;line-height:1.5}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-help-panel {padding:14px}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback {padding:18px}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog:has(.daily-mission-finish)>h2 {font-size:26px}
  .mission-result-stats {gap:14px;padding:18px 0}
  .mission-result-rewards {padding-left:14px}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish strong {font-size:27px}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .daily-mission-finish .mission-score {font-size:19px}
}
@media(prefers-reduced-motion:no-preference) {
  .premium-mission-layout {animation:premium-mission-enter .22s ease-out both}
  :is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog .mission-feedback {animation:premium-mission-enter .2s ease-out both}
}
@keyframes premium-mission-enter {from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce) {
  .premium-mission-layout,:is(.shell-student,.shell-guest,.expedition-game) .adventure-dialog :is(.mission-feedback,.daily-answer-grid button) {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
