:root{--lw-cream:#FAF8F5;--lw-paper:#fff;--lw-navy:#1E3A5F;--lw-sage:#58A65C;--lw-forest:#17533f;--lw-soft:#EBF5EC;--lw-line:#D8E6DC;--lw-copy:#2D3748;--lw-muted:#64748B}
.lw-root{font-family:"DM Sans",Inter,system-ui,sans-serif;color:var(--lw-copy);margin:16px 0 40px}
.lw-root *{box-sizing:border-box}.lw-root h2,.lw-root h3,.lw-root strong{font-family:"Plus Jakarta Sans",system-ui,sans-serif}.lw-root h2,.lw-root h3,.lw-root p{margin:0}
.lw-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#45815A;margin-bottom:9px}
.lw-game-heading{background:#fff;border:1px solid var(--lw-line);border-radius:22px;padding:22px 25px;margin-bottom:18px;box-shadow:0 8px 28px #173d2b0a}
.lw-game-heading h2{font-size:clamp(22px,3vw,30px);font-weight:800;color:var(--lw-navy);margin-bottom:7px}
.lw-game-heading p{font-size:14px;color:var(--lw-muted);margin-bottom:13px}.lw-progress-track{width:100%;height:10px;max-width:560px;background:#E5EBE6;border-radius:100px;overflow:hidden}.lw-progress-fill{height:100%;background:linear-gradient(90deg,#58A65C,#247b58);border-radius:100px;transition:width .2s}
.lw-main-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);gap:18px;align-items:start}.lw-story-column,.lw-collection-column{min-width:0;display:grid;gap:18px}
.lw-mission-card,.lw-notebook-card,.lw-room-card{border-radius:22px;background:var(--lw-paper);border:1px solid var(--lw-line);box-shadow:0 6px 25px #1237250a;min-width:0}
.lw-mission-card{padding:26px}.lw-mission-selector{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.lw-mission-selector label{font-size:13px;font-weight:800;color:var(--lw-navy)}.lw-mission-selector select{border:1px solid #BACFBF;border-radius:12px;padding:11px 12px;color:var(--lw-navy);font:600 13px "DM Sans",sans-serif;max-width:68%;background:white}
.lw-context{background:#F2F7F2;border:1px solid #DFE9DF;border-radius:14px;padding:15px 17px;margin:10px 0 20px}.lw-context p{font-size:14px;line-height:1.65;color:#425951}
.lw-question{font-size:clamp(18px,2.2vw,22px);font-weight:800;line-height:1.45;color:var(--lw-navy);margin-bottom:10px!important}.lw-helper{font-size:13px;color:var(--lw-muted);margin-bottom:13px!important}
.lw-choices{display:grid;gap:9px}.lw-btn{font:700 14px "DM Sans",sans-serif;padding:13px 15px;border-radius:13px;border:1px solid #BFD4C5;background:#fff;color:#244F40;cursor:pointer;text-align:left;transition:background .15s,border-color .15s,transform .15s;min-height:45px}
.lw-btn:hover{background:#EFF7EF;border-color:#65A677;transform:translateY(-1px)}.lw-btn:focus-visible{outline:3px solid #E6AE55;outline-offset:2px}.lw-btn:disabled{cursor:default;opacity:.7;transform:none}.lw-answer:before{content:"◯";display:inline-block;margin-right:12px;color:#85A48F}.lw-answer:hover:before{content:"◉"}.lw-is-correct{background:#e0f2e5;border-color:#58A65C}.lw-is-correct:before{content:"✓";color:#247b58}
.lw-message{border-radius:12px;padding:12px 14px;margin-top:13px;font-size:13px;font-weight:700;line-height:1.6}.lw-good{background:#e7f5e9;color:#225f36}.lw-retry{background:#fff4e5;color:#79521a}.lw-actions{display:flex;gap:9px;margin-top:14px}.lw-btn-primary{background:var(--lw-forest);color:#fff;border-color:var(--lw-forest)}.lw-btn-primary:hover{background:#256f4b;color:#fff}
.lw-culture-card{background:#FFF8ED;border:1px solid #EDE2CC;border-radius:14px;padding:15px 18px;margin-top:19px}.lw-culture-card p{font-size:14px;line-height:1.7;color:#634F33}
.lw-room-card{overflow:hidden}.lw-room-title{padding:22px 23px 10px}.lw-room-title h2{font-size:24px;color:var(--lw-navy);font-weight:800}
.lw-room-scene{padding:0 15px 20px}.lw-room-wall{position:relative;display:flex;align-items:end;gap:14px;min-height:200px;padding:13px 15px 0;border-radius:20px 20px 5px 5px;background:radial-gradient(circle at 17% 22%,#FAF6E6 0,#F3F7EC 42%,#E7F0E8 100%);border:1px solid #DCE8D7;border-bottom:7px solid #B9A687}
.lw-lana-avatar{height:188px;width:150px;max-width:38%;object-fit:contain;object-position:bottom;align-self:end}.lw-room-bubble{background:#fff;align-self:center;border-radius:16px 16px 16px 4px;padding:14px 15px;box-shadow:0 7px 22px #1a40331c;border:1px solid #e3e9df;max-width:260px;font-size:13px;line-height:1.6;color:#465d51}
.lw-shelf{margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px;border-radius:15px;background:linear-gradient(#F5ECDA,#F4E8D0);border:1px solid #E1D3B8;box-shadow:inset 0 -5px #C9AE83}.lw-souvenir{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;justify-content:space-between;background:#fffdf8;border-radius:12px;padding:12px 6px 11px;box-shadow:0 3px 10px #6d4c2714;border:1px solid #e6dcc7}.lw-souvenir-picture{display:grid;place-items:center;width:66px;height:66px;background:#EFF5E7;border-radius:50%;font-size:30px}.lw-souvenir-picture img{max-width:62px;max-height:62px;object-fit:contain}.lw-souvenir strong{font-size:11px;line-height:1.5;color:var(--lw-navy);overflow-wrap:anywhere}.lw-souvenir small{font-size:10px;line-height:1.4;color:#66766b;overflow-wrap:anywhere}.lw-souvenir-locked{opacity:.55;filter:grayscale(.8)}.lw-souvenir-earned{border-color:#8EBF8D}.lw-saving-note{font-size:12px;line-height:1.65;color:#627568;padding:2px 10px}
.lw-notebook-card{padding:22px 24px}.lw-notebook-card h3{font-size:19px;color:var(--lw-navy);margin-bottom:13px}.lw-expression-list{display:grid;gap:9px}.lw-expression{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #E1EBE1;border-radius:12px}.lw-expression strong{display:block;font-size:13px}.lw-expression small{font-size:11px;line-height:1.6;color:var(--lw-muted)}.lw-small-btn{font-size:11px;padding:8px 10px;white-space:nowrap;min-height:36px}.lw-all-done{margin:16px 0;background:#EBF5EC;border-radius:14px;padding:14px;font-weight:800;color:#225e38}
@media(max-width:900px){.lw-main-layout{grid-template-columns:1fr}.lw-room-wall{min-height:160px}.lw-lana-avatar{height:170px}.lw-shelf{grid-template-columns:repeat(3,1fr)}}@media(max-width:540px){.lw-mission-card{padding:18px}.lw-game-heading{padding:20px}.lw-mission-selector{align-items:start;flex-direction:column}.lw-mission-selector select{width:100%;max-width:none}.lw-room-bubble{font-size:12px}.lw-room-wall{gap:6px;padding:8px}.lw-lana-avatar{width:112px;height:156px}.lw-shelf{gap:6px;padding:9px}.lw-souvenir{padding:9px 4px}.lw-souvenir-picture{width:55px;height:55px;font-size:23px}.lw-souvenir strong{font-size:10px}.lw-souvenir small{font-size:9px}}


/* Lana's actual city rooms — illustrations remain separate, so each city has its own background. */
.lw-room-wall{position:relative;display:block;overflow:hidden;aspect-ratio:1.72;min-height:0;padding:0;border-radius:17px;border:1px solid #dce8d7;border-bottom:5px solid #ba9e7a;background:#eef1e9}
.lw-room-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.lw-room-wall .lw-lana-avatar{position:absolute;z-index:2;bottom:4%;left:36%;width:24%;height:49%;max-width:none;object-fit:contain;object-position:bottom;filter:drop-shadow(0 5px 5px #28382f55)}
.lw-room-display{position:absolute;inset:0;pointer-events:none;z-index:3}
.lw-room-pin{position:absolute;display:grid;place-items:center;transform:translate(-50%,-100%);width:28px;height:28px;border:1px solid #d7c79c;background:#fff9e5;border-radius:9px;font-size:20px;box-shadow:0 4px 6px #25453326}
.lw-room-pin-pending{width:13px;height:13px;font-size:0;opacity:.4;color:#ab9672;background:#e6dec8;border-radius:50%;box-shadow:none}
.lw-room-pin-earned{background:#fff9e5;font-size:18px}
/* Positioning is controlled per city in world-hub.js; keep only visual styling here. */
.lw-room-bubble{position:static;max-width:none;margin:10px 0 3px;padding:10px 13px;border-radius:12px;background:#f5f8ef;font-size:12px;line-height:1.6;color:#536a58;border:1px solid #dde9db;box-shadow:none}
@media(max-width:540px){.lw-room-wall{aspect-ratio:1.72;min-height:0}.lw-room-wall .lw-lana-avatar{height:54%;bottom:2%}.lw-room-pin-earned{width:19px;height:19px;font-size:14px}.lw-room-pin-pending{width:9px;height:9px}}

/* Collectibles look like little objects sitting on shelves, not UI badges. */
.lw-room-pin-earned{width:auto;min-width:23px;height:29px;padding:0 1px;background:transparent;border:0;border-radius:0;box-shadow:none;font-size:25px;filter:drop-shadow(0 3px 2px #344d3455)}
.lw-room-pin-pending{display:none}
@media(max-width:540px){.lw-room-pin-earned{min-width:16px;width:auto;height:21px;font-size:18px}}

/* Use consistent rendered souvenir artwork, with its lower edge on the shelf. */
.lw-room-pin-earned{display:flex;align-items:flex-end;justify-content:center;width:clamp(19px,4.5%,32px);min-width:0;height:clamp(19px,4.5vw,32px);padding:0;margin:0;border:0;background:none;box-shadow:none;filter:drop-shadow(0 2px 1px #2d3b3050);transform:translate(-50%,-100%)}
.lw-room-collectible-img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.lw-room-collectible-emoji{display:block;font-size:clamp(16px,2.3vw,25px);line-height:1}
@media(max-width:540px){.lw-room-pin-earned{width:clamp(16px,5%,23px);height:clamp(16px,5vw,23px)}.lw-room-collectible-emoji{font-size:17px}}


/* Multi-step story missions: readable progress, objective and narrative feedback. */
.lw-step-indicator{display:flex;align-items:center;gap:12px;margin:10px 0;color:#176247;font-size:.82rem}
.lw-step-track{height:7px;flex:1;max-width:250px;background:#dcebe4;border-radius:999px;overflow:hidden}
.lw-step-fill{height:100%;background:#23775a;border-radius:999px;transition:width .2s}
.lw-learning-objective{padding:10px 12px;border-left:3px solid #247554;background:#eef8f2;border-radius:8px;font-size:.88rem;line-height:1.5}
.lw-step-reaction{font-size:.91rem;font-weight:600;color:#176247;margin:10px 0}

/* Contextual Lana illustrations in the game; preserve the original room backdrops. */
.lw-lana-scene{width:min(100%,240px);height:158px;object-fit:contain;display:block;margin:12px auto 0}
.lw-lana-feedback{width:112px;max-width:45%;height:95px;object-fit:contain;display:block;margin:8px auto}


/* Launch fixes: keep complete Lana illustrations visible on all mission cards. */
.lw-context{display:flex;flex-direction:column;align-items:stretch;min-width:0;overflow:visible!important}
.lw-context .lw-lana-scene{
 display:block!important;position:relative!important;
 width:min(100%,320px)!important;height:auto!important;
 max-width:100%!important;max-height:280px!important;
 aspect-ratio:1/1!important;object-fit:contain!important;object-position:center center!important;
 margin:14px auto 4px!important;transform:none!important;
 overflow:visible!important;clip-path:none!important;
}
.lw-lana-feedback{width:min(100%,180px)!important;height:auto!important;max-height:170px!important;
 aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;
 margin:12px auto!important;clip-path:none!important;transform:none!important}
@media(max-width:600px){
 .lw-context .lw-lana-scene{max-height:230px!important;width:min(100%,270px)!important}
 .lw-lana-feedback{max-height:145px!important}
}

/* Source sheets occasionally contain a small fragment of an adjacent sticker at the edge.
   Mask the transparent outer trim, not Lana's body; keep contain sizing. */
.lw-context .lw-lana-scene{clip-path:inset(6% 6% 5% 1%)!important}
