  :root{
    --navy-deep:#03326e;
    --navy-darker:#03306b;
    --blue:#065ed1;
    --grey:#333333;
    --white:#ffffff;
    --black:#000000;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  body{
    background:linear-gradient(rgba(0,4,16,.45),rgba(0,4,16,.45)), var(--navy-deep) url('fond/fond.png') center top / cover no-repeat fixed;
    font-family:'IBM Plex Sans Condensed',sans-serif;
    color:var(--white);
    -webkit-font-smoothing:antialiased;
  }
  .page{
    max-width:900px;
    margin:0 auto;
    padding:0 0 60px;
  }

  /* ---- LANG TOGGLE ---- */
  .lang-toggle{
    position:fixed;
    top:12px;
    right:12px;
    z-index:50;
    display:flex;
    background:rgba(0,0,0,.4);
    backdrop-filter:blur(4px);
    border-radius:20px;
    padding:3px;
    gap:2px;
  }
  .lang-toggle .lang-btn{
    border:none;
    background:transparent;
    color:var(--white);
    font-family:'IBM Plex Sans Condensed',sans-serif;
    font-weight:600;
    font-size:12px;
    letter-spacing:.5px;
    padding:6px 12px;
    border-radius:16px;
    cursor:pointer;
    transition:background .15s ease,color .15s ease;
  }
  .lang-toggle .lang-btn.active{
    background:var(--white);
    color:var(--navy-deep);
  }
  .lang-toggle .lang-btn:not(.active):hover{
    background:rgba(255,255,255,.15);
  }
  h1,h2,.display{
    font-family:'Anton',sans-serif;
    font-weight:400;
    text-transform:uppercase;
    letter-spacing:0.5px;
  }

  /* ---- HERO ---- */
  .hero{
    position:relative;
    padding:20px 14px 28px;
  }
  .hero-card{
    background:var(--white);
    padding:20px 16px;
  }
  .hero-title{
    color:var(--black);
    line-height:1;
  }
  .hero-title .line{
    display:flex;
    justify-content:space-between;
    width:100%;
  }
  .hero-title .line-top{
    font-size:clamp(22px,5.4vw,40px);
  }
  .hero-title .line-big{
    font-size:clamp(84px,19vw,150px);
    margin-top:4px;
  }
  .hero-title .line-big.line-big-de{
    font-size:clamp(52px,12vw,94px);
  }
  .hero-photo-wrap{
    margin-top:20px;
    height:clamp(260px,46vw,480px);
    background:radial-gradient(circle at 50% 20%, #2a5aa8 0%, #123a7a 55%, #04255a 100%);
    position:relative;
  }
  .hero-cutout{
    position:absolute;
    left:0;
    right:0;
    top:-14%;
    width:100%;
    height:114%;
    object-fit:cover;
    object-position:center top;
    z-index:5;
  }
  .matchcard{
    background:var(--black);
    margin-top:16px;
    display:grid;
    grid-template-columns:80px 1fr 80px;
    align-items:center;
    padding:16px 12px;
    gap:8px;
  }
  .matchcard .crest{
    width:64px;height:64px;
    display:flex;align-items:center;justify-content:center;
    justify-self:start;
  }
  .matchcard .crest img{
    max-width:100%;max-height:100%;
    object-fit:contain;
  }
  .matchcard .crest.right{justify-self:end;}
  .matchcard .center{text-align:center;}
  .matchcard .league{font-size:12px;letter-spacing:2px;color:#cfe0ff;margin-bottom:6px;}
  .matchcard .date{font-family:'Anton',sans-serif;font-size:18px;letter-spacing:1px;}
  .matchcard .time{font-size:13px;color:#cfe0ff;margin-top:2px;}

  /* ---- SECTION shells ---- */
  section{padding:32px 24px 8px;}
  .section-title{
    font-size:22px;
    letter-spacing:1px;
    margin-bottom:14px;
  }

  .team-toggle{
    display:flex;
    gap:10px;
    margin-bottom:18px;
    flex-wrap:wrap;
  }
  .team-toggle button{
    flex:1 0 140px;
    padding:10px 14px;
    border:none;
    border-radius:8px;
    font-family:'IBM Plex Sans Condensed',sans-serif;
    font-weight:600;
    font-size:14px;
    color:var(--white);
    cursor:pointer;
    transition:opacity .15s ease;
  }
  .team-toggle button.active{background:var(--blue);}
  .team-toggle button:not(.active){background:var(--grey);opacity:.85;}
  .team-toggle button:hover{opacity:1;}

  .group-label{
    font-size:16px;
    letter-spacing:.5px;
    margin:20px 0 10px;
    color:var(--white);
  }
  .group-label:first-of-type{margin-top:0;}

  .roster-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
    gap:14px;
  }
  .player-card{
    border-radius:3px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }
  .player-photo{
    position:relative;
    height:150px;
    overflow:hidden;
    background:
      linear-gradient(to bottom, rgba(3,48,107,0) 0%, rgba(6,93,208,0.75) 100%),
      radial-gradient(circle at 50% 25%, #3a6bc0 0%, #163f83 55%, #03306b 100%);
  }
  .player-img{
    position:absolute;inset:0;
    width:100%;height:100%;
    object-fit:cover;
    object-position:center 15%;
  }
  .player-number{
    position:absolute;top:6px;left:8px;
    font-family:'Anton',sans-serif;
    font-size:34px;
    line-height:1;
    text-shadow:0 2px 6px rgba(0,0,0,.4);
  }
  .player-flag{
    position:absolute;top:12px;right:8px;
    display:flex;align-items:center;gap:5px;
    background:linear-gradient(to right, rgba(255,255,255,.2), rgba(6,93,208,.8));
    padding:2px 8px 2px 4px;
    font-family:'Anton',sans-serif;
    font-size:11px;
  }
  .player-sponsor-badge{
    position:absolute;
    right:6px;
    bottom:6px;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--white);
    border-radius:4px;
    height:24px;
    max-width:64px;
    padding:3px 5px;
  }
  .player-sponsor-badge img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
  }
  .player-flag .dot{
    width:16px;height:11px;
    border:.5px solid var(--white);
    position:relative;
    overflow:hidden;
  }

  .dot.sui{background:#e4002b;}
  .dot.sui::before,.dot.sui::after{content:'';position:absolute;background:#fff;}
  .dot.sui::before{width:6px;height:1.6px;top:4.7px;left:5px;}
  .dot.sui::after{width:1.6px;height:6px;top:2.5px;left:7.2px;}

  .dot.usa{
    background:repeating-linear-gradient(to bottom, #b22234 0 1.2px, #fff 1.2px 2.4px);
  }
  .dot.usa::before{content:'';position:absolute;top:0;left:0;width:7px;height:6px;background:#3c3b6e;}

  .dot.swe{background:#006aa7;}
  .dot.swe::before{content:'';position:absolute;background:#fecc02;width:100%;height:2px;top:4.5px;left:0;}
  .dot.swe::after{content:'';position:absolute;background:#fecc02;width:3px;height:100%;top:0;left:5px;}

  .dot.fin{background:#fff;}
  .dot.fin::before{content:'';position:absolute;background:#002f6c;width:100%;height:2px;top:4.5px;left:0;}
  .dot.fin::after{content:'';position:absolute;background:#002f6c;width:3px;height:100%;top:0;left:5px;}

  .dot.can{
    background:linear-gradient(to right, #d52b1e 0 25%, #fff 25% 75%, #d52b1e 75% 100%);
  }
  .player-name{
    background:var(--blue);
    color:var(--white);
    font-family:'IBM Plex Sans Condensed',sans-serif;
    font-weight:400;
    text-transform:uppercase;
    font-size:11.5px;
    letter-spacing:.4px;
    line-height:1.15;
    padding:5px 10px;
  }
  .player-name .first{
    display:block;
  }
  .player-name .last{
    display:block;
    font-weight:700;
    word-break:break-word;
  }
  .player-sponsor{
    display:block;
    background:#021f47;
    padding:7px 8px 8px;
    text-decoration:none;
  }
  .player-sponsor .lbl{
    display:flex;align-items:center;justify-content:space-between;gap:6px;
    font-size:8.5px;letter-spacing:1.5px;text-transform:uppercase;
    color:#5c86c9;margin-bottom:5px;
  }
  .player-sponsor .go{
    font-size:11px;color:#5c86c9;flex-shrink:0;
    transition:transform .15s ease, color .15s ease;
  }
  .player-sponsor:hover .go{color:#fff;transform:translate(2px,-2px);}
  .player-sponsor:hover{background:#052a5c;}
  .player-sponsor:focus-visible{outline:2px solid #fff;outline-offset:-2px;}
  .sponsor-name{
    display:block;
    font-family:'IBM Plex Sans Condensed',sans-serif;
    font-weight:700;
    font-size:13px;
    color:var(--white);
    line-height:1.2;
  }

  .roster-list{
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  .roster-list-row{
    display:flex;
    align-items:center;
    gap:12px;
    background:var(--navy-deep);
    border-radius:3px;
    padding:8px 12px;
    font-size:14px;
  }
  .roster-list-row .rl-num{
    font-family:'Anton',sans-serif;
    font-size:16px;
    color:var(--blue);
    width:26px;
    flex-shrink:0;
    text-align:center;
  }
  .roster-list-row .rl-first{
    color:#cfe0ff;
  }
  .roster-list-row .rl-last{
    font-family:'IBM Plex Sans Condensed',sans-serif;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.4px;
    flex:1;
  }

  /* ---- LINEUP ---- */
  .lineup-block{text-align:center;margin-bottom:26px;}
  .lineup-tag{
    font-size:16px;
    color:var(--blue);
    text-shadow:0 3px 4px rgba(0,0,0,.25);
    margin-bottom:6px;
    letter-spacing:.5px;
  }
  .lineup-row{
    font-family:'Anton',sans-serif;
    font-size:18px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    line-height:1.4;
  }
  .lineup-row .num{color:var(--blue);}
  .lineup-row .sep{color:var(--white);opacity:.6;}

  /* ---- PUB ---- */
  #pub{padding:8px 24px;}
  .pub-image{
    display:block;
    width:100%;
    border-radius:6px;
  }

  /* ---- RANKING ---- */
  .ranking-head{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    letter-spacing:.5px;
    color:#cfe0ff;
    padding:0 4px 8px;
  }
  .ranking-head .head-pos{width:22px;text-align:center;flex-shrink:0;}
  .ranking-head .rank-bar-head{
    flex:1;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 14px;
  }
  .ranking-head .head-crest{width:32px;flex-shrink:0;}
  .ranking-head .rank-team{font-size:12px;font-weight:600;color:#cfe0ff;}
  .ranking-head .rank-stat,
  .ranking-head .rank-pts{font-size:12px;font-weight:600;color:#cfe0ff;}
  .rank-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
  }
  .rank-pos{
    font-family:'Anton',sans-serif;
    font-size:18px;
    width:22px;
    text-align:center;
  }
  .rank-bar{
    flex:1;
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    background:linear-gradient(to right, rgba(6,93,208,.8), rgba(3,47,106,.8));
    border-radius:3px;
    padding:8px 14px;
  }
  .rank-crest{
    width:32px;height:32px;
    flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
  }
  .rank-crest img{
    max-width:100%;max-height:100%;
    object-fit:contain;
  }
  .rank-team{
    flex:1;
    min-width:0;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .rank-stat{width:28px;text-align:center;font-size:14px;color:#dbe7ff;}
  .rank-pts{width:34px;text-align:center;font-size:14px;font-weight:700;}
  .rank-row.leader .rank-bar{background:linear-gradient(to right, rgba(255,255,255,.18), rgba(6,93,208,.9));}

  /* ---- TOPSCORER ---- */
  .topscorer-card{
    position:relative;
    background:linear-gradient(150deg,#0d478f 0%,#062f68 45%,#020e26 100%);
    border-radius:10px;
    overflow:hidden;
    padding:24px 22px;
    min-height:clamp(360px,80vw,480px);
  }
  .ts-name{
    font-family:'Anton',sans-serif;
    text-transform:uppercase;
    line-height:1.05;
    max-width:76%;
    margin-bottom:22px;
  }
  .ts-name .ts-first{
    display:block;
    font-size:clamp(20px,5.6vw,28px);
    margin-bottom:2px;
  }
  .ts-name .ts-last{
    display:block;
    font-size:clamp(32px,8.8vw,44px);
  }
  .ts-name .captain{
    display:inline-flex;align-items:center;justify-content:center;
    width:.5em;height:.5em;
    margin-left:8px;
    border-radius:50%;
    background:var(--blue);
    font-size:.42em;
    vertical-align:middle;
  }
  .ts-stats{
    display:flex;
    flex-direction:column;
    gap:12px;
    width:60%;
    position:relative;
    z-index:2;
  }
  .ts-stat{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:16px;
    background:linear-gradient(135deg, rgba(110,155,230,.9), rgba(15,55,125,.85));
    border-radius:10px;
    padding:12px 18px;
  }
  .ts-stat .ts-k,
  .ts-stat .ts-v{
    font-family:'Anton',sans-serif;
    font-size:clamp(18px,4.6vw,24px);
    color:var(--white);
  }
  .ts-stat .ts-k{
    min-width:2.2ch;
  }
  .ts-photo{
    position:absolute;
    right:2%;
    bottom:0;
    height:108%;
    z-index:3;
    pointer-events:none;
  }
  .ts-photo img{
    height:100%;
    width:auto;
    object-fit:contain;
    display:block;
  }
  .ts-side{
    position:absolute;
    top:24px;
    right:10px;
    writing-mode:vertical-rl;
    text-orientation:mixed;
    transform:rotate(180deg);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    z-index:4;
  }
  .ts-side .ts-side-main{
    font-family:'Anton',sans-serif;
    font-size:13px;
    letter-spacing:4px;
    color:var(--white);
  }
  .ts-side .ts-side-sponsor{
    font-family:'IBM Plex Sans Condensed',sans-serif;
    font-weight:600;
    font-size:11px;
    letter-spacing:3px;
    color:#8fb3e0;
    padding-bottom:14px;
    border-bottom:1px solid rgba(143,179,224,.5);
  }

  /* ---- PODIUM (top 3) ---- */
  .podium-row{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:14px;
  }
  .podium-card{
    display:flex;
    align-items:center;
    gap:14px;
    background:linear-gradient(150deg,#0d478f 0%,#062f68 55%,#020e26 100%);
    border-radius:10px;
    padding:12px 16px;
  }
  .podium-photo{
    width:84px;height:84px;
    flex-shrink:0;
    border-radius:8px;
    overflow:hidden;
    background:radial-gradient(circle at 50% 25%, #3a6bc0 0%, #163f83 55%, #03306b 100%);
  }
  .podium-photo img{
    width:100%;height:100%;
    object-fit:cover;
    object-position:center 15%;
    display:block;
  }
  .podium-info{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
  }
  .podium-rank{
    font-family:'Anton',sans-serif;
    font-size:13px;
    letter-spacing:1px;
    color:var(--blue);
  }
  .podium-name{
    font-family:'Anton',sans-serif;
    text-transform:uppercase;
    font-size:16px;
    letter-spacing:.3px;
  }
  .podium-name .captain{
    display:inline-flex;align-items:center;justify-content:center;
    width:16px;height:16px;
    margin-left:6px;
    border-radius:50%;
    background:var(--blue);
    font-size:10px;
    vertical-align:middle;
  }
  .podium-stats{
    display:flex;
    flex-wrap:wrap;
    gap:4px 10px;
    font-size:12px;
    color:#cfe0ff;
  }
  .podium-stats b{
    font-family:'Anton',sans-serif;
    font-weight:400;
    color:#8fb3e0;
    margin-right:3px;
  }
  .podium-stats .pts{color:var(--white);font-weight:700;}
  .podium-stats .pts b{color:var(--blue);}

  /* ---- FANSHOP ---- */
  #fanshop{padding-top:56px;}
  .fanshop-card{
    position:relative;
    overflow:hidden;
    background:
      linear-gradient(150deg, rgba(13,71,143,.45) 0%, rgba(6,47,104,.5) 55%, rgba(2,14,38,.6) 100%),
      url('img/maillots.jpg') center/cover no-repeat;
    border-radius:10px;
    padding:32px 24px;
    text-align:center;
  }
  .fanshop-tag{
    display:inline-block;
    font-size:11px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#8fb3e0;
    background:rgba(255,255,255,.08);
    border-radius:20px;
    padding:5px 14px;
    margin-bottom:14px;
  }
  .fanshop-title{
    font-family:'Anton',sans-serif;
    text-transform:uppercase;
    font-size:clamp(26px,7vw,36px);
    line-height:1.1;
    margin-bottom:12px;
  }
  .fanshop-text{
    font-size:14px;
    color:#cfe0ff;
    max-width:420px;
    margin:0 auto 22px;
    line-height:1.5;
  }
  .fanshop-cta{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--white);
    color:var(--navy-deep);
    font-weight:600;
    font-size:14px;
    text-decoration:none;
    padding:12px 22px;
    border-radius:6px;
    transition:transform .15s ease, background .15s ease;
  }
  .fanshop-cta .go{transition:transform .15s ease;}
  .fanshop-cta:hover{background:#e8f0ff;}
  .fanshop-cta:hover .go{transform:translate(2px,-2px);}

  footer{
    text-align:center;
    padding:28px 24px 0;
    font-size:12px;
    color:#7fa3d9;
  }
  .footer-logo{
    width:56px;
    height:56px;
    object-fit:contain;
    margin:0 auto 14px;
    display:block;
  }
  .footer-slogan{
    font-family:'Anton',sans-serif;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:15px;
    color:var(--white);
    margin-bottom:10px;
  }

  @media (max-width:480px){
    .matchcard{grid-template-columns:56px 1fr 56px;}
    .matchcard .crest{width:48px;height:48px;}
    section{padding:26px 16px 4px;}
    .hero{padding:28px 16px 24px;}
    .ts-name{max-width:64%;}
    .ts-stats{width:66%;}
  }
