/* ==========================================================================
   versus.css
   Three additions to the pink swan letter: the versus game, the birthday
   calendar gate, and the voice-note bubble.
   Everything borrows the same glass-and-rosewater skin as index.html.
   Nothing here restyles anything that already exists there.
   ========================================================================== */

[hidden] { display: none !important; }


/* ==========================================================================
   1. THE VERSUS GAME
   ========================================================================== */

.vs {
  max-width: 980px;
  margin: clamp(80px, 12vw, 160px) auto 0;
}

/* ---------- header ---------- */

.vs__head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.vs__title {
  font-family: 'Italianno', cursive;
  font-weight: 400;
  font-size: clamp(46px, 8vw, 80px);
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}

.vs__sub {
  margin: 6px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- the two slots ---------- */

.vs__stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.vs__slot {
  width: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 22px;
  font: inherit;
  text-align: center;
  cursor: pointer;
  border-radius: 48px;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    0 20px 44px -14px rgba(170,95,120,.34),
    inset -10px -14px 30px rgba(255,255,255,.7);
  transition: box-shadow .45s ease, transform .45s cubic-bezier(.2,.7,.3,1);
}

.vs__slot:hover,
.vs__slot:focus-visible {
  transform: translate3d(0,-5px,0);
  box-shadow:
    0 32px 64px -16px rgba(170,95,120,.46),
    inset -10px -14px 30px rgba(255,255,255,.7);
}

.vs__slot.is-empty {
  border: 1px dashed rgba(201,139,160,.6);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.7), rgba(255,240,244,.5) 52%, rgba(248,214,224,.4) 100%);
  box-shadow:
    0 12px 28px -16px rgba(170,95,120,.24),
    inset -8px -12px 26px rgba(255,255,255,.5);
}

.vs__slotPortrait {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.92),
    0 14px 30px -12px rgba(170,95,120,.45);
}

.vs__slotGlyph {
  font-size: 46px;
  line-height: 1;
}

.vs__slotEmpty {
  font-size: 44px;
  line-height: 1;
  color: var(--hairline);
  opacity: .75;
}

.vs__slotName {
  font-family: 'Parisienne', cursive;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
}

.vs__slotFrom {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hairline);
}

.vs__versus {
  font-family: 'Italianno', cursive;
  font-size: 54px;
  line-height: 1;
  color: var(--hairline);
  opacity: .55;
  user-select: none;
}

/* ---------- controls ---------- */

.vs__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 16px 22px;
  margin-top: clamp(24px, 3.5vw, 38px);
}

.vs__control {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vs__controlLabel {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hairline);
  text-align: center;
}

.vs__select {
  appearance: none;
  -webkit-appearance: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  color: var(--rose);
  cursor: pointer;
  padding: 11px 42px 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.6 6 6.4 11 1.6' fill='none' stroke='%23c98ba0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      no-repeat right 18px center / 11px 7px,
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    0 12px 26px -12px rgba(170,95,120,.34),
    inset -6px -8px 18px rgba(255,255,255,.7);
  transition: box-shadow .35s ease;
}

.vs__select:focus {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(201,139,160,.28),
    0 12px 26px -12px rgba(170,95,120,.34),
    inset -6px -8px 18px rgba(255,255,255,.7);
}

/* ---------- actions ---------- */

.vs__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 32px);
}

