/* Archery Market – tema scuro nei colori di Archery Score Pro.
   Nessun font esterno (privacy): per ora font di sistema. */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --card: #161616;
  --border: rgba(255, 255, 255, .09);
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --green: #3ecf6e;
  --green-dark: #248a3d;
  --yellow: #ffe500;
  --red: #e3004f;
  --blue: #0066b2;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: 1.3rem; margin-top: 2rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.preview-banner {
  background: var(--yellow); color: #000; text-align: center;
  font-size: .85rem; font-weight: 600; padding: 6px 12px;
}

.site-header { background: rgba(17, 17, 17, .95); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { color: var(--text); font-weight: 800; font-size: 1.25rem; letter-spacing: .5px; text-transform: uppercase; }
.brand span { color: var(--green); }
.brand:hover { text-decoration: none; }
.header-search { display: flex; flex: 1 1 240px; gap: 6px; }
.header-search input { flex: 1; min-width: 0; }

input, select, button, .button {
  font: inherit; color: var(--text); background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px;
}
button, .button {
  background: var(--green); color: #000; font-weight: 700; border-color: transparent; cursor: pointer; display: inline-block;
}
button:hover, .button:hover { background: #55e085; text-decoration: none; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.hero { padding: 40px 0 10px; }
.hero p { color: var(--muted); max-width: 60ch; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: var(--card); }
.chips a:hover { border-color: var(--green); text-decoration: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0; }
.card { display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.card:hover { border-color: var(--green); text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--dark); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 10px 12px 12px; }
.card-body h3 { font-size: 1rem; margin: 0 0 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price { color: var(--yellow); font-weight: 700; margin: 0; }
.meta { color: var(--muted); font-size: .85rem; margin: 4px 0 0; }
.no-photo { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: .9rem; }
.no-photo.big { min-height: 240px; background: var(--dark); border-radius: var(--radius); }

.badge { position: absolute; top: 8px; left: 8px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--blue); color: #fff; }
.detail > p .badge { position: static; display: inline-block; }
.badge-country { left: auto; right: 8px; background: rgba(0, 0, 0, .7); letter-spacing: .05em; }
.detail > p .badge-country { background: var(--dark); }
.captcha-status { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text); font-size: .95rem; }
.captcha-status::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--green); animation: captcha-spin .9s linear infinite; }
.captcha-status.captcha-ok { border-color: var(--green-dark); }
.captcha-status.captcha-ok::before { animation: none; border: 0; border-radius: 0; background: var(--green); content: ""; clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 84% 8%, 38% 72%); }
.captcha-status.captcha-error { border-color: var(--red); color: var(--red); }
.captcha-status.captcha-error::before { animation: none; border: 0; background: var(--red); content: "!"; color: #fff; font-weight: 700; font-size: 12px; line-height: 18px; text-align: center; }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha-status::before { animation-duration: 3s; } }
.contact-box { margin: 20px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-link { margin-top: 24px; font-size: .85rem; }
.report-link a { color: var(--muted); }
.ship { color: var(--muted); font-size: .8rem; margin: 2px 0 0; }
.badge-sale { background: var(--green-dark); }
.badge-wanted { background: var(--blue); }
.badge-lesson { background: var(--red); }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; margin: 16px 0; }
.filters .field { display: flex; flex-direction: column; gap: 4px; }
.filters .field-wide { grid-column: 1 / -1; }
.filters label { color: var(--muted); font-size: .8rem; }
.count { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }

.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 24px 0; }

