/* DEEP SEA — interface "maré noturna": painéis grossos, contorno escuro, latão e turquesa. */
@font-face { font-family: "Lilita One"; src: url("fonts/LilitaOne-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --ink: #070b14; --p1: #193250; --p2: #0f2036; --edge: #2c5276; --brass: #f0b544; --brass2: #b97d1c;
  --teal: #2fd6c0; --teal2: #15907f; --red: #ff4d5e; --red2: #b3263a; --green: #5be38f; --text: #f3f7fc; --muted: #9fb6cc;
  --h: "Lilita One", "Segoe UI Black", "Arial Black", sans-serif; --b: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { font-synthesis: none; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #04101d; color: var(--text); font-family: var(--b); user-select: none; }
canvas#game { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
.hidden { display: none !important; }
.out { text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 3px 0 var(--ink); }
.title { font-family: var(--h); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- botões ---------- */
.btn { font-family: var(--h); font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: #fff; cursor: pointer;
  background: linear-gradient(180deg, #2e5a84, #1d3b5a); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 5px 0 var(--ink), inset 0 2px 0 rgba(255,255,255,.22); text-shadow: 0 2px 0 rgba(0,0,0,.45); transition: transform .06s, filter .12s; }
.btn:hover { filter: brightness(1.12); } .btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink), inset 0 2px 0 rgba(255,255,255,.22); }
.btn.primary { background: linear-gradient(180deg, #3fe6cf, #17a592); color: #062a26; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.btn.gold { background: linear-gradient(180deg, #ffd06b, #d38f1f); color: #3a2304; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn.danger { background: linear-gradient(180deg, #ff6b78, #c3293d); }
.btn.small { padding: 6px 10px; font-size: 11px; border-radius: 10px; box-shadow: 0 3px 0 var(--ink), inset 0 2px 0 rgba(255,255,255,.2); }
.btn.big { font-size: 20px; padding: 14px 22px; border-radius: 18px; }
.btn:disabled { filter: grayscale(.7) brightness(.7); cursor: not-allowed; transform: none; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: radial-gradient(circle at 40% 30%, #2f5b85, #172f49); box-shadow: 0 4px 0 var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.icon-btn img { width: 34px; height: 34px; pointer-events: none; } .icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
input, select { background: #0a1a2c; color: var(--text); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px #23435f; border-radius: 12px; padding: 10px 12px; font-family: var(--b); font-size: 15px; font-weight: 700; outline: none; }
input:focus, select:focus { box-shadow: inset 0 0 0 2px var(--teal); }
.row { display: flex; gap: 10px; margin: 10px 0; flex-wrap: wrap; } .row > * { flex: 1; }
.hint { color: var(--muted); font-size: 12px; text-align: center; }
.pill { display: inline-block; font-family: var(--h); font-size: 11px; padding: 3px 10px; border-radius: 99px; background: #0a1a2c; border: 2px solid var(--ink); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- painéis ---------- */
.panel { background: linear-gradient(180deg, var(--p1), var(--p2)); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 10px 0 rgba(0,0,0,.35), inset 0 0 0 2px var(--edge), inset 0 3px 0 rgba(255,255,255,.08); padding: 18px; }
.panel h3 { margin: 0 0 12px; font-family: var(--h); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; color: var(--brass); }
.panel h3 small { color: var(--muted); font-family: var(--b); font-size: 11px; text-transform: none; letter-spacing: 0; }

/* ---------- tela inicial ---------- */
.screen { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 10; overflow: auto; background: radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.65), rgba(0,0,0,0) 60%); }
.home-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; width: min(1120px, 94vw); }
@media (max-width: 900px) { .home-wrap { grid-template-columns: 1fr; } .hero { display: none; } }
.hero { text-align: center; }
.logo { margin: 0; font-family: var(--h); font-size: clamp(54px, 7.5vw, 104px); line-height: .9; letter-spacing: 4px;
  background: linear-gradient(180deg, #e9fdff 10%, #7fe9ff 45%, #2a9fd0 80%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 var(--ink)) drop-shadow(0 -2px 0 var(--ink)) drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.logo-sub { font-family: var(--h); font-size: clamp(14px, 1.6vw, 22px); letter-spacing: 9px; color: var(--brass); margin-top: 6px; }
.hero-crew { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 18px; height: 170px; }
.hero-crew img { width: 96px; margin: 0 -14px; filter: drop-shadow(0 8px 6px rgba(0,0,0,.5)); animation: bob 2.4s ease-in-out infinite; }
.hero-crew img:nth-child(2) { width: 124px; animation-delay: .4s; z-index: 2; } .hero-crew img:nth-child(3) { animation-delay: .8s; } .hero-crew img:nth-child(4) { width: 84px; animation-delay: 1.2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.tag { color: #cfe3f2; font-size: 17px; font-style: italic; margin: 14px 0 0; text-shadow: 0 2px 4px #000; }
.home-card { width: 100%; max-width: 470px; justify-self: center; }
.field { display: block; font-family: var(--h); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 10px 0 6px; }
.field input { width: 100%; margin-top: 6px; }
.colors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 6px; }
.colors .sw { aspect-ratio: 1; border-radius: 14px; cursor: pointer; border: 3px solid var(--ink); background: #0a1a2c; display: grid; place-items: center; transition: transform .1s; }
.colors .sw img { width: 86%; } .colors .sw:hover { transform: translateY(-2px); }
.colors .sw.sel { box-shadow: 0 0 0 3px var(--brass), 0 0 16px rgba(240,181,68,.6); }
.code-in { text-transform: uppercase; letter-spacing: 6px; text-align: center; font-family: var(--h); }
.rooms-head { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-family: var(--h); text-transform: uppercase; font-size: 13px; color: var(--brass); }
.room-list { max-height: 160px; overflow: auto; margin-top: 8px; }
.room-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 3px solid var(--ink); border-radius: 12px; margin-bottom: 7px; cursor: pointer; background: #10243a; box-shadow: inset 0 0 0 2px #22425f; }
.room-item:hover { background: #163552; } .room-item b { font-family: var(--h); }

/* ---------- lobby ---------- */
.lobby-grid { display: grid; grid-template-columns: 1fr 340px; grid-template-rows: auto 1fr; gap: 16px; width: min(1180px, 96vw); height: min(720px, 92vh); }
@media (max-width: 900px) { .lobby-grid { grid-template-columns: 1fr; height: auto; } }
.lobby-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.lobby-title { font-family: var(--h); font-size: 30px; text-transform: uppercase; }
.code-box { display: flex; align-items: center; gap: 10px; font-family: var(--h); text-transform: uppercase; font-size: 13px; color: var(--muted); }
.code-box b { font-size: 34px; letter-spacing: 8px; color: var(--brass); background: #0a1a2c; border: 3px solid var(--ink); border-radius: 14px; padding: 2px 14px 2px 22px; box-shadow: inset 0 0 0 2px #23435f; }
.deck { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.deck-stage { flex: 1; min-height: 240px; border-radius: 14px; border: 3px solid var(--ink); position: relative; overflow: hidden;
  background: repeating-linear-gradient(90deg, #8a6038 0 30px, #7a5430 30px 31px), linear-gradient(#0000, #0006); background-blend-mode: multiply; }
.deck-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255,220,150,.28), rgba(0,0,0,.55) 75%); pointer-events: none; }
.crew { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px 4px; padding: 16px; }
.mate { width: 112px; text-align: center; animation: pop .35s ease-out backwards; }
.mate img { width: 96px; filter: drop-shadow(0 6px 4px rgba(0,0,0,.45)); }
.mate .nm { font-family: var(--h); font-size: 12px; margin-top: -4px; }
.mate .badge { font-size: 10px; font-family: var(--h); color: var(--brass); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.lobby-actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.lobby-actions .btn.big { flex: 1; }
.side { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.settings { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; align-items: center; font-size: 13px; font-weight: 700; }
.settings input[type=number] { width: 84px; padding: 6px 8px; } .settings select { width: 112px; padding: 6px 8px; }
.settings input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--teal); }
.chat-box { display: flex; flex-direction: column; flex: 1; min-height: 160px; }
.chat-log { flex: 1; overflow-y: auto; font-size: 13.5px; line-height: 1.35; min-height: 80px; padding-right: 4px; user-select: text; }
.chat-box input { margin-top: 8px; }
.msg { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.msg img { width: 30px; height: 30px; flex: none; }
.msg .bub { background: #f3f0e6; color: #1a1f2a; border: 2px solid var(--ink); border-radius: 12px; padding: 5px 10px; max-width: 100%; word-wrap: break-word; }
.msg .bub b { font-family: var(--h); font-size: 11px; display: block; color: #5a6475; text-transform: uppercase; }
.msg.mine { flex-direction: row-reverse; } .msg.mine .bub { background: #c9f5ec; }
.msg.ghost .bub { background: #d9d0ff; } .msg.sys { color: var(--brass); font-style: italic; display: block; font-size: 12.5px; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#hud .btn, #hud input, #hud .icon-btn, #inventory .slot, #actions .act, #taskPanel { pointer-events: auto; }
#hudTL { position: absolute; top: 12px; left: 12px; width: 310px; display: flex; flex-direction: column; gap: 8px; }
#roleBadge { align-self: flex-start; font-family: var(--h); letter-spacing: 2px; padding: 7px 14px; border-radius: 12px; font-size: 14px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); text-transform: uppercase; }
#roleBadge.killer { background: linear-gradient(180deg, #ff6b78, #b3263a); } #roleBadge.survivor { background: linear-gradient(180deg, #3fe6cf, #15907f); color: #062a26; } #roleBadge.ghost { background: linear-gradient(180deg, #8b7bff, #4b3aa8); }
#taskPanel { background: rgba(10,22,38,.86); border: 3px solid var(--ink); border-radius: 14px; box-shadow: inset 0 0 0 2px var(--edge); padding: 10px 12px; font-size: 12.5px; }
#taskPanel .tp-title { font-family: var(--h); text-transform: uppercase; font-size: 12px; color: var(--brass); display: flex; justify-content: space-between; cursor: pointer; }
.tbar { position: relative; height: 18px; background: #06111e; border: 2px solid var(--ink); border-radius: 9px; overflow: hidden; margin: 7px 0; }
.tbar > div { height: 100%; background: linear-gradient(180deg, #7dffa9, #2fbf6a); transition: width .4s; }
.tbar span { position: absolute; inset: 0; text-align: center; font-family: var(--h); font-size: 10px; line-height: 14px; text-shadow: 0 1px 2px #000; }
.tlist { max-height: 34vh; overflow: auto; } .tlist div { padding: 2px 0; display: flex; gap: 6px; align-items: center; }
.tlist .bad { color: #ffb3bb; } .tlist .ok { color: #8ff0b4; text-decoration: line-through; opacity: .75; } .tlist .need { color: var(--brass); font-size: 11px; }
.tlist img { width: 18px; height: 18px; }
#objective { font-size: 12px; color: #d7e6f3; margin-top: 4px; line-height: 1.35; }
#eventsList .ev { background: linear-gradient(180deg, rgba(170,30,48,.92), rgba(110,16,30,.92)); border: 3px solid var(--ink); border-radius: 12px; padding: 7px 10px; font-size: 12px; animation: pulse 1.6s infinite; margin-bottom: 6px; }
#eventsList .ev b { font-family: var(--h); text-transform: uppercase; font-size: 12px; }
#eventsList .ev.good { background: linear-gradient(180deg, rgba(20,130,100,.92), rgba(12,80,62,.92)); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 18px rgba(255,77,94,.6); } }
#hudTC { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); text-align: center; }
#roomName { font-family: var(--h); font-size: 22px; text-transform: uppercase; letter-spacing: 2px; }
#timer { margin-top: 2px; font-size: 12px; color: #cfe0ee; font-weight: 800; text-shadow: 0 1px 3px #000; }
#hudTR { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
#coins { display: flex; align-items: center; gap: 6px; font-family: var(--h); font-size: 22px; color: var(--brass); background: rgba(10,22,38,.86); border: 3px solid var(--ink); border-radius: 14px; padding: 3px 12px 3px 6px; box-shadow: inset 0 0 0 2px var(--edge); }
#coins img { width: 30px; height: 30px; }
#hpBar { position: relative; width: 190px; height: 18px; background: #06111e; border-radius: 9px; overflow: hidden; border: 3px solid var(--ink); }
#hpFill { height: 100%; background: linear-gradient(180deg, #7dffa9, #2fbf6a); width: 100%; transition: width .2s; }
#hpText { position: absolute; inset: 0; font-family: var(--h); font-size: 10px; line-height: 12px; text-align: center; text-shadow: 0 1px 2px #000; }
.hud-buttons { display: flex; gap: 8px; }
#channelBar { position: absolute; bottom: 170px; left: 50%; transform: translateX(-50%); width: 340px; height: 30px; background: #06111e; border-radius: 15px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
#channelFill { height: 100%; width: 0; background: linear-gradient(180deg, #ffe07a, #e0a12a); }
#channelText { position: absolute; inset: 0; font-family: var(--h); font-size: 12px; line-height: 24px; text-align: center; text-shadow: 0 1px 2px #000; text-transform: uppercase; }
#inventory { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slot { width: 64px; height: 64px; background: rgba(10,22,38,.88); border: 3px solid var(--ink); border-radius: 14px; box-shadow: inset 0 0 0 2px var(--edge), 0 4px 0 var(--ink); position: relative; display: grid; place-items: center; cursor: pointer; }
.slot img { width: 44px; height: 44px; pointer-events: none; }
.slot.sel { box-shadow: inset 0 0 0 2px var(--brass), 0 0 14px rgba(240,181,68,.55), 0 4px 0 var(--ink); }
.slot .k { position: absolute; top: 2px; left: 6px; font-family: var(--h); font-size: 10px; color: var(--muted); }
.slot .q { position: absolute; bottom: 1px; right: 5px; font-family: var(--h); font-size: 12px; } .slot.empty { opacity: .45; }
#actions { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 10px; align-items: flex-end; }
.act { width: 96px; display: flex; flex-direction: column; align-items: center; cursor: pointer; position: relative; }
.act .disc { width: 86px; height: 86px; border-radius: 50%; border: 4px solid var(--ink); background: radial-gradient(circle at 40% 30%, #3a6a95, #18324d); box-shadow: 0 5px 0 var(--ink), inset 0 3px 0 rgba(255,255,255,.18); display: grid; place-items: center; position: relative; overflow: hidden; transition: transform .08s; }
.act .disc img { width: 58px; height: 58px; pointer-events: none; }
.act .lb { font-family: var(--h); font-size: 12px; text-transform: uppercase; margin-top: 4px; text-align: center; line-height: 1.05; }
.act.on .disc { box-shadow: 0 5px 0 var(--ink), 0 0 22px rgba(255,216,74,.65), inset 0 3px 0 rgba(255,255,255,.18); }
.act.kill .disc { background: radial-gradient(circle at 40% 30%, #c74050, #6e1622); } .act.kill.on .disc { box-shadow: 0 5px 0 var(--ink), 0 0 24px rgba(255,77,94,.8); }
.act.off { opacity: .5; } .act:active .disc { transform: translateY(3px); }
.act .cd { position: absolute; inset: 0; background: rgba(0,0,0,.62); display: grid; place-items: center; font-family: var(--h); font-size: 30px; }
#ghostChat { position: absolute; left: 12px; bottom: 16px; width: 320px; background: rgba(28,20,60,.9); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px #5a49a8; border-radius: 14px; padding: 10px; pointer-events: auto; }
#ghostChat .chat-log { min-height: 60px; max-height: 150px; } #ghostChat input { width: 100%; margin-top: 6px; }

#toasts { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { background: rgba(10,22,38,.95); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--edge), 0 5px 0 rgba(0,0,0,.4); border-radius: 14px; padding: 8px 16px; font-size: 14px; font-weight: 800; animation: tin .25s ease-out; max-width: 70vw; text-align: center; }
.toast.good { box-shadow: inset 0 0 0 2px #2fbf6a, 0 5px 0 rgba(0,0,0,.4); color: #c8ffd9; } .toast.bad { box-shadow: inset 0 0 0 2px var(--red), 0 5px 0 rgba(0,0,0,.4); color: #ffd0d5; }
.toast.event { background: linear-gradient(180deg, #ffd06b, #d38f1f); color: #2a1702; font-family: var(--h); text-transform: uppercase; font-size: 16px; }
.toast.killer { background: linear-gradient(180deg, #7a1222, #4a0a14); color: #ffc2c9; }
@keyframes tin { from { opacity: 0; transform: translateY(-10px) scale(.95); } }

/* ---------- modais ---------- */
.overlay { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(2,8,16,.78); }
.modal { position: fixed; inset: 0; z-index: 35; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); }
.modal-card { min-width: 340px; max-width: 94vw; max-height: 90vh; overflow: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.modal-head b { font-family: var(--h); text-transform: uppercase; font-size: 20px; color: var(--brass); letter-spacing: 1px; }
.map-card canvas { display: block; max-width: 86vw; max-height: 74vh; border-radius: 12px; border: 3px solid var(--ink); cursor: crosshair; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shop-item { background: #0d2034; border: 3px solid var(--ink); border-radius: 16px; box-shadow: inset 0 0 0 2px #23435f; padding: 12px 10px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.shop-item img { width: 62px; height: 62px; } .shop-item .nm { font-family: var(--h); text-transform: uppercase; font-size: 14px; }
.shop-item .ds { color: var(--muted); font-size: 11.5px; min-height: 30px; } .shop-item .pr { display: flex; align-items: center; gap: 4px; font-family: var(--h); color: var(--brass); font-size: 16px; }
.shop-item .pr img { width: 22px; height: 22px; }
.sab-item { width: 100%; margin-bottom: 8px; text-align: left; }
.help-grid { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 14px; align-items: center; }
.help-grid kbd { font-family: var(--h); background: #0a1a2c; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); padding: 3px 9px; border-radius: 8px; font-size: 12px; }

/* ---------- reunião ---------- */
.meet-card { width: min(1040px, 97vw); max-height: 95vh; display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; padding: 16px;
  background: linear-gradient(180deg, #6b4a2f, #4a3220); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 12px 0 rgba(0,0,0,.4), inset 0 0 0 3px #a87a4a; position: relative; }
.meet-card::before, .meet-card::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe28a, #b97d1c); border: 2px solid var(--ink); top: 10px; left: 10px; }
.meet-card::after { left: auto; right: 10px; }
@media (max-width: 820px) { .meet-card { grid-template-columns: 1fr; overflow: auto; } }
.meet-screen { background: linear-gradient(180deg, #13304a, #0b1d30); border: 3px solid var(--ink); border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 2px #2c5276; display: flex; flex-direction: column; min-height: 0; }
.meet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.meet-head h2 { margin: 0; font-family: var(--h); font-size: 24px; text-transform: uppercase; letter-spacing: 1px; }
.meet-head .reason { font-size: 13px; color: var(--muted); margin-top: 2px; }
.meet-timer { font-family: var(--h); font-size: 14px; color: #2a1702; background: linear-gradient(180deg, #ffd06b, #d38f1f); border: 3px solid var(--ink); border-radius: 12px; padding: 4px 12px; text-transform: uppercase; white-space: nowrap; }
.voters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 9px; align-content: start; overflow: auto; }
.voter { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 3px solid var(--ink); background: #e9e3d3; color: #1a1f2a; cursor: pointer; position: relative; min-height: 62px; box-shadow: 0 4px 0 var(--ink); transition: transform .08s; }
.voter img { width: 44px; height: 44px; flex: none; } .voter b { font-family: var(--h); font-size: 14px; text-transform: uppercase; }
.voter.dead { background: #8b8578; opacity: .6; cursor: default; } .voter.dead b { text-decoration: line-through; }
.voter.can:hover { transform: translateY(-2px); background: #fff7e2; } .voter.chosen { background: #ffe9a8; box-shadow: 0 4px 0 var(--ink), 0 0 0 3px var(--brass); }
.voter .vb { position: absolute; top: -8px; right: 8px; font-family: var(--h); font-size: 10px; background: var(--green); color: #062a14; border: 2px solid var(--ink); border-radius: 8px; padding: 1px 6px; transform: rotate(6deg); }
.voter .vots { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 3px; } .voter .vots img { width: 20px; height: 20px; }
.voter .me { font-size: 10px; color: #5a6475; }
.skip-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; } .skip-row .vots img { width: 22px; height: 22px; }
.result-text { text-align: center; font-family: var(--h); font-size: 20px; text-transform: uppercase; padding: 12px; border-radius: 14px; background: rgba(0,0,0,.35); margin-bottom: 10px; }
.succ { background: linear-gradient(180deg, rgba(150,20,40,.9), rgba(90,10,24,.9)); border: 3px solid var(--ink); border-radius: 14px; padding: 12px; margin-bottom: 10px; text-align: center; font-weight: 800; }
.meet-chat { display: flex; flex-direction: column; min-height: 300px; } .meet-chat .chat-log { max-height: 58vh; }

/* ---------- cinemáticas / fim ---------- */
#cine { position: fixed; inset: 0; z-index: 50; cursor: pointer; }
#cine canvas { width: 100%; height: 100%; display: block; }
.end-card { width: min(820px, 94vw); max-height: 92vh; overflow: auto; text-align: center; }
.end-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 14px 0; text-align: left; }
.end-roles .r { display: flex; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 12px; background: #0d2034; border: 2px solid var(--ink); font-size: 12.5px; }
.end-roles .r img { width: 38px; height: 38px; } .end-roles .r.k { background: #4a1220; } .end-roles .r b { font-family: var(--h); }
.vh { text-align: left; font-size: 12px; color: var(--muted); }
#adminPanel { position: fixed; top: 80px; right: 12px; width: 350px; max-height: calc(100vh - 100px); overflow: auto; z-index: 45; background: rgba(16,12,30,.97); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px #6b4fd6; border-radius: 16px; padding: 12px; font-size: 13px; }
#adminPanel h4 { margin: 10px 0 6px; color: #b9a6ff; font-family: var(--h); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
#adminPanel .ab { display: flex; flex-wrap: wrap; gap: 6px; } #adminPanel .ab .btn { font-size: 10px; padding: 5px 8px; border-radius: 9px; box-shadow: 0 3px 0 var(--ink); }
#adminPanel select { width: 100%; margin-bottom: 6px; padding: 6px; font-size: 13px; }
#adminPanel .log { font-size: 11px; color: var(--muted); max-height: 140px; overflow: auto; border-top: 2px solid #2a2440; margin-top: 8px; padding-top: 6px; user-select: text; }
#adminPanel .res { color: var(--brass); min-height: 16px; margin-top: 6px; font-weight: 800; }
@media (max-width: 1250px) { #actions { bottom: 96px; } .act { width: 80px; } .act .disc { width: 70px; height: 70px; } .act .disc img { width: 46px; height: 46px; } }
@media (max-height: 680px) { .slot { width: 52px; height: 52px; } .slot img { width: 36px; height: 36px; } }

.title, .logo, .logo-sub, .btn, .lobby-title, .meet-head h2, .modal-head b, .panel h3, #roleBadge, #roomName, .act .lb, .voter b, .result-text, .meet-timer, .pill, .field, .rooms-head, .mate .nm, .shop-item .nm, .tp-title, #coins, .code-box b, .end-roles .r b { font-weight: 400; }
.logo { letter-spacing: 2px; } .btn { letter-spacing: .8px; }
