/* なぞっくの保管庫 共通設定パネル(全ゲーム共通) */
.nzs-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:22px;
  background:rgba(17,17,17,.42);font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif}
.nzs-backdrop[hidden]{display:none}
.nzs-panel{width:100%;max-width:320px;background:#eeeeee;color:#111;border-radius:24px;padding:18px 16px 14px;
  box-shadow:0 24px 48px -24px rgba(0,0,0,.45);-webkit-user-select:none;user-select:none}
.nzs-head{display:flex;align-items:center;gap:8px;margin:2px 4px 14px}
.nzs-head svg{width:22px;height:22px}
.nzs-head h2{margin:0;font-size:1.1rem;font-weight:700;letter-spacing:.12em}
.nzs-card{background:#fff;border-radius:18px;padding:14px 14px 16px}
.nzs-label{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:.85rem;font-weight:700;color:#555}
.nzs-label svg{width:18px;height:18px}
.nzs-vol{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nzs-round{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:transform .08s,opacity .15s}
.nzs-round:active{transform:scale(.92)}
.nzs-round:disabled{opacity:.25;cursor:default}
.nzs-round svg{width:18px;height:18px}
.nzs-value{flex:1;text-align:center;line-height:1}
.nzs-value b{font-size:2.6rem;font-weight:700;font-variant-numeric:tabular-nums}
.nzs-value small{margin-left:3px;font-size:.85rem;color:#8a8a8a}
.nzs-bar{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin:14px 2px 0}
.nzs-bar span{height:8px;border-radius:4px;background:#e2e2e2;transition:background .15s}
.nzs-bar span.on{background:#111}
.nzs-muted .nzs-bar span.on{background:#bdbdbd}
.nzs-muted .nzs-value b{color:#bdbdbd}
.nzs-mute{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:14px;padding:10px 4px 0;border:0;border-top:1px solid #ececec;
  background:none;color:#111;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.nzs-switch{position:relative;width:46px;height:26px;border-radius:13px;background:#d6d6d6;transition:background .15s}
.nzs-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.nzs-mute[aria-checked="true"] .nzs-switch{background:#111}
.nzs-mute[aria-checked="true"] .nzs-switch::after{transform:translateX(20px)}
.nzs-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.nzs-tiles[hidden]{display:none}
.nzs-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:82px;border-radius:18px;background:#fff;
  color:#111;text-decoration:none;font-size:.85rem;font-weight:700}
.nzs-tile svg{width:26px;height:26px}
.nzs-tile:active{transform:scale(.98)}
.nzs-tile[hidden]{display:none}
.nzs-close{display:block;width:100%;height:48px;margin-top:12px;border:0;border-radius:999px;background:#111;color:#fff;
  font:inherit;font-size:.95rem;font-weight:700;letter-spacing:.24em;cursor:pointer}
.nzs-note{margin:10px 0 2px;text-align:center;font-size:.72rem;color:#8a8a8a}
.nzs-privacy{margin:4px 0 0;text-align:center}
.nzs-privacy[hidden]{display:none}
.nzs-privacy button{border:0;background:none;padding:2px 6px;font:inherit;font-size:.72rem;color:#8a8a8a;text-decoration:underline;cursor:pointer}
.nzs-panel [hidden]{display:none!important}
.nzs-policy{max-height:min(56vh,440px);overflow:auto;-webkit-overflow-scrolling:touch;background:#fff;border-radius:18px;padding:14px 16px;
  font-size:.8rem;line-height:1.75;color:#333;-webkit-user-select:text;user-select:text}
.nzs-policy h3{margin:14px 0 2px;font-size:.86rem;color:#111}
.nzs-policy h3:first-child{margin-top:0}
.nzs-policy p{margin:0 0 .5em}
.nzs-policy .nzs-date{margin-top:12px;color:#8a8a8a}
.nzs-backdrop button:focus-visible,.nzs-backdrop a:focus-visible{outline:2px solid #1a66b0;outline-offset:3px}
@media (prefers-reduced-motion: reduce){.nzs-backdrop *{transition:none!important}}
