/* Enrollchemy workshop: load after the shared app, game and illustration styles. */
:root {
  --paper: #f7f2e6;
  --white: #fffdf6;
  --ink: #243d36;
  --muted: #6b7668;
  --line: #e0d9c4;
  --forest: #245d53;
  --coral: #a5793b;
  --sage: #e9eee1;
  --lilac: #efe9dc;
  --gold: #efddb0;
  --brass: #a27b3c;
  --shadow: 0 4px 0 #e4dcc5;
  color-scheme: light;
}
body { background: radial-gradient(ellipse at 80% 0, #fffaf0 0, transparent 55%), #f5f0e3; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline-color: #ac843c; }
.sidebar {
  width: 234px;
  padding: 34px 18px 26px;
  background: radial-gradient(ellipse at 0 0, #244e44, transparent 65%), #183c35;
  border-right: 1px solid #102c27;
  box-shadow: 8px 0 30px #1d332008;
  color: #f5edd6;
}
.app-shell { margin-left: 234px; }
.brand { color: #fff4d7; font-size: 19px; letter-spacing: .015em; }
.brand-mark, .little-spark { color: #d8b974; }
.brand-sub { color: #cbb98b; font-size: 8px; letter-spacing: 2.8px; }
.nav-caption { color: #b3c2a5; font-size: 7px; letter-spacing: 1.45px; margin-top: 35px; }
.nav-item { color: #e3e9d9; margin-bottom: 10px; padding: 14px 12px; border-radius: 11px; font-size: 13px; }
.nav-item > .icon { color: #b8b88d; }
.nav-item small { color: #b2c0a8; font-size: 9px; }
.nav-item:hover { background: #31584c; }
.nav-item.active { color: #fff6db; border-color: #8c8a56; background: linear-gradient(120deg, #3b6251, #2b5144); box-shadow: inset 0 1px 0 #d8c58c18, 0 3px 0 #0d2b23; }
.nav-item.active .icon { color: #e5c77c; }
.nav-item.active small { color: #d3d8bc; }
.nav-dot { background: #e0c27e; box-shadow: 0 0 0 4px #d7bd6c12; }
.settings-nav { margin-top: 24px; }
.sidebar-bottom { border-color: #66837150; padding-top: 24px; }
.sidebar-bottom strong { color: #f3e9cb; font-size: 17px; font-weight: 600; }
.sidebar-bottom p { color: #b3c2a8; font-size: 11px; }
.byline { color: #b6c2a4; line-height: 1.8; }
.topbar { min-height: 78px; height: auto; padding: 20px 36px; background: #fffdf5d9; border-color: #dfd7c2; }
.breadcrumb { color: #7a806e; }
.breadcrumb strong { color: #3d5a4b; }
.save-indicator { border-color: #ded9c3; background: #f5f3e7; color: #536b56; }
.save-indicator.local { color: #7f693e; }
.stat-streak { color: #a16c32; }
.stat-xp { color: #92702d; }
.profile { border-color: #c9b77b; background: #eee5cc; box-shadow: 0 0 0 3px #eae3ce66; }
#main { padding: 34px 36px 28px; max-width: 1580px; }
.page-intro { margin-bottom: 27px; }
.page-intro h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 37px; letter-spacing: -1.25px; line-height: 1.16; color: #243f35; }
.page-intro p { font-size: 12px; color: #6d7969; line-height: 1.9; }
.eyebrow { color: #7e774e; letter-spacing: 1.4px; }
.level-chip { border-color: #ddcd9f; background: linear-gradient(150deg, #fff9e6, #f0e5c8); box-shadow: inset 0 1px 0 #fffdf4; color: #716340; }
.level-chip > .icon { color: #a08443; }
.level-chip small { color: #83764d; }
.learn-layout { grid-template-columns: minmax(0, 1fr) 248px; gap: 26px; }
.button { border-radius: 9px; }
.button.dark { background: #245d53; box-shadow: 0 3px 0 #163e34; }
.button.dark:hover:not(:disabled) { background: #1d5147; box-shadow: 0 4px 0 #163e34; }
.button.outline { background: #fffdf5; border-color: #cec7aa; }
.button.outline:hover { background: #f0ead7; }
.hero.forge-hero.workshop-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 338px; border: 1px solid #d5c59a; border-radius: 18px; background: #f2ead5; box-shadow: 0 5px 0 #e6ddc4; }
.workshop-hero > .hero-copy { padding: 29px 30px 27px; }
.workshop-hero .pill { color: #736542; background: #fffbeb; border-color: #ddd0a9; font-size: 6px; letter-spacing: 1.1px; }
.workshop-hero .live-dot { background: #ad8a41; }
.workshop-hero h2 { font-family: Georgia, 'Times New Roman', serif; color: #24483c; font-size: clamp(30px, 2.5vw, 40px); font-weight: 400; letter-spacing: -1.65px; line-height: 1.12; margin: 17px 0 15px; max-width: none; }
.workshop-hero .hero-copy p { color: #6f7a65; font-size: 11px; line-height: 1.95; max-width: 340px; }
.workshop-hero .button { margin-top: 21px; font-size: 11px; gap: 18px; }
.workshop-hero .hero-footnote { flex-wrap: wrap; color: #857953; font-size: 8px; line-height: 1.8; gap: 5px; margin-top: 14px; }
.workshop-hero .hero-footnote > span { color: #aa9c74; margin: 0 1px; }
.workshop-scene { background: #ddd4b8; border-color: #d3c296; }
.workshop-scene:after { display: none; }
.workshop-scene > .forge-world-art { object-position: 50% 50%; }
.world-section { margin-top: 33px; }
.section-heading h2 { font-size: 18px; color: #314c3d; }
.section-heading > span { color: #7c806c; font-size: 9px; }
.world-tabs { gap: 13px; margin-top: 16px; align-items: stretch; }
.world-tab { display: flex; flex-direction: column; gap: 0; align-items: stretch; min-height: 0; padding: 0; border-radius: 13px; border-color: #d9d4bf; background: #fffdf6; overflow: hidden; box-shadow: 0 3px 0 #e4decb; }
.world-tab:hover { border-color: #a1a77a; transform: translateY(-3px); }
.world-tab.selected { background: #fcf9ed; border-color: #8f9f6a; box-shadow: 0 3px 0 #a3b085, inset 0 0 0 1px #c1c8a2; }
.world-tab.coral.selected { background: #fff9ed; border-color: #b28b58; box-shadow: 0 3px 0 #c1a776, inset 0 0 0 1px #e3d2b1; }
.world-tab.lilac.selected { background: #faf7f0; border-color: #9f9780; box-shadow: 0 3px 0 #b3aa8b, inset 0 0 0 1px #d3ccb8; }
.world-card-art { display: block; width: 100%; aspect-ratio: 1.95; min-height: 0; position: relative; background: #e3e8d2; border-bottom: 1px solid #dcd8c3; overflow: hidden; }
.world-card-art > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; object-position: center; transition: transform .25s ease; }
.world-tab:hover .world-card-art > img { transform: scale(1.03); }
.world-card-copy { display: flex; flex-direction: column; min-width: 0; padding: 14px 15px 15px; }
.world-card-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 9px; }
.world-tab .world-card-topline small { font-size: 7px; letter-spacing: 1.4px; color: #7c8066; margin: 0; }
.world-tab .world-icon { float: none; width: 27px; height: 27px; margin: 0; border-radius: 8px; background: #edf0df; color: #667e50; }
.world-tab.coral .world-icon { background: #f2e7d0; color: #a3834d; }
.world-tab.lilac .world-icon { background: #eeeadc; color: #827e60; }
.world-icon .icon { width: 18px; height: 18px; }
.world-tab strong { font-size: 14px; line-height: 1.45; letter-spacing: -.3px; min-height: 42px; color: #2d4e3f; }
.world-tab .world-subtitle { font-size: 9px; line-height: 1.6; margin-top: 6px; min-height: 15px; color: #7c8068; }
.world-card-progress { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #7c8466; font-size: 8px; margin-top: 17px; }
.world-card-progress > .icon { width: 12px; height: 12px; color: #85905f; }
.world-tab .tiny-progress { width: 100%; margin-top: 9px; height: 3px; background: #e7e5d7; }
.world-tab .tiny-progress i { background: #7b9760; }
.world-tab.coral .tiny-progress i { background: #b08f56; }
.world-tab.lilac .tiny-progress i { background: #969373; }
.path-section { margin-top: 31px; border-color: #d9d4bf; background: #fffdf7; border-radius: 16px; box-shadow: 0 4px 0 #e7e0ce; }
.path-heading { background: linear-gradient(110deg, #edf0e1, #f4f3e7); border-color: #dedcc5; padding: 24px 25px; }
.path-section.coral .path-heading { background: linear-gradient(110deg, #f6ecda, #faf4e8); }
.path-section.lilac .path-heading { background: linear-gradient(110deg, #eeecdf, #f5f1e6); }
.path-heading .eyebrow { color: #7d805e; }
.path-heading h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 400; letter-spacing: -.7px; color: #334f3f; }
.path-heading p { color: #718069; line-height: 1.85; }
.world-stamp { color: #7f8d5d; border-color: #d0d5ae; background: #f9f9e9; transform: rotate(5deg); }
.lesson-info strong { color: #345240; }
.lesson-info > span:last-child { color: #7d836e; }
.lesson-overline { color: #8a8e71; }
.lesson-node { background: #ececde; border-color: #d9d9c0; color: #929e7b; }
.lesson-node.now { background: #285c4d; border-color: #174233; color: #f1d590; box-shadow: 0 0 0 5px #fffdf6, 0 0 0 7px #c1bb87; }
.lesson-node.complete { background: #d6e3b6; border-color: #aebb81; color: #537144; }
.path-track:after { border-color: #dddcc5; }
.path-end { color: #879071; border-color: #e8e5d4; }
.small-start { background: #f2ecd8; border-color: #dcd0a7; color: #7b754b; }
.gentle-note { color: #7d876d; }
.right-rail { gap: 22px; }
.daily-card, .mascot-card, .side-quest { border-color: #dbd7c0; background: linear-gradient(145deg, #fffef8f5, #f2f2e3ed); border-radius: 16px; box-shadow: inset 0 1px 0 #fff, 0 4px 0 #e8e1cc; }
.daily-card { padding: 23px 20px; }
.daily-card .section-heading h3 { color: #3e5842; font-size: 16px; }
.daily-card > p { font-size: 11px; color: #7b826c; max-width: none; }
.goal-ring { width: 73px; height: 73px; background: conic-gradient(#a5ac70 var(--progress), #e4e5d3 0); border: 1px solid #d6d7b8; box-shadow: 0 0 0 5px #ececda88; }
.goal-ring:before { inset: 7px; background: linear-gradient(140deg, #fffdf0, #eff1d9); box-shadow: inset 0 1px 3px #c4c8a529; }
.goal-ring > span { font-family: Georgia, serif; color: #71864e; font-size: 25px; font-weight: 400; }
.goal-ring-row { gap: 18px; margin: 25px 0; }
.goal-ring-row > div:last-child > strong { color: #496248; font-size: 15px; }
.goal-ring-row > div:last-child > strong > span { color: #81886c; }
.goal-ring-row > div:last-child > small { color: #8a8d72; }
.daily-check { color: #7a8667; }
.check-dot { border-color: #c6cba9; background: #f5f5e7; }
.check-dot.done { background: #a6b47b; border-color: #92a164; }
.mascot-bubble { border-color: #d6d8b8; background: #fffff7; color: #7a8967; }
.mascot-card h3 { color: #6b7f4c; }
.mascot-card p { color: #7d876a; }
.side-quest { background: linear-gradient(145deg, #faf5e6, #f1e8d0); border-color: #dfd1aa; }
.side-quest h3 { color: #716a43; }
.side-quest p { color: #8a8161; }
.side-quest-icon { color: #ab9056; background: #fff9e9; border-color: #e3d6af; }
.local-note { color: #838a72; }
.resume-card { background: linear-gradient(120deg, #f3edda, #faf6e9); border-color: #d9cba4; box-shadow: 0 3px 0 #e5dbbf; }
.resume-symbol { color: #9a8650; border-color: #d6c696; background: #ece3c4; }
.resume-card .eyebrow { color: #928055; }
.resume-card p, .resume-actions .text-button { color: #847958; }
.practice-card { border-color: #d4dcc2; background: linear-gradient(135deg, #edf0df, #f6f7ed); box-shadow: 0 4px 0 #e0e4ce; border-radius: 17px; }
.practice-card.lilac { background: linear-gradient(135deg, #f5ecd7, #fcf6e8); border-color: #dfcfaa; box-shadow: 0 4px 0 #e9dfc5; }
.practice-card h2 { font-family: Georgia, serif; font-weight: 400; font-size: 31px; color: #3e5840; }
.practice-card .big-icon, .practice-card.lilac .big-icon { background: #fffef5bd; color: #9a915d; border: 1px solid #dcd9b8; box-shadow: inset 0 1px 0 #fff; border-radius: 20px; }
.practice-card p { color: #747f66; }
.practice-meta { color: #8b8e6d; }
.format-card.forge-format-card { border-color: #dad4ba; background: #fffdf5; box-shadow: 0 3px 0 #e5dec7; border-radius: 14px; }
.forge-format-card > .forge-format-art { height: 155px; border-bottom: 1px solid #e4dfcb; }
.forge-format-content > h3 { color: #3c5740; font-size: 17px; }
.forge-format-content > p { color: #7c836d; }
.match .forge-format-content > b, .sequence .forge-format-content > b, .branch .forge-format-content > b { color: #8d7d43; font-weight: 650; }
.wide-note { background: #eeeedd; border-color: #dbddbf; }
.wide-note h3 { color: #536444; }
.wide-note p { color: #7b8469; }
.lane-card, .guide-card, .settings-card, .badge-card { background: #fffdf6; border-color: #ddd6bf; box-shadow: 0 3px 0 #e9e2cf; border-radius: 14px; }
.lane-number { color: #9f976a; background: #f1eddb; }
.lane-card h3, .guide-card h2 { color: #3f5944; }
.lane-card p, .guide-card p, .settings-card p { color: #737f68; }
.forge-page-intro { background: linear-gradient(120deg, #edf0df, #f8f5e8); border-color: #d9dbc0; box-shadow: 0 3px 0 #e6e3cc; }
.forge-page-intro h1 { font-size: 35px; }
.forge-achievement-intro { background: linear-gradient(120deg, #f2e5c6, #fbf6e7); border-color: #e2d0a1; }
.forge-intro-scene { border-color: #d6d3ae; }
.search-box { background: #fffdf6; border-color: #d8d4bc; }
.search-box input { color: #3e5945; }
.search-box > span { color: #90916f; }
.achievement-summary { background: #efe8d0; border-color: #ded0a6; box-shadow: inset 0 1px 0 #fff9e5; }
.achievement-summary > div { border-color: #d9d0ad; }
.achievement-summary strong { color: #536440; }
.achievement-summary span { color: #7d8060; }
.badge-card h2 { color: #4e6244; }
.badge-card p { color: #7c836b; }
.badge-card .eyebrow { color: #898c70; }
.badge-card.earned { background: linear-gradient(145deg, #fffdf2, #f7f0dc); border-color: #dacaa0; }
.settings-card > label { color: #6f7d61; }
.settings-card > input, .settings-card > select { background: #f9f7ec; border-color: #d9d4ba; }
.account-card { background: linear-gradient(145deg, #fffdf6 60%, #f1eedb); }
.account-save-detail { background: #f1f1df; border-color: #dcdfbf; }
.account-save-detail strong { color: #667d4d; }
.modal { background: #fbf7eb; border-color: #ded5b8; }
.modal-backdrop { background: #102d25b0; }
.modal h2 { color: #304f3d; }
.takeaway { background: #f0ecd6; border-color: #ddd2a7; }
.reward-grid > div { background: #f4edda; border-color: #dfd3ae; }
.reward-grid strong { color: #526743; }
.celebration-icon { background: #ede1ba; color: #a3873b; border-color: #d8c58a; }
.site-footer { color: #898a71; border-color: #e2dcc8; }
.site-footer button, .footer-links > a { color: #738064; }
#toast { background: #234c3f; color: #fff7dc; border: 1px solid #8d9a6a; box-shadow: 0 7px 25px #20382b25; }

@media (min-width: 1550px) {
  .hero.forge-hero.workshop-hero { min-height: 370px; }
  .workshop-hero > .hero-copy { padding: 35px; }
  .workshop-hero h2 { font-size: 44px; }
  .workshop-hero .hero-copy p { font-size: 12px; }
  .world-card-art { aspect-ratio: 1.85; }
  .world-tab strong { font-size: 15px; }
}
@media (max-width: 1250px) {
  .sidebar { width: 210px; padding: 30px 13px; }
  .app-shell { margin-left: 210px; }
  .brand { font-size: 17px; }
  .topbar { padding: 19px 28px; }
  #main { padding: 30px 28px 25px; }
  .learn-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; }
  .workshop-hero > .hero-copy { padding: 27px 25px; }
  .workshop-hero h2 { font-size: 33px; }
  .workshop-hero .hero-copy p { font-size: 10px; }
  .workshop-hero .pill { font-size: 5px; letter-spacing: .9px; }
  .workshop-hero .hero-footnote { font-size: 7px; }
  .world-tabs { gap: 11px; }
  .world-card-copy { padding: 12px 13px 14px; }
  .world-tab strong { font-size: 12px; min-height: 36px; }
  .world-tab .world-subtitle { font-size: 8px; }
  .world-card-progress { font-size: 7px; }
  .daily-card { padding: 21px 17px; }
  .daily-card .section-heading h3 { font-size: 14px; }
  .goal-ring { width: 63px; height: 63px; }
  .goal-ring-row { gap: 13px; }
  .goal-ring-row > div:last-child > strong { font-size: 12px; }
  .goal-ring-row > div:last-child > strong > span { font-size: 9px; }
  .forge-format-card > .forge-format-art { height: 135px; }
  .forge-format-content > h3 { font-size: 15px; }
}
@media (max-width: 1100px) {
  .learn-layout { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .right-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .right-rail .side-quest { height: 100%; }
  .right-rail .local-note { align-self: center; text-align: center; }
  .world-tab strong { font-size: 14px; min-height: 41px; }
  .workshop-hero h2 { font-size: 37px; }
  .workshop-hero .hero-copy p { font-size: 11px; }
  .workshop-hero .pill { font-size: 6px; }
  .daily-card .section-heading h3 { font-size: 16px; }
  .daily-card > p { font-size: 11px; }
  .goal-ring-row { margin: 24px 0; gap: 20px; }
  .goal-ring-row > div:last-child > strong { font-size: 17px; }
  .goal-ring-row > div:last-child > strong > span { font-size: 11px; }
  .goal-ring-row > div:last-child > small { font-size: 9px; }
}
@media (max-width: 1050px) {
  .sidebar { width: 190px; padding: 29px 10px; }
  .app-shell { margin-left: 190px; }
  .brand { font-size: 15px; gap: 7px; }
  .nav-caption { font-size: 6px; letter-spacing: 1px; }
  .nav-item { font-size: 12px; padding: 13px 10px; gap: 10px; }
  .nav-item small { font-size: 8px; }
  #main { padding: 28px 23px 24px; }
  .topbar { padding: 19px 23px; }
  .page-intro h1 { font-size: 34px; }
  .workshop-hero h2 { font-size: 33px; }
  .workshop-hero > .hero-copy { padding: 26px; }
  .workshop-hero .pill { font-size: 5px; }
  .workshop-hero .hero-copy p { font-size: 10px; }
  .world-card-copy { padding: 12px; }
  .world-tab strong { font-size: 12px; min-height: 36px; }
  .world-card-topline { margin-bottom: 8px; }
  .world-tab .world-icon { width: 24px; height: 24px; }
  .world-icon .icon { width: 16px; height: 16px; }
  .world-card-progress { margin-top: 13px; }
  .forge-page-intro h1 { font-size: 31px; }
}
@media (max-width: 900px) {
  .hero.forge-hero.workshop-hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .workshop-hero > .hero-copy { grid-column: 1; grid-row: 2; padding: 26px 28px 28px; }
  .workshop-hero h2 { font-size: 37px; }
  .workshop-hero .hero-copy p { max-width: 450px; font-size: 11px; }
  .workshop-hero .pill { font-size: 6px; }
  .workshop-scene { grid-column: 1; grid-row: 1; min-height: 0; height: 220px; border-left: 0; border-bottom: 1px solid #d3c296; }
  .world-tabs { gap: 9px; }
  .world-tab strong { font-size: 11px; min-height: 48px; }
  .world-card-copy { padding: 11px 10px 13px; }
  .world-tab .world-subtitle { font-size: 7px; }
  .world-tab .world-card-topline small { font-size: 6px; letter-spacing: 1px; }
  .world-card-progress { font-size: 6px; }
  .section-heading h2 { font-size: 17px; }
  .section-heading > span { font-size: 8px; }
  .forge-format-card > .forge-format-art { height: 125px; }
  .forge-format-content > h3 { font-size: 14px; }
}
@media (max-width: 620px) {
  body { padding-bottom: 83px; }
  .sidebar { inset: auto 0 0; width: 100%; height: 74px; padding: 0; background: #193c34f5; border-top: 1px solid #6c7d54; border-right: 0; box-shadow: 0 -4px 25px #1c352514; }
  .app-shell { margin-left: 0; }
  #navigation { padding: 0 5px; }
  .nav-item, .settings-nav { color: #d5e0ca; font-size: 8px; padding: 7px 2px; margin: 0; gap: 5px; height: 60px; border: 0; border-radius: 9px; text-align: center; }
  .nav-item > .icon { color: #c0c19b; width: 20px; height: 20px; }
  .nav-item.active { color: #fff3ce; background: #385a44; border: 0; }
  .nav-item.active .icon { color: #e9c97b; }
  .settings-nav span { font-size: 8px; }
  .topbar { min-height: 66px; padding: 16px 18px; gap: 8px; }
  .topbar-right { gap: 8px; }
  .breadcrumb { min-width: 0; }
  .breadcrumb > strong { display: block; max-width: 83px; overflow: hidden; text-overflow: ellipsis; font-size: 9px; }
  .save-indicator { font-size: 8px; padding: 6px 7px; }
  .save-indicator > span:nth-child(2) { max-width: 78px; }
  .top-stats { gap: 9px; }
  #main { padding: 25px 18px 23px; }
  .page-intro { margin-bottom: 23px; gap: 12px; }
  .page-intro h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.9px; }
  .page-intro p { font-size: 11px; line-height: 1.85; }
  .workbench-intro .eyebrow { font-size: 6px; letter-spacing: 1px; }
  .level-chip { padding: 8px 9px; gap: 7px; font-size: 8px; }
  .level-chip > .icon { width: 19px; height: 19px; }
  .level-chip small { font-size: 6px; letter-spacing: 1px; }
  .hero.forge-hero.workshop-hero { display: flex; border-radius: 15px; }
  .workshop-scene { height: 184px; width: 100%; }
  .workshop-hero > .hero-copy { padding: 24px 24px 27px; }
  .workshop-hero h2 { font-size: 35px; line-height: 1.12; letter-spacing: -1.45px; margin-top: 16px; }
  .workshop-hero .hero-copy p { font-size: 11px; line-height: 1.9; }
  .workshop-hero .pill { font-size: 5px; letter-spacing: .8px; padding: 6px 8px; }
  .workshop-hero .button { margin-top: 18px; font-size: 11px; padding: 11px 17px; }
  .workshop-hero .hero-footnote { font-size: 7px; margin-top: 14px; }
  .world-section { margin-top: 28px; }
  .world-section > .section-heading { display: block; }
  .world-section > .section-heading h2 { font-size: 19px; }
  .world-section > .section-heading > span { display: block; max-width: none; font-size: 9px; margin-top: 5px; }
  .world-tabs { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 15px; }
  .world-tab { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 0; text-align: left; }
  .world-card-art { width: 100%; height: 100%; min-height: 135px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid #dcd8c3; }
  .world-card-copy { padding: 12px 15px 14px; }
  .world-card-topline { margin-bottom: 5px; }
  .world-tab .world-card-topline small { font-size: 6px; letter-spacing: 1.2px; }
  .world-tab .world-icon { width: 22px; height: 22px; border-radius: 7px; }
  .world-icon .icon { width: 15px; height: 15px; }
  .world-tab strong { font-size: 14px; line-height: 1.35; min-height: 0; }
  .world-tab .world-subtitle { font-size: 9px; min-height: 0; margin-top: 4px; }
  .world-card-progress { font-size: 8px; margin-top: 11px; }
  .world-card-progress > .icon { width: 11px; height: 11px; }
  .world-tab .tiny-progress { margin-top: 7px; }
  .path-section { margin-top: 25px; }
  .path-heading { padding: 22px 19px; }
  .path-heading h2 { font-size: 23px; line-height: 1.25; }
  .path-heading p { font-size: 10px; }
  .lesson-info strong { font-size: 13px; }
  .lesson-info > span:last-child { font-size: 8px; }
  .lesson-overline { font-size: 6px; }
  .right-rail { gap: 15px; }
  .daily-card { padding: 23px; }
  .daily-card .section-heading h3 { font-size: 17px; }
  .daily-card > p { font-size: 11px; }
  .goal-ring { width: 70px; height: 70px; }
  .goal-ring-row { margin: 24px 0; flex-wrap: nowrap; }
  .goal-ring-row > div:last-child > strong { font-size: 17px; }
  .goal-ring-row > div:last-child > strong > span { font-size: 11px; }
  .goal-ring-row > div:last-child > small { font-size: 9px; }
  .daily-check { font-size: 10px; gap: 8px; }
  .check-dot { width: 16px; height: 16px; }
  .mascot-card { padding: 23px; }
  .mascot-card img { width: 220px; height: 200px; }
  .mascot-bubble { font-size: 11px; padding: 12px; }
  .mascot-card h3 { font-size: 18px; }
  .mascot-card p { font-size: 11px; }
  .mascot-card .eyebrow { font-size: 7px; }
  .handwritten { font-size: 16px; }
  .local-note { font-size: 9px; padding: 9px; }
  .side-quest { padding: 25px; }
  .side-quest h3 { font-size: 24px; }
  .side-quest p { font-size: 12px; }
  .practice-card { padding: 25px; }
  .practice-card h2 { font-size: 28px; }
  .practice-card p { font-size: 12px; }
  .practice-card .eyebrow { font-size: 7px; }
  .practice-meta { font-size: 9px; }
  .format-card.forge-format-card { grid-template-columns: 105px minmax(0, 1fr); }
  .forge-format-card > .forge-format-art { height: 100%; min-height: 154px; border-bottom: 0; border-right: 1px solid #e0dac3; }
  .forge-format-content > h3 { font-size: 16px; }
  .forge-format-content > p { font-size: 11px; line-height: 1.8; }
  .forge-format-content > b { font-size: 9px; }
  .forge-page-intro { padding: 0; box-shadow: none; background: none; }
  .forge-page-intro h1 { font-size: 32px; }
  .forge-page-intro p { font-size: 11px; }
  .forge-intro-scene { height: 160px; border-radius: 13px; box-shadow: 0 3px 0 #e3dec8; }
  .guide-card { padding: 23px; }
  .guide-card h2 { font-size: 21px; }
  .guide-card p { font-size: 12px; }
  .badge-card h2 { font-size: 16px; }
  .badge-card p { font-size: 10px; }
  .badge-card .eyebrow { font-size: 6px; }
  .achievement-summary { padding: 23px 8px; }
  .achievement-summary span { font-size: 8px; }
  .settings-card { padding: 25px; }
  .settings-card h2 { font-size: 23px; }
  .settings-card p { font-size: 12px; }
  .site-footer { font-size: 8px; }
  #toast { bottom: 90px; }
}
@media (max-width: 480px) {
  .right-rail { grid-template-columns: minmax(0, 1fr); }
  .right-rail .local-note { padding: 12px 20px; }
  .workbench-intro { align-items: flex-start; }
  .workbench-intro .level-chip { margin-top: 22px; }
  .workbench-intro .level-chip > .icon { display: none; }
}
@media (max-width: 370px) {
  #main { padding-left: 15px; padding-right: 15px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .breadcrumb > strong { max-width: 65px; font-size: 8px; }
  .save-indicator > span:nth-child(2) { max-width: 62px; }
  .top-stats { gap: 7px; }
  .workbench-intro .level-chip { display: none; }
  .workshop-hero h2 { font-size: 32px; }
  .workshop-hero > .hero-copy { padding: 23px 21px 25px; }
  .workshop-scene { height: 167px; }
  .world-tab { grid-template-columns: 95px minmax(0, 1fr); }
  .world-card-copy { padding: 11px 13px 13px; }
  .world-tab strong { font-size: 13px; }
  .format-card.forge-format-card { grid-template-columns: 92px minmax(0, 1fr); }
  .forge-format-card > .forge-format-content { padding: 16px; }
  .forge-format-content > h3 { font-size: 14px; }
  .forge-format-content > p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-card-art > img { transition: none; }
  .world-tab:hover, .world-tab:hover .world-card-art > img { transform: none; }
}

/* Illustrated track emblems; utility glyphs keep their compact line style. */
.world-tab .world-icon.world-icon-art{width:56px;height:56px;flex-shrink:0;border:0;border-radius:0;background:transparent;margin:0}.world-icon-art>.illustrated-emblem,.world-stamp-art>.illustrated-emblem{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #35432b1c)}
.world-stamp.world-stamp-art{width:92px;height:92px;flex-shrink:0;border:0;background:transparent;transform:none}
@media(max-width:620px){.world-tab .world-icon.world-icon-art{width:44px;height:44px}.world-stamp.world-stamp-art{display:none}}
