/* Shared page chrome for every Sports Tracker competition page:
   one back button style (top-left) and one editor dock (bottom-centre). */
.home-btn { position: absolute !important; top: 18px !important; left: 18px !important; right: auto !important; z-index: 200 !important;
  display: inline-flex !important; align-items: center !important; gap: 7px !important; margin: 0 !important;
  background: rgba(15, 15, 24, .88) !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 12px !important;
  padding: 7px 13px 7px 10px !important; text-decoration: none !important; color: #a1a1aa !important;
  font: 600 .76rem/1.2 'DM Sans', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  backdrop-filter: blur(12px); box-shadow: none !important; transition: all .15s; }
.home-btn:hover { background: rgba(25, 25, 40, .95) !important; color: #f4f4f5 !important; border-color: rgba(255, 255, 255, .2) !important; }
.home-btn svg { width: 14px !important; height: 14px !important; flex-shrink: 0; color: inherit !important; }

#editControls.hub-dock { position: fixed !important; left: 50% !important; right: auto !important; top: auto !important; bottom: 24px !important;
  transform: translateX(-50%) !important; z-index: 1000 !important; gap: 10px !important; padding: 9px !important; border-radius: 100px !important;
  align-items: center !important; background: rgba(12, 12, 20, .72) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(14px) !important; box-shadow: 0 12px 40px rgba(0, 0, 0, .45) !important; width: auto !important; }
#editControls.hub-dock > button { border: 0 !important; border-radius: 100px !important; padding: 12px 22px !important; margin: 0 !important;
  font: 900 .65rem/1 'DM Sans', sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: #fff !important;
  cursor: pointer; box-shadow: none !important; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: filter .15s, transform .1s; }
#editControls.hub-dock > button:hover { filter: brightness(1.12); }
#editControls.hub-dock > button:active { transform: scale(.96); }
#editControls.hub-dock > button.hub-edit { background: #2563eb !important; }
#editControls.hub-dock > button.hub-edit.on { background: #16a34a !important; }
#editControls.hub-dock > button.hub-admin { background: #7c3aed !important; }
#editControls.hub-dock > button.hub-top { padding: 11px !important; background: rgba(255, 255, 255, .08) !important; }
#editControls.hub-dock > button.hub-top[class*="hidden"] { display: none !important; }
@media (max-width: 640px) {
  #editControls.hub-dock { bottom: 14px !important; gap: 6px !important; padding: 6px !important; }
  #editControls.hub-dock > button { padding: 10px 14px !important; font-size: .58rem !important; letter-spacing: .1em !important; }
}
#editControls.hub-dock > .edit-mode-btn { position: static !important; top: auto !important; right: auto !important; left: auto !important; bottom: auto !important; backdrop-filter: none !important; }
/* the UEFA club-cup pages build their own back link (.cup-back): same look as .home-btn */
.cup-back { position: absolute !important; top: 18px !important; left: 18px !important; z-index: 200 !important; display: inline-flex !important; align-items: center !important; gap: 7px !important;
  background: rgba(15, 15, 24, .88) !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 12px !important; padding: 7px 13px 7px 10px !important;
  color: #a1a1aa !important; font: 600 .76rem/1.2 'DM Sans', sans-serif !important; text-decoration: none !important; backdrop-filter: blur(12px); }
.cup-back:hover { color: #f4f4f5 !important; border-color: rgba(255, 255, 255, .2) !important; }
.cup-back svg { width: 14px; height: 14px; }

/* competition hero (same layout as the UEFA cup header): logo chip · titles · status / champion box */
.hub-hero { --hh: var(--hh-accent, #d4af37); --hh-rgb: var(--hh-accent-rgb, 212, 175, 55);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 52px 0 32px; padding: 26px 30px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(var(--hh-rgb), .09), rgba(255, 255, 255, .015)); border: 1px solid rgba(var(--hh-rgb), .2); position: relative; overflow: hidden; }
.hub-hero .hh-logo { width: 104px; height: 104px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hub-hero .hh-logo img { max-width: 84px; max-height: 84px; object-fit: contain; }
.hub-hero .hh-titles { flex: 1; min-width: 240px; }
.hub-hero .hh-eyebrow { font: 800 .72rem 'DM Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--hh); }
.hub-hero .hh-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1; margin: 6px 0 8px; color: #fff; letter-spacing: .01em; }
.hub-hero .hh-sub { font: 700 .8rem 'DM Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hub-hero .hh-status { display: flex; align-items: stretch; border-radius: 16px; overflow: hidden; border: 1px solid rgba(var(--hh-rgb), .5); box-shadow: 0 10px 34px rgba(var(--hh-rgb), .16); min-width: 250px; }
.hub-hero .hh-status .hh-ic { width: 62px; display: grid; place-items: center; background: rgba(0, 0, 0, .45); }
.hub-hero .hh-status .hh-ic img { width: 38px; height: 38px; object-fit: contain; }
.hub-hero .hh-status .hh-ic img.flag { width: 38px; height: auto; border-radius: 4px; }
.hub-hero .hh-status .tx { padding: 11px 20px; background: linear-gradient(135deg, var(--hh), rgba(var(--hh-rgb), .7)); color: #111; flex: 1; }
.hub-hero .hh-status small { display: block; font: 900 .6rem 'DM Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.hub-hero .hh-status b { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1.05; letter-spacing: .02em; }
@media (max-width: 700px) {
  .hub-hero { margin-top: 62px; padding: 20px; gap: 16px; }
  .hub-hero .hh-logo { width: 76px; height: 76px; border-radius: 18px; } .hub-hero .hh-logo img { max-width: 60px; max-height: 60px; }
  .hub-hero .hh-status { width: 100%; min-width: 0; }
}
