/* v6.9.36 — sayı ve hafıza atölyeleri */
body[data-playgame="kakuro"] .pro-game-controls, .memory-premium .pro-game-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px;background:#082e43;border:1px solid #326075;border-radius:18px;margin-bottom:22px}
body[data-playgame="kakuro"] .pro-game-controls label,.memory-premium .pro-game-controls label{display:flex;flex-direction:column;gap:6px;color:#a9c7d5;font-size:12px;font-weight:700;flex:1;min-width:160px}
body[data-playgame="kakuro"] .pro-game-controls select,.memory-premium select{background:#153f53;color:#fff;border:1px solid #497386;border-radius:10px;padding:12px;font:600 14px inherit;min-height:46px;width:100%}
body[data-playgame="kakuro"] .kakuro-scene{position:relative;background:radial-gradient(ellipse at 50% 30%,#54757f,#1c3d4b 70%);padding:26px;gap:14px}
.kakuro-meta{color:#cce6e6;font-size:12px;letter-spacing:1px;text-align:center;margin-bottom:8px}
body[data-playgame="kakuro"] .sculpted-kakuro{width:min(100%,510px);background:#15313c;border-color:#53727b;box-shadow:0 12px 0 #122732,0 28px 32px #00182288;transform:perspective(1200px) rotateX(7deg)}
body[data-playgame="kakuro"] .scene-caption{margin-top:16px;color:#cce6e6}
body[data-playgame="kakuro"] .number-tile{font-size:clamp(16px,2.5vw,29px);padding:0}
body[data-playgame="kakuro"] .sum-tile{font-size:clamp(11px,1.3vw,17px)}
body[data-playgame="kakuro"] .number-tile.related{background:linear-gradient(135deg,#e8f7f0,#cce4df)}
body[data-playgame="kakuro"] .number-tile.selected{background:#adf5de;outline:2px solid #47d8af;outline-offset:-3px}
body[data-playgame="kakuro"] .number-tile.invalid{background:#ffccb7;color:#a12f21}
body[data-playgame="kakuro"] .sum-tile.active-clue{color:#9effdc;box-shadow:inset 0 0 0 2px #65c9ac,0 4px 0 #071a25}
.kakuro-progress{margin-top:20px;color:#bce5d9;font-size:13px}
.memory-premium{width:100%;min-width:0;background:radial-gradient(ellipse at 50% 40%,#225a6a55,transparent 70%)}
.memory-summary{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:28px 0 18px}.memory-summary h2{font-size:clamp(23px,3vw,34px);margin:8px 0;letter-spacing:-.7px}
.memory-stats{display:flex;gap:8px;flex-wrap:wrap}.memory-stats span{padding:10px 14px;background:#113c4f;border:1px solid #416477;border-radius:12px;font-size:13px;font-weight:700;color:#c8f2e5}
.memory-progress{height:5px;background:#082737;border-radius:6px;margin-bottom:26px;overflow:hidden}.memory-progress i{height:100%;display:block;background:linear-gradient(90deg,#55d4bd,#ffe6a8);transition:width .4s}
.memory-premium .memory-grid{display:grid;width:100%;max-width:960px;margin:auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;transform:none}
.memory-premium .memory-grid[data-count="12"]{max-width:800px;grid-template-columns:repeat(4,minmax(0,1fr))}
.memory-premium .memory-grid[data-count="24"]{grid-template-columns:repeat(6,minmax(0,1fr))}
.memory-premium .memory-grid[data-count="32"]{grid-template-columns:repeat(8,minmax(0,1fr));max-width:1100px}
.memory-premium .memory-card{display:block;width:100%;height:auto;aspect-ratio:1/1.1;max-height:180px;padding:0;border:0;border-radius:15px;background:transparent;font:inherit;color:inherit;perspective:1000px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.memory-premium .memory-card:focus-visible{outline:3px solid #ffce58;outline-offset:4px}.memory-premium .memory-card:hover:not(.flipped):not(.matched) .memory-inner{translate:0 -4px}
.memory-premium .memory-inner{display:block;transition:transform .48s cubic-bezier(.2,.7,.2,1),translate .2s;transform-style:preserve-3d}
.memory-premium .memory-face{border:1px solid #81b8bd70;box-shadow:0 6px 0 #032337,0 12px 22px #001b3355;border-radius:15px}
.memory-premium .memory-front{display:flex;flex-direction:column;justify-content:center;gap:8px;background:radial-gradient(circle at 50% 25%,#29728655,transparent 65%),repeating-linear-gradient(45deg,transparent 0 16px,#8adad708 17px 18px),linear-gradient(145deg,#18556a,#072b40)}
.memory-premium .memory-front:before{content:"";position:absolute;inset:8px;border:1px solid #c7e4d43b;border-radius:9px}
.card-emblem{font-size:clamp(26px,4vw,44px);color:#f2d49e;text-shadow:0 2px 2px #001b33}.memory-front small{font-size:8px;color:#b3d8d8;letter-spacing:1.4px}
.memory-premium .memory-back{display:flex;flex-direction:column;justify-content:center;gap:2px;background:linear-gradient(145deg,#fffdf3,#e3ecea);border-color:#e4d6b0;color:#123947;padding:8px;overflow:hidden}
.memory-back img{display:block;width:72%;height:68%;object-fit:contain;filter:drop-shadow(0 3px 2px #18435715)}.memory-name{display:block;font-size:clamp(10px,1.1vw,13px);font-weight:750;line-height:1.1;text-align:center;max-width:100%;overflow-wrap:anywhere}
.memory-swatch{display:block;width:48%;aspect-ratio:1;border:2px solid #20394825;box-shadow:inset 0 2px 4px #ffffff60,0 4px 8px #163b4b20;margin:8px}
.memory-premium .memory-card.matched .memory-back{background:linear-gradient(135deg,#e6ffef,#b3e7ce);border-color:#72d2aa;box-shadow:0 4px 0 #22645b,0 0 22px #7ad9ac16}.memory-premium .memory-card.matched{cursor:default}
.memory-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin:26px 0 6px;color:#a9c6d3}.memory-footer p{font-size:13px;margin:0}.memory-footer small{font-size:11px}.memory-footer a{color:#b3dbd8;text-decoration:underline}
@container site69 (max-width:900px){.memory-summary{align-items:flex-start;flex-direction:column}.memory-premium .memory-grid[data-count="32"]{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-premium .memory-grid{gap:10px}}
@container site69 (max-width:600px){body[data-playgame="kakuro"] .kakuro-scene{padding:18px 5px;min-height:0;border-radius:15px}body[data-playgame="kakuro"] .sculpted-kakuro{border-width:4px;padding:3px;gap:3px;width:100%}body[data-playgame="kakuro"] .sum-tile{font-size:11px}body[data-playgame="kakuro"] .sculpted-kakuro[data-size="9"] .sum-tile{font-size:9px}body[data-playgame="kakuro"] .number-tile{font-size:18px}body[data-playgame="kakuro"] .atelier-layout{gap:16px}.memory-premium .memory-grid[data-count="24"]{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-premium .memory-grid{gap:9px}.memory-premium .memory-face{border-radius:10px}.memory-premium .memory-back{padding:4px}.memory-front small{display:none}.memory-name{font-size:10px}.memory-stats{gap:5px}.memory-stats span{font-size:12px;padding:8px 10px}.memory-summary{margin:18px 0 12px}.memory-premium .pro-game-controls{padding:12px}.memory-premium .pro-game-controls label{min-width:120px}.memory-premium .memory-card{aspect-ratio:1/1.2}.memory-premium .memory-front:before{inset:5px}.atelier-heading h1 span{margin-left:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.memory-premium .memory-inner,.memory-progress i{transition:none}}

@container site69 (max-width:600px){.memory-name{font-size:9px;overflow-wrap:normal}.memory-premium .memory-back{gap:3px}}
