/* Opt-in concept 3: social gathering. Game geometry remains unchanged. */
:root{color-scheme:light;--brand-green:#167d8d;--brand-ivory:#fff5df;--brand-gold:#f17860;--brand-wood:#153542}
#game-lobby::backdrop{background:#fff5df url('assets/brand/social-courtyard.png') center/cover no-repeat;backdrop-filter:none}
#game-lobby,dialog{background:linear-gradient(145deg,#fffdf7,#fff5e8);color:#153542;border:1px solid #167d8d50;box-shadow:0 20px 70px #15354238}
#game-lobby .lobby-brand>b{color:#153542;text-shadow:none}
#game-lobby h2{color:#153542}
#game-lobby p,dialog p,dialog label{color:#49646a}
#game-lobby .lobby-games>button{color:#153542;background:#fffdf7;border-color:#167d8d50;box-shadow:0 4px 12px #15354208}
#game-lobby .lobby-games>button[aria-pressed=true]{background:#e2f2ee;border-color:#167d8d;box-shadow:0 0 0 1px #167d8d}
#game-lobby .lobby-check{background:#167d8d;color:white}
#game-lobby .lobby-modes button,#game-lobby .lobby-entry-options button,#lobby-back,.language-picker button{color:#153542;background:#fffdf7;border-color:#167d8d66}
#game-lobby .lobby-modes button[aria-pressed=true],.language-picker button[aria-pressed=true]{background:#167d8d;color:#fff;border-color:#167d8d}
#lobby-start,button.primary{background:#f17860;color:#153542;border-color:#e46e56;box-shadow:0 4px 0 #d95e4620}
.glass{background:linear-gradient(135deg,#fffaf0f7,#f2f6edf5);color:#153542;border-color:#167d8d80;box-shadow:0 4px 16px #082c2420}
.score-caption span,.mode-note,.choose-game,#phone-game-info,.auction p,.auction small{color:#365f64}
.glass button,.glass.blue,.reaction-panel button{color:#153542}
.reactions button,.bid-options button,.pass-bid{background:#e4f2ee;color:#153542;border-color:#167d8d}
.seat strong{background:#fff8e9;color:#153542;border-color:#167d8d80;text-shadow:none}
.play-button{background:linear-gradient(110deg,#fca58d,#f17860);color:#153542;border-color:#ffb9a6;text-shadow:none}
#modal input,#modal select,#modal textarea{background:#fff;color:#153542;border-color:#167d8d80}
#modal .secondary,#modal .close{color:#153542;border-color:#167d8d70;background:#e4f2ee}
.theme-trial{display:flex;justify-content:center;align-items:center;gap:10px;font-size:10px;margin:4px 0 0;color:#49646a}
.theme-trial a{color:#126572;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px) and (max-height:650px){#game-lobby .note{margin:4px 0}#game-lobby .theme-trial{font-size:9px;margin:2px 0 0}}
#game-lobby #lobby-note{color:#49646a}.auction .bid-history{color:#49646a}
@media(max-width:700px) and (max-height:650px){#game-lobby .lobby-fan{height:65px}}
.glass .icon,.score-teams b{color:#153542}.play-controls .play-button{background:linear-gradient(110deg,#fca58d,#f17860);color:#153542;border-color:#ffb9a6}
.auction .request-options button,.auction .double-options button{background:#e4f2ee;color:#153542;border-color:#167d8d}.auction .double-options [aria-pressed=true]{background:#167d8d;color:white}
@media(min-width:701px) and (max-height:780px){#game-lobby .lobby-brand .brand-mark{width:48px;height:48px}#game-lobby .lobby-fan{height:126px}#game-lobby .lobby-fan img{top:0;width:68px;height:95px}#game-lobby h2{margin:8px 0}#game-lobby .note{margin:8px 0;font-size:12px}}
#play{background:linear-gradient(110deg,#fca58d,#f17860);color:#153542;border-color:#ffb9a6}#sort,#undo{color:#153542}#play:disabled{opacity:.75}
/* Matching courtyard table, confined to this preview. */
.scene{background-image:url('assets/brand/social-table.png');background-color:#167d78}
.shade{background:linear-gradient(0deg,#15354212,transparent 25%)}
.sidebar .brand h1,.sidebar .brand p{color:#153542;text-shadow:0 1px 2px #fff9}

/* Opaque, high-contrast play action against the pale oak table. */
html[data-theme="3"] #play{background:#e77b66;color:#142f38;border:1px solid #a94435;box-shadow:0 3px 9px #15354240;text-shadow:none;opacity:1}
html[data-theme="3"] #play:disabled{background:#d98b79;color:#253b42;border-color:#a95d4d;opacity:1}


