.game-kelime-tamamlama {
  --g-bg: #f0f4ff;
  --g-surface: #fff;
  --g-ink: #1b1a3a;
  --g-muted: #595876;
  --g-accent: #3f3cbb;
  --g-line: #bdc5e8;
}
.game-kelime-tamamlama .game-landing-preview { border: 2px solid #3f3cbb; border-radius: 12px; box-shadow: 0 4px 0 #bdc5e8; }
.game-kelime-tamamlama .game-player-bar { background: #3f3cbb; color: #fff; }
.game-kelime-tamamlama .game-close { color: #fff; }
.game-kelime-tamamlama .kt-reset { background: transparent; border-color: #a9a6ff; color: #fff; padding-inline: 10px; font-size: 13px; }
.game-kelime-tamamlama .game-player-bar { gap: 8px; }
.game-kelime-tamamlama .game-player-bar h2 { font-size: 16px; }
.kt-game { max-width: 600px; }
.kt-sheet-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--g-muted); }
.kt-sheet-heading > :first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kt-sheet-heading > :last-child { flex: none; }
.kt-clue-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 6px; margin-bottom: 16px; }
.kt-clue-nav button { padding: 0; font-size: 24px; }
.kt-clue-nav p { margin: 0; text-align: center; line-height: 1.35; font-size: 15px; font-weight: 800; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.kt-word { display: grid; grid-template-columns: repeat(var(--kt-cols), minmax(44px, 56px)); justify-content: center; gap: 4px; padding: 14px 0; border-block: 1px solid var(--g-line); background: #fff; }
.kt-tile { position: relative; width: 100%; min-width: 44px; height: 60px; padding: 0 0 6px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--g-ink); font: 800 30px var(--g-font); cursor: pointer; touch-action: manipulation; }
.kt-tile:disabled { opacity: 1; cursor: default; }
.kt-tile.is-given { color: #3f3cbb; }
.kt-tile.is-blank::after { content: ""; position: absolute; bottom: 8px; left: 9px; right: 9px; height: 3px; background: #3f3cbb; border-radius: 2px; }
.kt-tile.is-current { background: #ffe45c; border-color: #d3b82b; }
.kt-tile.is-filled { background: #eef0ff; }
.kt-tile.is-current.is-filled { background: #ffe45c; }
.kt-tile.is-revealed { border: 1px dashed #3f3cbb; }
.kt-word.is-solved .is-blank { background: #e4e5ff; }
.kt-tile.is-wrong { animation: kt-shake .3s; background: #ffdbd6; }
.kt-status { margin: 8px 0; min-height: 22px; font-size: 13px; line-height: 1.5; }
.kt-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kt-actions button { padding-inline: 4px; font-size: 15px; }
.kt-keyboard { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 14px 0 10px; }
.kt-key { min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #a9afd4; border-radius: 6px; background: #fff; color: #1b1a3a; font: 800 20px var(--g-font); box-shadow: 0 2px 0 #bdc5e8; cursor: pointer; touch-action: manipulation; }
.kt-key:active { background: #ffe45c; transform: translateY(2px); box-shadow: none; }
.kt-key:disabled { opacity: .5; cursor: default; }
.kt-last-letter { grid-column: span 3; }
.kt-delete { grid-column: span 4; font-size: 15px; background: #e5e8fa; }
.kt-continue { width: 100%; background: #ffe45c; border-color: #d3b82b; }
.kt-win { padding: 12px; border: 2px solid #3f3cbb; background: #fff; text-align: center; }
.kt-win p { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.kt-stats { display: flex; justify-content: space-between; align-items: center; min-height: 30px; gap: 8px; color: var(--g-muted); font-size: 13px; }
.kt-stats [data-stars] { color: #3f3cbb; font-size: 18px; }
.kt-word-list { border-block: 1px solid var(--g-line); }
.kt-word-list summary { min-height: 44px; padding: 12px 0; font-weight: 800; cursor: pointer; }
.kt-word-list summary span { float: right; color: var(--g-muted); font-size: 13px; }
.kt-word-list ol { margin: 0; padding: 0 0 8px; list-style: none; }
.kt-word-list button { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; width: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: var(--g-ink); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.kt-word-list button.is-active { background: #ffe45c; }
.kt-word-list button.is-solved .kt-word-number { color: #3f3cbb; }
.kt-word-number { font-weight: 800; }
.game-kelime-tamamlama .game-levels { max-width: 600px; margin-top: 14px; }
.game-kelime-tamamlama .game-levels-heading { margin-bottom: 6px; }
.game-kelime-tamamlama .game-how h2 { margin-top: 28px; }
.game-kelime-tamamlama .game-how li + li { margin-top: 8px; }
@keyframes kt-shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-3px); } }
@media (min-width: 720px) {
  .kt-word { grid-template-columns: repeat(var(--kt-length), minmax(44px, 48px)); gap: 4px; }
  .kt-clue-nav p { font-size: 17px; }
  .kt-keyboard { gap: 6px; }
  .kt-key { min-height: 48px; }
}
@media (min-width: 1080px) {
  .game-kelime-tamamlama .game-player { max-width: 760px; }
  .game-kelime-tamamlama .game-player-bar h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .kt-tile.is-wrong { animation: none; }
}
