/* Oyun 15 Nurikabe: isolated, print-friendly and dark theme accessible */
.nu-catalog-art{display:grid;place-items:center;background:linear-gradient(140deg,#d9ecf5,#e5f4ed);overflow:hidden}
.nu-catalog-demo{display:grid;grid-template-columns:repeat(6,24px);grid-template-rows:repeat(6,24px);border:2px solid #174452;gap:1px;background:#9cb4c1}.nu-catalog-demo i{display:grid;place-items:center;background:#fff;color:#20465b;font:900 15px/1 Nunito,Arial,sans-serif;font-style:normal}.nu-catalog-demo i.dark{background:#1d485b;color:transparent}
.nu-playground{flex:1;display:flex;min-height:0;align-items:center;justify-content:center}.nu-play-area{height:100%;width:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:6px 12px}
.nu-board{--nu-n:6;--nu-size:470px;display:grid;grid-template-columns:repeat(var(--nu-n),minmax(0,1fr));grid-template-rows:repeat(var(--nu-n),minmax(0,1fr));width:var(--nu-size);height:var(--nu-size);max-width:100%;border:4px solid #21495b;border-radius:15px;box-sizing:border-box;overflow:hidden;background:white;box-shadow:0 0 0 5px #e4f0ef,0 12px 26px #224d5526}
.nu-cell{border:.8px solid #acc7ce;border-radius:0;display:grid;place-items:center;min-width:0;min-height:0;padding:0;background:#f8fbfc;color:#21435b;font:900 clamp(1rem,3.2vmin,2.25rem)/1 Nunito,Arial,sans-serif;cursor:pointer;touch-action:manipulation;user-select:none}.nu-cell:nth-child(even){background:#ecf5f7}.nu-cell.clue{background:#d7f0eb!important;color:#0d5b57!important;opacity:1!important;cursor:default;box-shadow:inset 0 0 0 2px #6db6ac}.nu-cell.sea{background:#234454!important;color:transparent!important}.nu-cell.island{background:#fff!important;color:#84adad!important;font-weight:700}.nu-cell:focus-visible{outline:3px solid #e7a046;outline-offset:-3px;z-index:1}.nu-cell:not(.clue):hover{filter:brightness(.94)}
.nu-tools,.nu-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px}.nu-tools button{background:#fff;color:#215264;border:1px solid #b8d4da;border-radius:10px;padding:9px 14px;font:800 .92rem/1 Nunito,Arial,sans-serif;cursor:pointer;box-shadow:0 2px 0 #b9d2d8}.nu-tools button.selected{background:#dff5ec;color:#126c5c;border:2px solid #13967f}.nu-tools button:hover{background:#e5f5f1;color:#0b665b}.nu-play-area .feedback:empty,.nu-race-area .feedback:empty{display:none}
.nu-race-stage .race-side{min-width:0}.nu-race-area{display:flex;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:7px}.nu-race-area .nu-tools button{padding:7px 10px;font-size:.84rem}.nu-race-stage .race-panels{position:relative}.nu-race-stage .race-center-new{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;background:#0c9489!important;color:#fff!important;box-shadow:0 3px 0 #08645d,0 5px 15px #11605944}
.nu-print-sheet{padding-top:7mm}.nu-print-body{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);height:252mm;gap:3mm}.nu-print-card{border:.3mm solid #888;border-radius:1.4mm;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}.nu-print-grid{--nu-n:8;display:grid;grid-template-columns:repeat(var(--nu-n),minmax(0,1fr));grid-template-rows:repeat(var(--nu-n),minmax(0,1fr));width:61mm;height:61mm;border:.32mm solid #171717;box-sizing:border-box}.nu-print-cell{border:.12mm solid #777;min-width:0;min-height:0;display:grid;place-items:center;color:#181818;font:800 11pt/1 Arial,sans-serif}.nu-print-cell.black{background:#1e1e1e!important;color:#1e1e1e!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
html[data-theme='dark'] .nu-board{border-color:#95afc0;box-shadow:0 0 0 4px #243646,0 10px 26px #0007}html[data-theme='dark'] .nu-cell{background:#274151;color:#eef8ff;border-color:#567483}html[data-theme='dark'] .nu-cell:nth-child(even){background:#2d4557}html[data-theme='dark'] .nu-cell.sea{background:#132532!important}html[data-theme='dark'] .nu-cell.island{background:#eff6fb!important;color:#99bac0!important}html[data-theme='dark'] .nu-cell.clue{background:#c8f2e5!important;color:#135648!important}html[data-theme='dark'] .nu-tools button{background:#2a4154;color:#efffff;border-color:#527184}html[data-theme='dark'] .nu-tools button.selected{background:#1a605b;border-color:#5fd1b1;color:#fff}
@media(max-width:760px){.nu-play-area{gap:5px;padding:3px 5px}.nu-tools button{padding:7px 9px}.nu-tools{gap:5px}}
@media print{.nu-print-cell.black{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
