:root {
	--ink: #191816;
	--paper: #f5f0e6;
	--cream: #fffaf0;
	--rail: #7b1d28;
	--felt: #14594f;
	--felt-dark: #0d3835;
	--chip: #e7b84b;
	--muted: #766f65;
	--line: rgba(25, 24, 22, 0.18);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(90deg, rgba(25, 24, 22, 0.045) 1px, transparent 1px) 0 0 / 44px 44px, var(--paper); -webkit-tap-highlight-color: rgba(231, 184, 75, 0.28); }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: wait; opacity: 0.55; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(231, 184, 75, 0.72); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 10; padding: 10px 14px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.lobby-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr); }
.lobby-hero { min-height: 100vh; padding: clamp(34px, 5vw, 74px); display: grid; grid-template-rows: auto 1fr; gap: 40px; color: var(--cream); background: radial-gradient(circle at 62% 46%, rgba(255,255,255,.09), transparent 24%), linear-gradient(145deg, var(--felt), var(--felt-dark)); overflow: hidden; }
.eyebrow { margin: 0 0 12px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lobby-hero .eyebrow { color: rgba(255,250,240,.62); }
.hero-copy h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 116px); line-height: .78; letter-spacing: -.055em; font-weight: 700; }
.hero-copy h1 span { display: block; color: var(--chip); }
.hero-intro { max-width: 470px; margin: 28px 0 0; color: rgba(255,250,240,.72); font-size: 16px; line-height: 1.7; }

.table-mark { position: relative; width: min(92%, 600px); aspect-ratio: 1.75; align-self: center; justify-self: center; border: 10px solid var(--rail); border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 35px 80px rgba(0,0,0,.24); }
.table-mark::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.table-mark > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.table-mark small, .table-mark span { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: .12em; color: rgba(255,250,240,.52); }
.table-mark strong { display: block; font-family: Georgia, serif; color: var(--chip); font-size: clamp(72px, 9vw, 126px); line-height: .8; }
.seat-mark { position: absolute; z-index: 1; display: grid; place-items: center; width: 42px; height: 28px; border: 1px solid rgba(255,255,255,.28); background: var(--felt-dark); color: var(--cream) !important; }
.seat-mark-1 { left: 50%; top: -20px; transform: translateX(-50%); }
.seat-mark-2 { right: 8%; top: 12%; }.seat-mark-3 { right: 8%; bottom: 12%; }
.seat-mark-4 { left: 50%; bottom: -20px; transform: translateX(-50%); }
.seat-mark-5 { left: 8%; bottom: 12%; }.seat-mark-6 { left: 8%; top: 12%; }

.lobby-desk { padding: clamp(34px, 5vw, 72px); display: grid; align-content: center; gap: 28px; background: rgba(255,250,240,.74); }
.lobby-desk header h2 { margin: 0; max-width: 520px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.035em; }
.lobby-desk header .eyebrow { color: var(--rail); }
label span { display: block; margin-bottom: 7px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; }
input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: rgba(255,255,255,.78); }
.name-field { max-width: 520px; }
.desk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.action-card { position: relative; min-width: 0; display: grid; align-content: start; gap: 16px; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.52); }
.action-card h3 { margin: 0 0 6px; font-size: 17px; }.action-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.action-number { position: absolute; right: 14px; top: 12px; font: 700 11px "SFMono-Regular", Consolas, monospace; color: rgba(25,24,22,.28); }
.action-card button { min-height: 46px; border: 1px solid rgba(25,24,22,.24); border-radius: 4px; background: var(--cream); color: var(--ink); }
.action-card button:hover { border-color: rgba(25,24,22,.52); background: #fff; }
.action-card .primary-action { background: var(--chip); font-weight: 800; }
.room-field { display: block; }
.recent-room { justify-self: start; border: 0; border-bottom: 1px solid var(--ink); padding: 3px 0; background: transparent; color: var(--ink); }
.recent-room:hover { color: var(--rail); border-color: var(--rail); }
.lobby-message { min-height: 22px; margin: 0; color: var(--felt); font-size: 13px; }.lobby-message.error { color: var(--rail); }

@media (max-width: 900px) {
	.lobby-shell { grid-template-columns: 1fr; }
	.lobby-hero { min-height: 620px; }
	.lobby-desk { min-height: 680px; }
}
@media (max-width: 580px) {
	.lobby-hero, .lobby-desk { padding: 26px 18px; }
	.lobby-hero { min-height: 530px; }
	.desk-actions { grid-template-columns: 1fr; }
	.table-mark { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
	.table-mark { animation: table-arrive 500ms ease-out both; }
	@keyframes table-arrive { from { opacity: 0; transform: translateY(12px) scale(.98); } }
}
