:root {
  --ink: #10161d;
  --ink-2: #4a5561;
  --paper: #fbf8f1;
  --line: #e6e0d4;
  --yellow: #f2b705;
  --green: #1f8a5b;
  --talk: #3ddc84;
  --red: #e5484d;
  --glass: rgba(13, 19, 26, 0.62);
  --glass-strong: rgba(13, 19, 26, 0.8);
  --glass-line: rgba(255, 255, 255, 0.12);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0f1720;
  color: #fff;
  font: 15px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

#app,
#app canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.labels {
  position: fixed !important;
  inset: 0;
  pointer-events: none;
}

/* ------------------------------------------------ name tags */
.tag {
  width: 0;
  height: 0;
  pointer-events: none;
}
.tag .inner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: max-content;
  max-width: 240px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.tag .name {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.62);
  color: #fff;
  font: 600 12px/1.1 var(--body);
  white-space: nowrap;
  transition: box-shadow 0.15s;
}
.tag.self .name {
  display: none;
}
.mic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.tag.speaking .name {
  box-shadow: 0 0 0 2px var(--talk);
}
.tag.speaking .mic-dot {
  background: var(--talk);
  animation: talk 0.9s ease-in-out infinite;
}
@keyframes talk {
  50% {
    transform: scale(1.6);
  }
}
.bubble {
  width: max-content;
  max-width: 220px;
  padding: 7px 11px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 500 13px/1.35 var(--body);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow-wrap: anywhere;
}
.bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

/* ------------------------------------------------ join screen */
.join {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 28px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 12, 18, 0.45), rgba(8, 12, 18, 0) 55%);
}
.join-card {
  pointer-events: auto;
  width: min(420px, 100%);
  max-height: calc(100% - 8px);
  overflow: auto;
  padding: 26px 26px 20px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 800 20px/1 var(--display);
}
.brand em {
  font: 600 11px/1 var(--body);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  border-radius: 6px;
  background: #efe7d3;
  color: #7a5d12;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--yellow);
  color: #111;
  font: 800 17px/1 var(--display);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.mark.sm {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 13px;
}
.join h1 {
  margin: 18px 0 8px;
  font: 800 30px/1.08 var(--display);
  letter-spacing: -0.02em;
}
.lede {
  margin: 0 0 18px;
  color: var(--ink-2);
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 13px;
}
.field input {
  font: 500 16px var(--body);
  padding: 11px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
}
.field input:focus {
  border-color: var(--green);
}
.row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.row-label {
  font-size: 13px;
  font-weight: 600;
}
.swatches,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--c);
  box-shadow: 0 0 0 1.5px var(--line);
  padding: 0;
}
.swatch.on {
  box-shadow: 0 0 0 2.5px var(--ink);
}
.chip {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-primary {
  width: 100%;
  margin-top: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font: 700 16px var(--body);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary:disabled {
  opacity: 0.7;
}
.fine {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-2);
  text-align: center;
}

/* ------------------------------------------------ HUD */
.topbar {
  position: fixed;
  top: calc(14px + var(--safe-t));
  left: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px 0 9px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 14px;
}
.icon-btn {
  width: 38px;
  padding: 0;
  justify-content: center;
}
#area.flash {
  animation: flash 0.8s ease-out;
}
@keyframes flash {
  0% {
    color: var(--yellow);
  }
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--talk);
  margin-left: 4px;
}

