#ag-meta{display:flex;gap:8px;margin:.1rem 0 .35rem}
#ag-meta .ag-meta-btn{flex:1;min-width:0;min-height:44px;padding:.4rem .5rem;font-size:.82rem;line-height:1.2;text-align:center}
#ag-meta #ag-daily-btn{background:#f3cb77;color:#432c31}
#ag-meta #ag-daily-btn.done{background:#e6dccb;color:#4d343a}
#ag-coach{text-align:center;font-weight:700;font-size:.9rem;color:#86154f;margin:.1rem 0 .2rem}
#ag-finger{position:absolute;width:30px;height:30px;border-radius:50%;left:0;top:0;opacity:0;pointer-events:none;z-index:5;background:rgb(247 168 207 / .75);border:3px solid #fff;box-shadow:0 0 0 2px #86154f,0 4px 10px rgb(60 10 40 / .45)}
#ag-win-extra{white-space:pre-line;color:#fff;font-size:.9rem;line-height:1.5}
#win-overlay .ag-win-levels{background:transparent!important;border:2px solid #fff;color:#fff!important}
#ag-map{position:fixed;inset:0;z-index:60;background:rgb(15 23 42 / .88);display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
#ag-map[hidden]{display:none}
.ag-map-card{width:100%;max-width:420px;max-height:100%;overflow-y:auto;background:#fbf4e9;color:#432c31;border-radius:14px;padding:14px;box-shadow:0 18px 40px rgb(0 0 0 / .45)}
.ag-map-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ag-map-head h2{font-size:1.2rem}
#ag-map-note{font-size:.78rem;line-height:1.4;color:#4d343a;margin:.4rem 0 .6rem}
#ag-map-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.ag-lv{min-height:52px;border-radius:10px;border:2px solid #bd9ba8;background:#fff;color:#432c31;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-family:inherit;cursor:pointer;touch-action:manipulation}
.ag-lv b{font-size:1rem;line-height:1}
.ag-lv span{font-size:.62rem;letter-spacing:.5px;color:#92400e}
.ag-lv.cleared{background:#f7e3ed;border-color:#86154f}
.ag-lv.cur{outline:3px solid #86154f;outline-offset:1px}
.ag-lv.daily{box-shadow:inset 0 -4px 0 #f3cb77}
.ag-lv:disabled{opacity:.45;cursor:default}
.ag-lv:focus-visible,#ag-meta .btn:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
@media (prefers-reduced-motion:reduce){#ag-finger{display:none}}
/* the new button row costs about 50px; the decorative facts chips give it back on phones */
@media (max-width:500px){body.ag-depth-art .game-wrap .facts{display:none}}
