:root {
  --vd-ink:#263b58;
  --vd-panel:#fffefa;
  --vd-paper:#f7f5ee;
  --vd-muted:#646b76;
  --vd-line:#dfdfd7;
  --vd-lime:#e7bc57;
  --vd-coral:#d6573d;
  --vd-lavender:#737eaf;
  --vd-action:#c74e36;
  --vd-ease:cubic-bezier(.2,.75,.2,1);
}

.vd-app {
  background:var(--vd-paper);
  color:var(--vd-ink);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased
}

.vd-app * {
  box-sizing:border-box
}

.vd-app button,.vd-app a,.vd-app input,.vd-app textarea,.vd-app select {
  -webkit-tap-highlight-color:transparent
}

.vd-app :focus-visible {
  outline:3px solid #486baf;
  outline-offset:3px
}

.vd-app textarea:focus-visible,.vd-app input:focus-visible {
  outline-color:#486baf
}

.vd-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.vd-skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  background:var(--vd-lime);
  color:var(--vd-ink);
  z-index:100;
  padding:12px 20px
}

.vd-skip-link:focus {
  top:12px
}

.vd-brand {
  display:inline-flex;
  align-items:center;
  font-size:26px;
  letter-spacing:-1.4px;
  font-weight:850;
  color:var(--vd-ink);
  gap:8px
}

.vd-brand-mark {
  font-size:40px;
  line-height:1;
  color:var(--vd-action);
  margin-right:3px
}

.vd-shell {
  max-width:1280px;
  margin:auto;
  padding:64px 36px
}

.vd-eyebrow {
  font-size: 12px;
  font-weight:750;
  letter-spacing:1.8px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--vd-muted);
  margin:0 0 28px
}

.vd-prompt-input {
  display:block;
  width:100%;
  resize:vertical;
  min-height:106px;
  max-height:260px;
  border:0;
  background:transparent;
  color:var(--vd-ink);
  font-size:17px;
  line-height:1.5;
  padding:16px 0 10px;
  box-shadow:none
}

.vd-prompt-input::placeholder {
  color:#868b7c
}

.vd-prompt-chips {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  padding:7px 0 22px;
  border-bottom:1px solid #d8dacd
}

.vd-prompt-chips button {
  padding:10px 11px;
  min-height:44px;
  border:1px solid #d7d9cd;
  border-radius:8px;
  font-size: 12px;
  font-weight:600;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  gap:10px;
  align-items:center
}

.vd-prompt-chips button:hover,.vd-prompt-chips button[aria-pressed=true] {
  background:#e4ebca;
  border-color:#a1ae78
}

.vd-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  min-height:50px;
  border-radius:12px;
  padding:12px 20px;
  font-weight:650;
  font-size:.9375rem;
  line-height:1.4;
  cursor:pointer;
  border:1px solid transparent;
  transition:background 180ms,transform 180ms var(--vd-ease),box-shadow 180ms
}

.vd-button:active {
  transform:scale(.98)
}

.vd-button-primary {
  background:var(--vd-action);
  color:#fffefa
}

.vd-button-primary:hover {
  background:#a93e29
}

.vd-button-secondary {
  border-color:var(--vd-line);
  color:var(--vd-ink);
  background:transparent
}

.vd-text-link {
  font-size:13px;
  font-weight:700;
  color:var(--vd-action);
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:25px
}

.vd-page-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:28px;
  margin-bottom:38px
}

.vd-page-heading h1 {
  font-size:clamp(40px,5vw,64px);
  font-weight:750;
  letter-spacing:-2.5px;
  line-height:1.07;
  margin:0 0 16px
}

.vd-page-heading p:not(.vd-eyebrow) {
  font-size:16px;
  line-height:1.6;
  color:var(--vd-muted);
  margin:0
}

.vd-page-heading .vd-eyebrow {
  margin-bottom:20px
}

.vd-empty {
  text-align:center;
  padding:60px 20px
}

.vd-empty h2 {
  font-size:28px;
  font-weight:700;
  margin-bottom:12px
}

.vd-empty p {
  color:var(--vd-muted);
  margin-bottom:24px
}

.vd-setup {
  max-width:720px
}

.vd-setup .vd-page-heading h1 {
  font-size:48px
}

.vd-panel {
  background:var(--vd-panel);
  border:1px solid var(--vd-line);
  border-radius:16px;
  padding:26px;
  margin-bottom:18px
}

.vd-panel-heading {
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
  letter-spacing:-.4px
}

.vd-panel-description {
  font-size:13px;
  color:var(--vd-muted);
  line-height:1.6;
  margin-bottom:20px
}

.vd-field label,.vd-field legend {
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--vd-muted);
  margin-bottom:9px
}

.vd-field input, .vd-field select {
  width:100%;
  background:#fffefa;
  border:1px solid var(--vd-line);
  color:var(--vd-ink);
  padding:12px 14px;
  border-radius:8px;
  font-size:16px;
  min-height:48px
}

.vd-setup-actions {
  display:flex;
  gap:16px;
  align-items:center;
  padding-bottom:env(safe-area-inset-bottom)
}

.vd-setup-actions>.vd-button {
  flex:1
}

.vd-game-errors {
  background:#ff91751a;
  border:1px solid var(--vd-coral);
  border-radius:10px;
  padding:16px;
  margin-bottom:20px;
  color:var(--vd-coral);
  font-size:14px
}

