.wpg-wv-board { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto 12px; }
.wpg-wv-mid {
    display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%;
    max-height: calc(var(--tile, 52px) * 5.6 + 30px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 0;
    scrollbar-width: thin;
}
.wpg-wv-row { display: grid; grid-auto-flow: column; grid-auto-columns: var(--tile, 52px); gap: 6px; justify-content: center; }
.wpg-wv-row .wpg-tile-l { position: relative; }
.wpg-wv-row .wpg-tile-l.is-filled { animation: none; }
.wpg-wv-board > .wpg-wv-row.is-start .wpg-tile-l, .wpg-wv-board > .wpg-wv-row.is-target .wpg-tile-l { box-shadow: inset 0 -3px 0 var(--accent); }
.wpg-wv-board > .wpg-wv-row.is-start .wpg-tile-l.is-correct { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.wpg-wv-row.is-step .wpg-tile-l.is-filled { border-color: color-mix(in srgb, var(--ink) 28%, var(--tile-line)); }
.wpg-wv-row.is-new .wpg-tile-l { animation: wpg-flip .38s ease both; }
.wpg-wv-row.is-input .wpg-tile-l.is-filled { animation: wpg-pop .12s var(--ease); }
.wpg-wv-row.is-input .wpg-tile-l.is-cursor { border-color: var(--accent); }
.wpg-wv-row.is-input .wpg-tile-l.is-cursor::after {
    content: ''; position: absolute; left: 50%; top: 24%; bottom: 24%; width: 2px; margin-left: -1px; border-radius: 1px;
    background: var(--accent); animation: wpg-wv-blink 1s steps(1) infinite;
}
@keyframes wpg-wv-blink { 50% { opacity: 0; } }
.wpg-wv-row.is-input .wpg-tile-l.is-hint { border-color: var(--mid); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mid) 45%, transparent); }
.wpg-wv-row.is-shake { animation: wpg-shake .4s; }
.wpg-wv-status { margin-bottom: 12px; }
.wpg-wv-pill { font-size: 14px; font-weight: 700; padding: 6px 14px; gap: 5px; }
.wpg-wv-pill b { font-weight: 800; font-size: 15px; }
.wpg-wv-btns { display: flex; flex-wrap: nowrap; justify-content: center; gap: 6px; margin: 0 auto 2px; }
.wpg-wv-btns .wpg-btn { flex: 0 1 auto; min-width: 0; padding-left: 11px; padding-right: 11px; gap: 5px; white-space: nowrap; }
.wpg-wv-btns .wpg-btn span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
    .wpg-wv-btns .wpg-btn { padding-left: 9px; padding-right: 9px; font-size: 13px; }
}
.wpg-app--weaver-unlimited .wpg-btn svg, .wpg-page--weaver-unlimited .wpg-modal .wpg-btn svg { width: 17px; height: 17px; flex: 0 0 auto; display: block; }
.wpg-wv-end { text-align: center; }
.wpg-wv-opt { font-size: 15px; color: var(--ink-soft); margin: -4px 0 10px; }
.wpg-wv-opt b { color: var(--ink); }
.wpg-wv-path { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 6px 0 12px; }
.wpg-wv-path .wpg-wv-row { gap: 4px; }
.wpg-wv-path .wpg-tile-l { border-radius: 7px; }
