:root{--journey-blue:#103c50;--journey-gold:#f5bd50}
button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #1684c4!important;outline-offset:4px}
.journey-open{overflow:hidden}.journey-layer{position:fixed;inset:0;z-index:300;background:#0b2632;overflow:auto;color:#142d3b;font:16px/1.5 system-ui,sans-serif}.journey-shell{max-width:1180px;margin:auto;padding:32px 28px 24px}.journey-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;color:white}.journey-eyebrow{font-size:14px;font-weight:750;letter-spacing:.12em;color:#f5bd50}.journey-header h1{font:700 clamp(2rem,5vw,3.3rem)/1.15 Georgia,serif;margin:10px 0}.journey-header p{color:#c4d9e4;margin:0 0 24px}.journey-close{border:1px solid #71929e;background:transparent;color:white;border-radius:50%;width:44px;height:44px;cursor:pointer}.journey-resume{background:#17485a;border:1px solid #47788b;border-radius:16px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:white;margin-bottom:24px}.journey-resume span,.journey-footer span{display:block}.journey-resume span{color:#c4d9e4;font-size:14px;margin-top:3px}.journey-primary{border:0;background:#f5bd50;color:#172b35;border-radius:10px;padding:13px 20px;cursor:pointer;font:700 16px system-ui;white-space:nowrap}.journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.journey-card{border:1px solid #487081;border-radius:16px;background:#f8fafc;padding:0;overflow:hidden;text-align:left;cursor:pointer;color:#173343;transition:transform .18s,border-color .18s}.journey-card:hover{transform:translateY(-4px);border-color:#f5bd50}.journey-picture{height:148px;position:relative;background:#205065;overflow:hidden}.journey-picture img{width:100%;height:100%;object-fit:cover;object-position:center 43%}.journey-picture:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#061b30b0)}.journey-picture span,.journey-picture b{position:absolute;bottom:12px;z-index:1;color:white;font:700 14px system-ui}.journey-picture span{left:15px}.journey-picture b{right:12px;background:#103c50;padding:4px 8px;border-radius:6px}.journey-card-body{padding:17px}.journey-card h2{font:700 21px/1.2 Georgia,serif;margin:0 0 8px}.journey-card p{font:16px/1.45 system-ui;min-height:47px;margin:0 0 16px;color:#486171}.journey-card-meta{display:flex;justify-content:space-between;font:14px system-ui;margin-bottom:8px}.journey-meter{height:6px;background:#d8e4e9;border-radius:6px;overflow:hidden}.journey-meter span{display:block;height:100%;background:#147665}.journey-footer{display:flex;gap:18px;align-items:center;flex-wrap:wrap;color:white;margin-top:24px;padding-top:20px;border-top:1px solid #426270}.journey-footer span,.journey-footer small{font-size:14px;color:#c4d9e4}.journey-footer small{margin-left:auto}.journey-avatars{display:flex;gap:8px}.journey-avatars button{display:flex;gap:6px;align-items:center;border:1px solid #5f7b89;background:#123849;border-radius:10px;padding:5px 10px;cursor:pointer}.journey-avatars button[aria-pressed=true]{border:2px solid #f5bd50;background:#245369}.journey-avatars img{width:36px!important;height:42px!important;object-fit:contain}.journey-menu{border:1px solid #e4bd70;border-radius:12px;background:#133f50;color:#fff5dc;padding:10px 12px;font:700 14px system-ui;cursor:pointer}.classroom-gate{overflow:auto;align-items:start;padding-block:24px;font-family:system-ui,sans-serif}.classroom-card{margin:auto;background:#f7fafc;border:1px solid #507a8b;border-radius:20px;color:#163748;max-width:500px}.classroom-card h1{font-family:Georgia,serif}.classroom-form input{background:white;border:1px solid #8daab6;box-sizing:border-box}.classroom-form button,.classroom-button{font-family:system-ui,sans-serif;background:#164d62}.classroom-card a{color:#164d62}.classroom-privacy{font-size:14px;color:#4b6270}.student-chip{font:14px system-ui;max-width:calc(100vw - 24px);border-radius:10px;background:#103c50}.student-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.teacher-shortcut{font:14px system-ui}.teacher-body{background:#0b2632;font-family:system-ui,sans-serif}.teacher-header h1{font-family:Georgia,serif}.teacher-panel{background:#f0f5f8;border:1px solid #73929f;color:#173343}.student-card{background:white;border-color:#d4e0e6;border-left-color:#d4e0e6}.student-card.away{opacity:1}.student-card h3{font-size:18px}.teacher-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.teacher-summary div{padding:16px;border:1px solid #d0dfe7;border-radius:12px;background:white}.teacher-summary strong{display:block;font-size:30px;color:#164d62}.teacher-summary span{font-size:14px}.teacher-live{font-size:14px;color:#486171;min-height:22px;margin:12px 0}.class-code-panel{display:flex;align-items:center;gap:16px;background:#dcebf1;border:1px solid #a0bdca;border-radius:12px;padding:14px 18px;margin:16px 0;flex-wrap:wrap}.class-code-panel strong{font-size:24px;letter-spacing:.08em}.teacher-table-note{border-color:#236d85;background:#e2edf3;font-size:14px}.student-status{font-size:14px;font-weight:700;margin:6px 0}.student-meta{font-size:14px}.muted{font-size:14px;color:#486171}.game-tools{flex-wrap:wrap;max-width:calc(100vw - 20px)}
@media(max-width:850px){.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-footer small{margin-left:0}.teacher-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.journey-shell{padding:22px 16px}.journey-grid{grid-template-columns:1fr}.journey-resume{align-items:stretch;flex-direction:column}.journey-picture{height:140px}.journey-card p{min-height:0}.journey-avatars{flex-wrap:wrap}.journey-avatars button{padding:5px 7px}.journey-footer{gap:12px}.teacher-actions{display:flex}.teacher-actions label{width:100%}.teacher-actions select{width:100%}.classroom-card{padding:22px}.game-tools{bottom:75px!important}.journey-menu{font-size:14px}.teacher-shortcut{bottom:48px}.student-chip{left:8px;bottom:8px}.student-chip button{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}.student-chip{max-width:min(680px,calc(100vw - 24px))}.student-chip span{min-width:0}.student-connection{font-size:12px}.map-head.intro-gone,.head.intro-gone{display:none!important}
@media(min-width:1101px){.student-chip{max-width:calc(100vw - 550px)}}
@media(max-width:1100px){.game-tools{bottom:82px!important}.student-chip{max-width:calc(100vw - 24px)}}
@media(max-width:720px){.game-hud{font-size:14px!important}.hud-chapters a{font-size:14px!important}.maze,.panel .map{margin-top:126px!important;height:calc(100svh - 156px)!important;width:min(calc(100vw - 12px),calc((100svh - 156px)*.8))!important}.play,.view{padding-top:140px!important}}
