.social-games{min-width:0}.social-games .drawing-tools{flex-wrap:wrap;gap:10px;margin:14px 0}.social-games h3{font-size:1rem}.social-games .notice{margin:16px 0}.social-game-notice{border-left:3px solid var(--accent,#69dfc5);padding:10px 14px;background:#0b202c;border-radius:6px;min-height:44px}.social-game-rules{margin-top:20px;border-top:1px solid #304959;padding-top:16px;color:var(--muted)}.social-game-rules summary{cursor:pointer;color:var(--text,#edf5ff)}.social-scoreboard{display:flex;flex-wrap:wrap;gap:8px}.social-player{display:flex;flex:1 1 130px;min-width:0;flex-direction:column;gap:5px;border:1px solid #355164;border-radius:10px;padding:12px;background:#0b1928}.social-player.current{border-color:#6ddcc7;box-shadow:inset 0 3px #6ddcc7}.social-player strong{overflow-wrap:anywhere}.social-player span{font-size:12px}.hearts-table{margin:18px 0;background:radial-gradient(ellipse at center,#164c48,#102f32);border:1px solid #3c6a68;border-radius:18px;padding:18px;min-height:170px}.hearts-trick{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}.hearts-trick-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:78px}.hearts-trick-card>span{font-size:11px;max-width:120px;overflow-wrap:anywhere}.hearts-hand{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:10px 3px 18px;min-height:125px}.hearts-hand .playing-piece{flex:0 0 65px}.hearts-hand .playing-piece.selected{border:3px solid #55dbc5;box-shadow:0 0 0 2px #102c31;transform:translateY(-6px)}.hearts-hand button:not(:disabled){outline:1px solid #66d6c3}.hearts-hand button:disabled{opacity:.7}.hearts-trick button:disabled{opacity:1}.bg-score{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:18px 0;font-size:13px}.bg-board{padding:10px;background:#59483b;border:2px solid #aa9273;border-radius:16px;box-shadow:inset 0 0 0 4px #2a2729}.bg-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:2px;background:#ddc8a5;padding:4px;border-radius:8px}.bg-point{position:relative;display:flex;align-items:center;flex-direction:column;min-height:190px;min-width:0!important;border:0!important;border-radius:0!important;padding:3px 1px!important;background:transparent!important;color:#18202b!important}.bg-point:before{content:'';position:absolute;inset:0;clip-path:polygon(0 0,100% 0,50% 96%);background:#a85f4d;opacity:.75}.bg-point.dark:before{background:#3b5b61}.bottom .bg-point:before{transform:rotate(180deg)}.bg-point.selected,.bg-point.destination{outline:3px solid #3ce2d0!important;outline-offset:-3px}.bg-point:disabled{opacity:1}.bg-point:not(:disabled){cursor:pointer}.bg-point-number{font-size:10px;position:relative;z-index:1}.bg-stack{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;width:100%;z-index:1}.bottom .bg-stack{margin-top:auto;flex-direction:column-reverse}.bg-checker{display:block;width:min(32px,85%);aspect-ratio:1;border-radius:50%;border:2px solid #70614f;box-shadow:0 2px 2px #0008}.bg-checker.white{background:radial-gradient(circle at 35% 30%,#fffcdf,#d5c396)}.bg-checker.black{background:radial-gradient(circle at 35% 30%,#526377,#101927);border-color:#06121c}.bg-count{font-weight:800;background:#fff1c6;color:#152230;border-radius:8px;padding:0 4px;font-size:11px}.bg-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;color:#fff1dc;font-size:12px}.bg-bar button{font-size:12px;padding:8px 12px}.city-summary{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;padding:18px 0;font-size:13px}.city-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(7,minmax(72px,1fr));gap:4px;background:#0a1423;border:1px solid #385168;border-radius:16px;padding:8px;max-width:760px;margin:auto}.city-tile{position:relative;display:flex;min-width:0!important;min-height:72px;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 2px!important;border:1px solid #40596a!important;border-top:5px solid #667985!important;border-radius:6px!important;background:#17293b!important;overflow:hidden;line-height:1.15}.city-tile.group-food{border-top-color:#e6ae72!important}.city-tile.group-culture{border-top-color:#a9a0ec!important}.city-tile.group-stay{border-top-color:#76bfe8!important}.city-tile.group-leisure{border-top-color:#82d2a8!important}.city-tile.group-travel{border-top-color:#dfafc8!important}.city-tile.selected{outline:2px solid #f9f4c1;outline-offset:-3px}.city-tile.visited{background:#264f50!important}.city-tile-icon{font-size:19px}.city-tile-name{font-size:11px;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.city-tile-price{font-size:9px;color:#b9d0e0}.city-center{grid-area:2/2/7/7;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px;min-width:0}.city-center h3{font-size:clamp(14px,2vw,25px);margin:8px 0}.city-center p{margin:5px 0;overflow-wrap:anywhere}.city-center #cityPlaceInfo{font-size:12px}.city-center button{font-size:12px;padding:8px 10px;margin:4px}.city-manage{display:flex;flex-wrap:wrap;justify-content:center}.city-tokens{display:flex;flex-wrap:wrap;gap:2px;justify-content:center}.city-token{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:16px;height:16px;border:1px solid #eef4ff;color:#102033;font-size:10px;font-weight:800;background:#79d9ca}.city-owner{font-size:9px;line-height:10px}.city-token.p1{background:#e9b685}.city-token.p2{background:#aba0eb}.city-token.p3{background:#ec9fb1}.city-token.p4{background:#8fbdf0}.city-token.p5{background:#d8d68f}.city-owner.p0{color:#79d9ca}.city-owner.p1{color:#e9b685}.city-owner.p2{color:#aba0eb}.city-owner.p3{color:#ec9fb1}.city-owner.p4{color:#8fbdf0}.city-owner.p5{color:#d8d68f}.city-trade-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.city-trade-grid fieldset{min-width:0;border:1px solid #38556b;border-radius:8px;padding:12px}.city-trade-grid input[type=number],#cityTradeTarget,#cityBidAmount{width:100%;max-width:280px}.trade-assets{display:flex;flex-direction:column;gap:10px;min-height:30px;margin-bottom:14px}.trade-assets label{font-size:13px}.social-games details>summary{cursor:pointer;padding:8px 0}.city-actions button{flex:1 1 120px}
@media(max-width:600px){.social-player{flex-basis:calc(50% - 8px);padding:9px}.hearts-trick{gap:12px}.hearts-trick-card{flex-basis:calc(50% - 12px)}.bg-point{min-height:140px}.bg-board{padding:5px}.bg-checker{border-width:1px}.bg-bar{font-size:10px;gap:4px}.bg-bar button{font-size:11px;padding:7px}.city-board{gap:2px;padding:4px;border-radius:10px;grid-template-rows:repeat(7,minmax(53px,1fr))}.city-tile{min-height:53px;padding:2px 0!important;border-top-width:3px!important}.city-tile-icon{font-size:15px}.city-tile-name{font-size:9px}.city-tile-price{font-size:8px}.city-center{padding:8px}.city-center .eyebrow{font-size:9px;letter-spacing:.08em}.city-center #cityPlaceInfo{font-size:10px}.city-center .muted{font-size:11px}.city-center button{font-size:10px;padding:6px}.city-token{width:12px;height:12px;font-size:8px}.city-trade-grid{gap:8px}.city-trade-grid fieldset{padding:8px}.trade-assets label{font-size:11px}}
/* Ivory card faces keep black suits readable on the dark felt. */
.social-games .table-card{background:#f6f0dc!important;color:#16283b!important;border:2px solid #cabd96;border-radius:9px;box-shadow:0 3px 6px #0004;min-height:94px;}
.social-games .table-card.red{color:#b32942!important;}
.social-games .table-card .playing-card-rank{color:inherit;}
.social-games .table-card:disabled{background:#eee7d3!important;color:#25394c!important;}
.social-games .table-card.red:disabled{color:#a93c4e!important;}
.hearts-hand .table-card:disabled{opacity:.8;}
.hearts-trick .table-card:disabled{opacity:1;}
.bg-point{justify-content:flex-start!important;}
.bg-point-number{height:14px;line-height:14px;flex:none;}
@media(max-width:600px){.city-tile-name{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;}}
