/* Appily Ninetyfive — Fizz Counter (account)
   Cherry + bubble mint on foam · Fugaz One + Maven Pro
   Siphon Gate (signed-out) · Fountain Tray (signed-in)
   Not latch / spine / typecase / vault / Harborline desk */

:root {
  --fz-ink: #15202B;
  --fz-cherry: #C21840;
  --fz-cherry-deep: #8E1230;
  --fz-bubble: #00D68F;
  --fz-bubble-deep: #00B877;
  --fz-foam: #EEFFF7;
  --fz-chrome: #FFFFFF;
  --fz-ice: #5B8DEF;
  --fz-mute: #44555E;
  --fz-border: rgba(21, 32, 43, 0.14);
  --fz-on-cherry: #FFF5F7;
  --fz-on-bubble: #04261A;

  --fz-display: "Fugaz One", "Arial Black", sans-serif;
  --fz-body: "Maven Pro", "Segoe UI", sans-serif;

  --fz-1: 8px;
  --fz-2: 16px;
  --fz-3: 24px;
  --fz-4: 32px;
  --fz-5: 48px;
  --fz-6: 64px;
  --fz-page: clamp(16px, 4vw, 32px);
  --fz-radius: 999px;
  --fz-radius-sm: 12px;
  --fz-shadow: 0 16px 40px rgba(21, 32, 43, 0.12);
  --fz-ease: cubic-bezier(0.34, 1.35, 0.64, 1);
  --fz-wipe: cubic-bezier(0.65, 0, 0.35, 1);
  --fz-fast: 220ms var(--fz-wipe);
  --fz-spring: 320ms var(--fz-ease);
}

@media (prefers-reduced-motion: reduce) {
  :root { --fz-fast: 0.01ms; --fz-spring: 0.01ms; }
}

*, *::before, *::after { box-sizing: border-box; }

body.fizz-counter {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fz-body);
  font-size: 1rem;
  color: var(--fz-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 45, 85, 0.16), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(0, 214, 143, 0.18), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(91, 141, 239, 0.12), transparent 45%),
    repeating-radial-gradient(circle at 20% 30%, rgba(255, 45, 85, 0.06) 0 2px, transparent 2px 18px),
    var(--fz-foam);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--fz-cherry); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; left: var(--fz-2); top: -100px; z-index: 1000;
  padding: 0.55rem 1rem; background: var(--fz-cherry); color: var(--fz-on-cherry);
  font-family: var(--fz-display); text-decoration: none; border-radius: var(--fz-radius);
}
.skip-link:focus { top: var(--fz-2); }

.container {
  width: min(960px, calc(100% - 2 * var(--fz-page)));
  margin-inline: auto;
}

/* Hop strip */
.a95-fizz-hop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--fz-2);
  padding: 0.85rem var(--fz-page);
  background: var(--fz-ink);
  color: var(--fz-foam);
}

.a95-fizz-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.a95-fizz-brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--fz-cherry);
  color: var(--fz-on-cherry);
  font-family: var(--fz-display);
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px var(--fz-bubble);
}

.a95-fizz-brand-word {
  font-family: var(--fz-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.a95-fizz-hops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.a95-fizz-hops a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: var(--fz-radius);
  border: 2px solid transparent;
  color: var(--fz-foam);
  font-family: var(--fz-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--fz-fast), border-color var(--fz-fast), color var(--fz-fast);
}

.a95-fizz-hops a:hover,
.a95-fizz-hops a[aria-current="page"] {
  background: var(--fz-bubble);
  color: var(--fz-on-bubble);
  border-color: var(--fz-bubble);
}

.a95-fizz-hops em {
  font-style: normal;
  background: var(--fz-cherry);
  color: var(--fz-on-cherry);
  border-radius: var(--fz-radius);
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
}

/* Page mast */
.a95-fizz-mast {
  padding: var(--fz-5) 0 var(--fz-3);
  text-align: center;
}

.a95-fizz-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--fz-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fz-cherry);
}

.a95-fizz-mast h1 {
  margin: 0 0 0.5rem;
  font-family: var(--fz-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.a95-fizz-lede {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--fz-mute);
  font-size: 1.05rem;
}

.a95-fizz-stage {
  padding-bottom: var(--fz-6);
}

.a95-fizz-loading {
  margin-bottom: var(--fz-3);
  padding: var(--fz-2);
  text-align: center;
  background: var(--fz-chrome);
  border: 2px dashed var(--fz-border);
  border-radius: var(--fz-radius-sm);
  font-weight: 600;
  color: var(--fz-mute);
}

/* ——— Siphon Gate (signed-out) ——— */
.a95-fizz-gate {
  display: grid;
  gap: var(--fz-3);
}

@media (min-width: 900px) {
  .a95-fizz-gate {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr);
    align-items: stretch;
  }
}

