#app.start-screen { max-width: 1440px; margin: auto; padding: 44px 5% 42px; }
.start-screen {
  --ink: #5b2217;
  --line: #d5bfb0;
  --panel: #f2e7dc;
}
.start-screen .start-label {
  color: var(--ink);
  font: 500 12px/1.5 monospace;
  letter-spacing: 1.5px;
}
.start-screen.landing-screen { display: grid; grid-template-columns: 1.3fr 1fr; gap: 7%; }
.start-hero h1 { margin: 18px 0; font: 400 clamp(38px, 5vw, 74px)/1.03 Georgia, serif; }
.start-hero h1 em { color: #87513e; }
.start-cards {
  display: flex; position: relative; justify-content: center; align-items: center;
  height: clamp(200px, 25vw, 285px); margin: 20px 0 12px;
  background: radial-gradient(#e3cbbb, transparent 68%);
}
.start-cards img {
  position: absolute; height: 89%; width: auto; border-radius: 10px;
  box-shadow: 0 14px 20px #5b221728;
}
.start-cards img:first-child { transform: translateX(-68%) rotate(-14deg); }
.start-cards img:nth-child(2) { z-index: 1; transform: rotate(-1deg); }
.start-cards img:last-child { transform: translateX(68%) rotate(14deg); }
.start-hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px;
  border-top: 1px solid var(--line); padding-top: 18px; font: 12px/1.6 monospace;
}
.entry-panel, .start-lobby { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
.entry-panel { align-self: start; padding: 32px; }
.entry-panel h2, .lobby-heading h1, .start-lobby h2 {
  margin: 14px 0 20px; font: 400 clamp(30px, 4vw, 42px)/1.12 'Segoe UI', sans-serif;
}
.entry-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.entry-tabs button { flex: 1; background: transparent; border: 0; border-radius: 0; padding: 12px 4px; }
.entry-tabs button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--ink); font-weight: 650; }
.entry-tabs button:hover, .entry-tabs button:disabled { transform: none; }
.entry-panel input, .entry-panel select, .start-lobby select { display: block; width: 100%; margin-top: 6px; }
#code { text-transform: uppercase; font-family: monospace; letter-spacing: 2px; }
.entry-panel .primary, .lobby-controls .primary {
  width: 100%; display: flex; justify-content: space-between; gap: 10px; margin-top: 16px;
}
.entry-note { font-size: 13px; color: #73594e; }
.entry-panel details { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 20px; }
.entry-panel summary { cursor: pointer; }
.lobby-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 22px; }
.lobby-invite { display: flex; align-items: center; gap: 14px; background: transparent; white-space: nowrap; font: 12px monospace; }
.lobby-invite b { font-size: 20px; letter-spacing: 2px; }
.lobby-seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.lobby-seat {
  min-height: 78px; display: flex; flex-direction: column; justify-content: center;
  gap: 3px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 5px; overflow-wrap: anywhere;
}
.lobby-seat.you { border-color: var(--ink); background: var(--panel); }
.lobby-seat.empty-seat { border-style: dashed; font-size: 13px; color: #73594e; }
.lobby-seat small { font: 11px/1.5 monospace; text-transform: uppercase; }
.start-lobby { display: grid; grid-template-columns: 1.7fr 1fr; gap: 35px; padding: 32px; }
.lobby-art { display: flex; align-items: center; gap: 28px; }
.lobby-art img { width: min(32%, 160px); border-radius: 10px; transform: rotate(-6deg); box-shadow: 8px 15px 25px #5b221728; }
.lobby-controls { border-left: 1px solid var(--line); padding-left: 30px; }
.lobby-controls h3 { margin: 0 0 10px; font: 400 23px 'Segoe UI', sans-serif; }
.lobby-controls #leave { margin-top: 10px; }
@media (max-width: 760px) {
  #app.start-screen { padding-top: 28px; }
  .start-screen.landing-screen, .start-lobby { grid-template-columns: 1fr; gap: 24px; }
  .entry-panel, .start-lobby { padding: 22px; }
  .lobby-seats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lobby-controls { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .lobby-invite { flex-direction: column; gap: 5px; padding: 8px; }
  .lobby-invite b { font-size: 16px; }
}
