.cup-hero,.cup-status,.cup-bracket>article,.club-album-page{border:1px solid #345950;border-radius:24px;padding:28px;background:linear-gradient(130deg,#17382e,#101d27)}
.cup-hero{display:flex;align-items:center;gap:32px}.cup-hero>div{flex:1}.cup-hero h1{font-size:clamp(30px,4vw,54px)}.cup-trophy{display:block;width:140px;height:210px;object-fit:contain;border-radius:12px;flex-shrink:0}.lower-cup{background-image:url('coupes-niveaux-v2.png');background-size:300% 100%;background-repeat:no-repeat;aspect-ratio:1.5/1;width:210px;height:140px}.cup-hero .cup-trophy{width:200px;height:300px}.cup-hero .lower-cup{width:300px;height:200px}.cup-level-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.cup-level-gallery article{display:flex;align-items:center;flex-direction:column;padding:18px;background:#11232a;border-radius:18px;gap:12px}.cup-level-gallery .cup-trophy{height:200px;width:100%;object-fit:contain}.cup-level-gallery .lower-cup{background-size:300% 100%;height:200px}.cup-level-gallery strong{color:#f2d48e}.cup-level-gallery small{color:#b6d0d9}.cup-status{margin:24px 0}.cup-status button{margin:12px 12px 0 0}.cup-versus{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.cup-bracket{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cup-bracket>article{padding:18px}.cup-pair{margin:12px 0;background:#0c1920;border-radius:10px;overflow:hidden}.cup-pair>span{display:flex;gap:8px;align-items:center;padding:10px;font-size:13px}.cup-pair svg{width:28px;height:34px;flex-shrink:0}.cup-pair .qualified{color:#4cf2b2;background:#19392b}.cup-pair .own{font-weight:700}.cup-entry{display:flex;gap:24px;align-items:center}.cup-entry>img{width:110px;height:165px;object-fit:contain;border-radius:12px}.cup-won{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0}.cup-palmares{display:flex;gap:16px;flex-wrap:wrap}.cup-palmares>span{display:flex;flex-direction:column;align-items:center}.cup-palmares .cup-trophy{width:110px;height:140px}
.card-autograph{position:absolute;z-index:4;top:43%;right:10%;color:#fff0b7;font:italic 17px 'Segoe Script',cursive;text-shadow:0 2px 3px #000;pointer-events:none;transform:rotate(-9deg)}.minicard .card-autograph{font-size:10px}.portrait-dialog{max-width:650px;width:min(90vw,650px);padding:18px;border:1px solid #678578;border-radius:24px;background:#0d2220;color:white}.portrait-dialog::backdrop{background:#000c}.portrait-dialog .portrait-large{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;border-radius:15px}.portrait-large .fiction-portrait{background-size:600% 400%}.portrait-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.portrait-dialog button{margin:10px 0}.club-album-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.club-album-grid>button,.club-silhouette{border:1px solid #345950;padding:6px;border-radius:14px;background:#0b1d23}.club-silhouette{display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:2/3;color:#92adb1;background:radial-gradient(ellipse at 50% 32%,#253c41 0 16%,transparent 17%),radial-gradient(ellipse at 50% 88%,#253c41 0 38%,#10252b 39%)}.club-silhouette span{margin-top:auto;padding:15px;font-size:12px}.club-album-page{margin:20px 0}.club-album-page header{display:flex;align-items:center;gap:16px;margin-bottom:20px}.club-album-page header svg{width:60px;height:75px}.club-album-page select{margin-left:auto;max-width:45%}.tv-score{display:inline-flex;gap:8px;align-items:center}.tv-score svg{width:22px;height:27px}.tv-score b{color:#f6d792}.synergy-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:8}.synergy-links line{stroke:#ffdd82;stroke-width:3;filter:drop-shadow(0 0 5px #f6c963)}.synergy-caption{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);background:#071e18ed;color:#f8dc99;padding:6px 12px;border-radius:10px;z-index:9;font-size:12px;pointer-events:none}.stadium-rain{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(105deg,transparent 0 27px,#d7efff18 28px 29px,transparent 30px 65px);z-index:0}.board{position:relative}.victory-team{padding:20px;background:linear-gradient(#103a32cc,#11242de6),url(stade-rivalia-soir.png) center/cover;border:1px solid #ba9751;border-radius:20px;margin:20px 0}.victory-team h3{text-align:center;color:#f3d48b}.victory-lineup{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.victory-player{position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:8px}.victory-lineup .fiction-portrait{background-size:600% 400%}
@media(max-width:800px){.cup-level-gallery{grid-template-columns:repeat(2,1fr)}.cup-bracket{grid-template-columns:1fr}.cup-hero{gap:12px;padding:18px}.cup-hero .cup-trophy{width:110px;height:165px}.cup-hero .lower-cup{width:140px;height:140px}.club-album-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.club-album-page{padding:12px}.tv-score{font-size:10px;gap:4px}.tv-score svg{display:none}}

.lower-cup{width:100px;height:200px;aspect-ratio:1/2}.cup-level-gallery .lower-cup{width:100px;height:200px}.cup-hero .lower-cup{width:150px;height:300px}

.profile-photo-trophies{display:flex;align-items:center;gap:12px;flex-shrink:0}.profile-earned-cups{display:flex;align-items:center;gap:4px}.profile-earned-cups .cup-trophy{width:38px;height:65px;border-radius:4px}.profile-earned-cups .lower-cup{width:32px;height:65px}.profile-trophy-setting{display:flex!important;gap:8px;align-items:center;margin:16px 0;font-size:13px}.profile-trophy-setting input{width:auto!important}.ultimate-lock{color:#f1d088}.modern-club-hero{flex-wrap:wrap}

svg.lower-cup{background:none;overflow:hidden}

#hand .card-autograph,.minicard .card-autograph{display:none}
@media(max-width:900px){.topbar{flex-wrap:wrap;gap:12px}.topright{flex-wrap:wrap;max-width:100%;min-width:0}.simple-help>div{right:0!important;max-width:calc(100vw - 32px)}}
