:root{--ink:#12151a;--muted:#68707a;--bg:#f4f6f8;--green:#168f5b;--purple:#6c3fd1}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.shell{max-width:720px;margin:auto;padding:56px 18px 44px}.header{margin-bottom:26px}.header h1{font-size:32px;letter-spacing:-.8px;margin:0;font-weight:850}.header p{margin:4px 0 0;color:var(--muted)}
.card{background:#fff;border-radius:22px;padding:20px;margin-bottom:15px}.card h2{margin:0 0 8px;font-size:21px}.step{width:32px;height:32px;border-radius:50%;background:var(--ink);color:white;display:grid;place-items:center;font-weight:800;margin-bottom:12px}
.muted{color:var(--muted);line-height:1.45}.small{font-size:13px}label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin:18px 0 7px}
input{width:100%;height:58px;border:1px solid #dfe3e7;border-radius:15px;background:#f7f8fa;padding:0 16px;font-size:17px;outline:none;margin-bottom:12px}
button{width:100%;min-height:58px;border:0;border-radius:16px;background:var(--ink);color:#fff;font-size:16px;font-weight:800;cursor:pointer}button:disabled{opacity:.65}
.hidden{display:none!important}.error{color:#a52828;font-size:13px;line-height:1.45}.success,.pill{display:inline-block;background:#e5f8ed;color:#187a45;border-radius:20px;padding:7px 12px;font-weight:800;font-size:13px}.result>h2{font-size:24px;margin-top:14px;margin-bottom:0}
.divider{height:1px;background:#e8eaed;margin:18px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stats>div{background:#f4f6f8;border-radius:14px;padding:12px}.stats span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.stats strong{font-size:16px}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.section-head h2{margin:0}
.pitch{height:510px;background:var(--green);border-radius:20px;border:2px solid white;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-around;padding:22px 2px}
.pitch-row,.bench-row{display:flex;justify-content:space-evenly;align-items:center;width:100%;position:relative;z-index:3}.player-mini{width:62px;text-align:center;position:relative}.shirt{width:38px;height:42px;border-radius:7px;background:#fff;border:2px solid #e3e6e8;margin:auto;display:grid;place-items:center;font-size:8px;font-weight:900;position:relative}
.shirt:before,.shirt:after{content:"";position:absolute;width:11px;height:17px;top:4px;border-radius:4px;background:#fff}.shirt:before{left:-8px}.shirt:after{right:-8px}.cv{position:absolute;right:-11px;top:-10px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:900;z-index:4}.cap{background:#12151a;color:white;border:2px solid white}.vice{background:white;color:#12151a;border:2px solid #12151a}
.mini-name{margin-top:4px;background:#fff;padding:4px 2px;border-radius:5px 5px 0 0;font-size:9px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fixture{color:#fff;padding:3px 4px;border-radius:0 0 5px 5px;font-size:8px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.halfway{position:absolute;top:50%;left:0;right:0;height:1px;background:#ffffff8c}.circle{position:absolute;top:50%;left:50%;width:82px;height:82px;margin:-41px;border:1px solid #ffffff8c;border-radius:50%}.penalty{position:absolute;left:27%;width:46%;height:55px;border:1px solid #ffffff8c}.penalty.top{top:-1px}.penalty.bottom{bottom:-1px}
.bench{background:#eef1f3;margin-top:10px;padding:14px 2px;border-radius:16px}.bench-title{font-size:10px;font-weight:900;letter-spacing:1px;color:#777f88;margin:0 0 14px 12px}
.ai-preview{display:flex;gap:12px;align-items:center;margin-top:20px;padding:15px;background:#f4efff;border-radius:16px;color:#332066}.ai-preview p{margin:3px 0 0;color:#63557d;font-size:12px;line-height:1.4}.ai-icon{width:42px;height:42px;border-radius:14px;background:var(--purple);color:white;display:grid;place-items:center;font-weight:900;font-size:12px;flex:none}.ai-btn{background:var(--purple);margin-top:10px}.ai-result{white-space:pre-wrap;margin-top:14px;background:#f7f4ff;color:#332066;border-radius:16px;padding:16px;line-height:1.55;font-size:14px}
.group-title{font-size:11px;font-weight:800;color:#969da5;letter-spacing:1px;margin:24px 0 8px}.player-card{background:#f7f8fa;border-radius:15px;padding:13px;margin-bottom:9px}.player-top{display:flex;justify-content:space-between;gap:10px}.player-name{font-weight:800}.club{font-size:12px;color:#777f88;margin-top:3px}.price{font-weight:800;font-size:14px}.player-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:12px}.player-stats>div{padding:0 6px;border-right:1px solid #e2e4e7}.player-stats>div:last-child{border:0}.player-stats span{display:block;font-size:10px;color:#888f97}.player-stats strong{font-size:13px}.player-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:11px}.status{border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800}.news{color:#a52828;font-size:11px;line-height:1.45}.fixtures{display:flex;overflow:auto;gap:6px;border-top:1px solid #e2e4e7;margin-top:12px;padding-top:10px}.fix{min-width:54px;background:white;border-radius:9px;padding:7px;text-align:center;font-size:9px}.fix strong{display:block;font-size:11px}.diff{display:inline-block;color:white;border-radius:10px;padding:2px 6px;margin-top:4px;font-weight:800}
.info{background:#e9f8ef;color:#174b31;border-radius:20px;padding:18px}.info p{color:#326149;line-height:1.45;margin-bottom:0}footer{text-align:center;color:#969da5;margin-top:28px;font-size:13px}
@media(max-width:390px){.shell{padding-left:12px;padding-right:12px}.card{padding:16px}.pitch{height:500px}.player-mini{width:58px}.stats{gap:5px}.stats>div{padding:10px 8px}}