.pawe-game--bramblepatch{max-width:1020px;margin:auto;background:linear-gradient(135deg,#fffaf0,#f0f4e5)}.bp-heading h2{font-size:25px;color:#4e6742;margin:8px 0}.bp-heading p{font-size:13px;color:#6d6176;margin:0}.bp-toolbar,.bp-actions,.bp-stats{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center}.bp-toolbar{justify-content:space-between}.bp-stats{gap:22px}.bp-stats div{text-align:center}.bp-stats small{display:block;font-size:10px;color:#75617e}.bp-stats strong{font-size:21px;color:#644575}.pawe-game--bramblepatch button:not(.bp-cell),.pawe-game--bramblepatch select{border:1px solid #cdbbd2;background:#fffaf2;color:#67477b;font:800 13px Nunito,sans-serif;padding:10px 13px;border-radius:11px;min-height:44px;cursor:pointer}.bp-actions button[aria-pressed=true]{background:#e0edcd;color:#3d5d30;border-color:#91ac75}.bp-message{font-size:12px;color:#6d5678;text-align:center;margin:3px 0;min-height:19px}.bp-viewport{position:relative;max-width:100%;width:var(--bp-size,430px);margin:4px auto;overflow:auto;border-radius:18px;padding:8px;background:#ccbd98;box-sizing:border-box;box-shadow:0 4px 0 #aa9677}.bp-board{display:grid;grid-template-columns:repeat(var(--bp-n),1fr);gap:4px;min-width:calc(var(--bp-n)*34px);aspect-ratio:1}.bp-cell{min-width:0;padding:0;border:1px solid #a5b58b;border-radius:9px;background:linear-gradient(145deg,#dce8c7,#b4ca94);box-shadow:inset 0 -3px 0 #8fa66a55;display:grid;place-items:center;aspect-ratio:1;color:var(--number-color);font:900 23px Nunito,sans-serif;cursor:pointer;touch-action:manipulation;user-select:none}.bp-cell.open{background:#fcf8e9;border-color:#ddd5b8;box-shadow:none}.bp-cell.marked{background:#f5e6ba}.bp-cell.bramble{background:#e6cfdd;color:#8b536d}.bp-cell svg{width:65%;height:65%;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.bp-cell:disabled{opacity:1;filter:none;cursor:default}.bp-cell:focus-visible{outline:3px solid #79508c;outline-offset:-3px}.bp-seed{width:7px;height:11px;border-radius:80% 10% 80% 10%;background:#78985b77}.bp-cover{position:absolute;inset:0;background:#f4efdf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:20px;z-index:3}.bp-cover strong{font-size:22px;color:#654477}.bp-viewport.covered .bp-board{visibility:hidden}.bp-result{text-align:center;font-size:16px;font-weight:900;padding:12px;background:#e3ebd5;border-radius:13px;color:#49623e}.bp-note{font-size:11px;text-align:center;color:#795e80;margin:4px}.bp-records{font-size:12px;color:#765980}
@media(max-width:600px){.bp-toolbar{justify-content:center;gap:6px}.bp-heading h2{font-size:21px}.bp-heading p{font-size:12px}.bp-stats{width:100%;gap:24px}.bp-stats strong{font-size:19px}.bp-viewport{padding:6px}.bp-board{gap:3px}.bp-cell{font-size:21px;border-radius:7px}.bp-note{font-size:10px}.bp-message{font-size:11px}.bp-actions{gap:6px}}
.bp-won .bp-viewport{box-shadow:0 4px 0 #aa9677,inset 0 0 0 2px #c5da92}
.bp-win-leaves{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.bp-win-leaves span{
 position:absolute;left:var(--leaf-x);top:var(--leaf-y);width:19px;height:13px;
 background:#a7c164;border:1px solid #648845;border-radius:85% 0 85% 0;
 animation:bp-win-leaf 1.65s var(--leaf-delay) ease-out both
}
.bp-win-leaves span:nth-child(3n){background:#ebca74}
@keyframes bp-win-leaf{
 from{opacity:0;transform:rotate(-25deg) scale(.5)}
 18%,60%{opacity:1}
 to{opacity:0;transform:translate(var(--leaf-drift),-145px) rotate(135deg)}
}
@media(prefers-reduced-motion:reduce){.bp-win-leaves{display:none}}

.bp-toolbar .bp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:420px;max-width:100%;gap:12px}.bp-stats small{font-size:9px;line-height:1.3;min-height:24px}.bp-stats strong{font-variant-numeric:tabular-nums;font-size:20px}@media(max-width:600px){.bp-toolbar .bp-stats{width:100%;gap:8px}.bp-stats small{font-size:8px}.bp-stats strong{font-size:19px}}
