/* Brickrain — dark well, rounded bricks drawn on a canvas. */
:root { --br-well: #241a3d; --br-grid: rgba(255,255,255,.07); }
.br-sess { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.br-play { display: flex; gap: 10px; align-items: flex-start; justify-content: center; }
.br-wrap { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; border-radius: 10px; box-shadow: 0 0 0 3px var(--edge), var(--shadow); }
.br-well { display: block; touch-action: none; }
.br-side { width: 90px; display: flex; flex-direction: column; gap: 8px; }
.br-stat { background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 4px 8px; }
.br-stat small { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.br-stat .v { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.br-next { display: block; margin: 2px auto 4px; }
.br-ov { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; padding: 12px; border-radius: 10px; background: color-mix(in srgb, #1a1230 82%, transparent); color: #fff4e0; }
.br-ov[hidden] { display: none; }
.br-ov.over { background: color-mix(in srgb, #1a1230 55%, transparent); pointer-events: none; }
.br-how { margin: 0; font-size: .85rem; line-height: 1.35; }
.br-paused { margin: 0; font-size: 1.3rem; font-weight: 800; }
.br-pad { display: flex; gap: 8px; width: 100%; max-width: 360px; }
.br-btn { flex: 1; min-width: 44px; min-height: 52px; border-radius: 16px; border: 2px solid var(--edge); background: var(--card); color: var(--ink); font-size: 1.35rem; box-shadow: 0 4px 0 var(--edge); touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.br-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.br-btn:focus-visible, .br-ov .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.br-btn[data-a="H"] { background: var(--soft); }
.br-end { margin: 0; }
body.br-playing { overflow: hidden; height: 100dvh; }
body.br-playing .foot, body.br-playing .seo-about { display: none; }
@media (prefers-reduced-motion: reduce) { .br-btn:active { transform: none; } }