@media(max-width:700px) {
  

.vd-brand {
  font-size:22px
}

.vd-brand-mark {
  font-size:33px
}

.vd-shell {
  padding:36px 22px
}

.vd-prompt-input {
  font-size:16px;
  min-height:105px
}

.vd-prompt-chips {
  gap:6px;
  padding-bottom:18px
}

.vd-prompt-chips button {
  font-size: 12px;
  padding:8px 9px;
  gap:6px
}

.vd-page-heading {
  display:block;
  margin-bottom:22px
}

.vd-page-heading h1 {
  font-size:44px;
  letter-spacing:-2px
}

.vd-page-heading .vd-button {
  margin-top:22px
}

.vd-panel {
  padding:20px
}

.vd-setup .vd-page-heading h1 {
  font-size:40px
}

}

@media(prefers-reduced-motion:reduce) {
  .vd-app *, .vd-app *::before,.vd-app *::after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important
}

}

.vd-turn {
  max-width:720px;
  margin:0 auto;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  padding:0 22px
}

.vd-turn-header {
  padding:28px 0 22px;
  border-bottom:1px solid var(--vd-line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}

.vd-turn-header .vd-eyebrow {
  font-size: 12px;
  margin-bottom:8px;
  letter-spacing:1.5px
}

.vd-turn-header h1 {
  font-size:28px;
  font-weight:750;
  letter-spacing:-.7px;
  overflow-wrap:anywhere
}

.vd-turn-stats {
  display:flex;
  gap:20px;
  align-items:center;
  flex-shrink:0
}

.vd-turn-score {
  text-align:center
}

.vd-turn-score span {
  display:block;
  font-size: 12px;
  letter-spacing:1px;
  color:var(--vd-muted)
}

.vd-turn-score strong {
  display:block;
  font-size:30px;
  line-height:1.2;
  font-weight:750;
  color:var(--vd-action)
}

.vd-turn-timer {
  width:62px;
  height:62px;
  position:relative;
  display:grid;
  place-items:center
}

.vd-turn-timer svg {
  width:62px;
  height:62px;
  position:absolute;
  inset:0;
  transform:rotate(-90deg)
}

.vd-turn-timer span {
  font-size:22px;
  font-weight:700
}

.vd-turn-content {
  flex:1;
  padding:22px 0
}

.vd-turn-instruction {
  font-size:12px;
  color:var(--vd-muted);
  text-align:center;
  margin-bottom:22px
}

.vd-turn-footer {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  position:sticky;
  bottom:0;
  background:var(--vd-paper);
  padding:18px 0 calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--vd-line)
}

.vd-turn-warning {
  background:var(--vd-coral);
  color:var(--vd-ink);
  font-size:13px;
  font-weight:650;
  padding:16px;
  border-radius:10px;
  margin-top:20px
}

.vd-turn #word_grid>div>form>.vd-word-toggle>div {
  background:var(--vd-paper);
  border:0;
  box-shadow:none;
  border-radius:12px
}

.vd-turn #word_grid>div>form>.vd-word-toggle>div>div {
  background:none
}

.vd-turn #word_grid>div>form>.vd-word-toggle>div>div>div>span {
  font-size:23px;
  letter-spacing:-.5px
}

.vd-turn #word_grid>div>form>.vd-word-toggle>div>div>div {
  min-height:42px
}

.vd-turn #word_grid button {
  min-width:44px;
  min-height:44px
}

@media(max-width:400px) {
  .vd-turn-stats {
  gap:12px
}

.vd-turn-footer .vd-button {
  font-size:12px;
  padding:12px
}

.vd-turn-header h1 {
  font-size:25px
}

}