.vs__fight {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  padding: 15px 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: linear-gradient(152deg, #c07a95, #a34e73 58%, #7d4159);
  box-shadow:
    0 22px 44px -16px rgba(125,65,89,.6),
    inset 0 1px 0 rgba(255,255,255,.4);
  transition: box-shadow .4s ease, transform .4s cubic-bezier(.2,.7,.3,1);
}

.vs__fight:hover,
.vs__fight:focus-visible {
  transform: translate3d(0,-3px,0);
  box-shadow:
    0 30px 56px -16px rgba(125,65,89,.66),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.vs__ghost {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  cursor: pointer;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1px solid rgba(201,139,160,.7);
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}

.vs__ghost:hover,
.vs__ghost:focus-visible {
  background: rgba(255,255,255,.45);
  box-shadow: 0 14px 30px -16px rgba(170,95,120,.4);
}

/* ---------- the result ---------- */

@keyframes vsRise {
  from { opacity: 0; transform: translate3d(0,26px,0); }
  to   { opacity: 1; transform: none; }
}

.vs__result {
  margin-top: clamp(34px, 5vw, 56px);
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 54px);
  border-radius: 48px;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    0 40px 90px -26px rgba(170,95,120,.4),
    inset -14px -20px 48px rgba(255,255,255,.7);
  animation: vsRise .8s cubic-bezier(.2,.7,.3,1);
}

.vs__verdict { text-align: center; }

.vs__verdictLead {
  display: block;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--hairline);
}

.vs__verdictName {
  font-family: 'Italianno', cursive;
  font-weight: 400;
  font-size: clamp(46px, 7vw, 80px);
  line-height: 1.04;
  color: var(--ink);
  margin: 4px 0 0;
}

.vs__verdictDiff {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201,139,160,.7);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ---------- odds ---------- */

.vs__odds {
  max-width: 420px;
  margin: clamp(24px, 3.4vw, 34px) auto 0;
}

.vs__oddsRow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.vs__oddsBar {
  flex: 1 1 auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 1px 3px rgba(170,95,120,.28);
  overflow: hidden;
}

.vs__oddsFill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d98aa8, #a34e73);
  transition: width .8s ease;
}

/* ---------- prose ---------- */

.vs__edge {
  font-family: 'Parisienne', cursive;
  font-size: 28px;
  line-height: 1.3;
  color: var(--rose);
  text-align: center;
  margin: clamp(26px, 3.6vw, 38px) 0 0;
}

.vs__how {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  max-width: 640px;
  margin: 14px auto 0;
  text-wrap: pretty;
}

/* ---------- analysis cards ---------- */

.vs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(30px, 4vw, 44px);
}

.vs__card {
  border-radius: 32px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.85);
  background: linear-gradient(158deg, rgba(255,255,255,.82), rgba(255,240,245,.62));
  box-shadow: inset -8px -12px 26px rgba(255,255,255,.6);
}

.vs__cardHead {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vs__cardPortrait {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.92),
    0 10px 22px -10px rgba(170,95,120,.45);
}

.vs__cardGlyph { font-size: 24px; line-height: 1; }

.vs__cardName {
  font-family: 'Parisienne', cursive;
  font-size: 26px;
  line-height: 1.16;
  color: var(--ink);
}

.vs__cardFrom {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hairline);
}

.vs__label {
  display: block;
  margin: 18px 0 8px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hairline);
}

.vs__list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.vs__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.vs__list li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 7px;
  line-height: 2.4;
  color: var(--hairline);
}

/* ---------- stat bars ---------- */

.vs__stats { margin-top: 4px; }

.vs__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.vs__stat > :first-child {
  flex: 0 0 60px;
  width: 60px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hairline);
}

.vs__stat > :last-child {
  flex: 0 0 24px;
  width: 24px;
  text-align: right;
  font-size: 15px;
  color: var(--rose);
}

.vs__statBar {
  flex: 1 1 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 1px 3px rgba(170,95,120,.26);
  overflow: hidden;
}

.vs__statFill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e0a3ba, #a34e73);
  transition: width .8s ease;
}

/* ---------- upset ---------- */

