/* lights-out · mode tabs, streak note, level map */
.lo-modes { display: flex; gap: 6px; justify-content: center; margin: 0 0 .4rem; }
.lo-tab { flex: 1 1 0; max-width: 120px; min-height: 44px; padding: .5rem .4rem; background: #fff; color: #854d0e; border: 2px solid #EAB30866; }
.lo-tab[aria-pressed="true"] { background: #1e1b4b; color: #fde68a; border-color: #1e1b4b; }
.lo-streak { text-align: center; font-size: .8rem; color: #854d0e; background: #EAB30822; border-radius: 10px; padding: .35rem .6rem; margin: 0 0 .5rem; line-height: 1.35; }
.lo-streak[hidden] { display: none; }
#lo-level-label { text-decoration: underline dotted #94a3b8; text-underline-offset: 4px; }
.lo-map { box-sizing: border-box; width: min(380px, calc(100% - 24px)); max-height: 88vh; overflow: auto; border: 0; border-radius: 16px; padding: 1rem; background: #0f0d2e; color: #fef3c7; margin: auto; }
.lo-map::backdrop { background: #0f172acc; }
.lo-map h2 { font-size: 1.05rem; margin: 0 0 .7rem; font-weight: 800; }
.lo-map-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: .8rem; }
.lo-map-cell { min-height: 54px; border-radius: 10px; border: 2px solid #2a2660; background: #1e1b4b; color: #fef3c7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; touch-action: manipulation; font-family: inherit; }
.lo-map-cell b { font-size: 1rem; }
.lo-map-cell i { font-style: normal; font-size: .62rem; color: #eab308; letter-spacing: .02em; }
.lo-map-cell:disabled { opacity: .4; cursor: default; }
.lo-map-cell.is-cur { border-color: #38bdf8; box-shadow: 0 0 0 2px #38bdf855; }
.lo-map-cell.is-gold { background: #3b2f0a; border-color: #ca9a06; }
.lo-map-cell:focus-visible, .lo-tab:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; }
