/* TDot Life: clean cards over a living city. TTC red, lake blue, snow white, brick. System fonts only (fast on old phones). */
:root {
  --ink: #13233a; --ink2: #3c4a5e; --dim: #7a8699; --line: #e3e8ef; --bg: #eef3f8; --card: #ffffff;
  --red: #da291c; --red2: #b31f14; --blue: #1f6fb2; --sky: #d9ecfb; --green: #1e9e5a; --amber: #f2a900; --brick: #b5523b;
  --r: 18px; --shadow: 0 8px 28px rgba(19, 35, 58, .14); --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: var(--ink); }
.hidden { display: none !important; }
#stage { position: fixed; inset: 0; }
#stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
#pins { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.pin { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pin b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.18); font-size: 19px; border: 2px solid #fff; transition: transform .12s; }
.pin:hover b, .pin.on b { transform: scale(1.14); border-color: var(--red); }
.pin span { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); padding: 1px 6px; border-radius: 8px; white-space: nowrap; color: var(--ink); }
.pin.here b { border-color: var(--green); }
.pin .cnt { position: absolute; top: -4px; right: -8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; border-radius: 9px; padding: 0 5px; }
.objpin b { width: 30px; height: 30px; font-size: 16px; }

/* top bar + ticker lane (the ticker has its own row and never covers anything) */
#top { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 20; width: min(720px, calc(100% - 16px)); }
.bar { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 999px; padding: 7px 8px 7px 14px; box-shadow: var(--shadow); font-weight: 650; font-size: 13px; white-space: nowrap; overflow: hidden; }
.bar .sep { width: 1px; height: 18px; background: var(--line); }
.bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 5px; }
.bar .grow { flex: 1; }
.money { background: #f2f6fb; border-radius: 999px; padding: 5px 6px 5px 12px; display: flex; align-items: center; gap: 8px; font-weight: 800; }
.money button { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.mood-good { color: var(--green); } .mood-ok { color: var(--amber); } .mood-bad { color: var(--red); }
#ticker { margin: 8px auto 0; max-width: 560px; background: rgba(255,255,255,.95); border-radius: 14px; padding: 7px 12px; font-size: 12.5px; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
#ticker b { color: var(--red); flex: none; } #ticker span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* left column: goal, action, needs */
#left { position: fixed; left: 10px; top: 120px; z-index: 15; display: flex; flex-direction: column; gap: 8px; width: 210px; }
.chip { background: var(--card); border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow); font-size: 12.5px; display: flex; gap: 10px; align-items: center; }
.chip .ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); font-size: 15px; flex: none; }
.chip b { display: block; font-size: 13px; } .chip small { color: var(--dim); }
.progress { height: 5px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 5px; } .progress i { display: block; height: 100%; background: var(--blue); width: 0; transition: width .4s linear; }
#needs { position: fixed; left: 10px; bottom: 86px; z-index: 15; display: flex; gap: 10px; align-items: center; background: var(--card); border-radius: 18px; padding: 8px 12px 8px 8px; box-shadow: var(--shadow); }
#needs .face { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--sky); border: 3px solid var(--green); flex: none; }
#needs .grid { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 10px; }
.need { display: flex; align-items: center; gap: 5px; font-size: 12px; } .need .b { width: 44px; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; } .need .b i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.need.low .b i { background: var(--amber); } .need.crit .b i { background: var(--red); }

/* bottom nav */
#nav { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 4px; background: var(--card); border-radius: 22px; padding: 6px; box-shadow: var(--shadow); }
#nav button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 18px; border-radius: 16px; font-size: 11.5px; font-weight: 700; color: var(--ink2); min-width: 70px; }
#nav button span { font-size: 19px; line-height: 1.1; }
#nav button.on { background: var(--ink); color: #fff; }
#nav button.work { color: var(--red); } #nav button.hidden { display: none; }

