:root {
  --ink: #1f2937; --cream: #fffaf0; --blue: #3a86ff; --green: #2fbf71; --red: #e63946; --gold: #ffbe0b; --purple: #7b5cff;
  --line: #e2dccf; --shadow: 0 6px 18px rgba(0,0,0,.18); --glass: rgba(255,255,255,.88);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; font-family: 'Baloo 2', system-ui, sans-serif; color: var(--ink); background: #1d3557; }
button { font-family: inherit; cursor: pointer; color: inherit; }
.hidden { display: none !important; }

/* ---------- menu de moradores ---------- */
.menu { position: fixed; inset: 0; overflow: auto; padding: 24px 16px; display: flex; align-items: flex-start; justify-content: center;
  background: linear-gradient(#7cc6fe 0%, #bde0fe 45%, #ffd6a5 100%); }
.menu::after { content: '🏢🏠🏬🏡🏥🏫🏦🏠🏢'; position: fixed; bottom: 0; left: 0; right: 0; text-align: center; font-size: 54px; letter-spacing: 4px; opacity: .55; pointer-events: none; white-space: nowrap; overflow: hidden; }
.card { position: relative; z-index: 1; background: var(--cream); border-radius: 28px; padding: 22px; width: min(640px, 100%); box-shadow: 0 10px 0 rgba(0,0,0,.12); text-align: center; margin: auto; }
.card.wide { width: min(900px, 100%); text-align: left; }
.logo { font-size: 64px; line-height: 1; }
h1 { margin: 4px 0 0; font-size: clamp(32px, 6vw, 48px); color: #1d3557; line-height: 1.05; }
h2, h3 { margin: 6px 0; }
.sub { margin: 4px 0 14px; font-size: 18px; }
.muted { opacity: .7; }
.row-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.btn { border: none; border-radius: 16px; padding: 10px 18px; font-size: 18px; font-weight: 800; background: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.15); transition: transform .08s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.btn.green { background: var(--green); color: #fff; } .btn.gray { background: #e9ecef; } .btn.gold { background: var(--gold); }
.btn.blue { background: var(--blue); color: #fff; } .btn.small { padding: 5px 12px; font-size: 15px; border-radius: 12px; }
.btn.good { background: var(--green); color: #fff; } .btn.bad { background: var(--red); color: #fff; }
.profiles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 10px 0; }
.profile { position: relative; width: 128px; background: #fff; border-radius: 20px; border: 4px solid transparent; padding: 8px 4px; box-shadow: var(--shadow); }
.profile:hover { border-color: var(--blue); }
.profile svg { width: 66px; height: 99px; }
.pname { font-weight: 800; font-size: 17px; } .pmeta { font-size: 13px; opacity: .8; }
.pdel { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; }
.name-row { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 20px; margin: 10px 0; }
.name-row input { flex: 1; font: inherit; font-size: 20px; padding: 6px 12px; border-radius: 12px; border: 3px solid var(--line); }
.shake { animation: shake .4s; border-color: var(--red) !important; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.import { background: #eef4ff; border-radius: 16px; padding: 8px 12px; }
.import-list { display: flex; gap: 6px; flex-wrap: wrap; }
.import-list button { background: #fff; border: 3px solid transparent; border-radius: 14px; padding: 2px 8px; font-weight: 700; display: flex; flex-direction: column; align-items: center; }
.import-list button:hover { border-color: var(--blue); }
.import-list svg { width: 44px; height: 44px; }
.ae { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.ae-preview { display: grid; place-items: center; background: linear-gradient(#bde0fe, #caffbf); border-radius: 20px; min-height: 260px; }
.ae-preview svg { width: 170px; height: 255px; }
.ae-row { margin-bottom: 8px; } .ae-label { font-weight: 800; }
.ae-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ae-chip { border: 3px solid var(--line); background: #fff; border-radius: 12px; padding: 1px 9px; font-size: 14px; font-weight: 700; }
.ae-chip.sel { border-color: var(--blue); background: #eef4ff; }
.ae-swatch { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); padding: 0; }
.ae-swatch.sel { box-shadow: 0 0 0 4px var(--blue); }
.loading { position: fixed; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; font-size: 22px; background: #1d3557; z-index: 50; }
.loading .spin { font-size: 80px; animation: bob 1s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-14px); } }

/* ---------- jogo ---------- */
#game { position: fixed; inset: 0; user-select: none; -webkit-user-select: none; touch-action: none; }
#c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hud-tl { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.me { display: flex; align-items: center; gap: 8px; background: var(--glass); border-radius: 18px; padding: 4px 14px 4px 4px; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.me .face { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: linear-gradient(#bde0fe, #caffbf); flex: none; }
.me .face svg { width: 100%; height: 100%; }
.me-txt { display: flex; flex-direction: column; line-height: 1.1; } .me-txt b { font-size: 17px; } .me-txt small { font-size: 13px; opacity: .8; }
.money { align-self: flex-start; background: var(--glass); border-radius: 14px; padding: 2px 14px; font-weight: 800; font-size: 18px; box-shadow: var(--shadow); }
.money b { color: #2b9348; }
.hud-tr { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#minimap { width: 150px; height: 150px; border-radius: 22px; border: 4px solid #fff; box-shadow: var(--shadow); cursor: pointer; background: #86c06a; }
.clock { background: var(--glass); border-radius: 14px; padding: 1px 12px; font-weight: 800; box-shadow: var(--shadow); font-size: 17px; }

.objective { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: rgba(29,53,87,.9); color: #fff;
  border-radius: 18px; padding: 6px 14px 6px 8px; max-width: min(460px, calc(100vw - 380px)); min-width: 220px; box-shadow: var(--shadow); pointer-events: none; }
.obj-arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1d3557; display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; transition: transform .1s linear; }
.obj-txt { display: flex; flex-direction: column; line-height: 1.15; flex: 1; } .obj-txt b { font-size: 16px; } .obj-txt small { font-size: 13px; opacity: .85; }
.obj-dist { font-weight: 800; color: var(--gold); white-space: nowrap; }
.alert { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%) scale(.7); opacity: 0; pointer-events: none; background: #d62828; color: #fff; font-size: clamp(20px, 4vw, 30px); font-weight: 800; padding: 10px 26px; border-radius: 20px; box-shadow: 0 8px 0 #9d0208; white-space: nowrap; }
.alert.show { animation: alertIn 2.6s ease forwards; }
@keyframes alertIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } 20% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%) scale(1); } }
.reward { position: fixed; top: 40%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; z-index: 60; animation: rewardUp 2.6s ease forwards; }
.reward b { display: block; font-size: 46px; color: #2b9348; -webkit-text-stroke: 2px #fff; text-shadow: 0 4px 0 rgba(0,0,0,.2); }
.reward span { display: inline-block; background: #fff; border-radius: 14px; padding: 2px 14px; font-weight: 800; font-size: 18px; box-shadow: var(--shadow); }
@keyframes rewardUp { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 25% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -110%); } }

.toasts { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 40; width: min(520px, 92vw); }
.toast { background: rgba(255,255,255,.95); border-radius: 14px; padding: 5px 16px; font-weight: 700; box-shadow: var(--shadow); text-align: center; animation: toastIn .25s ease, toastOut .4s ease 3.2s forwards; }
@keyframes toastIn { from { transform: translateY(-10px); opacity: 0; } } @keyframes toastOut { to { opacity: 0; transform: translateY(-6px); } }

/* joystick (só em telas de toque) */
.joy { position: absolute; left: 0; bottom: 0; width: 42vw; height: 58vh; display: none; touch-action: none; }
.joy .base { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(255,255,255,.22); border: 3px solid rgba(255,255,255,.6); opacity: 0; transition: opacity .15s; }
.joy.on .base { opacity: 1; }
.joy .knob { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.joy-hint { position: absolute; left: 34px; bottom: 34px; font-size: 40px; opacity: .55; pointer-events: none; }
.joy.on .joy-hint { display: none; }
@media (pointer: coarse), (any-pointer: coarse) { .joy { display: block; } }

.round { width: 58px; height: 58px; border-radius: 50%; border: none; background: var(--glass); font-size: 28px; box-shadow: var(--shadow); display: grid; place-items: center; }
.round.small { width: 46px; height: 46px; font-size: 22px; }
.round.big { width: 78px; height: 78px; font-size: 34px; font-weight: 800; }
.round.on { background: var(--gold); }
.round:active { transform: scale(.94); }
.dock { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; }
.phone-btn { width: 66px; height: 66px; font-size: 34px; background: #1d3557; }
.emotes { position: absolute; bottom: 88px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; background: var(--glass); padding: 8px; border-radius: 20px; box-shadow: var(--shadow); }
.emotes button { border: none; background: #fff; border-radius: 14px; font-size: 28px; padding: 4px 10px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.emotes small { font-size: 12px; font-weight: 800; }
.btns-r { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: flex-end; }
.act { position: absolute; right: 16px; bottom: 112px; border: none; border-radius: 22px; padding: 12px 22px; font-size: 20px; font-weight: 800; background: var(--purple); color: #fff;
  box-shadow: 0 6px 0 #4b32b8; max-width: 70vw; display: flex; flex-direction: column; align-items: center; line-height: 1.1; animation: pulse 1.6s ease-in-out infinite; }
.act small { font-size: 12px; opacity: .8; }
.act:active { transform: translateY(4px); box-shadow: 0 2px 0 #4b32b8; }
@keyframes pulse { 50% { transform: scale(1.04); } }
.car-ui { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.car-ui ~ .act { bottom: 230px; }
.speedo { background: rgba(29,53,87,.9); color: #fff; border-radius: 18px; padding: 2px 16px; text-align: center; line-height: 1; box-shadow: var(--shadow); }
.speedo b { font-size: 34px; display: block; } .speedo small { font-size: 12px; opacity: .8; }
.car-btns { display: flex; gap: 8px; }
.pedals { display: flex; gap: 10px; align-items: flex-end; }
.pedal { border: none; border-radius: 18px; font-weight: 800; color: #fff; box-shadow: 0 5px 0 rgba(0,0,0,.25); font-size: 24px; }
.pedal:active { transform: translateY(3px); box-shadow: none; }
.pedal.gas { width: 74px; height: 104px; background: var(--green); }
.pedal.rev { width: 60px; height: 74px; background: #6c757d; }
.pedal.brk { width: 60px; height: 74px; background: var(--red); }
@media (hover: hover) and (pointer: fine) { .pedals, #b-jump, #b-run { display: none; } .act { bottom: 24px; } .car-ui ~ .act { bottom: 170px; } }

.progress { position: absolute; top: 58%; left: 50%; transform: translateX(-50%); width: min(340px, 80vw); background: rgba(29,53,87,.92); color: #fff; padding: 8px 14px; border-radius: 16px; text-align: center; font-weight: 800; }
.progress .bar { height: 12px; background: rgba(255,255,255,.25); border-radius: 8px; overflow: hidden; margin-top: 4px; }
.progress i { display: block; height: 100%; width: 0; background: var(--green); }

/* ---------- celular ---------- */
.phone { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 12px 24px; background: rgba(0,0,0,.25); z-index: 30; }
.ph-frame { position: relative; width: min(390px, 100%); height: min(760px, 100%); background: #111; border-radius: 42px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.45); display: flex; flex-direction: column; animation: phoneIn .25s ease; }
@keyframes phoneIn { from { transform: translateY(40px); opacity: 0; } }
.ph-top { display: flex; align-items: center; justify-content: space-between; color: #fff; padding: 2px 14px 8px; font-size: 15px; }
.ph-x { border: none; background: #333; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 14px; }
.ph-body { flex: 1; background: #f1f3f5; border-radius: 30px; overflow-y: auto; padding: 14px; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.ph-home { align-self: center; width: 120px; height: 6px; border-radius: 4px; background: #666; border: none; margin: 10px 0 2px; padding: 8px 0; background-clip: content-box; }
.ph-wall { background: linear-gradient(135deg, #3a86ff, #9b5de5); color: #fff; border-radius: 22px; padding: 16px; margin-bottom: 14px; }
.ph-hello { font-size: 22px; font-weight: 800; } .ph-money { font-size: 18px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; }
.app { border: none; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; }
.app span { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.ph-note { font-size: 14px; margin: 0 0 10px; opacity: .85; }
.car-list, .role-list, .house-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.car-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.car-row.locked { opacity: .6; }
.car-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; flex: none; border: 2px solid #0001; }
.car-info { flex: 1; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; } .car-info small { opacity: .7; }
.lock { font-size: 12px; font-weight: 700; text-align: right; max-width: 90px; }
.swatches { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #0003; cursor: pointer; }
.swatches i.sel { box-shadow: 0 0 0 3px var(--blue); }
.swatches.big i { width: 34px; height: 34px; }
.role { display: flex; align-items: center; gap: 10px; text-align: left; border: 3px solid transparent; background: #fff; border-radius: 16px; padding: 8px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.role span { font-size: 32px; } .role div { flex: 1; display: flex; flex-direction: column; line-height: 1.15; } .role small { opacity: .75; }
.role.sel { border-color: var(--green); background: #eafaf1; } .role em { font-style: normal; color: var(--green); font-size: 22px; font-weight: 800; }
.house-card { text-align: center; } .big-ic { font-size: 56px; }
.col-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.col-btns.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.place-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { border: none; background: #fff; border-radius: 12px; padding: 4px 10px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
#bigmap { width: 100%; border-radius: 18px; margin-bottom: 8px; }
.bank-card { background: linear-gradient(135deg, #1d3557, #457b9d); color: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; margin-bottom: 10px; }
.bank-card b { font-size: 34px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .stats span { background: #fff; border-radius: 12px; padding: 4px 10px; font-weight: 700; }
.set-list { display: flex; flex-direction: column; gap: 8px; }
.set { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 8px 12px; font-weight: 700; }
.set input[type=checkbox] { width: 24px; height: 24px; }
.seg { display: flex; gap: 4px; } .seg button { border: none; border-radius: 10px; padding: 3px 10px; background: #e9ecef; font-weight: 700; } .seg button.sel { background: var(--blue); color: #fff; }
.app-look .ae { grid-template-columns: 1fr; } .app-look .ae-preview { min-height: 170px; } .app-look .ae-preview svg { width: 100px; height: 150px; }
.app-look .btn { width: 100%; margin-top: 8px; }
h4 { margin: 12px 0 6px; }

/* ---------- janelas ---------- */
.modal { position: absolute; inset: 0; background: rgba(10,20,40,.5); display: grid; place-items: center; padding: 16px; z-index: 35; }
.m-box { position: relative; background: var(--cream); border-radius: 26px; padding: 22px; width: min(460px, 100%); max-height: 90vh; overflow: auto; box-shadow: 0 10px 0 rgba(0,0,0,.2); animation: phoneIn .2s ease; text-align: center; }
.m-x { position: absolute; top: 10px; right: 10px; border: none; background: #e9ecef; width: 34px; height: 34px; border-radius: 50%; }
.m-box .big { font-size: 24px; font-weight: 800; margin: 6px 0; }
.quiz { display: flex; flex-direction: column; gap: 8px; }
.tips { text-align: left; padding-left: 18px; font-size: 17px; } .tips li { margin: 4px 0; }

/* ---------- telas pequenas ---------- */
@media (max-width: 720px) {
  .ae { grid-template-columns: 1fr; } .ae-preview { min-height: 190px; } .ae-preview svg { width: 110px; height: 165px; }
  #minimap { width: 110px; height: 110px; border-radius: 18px; }
  .objective { top: auto; bottom: 150px; max-width: calc(100vw - 24px); min-width: 0; }
  .me .face { width: 38px; height: 38px; } .me-txt b { font-size: 15px; }
  .phone { justify-content: center; padding: 8px; }
  .act { font-size: 17px; padding: 10px 16px; }
  .dock { left: auto; right: 12px; bottom: auto; top: 200px; transform: none; flex-direction: column; }
  .emotes { bottom: auto; top: 200px; left: auto; right: 80px; transform: none; flex-direction: column; }
}
@media (max-height: 520px) { .round.big { width: 62px; height: 62px; } .pedal.gas { height: 84px; } }

/* emoção do jogador */
.emo-pop { position: absolute; left: 50%; top: 26%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 45; animation: emoPop 2.3s ease forwards; }
.emo-pop span { font-size: clamp(64px, 12vw, 110px); line-height: 1; filter: drop-shadow(0 6px 6px rgba(0,0,0,.3)); }
.emo-pop b { background: #fff; border-radius: 16px; padding: 3px 16px; font-size: 20px; box-shadow: var(--shadow); margin-top: 4px; }
@keyframes emoPop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.3) rotate(-15deg); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(8deg); } 22% { transform: translate(-50%, -50%) scale(1) rotate(0); } 30% { transform: translate(-50%, -50%) scale(1) rotate(-4deg); } 38% { transform: translate(-50%, -50%) rotate(4deg); } 46% { transform: translate(-50%, -50%) rotate(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%) scale(.9); } }

/* poses e fala */
.pose-bar { position: absolute; left: 10px; top: 118px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.pose-bar button { width: 62px; border: none; border-radius: 16px; background: var(--glass); box-shadow: var(--shadow); font-size: 26px; padding: 4px 0 2px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.pose-bar small { font-size: 11px; font-weight: 800; }
.pose-bar button.on { background: var(--gold); }
.pose-bar button.talk { background: #e7f5ff; }
.pose-bar button:active { transform: scale(.94); }
.chat { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); width: min(560px, calc(100vw - 20px)); background: var(--cream); border-radius: 22px; padding: 10px 12px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 32; animation: phoneIn .2s ease; }
.chat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.chat-head .ph-x { background: #e9ecef; color: var(--ink); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.chat-chips button { border: none; background: #fff; border-radius: 12px; padding: 4px 10px; font-weight: 700; font-size: 15px; box-shadow: 0 2px 5px rgba(0,0,0,.1); }
.chat-chips.emo button { font-size: 22px; padding: 2px 8px; }
.chat-form { display: flex; gap: 6px; }
.chat-form input { flex: 1; font: inherit; font-size: 17px; padding: 6px 12px; border-radius: 12px; border: 3px solid var(--line); min-width: 0; }
@media (max-width: 720px) { .pose-bar { top: 128px; } .pose-bar button { width: 54px; font-size: 22px; } }
.pose-bar button.near { background: #d3f9d8; box-shadow: 0 0 0 3px #40c057, var(--shadow); }

/* continuar ou recomeçar */
.resume .who { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; background: #fff; border-radius: 20px; padding: 8px 16px; margin: 12px 0; box-shadow: var(--shadow); }
.resume .who svg { width: 80px; height: 120px; flex: none; }
.resume .who h2 { margin: 0; } .resume .who p { margin: 2px 0; }
.col-btns.big { max-width: 420px; margin: 0 auto; }
.col-btns.big .btn { font-size: 20px; padding: 12px 18px; line-height: 1.2; }
.col-btns.big .btn small { font-size: 14px; font-weight: 600; opacity: .8; }
.btn.danger { background: #ffe3e3; color: #c92a2a; }

/* trânsito */
.speed-row { display: flex; align-items: center; gap: 8px; }
.limit-sign { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 6px solid #e03131; display: grid; place-items: center; box-shadow: var(--shadow); }
.limit-sign b { font-size: 20px; color: #111; }
.speedo.over { background: #e03131; animation: pulse .5s ease-in-out infinite; }
.tbanner { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); z-index: 44; width: min(520px, calc(100vw - 24px)); border-radius: 18px; padding: 8px 16px; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); display: flex; flex-direction: column; text-align: center; animation: toastIn .25s ease; pointer-events: none; }
.tbanner b { font-size: 19px; } .tbanner small { font-size: 14px; opacity: .95; }
.tbanner.warn { background: #f08c00; } .tbanner.fine { background: #c92a2a; } .tbanner.good { background: #2b8a3e; }
.license { background: linear-gradient(135deg, #e7f5ff, #d0ebff); border: 2px solid #74c0fc; border-radius: 18px; padding: 10px 12px; }
.lic-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: #1864ab; }
.lic-mid { display: flex; gap: 10px; align-items: center; margin: 6px 0; }
.lic-face { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #fff; flex: none; } .lic-face svg { width: 100%; height: 100%; }
.lic-stars { color: #f59f00; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.lic-bar { height: 10px; background: #fff; border-radius: 6px; overflow: hidden; } .lic-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffd43b, #e03131); }
.lic-note { display: block; margin-top: 4px; opacity: .75; font-size: 12px; }
.hist { display: flex; flex-direction: column; gap: 4px; max-height: 180px; overflow: auto; }
.hist .h { display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 10px; padding: 3px 10px; font-size: 13px; border-left: 5px solid #adb5bd; }
.hist .h small { grid-column: 1 / -1; opacity: .6; font-size: 11px; }
.hist .fine, .hist .susp { border-left-color: #e03131; } .hist .warn { border-left-color: #f08c00; } .hist .praise { border-left-color: #2b8a3e; }
.hist .fine b { color: #c92a2a; } .hist .praise b { color: #2b8a3e; }
.rules { display: flex; flex-direction: column; gap: 6px; }
.rules > div { display: flex; gap: 8px; background: #fff; border-radius: 12px; padding: 6px 10px; align-items: flex-start; }
.rules span { font-size: 22px; } .rules b { font-size: 14px; } .rules small { display: block; font-size: 12px; opacity: .8; }
