/* QUOTA3-1110 小克：设置栏里的额度——一张卡，上面两个页签（5 小时 / 本周，数字一直都在），下面一次只演一个场景：
   5 小时是屋里的壁炉（hearth-scene.js），本周是屋外的僵尸草地（原来那个）。点页签换场景，点场景刷新。 */
.vq3 { box-sizing: border-box; position: relative; width: auto; margin: 0; padding: 10px 10px 8px; border-radius: 20px; color: var(--text);
  background: color-mix(in srgb, var(--sheet, #fff) 62%, transparent); box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--text) 9%, transparent);
  -webkit-tap-highlight-color: transparent; transition: opacity .2s; }
.vq3 * { box-sizing: border-box; }
.vq3.busy .vq3-stage { opacity: .9; }
.vq3-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 3px; border-radius: 13px;
  background: color-mix(in srgb, var(--text) 6%, transparent); }
.vq3-thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 10px;
  background: var(--sheet, #fff); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 3px 10px -4px rgba(0,0,0,.18);
  transition: transform .5s linear(0, .0358, .1262, .2488, .3858, .5236, .6528, .767, .8631, .9399, .9979, 1.0389, 1.065, 1.079, 1.0835, 1.081, 1.0738, 1.0637, 1.0523, 1.0408, 1.0299, 1.0202, 1.0121, 1.0055, 1.0005, .997, .9947, .9935, .993, .9932, .9938, .9946, .9955, .9965, 1); }
.vq3[data-tab="week"] .vq3-thumb { transform: translateX(100%); }
:root[data-theme="dark"] .vq3-thumb { background: color-mix(in srgb, #fff 14%, transparent); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); }
.vq3-tab { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: center; gap: 5px; min-width: 0; height: 36px; margin: 0; padding: 0 6px;
  border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: .55; transition: opacity .25s, transform .35s cubic-bezier(.2, 1.3, .4, 1); }
.vq3-tab[aria-selected="true"] { opacity: 1; }
.vq3-tab:active { transform: scale(.96); transition-duration: .1s; }
.vq3-l { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.vq3-n { font-size: 19px; line-height: 36px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.vq3-u { margin-left: -3px; font-size: 11px; font-style: normal; opacity: .6; }
.vq3-tab[data-level="mid"] .vq3-n { color: #c98a2e; }
.vq3-tab[data-level="low"] .vq3-n { color: #e2564f; }
.vq3-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; margin: 8px 4px 6px; font-size: 11.5px; line-height: 18px; color: var(--dim); }
.vq3-what { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vq3-r { flex: none; font-variant-numeric: tabular-nums; }
.vq3-stage { position: relative; height: 78px; border-radius: 12px; cursor: pointer; transition: opacity .2s; }
.vq3-pane { position: absolute; inset: 0; margin: 0; padding: 0; max-width: none; width: auto; }
.vq3-pane[hidden] { display: none; }
.vq3-pane.in { animation: vq3-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vq3-in { from { opacity: 0; transform: translateY(6px) scale(.985); } }
/* 本周：原来的草地场景，靠下放 */
.vq3-pane.vq-panel { padding: 0; }
.vq3-pane .vq-scene { position: absolute; left: 0; right: 0; bottom: 0; min-height: 66px; margin: 0; pointer-events: none; }
/* 5 小时：屋里的壁炉 */
.vqh { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; background: #F6E7CB; pointer-events: none;
  box-shadow: inset 0 0 0 .5px rgba(107, 74, 48, .25); }
.vqh::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(#B98A5E, #B98A5E) 0 0 / 100% 3px no-repeat, #A67A50; }
.vqh-cv { position: absolute; left: 0; bottom: 6px; image-rendering: pixelated; pointer-events: none; opacity: 0; transition: opacity .3s; }
.vqh.is-ready .vqh-cv { opacity: 1; }
.vq3-pane[data-unknown="true"] .vqh { opacity: .5; }
:root[data-theme="dark"] .vqh { filter: brightness(.84) saturate(.95); }
@media (prefers-reduced-motion: reduce) { .vq3-thumb, .vq3-tab { transition: none; } .vq3-pane.in { animation: none; } }
