:root{font-family:'Trebuchet MS',Arial,sans-serif;color:#273855;background:#f6f3ed;font-size:18px;line-height:1.55;--blue:#345d8a;--line:#c6d5df;--yellow:#f5d287}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 5% 15%,#e2eaf0 0,transparent 45%),radial-gradient(ellipse at 95% 65%,#ece3ed 0,transparent 50%),#f6f3ed}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:1.5px solid var(--line);background:#fffcf7;border-radius:16px;padding:11px 18px;cursor:pointer;min-height:48px}button:hover{background:#edf3f6;border-color:#7d9ab5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #426da2;outline-offset:4px}button:disabled{opacity:.4;cursor:default}.primary{background:var(--yellow);border-color:#cda856;font-weight:bold}.primary:hover{background:#f8d99b}header{max-width:1500px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit;font-weight:bold}.brand>span:first-child{display:grid;place-items:center;font-size:28px;width:52px;height:52px;border-radius:18px;background:#dbe8f1;color:var(--blue)}.brand small{display:block;font-size:12px;font-weight:normal;letter-spacing:.09em;text-transform:uppercase;color:#63738b}.tools{display:flex;gap:10px}.tools button{font-size:14px}main{max-width:1500px;margin:auto;padding:0 32px 32px}.eyebrow{display:flex;justify-content:space-between;font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:#617287;margin:12px 0}.progress{height:4px;background:#dce3e7;border-radius:9px;overflow:hidden}.progress>div{height:100%;background:#7399b7}h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(27px,3vw,43px);line-height:1.2;margin:24px 0}h1:focus{outline:none}.layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);gap:28px;align-items:start}.art-panel{background:#fffdfa;border:1px solid #dedbd7;padding:8px;border-radius:24px;box-shadow:0 10px 35px #38465d0b;position:sticky;top:20px;overflow:hidden}#art{display:block;width:100%;height:auto;border-radius:17px}.reading-panel{background:#fffcf8d9;border:1px solid #e1dcd5;border-radius:24px;padding:25px}#narration p{margin:0 0 13px;font-size:clamp(18px,1.5vw,22px);line-height:1.55}#labels{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}#labels span{font-size:12px;background:#edf1f4;padding:5px 10px;border-radius:10px}.choice-section{margin-top:24px;border-top:1px solid #e3dfd8;padding-top:20px}h2{font-size:20px;line-height:1.35;margin:0 0 9px}#hint{font-size:13px;color:#68768a;margin:0 0 16px}#choices,#subchoices .subgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choice{display:flex;align-items:center;gap:9px;text-align:left;padding:10px;font-size:14px;position:relative}.choice svg{width:29px;height:29px;flex-shrink:0;color:#507599}.choice[aria-pressed=true]{border:2px solid #63816c;background:#edf3e7;padding:9.5px}.choice[aria-pressed=true]:after{content:'✓';margin-left:auto;color:#526b49;font-weight:bold}#feedback{font-size:15px;background:#f5eedf;border-radius:14px;padding:0;white-space:pre-line}#feedback:not(:empty){margin-top:15px;padding:13px}#subchoices{margin:16px 0;padding:13px;background:#edf2f6;border-radius:15px}#subchoices p{font-size:14px;margin:0 0 9px}.visual-choices:empty{display:none}.visual-choices{padding:13px 7px 6px;display:flex;flex-wrap:wrap;gap:7px}.visual-chip{display:flex;align-items:center;gap:7px;background:#eef3e8;border:1px solid #c7d5b8;border-radius:14px;padding:7px 11px;font-size:13px}.visual-chip svg{width:24px;height:24px}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0}#pace{font-size:14px;color:#65728a}#contents{background:#fffcf7;border:1px solid var(--line);border-radius:20px;padding:16px;margin:10px 0 24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#contents[hidden]{display:none}#contents button{font-size:13px;text-align:left;padding:9px}#contents button[aria-current=page]{background:#dce8f1;border-color:#7399b7}#speechStatus{font-size:13px}.grownups{font-size:13px;max-width:740px;color:#6b7483;margin-top:28px}.grownups summary{cursor:pointer}dialog{border:1px solid var(--line);border-radius:24px;padding:28px;max-width:510px;color:inherit;background:#fffcf7}dialog::backdrop{background:#26374966}dialog>div{display:flex;flex-wrap:wrap;gap:12px}@media(min-width:1700px){main,header{max-width:1660px}}@media(max-width:1000px){.layout{grid-template-columns:1fr}.art-panel{position:relative;top:0}.reading-panel{padding:22px}#contents{grid-template-columns:repeat(2,minmax(0,1fr))}#choices{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){header{padding:16px;align-items:flex-start}.brand{font-size:14px;gap:8px}.brand>span:first-child{width:36px;height:42px;font-size:20px}.brand small{font-size:9px}.tools{flex-direction:column;gap:6px}.tools button{padding:6px 10px;font-size:12px;min-height:36px}main{padding:0 14px 24px}h1{margin:20px 0}.layout{gap:16px}.reading-panel{padding:18px}#choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{font-size:13px}footer{flex-wrap:wrap}#pace{order:3;width:100%;text-align:center}#next{max-width:68%}#contents{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}}
.art-wrap{position:relative}#hotspots{position:absolute;inset:0;pointer-events:none}.art-hotspot{position:absolute;pointer-events:auto;background:transparent;border:2px solid transparent;min-height:0;padding:0;border-radius:12px}.art-hotspot:hover{background:#e9f2ff22;border-color:#547da3}.art-hotspot[data-picked=true]{border-color:#547448;background:#d9e8c733}
/* Independent language-neutral UI shapes; words are DOM children, never image pixels. */
.language{display:flex;align-items:center;gap:8px;font-size:13px}.language select{font:inherit;color:inherit;border:1px solid var(--line);border-radius:12px;padding:9px;background:#fffcf7;min-height:42px;max-width:150px}.tools{align-items:center;flex-wrap:wrap}.dialogue-box{position:relative;background:#fff6e3;border:1.5px solid #e0cda6;border-radius:22px;padding:20px 22px;margin-bottom:22px}.dialogue-box::before{content:'';position:absolute;inset-inline-start:-10px;top:26px;width:17px;height:17px;background:#fff6e3;border-inline-start:1.5px solid #e0cda6;border-bottom:1.5px solid #e0cda6;transform:rotate(45deg)}.dialogue-box #narration p:last-child{margin-bottom:0}.reading-panel{background:#fffcf8b8;padding:23px}#thoughts:empty{display:none}#thoughts{padding:4px 18px 18px}.thought-bubble{position:relative;background:#f1edf8;border:1.5px solid #c4b9d9;border-radius:40px 35px 38px 32px;padding:16px 24px;margin:22px 0 0 26px;max-width:85%;font-size:17px}.thought-bubble:before,.thought-bubble:after{content:'';position:absolute;border:1.5px solid #c4b9d9;background:#f1edf8;border-radius:50%;width:12px;height:12px;top:-17px;left:22px}.thought-bubble:after{width:7px;height:7px;top:-30px;left:13px}.thought-bubble p{margin:0}.visual-chip{min-height:40px}.art-panel{overflow:visible}.choice svg{min-width:29px}.art-hotspot,#hotspots{display:none}@media(max-width:580px){header{gap:10px}.tools{max-width:155px;align-items:stretch}.tools .language{flex-direction:column;align-items:stretch;gap:0;font-size:11px}.tools button{min-height:40px}.dialogue-box{padding:17px}.reading-panel{padding:17px}.thought-bubble{font-size:15px;max-width:93%;margin-left:10px}}
.scene-symbol{position:absolute;top:14px;right:14px;padding:10px 16px;background:#fff3d5;border:2px solid #d2b267;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#856228;box-shadow:0 2px 10px #fff8}.scene-symbol svg{width:42px;height:42px}
.seating{margin-top:20px;background:#edf2f6;border:1px solid #c6d5df;border-radius:18px;padding:15px}.seating[hidden]{display:none}.seating summary{font-weight:bold;cursor:pointer;font-size:16px}.seating p{font-size:15px;line-height:1.6}#seatingChoices{display:grid;gap:10px}#seatingChoices .choice{font-size:15px;line-height:1.5;min-height:62px}.seating .choice svg{width:34px;height:34px;flex:0 0 34px}
/* Floating choice cards are live elements attached to the picture's lower edge. */
body[data-story-layout] .layout{display:block;max-width:1040px;margin-inline:auto}body[data-story-layout] .art-panel{position:relative;top:auto}body[data-story-layout] .reading-panel{margin-top:24px}body[data-story-layout] h1,body[data-story-layout] footer,.app-preferences,#offlineStatus{max-width:1040px;margin-inline:auto}.floating-choices{position:relative;z-index:1;margin:-18px 14px 16px;padding:20px;background:#fffaf0;border:1px solid #c4d1dc;border-radius:22px;box-shadow:0 6px 18px #33445b15}.floating-choices #choices{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}.floating-choices .choice{font-size:16px;min-height:58px}.floating-choices h2{font-size:21px}.floating-choices #hint{font-size:14px}body[data-story-layout] .thought-bubble{margin-top:24px}.app-preferences{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:10px 0}.app-preferences select{font:inherit;color:inherit;background:#fffcf7;border:1px solid #c6d5df;border-radius:12px;padding:10px;max-width:100%}.app-preferences button,.app-preferences label{font-size:14px}#offlineStatus{font-size:14px;min-height:1em}.download-links{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0}.download-links a{color:#345d8a}.install-details h2{margin:16px 0 8px}.install-details p{line-height:1.7}header{padding-top:max(18px,env(safe-area-inset-top))}main{padding-bottom:max(28px,env(safe-area-inset-bottom))}[hidden]{display:none!important}@media(max-width:580px){.floating-choices{margin:-10px 4px 8px;padding:14px;border-radius:18px}.floating-choices #choices{grid-template-columns:repeat(2,minmax(0,1fr))}.floating-choices .choice{font-size:14px;min-height:62px;padding:10px}.floating-choices .choice svg{width:26px;height:26px;min-width:26px}.app-preferences{gap:8px}.app-preferences label{display:flex;flex-direction:column;gap:4px}.app-preferences button{padding:10px}body[data-story-layout] .reading-panel{margin-top:16px}}

html[lang^=bn] body{font-family:'Nirmala UI','Noto Sans Bengali',Arial,sans-serif;line-height:1.75}html[lang^=bn] h1{font-family:inherit;line-height:1.5}html[lang^=bn] .choice{line-height:1.7}html[lang^=bn] .brand small{letter-spacing:normal}