.a95-fizz-counter {
  background: linear-gradient(180deg, #E8EEF2 0%, #D5DEE6 100%);
  border: 3px solid var(--fz-ink);
  border-radius: 28px;
  padding: var(--fz-3);
  box-shadow: var(--fz-shadow);
}

.a95-fizz-levers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fz-2);
  margin-bottom: var(--fz-3);
  padding: var(--fz-2);
  background: var(--fz-ink);
  border-radius: 20px;
}

.a95-fizz-lever {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-height: 120px;
  padding: 1rem 0.75rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--fz-foam);
  cursor: pointer;
  font: inherit;
}

.a95-fizz-lever-knob {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FF6B85, var(--fz-cherry));
  border: 3px solid var(--fz-chrome);
  box-shadow:
    0 10px 0 var(--fz-cherry-deep),
    inset 0 -6px 10px rgba(0, 0, 0, 0.2);
  transition: transform var(--fz-spring), box-shadow var(--fz-spring), background var(--fz-fast);
}

.a95-fizz-lever[data-tab="register"] .a95-fizz-lever-knob {
  background: linear-gradient(145deg, #5CFFC0, var(--fz-bubble));
  box-shadow:
    0 10px 0 var(--fz-bubble-deep),
    inset 0 -6px 10px rgba(0, 0, 0, 0.18);
}

.a95-fizz-lever-stem {
  width: 10px;
  height: 28px;
  border-radius: 6px;
  background: #9AA8B5;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  transition: height var(--fz-spring);
}

.a95-fizz-lever-label {
  font-family: var(--fz-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.a95-fizz-lever.is-active .a95-fizz-lever-knob {
  transform: translateY(14px) scale(0.94);
  box-shadow:
    0 3px 0 var(--fz-cherry-deep),
    inset 0 -4px 8px rgba(0, 0, 0, 0.25);
}

.a95-fizz-lever[data-tab="register"].is-active .a95-fizz-lever-knob {
  box-shadow:
    0 3px 0 var(--fz-bubble-deep),
    inset 0 -4px 8px rgba(0, 0, 0, 0.22);
}

.a95-fizz-lever.is-active .a95-fizz-lever-stem {
  height: 14px;
}

.a95-fizz-lever.is-active .a95-fizz-lever-label {
  color: #007A5C;
}

.a95-fizz-lever[data-tab="signin"].is-active .a95-fizz-lever-label {
  color: #B01038;
}

/* Bubbles when active */
.a95-fizz-lever.is-active::after {
  content: "";
  position: absolute;
  bottom: 2.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fz-bubble);
  opacity: 0.85;
  animation: fz-bubble 1.4s var(--fz-ease) infinite;
}

.a95-fizz-lever[data-tab="signin"].is-active::after {
  background: #FF8FA3;
}

@keyframes fz-bubble {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(-36px) scale(1); opacity: 0; }
}

.a95-fizz-stream {
  position: relative;
  background: var(--fz-chrome);
  border-radius: var(--fz-radius-sm);
  padding: var(--fz-4);
  border: 2px solid var(--fz-border);
  overflow: hidden;
}

.a95-fizz-stream::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: var(--fz-cherry);
  transition: background var(--fz-fast);
}

#authSplitGate[data-active="register"] .a95-fizz-stream::before {
  background: var(--fz-bubble);
}

.a95-fizz-stream h2 {
  margin: 0 0 0.4rem;
  font-family: var(--fz-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.a95-fizz-lead {
  margin: 0 0 var(--fz-3);
  color: var(--fz-mute);
}

.auth-split-panel { display: none; }
.auth-split-panel.is-active { display: block; animation: fz-pour 360ms var(--fz-ease) both; }
.auth-split-panel[hidden] { display: none !important; }

@keyframes fz-pour {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.a95-fizz-form {
  display: grid;
  gap: var(--fz-2);
  max-width: 26rem;
}

.a95-fizz-field {
  display: grid;
  gap: 0.35rem;
  position: relative;
}

.a95-fizz-field > span,
.a95-fizz-subhead {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fz-mute);
  transition: color var(--fz-spring), transform var(--fz-spring);
}

.a95-fizz-field:focus-within > span {
  color: var(--fz-cherry);
  transform: translateY(-2px) scale(1.03);
}

.a95-fizz-field::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--fz-cherry), var(--fz-bubble));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--fz-wipe);
  pointer-events: none;
}

