/* pingme — exact prototype design · full-screen PWA */

:root {
  --cream: #F4EDDC;
  --paper: #D8CEB5;
  --ink: #141210;
  --muted: #5D5444;
  --muted-2: #7A7060;
  --flame: #E8502A;
  --cobalt: #2544D6;
  --mustard: #E8B84A;
  --straw: #FFE8A3;
  --sage: #6FD27B;
  --peach: #FFE4D1;
  --table: #1E5EA8;
  --table-edge: #143F73;
  --handle: #C99060;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; height: 100%; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 20% 12%, rgba(20,18,16,0.04) 0, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(20,18,16,0.03) 0, transparent 48%),
    repeating-linear-gradient(43deg, rgba(20,18,16,0.018) 0 1px, transparent 1px 4px);
  min-height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

button { font: inherit; color: inherit; }

/* ============ SCREENS ============ */
.screen {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}
.screen.active { display: flex; }

/* ============ BOTTOM NAV (hidden) ============ */
.bottom-nav { display: none; }

/* ============ TOP BAR ============ */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 0;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  gap: 10px;
}
.wordmark {
  font-family: 'Permanent Marker', cursive;
  font-size: 28px; line-height: 1;
  transform: rotate(-2deg);
  flex: 1;
  letter-spacing: .3px;
}
.wordmark .me { color: var(--flame); }

.top-actions { display: flex; align-items: center; gap: 10px; }

.share-btn {
  width: 38px; height: 38px;
  background: var(--cream); color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.share-btn:active { transform: translate(1px,1px); box-shadow: 0 0 0 var(--ink); }

.profile-av {
  position: relative;
  width: 38px; height: 38px;
  background: var(--cobalt); color: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Permanent Marker'; font-size: 15px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  transform: rotate(-3deg);
  flex: 0 0 auto;
  transition: transform .15s, box-shadow .15s;
}
.profile-av:active { transform: translate(1px,1px) rotate(-3deg); box-shadow: 0 0 0 var(--ink); }

/* Badge on avatar */
.av-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--flame); color: var(--cream);
  font-family: 'Space Grotesk'; font-weight: 700;
  font-size: 10px;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ============ COURT CARD ============ */
.court-card {
  margin: 10px 20px 8px;
  padding: 14px 16px 10px;
  border: 2.5px solid var(--ink);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 6px 7px 0 var(--ink);
  transform: rotate(-.3deg);
  transition: background .4s ease, box-shadow .25s ease;
  position: relative;
}
[data-home-state="off"] .court-card { background: var(--cream); }
[data-home-state="playing"] .court-card { background: #FFD0B5; }
[data-home-state="down"] .court-card { background: var(--straw); }

.court-eyebrow {
  position: absolute;
  top: 8px; left: 18px;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px;
  background: var(--ink); color: var(--cream);
  padding: 3px 12px 4px;
  border-radius: 999px;
  transform: rotate(-3deg);
  z-index: 2;
  letter-spacing: .02em;
}

.court-wrap {
  position: relative;
  height: 148px;
  user-select: none;
  touch-action: pan-y;
  margin: 0 4px;
}
.court-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}

/* paddles */
.paddle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .5s cubic-bezier(.3,1.7,.4,1);
  cursor: pointer;
}
.paddle:hover { transform: scale(1.05); }
.paddle.ready { transform: scale(1.08); }
.paddle.bounce { animation: paddleHit .45s cubic-bezier(.3,1.7,.4,1); }
@keyframes paddleHit {
  0% { transform: scale(1) translateX(0); }
  18% { transform: scale(.88) translateX(8px); }
  60% { transform: scale(1.08) translateX(-4px); }
  100% { transform: scale(1) translateX(0); }
}
.right-paddle.bounce { animation-name: paddleHitRight; }
@keyframes paddleHitRight {
  0% { transform: scale(1) translateX(0); }
  18% { transform: scale(.88) translateX(-8px); }
  60% { transform: scale(1.08) translateX(4px); }
  100% { transform: scale(1) translateX(0); }
}