/* bottom sheet */
#sheet { position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 110%); z-index: 30; width: min(560px, 100%); max-height: 78vh; background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(19,35,58,.2); transition: transform .26s cubic-bezier(.2,.9,.3,1); display: flex; flex-direction: column; }
#sheet.open { transform: translate(-50%, 0); }
#sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 9px auto 0; flex: none; }
#sheet .head { display: flex; gap: 12px; align-items: center; padding: 10px 18px 6px; flex: none; }
#sheet .head .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; font-size: 22px; flex: none; }
#sheet .head h3 { margin: 0; font-size: 18px; } #sheet .head small { color: var(--dim); }
#sheet .head .x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: #f2f6fb; font-size: 16px; }
#sheet .body { overflow-y: auto; padding: 4px 18px 22px; -webkit-overflow-scrolling: touch; }
.lore { color: var(--ink2); font-style: italic; margin: 2px 0 10px; }
.acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.act { text-align: left; background: #f5f8fc; border-radius: 14px; padding: 10px 12px; border: 2px solid transparent; transition: border-color .1s; }
.act:hover { border-color: var(--blue); } .act b { display: block; font-size: 13.5px; } .act small { color: var(--dim); font-size: 11.5px; }
.act .fx { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; } .act .fx span { font-size: 10.5px; background: #e6f4ec; color: var(--green); border-radius: 6px; padding: 0 5px; font-weight: 700; } .act .fx span.neg { background: #fdecea; color: var(--red); }
.act[disabled] { opacity: .45; cursor: default; }
.sec { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 16px 0 8px; }
.rides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ride { background: #f5f8fc; border-radius: 14px; padding: 8px 4px; text-align: center; border: 2px solid transparent; } .ride.on { border-color: var(--blue); background: #fff; }
.ride b { display: block; font-size: 20px; } .ride small { display: block; font-size: 11px; color: var(--ink2); font-weight: 700; } .ride em { display: block; font-size: 10.5px; color: var(--dim); font-style: normal; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; font-weight: 800; border-radius: 14px; padding: 12px 18px; width: 100%; margin-top: 10px; }
.btn:hover { background: var(--red2); } .btn.alt { background: #f2f6fb; color: var(--ink); } .btn.blue { background: var(--blue); } .btn.green { background: var(--green); } .btn[disabled] { opacity: .5; }
.note { font-size: 12px; color: var(--dim); margin-top: 6px; }
.warn { color: var(--red); font-weight: 700; font-size: 12.5px; }
.people { display: flex; flex-wrap: wrap; gap: 6px; } .person { display: flex; align-items: center; gap: 6px; background: #f5f8fc; border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 12.5px; font-weight: 700; }
.person .av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: var(--sky); }
.chatlog { max-height: 180px; overflow-y: auto; background: #f7f9fc; border-radius: 12px; padding: 8px 10px; font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.chatlog .m b { color: var(--blue); } .chatlog .m.me b { color: var(--red); }
.chatin { display: flex; gap: 6px; margin-top: 6px; } .chatin input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; outline: none; } .chatin input:focus { border-color: var(--blue); }
.chatin button { background: var(--blue); color: #fff; border-radius: 12px; padding: 0 14px; font-weight: 800; }
.row { display: flex; gap: 8px; align-items: center; } .row > * { flex: 1; }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { background: #f5f8fc; border-radius: 14px; padding: 12px; } .item b { font-size: 14px; } .item .r { float: right; font-weight: 800; color: var(--green); }
.item small { display: block; color: var(--dim); } .item p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink2); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 13px; } .kv span:nth-child(even) { font-weight: 700; text-align: right; }
.big { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: none; background: #fff; } .input:focus { border-color: var(--blue); }

/* phone */
#phone { position: fixed; z-index: 30; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); opacity: 0; pointer-events: none; transition: .18s; width: min(360px, calc(100% - 24px)); height: min(640px, calc(100% - 40px)); border-radius: 36px; background: linear-gradient(160deg, #1f6fb2 0%, #13233a 60%, #da291c 140%); border: 8px solid #111; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; color: #fff; }
#phone.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
#phone .status { display: flex; justify-content: space-between; padding: 10px 20px 0; font-size: 12px; font-weight: 700; }
#phone .clock { padding: 12px 22px 4px; } #phone .clock b { font-size: 46px; font-weight: 300; letter-spacing: -.03em; line-height: 1; display: block; } #phone .clock small { opacity: .8; }
#phone .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; padding: 18px 16px; overflow-y: auto; }
.app { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; } .app i { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; font-style: normal; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
#phone .screen { position: absolute; inset: 0; background: #fff; color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s; border-radius: 28px; }
#phone .screen.open { transform: none; } #phone .screen .sh { display: flex; align-items: center; gap: 10px; padding: 14px 14px 8px; border-bottom: 1px solid var(--line); } #phone .screen .sh h4 { margin: 0; font-size: 17px; }
#phone .screen .sh button { width: 32px; height: 32px; border-radius: 50%; background: #f2f6fb; font-weight: 900; }
#phone .screen .sb { overflow-y: auto; padding: 12px 14px 20px; flex: 1; }
#phone .close { position: absolute; top: -2px; right: 10px; }
#phoneX { position: fixed; z-index: 31; top: 14px; right: 14px; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; box-shadow: var(--shadow); }

/* toasts */
#toasts { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: 96px; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: min(460px, calc(100% - 20px)); }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 14px; font-weight: 650; font-size: 13.5px; box-shadow: var(--shadow); animation: tin .25s ease both; text-align: center; }
.toast.err { background: var(--red); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

/* landing + modals */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(19,35,58,.4); display: grid; place-items: center; padding: 14px; }
.modal .card { background: #fff; border-radius: 24px; padding: 22px; width: min(400px, 100%); box-shadow: var(--shadow); }
.modal h2 { margin: 0 0 4px; font-size: 22px; } .modal label { display: block; font-size: 12px; font-weight: 700; color: var(--ink2); margin: 10px 0 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin-top: 12px; } .check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); }

/* character creator */
#creator { position: fixed; inset: 0; z-index: 35; display: grid; grid-template-columns: 1fr min(420px, 100%); background: linear-gradient(180deg, #dcecf9, #f3f7fb); }
#creator .preview { position: relative; display: grid; place-items: center; }
#creator .preview canvas { width: 100%; height: 100%; }
#creator .steps { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; } #creator .steps i { width: 26px; height: 4px; border-radius: 2px; background: #c8d6e5; } #creator .steps i.on { background: var(--red); }
#creator .steptitle { position: absolute; top: 26px; left: 0; right: 0; text-align: center; font-weight: 800; }
#creator .panel { background: #fff; margin: 12px; border-radius: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
#creator .panel .pb { overflow-y: auto; padding: 16px; flex: 1; }
#creator .panel .pf { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; } .opt { background: #f2f6fb; border-radius: 999px; padding: 7px 13px; font-weight: 650; font-size: 13px; border: 2px solid transparent; } .opt.on { background: var(--ink); color: #fff; }
.sw { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); } .sw.on { box-shadow: 0 0 0 3px var(--red); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .ccard { text-align: left; background: #f5f8fc; border-radius: 16px; padding: 12px; border: 2px solid transparent; } .ccard.on { border-color: var(--green); background: #f0faf4; }
.ccard b { display: block; font-size: 14px; } .ccard small { color: var(--ink2); font-size: 12px; } .ccard .e { font-size: 22px; }
.ccard.lock { opacity: .5; }
.lottery { text-align: center; padding: 10px 0; } .lottery .tile { width: 120px; height: 120px; border-radius: 28px; margin: 6px auto 12px; display: grid; place-items: center; font-size: 56px; background: linear-gradient(140deg, #fff2c2, #ffd76b); box-shadow: var(--shadow); }
.lottery h2 { margin: 0; font-size: 28px; } .lottery p { color: var(--ink2); margin: 2px 0 12px; }
.perks { display: flex; flex-direction: column; gap: 6px; text-align: left; } .perks div { background: #f5f8fc; border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.rolling { animation: roll .12s linear infinite; } @keyframes roll { 50% { transform: rotate(8deg) scale(1.05); } }

@media (max-width: 720px) {
  #creator { grid-template-columns: 1fr; grid-template-rows: 38% 62%; }
  #creator .panel { margin: 0; border-radius: 24px 24px 0 0; }
  #left { top: 104px; width: 180px; } #left .chip small { display: none; }
  .bar { gap: 7px; font-size: 12px; padding-left: 10px; } .bar .hide-s { display: none; }
  #needs .grid { grid-template-columns: repeat(3, auto); } .need .b { width: 30px; }
  #nav button { min-width: 58px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* phone widgets, badges, sound button, likes, person buttons */
#phone .widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 16px 0; }
.widget { background: rgba(255,255,255,.14); border-radius: 14px; padding: 8px 10px; backdrop-filter: blur(6px); } .widget small { display: block; font-size: 10.5px; opacity: .8; } .widget b { display: block; font-size: 16px; } .widget span { font-size: 10.5px; opacity: .85; }
.app i { position: relative; } .app .badge { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font: 800 10px/1 var(--font); border-radius: 9px; padding: 3px 5px; font-style: normal; } .app .badge:empty { display: none; }
#sndBtn { position: fixed; z-index: 21; top: 72px; right: 12px; background: var(--card); border-radius: 50%; width: 38px; height: 38px; box-shadow: var(--shadow); font-size: 17px; }
.like { font-size: 12.5px; font-weight: 700; color: var(--dim); margin-top: 4px; } .like.on { color: var(--red); }
.person { border: 0; } .pin.mini span { display: none; } .pin.mini b { width: 24px; height: 24px; font-size: 13px; opacity: .92; } .pin { z-index: 2; } .pin.mini { z-index: 1; } .pin.park b { background: #e6f4ec; }
@media (max-width: 720px) { #sndBtn { top: 110px; } }

/* map chips, ads */
#chips { display: flex; gap: 6px; justify-content: center; margin-top: 8px; pointer-events: auto; }
#chips button { background: rgba(255,255,255,.95); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); color: var(--dim); }
#chips button.on { color: var(--ink); } #chips button.on::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-left: 6px; vertical-align: middle; }
#chips.hidden { display: none; }
#pins.nonames .pin span { display: none; }
.adprev { width: 100%; border-radius: 12px; display: block; margin: 4px 0 8px; aspect-ratio: 16/9; object-fit: cover; }
.app .badge.new { background: var(--green); font-size: 9px; }
.app i img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.swatches { display: flex; gap: 8px; margin: 6px 0 10px; } .swatches button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid transparent; } .swatches button.on { border-color: var(--ink); }
.adcard { border-radius: 14px; padding: 14px; color: #fff; min-height: 86px; display: flex; flex-direction: column; justify-content: center; text-align: center; margin: 8px 0; background-size: cover; background-position: center; } .adcard b { font-size: 20px; } .adcard small { opacity: .9; }
.stat { display: inline-block; background: #fff; border-radius: 10px; padding: 4px 8px; margin: 4px 4px 0 0; font-size: 12px; } .stat b { font-size: 14px; }
@media (max-width: 700px) { #top:has(#chips:not(.hidden)) ~ #left { top: 158px; } }

/* the tour */
.tour { position: fixed; z-index: 60; left: 50%; bottom: 96px; transform: translateX(-50%); width: min(460px, calc(100% - 20px)); background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.25); display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.tour .ico { width: 48px; height: 48px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; font-size: 24px; }
.tour b { font-size: 16px; } .tour p { margin: 4px 0 8px; font-size: 13.5px; color: var(--ink2); }
.tour .dots { display: flex; gap: 5px; } .tour .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); } .tour .dots i.on { background: var(--red); width: 18px; border-radius: 4px; }
.tour .btns { grid-column: 1 / -1; display: flex; gap: 8px; } .tour .btns .btn { margin: 0; flex: 1; }
.shopcard { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; }

/* the ride cam */
#ride { position: fixed; z-index: 22; left: 50%; bottom: 96px; transform: translateX(-50%); width: min(420px, calc(100% - 20px)); display: grid; gap: 6px; pointer-events: none; }
#ride.hidden { display: none; }
#ride .road { background: #13233a; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 7px 12px; border-radius: 10px; justify-self: center; box-shadow: var(--shadow); }
#ride .adcard { margin: 0; cursor: pointer; pointer-events: auto; min-height: 64px; box-shadow: var(--shadow); }
#ride .adcard b { font-size: 17px; }
#ride .rbtns { display: flex; gap: 8px; justify-content: center; }
#ride .adcard { min-height: 46px; opacity: .96; }
#rideMap, #rideCamBtn { pointer-events: auto; justify-self: center; background: rgba(255,255,255,.95); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }

/* calmer map */
#left { width: 200px; } #left .chip { padding: 7px 10px; } #left .chip small { font-size: 11px; }
#chips button { padding: 5px 10px; font-size: 11.5px; }
.pin span { font-size: 10.5px; padding: 1px 5px; } .pin b { width: 30px; height: 30px; font-size: 17px; }
.pin.onad { display: none !important; }

/* landing v2: like Lagos, the city is the hero; the UI is a pill on top and a small card at the bottom */
#landing { position: fixed; inset: 0; z-index: 25; pointer-events: none; }
#landing.hidden { display: none; }
#landing > * { pointer-events: auto; }
#landing .lTop { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 20px)); display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow); }
#landing .brand { font-size: 19px; letter-spacing: -.02em; } #landing .brand span { color: var(--red); }
#landing .lstat { font-size: 13px; font-weight: 700; color: var(--ink2); display: inline-flex; align-items: center; gap: 5px; } #landing .lstat .dot { width: 7px; height: 7px; border-radius: 50%; background: #1e9e5a; display: inline-block; }
#landing .lTop .btn { width: auto; margin: 0; padding: 9px 16px; border-radius: 999px; font-size: 14px; }
#landing .lChips { position: absolute; top: 68px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: calc(100% - 20px); }
#landing .lChips span { background: rgba(255,255,255,.95); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); }
#landing .lNews { position: absolute; top: 106px; left: 50%; transform: translateX(-50%); background: #1e9e5a; color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#landing .lCard { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(440px, calc(100% - 20px)); background: rgba(255,255,255,.97); border-radius: 24px; padding: 14px 16px 12px; box-shadow: 0 10px 34px rgba(0,0,0,.18); text-align: center; }
#landing .tag { margin: 0 0 10px; font-size: 14.5px; color: var(--ink2); line-height: 1.4; }
#landing .row2 { display: flex; gap: 8px; } #landing .row2 .btn { margin: 0; }
#landing small { display: block; margin-top: 8px; color: var(--dim); font-size: 11px; } #landing .sponsor { cursor: pointer; } #landing .sponsor.hidden { display: none; }
@media (max-width: 520px) { #landing .lTop { padding-left: 14px; } #landing .lTop #goLogin2 { display: none; } #landing .lChips span:nth-child(3) { display: none; } }
#landing .brand { white-space: nowrap; }
@media (max-width: 520px) { #landing .lstat.hide-s { display: none; } #landing .lTop .btn { padding: 8px 14px; font-size: 13px; } #landing .brand { font-size: 17px; } }
.soon { position: absolute; transform: translate(-50%, -50%); background: #ffd23f; color: #13233a; border: 3px solid #13233a; border-radius: 999px; padding: 6px 14px; font-size: 13px; white-space: nowrap; box-shadow: var(--shadow); pointer-events: none; }

/* phone notifications, calls, skill pops, keyboard button */
#pnotes { position: fixed; z-index: 45; top: 62px; left: 50%; transform: translateX(-50%); width: min(380px, calc(100% - 20px)); display: grid; gap: 6px; pointer-events: none; }
.pnote { pointer-events: auto; display: flex; align-items: center; gap: 10px; text-align: left; background: rgba(255,255,255,.97); border-radius: 18px; padding: 9px 12px; box-shadow: 0 10px 30px rgba(19,35,58,.22); animation: pin .28s ease both; }
.pnote i { font-style: normal; font-size: 22px; width: 38px; height: 38px; display: grid; place-items: center; background: #eef2f6; border-radius: 11px; flex: none; }
.pnote span { display: grid; min-width: 0; flex: 1; } .pnote b { font-size: 13.5px; color: var(--ink); } .pnote small { font-size: 12.5px; color: #55657a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnote em { font-style: normal; font-size: 11px; color: #8a97a8; align-self: flex-start; } .pnote.out { opacity: 0; transform: translateY(-10px); transition: all .3s; }
@keyframes pin { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.nbadge { position: absolute; top: 2px; right: 8px; font-style: normal; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; border-radius: 9px; padding: 1px 5px; }
#nav button { position: relative; }
#call { position: fixed; z-index: 60; top: 210px; left: 0; right: 0; margin: 0 auto; width: min(320px, calc(100% - 24px)); background: linear-gradient(160deg, #1d2d44, #13233a); color: #fff; border-radius: 26px; padding: 18px 18px 16px; display: grid; justify-items: center; gap: 4px; box-shadow: 0 18px 50px rgba(0,0,0,.4); animation: pin .3s ease both; }
#call .cface { font-size: 40px; width: 74px; height: 74px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 50%; animation: ringpulse 1.1s ease-in-out infinite; }
#call.live .cface { animation: none; } #call b { font-size: 18px; } #call small { opacity: .7; font-size: 12.5px; } #call p { margin: 8px 0 2px; font-size: 14.5px; text-align: center; line-height: 1.35; }
#call .cbtns { display: flex; gap: 26px; margin-top: 10px; align-items: center; } #call .cbtns button { width: 54px; height: 54px; border-radius: 50%; font-size: 21px; color: #fff; }
#cNo { background: #e03131; } #cYes { background: #2f9e44; animation: ringshake .5s ease-in-out infinite; } #call .cbtns .wide { width: auto; padding: 0 18px; border-radius: 27px; background: #2f9e44; font-size: 14px; font-weight: 800; }
@keyframes ringpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
@keyframes ringshake { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.skillpop { position: fixed; z-index: 44; left: 50%; top: 46%; transform: translateX(-50%); background: #2f9e44; color: #fff; font-weight: 800; font-size: 15px; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); pointer-events: none; animation: skillup 1.9s ease-out both; }
@keyframes skillup { 0% { opacity: 0; transform: translate(-50%, 16px) scale(.9); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.06); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70px); } }
#kbBtn { position: fixed; z-index: 21; right: 12px; bottom: 104px; width: 38px; height: 38px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); font-size: 17px; }
@media (hover: none), (max-width: 720px) { #kbBtn { display: none; } }
.keys { display: grid; gap: 6px; } .keys div { display: flex; align-items: center; gap: 12px; font-size: 14px; } .keys kbd { min-width: 56px; text-align: center; background: #eef2f6; border-radius: 8px; padding: 4px 8px; font: 700 12.5px ui-monospace, monospace; color: var(--ink); box-shadow: inset 0 -2px 0 #d5dde6; }

/* the player sheet: private chat, quick replies, things to do together */
.modal.person { align-items: end; backdrop-filter: blur(5px); } .pcard { width: min(440px, 100%); padding: 16px; border-radius: 24px 24px 18px 18px; display: grid; gap: 10px; }
.phead { display: flex; align-items: center; gap: 12px; } .phead h2 { font-size: 19px; margin: 0; } .pav { width: 44px; height: 44px; border-radius: 50%; background: #eaf1f7; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: var(--ink); }
.px { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: #eef2f6; font-size: 14px; }
.prow { display: flex; gap: 6px; flex-wrap: wrap; } .prow button { background: #eef6f0; color: #1c5d38; font-weight: 700; font-size: 12.5px; padding: 7px 11px; border-radius: 999px; } .prow button:last-child { background: #fdecec; }
.plog { min-height: 120px; max-height: 34vh; background: #f6f8fa; border-radius: 14px; padding: 10px; } .pquick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pquick button { flex: none; background: #fff; border: 1px solid #d9e1e8; border-radius: 999px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; color: var(--ink); }

/* ad sheets: what is on air, each ad with its Visit button and end date */
.onair { font-size: 13px; margin: 0 0 8px; } .onair b { color: var(--red); letter-spacing: .04em; font-size: 11.5px; margin-right: 6px; }
.adrow { margin-bottom: 10px; } .adrow .adcard { min-height: 150px; border-radius: 16px; display: grid; place-content: center; text-align: center; color: #fff; padding: 12px; } .adrow .adcard b { font-size: 22px; display: block; } .adline { display: flex; align-items: center; gap: 10px; margin-top: 6px; } .adline .btn { flex: 1; margin: 0; } .adline small { color: #6b7a8c; white-space: nowrap; }

/* the place sheet: every way there in one row, price first */
.rides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .ride { min-width: 0; }
.ride strong { display: block; font-size: 14px; color: var(--ink); margin-top: 2px; } .ride em { font-size: 10.5px; }
.acts.there { opacity: .8; } .acts.there .act { padding: 8px 10px; }

/* daily goals chip, clean screen, quick socials */
#dailyBtn { position: fixed; z-index: 21; left: 12px; top: 232px; background: var(--card); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); }
#cleanBtn { position: fixed; z-index: 21; right: 12px; bottom: 150px; width: 38px; height: 38px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); font-size: 16px; }
body.clean #left, body.clean #needs, body.clean #ticker, body.clean #chips, body.clean #dailyBtn, body.clean #kbBtn, body.clean #sndBtn { display: none !important; }
@media (max-width: 720px) { #dailyBtn { top: auto; bottom: 150px; left: 10px; } #cleanBtn { bottom: 104px; } }
.pquick.say button { background: #eef4ff; border-color: #cddcf5; } .drow { display: flex; gap: 8px; margin-top: 8px; } .drow .btn { flex: 1; margin: 0; }
.dcard { text-align: center; } .dav { font-size: 44px; }

/* accessibility options */
body.bigtext #sheet, body.bigtext #phone, body.bigtext .modal .card, body.bigtext #left, body.bigtext #top, body.bigtext #toasts, body.bigtext #pnotes { zoom: 1.16; }
body.contrast { --ink: #000; --ink2: #111; --dim: #222; } body.contrast .note, body.contrast small { color: #111 !important; } body.contrast .act, body.contrast .item, body.contrast .ride { border: 1.5px solid #000; } body.contrast .pin span { background: #fff; color: #000; border: 1px solid #000; }
body.calm *, body.calm *::before, body.calm *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }

/* the phone's own close button and home bar */
#phClose { position: absolute; top: 38px; right: 12px; z-index: 6; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.94); color: #13233a; font-weight: 800; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
#phHome { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); z-index: 6; width: 150px; height: 22px; background: none; } #phHome::after { content: ''; display: block; margin: 8px auto 0; width: 120px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ride.off { opacity: .45; } .ride.off strong { color: var(--dim); }

/* life moments */
.moment { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: linear-gradient(140deg, var(--m1), var(--m2)); opacity: 0; transition: opacity .2s; overflow: hidden; } .moment.on { opacity: 1; }
.moment .mcard { position: relative; width: min(420px, 100%); background: #fff; border-radius: 28px; padding: 26px 22px 18px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3); transform: translateY(18px) scale(.96); transition: transform .28s cubic-bezier(.2,1.3,.4,1); } .moment.on .mcard { transform: none; }
.moment .mico { font-size: 84px; line-height: 1; margin-bottom: 8px; animation: mpop .6s cubic-bezier(.2,1.6,.4,1) both; } .moment h2 { margin: 0 0 6px; font-size: 26px; } .moment p { margin: 0 0 14px; color: var(--ink2); }
.moment .mbits { position: absolute; inset: 0; pointer-events: none; } .moment .mbits i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: mfall 2.6s linear infinite; }
@keyframes mpop { from { transform: scale(.2) rotate(-20deg); } to { transform: none; } } @keyframes mfall { to { transform: translateY(110vh) rotate(540deg); } }

/* the player card: who they are, chat and call first, where you two stand, things to do together, the risky stuff small at the bottom */
.pcard { max-height: 92vh; overflow-y: auto; } #pmBody { display: grid; gap: 10px; } .pav { overflow: hidden; flex: none; } .pav svg { width: 100%; height: 100%; display: block; }
.ptags { display: flex; gap: 6px; flex-wrap: wrap; } .ptags span { background: #fff3d6; color: #6b4b00; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pmain { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; } .pmain .btn { margin: 0; }
.pheart { background: #fff5f6; border: 1px solid #ffd9de; border-radius: 16px; padding: 10px 12px; display: grid; gap: 6px; } .pheart small { color: var(--ink2); } .pheart .btn { margin: 2px 0 0; } .pheart:empty { display: none; }
.pbar { height: 8px; border-radius: 6px; background: #ffe0e4; overflow: hidden; } .pbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff7a8a, #da291c); transition: width .4s; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .pgrid.two { grid-template-columns: repeat(2, 1fr); } .pgrid button { background: #f3f6fa; border-radius: 14px; padding: 9px 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); } .pgrid button small { display: block; font-weight: 600; color: var(--dim); font-size: 11px; margin-top: 2px; } .pgrid.two button { text-align: left; padding: 9px 12px; background: #eef4ff; }
.pfoot { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .pfoot button { background: none; color: var(--dim); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 999px; border: 1px solid #e3e8ee; } .pfoot button.hot, .btn.hot { background: #fdecec; color: #a01b12; border-color: #f5c2bd; }
.prow.hidden, #pmChat.hidden { display: none; } #pmChat { display: grid; gap: 8px; }
/* your home on the map */
.pin.homepin { z-index: 4; } .pin.homepin b { background: var(--red); border-color: #fff; width: 38px; height: 38px; } .pin.homepin span { background: var(--red); color: #fff; } .pin.homepin.mini span { display: block; } .pin.homepin.mini b { width: 30px; height: 30px; font-size: 16px; opacity: 1; }
.pin.homepin.pulse b { animation: homepulse 1s ease-out 4; } @keyframes homepulse { 0% { box-shadow: 0 0 0 0 rgba(218,41,28,.7); transform: scale(1.25); } 100% { box-shadow: 0 0 0 26px rgba(218,41,28,0); transform: none; } }

@media (max-width: 520px) { #chips { gap: 5px; max-width: calc(100vw - 70px); overflow-x: auto; scrollbar-width: none; } #chips button { padding: 5px 9px; font-size: 11.5px; white-space: nowrap; flex: none; } }

/* my profile sheet */
.mtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; } .mtabs button { flex: none; padding: 7px 13px; border-radius: 999px; background: #eef2f6; font-weight: 700; font-size: 13px; color: var(--ink2); } .mtabs button.on { background: var(--ink); color: #fff; }
#shIco svg { width: 100%; height: 100%; border-radius: 50%; display: block; } #needs:hover .face { outline: 3px solid var(--red); outline-offset: 1px; border-radius: 50%; }
.mface { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; box-shadow: 0 6px 18px rgba(0,0,0,.14); } .mface svg { width: 100%; height: 100%; display: block; }
.mlist { display: grid; gap: 10px; margin-bottom: 6px; } .mrow { display: flex; gap: 10px; align-items: center; } .mrow .mi { width: 34px; height: 34px; border-radius: 50%; background: #f3f6fa; display: grid; place-items: center; font-size: 17px; flex: none; } .mrow .mm { flex: 1; display: grid; gap: 4px; } .mrow b { display: flex; justify-content: space-between; font-size: 13.5px; } .mrow em { font-style: normal; font-weight: 700; color: var(--ink2); } .mrow em.bad { color: var(--red); }
.mbar { display: block; height: 7px; border-radius: 5px; background: #e9eef3; overflow: hidden; } .mbar i { display: block; height: 100%; border-radius: 5px; background: #1e9e5a; }
.item.feel .r.pos { color: #1e9e5a; font-weight: 800; } .item.feel .r.neg { color: var(--red); font-weight: 800; }
.ladder { display: flex; gap: 5px; flex-wrap: wrap; margin: 8px 0 12px; } .ladder span { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #eef2f6; color: var(--dim); } .ladder span.done { background: #e6f4ec; color: #1c5d38; } .ladder span.on { background: var(--ink); color: #fff; }
.prow2 { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; } .prow2 .av, .chatrow .av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: #eaf1f7; display: grid; place-items: center; font-size: 20px; position: relative; } .prow2 .av svg, .chatrow .av svg { width: 100%; height: 100%; }
/* messages */
.chatrow { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; margin-bottom: 6px; } .chatrow .av { overflow: visible; } .chatrow .av svg { border-radius: 50%; } .chatrow .dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #1e9e5a; border: 2px solid #fff; }
.chatrow .cm { flex: 1; min-width: 0; } .chatrow .cm small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chatrow .ct { font-size: 11px; color: var(--dim); display: grid; justify-items: end; gap: 3px; } .badge2 { background: var(--red); color: #fff; font-style: normal; font-weight: 800; font-size: 10.5px; border-radius: 9px; padding: 1px 6px; } .chatrow.team { background: #fff7e6; border: 1px solid #f6dfae; }

/* what is lined up next */
.qlist { display: grid; gap: 2px; margin-top: 2px; } .qlist span { font-size: 12px; color: var(--ink2); display: flex; justify-content: space-between; gap: 8px; } .qlist a { color: var(--dim); text-decoration: none; font-weight: 800; padding: 0 4px; }
/* wallet packs */
.packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 6px 0 8px; } .pack { position: relative; background: #f5f8fc; border: 2px solid transparent; border-radius: 18px; padding: 16px 8px 12px; display: grid; gap: 2px; justify-items: center; } .pack b { font-size: 21px; color: #1e9e5a; } .pack small { color: var(--ink2); font-weight: 600; } .pack strong { margin-top: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 14px; font-size: 13px; } .pack.hot { border-color: var(--red); background: #fff6f5; } .pack em { position: absolute; top: -9px; background: var(--red); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
/* updates: green for good news, pink for the kind you would rather not get */
.item.upd { padding: 9px 12px; border-left: 4px solid #cfd6dd; } .item.upd.good { background: #eef8f1; border-left-color: #1e9e5a; } .item.upd.warn { background: #fdf0f1; border-left-color: #da291c; } .item.upd.team { background: #fff7e6; border-left-color: #f2a900; }
#nav button { min-width: 62px; padding: 6px 14px; } @media (max-width: 520px) { #nav button { min-width: 0; padding: 6px 11px; } }

/* welcome back */
.modal.welcome { background: linear-gradient(160deg, rgba(218,41,28,.92), rgba(19,35,58,.94)); backdrop-filter: blur(6px); z-index: 70; } .wcard { width: min(400px, 100%); text-align: center; padding: 26px 22px 18px; border-radius: 28px; position: relative; }
.wleaf { position: absolute; top: 14px; right: 18px; font-size: 26px; } .wface { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; box-shadow: 0 8px 22px rgba(0,0,0,.2); border: 4px solid #fff; } .wface svg { width: 100%; height: 100%; display: block; } .wcard h2 { margin: 0 0 2px; font-size: 23px; }
.wstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 6px; } .wstats div { background: #f5f8fc; border-radius: 14px; padding: 10px 6px; } .wstats b { display: block; font-size: 14px; } .wstats small { color: var(--dim); font-size: 11px; }

.modal.welcome { background: linear-gradient(180deg, rgba(223,236,250,.82), rgba(223,236,250,.55) 40%, rgba(19,35,58,.5)); backdrop-filter: blur(2px); align-items: end; padding-bottom: 7vh; }
.wlogo { position: fixed; top: 6vh; left: 0; right: 0; text-align: center; pointer-events: none; } .wlogo b { display: block; font-size: 46px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; } .wlogo span { font-size: 34px; } .wlogo small { color: var(--ink2); font-weight: 600; }
/* help */
.helpgrid { display: grid; gap: 6px; } .helpgrid button { display: flex; gap: 10px; align-items: center; text-align: left; background: #f5f8fc; border-radius: 14px; padding: 10px 12px; width: 100%; } .helpgrid button span { font-size: 22px; width: 30px; text-align: center; flex: none; } .helpgrid button b { display: block; font-size: 14px; } .helpgrid button small { color: var(--ink2); }
.helpbody p { margin: 0 0 10px; } .helpbody li { margin-bottom: 6px; } .helpbody ul { padding-left: 18px; margin: 0 0 10px; }

#phScreen.open ~ #phClose { top: 13px; box-shadow: none; background: #f2f6fb; }

/* the look editor */
.lprev { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 6px; box-shadow: 0 6px 18px rgba(0,0,0,.14); position: sticky; top: 0; z-index: 2; border: 4px solid #fff; } .lprev svg { width: 100%; height: 100%; display: block; }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .lchips button { background: #f3f6fa; border: 2px solid transparent; border-radius: 12px; padding: 7px 11px; font-size: 13px; font-weight: 700; color: var(--ink); } .lchips button.on { border-color: var(--red); background: #fff6f5; } .lchips em { font-style: normal; font-weight: 800; color: #1e9e5a; margin-left: 6px; font-size: 12px; } .lchips em.own { color: var(--dim); font-weight: 600; }
.lsw { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; } .lsw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(0,0,0,.12); } .lsw button.on { outline: 3px solid var(--red); outline-offset: 2px; }
.lfoot { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%); padding-top: 14px; } .lfoot .btn { margin: 0; }
.poolg .row { margin-top: 6px; } .poolchips { flex-wrap: wrap; gap: 6px; } .poolchips .btn { flex: 1 0 54px; margin: 0; padding: 8px 4px; font-size: 13px; } .poolg .btn { margin: 0; font-size: 13px; padding: 9px 6px; }

.govl { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink2); } .govl li { margin-bottom: 5px; }

.stamps { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; } .stamps span { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 10px; background: #f1f4f8; color: var(--dim); } .stamps span.on { background: #e6f4ec; color: #1c5d38; }

.phsec { grid-column: 1 / -1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 6px 2px -4px; } .phsec:first-child { margin-top: 0; }
.duelrow { align-items: center; margin-bottom: 5px; } .duelrow small { width: 16px; color: var(--dim); font-weight: 800; flex: none; } .duelrow .btn { margin: 0; padding: 8px 0; }

/* today sits above your needs */
#dailyBtn { top: auto; bottom: 160px; left: 12px; } @media (max-width: 720px) { #dailyBtn { bottom: 150px; left: 10px; } } #left { max-height: calc(100vh - 330px); overflow: hidden; }

/* notifications: the bell, the count on the Phone button, the stack on the phone's home screen */
#bellBtn { position: fixed; z-index: 21; top: 118px; right: 12px; background: var(--card); border-radius: 50%; width: 38px; height: 38px; box-shadow: var(--shadow); font-size: 17px; } #bellBtn i { position: absolute; top: -5px; right: -6px; background: var(--red); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 9px; padding: 1px 5px; min-width: 16px; } #bellBtn i:empty { display: none; } #bellBtn.has { animation: bellnudge 2.4s ease-in-out infinite; }
@keyframes bellnudge { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-14deg); } 95% { transform: rotate(12deg); } } @media (max-width: 720px) { #bellBtn { top: 156px; } } body.clean #bellBtn { display: none !important; }
#nav button { position: relative; } #nav .nb { position: absolute; top: 2px; right: 8px; background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; border-radius: 9px; padding: 0 5px; min-width: 15px; line-height: 15px; }
#phNotes { padding: 0 16px; display: grid; gap: 6px; } #phNotes:empty { display: none; } .phnhead { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 12px; margin-top: 8px; } .phnhead button { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 10px; }
.phn { display: flex; gap: 8px; justify-content: space-between; align-items: center; text-align: left; background: rgba(255,255,255,.93); color: var(--ink); border-radius: 14px; padding: 9px 12px; font-size: 12.5px; font-weight: 600; } .phn span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .phn em { font-style: normal; color: var(--dim); font-size: 11px; flex: none; }
.udot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f6fb2; margin-right: 6px; vertical-align: middle; }

/* labels inside rooms wrap onto two lines so nothing is cut off */
.pin.rpin span { white-space: normal; max-width: 118px; text-align: center; line-height: 1.2; padding: 2px 7px; }

.mbell { position: absolute; top: 12px; right: 56px; width: 34px; height: 34px; border-radius: 50%; background: #1f6fb2; color: #fff; font-size: 16px; z-index: 5; } .mbell i { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
.tlf { gap: 5px; margin-bottom: 6px; } .tlf .btn { margin: 0; padding: 7px 4px; font-size: 12px; }

/* the place bar */
#pbar { position: fixed; z-index: 19; left: 50%; bottom: 84px; transform: translateX(-50%); width: min(560px, calc(100% - 16px)); background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; } #pbar.hidden { display: none; }
.pbhead { display: flex; align-items: center; gap: 8px; } .pbav { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid #f2a900; } .pbav svg { width: 100%; height: 100%; display: block; } .pbwho { flex: 1; min-width: 0; } .pbwho b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pbwho b small { font-weight: 600; color: var(--dim); } .pbwho > small { display: block; color: var(--ink2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbhead button { width: 32px; height: 32px; border-radius: 50%; background: #f1f4f8; font-size: 14px; flex: none; }
.pbsay { display: flex; gap: 6px; } .pbsay input { flex: 1; border: 0; background: #f1f4f8; border-radius: 999px; padding: 9px 14px; font-size: 14px; min-width: 0; } .pbsay button { width: 38px; height: 38px; border-radius: 50%; background: #1e9e5a; color: #fff; font-size: 15px; flex: none; }
.pbchat { font-size: 12.5px; color: var(--ink2); display: grid; gap: 2px; max-height: 38px; overflow: hidden; } .pbchat b { color: var(--ink); }
.pbchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 1px; } .pbchips button { flex: none; background: #f1f4f8; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; } .pbchips button[disabled] { opacity: .4; } .pbchips em { font-style: normal; font-weight: 600; color: var(--dim); margin-left: 3px; } #pbPeople { background: #eaf1fb; } .pbchips button.shut { opacity: .55; }
body.clean #pbar { display: none !important; }

/* name tags over heads inside rooms */
.ptag { position: absolute; transform: translate(-50%, -100%); pointer-events: none; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; line-height: 1.3; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.22); }
.ptag b { font-weight: 700; max-width: 120px; overflow: hidden; text-overflow: ellipsis; } .ptag small { font-size: 9px; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }
.ptag.npc { background: #fff; color: #333; } .ptag.real { background: #1f6fd6; color: #fff; } .ptag.real i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.ptag.me { background: #f2b705; color: #2a1f00; font-size: 12px; padding: 2px 10px; animation: mebob 1.6s ease-in-out infinite; } .ptag.me u { position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; background: #f2b705; transform: translateX(-50%) rotate(45deg); z-index: -1; text-decoration: none; }
@keyframes mebob { 0%, 100% { margin-top: 0; } 50% { margin-top: -5px; } }

/* the options row in the place bar is a slider */
.pbslide { display: flex; align-items: center; gap: 6px; min-width: 0; } .pbslide .pbchips { flex: 1; min-width: 0; scroll-behavior: auto; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); padding: 0 6px; }
.pbarrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; font-weight: 700; line-height: 1; display: grid; place-items: center; } .pbarrow.off { opacity: .22; pointer-events: none; } .pbslide.fits .pbarrow { display: none; } .pbslide.fits .pbchips { -webkit-mask-image: none; mask-image: none; padding: 0; cursor: default; }

/* the camera pad inside rooms */
#camPad { display: none; position: fixed; z-index: 18; right: 12px; top: 50%; transform: translateY(-50%); grid-template-columns: repeat(3, 34px); gap: 5px; padding: 8px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); user-select: none; touch-action: none; } body.inroom #camPad { display: grid; } body.clean #camPad { display: none !important; }
#camPad button { width: 34px; height: 34px; border-radius: 10px; background: #f1f4f8; font-size: 16px; font-weight: 700; color: var(--ink); } #camPad button:active { background: #dfe6ee; } #camPad button.wide { grid-column: 1 / -1; width: auto; height: 26px; font-size: 11px; }
@media (max-width: 600px) { body.inroom #camPad { display: none; } }

/* move furniture at home */
#arrBar { display: none; position: fixed; z-index: 18; left: 50%; top: 96px; transform: translateX(-50%); align-items: center; gap: 8px; padding: 6px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100% - 16px); } body.inroom.athome #arrBar { display: flex; } body.clean #arrBar { display: none !important; }
#arrBar button { border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; background: #f1f4f8; color: var(--ink); white-space: nowrap; } #arrBar #arrDone { background: #1e9e5a; color: #fff; } #arrBar span { font-size: 12.5px; color: var(--ink2); padding: 0 4px; }
#arrBar #arrTip, #arrBar #arrTurn, #arrBar #arrDone { display: none; } body.arranging #arrBar #arrTip, body.arranging #arrBar #arrTurn, body.arranging #arrBar #arrDone { display: inline-block; } body.arranging #arrBar #arrGo { display: none; }
@media (max-width: 600px) { #arrBar { top: 150px; } #arrBar span { display: none !important; } }

/* category chips in the Buy app */
.chips2 { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; } .chips2 button { flex: none; border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 700; background: #f1f4f8; color: var(--ink); } .chips2 button.on { background: var(--ink); color: #fff; }

/* the TDot card on your profile */
.tdcard { background: linear-gradient(135deg, #da291c, #a8160c); color: #fff; border-radius: 16px; padding: 12px; margin: 8px 0; } .tdrank b { display: block; font-size: 18px; } .tdrank small { opacity: .85; font-size: 12px; }
.tdgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; } .tdgrid span { background: rgba(255,255,255,.14); border-radius: 10px; padding: 7px 8px; min-width: 0; } .tdgrid span b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tdgrid span small { font-size: 10.5px; opacity: .8; }
.tdtop { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; } .tdtop span { background: #fff; color: #7a1208; font-weight: 700; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; }
.mrow .mm b u { text-decoration: none; font-weight: 600; color: var(--dim); font-size: 12px; margin-left: 6px; } .mrow .mm > small { display: block; color: var(--dim); font-size: 11px; margin-top: 2px; }
@media (max-width: 600px) { .tdgrid { grid-template-columns: repeat(2, 1fr); } }

/* dropping by a neighbour */
#visitBar { position: fixed; z-index: 18; left: 50%; top: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100% - 16px); } #visitBar b { font-size: 14px; white-space: nowrap; } #visitBar span { font-size: 12px; color: var(--dim); white-space: nowrap; } #visitBar button { border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; background: #f1f4f8; color: var(--ink); } #visitBar #vbLeave { background: var(--ink); color: #fff; }
body.visiting #arrBar { display: none !important; } body.visiting .pin.objpin { pointer-events: none; opacity: .7; } body.clean #visitBar { display: none !important; }
@media (max-width: 600px) { #visitBar { top: 150px; } #visitBar span { display: none; } }

/* the gain burst */
.burst { position: fixed; z-index: 45; left: 50%; top: 40%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none; animation: burstup 2.6s ease-out both; } .burst b { background: var(--ink); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 2px; } .burst span { font-weight: 800; font-size: 16px; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); animation: chipin .5s cubic-bezier(.2,1.4,.4,1) both; }
.burst span.\$ { background: #1e9e5a; color: #fff; font-size: 20px; } .burst span.up { background: #fff; color: #1e6b3a; } .burst span.down { background: #fff; color: #a8160c; } .burst span.skill { background: #2f7fd1; color: #fff; } .burst span.first { background: #f2b705; color: #3a2a00; } .burst.big b { background: var(--red); }
@keyframes burstup { 0% { opacity: 0; transform: translate(-50%, 20px); } 12% { opacity: 1; transform: translate(-50%, 0); } 75% { opacity: 1; transform: translate(-50%, -30px); } 100% { opacity: 0; transform: translate(-50%, -60px); } } @keyframes chipin { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pbchat .cheer { background: #ffe9b0; color: #5a3d00; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; margin-left: 6px; } .pbchat .cheer:disabled { opacity: .6; }

.burst.goal b { background: #da291c; font-size: 22px; padding: 8px 20px; } .burst.goal span { font-size: 24px; }

.deal { display: inline-block; background: #da291c; color: #fff; font-weight: 700; font-size: 11px; padding: 1px 7px; border-radius: 999px; margin-left: 4px; } .deal.reg { background: #f2b705; color: #3a2a00; }

/* signature moves */
.hbanner { position: fixed; z-index: 46; left: 50%; top: 16%; transform: translate(-50%, -30px); opacity: 0; transition: all .45s cubic-bezier(.2,1.3,.4,1); text-align: center; pointer-events: none; padding: 14px 26px; border-radius: 22px; background: rgba(12, 10, 22, .88); color: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.35); max-width: 92vw; } .hbanner.on { opacity: 1; transform: translate(-50%, 0); } .hbanner i { font-style: normal; font-size: 30px; display: block; } .hbanner b { display: block; font-size: 26px; letter-spacing: .02em; color: #ffd23f; text-shadow: 0 2px 0 #a8160c; } .hbanner small { display: block; font-size: 13px; opacity: .85; margin-top: 4px; } .hbanner.buyout b { color: #fff; text-shadow: 0 0 18px #ffd23f; }
.rain { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; } .rain span { position: absolute; top: -40px; font-size: 26px; animation: rainfall linear both; } @keyframes rainfall { to { transform: translateY(110vh) rotate(380deg); } }
.ptag.crown b::before { content: '👑 '; } .ptag.crown { box-shadow: 0 0 0 2px #ffd23f, 0 1px 6px rgba(0,0,0,.3); }
@media (max-width: 600px) { .hbanner b { font-size: 19px; } }

/* room trivia */
#triv { position: fixed; z-index: 20; left: 50%; bottom: 236px; transform: translateX(-50%); width: min(560px, calc(100% - 16px)); background: #13233a; color: #fff; border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); animation: chipin .4s cubic-bezier(.2,1.3,.4,1) both; } #triv b { display: block; font-size: 14px; margin-bottom: 6px; } #triv .row { display: flex; gap: 6px; flex-wrap: wrap; } #triv button { flex: 1; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 10px; font-weight: 700; font-size: 13px; } #triv button.picked { background: #ffd23f; } #triv small { display: block; margin-top: 6px; opacity: .8; font-size: 11px; } body.clean #triv { display: none; }
@media (max-width: 600px) { #triv { bottom: 300px; } }

/* closed places on the map */
.pin.shut b { opacity: .55; filter: grayscale(.7); } .pin.shut span { color: #8a8f99; } .pin.shut span::after { content: ' · closed'; color: var(--red); font-weight: 800; } .pin.shut.here b { opacity: .8; }

/* @mentions */
mark.atme { background: #ffd23f; color: #13233a; border-radius: 6px; padding: 0 4px; font-weight: 800; } .at { color: var(--red); font-weight: 700; } [data-at] { cursor: pointer; }

/* gifts in a player's profile */
.giftrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; margin-top: 10px; } .giftrow button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(19,35,58,.08); text-align: center; } .giftrow button b { font-size: 26px; } .giftrow button span { font-size: 12.5px; font-weight: 700; line-height: 1.2; } .giftrow button small { font-size: 11px; opacity: .7; } .giftrow button:disabled { opacity: .45; } .giftrow .note { grid-column: 1 / -1; margin: 0; }

/* colour swatches: furniture in Move mode, the car at the parking spot */
#arrPaint { display: none; gap: 5px; align-items: center; } body.arranging #arrPaint { display: inline-flex; } #arrPaint i, .swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); cursor: pointer; display: inline-grid; place-items: center; font-style: normal; font-size: 13px; background: #eef1f5; } .swatches { display: flex; flex-wrap: wrap; gap: 10px; } .swatches i { width: 36px; height: 36px; }
@media (max-width: 600px) { #arrPaint i { width: 18px; height: 18px; } #arrBar { flex-wrap: wrap; justify-content: center; max-width: calc(100% - 16px); } }

.ptag.emo { background: none; box-shadow: none; font-size: 30px; padding: 0; z-index: 4; animation: emoPop 2s ease-out forwards; }
@keyframes emoPop { 0% { opacity: 0; margin-top: 14px; scale: .4; } 15% { opacity: 1; margin-top: 0; scale: 1.15; } 30% { scale: 1; } 80% { opacity: 1; margin-top: -10px; } 100% { opacity: 0; margin-top: -26px; } }

/* card tables */
.tseats { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; } .tseats span { background: #eef2f7; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; } .tseats span.on { background: #f2b705; color: #2a1f00; } .tseats span.me { outline: 2px solid #13233a; } .tseats small { font-weight: 500; opacity: .6; }
.tline { margin: 8px 0; font-size: 14px; }
.cb { display: grid; grid-template-columns: repeat(8, 1fr); border-radius: 10px; overflow: hidden; border: 3px solid #4a3523; touch-action: manipulation; } .cb button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 0; font-size: min(8vw, 34px); line-height: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.cb .l { background: #ecd9b4; } .cb .d { background: #a9794f; } .cb .last { box-shadow: inset 0 0 0 100px rgba(242, 183, 5, .35); } .cb .sel { box-shadow: inset 0 0 0 100px rgba(30, 158, 90, .5); } .cb .go::after { content: ''; position: absolute; width: 30%; height: 30%; border-radius: 50%; background: rgba(19, 35, 58, .45); }
.cb .w { color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000, 0 1px 2px #000; } .cb .k { color: #15161a; text-shadow: 0 0 1px rgba(255,255,255,.5); }
.pc { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 62px; border-radius: 8px; background: #fff; border: 1.5px solid #c9d2dd; color: #15161a; padding: 0; margin: 0; font-size: 17px; line-height: 1.05; box-shadow: 0 1px 3px rgba(0,0,0,.18); vertical-align: middle; } .pc b { font-weight: 800; } .pc i { font-style: normal; font-size: 19px; }
.pc.red { color: #d0211c; } .pc:disabled { opacity: 1; filter: saturate(.75) brightness(.93); } .hand .pc:not(:disabled) { border-color: #1e9e5a; transform: translateY(-5px); box-shadow: 0 4px 8px rgba(0,0,0,.22); } .pc.up { transform: translateY(-14px) !important; border-color: #f2b705 !important; border-width: 2.5px; }
.pc.sm { width: 32px; height: 44px; font-size: 13px; } .pc.sm i { font-size: 14px; } .pc.cut { border-color: #f2b705; margin-left: 8px; } .pc.ghost { background: rgba(255,255,255,.14); border-style: dashed; box-shadow: none; } .pc.back { width: 14px; height: 22px; border-radius: 3px; background: repeating-linear-gradient(45deg, #b5121b, #b5121b 3px, #8e0e15 3px, #8e0e15 6px); border: 1px solid #fff; margin-right: -5px; box-shadow: none; } .pcs { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.hand { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 14px 0 8px; } .hand.sm { justify-content: flex-start; margin: 6px 0 2px; gap: 3px; }
.felt { background: radial-gradient(circle at 50% 40%, #2c8a57, #1b6a40); color: #eafff2; border-radius: 18px; padding: 10px; margin: 8px 0; font-size: 12px; font-weight: 700; text-align: center; } .felt .fm { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 4px; min-height: 76px; margin: 6px 0; } .felt .mid { font-weight: 600; }
.pegs { height: 8px; background: #e6ebf1; border-radius: 999px; overflow: hidden; margin: 2px 0 8px; } .pegs i { display: block; height: 100%; background: #1e9e5a; }

/* open now on the map: closed places fade */
#pins .pin.faded, .pin.faded { opacity: .28; filter: grayscale(.6); } #chips button#chOpen.on { background: #1e9e5a; color: #fff; }
/* night mode: dark phone, sheets and cards; the 3D city already has its own night */
body.night { --bg: #0f1722; --card: #182436; --ink: #e9eef6; --ink2: #c7d1de; --dim: #90a0b4; --line: #2b3b52; --sky: #1b2c44; --shadow: 0 8px 28px rgba(0,0,0,.45); }
body.night .item, body.night .act, body.night .pgrid button, body.night .ccard, body.night .tseats span, body.night .kv, body.night .input, body.night .chatlog, body.night .tdcard, body.night .mrow, body.night .feel { background: #1f2d42; color: var(--ink); } body.night .input { border-color: var(--line); } body.night .note, body.night small { color: var(--dim); }
body.night #phone, body.night #phScreen, body.night #sheet, body.night .modal .card, body.night #pbar, body.night #left .chip, body.night #top, body.night #needs, body.night .tour, body.night #pnotes .pnote, body.night #chips button, body.night #nav { background: var(--card); color: var(--ink); } body.night #nav button { color: var(--ink); } body.night .btn.alt { background: #24344d; color: var(--ink); } body.night .ptag.real { background: #2b4a7a; }
body.night .cb .l { background: #c9b58f; } body.night .pc { background: #f4f6f9; color: #15161a; }
body.night #top, body.night #top b, body.night #top span, body.night #chips button, body.night #left .chip b, body.night .item b, body.night .sec, body.night h2, body.night label { color: var(--ink); } body.night .item small, body.night .item .note, body.night #left .chip small, body.night .lore { color: #b7c3d2; } body.night #top .live, body.night .r { color: #5fd38f; } body.night #tCash, body.night .money { color: #5fd38f; } body.night #ticker { background: var(--card); } body.night #ticker b { color: #ff6b61; } body.night #tickerText { color: var(--ink); } body.night #shSub, body.night #shTitle, body.night #phTitle, body.night .status { color: var(--ink); } body.night #shSub, body.night #sheet small, body.night #phone small, body.night .modal small, body.night #left small { color: #b7c3d2 !important; } body.night #sheet .x, body.night #phone .x { background: #24344d; color: var(--ink); }

.spark { width: 96px; height: 28px; color: #1f6fb2; flex: none; }

.talkb { position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); z-index: 26; animation: emoPop .35s ease-out; } .talkb b { font-size: 15px; } .talkb small { display: block; color: var(--dim); margin-bottom: 6px; } .talkb p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; } .talkb .row { gap: 6px; } .talkb .btn { margin: 0; }
#left .chip.beaver { background: #fff3d6; } #left .chip.beaver b { color: #6b4b00; }
.ptag.guest { background: #2b2b36; color: #fff; }
#wx { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0; transition: background 1.2s, opacity 1.2s; z-index: 1; } #stage canvas { position: relative; z-index: 0; }
.soon { z-index: 1; } .pin { z-index: 2; } .pin.homepin { z-index: 3; }

.ptag.reg { background: #fff3d6; color: #6b4b00; pointer-events: auto; cursor: pointer; } .ptag.reg b::before { content: '🗣️ '; }
#landing .brand { display: inline-flex; align-items: center; gap: 8px; } #landing .brand img { border-radius: 7px; display: block; }
#landing .lHead { margin: 0 0 6px; font-size: clamp(22px, 5vw, 30px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
#landing .lRoad { margin: 0 0 12px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px; } #landing .lRoad b, #landing .lRoad span { padding: 4px 10px; border-radius: 999px; background: #eef2f7; color: var(--ink2); font-weight: 700; } #landing .lRoad b { background: var(--red); color: #fff; }

#landing .lFound { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #6b4b00; background: #fff3d6; border-radius: 12px; padding: 8px 10px; }

.dep { background: #0e1a2b; border-radius: 14px; padding: 6px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; } .dep div { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #ffd23f; font-size: 13.5px; align-items: center; } .dep div:last-child { border: 0; } .dep b { color: #fff; } .dep i { font-style: normal; color: #9fb4d0; font-size: 12px; } .dep .next { color: #5fd38f; } .dep .next i { color: #5fd38f; font-weight: 700; }
.dmtools { text-align: right; margin-bottom: 4px; } .dmtools button { font-size: 11.5px; background: none; color: var(--dim); padding: 2px 6px; border-radius: 8px; } .dmx { color: var(--dim); text-decoration: none; font-size: 11px; margin-left: 6px; opacity: .6; } .dmx:hover { opacity: 1; color: var(--red); }
