@font-face { font-family: HonkpadInter; src: url('fonts/fx-inter.ttf'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: HonkpadMono; src: url('fonts/fx-mono.ttf'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: HonkpadMarker; src: url('fonts/fx-marker.ttf'); font-weight: 400 900; font-display: swap; }
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2-latin-ext.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fff4dd;
  --card: #fffdf7;
  --ink: #26201a;
  --ink-2: #5c5347;
  --night: #2f2822;
  --tan: #f1e3c4;
  --yellow: #ffd84d;
  --pink: #ffb9cc;
  --sky: #a5dcff;
  --orange: #ff5c2b;
  --mint: #bdefc9;

  --round: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --line: 2px solid var(--ink);
  --shadow-s: 2px 2px 0 var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-l: 6px 6px 0 var(--ink);
  --col: 1080px;
  --head: 4.6rem;
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 1rem);
  scrollbar-color: var(--ink) var(--tan);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  caret-color: var(--orange);
  overflow-x: clip;
}

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

mark {
  background: var(--yellow);
  color: inherit;
  border-radius: 0.18em;
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 0 0.12em;
  display: inline-block;
  transform: rotate(-1.5deg);
  line-height: 1.05;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 40;
  padding: 0.6rem 1rem; background: var(--yellow); border: var(--line); border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--col)); margin-inline: auto; }

/* Shared parts */

.card {
  background: var(--card);
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s var(--out), box-shadow 0.15s var(--out);
}
.pill:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.pill:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.pill svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pill--yellow { background: var(--yellow); }
.pill--orange { background: var(--orange); }
.pill--big { min-height: 3.4rem; padding: 0 1.6rem; font-size: 1.08rem; box-shadow: var(--shadow); }
.pill--big:hover { box-shadow: 5px 5px 0 var(--ink); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--card);
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-s);
  cursor: pointer;
  transition: transform 0.15s var(--out), box-shadow 0.15s var(--out);
}
.icon-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-off { display: none; }
.icon-btn[aria-pressed="false"] .i-on { display: none; }
.icon-btn[aria-pressed="false"] .i-off { display: block; }
.icon-btn--dark { width: 2.5rem; height: 2.5rem; border-color: var(--card); box-shadow: none; background: var(--night); color: var(--card); }
.icon-btn--dark:hover { box-shadow: 2px 2px 0 var(--card); }

.flag { flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--yellow);
  border: var(--line);
  box-shadow: var(--shadow-s);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini-head { font-family: var(--mono); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: var(--line);
}
.top-in { display: flex; align-items: center; gap: 1rem; min-height: var(--head); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; flex-shrink: 0; white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: var(--line);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: var(--shadow-s);
}
.brand-mark svg { width: 1.35rem; height: 1.35rem; }
.brand-name { font-family: var(--round); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.top-nav { display: flex; gap: 0.25rem; }
.top-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.top-nav a:hover { background: var(--tan); }
.top-nav a { white-space: nowrap; }
.top-icons { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.top-icons [hidden] { display: none; }
.acct-menu { position: relative; }
.acct-chip {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0 0.6rem 0 0.3rem;
  border: var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-s); cursor: pointer; color: inherit;
}
.acct-chip:hover, .acct-chip[aria-expanded="true"] { background: var(--tan); }
.acct-avatar {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--yellow); border: var(--line); font-family: var(--round); font-weight: 800; font-size: 1.05rem;
}
.acct-caret { width: 0.75rem; height: 0.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acct-pop {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 30; min-width: 15rem; max-width: 20rem;
  display: grid; gap: 0.15rem; padding: 0.5rem; border: var(--line); border-radius: 1rem; background: var(--card); box-shadow: var(--shadow);
}
.acct-pop-email { margin: 0; padding: 0.45rem 0.7rem 0.55rem; color: var(--ink-2); font-size: 0.88rem; overflow-wrap: anywhere; border-bottom: 1px solid var(--tan); }
.acct-pop-item {
  display: block; width: 100%; padding: 0.55rem 0.7rem; border: 0; border-radius: 0.6rem; background: none;
  font: inherit; font-weight: 700; text-align: left; color: inherit; text-decoration: none; cursor: pointer;
}
.acct-pop-item:hover, .acct-pop-item:focus-visible { background: var(--tan); }
.top-cta { min-height: 2.75rem; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.75rem;
  padding: 0 0.7rem 0 0.75rem;
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  font-weight: 700;
  font-size: 0.9rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s var(--out), box-shadow 0.15s var(--out);
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.lang[open] .lang-btn { background: var(--yellow); transform: translate(2px, 2px); box-shadow: none; }
.chev { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--out); }
.lang[open] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 35;
  display: grid;
  gap: 0.15rem;
  min-width: 12.5rem;
  padding: 0.45rem;
  box-shadow: var(--shadow-l);
  animation: drop 0.22s var(--out);
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.lang-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.7rem;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}
.lang-item:hover { background: var(--tan); }
.lang-item[aria-current] { background: var(--yellow); }