.people {
  position: fixed;
  top: calc(196px + var(--safe-t));
  right: 14px;
  width: 240px;
  padding: 12px 12px 8px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.people h2 {
  margin: 0 0 6px;
  font: 600 11px/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}
.people ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.people li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--glass-line);
}
.people li:first-child {
  border-top: 0;
}
.who {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-weight: 600;
  font-size: 14px;
}
.who .nm {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vdot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.people li.linked .vdot {
  background: #7fb8ff;
}
.people li.speaking .vdot {
  background: var(--talk);
  animation: talk 0.9s ease-in-out infinite;
}
.meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.mute {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
}
.mute.on {
  background: rgba(229, 72, 77, 0.25);
  color: #ffb3b5;
}
.empty {
  margin: 2px 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.actions {
  position: fixed;
  right: 18px;
  bottom: calc(18px + var(--safe-b));
  display: flex;
  gap: 12px;
  align-items: center;
}
.round {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  touch-action: manipulation;
}
.mic {
  width: 68px;
  height: 68px;
  background: var(--green);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(31, 138, 91, 0.45);
  transition: box-shadow 0.15s, background 0.15s;
}
.mic .i-off {
  display: none;
}
.mic.off {
  background: var(--glass-strong);
  border-color: var(--glass-line);
  box-shadow: none;
}
.mic.off .i-on {
  display: none;
}
.mic.off .i-off {
  display: block;
  opacity: 0.85;
}
.mic.speaking {
  box-shadow: 0 0 0 5px rgba(61, 220, 132, 0.45), 0 8px 24px rgba(31, 138, 91, 0.45);
}

.chat-log {
  position: fixed;
  left: 14px;
  bottom: calc(58px + var(--safe-b));
  width: min(380px, calc(100% - 120px));
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.chat-log .line {
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--glass);
  font-size: 13.5px;
  transition: opacity 1s;
  overflow-wrap: anywhere;
}
.chat-log .line b {
  color: var(--yellow);
  margin-right: 2px;
}
.chat-log .line.mine b {
  color: var(--talk);
}
.chat-log .line.fade {
  opacity: 0;
}
.chat-form {
  position: fixed;
  left: 50%;
  bottom: calc(22px + var(--safe-b));
  transform: translateX(-50%);
  width: min(520px, calc(100% - 28px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s;
}
.chatting .chat-form {
  opacity: 1;
  pointer-events: auto;
}
.chat-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-line);
  background: var(--glass-strong);
  color: #fff;
  font: 500 16px var(--body);
  outline: none;
}

.keys-hint {
  position: fixed;
  left: 14px;
  bottom: calc(16px + var(--safe-b));
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.chatting .keys-hint {
  visibility: hidden;
}
kbd {
  display: inline-block;
  min-width: 20px;
  padding: 1px 5px;
  margin-right: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font: 600 11.5px/1.5 var(--body);
  text-align: center;
  text-shadow: none;
}

.help {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 8, 12, 0.45);
}
.help-card {
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
}
.help-card h2 {
  margin: 0 0 12px;
  font: 800 22px var(--display);
}
.help-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0 0 12px;
}
.help-card dt {
  white-space: nowrap;
}
.help-card dd {
  margin: 0;
  color: var(--ink-2);
}
.help-card kbd {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.help-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

/* ------------------------------------------------ touch controls */
.joy,
.jump {
  display: none;
}
.touch .joy {
  display: block;
  position: fixed;
  left: 22px;
  bottom: calc(26px + var(--safe-b));
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(13, 19, 26, 0.38);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  touch-action: none;
}
.joy-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.touch .jump {
  display: grid;
  position: fixed;
  right: 30px;
  bottom: calc(104px + var(--safe-b));
  width: 48px;
  height: 48px;
}
.touch .keys-hint {
  display: none;
}
.touch .chat-log {
  bottom: auto;
  top: calc(64px + var(--safe-t));
  width: min(300px, calc(100% - 28px));
}

/* ------------------------------------------------ toasts + overlays */
.toasts {
  position: fixed;
  top: calc(64px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  width: min(460px, calc(100% - 28px));
}
.toast {
  padding: 12px 18px;
  border-radius: 14px;
  background: #0f151c;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  text-shadow: none;
  text-align: center;
  animation: toast-in 0.2s ease-out;
  transition:
    opacity 0.22s ease-in,
    transform 0.22s ease-in;
}
.toast.error {
  background: #b81f2a;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 700;
}
.toast.out {
  opacity: 0;
  transform: translateY(-8px);
}
@keyframes toast-in {
  from {
    transform: translateY(-6px);
    opacity: 0;
  }
}
.audio-unlock {
  position: fixed;
  left: 50%;
  bottom: calc(110px + var(--safe-b));
  transform: translateX(-50%);
}
.audio-unlock button {
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--yellow);
  color: #111;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.offline {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 8, 12, 0.6);
}
.offline-card {
  width: min(340px, 100%);
  padding: 22px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}
.offline-card h2 {
  margin: 0 0 6px;
  font: 800 22px var(--display);
}

/* ------------------------------------------------ small screens */
@media (max-width: 820px) {
  .join {
    align-items: flex-end;
    padding: 0;
    background: linear-gradient(0deg, rgba(8, 12, 18, 0.5), rgba(8, 12, 18, 0) 60%);
  }
  .join-card {
    width: 100%;
    max-height: 64%;
    border-radius: 22px 22px 0 0;
    padding: 20px 16px calc(16px + var(--safe-b));
  }
  .join h1 {
    font-size: 24px;
    margin-top: 12px;
  }
  .join-card .btn-primary {
    position: sticky;
    bottom: 0;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2), 0 -10px 16px var(--paper);
  }
  .lede {
    font-size: 14px;
  }
  .people {
    top: auto;
    bottom: calc(176px + var(--safe-b));
    right: 12px;
    width: 200px;
    padding: 9px 10px 5px;
  }
  .people .empty {
    display: none;
  }
  .people:has(#people-empty:not([hidden])) {
    display: none;
  }
  .topbar {
    left: 12px;
    right: 12px;
  }
}


/* ------------------------------------------------ LasGidi: account screen */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #efe8d8;
}
.tab {
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
}
.tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.form-error {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fde8e8;
  color: #9b1c1c;
  font-size: 14px;
}
.btn-link {
  display: block;
  margin: 10px auto 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  text-decoration: underline;
  font-size: 13px;
}
.help .btn-link {
  color: var(--ink-2);
}
.welcome {
  margin: 0 0 6px;
  font-size: 17px;
}
.wallet-line {
  margin: 0 0 14px;
  color: var(--ink-2);
}
.wallet-line b {
  color: var(--green);
}
#edit-look {
  margin-bottom: 8px;
}
#edit-look summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
}
.picker {
  margin: 4px 0 6px;
}

/* ------------------------------------------------ LasGidi: HUD */
.money-pill {
  color: #9ff0c0;
}
.minimap {
  position: fixed;
  top: calc(14px + var(--safe-t));
  right: 14px;
  width: 172px;
  height: 172px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: #2b6a80;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.minimap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.prompt {
  position: fixed;
  left: 50%;
  bottom: calc(150px + var(--safe-b));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  font-weight: 600;
  white-space: nowrap;
}
.prompt kbd {
  font-size: 13px;
  padding: 3px 8px;
  background: var(--yellow);
  color: #111;
  border: 0;
}
.veh-hud {
  position: fixed;
  left: 50%;
  bottom: calc(20px + var(--safe-b));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 12px;
  border-radius: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  min-width: 260px;
}
.veh-hud .speed {
  display: grid;
  justify-items: center;
  min-width: 64px;
}
.veh-hud .speed b {
  font: 800 30px/1 var(--display);
}
.veh-hud .speed small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.veh-name {
  font-weight: 700;
  text-transform: capitalize;
}
.veh-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}
.dmg {
  width: 150px;
  height: 6px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.dmg i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3ddc84, #f2b705, #e5484d);
  background-size: 150px 100%;
}
.bubble.conductor {
  background: var(--yellow);
  font-weight: 700;
}
.round.act {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  color: #111;
  border-color: transparent;
  font: 800 15px var(--display);
}
.round.horn {
  background: var(--glass-strong);
}
.help-card h3 {
  margin: 12px 0 6px;
  font: 700 12px var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

/* full map */
.fullmap {
  position: fixed;
  inset: 0;
  background: #0f1720;
  z-index: 20;
}
.fullmap canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.fullmap-bar {
  position: absolute;
  left: 50%;
  top: calc(14px + var(--safe-t));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  font-size: 13px;
  white-space: nowrap;
  max-width: calc(100% - 24px);
}
.fullmap-bar span {
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
}
.fullmap-bar button {
  padding: 7px 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}
.fullmap-bar #map-close {
  background: var(--yellow);
  color: #111;
}

