.wp-story {
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: center;
    color: #334155;
    margin: .4rem 0;
}

.wp-question {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a2e;
    margin: .7rem 0 .3rem;
}

.wp-hint {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: #f59e0b;
    margin: .4rem 0;
}

.wp-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin: .6rem 0;
}

.wp-visual-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}

.wp-visual-op {
    font-size: 1.6rem;
    font-weight: 800;
    color: #475569;
    line-height: 1;
}

.wp-visual-label {
    font-size: .95rem;
    font-weight: 700;
    color: #64748b;
}

.wp-visual-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .1rem;
    max-width: 480px;
}

.wp-envelope {
    flex: 0 0 auto;
}

.wp-item-emoji {
    flex: 0 0 auto;
    font-size: 1.8rem;
    line-height: 1;
    display: inline-block;
    margin: 0 .1rem;
}

.wp-figure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    background: #dbeafe;
    font-size: 1.9rem;
    line-height: 1;
}

.wp-compare {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin: .6rem 0;
}

.wp-compare-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: .7rem;
    min-width: 180px;
}

.wp-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin: .8rem 0;
}

.wp-option {
    margin: 0;
    padding: .8rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    border: 2px solid var(--primary);
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: transform .15s, border-color .15s, background-color .15s;
}

.wp-option:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    transform: scale(1.06);
}

.wp-option:disabled {
    opacity: .45;
    cursor: default;
    transform: none;
}

.wp-option:disabled:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: none;
}

.wp-postman-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.wp-postman-figure {
    display: block;
}

.wp-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: .4rem 0 .6rem;
    font-size: 1rem;
    font-weight: 700;
}

.wp-legend-blue {
    color: #1d4ed8;
}

.wp-legend-brown {
    color: #92400e;
}

.wp-input {
    display: block;
    width: 6ch;
    margin: .8rem auto 0;
    text-align: center;
    font-size: 2rem;
    padding: .3rem;
    border: 2px solid #bbb;
    border-radius: 8px;
}

.wp-area {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
    align-items: center;
    min-height: 96px;
    padding: .6rem;
    margin: .4rem 0;
    border: 2px dashed #94a3b8;
    border-radius: 14px;
    background: #f8fafc;
    transition: background-color .15s, border-color .15s;
}

.wp-area-label {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #475569;
}

.wp-waiting {
    border-color: #94a3b8;
}

.wp-departure {
    border-color: #f59e0b;
    background: #fffbeb;
}

.wp-count {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: .4rem 0;
    color: #334155;
}

.wp-postman {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: none;
    color: inherit;
    font-size: inherit;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.wp-postman:hover {
    transform: none;
}

.wp-postman.wp-postman-jump {
    animation: wp-jump .3s ease-out;
}

@keyframes wp-jump {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.18);
    }
    100% {
        transform: scale(1);
    }
}

.wp-postman:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 10px;
}

.wp-two-step-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 1rem;
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #166534;
    transition: opacity .3s, background .3s, border-color .3s;
}

.wp-two-step-pending {
    opacity: .45;
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #94a3b8;
}

.wp-two-step-label {
    font-size: .95rem;
    font-weight: 800;
    color: #6b7280;
}

.wp-two-step-expr {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a2e;
}

.wp-q-label {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #166534;
}

.wp-r-label {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #92400e;
}
