/* --- Image Guess --- */
#image-guess-game-view { text-align: center; }
#image-guess-game-view .game-view-main { gap: 0; }
#image-reveal-progress-bar-container {
    width: 100%; height: 30px; background-color: var(--bg-tertiary); flex-shrink: 0;
    position: relative; border-radius: 6px 6px 0 0; overflow: visible;
}
#image-reveal-progress-bar {
    height: 100%; width: 100%; background: linear-gradient(90deg, var(--highlight-primary), var(--highlight-secondary));
    float: right; position: relative; overflow: hidden;
}
#point-tiers-display { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.point-tier {
    position: absolute; top: 50%; transform: translate(10px, -50%);
    color: rgba(255, 255, 255, 0.4); font-size: 0.9em; font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); z-index: 2;
}
.point-tier::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 32px;
    background: var(--warning-color); transform: translate(-50%, -50%) scale(0.5); opacity: 0;
    z-index: -1; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.point-tier.active-tier { color: #fff; transform: translate(10px, -50%) scale(1.6); text-shadow: 0 0 8px rgba(255, 255, 255, 0.7); }
.point-tier.active-tier::before { transform: translate(-50%, -50%) scale(1); opacity: 1; }
#image-reveal-progress-bar.flash-active::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to right, var(--warning-color) 20%, transparent 80%);
    background-size: 200% 100%; mix-blend-mode: additive;
    animation: tier-flash-gradient 0.6s ease-out forwards; pointer-events: none;
}
#next-image-countdown-display.overlay-countdown {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(4px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid var(--highlight-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    white-space: nowrap;
    margin: 0;
    display: none;
}

#image-display-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    background-color: var(--bg-primary);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}
#image-display-area { width: 100%; height: 100%; background-color: transparent; display: flex; justify-content: center; align-items: center; }
#glCanvas { display: block; max-width: 100%; max-height: 100%; }
#image-guess-controls-area { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
#game-button-container { display: flex; justify-content: center; align-items: center; gap: 15px; }