/* ============ BALL ============ */
.ball {
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  margin-left: -20px; margin-top: -20px;
  cursor: grab; z-index: 5;
  touch-action: none;
  will-change: left, transform;
}
.ball.dragging { cursor: grabbing; }
/* T10: overshoot-bounce on snap */
.ball.snapping { transition: left .48s cubic-bezier(.25, 2.4, .35, .85); }
.ball-shadow {
  position: absolute;
  bottom: -10px; left: 50%;
  width: 30px; height: 7px; margin-left: -15px;
  border-radius: 50%;
  background: rgba(20,18,16,.35);
  filter: blur(3px);
  transition: width .2s, opacity .2s;
}
.ball.dragging .ball-shadow { width: 36px; margin-left: -18px; opacity: .5; }
.ball-core {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #FFFFFF 0%, #F0E8D4 70%, #D6CAB0 100%);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.ball-core::before {
  content: '';
  position: absolute;
  top: 20%; left: 22%;
  width: 30%; height: 30%;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  filter: blur(1.5px);
}
.ball-core::after {
  content: '';
  position: absolute;
  bottom: 18%; right: 22%;
  width: 18%; height: 18%;
  background: rgba(20,18,16,.1);
  border-radius: 50%;
  filter: blur(1px);
}
.ball.at-rest .ball-core {
  animation: idleBob 2.6s ease-in-out infinite;
}
/* T10: squash-and-stretch on land */
@keyframes ballLand {
  0%   { transform: scale(1, 1); }
  20%  { transform: scale(1.14, .86); }
  50%  { transform: scale(.93, 1.07); }
  75%  { transform: scale(1.05, .96); }
  100% { transform: scale(1, 1); }
}
.ball.landing .ball-core {
  animation: ballLand .46s cubic-bezier(.3, 1.6, .4, 1) forwards;
}
@keyframes idleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ============ COURT LABELS ============ */
.court-labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 8px 10px 0;
  gap: 8px;
}
.c-lbl {
  background: none; border: none;
  cursor: pointer;
  font-family: 'Permanent Marker';
  line-height: 1.05;
  padding: 2px 4px;
  transition: transform .3s cubic-bezier(.3,1.6,.4,1), opacity .25s;
  display: flex; flex-direction: column;
}
.c-lbl.left { text-align: left; color: var(--cobalt); font-size: 20px; align-items: flex-start; }
.c-lbl.right { text-align: right; color: var(--flame); font-size: 20px; align-items: flex-end; }
.c-lbl.middle {
  font-family: 'Caveat', cursive; font-weight: 700;
  color: var(--muted);
  font-size: 16px;
  align-items: center;
  padding-top: 4px;
  flex-direction: column;
}
.c-lbl .hint {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  opacity: .35;
  max-width: 150px;
  transition: opacity .3s;
  line-height: 1.15;
  white-space: nowrap;
}
/* "off" center label subtitle */
.hint-mid {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 12px; color: var(--muted);
  display: block; margin-top: 3px;
  opacity: .35; transition: opacity .3s;
  line-height: 1;
}

[data-home-state="down"] .c-lbl.left { transform: scale(1.14) translateX(3px); }
[data-home-state="down"] .c-lbl.left .hint { opacity: 1; }
[data-home-state="down"] .c-lbl.middle { opacity: .45; }
[data-home-state="down"] .c-lbl.right { opacity: .4; }

[data-home-state="playing"] .c-lbl.right { transform: scale(1.14) translateX(-3px); }
[data-home-state="playing"] .c-lbl.right .hint { opacity: 1; }
[data-home-state="playing"] .c-lbl.middle { opacity: .45; }
[data-home-state="playing"] .c-lbl.left { opacity: .4; }

[data-home-state="off"] .c-lbl.middle { transform: scale(1.35); color: var(--ink); }
[data-home-state="off"] .c-lbl.middle .hint-mid { opacity: .7; }

