/* «In evidenza» (web/promo.js, docs/PUBBLICITA.md): sponsored spaces that look like the app, always labelled. */
.tg-promo { position: relative; }
.tg-promo-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--surface-2, #f1ece1); color: var(--muted, #5b5f66); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tg-promo-why { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--muted, #5b5f66); }
.tg-promo-why:hover { background: var(--surface-2, #f1ece1); }
.tg-promo-i { width: 16px; height: 16px; }
.tg-promo-meta { display: inline-flex; align-items: center; gap: 4px; }
.tg-promo-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b5f66); }
.tg-promo-link { display: flex; gap: 12px; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
.tg-promo-body { display: grid; gap: 2px; min-width: 0; }
.tg-promo-body strong { font-size: 15px; }
.tg-promo-body small { color: var(--muted, #5b5f66); font-size: 13px; line-height: 1.35; }
.tg-promo-glyph { width: 26px; height: 26px; }
.tg-promo-cover, .tg-promo-thumb, .tg-promo-dot, .tg-promo-pin { display: grid; place-items: center; flex: none; overflow: hidden; background: var(--gold, #f7c23b); color: var(--ink, #1d1f24); }
.tg-promo-cover img, .tg-promo-thumb img, .tg-promo-dot img, .tg-promo-pin img { width: 100%; height: 100%; object-fit: cover; }
.tg-promo-type-restaurant, .tg-promo-type-bar { background: #f3c7b8; }
.tg-promo-type-museum { background: #d9d0e6; }
.tg-promo-type-shop { background: #cfe3de; }
/* Oggi */
.tg-promo-home { margin: 6px 0 18px; }
.tg-promo-feed { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; padding: 12px; border: var(--card-border); border-radius: 18px; background: var(--surface, #fff); box-shadow: var(--card-shadow); }
.tg-promo-feed .tg-promo-cover { width: 88px; height: 88px; border-radius: 14px; }
/* sheet of a place */
.tg-promo-nearby { margin: 14px 0 4px; padding: 12px 14px; border: 1.5px dashed var(--line-strong, #c9c2b3); border-radius: 16px; }
.tg-promo-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tg-promo-list { margin-top: 10px; padding: 0; list-style: none; }
.tg-promo-nearby .tg-promo-thumb { width: 48px; height: 48px; border-radius: 12px; }
/* map list */
.tg-promo-search { display: flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--gold, #f7c23b) 12%, transparent); }
.tg-promo-search .tg-promo-dot { width: 26px; height: 26px; border-radius: 50%; }
.tg-promo-search .tg-promo-dot .tg-promo-glyph { width: 15px; height: 15px; }
/* map pins */
.tg-promo-marker { background: none; border: 0; }
.tg-promo-pin { width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink, #1d1f24); box-shadow: 2px 2px 0 var(--ink, #1d1f24); }
.tg-promo-pin .tg-promo-glyph { width: 20px; height: 20px; }
.tg-promo-pin-label { position: absolute; left: 44px; top: 4px; display: grid; padding: 2px 7px; border-radius: 8px; background: var(--surface, #fff); color: var(--ink, #1d1f24); border: 1.5px solid var(--ink, #1d1f24); white-space: nowrap; line-height: 1.15; pointer-events: none; }
.tg-promo-pin-label b { font-size: 12px; }
.tg-promo-pin-label i { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #5b5f66); }
.tg-promo-popup { display: grid; gap: 4px; min-width: 180px; }
/* «Perché lo vedo?» */
.tg-promo-whybox dl { display: grid; gap: 6px; margin: 0 0 12px; }
.tg-promo-whybox dl div { display: flex; gap: 8px; }
.tg-promo-whybox dt { font-weight: 800; min-width: 110px; }
.tg-promo-whybox h3 { font-size: 15px; margin: 0 0 6px; }
.tg-promo-whybox ul { margin: 0 0 12px; padding-left: 18px; }
/* back office */
.tg-promo-intro { color: var(--muted, #5b5f66); max-width: 70ch; }
.tg-promo-prices { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.tg-promo-prices span { display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2, #f1ece1); font-size: 13px; }
.tg-promo-camp { display: grid; gap: 6px; margin: 10px 0; padding: 14px; }
.tg-promo-camp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tg-promo-camp-sub, .tg-promo-camp-stats { margin: 0; color: var(--muted, #5b5f66); font-size: 13px; }
.tg-promo-pill { padding: 2px 9px; border-radius: 999px; background: var(--surface-2, #f1ece1); font-size: 12px; font-weight: 800; }
.tg-promo-pill.is-ok { background: #d8efdc; color: #1e6b33; }
.tg-promo-pill.is-warn { background: #fcebc0; color: #7a5300; }
.tg-promo-pill.is-danger { background: #f8d6cf; color: #9b2b18; }
.tg-promo-note { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fcebc0; font-size: 13px; }
.tg-promo-form { display: grid; gap: 10px; }
.tg-promo-fs { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.tg-promo-fs legend { font-weight: 800; margin-bottom: 4px; }
@media (prefers-color-scheme: dark) {
  .tg-promo-type-restaurant, .tg-promo-type-bar, .tg-promo-type-museum, .tg-promo-type-shop { background: #3a3f47; color: #f5f1e6; }
  .tg-promo-pill.is-ok { background: #1f3b26; color: #a8e0b4; }
  .tg-promo-pill.is-warn, .tg-promo-note { background: #3d3217; color: #f3d98a; }
  .tg-promo-pill.is-danger { background: #43201a; color: #f3b3a5; }
}
/* admin panel (web/console/promo-admin.js) */
.pra-page .rka-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; align-items: end; }
.pra-page .rka-form > label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.pra-page .rka-form .rka-switch { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pra-page .rka-form button { justify-self: start; }
