/* Blue/gold tactile feedback. Decorative effects never trigger business actions. */
.btn {
  position: relative; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -2px 0 rgba(96,60,10,.13), 0 3px 0 rgba(14,28,49,.28), 0 6px 12px rgba(15,30,52,.16);
  transition: transform 120ms ease, box-shadow 160ms ease, background-color 150ms, border-color 150ms;
}
.btn--ghost { box-shadow: inset 0 1px 0 rgba(208,225,250,.09), 0 2px 0 rgba(14,28,49,.2), 0 4px 10px rgba(15,30,52,.09); }
.btn:not(.btn--ghost):not(.btn--danger) { box-shadow: inset 0 1px 0 rgba(255,255,255,.32),inset 0 -2px 0 rgba(96,60,10,.13),0 3px 0 rgba(14,28,49,.28),0 6px 12px rgba(15,30,52,.16); }
.btn:not(:disabled):active,.btn.ui-pressed:not(:disabled) { transform: scale(.975); box-shadow: inset 0 2px 4px rgba(21,32,49,.25), 0 1px 0 rgba(210,225,250,.08); }
.btn.ui-rebound { animation: ui-key-release 240ms ease-out; }
@keyframes ui-key-release { 0%{transform:scale(.975)} 55%{transform:scale(1.012)} 100%{transform:scale(1)} }
.btn:disabled { cursor: wait; }
.btn.is-busy,.btn.is-success { color: transparent !important; }
.btn.is-busy > *,.btn.is-success > * { visibility: hidden; }
.btn.is-busy::after,.btn.is-success::after { content: ''; position: absolute; width: 17px; height: 17px; left: calc(50% - 9px); top: calc(50% - 9px); pointer-events: none; }
.btn.is-busy::after { border: 2px solid rgba(45,65,92,.25); border-top-color: #294567; border-radius: 50%; animation: ui-busy-spin 750ms linear infinite; }
.btn--ghost.is-busy::after { border-color: rgba(255,223,167,.25); border-top-color: #ffdfa7; }
.btn.is-success::after { width: 9px; height: 16px; left: calc(50% - 5px); top: calc(50% - 11px); border-right: 2px solid #294567; border-bottom: 2px solid #294567; transform: rotate(42deg); animation: ui-confirm 220ms ease-out; }
.btn--ghost.is-success::after { border-color: #ffdfa7; }
@keyframes ui-busy-spin { to { transform: rotate(360deg); } }
@keyframes ui-confirm { from { opacity: 0; scale: .75; } to { opacity: 1; scale: 1; } }
.intro__cta .btn,.plaza-panel .chips .btn { overflow: hidden; }
.btn.ui-ripple::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 380px; height: 380px; border-radius: 50%; left: calc(var(--tap-x,50%) - 190px); top: calc(var(--tap-y,50%) - 190px); background: rgba(255,241,206,.3); animation: ui-fill 550ms ease-out both; }
@keyframes ui-fill { from { transform: scale(0); opacity: .7; } to { transform: scale(1); opacity: 0; } }
.ui-feedback-notice { position: fixed; z-index: 1500; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; width: max-content; max-width: min(560px,calc(100vw - 32px)); padding: 14px 16px 14px 20px; border-radius: 12px; border: 1px solid rgba(244,196,108,.55); background: linear-gradient(135deg,#3d587d,#293f60); color: #f7ebd5; box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 10px 35px rgba(12,25,44,.35); font-size: 13px; line-height: 1.7; }
.ui-feedback-notice::before { content: '✓'; color: #f5ce86; font-size: 19px; flex: 0 0 auto; }
.ui-feedback-notice[data-kind=warning]::before { content: '!'; }
.ui-feedback-notice button { color: inherit; border: 0; background: transparent; width: 32px; min-height: 32px; cursor: pointer; font-size: 22px; flex: 0 0 auto; }
.pause-control-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: currentColor; }
.pause-control-icon path { transform-origin: center; transition: opacity 160ms,transform 200ms; }
.pause-control-icon .play-shape { opacity: 0; transform: rotate(-12deg) scale(.8); }
.pause-control-icon[data-paused=true] .play-shape { opacity: 1; transform: none; }
.pause-control-icon[data-paused=true] .pause-shape { opacity: 0; transform: rotate(12deg) scale(.8); }
@media (hover:hover) and (pointer:fine) {
  .intro__cta .btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4),0 3px 0 rgba(14,28,49,.23),0 9px 22px rgba(244,196,108,.18); }
  .scard:hover { border-color: rgba(244,196,108,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(14,29,52,.16); }
}
@media (prefers-reduced-motion:reduce) {
  .btn,.btn::before,.btn::after,.pause-control-icon path { animation: none !important; transition: none !important; }
  .btn.ui-pressed,.btn.ui-rebound,.intro__cta .btn:hover { transform: none; }
  .btn.ui-ripple::before { display: none; }
}
