/* GoKith 3D look (pilot, 2026-11-21): games that link this file get raised, glossy buttons and a softly lit background,
   in the same "soft toy" style as the 3D game icons and 3D Mithu. Load it AFTER shared.css. Game-specific 3D touches
   (tiles, pieces, boards) live in each game's own <style>. Pure CSS: no images, no credits, works offline. */
:root { --d3-light: rgba(255, 255, 255, .22); --d3-dark: rgba(0, 0, 0, .32); }
html, body { background: radial-gradient(130% 70% at 50% -10%, #2d3478 0%, #1a1f4a 45%, var(--bg) 80%) fixed; }

/* raised buttons: light from above, a thick bottom edge, and a gentle press */
.tbtn, .pill, .diff button {
  background: linear-gradient(180deg, #3a438f 0%, #2a3170 100%);
  box-shadow: inset 0 1.5px 0 var(--d3-light), inset 0 -3px 0 var(--d3-dark), 0 4px 10px rgba(0, 0, 0, .28);
}
.tbtn:active, .diff button:active { transform: translateY(2px); box-shadow: inset 0 1px 0 var(--d3-light), inset 0 -1px 0 var(--d3-dark), 0 2px 5px rgba(0, 0, 0, .25); }
.diff button[aria-pressed="true"] { background: linear-gradient(180deg, #ffe08a 0%, #ffc93d 55%, #f0a91a 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(150, 90, 0, .35), 0 4px 12px rgba(255, 190, 40, .35); }
.big-btn {
  background: linear-gradient(180deg, #ffe08a 0%, #ffc93d 50%, #f0a91a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .65), inset 0 -4px 0 rgba(150, 90, 0, .35), 0 6px 0 #b9790a, 0 12px 22px rgba(0, 0, 0, .35);
}
.big-btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(150, 90, 0, .35), 0 2px 0 #b9790a, 0 6px 12px rgba(0, 0, 0, .3); }
.ghost-btn { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 4px 10px rgba(0, 0, 0, .2); }
.ghost-btn:active { transform: translateY(2px); }
.overlay .box { background: linear-gradient(180deg, #2a3170 0%, #1f2552 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .5); }

/* emoji pieces (penguin, fish, animals…) sit on the board with a soft shadow, like little toys */
.d3-toy { filter: drop-shadow(0 5px 3px rgba(0, 0, 0, .35)) drop-shadow(0 1px 0 rgba(255, 255, 255, .25)); }
@media (prefers-reduced-motion: reduce) { .tbtn:active, .diff button:active, .big-btn:active, .ghost-btn:active { transform: none; } }
