:root {
    --phollery-pink: #FB388D;
    --phollery-rainbow: conic-gradient(#E2843B, #F836A1, #0FBDFB, #1DE1BB, #E2843B);
}
.phollery-spinner {
    display: inline-block; width: 1.15em; height: 1.15em; flex-shrink: 0;
    border-radius: 50%; background: var(--phollery-rainbow);
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
    animation: phollery-spin .85s linear infinite; vertical-align: -.2em; margin-right: .5em;
}
@keyframes phollery-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .phollery-spinner { animation: none; } }
[aria-busy="true"] { cursor: progress; }
button:disabled { cursor: wait; opacity: .75; }
.phollery-status {
    display: flex; align-items: center; max-width: min(36rem, calc(100vw - 3rem));
    padding: .85rem 1rem; border-radius: 12px; background: #fff; color: #333;
    box-shadow: 0 3px 20px #0002; border: 1px solid #ddd;
}
.phollery-status[hidden] { display: none; }
#phollery-loading { position: fixed; bottom: 1rem; left: 1rem; z-index: 10050; }
#phollery-notice { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 10060; }
#phollery-notice[data-kind="error"] { border-left: 5px solid var(--phollery-pink); }
#phollery-notice[data-kind="success"] { border-left: 5px solid #1b806d; }
.phollery-status button { margin: 0 0 0 .8rem; padding: .25rem .5rem; min-width: 2rem; background: #333; }
.phollery-form-message { margin-top: .8rem; }
.phollery-form-message p { margin: .5rem 0; }
.phollery-form-message[data-kind="error"] { color: #a3144d; }
.phollery-form-message[data-kind="success"] { color: #176654; }
.event-status-badge { display: inline-block; padding: .3rem .65rem; border-radius: 20px; background: #eee; color: #555; font-size: .8rem; font-weight: 700; }
.event-ended-card { padding: 1.2rem !important; border: 1px solid #ddd; }
.event-ended-card h3 { margin: .7rem 0; }
.event-ended-card p { color: #555; }
.event-unavailable { max-width: 650px; margin: 8vh auto; padding: 1rem; }
.event-unavailable .slimBox { max-width: 100%; width: auto; box-sizing: border-box; }
.event-unavailable-logo { display: block; max-width: 210px; width: 70%; margin: 0 auto 2rem; }
.event-unavailable h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
.event-unavailable p { line-height: 1.6; }
.phollery-upload-placeholder { display: grid; place-content: center; min-height: 100px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #0FBDFB; outline-offset: 3px; }
