/* v3.0.1: achievements, today-only data reset, tablet-first responsive presentation */
.v31-badge-panel{margin:20px 0;padding:clamp(16px,2.5vw,25px);border-radius:24px;border:1px solid #dce7f1;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 8px 20px rgba(45,75,120,.05);color:#243e59}
.v31-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.v31-panel-head h2{margin:6px 0;font-size:clamp(1.3rem,2vw,1.75rem)}.v31-panel-head p{margin:0;color:#728597;font-size:.9rem}
.v31-overline{font-size:.73rem;letter-spacing:.13em;color:#5381b2;font-weight:900}
.v31-total{border-radius:17px;background:#e8f4fb;padding:12px 19px;display:flex;flex-direction:column;text-align:center;color:#205e89}
.v31-total strong{font-size:2rem;line-height:1.2}.v31-total small{font-size:.8rem}
.v31-badge-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}
.v31-badge-tabs button{border:1px solid #cfdfea;background:#fff;color:#3d6c89;padding:10px 14px;min-height:45px;font-weight:800;border-radius:12px}
.v31-badge-tabs button.selected{background:#2479b2;color:#fff;border-color:#2479b2}
.v31-badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.v31-badge{background:#fff;border:1px solid #deebf2;border-radius:17px;min-height:150px;padding:15px 11px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}
.v31-badge.unlocked{background:linear-gradient(165deg,#fdf7dc,#fff);border-color:#f0dca3}
.v31-badge.locked .v31-badge-icon{filter:grayscale(.85);opacity:.55}
.v31-badge-icon{width:48px;height:48px;border-radius:14px;background:#e9f3fb;display:flex;align-items:center;justify-content:center;font-size:1.7rem}
.v31-badge.unlocked .v31-badge-icon{background:#ffedbe}
.v31-badge-title{font-weight:850;font-size:.86rem;line-height:1.4;flex:1}
.v31-badge-meter{width:100%;height:8px;background:#e8eff5;border-radius:99px;overflow:hidden}
.v31-badge-meter>span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#69b1df,#3b88c7)}
.v31-badge.unlocked .v31-badge-meter>span{background:linear-gradient(90deg,#f3bd60,#e99846)}
.v31-badge small{color:#7891a4;font-size:.72rem}.v31-badge[hidden]{display:none}
.v31-badge-shortcut{border:1px solid #e9ddac;background:#fff7d9;color:#87611e;display:flex;align-items:center;gap:8px;justify-content:center;min-height:55px;padding:10px 14px;border-radius:17px;font-weight:900;width:100%;margin:13px 0;cursor:pointer}
.v31-badge-shortcut span{color:#bf8034;background:#fff;padding:6px 10px;border-radius:999px;font-size:.82rem}
.v31-today-reset{background:#fffaf8;border:2px solid #e8c6bc;border-radius:20px;margin:22px 0;padding:clamp(17px,2.5vw,28px);color:#654842}
.v31-today-reset h2{color:#9e4f3e;font-size:1.3rem;margin:0 0 12px}
.v31-today-reset p{line-height:1.65}.v31-today-reset label{display:block;margin-top:14px;font-weight:750}
.v31-today-reset input[type=text]{display:block;box-sizing:border-box;margin:8px 0;width:100%;max-width:530px;min-height:51px;border:1px solid #d7b5ac;border-radius:12px;padding:11px;font-size:16px;background:#fff}
.v31-today-reset .v31-check{display:flex;align-items:center;gap:10px}.v31-today-reset .v31-check input{width:20px;height:20px;accent-color:#a85845}
.v31-reset-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.v31-reset-actions button{min-height:50px;border-radius:13px;padding:11px 17px}.v31-reset-actions .danger{background:#b04f42;color:white}
.v31-today-reset .v31-small{font-size:.81rem;color:#947a72}
@media(min-width:700px) and (max-width:1180px){.v31-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v31-badge{min-height:145px}.v31-panel-head{margin-bottom:14px}}
@media(max-width:699px){.v31-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v31-badge{min-height:142px}.v31-badge-title{font-size:.79rem}.v31-badge-panel{padding:14px}.v31-reset-actions button{width:100%}}