.vd-game-lobby { max-width: 900px; }
.vd-game-lobby > .vd-text-link { margin-bottom: 26px; }
.vd-scoreboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.vd-score-tile { padding: 24px; border: 1px solid var(--vd-line); border-radius: 14px; }
.vd-score-tile > span { font-size: 12px; letter-spacing: 1.5px; color: var(--vd-muted); font-weight: 650; }
.vd-score-tile > strong { display: block; font-size: 52px; line-height: 1.3; font-weight: 750; letter-spacing: -2px; color: var(--vd-action); }
.vd-score-tile small { font-size: 18px; color: var(--vd-muted); letter-spacing: 0; }
.vd-score-tile p { font-size: 13px; color: var(--vd-muted); overflow-wrap: anywhere; }
.vd-pass-card { background: var(--vd-paper); color: var(--vd-ink); padding: 34px; border-radius: 18px; text-align: center; }
.vd-pass-card .vd-eyebrow { justify-content: center; color: #707666; margin-bottom: 18px; }
.vd-pass-card h2 { font-size: 52px; letter-spacing: -2px; font-weight: 800; overflow-wrap: anywhere; }
.vd-pass-card > p:not(.vd-eyebrow) { font-size: 14px; color: #707666; margin: 12px 0 28px; }
.vd-pass-card .vd-button-primary { background: var(--vd-ink); color: var(--vd-paper); }
.vd-wide-button { width: 100%; }
@media (max-width: 500px) { .vd-pass-card { padding: 26px 20px; } .vd-score-tile { padding: 20px; } }
/* The conversation keeps its established Turbo/Stimulus layout and live regions. */
.vd-studio { background: var(--vd-paper); }
.vd-studio [class*="bg-gradient-"] { background-image: none; }
.vd-studio [class*="from-emerald-600"] { background-color: var(--vd-ink); }
.vd-studio [class*="bg-white/95"], .vd-studio [data-game-master-target="mobilePanel"] { background-color: var(--vd-paper); }
.vd-studio [class~="from-emerald-50"] { background-color: #e9eddf; }
.vd-studio [data-role="tool-summary"] > div { background: var(--vd-panel); border-color: var(--vd-line); color: var(--vd-action); }
.vd-studio [data-game-master-target="mobilePanel"] { padding-bottom: env(safe-area-inset-bottom); }

/* Keep the primary creation action within comfortable reach on narrow phones. */
@media (max-width: 700px) {
  
  
  
  .vd-prompt-input { min-height: 90px; }
  .vd-prompt-chips button span { display: none; }
}
@media (max-width: 360px) {
  
  
  .vd-brand { font-size: 20px; }
  .vd-brand-mark { font-size: 28px; }
  .vd-shell { padding-left: 16px; padding-right: 16px; }
  
}

.vd-game-thirty-seconds { --game-color: var(--vd-action); }
.vd-game-act-it-out { --game-color: #f3b59b; }
.vd-game-sketch-club { --game-color: #c6cbea; }
.vd-game-forbidden-words { --game-color: #b6dce8; }
.vd-game-high-low { --game-color: var(--vd-paper); }
.vd-game-illustration { height: 186px; position: relative; max-width: 360px; margin: auto; color: var(--vd-ink); }
.vd-art-timer { position: absolute; width: 140px; height: 140px; border: 3px solid currentColor; border-radius: 50%; top: 25px; left: 50%; transform: translateX(-50%) rotate(-9deg); text-align: center; box-shadow: 7px 7px 0 #171a17; background: var(--vd-lime); }
.vd-art-timer:before { content: ""; position: absolute; width: 29px; height: 11px; border-radius: 4px 4px 0 0; background: currentColor; left: 53px; top: -19px; }
.vd-art-timer:after { content: ""; position: absolute; height: 10px; width: 5px; top: -10px; left: 64px; background: currentColor; }
.vd-art-timer strong { display: block; margin-top: 25px; font-size: 73px; letter-spacing: -6px; line-height: .95; font-weight: 820; }
.vd-art-timer small { display: block; letter-spacing: 3px; font-size: 12px; font-weight: 800; margin-top: 6px; }
.vd-art-burst { position: absolute; font-size: 33px; }
.vd-art-burst-one { left: 11%; top: 25px; transform: rotate(10deg); }
.vd-art-burst-two { right: 10%; bottom: 16px; font-size: 25px; }
.vd-art-charades { width: 100%; height: 163px; }
.vd-art-caption { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.vd-art-sketch { width: 100%; height: 166px; transform: rotate(-4deg); }
.vd-art-forbidden { text-align: center; padding-top: 13px; }
.vd-art-forbidden > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; line-height: 1.4; }
.vd-art-forbidden strong { display: block; font-weight: 850; font-size: 69px; line-height: 1.1; letter-spacing: -6px; transform: rotate(-7deg); }
.vd-art-forbidden strong > span { color: #ad3d2e; }
.vd-art-crossout { position: relative; display: inline-block; margin-top: 3px; font-size: 13px; font-family: inherit; font-style: italic; }
.vd-art-crossout:after { content: ""; position: absolute; background: #ad3d2e; width: 114%; height: 2px; top: 48%; left: -7%; transform: rotate(-8deg); }
.vd-art-playing-card { position: absolute; width: 80px; height: 112px; border: 2px solid currentColor; border-radius: 7px; background: var(--vd-paper); box-shadow: 4px 4px 0 #171a171f; top: 21px; left: calc(50% - 60px); padding: 6px; }
.vd-art-card-back { transform: rotate(-18deg); }
.vd-art-card-front { transform: rotate(13deg); left: calc(50% - 15px); top: 30px; color: #be4937; }
.vd-art-playing-card > span, .vd-art-playing-card > i { font-size: 12px; font-weight: 700; line-height: 1.05; display: block; font-style: normal; }
.vd-art-playing-card > strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 43px; }
.vd-art-playing-card > i { position: absolute; bottom: 6px; right: 6px; transform: rotate(180deg); }
.vd-art-arrow-up, .vd-art-arrow-down { position: absolute; font-size: 47px; font-weight: 350; line-height: 1; }
.vd-art-arrow-up { left: 10px; top: 12px; }
.vd-art-arrow-down { right: 3px; bottom: 7px; }

/* The same visual language from choosing a game through one more round. */

.vd-game-guide { position: sticky; top: 28px; }
.vd-game-guide-art { height: 190px; background: var(--game-color); border-radius: 15px; margin-bottom: 28px; }
.vd-game-guide .vd-eyebrow { margin-bottom: 12px; font-size: 12px; }
.vd-game-guide h1 { font-size: clamp(40px, 4vw, 58px); line-height: 1.1; letter-spacing: -2.6px; font-weight: 780; }
.vd-game-guide h1 > span { color: var(--game-color); }

.vd-game-guide h2 { font-size: 15px; font-weight: 700; margin-bottom: 17px; }
.vd-rule-list { counter-reset: rules; display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.vd-rule-list li { counter-increment: rules; position: relative; padding-left: 33px; font-size: 12px; line-height: 1.75; color: var(--vd-muted); }
.vd-rule-list li:before { content: counter(rules, decimal-leading-zero); position: absolute; top: 0; left: 0; color: var(--game-color, var(--vd-lime)); font-size: 12px; font-weight: 750; }

.vd-game-errors h2 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.vd-game-errors ul { padding-left: 18px; list-style: disc; line-height: 1.7; }
.vd-play-session { max-width: 880px; padding-top: 12px; }

.vd-party-scores { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 8px; margin-bottom: 21px; }
.vd-party-score { position: relative; min-width: 125px; flex: 1; border: 1px solid var(--vd-line); border-radius: 10px; padding: 15px 16px; }
.vd-party-score > span:first-child { display: block; font-size: 12px; color: var(--vd-muted); overflow-wrap: anywhere; }
.vd-party-score > strong { font-size: 29px; font-weight: 750; letter-spacing: -.7px; line-height: 1.5; }
.vd-party-score small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--vd-muted); }
.vd-party-score.is-current { border-color: var(--game-color); }
.vd-party-score.is-current > strong { color: var(--game-color); }
.vd-current-team-label { position: absolute; right: 12px; bottom: 19px; font-size: 12px; letter-spacing: .8px; color: var(--game-color); }
.vd-round-card { border-radius: 17px; background: var(--vd-paper); color: var(--vd-ink); padding: 38px; text-align: center; }
.vd-round-card .vd-eyebrow { justify-content: center; color: #727866; font-size: 12px; margin-bottom: 18px; overflow-wrap: anywhere; }
.vd-round-card h1 { font-size: clamp(34px, 4vw, 50px); font-weight: 780; letter-spacing: -2px; line-height: 1.1; overflow-wrap: anywhere; }
.vd-round-card > p:not(.vd-eyebrow) { font-size: 14px; line-height: 1.8; color: #69705f; margin: 22px auto; max-width: 400px; }
.vd-round-card .vd-button-primary { background: var(--vd-ink); color: var(--vd-paper); }
.vd-round-card .vd-button-secondary { color: var(--vd-ink); border-color: #69705f; background: transparent; }
.vd-round-card > .vd-button + form { margin-top: 12px; }
.vd-round-card .vd-button { width: min(100%, 340px); }
.vd-round-card .vd-text-link { color: #4a553b; margin-top: 15px; }
.vd-pass-symbol { display: grid; place-items: center; margin: 6px auto 20px; background: var(--game-color); width: 65px; height: 65px; border-radius: 50%; font-size: 45px; }
.vd-round-card > .vd-round-small { font-size: 12px!important; max-width: 370px; margin-bottom: 0!important; }
.vd-celebration-card h1 em { color: #566623; font-family: inherit; font-weight: 400; }
.vd-winner-spark { font-size: 74px; line-height: 1; margin-bottom: 24px; color: #667f19; }
.vd-turn-total { font-size: 100px!important; letter-spacing: -6px!important; line-height: 1!important; }
.vd-turn-total > span { display: block; font-size: 15px; letter-spacing: 0; color: #737965; margin-top: 17px; }
.vd-play-rules { border-top: 1px solid var(--vd-line); margin-top: 26px; }
.vd-play-rules > summary { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 12px; color: var(--vd-muted); min-height: 50px; list-style: none; }
.vd-play-rules > summary::-webkit-details-marker { display: none; }
.vd-play-rules > summary > span { color: var(--game-color); font-size: 20px; }
.vd-play-rules[open] > summary > span { transform: rotate(45deg); }
.vd-live-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.vd-live-status .vd-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 1px; }
.vd-turn-points { font-size: 13px; font-weight: 650; color: var(--game-color); }
.vd-round-clock { text-align: center; }
.vd-round-clock strong { display: block; font-size: 41px; line-height: 1; font-weight: 750; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.vd-round-clock span { font-size: 12px; letter-spacing: 1px; color: var(--vd-muted); }
.vd-clock-track { height: 3px; background: var(--vd-line); margin: 15px 0 20px; border-radius: 5px; overflow: hidden; }
.vd-clock-track > span { display: block; background: var(--game-color); height: 100%; transform-origin: left; transition: transform .3s linear; }
.vd-live-round.is-urgent .vd-round-clock { color: var(--vd-coral); }
.vd-live-round.is-urgent .vd-clock-track > span { background: var(--vd-coral); }
.vd-prompt-card { position: relative; background: var(--game-color); color: var(--vd-ink); border-radius: 17px; min-height: 260px; padding: 35px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.vd-prompt-card .vd-eyebrow { color: #343b2cc9; font-size: 12px; letter-spacing: 1.8px; margin-bottom: 25px; }
.vd-prompt-card h1 { font-size: clamp(32px, 4.1vw, 55px); font-weight: 780; line-height: 1.1; letter-spacing: -1.8px; overflow-wrap: anywhere; max-width: 100%; }
.vd-prompt-card-spark { position: absolute; right: 16px; bottom: 7px; font-size: 39px; opacity: .6; }
.vd-forbidden-list { width: min(100%, 340px); padding-top: 24px; border-top: 1px solid #171a1740; margin-top: 26px; }
.vd-forbidden-list > p { font-size: 12px; letter-spacing: 1.4px; font-weight: 750; margin-bottom: 12px; }
.vd-forbidden-list ul { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.vd-forbidden-list li { padding: 8px 11px; border: 1px solid #171a1740; border-radius: 5px; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.vd-live-feedback { font-size: 12px; color: var(--vd-muted); text-align: center; min-height: 16px; margin: 13px 0; }
.vd-prompt-actions, .vd-highlow-actions { display: flex; gap: 12px; }
.vd-prompt-actions form, .vd-highlow-actions form { flex: 1; }
.vd-prompt-actions .vd-button, .vd-highlow-actions .vd-button { width: 100%; min-height: 59px; font-size: 16px; }
.vd-button-foul { background: #ff917513; color: var(--vd-coral); border-color: #ff91754d; font-size: 12px!important; }
.vd-prompt-actions button:disabled { opacity: .5; cursor: wait; }
.vd-end-turn-form { text-align: center; margin-top: 11px; }
.vd-end-turn-button { color: var(--vd-muted); font-size: 12px; min-height: 44px; padding: 8px 20px; cursor: pointer; }
.vd-clock-warning { color: var(--vd-coral); font-size: 13px; text-align: center; margin: 14px 0; }
.vd-clock-warning[hidden] { display: none; }
.vd-card-game-stats { display: grid; grid-template-columns: 1fr 1.3fr 1fr; padding: 0 0 20px; border-bottom: 1px solid var(--vd-line); margin-bottom: 25px; text-align: center; }
.vd-card-game-stats > div > span { display: block; font-size: 12px; font-weight: 650; color: var(--vd-muted); letter-spacing: 1.1px; }
.vd-card-game-stats strong { display: block; font-size: 30px; font-weight: 750; line-height: 1.6; }
.vd-card-game-stats .vd-card-lives { color: var(--vd-coral); letter-spacing: 3px; font-size: 27px; }
.vd-card-lives .is-lost { color: #42483b; }
.vd-highlow-table { text-align: center; }
.vd-highlow-table > .vd-eyebrow { justify-content: center; font-size: 12px; letter-spacing: 1.5px; }
.vd-highlow-table h1 { font-size: 37px; line-height: 1.1; letter-spacing: -1.3px; font-weight: 750; margin: 0 auto 24px; max-width: 450px; }
.vd-live-playing-card { position: relative; margin: 0 auto; width: 180px; height: 245px; border-radius: 15px; background: var(--vd-paper); color: var(--vd-ink); box-shadow: 8px 8px 0 #31372b; transform: rotate(-4deg); }
.vd-live-playing-card.is-red { color: #b34232; }
.vd-playing-corner { position: absolute; top: 15px; left: 16px; font-size: 28px; font-weight: 750; line-height: 1; }
.vd-playing-corner small { display: block; font-size: 22px; margin-top: 3px; }
.vd-playing-corner-bottom { top: auto; left: auto; bottom: 15px; right: 16px; transform: rotate(180deg); }
.vd-live-playing-card > strong { font-size: 94px; line-height: 1; position: absolute; inset: 0; display: grid; place-items: center; }
.vd-card-result { font-size: 13px; line-height: 1.7; margin: 26px 0 21px; color: var(--vd-muted); }
.vd-highlow-actions { max-width: 440px; margin: auto; }
.vd-highlow-table .vd-round-small { font-size: 12px; margin-top: 17px; color: var(--vd-muted); line-height: 1.7; }
.vd-highlow-table > .vd-text-link { display: flex; justify-content: center; margin-top: 8px; }
.vd-final-score { display: flex; gap: 10px; align-items: baseline; justify-content: center; margin: 0 0 23px; }
.vd-final-score strong { color: var(--vd-action); font-size: 38px; font-weight: 750; }
.vd-final-score span { color: var(--vd-muted); font-size: 13px; }
.vd-highlow-ready .vd-game-illustration { height: 165px; width: 220px; margin-bottom: 10px; }
.vd-drawing-launcher { text-align: center; margin: 17px 0 0; }
.vd-drawing-launcher > .vd-button { font-size: 12px; width: 100%; }
.vd-drawing-launcher > p { font-size: 12px; color: var(--vd-muted); margin-top: 8px; line-height: 1.6; }
.vd-drawing-dialog { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 20px max(20px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); background: var(--vd-paper); color: var(--vd-ink); border: 0; }
.vd-drawing-dialog[open] { display: flex; flex-direction: column; }
.vd-drawing-dialog::backdrop { background: #171a17cc; }
.vd-drawing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vd-drawing-toolbar strong { font-size: 20px; font-weight: 800; letter-spacing: -.7px; }
.vd-drawing-toolbar strong > span { color: #68509b; }
.vd-drawing-toolbar > div { display: flex; gap: 10px; }
.vd-drawing-toolbar button { border: 1px solid #bfc3b2; border-radius: 7px; padding: 9px 14px; min-height: 44px; font-size: 12px; font-weight: 650; cursor: pointer; }
.vd-drawing-toolbar button:last-child { background: var(--vd-ink); color: var(--vd-paper); border-color: var(--vd-ink); }
.vd-drawing-dialog > p { font-size: 12px; color: #6c735f; margin: 13px 0; text-align: left; }
.vd-drawing-dialog canvas { width: 100%; min-height: 0; flex: 1; border: 1px solid #d3d5c8; border-radius: 12px; background: #fffdf8; touch-action: none; cursor: crosshair; }
.vd-drawing-dialog .vd-drawing-hint { margin-bottom: 0; }
.vd-drawing-dialog :focus-visible { outline-color: #68509b; }

@media (max-width: 700px) {
  
  
  .vd-game-illustration{ height: 145px; }
  .vd-art-timer { width: 109px; height: 109px; top: 21px; box-shadow: 5px 5px 0 #171a17; }
  .vd-art-timer strong { font-size: 57px; margin-top: 17px; letter-spacing: -4px; }
  .vd-art-timer small { font-size: 12px; letter-spacing: 2px; margin-top: 5px; }
  .vd-art-timer:before { left: 39px; width: 25px; }
  .vd-art-timer:after { left: 49px; }
  .vd-art-burst-one { left: 0; font-size: 23px; }
  .vd-art-burst-two { right: -2px; font-size: 18px; }
  .vd-art-charades, .vd-art-sketch { height: 129px; }
  .vd-art-caption { bottom: 3px; font-size: 12px; letter-spacing: 1px; }
  .vd-art-forbidden { padding-top: 16px; }
  .vd-art-forbidden strong { font-size: 59px; }
  .vd-art-forbidden > span { font-size: 12px; }
  .vd-art-playing-card { width: 66px; height: 96px; left: calc(50% - 50px); }
  .vd-art-card-front { left: calc(50% - 10px); }
  .vd-art-playing-card > strong { font-size: 35px; }
  .vd-art-playing-card > span, .vd-art-playing-card > i { font-size: 12px; }
  .vd-art-arrow-up { left: -2px; font-size: 35px; }
  .vd-art-arrow-down { right: -5px; font-size: 35px; bottom: 2px; }
  
  
  
  
  .vd-game-guide { position: static; margin-bottom: 32px; }
  .vd-game-guide-art { float: right; width: 110px; height: 117px; margin-left: 16px; margin-bottom: 15px; border-radius: 12px; overflow: hidden; }
  .vd-game-guide-art .vd-game-illustration { width: 132px; height: 142px; transform: scale(.76); transform-origin: left top; margin-left: 5px; }
  .vd-game-guide h1 { font-size: 38px; letter-spacing: -1.8px; }
  .vd-game-guide .vd-eyebrow { margin-top: 4px; font-size: 12px; }
  
  
  
  .vd-rule-list { gap: 11px; }
  .vd-rule-list li { font-size: 12px; }
  .vd-game-guide h2 { font-size: 13px; margin-bottom: 13px; }
  
  
  
  
  
  
  
  
  
  .vd-play-session { padding-top: 8px; }
  
  
  .vd-party-scores { margin-bottom: 15px; }
  .vd-party-score { padding: 12px; min-width: 125px; }
  .vd-party-score > span:first-child { font-size: 12px; }
  .vd-party-score > strong { font-size: 25px; }
  .vd-current-team-label { right: 10px; bottom: 17px; font-size: 12px; }
  .vd-round-card { padding: 29px 22px; }
  .vd-round-card .vd-eyebrow { font-size: 12px; letter-spacing: 1px; }
  .vd-round-card h1 { font-size: 37px; letter-spacing: -1.7px; }
  .vd-round-card > p:not(.vd-eyebrow) { font-size: 12px; }
  .vd-prompt-card { padding: 30px 22px; min-height: 237px; }
  .vd-prompt-card h1 { font-size: 37px; letter-spacing: -1.2px; }
  .vd-prompt-card .vd-eyebrow { font-size: 12px; letter-spacing: 1.2px; }
  .vd-prompt-actions { flex-wrap: wrap; gap: 9px; }
  .vd-game-forbidden-words .vd-prompt-actions form:nth-child(2) { order: 3; flex-basis: 100%; }
  .vd-game-forbidden-words .vd-prompt-actions form:nth-child(2) .vd-button { min-height: 44px; }
  .vd-prompt-actions .vd-button { font-size: 14px; min-height: 55px; }
  .vd-forbidden-list li { font-size: 12px; }
  .vd-highlow-table h1 { font-size: 31px; }
  .vd-live-playing-card { width: 162px; height: 224px; }
  .vd-drawing-dialog { padding-top: max(16px, env(safe-area-inset-top)); }
  .vd-drawing-toolbar strong { font-size: 17px; }
  .vd-drawing-toolbar button { font-size: 12px; padding: 9px 11px; }
  .vd-drawing-toolbar > div { gap: 7px; }
}
@media (max-width: 380px) {
  
  
  
  .vd-drawing-toolbar strong { font-size: 15px; }
}

/* Explicit vector marks keep the identity consistent across emoji fonts. */
.vd-line-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; flex-shrink: 0; }

/* Phone-first setup and turn controls. */
.vd-game-details { display: none; }
.vd-button { transition: transform .14s ease, background-color .14s ease, box-shadow .14s ease; }
.vd-button:active:not(:disabled) { transform: translateY(2px) scale(.98); }
.vd-live-round .vd-button-primary { background: var(--vd-action); color: #fffefa; }

.vd-prompt-card { border: 1px solid #171a1726; box-shadow: 0 8px 24px #263b580a; }
.vd-prompt-card::before { content: ""; position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-top: 2px solid #171a1740; border-left: 2px solid #171a1740; border-radius: 7px 0 0; }
.vd-prompt-card::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 18px; height: 18px; border-bottom: 2px solid #171a1740; border-right: 2px solid #171a1740; border-radius: 0 0 7px; }
.vd-prompt-card-spark { right: 22px; bottom: 13px; font-size: 28px; opacity: .4; }

.vd-live-feedback:not(:empty) { color: var(--game-color); font-size: 14px; font-weight: 650; }
.vd-round-controls { padding-top: 8px; }
.vd-play-session { padding-top: 28px; }

.vd-play-rules > summary { font-size: 14px; }
@keyframes vd-card-arrive { from { opacity: .65; transform: translateY(7px) rotate(-.6deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }

@media (max-width: 700px) {
  
  
  
  .vd-brand { font-size: 21px; }
  .vd-brand-mark { font-size: 31px; }
  
  .vd-game-details { display: flex; flex-wrap: wrap; gap: 3px 9px; margin-bottom: 12px; font-size: 12px; line-height: 1.5; font-weight: 650; color: var(--game-color); }
  .vd-art-timer { width: 91px; height: 91px; left: 50%; top: 29px; box-shadow: 4px 4px 0 #171a17; }
  .vd-art-timer strong { font-size: 49px; margin-top: 13px; letter-spacing: -4px; }
  .vd-art-timer small { font-size: 12px; margin-top: 2px; letter-spacing: 1.3px; }
  .vd-art-timer:before { left: 30px; }
  .vd-art-timer:after { left: 40px; }
  .vd-art-burst-one { left: 0; top: 19px; font-size: 19px; }
  .vd-art-burst-two { right: 0; bottom: 12px; font-size: 18px; }
  .vd-art-charades, .vd-art-sketch { width: 100%; height: 145px; }
  .vd-art-caption { display: none; }
  .vd-art-forbidden { padding-top: 27px; }
  .vd-art-forbidden > span { font-size: 12px; }
  .vd-art-forbidden strong { font-size: 43px; letter-spacing: -3px; }
  .vd-art-crossout { font-size: 12px; }
  .vd-art-playing-card { width: 53px; height: 81px; left: calc(50% - 41px); top: 28px; }
  .vd-art-card-front { left: calc(50% - 9px); top: 40px; }
  .vd-art-playing-card > strong { font-size: 29px; }
  .vd-art-playing-card > span, .vd-art-playing-card > i { font-size: 12px; }
  .vd-art-arrow-up { left: 0; font-size: 25px; }
  .vd-art-arrow-down { right: 0; font-size: 25px; bottom: 0; }
  
  .vd-game-guide { margin-bottom: 24px; }
  
  
  
  .vd-rule-list li { font-size: 14px; line-height: 1.65; }
  
  
  
  
  
  
  
  
  
  
  
  .vd-play-session { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  
  
  .vd-party-scores { margin-bottom: 10px; gap: 8px; }
  .vd-party-score { padding: 10px 12px; min-width: 132px; }
  .vd-party-score > span:first-child { font-size: 12px; }
  .vd-party-score > strong { font-size: 24px; line-height: 1.3; }
  .vd-current-team-label { font-size: 12px; right: 10px; bottom: 13px; letter-spacing: 0; }
  .vd-live-status .vd-eyebrow { font-size: 12px; letter-spacing: .5px; }
  .vd-round-clock strong { font-size: 36px; }
  .vd-round-clock span { font-size: 12px; }
  .vd-clock-track { height: 4px; margin: 12px 0 18px; }
  .vd-prompt-card { padding: 28px 22px; min-height: 230px; border-radius: 20px; }
  .vd-prompt-card .vd-eyebrow { font-size: 12px; letter-spacing: 1px; margin-bottom: 21px; }
  .vd-prompt-card h1 { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.12; }
  .vd-forbidden-list { margin-top: 20px; padding-top: 18px; }
  .vd-forbidden-list > p { font-size: 12px; letter-spacing: 1px; }
  .vd-forbidden-list li { font-size: 14px; padding: 8px 10px; }
  .vd-round-controls { position: sticky; bottom: 0; z-index: 5; margin-top: 5px; padding: 12px 0 max(3px, env(safe-area-inset-bottom)); background: var(--vd-paper); }
  .vd-prompt-actions .vd-button { min-height: 58px; font-size: 16px; border-radius: 14px; }
  .vd-game-forbidden-words .vd-prompt-actions form:nth-child(2) .vd-button { min-height: 48px; font-size: 13px!important; }
  .vd-end-turn-form { margin-top: 4px; }
  .vd-end-turn-button { font-size: 12px; }
  .vd-round-card { padding: 28px 22px; border-radius: 20px; }
  .vd-round-card .vd-eyebrow { font-size: 12px; }
  .vd-round-card > p:not(.vd-eyebrow) { font-size: 15px; }
  .vd-round-card > .vd-round-small { font-size: 13px!important; }
  .vd-drawing-launcher > .vd-button { font-size: 14px; min-height: 48px; }
  .vd-drawing-launcher > p { font-size: 12px; }
  .vd-drawing-toolbar button { font-size: 12px; }
  .vd-drawing-dialog > p { font-size: 13px; }
  .vd-card-game-stats > div > span { font-size: 12px; letter-spacing: .6px; }
  .vd-highlow-table .vd-round-small { font-size: 12px; }
}
@media (max-width: 380px) {
  
  
  .vd-brand { font-size: 19px; gap: 5px; }
  .vd-brand-mark { font-size: 28px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .vd-round-controls { position: static; }
}

.vd-drawing-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; color: #505847; margin: 12px 0; }
.vd-drawing-clock { flex-shrink: 0; font-variant-numeric: tabular-nums; background: #e5def4; color: #372851; padding: 7px 10px; border-radius: 8px; font-weight: 750; }
.is-urgent .vd-drawing-clock { background: #ffd6ca; color: #742d1a; }

.vd-word-toggle { cursor: pointer; }
.vd-word-vote { min-width: 44px; min-height: 44px; }

/* The international baseline stays visible while regional choices add to it. */
.vd-cultural-scope { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.vd-cultural-scope legend { font-size: 16px; font-weight: 750; margin-bottom: 12px; }
.vd-scope-baseline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.vd-scope-baseline strong { font-size: 14px; }
.vd-scope-baseline > span { font-size: 12px; font-weight: 650; color: var(--vd-muted); }
.vd-scope-hint { font-size: 12px; line-height: 1.6; color: var(--vd-muted); margin: 7px 0; }
.vd-scope-options-label { font-size: 13px; font-weight: 650; margin: 16px 0 8px; }
.vd-scope-options-label span { font-weight: 450; }
.vd-scope-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.vd-scope-option { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--vd-line); border-radius: 12px; cursor: pointer; color: inherit; font-size: 14px; }
.vd-scope-option input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 0; accent-color: var(--vd-action); }
.vd-scope-option:has(input:checked) { border-color: var(--vd-action); background: #d8f36a12; }
.vd-scope-option:active { background: #d8f36a24; }
.vd-scope-option span { overflow-wrap: anywhere; }
.vd-scope-summary { margin: 0 0 22px; border-left: 3px solid var(--vd-lime); padding: 3px 0 3px 14px; }
.vd-scope-summary strong { display: block; font-size: 13px; font-weight: 650; }
.vd-scope-summary p { font-size: 12px; line-height: 1.6; color: var(--vd-muted); margin: 5px 0 0; }

.vd-scope-config { color: var(--vd-ink); padding-bottom: 20px; }
.vd-scope-config h3 { font-size: 14px; font-weight: 750; margin-bottom: 8px; }
.vd-scope-config > p { font-size: 13px; }
.vd-scope-config .vd-cultural-scope { margin-top: 0; }
.vd-studio .vd-scope-hint, .vd-studio .vd-scope-baseline > span, .vd-studio .vd-scope-summary p { color: #59614f; }
.vd-studio .vd-scope-option { border-color: #b9c0ae; }
.vd-studio .vd-scope-option:has(input:checked) { border-color: #687732; background: #d8f36a70; }
.vd-studio .vd-scope-option input { accent-color: #556722; }
.vd-studio .vd-scope-config .vd-button-secondary { border-color: #65714e; color: var(--vd-ink); font-size: 13px; min-height: 44px; }

.vd-studio-notice { color: var(--vd-action); padding: 10px 16px; font-size: 13px; margin: 0; }

.vd-scope-option small { display: block; font-size: 12px; line-height: 1.5; margin-top: 2px; font-weight: 450; }
.vd-scope-option.vd-scope-unavailable { cursor: default; border-style: dashed; color: var(--vd-muted); }
.vd-scope-option.vd-scope-unavailable:active { background: transparent; }
.vd-studio .vd-scope-unavailable { color: #59614f; }

/* Visual-first setup: useful choices first, explanations one tap away. */
.vd-quiet-details { color: var(--vd-muted); font-size: 12px; line-height: 1.6; }
.vd-quiet-details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; font-weight: 600; }
.vd-quiet-details > summary::-webkit-details-marker { display: none; }
.vd-quiet-details > summary::before { content: "+"; display: inline-grid; place-items: center; font-size: 18px; width: 18px; flex-shrink: 0; }
.vd-quiet-details[open] > summary::before { content: "−"; }
.vd-quiet-details p { margin: 0 0 10px; }
.vd-quiet-details summary:focus-visible { outline: 3px solid var(--vd-lime); outline-offset: 3px; border-radius: 4px; }
.vd-history-details { margin-top: 10px; }

.vd-cultural-scope { margin: 20px 0 0; }
.vd-cultural-scope legend { font-size: 13px; margin-bottom: 10px; }
.vd-scope-baseline { align-items: center; gap: 8px; }
.vd-scope-baseline strong { font-size: 14px; }
.vd-scope-baseline > span:last-child { margin-left: auto; }
.vd-scope-globe { color: var(--game-color, var(--vd-lime)); font-size: 24px; line-height: 1; }
.vd-scope-options-label { margin: 12px 0 7px; font-size: 12px; }
.vd-scope-option { border-radius: 11px; font-size: 12px; padding: 8px 10px; gap: 7px; }
.vd-scope-option input[type="checkbox"] { flex-basis: 17px; width: 17px; height: 17px; min-height: 17px; }
.vd-scope-option:has(input:focus-visible) { outline: 3px solid var(--vd-lime); outline-offset: 3px; }
.vd-studio .vd-scope-globe { color: #556722; }
.vd-studio .vd-quiet-details { color: #59614f; }
.vd-scope-info p { font-size: 12px; }

@media (max-width: 700px) {
  
  .vd-game-guide { display: grid; grid-template-columns: minmax(0, 1fr) 124px; column-gap: 16px; margin-bottom: 24px; }
  .vd-game-guide-art { grid-column: 2; grid-row: 1 / 4; float: none; margin: 0; width: 124px; height: 137px; align-self: center; }
  .vd-game-guide-art .vd-game-illustration { width: 124px; height: 137px; transform: none; margin: 0; }
  .vd-game-guide .vd-eyebrow { grid-column: 1; align-self: end; font-size: 12px; margin: 0 0 8px; }
  .vd-game-guide h1 { grid-column: 1; font-size: 32px; letter-spacing: -1.3px; overflow-wrap: break-word; }
  .vd-game-guide h1 > span { display: none; }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .vd-cultural-scope { margin-top: 18px; }
  .vd-scope-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  
  
  
  
  
  
  
  
  
}
@media (prefers-reduced-motion: reduce) { .vd-button { transition: none; }
  .vd-prompt-card, .vd-round-card { animation: none; }
}
.vd-scope-baseline > .vd-scope-globe { font-size: 24px; color: var(--game-color, var(--vd-lime)); }
.vd-studio .vd-scope-baseline > .vd-scope-globe { color: #556722; }
.vd-studio .vd-quiet-details summary:focus-visible { outline-color: #556722; }

@media (max-width: 1023px) and (max-height: 600px) {
  #mobile-deck-configuration { display: block; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; }
  #mobile-deck-configuration > .overflow-y-auto { overflow-y: visible; }
}

/* Shared control feedback does not move or obscure private content. */
.vd-app button, .vd-app input, .vd-app select, .vd-app textarea { accent-color: var(--vd-action); }
.vd-button:hover { box-shadow: 0 4px 13px #263b5810; }
.vd-app h1 em { font-style: normal; }
@media(prefers-reduced-motion:reduce) { .vd-app *, .vd-app *::before, .vd-app *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; } .vd-button:active { transform: none; } }

/* Shared polish: solid chrome, familiar controls, and room for text to grow. */

.vd-brand { min-height: 44px; flex-shrink: 0; }

.vd-button:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
form[aria-busy="true"] .vd-button:disabled { cursor: progress; }
.vd-field { min-width: 0; }
.vd-field input, .vd-field select, .vd-field textarea { border-radius: 12px; font-size: 1rem; }
.vd-field label, .vd-field legend { font-size: .8125rem; }
.vd-field input::placeholder, .vd-field textarea::placeholder { color: var(--vd-muted); opacity: 1; }
.vd-app :is(a, button, input, select, textarea, summary) { scroll-margin-block: 24px 112px; }

@media (max-width: 700px) {
  
  
  
  
  .vd-brand { font-size: 1.3125rem; }
  .vd-button { min-height: 50px; }
  .vd-shell { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  
}
@media (max-width: 360px) {
  
  .vd-brand { font-size: 1.1875rem; }
  
}

/* Turbo's loading bar: a thin, rounded, brand-colored line instead of the stock blue bar. */
.turbo-progress-bar { height:3px; border-radius:0 3px 3px 0; background:linear-gradient(90deg, var(--vd-coral), #f0a35e); box-shadow:0 0 8px #d6573d55; }
