/* One Letter Brainy component styles (one-brainy-ui.js). Needs the base classes from plaza-base.css (.panel, .primary, .ghost, .hidden, .small). */
.obu .bar{display:flex;justify-content:space-between;align-items:center;font-weight:800;color:#274e76;margin-bottom:6px}.obu .bar .clock{font-variant-numeric:tabular-nums;font-size:1.2rem}.obu .bar .miss{color:#8a3d3d}
.obu .dots{display:flex;gap:6px;justify-content:center;margin:2px 0 10px}.obu .dots i{width:30px;height:8px;border-radius:5px;background:#cbbd9c}.obu .dots i.done{background:#65bd4c}.obu .dots i.now{background:#ffdd52;box-shadow:0 0 0 2px #26384c inset}
.obu .word{display:flex;justify-content:center;gap:7px;margin:8px 0 12px}.obu .tile{display:grid;place-items:center;width:clamp(44px,13vw,62px);aspect-ratio:1;border:3px solid #26384c;border-radius:6px 10px 5px 9px;background:#faf5e8;color:#26384c;font-size:clamp(1.5rem,7vw,2.1rem);font-weight:900;box-shadow:2px 3px 0 #43515e;cursor:pointer;user-select:none}
.obu .tile.sel{background:#ffdd52;transform:translateY(-3px);box-shadow:0 0 0 3px #07549a inset,2px 5px 0 #43515e}.obu .tile.hint{background:#d9c8ff;animation:obu-pulse 1s infinite}.obu .tile.bad{animation:obu-shake .4s;background:#f6c3c0}.obu .tile.ok{animation:obu-pop .45s;background:#c9e8b4}
@keyframes obu-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes obu-pop{40%{transform:scale(1.18)}}@keyframes obu-pulse{50%{transform:scale(1.07)}}
.obu .clue{margin:6px 0 10px;padding:12px 14px;border:2px solid #26384c;border-radius:8px;background:#fff8d8;line-height:1.45;color:#26384c}.obu .clue small{display:block;font-weight:900;letter-spacing:.08em;color:#8a6a10;margin-bottom:3px}.obu .clue p{margin:0;color:#26384c;font-size:1.08rem;font-weight:600}
.obu .msg{min-height:1.4em;text-align:center;font-weight:800;color:#8a3d3d;margin:2px 0 8px}.obu .acts{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:8px}
.obu-kb{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:8px 6px 10px;background:rgba(248,236,201,.97);border-top:3px solid #26384c;display:grid;gap:6px}.obu-kb div{display:flex;justify-content:center;gap:5px}.obu-kb .key{flex:1;max-width:38px;min-width:0;height:44px;border:2px solid #26384c;border-radius:6px;background:#fffdf5;color:#26384c;font-weight:900;font-size:1.05rem;box-shadow:0 2px 0 #43515e;cursor:pointer}.obu-kb .key:active{transform:translateY(2px);box-shadow:none}
/* the site-wide theme switch sits bottom-right: lift it above the keyboard while playing */
.kb-open .theme-switch{bottom:196px!important}
@media(prefers-reduced-motion:reduce){.obu .tile.hint,.obu .tile.bad,.obu .tile.ok{animation:none}}
