.story-heading{margin-bottom:22px}.story-heading>div{max-width:760px}.story-heading .small-kicker{color:#ed6e55}.story-heading h2{margin:9px 0 10px}.story-heading p{display:block;text-align:left;transform:none;margin:0;font:15px/1.55 'DM Sans',sans-serif;color:#555569}
.story-picture{height:94px}.luna-story-illustration{display:block;width:92px;height:92px;flex:0 0 92px;background-image:url('/luna/assets/luna-story-atlas.webp');background-repeat:no-repeat;background-size:500% 400%;background-color:transparent;transition:transform .22s ease}.story-card:hover .luna-story-illustration{transform:rotate(-5deg) scale(1.09)}
.story-controls{display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:12px}.story-filters{display:flex;flex-wrap:wrap;gap:8px}.story-filters button{border:1px solid #ddcfdf;background:white;color:#2a2740;font-size:12px;font-weight:800;border-radius:25px;padding:10px 15px;transition:transform .2s ease,background .2s ease}.story-filters button:hover{transform:translateY(-2px)}.story-filters button.active{background:#342749;color:white;border-color:#342749}.story-search{display:flex;align-items:center;border:1px solid #decfdb;background:#fff;padding:7px 12px;border-radius:25px;gap:7px}.story-search span{font-size:23px}.story-search input{border:0;background:transparent;outline:0;max-width:180px;font:13px 'DM Sans',sans-serif}.story-count{font-size:13px;color:#76717a;margin:4px 0 15px}.story-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.story-card{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;border:0;min-height:245px;border-radius:18px;background:var(--story-bg);padding:20px 16px 0;overflow:hidden;color:var(--story-ink);box-shadow:0 3px 0 #2f2645;transition:transform .2s ease,box-shadow .2s ease}.story-card:hover,.story-card:focus-visible{transform:translateY(-6px) rotate(-1deg);box-shadow:5px 10px 0 #2f264533;z-index:1}.story-card:active{transform:translateY(-2px) scale(.985)}.story-number{font-size:10px;font-weight:800;letter-spacing:.09em}.story-picture{height:78px;display:flex;align-items:center;justify-content:center;font-size:57px;filter:drop-shadow(2px 5px 3px #0001);transition:transform .2s ease}.story-card:hover .story-picture{transform:rotate(8deg) scale(1.07)}.story-title{font:800 21px/1.08 Georgia,serif;letter-spacing:-.5px;min-height:70px;display:flex;align-items:center}.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:800;letter-spacing:.01em;padding:13px 0;margin-top:auto;border-top:1px solid #27233f33}.story-bottom i{font-style:normal;font-size:20px}.story-empty{padding:36px 15px;background:#fff;border-radius:18px;text-align:center}
.luna-lab-intro{grid-template-columns:1fr 1.1fr;gap:30px}.lab-steps-art{display:flex;align-items:center;gap:10px;justify-content:flex-end}.lab-steps-art>div{border:2px solid #35294a;border-radius:18px;background:#fff;height:158px;flex:1;min-width:0;max-width:158px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:8px;transform:rotate(-2deg);box-shadow:3px 5px 0 #35294a}.lab-steps-art>div:nth-child(2){background:#ffe588;transform:rotate(3deg)}.lab-steps-art>div:nth-child(3){background:#e6cbfb;transform:rotate(-2deg)}.lab-steps-art span{font-size:38px}.lab-steps-art strong{font-size:14px;font-weight:800}.lab-steps-art small{font-size:10px}.game-shell{margin:0 auto 45px;max-width:760px;padding:29px;background:white;border:2px solid #33284d;border-radius:22px;box-shadow:5px 7px 0 #33284d}.game-shell[hidden],.game-feedback[hidden],.game-next[hidden]{display:none}.game-top{display:flex;align-items:center;justify-content:space-between}.game-top p{font-size:13px;font-weight:700;margin:5px 0}.game-exit{border:0;background:#f3eaf8;padding:9px 13px;border-radius:20px;font-weight:800}.game-progress-bar{width:100%;height:9px;background:#e8e2eb;border-radius:20px;overflow:hidden;margin:15px 0 23px}.game-progress-bar span{height:100%;width:0;display:block;background:#64cdb6;transition:width .25s ease}.game-shell h3{font:800 clamp(23px,3vw,32px)/1.15 Georgia,serif;margin:0 0 22px}.game-options{display:grid;gap:10px}.game-options button{background:#fff9ed;border:2px solid #d9cddd;border-radius:14px;padding:13px 16px;text-align:left;font-size:14px;line-height:1.5;color:#252138;font-weight:700;transition:background .2s ease,transform .2s ease}.game-options button:not(:disabled):hover{background:#e7f8ef;transform:translateX(3px)}.game-options button.chosen{border-color:#6852ae}.game-options button.correct{background:#c9f1dc;border-color:#279b68}.game-options button.incorrect{background:#ffe0de;border-color:#e76a5f}.game-options button:disabled{cursor:default}.game-feedback{background:#e7f6ed;border-left:5px solid #5cbea0;padding:14px 17px;border-radius:8px;margin-top:18px;font-size:14px;line-height:1.55}.game-feedback.try-again{background:#fff1e6;border-color:#f7b453}.game-next{border:0;border-radius:30px;background:#ff6756;color:white;font-size:14px;font-weight:800;padding:14px 23px;margin-top:16px}
.wiki-deeper{background:#302342;color:white;border-radius:24px;min-height:255px;margin-top:70px;margin-bottom:65px;padding-top:40px;padding-bottom:40px;display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:20px}.wiki-deeper .small-kicker{color:#b6f1d4}.wiki-deeper h2{font:800 clamp(31px,4vw,49px)/1.09 Georgia,serif;letter-spacing:-1.3px;margin:12px 0}.wiki-deeper h2 span{color:#b6f1d4}.wiki-deeper p{max-width:625px;font-size:14px;line-height:1.65;color:#e7dcee}.wiki-deeper a{display:inline-block;margin-top:11px;background:#ffe37f;color:#302342;border-radius:30px;padding:13px 19px;font-weight:800;font-size:13px}.wiki-deeper-art{text-align:center;font-size:112px;position:relative}.wiki-deeper-art span{position:absolute;bottom:-13px;right:6%;font-size:15px;font-weight:800;background:#ff9d7e;color:#3a264a;padding:10px 14px;border-radius:12px;transform:rotate(6deg)}
@media(max-width:1100px){.story-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.luna-lab-intro{grid-template-columns:1fr}.lab-steps-art{justify-content:flex-start;padding-top:15px}.lab-steps-art>div{max-width:170px}}
@media(max-width:740px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.story-card{min-height:225px;padding:14px 11px 0}.story-title{font-size:19px;min-height:65px}.story-picture{height:78px}.luna-story-illustration{width:78px;height:78px;flex-basis:78px}.story-controls{align-items:stretch}.story-filters{gap:6px}.story-filters button{padding:9px 11px;font-size:11px}.story-search{width:100%}.story-search input{max-width:none;flex:1}.luna-lab-intro{align-items:stretch}.lab-steps-art{justify-content:center;gap:8px}.lab-steps-art>div{max-width:none;height:140px}.lab-steps-art span{font-size:28px}.lab-steps-art strong{font-size:11px}.lab-steps-art small{font-size:9px}.game-shell{padding:18px;margin:0 0 28px}.wiki-deeper{grid-template-columns:1fr;margin-top:43px;margin-bottom:40px;border-radius:18px}.wiki-deeper-art{font-size:70px;min-height:100px}.wiki-deeper-art span{font-size:12px;right:14%;bottom:-5px}}
@media(prefers-reduced-motion:reduce){.story-card,.story-picture,.game-options button,.game-progress-bar span{transition:none}.story-card:hover,.game-options button:not(:disabled):hover{transform:none}}
/* The Wiki handoff stays a compact research invitation, not another full section. */
.wiki-deeper{position:relative;min-height:0;margin-top:14px;margin-bottom:37px;padding:25px 30px;grid-template-columns:minmax(0,1fr) 155px;gap:16px;border-radius:23px}
.wiki-deeper h2{font-size:clamp(27px,3.3vw,37px);margin:7px 0 8px}
.wiki-deeper p{margin:0;max-width:540px;font-size:13px;line-height:1.55}
.wiki-deeper a{margin-top:13px;padding:11px 17px;font-size:12px}
.wiki-deeper .wiki-deeper-art{min-width:0;justify-content:center;gap:0}
.wiki-deeper .wiki-deeper-art>.luna-mini-icon{width:112px;height:112px;flex-basis:112px}
.wiki-deeper .wiki-deeper-art>.wiki-art-caption{font-size:12px;white-space:nowrap;padding:7px 10px;margin-top:-3px}
@media(max-width:700px){
  .wiki-deeper{display:block;margin:10px 17px 28px;padding:22px 20px 20px;border-radius:20px}
  .wiki-deeper h2{font-size:clamp(24px,6.1vw,29px);line-height:1.08;margin:8px 0 10px}
  .wiki-deeper p{font-size:12px;max-width:100%;line-height:1.5}
  .wiki-deeper a{max-width:calc(100% - 78px);min-height:43px;display:inline-flex;align-items:center;font-size:11px;padding:10px 12px;white-space:normal;line-height:1.2}
  .wiki-deeper .wiki-deeper-art{position:absolute;right:13px;bottom:7px;width:70px;min-height:65px}
  .wiki-deeper .wiki-deeper-art>.luna-mini-icon{width:68px;height:68px;flex-basis:68px}
  .wiki-deeper .wiki-deeper-art>.wiki-art-caption{display:none}
}
