:root { color-scheme: dark; --bg: #07100e; --surface: #101b18; --surface-2: #15231f; --line: #294038; --text: #f2f7f4; --muted: #9fb3aa; --green: #22c55e; --green-2: #15803d; --amber: #f59e0b; --red: #ef4444; --blue: #38bdf8; --felt: #0f6b42; --felt-dark: #06452c; --wood: #7c4a1e; --shadow: 0 16px 40px rgba(0, 0, 0, 0.34); --radius: 8px; --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), var(--bg); background-size: 24px 24px; color: var(--text); font-family: var(--font); } button, input, select, textarea { font: inherit; } button { border: 1px solid var(--line); border-radius: var(--radius); min-height: 38px; padding: 8px 12px; background: #172621; color: var(--text); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; } button:hover { border-color: var(--green); background: #1e322b; } button:active { transform: translateY(1px); } button:disabled { cursor: not-allowed; opacity: 0.5; } button.primary { border-color: #35d772; background: linear-gradient(180deg, #28c864, #179249); color: #04100a; font-weight: 700; } button.wide { width: 100%; } input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #0a1411; color: var(--text); min-height: 38px; padding: 8px 10px; } textarea { resize: vertical; min-height: 120px; font-family: var(--mono); font-size: 12px; line-height: 1.45; } input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid rgba(34, 197, 94, 0.75); outline-offset: 2px; } .shell { width: min(1720px, calc(100vw - 32px)); margin: 0 auto; padding: 18px 0 24px; } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; } .eyebrow { margin: 0 0 4px; color: var(--green); font-family: var(--mono); font-size: 12px; text-transform: uppercase; } h1, h2 { margin: 0; letter-spacing: 0; } h1 { font-size: 26px; } h2 { font-size: 14px; } .status-strip { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; } .pill, .metric { display: inline-flex; align-items: center; min-height: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; background: rgba(16, 27, 24, 0.9); color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; } .pill.ok { border-color: rgba(34, 197, 94, 0.6); color: #86efac; } .pill.error { border-color: rgba(239, 68, 68, 0.7); color: #fecaca; } .workspace { display: grid; grid-template-columns: 300px minmax(520px, 1fr) 340px; gap: 14px; align-items: start; } .panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16, 27, 24, 0.94); box-shadow: var(--shadow); padding: 14px; } .panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .panel-header.compact { margin-top: 4px; } .field { display: grid; gap: 6px; margin-bottom: 10px; } .field span, .select-wrap label { color: var(--muted); font-size: 12px; } .form-grid, .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .check-field { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin: 4px 0 10px; } .check-field input { width: 16px; min-height: 16px; } .divider { height: 1px; background: var(--line); margin: 14px 0; } .file-input { margin-bottom: 10px; } .table-zone { min-width: 0; } .table-toolbar, .transport { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .select-wrap { display: grid; grid-template-columns: auto minmax(120px, 1fr); align-items: center; gap: 8px; } .felt-stage { min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.12), transparent 46%), #08120f; box-shadow: var(--shadow); padding: 20px; } .table-felt { position: relative; height: 520px; min-height: 520px; border: 16px solid var(--wood); border-radius: 48%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1), transparent 58%), radial-gradient(ellipse at center, var(--felt), var(--felt-dark)); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.08), inset 0 0 32px rgba(0, 0, 0, 0.45); overflow: visible; } .table-felt::after { content: ""; position: absolute; inset: 58px 80px; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 50%; pointer-events: none; } .seat-layer { position: absolute; inset: 0; } .seat { position: absolute; width: 154px; min-height: 106px; transform: translate(-50%, -50%); border: 1px solid rgba(148, 163, 184, 0.34); border-radius: var(--radius); background: rgba(6, 16, 12, 0.9); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36); padding: 8px; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; } .seat.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.24), 0 0 24px rgba(34, 197, 94, 0.28); } .seat.folded { opacity: 0.66; } .seat .name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; } .seat .name { min-width: 0; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } .tag { border-radius: 999px; padding: 2px 6px; background: rgba(34, 197, 94, 0.16); color: #bbf7d0; font-family: var(--mono); font-size: 10px; white-space: nowrap; } .seat-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; color: var(--muted); font-family: var(--mono); font-size: 11px; } .hole-cards { margin-top: 7px; } .cards { display: flex; justify-content: center; gap: 6px; } .card { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 58px; border: 1px solid #d7dee3; border-radius: 6px; background: #f8fafc; color: #111827; font-family: var(--mono); font-size: 18px; font-weight: 800; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.22); } .card.red { color: #b91c1c; } .card.back { border-color: #38bdf8; background: linear-gradient(45deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%), #123a52; background-size: 10px 10px; color: transparent; } .board-zone { position: absolute; left: 50%; top: 50%; display: grid; width: min(420px, 52%); transform: translate(-50%, -50%); justify-items: center; gap: 12px; z-index: 3; } .pot-display { border: 1px solid rgba(245, 158, 11, 0.55); border-radius: 999px; padding: 6px 12px; background: rgba(31, 20, 5, 0.7); color: #fde68a; font-family: var(--mono); font-size: 13px; } .board-cards { min-height: 58px; } .frame-caption { width: 100%; min-height: 42px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 9px 12px; background: rgba(3, 7, 18, 0.62); color: var(--text); text-align: center; } .transport { justify-content: center; margin: 10px 0 0; } .transport button { min-width: 48px; } .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .stat { border: 1px solid var(--line); border-radius: var(--radius); background: #0a1411; padding: 9px; } .stat .label { color: var(--muted); font-size: 11px; } .stat .value { margin-top: 4px; font-family: var(--mono); font-size: 16px; } .player-list { display: grid; gap: 8px; } .player-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #0a1411; padding: 8px; } .player-row .seat-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(34, 197, 94, 0.14); color: #bbf7d0; font-family: var(--mono); font-size: 12px; } .player-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .player-row .stack { color: var(--muted); font-family: var(--mono); font-size: 12px; } .event-log { display: grid; max-height: 392px; margin: 0; padding: 0 0 0 20px; gap: 7px; overflow: auto; } .event-log li { border-left: 2px solid rgba(34, 197, 94, 0.35); padding: 2px 0 2px 8px; color: var(--muted); font-size: 13px; } .event-log li.current { color: var(--text); border-left-color: var(--green); } @media (max-width: 1180px) { .workspace { grid-template-columns: 300px minmax(0, 1fr); } .log-panel { grid-column: 1 / -1; } } @media (max-width: 820px) { .shell { width: min(100vw - 20px, 760px); padding-top: 12px; } .topbar { align-items: flex-start; flex-direction: column; } .status-strip { justify-content: flex-start; } .workspace { grid-template-columns: 1fr; } .felt-stage { min-height: 430px; padding: 12px; } .table-felt { height: 390px; min-height: 390px; border-width: 10px; } .seat { width: 124px; min-height: 94px; padding: 7px; } .seat-stats { grid-template-columns: 1fr; } .card { width: 34px; height: 48px; font-size: 15px; } .board-zone { width: 62%; } .table-toolbar { align-items: stretch; flex-direction: column; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } }