@media screen{
 body{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,720px);z-index:50;display:grid;grid-template-columns:repeat(4,1fr);padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#ffffffed;border:1px solid #e2eaf5;border-bottom:0;border-radius:24px 24px 0 0;backdrop-filter:blur(16px);box-shadow:0 -5px 30px #19395d08}.bottom-nav[hidden],.dashboard[hidden]{display:none!important}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;padding:5px;min-height:52px;color:#506589;text-decoration:none;font-size:12px;font-weight:600;border-radius:12px}.bottom-nav svg{width:24px;height:24px}.bottom-nav [aria-current]{color:#1475ff;background:#edf5ff}.dashboard{max-width:850px;margin:20px auto 50px}.dashboard h1{font-size:32px;letter-spacing:-1px;color:#10234d}.dashboard h2{font-size:22px}.dashboard-note{color:#64748c;font-size:14px;line-height:1.6}.dashboard-context,.course-progress{padding:22px;border:1px solid #e1e9f5;border-radius:22px;background:white;margin:16px 0}.dashboard-context p{font-weight:700;color:#10234d}.progress-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.progress-tile{padding:24px 14px;background:#eef5ff;border-radius:20px;text-align:center}.progress-tile strong{display:block;font-size:32px;color:#126cdb}.progress-tile span{font-size:13px;color:#506589}.course-progress h3{margin:0;color:#10234d}.course-progress progress{display:block;width:100%;height:12px;accent-color:#1475ff;margin:16px 0}.course-progress a{display:inline-block;min-height:44px;padding-top:12px}.dashboard-games,.award-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dashboard-game{display:flex;align-items:center;gap:14px;min-height:94px;padding:20px;background:white;border:1px solid #dfe8f5;border-radius:20px;color:#10234d;font-weight:700;text-decoration:none}.mode-symbol,.award-symbol{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;width:48px;height:48px;background:#edf4ff;color:#1475ff;flex:none}.mode-symbol svg,.award-symbol svg{width:27px;height:27px}.award-card{background:white;border:1px solid #e1e8f4;border-radius:24px;padding:24px}.award-card p{color:#64748c;line-height:1.5}.award-card strong{color:#64748c}.award-card.earned{background:#effaf6;border-color:#b5e6d2}.earned strong{color:#167551}.crystal-balance{padding:28px;border-radius:24px;background:linear-gradient(120deg,#eaf3ff,#f0eaff);margin:24px 0;color:#10234d}.crystal-balance>strong{font-size:48px;color:#1475ff}.crystal-balance p{line-height:1.6;max-width:600px}.dashboard-cta{display:inline-block;text-decoration:none;padding:16px 24px;margin:20px 0}body[data-page=play]{padding-bottom:0}@media(max-width:600px){.dashboard{margin-top:10px}.dashboard h1{font-size:28px}.progress-stats{gap:8px}.progress-tile{padding:20px 8px}.progress-tile strong{font-size:27px}.dashboard-games{gap:12px}.dashboard-game{flex-direction:column;align-items:flex-start;padding:18px;font-size:15px}.award-grid{grid-template-columns:1fr}.dashboard-context{padding:18px}.bottom-nav{border-radius:18px 18px 0 0}}
}
@media print{.bottom-nav,.dashboard{display:none!important}}