.a95-fizz-field:focus-within::after {
  transform: scaleX(1);
}

.a95-fizz-field input {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--fz-border);
  border-radius: var(--fz-radius);
  background: var(--fz-foam);
  font-family: var(--fz-body);
  font-size: 1rem;
  color: var(--fz-ink);
  transition: border-color var(--fz-fast), box-shadow var(--fz-fast);
}

.a95-fizz-field input:focus {
  outline: none;
  border-color: var(--fz-cherry);
  box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.15);
}

.a95-fizz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: var(--fz-radius);
  font-family: var(--fz-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--fz-spring), box-shadow var(--fz-spring), background var(--fz-fast);
}

.a95-fizz-btn--cherry {
  background: var(--fz-cherry);
  color: var(--fz-on-cherry);
  box-shadow: 0 8px 0 var(--fz-cherry-deep);
}

.a95-fizz-btn--cherry:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 var(--fz-cherry-deep);
}

.a95-fizz-btn--cherry:focus-visible {
  outline: 3px solid var(--fz-ink);
  outline-offset: 3px;
}

.a95-fizz-btn--bubble {
  background: var(--fz-bubble);
  color: var(--fz-on-bubble);
  box-shadow: 0 8px 0 var(--fz-bubble-deep);
}

.a95-fizz-btn--bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 var(--fz-bubble-deep);
}

.a95-fizz-btn--bubble:focus-visible {
  outline: 3px solid var(--fz-ink);
  outline-offset: 3px;
}

.a95-fizz-btn--ghost {
  background: transparent;
  color: var(--fz-ink);
  border: 2px solid var(--fz-ink);
  box-shadow: none;
}

.a95-fizz-btn--ghost:hover {
  background: var(--fz-ink);
  color: var(--fz-foam);
}

.a95-fizz-btn--ghost:focus-visible {
  outline: 3px solid var(--fz-cherry);
  outline-offset: 3px;
}

.a95-fizz-btn--sm {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

.a95-fizz-lever:focus-visible {
  outline: 3px solid var(--fz-bubble);
  outline-offset: 4px;
  border-radius: var(--fz-radius);
}

.a95-fizz-glass:focus-visible {
  outline: 3px solid var(--fz-cherry);
  outline-offset: 4px;
}

.a95-fizz-forgot {
  margin-top: var(--fz-4);
  padding-top: var(--fz-3);
  border-top: 2px dashed var(--fz-border);
}

.a95-fizz-perks {
  padding: var(--fz-3);
  background: var(--fz-ink);
  color: var(--fz-foam);
  border-radius: 24px;
}

.a95-fizz-perks h3 {
  margin: 0 0 var(--fz-2);
  font-family: var(--fz-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--fz-bubble);
}

.a95-fizz-perk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.a95-fizz-perk-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
}

.a95-fizz-perk-num {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--fz-cherry);
  color: var(--fz-on-cherry);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ——— Fountain Tray (signed-in) ——— */
.a95-fizz-desk {
  display: grid;
  gap: var(--fz-3);
}

.a95-fizz-napkin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--fz-2);
  padding: var(--fz-3);
  background: var(--fz-chrome);
  border: 3px solid var(--fz-ink);
  border-radius: 24px;
  box-shadow: var(--fz-shadow);
  position: relative;
  overflow: hidden;
}

.a95-fizz-napkin::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: repeating-linear-gradient(
    180deg,
    var(--fz-cherry) 0 10px,
    var(--fz-bubble) 10px 20px,
    var(--fz-ice) 20px 30px
  );
}

.a95-fizz-napkin-copy {
  padding-left: var(--fz-2);
}

