:root {
    --aps-orange: #ff5000;
    --aps-orange-dark: #e64800;
    --aps-cream: #fffae6;
    --aps-on-orange: #ffffff;
    --aps-ink: #2b2b2b;
}

.aps-event { margin: 1.5em 0; }

/* ---- Pagina singolo evento ---- */
.aps-single { margin: 0 0 2.5em; }
.aps-single__body { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.aps-hero {
    position: relative;
    min-height: 360px;
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.aps-hero__overlay {
    width: 100%;
    padding: 28px 24px;
    background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
    color: #fff;
}

.aps-hero__title { color: #fff; margin: 0 0 6px; font-size: 2rem; line-height: 1.15; }
.aps-hero__date { color: #f1f1f1; margin: 0 0 8px; font-size: 1.05rem; }

.aps-single__header { max-width: 900px; margin: 1.5em auto 0; padding: 0 16px; }
.aps-single__description { margin: 1.5em 0; }
.aps-single__description a { color: var(--aps-orange-dark); font-weight: 600; }
.aps-single__form-title { margin: 1.2em 0 .4em; color: var(--aps-orange-dark); scroll-margin-top: 80px; }

/* Pulsanti Prezzo + Prenota */
.aps-event__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.2em 0; }
.aps-cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 1.05rem; text-decoration: none;
}
.aps-cta-btn--price {
    background: var(--aps-cream, #fffae6);
    color: var(--aps-orange-dark, #e64800);
    border: 2px solid var(--aps-orange, #ff5000);
}
.aps-cta-btn--book {
    background: var(--aps-orange, #ff5000);
    color: var(--aps-on-orange, #fff);
    border: 2px solid var(--aps-orange, #ff5000);
    transition: background .15s ease, color .15s ease;
}
.aps-cta-btn--book:hover { background: var(--aps-cream, #fffae6); color: var(--aps-orange-dark, #e64800); }
.aps-event__regulation summary { color: var(--aps-orange-dark); }

/* ---- Carosello multi-immagine ---- */
.aps-carousel {
    position: relative;
    overflow: hidden;
    margin: 1.6em 0;
    padding: 0 4px;
}

.aps-carousel__track {
    display: flex;
    transition: transform .45s ease;
}

/* Telefono: 2 immagini per volta */
.aps-carousel__slide {
    flex: 0 0 auto;
    width: calc(50% - 12px);
    margin-right: 12px;
}

/* Tablet: 3 per volta */
@media (min-width: 768px) {
    .aps-carousel__slide { width: calc(33.333% - 12px); }
}

/* Desktop: 4 per volta */
@media (min-width: 1200px) {
    .aps-carousel__slide { width: calc(25% - 12px); }
}

.aps-carousel__slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.aps-carousel__nav {
    position: absolute;
    top: 110px; /* centro dell'immagine (alta 220px), non sui puntini sotto */
    transform: translateY(-50%);
    background: #fff;
    color: var(--aps-orange-dark, #e64800);
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.25);
    z-index: 3;
    transition: background .15s ease, transform .15s ease;
}

.aps-carousel__nav:hover { background: var(--aps-cream, #fffae6); transform: translateY(-50%) scale(1.08); }
.aps-carousel__nav--prev { left: 8px; }
.aps-carousel__nav--next { right: 8px; }

.aps-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.aps-carousel__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #cfcfcf;
    cursor: pointer;
    padding: 0;
    transition: background .15s ease, transform .15s ease;
}

.aps-carousel__dot.is-active { background: var(--aps-orange); transform: scale(1.25); }

/* ---- Mappa ---- */
.aps-map { margin: 1.4em 0; }
.aps-map iframe { border-radius: 12px; display: block; }
.aps-map__actions { margin-top: 10px; }

/* ---- Pulsanti contatto ---- */
.aps-contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.2em 0;
}

.aps-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: var(--aps-on-orange);
    background: var(--aps-orange);
    border: 2px solid var(--aps-orange);
    line-height: 1;
    transition: background .15s ease, color .15s ease;
}

/* Tutti i pulsanti arancioni; hover giallino con testo arancione. */
.aps-contact-btn:hover {
    background: var(--aps-cream);
    color: var(--aps-orange-dark);
}

/* Pulsante grande "Contattaci su WhatsApp" (blocco a tutta larghezza, stile WhatsApp) */
.aps-whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 18px 22px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 2.4em 0 1.4em;
    transition: background .15s ease, transform .1s ease;
}
.aps-whatsapp-cta:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }
.aps-whatsapp-cta__icon { font-size: 1.6rem; }

/* ---- Countdown ---- */
.aps-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--aps-orange);
    color: var(--aps-on-orange);
    padding: 14px 18px;
    border-radius: 10px;
    margin: 1.4em 0;
}

.aps-countdown__label { font-weight: 600; color: var(--aps-cream); }

.aps-countdown__time {
    font-variant-numeric: tabular-nums;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.aps-countdown--ended { opacity: .6; }

@media (max-width: 600px) {
    .aps-hero { min-height: 240px; }
    .aps-hero__title { font-size: 1.5rem; }
}

.aps-event__message {
    background: var(--aps-orange);
    color: var(--aps-on-orange);
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    margin: 24px 0;
}

.aps-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    background: #eee;
    color: #333;
}

.aps-badge--bookings_open { background: var(--aps-cream); color: var(--aps-orange-dark); }
.aps-badge--bookings_closed,
.aps-badge--full { background: #fde2e1; color: #b02a37; }
.aps-badge--ended,
.aps-badge--cancelled { background: #e2e3e5; color: #41464b; }

/* Meta evento (quando / dove / line-up / contatti) */
.aps-event__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 1em 0;
}

.aps-meta-item {
    background: var(--aps-orange);
    color: var(--aps-on-orange);
    border-radius: 10px;
    padding: 14px 16px;
}

.aps-meta-item__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--aps-cream);
    margin-bottom: 4px;
}

.aps-meta-item__value { display: block; line-height: 1.5; color: var(--aps-on-orange); }
.aps-meta-item__value strong { color: var(--aps-on-orange); }

.aps-map-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 600;
    color: var(--aps-orange-dark);
}

/* Gallery */
.aps-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin: 1.2em 0;
}

.aps-gallery__item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.aps-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.aps-gallery__item:hover img { transform: scale(1.05); }

.aps-event__regulation { margin: 1em 0; }
.aps-event__regulation summary { cursor: pointer; font-weight: 600; }
.aps-event__extra { margin: 1em 0; }

/* ---- Calendario mensile ---- */
.aps-calendar { margin: 1.5em 0; }

.aps-calendar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--aps-orange, #ff5000);
    color: var(--aps-on-orange, #fff);
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
}
.aps-calendar__title { font-weight: 800; font-size: 1.15rem; }
.aps-calendar__nav {
    color: var(--aps-on-orange, #fff);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 4px 10px;
    border-radius: 8px;
}
.aps-calendar__nav:hover { background: rgba(255,255,255,.2); color: #fff; }

.aps-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 10px;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 12px 12px;
}

.aps-calendar__wd {
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    padding-bottom: 4px;
}

.aps-calendar__cell {
    min-height: 72px;
    border-radius: 8px;
    padding: 4px;
    background: #fafafa;
}
.aps-calendar__cell--empty { background: transparent; }
.aps-calendar__cell--event { background: var(--aps-cream, #fffae6); }
.aps-calendar__cell--today { outline: 2px solid var(--aps-orange, #ff5000); }

.aps-calendar__day { font-size: 12px; color: #999; font-weight: 700; }

.aps-calendar__events { margin-top: 2px; display: flex; flex-direction: column; gap: 3px; }
.aps-calendar__event {
    display: block;
    background: var(--aps-orange, #ff5000);
    color: var(--aps-on-orange, #fff);
    text-decoration: none;
    border-radius: 6px;
    padding: 3px 5px;
    font-size: 11px;
    line-height: 1.2;
    overflow: hidden;
}
.aps-calendar__event:hover { opacity: .9; color: #fff; }
.aps-calendar__event--ended, .aps-calendar__event--cancelled { background: #9a9a9a; }
.aps-calendar__event-time { font-weight: 700; margin-right: 3px; }
.aps-calendar__event-title { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: inline-block; max-width: 100%; }

@media (max-width: 600px) {
    .aps-calendar__cell { min-height: 54px; }
    .aps-calendar__event-title { display: none; }
    .aps-calendar__event { text-align: center; }
    .aps-calendar__event-time { margin: 0; }
}

/* ---- Archivio eventi (griglia schede) ---- */
.aps-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 1.5em 0;
}
.aps-events-grid--single { grid-template-columns: minmax(0, 460px); }

.aps-event-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0,0,0,.10);
    transition: transform .15s ease, box-shadow .15s ease;
}
.aps-event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.aps-event-card--past { opacity: .75; }

.aps-event-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--aps-orange, #ff5000);
    display: flex;
    align-items: center;
    justify-content: center;
}
.aps-event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.aps-event-card__noimg { color: var(--aps-cream, #fffae6); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.aps-event-card__media .aps-badge { position: absolute; top: 10px; left: 10px; }

.aps-event-card__body { padding: 14px 16px 18px; }
.aps-event-card__title { margin: 0 0 6px; font-size: 1.15rem; }
.aps-event-card__date { margin: 0; color: #666; }

.aps-events-empty { color: #666; font-style: italic; }

/* Disponibilità aree */
.aps-availability {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 1em 0;
}

.aps-area-card {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.aps-area-card--soldout { opacity: .7; }

.aps-area-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.aps-area-card__name { font-weight: 700; }
.aps-area-card__price { color: var(--aps-orange-dark, #e64800); font-weight: 800; font-size: 15px; white-space: nowrap; }
.aps-area-card__desc { font-size: 13px; color: #555; margin: 4px 0; }
.aps-area-card__avail { font-weight: 600; margin: 6px 0 0; }

.aps-area-card--soldout .aps-area-card__avail { color: #b02a37; }
.aps-area-card--last .aps-area-card__avail { color: var(--aps-orange-dark); }

.aps-bar {
    height: 8px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
    margin: 8px 0;
}

.aps-bar__fill {
    display: block;
    height: 100%;
    background: var(--aps-orange);
}

/* Form prenotazione */
.aps-form { margin: 1.2em 0; max-width: 640px; }

.aps-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.aps-field { margin-bottom: 14px; }

.aps-field > label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.aps-field input[type="text"],
.aps-field input[type="email"],
.aps-field input[type="tel"],
.aps-field input[type="number"],
.aps-field input[type="date"],
.aps-field select,
.aps-field textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.aps-field--check > label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
}

.aps-field--check input { margin-top: 3px; }

.aps-pay-opt {
    display: inline-flex; align-items: center; gap: 8px; margin-right: 18px;
    font-weight: 600;
}
.aps-pay-opt input { margin: 0; }

/* Avviso modalità pagamento nel form */
.aps-pay-note {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 10px; margin: 4px 0 12px;
    font-weight: 700; font-size: .95rem;
}
.aps-pay-note__icon { font-size: 1.1rem; line-height: 1; }
.aps-pay-note--venue { background: var(--aps-cream, #fffae6); color: var(--aps-orange-dark, #e64800); border: 1px solid var(--aps-orange, #ff5000); }
.aps-pay-note--online { background: var(--aps-orange, #ff5000); color: var(--aps-on-orange, #fff); }
.aps-pay-choice { background: var(--aps-cream, #fffae6); border: 1px solid var(--aps-orange, #ff5000); border-radius: 10px; padding: 10px 14px; }
.aps-pay-choice__title { display: block; font-weight: 800; margin-bottom: 6px; color: var(--aps-orange-dark, #e64800); }

.aps-form__submit {
    background: var(--aps-orange);
    color: var(--aps-on-orange);
    border: 2px solid var(--aps-orange);
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.aps-form__submit:hover { background: var(--aps-cream); color: var(--aps-orange-dark); }
.aps-form__submit:disabled { opacity: .6; cursor: default; }

.aps-form__result {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-weight: 600;
}

.aps-form__result--ok { background: var(--aps-cream); color: var(--aps-orange-dark); }
.aps-form__result--error { background: #fde2e1; color: #b02a37; }

.aps-form__closed,
.aps-event__closed { color: #b02a37; font-weight: 600; }

.aps-ticket-link {
    display: inline-block;
    margin-top: 8px;
    background: var(--aps-orange);
    color: var(--aps-on-orange);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}
.aps-ticket-link:hover { background: var(--aps-cream); color: var(--aps-orange-dark); }

/* ---- Pagina biglietto ---- */
.aps-ticket-wrap { max-width: 460px; margin: 32px auto; padding: 0 16px; }

.aps-ticket {
    border: 2px solid var(--aps-orange);
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    box-shadow: 0 10px 34px rgba(0,0,0,.12);
}

.aps-ticket__head { background: var(--aps-orange); color: var(--aps-on-orange); padding: 20px 18px; }
.aps-ticket__brand { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 13px; color: var(--aps-cream); }
.aps-ticket__event { color: var(--aps-on-orange); margin: 6px 0 4px; font-size: 1.4rem; }
.aps-ticket__when { color: var(--aps-cream); margin: 0; }

.aps-ticket__qr { padding: 20px; }
.aps-ticket__qr svg { width: 220px; height: 220px; max-width: 80%; }

.aps-ticket__code {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--aps-orange-dark);
    margin-bottom: 12px;
}

.aps-ticket__details { list-style: none; margin: 0; padding: 0 22px 8px; text-align: left; }
.aps-ticket__details li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.aps-ticket__details li span { color: #777; }

.aps-ticket__hint { color: #777; padding: 12px 18px 20px; margin: 0; font-size: 14px; }
.aps-ticket__cancelled { color: #b02a37; font-weight: 700; padding: 30px; font-size: 1.2rem; }
.aps-ticket--invalid { border-color: #b02a37; }
.aps-ticket--invalid .aps-ticket__head { background: #b02a37; }

/* ---- Check-in staff ---- */
.aps-checkin { max-width: 440px; margin: 0 auto; padding: 20px 16px 40px; color: #fff; }

.aps-checkin__pin { text-align: center; padding: 40px 10px; }
.aps-checkin__pin h1 { color: #fff; margin: 0 0 6px; }
.aps-checkin__pin p { color: #bbb; margin: 0 0 18px; }
.aps-checkin__pin input {
    width: 100%; box-sizing: border-box; font-size: 26px; text-align: center;
    letter-spacing: .3em; padding: 14px; border-radius: 12px; border: 0; margin-bottom: 14px;
}
.aps-checkin__pin button, .aps-checkin__btn, .aps-checkin__search button {
    background: var(--aps-orange, #ff5000); color: #fff; border: 0; border-radius: 999px;
    padding: 14px 22px; font-size: 17px; font-weight: 700; cursor: pointer; width: 100%;
}
.aps-checkin__msg { color: #ff8a80; margin-top: 12px; min-height: 20px; }

.aps-checkin__card {
    border-radius: 16px; padding: 22px 20px; margin-bottom: 20px; text-align: center; color: #fff;
}
.aps-checkin__card h2 { color: #fff; margin: 0 0 8px; font-size: 1.5rem; }
.aps-checkin__card p { margin: 4px 0; opacity: .95; }
.aps-checkin__name { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }

.aps-checkin__card--valid { background: #157347; }
.aps-checkin__card--used { background: #d98a00; }
.aps-checkin__card--invalid { background: #b02a37; }

.aps-checkin__warn { background: rgba(255,255,255,.18); border-radius: 8px; padding: 8px; font-weight: 600; }

.aps-checkin__count { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0; }
.aps-checkin__count input { width: 90px; font-size: 22px; text-align: center; padding: 8px; border-radius: 10px; border: 0; }

.aps-checkin__btn { margin-top: 12px; }
.aps-checkin__btn--confirm { background: #0f5c39; }
.aps-checkin__btn--revert { background: rgba(0,0,0,.25); }
.aps-checkin__btn:disabled { opacity: .6; }

.aps-checkin__search { margin-top: 10px; }
.aps-checkin__search-row { display: flex; gap: 8px; }
.aps-checkin__search-row input { flex: 1; padding: 12px; border-radius: 10px; border: 0; font-size: 16px; }
.aps-checkin__search-row button { width: auto; padding: 12px 18px; }

.aps-checkin__hit {
    background: #2b2b2b; border: 1px solid #3a3a3a; border-radius: 10px; padding: 12px 14px;
    margin-top: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
}
.aps-checkin__hit:hover { background: #333; }
.aps-checkin__hit span { color: #aaa; font-size: 13px; }
.aps-checkin__hit--used { border-left: 4px solid #d98a00; }
.aps-checkin__hit--invalid { border-left: 4px solid #b02a37; }
.aps-checkin__hit--valid { border-left: 4px solid #157347; }
.aps-checkin__muted { color: #999; text-align: center; margin-top: 12px; }

/* ---- Dashboard evento ---- */
.aps-dashboard { margin-bottom: 22px; }
.aps-dash__title { color: #fff; font-size: 1.3rem; margin: 0 0 14px; text-align: center; }

.aps-dash__when { color: #bbb; text-align: center; margin: -8px 0 14px; }

.aps-dash__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aps-dash__tile { background: #2b2b2b; border: 2px solid transparent; border-radius: 12px; padding: 16px 10px; text-align: center; cursor: pointer; color: inherit; font: inherit; }
.aps-dash__tile:hover { background: #333; }
.aps-dash__tile.is-active { border-color: var(--aps-orange, #ff5000); }
.aps-dash__num { font-size: 2rem; font-weight: 800; color: var(--aps-orange, #ff5000); line-height: 1.1; }
.aps-dash__tile:nth-child(3) .aps-dash__num { color: #34c759; }
.aps-dash__label { color: #bbb; font-size: 13px; margin-top: 4px; }

.aps-dash__list:not(:empty) { margin-top: 14px; }

/* Pulsante e overlay scanner */
.aps-checkin__scan-btn {
    width: 100%; background: var(--aps-orange, #ff5000); color: #fff; border: 0; border-radius: 999px;
    padding: 14px; font-size: 17px; font-weight: 700; cursor: pointer; margin-bottom: 18px;
}
.aps-scan-overlay {
    position: fixed; inset: 0; background: #000; z-index: 99999;
}
.aps-scan-overlay video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000;
}
.aps-scan-overlay__frame {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 65vw; max-width: 300px; aspect-ratio: 1/1;
    border: 3px solid #fff; border-radius: 18px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); z-index: 2;
}
.aps-scan-overlay__close {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
    background: #fff; color: #111; border: 0; border-radius: 999px; padding: 12px 28px; font-weight: 700; font-size: 16px; cursor: pointer;
}

.aps-dash__areas-title { color: #999; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; margin: 18px 0 8px; }
.aps-dash__area { display: flex; justify-content: space-between; padding: 10px 12px; background: #262626; border-radius: 8px; margin-bottom: 6px; color: #eee; }
.aps-dash__area-num { font-weight: 700; color: #fff; }

.aps-dash__refresh { margin-top: 12px; width: 100%; background: #2b2b2b; color: #fff; border: 1px solid #3a3a3a; border-radius: 999px; padding: 10px; font-weight: 600; cursor: pointer; }

@media (max-width: 600px) {
    .aps-form__row { grid-template-columns: 1fr; }
}
