/* ═══════════════════════════════════════════════════════════════════════════
   WHEEL OF EMOTIONS (emotion-wheel-engine.js)
   Canvas feelings wheel + a pointer + a reading panel. Theme-variable chrome.
   ═══════════════════════════════════════════════════════════════════════════ */

.ew-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.ew-wheel-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ewCanvas {
    display: block;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    max-width: 100%;
}

/* Pointer at the top */
.ew-pointer {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 26px solid var(--theme-accent, #ef4444);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    z-index: 3;
    pointer-events: none;
}

/* Reading panel */
.ew-result {
    text-align: center;
    max-width: 460px;
    margin: 1.25rem auto 0;
    min-height: 4.5rem;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}
.ew-result.ew-result-show { opacity: 1; }

.ew-result-core {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--theme-muted, #6c757d);
}
.ew-result-name {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    font-weight: 800;
    color: var(--theme-accent, #0fb9b1);
    line-height: 1.1;
    margin: 0.1rem 0 0.3rem;
}
.ew-result-desc {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--theme-text, #343a40);
}

/* Colour swatch in the reference table (background colour is a dynamic PHP value) */
.ew-core-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
}
