.amgfan-page{--fan-bg:#071e2d;--fan-line:#244453;--fan-accent:#64e3f2;max-width:1200px;margin:32px auto 60px;padding:24px;color:#edf7fc}.amgfan-page a,.amgfan-links a{color:#72e6f6;text-decoration:none}.amgfan-page h1{font-size:clamp(2rem,5vw,3.8rem);line-height:1.08;letter-spacing:-.04em;margin:16px 0}.amgfan-page h2{font-size:1.5rem;margin:28px 0 16px}.amgfan-hero,.amgfan-panel{border:1px solid var(--fan-line);border-radius:24px;background:linear-gradient(125deg,#123d50,#071e2d 70%);padding:30px;margin-bottom:24px}.amgfan-hero>p{color:#b7cfde;max-width:75ch;line-height:1.7}.amgfan-kicker{color:#64e3f2!important;font-size:11px!important;font-weight:850;letter-spacing:.2em;margin:0 0 8px}.amgfan-pill{display:inline-block;border:1px solid #39616e;border-radius:50px;padding:7px 12px;font-size:12px;white-space:nowrap;color:#b7dae8}.amgfan-stats{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.amgfan-stat{flex:1;min-width:120px;background:#ffffff08;border:1px solid #ffffff12;border-radius:16px;padding:16px}.amgfan-stat strong{font-size:30px;display:block}.amgfan-stat small{color:#b2cdda}.amgfan-links{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.amgfan-links a{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #315361;border-radius:12px;background:#0e2d3e;font-weight:700;font-size:13px}.amgfan-links img{width:28px;height:28px;object-fit:contain}.amgfan-team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}.amgfan-team{display:flex;gap:14px;align-items:center;padding:18px;border:1px solid #294958;border-radius:18px;background:#0b2637}.amgfan-team img{width:52px;height:52px;object-fit:contain}.amgfan-team strong{display:block;font-size:16px}.amgfan-team small{display:block;color:#a5c6d6;font-size:12px;margin-top:5px}.amgfan-team[hidden]{display:none}.amgfan-page input[type=search]{width:100%;border:1px solid #416573;border-radius:14px;padding:15px;background:#061e2d;color:#fff;font-size:16px;margin-bottom:20px}.amgfan-match-list{display:grid;gap:10px}.amgfan-match-item{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center;border:1px solid #294958;background:#0a2535;border-radius:16px;padding:16px;color:#eaf5fc!important}.amgfan-match-item time{font-size:12px;color:#abcbd9}.amgfan-match-item small{display:block;color:#99bbc9;font-size:11px;margin-top:5px}.amgfan-score-badge{font-size:23px;white-space:nowrap;letter-spacing:.05em;font-variant-numeric:tabular-nums}.amgfan-table-wrap{overflow-x:auto;border-radius:16px;border:1px solid #31515f}.amgfan-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.amgfan-table th,.amgfan-table td{padding:18px 14px;border-bottom:1px solid #284858;text-align:left;white-space:nowrap}.amgfan-table th{color:#a4c4d3;font-size:12px;background:#0b2a3c}.amgfan-table tbody tr:first-child{background:#41d8ed0c}.amgfan-meter{display:block;width:90px;height:5px;background:#274654;border-radius:9px;margin-top:7px}.amgfan-meter i{height:100%;display:block;background:#65dfed;border-radius:9px}.amgfan-caption,.amgfan-phase-note{color:#b4cfdb!important;font-size:12px!important;line-height:1.65}.amgfan-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.amgfan-tabs button,.amgfan-actions button,.amgfan-dialog-head button{font:inherit;border:1px solid #416270;background:#0a293b;color:#e8f7fd;border-radius:12px;padding:11px 15px;cursor:pointer;font-size:13px;font-weight:700}.amgfan-tabs button[aria-pressed=true]{background:#63e1f0;color:#082836;border-color:#63e1f0}.amgfan-tabs button small{font-size:11px;opacity:.8;margin-left:6px}.amgfan-field{max-width:600px;margin:18px auto;background:#164840;border:1px solid #385f58;border-radius:20px;overflow:hidden}.amgfan-field svg{width:100%;height:auto;display:block}.amgfan-player{transition:transform .85s cubic-bezier(.2,.65,.25,1)}.amgfan-player-name{paint-order:stroke;stroke:#103a35;stroke-width:5;stroke-linejoin:round}.amgfan-tactics{margin-bottom:24px}.amgfan-interact{margin:24px 0;background:radial-gradient(ellipse at top right,#14566b55,transparent 70%),#081f30}.amgfan-interact-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.amgfan-interact h2{font-size:clamp(24px,4vw,34px);margin:4px 0 10px;line-height:1.2}.amgfan-interact-head p{font-size:14px;color:#b8d4df;line-height:1.65}.amgfan-score-inputs{display:flex;justify-content:center;align-items:center;gap:24px;margin:30px auto}.amgfan-score-inputs label{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;font-size:13px;font-weight:750;max-width:42%}.amgfan-score-inputs input{width:96px!important;max-width:100%;height:96px;border:1px solid #4a7a8c;border-radius:20px;color:#fff;background:#ffffff09;font-size:46px;font-weight:900;text-align:center;padding:8px}.amgfan-score-inputs>span{font-size:38px;color:#58dbed;padding-top:28px}.amgfan-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.amgfan-actions .amgfan-primary{background:#62e0ee;color:#06293a;border-color:#62e0ee}.amgfan-actions button:disabled{opacity:.5;cursor:default}.amgfan-interact button:focus-visible,.amgfan-tabs button:focus-visible,.amgfan-page a:focus-visible,.amgfan-interact select:focus-visible{outline:3px solid #fbc26e;outline-offset:3px}.amgfan-message{font-size:13px;color:#c3e5ef;min-height:22px}.amgfan-totals{padding-top:18px;border-top:1px solid #294956;margin-top:20px}.amgfan-totals p{font-size:13px;font-weight:700}.amgfan-bars{display:flex;height:9px;border-radius:20px;overflow:hidden;gap:3px;margin:12px 0}.amgfan-bars span{width:33.333%;transition:width .35s;background:#57e1ef}.amgfan-bars span:nth-child(2){background:#93aabe}.amgfan-bars span:nth-child(3){background:#ffbb72}.amgfan-distribution{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#b2d0df}.amgfan-privacy{display:block;font-size:11px;color:#88afc0;line-height:1.7;margin-top:20px}.amgfan-share-dialog{border:1px solid #406273;border-radius:24px;background:#0a2434;color:#eef8ff;max-width:860px;width:calc(100% - 28px);padding:24px;max-height:90dvh;overflow:auto}.amgfan-share-dialog::backdrop{background:#00121bcc;backdrop-filter:blur(6px)}.amgfan-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.amgfan-dialog-head h2{font-size:23px;line-height:1.3}.amgfan-share-dialog label{display:block;font-size:13px;margin:18px 0}.amgfan-share-dialog select{display:block;border:1px solid #496b7a;border-radius:10px;background:#0b3044;color:#fff;padding:12px;width:100%;font-size:15px;margin-top:8px}.amgfan-share-dialog canvas{width:100%;height:auto;border:1px solid #315767;border-radius:16px;display:block}.amgfan-share-status{font-size:12px;color:#b9d4e1;overflow-wrap:anywhere}.amgfan-inline-nav{max-width:1100px;margin:20px auto;padding:0 20px}.amgfan-team-title{display:flex;align-items:center;gap:24px}.amgfan-team-title img{width:88px;height:88px;object-fit:contain}.amgfan-sport{font-size:11px;color:#9cbfce;display:inline-block}.amgfan-empty{border:1px dashed #41606e;padding:24px;border-radius:16px;color:#b3d0dd}.amgfan-page details{margin:20px 0}.amgfan-page summary{cursor:pointer;font-weight:750}.amgfan-page details p{font-size:13px;color:#b5ccd8;line-height:1.7}.amgfan-result-summary{max-width:1100px;margin:15px auto;padding:0 20px}.amgfan-result-summary strong{color:#e9f8fc}.amgfan-result-summary p{border:1px solid #355365;border-radius:14px;padding:14px;background:#0b2c3f;color:#b7d7e7}
@media(max-width:600px){.amgfan-page{padding:14px;margin-top:12px}.amgfan-hero,.amgfan-panel{padding:22px 18px;border-radius:20px}.amgfan-team-grid{grid-template-columns:1fr 1fr;gap:8px}.amgfan-team{padding:14px 10px;gap:8px;flex-direction:column;text-align:center}.amgfan-team strong{font-size:13px}.amgfan-team img{width:44px;height:44px}.amgfan-match-item{grid-template-columns:75px minmax(0,1fr) auto;gap:8px;padding:13px 10px;font-size:12px}.amgfan-match-item time{font-size:10px}.amgfan-score-badge{font-size:18px}.amgfan-table th,.amgfan-table td{padding:14px 10px;font-size:12px}.amgfan-table th{font-size:10px}.amgfan-interact-head{display:block}.amgfan-score-inputs{gap:15px}.amgfan-share-dialog{padding:17px}.amgfan-dialog-head h2{font-size:20px}.amgfan-player-name{font-size:11px}.amgfan-tabs button{padding:10px;font-size:11px}.amgfan-team-title{gap:14px}.amgfan-team-title img{width:60px;height:60px}.amgfan-distribution{font-size:10px}}
@media(prefers-reduced-motion:reduce){.amgfan-player,.amgfan-bars span{transition:none!important}.amgfan-share-dialog::backdrop{backdrop-filter:none}}
@media(max-width:600px){.amgfan-hero .amgfan-pill{white-space:normal;max-width:100%;line-height:1.6}}
@media(max-width:360px){.amgfan-hub-page .header-inner .brand{min-width:0;max-width:calc(100% - 58px);gap:9px}.amgfan-hub-page .header-inner .brand img{width:96px;height:auto;flex-shrink:0}.amgfan-hub-page .header-inner .brand span{min-width:0}.amgfan-hub-page .header-inner .brand strong{font-size:16px}.amgfan-hub-page .header-inner .brand small{display:none}.amgfan-hub-page .header-inner .nav-toggle{flex-shrink:0}}