/* ============ PING CONFIRM ============ */
.ping-confirm-sub {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 14px; color: var(--muted);
  text-align: center; margin-bottom: 18px;
  line-height: 1.4;
}
/* venue picker */
.venue-picker {
  display: flex; gap: 8px; margin-bottom: 14px;
  flex-wrap: wrap; justify-content: center;
}
.venue-pill {
  flex: 1; min-width: 80px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 10px 8px;
  background: var(--cream); color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s, background .14s, box-shadow .14s;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.venue-pill:active { transform: translate(1px,1px); box-shadow: 0 0 0 var(--ink); }
.venue-pill.active { background: var(--ink); color: var(--cream); }
.vp-name {
  font-family: 'Permanent Marker'; font-size: 14px; line-height: 1.1;
}
.vp-desc {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 11px; opacity: .6;
}
.venue-pill.active .vp-desc { opacity: .7; }

.ping-confirm-btn {
  width: 100%;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 16px;
  font-family: 'Permanent Marker'; font-size: 22px;
  background: var(--flame); color: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
  text-align: center;
}
.ping-confirm-btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.ping-confirm-skip {
  display: block; width: 100%;
  margin-top: 10px;
  background: none; border: none;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 16px; color: var(--muted);
  cursor: pointer; padding: 8px;
  text-align: center;
  text-decoration: underline dashed; text-underline-offset: 3px;
}

/* ── court timer overlay (playing state) ── */
.court-timer {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity .35s ease;
}
[data-home-state="playing"] .court-timer { opacity: 1; }
.ct-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--cream);
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(20,18,16,.25);
  white-space: nowrap;
}
.ct-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
  animation: blink 1.3s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; } }

/* ── ball waiting animation (down state) ── */
[data-home-state="down"] .ball.at-rest .ball-core {
  animation: ballWaiting 2s ease-in-out infinite;
}
@keyframes ballWaiting {
  0%, 100% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-6px) scale(.97, 1.03); }
  50% { transform: translateY(0) scale(1); }
  75% { transform: translateY(-4px) scale(.98, 1.02); }
}

/* ============ THE TABLE (ping pong themed roster) ============ */
.the-table {
  padding: 14px 22px 28px;
  flex: 1;
}
.table-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 2px 12px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid var(--ink);
}
.table-title {
  font-family: 'Permanent Marker'; font-size: 24px;
  transform: rotate(-1.5deg);
  display: flex; align-items: center; gap: 8px;
}
.tt-icon { flex: 0 0 auto; overflow: visible; }
.table-sub {
  font-family: 'Space Grotesk'; font-weight: 600;
  font-size: 13px; color: var(--muted);
}
.table-sections { display: flex; flex-direction: column; gap: 20px; }
.table-section { }
.section-label {
  font-family: 'Permanent Marker'; font-size: 15px;
  letter-spacing: .03em; color: var(--ink);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  background: rgba(20,18,16,.04);
  border-radius: 10px;
}
.section-label .s-dot { flex: 0 0 auto; }
.section-label .section-count {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 12px;
  color: var(--muted); margin-left: auto;
}
.fav-label { color: var(--mustard); }
.s-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.s-dot.green { background: var(--sage); box-shadow: 0 0 0 3px rgba(111,210,123,.25); animation: blink 1.3s ease-in-out infinite; }
.s-dot.yellow { background: var(--mustard); box-shadow: 0 0 0 3px rgba(232,184,74,.25); }
.s-dot.gray { background: var(--muted-2); }
.section-list { }
.empty-roster {
  text-align: center; padding: 40px 10px;
  border: 2.5px dashed var(--ink); border-radius: 22px; margin: 8px 0;
}
.empty-roster-icon { font-size: 48px; margin-bottom: 10px; }
.empty-roster-text { font-family: 'Permanent Marker'; font-size: 22px; margin-bottom: 6px; }
.empty-roster-sub { font-family: 'Caveat', cursive; font-weight: 700; font-size: 16px; color: var(--muted); }

/* ── Bubble grid roster ── */
.bub-grid {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: flex-start;
  padding: 4px 0;
}
.rbub {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; width: 56px;
  background: none; border: none;
  cursor: pointer; padding: 4px 0;
  transition: transform .15s ease;
}
.rbub:hover { transform: translateY(-2px); }
.rbub:active { transform: scale(.95); }

.rbub-av-wrap { position: relative; }
.rbub-av {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: 'Permanent Marker'; font-size: 14px;
  color: var(--cream);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  position: relative;
}
.bub-playing .rbub-av {
  box-shadow: 0 0 0 3px rgba(111,210,123,.4), 2.5px 2.5px 0 var(--ink);
}
.bub-down .rbub-av {
  box-shadow: 0 0 0 3px rgba(232,184,74,.35), 2.5px 2.5px 0 var(--ink);
}
.bub-away .rbub-av { opacity: .7; }
.bub-away .rbub-av { color: var(--ink); }