.vs__upset {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(201,139,160,.45);
  padding-top: 24px;
  margin-top: 24px;
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.vs__upsetTitle {
  display: block;
  font-family: 'Parisienne', cursive;
  font-style: normal;
  font-size: 27px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---------- roster picker ---------- */

.vs__picker {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(252,221,226,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.vs__pickerBox {
  width: 100%;
  max-width: 940px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    0 40px 90px -26px rgba(170,95,120,.4),
    inset -14px -20px 48px rgba(255,255,255,.7);
}

.vs__pickerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.vs__pickerTitle {
  font-family: 'Parisienne', cursive;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.vs__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201,139,160,.7);
  background: transparent;
  color: var(--rose);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease;
}

.vs__close:hover,
.vs__close:focus-visible {
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 22px -12px rgba(170,95,120,.45);
}

.vs__search {
  width: 100%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--rose);
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.6) 100%);
  box-shadow:
    0 12px 26px -14px rgba(170,95,120,.34),
    inset -6px -8px 18px rgba(255,255,255,.7);
  transition: box-shadow .35s ease;
}

.vs__search::placeholder { color: var(--hairline); opacity: 1; }

.vs__search:focus {
  outline: none;
  box-shadow:
    0 0 0 5px rgba(201,139,160,.26),
    0 12px 26px -14px rgba(170,95,120,.34),
    inset -6px -8px 18px rgba(255,255,255,.7);
}

.vs__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.vs__chip {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose);
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201,139,160,.7);
  background: transparent;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}

.vs__chip:hover { background: rgba(255,255,255,.5); }

.vs__chip.is-on {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: linear-gradient(152deg, #c98ba0, #a34e73);
  box-shadow: 0 12px 24px -14px rgba(125,65,89,.6);
}

.vs__roster {
  flex: 1 1 auto;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,139,160,.65) transparent;
}

.vs__roster::-webkit-scrollbar { width: 6px; }
.vs__roster::-webkit-scrollbar-track { background: transparent; }
.vs__roster::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(201,139,160,.65);
}

.vs__pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px;
  font: inherit;
  cursor: pointer;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    0 14px 30px -14px rgba(170,95,120,.34),
    inset -8px -10px 22px rgba(255,255,255,.7);
  transition: box-shadow .4s ease, transform .4s cubic-bezier(.2,.7,.3,1);
}

.vs__pick:hover,
.vs__pick:focus-visible {
  transform: translate3d(0,-4px,0);
  box-shadow:
    0 26px 48px -16px rgba(170,95,120,.46),
    inset -8px -10px 22px rgba(255,255,255,.7);
}

.vs__pickPortrait {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.92),
    0 10px 22px -10px rgba(170,95,120,.4);
}

.vs__pickGlyph { font-size: 30px; line-height: 1; }

.vs__pickName {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: pretty;
}

.vs__pickFrom {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hairline);
}

.vs__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 10px;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  opacity: .8;
}

/* ---------- versus responsive ---------- */

@media (max-width: 720px) {
  .vs__stage { grid-template-columns: 1fr; }
  .vs__versus { font-size: 46px; text-align: center; }
  .vs__slot { min-height: 200px; border-radius: 40px; }
  .vs__grid { grid-template-columns: 1fr; }
  .vs__result { border-radius: 38px; }
  .vs__pickerBox { border-radius: 34px; padding: 22px; max-height: 90vh; }
}

@media (max-width: 400px) {
  .vs__picker { padding: 12px; }
  .vs__pickerBox { padding: 18px 16px; border-radius: 28px; }
  .vs__card { padding: 20px; border-radius: 26px; }
  .vs__slot { padding: 22px 14px; }
  .vs__slotPortrait { width: 92px; height: 92px; }
  .vs__slotGlyph { font-size: 38px; }
  .vs__fight { padding: 14px 30px; letter-spacing: .16em; }
  .vs__ghost { padding: 14px 24px; letter-spacing: .14em; }
  .vs__roster { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
  .vs__select { max-width: 100%; }
  .vs__control { min-width: 0; max-width: 100%; }
}


/* ==========================================================================
   2. THE BIRTHDAY CALENDAR GATE
   ========================================================================== */

@keyframes gateShake {
  0%   { transform: translate3d(0,0,0); }
  25%  { transform: translate3d(-7px,0,0); }
  50%  { transform: translate3d(6px,0,0); }
  75%  { transform: translate3d(-4px,0,0); }
  100% { transform: translate3d(0,0,0); }
}

@keyframes gateGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163,78,115,.34); }
  50%      { box-shadow: 0 0 0 9px rgba(163,78,115,0); }
}

