/* Supports, rewards and shared move feedback. */
.support-trigger{display:flex;align-items:center;gap:5px;border:0;background:#7444ad;color:#fff;border-radius:12px;padding:8px 10px;font:800 11px var(--font, Nunito, sans-serif);min-height:36px;cursor:pointer;box-shadow:0 2px 8px #27103b26}.support-trigger svg{width:19px;height:19px}.support-trigger b:empty{display:none}.support-trigger:disabled{opacity:.45}.board-tools .support-trigger{width:auto}.board-tools{max-width:calc(100% - 12px)}
.supports-dialog{width:min(440px,calc(100% - 24px));max-height:85dvh;padding:20px;border:1px solid #9e70d14d;border-radius:24px;background:var(--surface,#fff);color:var(--ink,#2e2341)}
.support-cards{display:grid;gap:12px;margin:18px 0}.support-card{display:flex;align-items:center;gap:12px;width:100%;min-height:94px;padding:14px;text-align:left;background:#9763cb10;border:1px solid #a47cce40;border-radius:18px;color:inherit;font:inherit}.support-card>span:nth-child(2){flex:1;min-width:0}.support-card b{display:block;font-size:17px;font-weight:900}.support-card small{display:block;font-size:12px;margin-top:4px;opacity:.75;line-height:1.4}.support-card>strong{font-size:22px;color:#a879e9}.support-card:disabled{opacity:.45}.support-art{display:grid;place-items:center;width:48px;height:56px;flex:none;border-radius:14px;color:#a96aee;background:linear-gradient(145deg,#a674ed35,#6939ac16)}.support-art svg{width:31px;height:31px}.hint-art{color:#deab38;background:#e9b7401c}.support-buy{display:flex;align-items:center;gap:5px;justify-content:center;min-width:70px;min-height:48px;border:1px solid #ae77e266;background:#7948b8;color:white;border-radius:14px;cursor:pointer}.support-buy svg{width:21px;height:21px}.support-buy:disabled{opacity:.4;cursor:default}.support-status{font-size:13px;min-height:18px;line-height:1.4}.shop-wallet{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px;border-radius:16px;background:#7d49b91c}.shop-wallet svg{width:28px;height:28px;color:#af7df1}.shop-wallet b{font-size:28px}.shop-wallet small{opacity:.7}
.friend-profile{padding:8px 0;text-align:left;background:none;border:0;color:inherit;font:inherit;cursor:pointer;min-width:0;flex:1}.friend-profile b,.friend-profile small{display:block}.friend-profile:focus-visible{outline:2px solid #aa75eb;border-radius:8px}.friend-profile:hover b{color:#b087e8}
#scores .player-card{position:relative}.player-speech{position:absolute;top:calc(100% - 4px);left:7px;right:7px;z-index:8;display:flex;align-items:center;gap:5px;max-width:240px;min-height:29px;padding:5px 8px;border:1px solid #b28ce366;border-radius:3px 12px 12px 12px;background:#7b4cba;color:white;box-shadow:0 3px 10px #25113726;font:700 11px Nunito,sans-serif;cursor:pointer;animation:speech-in .18s ease-out}.player-speech svg{width:14px;height:14px;flex:none}.player-speech span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bonus-chips{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px}.bonus-chip{padding:3px 6px;border:1px solid #b38bec55;border-radius:7px;background:#9970d221;color:#9d65dc;font-size:11px;line-height:1.1;white-space:nowrap}.score-burst .bonus-chips{display:flex;justify-content:center;margin-top:8px}.score-burst .bonus-chip{font-size:16px;background:#633997;color:#fff;box-shadow:0 0 18px #a46bef70}.history-content .bonus-chips{margin-top:5px}.last-move .bonus-chips{flex:none}.bonus-impact.pop{filter:drop-shadow(0 0 12px #b78bef65)}
@keyframes speech-in{from{opacity:0;transform:translateY(-5px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:400px){.board-tools{gap:3px;padding:4px}.board-tools .icon-button{width:30px;height:30px}.support-trigger{padding:6px 8px;font-size:10px}.supports-dialog{padding:16px}.support-card{padding:11px;gap:9px}.support-card small{font-size:11px}.last-move .bonus-chips{max-width:84px}.bonus-chip{font-size:10px}}
@media(prefers-reduced-motion:reduce){.player-speech{animation:none}.bonus-impact.pop{filter:none}}
body[data-motion=reduced] .player-speech{animation:none}body[data-motion=reduced] .bonus-impact.pop{filter:none}

/* Keep supports beside the hand actions, separate from board navigation. */
.minor-actions #useJoker{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:35px;min-height:35px;margin-left:auto;padding:6px;border:1px solid #c193e8;border-bottom:2px solid #7751a4;border-radius:10px;background:linear-gradient(145deg,#9562c9,#70439d);color:#ffe4a2;box-shadow:inset 0 1px 0 #ffffff24;cursor:pointer;touch-action:manipulation}.minor-actions #useJoker .icon{width:23px;height:23px;stroke-width:1.8}.minor-actions #useJoker:active{transform:translateY(1px);filter:brightness(1.12)}.minor-actions #useJoker:focus-visible{outline:2px solid #e7c4ff;outline-offset:2px}.minor-actions #useJoker:disabled{opacity:.4}.minor-actions #useJoker.hidden{display:none}@media(max-width:360px){.minor-actions #useJoker{flex-basis:32px;width:32px;min-width:32px;padding:5px}}

/* The whole current-player card carries the turn indicator. */
body #scores .player-card.active{background:#d0f1df;border-color:#45ad79;box-shadow:0 2px 0 #29865740,inset 0 1px 0 #ffffff66}body #scores .player-card.active .player-name,body #scores .player-card.active .player-score{color:#175d3b!important}body #scores .player-card.active .player-sub{color:#296e4b}body[data-theme=night] #scores .player-card.active{background:#20573f;border-color:#56bd87;box-shadow:0 2px 0 #102f24,inset 0 1px 0 #85e1af20}body[data-theme=night] #scores .player-card.active .player-name,body[data-theme=night] #scores .player-card.active .player-score{color:#edfff4!important}body[data-theme=night] #scores .player-card.active .player-sub{color:#b5e6c9}

.minor-actions #pass{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-width:32px;font-size:0!important;padding:5px!important}.minor-actions #pass .icon{width:20px;height:20px}.minor-actions #exchange{margin-left:3px}.minor-actions #undo{font-size:0!important;width:32px!important;min-width:32px!important;padding:5px!important}.minor-actions #undo>span{display:none!important}.minor-actions #shuffle{width:32px!important;padding:5px!important}@media(max-width:360px){.minor-actions{gap:2px}.minor-actions #undo,.minor-actions #shuffle,.minor-actions #pass{width:27px!important;min-width:27px!important;flex-basis:27px!important}.minor-actions #exchange{padding:4px!important;font-size:9px!important;gap:2px}.minor-actions #exchange .icon{width:15px}.minor-actions #useJoker{width:28px;min-width:28px;flex-basis:28px}}

.phone-notifications{display:grid;gap:8px;margin:16px 0}.phone-notifications small{font-size:12px;color:var(--muted);line-height:1.5}

.minor-actions #exchange{display:flex!important}