.rbub-you {
  position: absolute;
  top: -2px; right: -8px;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 9px; color: var(--cream);
  background: var(--cobalt);
  padding: 1px 5px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  z-index: 1;
}
.rbub-name {
  font-family: 'Space Grotesk'; font-weight: 700;
  font-size: 10px; color: var(--ink);
  text-align: center; line-height: 1.1;
  max-width: 56px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.rbub-sub {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 11px; color: var(--muted);
  line-height: 1;
}

.show-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 2px auto 10px; padding: 4px 10px 5px;
  background: transparent; border: none;
  border-bottom: 2px dashed var(--ink);
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 15px; color: var(--ink);
  cursor: pointer;
  transform: rotate(-1deg);
  width: fit-content;
}
.show-more:hover { color: var(--flame); }
#rdr-list { display: flex; flex-direction: column; align-items: stretch; }
#rdr-list .show-more { align-self: center; }

.empty-hint {
  border: 2px dashed var(--ink);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 16px;
  color: var(--muted);
  margin-top: 4px;
}

/* home footer — removed */

/* ============ MODALS — all centered ============ */
.sheet-wrap {
  position: fixed; inset: 0;
  max-width: 430px; margin: 0 auto;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.sheet-wrap.open { pointer-events: auto; opacity: 1; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(20,18,16,.45); }

/* Centered modal card */
.modal-center {
  position: relative;
  margin: 16px;
  width: calc(100% - 32px);
  max-width: 360px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px 22px;
  transform: scale(.92) translateY(8px);
  opacity: 0;
  transition: transform .22s cubic-bezier(.25,2.2,.35,.85), opacity .18s ease;
  z-index: 1;
}
.sheet-wrap.open .modal-center {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close button for modals */
.modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  font-family: 'Space Grotesk'; font-weight: 700;
  font-size: 16px; line-height: 1;
  color: var(--ink);
  cursor: pointer; z-index: 5;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.modal-close:active { transform: translate(1px,1px); box-shadow: 0 0 0 var(--ink); }

/* Tall variant for notis + profile */
.modal-center.modal-tall {
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-center h3 {
  font-family: 'Permanent Marker';
  font-size: 26px; margin: 0 0 18px;
  text-align: center;
  transform: rotate(-.8deg);
}
.modal-center .opts { display: flex; flex-direction: column; gap: 12px; }
.modal-center .opt {
  border: 2.5px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  border-radius: 18px;
  padding: 16px 20px;
  font-family: 'Permanent Marker';
  font-size: 22px;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  transition: transform .16s ease;
}
.modal-center .opt:hover { transform: translate(-1px,-1px); }
.modal-center .opt .hint {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted);
}
.modal-center .opt.primary { background: var(--mustard); }
.modal-center .opt:nth-child(2) { transform: rotate(.3deg); }
.modal-center .opt:nth-child(3) { transform: rotate(-.3deg); }

/* ── Redesigned player profile modal ── */
.rs-top {
  display: flex; align-items: center; gap: 14px;
}
.rs-top .rs-av {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: 'Permanent Marker'; font-size: 20px;
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  flex: 0 0 auto;
}
.rs-info { flex: 1; min-width: 0; }
.rs-name {
  font-family: 'Permanent Marker';
  font-size: 24px; line-height: 1;
}
.rs-you {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 13px; color: var(--cobalt);
  margin-left: 4px;
}
.rs-status {
  font-family: 'Space Grotesk'; font-weight: 600;
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px;
}
.rs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; flex: 0 0 auto;
}
.rs-playing .rs-dot { background: var(--sage); animation: blink 1.3s ease-in-out infinite; }
.rs-down .rs-dot { background: var(--mustard); }
.rs-away .rs-dot { background: var(--muted-2); }
.rs-playing { color: var(--ink); }
.rs-down { color: var(--ink); }

/* Fav icon — top right */
.rs-fav-icon {
  background: none; border: none;
  font-size: 24px; color: var(--muted-2);
  cursor: pointer; padding: 4px;
  flex: 0 0 auto;
  transition: transform .15s, color .15s;
}
.rs-fav-icon:active { transform: scale(1.3); }
.rs-fav-icon.rs-fav-active { color: var(--mustard); }

/* Context line */
.rs-context {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 15px; color: var(--muted);
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(20,18,16,.04);
  border-radius: 12px;
  line-height: 1.3;
}

/* Ambient */
.rs-ambient {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 13px; color: var(--muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* Action buttons — ping primary, message secondary */
.rs-actions {
  display: flex; gap: 10px;
  margin-top: 16px;
}
.rs-ping-btn {
  flex: 1;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 14px;
  font-family: 'Permanent Marker'; font-size: 18px;
  background: var(--flame); color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s, background .2s;
  text-align: center;
}
.rs-ping-btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.rs-ping-btn.rs-ping-sent { background: var(--sage); color: var(--ink); }
.rs-msg-btn {
  width: 50px; flex: 0 0 auto;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 14px 0;
  font-size: 20px;
  background: var(--cobalt); color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
  display: grid; place-items: center;
}
.rs-msg-btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }

/* Profile modal content */
.modal-center .me-wrap {
  padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}

/* Notis section inside profile modal — primary content */
.me-notis-section {
  margin-top: 0;
}
.me-notis-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 0 8px;
}
.me-notis-title {
  font-family: 'Permanent Marker'; font-size: 20px;
  transform: rotate(-.5deg);
}
.modal-center .notis-sub {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted);
}
.modal-center .ping-list {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0;
}

