:root {
  --bg: #000000;
  --panel: rgba(10, 10, 10, 0.9);
  --panel2: #161616;
  --line: #2c2c2c;
  --text: #f5f5f5;
  --muted: #8e8e8e;
  --gold: #ffffff;
  --gold2: #ffffff;
  --good: #ffffff;
  --bad: #8f8f8f;
  --cyan: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Roboto", system-ui, sans-serif;
  --cond: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Roboto", system-ui, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: 0.4; cursor: default; }
canvas#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.neg { color: var(--bad); }
.gold { color: var(--gold2); }
.r { text-align: right; }
kbd { display: inline-block; font-family: var(--mono); font-size: 10px; padding: 1px 5px; border: 1px solid rgba(255,255,255,.3); border-bottom-width: 2px; border-radius: 4px; background: rgba(255,255,255,.08); color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; }
#hud button { pointer-events: auto; }
.hud-tl { position: absolute; top: 14px; left: 16px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.h-cash { font-family: var(--cond); font-weight: 800; font-size: 34px; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.h-sub { margin-top: 4px; font-size: 12px; font-weight: 600; color: #dfe6f1; }
#hRank { color: var(--gold2); }
.hud-tc { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); text-align: center; width: min(560px, 60vw); }
#hAct { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 14px; }
#hAct.show { display: inline-block; }
#hAct b { color: var(--gold2); }
#hBanner { margin-top: 30px; font-family: var(--cond); font-weight: 800; font-size: 52px; letter-spacing: -0.01em; letter-spacing: 0.02em; opacity: 0; text-shadow: 0 4px 0 rgba(0,0,0,.5), 0 0 30px rgba(0,0,0,.4); }
#hBanner.show { animation: ban 1.8s ease-out; }
#hBanner.gold { color: var(--gold2); }
#hBanner.good { color: var(--good); }
#hBanner.bad { color: #8f8f8f; }
@keyframes ban { 0% { opacity: 0; transform: scale(1.5); } 12% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
#minimap { position: absolute; top: 12px; right: 12px; width: 180px; height: 180px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
#hFeed { position: absolute; top: 74px; left: 16px; display: flex; flex-direction: column; gap: 4px; }
.feed-item { background: rgba(0, 0, 0, 0.72); border-left: 3px solid #fff; padding: 4px 10px; border-radius: 6px; font-size: 13px; animation: feedIn 0.25s ease-out; transition: opacity .5s, transform .5s; }
.feed-item b { color: var(--good); }
.feed-item.out { opacity: 0; transform: translateX(-10px); }
@keyframes feedIn { from { opacity: 0; transform: translateX(-12px); } }
#hDrift { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .2s; }
#hDrift.show { opacity: 1; }
#hDrift span { display: block; font-family: var(--cond); font-weight: 900; letter-spacing: 0.2em; font-size: 13px; color: var(--cyan); }
#hDrift b { font-family: var(--cond); font-weight: 800; font-size: 44px; text-shadow: 0 3px 0 rgba(0,0,0,.5); }
#hDrift i { font-style: normal; font-family: var(--cond); font-weight: 900; font-size: 22px; color: var(--gold2); margin-left: 8px; }
#hDrift.bank b { color: var(--good); }
#hDrift.crash b, #hDrift.crash span { color: #8f8f8f; text-decoration: line-through; }
#hPrompt { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); background: var(--panel); border: 1px solid var(--gold); padding: 8px 14px; border-radius: 10px; font-weight: 600; opacity: 0; transition: opacity .15s; white-space: nowrap; }
#hPrompt.show { opacity: 1; }
#hPrompt kbd { background: #fff; color: #000; border-color: #fff; margin-right: 6px; }
.hud-br { position: absolute; right: 18px; bottom: 16px; text-align: right; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.speedo b { font-family: var(--cond); font-weight: 800; font-size: 64px; line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.speedo span { display: block; font-size: 11px; letter-spacing: 0.2em; font-weight: 700; color: var(--muted); }
.nitro { width: 170px; height: 8px; margin: 8px 0 6px auto; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.nitro i { display: block; height: 100%; background: linear-gradient(90deg, #8a8a8a, #fff); border-radius: 99px; }
.nitro.boost i { background: #fff; box-shadow: 0 0 14px #fff; }
.h-car { font-size: 12px; font-weight: 700; color: #dfe6f1; }
.menu-btn { position: absolute; left: 16px; bottom: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font-weight: 800; letter-spacing: 0.06em; font-family: var(--cond); font-size: 15px; }
.menu-btn:hover { border-color: var(--gold); }
.help { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 11px; color: rgba(255,255,255,.65); white-space: nowrap; }
.help kbd { margin: 0 3px 0 8px; }
#touch { display: none; }
body.touch #touch { display: block; }
body.touch .help { display: none; }
#touch button { pointer-events: auto; position: relative; background: rgba(20,26,36,.55); border: 2px solid rgba(255,255,255,.25); border-radius: 16px; font-weight: 900; font-family: var(--cond); touch-action: none; }
#touch button.on { background: rgba(255,255,255,.5); border-color: #fff; color: #000; }
.t-left { position: absolute; left: 14px; bottom: 70px; display: flex; gap: 10px; }
.t-left button { width: 76px; height: 76px; font-size: 26px; }
.t-right { position: absolute; right: 14px; bottom: 150px; display: grid; grid-template-columns: 76px 76px; gap: 10px; }
.t-right button { width: 76px; height: 64px; font-size: 14px; }
.t-g { background: rgba(255, 255, 255, .22) !important; }
.t-b { background: rgba(0, 0, 0, .5) !important; }
body.touch .hud-br { bottom: 10px; }
body.touch .menu-btn { bottom: auto; top: 74px; }
body.touch #hFeed { top: 120px; }

/* ---------- buttons ---------- */
.btn { background: #fff; color: #000; border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 700; box-shadow: none; transition: transform .06s, opacity .15s; }
.btn:hover:not(:disabled) { background: #e9e9e9; }
.btn * { pointer-events: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.big { padding: 13px 30px; font-size: 16px; font-family: var(--cond); letter-spacing: 0.04em; }
.btn small { display: block; font-size: 11px; font-weight: 700; opacity: 0.85; }
.btn-ghost { background: transparent; border: 1px solid var(--line); border-radius: 9px; padding: 8px 14px; font-weight: 600; }
.btn-ghost:hover:not(:disabled) { border-color: var(--gold); color: var(--gold2); }
.danger { color: var(--bad) !important; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.pill.gold { color: #000; background: #fff; border-color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 6px 12px; font-weight: 700; font-size: 12px; color: var(--muted); }
.seg button.on { background: #fff; color: #000; }
.bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.bar.thin { height: 5px; }
.bar i { display: block; height: 100%; background: #fff; border-radius: 99px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-gap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- menu ---------- */
#menu { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px) grayscale(1); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 10; }
.m-panel { width: min(1100px, 100%); height: min(720px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.m-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.25); flex-wrap: wrap; }
.m-logo, .intro-logo { font-family: var(--cond); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.m-logo span, .intro-logo span { color: #000; background: #fff; padding: 0 6px; border-radius: 6px; margin-left: 4px; }
.m-tabs { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.m-tabs button { background: transparent; border: 0; padding: 8px 12px; border-radius: 8px; font-weight: 700; color: var(--muted); font-size: 13px; }
.m-tabs button.on { color: #000; background: #fff; }
.m-tabs button:hover { color: #fff; }
.m-tabs button.on:hover { color: #000; }
.m-cash { font-family: var(--cond); font-weight: 800; font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; }
.btn.drive { font-family: var(--cond); letter-spacing: 0.1em; font-size: 15px; }
.m-body { flex: 1; overflow-y: auto; padding: 16px 18px 24px; }
.m-body h2 { margin: 0 0 10px; font-family: var(--cond); font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; }
.m-body h3 { margin: 0 0 10px; font-family: var(--cond); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold2); }

.hustle { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: center; min-height: 100%; }
.h-left { text-align: center; }
.hustle-btn { position: relative; width: min(280px, 70vw); aspect-ratio: 1; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, #ffffff, #ececec 55%, #bcbcbc); box-shadow: 0 10px 0 #4a4a4a, 0 20px 60px rgba(255,255,255,.12); color: #000; transition: transform .05s; overflow: visible; }
.hustle-btn:active { transform: translateY(6px) scale(.98); box-shadow: 0 4px 0 #4a4a4a, 0 10px 30px rgba(255,255,255,.1); }
.hustle-btn > * { pointer-events: none; }
.hustle-btn span { display: block; font-family: var(--cond); font-weight: 800; font-size: 44px; letter-spacing: -0.01em; }
.hustle-btn small { font-weight: 800; font-size: 16px; }
.pop { position: absolute; pointer-events: none; font-family: var(--cond); font-weight: 800; font-size: 22px; color: #000; text-shadow: 0 0 8px rgba(255,255,255,.9); animation: popUp .8s ease-out forwards; transform: translate(-50%, -50%); }
@keyframes popUp { to { opacity: 0; transform: translate(-50%, -150%); } }
.stat-big { margin-bottom: 12px; }
.stat-big small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.stat-big b { font-family: var(--cond); font-weight: 900; font-size: 36px; }
#hsCash { color: var(--good); }
.rankbar { margin: 16px 0; }
.rb-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.rb-top b { color: var(--gold2); font-family: var(--cond); font-size: 18px; }
.rb-top span { color: var(--muted); font-size: 12px; }
.tips p { color: #c8d0dd; font-size: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin: 8px 0; }
.tips b { color: var(--gold2); }

.biz-list { display: flex; flex-direction: column; gap: 8px; }
.biz { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.biz.locked { opacity: 0.5; }
.b-ic { font-size: 28px; width: 44px; text-align: center; }
.b-main { flex: 1; min-width: 0; }
.b-name b { font-size: 15px; }
.b-sub { color: var(--muted); font-size: 12px; margin: 3px 0 6px; }
.btn.buy { min-width: 120px; }

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.car-card { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.car-card.own { opacity: 0.75; }
.car-card.sel { border-color: #fff; box-shadow: 0 0 0 1px #fff inset; }
.cc-name small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.cc-name b { font-family: var(--cond); font-size: 20px; }
.cc-foot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.price { font-family: var(--cond); font-size: 18px; color: var(--good); margin-right: auto; }
.sbars > div { display: grid; grid-template-columns: 38px 1fr 64px; gap: 8px; align-items: center; font-size: 11px; margin: 3px 0; }
.sbars span { color: var(--muted); }
.sbars b { text-align: right; font-family: var(--mono); font-size: 11px; }
.swatch-car { position: relative; height: 70px; margin: 4px 0; }
.sc-body { position: absolute; left: 12%; right: 12%; bottom: calc(14px + var(--lift, 0px)); height: var(--bh, 18px); background: var(--paint); border-radius: 8px 14px 4px 4px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.25); }
.sc-cab { filter: grayscale(1); position: absolute; left: var(--cl, 30%); right: var(--cr, 34%); bottom: calc(14px + var(--lift, 0px) + var(--bh, 18px) - 1px); height: var(--ch, 14px); background: linear-gradient(180deg, #2a3646, #121821); border-radius: 10px 14px 0 0; border: 2px solid var(--paint); border-bottom: 0; }
.swatch-car i { position: absolute; bottom: 4px; width: var(--wr, 20px); height: var(--wr, 20px); border-radius: 50%; background: #111; border: 4px solid #8a929c; }
.swatch-car i:nth-of-type(1) { left: 20%; }
.swatch-car i:nth-of-type(2) { right: 20%; }
.paints { display: flex; flex-wrap: wrap; gap: 4px; }
.pt { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); padding: 0; }
.pt.on { border-color: #000; box-shadow: 0 0 0 2px #fff; }

.homes { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.home { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.home b { display: block; font-size: 15px; }
.home small { color: var(--muted); }
.home.cur { border-color: var(--gold); }
.home.past { opacity: 0.45; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.card { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
table.mini { width: 100%; border-collapse: collapse; }
.mini td { padding: 6px 2px; border-bottom: 1px solid rgba(255,255,255,.06); font-variant-numeric: tabular-nums; }
.import { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.import textarea { min-height: 70px; background: #0a0d13; color: var(--text); border: 1px solid var(--line); border-radius: 8px; font-family: var(--mono); font-size: 11px; padding: 6px; user-select: text; }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 30; background: rgba(4,6,10,.7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { width: min(480px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.modal-card h2 { font-family: var(--cond); text-transform: uppercase; margin: 0 0 8px; }
.intro-logo { font-size: 48px; margin-bottom: 6px; }
ul.intro { text-align: left; margin: 14px auto; padding-left: 20px; line-height: 1.8; max-width: 360px; }
.intro b { color: #fff; }
.keys { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
#toast { position: fixed; left: 50%; bottom: 64px; transform: translate(-50%, 20px); opacity: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; font-weight: 600; z-index: 40; transition: all .25s; pointer-events: none; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.good { border-color: var(--good); }
#toast.bad { border-color: var(--bad); }
#fatal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 50; background: var(--bg); padding: 20px; }

@media (max-width: 760px) {
  .hustle { grid-template-columns: 1fr; }
  #minimap { width: 120px; height: 120px; }
  .h-cash { font-size: 26px; }
  .speedo b { font-size: 44px; }
  .nitro { width: 120px; }
  #hBanner { font-size: 36px; }
  .m-panel { height: 100%; border-radius: 0; }
  #menu { padding: 0; }
  .hud-tc { top: 64px; width: 92vw; }
}

/* black and white extras */
.swatch-car { filter: grayscale(var(--mono-swatch, 0)); }
.danger { color: #9a9a9a !important; text-decoration: underline; }
#toast.bad { border-color: #fff; border-style: dashed; }
.btn-ghost:hover:not(:disabled) { border-color: #fff; color: #fff; }
.menu-btn:hover { border-color: #fff; }
.home.cur { border-color: #fff; }
#hPrompt { border-color: #fff; }
.price { color: #fff; }
.b-ic { filter: grayscale(1); }

/* ---------- empire tab ---------- */
.emp-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.empire h3 { margin-top: 18px; }
.tips-p { color: #c8c8c8; font-size: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.biz.locked { opacity: .55; }

/* ---------- in-world panel (black and white) ---------- */
#panel { position: fixed; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.45); }
.p-card { width: min(520px, 100%); background: rgba(8,8,8,.94); border: 1px solid #2c2c2c; border-radius: 18px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.p-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.p-head h2 { margin: 0; font-family: var(--cond); font-size: 24px; letter-spacing: -0.01em; }
.p-head small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; }
.p-ic { width: 54px; height: 54px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; filter: grayscale(1); }
.p-head .x { margin-left: auto; background: transparent; border: 1px solid #2c2c2c; border-radius: 10px; width: 36px; height: 36px; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.p-stats div { background: #111; border: 1px solid #262626; border-radius: 12px; padding: 10px; }
.p-stats small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.p-stats b { font-family: var(--cond); font-size: 20px; font-variant-numeric: tabular-nums; }
.p-ms { margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.p-ms span { display: block; margin-bottom: 5px; }
.p-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.p-btns .btn { flex: 1; min-width: 120px; }
.p-work { display: flex; align-items: center; gap: 14px; border-top: 1px solid #262626; padding-top: 14px; }
.p-work > div { flex: 1; }
.p-work p { margin: 4px 0 0; }
.order { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.order span { padding: 10px 14px; border-radius: 12px; border: 1px solid #333; font-weight: 700; font-size: 16px; }
.order span.cur { background: #fff; color: #000; border-color: #fff; transform: scale(1.08); }
.order span.done { opacity: .3; text-decoration: line-through; }
.sh-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sh-btns .btn-ghost { padding: 14px; font-size: 15px; text-align: left; }
.sh-btns .btn-ghost:active { background: #fff; color: #000; }
.sh-foot { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: 13px; }
.sh-foot b { color: #fff; }
.p-card.shake { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.t-e, .t-f { font-size: 12px !important; }

/* ---------- wanted stars + district ---------- */
#hStars { position: absolute; top: 262px; right: 14px; width: 180px; text-align: center; display: none; }
#hStars.show { display: block; }
#hStars .st { font-size: 24px; letter-spacing: 2px; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.7); animation: starPulse .6s infinite alternate; }
#hStars .st i { font-style: normal; color: rgba(255,255,255,.18); text-shadow: none; }
#hStars .ev { height: 4px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; margin: 4px 22px 0; }
#hStars .ev b { display: block; height: 100%; background: #fff; }
@keyframes starPulse { to { opacity: .65; } }
#hDist { position: absolute; left: 16px; bottom: 64px; font-family: var(--cond); font-weight: 800; font-size: 18px; letter-spacing: .02em; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); opacity: .85; }
#hDist.flash { animation: distIn 2.4s ease-out; }
@keyframes distIn { 0% { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; transform: none; } 100% { opacity: .85; } }
body.touch #hDist { bottom: auto; top: 118px; }
body.touch #hStars { top: 136px; width: 120px; }

/* ---------- stock ---------- */
.stock { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: 11px; color: var(--muted); }
.stock .bar { flex: 1; }
.stock.low span { color: #fff; font-weight: 800; animation: starPulse .5s infinite alternate; }
.stock.low .bar i { background: repeating-linear-gradient(45deg, #fff 0 6px, #777 6px 12px); }

/* ---------- test mode ---------- */
.test-box { border: 1px dashed #fff; border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.test-box h3 { margin-top: 0; }
.test-box .row-gap { margin-top: 8px; }

/* ---------- shop / wardrobe ---------- */
.p-card.wide { width: min(640px, 100%); }
.slots { margin-bottom: 12px; flex-wrap: wrap; }
.wear-list { display: flex; flex-direction: column; gap: 6px; max-height: min(52vh, 420px); overflow-y: auto; }
.wear { display: flex; align-items: center; gap: 12px; background: #111; border: 1px solid #262626; border-radius: 12px; padding: 8px 10px; }
.wear.on { border-color: #fff; }
.wear .sw { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #3a3a3a; flex: none; filter: grayscale(1); }
.wear .sw.metal { background-image: linear-gradient(135deg, rgba(255,255,255,.6), transparent 50%, rgba(255,255,255,.4)) !important; }
.wear .sw.ice { box-shadow: 0 0 12px #fff; background-image: radial-gradient(circle at 30% 30%, #fff 0 10%, transparent 11%), radial-gradient(circle at 70% 60%, #fff 0 8%, transparent 9%) !important; }
.wear .w-main { flex: 1; min-width: 0; }
.wear .w-main small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.wear .w-main b { font-size: 15px; }

/* ---------- typing shift ---------- */
.typer { text-align: center; margin: 18px 0 8px; }
.typer .word { font-family: var(--mono); font-size: 40px; font-weight: 800; letter-spacing: .06em; }
.typer .word span { color: #555; }
.typer .word span.ok { color: #fff; }
.typer .word span.cur { color: #000; background: #fff; border-radius: 4px; }
.type-in { width: 70%; margin-top: 8px; background: #000; border: 1px solid #333; border-radius: 10px; color: #fff; font-family: var(--mono); font-size: 18px; padding: 8px 12px; text-align: center; user-select: text; outline: none; }
.type-in:focus { border-color: #fff; }

/* ---------- scrub shift ---------- */
.scrub { position: relative; height: 210px; margin: 14px 0; border-radius: 14px; background: #161616; border: 1px solid #2a2a2a; overflow: hidden; cursor: crosshair; touch-action: none; }
.sc-car { position: absolute; inset: 0; }
.sc-car .b { position: absolute; left: 8%; right: 8%; top: 48%; height: 26%; background: #e8e8e8; border-radius: 20px 40px 10px 10px; }
.sc-car .c { position: absolute; left: 28%; right: 32%; top: 28%; height: 22%; background: #9a9a9a; border-radius: 30px 40px 0 0; }
.sc-car i { position: absolute; top: 66%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: #0c0c0c; border: 6px solid #555; }
.sc-car i:nth-of-type(1) { left: 16%; }
.sc-car i:nth-of-type(2) { right: 16%; }
.dirt { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #4a3a2a 0 45%, rgba(74,58,42,.6) 60%, transparent 72%); pointer-events: none; filter: grayscale(1) contrast(1.2); }
.sc-left { position: absolute; left: 10px; bottom: 8px; font-size: 12px; color: var(--muted); }

/* ---------- hustles ---------- */
.h-active { display: flex; justify-content: space-between; align-items: center; border: 1px solid #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.h-active small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.h-list { display: flex; flex-direction: column; gap: 8px; }
.h-card { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.h-card.locked { opacity: .75; }
.h-ic { font-size: 30px; width: 46px; text-align: center; filter: grayscale(1); }
.h-main { flex: 1; min-width: 0; }
.h-main .b-sub { margin: 4px 0 8px; }
.h-card .btn { min-width: 150px; }

/* ---------- markets ---------- */
.mkt-top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.mkt-top .seg { margin-left: auto; }
.mkt-grid { display: grid; grid-template-columns: minmax(250px, 1fr) 1.5fr; gap: 14px; margin-top: 8px; }
.tick-list { display: flex; flex-direction: column; gap: 4px; }
.tick { display: grid; grid-template-columns: 1fr 90px 92px; align-items: center; gap: 8px; text-align: left; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.tick.on { border-color: #fff; background: rgba(255,255,255,.07); }
.tick small { display: block; color: var(--muted); font-size: 11px; }
.tk-r { text-align: right; font-variant-numeric: tabular-nums; }
.tk-r b { font-size: 13px; }
.spark { width: 90px; height: 28px; }
.tick-detail { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.big-price { font-family: var(--cond); font-size: 26px; font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 180px; display: block; margin: 10px 0; }
.hold { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.hold div { background: #111; border: 1px solid #262626; border-radius: 10px; padding: 8px; }
.hold small, .trade small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.hold b { font-variant-numeric: tabular-nums; font-size: 14px; }
.trade { display: flex; flex-direction: column; gap: 10px; }
.trade .btn, .trade .btn-ghost { padding: 7px 12px; font-size: 13px; }
.feed-item.news { border-left-color: #8a8a8a; font-size: 12px; color: #e6e6e6; }
@media (max-width: 760px) { .mkt-grid { grid-template-columns: 1fr; } .h-card { flex-wrap: wrap; } .h-card .btn { width: 100%; } }

/* ---------- hustle mini-games ---------- */
.bin-shape { position: absolute; left: 32%; right: 32%; top: 8%; bottom: 6%; }
.bin-shape .lid { position: absolute; left: -4%; right: -4%; top: 0; height: 10%; background: #6a6a6a; border-radius: 6px; }
.bin-shape .can { position: absolute; left: 0; right: 0; top: 10%; bottom: 0; background: linear-gradient(90deg, #7a7a7a, #a8a8a8 40%, #7a7a7a); border-radius: 0 0 10px 10px; }
.pw { position: relative; height: 200px; margin: 14px 0; border-radius: 12px; background: #d9d9d9; overflow: hidden; touch-action: none; cursor: crosshair;
  background-image: linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px), linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px); background-size: 10% 25%; }
.pw i { position: absolute; width: 10%; height: 25%; background: #2f2a24; pointer-events: none; transition: opacity .12s; }

/* ---------- map + directions ---------- */
.map-btn { position: absolute; top: 180px; right: 62px; width: 80px; padding: 5px 0; background: #000; color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 99px; font-family: var(--cond); font-weight: 800; letter-spacing: .08em; font-size: 12px; cursor: pointer; }
.map-btn kbd { font-size: 10px; padding: 0 4px; }
.map-btn:hover { background: #fff; color: #000; }
#minimap { cursor: pointer; pointer-events: auto; }
#hNav { position: absolute; top: 216px; right: 12px; width: 184px; display: none; align-items: center; gap: 10px; background: rgba(0,0,0,.78); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 7px 10px; }
#hNav.show { display: flex; }
#hNav .arw { font-size: 26px; line-height: 1; width: 28px; text-align: center; font-weight: 900; }
#hNav .nt b { display: block; font-family: var(--cond); font-weight: 800; font-size: 17px; }
#hNav .nt span { font-size: 11px; color: var(--muted); }
#bigmap { position: fixed; inset: 0; z-index: 30; background: #000; }
#bmCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
#bmCanvas.drag { cursor: grabbing; }
.bm-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: linear-gradient(#000, rgba(0,0,0,0)); }
.bm-title { font-family: var(--cond); font-weight: 900; font-size: 26px; letter-spacing: .12em; }
.bm-hint { flex: 1; color: var(--muted); font-size: 13px; }
.bm-quick { position: absolute; left: 18px; top: 70px; display: flex; flex-direction: column; gap: 6px; width: 190px; }
.bm-quick button { text-align: left; }
.bm-legend { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #cfcfcf; }
.bm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-b { width: 16px; height: 16px; border-radius: 50%; background: #fff; color: #000; font-style: normal; font-weight: 900; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.lg-d { width: 11px; height: 11px; background: #fff; transform: rotate(45deg); display: inline-block; }
@media (max-width: 760px) {
  .map-btn { top: 124px; right: 32px; width: 70px; }
  #hNav { top: 158px; width: 150px; }
  .bm-quick { display: none; }
  .bm-hint { display: none; }
}
body.touch #hStars { top: 200px; }

.tick .hot { font-size: 9px; font-weight: 900; letter-spacing: .08em; background: #fff; color: #000; border-radius: 4px; padding: 1px 4px; vertical-align: 2px; }
.tick .hot:empty { display: none; }

/* ---------- v5: speed limit sign, camera flash, phone, thumbnails ---------- */
.limit { display: none; width: 52px; margin: 0 0 8px auto; background: #fff; color: #000; border: 3px solid #000; outline: 2px solid #fff; border-radius: 6px; padding: 3px 0 4px; text-align: center; text-shadow: none; line-height: 1; }
.limit.show { display: block; }
.limit small { display: block; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.limit b { display: block; font-family: var(--cond); font-weight: 900; font-size: 24px; }
.limit.over { animation: limitPulse .6s ease-in-out infinite alternate; }
@keyframes limitPulse { to { background: #000; color: #fff; outline-color: #000; border-color: #fff; } }
#camFlash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 40; }
#camFlash.on { animation: camFlash .5s ease-out; }
@keyframes camFlash { 0% { opacity: .85; } 100% { opacity: 0; } }

.phone-btn { position: absolute; top: 214px; right: 62px; width: 80px; padding: 5px 0; background: #000; color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 99px; font-family: var(--cond); font-weight: 800; letter-spacing: .08em; font-size: 12px; cursor: pointer; white-space: nowrap; }
.phone-btn kbd { font-size: 10px; padding: 0 4px; }
.phone-btn:hover { background: #fff; color: #000; }
.phone-btn i { font-style: normal; display: inline-block; min-width: 0; margin-left: 6px; }
.phone-btn i:not(:empty) { background: #fff; color: #000; border-radius: 99px; padding: 0 6px; font-size: 11px; }
.phone-note { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 45; max-width: min(440px, 90vw); background: #fff; color: #000; border-radius: 14px; padding: 9px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.45); animation: noteIn .25s ease-out; transition: opacity .5s, transform .5s; pointer-events: none; }
.phone-note.out { opacity: 0; transform: translate(-50%, -12px); }
@keyframes noteIn { from { opacity: 0; transform: translate(-50%, -14px); } }

#phone { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 300px; height: min(600px, calc(100vh - 48px)); transition: transform .25s ease, opacity .25s; }
#phone.hidden { display: block; transform: translateY(40px); opacity: 0; pointer-events: none; }
.ph-frame { height: 100%; display: flex; flex-direction: column; background: #000; color: #fff; border: 2px solid #3a3a3a; border-radius: 34px; padding: 10px 10px 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 0 4px #111; }
.ph-status { display: flex; justify-content: space-between; padding: 4px 14px 8px; font-size: 11px; color: var(--muted); }
.ph-status b { color: #fff; }
.ph-screen { flex: 1; overflow-y: auto; background: #0b0b0b; border-radius: 22px; padding: 10px; scrollbar-width: thin; }
.ph-bar { width: 110px; height: 4px; margin: 8px auto 0; border-radius: 99px; background: #777; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; padding: 8px 2px; }
.ph-app { position: relative; background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; }
.ph-app span { width: 54px; height: 54px; border-radius: 15px; background: #1d1d1d; border: 1px solid #333; display: flex; align-items: center; justify-content: center; font-size: 24px; filter: grayscale(1); }
.ph-app:hover span { background: #fff; }
.ph-app small { font-size: 10px; color: #cfcfcf; }
.ph-app i { position: absolute; top: -4px; right: 10px; font-style: normal; background: #fff; color: #000; border-radius: 99px; font-size: 10px; font-weight: 800; padding: 1px 6px; }
.ph-widget { margin-top: 14px; background: #161616; border: 1px solid #2a2a2a; border-radius: 16px; padding: 12px; }
.ph-widget small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .08em; }
.ph-widget b { display: block; font-family: var(--cond); font-size: 28px; margin: 2px 0; }
.ph-head { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 10px; }
.ph-head button { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; width: 30px; cursor: pointer; }
.ph-head b { font-size: 15px; }
.ph-head span { width: 30px; }
.ph-list { display: flex; flex-direction: column; gap: 6px; }
.ph-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; text-align: left; background: #161616; border: 1px solid #262626; border-radius: 12px; padding: 9px 10px; color: #fff; font: inherit; cursor: pointer; }
.ph-row.flat { cursor: default; }
.ph-row b { font-size: 13px; }
.ph-row b em { font-style: normal; font-size: 9px; background: #fff; color: #000; border-radius: 4px; padding: 1px 4px; margin-left: 4px; }
.ph-row small { grid-column: 1; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-row i { grid-column: 2; grid-row: 1; font-style: normal; background: #fff; color: #000; border-radius: 99px; font-size: 10px; font-weight: 800; padding: 1px 6px; }
.ph-row button, .ph-replies button, .ph-big { background: #fff; color: #000; border: 0; border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: 12px; cursor: pointer; }
.ph-row button { grid-column: 2; grid-row: 1 / span 2; }
.ph-big { display: block; width: 100%; margin-top: 12px; padding: 10px; font-size: 13px; }
.ph-big:disabled { background: #333; color: #888; cursor: default; }
.ph-chat { display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; }
.bub { max-width: 82%; align-self: flex-start; background: #222; border-radius: 16px 16px 16px 4px; padding: 8px 11px; font-size: 13px; line-height: 1.35; }
.bub.me { align-self: flex-end; background: #fff; color: #000; border-radius: 16px 16px 4px 16px; }
.ph-replies { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; padding-top: 6px; border-top: 1px solid #222; }
.ph-card { background: #fff; color: #000; border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.ph-card small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: .6; }
.ph-card b { display: block; font-family: var(--cond); font-size: 26px; margin: 3px 0; }
.ph-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.ph-stats div { background: #161616; border: 1px solid #262626; border-radius: 12px; padding: 8px 10px; }
.ph-stats small { display: block; font-size: 10px; color: var(--muted); }
.ph-stats b { font-size: 14px; }
.ph-sub { display: block; font-size: 11px; color: var(--muted); margin: 6px 2px 8px; line-height: 1.4; }
.ph-empty { color: var(--muted); font-size: 12px; text-align: center; padding: 20px 0; }
.ph-screen .neg { color: #8f8f8f; }
.ph-screen .pos { color: #fff; }
body.touch #phone { right: 8px; bottom: 8px; width: min(300px, calc(100vw - 16px)); }
body.touch .phone-btn { top: 154px; right: 32px; width: 70px; }

.car-thumb { width: 160px; height: 90px; object-fit: cover; border-radius: 8px; background: #e9e9e9; display: block; }
.car-thumb.sm { width: 88px; height: 50px; }
.art-thumb { width: 72px; height: 72px; image-rendering: pixelated; border: 3px solid #fff; border-radius: 4px; background: #111; display: block; }
.lg-cam { width: 16px; height: 12px; background: #000; border: 1.5px solid #fff; border-radius: 2px; display: inline-block; position: relative; }
.lg-cam::after { content: ''; position: absolute; left: 4px; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
@media (max-width: 1150px) { .help { display: none; } }

/* ---------- v6: the full menu inside the phone ---------- */
#phone.wide { width: min(420px, calc(100vw - 32px)); height: min(720px, calc(100vh - 32px)); bottom: 16px; right: 16px; }
.ph-menu { margin: 0 -4px; }
#phone .m-body { padding: 4px 2px 18px; overflow: visible; }
#phone .m-body h2 { font-size: 18px; }
#phone .m-body .hustle, #phone .m-body .mkt-grid, #phone .m-body .stats-grid, #phone .m-body .cars { grid-template-columns: 1fr !important; }
#phone .m-body .row-between { flex-wrap: wrap; gap: 6px; }
#phone .m-body .car-card { padding: 10px; }
#phone .m-body .car-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
#phone .m-body .h-card { flex-wrap: wrap; }
#phone .m-body .h-card .btn { width: 100%; }
#phone .m-body .tick { grid-template-columns: 1fr 78px 80px; }
#phone .m-body .hold { grid-template-columns: repeat(2, 1fr); }
#phone .m-body .btn, #phone .m-body .btn-ghost { font-size: 12px; }
#phone .m-body table { font-size: 11px; }
.car-thumb.big { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 4px 0 10px; }
.dealer-panel { width: min(900px, 94vw); max-height: 86vh; display: flex; flex-direction: column; }
.dealer-panel .m-body { overflow-y: auto; padding: 0; }
#phone .m-body > .row-between:first-child > h2, #phone .m-body > h2:first-child { display: none; }
.modal-card { max-height: calc(100vh - 24px); overflow-y: auto; }
.summon-btn { top: 248px; }
body.touch .summon-btn { top: 186px; }
.test-lock input, .test-set input { flex: 1; min-width: 0; background: #0d0d0d; border: 1px solid var(--line); border-radius: 8px; color: #fff; padding: 7px 10px; font: inherit; font-size: 13px; }
.test-lock input:focus, .test-set input:focus { outline: none; border-color: #fff; }
.test-set { margin-top: 8px; }
.act-x { display: none; margin: 6px auto 0; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; padding: 4px 12px; font-weight: 800; font-size: 12px; cursor: pointer; }
.act-x.show { display: inline-block; }
.act-x:hover { background: #fff; color: #000; }
.hud-tc { display: flex; flex-direction: column; align-items: center; }
/* turn-by-turn sits under the map, phone and summon buttons instead of behind them */
#hNav { top: 252px; }
body.touch #hNav { top: 190px; }

/* ---------- v9: character creator (menus stay black and white) ---------- */
#creator { position: fixed; inset: 0; z-index: 25; pointer-events: none; display: flex; align-items: center; padding: 18px; }
.cc-panel { pointer-events: auto; width: min(380px, 92vw); max-height: calc(100vh - 36px); overflow-y: auto; background: rgba(6,6,6,.92); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.cc-logo { font-family: var(--cond); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.cc-logo span { background: #fff; color: #000; border-radius: 6px; padding: 0 6px; margin-left: 4px; }
.cc-panel h2 { font-family: var(--cond); text-transform: uppercase; font-size: 20px; margin: 10px 0 6px; }
.cc-panel h3 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.cc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #333; cursor: pointer; }
.cc-sw.on { border-color: #fff; box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff; }
.cc-btn { background: #141414; color: #fff; border: 1px solid #333; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 12px; cursor: pointer; }
.cc-btn.on, .cc-btn:hover { background: #fff; color: #000; border-color: #fff; }
.cc-turn { margin-top: 14px; }
.cc-panel .btn.big { width: 100%; margin-top: 12px; }

/* golf scorecard and swing meter */
#golfHud { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; min-width: 300px; max-width: calc(100vw - 32px); background: rgba(0,0,0,0.82); color: #fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; padding: 10px 14px; font: 600 13px/1.3 system-ui, sans-serif; pointer-events: none; }
#golfHud.hidden { display: none; }
#golfHud .g-top { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
#golfHud .g-top b { font-size: 16px; }
#golfHud .g-row { display: flex; justify-content: space-between; margin-top: 6px; color: #ddd; }
#golfHud .g-club { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
#golfHud .g-club b { font-size: 15px; flex: 1; text-align: center; }
#golfHud .g-club small { border: 1px solid #fff; border-radius: 4px; padding: 0 5px; font-size: 11px; }
#golfHud .g-club span { min-width: 60px; text-align: right; }
#golfHud .g-meter { height: 10px; margin-top: 8px; background: #333; border-radius: 6px; overflow: hidden; }
#golfHud .g-meter i { display: block; height: 100%; background: #fff; }
#golfHud .g-keys { margin-top: 6px; font-size: 11px; color: #bbb; text-align: center; }
