/* sudoku.css · Cliplea · Sudoku (v0.4.54). Dugmad, prozori i statistika nose klase iz enigma.css i rec.css (rec-dugme, e-kraj, rec-raspodela). */
.sud .enigma-vrh { padding-bottom: 2px; }
.sud-nivoi { display: flex; gap: 8px; padding: 6px 16px 4px; }
.sud-nivoi, .sud-alati { max-width: 492px; margin-left: auto; margin-right: auto; }   /* na računaru u širini mreže (460 + 2 × 16), na telefonu cela širina */
.sud-nivo { flex: 1; font: inherit; font-size: 14px; font-weight: 700; padding: 8px 6px; border: 1.5px solid var(--linija); border-radius: 999px; background: #fff; color: var(--naslov); cursor: pointer; }
.sud-nivo.on { background: var(--naslov); border-color: var(--naslov); color: #fff; }
.sud-nivo.reseno::after { content: ' ✓'; }
.sud-alati { display: flex; align-items: center; gap: 8px; padding: 8px 16px 10px; flex-wrap: wrap; }
.sud-alati .e-sat { margin-right: auto; font-family: var(--naslovni); font-weight: 800; font-size: 18px; color: var(--naslov); min-width: 56px; }
.sud-alati .rec-dugme.on { background: var(--akcenat); border-color: var(--akcenat); color: #fff; }
.sud-meni { position: relative; }
.sud-meni > summary { list-style: none; cursor: pointer; width: 36px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--linija); border-radius: 999px; background: #fff; font-weight: 800; color: var(--naslov); }
.sud-meni > summary::-webkit-details-marker { display: none; }
.sud-mreza { display: grid; grid-template-columns: repeat(9, 1fr); width: min(100% - 32px, 440px); margin: 4px auto 10px; border: 2px solid #151a2d; background: #fff; -webkit-user-select: none; user-select: none; }
.sud-polje { position: relative; aspect-ratio: 1; border-right: 1px solid #c5cad8; border-bottom: 1px solid #c5cad8; display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sud-polje:nth-child(9n) { border-right: 0; }
.sud-polje:nth-child(n+73) { border-bottom: 0; }
.sud-polje.d { border-right: 2px solid #151a2d; }
.sud-polje.n { border-bottom: 2px solid #151a2d; }
.sud-broj { font-family: var(--naslovni); font-weight: 700; font-size: clamp(18px, 5.2vw, 26px); line-height: 1; color: #1a5fd0; }
.sud-polje.dato .sud-broj { color: #151a2d; font-weight: 800; }
.sud-polje.otkriveno .sud-broj { color: var(--akcenat); }
.sud-polje.srodno { background: #f0f3fa; }
.sud-polje.isti { background: #dbe7fa; }
.sud-polje.izabrano { background: #bcd2fb; box-shadow: inset 0 0 0 2px var(--naslov); }
.sud-polje.sukob .sud-broj { color: #c62828; }
.sud-polje.pogresno { background: #fde2e4; }
.sud-polje.pogresno .sud-broj { color: #c62828; }
.sud-beleske { position: absolute; inset: 2px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.sud-beleske[hidden] { display: none; }
.sud-beleske i { font-style: normal; font-size: clamp(8px, 2.4vw, 11px); line-height: 1; color: #5c6070; display: flex; align-items: center; justify-content: center; }
.sud-tabla { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; width: min(100% - 32px, 440px); margin: 0 auto 14px; }
.sud-taster { height: 46px; font: inherit; font-family: var(--naslovni); font-weight: 800; font-size: 20px; border: 1px solid #cdd3e4; border-radius: 7px; background: #fff; box-shadow: 0 1px 1.5px rgba(21, 26, 45, .22); color: #151a2d; cursor: pointer; padding: 0; min-width: 0; }
.sud-taster:active { background: #dbe7fa; }
.sud-taster.gotov { opacity: .35; }
.sud-taster-brisi { background: var(--naslov); border-color: var(--naslov); color: #fff; }
.sud-poruka { margin-bottom: 8px; }
@media (min-width: 900px) { .sud-mreza, .sud-tabla { width: 460px; } .sud-broj { font-size: 28px; } .sud-beleske i { font-size: 11px; } }