.detail-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 12px 0 20px; }
@media (min-width: 800px) { .detail-layout { grid-template-columns: 2fr 1fr; } }
.gallery { display: grid; gap: 10px; }
.gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.facts { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; align-self: start; }
.price.big { font-size: 1.6rem; margin-bottom: 8px; }
.facts dl { margin: 0; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 6px 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.description { max-width: 70ch; overflow-wrap: anywhere; }
.crumbs { color: var(--muted); font-size: .9rem; }
.notice { background: rgba(255, 229, 0, .12); border: 1px solid var(--yellow); border-radius: 10px; padding: 8px 12px; }

.site-footer { margin-top: 48px; padding: 20px 0 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }

/* --- Menu utente e messaggi ------------------------------------------------ */
.user-nav { display: flex; align-items: center; gap: 12px; font-size: .9rem; flex-wrap: wrap; }
.messages { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.message { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); }
.message-success { border-color: var(--green-dark); }
.message-error { border-color: var(--red); }
.message-warning { border-color: var(--yellow); }

/* --- Pulsanti e moduli ----------------------------------------------------- */
.button-small, button.button-small { padding: 4px 12px; font-size: .85rem; }
.button-secondary, button.button-secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.button-secondary:hover, button.button-secondary:hover { background: #222; border-color: var(--green); }
.button-danger, button.button-danger { background: transparent; color: #ff6b8f; border: 1px solid var(--red); }
.button-danger:hover, button.button-danger:hover { background: var(--red); color: #fff; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
main form p, .stack-form p { margin: 0 0 14px; }
main form label { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
main form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),
main form select, main form textarea { width: 100%; max-width: 560px; }
main form textarea { font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
main form input[type=checkbox] { width: auto; margin-right: 8px; }
main form input[type=checkbox] + label, main form label:has(input[type=checkbox]) { display: inline; color: var(--text); font-size: 1rem; }
.errorlist { list-style: none; padding: 0; margin: 0 0 6px; color: #ff6b8f; font-size: .9rem; }
.helptext, .hint, .meta { color: var(--muted); font-size: .85rem; }
.legal-note, .notice { color: var(--muted); font-size: .9rem; }
.notice { background: rgba(255, 229, 0, .1); border: 1px solid var(--yellow); border-radius: 10px; padding: 10px 14px; color: var(--text); }

/* --- Annunci dell'utente --------------------------------------------------- */
.my-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.my-item { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.my-thumb { flex: 0 0 120px; height: 90px; background: var(--dark); border-radius: 8px; overflow: hidden; }
.my-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-info { flex: 1; min-width: 0; }
.my-info h2 { font-size: 1.05rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.item-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.item-actions form { margin: 0; }
.badge-inline { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: var(--blue); }
.badge-inline.badge-sale { background: var(--green-dark); }
.badge-inline.badge-lesson { background: var(--red); }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; border: 1px solid var(--border); }
.status-active { border-color: var(--green); color: var(--green); }
.status-pending { border-color: var(--yellow); color: var(--yellow); }
.status-draft { color: var(--muted); }

.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.panel-accent { border-color: var(--green-dark); }
.panel h2 { margin-top: 0; }
.photo-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.upload-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.upload-form input[type=file] { color: var(--muted); }
@media (max-width: 520px) { .my-item { flex-direction: column; } .my-thumb { flex-basis: auto; width: 100%; height: 160px; } }

.account-facts { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 6px 16px; margin: 12px 0 20px; }
.account-facts dd, .facts dd, .facts dt { overflow-wrap: anywhere; }
@media (max-width: 520px) { .account-facts { grid-template-columns: minmax(0, 1fr); gap: 0; } .account-facts dd { margin-bottom: 10px; } }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; }
.legal h2 { margin-top: 28px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 12px 0; }
.legal-table th, .legal-table td { border: 1px solid var(--border, #2a2a2a); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { color: var(--muted); font-weight: 600; }
.todo { background: rgba(255, 229, 0, .18); padding: 0 4px; border-radius: 3px; }

/* Selettore lingua a tendina (details/summary: funziona anche senza JavaScript) */
.lang-dropdown { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; user-select: none; white-space: nowrap;
  background: #1e1e1e; border: 1px solid rgba(255, 255, 255, .18); color: #f0f0f0; padding: 6px 9px; border-radius: 6px; font-size: .85rem; transition: .2s; }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover, .lang-btn:focus-visible, .lang-dropdown[open] > .lang-btn { border-color: var(--green); color: #fff; background: #222; outline: none; }
.lang-code { font-weight: 600; letter-spacing: .04em; }
.lang-flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; display: block; flex-shrink: 0; }
.lang-arrow { width: 0; height: 0; margin-left: 2px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid currentColor; opacity: .6; transition: transform .2s; }
.lang-dropdown:not([open]) .lang-arrow { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 110px; margin: 0; padding: 0; list-style: none; z-index: 999;
  background: #1a1a1a; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; box-shadow: 0 12px 36px rgba(0, 0, 0, .7); overflow: hidden; }
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #f0f0f0; font-size: .85rem; font-weight: 500; white-space: nowrap; }
.footer-feedback { margin: 6px 0 0; font-size: .85rem; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; outline: none; }
.lang-menu a[aria-current] { color: var(--green); }

/* --- pulsanti dell'intestazione: stessa altezza (Cerca, Vendi, lingua) --- */
.header-search button, .user-nav .button-small, .lang-btn { min-height: 38px; }
.header-search { align-items: center; }
.header-search input { min-height: 38px; }
.header-search button, .user-nav .button-small { padding: 0 16px; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; }
.back { margin: 4px 0 8px; }

/* --- TEST: fascia rossa sulle schede e sulle foto degli annunci di prova --- */
.test-ribbon { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(227, 0, 79, .9); color: #fff; text-align: center;
  font-weight: 800; font-size: .95rem; letter-spacing: .35em; padding: 5px 0 5px .35em; pointer-events: none; z-index: 2; }
.photo-link { display: block; position: relative; }
.test-notice { background: rgba(227, 0, 79, .14); border: 1px solid var(--red); border-radius: 8px; color: #ff9db8; padding: 8px 12px; margin: 8px 0 12px; }
.test-notice strong { color: #fff; background: var(--red); border-radius: 4px; padding: 1px 8px; letter-spacing: .2em; margin-right: 4px; }

/* --- galleria a schermo intero --- */
body.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .97); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { position: relative; display: flex; max-width: 94vw; max-height: 84vh; }
.lb-figure img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.lb-btn { position: absolute; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(20, 20, 20, .8); color: #fff; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover, .lb-btn:focus-visible { background: #fff; color: #000; outline: none; }
.lb-close { top: 14px; right: 14px; font-size: 2.2rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; margin: 0; color: #ddd; font-size: .9rem; }
@media (max-width: 520px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-btn { width: 44px; height: 44px; } }

[hidden] { display: none !important; }
@media (max-width: 700px) { .lang-menu { left: 0; right: auto; } }

/* --- invisibile ma letto dai lettori di schermo e attivo con Invio --- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --- stellina dei preferiti --- */
.card-wrap { position: relative; }
.card-wrap .fav-form, .card-wrap > .fav-btn { position: absolute; top: 6px; right: 50px; margin: 0; z-index: 3; }
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; cursor: pointer;
  background: rgba(10, 10, 10, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .3); font-size: 1.1rem; line-height: 1; text-decoration: none; }
.fav-btn:hover, .fav-btn:focus-visible { border-color: var(--yellow); background: rgba(10, 10, 10, .95); text-decoration: none; outline: none; }
.fav-btn.is-fav { color: var(--yellow); border-color: var(--yellow); }
.fav-labelled { height: 38px; padding: 0 14px; font-size: .9rem; }
.fav-labelled .fav-star { font-size: 1.15rem; }
.nav-fav .fa, .nav-fav span { color: var(--yellow); }

/* --- barra azioni del dettaglio: stellina e condividi --- */
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; }
.detail-actions .fav-form { margin: 0; }
.share { position: relative; }
.share > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 38px; }
.share > summary::-webkit-details-marker { display: none; }
.share-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 50; min-width: 190px; margin: 0; padding: 4px 0; list-style: none;
  background: #1a1a1a; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; box-shadow: 0 12px 36px rgba(0, 0, 0, .7); }
.share-menu a, .share-menu button { display: block; width: 100%; text-align: left; padding: 10px 14px; background: none; border: 0; border-radius: 0; color: #f0f0f0; font-size: .9rem; font-weight: 500; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover, .share-menu a:focus-visible, .share-menu button:focus-visible { background: rgba(255, 255, 255, .08); outline: none; text-decoration: none; }

/* --- avviso di conferma che compare un attimo --- */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s; z-index: 3000;
  background: #f0f0f0; color: #111; padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- avvisi di ricerca --- */
.alert-box { margin: 0 0 12px; }
.alert-create { display: inline-block; position: relative; }
.alert-create > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 38px; }
.alert-create > summary::-webkit-details-marker { display: none; }
.alert-form { position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); width: min(320px, 86vw); padding: 12px; background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; box-shadow: 0 12px 36px rgba(0, 0, 0, .7); display: grid; gap: 10px; }
.alert-form .hint { margin: 0; }
.alert-form label { display: grid; gap: 4px; color: var(--muted); font-size: .85rem; }
.alert-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.alert-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.alert-item.is-paused { opacity: .7; }
.alert-desc { margin: 0 0 8px; overflow-wrap: anywhere; }
.alert-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.alert-controls label { display: grid; gap: 4px; color: var(--muted); font-size: .8rem; }
@media (max-width: 520px) { .card-wrap .fav-form, .card-wrap > .fav-btn { right: 46px; } .share-menu { min-width: 170px; } }
/* ricerca nei filtri: campo + lente (su telefono non c'e' un tasto Invio affidabile) */
.search-row { display: flex; gap: 6px; align-items: stretch; }
.search-row input { flex: 1; min-width: 0; }
.search-lens { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; padding: 0; }
/* cestino, ordinamento nella home, titoli delle sezioni nei preferiti */
.trash-title, .alerts-title { margin-top: 32px; }
.trash-list .my-item { opacity: .85; }
.forever { display: inline-block; }
.forever summary { list-style: none; cursor: pointer; }
.forever summary::-webkit-details-marker { display: none; }
.forever[open] { display: block; flex-basis: 100%; }
.forever form { margin-top: 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.home-sort { display: flex; align-items: center; gap: 8px; }
.home-sort label { font-size: .85rem; color: var(--muted); }
/* finestra con condizioni e informativa (registrazione) */
.legal-dialog { width: min(760px, 94vw); max-height: 88vh; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text); overflow: hidden; }
.legal-dialog[open] { display: flex; flex-direction: column; }
.legal-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.legal-bar { flex: none; display: flex; justify-content: flex-end; padding: 6px 8px 0; }
.legal-close { width: 40px; height: 40px; padding: 0; font-size: 1.6rem; line-height: 1; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 50%; }
.legal-content { overflow-y: auto; padding: 0 20px 20px; overflow-wrap: anywhere; }
.legal-content h1 { font-size: 1.5rem; }
/* avviso «installa l'app» (solo da telefono, vedi static/js/pwa.js) */
.pwa-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--green-dark); border-radius: var(--radius); background: var(--card); box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.pwa-banner[hidden] { display: none; }
.pwa-banner p { margin: 0; }
.pwa-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* trattabile, prezzo ridotto, riservato, altri annunci, consigli di sicurezza */
.was { color: var(--muted); font-weight: 400; text-decoration: line-through; }
.tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--border); border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--text); vertical-align: middle; }
.tag-reduced { border-color: var(--green-dark); color: var(--green); }
.tags { margin: 0 0 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge-reserved { background: #b26a00; top: 40px; left: 8px; }

.badge-inline.badge-reserved { background: #b26a00; }
.reserved-notice { border-left: 3px solid #b26a00; padding-left: 10px; }
.more { margin-top: 32px; }
.tips li { margin: 0 0 10px; }
/* promo discreta di Archery Score Pro (home) e pagina «Chi sono» */
.app-promo { display: flex; align-items: center; gap: 12px; margin: 40px 0 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--muted); font-size: .9rem; }
.app-promo img { flex: none; width: 48px; height: 48px; border-radius: 12px; }
.app-promo p { margin: 0; }
.app-promo strong { color: var(--text); }
.about h2 { margin-top: 28px; }
/* accesso con Google (elenco dei servizi esterni di allauth) */
.social-providers { list-style: none; padding: 0; margin: 12px 0; }
.social-login { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; }
/* pulsante «Continua con Google» (linee guida di Google, tema chiaro) */
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 4px; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .25px; text-decoration: none; cursor: pointer; }
.google-btn:hover { background: #f1f1f1; text-decoration: none; }
.google-btn:focus-visible { outline: 3px solid #4285f4; outline-offset: 2px; }
.google-btn .google-g { flex: none; }
@media (min-width: 521px) { .google-btn { max-width: 340px; } }