/* ============ BACK BUTTON ============ */
.back-btn {
  width: 40px; height: 40px;
  border: 2.5px solid var(--ink);
  background: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  font-family: 'Permanent Marker';
  font-size: 22px;
  transform: rotate(-3deg);
  transition: transform .15s, box-shadow .15s;
  padding: 0;
  flex: 0 0 auto;
}
.back-btn:active { transform: translate(1px,1px) rotate(-3deg); box-shadow: 0 0 0 var(--ink); }

.screen-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 22px 8px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
}
.screen-head.just-back { padding-bottom: 4px; }
.screen-head-body { flex: 1; min-width: 0; }

/* ============ PINGS INBOX ============ */
.act-title {
  font-family: 'Permanent Marker';
  font-size: 34px; margin: 0; transform: rotate(-1.2deg);
  display: inline-block;
  line-height: 1;
}
.inbox-sub {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 15px; color: var(--muted);
  margin-top: 4px;
}
.ping-list {
  padding: 14px 22px 28px;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto; flex: 1;
}
.ping-card {
  position: relative;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  padding: 14px;
  display: flex; gap: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  text-align: left;
}
.ping-card:nth-child(odd) { transform: rotate(-.5deg); }
.ping-card:nth-child(even) { transform: rotate(.5deg); }
.ping-card.unread { background: var(--straw); }
.ping-card.unread::before {
  content: "";
  position: absolute; top: 12px; left: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--flame);
  border: 2px solid var(--ink);
}
.pc-av {
  width: 44px; height: 44px; flex: 0 0 auto;
  border: 2.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Permanent Marker'; font-size: 15px;
}
.pc-body { flex: 1; min-width: 0; }
.pc-who {
  font-family: 'Permanent Marker'; font-size: 18px;
  line-height: 1;
}
.pc-who .pc-verb {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 13px; color: var(--muted);
  margin-left: 4px;
}
.pc-msg {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 13px; margin-top: 6px;
  line-height: 1.35;
}
.pc-time {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted);
  margin-top: 6px;
}
.ping-actions {
  display: flex; gap: 6px; margin-top: 10px;
  flex-wrap: wrap;
}
.pa-btn {
  flex: 1;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
  padding: 8px 10px;
  font-family: 'Space Grotesk'; font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .14s, box-shadow .14s;
}
.pa-btn:active { transform: translate(1px,1px); box-shadow: 0 0 0 var(--ink); }
.pa-btn.primary { background: var(--ink); color: var(--cream); }
.pa-btn.danger { background: var(--flame); color: var(--cream); }
.pa-btn.taken { background: var(--sage); color: var(--ink); pointer-events: none; }

/* ============ ME / PROFILE ============ */
.me-wrap {
  padding: 24px 22px 32px;
  display: flex; flex-direction: column;
  gap: 20px; flex: 1;
  overflow-y: auto;
}

/* T1: minimal Me hero — compact horizontal layout */
.me-hero-min {
  display: flex; align-items: center;
  gap: 14px; padding: 4px 0 2px;
}
.me-av-tap {
  width: 64px; height: 64px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Permanent Marker'; font-size: 24px;
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  background: var(--cobalt);
  transition: transform .15s, box-shadow .15s;
  flex: 0 0 auto;
}
.me-av-tap:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.me-hero-text { flex: 1; min-width: 0; }
.me-name-min {
  font-family: 'Permanent Marker'; font-size: 24px; line-height: 1;
}
.me-name-edit {
  font-size: 14px; opacity: .35;
  margin-left: 4px;
  cursor: pointer;
}
.me-name-input {
  font-family: 'Permanent Marker'; font-size: 28px; line-height: 1;
  border: none; border-bottom: 2.5px solid var(--cobalt);
  background: transparent; color: var(--ink);
  text-align: center; outline: none;
  width: 100%; padding: 4px 0;
}
.me-tag-min {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted);
  line-height: 1.2; margin-top: 2px;
}

