body[data-game="memory"]{background:#201b30;--panel:#342c46;--accent:#e0c5ff;--muted:#c1b3d0;}
body[data-game="odd"]{background:#14282b;--panel:#203c3e;--accent:#b9eed3;--muted:#adcac5;}
body[data-game="sum"]{background:#252237;--panel:#38344c;--accent:#ffd8a8;--muted:#c3bbd3;}
#puzzle-board{display:flex;justify-content:center;align-items:stretch;gap:18px;padding:34px 28px;min-height:200px;background:radial-gradient(ellipse,#ffffff08,transparent);}
.memory-tile{width:110px;height:130px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:#ffffff0b;border:1px solid #ffffff25;font-size:64px;font-weight:750;box-shadow:0 8px 0 #0002;}
.tile-1{background:#ffc5be;color:#563e46;}.tile-2{background:#b8e1ff;color:#314d6b;}.tile-3{background:#ffe4a4;color:#605037;}.tile-4{background:#c8efc5;color:#365745;}
.odd-card{flex:1;max-width:350px;text-align:center;border:1px solid #ffffff25;border-radius:20px;background:#0002;padding:24px 12px;}.odd-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--accent);border-radius:50%;font-size:22px;color:var(--accent);}.odd-card h3{font-size:26px;margin:14px 0;}.odd-card code{color:var(--muted);font-size:15px;}
.sum-current,.sum-target{flex:1;max-width:300px;border:1px solid #ffffff25;border-radius:24px;padding:24px;text-align:center;background:#0002;}.sum-target{background:#ffd8a8;color:#483c48;}.sum-current small,.sum-target small{display:block;letter-spacing:.12em;font-size:11px;}.sum-current b,.sum-target b{font-size:90px;font-weight:750;line-height:1.4;}
.puzzle-status{display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:13px;padding:0 28px 20px;min-height:40px;}.puzzle-status p{max-width:75%;}#puzzle-leaders{display:flex;flex-wrap:wrap;gap:8px;padding:0 28px 20px;}#puzzle-leaders span{font-size:12px;border:1px solid #ffffff22;border-radius:6px;padding:4px 8px;max-width:100%;overflow-wrap:anywhere;}
body[data-game="memory"].transparent,body[data-game="odd"].transparent,body[data-game="sum"].transparent{background:transparent;}
body[data-game="memory"].chroma,body[data-game="odd"].chroma,body[data-game="sum"].chroma{background:#00ff00;}
@media(max-width:700px){#puzzle-board{padding:24px 16px;gap:8px;min-height:130px;}.memory-tile{height:75px;min-width:0;flex:1;border-radius:12px;font-size:32px;}.odd-card{padding:18px 5px;}.odd-card h3{font-size:18px;overflow-wrap:anywhere;}.odd-card code{font-size:12px;}.sum-current,.sum-target{padding:18px 12px;}.sum-current b,.sum-target b{font-size:65px;}.puzzle-status{padding:0 20px 20px;flex-direction:column;gap:6px;}.puzzle-status p{max-width:100%;}}
