.star-battle-page{padding-top:12px;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.star-battle-game{background:#edd6a3;border:1px solid #978770;border-radius:14px;padding:12px}.star-battle-toolbar{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.star-battle-modes{gap:4px;display:flex}.star-battle-game .star-battle-toolbar button,.star-battle-game .star-battle-actions button,.star-battle-game .star-battle-apply{border:1px solid var(--accent);background:var(--covered);min-height:44px;color:var(--ink);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:8px 12px;font-size:13px;font-weight:550;display:inline-flex}.star-battle-game .star-battle-modes button{background:0 0;border-color:#0000}.star-battle-game .star-battle-toolbar [aria-pressed=true]{border-color:var(--accent);background:var(--covered)}.star-battle-game .star-battle-toolbar [data-star-battle-restart]{flex:0 0 44px;width:44px;padding:8px}.star-battle-toolbar .r2-icon{flex-basis:20px;width:20px;height:20px}.star-battle-board{width:min(100%,var(--star-battle-board-size,100%));aspect-ratio:1;border:2px solid var(--ink);background:var(--covered);border-radius:5px;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));margin-inline:auto;display:grid;overflow:hidden}.star-battle-cell{min-width:0;min-height:0;color:var(--ink);cursor:pointer;background:#fffdf0;border:1px solid #adb39d;border-top:0;border-left:0;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.star-battle-cell:nth-child(8n){border-right:0}.star-battle-cell:nth-child(n+57){border-bottom:0}.star-battle-cell[data-region="1"],.star-battle-cell[data-region="5"]{background:#f2edd8}.star-battle-cell[data-region="2"],.star-battle-cell[data-region="6"]{background:#e5eddd}.star-battle-cell[data-region="3"],.star-battle-cell[data-region="7"]{background:#f3e6d8}.star-battle-cell.region-right{border-right:3px solid var(--ink)}.star-battle-cell.region-bottom{border-bottom:3px solid var(--ink)}.star-battle-region-id{font-variant-numeric:tabular-nums;pointer-events:none;font-size:11px;font-weight:550;line-height:1;position:absolute;top:1px;left:3px}.star-battle-piece{pointer-events:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.star-battle-cell svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:64%;height:64%;display:block}.star-battle-cell.has-star svg{fill:var(--ink)}.star-battle-cell.has-mark svg{stroke-width:2px;width:48%;height:48%}.star-battle-cell.is-conflicting{color:#922c23;box-shadow:inset 0 0 0 3px #922c23}.star-battle-cell.is-conflicting.has-star svg{fill:#922c23}.star-battle-cell.is-hinted{box-shadow:inset 0 0 0 3px #764061}.star-battle-cell:focus-visible{outline:3px solid var(--accent);outline-offset:-4px;z-index:1}.star-battle-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.star-battle-game .star-battle-actions button{padding-inline:4px}.star-battle-actions .r2-icon{flex-basis:17px;width:17px;height:17px}.star-battle-game button:disabled{cursor:default}.star-battle-toolbar button:disabled,.star-battle-actions button:disabled{opacity:.5}.star-battle-game[data-game-state=won] [data-star-battle-next]{color:var(--covered);background:var(--accent)}.star-battle-message{font-size:13px;line-height:1.5}.star-battle-message:not(:empty){margin-top:12px!important}.star-battle-game[data-game-state=won] .star-battle-message{font-weight:650}.star-battle-game .star-battle-apply{margin-top:8px}.star-battle-game [hidden]{display:none!important}.star-battle-caption{color:var(--ink);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;padding-top:12px;font-size:12px;display:flex}.star-battle-storage-warning{color:#79251e;font-size:12px;margin-top:8px!important}@media (width<=350px){.star-battle-game{padding:8px}.star-battle-toolbar{gap:4px}.star-battle-game .star-battle-toolbar button{padding-inline:10px}}@media (height<=620px){.star-battle-game{padding:8px}.star-battle-toolbar{margin-bottom:8px}.star-battle-actions{margin-top:10px}.star-battle-message:not(:empty){margin-top:8px!important}}@media (width>=1024px){.star-battle-region-id{font-size:13px;top:3px;left:4px}}