/* T1: horizontal rule between sections */
.me-rule {
  width: 100%; height: 1.5px;
  background: rgba(20,18,16,.12);
  border: none; margin: 2px 0;
}

/* T1: footer */
.me-foot-min {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted-2);
  text-align: center; padding: 4px 0;
}

.section-title {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  padding: 6px 2px 4px;
  margin: 0;
}

/* current status card */
.now-card {
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  padding: 16px 18px;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; gap: 14px;
  transition: background .35s ease;
  transform: rotate(.3deg);
}
[data-home-state="playing"] .now-card { background: var(--peach); }
[data-home-state="down"] .now-card { background: var(--straw); }

.now-ic {
  width: 54px; height: 54px; flex: 0 0 auto;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  display: grid; place-items: center;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transform: rotate(-4deg);
  font-size: 24px;
}
[data-home-state="playing"] .now-ic { background: var(--flame); color: var(--cream); }
[data-home-state="down"] .now-ic { background: var(--cobalt); color: var(--cream); }

.now-body { flex: 1; min-width: 0; }
.now-hd {
  font-family: 'Permanent Marker';
  font-size: 20px; line-height: 1;
}
.now-sub {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 12px; color: var(--muted);
  margin-top: 6px; line-height: 1.3;
}

/* weekly activity strip */
.week-strip {
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  padding: 14px 12px;
  box-shadow: 3px 3px 0 var(--ink);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  transform: rotate(-.3deg);
}
.wd {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.wd .day {
  font-family: 'Space Grotesk'; font-weight: 700;
  font-size: 10px; letter-spacing: .08em;
  color: var(--muted); text-transform: uppercase;
}
.wd .bar {
  width: 22px; height: 38px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  display: flex; flex-direction: column-reverse;
  overflow: hidden;
}
.wd .bar .fill {
  background: var(--sage);
  width: 100%;
}
.wd.today .bar { background: rgba(20,18,16,.06); }
.wd.today .day { color: var(--ink); }
.wd .mins {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 11px; color: var(--muted);
  line-height: 1;
}

/* stats grid */
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
}
.stat-card {
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  padding: 12px 6px 10px;
  text-align: center;
  box-shadow: 2.5px 2.5px 0 var(--ink);
}
.stat-card:nth-child(1) { transform: rotate(-1deg); }
.stat-card:nth-child(2) { background: var(--peach); }
.stat-card:nth-child(3) { transform: rotate(1deg); }
.stat-card .sn {
  font-family: 'Permanent Marker'; font-size: 24px; line-height: 1;
}
.stat-card .sl {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 13px;
  color: var(--muted); margin-top: 4px;
  line-height: 1.1;
}

/* favorites */
.me-favorites { margin-bottom: 4px; }
.fav-empty {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted);
  text-align: center; padding: 12px 8px;
  border: 2px dashed rgba(20,18,16,.15);
  border-radius: 14px;
}
.fav-empty b { font-family: 'Space Grotesk'; font-weight: 700; font-size: 12px; }
.rbub-fav-star {
  position: absolute;
  top: -2px; right: -8px;
  font-size: 14px; color: var(--mustard);
  z-index: 1;
  filter: drop-shadow(0 1px 0 var(--ink));
}
/* fav-user-btn removed — replaced by rs-fav-icon */

/* Gear icon */
.me-gear {
  background: none; border: none;
  font-size: 22px; color: var(--muted);
  cursor: pointer; padding: 4px;
  flex: 0 0 auto;
  transition: transform .2s, color .15s;
}
.me-gear:hover { color: var(--ink); }
.me-gear:active { transform: rotate(60deg); }

