/* Truco Online · Ajustes no layout do aplicativo (16/11/2026) + pano da mesa */
html.laj-on .laj-src { display: none !important; }
.laj { max-width: 720px; margin: 0 auto; padding: 8px 16px 30px; display: flex; flex-direction: column; gap: 10px; font-family: Nunito, system-ui, sans-serif; color: #F0F1F9; animation: laj-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes laj-in { from { opacity: 0; transform: translateY(8px); } }
.laj * { box-sizing: border-box; }
.laj-title { margin: 0 0 4px; text-align: center; font: 400 38px/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.laj-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(120deg, #3a2a8a, #24195a 60%, #1c1446); border: 1px solid rgba(178, 160, 255, .3); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.laj-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.laj-who b { font: 900 21px/1.15 Nunito, sans-serif; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.laj-who span { font-size: 13px; font-weight: 700; color: #d6d3ec; }
.laj-who strong { color: #fff; font-weight: 900; }
.laj-who .warn { color: #fbbf24; }
.laj-who .ok { color: #6ee7b7; }
.laj-av { flex: none; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #ffe7a0, #f52ab6, #7c3aed, #ffe7a0); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.laj-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #2a1d5c; border: 2px solid #1c1446; }
.laj-av.big { width: 96px; height: 96px; }
.laj-cta { width: 100%; min-height: 46px; border: 0; border-radius: 14px; cursor: pointer; font: 900 15px Nunito, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #ff5fcf, #F52AB6 55%, #c41592); box-shadow: 0 8px 20px rgba(245, 42, 182, .35), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .15s, filter .2s; }
.laj-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.laj-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.laj-stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(178, 160, 255, .16); }
.laj-stats b { font: 400 28px/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.laj-stats b small { font-size: 15px; margin-right: 2px; color: #F7D774; }
.laj-stats div:first-child b { color: #F7D774; }
.laj-stats span { font-size: 12px; font-weight: 700; color: #9c99bc; }
.laj-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; text-align: left; color: #fff; cursor: pointer; font: inherit;
  background: linear-gradient(180deg, rgba(58, 42, 138, .55), rgba(36, 25, 90, .55)); border: 1px solid rgba(178, 160, 255, .22); transition: border-color .15s, transform .15s, background .15s; }
button.laj-row:hover { border-color: rgba(245, 42, 182, .5); transform: translateY(-1px); }
div.laj-row { cursor: default; }
.laj-row.col { flex-direction: column; align-items: stretch; gap: 12px; }
.laj-rh { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
div.laj-rh { cursor: default; }
.laj-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #ff5fcf, #e11d9a); box-shadow: 0 4px 10px rgba(245, 42, 182, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.laj-ic svg { width: 18px; height: 18px; }
.laj-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.laj-t b { font: 900 16px/1.2 Nunito, sans-serif; }
.laj-t small { font-size: 12px; font-weight: 700; color: #a5a2c7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.laj-chev svg { width: 16px; height: 16px; color: #b9b6d6; display: block; transition: transform .2s; }
.laj-row.open .laj-rh .laj-chev svg { transform: rotate(90deg); }
.laj-tg { position: relative; flex: none; width: 54px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); transition: background .2s; }
.laj-tg i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .35); transition: left .2s cubic-bezier(.2, .8, .2, 1); }
.laj-tg b { position: absolute; top: 50%; right: 7px; transform: translateY(-50%); font: 900 10px/1 Nunito, sans-serif; color: #c9c6e2; }
.laj-tg.on { background: linear-gradient(180deg, #34d399, #16a34a); }
.laj-tg.on i { left: 29px; }
.laj-tg.on b { right: auto; left: 7px; color: #fff; }
.laj-nick { display: flex; gap: 8px; }
.laj-nick input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(178, 160, 255, .35); background: #0b0820; color: #fff; font: 800 15px Nunito, sans-serif; outline: 0; }
.laj-nick input:focus { border-color: #F52AB6; box-shadow: 0 0 0 3px rgba(245, 42, 182, .2); }
.laj-nick button { padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer; font: 900 14px Nunito, sans-serif; color: #fff; background: linear-gradient(180deg, #ff5fcf, #F52AB6 55%, #c41592); }
.laj-hint { margin: -4px 0 0; font-size: 11.5px; font-weight: 700; color: #8f8cb0; }
.laj-avbox { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: rgba(11, 8, 32, .55); border: 1px solid rgba(178, 160, 255, .16); }
.laj-avbox > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.laj-avbox b { font: 900 16px Nunito, sans-serif; }
.laj-avbox small { font-size: 12.5px; font-weight: 700; color: #a5a2c7; }
.laj-foto { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 7px 12px; border-radius: 10px; cursor: pointer; font: 900 12.5px Nunito, sans-serif; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(178, 160, 255, .3); }
.laj-foto svg { width: 15px; height: 15px; }
.laj-foto:disabled { opacity: .55; cursor: not-allowed; }
.laj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.laj-grid button { aspect-ratio: 1; padding: 0; border-radius: 50%; cursor: pointer; border: 2px solid transparent; background: #2a1d5c; overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.laj-grid button:hover { transform: scale(1.08); }
.laj-grid button.on { border-color: #F7D774; box-shadow: 0 0 0 3px rgba(247, 215, 116, .3), 0 6px 14px rgba(0, 0, 0, .4); }
.laj-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.laj-panos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.laj-panos button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; cursor: pointer; color: #d6d3ec; font: 800 12px Nunito, sans-serif; background: rgba(11, 8, 32, .5); border: 1.5px solid rgba(178, 160, 255, .16); transition: border-color .15s, transform .15s; }
.laj-panos button:hover { transform: translateY(-2px); }
.laj-panos button.on { border-color: #F7D774; color: #fff; box-shadow: 0 0 0 3px rgba(247, 215, 116, .2); }
.laj-panos img { width: 100%; aspect-ratio: 260 / 128; object-fit: contain; display: block; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); transition: transform .2s; }
.laj-panos button:hover img { transform: scale(1.05); }
.laj-panos button.on span { color: #F7D774; font-weight: 900; }
.pn-original { background: radial-gradient(ellipse at 50% 40%, #5c6068, #3a3d44 70%, #2a2c31); }
.pn-verde { background: radial-gradient(ellipse at 50% 40%, #2f9a62, #16653d 70%, #0d4429); }
.pn-azul { background: radial-gradient(ellipse at 50% 40%, #2f6fb8, #1b4a85 70%, #10305a); }
.pn-vinho { background: radial-gradient(ellipse at 50% 40%, #9a2f4c, #6a1a31 70%, #451020); }
.pn-grafite { background: radial-gradient(ellipse at 50% 40%, #33343a, #1d1e22 70%, #121316); }
.laj-ver { font-size: 12.5px; font-weight: 800; color: #9c99bc; }
@media (max-width: 640px) {
  .laj { padding: 4px 10px 24px; }
  .laj-stats { grid-template-columns: repeat(2, 1fr); }
  .laj-panos { grid-template-columns: repeat(3, 1fr); }
  .laj-av { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) { .laj { animation: none; } }

/* ---------- pano da mesa escolhido nos ajustes (vale em todas as mesas do site) ---------- */
html[data-pano] .mesa-root .mesa-felt { background: radial-gradient(ellipse 62% 52% at 50% 40%, var(--mesa-felt-3) 0%, var(--mesa-felt) 55%, var(--mesa-felt-2) 100%) !important; }
html[data-pano="cinza"] .mesa-root { --mesa-felt: #5d6169 !important; --mesa-felt-2: #3e4147 !important; --mesa-felt-3: #6a6e76 !important; }
html[data-pano="verde"] .mesa-root { --mesa-felt: #25744e !important; --mesa-felt-2: #165036 !important; --mesa-felt-3: #2c8458 !important; }
html[data-pano="azul"] .mesa-root { --mesa-felt: #325b86 !important; --mesa-felt-2: #213f5f !important; --mesa-felt-3: #3a6795 !important; }
html[data-pano="vinho"] .mesa-root { --mesa-felt: #7f324c !important; --mesa-felt-2: #561f33 !important; --mesa-felt-3: #8e3956 !important; }
/* 16/11/2026: sair da conta em destaque */
.laj-row.laj-out b { color: #ff7a8a; }
.laj-row.laj-out .laj-ic { color: #ff7a8a; }