.a95-fizz-chip {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--fz-radius);
  background: rgba(0, 214, 143, 0.18);
  color: var(--fz-bubble-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.a95-fizz-napkin h2 {
  margin: 0;
  font-family: var(--fz-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
}

.a95-fizz-napkin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

/* Soda-glass tabs */
.a95-fizz-glasses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.a95-fizz-glass {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 88px;
  height: 110px;
  padding: 0.4rem 0.35rem 0.55rem;
  border: 3px solid var(--fz-ink);
  border-radius: 10px 10px 18px 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: var(--fz-ink);
  transition: transform var(--fz-spring), border-color var(--fz-fast);
}

.a95-fizz-glass-liquid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: var(--fz-cherry);
  transition: height var(--fz-spring), background var(--fz-fast);
  opacity: 0.85;
}

.a95-fizz-glass[data-panel="orders"] .a95-fizz-glass-liquid { background: var(--fz-ice); }
.a95-fizz-glass[data-panel="password"] .a95-fizz-glass-liquid { background: var(--fz-ink); }
.a95-fizz-glass[data-panel="prefs"] .a95-fizz-glass-liquid { background: var(--fz-bubble); }

.a95-fizz-glass-label {
  position: relative;
  z-index: 1;
  font-family: var(--fz-display);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.1;
}

.a95-fizz-glass.is-active,
.a95-fizz-glass:hover {
  transform: translateY(-10px);
  border-color: var(--fz-cherry);
}

.a95-fizz-glass.is-active .a95-fizz-glass-liquid {
  height: 62%;
}

.a95-fizz-tray {
  background: rgba(255, 255, 255, 0.82);
  border: 3px solid var(--fz-ink);
  border-radius: 28px;
  padding: var(--fz-4);
  box-shadow: var(--fz-shadow);
  backdrop-filter: blur(8px);
  min-height: 280px;
}

.dash-panel { display: none; }
.dash-panel.is-active { display: block; animation: fz-pour 360ms var(--fz-ease) both; }
.dash-panel[hidden] { display: none !important; }

.a95-fizz-panel-head {
  margin-bottom: var(--fz-3);
}

.a95-fizz-panel-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--fz-2);
}

.a95-fizz-panel-head h3 {
  margin: 0 0 0.3rem;
  font-family: var(--fz-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.a95-fizz-panel-head p {
  margin: 0;
  color: var(--fz-mute);
  font-size: 0.95rem;
}

.a95-fizz-profile,
.a95-fizz-orders {
  font-size: 0.95rem;
}

/* Profile tiles — carbonate peek on hover (read / inspect) */
.a95-fizz-profile {
  display: grid;
  gap: 0.65rem;
}

.a95-fizz-profile .profile-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  background: var(--fz-foam);
  border: 2px solid var(--fz-border);
  border-radius: var(--fz-radius-sm);
  border-left: 5px solid var(--fz-ice);
  transition:
    border-left-color var(--fz-fast),
    transform var(--fz-spring),
    box-shadow var(--fz-fast),
    background var(--fz-fast);
  animation: fz-pour 400ms var(--fz-ease) both;
}

.a95-fizz-profile .profile-item:nth-child(1) { animation-delay: 40ms; border-left-color: var(--fz-cherry); }
.a95-fizz-profile .profile-item:nth-child(2) { animation-delay: 80ms; border-left-color: var(--fz-bubble); }
.a95-fizz-profile .profile-item:nth-child(3) { animation-delay: 120ms; border-left-color: var(--fz-ice); }
.a95-fizz-profile .profile-item:nth-child(4) { animation-delay: 160ms; border-left-color: var(--fz-cherry); }
.a95-fizz-profile .profile-item:nth-child(5) { animation-delay: 200ms; border-left-color: var(--fz-bubble); }
.a95-fizz-profile .profile-item:nth-child(6) { animation-delay: 240ms; border-left-color: var(--fz-ice); }
.a95-fizz-profile .profile-item:nth-child(7) { animation-delay: 280ms; border-left-color: var(--fz-ink); }

.a95-fizz-profile .profile-item:hover,
.a95-fizz-profile .profile-item:focus-within {
  transform: translateX(6px);
  background: var(--fz-chrome);
  box-shadow: 0 8px 20px rgba(21, 32, 43, 0.08);
  border-left-width: 8px;
}

.a95-fizz-profile .profile-item .k {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fz-mute);
}

.a95-fizz-profile .profile-item .v {
  font-weight: 600;
  font-size: 1.02rem;
  word-break: break-word;
}

.a95-fizz-profile .profile-item .v.mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88rem;
  color: var(--fz-mute);
}

.a95-fizz-orders .order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--fz-2);
  padding: var(--fz-2);
  margin-bottom: 0.65rem;
  background: var(--fz-foam);
  border: 2px solid var(--fz-border);
  border-radius: var(--fz-radius-sm);
}

.a95-fizz-orders .order-row .btn,
.a95-fizz-orders .order-row .btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border-radius: var(--fz-radius);
  background: #3D6FCB;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border: 0;
  cursor: pointer;
  transition: transform var(--fz-spring), background var(--fz-fast);
}

