/* Oyun 12 – Hitori. Restrict all rules to the new game. */
.hi-catalog-art{background:linear-gradient(135deg,#e7efe9,#d9e6de);display:grid;place-items:center;overflow:hidden}
.hi-catalog-demo{display:grid;grid-template-columns:repeat(5,26px);grid-template-rows:repeat(5,26px);gap:2px;border:2px solid #456f67;background:#456f67;transform:rotate(-3deg)}
.hi-catalog-demo i{display:grid;place-items:center;background:#fff;color:#234b49;font:900 17px/1 Nunito,Arial,sans-serif;font-style:normal}.hi-catalog-demo i.black{background:#254c49;color:transparent}
.hi-catalog .catalog-open{color:#177f73}
.hi-playground{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.hi-play-area{height:100%;width:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:6px 12px}
.hi-board{--hi-size:475px;--hi-n:6;display:grid;width:var(--hi-size);height:var(--hi-size);grid-template-columns:repeat(var(--hi-n),minmax(0,1fr));grid-template-rows:repeat(var(--hi-n),minmax(0,1fr));box-sizing:border-box;border:4px solid #264a55;border-radius:14px;overflow:hidden;background:white;box-shadow:0 0 0 5px #e6f1ef,0 12px 25px #223d4425}
.hi-cell{border:.75px solid #b9d0d3;border-radius:0;min-width:0;min-height:0;padding:0;background:#f6fafb;color:#163c53;display:grid;place-items:center;font:900 clamp(1rem,3.3vmin,2.25rem)/1 Nunito,Arial,sans-serif;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-tap-highlight-color:transparent}
.hi-cell:nth-child(2n){background:#edf5f5}.hi-cell.shade{background:#234b52!important;color:transparent!important}.hi-cell.sure{background:#d6f0e8!important;color:#163e52!important;box-shadow:inset 0 0 0 2px #77bbaa}.hi-cell:hover{filter:brightness(.95)}.hi-cell:focus-visible{outline:3px solid #f2a84c;outline-offset:-3px;z-index:1}
.hi-tools,.hi-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}
.hi-tools button{background:#fff;color:#224a52;border:1px solid #bfd4d5;border-radius:10px;padding:9px 14px;font:800 .9rem/1 Nunito,Arial,sans-serif;cursor:pointer;box-shadow:0 2px 0 #b5cfd0}
.hi-tools button.selected{background:#e0f4ee;color:#086c5e;border:2px solid #0f9282}.hi-tools button:hover{background:#e6f4f1;color:#0b6059}
.hi-play-area .feedback:empty,.hi-race-area .feedback:empty{display:none}.hi-race-area{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:0}.hi-race-stage .race-side{min-width:0}.hi-race-area .hi-tools button{padding:7px 9px;font-size:.82rem}.hi-race-stage .race-panels{position:relative}.hi-race-stage .race-center-new{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;background:#079582!important;color:white!important;box-shadow:0 3px 0 #08645d,0 5px 13px #1c5b5144}
.hi-print-sheet{padding-top:7mm}.hi-print-body{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);height:252mm;gap:3mm}.hi-print-card{border:.3mm solid #8a8a8a;border-radius:1.4mm;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}.hi-print-grid{--hi-n:8;display:grid;grid-template-columns:repeat(var(--hi-n),minmax(0,1fr));grid-template-rows:repeat(var(--hi-n),minmax(0,1fr));width:61mm;height:61mm;box-sizing:border-box;border:.32mm solid #161616}.hi-print-cell{border:.12mm solid #888;display:grid;place-items:center;min-width:0;min-height:0;color:#161616;font:800 10pt/1 Arial,sans-serif}.hi-print-cell.black{background:#222!important;color:#222!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
html[data-theme="dark"] .hi-board{border-color:#90bbbb;box-shadow:0 0 0 4px #243b46,0 9px 26px #0007}html[data-theme="dark"] .hi-cell{background:#243b4b;color:#eef6ff;border-color:#536b79}html[data-theme="dark"] .hi-cell:nth-child(2n){background:#294151}html[data-theme="dark"] .hi-cell.shade{background:#111f2a!important}html[data-theme="dark"] .hi-cell.sure{background:#21534c!important;color:#f5fff9!important}html[data-theme="dark"] .hi-tools button{background:#2a4656;color:#efffff;border-color:#557987}html[data-theme="dark"] .hi-tools button.selected{background:#135d55;border-color:#68c4b0;color:#fff}
@media(max-width:760px){.hi-play-area{gap:5px;padding:3px 5px}.hi-tools button{padding:7px 8px}.hi-tools{gap:5px}}
@media print{.hi-print-cell.black{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