/* Settings dropdown — hidden by default */
.me-settings-dropdown {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
  margin-bottom: 4px;
}
.me-settings-dropdown.open { display: flex; }
.me-dd-item {
  background: none; border: none;
  border-bottom: 1.5px solid rgba(20,18,16,.08);
  padding: 12px 16px;
  font-family: 'Space Grotesk'; font-weight: 600;
  font-size: 13px; color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: flex; align-items: center; gap: 8px;
  transition: background .12s;
}
.me-dd-item:last-child { border-bottom: none; }
.me-dd-item:active { background: rgba(20,18,16,.05); }
.me-dd-danger { color: var(--flame); }
.me-dd-item .tog-switch { transform: scale(.65); margin: -4px 0; }

.tog-switch {
  width: 44px; height: 26px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background .18s;
}
.tog-switch .knob {
  position: absolute; top: 1px; left: 1px;
  width: 18px; height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  transition: left .18s cubic-bezier(.3,1.6,.5,1), background .18s;
}
.tog-switch.on { background: var(--sage); }
.tog-switch.on .knob { left: 19px; background: var(--cream); }

.me-foot {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 13px; color: var(--muted-2);
  text-align: center;
  padding: 14px 0 6px;
}

/* ============ T8: SETUP — 3-SCREEN FULLSCREEN FLOW ============ */
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pageIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Full-screen container (replaces old bottom-sheet overlay) */
.setup-fs {
  position: fixed; inset: 0;
  max-width: 430px; margin: 0 auto;
  z-index: 50;
  background: var(--cream);
  background-image:
    radial-gradient(circle at 20% 12%, rgba(20,18,16,.04) 0, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(20,18,16,.03) 0, transparent 48%);
  animation: fadeIn .25s ease;
  overflow: hidden;
}

/* Each screen */
.setup-page {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 28px calc(32px + env(safe-area-inset-bottom, 0px));
  gap: 18px;
  overflow-y: auto;
}
.s-slide-in { animation: pageIn .3s cubic-bezier(.3,1.4,.4,1); }

/* Illustration area */
.setup-art {
  display: flex; justify-content: center; align-items: center;
  width: 100%; margin-bottom: 4px;
}

/* Wordmarks */
.setup-wm {
  font-family: 'Permanent Marker', cursive;
  font-size: 52px; line-height: 1;
  transform: rotate(-2deg);
  letter-spacing: .3px;
}
.setup-wm-sm {
  font-family: 'Permanent Marker', cursive;
  font-size: 28px; line-height: 1;
  transform: rotate(-1.5deg);
  letter-spacing: .3px;
  align-self: flex-start;
}
.swm-me { color: var(--flame); }

.setup-tagline {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 22px; color: var(--muted);
  text-align: center;
  transform: rotate(-.5deg);
}

/* Primary CTA — chunky orange-red full-width */
.setup-primary {
  width: 100%;
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 18px;
  font-family: 'Permanent Marker'; font-size: 26px;
  background: var(--flame); color: var(--cream);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s, box-shadow .16s;
  text-align: center;
}
.setup-primary:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }
.setup-primary:disabled { opacity: .6; pointer-events: none; }

/* Secondary skip link */
.setup-skip {
  background: none; border: none;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 16px; color: var(--muted);
  cursor: pointer; padding: 4px 10px;
  text-decoration: underline; text-decoration-style: dashed;
  text-underline-offset: 3px;
}

/* Small disclaimer text */
.setup-disclaimer {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 12px; color: var(--muted-2);
  text-align: center; line-height: 1.5;
  max-width: 280px;
}

/* Headline on screens 2 & 3 */
.setup-h2 {
  font-family: 'Permanent Marker';
  font-size: 28px; text-align: center;
  transform: rotate(-.8deg);
  line-height: 1.15;
  margin: 0;
}