.a95-fizz-orders .order-row .btn:hover,
.a95-fizz-orders .order-row .btn-soft:hover {
  background: #2F5AA8;
  transform: translateY(-1px);
}

.a95-fizz-orders .order-row .btn:focus-visible,
.a95-fizz-orders .order-row .btn-soft:focus-visible {
  outline: 3px solid var(--fz-ink);
  outline-offset: 2px;
}

.a95-fizz-orders .mini-copy {
  color: var(--fz-mute);
  font-size: 0.85rem;
  margin: 0.15rem 0 0;
}

.notice {
  margin-bottom: var(--fz-2);
  padding: 0.85rem 1rem;
  border-radius: var(--fz-radius-sm);
  border: 2px solid var(--fz-border);
  background: var(--fz-chrome);
  font-weight: 600;
}

.notice.success {
  border-color: var(--fz-bubble);
  background: rgba(0, 214, 143, 0.12);
  color: var(--fz-bubble-deep);
}

.notice.warning {
  border-color: #F5A524;
  background: rgba(245, 165, 36, 0.14);
  color: #9A5B00;
}

.notice.error {
  border-color: var(--fz-cherry);
  background: rgba(255, 45, 85, 0.1);
  color: var(--fz-cherry-deep);
}

/* Preference toggles — bubble when on */
.a95-fizz-prefs {
  display: grid;
  gap: var(--fz-2);
}

.a95-fizz-switch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--fz-2);
  align-items: center;
  padding: var(--fz-2);
  background: var(--fz-foam);
  border: 2px solid var(--fz-border);
  border-radius: var(--fz-radius-sm);
  cursor: pointer;
}

.a95-fizz-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.a95-fizz-switch-ui {
  width: 52px;
  height: 30px;
  border-radius: var(--fz-radius);
  border: 2px solid var(--fz-border);
  background: #D5DEE6;
  position: relative;
  transition: background var(--fz-fast), border-color var(--fz-fast);
}

.a95-fizz-switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fz-chrome);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform var(--fz-spring), background var(--fz-fast);
}

.a95-fizz-switch input:checked + .a95-fizz-switch-ui {
  background: var(--fz-bubble);
  border-color: var(--fz-bubble-deep);
  animation: fz-pop 320ms var(--fz-ease);
}

.a95-fizz-switch input:checked + .a95-fizz-switch-ui::after {
  transform: translateX(22px);
  background: var(--fz-on-bubble);
}

@keyframes fz-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.a95-fizz-switch:has(input:checked) {
  border-color: var(--fz-bubble);
  background: rgba(0, 214, 143, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 214, 143, 0.18);
}

.a95-fizz-switch-copy {
  display: grid;
  gap: 0.15rem;
}

.a95-fizz-switch-copy strong {
  font-size: 0.95rem;
}

.a95-fizz-switch-copy small {
  color: var(--fz-mute);
  font-size: 0.8rem;
}

.toast {
  margin-top: var(--fz-3);
  padding: 0.85rem 1.1rem;
  border-radius: var(--fz-radius-sm);
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--fz-fast), transform var(--fz-spring);
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: var(--fz-ink);
  color: var(--fz-foam);
}

.toast.visible.success { background: var(--fz-bubble-deep); color: var(--fz-on-bubble); }
.toast.visible.error { background: var(--fz-cherry-deep); color: var(--fz-on-cherry); }
.toast.visible.warning { background: #C47A00; color: #FFF8E8; }

/* Footer tint on fizz pages */
body.fizz-counter .a95-colophon {
  background: var(--fz-ink);
  color: var(--fz-foam);
  border-top: 4px solid var(--fz-cherry);
}

body.fizz-counter .a95-colophon-word,
body.fizz-counter .a95-colophon-blurb,
body.fizz-counter .a95-colophon-col a,
body.fizz-counter .a95-colophon-contact,
body.fizz-counter .a95-colophon-base {
  color: var(--fz-foam);
}

body.fizz-counter .a95-colophon-col h4 { color: var(--fz-bubble); background: transparent; }
body.fizz-counter .a95-colophon-mark { background: var(--fz-cherry); color: var(--fz-on-cherry); }
body.fizz-counter .a95-scroll-top { background: var(--fz-bubble); color: var(--fz-on-bubble); border-color: var(--fz-ink); }

@media (max-width: 700px) {
  .a95-fizz-levers { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
  .a95-fizz-lever { min-height: 108px; }
  .a95-fizz-glass { width: 72px; height: 96px; }
  .a95-fizz-hops { width: 100%; }
}
