/* The existing paper atlas expands into subject shelves and a quiet study desk. */
.world-shelf{min-width:0;background:#f4e8cded;border:2px solid #56435b;box-shadow:5px 6px 0 #3d2d48;}
.world-shelf .world-pick{width:100%;height:auto;min-height:108px;border:0;box-shadow:none;background:transparent;outline:0;padding:20px;}
.world-shelf .world-pick strong{font-size:clamp(24px,2.4vw,35px)}
.world-shelf .world-pick em{font-size:12px;line-height:1.4}
.atlas-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 18px 18px;}
.subject-door{text-align:left;display:flex;align-items:center;gap:11px;padding:13px 12px;min-height:76px;background:#fff8e9;border:1px solid #ae9671;color:#3d2d48;border-radius:3px;}
.subject-door:hover{background:#f9db8a;transform:translateY(-1px)}
.subject-door .glyph{flex:none;width:24px;height:24px}
.subject-door strong{display:block;font-size:15px;line-height:1.2}
.subject-door small{display:block;font-size:11px;line-height:1.4;margin-top:4px;color:#76634d}
.atlas-subjects[hidden]{display:none}
.world-picks{padding-top:28px;align-items:start;}
.atlas-heading{margin-top:18px}
.subject-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.subject-tabs button{padding:10px 8px;min-width:0;line-height:1.25;text-align:center}
.study-wrap{max-width:1050px;margin:0 auto;padding:26px;border:1px solid #b9a181;background:#fbf3e1;box-shadow:4px 5px 0 #382b4510;}
.study-wrap .subject-tabs{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));margin-bottom:24px;}
.study-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:22px}
.study-heading h2{margin:7px 0;font-size:30px}
.study-decks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px;}
.study-deck{padding:22px;border:1px solid #baa787;background:#fffaf0;min-width:0;}
.study-deck h2{font-size:28px;line-height:1.18;overflow-wrap:anywhere;margin:20px 0 12px}
.study-deck p{line-height:1.55;color:#6a5948;font-size:14px;overflow-wrap:anywhere}
.study-deck .panel-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.study-status{font-weight:700;color:#55435e!important}
.study-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 5px}
.study-actions button{flex:1 1 155px;}
.study-note{font-size:13px;line-height:1.6;color:#72614e;overflow-wrap:anywhere;}
.study-wrap>p.study-note{margin-top:22px;}
.study-editor{max-width:850px}
.study-editor label{display:grid;gap:8px;font-size:14px;font-weight:650;margin-top:20px;}
.study-editor input,.study-editor select,.study-editor textarea{width:100%;min-width:0;padding:12px;border:1px solid #a89170;border-radius:3px;background:#fffaf0;color:#382b45;font:inherit;}
.study-editor textarea{resize:vertical;line-height:1.65;font-weight:400;}
.study-fields{display:grid;grid-template-columns:2fr 1fr;gap:20px;}
#study-error{color:#8b362a}
.recall-path{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 25px;}
.recall-path span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #baaa8d;border-radius:50%;font-size:12px;color:#837562;background:#ede4d2;}
.recall-path .done{background:#64754c;color:white;border-color:#64754c}
.recall-path .current{background:#efc157;color:#3d2d48;outline:2px solid #3d2d48;outline-offset:2px}
.recall-card{min-height:280px;padding:32px;border:2px solid #9d8767;border-radius:4px;background:#fffaf0;box-shadow:5px 6px 0 #dfd0b7;}
.recall-card>.study-note{font-size:20px;color:#594669;margin-top:0}
.recall-answer{font:600 clamp(23px,3vw,35px)/1.5 'Bitter',serif;white-space:pre-wrap;overflow-wrap:anywhere;min-height:100px;margin:24px 0;}
.study-sequence{display:grid;gap:12px;margin:22px 0;}
.study-sequence button{text-align:left;white-space:normal;overflow-wrap:anywhere;}
.study-result{text-align:center;max-width:750px;}
.study-result h2{font-size:36px}
.study-score{font:700 75px 'Bitter',serif;margin:26px 0 10px;color:#64754c}
.study-score span{font-size:30px;color:#71614f}
@media(max-width:740px){.world-picks{padding-top:22px;gap:20px}.atlas-content{padding:0 5%}.world-shelf .world-pick{padding:17px;min-height:92px}.world-shelf .world-pick em{display:none}.atlas-subjects{padding:0 12px 14px;gap:8px}.subject-door{min-height:74px;padding:12px 9px;gap:8px}.subject-door strong{font-size:14px}.subject-door .glyph{width:20px;height:20px}.study-wrap{padding:17px}.study-fields{grid-template-columns:1fr;gap:0}.recall-card{padding:20px}.study-deck{padding:18px}.study-wrap .subject-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.study-result h2{font-size:28px}}

body[data-subject="geography"][data-view="home"] .adventure-layout{grid-template-columns:1fr;max-width:1050px;margin:0 auto;}
body[data-subject="geography"][data-view="home"] .world-card{display:none;}
body[data-subject="geography"][data-view="home"] .subject-tabs{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));}
body[data-subject="geography"][data-view="home"] .geo-modes{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:540px){body[data-subject="geography"][data-view="home"] .subject-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}body[data-subject="geography"][data-view="home"] .geo-modes{grid-template-columns:1fr;}}

/* Recording practice uses the same paper, ink and saffron as the atlas. */
.song-studio{border:2px solid #685272;background:#fffaf0;padding:24px;margin:0 0 30px;box-shadow:5px 6px 0 #dfd0b7;}
.song-heading h2{font:800 clamp(28px,4vw,42px)/1.15 'Bitter',serif;margin:10px 0;}
.song-heading{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;margin-bottom:24px;}
.song-heading p{line-height:1.5;}
.song-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;}
.song-layout>div{min-width:0;}
.song-label,.song-range label{display:grid;gap:8px;font-size:14px;font-weight:650;margin:12px 0;}
.song-studio select,.song-studio input{width:100%;min-width:0;padding:12px;background:#fbf3e1;border:1px solid #a89170;border-radius:3px;color:#382b45;font:inherit;}
.song-media{margin-top:20px;width:100%;height:clamp(220px,28vw,300px);min-width:0;background:#392e45;border-radius:3px;overflow:hidden;}
.song-media[hidden]{display:none;}
.song-media iframe,.song-media>#song-player{width:100%;height:100%;min-height:220px;border:0;}
.song-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px;text-align:center;min-height:220px;color:#fff4d9;}
.song-cover>span{font-size:40px;color:#efc157;}
.song-cover p{font-size:13px;margin:0;}
.song-links a,.song-support a{color:#53405f;text-underline-offset:3px;}
.song-steps{padding-left:22px;margin:12px 0 22px;line-height:1.65;font-size:14px;}
.song-steps li{padding-left:5px;margin-bottom:9px;}
.song-range{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.song-studio .study-actions{margin:10px 0 16px;}
.song-studio button{white-space:normal;min-height:44px;}
.song-studio button:disabled{opacity:.5;cursor:not-allowed;}
.song-recall{border-top:1px solid #d1bf9e;padding-top:16px;margin-top:20px;}
.song-recall>.primary{width:100%;}
.song-recall p{line-height:1.6;}
.song-saved{border-top:1px solid #d1bf9e;margin-top:22px;}
.song-checks{display:flex;flex-wrap:wrap;gap:9px;}
.song-support{margin-top:24px;border-top:1px solid #d1bf9e;padding-top:18px;line-height:1.6;}
.song-support summary{cursor:pointer;font-weight:700;padding:10px 0;}
@media(max-width:1000px){.song-layout{grid-template-columns:1fr;}.song-media{max-width:640px;margin-inline:auto;}.song-heading{flex-wrap:wrap;}}
@media(max-width:540px){.song-studio{padding:15px}.song-range{gap:8px}.song-media{min-height:210px}.song-cover{padding:12px}.song-heading .pill{display:none}}
