.wpg-app--blossom { display: flex; flex-direction: column; align-items: stretch; }
.wpg-app--blossom .wpg-status { margin-bottom: 8px; }

.wpg-bl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 520px; width: 100%; margin: 0 auto 4px; }
.wpg-bl-score { display: flex; flex-direction: column; line-height: 1.1; }
.wpg-bl-score span { font-size: 12px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .5px; }
.wpg-bl-score b { font-size: 30px; font-weight: 900; color: var(--accent); }
.wpg-bl-score small { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.wpg-bl-turns { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.wpg-bl-turns small { font-size: 12.5px; font-weight: 800; color: var(--ink-soft); }
.wpg-bl-pebbles { display: grid; grid-template-columns: repeat(6, 14px); gap: 5px; }
.wpg-bl-pebbles i { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--tile-line); transition: background .3s; }
.wpg-bl-pebbles i.is-used { background: var(--accent); }
.wpg-bl-pebbles i.is-cur { background: var(--accent-2); box-shadow: 0 0 0 2px var(--accent); }

.wpg-bl-inputwrap { position: relative; display: flex; justify-content: center; align-items: center; margin: 12px 0 2px; }
.wpg-bl-input {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; width: min(300px, 100%); min-height: 50px; padding: 0 10px;
    border-bottom: 2px solid color-mix(in srgb, var(--accent) 55%, var(--tile-line));
    font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; line-height: 1;
}
.wpg-bl-input span.is-center { color: var(--accent); }
.wpg-bl-input span.is-bonus { color: #a21caf; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.wpg-bl-input span.is-bad { color: var(--tile-line); }
.wpg-bl-input span.wpg-bl-ph { font-size: 15px; font-weight: 700; color: var(--ink-soft); text-transform: none; letter-spacing: 0; opacity: .8; margin-left: 8px; }
.wpg-bl-input span.wpg-bl-caret { display: inline-block !important; width: 3px; height: 30px; margin-left: 2px; background: var(--accent); border-radius: 2px; animation: wpg-bl-blink 1s steps(1) infinite; }
.wpg-bl-input.is-empty span.wpg-bl-caret { margin-left: 0; }
.wpg-bl-input.is-shake { animation: wpg-shake .4s; }
@keyframes wpg-bl-blink { 50% { opacity: 0; } }
.wpg-bl-preview { text-align: center; min-height: 18px; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.wpg-bl-pop {
    position: absolute; top: -16px; left: 50%; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; white-space: nowrap;
    background: var(--ink); color: var(--surface); font-weight: 900; font-size: 14px; padding: 5px 13px; border-radius: 999px; transition: opacity .2s, transform .25s var(--ease);
}
.wpg-bl-pop.is-on { opacity: 1; transform: translate(-50%, 0); }
.wpg-bl-pop.is-bonus { background: #a21caf; color: #fff; }
.wpg-bl-pop.is-pangram { background: var(--accent); color: #fff; }

.wpg-bl-flowerwrap { display: flex; justify-content: center; margin: 2px 0 10px; }
.wpg-bl-flower { width: min(320px, 82vw); height: auto; overflow: visible; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.wpg-bl-petal, .wpg-bl-center { cursor: pointer; }
.wpg-bl-petal__in { transition: transform .15s var(--ease); transform-box: fill-box; transform-origin: center; }
.wpg-bl-petal path { stroke: rgba(0, 0, 0, .06); stroke-width: 2; transition: fill .4s ease, stroke .3s; }
.wpg-bl-petal text { font-size: 36px; font-weight: 900; fill: #2b1a24; text-transform: uppercase; pointer-events: none; font-family: inherit; transition: opacity .14s; }
.wpg-bl-star { font-size: 18px !important; fill: #a21caf !important; opacity: 0; }
.wpg-bl-petal.is-bonus path { stroke: #a21caf; stroke-width: 4; }
.wpg-bl-petal.is-bonus .wpg-bl-star { opacity: 1; }
.wpg-bl-petal.is-bonus .wpg-bl-petal__in { animation: wpg-bl-glow 2.4s ease-in-out infinite; }
.wpg-bl-center circle { fill: var(--accent); stroke: #fff; stroke-width: 5; filter: drop-shadow(0 3px 6px rgba(219, 39, 119, .35)); }
.wpg-bl-center text { font-size: 40px; font-weight: 900; fill: #fff; text-transform: uppercase; pointer-events: none; font-family: inherit; }
.wpg-bl-petal.is-press .wpg-bl-petal__in, .wpg-bl-center.is-press .wpg-bl-petal__in { transform: scale(.9); animation: none; }
.wpg-bl-flower.is-shuffling .wpg-bl-petal text { opacity: 0; }
.wpg-bl-flower.is-off { opacity: .55; pointer-events: none; }
@keyframes wpg-bl-glow { 50% { transform: scale(1.05); } }

.wpg-bl-controls { gap: 10px; }
.wpg-bl-controls .wpg-btn { min-width: 96px; border: 1px solid var(--tile-line); }
.wpg-bl-controls .wpg-bl-round { min-width: 0; width: 48px; height: 44px; padding: 0; }
.wpg-bl-round svg { width: 20px; height: 20px; }
.wpg-bl-endrow:empty { display: none; }
.wpg-bl-endrow .wpg-btn svg { width: 18px; height: 18px; }

.wpg-bl-list { max-width: 420px; width: 100%; margin: 12px auto 0; display: flex; flex-direction: column; gap: 4px; }
.wpg-bl-row { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 15px; }
.wpg-bl-row__n { width: 18px; color: var(--ink-soft); font-weight: 800; font-size: 12px; }
.wpg-bl-row__w { flex: 1 1 auto; font-weight: 800; text-transform: capitalize; }
.wpg-bl-row__b { color: #a21caf; font-weight: 800; font-size: 13px; }
.wpg-bl-row b { font-weight: 900; color: var(--accent); }

.wpg-bl-endlabel { font-weight: 800; font-size: 14px; margin: 6px 0; }
.wpg-bl-endwords { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 8px; }
.wpg-bl-chip { font-size: 13.5px; font-weight: 700; padding: 2px 8px; border-radius: 8px; background: var(--accent-soft); text-transform: capitalize; }
.wpg-bl-chip b { color: var(--accent); }
.wpg-bl-chip.is-best { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.wpg-bl-note { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }

@media (max-width: 420px) { .wpg-bl-input { font-size: 27px; } .wpg-bl-input span.wpg-bl-ph { font-size: 14px; } .wpg-bl-score b { font-size: 26px; } }
