/* ─── TRICK SHOT CRITERIA HEADER ──────────────────────────────────────────── */
#trickshot-info {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    background: #f5c842;
    border: 4px solid #000;
    box-shadow: var(--shadow-sticker);
    padding: 8px 18px;
    text-align: center;
    z-index: 95;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}
/* Under selve kastet: dæmpet + pulserende, så udsynet til bordet er frit */
#trickshot-info.trickshot-info--active {
    animation: trickshot-info-pulse 1.6s ease-in-out infinite;
}
@keyframes trickshot-info-pulse {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 0.25; }
}
#trickshot-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
#trickshot-desc {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    color: #000;
    margin: 2px 0 0;
}

/* ─── TRICK SHOT RESULT — intet backdrop, bordet skal ses hele tiden ─────── */
/* Wrapper er usynlig (kun til open/luk-tilstand) — titel og knapper er hver
   deres egen fikserede element, ingen hvid boks der dækker bordet. */
#trickshot-result {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 96;
    pointer-events: none;
}
#trickshot-result.open { display: block; }

#trickshot-result-title {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.6), -1px -1px 0 rgba(0,0,0,0.6),
                 1px -1px 0 rgba(0,0,0,0.6), -1px 1px 0 rgba(0,0,0,0.6);
    margin: 0;
    pointer-events: none;
}
#trickshot-result.trickshot-result--success #trickshot-result-title { color: #4cff88; }
#trickshot-result.trickshot-result--fail    #trickshot-result-title { color: #ff5555; }

/* Knapper: side om side, længere nede, semi-transparente + pulserende så
   bordet stadig anes igennem dem */
#trickshot-result-btns {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 12px;
    pointer-events: auto;
}
#trickshot-result-btns button {
    height: 44px;
    padding: 0 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 3px solid rgba(0, 0, 0, 0.7);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    backdrop-filter: blur(1.5px);
    animation: trickshot-btn-pulse 1.8s ease-in-out infinite;
    transition: box-shadow 0.08s, transform 0.08s, opacity 0.08s;
}
@keyframes trickshot-btn-pulse {
    0%, 100% { opacity: 0.55; }
    50%      { opacity: 0.95; }
}
#trickshot-result-btns button:hover:not(:disabled) {
    animation-play-state: paused;
    opacity: 1;
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    transform: translate(1px, 1px);
}
#trickshot-result-btns button:active:not(:disabled) { box-shadow: none; transform: translate(3px, 3px); }
#trickshot-result-btns button:disabled { opacity: 0.3 !important; cursor: not-allowed; animation: none; }

#trickshot-back-btn {
    background: rgba(255, 255, 255, 0.55);
    color: #000;
    border-color: rgba(255, 255, 255, 0.7);
}
