.game-cengel-bulmaca {
  --g-bg: #f6f1e3;
  --g-surface: #fffdf5;
  --g-ink: #111111;
  --g-muted: #655f54;
  --g-accent: #c8102e;
  --g-line: #b5ad99;
}
.game-cengel-bulmaca .game-landing-preview { border: 2px solid var(--g-accent); border-radius: 12px; box-shadow: 0 4px 0 var(--g-line); }
.game-cengel-bulmaca .game-player-bar { background: #fffdf5; border-bottom: 2px solid var(--g-accent); }
.cg-game { max-width: 580px; }
.cg-active-clue { margin: 0; padding: 8px 10px; min-height: 44px; background: var(--g-surface); border-left: 3px solid var(--g-accent); font-size: 15px; line-height: 1.4; }
.cg-clue-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; align-items: center; margin-bottom: 12px; }
.cg-clue-nav button { padding: 0; font-size: 20px; }
.cg-grid-scroll { width: fit-content; margin-inline: auto; max-width: 100%; overflow: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--g-accent) var(--g-line); border: 1px solid var(--g-ink); background: #dfd8c7; }
.cg-grid { display: grid; grid-template-columns: repeat(var(--cols), 44px); gap: 1px; width: max-content; padding: 1px; margin: auto; background: var(--g-ink); }
.cg-square { position: relative; width: 44px; height: 44px; background: #dfd8c7; }
.cg-square.is-live { background: var(--g-surface); }
.cg-square.is-selected { background: #f3ddd6; }
.cg-square.is-hinted { color: var(--g-accent); }
.cg-square.is-current { box-shadow: inset 0 0 0 3px var(--g-accent); }
.cg-square.is-wrong { background: #ffd4cf; }
.cg-square input { display: block; width: 44px; height: 44px; padding: 11px 0 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: 800 23px var(--g-font); text-align: center; scroll-margin-block: 100px 24px; }
.cg-square input:focus { outline: 3px solid var(--g-accent); outline-offset: -3px; }
.cg-number { position: absolute; top: 1px; left: 3px; font: 700 13px/1 var(--g-font); pointer-events: none; }
.cg-actions { display: flex; gap: 6px; margin-top: 12px; }
.cg-actions button { flex: 1; padding-inline: 5px; font-size: 15px; }
.cg-status { margin: 8px 0; min-height: 24px; font-size: 13px; }
.cg-status[data-type="error"] { color: #a02b38; }
.cg-win { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 2px solid var(--g-accent); margin-block: 12px; }
.cg-clue-list { border-block: 1px solid var(--g-line); }
.cg-clue-list summary { min-height: 44px; padding: 12px 2px; font-weight: 800; cursor: pointer; }
.cg-clues { display: grid; gap: 16px; padding-bottom: 12px; }
.cg-clues h3 { font-size: 16px; margin-bottom: 6px; }
.cg-clues ol { margin: 0; padding: 0; list-style: none; }
.cg-clues button { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 3px; background: transparent; color: var(--g-ink); font: inherit; text-align: left; cursor: pointer; }
.cg-clues button.is-selected { background: #f3ddd6; }
.cg-clues button:active { background: var(--g-line); }
.cg-clue-length { font-size: 13px; text-align: right; color: var(--g-muted); }
.game-cengel-bulmaca .game-levels { max-width: 580px; margin-top: 16px; }
.game-cengel-bulmaca .game-level-list [aria-current="step"] { background: var(--g-accent); border-color: var(--g-accent); color: white; }
.game-cengel-bulmaca .game-how h3 { margin-top: 20px; font-size: 16px; }
.game-cengel-bulmaca .game-how h2 { margin-top: 28px; }
@media (min-width: 720px) {
  .cg-clues { grid-template-columns: 1fr 1fr; }
  .cg-active-clue { font-size: 16px; }
}
@media (min-width: 1080px) {
  .game-cengel-bulmaca .game-player { max-width: 780px; }
}
.cg-active-clue, .cg-clue-text { font-family: ui-serif, "New York", Georgia, "Times New Roman", serif; }
.cg-theme { margin-bottom: 6px; color: var(--g-muted); font-size: 13px; }
.game-cengel-bulmaca .game-level-list button { border-radius: 2px; }
.game-cengel-bulmaca .game-landing h1 { font-family: ui-serif, "New York", Georgia, "Times New Roman", serif; }
