@layer components{:where(.css-queens-partials-play-styles) .queens-play .qp-frame{display:inline-block;max-width:100%}@media(max-width:900px){:where(.css-queens-partials-play-styles) .queens-play-grid{width:min(560px,86vw)!important}}@media(max-width:639px){:where(.css-queens-partials-play-styles) .queens-play-grid{width:min(calc(100vw - 32px),var(--play-board-max))!important}}:where(.css-queens-partials-play-styles) .queens-play-grid{display:grid;max-width:100%;box-sizing:border-box;gap:1px;background:color-mix(in srgb,var(--color-ink) 42%,var(--color-surface));border:2.5px solid var(--color-ink);border-radius:var(--radius-card-sm);overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}:where(.css-queens-partials-play-styles) .queens-play-cell{box-sizing:border-box;appearance:none;border:0;padding:0;margin:0;position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;font-size:var(--text-h2);line-height:1;cursor:pointer;touch-action:none}:where(.css-queens-partials-play-styles) .queens-play-cell .queens-play-mark{width:50%;height:50%;fill:none;stroke:color-mix(in srgb,var(--color-ink) 78%,transparent);stroke-width:2.8;stroke-linecap:round}:where(.css-queens-partials-play-styles) .queens-play-cell .queens-play-mark-auto{width:42%;height:42%;stroke:color-mix(in srgb,var(--color-ink) 42%,transparent);stroke-width:2.4}:where(.css-queens-partials-play-styles) .queens-play-cell.is-dark .queens-play-mark{stroke:color-mix(in srgb,var(--color-white) 92%,transparent)}:where(.css-queens-partials-play-styles) .queens-play-cell.is-dark .queens-play-mark-auto{stroke:color-mix(in srgb,var(--color-white) 62%,transparent)}:where(.css-queens-partials-play-styles) .queens-play-grid[data-high-contrast=true] .queens-play-mark{stroke:var(--color-ink)}:where(.css-queens-partials-play-styles) .queens-play-grid[data-high-contrast=true] .queens-play-mark-auto{stroke:color-mix(in srgb,var(--color-ink) 62%,transparent)}:where(.css-queens-partials-play-styles) .queens-play-grid[data-high-contrast=true] .is-dark .queens-play-mark{stroke:var(--color-white)}:where(.css-queens-partials-play-styles) .queens-play-grid[data-high-contrast=true] .is-dark .queens-play-mark-auto{stroke:color-mix(in srgb,var(--color-white) 75%,transparent)}:where(.css-queens-partials-play-styles) .queens-play-cell.conflict{box-shadow:inset 0 0 0 3px var(--color-hard)}:where(.css-queens-partials-play-styles) .queens-play-cell.conflict .queens-play-queen{filter:drop-shadow(0 0 1.5px var(--color-hard)) drop-shadow(0 0 1.5px var(--color-hard))}:where(.css-queens-partials-play-styles) .queens-play-cell.check-error{box-shadow:inset 0 0 0 3px var(--color-hard);background-image:linear-gradient(color-mix(in srgb,var(--color-hard) 30%,transparent),color-mix(in srgb,var(--color-hard) 30%,transparent))}:where(.css-queens-partials-play-styles) .btn-tool:disabled{opacity:.4;cursor:default}:where(.css-queens-partials-play-styles) .queens-setting-row{display:flex;align-items:center;gap:10px;min-height:40px;font-weight:500;font-size:var(--text-small);cursor:pointer;color:var(--color-ink-soft)}:where(.css-queens-partials-play-styles) .queens-setting-row input{width:18px;height:18px;accent-color:var(--color-easy)}:where(.css-queens-partials-play-styles) .queens-swatch-row{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 auto 12px;max-width:400px}:where(.css-queens-partials-play-styles) .queens-swatch{width:40px;height:40px;padding:0;border:1px solid var(--color-line-strong);border-radius:var(--radius-card-sm);cursor:pointer;font-size:var(--text-reading);line-height:1;display:flex;align-items:center;justify-content:center;transition:transform .15s var(--ease-spring)}:where(.css-queens-partials-play-styles) .queens-swatch:hover{transform:scale(1.08)}:where(.css-queens-partials-play-styles) .queens-swatch[aria-pressed=true]{outline:3px solid var(--color-ink);outline-offset:1px}:where(.css-queens-partials-play-styles) .queens-swatch-eraser{background:var(--color-surface);color:var(--color-ink-soft)}:where(.css-queens-partials-play-styles) #queens-confetti{position:fixed;inset:0;overflow:hidden;pointer-events:none;display:none;z-index:60}:where(.css-queens-partials-play-styles) #queens-confetti.active{display:block}:where(.css-queens-partials-play-styles) #queens-confetti span{position:absolute;top:-8vh;font-size:var(--text-h3);opacity:0}@media(prefers-reduced-motion:no-preference){:where(.css-queens-partials-play-styles) #queens-confetti.active span{animation:queens-confetti-fall linear 1 forwards}@keyframes queens-confetti-fall{0%{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(115vh) rotate(340deg);opacity:.9}}:where(.css-queens-partials-play-styles) .queens-play-cell.check-error{animation:queens-shake .4s}@keyframes queens-shake{0%,to{transform:translate(0)}25%{transform:translate(-3px)}75%{transform:translate(3px)}}:where(.css-queens-partials-play-styles) .queens-play-mark-auto.is-new{animation:queens-auto-x-in .25s ease-out}@keyframes queens-auto-x-in{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}}}
