/* FutFriend site — the parts added after the design: the setup guide's screenshots,
   Record your matches, and the two forms. Same tokens and surfaces as site.css. */

@media (max-width:480px){.hdr-cta{display:none}}

/* download buttons before the installers are out */
.js-dl.soon{cursor:pointer}

/* the guide shows each screenshot whole, whatever its shape */
.g-shot{aspect-ratio:auto;background:none;box-shadow:none}
.g-shot img{display:block;width:100%;height:auto;object-fit:contain;border-radius:var(--r-card);box-shadow:inset 0 0 0 1px var(--glass-line),0 24px 50px -28px rgba(0,0,0,.8)}

/* Record your matches */
.rec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.rec-card{padding:28px 28px 30px}
.rec-n{font:600 12px var(--font-mono);color:var(--mut);letter-spacing:.06em}
.rec-card h3{margin:10px 0 16px;font-size:20px;line-height:1.25;font-weight:650;letter-spacing:-.01em}
.rec-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:11px;color:var(--ink2);font-size:15px;line-height:1.55}
.rec-list li::marker{color:var(--mut);font-weight:600}
.rec-btn{margin-top:22px}
.rec-note{margin:14px 0 0;font-size:13px;line-height:1.5;color:var(--mut)}
@media (max-width:980px){.rec-grid{grid-template-columns:1fr}}

