.real-game{max-width:820px;margin:16px auto;padding:24px;border:1px solid #dce6df;border-radius:24px;background:linear-gradient(150deg,#f7faf5,#eef4f5);box-shadow:0 12px 35px #163d4010}.game-instructions{font-size:15px;line-height:1.7;color:#365252}.game-status{padding:12px 16px;background:#183f43;color:#fff;border-radius:12px;min-height:24px;font-weight:600}.game-board{display:grid;gap:6px;max-width:540px;margin:20px auto}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-4{grid-template-columns:repeat(4,1fr)}.cols-6{grid-template-columns:repeat(6,1fr)}.cols-7{grid-template-columns:repeat(7,1fr)}.cols-8{grid-template-columns:repeat(8,1fr)}.cols-9{grid-template-columns:repeat(9,1fr)}.cols-10{grid-template-columns:repeat(10,1fr)}.cols-13{grid-template-columns:repeat(13,1fr)}.game-cell{min-width:0;min-height:42px;border:1px solid #bbcfc9;border-radius:10px;background:#fff;color:#173e43;padding:8px;font:600 19px system-ui;text-align:center;cursor:pointer;transition:background .12s,transform .12s}.game-board .game-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center}.game-cell:hover:not(:disabled){background:#d5ede3;transform:translateY(-2px)}.game-cell:focus-visible{outline:3px solid #b27f32;outline-offset:2px}.game-cell:disabled{cursor:default;opacity:1}.game-cell.selected{background:#f6d886;box-shadow:0 0 0 3px #b98f35}.game-cell.matched{background:#b5e1c7;color:#15442b}.game-cell.gap,.game-cell.void,.playing-card.removed{background:transparent;border-color:transparent;color:transparent}.game-cell.lit{background:#ffdc71;color:#865500}.game-cell.unlit{background:#244649;color:#a5bdba}.game-cell.gold{color:#a86500;background:#fff1bf;font-size:32px}.game-cell.blue{color:#286bb7;background:#e1edfa;font-size:32px}.game-cell.legal{background:#d2ecdc}.game-cell.wall{background:#244346;border-color:#244346}.game-cell.path{background:#fff}.game-cell.player{background:#f4d687}.cols-13 .game-cell,.cols-9 .game-cell{padding:2px;min-height:22px;font-size:18px}.game-cell.given{background:#e1e9e6}.sudoku-input{width:100%;box-sizing:border-box}.game-cell.box-right{border-inline-end:3px solid #36575a}.game-cell.box-bottom{border-bottom:3px solid #36575a}.game-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;margin:20px 0}.game-answer{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.game-answer input{padding:12px;font:22px system-ui;max-width:220px;border:1px solid #9eb7af;border-radius:10px}.word-prompt{padding:24px;text-align:center;font:700 32px system-ui;letter-spacing:.1em;overflow-wrap:anywhere}.game-log p{padding:8px;border-bottom:1px solid #d2dfd8}.card-columns{display:flex;gap:10px;overflow:auto;padding:16px 0}.card-column{flex:1;min-width:42px;display:flex;flex-direction:column;gap:5px}.playing-card{background:#fffdf8;color:#243f51;min-height:55px;border:1px solid #c5c9c0;border-radius:8px;font:600 18px system-ui}.playing-card.red-suit{color:#b13346}.playing-card.covered{background:#dae2df;color:#718782}.pyramid-row{display:flex;justify-content:center;gap:3px;margin:5px 0}.pyramid-row .playing-card{width:9%;padding:2px;min-height:42px;font-size:15px}.large-card{font:700 64px Georgia;text-align:center;padding:26px;background:white;max-width:180px;margin:auto;border:2px solid #c9d7d1;border-radius:20px}.stack-card{display:inline-flex;flex-direction:column;gap:5px;margin:6px}.stack-card strong{padding:15px}.pile-row{padding:16px;background:white;border-radius:14px;margin:10px 0}.pile-row button{margin:4px}.tokens{color:#b88831;font-size:26px;overflow-wrap:anywhere}.game-cell.revealed{background:#dce8e0}.game-cell.letter{width:42px}.game-instructions{margin-top:0}@media(max-width:600px){.real-game{padding:12px}.game-cell{font-size:15px;padding:4px}.game-board{gap:3px}.cols-10 .game-cell,.cols-8 .game-cell{min-height:25px;font-size:14px}.pyramid-row .playing-card{font-size:12px}.word-prompt{font-size:24px}}@media(prefers-reduced-motion:reduce){.game-cell{transition:none}}

.game-filters{display:flex;gap:12px;flex-wrap:wrap;position:sticky;top:0;background:var(--bg,#f5f2e9);padding:12px 0;z-index:2}.game-filters input{flex:1;min-width:180px}.game-filters input,.game-filters select{font:inherit;padding:12px;border:1px solid #b8cbc4;border-radius:14px;background:#fff}.gamecard{position:relative;overflow:hidden;transition:transform .16s,box-shadow .16s}.gamecard:hover{transform:translateY(-3px);box-shadow:0 10px 24px #183f4320}.gamecard .gic{display:flex;align-items:center;justify-content:center;height:76px;border-radius:14px;background:linear-gradient(130deg,#d3e9e1,#f6deb0);font-size:34px!important;margin-bottom:12px}.gamecard[data-category="Cards"] .gic{background:linear-gradient(130deg,#d8e1f1,#eadff1);color:#373d68}.gamecard[data-category="Words"] .gic{background:linear-gradient(130deg,#f5d5c7,#fae9be)}.gamecard[data-category="Photo puzzles"] .gic{background:linear-gradient(130deg,#c7e1e4,#e0edce)}.gamecard[hidden],.gamegrid[hidden]{display:none!important}.game-loading{padding:32px;text-align:center;background:#e9f0ec;border-radius:18px}.real-game:focus-visible{outline:3px solid #b27f32}.game-cell{touch-action:manipulation}.game-board.cols-10 .game-cell{min-height:20px}.game-board.cols-7{gap:5px}.game-cell.gold,.game-cell.blue{border-radius:50%}.game-cell.empty{background:#edf1ed}.game-log{max-height:220px;overflow:auto}.playing-card{box-shadow:0 2px 4px #183f4315}.playing-card.covered{background:repeating-linear-gradient(45deg,#a4b9b5,#a4b9b5 5px,#bdcdc9 5px,#bdcdc9 10px);color:#233f42}.game-status{font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.gamecard{transition:none}.gamecard:hover{transform:none}}
