.event-detail {
  --home-primary-rgb: 195, 0, 24;
  --home-secondary-rgb: 41, 41, 41;
  --text-color: #f6f7fa;
  background: #080a10;
  color: #f6f7fa;
  overflow: clip;
}
.event-detail [hidden] { display: none !important; }
.event-hero { position: relative; isolation: isolate; }
.event-backdrop, .event-backdrop::after { position: absolute; inset: 0; }
.event-backdrop { z-index: -1; overflow: hidden; background: #080a10; }
.event-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .62; }
.event-backdrop::after {
  z-index: 0;
  content: "";
  background: linear-gradient(90deg, #080a10 0%, rgba(8,10,16,.86) 30%, rgba(8,10,16,.26) 100%), linear-gradient(0deg, #080a10 0%, transparent 60%);
}
.event-hero-inner { max-width: 1440px; margin-inline: auto; padding: 24px 44px 52px; }
.event-back { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .9rem; border-radius: 7px; color: #f6f7fa; background: rgba(8,10,16,.65); text-decoration: none; font-weight: 600; }
.event-back:hover { color: #fff; background: #232631; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(28px, 5vw, 64px); }
.event-copy { min-width: 0; }
.event-tournament { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.event-tournament img { width: 56px; height: 56px; object-fit: contain; }
.event-tournament p { margin: 0; font-weight: 700; font-size: 1rem; }
.event-tournament span { display: block; margin-top: 3px; color: #c0c8d6; font-size: .9rem; }
.event-state { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .7rem; margin-bottom: 15px; border-radius: 6px; background: rgba(255,255,255,.12); color: #e1e5ed; font-size: .8rem; font-weight: 650; }
.event-state-final { background: #1d4938; color: #dcf7e8; }
.event-state-live { background: #c30018; color: #fff; }
.event-copy h1 { margin: 0 0 22px; font-size: clamp(1.9rem, 3.5vw, 3.5rem); line-height: 1.08; font-weight: 750; letter-spacing: -.035em; text-transform: none; overflow-wrap: anywhere; }
.event-schedule { margin-bottom: 17px; }
.event-day { margin: 0 0 6px; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 650; }
.event-hour { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin: 0; font-size: 1.6rem; font-weight: 750; }
.event-hour span { color: #bfc7d4; font-size: .8rem; font-weight: 400; }
.event-venue { display: flex; align-items: baseline; gap: 8px; margin: 0 0 16px; color: #d2d8e2; font-size: .9rem; overflow-wrap: anywhere; }
.event-notice { max-width: 48ch; margin: 0 0 22px; color: #d3d9e4; font-size: .95rem; line-height: 1.65; }
.event-description { max-width: 55ch; margin: 0 0 22px; color: #d3d9e4; line-height: 1.65; overflow-wrap: anywhere; }
.event-cover-placeholder { min-height: 220px; display: grid; place-content: center; padding: 24px; text-align: center; border-radius: 12px; background: #171c29; font-size: 1.5rem; overflow-wrap: anywhere; }
.event-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.event-action { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid transparent; border-radius: 8px; font-size: .9rem; font-weight: 700; text-align: center; text-decoration: none; }
.event-action-primary {
  color: #fff;
  background: linear-gradient(rgba(5,8,13,.35), rgba(5,8,13,.35)),
    linear-gradient(135deg, rgb(var(--home-primary-rgb)), rgb(var(--home-secondary-rgb)));
  transition: filter .2s ease;
}
.event-action-primary:hover { color: #fff; filter: brightness(1.15); }
.event-action-secondary { color: #f6f7fa; border-color: #5b6372; background: rgba(8,10,16,.5); }
.event-action-secondary:hover { color: #fff; background: #232631; border-color: #929cac; }
.event-access { margin-top: 18px; color: #bac4d2; font-size: .8rem; line-height: 1.6; }
.event-access p { margin: 0 0 4px; }
.event-access i { margin-right: 5px; }
.event-live-announcement { margin: 12px 0 0; color: #f6f7fa; }
.event-live-announcement:empty { display: none; }
.event-visual { display: grid; align-items: center; min-width: 0; }
.event-artwork { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.event-artwork-poster { max-width: 340px; justify-self: center; }
.event-team-pair, .event-scoreboard { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; text-align: center; }
.event-team-pair > div, .event-scoreboard > div { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.event-team-pair img { width: min(100%, 130px); height: 130px; object-fit: contain; }
.event-team-pair div > span, .event-scoreboard div > span { overflow-wrap: anywhere; font-size: .95rem; }
.event-vs { color: #bac4d2; font-size: 1.2rem; font-weight: 750; }
.event-result { padding: 30px 18px; border-radius: 12px; background: rgba(8,10,16,.74); }
.event-result > p { color: #bfc7d4; text-align: center; margin: 0 0 24px; font-size: .85rem; }
.event-scoreboard img { width: min(100%, 100px); height: 100px; object-fit: contain; }
.event-scoreboard strong { font-size: clamp(1.5rem, 3vw, 2.7rem); white-space: nowrap; }
.event-scoreboard strong > span { color: #7d899b; }
.event-about, .event-related { max-width: 1440px; margin-inline: auto; padding: 26px 44px; }
.event-about h2 { margin: 0 0 14px; font-size: 1.2rem; font-weight: 700; }
.event-about p { max-width: 90ch; margin: 0; color: #c0c8d6; line-height: 1.75; }
.event-related { padding-bottom: 48px; scroll-margin-top: 90px; }
.event-related > .container-fluid { padding: 0 !important; }
.event-related .card-body { display: none !important; }
.event-related .uefa-card { height: auto; }
.event-related .swiper-proximos .swiper-slide { min-width: 0; }
.event-related .uefa-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.65) !important; }
.event-detail :is(a,button):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (min-width: 768px) {
  .event-detail { position: relative; isolation: isolate; }
  .event-hero {
    min-height: calc(100vh - 70px);
    min-height: calc(100svh - 70px);
    display: flex;
    flex-direction: column;
    isolation: auto;
  }
  .event-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
  .event-hero-inner { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; width: 100%; }
  .event-about, .event-related { position: relative; z-index: 1; }
  body:has(.event-detail) > footer { position: relative; z-index: 1; }
  .event-back { align-self: flex-start; }
  .event-layout { flex: 1; }
}
@media (max-width: 767px) {
  .event-hero-inner { padding: 16px 16px 28px; }
  .event-layout { grid-template-columns: minmax(0,1fr); padding-top: 24px; gap: 25px; }
  .event-visual { grid-row: 1; }
  .event-backdrop img { object-position: center top; }
  .event-backdrop::after { background: linear-gradient(0deg, #080a10 8%, rgba(8,10,16,.8) 58%, rgba(8,10,16,.35)); }
  .event-tournament { margin-bottom: 16px; }
  .event-copy h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); margin-bottom: 18px; }
  .event-artwork { max-height: 330px; object-fit: contain; box-shadow: none; }
  .event-artwork-poster { max-height: 320px; width: auto; max-width: 100%; }
  .event-actions { flex-direction: column; }
  .event-action { width: 100%; }
  .event-about, .event-related { padding: 24px 16px; }
  .event-related { padding-bottom: 36px; }
  .event-team-pair { padding: 15px 0; }
}
@media (prefers-reduced-motion: reduce) { .event-detail * { transition: none !important; scroll-behavior: auto !important; } }
