/* Patch 19: accesso e preferenze privacy locali. */
.live-auth-fields .form-label{font-weight:650;color:#173d72;margin-bottom:.35rem}
.live-auth-fields .input-group{margin-top:0!important}
.live-auth-fields .form-control,.live-auth-fields .input-group-text{min-height:44px}
.live-auth-page .live-auth__card .btn{font-weight:600}
/* Patch 19a: pannello autonomo, non soggetto al layout delle section. */
.live-cookie-panel[hidden],.live-cookie-panel [hidden]{display:none!important}
body .live-cookie-panel{box-sizing:border-box;position:fixed;bottom:16px;right:16px;z-index:1090;width:calc(100% - 32px);max-width:520px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#263b5d;border:1px solid #d4dfed;border-radius:14px;box-shadow:0 12px 40px rgba(16,43,85,.22);font-size:14px;line-height:1.5;text-align:left}
body .live-cookie-panel--preferences{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);max-width:600px;box-shadow:0 14px 55px rgba(16,43,85,.30),0 0 0 1px rgba(16,43,85,.06)}
.live-cookie-panel .live-cookie-header{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e1e7ef;background:#fff;flex:none}
.live-cookie-header>div{flex:1;min-width:0;border-left:1px solid #d4dfed;padding-left:12px}
.live-cookie-icon{display:grid;place-items:center;background:#094fa3;color:white;width:38px;height:38px;border-radius:8px;font-size:20px;flex:none}
.live-cookie-header small{display:block;color:#a64b06;font-size:10px;letter-spacing:.06em;font-weight:700}
.live-cookie-header h2{font-size:17px;color:#173d72;margin:0;font-weight:700;line-height:1.3}
.live-cookie-panel .live-cookie-header .btn-close{box-sizing:border-box;width:36px;height:36px;min-width:36px;padding:0;background-size:14px 14px;border:1px solid #d4dfed;border-radius:8px;opacity:.8;flex:none;margin:0}
.live-cookie-panel .live-cookie-header .btn-close:hover{background-color:#edf3fb;opacity:1}
.live-cookie-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 18px;flex:1 1 auto}
.live-cookie-body p{margin:0 0 8px}.live-cookie-body a{color:#094fa3;text-decoration:underline;text-underline-offset:2px}
.live-cookie-body .live-cookie-note{font-size:12px;color:#52647a;margin:0 0 8px}
.live-cookie-options{margin-top:16px;display:grid;gap:8px}
.live-cookie-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #e0e7f1;border-radius:9px;margin:0;background:#f8fafd;min-width:0}
.live-cookie-option>div{min-width:0}.live-cookie-option strong{display:block;color:#173d72;font-size:14px}.live-cookie-option small{display:block;color:#52647a;font-size:12px;line-height:1.4}
label.live-cookie-option{cursor:pointer}.live-cookie-option input.form-check-input{flex:none;width:21px;height:21px;margin:0;border-color:#8da5c1;cursor:pointer}.live-cookie-option input.form-check-input:checked{background-color:#094fa3;border-color:#094fa3}
.live-cookie-required{flex:none;font-size:11px;font-weight:600;color:#17663e;background:#e9f5ee;border-radius:5px;padding:5px 7px}
.live-cookie-body .live-cookie-reload-note{margin:4px 0 0;line-height:1.45}
.live-cookie-body [data-cookie-status]:empty{display:none}
.live-cookie-panel .live-cookie-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 18px;border-top:1px solid #e1e7ef;background:#fff;flex:none}
.live-cookie-actions button,.live-map-consent__button{min-width:0;background:#fff;border:1px solid #094fa3;color:#094fa3;border-radius:7px;font:inherit;font-weight:600;min-height:42px;padding:8px;cursor:pointer;line-height:1.25}
.live-cookie-actions button:hover,.live-map-consent__button:hover{background:#eaf1fb}
.live-cookie-panel :focus-visible,.live-map-consent__button:focus-visible{outline:2px solid #094fa3;outline-offset:2px}
.live-map-consent{height:100%;min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:16px;background:#f5f8fc;color:#43556f;gap:10px}.live-map-consent p{margin:0;max-width:380px;font-size:14px}.live-map-consent__button{font-size:13px;padding:8px 12px;min-height:36px}
@media(max-width:480px){body .live-cookie-panel{bottom:8px;right:8px;width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}body .live-cookie-panel--preferences{top:50%;left:50%;right:auto;bottom:auto}.live-cookie-panel .live-cookie-header,.live-cookie-body,.live-cookie-panel .live-cookie-actions{padding:12px}.live-cookie-header{gap:8px}.live-cookie-header h2{font-size:16px}.live-cookie-actions button{font-size:12px;padding:8px 4px;min-height:44px}.live-cookie-option{padding:10px;gap:8px}}

.live-home .live-sport-pill__image{object-fit:cover}
.live-home .live-sport-pill.is-selected .live-sport-pill__image{padding:0;background:transparent}
.live-home .live-competition-sport-pills .live-sport-pill__image{width:64px;height:64px;min-width:64px}
.live-home .live-competition-sport-header[style]{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#172f72,#21409a);color:white}
.live-home .live-competition-sport-header[style]::after{content:"";position:absolute;inset:0 0 0 auto;width:50%;z-index:-1;background:var(--live-sport-section-image) center/cover no-repeat;opacity:.30;mask-image:linear-gradient(to right,transparent,#000 50%)}
.live-home .live-competition-sport-header[style] h2{color:white}
.live-home .live-competition-sport-header[style] .live-competition-count{color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}
.live-home .live-competition-sport-header[style] .live-overline{color:#ffbb86!important}
.live-admin-dashboard .live-admin-welcome__figure{position:absolute;inset:0 0 0 auto;width:38%;pointer-events:none;z-index:0;overflow:hidden;border-radius:0 20px 20px 0;mask-image:linear-gradient(to right,transparent,#000 40%);opacity:.65}
.live-admin-dashboard .live-admin-welcome__figure img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.live-admin-dashboard .live-admin-welcome{position:relative;isolation:isolate;overflow:hidden}
.live-admin-dashboard .live-admin-welcome__main{position:relative;z-index:1}
.live-admin-dashboard .live-admin-welcome:has(.live-admin-welcome__figure) .live-admin-welcome__main{max-width:65%}
@media(max-width:767.98px){.live-home .live-competition-sport-pills .live-sport-pill__image{width:56px;height:56px;min-width:56px}.live-admin-dashboard .live-admin-welcome__figure{width:55%;opacity:.35}.live-admin-dashboard .live-admin-welcome:has(.live-admin-welcome__figure) .live-admin-welcome__main{max-width:none}}

/* Nessuno spazio riservato ai vecchi pulsanti flottanti. */
.live-home .live-field-hero__copy{padding-right:0;padding-bottom:0}
@media(max-width:767.98px){.live-home .live-field-detail .live-field-hero,.live-home .live-competition-banner--detail,.live-home .live-club-hero,.live-home .live-person-detail .live-person-hero.live-team-hero{padding-bottom:24px}}

/* ---- 2026-11-26 fix overlay hero/action bar and dashboard/public hero polish ---- */
.live-home .live-public-hero .live-team-hero__facts a,
.live-home .live-public-hero .live-competition-banner__stats a{
  background:rgba(243,112,33,.18)!important;
  border-color:rgba(255,196,152,.38)!important;
}
.live-home .live-public-hero .live-team-hero__facts a:hover,
.live-home .live-public-hero .live-competition-banner__stats a:hover{
  background:rgba(243,112,33,.28)!important;
}
.live-home .live-game-hero__facts a{
  color:#ffd7b6!important;
  text-decoration-color:rgba(255,196,152,.72);
}
.live-field-hero__stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.live-field-hero__stats span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
.live-field-hero__stats i{color:#ffbb86}
.live-admin-dashboard .live-admin-welcome--with-photo{
  overflow:hidden;
}
.live-admin-dashboard .live-admin-welcome__figure--photo{
  position:absolute;
  top:-48px;
  right:10px;
  bottom:-48px;
  width:min(34%,320px);
  border-radius:28px;
  transform:rotate(-12deg);
  opacity:.2;
  mask-image:none;
  -webkit-mask-image:none;
  overflow:hidden;
}
.live-admin-dashboard .live-admin-welcome__figure--photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}
.live-admin-dashboard .live-admin-welcome--with-photo .live-admin-welcome__main{max-width:68%}
@media(max-width:767.98px){
  .live-field-hero__stats{margin-top:16px;gap:8px}
  .live-field-hero__stats span{font-size:11px;padding:7px 10px}
  .live-admin-dashboard .live-admin-welcome__figure--photo{width:52%;right:-18px;top:-22px;bottom:-22px;opacity:.16}
  .live-admin-dashboard .live-admin-welcome--with-photo .live-admin-welcome__main{max-width:none}
}
