:root {
  --verde: #0a8f4f;
  --verde-esc: #066b3a;
  --amarelo: #ffd400;
  --azul: #0b5ea8;
  --mar: #4fb3d9;
  --areia: #f6ead2;
  --ink: #1b2433;
  --ink-soft: #5d6878;
  --card: #ffffff;
  --mist: #eef2f7;
  --bad: #d64545;
  --good: #0a8f4f;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #0d3b5c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Cpath d='M0 20 Q20 0 40 20 T80 20' fill='none' stroke='%23ffffff14' stroke-width='6'/%3E%3C/svg%3E");
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { cursor: not-allowed; }
h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; margin: 0; line-height: 1.1; }

#app {
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  background: var(--mist);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0,0,0,.35);
}

/* ---------- Start screen ---------- */
.start {
  flex: 1;
  padding: 28px 18px 32px;
  background: linear-gradient(180deg, #ffd400 0%, #ffb300 30%, #0a8f4f 30.1%, #0a8f4f 100%);
}
.logo { text-align: center; padding: 10px 0 26px; }
.logo h1 { font-size: 46px; color: var(--verde-esc); letter-spacing: -1px; }
.logo p { margin: 2px 0 0; font-weight: 800; color: var(--verde-esc); }
.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.panel + .panel { margin-top: 14px; }
.field-label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 8px; }
.input {
  width: 100%; font: inherit; font-size: 18px; padding: 12px 14px;
  border-radius: 12px; border: 2px solid var(--mist); background: var(--mist);
}
.input:focus { outline: none; border-color: var(--verde); background: #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button {
  padding: 12px; border-radius: 12px; background: var(--mist); font-weight: 800;
  border: 2px solid transparent;
}
.seg button.on { border-color: var(--verde); background: #e3f6ec; }
.origins { display: grid; gap: 10px; }
.origin {
  text-align: left; padding: 14px; border-radius: 14px; background: var(--mist);
  border: 2px solid transparent; display: flex; gap: 12px; align-items: flex-start;
}
.origin.on { border-color: var(--verde); background: #e3f6ec; }
.origin .big { font-size: 32px; line-height: 1; }
.origin b { display: block; font-size: 17px; }
.origin span { font-size: 14px; color: var(--ink-soft); }
.btn {
  display: block; width: 100%; padding: 15px; border-radius: 14px;
  background: var(--verde); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 0 var(--verde-esc);
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--verde-esc); }
.btn.alt { background: var(--amarelo); color: var(--ink); box-shadow: 0 4px 0 #c9a700; }
.btn.ghost { background: var(--mist); color: var(--ink); box-shadow: none; }
.link { color: var(--azul); font-weight: 700; text-decoration: underline; padding: 6px; }

/* ---------- HUD ---------- */
.hud {
  position: sticky; top: 0; z-index: 5;
  background: var(--verde); color: #fff;
  padding: 10px 14px 12px;
  padding-top: max(10px, env(safe-area-inset-top));
}
.hud-row { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; padding: 0; overflow: hidden;
  background: var(--amarelo); flex-shrink: 0; border: 2px solid #fff;
}
.avatar svg { width: 100%; height: 100%; display: block; }
.who { flex: 1; min-width: 0; }
.who b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { opacity: .85; font-weight: 600; }
.money { text-align: right; }
.money b { display: block; font-family: "Baloo 2"; font-size: 22px; color: var(--amarelo); line-height: 1; }
.money small { opacity: .85; font-size: 12px; font-weight: 700; }
.needs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.need { font-size: 11px; font-weight: 800; text-align: center; }
.need .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); margin-top: 3px; overflow: hidden; }
.need .bar i { display: block; height: 100%; border-radius: 3px; background: #7dffb5; transition: width .5s; }
.need.low .bar i { background: #ffb347; }
.need.crit .bar i { background: #ff6161; }
.need.crit { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Main ---------- */
main { flex: 1; padding-bottom: 86px; }
.scene {
  color: #fff; padding: 22px 18px 20px; position: relative; overflow: hidden;
  min-height: 170px;
}
.scene .art {
  position: absolute; right: 70px; top: -18px; font-size: 90px; opacity: .35;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.25));
}
.scene .area { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.scene h2 { font-size: 34px; margin: 2px 0 6px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.scene p { margin: 0; max-width: 72%; font-weight: 600; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.scene .home-tag {
  display: inline-block; margin-top: 10px; background: rgba(255,255,255,.22);
  padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 800;
}

.section { padding: 14px 14px 4px; }
.section h3 { font-size: 18px; margin: 0 0 8px 2px; color: var(--ink); }
.people { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.person {
  flex-shrink: 0; background: var(--card); border-radius: 14px; padding: 8px 12px 8px 8px;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.person .face { font-size: 26px; }
.person b { display: block; font-size: 14px; }
.person small { color: var(--ink-soft); font-size: 12px; }
.empty { color: var(--ink-soft); font-size: 14px; padding: 4px 2px 8px; }

.actions { display: grid; gap: 8px; }
.act {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--card); border-radius: 14px; padding: 12px; width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: transform .08s;
}
.act:active:not(:disabled) { transform: scale(.98); }
.act .e { font-size: 28px; width: 38px; text-align: center; flex-shrink: 0; }
.act .t { flex: 1; min-width: 0; }
.act b { display: block; font-size: 15px; }
.act small { color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.act .why { color: var(--bad); }
.act.job { border-left: 5px solid var(--amarelo); }
.act:disabled { opacity: .5; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.chip { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: var(--mist); }
.chip.up { background: #e3f6ec; color: var(--good); }
.chip.down { background: #fde8e8; color: var(--bad); }
.chip.pay { background: #fff6c2; color: #806a00; }

.billboard {
  margin: 14px 14px 0; border-radius: 14px; padding: 12px 14px;
  background: repeating-linear-gradient(45deg, #1b2433, #1b2433 10px, #222d3f 10px, #222d3f 20px);
  color: #fff; display: flex; align-items: center; gap: 10px; width: calc(100% - 28px); text-align: left;
}
.billboard b { color: var(--amarelo); display: block; }
.billboard small { opacity: .8; }

/* ---------- Map ---------- */
.map-wrap { padding: 12px; }
.map-wrap svg { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.pin { cursor: pointer; }
.pin:hover circle.dot { stroke-width: 5; }
.pin text { font-family: "Nunito", sans-serif; font-weight: 800; }
.map-hint { text-align: center; color: var(--ink-soft); font-size: 13px; margin: 8px 0 0; }
.place-list { display: grid; gap: 8px; padding: 4px 14px 14px; }

/* ---------- Bottom nav ---------- */
nav.tabs {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 6;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid #dde3ea;
  padding-bottom: env(safe-area-inset-bottom);
}
nav.tabs button { padding: 9px 0 10px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
nav.tabs button span { display: block; font-size: 22px; }
nav.tabs button.on { color: var(--verde); }

/* ---------- Phone ---------- */
.phone { padding: 14px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; margin-bottom: 16px; }
.app-ico { text-align: center; font-size: 12px; font-weight: 700; }
.app-ico i {
  font-style: normal; display: grid; place-items: center; margin: 0 auto 4px;
  width: 58px; height: 58px; border-radius: 16px; font-size: 30px; color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}
.app-ico.on { color: var(--verde); }
.card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.card + .card { margin-top: 10px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #e3e8ee; font-weight: 700; }
.kv:last-child { border: 0; }
.kv span { color: var(--ink-soft); font-weight: 600; }
.skill { margin: 8px 0; }
.skill .top { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; }
.skill .bar { height: 10px; background: var(--mist); border-radius: 5px; overflow: hidden; margin-top: 4px; }
.skill .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--verde), #3ccf7e); border-radius: 5px; }
.feed-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--mist); font-size: 14px; }
.feed-item .e { font-size: 20px; }
.feed-item small { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.feed-item.good b { color: var(--good); }
.feed-item.bad b { color: var(--bad); }
.feed-item b { font-weight: 600; }
.pack {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--mist);
  width: 100%; text-align: left; margin-top: 8px; position: relative;
}
.pack .e { font-size: 30px; }
.pack .t { flex: 1; }
.pack b { display: block; }
.pack .price { background: var(--verde); color: #fff; font-weight: 800; padding: 6px 10px; border-radius: 10px; font-size: 14px; }
.pack .best { position: absolute; top: -8px; right: 10px; background: var(--amarelo); font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.demo-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* ---------- Goals ---------- */
.goal { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--card); border-radius: 14px; margin-bottom: 8px; }
.goal .e { font-size: 26px; }
.goal .t { flex: 1; font-weight: 700; }
.goal .ok { font-size: 22px; }
.goal.done { background: #e3f6ec; }
.goal.done .t { text-decoration: line-through; color: var(--ink-soft); }
.carnaval {
  background: linear-gradient(120deg, #ff3d7f, #ffb300, #00b3a4); color: #fff;
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px; font-weight: 800;
}
.carnaval h3 { font-size: 22px; }

/* ---------- Modal ---------- */
#modal {
  position: fixed; inset: 0; z-index: 20; background: rgba(10,20,35,.55);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .15s;
}
#modal[hidden] { display: none; }
.sheet {
  background: #fff; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  border-radius: 24px 24px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  animation: up .22s ease-out;
}
.sheet .head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sheet .head .e { font-size: 40px; }
.sheet .head h2 { font-size: 24px; }
.sheet .head small { color: var(--ink-soft); font-weight: 700; }
.sheet p.body { font-size: 16px; line-height: 1.45; margin: 0 0 14px; }
.sheet .choices { display: grid; gap: 8px; }
.sheet .close { margin-top: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--mist);
  border-radius: 14px; width: 100%; text-align: left;
}
.opt .e { font-size: 26px; }
.opt .t { flex: 1; }
.opt b { display: block; }
.opt small { color: var(--ink-soft); font-weight: 700; }
.opt .r { font-weight: 800; }
.opt.rush small.rushy { color: var(--bad); }
.opt:disabled { opacity: .45; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* Busy overlay while an action plays out */
.busy {
  position: fixed; inset: 0; z-index: 30; display: grid; place-items: center;
  background: rgba(10,20,35,.45); animation: fade .1s;
}
.busy .box { background: #fff; border-radius: 22px; padding: 22px 26px; text-align: center; min-width: 230px; }
.busy .e { font-size: 54px; display: inline-block; animation: bob .5s infinite alternate; }
.busy b { display: block; margin-top: 6px; }
.busy .prog { height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; margin-top: 12px; }
.busy .prog i { display: block; height: 100%; width: 0; background: var(--verde); animation: fill var(--d, 900ms) linear forwards; }
@keyframes bob { to { transform: translateY(-8px) rotate(-6deg); } }
@keyframes fill { to { width: 100%; } }

/* Toasts */
#toasts {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 456px; z-index: 40; display: grid; gap: 6px; pointer-events: none;
}
.toast {
  background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); display: flex; gap: 10px; align-items: center;
  border-left: 5px solid var(--azul); animation: up .2s ease-out;
}
.toast.good { border-left-color: var(--good); }
.toast.bad { border-left-color: var(--bad); }
.toast .e { font-size: 22px; }
.toast.out { opacity: 0; transform: translateY(-10px); transition: .3s; }

/* ---------- Character creator ---------- */
.start-top { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.lang { display: flex; background: rgba(255,255,255,.55); border-radius: 99px; padding: 3px; }
.lang button { padding: 4px 12px; border-radius: 99px; font-weight: 800; font-size: 13px; color: var(--verde-esc); }
.lang button.on { background: var(--verde); color: #fff; }
.link.light { color: var(--verde-esc); text-decoration: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: -10px 0 14px; }
.steps button { background: rgba(255,255,255,.6); border-radius: 99px; padding: 6px 4px; font-weight: 800; font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 6px; }
.steps button i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11px; }
.steps button.on { background: #fff; color: var(--verde-esc); box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.steps button.on i, .steps button.done i { background: var(--verde); color: #fff; }
.creator { padding-top: 6px; }
.preview { position: relative; background: radial-gradient(circle at 50% 70%, #fff6c2, #ffe680 60%, #ffd400); border-radius: 16px; margin-bottom: 12px; height: 230px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }
.preview svg { height: 220px; width: auto; }
.dice { position: absolute; top: 10px; right: 10px; background: #fff; border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ctabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 12px; }
.ctabs button { padding: 6px 2px; border-radius: 12px; font-size: 11px; font-weight: 800; color: var(--ink-soft); background: var(--mist); }
.ctabs button span { display: block; font-size: 20px; }
.ctabs button.on { background: var(--verde); color: #fff; }
.cbody { min-height: 150px; margin-bottom: 14px; }
.cbody .field-label { margin-top: 12px; }
.cbody .field-label:first-child { margin-top: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #cfd6df; }
.sw.on { box-shadow: 0 0 0 3px var(--verde); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.o { padding: 8px 12px; border-radius: 99px; background: var(--mist); font-weight: 700; font-size: 14px; border: 2px solid transparent; }
.o.on { border-color: var(--verde); background: #e3f6ec; color: var(--verde-esc); }
.mini-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mini-head > svg { width: 64px; height: 64px; border-radius: 50%; background: var(--amarelo); flex-shrink: 0; }
.mini-head small { color: var(--ink-soft); font-weight: 600; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.trait { text-align: left; background: var(--mist); border-radius: 14px; padding: 10px; border: 2px solid transparent; display: flex; gap: 8px; align-items: flex-start; }
.trait .e { font-size: 24px; line-height: 1; }
.trait b { display: block; font-size: 14px; }
.trait small { color: var(--ink-soft); font-size: 12px; line-height: 1.3; display: block; margin-top: 2px; }
.trait.on { border-color: var(--verde); background: #e3f6ec; }
.trait:disabled { opacity: .45; }
.nav2 { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.trait-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.trait-pills span { background: #e3f6ec; color: var(--verde-esc); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.scene .me { position: absolute; right: 4px; bottom: -6px; width: 120px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.scene .me svg { width: 100%; height: auto; display: block; }
.card.profile { text-align: center; }
.big-av { width: 160px; margin: 0 auto 6px; background: radial-gradient(circle at 50% 70%, #fff6c2, #ffd400); border-radius: 50%; overflow: hidden; aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; }
.big-av svg { width: 92%; height: auto; }
.card.profile h3 { margin-bottom: 10px; }

/* ---------- Illustrated graphics ---------- */
.scene { min-height: 230px; padding: 20px 18px 22px; background: #1d3b6e; }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene > *:not(.scene-svg) { position: relative; z-index: 1; }
.scene .me { position: absolute; right: 2px; bottom: -4px; width: 132px; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.scene p { max-width: 64%; }
.scene h2 { font-size: 36px; }

.av-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

.person { padding: 6px 12px 6px 6px; }
.person .face { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #ffe680, #ffb84d); flex-shrink: 0; }
.person .face svg { width: 100%; height: 100%; display: block; }
.npc-av { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #ffe680, #ffb84d); flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.npc-av svg { width: 100%; height: 100%; display: block; }
.fr { display: inline-flex; align-items: center; gap: 6px; }
.fr-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #ffe680; display: inline-block; }
.fr-av svg { width: 100%; height: 100%; display: block; }

.act .e {
  width: 46px; height: 46px; border-radius: 14px; font-size: 26px;
  display: grid; place-items: center; background: linear-gradient(160deg, #f3f6fa, #e3e9f1);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.06);
}
.act.job .e { background: linear-gradient(160deg, #fff6c2, #ffe680); }
.act { padding: 10px 12px 10px 10px; border: 1px solid #e6ebf1; }
.act:hover:not(:disabled) { border-color: #cfe8db; box-shadow: 0 4px 14px rgba(10,143,79,.12); }
.act.place { padding: 8px; }
.act.place .thumb { width: 92px; height: 54px; border-radius: 10px; overflow: hidden; flex-shrink: 0; position: relative; }
.act.place .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.map-wrap svg { background: #2a8fd0; }
.pin { cursor: pointer; transition: transform .15s; transform-box: fill-box; transform-origin: center; }
.pin:hover { transform: scale(1.06); }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse-ring 1.6s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }

.busy .box { padding: 20px 28px 22px; }
.busy-av { position: relative; width: 104px; height: 104px; margin: 0 auto 4px; border-radius: 50%; overflow: visible; background: linear-gradient(160deg, #ffe680, #ffb84d); }
.busy-av svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.busy-av .e { position: absolute; right: -14px; top: -8px; font-size: 38px; background: #fff; border-radius: 50%; width: 54px; height: 54px; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.2); }

.hud { background: linear-gradient(180deg, #0a8f4f, #077a43); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.preview { background: radial-gradient(circle at 50% 75%, #fff6c2, #ffe680 55%, #ffc94d); }

.scene h2 { text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 4px 18px rgba(0,0,0,.45); }
.scene .area { text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.scene p {
  display: inline-block; background: rgba(10,20,40,.45); padding: 6px 10px; border-radius: 10px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); text-shadow: none; line-height: 1.35;
}

/* ---------- Full-body creator, wardrobe & shops ---------- */
.logo.small { padding: 4px 0 14px; }
.logo.small h1 { font-size: 30px; }
.start.editing { background: linear-gradient(180deg, #ffd400 0%, #ffb300 22%, #0a8f4f 22.1%, #0a8f4f 100%); }
.preview { height: 400px; align-items: center; }
.preview .pv { height: 100%; display: flex; justify-content: center; align-items: flex-end; }
.preview .pv svg { height: 100%; width: auto; }
.ctabs { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
.ctabs::-webkit-scrollbar { display: none; }
.ctabs button { flex: 1 0 auto; min-width: 58px; padding: 6px 6px; }
.slider { margin: 12px 0 4px; }
.sl-top { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.slider input[type=range] { width: 100%; accent-color: var(--verde); height: 28px; margin: 2px 0 0; }
.sl-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); font-weight: 700; margin-top: -4px; }
.o { display: inline-flex; align-items: center; gap: 4px; }
.o .tag { font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 99px; background: #fff6c2; color: #806a00; margin-left: 2px; }
.o .tag.own { background: #e3f6ec; color: var(--verde-esc); }
.o .tag.buy { background: var(--verde); color: #fff; }
.o.locked { opacity: .55; }
.o .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px #cfd6df; }
.o.tat { padding-left: 6px; }
.tat-ico { width: 22px; height: 22px; background: #fbe0cf; border-radius: 6px; }
.colrow { margin-top: 8px; }
.colrow .sw { width: 28px; height: 28px; }
.hint { font-size: 12px; color: var(--ink-soft); margin: 6px 0 0; font-weight: 600; }
.hint.bad { color: var(--bad); text-align: center; }
.cart { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cart span { background: #fff6c2; color: #806a00; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 99px; }
.btn.disabled, .btn:disabled { opacity: .5; }
.big-av { width: 200px; height: 360px; border-radius: 22px; aspect-ratio: auto; align-items: center; }
.big-av svg { width: auto; height: 100%; }
.scene .me { width: 150px; bottom: -2px; }
.ctabs { overflow: visible; }
.ctabs button { flex: 1 1 0; min-width: 0; font-size: 10px; padding: 6px 1px; letter-spacing: -.01em; }
.ctabs button span { font-size: 19px; }

/* ================= Luxury "Create a Sim" ================= */
body.lux { background: #0b0908; }
#app.wide { max-width: 1240px; background: #0d0a08; box-shadow: none; }
.cas {
  --gold: #c9a96e; --gold-2: #e6cc97; --gold-d: #8a6f3f; --ink-l: #ece3d3; --ink-m: #a99c86; --panel: rgba(18,14,11,.88); --line: rgba(201,169,110,.28);
  min-height: 100vh; color: var(--ink-l); font-family: "Montserrat", system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #2a1f17 0%, #0d0a08 60%);
  display: flex; flex-direction: column;
}
.cas-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cas-top h1 { flex: 1; font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-l); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cas-logo { color: var(--gold); font-size: 20px; }
.cas-back { color: var(--gold); font-size: 30px; line-height: 1; padding: 0 6px; }
.cas-money { font-weight: 600; color: var(--gold-2); font-size: 14px; border: 1px solid var(--line); padding: 4px 10px; border-radius: 4px; }
.cas .lang { background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 2px; }
.cas .lang button { color: var(--ink-m); font-weight: 500; font-size: 11px; letter-spacing: .1em; border-radius: 3px; }
.cas .lang button.on { background: var(--gold); color: #1a130d; }
.cas-steps { display: flex; justify-content: center; gap: 4px; padding: 10px 12px 0; }
.cas-steps button { color: var(--ink-m); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border-bottom: 2px solid transparent; display: flex; gap: 8px; align-items: center; font-weight: 500; }
.cas-steps button i { font-style: normal; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.cas-steps button.on { color: var(--gold-2); border-bottom-color: var(--gold); }
.cas-steps button.done i, .cas-steps button.on i { background: var(--gold); color: #1a130d; border-color: var(--gold); }

.cas-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 0; }
.cas-rail { display: flex; overflow-x: auto; gap: 4px; padding: 10px 12px; scrollbar-width: none; order: 2; }
.cas-rail::-webkit-scrollbar { display: none; }
.cas-rail button { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; color: var(--ink-m); font-size: 12px; letter-spacing: .08em; padding: 9px 12px; border: 1px solid transparent; border-radius: 4px; font-weight: 500; }
.cas-rail button span { font-size: 16px; filter: grayscale(1) brightness(1.6); opacity: .8; }
.cas-rail button.on { color: var(--ink-l); background: linear-gradient(90deg, rgba(201,169,110,.22), rgba(201,169,110,.06)); border-color: var(--gold); }
.cas-rail button.on span { filter: none; opacity: 1; }

.cas-stage { position: relative; height: 470px; overflow: hidden; order: 1; }
.cas-stage .room { position: absolute; inset: 0; width: 100%; height: 100%; }
.cas-stage .pv { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); height: 95%; transition: transform .45s ease; }
.cas-stage .pv.flip { transform: translateX(-50%) scaleX(-1); }
.cas-stage .pv svg { height: 100%; width: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.55)); }
.cas-height { position: absolute; top: 14px; left: 14px; font-size: 12px; letter-spacing: .15em; color: var(--gold-2); background: rgba(0,0,0,.45); padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; }
.cas-rot { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 150px; }
.cas-rot button { color: var(--ink-l); font-size: 22px; opacity: .75; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.35); }
.cas-dice { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.45); border: 1px solid var(--line); font-size: 18px; }

.cas-panel { order: 3; background: var(--panel); border-top: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.cas-ph { padding: 16px 18px 6px; display: flex; justify-content: space-between; align-items: center; }
.cas-ph h3 { font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-l); margin: 0; }
.cas-body { padding: 6px 18px 12px; overflow-y: auto; }
.cas-foot { padding: 12px 18px 18px; border-top: 1px solid var(--line); }
.cas .hint { color: var(--ink-m); font-size: 12px; font-weight: 400; margin: 4px 0 10px; }
.cas .hint.bad { color: #ff8a80; text-align: center; margin-top: 8px; }
.cas .sec { margin: 14px 0 6px; }
.cas .sec h4 { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }

.cas .subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.cas .subtabs button { color: var(--ink-m); font-size: 12px; padding: 8px 10px; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.cas .subtabs button.on { color: var(--gold-2); border-bottom-color: var(--gold); }

.cas .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cas .tiles.presets { grid-template-columns: repeat(3, 1fr); }
.cas .tile { position: relative; background: linear-gradient(180deg, #2a2019, #15100c); border: 1px solid rgba(255,255,255,.06); border-radius: 4px; padding: 0 0 6px; text-align: center; overflow: hidden; color: var(--ink-l); transition: border-color .15s, transform .15s; }
.cas .tile:hover { border-color: var(--line); transform: translateY(-1px); }
.cas .tile.on { border: 1.5px solid var(--gold); box-shadow: 0 0 0 1px rgba(201,169,110,.35), 0 6px 18px rgba(0,0,0,.4); }
.cas .tile .ti { display: block; aspect-ratio: 1 / 1.1; background: radial-gradient(circle at 50% 35%, #3b2d22, #16110d); }
.cas .tile .ti svg { width: 100%; height: 100%; display: block; }
.cas .tile .tn { display: block; font-size: 11px; padding: 6px 4px 0; line-height: 1.25; color: var(--ink-l); }
.cas .tile .tag { position: absolute; top: 5px; right: 5px; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 3px; background: rgba(0,0,0,.65); color: var(--gold-2); border: 1px solid var(--line); margin: 0; }
.cas .tile .tag.own { color: #8fe3b0; }
.cas .tile .tag.buy { background: var(--gold); color: #1a130d; border-color: var(--gold); }
.cas .tile.locked .ti { filter: grayscale(.6) brightness(.6); }

.cas .slider { margin: 10px 0 14px; }
.cas .sl-top { display: flex; justify-content: space-between; color: var(--ink-l); font-size: 12px; letter-spacing: .05em; text-transform: none; font-weight: 400; }
.cas .sl-top b { color: var(--gold-2); font-weight: 500; font-size: 12px; }
.cas .slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 4px 0 0; }
.cas .slider input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold), rgba(201,169,110,.25)); }
.cas .slider input[type=range]::-moz-range-track { height: 2px; background: rgba(201,169,110,.35); }
.cas .slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-2); border: 2px solid #1a130d; box-shadow: 0 0 0 1px var(--gold); margin-top: -6px; }
.cas .slider input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-2); border: 2px solid #1a130d; }

.cas .swatches { gap: 8px; }
.cas .sw { width: 30px; height: 30px; border: 2px solid #1a130d; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.cas .sw.on { box-shadow: 0 0 0 2px var(--gold); }
.cas .colrow { margin: 0 0 12px; }
.cas .seg { gap: 6px; }
.cas .seg button { background: transparent; border: 1px solid var(--line); color: var(--ink-m); border-radius: 4px; font-weight: 500; letter-spacing: .08em; }
.cas .seg button.on { background: rgba(201,169,110,.16); border-color: var(--gold); color: var(--ink-l); }
.cas .o { background: #1f1813; color: var(--ink-l); border: 1px solid rgba(255,255,255,.08); font-weight: 500; font-size: 12px; border-radius: 4px; }
.cas .o.on { border-color: var(--gold); background: rgba(201,169,110,.16); color: var(--ink-l); }
.cas .o .tag { background: rgba(0,0,0,.5); color: var(--gold-2); }
.cas .o .tag.buy { background: var(--gold); color: #1a130d; }
.cas .tat-ico { background: #e9c9a9; }
.cas .traits { grid-template-columns: 1fr 1fr; }
.cas .trait { background: #1f1813; border: 1px solid rgba(255,255,255,.07); color: var(--ink-l); border-radius: 4px; }
.cas .trait small { color: var(--ink-m); }
.cas .trait.on { border-color: var(--gold); background: rgba(201,169,110,.14); }
.cas .origin { background: #1f1813; border: 1px solid rgba(255,255,255,.07); color: var(--ink-l); border-radius: 4px; }
.cas .origin span { color: var(--ink-m); }
.cas .origin.on { border-color: var(--gold); background: rgba(201,169,110,.14); }
.cas .input { background: #1f1813; border: 1px solid var(--line); color: var(--ink-l); border-radius: 4px; }
.cas .input:focus { border-color: var(--gold); background: #241b15; }
.cas .link { color: var(--gold-2); }
.cas .trait-pills span { background: rgba(201,169,110,.14); color: var(--gold-2); border: 1px solid var(--line); }
.cas .cart span { background: rgba(201,169,110,.12); color: var(--gold-2); border: 1px solid var(--line); border-radius: 3px; font-weight: 500; }
.cas .gold, .cas .ghost { display: block; width: 100%; padding: 14px; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; border-radius: 3px; }
.cas .gold { background: linear-gradient(180deg, #e6cc97, #b8935a); color: #1a130d; box-shadow: 0 6px 18px rgba(201,169,110,.25); }
.cas .gold:disabled { opacity: .4; }
.cas .ghost { background: transparent; color: var(--ink-m); border: 1px solid var(--line); }
.cas .nav2 { grid-template-columns: 1fr 1.6fr; }

@media (min-width: 900px) {
  .cas-grid { grid-template-columns: 190px 1fr 400px; height: calc(100vh - 110px); min-height: 620px; }
  .cas-grid.no-rail { grid-template-columns: 1fr 440px; }
  .cas-rail { order: 0; flex-direction: column; padding: 18px 12px; border-right: 1px solid var(--line); overflow: visible; }
  .cas-rail button { font-size: 14px; padding: 12px 14px; letter-spacing: .04em; }
  .cas-stage { order: 0; height: auto; }
  .cas-panel { order: 0; border-top: 0; border-left: 1px solid var(--line); margin: 16px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
  .cas-body { flex: 1; }
  .cas .tiles { grid-template-columns: repeat(4, 1fr); }
  .cas-rot { gap: 220px; }
}
.cas-stage .pv { bottom: 7.5%; height: 88%; }

/* ================= Luxury in-game theme ================= */
body.lux { color-scheme: dark; }
.game {
  --gold: #c9a96e; --gold-2: #e6cc97; --ink-l: #ece3d3; --ink-m: #a99c86; --line: rgba(201,169,110,.25); --card-d: #17120e; --card-d2: #1f1813;
  display: block; min-height: 100vh; color: var(--ink-l); font-family: "Montserrat", "Nunito", sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #241a13 0%, #0d0a08 55%);
}
.g-side { display: none; }
.g-main { min-width: 0; }
.game .hud { background: linear-gradient(180deg, #1a140f, #120e0b); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.4); color: var(--ink-l); }
.game .hud .who b { font-family: "Montserrat", sans-serif; font-weight: 600; }
.game .hud .lv { font-size: 11px; color: #1a130d; background: var(--gold); border-radius: 3px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.game .hud .money b { color: var(--gold-2); font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 20px; }
.game .avatar { background: radial-gradient(circle, #3b2d22, #16110d); border-color: var(--gold); }
.game .need .bar { background: rgba(255,255,255,.08); }
.game .need .bar i { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.game .need.low .bar i { background: #e8a33c; }
.game .need.crit .bar i { background: #ff5a5a; }
.game main { padding-bottom: 90px; }
.game .section { padding: 14px 14px 4px; }
.game .section h3, .game .card h3, .loc-cards h3 { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.game .empty, .game .hint { color: var(--ink-m); }
.game .scene.big { min-height: 300px; }
.game .scene { border-bottom: 1px solid var(--line); }
.game .scene h2 { font-family: "Montserrat", sans-serif; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; font-size: 30px; }
.game .scene .me { width: 190px; }
.game .home-tag { background: rgba(0,0,0,.45); border: 1px solid var(--line); color: var(--gold-2); }

.game .act { background: var(--card-d2); border: 1px solid rgba(255,255,255,.06); color: var(--ink-l); border-radius: 6px; box-shadow: none; }
.game .act:hover:not(:disabled) { border-color: var(--line); box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.game .act .e { background: linear-gradient(160deg, #2c221a, #1a140f); box-shadow: inset 0 0 0 1px rgba(201,169,110,.18); border-radius: 8px; }
.game .act.job { border-left: 3px solid var(--gold); }
.game .act.job .e { background: linear-gradient(160deg, #3a2e1e, #231b12); }
.game .act small { color: var(--ink-m); }
.game .act .why { color: #ff8a80; }
.game .chip { background: rgba(255,255,255,.06); color: var(--ink-m); }
.game .chip.up { background: rgba(46,196,126,.12); color: #7fe0ab; }
.game .chip.down { background: rgba(255,90,90,.12); color: #ff9a9a; }
.game .chip.pay { background: rgba(201,169,110,.15); color: var(--gold-2); }
.game .venues { display: grid; gap: 14px; }
.game .venue { background: rgba(20,15,11,.6); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.game .venue h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.game .venue h3 > span { font-size: 18px; letter-spacing: 0; }
.screen-ad { margin-left: auto; font-size: 11px; letter-spacing: .02em; text-transform: none; color: var(--gold-2); border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; background: #0f0b08; font-weight: 600; }
.screen-ad small { color: var(--ink-m); font-weight: 400; }
.game .person { background: var(--card-d2); border: 1px solid rgba(255,255,255,.06); color: var(--ink-l); box-shadow: none; }
.game .person small { color: var(--ink-m); }

.adcard, .biz-card { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(201,169,110,.16), rgba(201,169,110,.04)); border: 1px solid var(--line); color: var(--ink-l); }
.adcard .e, .biz-card .e { font-size: 28px; }
.adcard b, .biz-card b { display: block; font-weight: 600; }
.adcard small, .biz-card small { color: var(--ink-m); font-size: 12px; }
.biz-card .t { flex: 1; }
.gbtn { padding: 8px 12px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink-l); background: #1f1813; font-size: 12px; font-weight: 600; white-space: nowrap; }
.gbtn:hover:not(:disabled) { border-color: var(--gold); }
.gbtn.gold-b { background: linear-gradient(180deg, #e6cc97, #b8935a); color: #1a130d; border-color: transparent; }
.gbtn:disabled { opacity: .4; }
.row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.home-card { display: flex; gap: 12px; align-items: center; background: var(--card-d); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.home-card .hc-img { width: 150px; height: 82px; border-radius: 6px; overflow: hidden; position: relative; flex-shrink: 0; }
.home-card small { display: block; color: var(--gold-2); }

/* map + location cards */
.map-layout { display: grid; gap: 12px; padding: 12px; }
.game .map-wrap { padding: 0; position: relative; }
.game .map-wrap svg { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); border: 1px solid var(--line); }
.map-title { position: absolute; left: 14px; top: 10px; z-index: 1; pointer-events: none; }
.map-title h2 { font-family: "Montserrat", sans-serif; font-weight: 300; letter-spacing: .14em; font-size: 22px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.map-title p { margin: 2px 0 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.game .map-hint { color: var(--ink-m); }
.loc-cards .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.loc { position: relative; text-align: left; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #120e0b; color: #fff; }
.loc .li { display: block; height: 96px; position: relative; }
.loc .li svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc .ln { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); }
.loc .ln b { display: block; font-size: 13px; font-weight: 600; }
.loc .ln small { display: block; font-size: 10px; color: #e9dcc4; }
.loc.here { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

/* phone */
.game .phone { padding: 12px; }
.phone-ad { width: 100%; border-radius: 6px; padding: 8px 10px; font-size: 12px; font-weight: 700; margin-bottom: 12px; text-align: left; }
.game .apps { grid-template-columns: repeat(4, 1fr); }
.game .app-ico { color: var(--ink-l); font-weight: 500; font-size: 11px; }
.game .app-ico i { position: relative; width: 54px; height: 54px; border-radius: 14px; font-size: 26px; }
.game .app-ico.on { color: var(--gold-2); }
.app-ico em, .g-side em, nav.tabs em { position: absolute; top: -4px; right: -4px; background: #ff3b5c; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; border-radius: 99px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.game .card { background: var(--card-d); border: 1px solid var(--line); color: var(--ink-l); border-radius: 8px; box-shadow: none; }
.game .card + .card { margin-top: 10px; }
.game .kv { border-bottom-color: rgba(255,255,255,.07); gap: 10px; }
.game .kv span { color: var(--ink-m); }
.game .kv b.pos { color: #7fe0ab; } .game .kv b.neg { color: #ff8a80; }
.game .skill .bar { background: rgba(255,255,255,.08); }
.game .skill .bar i { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.game .btn { background: linear-gradient(180deg, #e6cc97, #b8935a); color: #1a130d; box-shadow: none; border-radius: 4px; font-family: "Montserrat", sans-serif; letter-spacing: .08em; }
.game .btn.ghost, .sheet .btn.ghost { background: transparent; color: var(--ink-m); border: 1px solid var(--line); }
.game .feed-item { border-bottom-color: rgba(255,255,255,.06); }
.game .feed-item small { color: var(--ink-m); }
.game .goal { background: var(--card-d); border: 1px solid var(--line); color: var(--ink-l); }
.game .goal.done { background: rgba(46,196,126,.08); }
.game .carnaval { border-radius: 8px; }
.game .pack { background: var(--card-d2); color: var(--ink-l); }
.game .seg button { background: transparent; border: 1px solid var(--line); color: var(--ink-m); }
.game .seg button.on { border-color: var(--gold); color: var(--ink-l); background: rgba(201,169,110,.14); }
.game .card.profile .lvl { color: var(--gold-2); font-size: 13px; margin: 0 0 10px; }
.game .big-av { background: radial-gradient(circle at 50% 70%, #3b2d22, #120e0b); }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.msg > div { flex: 1; }
.msg b { font-weight: 600; } .msg small { color: var(--ink-m); margin-left: 6px; font-size: 11px; }
.msg p { margin: 4px 0 0; font-size: 13px; color: var(--ink-l); }
.msg.new b::after { content: " •"; color: #ff3b5c; }
.feed-posts { display: grid; gap: 12px; margin-top: 12px; }
.post { background: var(--card-d); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.post .ph { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.post .ph small { margin-left: auto; color: var(--ink-m); font-size: 11px; }
.post .pimg { position: relative; height: 220px; overflow: hidden; }
.post .pimg > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post .pav { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 180px; }
.post .pav svg { width: 100%; height: auto; display: block; }
.post .pc { padding: 8px 10px; font-size: 13px; }
.xodo .seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.xodo .seg3 button { border: 1px solid var(--line); border-radius: 4px; padding: 8px; color: var(--ink-m); font-size: 12px; }
.xodo .seg3 button.on { border-color: #ff4d6d; color: #fff; background: rgba(255,77,109,.15); }
.swipe { text-align: center; background: linear-gradient(180deg, #2a1b22, #120e0b); border: 1px solid rgba(255,77,109,.35); border-radius: 10px; padding: 0 0 14px; overflow: hidden; }
.sw-img { height: 260px; background: radial-gradient(circle at 50% 40%, #4a2a36, #160e12); display: flex; justify-content: center; align-items: flex-end; }
.sw-img svg { height: 100%; width: auto; }
.swipe b { display: block; font-size: 20px; margin-top: 8px; }
.swipe small { color: var(--ink-m); }
.swipe p { color: var(--ink-l); font-size: 13px; padding: 0 14px; }
.sw-btns { display: flex; justify-content: center; gap: 28px; }
.sw-btns button { width: 60px; height: 60px; border-radius: 50%; font-size: 26px; border: 1px solid var(--line); background: #1f1813; color: #ff8a80; }
.sw-btns button:last-child { color: #fff; background: linear-gradient(160deg, #ff4d6d, #c9184a); border: 0; }
.home-big .hb-img { position: relative; height: 200px; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.furn { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.furn small { display: block; color: var(--ink-m); }
.prop-grid, .veh-grid { display: grid; gap: 10px; margin-top: 10px; }
.prop { display: flex; gap: 10px; background: var(--card-d); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.prop.mine { border-color: var(--gold); }
.prop .pi { width: 120px; flex-shrink: 0; position: relative; }
.prop .pi svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.prop .pt { padding: 10px 10px 10px 0; }
.prop .pt b { display: block; } .prop .pt small { display: block; color: var(--ink-m); font-size: 12px; }
.tag-own { font-size: 12px; color: var(--gold-2); font-weight: 600; }
.veh-grid { grid-template-columns: repeat(2, 1fr); }
.veh { background: var(--card-d); border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; display: grid; gap: 4px; justify-items: center; }
.veh.mine { border-color: var(--gold); }
.veh .ve { font-size: 42px; }
.veh small { color: var(--gold-2); }
.biz-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.btype { background: var(--card-d2); border: 1px solid rgba(255,255,255,.07); border-radius: 6px; padding: 10px; color: var(--ink-l); display: grid; gap: 2px; text-align: left; }
.btype span { font-size: 26px; }
.btype small { color: var(--ink-m); font-size: 11px; }
.btype:disabled { opacity: .45; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.menu-grid button { background: var(--card-d); border: 1px solid var(--line); border-radius: 8px; padding: 16px 6px; color: var(--ink-l); font-size: 12px; display: grid; gap: 6px; justify-items: center; }
.menu-grid button span { font-size: 26px; }

/* bottom nav + modal + toast dark */
.game nav.tabs { background: #120e0b; border-top: 1px solid var(--line); }
.game nav.tabs button { color: var(--ink-m); position: relative; }
.game nav.tabs button.on { color: var(--gold-2); }
body.lux .sheet { background: #17120e; color: #ece3d3; border-top: 1px solid rgba(201,169,110,.3); }
body.lux .sheet .head small, body.lux .sheet p.body { color: #a99c86; }
body.lux .opt { background: #1f1813; color: #ece3d3; border: 1px solid rgba(255,255,255,.06); }
body.lux .opt small { color: #a99c86; }
body.lux .opt.adopt { align-items: center; }
body.lux .opt.focus { border-color: #c9a96e; }
body.lux .sheet .btn { background: linear-gradient(180deg, #e6cc97, #b8935a); color: #1a130d; box-shadow: none; }
body.lux .sheet .btn.ghost { background: transparent; color: #a99c86; border: 1px solid rgba(201,169,110,.3); }
body.lux .sheet .input { background: #1f1813; border-color: rgba(201,169,110,.3); color: #ece3d3; }
body.lux .sheet .o { background: #1f1813; color: #ece3d3; border-color: rgba(255,255,255,.08); }
body.lux .sheet .o.on { border-color: #c9a96e; background: rgba(201,169,110,.16); }
body.lux .sheet .field-label { color: #c9a96e; }
body.lux .sheet .demo-note { color: #a99c86; }
body.lux .toast { background: #1f1813; color: #ece3d3; border-left-color: #c9a96e; }
body.lux .busy .box { background: #17120e; color: #ece3d3; border: 1px solid rgba(201,169,110,.3); }
body.lux .busy .prog { background: rgba(255,255,255,.08); }
body.lux .busy .prog i { background: #c9a96e; }

@media (min-width: 900px) {
  .game { display: grid; grid-template-columns: 230px 1fr; }
  .g-side { display: block; position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); background: rgba(12,9,7,.7); padding: 16px 12px; }
  .g-me { display: flex; gap: 10px; align-items: center; padding: 4px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
  .g-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); background: #2a1f17; flex-shrink: 0; padding: 0; }
  .g-av svg { width: 100%; height: 100%; display: block; }
  .g-me b { display: block; font-weight: 600; }
  .g-me small { color: var(--gold-2); font-size: 12px; }
  .g-me .xp { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; margin-top: 5px; width: 120px; overflow: hidden; }
  .g-me .xp i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
  .g-side nav { display: grid; gap: 2px; }
  .g-side nav button { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 4px; color: var(--ink-m); font-size: 14px; border: 1px solid transparent; text-align: left; }
  .g-side nav button span { width: 22px; text-align: center; }
  .g-side nav button.on { color: var(--ink-l); border-color: var(--gold); background: linear-gradient(90deg, rgba(201,169,110,.2), rgba(201,169,110,.04)); }
  .g-side em { position: static; margin-left: auto; }
  .game nav.tabs { display: none; }
  .game main { padding-bottom: 30px; }
  .game .hud .avatar { display: none; }
  .game .scene.big { min-height: 360px; }
  .game .scene p { max-width: 50%; }
  .game .venues { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .map-layout { grid-template-columns: 1fr 380px; align-items: start; padding: 16px; }
  .loc-cards .cards { grid-template-columns: repeat(3, 1fr); }
  .loc .li { height: 104px; }
  .game .phone, .game .g-celular { max-width: 760px; }
  .game .apps { grid-template-columns: repeat(7, 1fr); }
  .prop-grid { grid-template-columns: 1fr 1fr; }
  .veh-grid { grid-template-columns: repeat(5, 1fr); }
  .biz-types { grid-template-columns: repeat(3, 1fr); }
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
  .feed-posts { grid-template-columns: 1fr 1fr; }
}
.map-head { padding: 2px 2px 10px; }
.map-head h2 { font-family: "Montserrat", sans-serif; font-weight: 300; letter-spacing: .16em; font-size: 26px; color: var(--ink-l); margin: 0; }
.map-head p { margin: 2px 0 0; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }

/* ================= Walkable 3D world ================= */
.w3-wrap { position: relative; height: calc(100vh - 110px); min-height: 420px; overflow: hidden; border-bottom: 1px solid rgba(201,169,110,.25); }
.w3-slot, .w3-host { position: absolute; inset: 0; }
.w3-canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.w3-canvas:active { cursor: grabbing; }
.w3-top { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.w3-top > * { pointer-events: auto; }
.w3-title { background: rgba(12,9,7,.7); border: 1px solid rgba(201,169,110,.3); border-radius: 6px; padding: 6px 12px; backdrop-filter: blur(6px); }
.w3-title small { display: block; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: #c9a96e; }
.w3-title b { font-weight: 300; letter-spacing: .12em; text-transform: uppercase; font-size: 18px; color: #ece3d3; }
.w3-btns { display: flex; gap: 6px; }
.w3-btns .gbtn { background: rgba(12,9,7,.75); backdrop-filter: blur(6px); }
.w3-prompt { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); background: linear-gradient(180deg, #e6cc97, #b8935a); color: #1a130d; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.45); white-space: nowrap; animation: up .2s ease-out; }
.w3-prompt kbd { margin-left: 8px; font: 700 11px Montserrat, sans-serif; background: rgba(0,0,0,.2); border-radius: 3px; padding: 2px 6px; }
.w3-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .06em; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; white-space: nowrap; }
.w3-joy { position: absolute; left: 18px; bottom: 18px; width: 110px; height: 110px; border-radius: 50%; background: rgba(12,9,7,.35); border: 1px solid rgba(201,169,110,.45); display: none; place-items: center; touch-action: none; }
.w3-joy i { width: 46px; height: 46px; border-radius: 50%; background: rgba(230,204,151,.85); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
@media (pointer: coarse) { .w3-joy { display: grid; } .w3-prompt { bottom: 34px; left: auto; right: 14px; transform: none; } }
.w3-panel { position: absolute; right: 12px; top: 64px; bottom: 12px; width: 380px; max-width: calc(100% - 24px); overflow-y: auto; background: rgba(18,14,11,.92); border: 1px solid rgba(201,169,110,.35); border-radius: 8px; padding: 12px; backdrop-filter: blur(8px); animation: up .2s ease-out; z-index: 2; }
.w3-ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.w3-ph h3 { display: flex; gap: 8px; align-items: center; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #c9a96e; margin: 0; }
.w3-ph h3 span { font-size: 20px; letter-spacing: 0; }
.w3-x { color: #ece3d3; font-size: 18px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201,169,110,.3); }
.w3-panel .screen-ad { margin: 0 0 10px; display: block; }
.w3-panel .section { padding: 0 0 10px; }
.game main.g-aqui { padding-bottom: 0; }
@media (max-width: 899px) {
  .w3-wrap { height: calc(100vh - 196px); }
  .w3-panel { top: auto; left: 8px; right: 8px; width: auto; max-height: 58%; bottom: 8px; }
  .w3-hint { top: auto; bottom: 140px; }
}
/* venue pins on the map and venue chips on location cards */
.vpin { cursor: pointer; }
.vpin:hover circle { stroke: #fff3c4; stroke-width: 2.5; }
.loc { display: flex; flex-direction: column; }
.loc > .li { display: block; position: relative; height: 96px; width: 100%; padding: 0; text-align: left; color: #fff; }
.loc > .li > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc .lv { display: flex; flex-wrap: wrap; gap: 3px; padding: 5px; background: #120e0b; }
.loc .lv button { font-size: 13px; width: 26px; height: 26px; border-radius: 4px; background: #1f1813; border: 1px solid rgba(201,169,110,.2); position: relative; }
.loc .lv button span { display: none; }
.loc .lv button:hover { border-color: #c9a96e; }
.loc .lv button:hover span { display: block; position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); background: #17120e; color: #ece3d3; font-size: 11px; white-space: nowrap; padding: 3px 7px; border-radius: 3px; border: 1px solid rgba(201,169,110,.4); z-index: 3; }
.venue-pick .o { font-size: 12px; }
/* emote / dance bar */
.w3-emotes { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; background: rgba(12,9,7,.72); border: 1px solid rgba(201,169,110,.35); border-radius: 10px; backdrop-filter: blur(6px); z-index: 1; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.w3-emotes::-webkit-scrollbar { display: none; }
.w3-emotes button { display: grid; justify-items: center; gap: 1px; min-width: 52px; padding: 5px 4px; border-radius: 7px; color: #ece3d3; border: 1px solid transparent; }
.w3-emotes button span { font-size: 22px; line-height: 1; }
.w3-emotes button small { font-size: 9.5px; color: #a99c86; letter-spacing: .02em; white-space: nowrap; }
.w3-emotes button:hover { border-color: rgba(201,169,110,.4); }
.w3-emotes button.on { background: linear-gradient(180deg, #e6cc97, #b8935a); }
.w3-emotes button.on small { color: #1a130d; }
.w3-prompt { bottom: 92px; }
@media (pointer: coarse) {
  .w3-emotes { left: auto; right: 8px; bottom: 140px; transform: none; flex-direction: column; max-height: 55%; overflow-y: auto; }
  .w3-emotes button { min-width: 46px; }
  .w3-emotes button small { display: none; }
  .w3-prompt { bottom: 34px; }
}
.w3-btns .gbtn.comp { border-color: rgba(255,154,213,.6); color: #ffc2e6; }
/* football match HUD */
.w3-match { position: absolute; inset: 0; pointer-events: none; }
.w3-match .ms { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: rgba(6,9,15,.85); border: 1px solid #ffd400; border-radius: 6px; padding: 6px 14px; color: #fff; font-family: Montserrat, sans-serif; overflow: hidden; }
.w3-match .ms b { font-size: 13px; letter-spacing: .1em; }
.w3-match .ms span { font-size: 24px; font-weight: 700; color: #ffd400; }
.w3-match .ms i { font-style: normal; font-size: 12px; color: #2ec4ff; margin-left: 4px; }
.w3-match .ms em { position: absolute; left: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #ffd400, #e63946); }
.w3-match .mbtns { position: absolute; right: 14px; bottom: 16px; display: flex; gap: 8px; pointer-events: auto; }
.w3-match .mbtns button { padding: 14px 18px; border-radius: 50px; font-weight: 700; font-size: 15px; color: #1a130d; background: linear-gradient(180deg, #e6cc97, #b8935a); box-shadow: 0 6px 18px rgba(0,0,0,.4); touch-action: none; }
.w3-match .mbtns button:last-child { background: linear-gradient(180deg, #ffe066, #ffd400); padding: 18px 24px; }
.w3-match .mbtns kbd { font: 700 10px Montserrat; background: rgba(0,0,0,.15); border-radius: 3px; padding: 1px 4px; margin-left: 4px; }
.w3-match .mhint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 11px; text-shadow: 0 1px 4px #000; white-space: nowrap; }
.w3-match .mquit { position: absolute; left: 12px; top: 60px; pointer-events: auto; background: rgba(12,9,7,.75); color: #ece3d3; border: 1px solid rgba(201,169,110,.4); border-radius: 4px; padding: 6px 10px; font-size: 12px; }
@media (pointer: coarse) { .w3-match .mhint { display: none; } }

/* ---------- Xodó (Tinder-style) ---------- */
#xodo { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: flex; justify-content: center; font-family: "Nunito", system-ui, sans-serif; }
#xodo[hidden] { display: none; }
body.xo-open { overflow: hidden; }
.xo { position: relative; width: 100%; max-width: 440px; height: 100%; background: #111; color: #f4f4f4; display: flex; flex-direction: column; overflow: hidden; }
.xo button { font: inherit; cursor: pointer; }
.xo-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #222; }
.xo-x { background: none; border: 0; color: #aaa; font-size: 18px; width: 34px; height: 34px; border-radius: 50%; }
.xo-x:hover { background: #222; color: #fff; }
.xo-logo { font: 800 26px "Baloo 2", sans-serif; letter-spacing: -.5px; background: linear-gradient(90deg,#fd267a,#ff6036); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: center; gap: 2px; }
.xo-logo span { -webkit-text-fill-color: initial; font-size: 20px; }
.xo-tabs { margin-left: auto; display: flex; gap: 4px; }
.xo-tabs button { position: relative; background: none; border: 0; font-size: 20px; width: 44px; height: 40px; border-radius: 12px; filter: grayscale(1) opacity(.55); }
.xo-tabs button.on { filter: none; background: #1d1d1d; }
.xo-tabs em { position: absolute; top: 2px; right: 2px; background: #fd267a; color: #fff; font: 700 10px sans-serif; font-style: normal; border-radius: 9px; padding: 1px 5px; }
.xo-main { flex: 1; overflow-y: auto; position: relative; display: flex; flex-direction: column; }
.xo-main.swipe { overflow: hidden; }
.xo-note { margin: 10px 12px 0; padding: 9px 12px; border-radius: 12px; background: #1d1d1d; color: #bbb; font-size: 12.5px; line-height: 1.4; }
.xo-note.pink { background: linear-gradient(90deg,rgba(253,38,122,.18),rgba(255,96,54,.18)); color: #ffd6e4; }
.xo-note button { margin-left: 6px; border: 0; border-radius: 99px; padding: 4px 10px; background: #fd267a; color: #fff; font-weight: 700; font-size: 12px; }
.xo-deck { position: relative; flex: 1; margin: 12px 12px 0; min-height: 300px; }
.xo-card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #222; box-shadow: 0 8px 28px rgba(0,0,0,.55); touch-action: none; user-select: none; }
.xo-card.under { transform: scale(.95) translateY(10px); filter: brightness(.7); }
.xo-photo { position: absolute; inset: 0; }
.xo-photo > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.xo-av { position: absolute; left: 50%; bottom: 0; width: 92%; transform: translateX(-50%); }
.xo-av svg { width: 100%; height: auto; display: block; }
.xo-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.92)); pointer-events: none; }
.xo-bars { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 4px; z-index: 3; }
.xo-bars i { flex: 1; height: 4px; border-radius: 3px; background: rgba(255,255,255,.35); }
.xo-bars i.on { background: #fff; }
.xo-tap { position: absolute; top: 0; bottom: 40%; width: 40%; background: none; border: 0; z-index: 2; }
.xo-tap.l { left: 0; } .xo-tap.r { right: 0; }
.xo-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 18px; z-index: 3; }
.xo-name { display: flex; align-items: baseline; gap: 8px; }
.xo-name b { font: 800 30px "Montserrat", sans-serif; letter-spacing: -.5px; }
.xo-name span { font-size: 24px; font-weight: 400; }
.xo-verified { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1786ff; color: #fff; font: 700 12px sans-serif; font-style: normal; align-self: center; }
.xo-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; font-size: 14px; color: #e6e6e6; }
.xo-meta .on { color: #3be38a; font-weight: 700; }
.xo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.xo-chips span, .xo-chips button { padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 12.5px; backdrop-filter: blur(4px); }
.xo-chips.dark span { background: #222; border-color: #333; }
.xo-chips.pick button { background: #1d1d1d; border-color: #333; color: #ccc; }
.xo-chips.pick button.on { background: rgba(253,38,122,.2); border-color: #fd267a; color: #fff; }
.xo-more { position: absolute; right: 14px; bottom: 20px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 18px; }
.xo-stamp { position: absolute; top: 46px; z-index: 4; font: 900 38px "Montserrat", sans-serif; padding: 2px 12px; border: 5px solid; border-radius: 10px; opacity: 0; transition: opacity .1s; }
.xo-stamp.like { left: 22px; color: #3be38a; transform: rotate(-18deg); }
.xo-stamp.nope { right: 22px; color: #ff4458; transform: rotate(18deg); }
.xo-stamp.super { left: 50%; top: auto; bottom: 34%; transform: translateX(-50%) rotate(-8deg); color: #2ab7ff; }
.xo-card.lk .xo-stamp.like, .xo-card.np .xo-stamp.nope, .xo-card.sp .xo-stamp.super { opacity: 1; }
.xo-actions { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px 0 18px; }
.xo-actions button { border-radius: 50%; border: 0; background: #1d1d1d; box-shadow: 0 3px 12px rgba(0,0,0,.5); display: grid; place-items: center; transition: transform .12s; }
.xo-actions button:hover:not(:disabled) { transform: scale(1.1); }
.xo-actions button:disabled { opacity: .35; cursor: default; }
.xo-actions .rw { width: 46px; height: 46px; color: #f5b748; font-size: 22px; }
.xo-actions .no { width: 62px; height: 62px; color: #ff4458; font-size: 28px; }
.xo-actions .su { width: 46px; height: 46px; color: #2ab7ff; font-size: 22px; }
.xo-actions .li { width: 62px; height: 62px; color: #3be38a; font-size: 28px; }
.xo-empty { margin: auto; text-align: center; padding: 30px; color: #aaa; }
.xo-empty b { display: block; color: #fff; font-size: 18px; margin: 14px 0 6px; }
.xo-radar { width: 90px; height: 90px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 38px; background: radial-gradient(#fd267a55, transparent 70%); animation: xo-pulse 1.8s infinite; }
@keyframes xo-pulse { 0%,100% { box-shadow: 0 0 0 0 #fd267a66; } 50% { box-shadow: 0 0 0 26px #fd267a00; } }
.xo-detail { position: absolute; inset: 0; z-index: 10; background: #111; overflow-y: auto; }
.xo-detail > .xo-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; color: #111; }
.xo-dphotos .xo-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.xo-dbody { padding: 16px 18px 40px; }
.xo-dbody h2 { font: 800 28px "Montserrat", sans-serif; margin: 0 0 8px; }
.xo-dbody h2 span { font-weight: 400; }
.xo-dbody h4 { color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin: 18px 0 6px; }
.xo-dbody p { margin: 0; line-height: 1.5; color: #ddd; }
.xo-prompt { margin-top: 14px; background: #1b1b1b; border-radius: 14px; padding: 14px; }
.xo-prompt small { display: block; color: #999; margin-bottom: 6px; }
.xo-prompt b { font-size: 18px; }
.xo-report { margin-top: 24px; width: 100%; padding: 12px; border-radius: 12px; border: 1px solid #442; background: none; color: #ff7a85; }
.xo-list { padding: 8px 14px 20px; }
.xo-list h4 { color: #fd267a; font-size: 13px; margin: 14px 0 10px; }
.xo-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.xo-circ { background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.xo-circ svg, .xo-mav svg { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,#fd267a,#ff6036); border: 2px solid #fd267a; }
.xo-msg { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; border-bottom: 1px solid #1d1d1d; color: #fff; padding: 10px 0; text-align: left; }
.xo-msg small { display: block; color: #999; font-size: 13px; margin-top: 2px; }
.xo-mav svg { width: 52px; height: 52px; }
.xo-chat { display: flex; flex-direction: column; height: 100%; }
.xo-chead { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #222; }
.xo-chead > button:first-child { background: none; border: 0; color: #fd267a; font-size: 30px; line-height: 1; }
.xo-chead .xo-mav svg { width: 38px; height: 38px; }
.xo-cmenu { margin-left: auto; background: none; border: 1px solid #333; border-radius: 99px; color: #aaa; padding: 4px 10px; font-size: 12px; }
.xo-cbody { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.xo-b { max-width: 76%; padding: 9px 13px; border-radius: 18px 18px 18px 4px; background: #262626; align-self: flex-start; line-height: 1.35; word-wrap: break-word; }
.xo-b.me { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg,#fd267a,#ff6036); }
.xo-hint { color: #888; text-align: center; font-size: 13px; }
.xo-safe { color: #888; font-size: 11.5px; line-height: 1.4; padding: 0 14px; }
.xo-cin { display: flex; gap: 8px; padding: 10px 12px 14px; border-top: 1px solid #222; }
.xo-cin input { flex: 1; background: #1d1d1d; border: 1px solid #333; border-radius: 99px; color: #fff; padding: 10px 14px; font: inherit; }
.xo-cin button { border: 0; background: none; color: #fd267a; font-weight: 800; }
.xo-prof { padding: 12px 14px 30px; }
.xo-pcard { position: relative; height: 380px; }
.xo-pcard .xo-card.under { transform: none; filter: none; }
.xo-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.xo-form label, .xo-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #aaa; }
.xo-form input, .xo-form textarea, .xo-form select { background: #1b1b1b; border: 1px solid #333; border-radius: 10px; color: #fff; padding: 10px 12px; font: inherit; font-size: 15px; }
.xo-form input:focus, .xo-form textarea:focus { outline: none; border-color: #fd267a; }
.xo-check { flex-direction: row !important; align-items: center; gap: 8px !important; color: #ddd !important; }
.xo-seg { display: flex; background: #1b1b1b; border-radius: 10px; padding: 3px; }
.xo-seg button { flex: 1; border: 0; background: none; color: #aaa; padding: 8px; border-radius: 8px; }
.xo-seg button.on { background: #fd267a; color: #fff; font-weight: 700; }
.xo-save { border: 0; border-radius: 99px; padding: 14px; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(90deg,#fd267a,#ff6036); }
.xo-hide { border: 1px solid #333; border-radius: 99px; padding: 12px; background: none; color: #bbb; }
.xo-match { position: absolute; inset: 0; z-index: 20; background: radial-gradient(circle at 50% 35%, rgba(253,38,122,.6), #0b0b0b 72%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; animation: xo-in .35s ease; }
.xo-match h2 { font: italic 900 48px "Montserrat", sans-serif; margin: 0; background: linear-gradient(90deg,#3be38a,#2ab7ff); -webkit-background-clip: text; background-clip: text; color: transparent; transform: rotate(-6deg); }
.xo-match .xo-pair { display: flex; }
.xo-match .xo-pair svg { width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; background: linear-gradient(135deg,#fd267a,#ff6036); }
.xo-match .xo-pair span + span { margin-left: -24px; }
.xo-match button { width: 100%; max-width: 300px; }
@keyframes xo-in { from { opacity: 0; transform: scale(1.1); } }

/* camera turn buttons + trip skip */
.w3-rot { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.w3-rot button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,169,110,.45); background: rgba(12,9,7,.7); color: #ece3d3; font-size: 22px; cursor: pointer; touch-action: none; user-select: none; backdrop-filter: blur(6px); }
.w3-rot button:active { background: rgba(201,169,110,.35); }
.w3-skip { position: absolute; right: 14px; bottom: 16px; z-index: 3; padding: 10px 16px; border-radius: 99px; border: 1px solid rgba(201,169,110,.5); background: rgba(12,9,7,.8); color: #ece3d3; font: 700 14px Montserrat, sans-serif; cursor: pointer; }
.w3-skip[hidden] { display: none; }

/* chats */
.chat-row { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding: 10px 2px; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.chat-row:hover { background: rgba(255,255,255,.03); }
.chat-row .cr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-row small { color: var(--ink-m); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row.new b { color: #e6cc97; }
.chat-row .dot { width: 10px; height: 10px; border-radius: 50%; background: #25d366; }
.card.chat { display: flex; flex-direction: column; height: min(70vh, 640px); padding: 0; overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-h small { color: var(--ink-m); font-size: 12px; }
.chat-back { background: none; border: 0; color: #c9a96e; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: rgba(0,0,0,.18); }
.bub { max-width: 78%; align-self: flex-start; background: #2a2420; color: #ece3d3; padding: 8px 12px 5px; border-radius: 14px 14px 14px 4px; line-height: 1.35; word-wrap: break-word; }
.bub small { display: block; text-align: right; font-size: 10px; opacity: .55; margin-top: 2px; }
.bub.me { align-self: flex-end; background: #0b6b46; border-radius: 14px 14px 4px 14px; }
.bub.typing { opacity: .7; font-style: italic; }
.bub.typing i { animation: blink 1.2s infinite; font-style: normal; } .bub.typing i:nth-child(2) { animation-delay: .2s; } .bub.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .1; } }
.chat-in { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.chat-in input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; color: inherit; padding: 10px 14px; font: inherit; }
.chat-in input:focus { outline: none; border-color: #c9a96e; }
.chat-in button { border: 0; border-radius: 99px; padding: 0 16px; background: #0b6b46; color: #fff; font-weight: 700; cursor: pointer; }
/* jobs */
.job-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.job-row .je { font-size: 26px; }
.job-row .jt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.job-row small { color: var(--ink-m); font-size: 12px; }
.job-row .tag { color: #3be38a; font-weight: 700; font-size: 13px; }
.job-cur { border-color: rgba(201,169,110,.5) !important; }
.kv.bad { color: #ff7a85; }

/* VIP club */
.vip-star { filter: drop-shadow(0 0 4px rgba(255,214,107,.8)); font-size: .9em; }
.verif { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #1786ff; color: #fff; font-size: 10px; vertical-align: middle; }
.vip-card { margin-bottom: 14px; border-radius: 18px; padding: 18px 20px; color: #2a1b05; background: linear-gradient(135deg, #3a3128, #1d1813); border: 1px solid rgba(201,169,110,.4); position: relative; overflow: hidden; }
.vip-card.on { background: linear-gradient(135deg, #fbe7a1 0%, #e0b44f 45%, #a8771f 100%); box-shadow: 0 10px 30px rgba(224,180,79,.35); }
.vip-card:not(.on) { color: #ece3d3; }
.vip-card::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: rotate(18deg); animation: vipshine 4s infinite; }
@keyframes vipshine { from { right: 120%; } to { right: -60%; } }
.vc-top { display: flex; justify-content: space-between; align-items: center; }
.vc-logo { font: 800 15px Montserrat, sans-serif; letter-spacing: .18em; }
.vc-av svg { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.7); }
.vc-name { font: 700 26px "Cormorant Garamond", serif; margin-top: 10px; }
.vc-sub { font-size: 13px; opacity: .8; }
.btn.gold { background: linear-gradient(90deg, #f6d77a, #c9a96e); color: #241805; border: 0; font-weight: 800; }
.vip-cta { width: 100%; margin-top: 12px; padding: 14px; font-size: 16px; }
.perk { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14px; opacity: .55; }
.perk.on { opacity: 1; }
.perk .pe { width: 26px; text-align: center; font-size: 18px; }
.perk .pl { min-width: 42px; font: 700 11px Montserrat, sans-serif; color: #c9a96e; }
.today { color: #3be38a; }
.xo-vip { font-style: normal; filter: drop-shadow(0 0 4px rgba(255,214,107,.9)); align-self: center; }
.xo-meta .vip { color: #ffd56b; font-weight: 800; }

/* clock controls */
.clock-ctl { display: inline-flex; gap: 2px; margin-left: 8px; vertical-align: middle; }
.clock-ctl button { border: 1px solid rgba(201,169,110,.35); background: rgba(255,255,255,.04); color: #ece3d3; border-radius: 6px; font-size: 11px; padding: 1px 6px; cursor: pointer; line-height: 1.4; }
.clock-ctl button.on { background: #c9a96e; color: #1b130b; }
/* map home */
.home-btn { margin-top: 8px; }
.home-pin { cursor: pointer; }
/* decorate */
.decor-panel { max-height: 46%; display: flex; flex-direction: column; }
.decor-panel .vibe { color: #ffd56b; font-size: 12px; margin-left: 6px; font-weight: 600; }
.decor-sel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 10px; background: rgba(201,169,110,.12); border: 1px solid rgba(201,169,110,.35); border-radius: 10px; margin-bottom: 8px; }
.decor-sel small { color: var(--ink-m); flex: 1; }
.decor-hint { color: var(--ink-m); font-size: 12.5px; margin: 0 0 8px; }
.decor-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.decor-cats button { flex: none; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #ece3d3; border-radius: 99px; padding: 5px 11px; font-size: 12.5px; cursor: pointer; }
.decor-cats button.on { background: #c9a96e; color: #1b130b; border-color: #c9a96e; }
.decor-cats button.vipcat { border-color: #ffd56b; color: #ffd56b; }
.decor-cats button.vipcat.on { background: linear-gradient(90deg,#f6d77a,#c9a96e); color: #241805; }
.decor-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; overflow-y: auto; padding: 2px; }
.decor-item { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 10px 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #ece3d3; cursor: pointer; font: inherit; }
.decor-item:hover:not(:disabled) { border-color: #c9a96e; background: rgba(201,169,110,.12); }
.decor-item:disabled { opacity: .45; cursor: default; }
.decor-item .de { font-size: 26px; }
.decor-item b { font-size: 12px; line-height: 1.2; }
.decor-item small { font-size: 11px; color: var(--ink-m); }
.decor-item .dv { color: #ffd56b; }
.decor-item.vip { border-color: rgba(255,214,107,.5); background: linear-gradient(160deg, rgba(246,215,122,.14), rgba(0,0,0,0)); }
.opt.on { border-color: #c9a96e !important; background: rgba(201,169,110,.16) !important; }
.menu-h { margin: 10px 0 4px; font: 700 12px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #c9a96e; }
.menu-list { max-height: 46vh; overflow-y: auto; }
.decor-panel { max-height: 58%; }
.decor-panel .decor-cats, .decor-panel .decor-sel, .decor-panel .w3-ph, .decor-panel .decor-hint { flex: none; }
.decor-cats button { white-space: nowrap; line-height: 1.3; }
.decor-items { flex: 1; min-height: 120px; }
.decor-done { flex: none; }

/* multiplayer */
.mp-badge { align-self: center; margin-right: 10px; font-size: 12px; font-weight: 700; color: #9ff0c0; background: rgba(10,143,79,.18); border: 1px solid rgba(59,227,138,.35); border-radius: 99px; padding: 3px 10px; white-space: nowrap; opacity: .6; }
.mp-badge.on { opacity: 1; }
.mp-chat { position: absolute; left: 12px; bottom: 76px; z-index: 3; width: min(340px, calc(100% - 24px)); display: flex; flex-direction: column; gap: 6px; }
.mp-chat[hidden] { display: none; }
.mp-log { display: flex; flex-direction: column; gap: 3px; }
.mp-line { align-self: flex-start; max-width: 100%; background: rgba(12,9,7,.72); color: #ece3d3; border-radius: 10px; padding: 4px 9px; font-size: 12.5px; line-height: 1.35; word-wrap: break-word; backdrop-filter: blur(4px); }
.mp-line b { color: #9ff0c0; font-weight: 700; }
.mp-line.me b { color: #e6cc97; }
.mp-in { display: flex; gap: 6px; }
.mp-in input { flex: 1; min-width: 0; background: rgba(12,9,7,.78); border: 1px solid rgba(201,169,110,.4); color: #ece3d3; border-radius: 99px; padding: 8px 12px; font: inherit; font-size: 13px; }
.mp-in input:focus { outline: none; border-color: #c9a96e; }
.mp-in button { border: 0; border-radius: 50%; width: 36px; background: #c9a96e; color: #1b130b; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) { .mp-chat { bottom: 150px; } }
.mp-log { max-height: 190px; overflow-y: auto; scrollbar-width: thin; }
.mp-line i { font-style: normal; font-size: 10px; opacity: .5; margin-left: 4px; }
.mp-line.hint { opacity: .7; font-style: italic; }
.ai-off { font-size: 12px; color: #e6cc97; background: rgba(201,169,110,.1); border: 1px solid rgba(201,169,110,.3); border-radius: 10px; padding: 8px 10px; margin: 6px 12px 0; }
.w3-match .mbtns button.tk { background: linear-gradient(180deg, #ff8c42, #e0601a); color: #1b0d03; }

/* small progress pill while you watch yourself do something in 3D */
.busy.lite { background: none; pointer-events: none; align-items: flex-start; padding-top: 120px; }
.busy.lite .box { background: rgba(12,9,7,.86); color: #ece3d3; border: 1px solid rgba(201,169,110,.5); padding: 10px 18px; min-width: 260px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; text-align: left; border-radius: 14px; backdrop-filter: blur(6px); }
.busy.lite .busy-av { display: none; }
.busy.lite .e { font-size: 28px; grid-row: span 2; }
.busy.lite b { margin: 0; font-size: 14px; }
.busy.lite .prog { margin: 0; height: 6px; background: rgba(255,255,255,.12); }

/* homes navigator */
.lockseg { display: grid; gap: 6px; }
.lockseg button { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #ece3d3; border-radius: 10px; padding: 9px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.lockseg button span { font-size: 18px; }
.lockseg button.on { border-color: #c9a96e; background: rgba(201,169,110,.16); }
.home-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.home-row .hr-e { font-size: 20px; }
.home-row .hr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.home-row .hr-t small { color: var(--ink-m); font-size: 12px; }
.home-row .hr-n { font-size: 12px; font-weight: 700; color: var(--ink-m); min-width: 40px; }
.home-row .hr-n.on { color: #3be38a; }

/* Habbo-style catalogue while decorating */
.hb-cat { position: absolute; right: 12px; top: 64px; bottom: 76px; width: min(400px, calc(100% - 24px)); z-index: 4; display: flex; flex-direction: column; background: #e9e8e1; color: #1b1b1b; border: 2px solid #1d3b4f; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.45); font-family: "Ubuntu", "Nunito", sans-serif; overflow: hidden; }
.hb-title { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(180deg, #2f7ea8, #1e5f82); color: #fff; }
.hb-title span { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.hb-title small { flex: 1; opacity: .85; font-size: 12px; }
.hb-x { border: 1px solid #0e3a52; background: #f6d77a; color: #2a1b05; font-weight: 800; border-radius: 6px; padding: 4px 10px; cursor: pointer; font: inherit; font-size: 12.5px; }
.hb-sel { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fffbe8; border-bottom: 1px solid #d5d3c8; }
.hb-sel img, .hb-sel .de { width: 44px; height: 44px; object-fit: contain; font-size: 30px; text-align: center; }
.hb-sel span { flex: 1; display: flex; flex-direction: column; font-size: 13px; }
.hb-sel small { color: #6b6a62; font-size: 11.5px; }
.hb-btn { border: 1px solid #9c9a90; background: #fff; border-radius: 6px; padding: 5px 9px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; color: #1b1b1b; }
.hb-btn.red { background: #ffe1e1; border-color: #d98a8a; color: #8b1a1a; }
.hb-hint { margin: 0; padding: 8px 10px; font-size: 12px; color: #4b4a44; background: #f4f3ec; border-bottom: 1px solid #d5d3c8; }
.hb-tabs { display: flex; gap: 4px; padding: 8px 8px 0; overflow-x: auto; scrollbar-width: none; background: #dcdad1; flex: none; }
.hb-tabs button { flex: none; border: 1px solid #b7b5ab; border-bottom: 0; background: #cfcdc3; color: #2b2a26; border-radius: 7px 7px 0 0; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hb-tabs button.on { background: #e9e8e1; color: #1b1b1b; }
.hb-tabs button.vipcat { color: #8a6418; }
.hb-body { flex: 1; overflow-y: auto; padding: 10px; }
.hb-sub { margin: 4px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5d5c55; }
.hb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-bottom: 10px; }
.hb-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 5px; background: #fff; border: 1px solid #c9c7bd; border-radius: 8px; cursor: pointer; font: inherit; color: #1b1b1b; text-align: center; }
.hb-item:hover:not(:disabled) { border-color: #2f7ea8; box-shadow: 0 0 0 2px rgba(47,126,168,.25); }
.hb-item:disabled { opacity: .5; cursor: default; }
.hb-item.on { border-color: #3a9a4a; box-shadow: 0 0 0 2px rgba(58,154,74,.3); }
.hb-item.vip { background: linear-gradient(180deg, #fff8e0, #fff); border-color: #e0c06a; }
.hb-item img { width: 64px; height: 64px; object-fit: contain; }
.hb-item .de { font-size: 34px; line-height: 64px; height: 64px; }
.hb-item .sw { width: 64px; height: 44px; border-radius: 6px; border: 1px solid rgba(0,0,0,.2); }
.hb-item b { font-size: 11.5px; line-height: 1.2; }
.hb-item small { font-size: 10.5px; color: #6b6a62; }
@media (max-width: 700px) { .hb-cat { top: auto; height: 55%; } }
.party-box { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,77,109,.16), rgba(176,77,255,.14)); border: 1px solid rgba(255,77,109,.35); }
.party-box small { color: var(--ink-m); font-size: 12px; }
.party-h { margin: 4px 0; color: #ff8fab; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.home-row.party { background: linear-gradient(90deg, rgba(255,77,109,.12), transparent); border-radius: 10px; padding-left: 6px; }

/* origin quiz + start stats */
.origin .o-stats { display: block; margin-top: 6px; font-style: normal; font-size: 12px; opacity: .85; }
.quiz-cta { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin-bottom: 12px; padding: 12px 14px; font-size: 26px; cursor: pointer;
  background: linear-gradient(135deg, rgba(201,169,110,.22), rgba(201,169,110,.06)); border: 1px dashed var(--gold, #c9a96e); border-radius: 4px; color: var(--ink-l, #f3ead9); }
.quiz-cta b { display: block; font-size: 15px; }
.quiz-cta small { display: block; font-size: 12.5px; opacity: .8; }
.quiz-cta:hover { background: rgba(201,169,110,.26); }
.quiz { text-align: center; }
.quiz-bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--gold, #c9a96e); transition: width .3s; }
.quiz-n { display: block; margin: 10px 0 4px; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; color: var(--gold-2, #e2c48c); }
.quiz-q { margin: 0 0 14px; font-size: 20px; line-height: 1.3; }
.quiz-a { display: grid; gap: 8px; }
.quiz-a button { text-align: left; padding: 12px 14px; font: inherit; font-size: 14.5px; cursor: pointer; background: #1f1813; color: var(--ink-l, #f3ead9);
  border: 1px solid rgba(255,255,255,.08); border-radius: 4px; }
.quiz-a button:hover { border-color: var(--gold, #c9a96e); background: rgba(201,169,110,.12); }
.quiz-res .big { font-size: 46px; line-height: 1.1; }
.quiz-res p { color: var(--ink-m, #b9ab96); font-size: 14px; }
.quiz-res .trait-pills { justify-content: center; margin: 8px 0 14px; }
.quiz-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.quiz-btns button { padding: 11px 16px; }

/* orientation + pets */
.orient { display: flex; gap: 8px; flex-wrap: wrap; }
.orient .o { flex: 1; padding: 10px 8px; cursor: pointer; }
.orient-sec { margin-top: 14px; }
.vip-card.pet-card, .vip-card.pet-card.on { background: linear-gradient(135deg, #ffc48a, #e07a5f 55%, #8a3f22); color: #2a140a; }
.pet-joy { display: inline-block; vertical-align: middle; width: 70px; height: 6px; border-radius: 6px; background: rgba(0,0,0,.15); overflow: hidden; margin-left: 4px; }
.pet-joy i { display: block; height: 100%; border-radius: 6px; }
.pet-row .gbtn { white-space: nowrap; }
.pet-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pet-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line, rgba(0,0,0,.1)); background: rgba(255,179,107,.1); cursor: pointer; font: inherit; color: inherit; text-align: center; }
.pet-opt .pe { font-size: 30px; }
.pet-opt b { font-size: 13px; }
.pet-opt small { font-size: 12px; opacity: .75; }
.pet-opt:hover:not(:disabled) { border-color: #e07a5f; }
.pet-opt:disabled { opacity: .45; }

.hb-ext { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: calc(100% - 20px); margin: 6px 10px; padding: 8px 10px; border-radius: 8px; border: 1px dashed #c9a96e; background: rgba(201,169,110,.12); color: inherit; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; text-align: left; }
.hb-ext small { font-weight: 500; opacity: .8; white-space: nowrap; }
.hb-ext.done { border-style: solid; opacity: .7; cursor: default; }

/* Carnival pass */
.pass-card { border-radius: 16px; padding: 18px; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, #5b1a8b, #b0306a 55%, #e8a623); box-shadow: 0 10px 30px rgba(176,77,255,.25); }
.pc-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .18em; font-weight: 700; }
.pc-lv { margin: 10px 0 6px; } .pc-lv b { font-size: 30px; } .pc-lv small { opacity: .8; margin-left: 4px; }
.pc-bar { height: 10px; border-radius: 10px; background: rgba(0,0,0,.25); overflow: hidden; } .pc-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffd400, #fff3c4); border-radius: 10px; }
.pc-sub { font-size: 13px; opacity: .9; margin: 8px 0 12px; }
.pass-card .btn { width: 100%; }
.pass-head { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; opacity: .8; margin-bottom: 6px; }
.pass-track { display: grid; gap: 6px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.pass-row { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 8px; align-items: stretch; opacity: .6; }
.pass-row.reached { opacity: 1; }
.pass-n { display: flex; align-items: center; justify-content: center; font-weight: 800; border-radius: 8px; background: rgba(201,169,110,.15); }
.pass-row.reached .pass-n { background: linear-gradient(135deg, #ffd400, #ff4d6d); color: #1a0d1f; }
.pass-cell { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(201,169,110,.2); background: rgba(255,255,255,.03); min-height: 46px; }
.pass-cell.p { border-color: rgba(232,166,35,.45); background: rgba(232,166,35,.08); }
.pass-cell.big { box-shadow: inset 0 0 0 1px rgba(255,212,0,.5); }
.pass-cell .pe { font-size: 22px; }
.pass-cell small { flex: 1; font-size: 12.5px; line-height: 1.25; }
.pass-cell em { font-style: normal; opacity: .8; }
.pass-cell.got { opacity: .55; }

/* premium top banner ad */
.top-banner { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 14px; border: 0; cursor: pointer; font: inherit; text-align: left; box-shadow: inset 0 -1px 0 rgba(255,255,255,.15); }
.top-banner .tb-e { font-size: 20px; }
.top-banner b { font-size: 15px; white-space: nowrap; }
.top-banner .tb-s { flex: 1; font-size: 13px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-banner em { font-style: normal; color: #fff; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 7px; border-radius: 20px; background: rgba(0,0,0,.25); }
.opt.adopt.premium { border-color: #e8b923; background: linear-gradient(135deg, rgba(232,185,35,.16), rgba(232,185,35,.04)); }

.opt.adopt .t small { display: block; }

.money .gems { margin-left: 10px; font-size: .78em; color: #9fd8ff; white-space: nowrap; }
.hb-pay { display: flex; align-items: center; gap: 6px; margin: 0 10px 6px; font-size: 12px; }
.hb-pay span { opacity: .75; margin-right: 4px; }
.hb-pay button { padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(0,0,0,.15); background: transparent; font: inherit; font-weight: 700; cursor: pointer; color: inherit; }
.hb-pay button.on { background: #1d6fb8; color: #fff; border-color: #1d6fb8; }

/* first-steps tutorial card */
.tut { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(340px, calc(100vw - 32px)); padding: 14px 16px; border-radius: 14px;
  background: rgba(20,15,11,.94); color: #f3ead9; border: 1px solid rgba(201,169,110,.55); box-shadow: 0 12px 34px rgba(0,0,0,.45); font-size: 13.5px; display: grid; gap: 8px; }
.tut-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #e6cc97; font-weight: 700; }
.tut-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; } .tut-bar i { display: block; height: 100%; background: #e6cc97; transition: width .4s; }
.tut b { font-size: 16px; } .tut b span { margin-right: 4px; }
.tut p { margin: 0; color: #c9bba3; line-height: 1.45; }
.tut-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tut-foot small { color: #9ff0c0; font-weight: 700; }
.tut-skip { background: none; border: 0; color: #a99c86; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
@media (max-width: 720px) { .tut { left: 8px; right: 8px; width: auto; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) { .tut { left: 268px; bottom: 96px; } }

/* family */
.fam-partner { display: flex; gap: 12px; align-items: center; }
.fam-partner > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.fam-partner small { opacity: .8; }
.fam-partner .bar { height: 6px; border-radius: 6px; background: rgba(0,0,0,.15); overflow: hidden; } .fam-partner .bar i { display: block; height: 100%; }
.fam-btns { flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.wed-opts { display: grid; gap: 6px; width: 100%; }

/* ===== phones ===== */
@supports (height: 100dvh) {
  .w3-wrap { height: calc(100dvh - 110px); }
  @media (max-width: 899px) { .w3-wrap { height: calc(100dvh - 196px); } }
}
@media (max-width: 700px) {
  .w3-top { left: 8px; right: 8px; top: 8px; gap: 6px; }
  .w3-title { max-width: 46%; padding: 5px 9px; }
  .w3-title small { font-size: 8.5px; letter-spacing: .16em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .w3-title b { font-size: 13px; letter-spacing: .06em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .w3-btns { flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 54%; }
  .w3-btns .gbtn { padding: 6px 8px; font-size: 11.5px; }
  .w3-hint { display: none; }
  .w3-prompt { font-size: 14px; padding: 11px 16px; max-width: calc(100% - 140px); }
  .tut { padding: 10px 12px; gap: 5px; font-size: 12.5px; right: 70px; }
  .tut b { font-size: 14px; }
  .tut p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hb-cat { left: 8px; right: 8px; width: auto; bottom: 8px; }
  .money .gems { display: block; margin: 2px 0 0; font-size: .7em; }
  .top-banner { padding: 5px 10px; gap: 6px; } .top-banner .tb-s { display: none; }
  .pass-row, .pass-head { grid-template-columns: 28px 1fr 1fr; gap: 5px; }
  .pass-cell { padding: 6px 7px; gap: 5px; } .pass-cell .pe { font-size: 18px; } .pass-cell small { font-size: 11.5px; }
  .pet-row, .fr-row { flex-wrap: wrap; }
}
@media (pointer: coarse) {
  .w3-btns .gbtn, .gbtn { min-height: 38px; }
  .w3-prompt kbd { display: none; }
}

/* ===== start screen ===== */
.start { position: fixed; inset: 0; z-index: 5; overflow-y: auto; color: #f6ead6; font-family: "Montserrat", system-ui, sans-serif; background: #140c2a; }
.st-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.st-stars circle { animation: stTw 3.6s ease-in-out infinite; }
@keyframes stTw { 50% { opacity: .25; } }
.st-sun { animation: stSun 6s ease-in-out infinite; }
@keyframes stSun { 50% { transform: translateY(6px); } }
.st-sun, .st-gondola { transform-box: fill-box; }
.st-gondola { offset-path: path("M1190 588 L1360 418"); animation: stGo 14s ease-in-out infinite alternate; }
@keyframes stGo { from { offset-distance: 4%; } to { offset-distance: 96%; } }
.st-glint line { animation: stGl 2.4s ease-in-out infinite; }
@keyframes stGl { 50% { opacity: .2; } }
.st-wrap { position: relative; z-index: 1; min-height: 100%; max-width: 1180px; margin: 0 auto; padding: 48px 32px; display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; box-sizing: border-box; }
.st-hero { align-self: center; text-shadow: 0 2px 18px rgba(20,8,30,.6); }
.st-kicker { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: #ffd98a; margin: 0 0 8px; }
.st-logo { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: clamp(54px, 8vw, 104px); line-height: .92; margin: 0; color: #fff4e0; }
.st-logo span { display: block; background: linear-gradient(90deg, #ffd98a, #ff9f6b 60%, #ff7aa8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-tag { font-size: 17px; line-height: 1.5; max-width: 470px; margin: 18px 0 20px; color: #fbe7d0; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chips span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(20,10,30,.45); border: 1px solid rgba(255,217,138,.3); backdrop-filter: blur(6px); }
.st-card { background: rgba(16,10,22,.72); border: 1px solid rgba(255,217,138,.28); border-radius: 22px; padding: 22px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.st-card h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #ffd98a; margin: 18px 0 8px; font-weight: 600; }
.st-card h4 small { letter-spacing: 0; text-transform: none; color: #b8a6bd; font-weight: 400; }
.st-acct { display: flex; align-items: center; gap: 12px; padding: 0 0 14px; border-bottom: 1px solid rgba(255,217,138,.18); }
.st-acct > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-acct b { font-size: 15px; }
.st-acct small { font-size: 12px; color: #c9b6c4; line-height: 1.35; }
.st-acct.in small { color: #8fe3a8; }
.st-ini { flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,217,138,.16); font-weight: 700; font-size: 18px; overflow: hidden; color: #fff; }
.st-ini img { width: 100%; height: 100%; object-fit: cover; }
.st-life { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.st-life.new p { margin: 0 0 4px; color: #e7d6c4; font-size: 14px; }
.st-me { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border-radius: 14px; padding: 8px 12px 8px 8px; }
.st-me > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-me b { font-size: 16px; }
.st-me small { font-size: 12px; color: #c9b6c4; }
.st-me .st-money { color: #ffd98a; font-weight: 600; }
.st-av { flex: 0 0 58px; height: 58px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #ffb35c, #b8475a); display: block; }
.st-av svg { width: 100%; height: 100%; display: block; }
.st-play { font: 700 17px "Montserrat", sans-serif; letter-spacing: .06em; padding: 15px; border-radius: 14px; color: #2a1206; background: linear-gradient(90deg, #ffd98a, #ff9f6b); box-shadow: 0 10px 28px rgba(255,159,107,.35); transition: transform .15s, box-shadow .15s; }
.st-play:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,159,107,.5); }
.st-new { font-size: 13px; color: #c9b6c4; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.st-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-langs button { padding: 10px; border-radius: 12px; border: 1px solid rgba(255,217,138,.22); color: #e7d6c4; font-size: 14px; font-weight: 500; }
.st-langs button.on { background: rgba(255,217,138,.16); border-color: #ffd98a; color: #fff; }
.st-worlds { display: flex; flex-direction: column; gap: 6px; }
.st-world { display: flex; align-items: center; gap: 12px; text-align: left; padding: 9px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: #f6ead6; transition: background .15s, border-color .15s; }
.st-world:hover { background: rgba(255,255,255,.07); }
.st-world.on { border-color: #ffd98a; background: rgba(255,217,138,.13); box-shadow: inset 0 0 0 1px rgba(255,217,138,.4); }
.st-world.locked { opacity: .55; }
.st-we { font-size: 22px; flex: 0 0 26px; text-align: center; }
.st-wt { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.st-wt b { font-size: 14px; }
.st-wt small { font-size: 11.5px; color: #b8a6bd; }
.st-wn { display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; font-weight: 700; min-width: 66px; }
.st-wn i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6b5a6e; margin-right: 5px; vertical-align: 1px; }
.st-wn i.live { background: #5be38a; box-shadow: 0 0 8px #5be38a; }
.st-wn em { font-style: normal; }
.st-wn small { font-size: 10.5px; font-weight: 400; color: #b8a6bd; }
.st-foot { margin: 12px 0 0; font-size: 11.5px; color: #a593a9; text-align: center; }
@media (max-width: 860px) {
  .st-wrap { grid-template-columns: 1fr; padding: 28px 16px 40px; gap: 22px; align-items: start; }
  .st-tag { font-size: 15px; margin: 12px 0 14px; }
  .st-card { padding: 18px 16px; border-radius: 18px; }
}
@media (max-width: 520px) {
  .st-chips span:nth-child(n+4) { display: none; }
  .st-wt small { display: none; }
}

/* ===== drunk ===== */
body.drunk1 .w3-slot canvas { filter: saturate(1.25); }
body.drunk2 .w3-slot canvas { filter: blur(0.7px) saturate(1.35); animation: drunkHue 7s ease-in-out infinite; }
body.drunk3 .w3-slot canvas { filter: blur(1.3px) saturate(1.5); animation: drunkHue 4s ease-in-out infinite, drunkWob 3.2s ease-in-out infinite; }
@keyframes drunkHue { 50% { filter: blur(1px) saturate(1.5) hue-rotate(25deg); } }
@keyframes drunkWob { 0%, 100% { transform: scale(1.02) translateX(0); } 50% { transform: scale(1.03) translateX(6px); } }
.drunk-badge { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 40; background: rgba(60, 20, 70, .88); color: #ffe3f6; border: 1px solid #ff9ad5; padding: 6px 14px; border-radius: 999px; font: 600 13px "Montserrat", sans-serif; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.35); animation: drunkBob 2.4s ease-in-out infinite; }
@keyframes drunkBob { 50% { transform: translateX(-50%) rotate(-2deg) translateY(2px); } }

/* ===== test drive ===== */
.drive-hud { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); display: flex; align-items: baseline; gap: 12px; background: rgba(12, 10, 16, .82); color: #fff; padding: 8px 16px; border-radius: 14px; font: 600 14px "Montserrat", sans-serif; z-index: 6; pointer-events: none; flex-wrap: wrap; justify-content: center; max-width: 92%; }
.drive-hud b { font-size: 30px; color: #ffd56b; }
.drive-hud small { margin-left: -8px; opacity: .7; }
.drive-hud em { flex-basis: 100%; text-align: center; font-style: normal; color: #ff8a80; }
.td-res { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px 0 16px; }
.td-res div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; }
.td-res b { font-size: 20px; }
.td-res small { font-size: 11px; opacity: .7; }
@media (max-width: 600px) { .td-res { grid-template-columns: repeat(3, 1fr); } }
.w3-here { display: inline-block; margin-left: 8px; font-style: normal; font-size: 11px; background: #0a8f4f; color: #fff; border-radius: 999px; padding: 2px 8px; vertical-align: middle; letter-spacing: 0; }
.card.dev { border: 1px dashed #e8b923; }
.row.wrap { flex-wrap: wrap; gap: 6px; }
.pet-sws { display: flex; flex-wrap: wrap; gap: 6px; }
.pet-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.pet-sw.on { border-color: #ffd56b; box-shadow: 0 0 0 2px #ffd56b; }
.pet-prev { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 6px 0 10px; }
.pet-prev span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; border: 3px solid #ffd56b; }
.pet-prev b { font-size: 30px; }
.seg.wrap { flex-wrap: wrap; }
.card.idea p { margin: 6px 0; }
.card.idea.dev, .idea-re.dev { border-color: #e8b923; }
.idea-re { margin: 6px 0 0 14px; padding: 6px 10px; border-left: 2px solid rgba(255,255,255,.15); font-size: 13px; }
.idea-re.dev { border-left-color: #e8b923; background: rgba(232,185,35,.08); }
.idea-reply { display: flex; gap: 6px; margin-top: 8px; }
.idea-reply input { flex: 1; }
.mk-price { width: 90px; margin: 0 6px; }
.ad-prev { border-radius: 14px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; margin: 6px 0 12px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ad-prev span { font-size: 40px; }
.ad-prev b { font-size: 20px; }
.ad-prev em { font-size: 11px; font-style: normal; opacity: .8; }
.map-sponsor { display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0; padding: 10px 14px; border-radius: 12px; color: #1a130d; text-align: left; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.map-sponsor span { font-size: 26px; }
.map-sponsor b { font-size: 15px; }
.map-sponsor small { flex: 1; opacity: .8; }
.map-sponsor em { font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.map-ad { cursor: pointer; }
.st-member { margin-top: 10px; font-size: 12.5px; color: #ffd98a; background: rgba(255,217,138,.08); border-radius: 10px; padding: 8px 10px; }
.st-join { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,217,138,.08); border: 1px dashed rgba(255,217,138,.4); border-radius: 12px; padding: 10px; }
.st-join small { color: #c9b6c4; font-size: 12px; }
.st-join .row { display: flex; gap: 6px; }
.st-join input { flex: 1; }
.st-cloud { margin-top: 8px; width: 100%; padding: 10px; border-radius: 12px; background: rgba(46,196,255,.15); border: 1px solid #2ec4ff; color: #e6f7ff; font-weight: 600; display: flex; flex-direction: column; align-items: center; }
.st-cloud small { font-weight: 400; opacity: .8; }
.dot-n { font-style: normal; background: #e63946; color: #fff; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.mb-row .fr-av { width: 40px; height: 40px; }
.work-slot { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); z-index: 5; pointer-events: none; max-width: 94%; }
.work-chip { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: rgba(20, 14, 10, .86); color: #f6ead6; border: 1px solid rgba(201,169,110,.4); border-radius: 999px; padding: 6px 8px 6px 14px; font: 600 13px "Montserrat", sans-serif; box-shadow: 0 6px 18px rgba(0,0,0,.3); white-space: nowrap; }
.work-chip.now { border-color: #ffb347; animation: workPulse 1.6s ease-in-out infinite; }
.work-chip.ok { border-color: #5be38a; padding-right: 14px; }
.work-chip.bad { border-color: #ff8a80; padding-right: 14px; }
.work-chip .gbtn { padding: 5px 12px; font-size: 12px; }
@keyframes workPulse { 50% { box-shadow: 0 0 0 4px rgba(255,179,71,.25), 0 6px 18px rgba(0,0,0,.3); } }
.how-job ol { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cas .destiny { display: flex; gap: 14px; align-items: center; border: 1px solid var(--gold); border-radius: 12px; padding: 14px; background: linear-gradient(120deg, rgba(201,169,110,.16), rgba(201,169,110,.04)); }
.cas .destiny .big { font-size: 46px; }
.cas .destiny small { display: block; color: var(--ink-m); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.cas .destiny b { display: block; font-size: 17px; margin: 2px 0 4px; }
.cas .destiny span { display: block; font-size: 13px; color: var(--ink-m); }
.cas .destiny-btns { margin: 10px 0; text-align: center; }
.cas .destiny-btns button { color: var(--gold-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; }
.cas .vip-destiny { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border: 1px dashed var(--gold); border-radius: 12px; padding: 12px 14px; margin: 10px 0; font-size: 13px; color: var(--ink-m); }
.cas .vip-destiny b { color: var(--gold-2); font-size: 14px; }
.cas .vip-destiny.on { border-style: solid; color: var(--gold-2); font-weight: 600; }
.cas .origins.locked { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cas .origins.locked .origin { opacity: .45; font-size: 12px; padding: 8px 10px; cursor: default; }
