/* Page « Customs LoL » (/customs.html). S'appuie sur les couleurs et les boutons de style.css. */
.customs #app { max-width: 1100px; margin: 0 auto; padding: 0 16px 4rem; }
.ctop { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; font-weight: 500; }
.cback { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.cback:hover { color: var(--orange); }
.cme { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; }
.ctitle { margin: .2rem 0; font-size: clamp(2.6rem, 7vw, 4.4rem); }
.customs .lede { margin-bottom: 1.4rem; }
.ccard { background: var(--panel); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 1rem clamp(1rem, 3vw, 1.6rem) 1.2rem; margin-bottom: 1.6rem; }
.ccard.center { text-align: center; max-width: 520px; margin: 3rem auto; }
.ccard h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.chead { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.chead h2 { margin: 0; }
.chead input[type=search] { font: 500 1rem Rubik, sans-serif; color: #1E1512; background: #FFFDF6; border: 2px solid var(--ink); border-radius: 10px; padding: .45rem .7rem; min-width: 200px; }
.csub { color: var(--ink-soft); font-weight: 500; margin: .6rem 0 0; }
.cprof { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .4rem 1rem; align-items: end; }
.cprof .lolf { margin: 0; }
.cprof .btn { justify-self: start; }

/* Joueurs à cocher */
.cplayers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .5rem; }
.cp { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: .5rem; padding: .45rem .6rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: color-mix(in srgb, var(--ink) 4%, transparent); transition: border-color .15s, background .15s; }
.cp:hover { border-color: var(--orange); }
.cp.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 16%, var(--panel)); }
.cp input { width: 1.2rem; height: 1.2rem; accent-color: var(--orange); }
.cn { display: grid; min-width: 0; }
.cn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn small { color: var(--ink-soft); font-size: .78rem; }
.cav { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700; flex: none; border: 2px solid var(--ink); }
.cav img { width: 100%; height: 100%; object-fit: cover; }
.cav.guest { background: #8a7b66; }
.cp { position: relative; }
.cp.isguest { border-style: dashed; }
.cguesttag { font-style: normal; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #8a7b66; color: #fff; border-radius: 99px; padding: 0 .4rem; vertical-align: .1em; }
.cdel { position: absolute; top: -.5rem; right: -.5rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--ink); background: var(--panel); color: var(--ink); font-weight: 700; cursor: pointer; line-height: 1; display: grid; place-items: center; font-size: .75rem; }
.cdel:hover { background: var(--red); color: #fff; }
.cguest input[type=text] { font: 500 1rem Rubik, sans-serif; color: #1E1512; background: #FFFDF6; border: 2px solid #1E1512; border-radius: 10px; padding: .5rem .6rem; }
.crank { --t: #8a7b66; justify-self: end; white-space: nowrap; font-weight: 700; font-size: .8rem; padding: .1rem .55rem; border-radius: 99px; background: color-mix(in srgb, var(--t) 22%, var(--panel)); border: 2px solid var(--t); color: var(--ink); }
.cbar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.ccount { font-family: 'Bangers', sans-serif; font-size: 1.4rem; letter-spacing: .04em; color: var(--ink-soft); }
.ccount.ok { color: #1a9a62; }
.cchk { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.cbar #gen, .cbar #annC { margin-left: auto; }

/* Équipes */
.cgap { font-weight: 700; color: var(--ink-soft); }
.cteams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: start; }
@media (max-width: 760px) { .cteams { grid-template-columns: 1fr; } .cvs { justify-self: center; } }
.cvs { font-family: 'Bangers', sans-serif; font-size: 2.4rem; align-self: center; color: var(--ink-soft); }
.cteam { border: 3px solid var(--ink); border-radius: 14px; padding: .6rem .8rem; }
.cteam.blue { background: color-mix(in srgb, #2f7bff 14%, var(--panel)); }
.cteam.red { background: color-mix(in srgb, #ff3b3b 14%, var(--panel)); }
.cteam h3 { font-family: 'Bangers', sans-serif; font-weight: 400; letter-spacing: .04em; font-size: 1.6rem; margin: .2rem 0 .5rem; }
.cslot { display: grid; grid-template-columns: 6.2rem auto 1fr auto auto; align-items: center; gap: .45rem; padding: .35rem 0; border-top: 1px solid var(--line); }
.cslot b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crole { font-weight: 700; font-size: .85rem; }
.cslot small { font-size: .7rem; font-weight: 700; padding: 0 .4rem; border-radius: 99px; }
.cslot small.sec { background: #FFD34D; color: #1E1512; }
.cslot small.off { background: var(--red); color: #fff; }
.cavg { margin: .5rem 0 0; color: var(--ink-soft); }
.ctoast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: #1E1512; color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 200; font-weight: 500; box-shadow: 4px 4px 0 var(--orange); }
.ctoast.bad { box-shadow: 4px 4px 0 var(--red); }