/* feedback + bug report */
.fb-box{padding:32px;max-width:860px}
.fb-tabs{margin-bottom:26px}
.fb-tabs button{padding:0 16px}
.ff-form{display:flex;flex-direction:column;gap:16px}
.f-row.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.f{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;color:var(--ink)}
.f em{font-style:normal;font-weight:500;color:var(--mut)}
.f input,.f select,.f textarea{box-sizing:border-box;width:100%;font:inherit;font-size:15px;font-weight:400;color:var(--ink);background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:11px 13px;outline:none;transition:border-color .15s,box-shadow .15s}
.f textarea{resize:vertical;min-height:96px;line-height:1.5}
.f input::placeholder,.f textarea::placeholder{color:rgba(255,255,255,.34)}
.f input:hover,.f select:hover,.f textarea:hover{border-color:rgba(255,255,255,.22)}
.f input:focus,.f select:focus,.f textarea:focus{border-color:rgba(255,255,255,.45);box-shadow:0 0 0 3px rgba(255,255,255,.08)}
.f select{appearance:none;-webkit-appearance:none;padding-right:38px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.f select option{background:#17191d;color:#f3f4f6}
.f-file input{padding:9px 11px;cursor:pointer}
.f-file input::file-selector-button{margin-right:12px;height:30px;padding:0 14px;border:0;border-radius:999px;background:rgba(255,255,255,.11);color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.f.err input,.f.err select,.f.err textarea{border-color:var(--coral-line);box-shadow:0 0 0 3px var(--coral-soft)}
.f-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.f-end{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:6px}
.f-msg{margin:0;font-size:14px;color:var(--ink2)}
.f-msg.ok{color:var(--go)}
.f-msg.bad{color:var(--coral-text)}
@media (max-width:640px){.fb-box{padding:22px}.f-row.two{grid-template-columns:minmax(0,1fr)}}

/* five mode cards: Kick Off, Squad Battles, Draft, Trading, Hybrid (soon, greyed) */
.mcards.five{grid-template-columns:1.25fr repeat(4,minmax(0,1fr))}
.mcard.soon{opacity:.5;filter:saturate(.5)}
.win-seg .soon{opacity:.4}
@media (max-width:1240px){.mcards.five{grid-template-columns:repeat(3,minmax(0,1fr))}.mcards.five .mcard.live{grid-column:span 3;min-height:300px}}
@media (max-width:860px){.mcards.five{grid-template-columns:1fr 1fr}.mcards.five .mcard.live{grid-column:span 2}}
@media (max-width:640px){.mcards.five{grid-template-columns:1fr}.mcards.five .mcard.live{grid-column:auto}}

/* Safe by design */
.safe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.safe-card{padding:26px 24px 28px}
.safe-mark{display:block;width:26px;height:26px;border-radius:50%;background:linear-gradient(180deg,var(--gold-1),var(--gold-3));box-shadow:0 6px 16px -8px rgba(230,192,103,.6)}
.safe-mark::after{content:"";display:block;width:9px;height:5px;margin:8px 0 0 8px;border:solid var(--card-ink);border-width:0 0 2.4px 2.4px;transform:rotate(-45deg)}
.safe-card h3{margin:16px 0 10px;font-size:18px;line-height:1.3;font-weight:650;letter-spacing:-.01em}
.safe-card p{margin:0;font-size:15px;line-height:1.55;color:var(--ink2)}
@media (max-width:1100px){.safe-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.safe-grid{grid-template-columns:1fr}}

/* mode cards with their own clip (not the Kick Off pitch picture underneath) */
.mpitch.alt{background:#0d0e11;opacity:.95}
/* "It sees" legend in the colours the clip draws: lime corners for the bot's team, coral boxes for the CPU */
.pb-chip .lg.us{background:linear-gradient(var(--lime-classic),var(--lime-classic)) 0 0/4px 1.5px no-repeat,linear-gradient(var(--lime-classic),var(--lime-classic)) 0 0/1.5px 4px no-repeat,linear-gradient(var(--lime-classic),var(--lime-classic)) 100% 100%/4px 1.5px no-repeat,linear-gradient(var(--lime-classic),var(--lime-classic)) 100% 100%/1.5px 4px no-repeat}
.pb-chip .lg.them{box-shadow:inset 0 0 0 1.5px var(--coral)}

/* the download column: switch, download button, note and guide button share one width and one centre line */
#download .dl-act{align-items:stretch;width:340px;max-width:100%;gap:12px}
#download .dl-act .seg{display:grid;width:100%}
#download .dl-act .pill{width:100%;justify-content:center}
#download .dl-file{justify-content:center;text-align:center;margin:2px 0}
.guide-btn{gap:10px}
.guide-btn .chev{transition:transform .25s cubic-bezier(.3,.8,.25,1)}
.guide-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
@media (max-width:860px){#download .dl-act{width:100%}}

/* four mode cards: Squad Battles leads, then Draft, Trading, Hybrid (soon) */
.mcards.four{grid-template-columns:1.3fr 1fr 1fr 1fr}
@media (max-width:1100px){.mcards.four{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.mcards.four{grid-template-columns:1fr}}


/* header menu for screens where the section links don't fit: a button and a drop-down list */
.hdr-menu{display:none;width:44px;height:44px;border:0;border-radius:12px;background:transparent;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#fff}
.hdr-menu span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s cubic-bezier(.3,.8,.25,1),opacity .2s}
.hdr-menu:hover{background:var(--glass)}
.hdr.menu-open .hdr-menu span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hdr.menu-open .hdr-menu span:nth-child(2){opacity:0}
.hdr.menu-open .hdr-menu span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:1100px){
  .hdr-menu{display:flex;margin-left:auto;order:3}
  .hdr-end{margin-left:0;order:2}
  .hdr-in{position:relative}
  .hdr.menu-open{background:var(--hdr-bg);-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4)}
  .hdr.menu-open .hdr-nav{display:flex;flex-direction:column;gap:2px;position:absolute;top:64px;left:0;right:0;margin:0;padding:10px;border-radius:20px;background:var(--chrome-sheet);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:var(--shadow-sheet),0 30px 60px -20px rgba(0,0,0,.7)}
  .hdr.menu-open .hdr-nav a{padding:14px 16px;border-radius:12px;font-size:17px;font-weight:600;color:#fff}
  .hdr.menu-open .hdr-nav a:active{background:var(--glass)}
}
@media (max-width:640px){
  .hdr-in{justify-content:center}
  .hdr-end{display:none}
  .hdr-menu{position:absolute;right:0;top:10px;margin:0}
}


/* Rush card (06.10): a real Rush clip, blurred outside the pitch and over every name (no gamertags), five cards in the row */
.mcards.five.rush5{grid-template-columns:1.25fr repeat(4,minmax(0,1fr))}
@media (max-width:1240px){.mcards.five.rush5{grid-template-columns:1fr 1fr}.mcards.five.rush5 > .mcard:first-child{grid-column:1 / -1}}
@media (max-width:640px){.mcards.five.rush5{grid-template-columns:1fr}.mcards.five.rush5 > .mcard:first-child{grid-column:auto}}
.mpitch.rush .rchip{z-index:2}
.rchip{position:absolute;height:26px;padding:0 10px;border-radius:999px;display:flex;align-items:center;font-size:12px;font-weight:650;letter-spacing:.01em;background:rgba(10,11,14,.72);box-shadow:inset 0 0 0 1px var(--glass-line);color:var(--ink);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.rchip.r1{top:16px;left:16px}
.rchip.r2{top:16px;right:16px;color:#c4f653;box-shadow:inset 0 0 0 1px rgba(196,246,83,.35)}
.soonp.newp{background:rgba(196,246,83,.12);color:#c4f653;box-shadow:inset 0 0 0 1px rgba(196,246,83,.35)}

/* phones (scenes in their finished state): every step and point shows, and the 3D "Take it apart" scene, which needs
   a wide screen, is left out */
.static .su-steps li{display:block;opacity:1}
.static .su-steps li + li{margin-top:14px}
.static .su-steps::after{height:calc(100% - 12px)}
.static .ph-pts li{display:flex;opacity:1;box-shadow:inset 2px 0 0 #fff}
@media (max-width:859px){#apart{display:none}}

/* early-beta note at the download: amber, impossible to miss */
.dl-warn{display:flex;gap:16px;align-items:flex-start;margin-top:28px;padding:18px 20px;border-radius:16px;background:var(--amber-soft);box-shadow:inset 0 0 0 1px var(--amber-line)}
.dl-warn-i{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:#1a1205;font-weight:800;font-size:17px}
.dl-warn b{display:block;font-size:16px;font-weight:700;color:#fff;margin-bottom:4px}
.dl-warn p{margin:0;font-size:15px;line-height:1.55;color:var(--ink2)}
.dl-warn a{color:var(--amber);font-weight:650;text-decoration:underline;text-underline-offset:3px}