/* loading + accident */
.loading {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 12, 18, 0.55);
  z-index: 15;
}
.loading-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px 28px;
  border-radius: 20px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
}
.loading-card span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--yellow);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.accident {
  position: fixed;
  left: 50%;
  top: calc(64px + var(--safe-t));
  transform: translateX(-50%);
  width: min(380px, calc(100% - 28px));
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(120, 22, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 12;
}
.accident h3 {
  margin: 0 0 6px;
  font: 800 18px var(--display);
}
.accident p {
  margin: 0 0 4px;
  font-size: 14px;
}
.accident .small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 820px) {
  .minimap {
    width: 118px;
    height: 118px;
    top: calc(62px + var(--safe-t));
    right: 12px;
  }
  .topbar .pill:nth-child(4) {
    display: none;
  }
  .prompt {
    bottom: calc(190px + var(--safe-b));
  }
  .veh-hud {
    left: auto;
    right: 12px;
    transform: none;
    bottom: calc(178px + var(--safe-b));
    min-width: 0;
    padding: 8px 12px 8px 10px;
  }
  .dmg {
    width: 90px;
  }
  .fullmap-bar span {
    display: none;
  }
}

/* the big context buttons are for touch screens; keyboards have E and H */
body:not(.touch) #act-btn,
body:not(.touch) #horn-btn {
  display: none;
}

/* touch: the context button sits above the right-hand buttons, clear of the joystick */
.touch #act-btn {
  position: fixed;
  right: 18px;
  bottom: calc(168px + var(--safe-b));
}
.touch.in-vehicle .jump {
  display: none;
}
/* touch: the vehicle panel goes top-left so the right-hand buttons stay free */
@media (max-width: 820px) {
  .touch .veh-hud {
    top: calc(62px + var(--safe-t));
    bottom: auto;
    left: 12px;
    right: auto;
    transform: none;
  }
  .touch.in-vehicle .chat-log {
    top: calc(140px + var(--safe-t));
  }
}
@media (max-width: 820px) {
  .touch .veh-hud {
    max-width: calc(100% - 152px);
  }
  .touch .veh-sub {
    display: none;
  }
}

.sleep-fade {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 30;
  animation: sleep 1.6s ease-in-out;
  pointer-events: none;
}
@keyframes sleep {
  0% {
    opacity: 0;
  }
  35%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ------------------------------------------------------------ hunger, GPS, skip, map card */
.hunger-pill {
  gap: 7px;
  padding-right: 12px;
}
.hunger-pill .hbar {
  position: relative;
  width: 46px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.hunger-pill .hbar b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: #3ddc84;
  transition: width 0.4s, background 0.4s;
}
.hunger-pill.low .hbar b {
  background: #ffb300;
}
.hunger-pill.empty .hbar b {
  background: #ff4d4f;
}
.hunger-pill.empty {
  animation: pulse-red 1.4s ease-in-out infinite;
}
@keyframes pulse-red {
  50% {
    border-color: rgba(255, 77, 79, 0.9);
  }
}

.gps-pill {
  position: fixed;
  top: calc(62px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  background: #0f6b37;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-width: calc(100% - 32px);
  z-index: 6;
}
.gps-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gps-pill button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  font-weight: 800;
  flex: none;
}

.skip-btn {
  padding: 9px 14px;
  border-radius: 12px;
  border: 0;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.skip-panel {
  position: fixed;
  left: 50%;
  bottom: calc(110px + var(--safe-b));
  transform: translateX(-50%);
  width: min(360px, calc(100% - 32px));
  max-height: 55vh;
  overflow: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(13, 19, 26, 0.95);
  border: 1px solid var(--glass-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 12;
}
.skip-panel h4 {
  margin: 0 0 4px;
  font: 800 18px var(--display);
}
.skip-panel p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.skip-panel ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.skip-panel li button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.07);
  text-align: left;
  font-weight: 600;
}
.skip-panel li button small {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.map-card {
  position: absolute;
  left: 50%;
  bottom: calc(22px + var(--safe-b));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: rgba(13, 19, 26, 0.94);
  border: 1px solid var(--glass-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  max-width: calc(100% - 28px);
}
.map-card b {
  display: block;
  font: 800 19px var(--display);
}
.map-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.map-card-btns {
  display: flex;
  gap: 8px;
  flex: none;
}
.map-card-btns button {
  padding: 10px 14px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
}
#map-card-go {
  background: #22e06b;
  color: #062a14;
}
#map-card-taxi {
  background: var(--yellow);
  color: #111;
}
#map-home {
  background: #ff8a1f !important;
  color: #fff;
}
@media (max-width: 560px) {
  .map-card {
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 28px);
  }
}