/* Hero */

main { display: grid; gap: 1.5rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0.5rem;
}
.hero-text { display: grid; gap: 1.15rem; justify-items: start; }
.hero-title {
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero-sub { max-width: 34rem; color: var(--ink-2); font-size: clamp(1.08rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.3rem; }
.hero-note { font-weight: 700; font-size: 0.92rem; }

.hero-art { position: relative; padding: 1.4rem 1.2rem 2.6rem 0.6rem; }
.art-plate { position: absolute; border: var(--line); border-radius: 18px; }
.art-plate--back { inset: 0.4rem 0 1.2rem 1.6rem; background: var(--sky); transform: rotate(3.5deg); }
.art-plate--mid { inset: 0.8rem 0.8rem 1.6rem 0.4rem; background: var(--yellow); transform: rotate(-2.5deg); box-shadow: var(--shadow); }
.art-screen {
  position: relative;
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem;
  background: var(--night);
  background-image: radial-gradient(circle, rgb(255 244 221 / 0.09) 1px, transparent 1.5px);
  background-size: 16px 16px;
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-l);
  color: var(--card);
}
.art-screen .alert { padding: 1.2rem 0 0.4rem; }
.art-screen .alert-who { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.art-screen .alert-msg { font-size: 0.98rem; }
.art-tag {
  position: absolute;
  top: -0.85rem;
  left: 1rem;
  padding: 0.05rem 0.6rem;
  background: var(--ink);
  color: var(--card);
  border: 2px solid var(--card);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.art-top {
  position: absolute;
  right: -0.4rem;
  bottom: 0;
  width: min(13.5rem, 55%);
  padding: 0.7rem 0.85rem;
  background: var(--card);
  border: var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  font-size: 0.9rem;
}

.goal { display: grid; gap: 0.35rem; }
.goal-row { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem; }
.goal-row span { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; white-space: nowrap; }
.goal-bar { height: 0.9rem; border: var(--line); border-radius: 999px; background: var(--card); overflow: hidden; }
.goal-bar span { display: block; height: 100%; background: var(--orange); border-right: var(--line); }
.art-screen .goal { padding: 0.55rem 0.7rem; background: var(--card); color: var(--ink); border: var(--line); border-radius: 10px; }

.top-list { display: grid; gap: 0.3rem; margin-top: 0.3rem; }
.top-list li { display: flex; align-items: center; gap: 0.5rem; }
.top-n {
  display: inline-grid; place-items: center; flex: none;
  width: 1.4rem; height: 1.4rem; border: var(--line); border-radius: 50%;
  background: var(--yellow); font-weight: 800; font-size: 0.75rem; line-height: 1;
}
.top-list li:nth-child(2) .top-n { background: var(--tan); }
.top-list li:nth-child(3) .top-n { background: var(--pink); }
.top-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-list b { white-space: nowrap; }
.art-screen .goal { width: 52%; }

.works { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding-top: 1rem; }
.works-label { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.works ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.works li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.75rem 0.2rem 0.55rem; border: var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: 0.9rem; }
.works li svg { width: 1rem; height: 1rem; flex: none; fill: currentColor; }

/* Sections */

.section { display: grid; gap: 1.1rem; padding-top: clamp(2.5rem, 6vw, 4rem); }
.h2 { font-family: var(--round); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.caption { color: var(--ink-2); font-size: 0.98rem; }

/* Full-bleed bands: the colour runs edge to edge, content stays in the column. */
.band {
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  background: var(--band);
}
.band--dark { --band: var(--ink); color: var(--card); }
.band--yellow { --band: var(--yellow); }

.rows { display: grid; }
.row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding: 1.3rem 0;
  border-bottom: 2px solid rgb(255 253 247 / 0.85);
}
.row:first-child { border-top: 2px solid rgb(255 253 247 / 0.85); }
.row-n { font-family: var(--round); font-weight: 800; font-size: 3rem; line-height: 0.9; letter-spacing: -0.02em; }
.row:nth-child(1) .row-n { color: var(--orange); }
.row:nth-child(2) .row-n { color: var(--sky); }
.row:nth-child(3) .row-n { color: var(--yellow); }
.row-title { font-family: var(--round); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.15; }
.row-body { color: #e8dfcf; }
.band-note { font-size: 0.95rem; color: #e8dfcf; }

/* Demo: viewer phone on the left, stream on the right */

.demo {
  position: relative;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border-radius: 18px;
  box-shadow: var(--shadow-l);
  background-image: radial-gradient(circle, rgb(38 32 26 / 0.12) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.demo-tag {
  position: absolute;
  top: -0.85rem;
  right: 1.2rem;
  padding: 0.05rem 0.7rem;
  background: var(--tan);
  border: var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.panes { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); align-items: stretch; }
.pane { display: grid; grid-template-rows: auto 1fr; gap: 0.55rem; min-width: 0; }
.pane-label { font-family: var(--round); font-weight: 800; font-size: 1.05rem; line-height: 1.2; }

.phone {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1rem 0.9rem 1.1rem;
  background: var(--card);
  border: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.phone-head { display: flex; align-items: center; gap: 0.55rem; font-size: 0.98rem; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 2rem; height: 2rem; border: var(--line); border-radius: 50%;
  background: var(--sky); font-family: var(--round); font-weight: 800;
}
.amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.amount { position: relative; display: block; }
.amount input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.amount span {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 3.6rem;
  padding: 0.3rem 0.35rem;
  border: var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-s);
  text-align: center;
  transition: transform 0.15s var(--out), box-shadow 0.15s var(--out);
}
.amount b { font-family: var(--round); font-weight: 800; font-size: 1.2rem; line-height: 1.1; white-space: nowrap; }
.amount small { font-weight: 700; font-size: 0.76rem; line-height: 1.15; color: var(--ink-2); }
.amount input:hover + span { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.amount input:checked + span { transform: translate(2px, 2px); box-shadow: none; }
.amount input:checked + span small { color: var(--ink); }
.amount[data-tier="1"] input:checked + span { background: var(--tan); }
.amount[data-tier="2"] input:checked + span { background: var(--yellow); }
.amount[data-tier="3"] input:checked + span { background: var(--pink); }
.amount[data-tier="4"] input:checked + span { background: var(--orange); }
.amount input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.phone .pay { width: 100%; }
.phone-pay { text-align: center; font-weight: 700; font-size: 0.82rem; color: var(--ink-2); }

input[type="text"], input[type="email"], select {
  width: 100%;
  min-width: 0;
  min-height: 3.2rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: var(--line);
  border-radius: 999px;
  font-size: 1rem;
}
select {
  appearance: none;
  padding-right: 2.6rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326201a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem;
  cursor: pointer;
}
input::placeholder { color: #857a6c; }
input[aria-invalid="true"] { background: #fff0f3; }

.chip {
  justify-self: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border: 2px dashed var(--ink);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background-color 0.15s var(--out);
}
.chip:hover { background: var(--pink); border-style: solid; }

.screen {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 21rem;
  padding: 0.9rem;
  overflow: hidden;
  background-color: var(--night);
  background-image:
    radial-gradient(circle, rgb(255 244 221 / 0.09) 1px, transparent 1.5px),
    linear-gradient(160deg, #3b3129, #221c17);
  background-size: 16px 16px, 100% 100%;
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--card);
  transition: background-color 0.3s var(--out);
}
.screen-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; min-width: 0; }
.screen-tools { display: flex; align-items: center; gap: 0.5rem; min-width: 0; max-width: 100%; }
.onair {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.onair::before {
  content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 2px var(--card);
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
.tally {
  padding: 0.2rem 0.7rem;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--card);
  border-radius: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: normal;
}
.tally.is-bump { animation: bump 0.45s var(--pop); }
@keyframes bump { 40% { transform: scale(1.14) rotate(-3deg); } }

.alert {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  align-content: center;
  padding: 1rem 0.25rem;
  text-align: center;
}
.alert-who {
  padding: 0.06em 0.32em 0;
  background: var(--yellow);
  color: var(--ink);
  border: var(--line);
  border-radius: 12px;
  box-shadow: 4px 4px 0 #000;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  transition: font-size 0.3s var(--out);
}
.alert[data-tier="1"] .alert-who { background: var(--tan); }
.alert[data-tier="3"] .alert-who { background: var(--pink); }
.alert[data-tier="4"] .alert-who { background: var(--orange); font-size: clamp(2rem, 4.8vw, 3.6rem); }
.alert[data-state="held"] .alert-who { background: var(--card); }
.alert-msg {
  max-width: 28rem;
  padding: 0.5rem 0.95rem;
  background: var(--card);
  color: var(--ink);
  border: var(--line);
  border-radius: 12px;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  overflow-wrap: anywhere;
}
.alert-msg:empty { display: none; }
.alert[data-state="held"] .alert-msg { background: var(--pink); text-decoration: line-through; text-decoration-thickness: 2px; }
.alert-meta { min-height: 1.3em; font-family: var(--mono); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tan); }
.alert.is-speaking .alert-meta::before { content: "\25CF  "; color: var(--orange); }
.alert.is-pop .alert-who { animation: pop 0.6s var(--pop) both; }
.alert.is-pop .alert-msg { animation: pop 0.6s 0.12s var(--pop) both; }
@keyframes pop {
  from { transform: translateY(18px) scale(0.85); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.screen.is-full { background-color: var(--orange); background-image: radial-gradient(circle, rgb(38 32 26 / 0.18) 1.2px, transparent 1.7px); background-size: 16px 16px; }
.screen.is-full .alert-meta { color: var(--ink); }
.screen.is-horn { animation: shake 0.45s 2; }
@keyframes shake {
  25% { transform: translate(-3px, 1px) rotate(-0.35deg); }
  75% { transform: translate(3px, -1px) rotate(0.35deg); }
}

/* Widgets */

.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.perk { display: grid; align-content: start; gap: 0.5rem; padding: 1.2rem 1.3rem 1.4rem; }
.perk p { color: var(--ink); max-width: 32rem; }
.perk--yellow { background: var(--yellow); }
.perk--sky { background: var(--sky); }
.perk--tan { background: var(--tan); }
.perk--pink { background: var(--pink); }
.perk-title { font-family: var(--round); font-weight: 800; font-size: 1.4rem; line-height: 1.12; }

.mini {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: var(--card);
  border: var(--line);
  border-radius: 12px;
  font-size: 0.93rem;
}
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; min-width: 0; }
.mini-row > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row s { text-decoration-thickness: 2px; color: var(--ink-2); }
.mini-row--big { padding-top: 0.4rem; border-top: var(--line); font-family: var(--round); font-size: 1.3rem; line-height: 1.2; }
.mini-tag { flex: none; padding: 0 0.55rem; border: var(--line); border-radius: 999px; background: var(--pink); font-weight: 700; font-size: 0.78rem; white-space: nowrap; }
.mini-tag--ok { background: var(--mint); }
.mini-check { justify-content: flex-start; font-weight: 700; }
.mini-check svg { flex: none; width: 1.3rem; height: 1.3rem; padding: 0.1rem; border: var(--line); border-radius: 5px; background: var(--mint); fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mini-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.2rem; }
.mini-btns span { padding: 0.1rem 0.7rem; border: var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-s); font-weight: 700; font-size: 0.82rem; }

.tier-row { display: flex; align-items: center; gap: 0.6rem; }
.tier-bar { display: flex; align-items: center; min-width: 4.2rem; height: 1.7rem; padding: 0 0.55rem; border: var(--line); border-radius: 8px; }
.tier-bar b { white-space: nowrap; font-size: 0.85rem; }
.tier-row[data-tier="1"] .tier-bar { background: var(--tan); }
.tier-row[data-tier="2"] .tier-bar { background: var(--yellow); }
.tier-row[data-tier="3"] .tier-bar { background: var(--pink); }
.tier-row[data-tier="4"] .tier-bar { background: var(--orange); }
.tier-name { flex: none; font-weight: 700; font-size: 0.82rem; color: var(--ink-2); white-space: nowrap; }
.tier-row .tier-bar { flex: none; max-width: calc(100% - 6.5rem); }

/* Money */

.money { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(1.2rem, 4vw, 3rem); }
.money-text { display: grid; gap: 0.8rem; }
.money-text p { color: var(--ink-2); font-size: 1.1rem; max-width: 34rem; }
.receipt { display: grid; gap: 0.7rem; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-l); transform: rotate(1.2deg); font-size: 1rem; }

/* FAQ */

.faq { display: grid; gap: 0.8rem; }
.qa { box-shadow: var(--shadow-s); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.7rem 1.1rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; transition: transform 0.2s var(--out); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa[open] { background: var(--card); box-shadow: var(--shadow); }
.qa p { padding: 0 1.1rem 1.1rem; color: var(--ink-2); max-width: 46rem; }

/* Sign-up */

.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.signup-text { display: grid; gap: 1rem; }
.signup-title { font-family: var(--round); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.signup-sub { max-width: 30rem; font-size: 1.1rem; }
.signup { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-l); }
.signup .pill { width: 100%; }
.signup-note { color: var(--ink-2); font-size: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .platforms legend { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.field label span, .platforms legend span { color: var(--ink-2); font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--text); font-size: 0.85rem; }
.status-line { min-height: 1.5em; font-weight: 700; }
.status-line:empty { display: none; }
.status-line[data-tone="error"] { color: #b3261e; }
.status-line[data-tone="ok"] { color: #1d6b3a; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.platforms legend { width: 100%; margin-bottom: 0.35rem; float: left; }
.platform { position: relative; }
.platform input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.platform span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.95rem;
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.15s var(--out), box-shadow 0.15s var(--out);
}
.platform input:hover + span { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.platform input:checked + span { background: var(--sky); transform: translate(2px, 2px); box-shadow: none; }
.platform input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Footer */

.foot { display: grid; gap: 1rem; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.foot-legal { color: var(--ink-2); font-size: 0.88rem; }
.foot-word {
  margin-top: 0.5rem;
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
}
.foot-word span { color: var(--orange); }
.foot-links a { font-weight: 700; text-underline-offset: 3px; }

/* Pling Studio product page */

.brand-sub { font-weight: 600; }
.meme-screen { min-height: 15rem; }
.meme-pop { display: grid; justify-items: center; gap: 0.8rem; padding: 1rem 0 0.6rem; }
/* The meme floats on the dark overlay like a green-screen clip on stream: no tile, just the figure. */
.meme-gif { position: relative; display: grid; place-items: center; width: 12.5rem; height: 12.5rem; }
.meme-sticker { font-size: 5.5rem; line-height: 1; transform: rotate(-12deg); animation: sticker 1.6s var(--pop) infinite alternate; }
@keyframes sticker { to { transform: rotate(8deg) scale(1.08); } }
.meme-gif.has-img .meme-sticker { visibility: hidden; }
.meme-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.55)); transition: opacity 0.25s var(--out); }
.meme-gif.has-img .meme-img { opacity: 1; }
.giphy-credit { position: relative; margin-top: -0.4rem; padding-left: 1.2rem; font-size: 0.78rem; color: var(--ink-2); }
.giphy-credit a { color: inherit; }
.meme-screen .meme-pop { justify-items: start; padding-bottom: 4.5rem; }
.meme-screen .alert-who { max-width: 14rem; font-size: clamp(1.1rem, 1.9vw, 1.45rem); }
.deck { width: 12rem; }
.deck-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.4rem; }
.deck-card { display: grid; gap: 0.1rem; padding: 0.35rem 0.45rem; border: var(--line); border-radius: 8px; font-size: 0.78rem; line-height: 1.15; }
.deck-key { font-family: var(--mono); font-weight: 700; font-size: 0.66rem; }
.deck-card--0 { background: var(--pink); }
.deck-card--1 { background: var(--sky); }
.deck-card--2 { background: var(--mint); }
.deck-card--3 { background: var(--tan); }
.deck-card.is-on { background: var(--yellow); box-shadow: var(--shadow-s); }

.perks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.perks--3 > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.perk--mint { background: var(--mint); }
.perk--orange { background: #ffc9b3; }

.lede { color: var(--ink-2); font-size: 1.1rem; max-width: 40rem; }
.h3 { font-family: var(--round); font-weight: 800; font-size: 1.5rem; line-height: 1.15; padding-top: 0.8rem; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.tier { display: grid; align-content: start; gap: 0.6rem; padding: 1.3rem 1.4rem 1.5rem; box-shadow: var(--shadow); }
.tier--pro { background: var(--yellow); }
.tier .mini-tag { justify-self: start; }
.tier-title { font-family: var(--round); font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.tier-list { display: grid; gap: 0.5rem; padding-top: 0.2rem; }
.tier-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.tick { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.plan { display: grid; align-content: start; gap: 0.5rem; padding: 1.2rem 1.3rem 1.4rem; box-shadow: var(--shadow); }
.plan--sky { background: var(--sky); }
.plan--yellow { background: var(--yellow); }
.plan--pink { background: var(--pink); }
.plan-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--round); font-weight: 800; font-size: 1.4rem; line-height: 1.15; }
.plan-price b { font-family: var(--round); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.plan-price span { font-weight: 700; }
.plan-note { min-height: 1.5em; }
.plan-buy { margin-top: 0.4rem; width: 100%; background: var(--card); }
.studio .band--yellow .hero-actions { padding-top: 0.6rem; }

@media (max-width: 860px) {
  .perks--3, .plans, .tiers { grid-template-columns: minmax(0, 1fr); }
}

/* Account and activation pages */

.acc { display: grid; gap: 1.4rem; padding-top: clamp(1.5rem, 5vw, 3rem); padding-bottom: 2rem; }
.acc [hidden] { display: none !important; }
.acc-head { display: grid; gap: 0.6rem; }
.acc-head .h2:focus { outline: none; }
.acc-status { min-height: 1.5em; font-weight: 700; }
.acc-status:empty { visibility: hidden; }
.acc-status[data-tone="error"] { color: #b3261e; }
.acc-status[data-tone="ok"] { color: #1d6b3a; }
.acc-card { display: grid; align-content: start; gap: 0.9rem; padding: clamp(1.1rem, 3vw, 1.6rem); box-shadow: var(--shadow); }
.acc-card-title { font-family: var(--round); font-weight: 800; font-size: 1.45rem; line-height: 1.15; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.acc-signin { max-width: 30rem; box-shadow: var(--shadow-l); }
.acc-signin .pill { width: 100%; }
.acc-or { display: flex; align-items: center; gap: 0.8rem; color: var(--ink-2); font-weight: 700; font-size: 0.9rem; }
.acc-or::before, .acc-or::after { content: ""; flex: 1; border-top: 2px solid var(--tan); }
.acc-google svg { fill: currentColor; stroke: none; }
.acc-hint { color: var(--ink-2); }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.acc-grid > .acc-upgrade, .acc-grid > [data-activate] { grid-column: 1 / -1; }
.acc-upgrade { display: grid; gap: 1rem; }
.acc-badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-weight: 700; }
.acc-badge { padding: 0.1rem 0.9rem; border: var(--line); border-radius: 999px; background: var(--tan); box-shadow: var(--shadow-s); font-family: var(--round); font-weight: 800; font-size: 1.3rem; }
.acc-badge[data-plan="pro"] { background: var(--yellow); }
.acc-plan .pill, .acc-card > .pill { justify-self: start; }
.acc-count { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.acc-devices { display: grid; gap: 0.6rem; }
.acc-device { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.7rem 0.9rem; border: var(--line); border-radius: 12px; background: #fff; }
.acc-device-name { font-weight: 700; overflow-wrap: anywhere; }
.acc-device-meta { color: var(--ink-2); font-size: 0.88rem; }
.acc-ask { font-family: var(--round); font-weight: 800; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.acc-done { font-weight: 700; color: #1d6b3a; font-size: 1.15rem; }
.pill--small { min-height: 2.2rem; padding: 0 0.9rem; font-size: 0.88rem; }
.pill:disabled, .pill[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; box-shadow: var(--shadow-s); }
.acc-back { padding-top: 0.5rem; }
@media (max-width: 860px) {
  .acc-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Entrance */

.reveal { transition: transform 0.6s var(--out), opacity 0.6s var(--out); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }

/* Narrower screens */

@media (max-width: 1000px) {
  .top-nav { display: none; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-side { display: none; }
  .perks, .money, .signup-grid { grid-template-columns: minmax(0, 1fr); }
  .panes { grid-template-columns: minmax(0, 1fr); }
  .pane--stream { order: -1; }
  .screen { min-height: 15rem; }
  .row { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .row-n { font-size: 2.2rem; grid-row: span 2; }
  .receipt { transform: none; max-width: 24rem; }
}

@media (max-width: 560px) {
  :root { --head: 4rem; }
  .brand-name { display: none; }
  .top-in { gap: 0.5rem; }
  .top-cta { padding: 0 0.9rem; font-size: 0.88rem; }
  .lang-btn { padding: 0 0.55rem 0 0.6rem; }
  .hero-actions { width: 100%; }
  .hero-actions .pill { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* Shared form controls for the tip page and the streamer dashboard */
input:not([type]), input[type="number"], textarea {
  width: 100%;
  min-width: 0;
  min-height: 3.2rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  color: inherit;
}
textarea { border-radius: 14px; min-height: 5.5rem; resize: vertical; padding: 0.7rem 1rem; }
textarea::placeholder { color: #857a6c; }

/* Viewer tip page (/s/<slug>) */
.tip-page .tip { width: min(100% - 2rem, 44rem); margin-inline: auto; display: grid; gap: 1.1rem; padding: 1.4rem 0 2.5rem; }
.tip [hidden] { display: none !important; }
.tip-head { display: flex; align-items: center; gap: 0.9rem; }
.tip-head .brand-mark { flex: none; }
.tip-title { font-family: var(--round); font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1.05; overflow-wrap: anywhere; }
.tip-sub { color: var(--ink-2); }
.tip-msg { font-weight: 700; }
.tip-msg:empty { display: none; }
.tip-msg[data-tone="error"] { color: #b3261e; }
.tip-closed { padding: 0.8rem 1rem; border: var(--line); border-radius: 14px; background: var(--pink); font-weight: 700; box-shadow: var(--shadow-s); overflow-wrap: anywhere; }
.tip-form { display: grid; gap: 1.1rem; }
.tip-form--off .tip-grid { opacity: 0.55; }
.tip-pick { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.6rem; }
.tip-label { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0; }
.tip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 46%), 1fr)); gap: 0.7rem; }
.tip-card { position: relative; display: grid; justify-items: center; gap: 0.3rem; padding: 0.75rem 0.5rem 0.7rem; background: var(--card); border: var(--line); border-radius: 14px; box-shadow: var(--shadow-s); cursor: pointer; text-align: center; transition: transform 0.15s var(--out), box-shadow 0.15s var(--out), background 0.15s; }
.tip-card:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.tip-radio { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tip-card:has(.tip-radio:checked) { background: var(--yellow); transform: translate(2px, 2px); box-shadow: none; }
.tip-card:has(.tip-radio:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.tip-card:has(.tip-radio:disabled) { cursor: not-allowed; }
.tip-art { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 12px; background: var(--tan); font-size: 2.4rem; line-height: 1; overflow: hidden; }
.tip-art img { width: 100%; height: 100%; object-fit: cover; }
.tip-card-name { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.tip-card-price { font-family: var(--round); font-weight: 800; font-size: 1.15rem; line-height: 1; }
.tip-details { display: grid; gap: 1rem; padding: 1.1rem; box-shadow: var(--shadow); }
.tip-amount-row { display: flex; gap: 0.5rem; align-items: center; }
.tip-amount-row input { flex: 1; font-family: var(--round); font-weight: 800; font-size: 1.25rem; }
.tip-amount-row .pill { flex: none; min-height: 3.2rem; }
.tip-hint { color: var(--ink-2); font-size: 0.92rem; }
.tip-tts[data-on="true"] { color: #1d6b3a; font-weight: 700; }
.tip-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.tip-count { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
.tip-pay { width: 100%; }
.tip-foot { color: var(--ink-2); font-size: 0.9rem; overflow-wrap: anywhere; }
.tip-by { font-size: 0.85rem; color: var(--ink-2); }
.tip-card--text { grid-column: span 2; min-width: 0; }
.tip-art--fx { width: 100%; height: auto; aspect-ratio: 16 / 9; padding: 0; border-radius: 8px; font-size: 1rem; }
.tip-check { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.8rem; border: var(--line); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; }
.tip-check input { width: 1.3rem; height: 1.3rem; accent-color: var(--orange); flex: none; }
.tip-check:has(input:checked) { background: var(--mint); }
.tip-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; border-top: 2px dashed var(--ink); padding-top: 0.7rem; }
.tip-total b { font-family: var(--round); font-size: 1.4rem; }
.tip-note { font-size: 0.85rem; }
.tip-count[data-over="true"] { color: #b3261e; font-weight: 700; }
.tip-status { position: relative; overflow: hidden; display: grid; gap: 0.6rem; justify-items: start; padding: 1.2rem; box-shadow: var(--shadow); background: var(--sky); }
.tip-status[data-status="delivered"] { background: var(--mint); }
.tip-status[data-status="held"] { background: var(--yellow); }
.tip-status[data-status="rejected"], .tip-status[data-status="expired"], .tip-status[data-status="failed"] { background: var(--pink); }
.tip-status-title { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tip-status-text { font-family: var(--round); font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.tip-confetti { position: absolute; inset: 0; pointer-events: none; }
.tip-confetti i { position: absolute; top: -10px; width: 8px; height: 12px; border: 1.5px solid var(--ink); border-radius: 2px; animation: tip-fall 2.2s var(--out) forwards; }
@keyframes tip-fall { to { transform: translate(var(--x), 260px) rotate(540deg); opacity: 0; } }
@media (min-width: 720px) { .tip-page .tip { padding-top: 3rem; } }

/* Streamer dashboard (account tabs) */
.acc-dash { display: grid; gap: 1.2rem; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.2rem 0.2rem 0.5rem; }
.dash-tab { flex: none; min-height: 2.6rem; padding: 0 1.1rem; border: var(--line); border-radius: 999px; background: var(--card); font-weight: 700; cursor: pointer; box-shadow: var(--shadow-s); }
.dash-tab[aria-selected="true"] { background: var(--yellow); transform: translate(2px, 2px); box-shadow: none; }
.dash-panel { display: grid; gap: 1.2rem; }
.dash-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dash-small { font-size: 0.88rem; }
.dash-alert { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.8rem 1rem; background: var(--yellow); font-weight: 700; box-shadow: var(--shadow-s); }
.dash-alert[data-state="restricted"] { background: var(--pink); }
.dash-alert p { flex: 1 1 14rem; min-width: 0; }
.dash-hero { display: grid; gap: 0.5rem; padding: clamp(1.1rem, 3vw, 1.6rem); background: var(--mint); box-shadow: var(--shadow); min-width: 0; }
.dash-hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; }
.dash-label { font-family: var(--mono); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.dash-seg { display: inline-flex; padding: 2px; border: var(--line); border-radius: 999px; background: var(--card); }
.dash-seg button { min-height: 2rem; padding: 0 0.8rem; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 700; font-size: 0.85rem; color: inherit; cursor: pointer; white-space: nowrap; }
.dash-seg [aria-pressed="true"] { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.dash-hero-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; }
.dash-hero-sum b { font-family: var(--round); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; overflow-wrap: anywhere; }
.dash-count { padding: 0 0.6rem; border: var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.dash-break { display: flex; flex-wrap: wrap; gap: 0.1rem 0.8rem; color: var(--ink-2); font-size: 0.9rem; }
.dash-break b { color: var(--ink); white-space: nowrap; }
.dash-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; padding-top: 0.5rem; border-top: 2px dashed var(--ink); font-size: 0.88rem; }
.dash-hero-foot:not(:has(> :not([hidden]))) { display: none; }
.dash-a { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.dash-balance { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; box-shadow: var(--shadow-s); overflow: hidden; }
.dash-bal { flex: 1 1 8rem; display: grid; gap: 0.1rem; padding: 0.7rem 0.9rem; border-left: 1.5px solid var(--tan); margin-left: -1.5px; min-width: 0; }
.dash-bal b { font-family: var(--round); font-weight: 800; font-size: 1.2rem; line-height: 1.15; overflow-wrap: anywhere; }
.dash-bal--disputed { background: var(--pink); }
.dash-nodata { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.9rem 1rem; box-shadow: var(--shadow-s); }
.dash-nodata p { flex: 1 1 16rem; min-width: 0; }
.dash-nodata span { color: var(--ink-2); }
.dash-chart { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); align-items: end; gap: 3px; height: 10rem; padding-bottom: 2px; border-bottom: var(--line); }
.dash-bar { height: 100%; display: flex; align-items: flex-end; }
.dash-bar-fill { width: 100%; background: var(--orange); border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 4px 4px 0 0; }
.dash-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.8rem; }
.dash-filter { min-width: 13rem; }
.dash-table-wrap { padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.dash-table th { text-align: left; padding: 0.7rem 0.8rem; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--tan); }
.dash-table td { padding: 0.65rem 0.8rem; border-top: 1.5px solid var(--tan); vertical-align: top; }
.dash-table tr[data-status="held"] td { background: #fffbe6; }
.dash-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dash-time { white-space: nowrap; color: var(--ink-2); }
.dash-msg { max-width: 18rem; overflow-wrap: anywhere; }
.dash-act { white-space: nowrap; }
.dash-act .pill + .pill { margin-left: 0.3rem; }
.dash-chip { display: inline-block; padding: 0 0.55rem; border: var(--line); border-radius: 999px; background: var(--tan); font-weight: 700; font-size: 0.78rem; white-space: nowrap; }
.dash-chip--queued, .dash-chip--paid { background: var(--sky); }
.dash-chip--held { background: var(--yellow); }
.dash-chip--delivered { background: var(--mint); }
.dash-chip--rejected, .dash-chip--refunded, .dash-chip--disputed, .dash-chip--failed { background: var(--pink); }
.dash-empty { padding: 1.2rem; }
.skip-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dash-link { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.dash-url { font-family: var(--mono); font-weight: 700; overflow-wrap: anywhere; }
.dash-qr { width: 11rem; border: var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.dash-qr svg { width: 100%; height: auto; }
.dash-page { gap: 0.8rem; }
.dash-page-setup { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.dash-page-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.4rem; }
.dash-page-body .dash-qr { width: 8.5rem; flex: none; }
.dash-page-main { display: grid; gap: 0.6rem; flex: 1 1 16rem; min-width: 0; }
.dash-page-sum { font-weight: 700; }
.dash-share-more summary { cursor: pointer; font-weight: 700; }
.dash-share-more[open] summary { margin-bottom: 0.8rem; }
.dash-update { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.8rem 1rem; background: var(--pink); font-weight: 700; box-shadow: var(--shadow-s); }
.dash-share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.2rem; align-items: start; }
.dash-share-item { display: grid; gap: 0.5rem; justify-items: start; }
.dash-panel-img { width: 100%; max-width: 320px; height: auto; border-radius: 8px; }
.dash-share-chat { justify-items: stretch; }
.dash-share-chat .dash-row { justify-self: start; }
.dash-chat-label { font-weight: 700; }
.dash-share-chat textarea { font-family: var(--mono); font-size: 0.85rem; }
.dash-more:has([hidden]) { display: none; }
@media (max-width: 860px) {
  .dash-table thead { display: none; }
  .dash-table, .dash-table tbody { display: block; }
  .dash-table tr { display: grid; gap: 0.25rem; padding: 0.8rem 0.9rem; border-top: 1.5px solid var(--tan); }
  .dash-table tbody tr:first-child { border-top: 0; }
  .dash-table td { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; border: 0; padding: 0; text-align: left; max-width: none; background: none !important; }
  .dash-table td::before { content: attr(data-label); min-width: 5.5rem; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; color: var(--ink-2); }
  .dash-table td.dash-act::before, .dash-table td:empty { display: none; }
  .dash-table tr[data-status="held"] { background: #fffbe6; }
}
