/* Final approved palette and compact navigation. */
.learning-card,.learning-card.writing{border-color:#d1dfcb;background:linear-gradient(110deg,#eff5ea,#fafbf4)}
@media(min-width:761px){
 .nav{height:48px;min-height:0}
 .brand{gap:9px;font-size:21px;letter-spacing:-.7px}
 .mark{width:35px;height:35px;font-size:28px;border-radius:9px}
 .mark i{width:6px;height:6px;top:6px;right:6px}
 .brand small{font-size:7px;letter-spacing:2px;margin-top:5px}
 nav{gap:29px}
 nav a{font-size:13px}
 .nav-actions{gap:22px}
 .nav-actions .button.small{min-height:31px;padding:4px 20px;font-size:13px;border-radius:7px}
 .language{border-radius:7px}
 .language button{font-size:12px;padding:5px 13px;min-height:30px}
}
@media(min-width:761px) and (max-width:1100px){nav{gap:18px}nav a{font-size:12px}.nav-actions{gap:13px}.brand{font-size:20px}.brand small{font-size:6px}.language button{padding:5px 10px}}
.realms-page .detail-hero{padding-bottom:28px}
.realms-hero-image{position:relative;overflow:hidden;border-radius:19px}
.realms-hero-image .page-art{border-radius:0;max-height:360px}
.realms-image-label{position:absolute;left:18px;bottom:17px;display:flex;align-items:center;gap:8px;background:#fffbedee;color:var(--green);padding:8px 13px;border-radius:8px;font-size:11px;font-weight:700;box-shadow:0 3px 15px #15402a16}
.realms-image-label i{font-style:normal;color:var(--gold);font-size:16px}
.realms-hero .realms-parent-note{font-size:11px;margin-top:16px;max-width:none}
.realm-loop{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 27px;background:linear-gradient(100deg,#f5edce,#faf5e7);border:1px solid #e5d59c;border-radius:17px}
.realm-loop article{display:flex;align-items:center;gap:14px;flex:1}
.realm-loop h3{font-size:18px}
.realm-loop p{font-size:12px;margin-top:3px}
.realm-loop-icon{width:42px;height:44px;border:1px solid #d0dcc0;border-radius:9px;background:#edf2df;display:grid;place-content:center;color:var(--green);font-size:30px;font-weight:700;flex:none;font-family:Georgia,serif}
.realm-loop-icon.coin-icon{border-radius:50%;background:#f6d475;border-color:#dcba57;color:#8d6218;font-size:23px;box-shadow:inset 0 0 0 4px #fae298}
.realm-loop-icon.village-icon{background:#e5eddf;font-family:Arial,sans-serif;font-size:34px}
.loop-arrow{color:#a68a41;font-size:24px}
.realms-story .page-art{max-height:355px}
.realm-skills{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.realm-skills article{padding:24px 25px;border:1px solid var(--line);background:var(--sage);border-radius:15px}
.realm-skills article:nth-child(2){background:#fbf2da;border-color:#e9dfc3}
.realm-skills article:nth-child(3){background:#edf4f1}
.realm-skills h3{font-size:21px;margin-top:17px}
.realm-skills p{font-size:14px;line-height:1.6;margin-top:10px}
.skill-letter{height:55px;display:flex;align-items:center;letter-spacing:7px;font:700 36px Georgia;color:var(--green)}
.skill-sentence{height:55px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.skill-sentence span{font-size:11px;padding:8px 10px;border-radius:6px;background:#efc992;font-weight:700}
.skill-sentence span:nth-child(2){background:#f0da89}.skill-sentence span:nth-child(3){background:#bcd9ba}
.skill-book{height:55px;display:flex;align-items:center;gap:2px}
.skill-book span{width:34px;height:39px;background:#fffdf2;border:1px solid #b8cba8;border-bottom:4px solid #66885b;border-radius:3px 8px 3px 3px;transform:skewY(7deg);position:relative}
.skill-book span:last-child{transform:skewY(-7deg);border-radius:8px 3px 3px 3px}
.skill-book span:after{content:'';position:absolute;left:6px;right:6px;top:11px;height:2px;background:#d6d9bd;box-shadow:0 6px #d6d9bd,0 12px #d6d9bd}
.challenge-picture{width:62px;height:62px;background:#fff9dc;border:1px solid #eee0b2;border-radius:14px;display:grid;place-items:center;margin-bottom:17px}
.challenge-picture .little-sun{width:29px;height:29px;box-shadow:0 0 0 5px #f8e7a4}
.realm-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.realm-choice-grid article{background:#f2f5eb;border:1px solid #dfe6d7;padding:27px;border-radius:16px}
.realm-choice-grid .eyebrow{display:block;margin-bottom:10px}
.realm-choice-grid p{font-size:14px;margin:12px 0 18px;max-width:510px}
.realm-choice-grid .textlink{font-size:13px}
.realm-faq h2{margin-bottom:12px}
.realm-last-link{text-align:center;padding:0 0 27px}
@media(max-width:760px){
 .realm-loop{display:grid;grid-template-columns:1fr;padding:21px;gap:17px}
 .realm-loop article{gap:16px}.loop-arrow{display:none}
 .realms-hero-image .page-art{max-height:300px}
 .realms-image-label{left:12px;bottom:12px;font-size:10px;padding:6px 10px}
 .realm-skills,.realm-choice-grid{grid-template-columns:1fr;gap:14px}
 .realm-skills article,.realm-choice-grid article{padding:22px}
 .realm-skills h3{margin-top:9px}
 .skill-letter,.skill-sentence,.skill-book{height:42px}
 .realms-page .detail-hero{padding-bottom:22px}
 .realms-page .realms-story{gap:23px}
}