/* ------------------------------------------------------------ the phone */
.phone-btn {
  background: linear-gradient(160deg, #2f3b47, #11161c);
}
.phone {
  position: fixed;
  right: 22px;
  bottom: calc(92px + var(--safe-b));
  z-index: 15;
  animation: phone-in 0.22s ease-out;
}
@keyframes phone-in {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}
.phone-frame {
  position: relative;
  width: 300px;
  height: 610px;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px); /* the visible height: 100vh on phones includes the space under the browser bars */
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #2a2f36, #0b0d10);
  box-shadow:
    0 0 0 2px #3c434c,
    0 24px 60px rgba(0, 0, 0, 0.6);
}
.phone-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid #3c434c;
  border-radius: 50%;
  background: #12161b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: 99px;
  background: #000;
  z-index: 3;
}
.phone-status {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 44px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}
.ph-net {
  display: none;
}
.ph-batt {
  width: 24px;
  height: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  padding: 1px;
}
.ph-batt i {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: 1px;
  background: #fff;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: auto;
  padding: 54px 14px 34px;
  background: #f4f2ee;
  color: #12161b;
  scrollbar-width: none;
}
.phone-screen::-webkit-scrollbar {
  display: none;
}
.phone-screen.app-home,
.phone-screen.app-incall {
  background:
    radial-gradient(120% 70% at 20% 0%, #1f8a5b 0%, transparent 60%),
    radial-gradient(90% 60% at 100% 100%, #f2b705 0%, transparent 55%),
    linear-gradient(170deg, #0d3b2a, #0b1d2a 70%);
  color: #fff;
}
.phone-homebar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 116px;
  height: 5px;
  margin-left: -58px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0;
}
.phone-screen:not(.app-home):not(.app-incall) ~ .phone-homebar {
  background: rgba(0, 0, 0, 0.55);
}
.ph-lock {
  text-align: center;
  margin: 6px 0 14px;
}
.ph-lock b {
  display: block;
  font: 800 52px/1 var(--display);
  letter-spacing: -1px;
}
.ph-lock span {
  font-size: 13px;
  opacity: 0.85;
}
.ph-widget {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ph-widget span {
  font-size: 12px;
  opacity: 0.85;
}
.ph-widget b {
  font: 800 26px var(--display);
}
.ph-hunger {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ph-hunger i,
.ph-hungerbar i {
  position: relative;
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.ph-hunger i::after,
.ph-hungerbar i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: #3ddc84;
}
.ph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 6px;
}
.ph-app {
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 0;
  background: none;
  padding: 0;
}
.ph-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
.ph-label {
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.ph-head {
  margin-bottom: 12px;
}
.ph-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  background: none;
  color: #0a7cff;
  font-weight: 600;
  padding: 0;
  margin-left: -6px;
}
.ph-head h3 {
  margin: 6px 0 0;
  font: 800 26px var(--display);
}
.ph-sub {
  margin: 2px 0 0;
  color: #5c6670;
  font-size: 13px;
}
.ph-note {
  font-size: 12.5px;
  color: #5c6670;
  margin: 10px 2px;
}
.ph-section {
  margin: 16px 2px 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c6670;
}
.ph-card {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}
.ph-card b {
  font-size: 15.5px;
}
.ph-card p {
  margin: 4px 0 10px;
  font-size: 13px;
  color: #4a5561;
}
.ph-card.soft {
  background: #fff7e0;
}
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.ph-btn:disabled {
  opacity: 0.5;
}
.ph-btn.green {
  background: #1fa34a;
}
.ph-btn.yellow {
  background: #f2b705;
  color: #111;
}
.ph-btn.dark {
  background: #2f3b47;
}
.ph-btn.maroon {
  background: #8c1c2e;
}
.ph-btn.ghost {
  background: #e7e3db;
  color: #12161b;
}
.ph-btn.wide {
  margin-bottom: 10px;
}
.ph-dial {
  display: grid;
  gap: 8px;
}
.ph-dial input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d9d4ca;
  background: #fff;
  font: 600 16px var(--body);
  color: #12161b;
}
.ph-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.ph-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid #efebe4;
}
.ph-list li:last-child {
  border-bottom: 0;
}
.ph-list li span {
  display: grid;
  min-width: 0;
}
.ph-list li span b {
  font-size: 14.5px;
}
.ph-list li small {
  color: #6b7580;
  font-size: 12px;
}
.ph-list .neg {
  color: #c62832;
}
.ph-list .pos {
  color: #1f8a5b;
}
.ph-list.places li {
  padding: 0;
}
.ph-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  background: none;
  text-align: left;
  color: #12161b;
}
.ph-row svg {
  flex: none;
  color: #0a7cff;
}
.ph-chip {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 12px;
  border-radius: 99px;
  border: 0;
  font-weight: 800;
  color: #fff;
}
.ph-chip:disabled {
  opacity: 0.45;
}
.ph-chip.green {
  background: #1fa34a;
}
.ph-chip.orange {
  background: #e8590c;
}
.ph-hungerbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.ph-hungerbar i {
  background: #e7e3db;
}
.ph-balance {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(150deg, #1f8a5b, #0d3b2a);
}
.ph-balance b {
  font: 800 34px var(--display);
}
.ph-balance span,
.ph-balance small {
  opacity: 0.85;
  font-size: 13px;
}
.ph-call {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 40px;
}
.ph-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font: 800 34px var(--display);
}
.ph-call h3 {
  margin: 16px 0 2px;
  font: 800 28px var(--display);
}
.ph-call-status {
  margin: 0;
  opacity: 0.85;
}
.ph-call-btns {
  display: flex;
  gap: 44px;
  margin-top: 150px;
}
.ph-round {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 0;
  color: #fff;
}
.ph-round small {
  font-size: 10px;
}
.ph-round.red {
  background: #e5484d;
}
.ph-round.green {
  background: #1fa34a;
}
.ph-round.light {
  background: rgba(255, 255, 255, 0.25);
}
.ph-round.dim {
  background: #fff;
  color: #111;
}
@media (max-width: 820px) {
  .phone {
    right: 50%;
    bottom: auto;
    top: 50%;
    transform: translate(50%, -50%);
    animation: none;
  }
  .phone-frame {
    width: min(330px, calc(100vw - 24px));
    height: min(640px, calc(100vh - 40px));
  }
  .gps-pill {
    top: calc(58px + var(--safe-t));
    font-size: 14px;
  }
}

