/* CCA Jesus Runner — styles */

/* Floating ichthys trigger.
   White stroke with a subtle dark drop-shadow so it stays visible
   on both dark and light backgrounds anywhere on the site. */
#cca-jr-fish-trigger {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 99998;
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

#cca-jr-fish-trigger:hover,
#cca-jr-fish-trigger:focus {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    outline: none;
    transform: scale(1.08);
}

#cca-jr-fish-trigger svg {
    display: block;
    width: 36px;
    height: 18px;
}

/* Modal overlay */
#cca-jr-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

#cca-jr-modal[hidden] { display: none; }

#cca-jr-modal-inner {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
}

#cca-jr-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    z-index: 2;
    padding: 0 6px;
}

#cca-jr-wrap {
    position: relative;
    width: 100%;
}

#cca-jr-canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #87CEEB;
    border-radius: 8px;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    touch-action: manipulation;
}

#cca-jr-hud {
    position: absolute;
    top: 12px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #042C53;
}

#cca-jr-status {
    font-size: 12px;
    font-weight: 500;
}

#cca-jr-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
}

#cca-jr-overlay.hidden { display: none; }

#cca-jr-overlay .cca-jr-title {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
}

#cca-jr-overlay .cca-jr-subtitle {
    font-size: 13px;
    color: #666;
    max-width: 340px;
    line-height: 1.5;
}

#cca-jr-legend {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #666;
    font-family: system-ui, -apple-system, sans-serif;
}