.gate {
  max-width: 420px;
  margin: 32px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(201,139,160,.45);
  text-align: center;
}

.gate.is-wrong { animation: gateShake .45s ease; }

.gate__title {
  font-family: 'Parisienne', cursive;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  margin: 0;
}

.gate__hint {
  margin: 6px 0 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: center;
  text-wrap: pretty;
}

.gate__cal {
  margin-top: 20px;
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    0 20px 44px -14px rgba(170,95,120,.34),
    inset -10px -14px 30px rgba(255,255,255,.7);
}

.gate__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gate__arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201,139,160,.7);
  background: transparent;
  color: var(--rose);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease;
}

.gate__arrow:hover,
.gate__arrow:focus-visible {
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 20px -12px rgba(170,95,120,.45);
}

.gate__month {
  flex: 1 1 auto;
  text-align: center;
  font-family: 'Italianno', cursive;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.05;
  color: var(--ink);
}

.gate__dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hairline);
  text-align: center;
}

.gate__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 6px;
}

.gate__day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .28s ease, color .28s ease;
}

.gate__day:hover,
.gate__day:focus-visible {
  background: rgba(255,255,255,.72);
  outline: none;
}

.gate__day.is-blank {
  pointer-events: none;
  opacity: 0;
}

.gate__day.is-right {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: linear-gradient(152deg, #c07a95, #a34e73);
  animation: gateGlow 1.8s ease-out infinite;
}

.gate__msg {
  margin-top: 12px;
  min-height: 22px;
  text-align: center;
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
  color: var(--rose);
  text-wrap: pretty;
}

@media (max-width: 400px) {
  .gate__cal { padding: 16px 12px; border-radius: 26px; }
  .gate__month { font-size: 32px; }
  .gate__day { font-size: 13px; }
  .gate__grid { gap: 2px; }
}


/* ==========================================================================
   3. THE AUDIO BUBBLE
   ========================================================================== */

@keyframes audioPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.09); }
}

.audio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px 16px 16px;
}

.audio__btn {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 0;
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.96), rgba(255,235,240,.78) 46%, rgba(248,199,212,.66) 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.92),
    0 14px 30px -12px rgba(170,95,120,.42);
  transition: box-shadow .4s ease, transform .4s cubic-bezier(.2,.7,.3,1);
}

.audio__btn:hover,
.audio__btn:focus-visible {
  transform: scale(1.05);
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.95),
    0 24px 46px -14px rgba(170,95,120,.56);
}

.audio__swan {
  width: 34px;
  height: auto;
  opacity: .8;
  transition: opacity .4s ease;
}

.audio.is-playing .audio__swan {
  opacity: 1;
  animation: audioPulse 2.4s ease-in-out infinite;
}

.audio__bar {
  flex: 0 0 auto;
  width: 120px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 1px 3px rgba(170,95,120,.28);
  overflow: hidden;
}

.audio__fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e0a3ba, #a34e73);
  transition: width .15s linear;
}

@media (max-width: 400px) {
  .audio { padding: 12px 20px 12px 12px; gap: 11px; }
  .audio__btn { width: 56px; height: 56px; }
  .audio__swan { width: 30px; }
  .audio__bar { width: 96px; }
}


/* ==========================================================================
   quiet mode
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .vs__result,
  .gate.is-wrong,
  .gate__day.is-right,
  .audio.is-playing .audio__swan {
    animation: none !important;
  }
  .vs__slot,
  .vs__fight,
  .vs__pick,
  .audio__btn {
    transition: box-shadow .45s ease;
  }
  .vs__slot:hover,
  .vs__fight:hover,
  .vs__pick:hover,
  .audio__btn:hover {
    transform: none;
  }
  .vs__oddsFill,
  .vs__statFill,
  .audio__fill {
    transition: none;
  }
}