.phone-frame.light .phone-status {
  color: #12161b;
}
.phone-frame.light .ph-batt {
  border-color: rgba(0, 0, 0, 0.7);
}
.phone-frame.light .ph-batt i {
  background: #12161b;
}
.phone-frame.light .phone-homebar {
  background: rgba(0, 0, 0, 0.55);
}

.ph-row.on {
  background: #fff4cc;
}
.ph-card.ride-pick {
  border: 2px solid #f2b705;
}

.fuel-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.85);
}
.fuel-row .fuel {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.fuel-row .fuel b {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: #f2b705;
}
.fuel-row.low .fuel b {
  background: #ff4d4f;
}

.ph-card.hot {
  background: #ffe8e6;
  border: 2px solid #e5484d;
}
.ph-card.on-shift {
  border: 2px solid #1fa34a;
}
.ph-tip {
  font-size: 12px !important;
  color: #1f8a5b !important;
}
.ph-job {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 8px;
}
.ph-job p {
  margin: 4px 0 8px;
  font-size: 12.5px;
  color: #4a5561;
}
.ph-job-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ph-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: #e8f5ee;
  color: #1f8a5b;
  white-space: nowrap;
}
.ph-job.soon {
  background: #ece8df;
}
.ph-job.soon p {
  margin-bottom: 0;
}
.ph-balance + .ph-card,
.ph-balance + .ph-card.on-shift {
  margin-top: 10px;
}

.job-pill {
  position: fixed;
  top: calc(60px + var(--safe-t));
  left: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #1f8a5b;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.skip-panel li button span {
  font-weight: 700;
}
.wash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 14;
}
.wash-card {
  width: min(340px, calc(100% - 28px));
  padding: 16px;
  border-radius: 20px;
  background: #f4f2ee;
  color: #12161b;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.wash-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.wash-top b {
  font: 800 20px var(--display);
}
.wash-top span {
  font-weight: 700;
  color: #1f8a5b;
}
#wash-plate {
  width: 260px;
  height: 260px;
  max-width: 100%;
  border-radius: 18px;
  background: #9fb6c4;
  touch-action: none;
  cursor: grab;
}
#wash-hint {
  margin: 8px 0;
  font-size: 13px;
  color: #4a5561;
}
.wash-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.wash-btns button {
  flex: 1;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: #1c6fd1;
}
.wash-btns button#wash-stack {
  background: #1f8a5b;
}
.wash-btns button:disabled {
  opacity: 0.35;
}
#wash-stop {
  margin-top: 10px;
  color: #c62832;
}

/* ================================================ influencers.ng */
.brand .mark {
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  color: #fff;
}
.mark.sm {
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  color: #fff;
}
.dot-ng {
  color: #d6336c;
}

