:root {
  --bg: #11161d;
  --panel: #1b232d;
  --panel2: #232d3a;
  --text: #e8edf2;
  --muted: #93a1b1;
  --accent: #3fa36b;
  --accent2: #e0b14c;
  --danger: #d05454;
  --felt: #1f6b45;
  --felt-dark: #174f33;
  --card: #fbfbf7;
  --red: #c4262e;
  --black: #1a1a1a;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
h1, h2, h3 { margin: 0 0 12px; }
button {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid #3a4756;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 15px;
  cursor: pointer;
}
button:hover { filter: brightness(1.15); }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
button.ghost { background: transparent; }
button.small { padding: 4px 10px; font-size: 13px; }
input, select {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid #3a4756;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 15px;
}
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }

.screen { min-height: 100%; }
#screen-lobby, #screen-room { display: flex; align-items: center; justify-content: center; padding: 16px; }
.box {
  background: var(--panel);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.box.wide { max-width: 640px; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.row > input { flex: 1; }
.code-input { text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.code { font-family: ui-monospace, monospace; letter-spacing: .15em; color: var(--accent2); }
.rules summary { cursor: pointer; color: var(--muted); }
.rules ul { padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.toast {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  background: var(--danger); color: #fff; padding: 10px 18px; border-radius: 8px;
  z-index: 100; box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.toast.info { background: var(--panel2); }

/* Δωμάτιο */
.seats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seat-box {
  background: var(--panel2); border-radius: var(--radius); padding: 12px;
  display: flex; flex-direction: column; gap: 6px; min-height: 86px;
}
.seat-box .seat-title { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.seat-box .seat-name { font-weight: 600; font-size: 16px; }
.seat-box.team0 { border-left: 4px solid var(--accent); }
.seat-box.team1 { border-left: 4px solid var(--accent2); }
.seat-box .seat-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Παιχνίδι */
.topbar {
  display: flex; align-items: center; gap: 18px; padding: 8px 14px;
  background: var(--panel); flex-wrap: wrap;
}
.topbar > div:nth-child(3) { margin-left: auto; }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 10px; padding: 10px; }
.table-wrap { display: flex; flex-direction: column; gap: 10px; min-width: 0; zoom: var(--scale, 1); }
.table {
  position: relative;
  background: radial-gradient(ellipse at center, var(--felt), var(--felt-dark));
  border-radius: 20px;
  border: 6px solid #3b2a1c;
  height: 460px;
}
.zoom { display: flex; align-items: center; gap: 4px; }
.zoom span { min-width: 44px; text-align: center; font-size: 13px; color: var(--muted); }
.info {
  position: absolute; background: rgba(0,0,0,.45); border-radius: 10px; padding: 8px 12px;
  font-size: 13px; color: #e6f2ea; line-height: 1.35;
}
.info-trump { top: 10px; left: 10px; display: flex; align-items: center; gap: 10px; }
.info-trump .big { font-size: 34px; line-height: 1; }
.info-trump .big.red { color: #ff6b6b; }
.info-trump b { color: #fff; }
.info-score { top: 10px; right: 10px; text-align: right; }
.info-score table { border-collapse: collapse; }
.info-score td { padding: 1px 6px; text-align: right; }
.info-score td:first-child { text-align: left; color: #b9d6c4; }
.info-score .pts { font-size: 18px; font-weight: 700; color: #fff; }
.info-score .me { color: var(--accent2); }
.info-score .goal { text-align: right; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.18); line-height: 1.35; }
.info-score .goal b { color: #fff; }
.info-score .goal b.ok { color: #6fe39a; }
.info-score .goal .fail { color: #ff6b6b; font-size: 12px; }
.seat .badge.bid { background: #fff; color: #222; }
.seat .badge.bid.red { color: var(--red); }
.seat {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: rgba(0,0,0,.35); padding: 6px 12px; border-radius: 10px; min-width: 110px;
  font-size: 14px; text-align: center;
}
.seat.turn { box-shadow: 0 0 0 3px var(--accent2); }
.seat.disconnected { opacity: .55; }
.seat .seat-name { font-weight: 600; white-space: nowrap; }
.seat .seat-meta { font-size: 12px; color: #cfe3d6; }
.seat .decls { font-size: 11px; color: var(--accent2); }
.seat .decls .invalid { color: #b7c4d0; text-decoration: line-through; }
.seat .badge { font-size: 11px; background: var(--accent2); color: #222; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.seat.pos-top { top: 10px; left: 50%; transform: translateX(-50%); }
.seat.pos-bottom { bottom: 10px; left: 50%; transform: translateX(-50%); }
.seat.pos-left { left: 10px; top: 50%; transform: translateY(-50%); }
.seat.pos-right { right: 10px; top: 50%; transform: translateY(-50%); }

.trick {
  position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%);
  width: 320px; height: 250px;
}
.trick-card { position: absolute; }
.trick-card.pos-top { top: 0; left: 50%; transform: translateX(-50%); }
.trick-card.pos-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.trick-card.pos-left { left: 0; top: 50%; transform: translateY(-50%); }
.trick-card.pos-right { right: 0; top: 50%; transform: translateY(-50%); }
.faceup {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 13px;
}

.card {
  display: inline-flex; flex-direction: column; justify-content: space-between;
  width: 58px; height: 82px; background: var(--card); border-radius: 7px;
  color: var(--black); padding: 5px 6px; font-weight: 700; font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4); user-select: none; position: relative;
  border: 2px solid transparent;
}
.card.red { color: var(--red); }
.card .suit { font-size: 26px; align-self: flex-end; line-height: 1; }
.card.small { width: 40px; height: 56px; font-size: 13px; padding: 3px 4px; }
.card.small .suit { font-size: 18px; }
.card.trump::after {
  content: "★"; position: absolute; top: 3px; right: 5px; font-size: 10px; color: var(--accent2);
}

.hand { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 90px; padding: 4px; }
.hand .card { cursor: default; transition: transform .12s; }
.hand .card.legal { cursor: pointer; border-color: var(--accent); }
.hand .card.legal:hover { transform: translateY(-8px); }
.hand .card.illegal { filter: grayscale(1) brightness(.4); opacity: .8; }
.hand .card.legal { box-shadow: 0 0 0 2px var(--accent), 0 4px 10px rgba(0,0,0,.5); }

.action {
  background: var(--panel); border-radius: var(--radius); padding: 12px;
  display: flex; flex-direction: column; gap: 10px; align-items: center; min-height: 56px; text-align: center;
}
.action .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.action .suit-btn { font-size: 22px; padding: 6px 16px; }
.action .suit-btn.red { color: var(--red); }
.action .decl-list { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.action .decl-list label { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 15px; }

.lasttrick { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; min-height: 60px; flex-wrap: wrap; }

.side { background: var(--panel); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 400px; max-height: calc(100vh - 80px); }
.tabs { display: flex; border-bottom: 1px solid #2d3947; }
.tab { flex: 1; background: transparent; border: none; border-radius: 0; padding: 10px; color: var(--muted); }
.tab.active { color: var(--text); border-bottom: 2px solid var(--accent); }
.tabpane { flex: 1; overflow-y: auto; padding: 10px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
#tab-chat { display: flex; }
#chat-lines { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
#chat-form { display: flex; gap: 6px; margin-top: 8px; }
#chat-form input { flex: 1; }
.chat-line b { color: var(--accent2); }
.chat-line.sys { color: var(--muted); font-style: italic; }
.log-line { color: var(--muted); }
.log-line:last-child { color: var(--text); }

table.scores { width: 100%; border-collapse: collapse; font-size: 13px; }
table.scores th, table.scores td { padding: 4px 6px; text-align: right; border-bottom: 1px solid #2d3947; }
table.scores th:first-child, table.scores td:first-child { text-align: left; }
table.scores tr.total td { font-weight: 700; color: var(--accent2); }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px;
}
.modal-box { background: var(--panel); border-radius: 14px; padding: 22px; max-width: 520px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.modal-box .outcome { font-size: 18px; font-weight: 700; }
.modal-box .outcome.good { color: var(--accent); }
.modal-box .outcome.bad { color: var(--danger); }
.modal-box table { width: 100%; border-collapse: collapse; }
.modal-box td, .modal-box th { padding: 6px 8px; text-align: right; border-bottom: 1px solid #2d3947; }
.modal-box td:first-child, .modal-box th:first-child { text-align: left; }
.modal-box tr.total td { font-weight: 700; font-size: 17px; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side { max-height: 300px; min-height: 220px; }
  .side.collapsed { display: none; }
  .table { height: 400px; }
  .trick { width: 250px; height: 210px; top: 56%; }
  .seat { min-width: 80px; padding: 4px 8px; font-size: 12px; }
  .card { width: 48px; height: 68px; font-size: 15px; }
  .card .suit { font-size: 20px; }
}
@media (min-width: 901px) {
  #btn-chat-toggle { display: none; }
}
.seat .decls .decl-cards { color: #fff; background: rgba(255,255,255,.15); border-radius: 4px; padding: 0 4px; }

/* Νικητής μπάζας */
.card.win { border-color: var(--accent2); box-shadow: 0 0 0 3px var(--accent2), 0 0 22px 6px rgba(224,177,76,.75); animation: win-pulse .7s ease-in-out infinite alternate; z-index: 2; }
@keyframes win-pulse { from { transform: scale(1); } to { transform: scale(1.12); } }
.trick-winner {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--accent2); color: #222; font-weight: 700; padding: 6px 14px; border-radius: 20px;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.4); animation: pop-in .25s ease-out; z-index: 3;
}
@keyframes pop-in { from { transform: translate(-50%, -50%) scale(.4); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.seat.won { box-shadow: 0 0 0 3px var(--accent2), 0 0 18px 4px rgba(224,177,76,.6); background: rgba(224,177,76,.25); }
.trick.collect .trick-card { transition: transform .8s ease-in, opacity .8s ease-in; opacity: 0; }
.trick.collect .trick-winner { transition: opacity .6s; opacity: 0; }
.trick.collect.to-pos-bottom .trick-card.pos-bottom { transform: translate(-50%, 160px); }
.trick.collect.to-pos-bottom .trick-card.pos-top { transform: translate(-50%, 340px); }
.trick.collect.to-pos-bottom .trick-card.pos-left { transform: translate(110px, 150px); }
.trick.collect.to-pos-bottom .trick-card.pos-right { transform: translate(-110px, 150px); }
.trick.collect.to-pos-top .trick-card.pos-bottom { transform: translate(-50%, -340px); }
.trick.collect.to-pos-top .trick-card.pos-top { transform: translate(-50%, -160px); }
.trick.collect.to-pos-top .trick-card.pos-left { transform: translate(110px, -210px); }
.trick.collect.to-pos-top .trick-card.pos-right { transform: translate(-110px, -210px); }
.trick.collect.to-pos-left .trick-card.pos-bottom { transform: translate(-330px, -100px); }
.trick.collect.to-pos-left .trick-card.pos-top { transform: translate(-330px, 100px); }
.trick.collect.to-pos-left .trick-card.pos-left { transform: translate(-220px, -50%); }
.trick.collect.to-pos-left .trick-card.pos-right { transform: translate(-440px, -50%); }
.trick.collect.to-pos-right .trick-card.pos-bottom { transform: translate(230px, -100px); }
.trick.collect.to-pos-right .trick-card.pos-top { transform: translate(230px, 100px); }
.trick.collect.to-pos-right .trick-card.pos-left { transform: translate(440px, -50%); }
.trick.collect.to-pos-right .trick-card.pos-right { transform: translate(220px, -50%); }
.action .claims { font-size: 13px; color: var(--accent2); }

/* Παράθυρο αγοράς */
.bid-popup {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--panel); border: 2px solid var(--accent2); border-radius: 16px; padding: 18px 24px;
  z-index: 60; box-shadow: 0 10px 40px rgba(0,0,0,.6); cursor: pointer; animation: pop-in .3s ease-out; min-width: 300px;
}
.bid-popup .bid-title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.bid-popup .bid-body { display: flex; align-items: center; gap: 18px; justify-content: center; }
.bid-popup .bid-suit { font-size: 64px; line-height: 1; }
.bid-popup .bid-suit.red { color: #ff6b6b; }
.bid-popup .bid-text { font-size: 16px; line-height: 1.4; }
.bid-popup .bid-card { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }

/* Συννεφάκι δήλωσης (Μπουρλότ) */
.seat .bubble {
  --bb: #fff;
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  background: var(--bb); color: #222; font-weight: 800; font-size: 16px; padding: 6px 14px; border-radius: 14px;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.4); animation: bubble-in .25s ease-out; z-index: 5;
}
@keyframes bubble-in { from { opacity: 0; } to { opacity: 1; } }
.seat .bubble::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: var(--bb);
}
/* Στην πάνω θέση το συννεφάκι βγαίνει δεξιά, για να μην πέφτει πάνω στα φύλλα της μπάζας */
.seat.pos-top .bubble { bottom: auto; top: 50%; left: calc(100% + 12px); transform: translateY(-50%); }
.seat.pos-top .bubble::after { left: auto; right: 100%; top: 50%; transform: translateY(-50%); border-top-color: transparent; border-right-color: var(--bb); }
.table .seat { z-index: 4; }
.seat .bubble.tick { --bb: var(--accent); color: #fff; font-size: 18px; padding: 2px 12px; }

/* Φυλή που ακολουθούμε και φύλλο που κερδίζει προς το παρόν */
.led-suit {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; color: #fff; opacity: .9; pointer-events: none;
}
.led-suit .sym { font-size: 38px; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.led-suit.red .sym { color: #ff7b7b; }
.led-suit .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #d8eadf; }
.card.leading { border-color: var(--accent2); box-shadow: 0 0 0 3px var(--accent2), 0 0 14px 3px rgba(224,177,76,.55); }
.card.leading::before { content: "★"; position: absolute; bottom: 4px; left: 6px; font-size: 12px; color: var(--accent2); }
.seat .rename { background: transparent; border: none; color: #cfe3d6; padding: 0 4px; font-size: 13px; cursor: pointer; }
.seat .bubble.belote { --bb: var(--accent2); color: #222; font-size: 13px; padding: 3px 10px; animation: none; }

/* Dealer button και τράβηγμα μοιραστή */
.seat .dealer-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 6px;
  border-radius: 50%; background: #fff; color: #222; font-weight: 800; font-size: 12px; border: 2px solid var(--accent2);
  box-shadow: 0 2px 6px rgba(0,0,0,.4); vertical-align: middle;
}
.draw-list { display: flex; gap: 14px; justify-content: center; margin-top: 6px; }
.draw-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; padding: 6px; border-radius: 10px; }
.draw-item.lowest { background: rgba(224,177,76,.2); box-shadow: 0 0 0 2px var(--accent2); }

/* Εφέ μοιράσματος */
.fly-card {
  position: absolute; width: 44px; height: 62px; border-radius: 6px; z-index: 8; pointer-events: none;
  transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1;
  background: repeating-linear-gradient(45deg, #1d3f8a 0 4px, #16306b 4px 8px);
  border: 3px solid #f3f3ee; box-shadow: 0 4px 12px rgba(0,0,0,.5);
  transition: left .42s cubic-bezier(.2,.8,.3,1), top .42s cubic-bezier(.2,.8,.3,1), transform .42s ease, opacity .15s ease .35s;
}
.fly-card.face { background: none; border: none; box-shadow: none; width: auto; height: auto; }
.hand.dealing .card { opacity: 0; transform: translateY(12px); }
.hand .card { transition: opacity .35s ease, transform .2s ease; }

/* Παράθυρο αποτελέσματος αέρα */
.decl-shown { display: flex; flex-direction: column; gap: 8px; }
.decl-row { display: flex; align-items: center; gap: 14px; justify-content: space-between; background: rgba(255,255,255,.05); border-radius: 10px; padding: 6px 10px; }
.decl-row .decl-who { font-size: 14px; line-height: 1.3; }
.decl-cards-row { display: flex; gap: 4px; }

/* Ετικέτα ΠΑΣΟ κάτω από τον παίκτη */
.seat .pass-tag {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  background: #d05454; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .08em; padding: 3px 12px; border-radius: 12px;
  white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.4); z-index: 4;
}
.seat .pass-tag::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%);
  border: 7px solid transparent; border-bottom-color: #d05454;
}
.seat.pos-bottom .pass-tag { top: auto; bottom: calc(100% + 8px); }
.seat.pos-bottom .pass-tag::before { bottom: auto; top: 100%; border-bottom-color: transparent; border-top-color: #d05454; }
.seat .pass-tag.pop { animation: pass-pop .35s ease-out; }
@keyframes pass-pop { from { transform: translateX(-50%) scale(.3); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
.seat .bubble.ruff { --bb: #e0b14c; color: #222; }

/* Διάλογος εφαρμογής */
.dialog-box { max-width: 380px; z-index: 70; }
.dialog-box .dialog-text { color: var(--muted); }
.dialog-box input { width: 100%; }
#dialog { z-index: 65; }

/* Μπουρλότ Ανοιχτό */
.open-cards { display: flex; gap: 4px; margin-top: 4px; }
.suit-btn.selected { box-shadow: 0 0 0 3px var(--accent2); }
.hand .card.received { outline: 2px dashed var(--accent2); outline-offset: 2px; }

/* ---------- Λογαριασμοί / λόμπι ---------- */
.auth-tabs { margin-bottom: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form input { width: 100%; }
.auth-msg { margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: rgba(208,84,84,.15); color: #ff8a8a; font-size: 14px; }
.auth-msg.ok { background: rgba(63,163,107,.15); color: #7fe0a4; }
.user-card { background: var(--panel2); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.uc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.uc-name { font-size: 18px; font-weight: 700; }
.uc-level { color: var(--accent2); font-weight: 600; font-size: 14px; }
.uc-bar { height: 8px; background: #121921; border-radius: 4px; overflow: hidden; }
.uc-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .4s; }
.uc-stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.uc-stats b { color: var(--text); }
.user-actions { justify-content: flex-start; }
.panel-box { max-width: 720px; max-height: 90vh; overflow: auto; }
.panel-box label { margin-top: 6px; }
.panel-box label input { width: 100%; }
.lb { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb th { text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid #2d3947; padding: 6px 8px; }
.lb td { padding: 6px 8px; border-bottom: 1px solid #222c38; text-align: left; }
.lb tr.me td { color: var(--accent2); font-weight: 600; }
.lb .ok { color: #7fe0a4; } .lb .bad { color: #ff8a8a; }
.lb .acts { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-wrap { overflow: auto; }
.lessons { display: flex; flex-direction: column; gap: 8px; }
.award { margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: rgba(224,177,76,.15); color: var(--accent2); font-weight: 600; text-align: center; }

/* ---------- Οδηγός εκμάθησης ---------- */
.coach { background: #2a2416; border: 1px solid var(--accent2); border-radius: 12px; padding: 10px 14px; color: #f3ead3; font-size: 14px; line-height: 1.45; }
.coach-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; color: var(--accent2); margin-bottom: 4px; }
.coach-body p { margin: 4px 0; }
.coach-body ul, .coach-body ol { margin: 4px 0; padding-left: 20px; }
.coach-body .ok { color: #7fe0a4; } .coach-body .bad { color: #ff8a8a; }
.coach-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.vals { border-collapse: collapse; margin: 6px 0; font-size: 13px; }
.vals th, .vals td { padding: 2px 8px; text-align: center; border: 1px solid #4a3f24; }
.vals td:first-child, .vals th:first-child { text-align: left; font-weight: 600; }
