/* VOLADO — moneda para echar volado (águila o sol) */
.app-window-volado{ width:min(94vw,360px); }
.vol-body{ padding:18px 18px 20px; display:flex; flex-direction:column; align-items:center; gap:14px; font-family:var(--f-mono); color:var(--text); }
.vol-pick{ display:flex; gap:8px; align-items:center; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-muted); }
.vol-chip{ font:inherit; letter-spacing:inherit; text-transform:inherit; padding:6px 10px; border:1px solid var(--border-strong); background:transparent; color:var(--text); border-radius:999px; cursor:pointer; }
.vol-chip[aria-pressed="true"]{ background:var(--ui-accent); color:var(--on-ui, var(--text)); border-color:var(--text); }
.vol-stage{ position:relative; width:100%; height:270px; display:grid; place-items:end center; padding-bottom:26px; box-sizing:border-box; perspective:700px; cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.vol-toss{ position:relative; width:132px; height:132px; will-change:transform; }
.vol-coin{ position:absolute; inset:0; transform-style:preserve-3d; will-change:transform; }
.vol-face{ position:absolute; inset:0; border-radius:50%; backface-visibility:hidden; -webkit-backface-visibility:hidden; display:grid; place-items:center;
  border:2px solid var(--text);
  background:
    radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--system-light) 85%, #fff) 0, var(--ui-accent) 46%, color-mix(in srgb, var(--system-dark) 70%, var(--ui-accent)) 100%);
  box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--ui-accent) 70%, #fff), inset 0 0 0 7.5px color-mix(in srgb, var(--text) 55%, transparent); }
.vol-face.tails{ transform:rotateX(180deg); }
.vol-face svg{ width:62%; height:62%; }
.vol-face .g-line{ stroke:var(--text); stroke-width:2.2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.vol-face .g-fill{ fill:var(--text); stroke:none; }
.vol-shadow{ position:absolute; bottom:12px; left:50%; width:96px; height:12px; margin-left:-48px; border-radius:50%; background:var(--text); opacity:.16; filter:blur(5px); }
.vol-result{ min-height:2.6rem; text-align:center; font-family:var(--f-serif); font-size:2.3rem; line-height:1; letter-spacing:-.01em; }
.vol-verdict{ min-height:14px; font-size:10.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--text-muted); margin-top:-6px; }
.vol-btn{ font:inherit; font-size:11px; letter-spacing:.2em; text-transform:uppercase; padding:10px 22px; border:1.5px solid var(--text); background:var(--surface); color:var(--text); border-radius:999px; cursor:pointer; box-shadow:2px 3px 0 var(--tile-shadow, var(--text)); }
.vol-btn:active{ transform:translate(2px,2px); box-shadow:0 0 0 var(--text); }
.vol-btn[disabled]{ opacity:.5; }
.vol-tally{ width:100%; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--border); padding-top:12px; font-size:11px; letter-spacing:.08em; font-variant-numeric:tabular-nums; }
.vol-tally > span:first-child{ display:flex; gap:12px; }
.vol-tally b{ font-weight:400; color:var(--text-muted); letter-spacing:.14em; font-size:9.5px; margin-right:5px; text-transform:uppercase; }
.vol-hist{ display:flex; gap:4px; justify-content:center; flex:1; }
.vol-hist i{ width:9px; height:9px; border-radius:50%; border:1px solid var(--text); background:var(--ui-accent); }
.vol-hist i.t{ background:transparent; }
.vol-reset{ font:inherit; font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; background:none; border:0; color:var(--text-muted); cursor:pointer; padding:4px; }
@media (max-width:700px){ .app-window-volado{ width:min(calc(100vw - 14px), 360px); } }
