.wl-hitori { text-align: center; }
.wl-hitori [hidden] { display: none !important; }
.wl-hitori-modes { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 0 auto 2rem; }
.wl-hitori-modes [aria-pressed="true"] { border-color: var(--wl-link); background: var(--wl-tag-bg); box-shadow: inset 0 0 0 2px var(--wl-link); }
.wl-hitori-mark { display: inline-block; width: 1.6rem; height: 1.6rem; flex: none; }
.wl-hitori-mark--black { border-radius: .3rem; background: #193629; }.wl-hitori-mark--white { border: 2px solid var(--wl-pop-text); border-radius: 50%; }
.wl-hitori-progress { color: var(--wl-link); font-weight: 600; margin: 1rem 0; }
.wl-hitori-board { display: grid; grid-template-columns: repeat(var(--ht-size), minmax(0, 1fr)); width: min(100%, 52rem); margin: 2rem auto 3rem; border: 3px solid var(--wl-nav); background: var(--wl-nav); gap: 1px; border-radius: 1rem; overflow: hidden; }
.wl-hitori-cell { position: relative; aspect-ratio: 1; min-width: 0; padding: .3rem; border: 0; border-radius: 0; background: #fffaf0; color: var(--wl-nav); font: 700 clamp(2rem, 6vw, 3.4rem) var(--wl-font-head); cursor: pointer; touch-action: manipulation; }
.wl-hitori-cell.is-black { background: #193629; color: #d5dfd6; }
.wl-hitori-cell.is-white::after { content: ''; position: absolute; inset: 13%; border: 3px solid #be5c1b; border-radius: 50%; pointer-events: none; }
.wl-hitori-cell.is-error { box-shadow: inset 0 0 0 4px #d93546; }
.wl-hitori-cell:focus-visible { outline: 4px solid var(--wl-pop); outline-offset: -4px; z-index: 1; }
.wl-hitori-status { min-height: 3rem; margin: 1.8rem auto; color: var(--wl-link); font-weight: 600; }
.wl-hitori .wl-sdk-tools { flex-wrap: wrap; gap: 1rem; }
.wl-hitori-result.wl-result-card { position: static; max-height: none; margin: 2rem auto; }
@media (max-width: 560px) { .wl-hitori-modes { gap: .6rem; }.wl-hitori-modes .wl-btn, .wl-hitori .wl-sdk-tools .wl-btn { padding: .8rem 1rem; font-size: 1.3rem; }.wl-hitori-cell.is-white::after { border-width: 2px; } }
