.mission-game { background: var(--paper); color: var(--ink); }
.mission-game button,.mission-game input,.mission-game textarea,.mission-game select { font: inherit; }
.mission-game button,.mission-game a { -webkit-tap-highlight-color: transparent; }
.mission-game button { cursor: pointer; }
.mission-game button:disabled { cursor: default; opacity: .55; }
.mission-game :focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.mission-game [hidden] { display: none !important; }
.mission-game .skip-link:not(:focus-visible) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.game-header { max-width: 1440px; margin: auto; padding: 16px 5%; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.brand img { display: block; width: 126px; height: 70px; object-fit: contain; }
.game-header nav { display: flex; gap: 8px; flex-wrap: wrap; }
.game-header nav button,.text-button { border: 0; background: none; color: var(--forest); min-height: 44px; padding: 8px 14px; font-weight: 600; }
.game-header nav button[aria-current="page"] { border-radius: 8px; background: var(--forest-wash); }
.text-button { font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; }
.game-layout { display: grid; grid-template-columns: 340px minmax(0,1fr); max-width: 1280px; margin: 0 auto; min-height: 740px; }
.journey-atlas { padding: 50px 36px 35px; background: var(--forest-deep); color: var(--paper); position: relative; overflow: hidden; }
.journey-atlas .eyebrow { color: var(--gold-light); font-size: .72rem; letter-spacing: .16em; }
.journey-atlas h1 { font: 3.6rem/1.05 Georgia,serif; letter-spacing: -.045em; color: var(--paper); margin: 22px 0; }
.journey-atlas h1 em { font-weight: 400; color: var(--gold-light); }
.atlas-intro { color: var(--forest-soft); font-size: .95rem; line-height: 1.7; }
.route-art { height: 125px; margin: 6px -5px 20px; }
.route-art svg { width: 100%; height: 100%; overflow: visible; }
.route-art path { fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-dasharray: 5 6; }
.route-art circle { fill: var(--gold-light); stroke: var(--forest-deep); stroke-width: 4; }
.route-art .sun-rays { stroke: var(--gold-light); stroke-dasharray: none; }
.passport-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--forest-soft); }
.passport { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.passport li { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--forest-soft); }
.stamp { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--sage); border-radius: 50%; flex: 0 0 auto; font-size: .8rem; }
.passport .earned { color: var(--gold-light); }
.earned .stamp { border: 1px dashed var(--gold-light); color: var(--gold-light); transform: rotate(-10deg); }
.passport .current { color: var(--paper); font-weight: 700; }
.current .stamp { background: var(--gold-light); color: var(--forest-deep); border-color: var(--gold-light); }
.save-note { border-top: 1px solid var(--sage); margin-top: 30px; padding-top: 16px; display: flex; align-items: baseline; gap: 8px; color: var(--forest-soft); }
.save-note p { margin: 0; font-size: .8rem; }
.experience { padding: 55px 55px 40px; min-width: 0; }
.experience:focus { outline: none; }
.chapter-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.kicker { font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; color: var(--forest); font-weight: 750; margin: 0; }
.duration { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.experience h2 { font: 2.9rem/1.14 Georgia,serif; color: var(--forest-dark); letter-spacing: -.035em; margin: 14px 0 22px; max-width: 670px; }
.experience h3 { font: 1.45rem/1.3 Georgia,serif; color: var(--forest-dark); margin: 24px 0 12px; }
.experience .lead { font-size: 1.14rem; line-height: 1.7; }
.experience p { max-width: 65ch; }
.experience .soft { color: var(--muted); font-size: .9rem; }
.pull-quote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: 1.45rem/1.5 Georgia,serif; color: var(--forest); }
.field-notes { background: var(--forest-wash); border: 1px solid var(--forest-soft); border-radius: 10px; padding: 22px 25px; margin: 24px 0; }
.field-notes p:first-child { margin-top: 0; }
.field-notes p:last-child { margin-bottom: 0; }
.choices { display: grid; gap: 10px; margin: 24px 0; }
.choice { display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; color: var(--ink); text-align: left; min-height: 58px; line-height: 1.5; width: 100%; }
.choice:hover { background: var(--forest-wash); border-color: var(--sage); }
.choice[aria-pressed="true"] { background: var(--forest-wash); border: 2px solid var(--forest); padding: 15px 17px; }
.choice-mark { width: 23px; height: 23px; border: 1px solid var(--sage); border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; font-size: .8rem; }
.choice[aria-pressed="true"] .choice-mark { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.choice small { display: block; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.feedback { background: var(--gold-wash); border-left: 3px solid var(--gold); padding: 18px 22px; margin: 20px 0; }
.feedback strong { color: var(--gold-ink); }
.feedback p { margin: 8px 0 0; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 26px 0 15px; }
.mission-game .primary,.mission-game .quiet,.mission-game .danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; min-height: 48px; padding: 11px 21px; font-weight: 650; font-size: .95rem; line-height: 1.45; text-decoration: none; }
.mission-game .primary { background: var(--forest); color: var(--paper); border: 1px solid var(--forest); }
.mission-game .primary:hover { background: var(--forest-dark); }
.mission-game .quiet { background: transparent; border: 1px solid var(--line); color: var(--forest); }
.mission-game .quiet:hover { background: var(--forest-wash); }
.mission-game .danger { background: var(--error); color: var(--paper); border: 1px solid var(--error); }
.progress-row { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--muted); font-size: .85rem; }
.progress-row progress { flex: 1; accent-color: var(--forest); height: 7px; }
.day-nav { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; margin: 25px 0; }
.day-nav button { border: 1px solid var(--line); background: var(--paper); color: var(--forest); border-radius: 8px; min-height: 60px; padding: 6px 2px; }
.day-nav span { display: block; font-size: .7rem; }
.day-nav button[aria-current="step"] { border: 2px solid var(--forest); background: var(--forest-wash); font-weight: 750; }
.day-nav button.complete { background: var(--success-wash); }
.reading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 15px 0; border-block: 1px solid var(--line); margin: 22px 0; }
.reading a { color: var(--forest); font-weight: 650; }
.mission-game label { display: block; margin: 18px 0; font-weight: 600; }
.mission-game input:not([type="checkbox"]),.mission-game textarea,.mission-game select { display: block; width: 100%; padding: 12px 14px; margin-top: 7px; border: 1px solid var(--sage); border-radius: 7px; background: var(--paper); color: var(--ink); min-height: 48px; }
.mission-game textarea { resize: vertical; min-height: 100px; }
.mission-game .check-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check-label input { width: 20px; height: 20px; accent-color: var(--forest); flex: 0 0 auto; margin-top: 4px; }
.mission-game fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-table { margin: 12px 0; }
.review-table dt { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.review-table dd { margin-left: 0; overflow-wrap: anywhere; }
.game-footer { padding: 23px 5%; max-width: 1440px; margin: auto; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.mission-game dialog { border: 1px solid var(--line); border-radius: 16px; max-width: 650px; width: calc(100% - 32px); padding: 0; background: var(--paper); color: var(--ink); max-height: 90dvh; }
.mission-game dialog::backdrop { background: rgba(var(--forest-deep-rgb),.65); }
.dialog-inner { padding: 30px; }
.dialog-inner h2 { font: 2rem/1.2 Georgia,serif; color: var(--forest-dark); margin-top: 0; }
.no-script { padding: 30px; }
@media(min-width: 1450px) { .game-layout { margin-block: 32px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; } }
@media(max-width: 1000px) { .game-layout { grid-template-columns: 285px minmax(0,1fr); } .journey-atlas { padding: 40px 25px; } .journey-atlas h1 { font-size: 3rem; } .experience { padding: 40px 30px; } .experience h2 { font-size: 2.4rem; } }
@media(max-width: 740px) { .game-header { padding: 10px 5%; gap: 6px; flex-wrap: wrap; } .brand img { width: 95px; height: 52px; } .game-header nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: 8px; } .game-header nav button { font-size: .9rem; } .game-header>.text-button { margin-left: auto; } .game-layout { display: block; } .journey-atlas { padding: 24px 6%; } .journey-atlas h1 { font-size: 2.3rem; margin: 0; } .journey-atlas h1 br { display: none; } .journey-atlas .eyebrow { margin: 0 0 10px; } .atlas-intro,.route-art,.passport-label { display: none; } .passport { display: flex; justify-content: space-between; gap: 5px; margin-top: 23px; } .passport li { display: block; text-align: center; flex: 1; } .passport li>span:last-child { display: none; } .stamp { margin: auto; width: 32px; height: 32px; } .save-note { padding: 10px 0 0; margin-top: 18px; border-top-color: var(--sage); } .experience { padding: 30px 6% 35px; } .experience h2 { font-size: 2.25rem; } .chapter-top { margin-bottom: 20px; gap: 8px; } .kicker { font-size: .7rem; } .duration { font-size: .75rem; } .game-footer { display: block; } .game-footer span { display: block; margin-block: 6px; } .form-pair { grid-template-columns: 1fr; gap: 0; } .actions>* { flex-grow: 1; } .day-nav { gap: 5px; } .day-nav button { min-height: 56px; } .day-nav span { font-size: .65rem; } }
@media(max-width: 740px) { .journey-atlas h1 em { margin-left: .2em; } }
@media(prefers-reduced-motion: reduce) { html:has(.mission-game) { scroll-behavior: auto; } }
