/* Decoy toy styles, shared by the lock page and the onboarding recorder.
   Uses CSS vars (--card, --line, --muted, --accent) defined by each page. */

/* ---------- shared motion tokens ---------- */
:root {
  --spring: cubic-bezier(.34, 1.56, .64, 1); /* press/pop overshoot */
}

/* ---------- decoy toys ---------- */
.toy {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 1px 2px rgba(0,0,0,.18),
    0 12px 32px rgba(0,0,0,.30),
    0 32px 72px rgba(0,0,0,.32);
  user-select: none; -webkit-user-select: none;
  animation: toyIn .3s cubic-bezier(.16,1,.3,1);
}
@keyframes toyIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.toy button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.toy button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.toy-hint { text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0 0; }

/* Calculator — iOS style */
.calc {
  background: #000; border-color: rgba(255,255,255,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 1px 2px rgba(0,0,0,.3),
    0 14px 34px rgba(0,0,0,.45),
    0 32px 72px rgba(0,0,0,.4);
}
.calc-screen {
  min-height: 92px; padding: 10px 8px 16px; display: flex; align-items: flex-end; justify-content: flex-end;
  color: #fff; font-size: 62px; font-weight: 200; line-height: 1.05; letter-spacing: -1px;
  font-variant-numeric: tabular-nums; overflow: hidden; text-align: right; word-break: break-all;
  text-shadow: 0 0 22px rgba(255,255,255,.1);
}
.calc-screen.tick { animation: calcTick .13s ease-out; }
@keyframes calcTick { from { opacity: .55; transform: translateY(2px); } }
.calc-keys { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 62px; gap: 11px; }
.calc-keys button {
  border: 0; border-radius: 999px; background: #333; color: #fff;
  font-size: 25px; font-weight: 500; display: grid; place-items: center; padding: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.4);
  transition: filter .12s ease, transform .16s var(--spring), background-color .12s ease, color .12s ease;
}
.calc-keys button:active { filter: brightness(1.55); transform: scale(.92); }
.calc-keys .k-fn { background: #a5a5a5; color: #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.4); }
.calc-keys .k-op { background: #ff9f0a; font-size: 29px; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(0,0,0,.4); }
.calc-keys .k-op.on { background: #fff; color: #ff9f0a; }
.calc-keys .k-tall { grid-row: span 2; }
.calc-keys .k-wide { grid-column: span 2; }

/* 2048 */
.g2048 {
  background: #faf8ef; border-color: #e8e0d0; color: #776e65;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 1px 2px rgba(80,70,50,.12),
    0 12px 32px rgba(80,70,50,.16),
    0 32px 72px rgba(0,0,0,.24);
}
.g-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.g-top > strong { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.g-scorebox {
  background: #bbada0; color: #fff; border-radius: 8px; padding: 5px 14px; text-align: center; min-width: 74px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(80,70,50,.18);
}
.g-scorebox span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #eee4da; }
.g-scorebox b { display: inline-block; font-size: 20px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.g-scorebox b.bump { animation: gScore .26s var(--spring); }
@keyframes gScore { 45% { transform: scale(1.28); } }
.g-board { position: relative; }
.g-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #bbada0; padding: 8px; border-radius: 10px; touch-action: none;
  box-shadow: inset 0 2px 6px rgba(80,70,50,.28), 0 1px 2px rgba(80,70,50,.12);
}
.g-cell {
  aspect-ratio: 1; border: 0; border-radius: 6px; background: #cdc1b4; padding: 0;
  font-weight: 800; font-size: 30px; color: #776e65; display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: background-color .15s ease, color .15s ease, transform .14s var(--spring), filter .15s ease;
}
.g-cell:active { transform: scale(.9); }
.g-cell.t0 { box-shadow: inset 0 1px 3px rgba(80,70,50,.22); }
.g-cell.t2{background:#eee4da}.g-cell.t4{background:#ede0c8}
.g-cell.t8{background:#f2b179;color:#f9f6f2}.g-cell.t16{background:#f59563;color:#f9f6f2}
.g-cell.t32{background:#f67c5f;color:#f9f6f2}.g-cell.t64{background:#f65e3b;color:#f9f6f2}
.g-cell.t128{background:#edcf72;color:#f9f6f2;font-size:26px}.g-cell.t256{background:#edcc61;color:#f9f6f2;font-size:26px}
.g-cell.t512{background:#edc850;color:#f9f6f2;font-size:26px}.g-cell.t1024{background:#edc53f;color:#f9f6f2;font-size:22px}
.g-cell.t2048{background:#edc22e;color:#f9f6f2;font-size:22px;box-shadow:0 0 18px rgba(237,194,46,.55),inset 0 1px 0 rgba(255,255,255,.35);animation:gGlow 2.2s ease-in-out infinite alternate}
@keyframes gGlow { to { box-shadow: 0 0 30px rgba(237,194,46,.8), inset 0 1px 0 rgba(255,255,255,.4); } }
.g-cell.tsuper{background:#3c3a32;color:#f9f6f2;font-size:20px}
.g-cell.g-new { animation: gPop .2s cubic-bezier(.16,1,.3,1); }
.g-cell.g-merge { animation: gMerge .22s cubic-bezier(.16,1,.3,1); }
.g-cell.t2048.g-new { animation: gPop .2s cubic-bezier(.16,1,.3,1), gGlow 2.2s ease-in-out infinite alternate; }
.g-cell.t2048.g-merge { animation: gMerge .22s cubic-bezier(.16,1,.3,1), gGlow 2.2s ease-in-out infinite alternate; }
@keyframes gPop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.07); opacity: 1; } }
@keyframes gMerge { 40% { transform: scale(1.22); } }
.g-msg {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: rgba(250,248,239,.86); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  border-radius: 10px; padding: 18px;
  font-weight: 800; font-size: 22px; color: #776e65; cursor: pointer;
  animation: gMsg .26s cubic-bezier(.16,1,.3,1);
}
@keyframes gMsg { from { opacity: 0; transform: scale(.94); } }
.g-msg small { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; color: #a89e92; }
.g-msg[hidden] { display: none; }
.g2048 .toy-hint { color: #a89e92; }

/* Weather */
.weather {
  background:
    radial-gradient(circle at 82% 8%, rgba(255,216,130,.38), rgba(255,216,130,0) 46%),
    linear-gradient(168deg, #4a90d9 0%, #2b5ea7 55%, #1d3f73 100%);
  border: 0; color: #fff; text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 1px 2px rgba(8,18,38,.22),
    0 14px 34px rgba(8,18,38,.34),
    0 32px 72px rgba(8,18,38,.3);
}
.wx-city { font-size: 21px; font-weight: 600; letter-spacing: .2px; }
.wx-cond { font-size: 14px; opacity: .85; margin-top: 1px; }
.wx-main { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.wx-icon { font-size: 46px; line-height: 1; filter: drop-shadow(0 3px 8px rgba(0,0,0,.3)); }
.wx-now { font-size: 74px; font-weight: 200; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; text-shadow: 0 4px 20px rgba(0,20,50,.35); }
.wx-hilo { font-size: 13px; opacity: .85; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.wx-days { display: flex; gap: 6px; }
.wx-days button {
  flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 10px 2px;
  background: rgba(255,255,255,.14); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: background-color .15s ease, transform .16s var(--spring), border-color .15s ease, box-shadow .15s ease;
}
.wx-days button:active, .wx-days button.on { background: rgba(255,255,255,.32); border-color: rgba(255,255,255,.3); }
.wx-days button:active { transform: scale(.93); }
.wx-days button.on { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px rgba(10,25,50,.25); }
.wx-d { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; opacity: .85; }
.wx-i { font-size: 16px; line-height: 1; }
.wx-days b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Clock */
.clock-face {
  position: relative; width: 232px; height: 232px; margin: 4px auto 14px; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #1b2340, #0c1122 72%);
  border: 1px solid var(--line);
  box-shadow: inset 0 2px 16px rgba(0,0,0,.6), inset 0 -1px 0 rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
}
.clock-face::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.3) 0deg .7deg, transparent .7deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent 85%, #000 86%);
  mask: radial-gradient(closest-side, transparent 85%, #000 86%);
}
.clock-face::after { /* glass reflection */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,0) 44%);
}
.clock-h {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #cfd8ff;
  font-size: 14px; font-weight: 600; z-index: 1; text-shadow: 0 1px 4px rgba(0,0,0,.5);
  transform: rotate(calc(var(--i) * 30deg)) translateY(-90px) rotate(calc(var(--i) * -30deg));
  transition: background-color .15s ease, box-shadow .15s ease;
}
.clock-h:active { background: rgba(255,255,255,.16); box-shadow: 0 0 0 1.5px rgba(207,216,255,.35); }
.hand { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 999px; pointer-events: none; }
.hh { width: 6px; height: 54px; margin-left: -3px; background: #eef2ff; box-shadow: 0 3px 8px rgba(0,0,0,.5); }
.hm { width: 4px; height: 78px; margin-left: -2px; background: #eef2ff; box-shadow: 0 3px 8px rgba(0,0,0,.5); }
.hs { width: 2px; height: 86px; margin-left: -1px; background: #ff5f57; box-shadow: 0 0 8px rgba(255,95,87,.55); }
.hs::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 20px; margin-left: -1px; background: #ff5f57; border-radius: 2px; }
.clock-dot {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px;
  border-radius: 50%; background: #ff5f57; border: 2.5px solid #0c1122; z-index: 2; pointer-events: none;
}
.clock-digital { text-align: center; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.clock-digital .sec { display: inline-block; font-size: 16px; font-weight: 400; color: var(--muted); animation: secTick .3s ease-out; }
@keyframes secTick { from { opacity: .2; transform: translateY(2px); } }
.clock-date { text-align: center; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 340px) {
  .clock-face { transform: scale(.86); margin: -12px auto 2px; }
}

/* Timer */
.timer { text-align: center; }
.timer-face { position: relative; width: 220px; height: 220px; margin: 2px auto 16px; }
.timer-ring { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.timer-ring circle { fill: none; stroke-width: 8; }
.timer-ring-bg { stroke: #232c47; }
.timer-ring-fg {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 552.92; stroke-dashoffset: 552.92;
  transition: stroke-dashoffset .95s linear, stroke .2s ease;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent));
}
.timer-disp {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 52px; font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: 1px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.timer.done .timer-disp { animation: tFlash .5s ease 4; }
.timer.done .timer-ring-fg { stroke: var(--err); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--err) 55%, transparent)); }
@keyframes tFlash { 50% { opacity: .25; } }
.timer-presets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.timer-presets button {
  border: 1px solid var(--line); border-radius: 999px; background: #1c2438; color: var(--fg);
  padding: 9px 16px; font-size: 15px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: background-color .15s ease, color .15s ease, transform .16s var(--spring), box-shadow .18s ease, border-color .15s ease;
}
.timer-presets button:active { transform: scale(.9); }
.timer-presets button.on {
  background: var(--accent); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 38%, transparent);
}
.timer-actions { display: flex; gap: 10px; }
.timer-go, .timer-reset {
  flex: 1; border: 0; border-radius: 12px; padding: 13px; font-size: 16px; font-weight: 600;
  transition: filter .15s ease, transform .16s var(--spring), background-color .15s ease, box-shadow .18s ease;
}
.timer-go { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 32%, transparent); }
.timer-go.on { background: #f2b544; color: #20180a; box-shadow: 0 6px 18px rgba(242,181,68,.3); }
.timer-reset { background: #1c2438; color: var(--fg); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.timer-go:active, .timer-reset:active { transform: scale(.96); filter: brightness(1.12); }

/* Tic-tac-toe */
.ttt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ttt-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ttt-status { font-size: 13px; color: var(--muted); font-weight: 600; }
.ttt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ttt-grid button {
  aspect-ratio: 1; border: 1px solid rgba(255,255,255,.05); border-radius: 14px; background: #1c2438; padding: 0;
  font-size: 40px; font-weight: 800; display: grid; place-items: center; color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 2px 6px rgba(0,0,0,.28);
  transition: background-color .15s ease, transform .16s var(--spring), box-shadow .18s ease;
}
.ttt-grid button:active { transform: scale(.92); }
.ttt-grid .v-x { color: #5b8cff; text-shadow: 0 0 18px rgba(91,140,255,.45); }
.ttt-grid .v-o { color: #f2b544; text-shadow: 0 0 18px rgba(242,181,68,.45); }
.ttt-grid .pop { animation: tttPop .24s var(--spring); }
@keyframes tttPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.14); opacity: 1; } }
.ttt-grid .win {
  background: rgba(91,140,255,.2);
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 14px color-mix(in srgb, var(--accent) 28%, transparent);
  animation: tttWin 1.5s ease-in-out infinite alternate;
}
@keyframes tttWin {
  from { box-shadow: inset 0 0 0 2px var(--accent), 0 0 10px color-mix(in srgb, var(--accent) 22%, transparent); }
  to { box-shadow: inset 0 0 0 2px var(--accent), 0 0 26px color-mix(in srgb, var(--accent) 45%, transparent); }
}
.ttt-reset {
  display: block; width: 100%; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #1c2438; color: var(--fg); padding: 12px; font-weight: 600; font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: filter .15s ease, transform .16s var(--spring);
}
.ttt-reset:active { transform: scale(.97); filter: brightness(1.2); }

/* Piano */
.piano { background: linear-gradient(180deg, #1b1f2a, #14171f); border-color: rgba(255,255,255,.07); }
.piano-title { text-align: center; font-weight: 700; font-size: 18px; margin-bottom: 12px; letter-spacing: -.01em; }
.piano-keys { position: relative; display: flex; height: 172px; border-radius: 4px 4px 10px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.piano-w {
  flex: 1; border: 1px solid #b9b4a8; border-left: 0; border-top: 0; border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f3ec 72%, #eae6da 100%); color: #8b8578; padding: 0 0 8px;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -5px 8px rgba(0,0,0,.1), 0 2px 3px rgba(0,0,0,.16);
  transition: transform .09s ease, background-color .09s ease, box-shadow .09s ease;
}
.piano-w:first-child { border-left: 1px solid #b9b4a8; }
.piano-w:active {
  transform: translateY(2px);
  background: linear-gradient(180deg, #ece8dd, #ddd8c9);
  box-shadow: inset 0 4px 10px rgba(0,0,0,.22), 0 1px 1px rgba(0,0,0,.12);
}
.piano-b {
  position: absolute; top: 0; left: calc((var(--p) + 1) * 12.5% - 4%); width: 8%; height: 58%; z-index: 1;
  border: 0; border-radius: 0 0 6px 6px; padding: 0;
  background: linear-gradient(180deg, #454b5a 0%, #191d26 55%, #0b0d12 100%);
  box-shadow: 0 5px 8px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -3px 4px rgba(255,255,255,.06);
  transition: transform .09s ease, background-color .09s ease, box-shadow .09s ease;
}
.piano-b:active {
  transform: translateY(2px);
  background: linear-gradient(180deg, #23262e, #05060a);
  box-shadow: 0 2px 4px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- desktop hover polish (never fights :active) ---------- */
@media (hover: hover) {
  .calc-keys button:hover:not(:active) { filter: brightness(1.18); }
  .g-cell:hover:not(:active) { filter: brightness(1.04); }
  .wx-days button:hover:not(:active):not(.on) { background: rgba(255,255,255,.24); }
  .clock-h:hover:not(:active) { background: rgba(255,255,255,.08); }
  .timer-presets button:hover:not(:active):not(.on) { background: #232c44; }
  .timer-go:hover:not(:active), .timer-reset:hover:not(:active) { filter: brightness(1.08); }
  .ttt-grid button:hover:not(:active) { background: #232c44; }
  .ttt-reset:hover:not(:active) { filter: brightness(1.12); }
  .piano-w:hover:not(:active) { background: linear-gradient(180deg, #ffffff, #f0ede4); }
  .piano-b:hover:not(:active) { background: linear-gradient(180deg, #3d4350, #14161d); }
}

@media (prefers-reduced-motion: reduce) {
  .toy, .toy *, .toy *::before, .toy *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .g-cell.t2048, .ttt-grid .win { animation: none !important; }
}
/* Everyday controls, scoped to cover apps so the recorder and installed PWA match. */
.toy [hidden]{display:none!important}.toy .app-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;font-size:12px;flex-wrap:wrap}.toy .app-toolbar label{font-size:11px;display:grid;gap:5px;margin:0;flex:1}.toy .app-toolbar button,.toy .app-confirm button,.toy .calc-extras button,.toy .wx-search button,.toy #wx-results button,.toy .timer-custom button{border:1px solid #ffffff25;border-radius:8px;padding:9px 12px;background:#ffffff12;color:inherit;font:600 12px system-ui;min-height:38px;cursor:pointer}.toy select,.toy input:not([type=checkbox]):not([type=range]){color:inherit;background:#ffffff10;border:1px solid #ffffff30;border-radius:8px;min-height:38px;font:inherit;padding:8px;width:100%;box-sizing:border-box}.toy select option{background:#1c2438;color:#eef2ff}.toy .app-confirm{background:#eee4da;border:1px solid #bbada0;border-radius:10px;padding:12px;margin-bottom:12px;font-size:13px}.toy .app-confirm>div{display:flex;gap:8px;margin-top:10px}.toy .g-scores{display:flex;gap:6px}.g2048 .g-scorebox{min-width:62px;padding:6px 9px}.g2048 .g-scorebox b{font-size:18px}.g2048 .app-toolbar button,.g2048 .app-confirm button{background:#8f7a66;color:#fff;border:0}.g2048 .app-toolbar{font-size:11px}.g-msg{border:0;color:#776e65;font:700 24px system-ui;cursor:pointer}.calc-extras{display:flex;gap:8px;margin:0 0 14px}.calc-extras button{flex:1;display:grid;place-items:center}.calc-history{max-height:180px;overflow:auto;border-bottom:1px solid #ffffff25;margin-bottom:12px;padding-bottom:10px;color:#b9b9bb;font-size:12px}.calc-history button{display:block;width:100%;text-align:right;background:none;border:0;color:inherit;padding:9px;font:inherit;cursor:pointer}.timer-custom{display:flex;gap:8px;align-items:end;margin:14px 0}.toy .timer-custom label{font-size:11px;display:grid;gap:5px;margin:0;flex:1}.toy .timer-custom input{padding:8px}.timer-custom button{height:38px}.ttt-scores{font-size:11px;font-variant-numeric:tabular-nums}.piano-controls{display:flex;gap:12px;align-items:center;margin:16px 0}.toy .piano-controls label{display:grid;gap:5px;font-size:11px;margin:0;flex:1;min-width:0}.toy .piano-controls input[type=range]{width:100%;accent-color:#bdabdf}.toy .piano-controls .sustain-label{display:flex;align-items:center;gap:5px}.piano-controls select{min-width:55px}.piano-w.playing{background:#cbd6ff!important;transform:translateY(3px)}.piano-b.playing{background:#656da3!important;transform:translateY(3px)}.toy .wx-search{display:flex;gap:8px;margin-bottom:12px}.toy .wx-search input{min-width:0;background:#ffffff25}.toy .wx-search input::placeholder{color:#ffffffe0}.toy #wx-results{display:grid;gap:5px;margin:10px 0}.toy #wx-results button{text-align:left}.wx-details{font-size:12px;text-align:center;margin:12px 0}.wx-credit{font-size:9px;line-height:1.6;color:#ffffffc9;margin:15px 0 0}.wx-credit a{color:inherit}.wx-icon svg{width:74px;height:74px}.wx-i svg{width:23px;height:23px}.weather .wx-days{overflow-x:auto;padding-bottom:6px}.weather .wx-days button{flex:1;min-width:32px}.weather .wx-city{font-size:25px;margin-top:16px}.weather .wx-cond{margin-top:5px}.toy .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.toy .storage-notice{margin:12px 0 0;font-size:11px}.toy button:focus-visible,.toy input:focus-visible,.toy select:focus-visible{outline:2px solid currentColor;outline-offset:3px}

.toy{min-width:0;max-width:100%}.piano-keys{touch-action:none}