/* Name input */
.setup-name-input {
  width: 100%;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 24px;
  background: var(--cream); color: var(--ink);
  outline: none;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.setup-name-input:focus {
  border-color: var(--flame);
  box-shadow: 3px 3px 0 var(--flame);
}
.setup-name-input::placeholder { color: var(--muted-2); }

/* T8 Screen 3: push notification art */
.setup-notif-art {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; position: relative; width: 100%;
}
.sna-phone { font-size: 56px; line-height: 1; }
.sna-bubble {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 13px;
  background: var(--ink); color: var(--cream);
  padding: 8px 14px; border-radius: 14px;
  box-shadow: 2px 2px 0 rgba(20,18,16,.25);
  transform: rotate(1.5deg);
  max-width: 220px; text-align: center;
}

/* Magic link check-inbox screen */
.setup-check-icon {
  font-size: 56px; line-height: 1;
  transform: rotate(-5deg);
}
.setup-check-sub {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 15px; color: var(--muted);
  text-align: center; line-height: 1.5;
}
.setup-check-sub b { font-weight: 700; color: var(--ink); }

/* T9: PWA install instructions */
.setup-pwa-icon {
  font-size: 52px; line-height: 1;
  transform: rotate(-5deg);
}
.setup-pwa-steps {
  width: 100%;
  border: 2.5px dashed var(--ink);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(20,18,16,.03);
}
.setup-pwa-step {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 14px; line-height: 1.4; color: var(--ink);
}
.setup-pwa-step b { font-weight: 700; }

/* ============ T5: OFF EXPAND ============ */
.off-expand-wrap {
  display: flex; justify-content: center;
  padding: 8px 0 4px;
}
.off-expand { display: flex; justify-content: center; padding: 8px 0 4px; }
.show-off-btn {
  background: none; border: none;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 15px; color: var(--muted);
  text-decoration: underline; text-decoration-style: dashed;
  text-underline-offset: 3px;
  cursor: pointer; padding: 4px 10px;
  transition: color .15s;
}
.show-off-btn:hover { color: var(--ink); }

/* T5: away bubbles dimmed via .bub-away .rbub-av */

/* ============ T7: NOTIS WELCOME CARD ============ */
.notis-welcome {
  border: 2.5px dashed var(--ink);
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.nw-icon { font-size: 40px; }
.nw-title {
  font-family: 'Permanent Marker'; font-size: 22px;
  transform: rotate(-.5deg);
}
.nw-body {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left; width: 100%;
}
.nw-item {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 14px; color: var(--muted);
  padding-left: 8px;
}
.nw-coming {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 14px; color: var(--muted-2);
  margin-top: 4px;
  border-top: 1.5px dashed rgba(20,18,16,.12);
  padding-top: 10px; width: 100%;
  text-align: center;
}

/* ============ QR SHARE ============ */
.qr-wrap {
  display: flex; justify-content: center;
  padding: 16px 0;
}
.qr-url {
  font-family: 'Space Grotesk'; font-weight: 600;
  font-size: 12px; color: var(--muted);
  text-align: center; margin-bottom: 14px;
  word-break: break-all;
}

/* ============ CHAT ============ */
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}
.chat-av {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: 'Permanent Marker'; font-size: 13px;
  color: var(--cream);
  box-shadow: 2px 2px 0 var(--ink);
}
.chat-with {
  font-family: 'Permanent Marker'; font-size: 20px;
}
.chat-messages {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 0 12px;
  min-height: 120px; max-height: 40vh;
}
.chat-empty {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 15px; color: var(--muted);
  text-align: center; padding: 30px 0;
}
.chat-msg {
  display: flex; flex-direction: column;
  max-width: 80%;
}
.chat-me { align-self: flex-end; align-items: flex-end; }
.chat-them { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 14px; line-height: 1.4;
  padding: 8px 14px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.chat-me .chat-bubble { background: var(--cobalt); color: var(--cream); }
.chat-them .chat-bubble { background: var(--cream); color: var(--ink); }
.chat-time {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 11px; color: var(--muted);
  margin-top: 2px; padding: 0 4px;
}
.chat-input-wrap {
  display: flex; gap: 8px;
  border-top: 2px solid rgba(20,18,16,.1);
  padding-top: 12px;
}
.chat-input {
  flex: 1;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: 14px;
  background: var(--cream); color: var(--ink);
  outline: none;
}
.chat-input:focus { border-color: var(--cobalt); }
.chat-send {
  width: 42px; height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cobalt); color: var(--cream);
  font-size: 18px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .14s, box-shadow .14s;
}
.chat-send:active { transform: translate(1px,1px); box-shadow: 0 0 0 var(--ink); }
.msg-user-btn {
  display: block; width: 100%;
  margin-top: 10px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 12px;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 14px;
  background: var(--cobalt); color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s, box-shadow .16s;
}
.msg-user-btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: calc(40px + env(safe-area-inset-bottom, 0px)); left: 50%;
  transform: translateX(-50%);
  max-width: 340px;
  background: var(--ink); color: var(--cream);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 14px;
  z-index: 999;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(20,18,16,.3);
}
.toast.show { opacity: 1; }
