/* Alliance LXP booth — mobile first. Most visitors arrive by scanning a QR
   code with their own phone, so the phone layout is the real one and the
   desktop width is just a centred column. */

:root {
  --brand:        #18469d;
  --brand-mid:    #2655ac;
  --brand-deep:   #143a84;
  --accent:       #b26b00;
  --accent-light: #c97a08;
  --accent-deep:  #a35f00;

  /* The Alliance crest itself, sampled from the logo artwork. */
  --crest-navy-1:   #1e2636;
  --crest-navy-2:   #243049;
  --crest-navy-3:   #2f3c57;
  --crest-maroon-1: #712122;
  --crest-maroon-2: #8e2b2c;
  --crest-maroon-3: #a03334;

  --ink:        #0f172a;
  --ink-soft:   #334155;
  --muted:      #64748b;
  --line:       #e3e8f0;
  --surface:    #ffffff;
  --page:       #f4f6fa;
  --tint:       #f0f4fb;
  --good:       #0f8a5f;
  --good-tint:  #e7f6ef;
  --warn-tint:  #fdf3e2;
  --bad-tint:   #fdecec;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* The booth screens are short on content and tall on device. Without a
     min-height the gradient stops where the content does and leaves a band
     of flat colour below it. */
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

body.is-welcome, body.is-reward, body.is-done {
  background: linear-gradient(170deg, var(--brand) 0%, var(--brand-deep) 55%, #0e2b63 100%);
  color: #fff;
}

.shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* --- masthead ---------------------------------------------------------- */
/* The Alliance logo artwork is white, so the masthead is always a blue bar —
   on the light screens as well. One treatment everywhere beats two. */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(100deg, var(--brand-deep), var(--brand-mid));
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(20, 58, 132, .22);
}
.logo { height: 34px; width: auto; display: block; }
.tagline {
  flex: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px;
  padding: 3px 9px;
}
body.is-welcome .masthead, body.is-reward .masthead, body.is-done .masthead {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: none;
}

/* --- progress ---------------------------------------------------------- */

.steps {
  display: flex; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0;
}
.steps li {
  flex: 1; display: flex; flex-direction: column; gap: 5px;
  font-size: 11px; color: var(--muted); letter-spacing: .01em;
}
.steps .dot { height: 4px; border-radius: 999px; background: var(--line); display: block; }
.steps .now .dot  { background: var(--brand); }
.steps .done .dot { background: var(--brand-mid); opacity: .55; }
.steps .now  { color: var(--brand); font-weight: 600; }

/* --- card -------------------------------------------------------------- */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 26px;
}
body.is-welcome .card, body.is-reward .card, body.is-done .card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  color: #fff;
  text-align: center;
}

/* --- type -------------------------------------------------------------- */

h1 { font-size: 27px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.015em; }
.h2 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.01em; }
.h3 { font-size: 15px; margin: 26px 0 8px; letter-spacing: -.005em; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; opacity: .75; margin: 0 0 8px;
}
.eyebrow a { color: inherit; }

.lede { font-size: 16px; color: var(--ink-soft); margin: 0 0 18px; }
.lede.small { font-size: 15px; }
body.is-welcome .lede, body.is-reward .lede, body.is-done .lede { color: rgba(255,255,255,.88); }

.hint  { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.fine  { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
body.is-welcome .fine, body.is-reward .fine, body.is-done .fine { color: rgba(255,255,255,.7); }
.muted { color: var(--muted); }
.opt   { color: var(--muted); font-weight: 400; font-size: 12px; }

/* --- welcome beats ----------------------------------------------------- */

.beats { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; }
.beats li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.beats li:last-child { border-bottom: 0; }
.beat-n {
  flex: none; width: 26px; height: 26px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.15); font-size: 13px; font-weight: 700;
}

.checklist { margin: 0 0 22px; padding-left: 20px; color: var(--ink-soft); }
.checklist li { margin-bottom: 7px; }

/* --- buttons ----------------------------------------------------------- */

.btn {
  display: block; width: 100%;
  padding: 15px 20px;
  border: 0; border-radius: 12px;
  font: 600 16px/1.2 inherit;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform .06s ease, opacity .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
body.is-welcome .btn-primary, body.is-reward .btn-primary, body.is-done .btn-primary {
  background: #fff; color: var(--brand);
}
.btn-ghost {
  background: transparent; color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
body.is-welcome .btn-ghost, body.is-reward .btn-ghost, body.is-done .btn-ghost {
  color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.btn[disabled] { opacity: .55; cursor: default; }
.btn-small { width: auto; display: inline-block; padding: 9px 14px; font-size: 14px; }

/* --- forms ------------------------------------------------------------- */

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); padding: 0;
}
input[type="text"], input[type="tel"], input[type="email"],
input[type="password"], textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 11px;
  font: 400 16px/1.4 inherit; color: var(--ink); background: #fff;
}
input:focus, textarea:focus, .choice:focus-within, .radio:focus-within {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
textarea { resize: vertical; }

.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio, .choice {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 11px;
  font-size: 14.5px; cursor: pointer; background: #fff;
}
.radio:has(input:checked), .choice:has(input:checked) {
  border-color: var(--brand); background: var(--tint);
}
.choices { display: flex; flex-direction: column; gap: 9px; }
.choice { font-size: 15.5px; }

.consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.45;
}
.consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; }