/* ---- the start screen */
.start-eyebrow {
  margin: 4px 0 8px;
  font: 700 12px/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a5d12;
}
.deal-card {
  position: relative;
  padding: 16px 16px 10px;
  border-radius: 18px;
  margin-bottom: 16px;
  background: linear-gradient(150deg, #2f3b47, #11161c);
  color: #fff;
}
.deal-card[data-bg='lekki'] {
  background: linear-gradient(150deg, #c9a646, #6b4f12);
}
.deal-tag {
  font: 600 11px/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.deal-card h2 {
  margin: 6px 0 4px;
  font: 800 28px/1.05 var(--display);
}
.deal-card p {
  margin: 0 0 6px;
  font-size: 14px;
  opacity: 0.92;
}
.deal-card .btn-link {
  color: #fff;
  opacity: 0.85;
  padding-left: 0;
}
.paths {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.path {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.path b {
  font-size: 15px;
}
.path small {
  color: var(--ink-2);
  font-size: 12.5px;
}
.path.on {
  border-color: #d6336c;
  box-shadow: 0 0 0 2px rgba(214, 51, 108, 0.18);
}

/* ---- HUD */
.fame-pill {
  gap: 7px;
}
.lvl-dot {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  background: #94a3b8;
  color: #fff;
  font: 800 11px/1 var(--body);
}
.rep-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}
.float-gain {
  position: fixed;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  z-index: 40;
  padding: 10px 18px;
  border-radius: 99px;
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  color: #fff;
  font: 800 22px/1 var(--display);
  box-shadow: 0 12px 30px rgba(123, 47, 247, 0.4);
  pointer-events: none;
  animation: float-gain 2.6s ease-out forwards;
}
@keyframes float-gain {
  0% { opacity: 0; transform: translate(-50%, 20px) scale(0.9); }
  15% { opacity: 1; transform: translate(-50%, 0) scale(1.05); }
  70% { opacity: 1; transform: translate(-50%, -30px); }
  100% { opacity: 0; transform: translate(-50%, -60px); }
}
.flash {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #fff;
  pointer-events: none;
  opacity: 0;
}
.flash.go {
  animation: flash 0.45s ease-out;
}
@keyframes flash {
  0% { opacity: 0.9; }
  100% { opacity: 0; }
}
.moment {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 10, 14, 0.55);
  animation: phone-in 0.25s ease-out;
}
.moment-card {
  width: min(380px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.moment-card b {
  display: block;
  font: 800 28px/1.1 var(--display);
  margin-bottom: 10px;
}
.moment-card p {
  margin: 0 0 12px;
  color: var(--ink-2);
}
.moment.levelup .moment-card {
  background: linear-gradient(160deg, #fff7e0, #fbf8f1 60%);
  box-shadow: 0 0 0 3px #f59e0b, 0 30px 80px rgba(0, 0, 0, 0.4);
}
.moment.scandal .moment-card {
  background: linear-gradient(160deg, #ffe3e3, #fbf8f1 60%);
  box-shadow: 0 0 0 3px #e5484d, 0 30px 80px rgba(0, 0, 0, 0.4);
}
.moment.scandal .btn-primary {
  background: #e5484d;
}

/* ---- phone: home badges and fame line */
.ph-icon {
  position: relative;
}
.ph-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: #e5484d;
  color: #fff;
  font: 700 11px/19px var(--body);
  font-style: normal;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}
.ph-fame {
  font-weight: 600;
}
.ph-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-inline {
  border: 0;
  background: none;
  padding: 0;
  color: #0a7cff;
  font: inherit;
}
.lvl-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 7px;
  background: var(--lc);
  color: #fff;
  font: 800 11px/1.1 var(--body);
  white-space: nowrap;
}
.lvl-chip.big {
  font-size: 11.5px;
}

/* ---- Shakara */
.phone-screen.app-shakara .ph-head h3,
.phone-screen.app-post .ph-head h3,
.phone-screen.app-result .ph-head h3 {
  background: linear-gradient(90deg, #d6336c, #7b2ff7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sk-cam {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 99px;
  padding: 7px 12px;
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.sk-av {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lc);
  color: #fff;
  font: 800 12px/1 var(--body);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--lc);
}
.sk-av.big {
  width: 72px;
  height: 72px;
  font-size: 24px;
}
.sk-summary {
  padding: 12px 13px;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 10px;
}
.sk-sum-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.sk-sum-top b {
  font: 800 22px/1 var(--display);
  margin-left: 4px;
}
.sk-sum-top small,
.sk-next {
  color: #5c6670;
  font-size: 12px;
}
.sk-bar {
  height: 7px;
  margin: 8px 0 4px;
  border-radius: 99px;
  background: #ebe7df;
  overflow: hidden;
}
.sk-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.sk-rep {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: #5c6670;
}
.sk-rep i {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #ebe7df;
  overflow: hidden;
}
.sk-rep i b {
  display: block;
  height: 100%;
}
.sk-rep em {
  font-style: normal;
  font-weight: 700;
  color: #12161b;
}
.sk-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #e7e3db;
}
.sk-tabs button {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 7px 4px;
  background: none;
  font-weight: 600;
  font-size: 13px;
  color: #4a5561;
}
.sk-tabs button.on {
  background: #fff;
  color: #12161b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.sk-post {
  border-radius: 16px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.sk-who {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 11px;
  text-align: left;
  color: inherit;
}
.sk-who > span:last-child {
  display: grid;
  min-width: 0;
}
.sk-who b {
  font-size: 13.5px;
}
.sk-who small {
  color: #5c6670;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sk-tick {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font: 800 9px/1 var(--body);
  font-style: normal;
  vertical-align: 1px;
}
.sk-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ddd;
}
.sk-textpost {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 160px;
  padding: 20px 18px;
  text-align: center;
  background: linear-gradient(150deg, var(--lc), #12161b);
  color: #fff;
}
.sk-textpost span {
  font-size: 34px;
}
.sk-textpost p {
  margin: 0;
  font: 700 17px/1.3 var(--display);
}
.sk-cap {
  margin: 8px 12px 0;
  font-size: 13px;
}
.sk-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9px 12px 11px;
  font-size: 12.5px;
  color: #5c6670;
}
.sk-like {
  border: 0;
  border-radius: 99px;
  padding: 5px 10px;
  background: #f1eee8;
  font-weight: 700;
  color: #12161b;
}
.sk-like.on {
  background: #ffe0ea;
  color: #d6336c;
}
.sk-viral {
  color: #7b2ff7;
  font-weight: 700;
}
.sk-feat {
  color: #0a7cff;
}
.sk-kind {
  margin-left: auto;
}
.sk-shoot {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.sk-shoot-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-align: left;
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  color: #fff;
}
.sk-shoot-btn span {
  grid-row: span 2;
  font-size: 32px;
}
.sk-shoot-btn b {
  font-size: 17px;
}
.sk-shoot-btn small {
  opacity: 0.85;
}
.sk-shoot-btn + .sk-shoot-btn {
  background: linear-gradient(150deg, #2f3b47, #11161c);
}
.sk-preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
  background: #ddd;
}
.sk-preview.small {
  width: 60%;
  margin: 0 auto 10px;
}
.sk-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sk-kinds button {
  border: 1.5px solid #e2ddd3;
  border-radius: 99px;
  padding: 6px 10px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #12161b;
}
.sk-kinds button.on {
  border-color: #d6336c;
  background: #ffe0ea;
  color: #b0225a;
}
.sk-caption {
  width: 100%;
  padding: 11px 13px;
  margin-bottom: 10px;
  border: 1.5px solid #e2ddd3;
  border-radius: 12px;
  font: 500 14px var(--body);
}
.ph-btn.sk-go {
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  margin-bottom: 8px;
}
.sk-viralbig {
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 14px;
  text-align: center;
  font: 800 20px var(--display);
  color: #fff;
  background: linear-gradient(150deg, #ff5fa2, #7b2ff7);
  animation: phone-in 0.3s ease-out;
}
.sk-result {
  display: grid;
  justify-items: center;
  padding: 16px 0 6px;
}
.sk-result b {
  font: 800 46px/1 var(--display);
  color: #7b2ff7;
}
.sk-result span {
  color: #5c6670;
}
.sk-stats {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 14px;
}
.sk-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.sk-notes span {
  padding: 4px 9px;
  border-radius: 99px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}
.sk-prof {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 3px;
  margin-bottom: 12px;
}
.sk-prof h3 {
  margin: 8px 0 0;
  font: 800 22px var(--display);
}
.sk-prof small {
  color: #5c6670;
}
.sk-prof p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #4a5561;
}
.sk-prof-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
}
.sk-bio {
  font-style: italic;
}
.sk-bae {
  font-weight: 700;
  color: #c2255c !important;
}

/* ---- Amebo */
.phone-screen.app-amebo {
  background: #12100e;
  color: #f4efe6;
}
.am-mast {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff9a3d;
}
.am-mast h3 {
  margin: 6px 0 0;
  font: 800 34px/1 var(--display);
  letter-spacing: 0.04em;
  color: #ff9a3d;
}
.am-mast p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.8;
}
.ph-back.light {
  color: #ffb36b;
}
.am-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.am-item {
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #1f1b17;
  border-left: 4px solid #ff9a3d;
}
.am-item.bad {
  border-left-color: #e5484d;
  background: #2a1716;
}
.am-item.good {
  border-left-color: #3ddc84;
}
.am-item.mine {
  box-shadow: 0 0 0 1.5px #ffd84d;
}
.am-item p {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.am-item small {
  opacity: 0.65;
  font-size: 11.5px;
}

/* ---- Plug */
.pl-deal {
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid transparent;
}
.pl-deal.active {
  border-color: #1fa34a;
}
.pl-deal.shady {
  background: #fff3f0;
}
.pl-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pl-top b {
  font-size: 15.5px;
}
.pl-pay {
  font: 800 17px var(--display);
  color: #1fa34a;
}
.pl-deal p {
  margin: 4px 0 8px;
  font-size: 13px;
  color: #4a5561;
}
.pl-task {
  font-size: 12.5px;
  font-weight: 700;
}
.pl-warn {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #c92a2a;
}
.pl-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.pl-foot small {
  margin-right: auto;
  color: #5c6670;
}

/* ---- Toast */
.tt-banner {
  padding: 12px 13px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #fff;
}
.tt-banner b {
  font-size: 14px;
}
.tt-banner p {
  margin: 3px 0 8px;
  font-size: 12.5px;
  color: #4a5561;
}
.tt-banner.invite {
  background: #ffe0ea;
}
.tt-banner.date {
  background: #e3f6ea;
}
.tt-banner.bae {
  background: #fff4e0;
}
.tt-row {
  display: flex;
  gap: 6px;
}
.tt-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.tt-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 140px;
  background: linear-gradient(160deg, var(--lc), #2a1236);
  color: #fff;
  font: 800 64px/1 var(--display);
}
.tt-live {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.45);
  font: 700 11px/1.2 var(--body);
  font-style: normal;
}
.tt-live.on {
  background: #1fa34a;
}
.tt-info {
  display: grid;
  gap: 3px;
  padding: 12px 14px 4px;
}
.tt-info b {
  font-size: 18px;
}
.tt-info small {
  color: #5c6670;
}
.tt-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #4a5561;
}
.tt-btns {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 12px 0 16px;
}
.tt-btns button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.tt-no {
  background: #fff;
  color: #5c6670;
}
.tt-yes {
  background: linear-gradient(150deg, #ff6b6b, #c2255c);
  color: #fff;
}
.tt-match {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-chat {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.tt-chat p {
  max-width: 80%;
  margin: 0;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 13.5px;
}
.tt-chat p.me {
  justify-self: end;
  background: linear-gradient(150deg, #ff6b6b, #c2255c);
  color: #fff;
}
.tt-chat p.them {
  justify-self: start;
  background: #fff;
}
.phone-screen.app-chat .sk-kinds {
  margin-bottom: 12px;
}

/* ---- Gidi Autos */
.au-swatch {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6), transparent 45%), var(--c);
  box-shadow: 0 0 0 1.5px #d8d2c6;
  vertical-align: middle;
  margin-right: 6px;
}
.au-swatch.on {
  box-shadow: 0 0 0 2.5px #12161b;
}
.au-paints {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.au-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.au-car {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  color: #12161b;
}
.au-car span {
  display: grid;
}
.au-car small {
  color: #5c6670;
  font-size: 12px;
}
.au-car.on {
  border-color: #12161b;
}
.au-car.locked {
  opacity: 0.6;
}

/* small screens: the fame pill matters more than the clock (the phone shows the time) */
.start .btn-primary:disabled {
  opacity: 1;
  background: #a7b0b8;
}
@media (max-width: 820px) {
  .join-card.starting {
    max-height: 90%;
  }
}
@media (max-width: 560px) {
  .clock-pill {
    display: none;
  }
}

/* ---- starter tasks card */
.left-stack {
  position: fixed;
  left: 18px;
  top: calc(64px + var(--safe-t));
  width: 260px;
  display: grid;
  gap: 8px;
}
.tasks {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tasks-head {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: 700 13px/1.2 var(--body);
}
.tasks-head span {
  color: #ffd84d;
}
.tasks p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.35;
}
.tasks small {
  color: #3ddc84;
  font-weight: 700;
}
.tasks ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.tasks li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 6px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.3;
}
.tasks li i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font: 800 11px/14px var(--body);
  font-style: normal;
  text-align: center;
}
.tasks li.done {
  opacity: 0.6;
}
.tasks li.done i {
  background: #1fa34a;
  border-color: #1fa34a;
}
@media (max-width: 820px) {
  .left-stack {
    left: 12px;
    top: calc(56px + var(--safe-t));
    width: min(240px, calc(100vw - 150px));
  }
  .tasks {
    padding: 8px 10px;
  }
}
.fps {
  position: fixed;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  z-index: 30;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #3ddc84;
  font: 600 11px/1.4 ui-monospace, monospace;
  pointer-events: none;
}

/* ---- graphics choice (help panel) */
.gfx-row {
  display: flex;
  gap: 6px;
}
.gfx-row button {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: 600 14px var(--body);
  color: var(--ink);
}
.gfx-row button.on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ---- safety bits on the phone */
.sk-more {
  border: 0;
  background: none;
  padding: 0 2px;
  font: 800 18px/1 var(--body);
  color: #5c6670;
}
.sk-safety {
  text-align: center;
  font-size: 12.5px;
  color: #5c6670;
  margin: 2px 0 10px;
}
.ph-btn.ride-express {
  margin-top: 8px;
}
#map-card-express {
  background: #11161c;
  color: #fff;
}

/* ---- Drip */
.dr-score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: linear-gradient(150deg, #ffd84d, #d6336c);
  color: #fff;
}
.dr-score div {
  display: grid;
  justify-items: center;
}
.dr-score b {
  font: 800 30px/1 var(--display);
}
.dr-score span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dr-score p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
}
.dr-tabs button {
  font-size: 11.5px;
  padding: 7px 2px;
}
.dr-list li.dr-on {
  background: #fff7e0;
}

