/* WoWHub Portal Button */
#portal-container {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    /* Обрізаємо зайвий простір від canvas */
    overflow: hidden;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
#portal-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 48px;
    height: 48px;
    overflow: visible;
}
#portal-btn:focus { outline: none; }
#portal-canvas {
    display: block;
    transition: transform 0.3s ease;
    /* canvas розміром SIZE*2 центруємо через від'ємні відступи */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
#portal-btn:hover #portal-canvas { transform: translate(-50%, -50%) scale(1.1); }
#portal-label {
    font-family: sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: hsl(275, 80%, 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: -16px;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
#portal-btn:hover #portal-label { opacity: 1; }
#portal-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
#portal-expand-canvas { position: absolute; inset: 0; }
#portal-text {
    position: absolute;
    font-family: sans-serif;
    font-size: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: hsl(275, 100%, 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
