/* Good Night Kids 3.0 — additive components; does not change original content */
.extra-launcher{margin:18px 0 24px;padding:25px 27px;border:1px solid #e6e9e9;border-radius:29px;background:linear-gradient(120deg,#fff9e9,#f4f9ff 44%,#f0faf2);box-shadow:0 20px 44px #587aa018}
.extras-heading h2{margin:0;font-size:clamp(23px,3vw,32px);color:#2e4b72;line-height:1.3}.extras-heading p{margin:7px 0 18px;color:#687c94;line-height:1.6}
.extras-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.extra-tile{border:1px solid #e4e9ea;border-radius:20px;min-height:118px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:rgba(255,255,255,.79);color:#385b72;box-shadow:0 9px 18px #7684a112;transition:transform .2s,box-shadow .2s}
.extra-tile:hover,.extra-tile:focus-visible{transform:translateY(-2px);box-shadow:0 12px 22px #7684a120}
.extra-tile:nth-child(5n+1){background:linear-gradient(145deg,#f4faff,#fffdf8)}.extra-tile:nth-child(5n+2){background:linear-gradient(145deg,#e9f7ee,#fffdf9)}.extra-tile:nth-child(5n+3){background:linear-gradient(145deg,#fff5d9,#fffcf9)}.extra-tile:nth-child(5n+4){background:linear-gradient(145deg,#f5eeff,#fffdf9)}.extra-tile:nth-child(5n+5){background:linear-gradient(145deg,#ffecef,#fffdf9)}
.extra-icon{font-size:32px;color:#91acc3;line-height:1}.extra-tile strong{font-size:14px;line-height:1.5}
.extra-active .hero,.extra-active .main-tabs,.extra-active #extra-launcher,.extra-active .soft-footnote{display:none!important}
.extra-section{margin-top:14px}.extra-return{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.pet-avatar{display:grid;place-items:center;font-size:30px;width:52px;height:52px;border-radius:50%;background:#f5f5ff;border:1px solid #e7e7ef;box-shadow:0 8px 18px #8499b520}
.extra-panel{background:linear-gradient(135deg,#fffefa,#fff 60%,#f6faff);border:1px solid #e7e9ef;border-radius:28px;padding:25px 28px;box-shadow:0 20px 55px #647ca119}
.extra-panel-title{display:flex;gap:15px;align-items:center;margin-bottom:18px}.extra-panel-title h2{font-size:clamp(22px,3vw,31px);margin:0;color:#294b6f;line-height:1.35}
.extra-description{font-size:14px;color:#617990;line-height:1.85;margin:7px 0 24px}
.world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.world-card{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;min-height:195px;border:1px solid #e4e5eb;border-radius:23px;padding:14px;background:linear-gradient(120deg,#f8faf7,#fff);box-shadow:0 10px 23px #6c88ae15}
.world-card:last-child{grid-column:1/-1}.world-card.mist{background:linear-gradient(120deg,#f1f4f8,#fff)}.world-card.coral{background:linear-gradient(120deg,#fff0ee,#fff)}.world-card.sky{background:linear-gradient(120deg,#e8f5ff,#fff)}.world-card.sun{background:linear-gradient(120deg,#fff9dc,#fff)}.world-card.leaf{background:linear-gradient(120deg,#e9f8ed,#fff)}
.world-image{height:154px;display:grid;place-items:center;overflow:hidden;border-radius:18px;background:#ffffff9c}.world-image img{width:100%;height:100%;object-fit:contain}
.world-number{font-size:11px;color:#8199aa;font-weight:850;letter-spacing:.1em}.world-card h3{margin:5px 0 6px;color:#304f73;font-size:18px}.world-card p{margin:0 0 8px;font-size:13px;color:#5e7692;line-height:1.7}.world-card .original-tip{font-weight:550;color:#466c79}
.short-progress{display:flex;justify-content:space-between;gap:14px;font-size:13px;color:#486481;font-weight:800}.short-meter{height:9px;background:#e8f0f3;border-radius:20px;overflow:hidden;margin:13px 0 20px}.short-meter i{height:100%;display:block;border-radius:20px;background:linear-gradient(90deg,#8fc6bf,#c7dcef,#e8d291)}
.short-question{text-align:center;padding:16px 20px 20px;border-radius:26px;background:linear-gradient(150deg,#f5f8ff,#fffefa,#f3faf5);border:1px solid #e8eaf0}
.short-question>img{width:140px;height:120px;object-fit:contain}.short-question h3{font-size:clamp(20px,3.1vw,29px);max-width:38ch;line-height:1.55;color:#2c4b70;margin:12px auto}.short-question>p{color:#74859a}
.short-stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-width:520px;margin:22px auto 12px;direction:ltr}
.short-rating{border:1px solid #e3e8ee;border-radius:16px;min-width:0;aspect-ratio:1;background:#ffffffd9;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;color:#345477;box-shadow:0 9px 20px #7891aa20}.short-rating span{font-size:36px;color:#efce7d;line-height:1}.short-rating b{position:absolute;font-size:15px;top:50%;left:50%;transform:translate(-50%,-45%)}.short-rating.chosen{background:#e4f6ec;border:2px solid #71ae9e;transform:translateY(-3px)}
.short-scale,.short-controls{display:flex;justify-content:space-between;gap:10px}.short-scale{max-width:520px;margin:0 auto;color:#8693a6;font-size:12px}.short-controls{margin:22px auto 0;max-width:650px}
.colour-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}.colour-orbit{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;color:#405e77}.colour-orbit strong{font-size:14px}.colour-orbit>small{font-size:11px;color:#8597a9}.colour-disc{width:100%;aspect-ratio:1;max-width:130px;border-radius:50%;background:conic-gradient(var(--paint) 0 var(--fill),#f2f5f6 var(--fill) 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;border:4px solid #ffffff;box-shadow:0 10px 22px #7a96aa1c}.colour-disc b{font-size:30px;line-height:1.1;color:#344f6b}.colour-disc small{color:#748a9f}
.map-chapter{background:#fff;border:1px solid #e6ebeb;border-radius:23px;padding:20px;margin:17px 0}.map-chapter h3{margin:0;color:#3b5d7a}.map-chapter p{font-size:12px;color:#7e90a0;line-height:1.6}
.story-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.story-page{position:relative;min-height:205px;display:flex;align-items:center;gap:15px;padding:20px;flex-wrap:wrap;background:linear-gradient(140deg,#fff7e7,#f8fbff);border:1px solid #e5e7ea;border-radius:25px;box-shadow:0 11px 25px #6d90a619}.story-page:nth-child(3n){background:linear-gradient(140deg,#ecf7f1,#fff9ee)}.story-illustration{width:62px;height:62px;border-radius:50%;background:#fff8e0;display:grid;place-items:center;font-size:35px;color:#deb86d}.story-page h3{font-size:23px;color:#345675;margin:8px 0}.story-page small,.story-page p{color:#778ca1}.story-page button{width:100%}
.companion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.companion-choice{min-height:160px;border:2px solid #e6e8eb;background:linear-gradient(145deg,#fff8e8,#f4f8ff);border-radius:23px;display:grid;justify-items:center;align-content:center;gap:14px;color:#456278;box-shadow:0 12px 24px #7e9ab219}.companion-choice span{font-size:57px}.companion-choice.chosen{background:linear-gradient(145deg,#e8f8ef,#eff7fd);border-color:#7eb9a6}
.garden-scene{border-radius:28px;min-height:260px;position:relative;overflow:hidden;background:radial-gradient(circle at 80% 12%,#fff4c3,#f0f7fe 41%,#e9f7e9 85%);border:1px solid #e2ecdf}.garden-scene:after{content:'';position:absolute;inset:auto 0 0;height:48%;background:linear-gradient(#e5f1d8,#b8ddb1);border-radius:55% 55% 0 0}.garden-moon{position:absolute;top:12px;right:18%;font-size:70px;color:#e9c46c}.garden-plants{position:absolute;inset:auto 18px 27px;display:flex;align-items:flex-end;justify-content:space-around;flex-wrap:wrap;gap:10px;z-index:2}.garden-flower{font-size:clamp(25px,4vw,46px);color:#e5a7b4;filter:drop-shadow(0 3px 1px #748c7141);transform:rotate(var(--angle));animation:garden-pop .5s both;animation-delay:var(--grow)}.garden-flower:nth-child(3n){color:#f6d28a}.garden-flower:nth-child(4n){color:#a8cbe7}.garden-seed{font-size:56px}.garden-count{text-align:center;color:#61817f;font-size:14px}
@keyframes garden-pop{from{opacity:0;transform:scale(.1)}to{opacity:1;transform:rotate(var(--angle))}}
.evening-steps{display:grid;gap:13px;margin-bottom:20px}.evening-option{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e4ebeb;border-radius:20px;padding:16px;cursor:pointer}.evening-option input{width:23px;height:23px;accent-color:#64a69a}.option-dot{height:20px;width:20px;border-radius:50%;border:1px solid #c9d2d2;flex:none}.evening-option span:last-child{display:grid;gap:6px}.evening-option strong{color:#3d6181}.evening-option small{font-size:13px;color:#657c94;line-height:1.65}
.guardian-notes{background:#f9faf9;border:1px solid #e4ece7;border-radius:20px;padding:18px 22px;color:#506f80;line-height:1.9}.guardian-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
@media(max-width:760px){.extra-launcher{padding:20px 17px}.extras-menu{grid-template-columns:repeat(4,1fr);gap:8px}.extra-tile{min-height:102px;border-radius:16px;padding:8px 5px}.extra-tile strong{font-size:11px}.extra-icon{font-size:26px}.extra-panel{padding:20px 15px}.world-grid{grid-template-columns:1fr}.world-card:last-child{grid-column:auto}.world-card{grid-template-columns:110px 1fr;gap:12px;min-height:155px}.world-image{height:135px}.world-card h3{font-size:16px}.world-card p{font-size:12px}.colour-map{gap:5px}.colour-disc{border-width:2px}.colour-disc b{font-size:21px}.colour-orbit strong{font-size:11px}.colour-orbit>small{font-size:9px}.story-pages{grid-template-columns:1fr}.companion-grid{grid-template-columns:repeat(2,1fr)}.short-question{padding:12px 8px}.short-stars{gap:5px}.short-rating{border-radius:12px}.short-rating span{font-size:29px}}
@media(max-width:365px){.extras-menu{grid-template-columns:repeat(2,1fr)}.extra-tile{min-height:88px}.short-rating span{font-size:24px}}
@media(prefers-reduced-motion:reduce){.garden-flower{animation:none}.extra-tile{transition:none}}
/* Keep the eight-experience launcher on the welcome screen only. */
body.is-answering .extra-launcher,body[data-view="results"] .extra-launcher,body[data-view="journal"] .extra-launcher{display:none}

/* v3.1 — same deterministic RTL order for the ten-question short journey. */
.short-stars{direction:ltr!important;grid-auto-flow:row!important}
.short-rating{min-width:0}