/* ---- Gidi Homes */
.hm-card {
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid transparent;
}
.hm-card.on {
  border-color: #c9a646;
  background: #fffaf0;
}
.hm-card.locked {
  opacity: 0.65;
}
.hm-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hm-top b {
  font-size: 15.5px;
}
.hm-top span {
  font: 800 15px var(--display);
  color: #6b4f12;
}
.hm-card p {
  margin: 4px 0 6px;
  font-size: 13px;
  color: #4a5561;
}
.hm-card small {
  display: block;
  color: #5c6670;
  margin-bottom: 8px;
}
.hm-here {
  font-weight: 700;
  color: #6b4f12;
}

/* ---- Big Break */
.bb-card {
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #fff;
}
.bb-card b {
  font-size: 15.5px;
}
.bb-card p {
  margin: 4px 0 8px;
  font-size: 13px;
  color: #4a5561;
}
.bb-card small {
  display: block;
  margin-bottom: 8px;
  color: #7b2ff7;
  font-weight: 700;
}
.bb-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bb-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  color: #8a929b;
}
.bb-steps li i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ebe7df;
  font: 800 12px/1 var(--body);
  font-style: normal;
}
.bb-steps li.done {
  color: #1fa34a;
}
.bb-steps li.done i {
  background: #1fa34a;
  color: #fff;
}
.bb-steps li.now {
  color: #12161b;
  box-shadow: 0 0 0 1.5px #7b2ff7;
}
.bb-steps li.now i {
  background: #7b2ff7;
  color: #fff;
}
.bb-q {
  margin: 4px 2px 8px;
  font-weight: 700;
}
.bb-result {
  padding: 12px 13px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(150deg, #ffd84d, #7b2ff7);
  color: #fff;
}
.bb-result.no {
  background: #2f3b47;
}
.bb-result p {
  margin: 4px 0 6px;
  font-size: 13px;
}
.bb-result .sk-stats {
  justify-content: flex-start;
  margin: 0;
  color: #fff;
}

/* ---- events */
.event-pill {
  display: grid;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(214, 51, 108, 0.92), rgba(123, 47, 247, 0.92));
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(123, 47, 247, 0.35);
}
.event-pill b {
  font-size: 13.5px;
}
.event-pill small {
  opacity: 0.9;
}
.event-pill .ev-btns {
  display: flex;
  gap: 6px;
}
.event-pill button {
  border: 0;
  border-radius: 99px;
  padding: 5px 11px;
  background: #fff;
  color: #7b2ff7;
  font: 700 12px var(--body);
}
.event-pill button.ghost {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.am-events {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.am-events li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1f1b17;
}
.am-events li.live {
  background: linear-gradient(150deg, #d6336c, #7b2ff7);
}
.am-events li p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
}
.am-events li small {
  opacity: 0.8;
  font-size: 11.5px;
}
.am-events li button {
  grid-row: span 2;
  border: 0;
  border-radius: 99px;
  padding: 6px 11px;
  background: #ff9a3d;
  color: #12100e;
  font: 700 12px var(--body);
}
.am-date {
  margin: -4px 0 10px;
  font-size: 12px;
  opacity: 0.75;
}
/* ---- leaderboard */
.tp-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.tp-list li {
  display: grid;
  grid-template-columns: 24px auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  border-bottom: 1px solid #f1eee8;
  font-size: 13px;
}
.tp-list li:last-child {
  border-bottom: 0;
}
.tp-list li > b:first-child {
  color: #8a929b;
}
.tp-list li .tp-n {
  font-weight: 800;
}
.tp-list li.me {
  background: #fff7e0;
}
