/* La Familia del Gol — v3: wyłącznie menu telefonu, poprawa ikon i mobile.
   Nie zmieniamy oryginalnych sekcji, karuzel 3D ani ich skryptów. */
.desktop-nav {display:none!important}
.site-header .header-inner {justify-content:space-between;gap:12px;min-width:0}
.site-header .brand {min-width:0;max-width:calc(100% - 92px)}
.site-header .brand>span {min-width:0}
.site-header .brand strong {white-space:normal;line-height:1.08}
.site-header .menu-toggle {margin-left:auto;touch-action:manipulation;min-width:65px;min-height:48px}
.phone-shell {visibility:hidden;pointer-events:none;transition:transform .38s cubic-bezier(.2,.75,.2,1),visibility .38s}
.menu-open .phone-shell {visibility:visible;pointer-events:auto}
.deck-key {touch-action:manipulation;border-color:rgba(240,196,89,.63);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 7px 15px rgba(0,0,0,.45)}
.deck-key .ico {width:39px;height:39px;stroke:#F8C85A;stroke-width:2.25;filter:drop-shadow(0 0 5px rgba(255,187,39,.32));flex:none}
.deck-key span {color:#FAFAF8;text-shadow:0 1px 2px #000;font-size:10px;line-height:1.35;font-weight:900}
.deck-key:hover,.deck-key:focus-visible,.deck-key[aria-current=page]{border-color:#FFE18B;background:linear-gradient(135deg,#29220f,#080809 75%);box-shadow:inset 0 1px 0 rgba(255,233,168,.16),0 0 0 1px rgba(240,196,89,.2),0 0 21px rgba(221,179,72,.2)}
.phone-socials {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;margin:20px auto 7px}
.phone-socials a {width:100%;min-width:0;height:41px;border-color:rgba(229,184,71,.47);background:#0C0D0F;transition:border-color .2s,background .2s}
.phone-socials a:hover,.phone-socials a:focus-visible{border-color:#FFD579;background:#201B11}
.phone-socials img {width:23px!important;height:23px!important;display:block;opacity:1!important;filter:drop-shadow(0 0 2px rgba(255,255,255,.18))}
.phone-close {min-width:36px;min-height:36px;display:grid;place-items:center;top:24px;right:15px}
.footer-end-links {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 22px}
.footer-author {color:#C8B690;white-space:normal}
.footer-author strong {color:#E9C666;font-weight:800}
html,body {max-width:100%;overflow-x:clip}
#content {min-width:0}
img,video,iframe {max-width:100%}
@media(max-width:700px){
  .header-inner {min-height:69px}
  .site-header .brand strong {font-size:clamp(10px,3.3vw,15px)}
  .site-header .brand small {font-size:clamp(5px,1.6vw,7px);letter-spacing:.07em;line-height:1.4;display:block;margin-top:3px}
  .site-header .brand img {width:45px;height:45px}
  .phone-shell {width:calc(100vw - 12px);max-width:360px;right:6px;height:calc(100dvh - 12px);max-height:780px;border-width:6px;border-radius:35px}
  .phone-content {padding:51px 12px 38px;overscroll-behavior:contain}
  .phone-head {padding-bottom:18px}
  .phone-head img {width:60px;height:60px}
  .phone-head strong {font-size:clamp(15px,4.4vw,19px)}
  .phone-head>span {font-size:7px;letter-spacing:.10em}
  .deck-grid {gap:8px}
  .deck-key {min-height:99px;padding:9px 3px;gap:9px}
  .deck-key .ico {width:36px;height:36px}
  .deck-key span {font-size:clamp(8px,2.35vw,10px)}
  .phone-socials {gap:6px;margin-top:17px}
  .phone-socials a {height:38px}
  .phone-socials img {width:21px!important;height:21px!important}
  .footer-bottom,.footer-end-links {align-items:flex-start;flex-direction:column;gap:12px}
  .footer-main {gap:22px}
  .lfdgTeamStage,.lfdgTeamTrack,.lfdgComGrid,.lfdgCoopGrid {max-width:100%}
}
@media(max-width:370px){
  .phone-shell{width:calc(100vw - 8px);right:4px;border-width:5px;border-radius:30px}
  .phone-content{padding:47px 10px 34px}
  .phone-head img{width:54px;height:54px}
  .phone-head{padding-bottom:13px}
  .deck-key{min-height:87px;gap:7px;padding:8px 3px}
  .deck-key .ico{width:32px;height:32px}
  .phone-socials a{height:35px}
  .footer-bottom {font-size:11px}
}
@media(max-height:680px){
  .phone-content {padding-top:39px}
  .phone-head img {width:48px;height:48px}
  .phone-head {padding-bottom:11px}
  .deck-key {min-height:80px;gap:6px;padding:7px 2px}
  .deck-key .ico {width:30px;height:30px}
  .phone-socials {margin-top:12px}
  .home-indicator {bottom:6px;height:4px}
}
@media(prefers-reduced-motion:reduce){.phone-shell{transition:none!important}.deck-key{transition:none!important}}

/* Dodatkowe zabezpieczenia dla ekranów 320–360 px; zachowujemy oryginalny układ. */
@media(max-width:360px){
  .lfdgTitle,.lfdgComTitle,.lfdgComBookingTitle,.lfdgCoopTitle,.lfdgContactTitle,.lfdgTeamHeadline,.lfdgManifestTitle {font-size:clamp(30px,9vw,38px)!important;letter-spacing:-.045em!important;overflow-wrap:break-word}
  .lfdgCoopCardTitle {font-size:clamp(26px,8vw,35px)!important}
  .lfdgComName {font-size:26px!important}
  .lfdgComWrap,.lfdgCoopWrap,.lfdgContactWrap,.lfdgWrap {max-width:calc(100% - 22px)}
}

/* Unconditional last defense + brighter phone socials */
html body .site-header .desktop-nav,html body .site-header .header-inner>nav{display:none!important}
.phone-socials a img[src*="tiktok"], .phone-socials a img[src*="/x.svg"] {filter:brightness(0) invert(1)!important;opacity:1!important}
.phone-socials a:focus-visible{outline:2px solid #FFE18B;outline-offset:2px}
@media (min-width:1251px){.header-inner{justify-content:space-between!important}.header-inner .menu-toggle{margin-left:auto}}

/* LFDG V6 — delikatny link do bezpiecznego logowania w najniższej stopce. */
.footer-end-links .footer-admin-link{display:inline-flex;align-items:center;gap:7px;color:#CDBB90!important;border:1px solid rgba(221,179,72,.30);background:rgba(221,179,72,.04);text-decoration:none;padding:9px 12px;border-radius:5px;min-height:40px;white-space:nowrap;font-size:11px;transition:border-color .2s,color .2s,background .2s}
.footer-end-links .footer-admin-link:hover,.footer-end-links .footer-admin-link:focus-visible{color:#F3D77C!important;border-color:#DDB348;background:rgba(221,179,72,.12)}
.footer-end-links .footer-admin-link:focus-visible{outline:2px solid #F3D77C;outline-offset:3px}
.footer-admin-link .footer-lock{width:16px;height:16px;color:#DDB348;flex:none}
@media(max-width:700px){.footer-end-links .footer-admin-link{padding:12px 14px;min-height:44px;font-size:12px}.footer-end-links{width:100%}}