.err { color: #b3261e; font-size: 13px; margin: 2px 0 0; }
.alert {
  background: var(--bad-tint); color: #8c1d18;
  padding: 11px 13px; border-radius: 10px; font-size: 14px; margin-bottom: 14px;
}

/* --- quiz verdict ------------------------------------------------------ */

.verdict { padding: 12px 14px; border-radius: 11px; font-size: 14.5px; margin-bottom: 14px; }
.verdict.right { background: var(--good-tint); color: #0b5c40; }
.verdict.wrong { background: var(--warn-tint); color: #7a4a00; }

.answers { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; }
.answers li {
  padding: 11px 13px; border-radius: 10px; font-size: 14.5px;
  border: 1.5px solid var(--line); color: var(--muted);
}
.answers .is-answer { border-color: var(--good); color: #0b5c40; background: var(--good-tint); font-weight: 600; }
.answers .is-chosen { border-color: #d98b00; color: #7a4a00; background: var(--warn-tint); }

/* --- wheel ------------------------------------------------------------- */

.wheel-stage {
  position: relative; width: min(300px, 78vw); aspect-ratio: 1;
  margin: 6px auto 24px;
}
.wheel-pointer {
  position: absolute; top: -6px; left: 50%; translate: -50% 0; z-index: 3;
  width: 0; height: 0;
  border-left: 13px solid transparent; border-right: 13px solid transparent;
  /* Gold, not crest navy or maroon: the pointer sits over both of those and
     would disappear into whichever segment stopped beneath it. */
  border-top: 22px solid #e8a33d;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
}
.wheel {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 7px #fff, 0 0 0 9px var(--crest-navy-1), 0 14px 32px rgba(30,38,54,.3);
  /* Sampled from the Alliance crest: navy #1e2636 and maroon #712122.
     Navy and maroon alternate so the two prize bases read apart by hue, and
     each pair shifts in lightness so adjacent segments separate in greyscale
     and for a colour-blind reader too. The segment labels carry the basis in
     words regardless — colour is never the only cue. */
  background: conic-gradient(
    var(--crest-navy-2)     0deg  60deg,
    var(--crest-maroon-2)  60deg 120deg,
    var(--crest-navy-1)   120deg 180deg,
    var(--crest-maroon-3) 180deg 240deg,
    var(--crest-navy-3)   240deg 300deg,
    var(--crest-maroon-1) 300deg 360deg
  );
  transform: rotate(0deg);
}
.wheel.is-spinning { transition: transform 4.6s cubic-bezier(.17, .67, .18, 1); }

.seg {
  position: absolute; inset: 0;
  display: grid; justify-items: center;
  transform: rotate(calc(var(--i) * (360deg / var(--segments)) + (180deg / var(--segments))));
  pointer-events: none;
}
.seg-label {
  margin-top: 12%;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: #fff; text-align: center; width: 5.6em;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.seg-label strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.seg-label em {
  font-style: normal; font-size: 9.5px; line-height: 1.2;
  letter-spacing: .02em; opacity: .95;
}
.wheel-hub {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 20%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.28); z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .wheel.is-spinning { transition: transform .4s linear; }
}

/* --- reward ------------------------------------------------------------ */

.prize-headline {
  font-size: 68px; line-height: 1; font-weight: 800;
  margin: 2px 0 2px; letter-spacing: -.045em;
}
.prize-headline .off { font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.prize-basis { font-size: 18px; margin: 0 0 14px; color: rgba(255,255,255,.92); }
.prize-note {
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.84);
  margin: 0 auto 20px; max-width: 32ch;
}

.coupon {
  background: #fff; color: var(--ink);
  border-radius: 13px; padding: 16px 14px; margin: 0 0 20px;
}
.coupon-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 6px;
}
.coupon-code {
  font: 800 26px/1.1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .04em; margin: 0 0 6px; color: var(--brand);
}
.coupon-expiry { font-size: 13px; color: var(--muted); margin: 0; }

.terms { text-align: left; margin: 0 0 22px; }
.terms h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; margin: 0 0 8px; }
.terms ul { margin: 0; padding-left: 19px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.88); }
.terms li { margin-bottom: 5px; }

/* --- feedback ---------------------------------------------------------- */

.ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.rating {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 15px 8px; border: 1.5px solid var(--line); border-radius: 13px;
  cursor: pointer; background: #fff;
}
.rating:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.rating input { position: absolute; opacity: 0; pointer-events: none; }
.rating .emoji { font-size: 28px; line-height: 1; }
.rating-name { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* --- staff ------------------------------------------------------------- */

body.is-staff .shell { max-width: 860px; }
.staff-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.staff-actions { display: flex; gap: 8px; align-items: center; }
.inline { display: inline; margin: 0; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 6px; }
.tile {
  background: var(--tint); border-radius: 12px; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.tile-n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.tile-l { font-size: 12.5px; color: var(--muted); }

.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid th, .grid td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.grid th { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.grid .num { text-align: right; font-variant-numeric: tabular-nums; }
.grid code { font-size: 13px; }
.grid a { color: var(--brand); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 14.5px; margin: 14px 0 22px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.status-pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin: 0 0 4px;
}
.status-valid    { background: var(--good-tint); color: #0b5c40; }
.status-redeemed { background: var(--tint);      color: var(--brand); }
.status-expired  { background: var(--bad-tint);  color: #8c1d18; }

/* --- footer ------------------------------------------------------------ */

.footnote { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
body.is-welcome .footnote, body.is-reward .footnote, body.is-done .footnote { color: rgba(255,255,255,.6); }


/* ======================================================================== */
/* Visual layer                                                             */
/* ======================================================================== */

.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; }
.ic-inline { width: 15px; height: 15px; vertical-align: -2px; margin-right: 3px; }
#i-sparkle, .ic use[href="#i-sparkle"] { fill: currentColor; }

/* Soft colour wash behind the light screens, so a white card is not the
   whole page. */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb-a { width: 320px; height: 320px; top: -120px; right: -90px; background: #cddcf5; }
.orb-b { width: 300px; height: 300px; bottom: -130px; left: -100px; background: #fae2bd; }
body.is-welcome .backdrop, body.is-reward .backdrop, body.is-done .backdrop { display: none; }

/* --- progress steps, now with icons ------------------------------------ */

.steps li { align-items: center; text-align: center; gap: 4px; }
.steps .dot {
  height: 34px; width: 34px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto;
  background: #fff; color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: all .2s ease;
}
.steps .dot .ic { width: 17px; height: 17px; }
.steps .now .dot  { background: var(--brand); color: #fff; box-shadow: 0 3px 10px rgba(24,70,157,.32); }
.steps .done .dot { background: var(--good-tint); color: var(--good); box-shadow: inset 0 0 0 1.5px #bfe5d4; }
.step-name { font-size: 10.5px; }

/* --- welcome ------------------------------------------------------------ */

.burst {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 2px auto 16px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
}
.burst-ic { width: 36px; height: 36px; color: #fff; stroke-width: 1.6; }
.burst-win {
  background: linear-gradient(160deg, #ffd27a, #e8a33d);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 8px 26px rgba(232, 163, 61, .4);
}
.burst-win .burst-ic { color: #5a3b00; }

.beats li { align-items: center; gap: 13px; padding: 11px 0; }
.beats li span:last-child { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.beats strong { font-size: 15px; font-weight: 600; }
.beats em { font-style: normal; font-size: 12.5px; opacity: .72; }
.beat-n { width: 38px; height: 38px; border-radius: 11px; color: #fff; }
.beat-n .ic { width: 19px; height: 19px; }

/* --- explore ------------------------------------------------------------ */

.station {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--tint); border: 1px solid #d6e2f6;
  border-radius: 13px; padding: 14px 15px; margin: 0 0 18px;
}
.station-ic { width: 26px; height: 26px; color: var(--brand); margin-top: 1px; }
.station p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.station strong { color: var(--ink); display: block; margin-bottom: 2px; }
.url {
  font: 600 13.5px/1 ui-monospace, "SF Mono", Menlo, monospace;
  background: #fff; border: 1px solid #d6e2f6; border-radius: 6px;
  padding: 2px 6px; color: var(--brand); white-space: nowrap;
}

.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li span:last-child { display: flex; flex-direction: column; gap: 1px; }
.checklist strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.checklist em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.chk {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--tint); color: var(--brand);
}

/* --- quiz --------------------------------------------------------------- */

.choice { gap: 12px; }
.choice-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--tint); color: var(--brand);
  font-size: 12.5px; font-weight: 700;
}
.choice:has(input:checked) .choice-mark { background: var(--brand); color: #fff; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

.verdict { display: flex; gap: 10px; align-items: center; }
.verdict .ic { width: 19px; height: 19px; }
.answers li { display: flex; gap: 9px; align-items: center; }
.answers .ic { width: 17px; height: 17px; color: var(--good); }

/* --- reward ------------------------------------------------------------- */

.coupon-top { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 7px; }
.coupon-top .ic { width: 17px; height: 17px; color: var(--muted); }
.coupon-label { margin: 0; }
.coupon {
  border: 2px dashed #c7d4ea;
  position: relative;
}
.screenshot-nudge {
  font-size: 13px; color: rgba(255, 255, 255, .9);
  margin: -8px 0 20px;
}

.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: var(--radius); }
.confetti .c {
  position: absolute; top: -14px; width: 7px; height: 12px; border-radius: 2px;
  opacity: 0; animation: fall 3.4s ease-in forwards;
}
.confetti .c1  { left:  6%; background: #ffd27a; animation-delay: .05s; }
.confetti .c2  { left: 15%; background: #fff;    animation-delay: .32s; }
.confetti .c3  { left: 24%; background: #7fb2ff; animation-delay: .14s; }
.confetti .c4  { left: 33%; background: #ffd27a; animation-delay: .54s; }
.confetti .c5  { left: 42%; background: #fff;    animation-delay: .23s; }
.confetti .c6  { left: 51%; background: #9fd8bb; animation-delay: .68s; }
.confetti .c7  { left: 60%; background: #ffd27a; animation-delay: .40s; }
.confetti .c8  { left: 69%; background: #7fb2ff; animation-delay: .10s; }
.confetti .c9  { left: 78%; background: #fff;    animation-delay: .60s; }
.confetti .c10 { left: 87%; background: #ffd27a; animation-delay: .28s; }
.confetti .c11 { left: 94%; background: #9fd8bb; animation-delay: .46s; }
.confetti .c12 { left: 70%; background: #fff;    animation-delay: .80s; }

@keyframes fall {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(420px) rotate(520deg); }
}
@media (prefers-reduced-motion: reduce) {
  .confetti { display: none; }
}

body.is-reward .card { position: relative; overflow: hidden; }

/* --- staff -------------------------------------------------------------- */

body.is-staff .masthead { margin-bottom: 18px; }


/* --- AlliO -------------------------------------------------------------- */
/* Always in normal flow. Nothing here is positioned over the page, so the
   mascot can never come to rest on top of an input on a narrow screen. */

.allio { display: flex; align-items: flex-end; gap: 12px; justify-content: center; }
.allio img { display: block; width: auto; height: 100%; object-fit: contain; }

.allio-xl { height: 200px; margin: 0 auto 14px; }
.allio-lg { height: 150px; margin: 0 auto 14px; }
.allio-md { height: 104px; margin: 0 0 16px; }
.allio-sm { height: 76px;  margin: 0 0 12px; }

.allio-xl img { height: 200px; }
.allio-lg img { height: 150px; }
.allio-md img { height: 104px; }
.allio-sm img { height: 76px; }

.allio-talks { justify-content: flex-start; text-align: left; }

.allio-bubble {
  position: relative;
  margin: 0 0 10px;
  padding: 11px 14px;
  background: var(--tint);
  border: 1px solid #d6e2f6;
  border-radius: 14px 14px 14px 3px;
  font-size: 14px; line-height: 1.45; color: var(--ink-soft);
}
.allio-bubble::after {
  content: ""; position: absolute; left: -7px; bottom: 0;
  border: 6px solid transparent;
  border-right-color: #d6e2f6; border-bottom-color: #d6e2f6;
}
.allio-name {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 2px;
}

/* On the dark screens the bubble has to invert or it disappears. */
body.is-welcome .allio-bubble,
body.is-reward .allio-bubble,
body.is-done .allio-bubble {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .92);
}
body.is-welcome .allio-bubble::after,
body.is-reward .allio-bubble::after,
body.is-done .allio-bubble::after {
  border-right-color: rgba(255, 255, 255, .22);
  border-bottom-color: rgba(255, 255, 255, .22);
}
body.is-welcome .allio-name,
body.is-reward .allio-name,
body.is-done .allio-name { color: #ffd27a; }

/* Narrow phones: stack so the bubble keeps a readable width. */
@media (max-width: 380px) {
  .allio-talks { flex-direction: column; align-items: center; text-align: center; }
  .allio-talks .allio-bubble { border-radius: 14px; }
  .allio-talks .allio-bubble::after { display: none; }
  .allio-md { height: 92px; }
  .allio-md img { height: 92px; }
}
