/* Publieke livepagina: een rustig eventoverzicht met de navigatie altijd bereikbaar. */
:root{--live-surface:#fff;--live-border:#e4e8ee;--live-ink:#17212e;--live-muted:#617082}
.app-shell{background:#f3f5f7}
.topbar{background:var(--secondary);border-bottom:1px solid rgba(255,255,255,.12);box-shadow:none}
.topbar .btn-sm{min-height:39px}
.app-body{min-width:0}
.content{min-width:0;background:#f3f5f7;scroll-behavior:smooth}
.panel{max-width:1500px;padding:32px clamp(18px,3.5vw,56px) 72px}
.sidebar{background:var(--secondary);box-shadow:none;border-right:1px solid rgba(255,255,255,.1)}
.sidebar .sb-logo-block{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1);box-shadow:none}
.sidebar .sb-item{min-height:44px;display:flex;align-items:center;gap:11px;color:rgba(255,255,255,.78);cursor:pointer;transition:background .18s ease,color .18s ease}
.sidebar .sb-item:hover{color:#fff;transform:none;background:rgba(255,255,255,.1)}
.sidebar .sb-item.active{color:var(--primary-on);background:var(--primary);box-shadow:none;font-weight:700}
.sidebar .sb-section-label{font-size:11px;font-weight:800;color:rgba(255,255,255,.48)}
.sidebar .sb-item:focus-visible,.live-hero-cta:focus-visible,.inner-tab:focus-visible{outline:3px solid var(--primary);outline-offset:3px}

.live-hero{position:relative;isolation:isolate;overflow:hidden;min-height:320px;border-radius:26px;background:linear-gradient(125deg,var(--secondary),#172435);color:#fff;box-shadow:0 24px 48px rgba(20,31,45,.14)}
.live-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.live-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(11,20,32,.96) 0%,rgba(11,20,32,.88) 45%,rgba(11,20,32,.42) 100%)}
.live-hero:not(.has-cover)::before{background:radial-gradient(circle at 88% 18%,color-mix(in srgb,var(--primary) 58%,transparent),transparent 30%),linear-gradient(125deg,var(--secondary),#1d3145)}
.live-hero-content{position:relative;display:flex;flex-direction:column;min-height:320px;padding:clamp(24px,3vw,44px)}
.live-hero-topline,.live-hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.live-hero-eyebrow{font-size:11px;line-height:1.4;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:rgba(255,255,255,.77)}
.live-hero-status{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(12,22,34,.45);padding:8px 12px;font-size:12px;font-weight:700;white-space:nowrap}
.live-hero-status-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--primary)}
.live-hero-main{display:flex;align-items:center;gap:22px;flex:1;margin:28px 0 30px}
.live-hero-logo{width:84px;height:84px;flex:none;border:1px solid rgba(255,255,255,.2);border-radius:19px;background:#fff;object-fit:contain;padding:9px}
.live-hero-copy{min-width:0;max-width:790px}
.live-hero-category{display:inline-block;margin-bottom:8px;font-size:12px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:.08em}
.live-hero h1{max-width:16ch;font-size:clamp(32px,4.2vw,58px);font-weight:850;line-height:1.04;letter-spacing:-.045em;color:#fff;overflow-wrap:anywhere}
.live-hero-intro{max-width:68ch;margin-top:14px;font-size:15px;line-height:1.65;color:rgba(255,255,255,.84)}
.live-hero-facts{display:flex;gap:10px 24px;flex-wrap:wrap;min-width:0}
.live-hero-facts span{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:650;color:rgba(255,255,255,.88);min-width:0;overflow-wrap:anywhere}
.live-hero-facts i{font-size:17px;color:var(--primary)}
.live-hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;border:0;border-radius:12px;background:var(--primary);padding:12px 16px;color:var(--primary-on);font-size:13px;font-weight:800;cursor:pointer;transition:filter .18s ease,transform .18s ease}
.live-hero-cta:hover{filter:brightness(1.08);transform:translateY(-1px)}
.share-modal[hidden],.match-filter-empty[hidden],.favorite-top-tab[hidden],.schedule-item[hidden],.public-grid-event[hidden],.share-qr-fallback[hidden]{display:none!important}
.share-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px}
.share-modal-backdrop{position:absolute;inset:0;background:rgba(9,9,11,.72);backdrop-filter:blur(5px)}
.share-modal-card{position:relative;width:min(100%,390px);border-radius:24px;background:#fff;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.25);text-align:center}
.share-modal-close{position:absolute;right:15px;top:11px;width:36px;height:36px;border:0;border-radius:50%;background:#f4f4f5;color:#3f3f46;font-size:26px;cursor:pointer}
.share-modal-eyebrow{color:#ea580c;font-size:11px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.share-modal-card h2{margin-top:7px;color:#18181b;font-size:25px;font-weight:850;letter-spacing:-.03em}
.share-modal-card>p:not(.share-modal-eyebrow){margin-top:8px;color:#52525b;font-size:14px;line-height:1.5}
.share-qr-code{display:grid;place-items:center;min-height:232px;margin:20px auto 12px;border:1px solid #e4e4e7;border-radius:18px;background:#fff;padding:12px}
.share-qr-code img,.share-qr-code canvas{max-width:100%;height:auto}
.share-modal-card input{width:100%;min-width:0;border:1px solid #d4d4d8;border-radius:11px;background:#fafafa;padding:11px 12px;color:#3f3f46;font-size:13px;text-align:center}
.share-modal-copy{width:100%;margin-top:10px;border:0;border-radius:11px;background:#f97316;padding:12px 16px;color:#fff;font-weight:800;cursor:pointer}
.match-filter-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 17px;padding:16px 18px;border:1px solid #e4e4e7;border-radius:17px;background:#fff}
.match-filter-bar>div{flex:1 1 210px;align-self:center}
.match-filter-bar strong,.match-filter-bar>div span{display:block}
.match-filter-bar strong{font-size:15px;color:#18181b}
.match-filter-bar>div span{margin-top:2px;color:#71717a;font-size:12px}
.match-filter-bar label,.favorite-panel-heading label{display:grid;gap:5px;color:#52525b;font-size:12px;font-weight:750}
.match-filter-bar select,.favorite-panel-heading select{min-width:160px;min-height:40px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;padding:8px 32px 8px 11px;color:#18181b;font-size:14px}
.match-filter-bar select:focus-visible,.favorite-panel-heading select:focus-visible{outline:3px solid #fdba74;outline-offset:2px}
.match-filter-reset{min-height:40px;border:1px solid #e4e4e7;border-radius:10px;background:#fafafa;padding:8px 13px;color:#52525b;font-size:13px;font-weight:750;cursor:pointer}
.match-filter-reset:hover{border-color:#fb923c;color:#c2410c}
.match-filter-empty{margin:10px 0 20px;border:1px dashed #fdba74;border-radius:14px;background:#fff7ed;padding:18px;color:#9a3412;font-size:14px;font-weight:650;text-align:center}
.favorite-top-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border:0;border-radius:11px;background:#fff7ed;padding:10px 16px;color:#c2410c;font-size:14px;font-weight:800;cursor:pointer}
.favorite-top-tab:hover,.favorite-top-tab.is-active{background:#f97316;color:#fff}
.favorite-panel-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-bottom:20px;border-radius:21px;background:#18181b;padding:24px;color:#fff}
.favorite-panel-heading h1{margin-top:5px;font-size:28px;font-weight:850;letter-spacing:-.03em}
.favorite-panel-heading p:last-child{margin-top:5px;color:#d4d4d8;font-size:14px}
.favorite-panel-heading label{color:#e4e4e7}
.favorite-team-profile{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:17px;border:1px solid #e4e4e7;border-radius:19px;background:#fff;padding:22px}
.favorite-team-logo{width:74px;height:74px;flex:none;border:1px solid #e4e4e7;border-radius:15px;background:#fff;object-fit:contain}
.favorite-team-placeholder{display:grid;place-items:center;background:#18181b;color:#fff;font-size:26px}
.favorite-team-profile-copy{flex:1 1 230px;min-width:0}
.favorite-team-profile-copy p{color:#ea580c;font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.favorite-team-profile-copy h2{overflow-wrap:anywhere;color:#18181b;font-size:25px;font-weight:850;line-height:1.15}
.favorite-team-profile-copy>span{display:inline-flex;margin:7px 14px 0 0;color:#71717a;font-size:13px}
.favorite-shirt-color{align-items:center;gap:6px}
.favorite-shirt-color i{width:15px;height:15px;border:1px solid #d4d4d8;border-radius:50%}
.favorite-remove{border:1px solid #e4e4e7;border-radius:10px;background:#fafafa;padding:10px 12px;color:#52525b;font-size:13px;font-weight:700;cursor:pointer}
.favorite-team-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:11px;margin-bottom:18px}
.favorite-team-details>div{display:grid;gap:3px;border:1px solid #e4e4e7;border-radius:14px;background:#fff;padding:14px}
.favorite-team-details span{color:#71717a;font-size:12px}.favorite-team-details strong{color:#18181b;font-size:15px}

#panel-home>.grid{grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:18px}
#panel-home>.grid .card,#panel-home>.card,.tab-body>.card{border:1px solid var(--live-border);border-radius:20px;background:var(--live-surface);box-shadow:0 8px 24px rgba(20,31,45,.045)}
#panel-home>.grid .card:hover,#panel-home>.card:hover{border-color:var(--live-border)}
#panel-home .card-header{padding:17px 22px;border-bottom:1px solid var(--live-border);background:#fff}
#panel-home .card-header>i{background:color-mix(in srgb,var(--primary) 12%,#fff);color:var(--primary)}
#panel-home .card-body{padding:22px}
#panel-home .card-body>div:first-child:not(.public-grid-shell){max-width:78ch}
#panel-home .card-body>.public-grid-shell{width:100%;max-width:none;min-width:0;overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch}
#panel-home .card-body a:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
#panel-home>.card .card-body>.grid>*,#panel-home>.card .card-body>.grid>*>div{transition:border-color .18s ease,transform .18s ease}
#panel-home>.card .card-body>.grid>a:hover{transform:translateY(-2px)}
#panel-home .inner-tabs{scroll-margin-top:24px;margin:26px 0 18px;border:1px solid var(--live-border);border-radius:14px;background:#fff;box-shadow:none}
#panel-home .inner-tab{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;color:var(--live-muted);cursor:pointer}
#panel-home .inner-tab.active{background:var(--secondary);color:#fff;box-shadow:none}
#panel-home .schedule-item{box-shadow:none;border:1px solid var(--live-border);border-radius:14px}
#panel-home .schedule-item:hover{box-shadow:0 8px 20px rgba(20,31,45,.07)}

@media(max-width:1050px){#panel-home>.grid{grid-template-columns:1fr}}
@media(max-width:768px){
  .topbar{height:64px;padding:0 14px}
  .sidebar{width:min(84vw,300px);left:min(-84vw,-300px);z-index:50}
  .panel{padding:18px 14px 52px}
  .live-hero,.live-hero-content{min-height:0}
  .live-hero{border-radius:21px}
  .live-hero-content{padding:24px 20px}
  .live-hero-main{align-items:flex-start;gap:13px;margin:26px 0}
  .live-hero-logo{width:55px;height:55px;border-radius:13px;padding:5px}
  .live-hero h1{font-size:clamp(28px,8vw,42px)}
  .live-hero-intro{font-size:14px}
  .live-hero-facts{gap:10px 17px}
  .live-hero-bottom{align-items:stretch}
  .live-hero-cta{width:100%}
  #panel-home>.grid .card,#panel-home>.card,.tab-body>.card{border-radius:17px}
  #panel-home .card-body{padding:18px}
  #panel-home .inner-tabs{width:100%}
  #panel-home .inner-tab{flex:1}
  .favorite-top-tab{flex:1}
  .match-filter-bar{padding:14px}
  .match-filter-bar>div{flex-basis:100%}
  .match-filter-bar label{flex:1 1 130px;min-width:0}
  .match-filter-bar select{width:100%;min-width:0}
  .favorite-panel-heading{padding:20px}
  .favorite-panel-heading label,.favorite-panel-heading select{width:100%}
}
@media(max-width:420px){.live-hero-topline{align-items:flex-start}.live-hero-status{padding:6px 9px}.live-hero-main{display:block}.live-hero-logo{margin-bottom:14px}.live-hero h1{max-width:none}.live-hero-facts{display:grid}}
@media(prefers-reduced-motion:reduce){.content{scroll-behavior:auto}.live-hero-cta,.sidebar .sb-item,#panel-home .schedule-item{transition:none!important}}
