/* 도감 · 상점 · 시트(팝업) */
/* dex / shop */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.cell{background:#fff;border-radius:20px;padding:12px;text-align:center;box-shadow:var(--shadow)}
.cell .e{font-size:42px;line-height:1.2}.cell b{display:block;font-size:14px}.cell small{font-size:11.5px;color:var(--muted);display:block;margin:2px 0 6px;line-height:1.4}
.cell.lock .e{filter:grayscale(1) brightness(.75);opacity:.55}
.cell.later{background:#f4f1f8;box-shadow:none;border:2px dashed #d9cfe6}
.cell .btn{padding:8px 10px;font-size:13px;min-height:40px;width:100%}
/* sheet */
.wrap{position:absolute;inset:0;background:rgba(59,51,80,.45);display:flex;align-items:flex-end;z-index:20}
.sheet{width:100%;max-height:90%;overflow-y:auto;background:var(--bg);border-radius:28px 28px 0 0;padding:16px 16px 22px}
.sheet .x{float:right;font-size:20px;width:44px;height:44px;border-radius:50%;background:#fff;margin:-4px -4px 0 0}
.pl-th{height:170px;border-radius:26px;display:grid;place-items:center;font-size:84px;margin:6px 0 12px}
.ctrls{display:flex;justify-content:center;align-items:center;gap:14px;margin:10px 0}
.ctrls button{width:52px;height:52px;border-radius:50%;background:#fff;font-size:22px;box-shadow:var(--shadow)}
.ctrls .main{width:68px;height:68px;background:var(--sun);font-size:28px;box-shadow:0 3px 0 #e8b23c}
.ctrls .on{background:#ffd9e6}
.toggles{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.opts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.opt{background:#fff;border-radius:22px;font-size:44px;padding:16px 4px;box-shadow:var(--shadow);min-height:90px}
.opt small{display:block;font-size:13px;margin-top:2px}
.opt.ok{background:#c8f3da;box-shadow:inset 0 0 0 3px #5bc489}
.opt.no{background:#ffe3e3;box-shadow:inset 0 0 0 3px #ff9a9a}
.say{font-size:15px;text-align:center;margin:10px 0}
.sayb{display:block;margin:0 auto;background:var(--sky);border-radius:999px;padding:14px 26px;font-size:18px;font-weight:700;min-height:52px}
.step{display:flex;align-items:center;gap:12px;justify-content:center;margin:6px 0}
.step button{width:46px;height:46px;border-radius:50%;background:#fff;font-size:24px;box-shadow:var(--shadow)}
.step b{font-size:28px;min-width:90px;text-align:center}
.lbl{font-size:13px;font-weight:700;margin:12px 2px 6px}
.toast{position:absolute;left:50%;bottom:86px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:11px 16px;border-radius:16px;font-size:13.5px;z-index:40;max-width:88%;text-align:center;line-height:1.4;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.rest{background:#e8f9ef;border-radius:18px;padding:14px;text-align:center;margin:10px 0}
input[type=text]{width:100%;font:inherit;padding:12px 14px;border-radius:14px;border:2px solid var(--line);background:#fff;color:var(--ink);min-height:46px}
.prof{display:flex;align-items:center;gap:10px;background:#fff;border-radius:18px;padding:9px 12px;margin-bottom:8px;box-shadow:var(--shadow)}
.prof.on{box-shadow:inset 0 0 0 3px #ffb3cb}
.prof .info{flex:1}.prof b{font-size:14px}.prof small{display:block;font-size:12px;color:var(--muted)}
.prof .btn{padding:8px 12px;font-size:13px;min-height:40px}
