/* Farm club: the same trading cards and navy/gold palette as the main squad. */
.collection-destinations{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 18px}.collection-destinations>.hc-catalog-entry{margin:0;min-width:0;align-items:center;border-radius:14px;padding:16px 12px}.collection-destinations>.hc-catalog-entry>span:last-child{display:none}.collection-destinations>.hc-catalog-entry .hc-catalog-entry-icon{width:28px;flex:none}.collection-destinations>.hc-catalog-entry b{font-size:17px}.collection-destinations>.hc-catalog-entry small{font-size:11px;line-height:1.4}
.farm-entry{position:relative;isolation:isolate;overflow:hidden;border:1px solid #b69c6480;border-radius:14px;min-height:118px;text-align:left;padding:17px;color:#fff3d3;cursor:pointer;background:linear-gradient(90deg,#09202bf2,#09202b55),url('/assets/newspaper/weekly-team.webp?v=aaa02acf4bc13a66') center 40%/cover;box-shadow:inset 0 0 24px #0003;transition:filter .18s,transform .18s}.farm-entry:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#081b29e8,transparent 85%)}.farm-entry:hover{filter:brightness(1.15)}.farm-entry:active{transform:scale(.985)}.farm-entry-kicker{display:block;font-size:9px;font-weight:800;letter-spacing:1.4px;color:#d9bc79}.farm-entry strong{display:block;font:700 28px/1.3 Oswald,sans-serif;margin:8px 0 4px}.farm-entry-caption{display:block;font-size:11px;color:#c5d4dc;max-width:85%}.farm-entry-arrow{position:absolute;right:13px;bottom:12px;font-size:24px;color:#eed18e}
.modal[data-dialog^="farm-"]{background:#091f2c;border:1px solid #557889;border-radius:22px;padding:0;width:min(840px,calc(100vw - 24px));overflow-x:hidden;box-shadow:0 25px 100px #000a}.modal[data-dialog^="farm-"]>.modal-close{z-index:20}.farm-screen,.farm-picker-screen,.farm-confirm-screen,.farm-result-screen,.farm-board-screen{color:#e8f2f7;text-align:left;font-style:normal}.farm-screen button,.farm-picker-screen button{font-style:normal}.farm-kicker{display:block;color:#b0c8d5;font:700 10px/1.4 Arial,sans-serif;letter-spacing:1.8px}.farm-hero{position:relative;isolation:isolate;padding:32px 28px 22px;background:#091f2c}.farm-hero:before{content:'';position:absolute;z-index:-1;pointer-events:none;top:0;left:0;right:0;height:420px;background:linear-gradient(180deg,#071c2899,#081d29dd 55%,#091f2c 100%),url('/assets/career-arena-v1.webp?v=a0b18a956bb8c55f') center 38%/cover}.farm-hero h2{font:700 48px/1.1 Oswald,sans-serif;margin:14px 0 10px;text-transform:uppercase;letter-spacing:.5px}.farm-hero>p{max-width:440px;margin:0 0 24px;color:#bdcfd9;font-size:14px;line-height:1.5}.farm-scoreboard{display:grid;grid-template-columns:70px 1fr 1.25fr;gap:16px;align-items:center;padding:18px 0;border-top:1px solid #b9d2df33;border-bottom:1px solid #b9d2df33}.farm-scoreboard>div{min-width:0}.farm-scoreboard small,.farm-scoreboard span{display:block;font-size:11px;color:#aac1cf}.farm-scoreboard strong{display:block;font:700 35px/1.25 Oswald,sans-serif;font-variant-numeric:tabular-nums;color:#f0d598;margin:4px 0}.farm-grade{border:1px solid #d6bd7c66;border-radius:12px;background:#102c3b99;text-align:center;padding:8px 3px}.farm-grade b{display:block;font:700 42px/1.15 Oswald,sans-serif;color:#f3d891}.farm-grade small{font-size:10px}.farm-price{text-align:right}.farm-progress{margin-top:16px}.farm-progress>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#aac0ce;line-height:1.5}.farm-progress b{color:#e3cc94;white-space:nowrap}.farm-progress-track{height:4px;border-radius:5px;overflow:hidden;background:#4d6b7a55;margin-top:10px}.farm-progress-track i{display:block;height:100%;background:linear-gradient(90deg,#c2a362,#f5df9c);border-radius:5px;transition:width .3s}
.farm-body{padding:8px 28px 28px}.farm-lineup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px}.farm-lineup-heading h3{font:600 22px/1.3 Oswald,sans-serif;margin:6px 0 0;color:#e5eff5}.farm-lineup-heading>b{flex:none;font:700 33px Oswald,sans-serif;color:#e9cf8d}.farm-lineup-heading>b span{font-size:18px;color:#718e9e;margin-left:4px}.farm-lineup{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;background:radial-gradient(ellipse at 50% 35%,#26546666,transparent 70%);padding:6px 0 24px}.farm-player{min-width:0}.farm-player:last-child{grid-column:2}.farm-position{display:flex;justify-content:space-between;align-items:center;margin:0 2px 9px;font-size:11px;color:#9cb7c6}.farm-position b{font-size:14px;letter-spacing:.5px;color:#dfca98}.farm-player-card,.farm-candidate{display:block;border:0;padding:0;background:none;color:inherit;cursor:pointer;width:100%;min-width:0;text-align:left}.farm-player-card>.hc-card,.farm-candidate>.hc-card{display:block;width:100%;max-width:none;margin:0;transition:filter .18s}.farm-player-card:hover>.hc-card,.farm-candidate:hover>.hc-card{filter:brightness(1.08)}.farm-player-card:focus-visible,.farm-candidate:focus-visible{outline:2px solid #f5db8f;outline-offset:4px;border-radius:12px}.farm-empty-card{display:flex;align-items:center;justify-content:center;flex-direction:column;aspect-ratio:5/7;border:1px dashed #65879888;border-radius:10px;background:linear-gradient(145deg,#21405255,#0b213030);box-shadow:inset 0 0 0 6px #0a203533;color:#9dbdcd;position:relative;overflow:hidden}.farm-empty-card:before{content:"";position:absolute;inset:10px;border:1px solid #6d92a01c;border-radius:5px}.farm-empty-card>svg{width:64%;color:#5c86985e;margin-bottom:8px}.farm-empty-card>strong{position:absolute;top:36%;font:300 37px/1 Arial;color:#d8c48a}.farm-empty-card>b{font:600 20px Oswald,sans-serif;color:#cddce4}.farm-empty-card>small{margin-top:5px;font-size:11px;color:#6e92a5}.farm-empty-card:hover{border-color:#d8bf7b;background-color:#28475544}.farm-player-meta{display:flex;justify-content:space-between;align-items:center;margin:6px 1px 0;color:#97b3c2;font-size:11px}.farm-remove{border:0;background:#294351;border-radius:6px;color:#b7cbd6;width:28px;height:28px;font-size:20px;cursor:pointer}.farm-career{display:block;width:100%;text-align:left;border:0;background:transparent;color:#ddc68b;padding:7px 0 0;font-size:11px;cursor:pointer}.farm-change{display:grid;grid-template-columns:1fr auto;gap:6px 12px;border-left:3px solid #e0c37c;background:#183a4b;border-radius:0 10px 10px 0;padding:13px 14px;margin-bottom:20px;font-size:12px}.farm-change>span{color:#c1d5df}.farm-change>b{color:#f1d797}.farm-change>small{grid-column:1/-1;color:#93b3c5}
.farm-synergies{border:1px solid #55788b55;background:#142f3f;border-radius:14px;padding:16px;margin:2px 0 16px}.farm-synergies summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:12px}.farm-synergies summary>span{font-weight:700;font-size:14px}.farm-synergies summary small{display:block;margin-top:5px;font-weight:400;font-size:11px;color:#98b5c4}.farm-synergies summary>b{font:700 26px Oswald,sans-serif;color:#efd397}.farm-synergies ul{list-style:none;margin:15px 0 0;padding:0;border-top:1px solid #56738544}.farm-synergies li{display:flex;justify-content:space-between;gap:12px;padding-top:12px;font-size:12px}.farm-synergies li span,.farm-synergies>p{color:#aac3d0;font-size:12px}.farm-reward{display:flex;align-items:center;gap:12px;padding:17px 2px;margin-bottom:8px}.farm-reward-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #ccb37066;border-radius:12px;font-size:29px;color:#ebd394;background:#b3974e11}.farm-reward b{font-size:14px}.farm-reward p{font-size:11px;line-height:1.5;color:#9cb7c7;margin:5px 0 0}.farm-reward>strong{font:700 28px Oswald,sans-serif;color:#e9cc8a;flex:none;margin-left:auto}.farm-sale-actions>.btn{width:100%;min-height:50px;font-size:14px}.farm-sale-actions p{color:#7897a8;text-align:center;font-size:10px;line-height:1.5;margin:10px 15px 18px}.farm-board-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:17px;border-top:1px solid #65829044}.farm-board-links button{color:#c4d6e1;background:#142f3d;border:1px solid #63849744;border-radius:10px;text-align:left;padding:13px 10px;font-size:12px;cursor:pointer}.farm-board-links span{font-size:18px;color:#e3c98d;margin-right:7px}.farm-links{margin-top:22px;padding-top:18px;border-top:1px solid #65829044;font-size:12px}.farm-links summary{cursor:pointer;color:#d9c28c}.farm-links dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0}.farm-links dd{margin:0;text-align:right;color:#e5d195}.farm-links dt{color:#abc0ce}
.farm-picker-screen{padding:24px}.farm-back{border:0;background:none;color:#dbc58e;font-size:12px;padding:0;margin-bottom:20px;cursor:pointer}.farm-picker-screen h2,.farm-confirm-screen h2,.farm-board-screen h2{font:700 30px/1.2 Oswald,sans-serif;margin:8px 0 10px}.farm-picker-screen h2 em,.farm-confirm-screen h2 em{font-style:normal;color:#e3c786}.farm-picker-screen header>p,.farm-confirm-screen>p,.farm-board-screen>p{font-size:12px;line-height:1.6;color:#aac2d0;margin-bottom:18px}.farm-picker-screen input{box-sizing:border-box;width:100%;border:1px solid #5b7c8d88;border-radius:10px;background:#102b3a;color:#e6f1f7;padding:12px 14px;font:16px Arial,sans-serif;outline-offset:3px}.farm-filters{display:flex;gap:7px;margin:12px 0 18px}.farm-filters button{border:1px solid #567a8b55;background:#163241;color:#adc6d4;border-radius:7px;flex:1;padding:9px 3px;font-size:11px;cursor:pointer}.farm-filters button[aria-pressed=true]{border-color:#c9b373;background:#485445;color:#f5dda0}.farm-picker-count{display:flex;justify-content:space-between;gap:6px;font-size:12px;color:#b2c8d4;margin-bottom:17px}.farm-picker-count b{color:#e8eff4;margin-right:auto}.farm-picker-count>span{font-size:10px;color:#7d9bab}.farm-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.farm-candidate-quality{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:13px}.farm-candidate-quality b{color:#d7e4eb}.farm-candidate-quality strong{color:#ebce89;font-variant-numeric:tabular-nums}.farm-candidate-delta{display:block;font-size:10px;color:#93afbf;line-height:1.7;margin:5px 0}.farm-candidate-career{display:block;font-size:10px;color:#b0c7d5;margin-bottom:10px}.farm-candidate-select{display:block;text-align:center;border:1px solid #c5a85f77;border-radius:7px;background:#bfa15616;color:#e1c689;font-size:12px;padding:9px 4px}.farm-candidate.is-selected .farm-candidate-select{background:#335447;color:#b7e0c1;border-color:#5b937c}.farm-picker-empty{grid-column:1/-1;text-align:center;padding:24px 16px;color:#a6becb}.farm-picker-empty>svg{width:80px;color:#5c8091}.farm-picker-empty h3{font:600 23px Oswald,sans-serif}.farm-picker-empty p{font-size:12px;line-height:1.7}.farm-picker-pages{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:22px;color:#bbd0db;font-size:13px}
.farm-confirm-screen,.farm-board-screen{padding:28px}.farm-confirm-players{display:grid;gap:7px;margin:20px 0}.farm-confirm-players>div{display:flex;gap:12px;align-items:center;border:1px solid #54738644;border-radius:10px;padding:7px 10px;background:#122f3f}.farm-confirm-players img{border-radius:6px;background:linear-gradient(135deg,#3a5969,#142a39);object-fit:cover;width:46px;height:46px}.farm-confirm-players span{display:flex;flex-direction:column;gap:6px;min-width:0}.farm-confirm-players b{font-size:12px}.farm-confirm-players small{font-size:10px;color:#9db7c6}.farm-confirm-players strong{margin-left:auto;font-size:11px;color:#dbc58b}.farm-confirm-total{display:flex;justify-content:space-between;align-items:center;margin:20px 0;color:#a8c0cf;font-size:12px}.farm-confirm-total b{font:700 29px Oswald,sans-serif;color:#efd594}.farm-confirm-total small{font:11px Arial,sans-serif;color:#b9cbd5}.farm-confirm-screen>.btn{width:100%;min-height:48px}.farm-confirm-screen>.farm-back{display:block;margin:16px auto 0}.farm-result-screen{padding:32px 25px;text-align:center;background:radial-gradient(ellipse at 50% 0,#37576666,transparent 65%)}.farm-result-star{display:block;font-size:56px;line-height:1;color:#edd491;text-shadow:0 0 45px #e9b75355;margin:10px 0 20px}.farm-result-screen h2{font:700 35px/1.25 Oswald,sans-serif;margin:12px 0}.farm-result-coins{display:block;font:700 40px/1.3 Oswald,sans-serif;color:#f4d993}.farm-result-coins small{display:block;font:12px Arial,sans-serif;color:#9fb7c6;margin:5px 0 20px}.farm-scout-result{display:flex;flex-direction:column;align-items:center;margin:18px auto 24px;padding:20px 12px 8px;max-width:260px;background:linear-gradient(#1c3b4a,#102938);border:1px solid #6a879755;border-radius:16px}.farm-scout-result>span{color:#e4c888;font-size:12px}.farm-scout-result>img{display:block;margin:12px 0 8px;width:160px;height:160px;object-fit:contain}.farm-scout-result>b{font-size:14px}.farm-scout-result>p{font-size:11px;line-height:1.5;color:#a5bfcd}.farm-result-screen>.btn{width:100%;max-width:320px;min-height:48px}.farm-board-screen ol{list-style:decimal;padding-left:26px}.farm-board-screen li{padding:14px 0 14px 4px;border-bottom:1px solid #57768644;color:#dbc58f;font-size:12px}.farm-board-screen li>span,.farm-board-screen li>strong{display:inline-flex;flex-direction:column;gap:6px;vertical-align:middle}.farm-board-screen li>span{width:64%;color:#d6e5ed}.farm-board-screen li>strong{width:36%;text-align:right;color:#e9cf92;font-size:16px}.farm-board-screen li small{font-size:10px;color:#89a7b8}.farm-board-screen>.btn{width:100%;margin-top:20px}
@media(max-width:600px){.farm-hero{padding:30px 18px 18px}.farm-hero h2{font-size:40px}.farm-hero>p{font-size:12px;max-width:260px}.farm-body{padding:6px 16px 22px}.farm-scoreboard{grid-template-columns:52px 1fr 1.35fr;gap:12px}.farm-scoreboard strong{font-size:29px}.farm-grade b{font-size:33px}.farm-scoreboard small,.farm-scoreboard span{font-size:10px}.farm-lineup,.farm-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.farm-player:last-child{grid-column:1/-1;width:calc((100% - 12px)/2);justify-self:center}.farm-lineup-heading h3{font-size:18px}.farm-kicker{font-size:9px;letter-spacing:1.5px}.farm-picker-screen,.farm-confirm-screen,.farm-board-screen{padding:26px 16px 20px}.farm-picker-screen h2{font-size:27px}.farm-empty-card>b{font-size:18px}.farm-empty-card>small{font-size:10px}.farm-progress>div:first-child{font-size:10px}.farm-picker-count>span{font-size:9px}.farm-change{grid-template-columns:1fr}.farm-change>small{grid-column:1}.farm-entry{padding:13px;min-height:115px}.farm-entry strong{font-size:25px}.farm-entry-kicker{font-size:8px;letter-spacing:1px}.farm-entry-caption{font-size:10px}.collection-destinations>.hc-catalog-entry{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;padding:13px}.collection-destinations>.hc-catalog-entry small{font-size:10px}.collection-destinations>.hc-catalog-entry b{font-size:16px}.farm-reward>strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.farm-entry,.farm-player-card>.hc-card,.farm-candidate>.hc-card,.farm-progress-track i{transition:none}}

.farm-entry-arrow svg{display:block;width:22px;height:22px}.farm-career svg{width:12px;height:12px;vertical-align:middle;margin-left:3px}.farm-board-links span svg{width:18px;height:18px;vertical-align:middle}

/* A single stable-height record sheet for both periods. */
.farm-records-entry{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #b9a16d55;border-radius:10px;padding:11px 12px;margin:0 0 18px;background:linear-gradient(105deg,#4e493633,#0e2b3bc9);color:#e1cd9b;font-size:12px;text-align:left;cursor:pointer}.farm-records-entry>svg{width:22px;height:22px;flex:none}.farm-records-entry>span{flex:1}.farm-records-entry>b{font:24px/1 Arial,sans-serif;color:#b6c6ca}.farm-records-entry:hover{border-color:#d6b56d;background-color:#28414c55}
.modal[data-dialog="farm-board"]{width:min(840px,calc(100vw - 24px));display:flex;flex-direction:column;overflow:hidden}.farm-records-screen{height:100%;min-height:0;display:flex;flex-direction:column;padding:28px 24px 20px;box-sizing:border-box;color:#e7f1f7;background:radial-gradient(ellipse at 90% 0,#30566a44,transparent 45%)}.farm-records-heading{display:flex;align-items:center;gap:13px;padding-right:32px;flex:none}.farm-records-trophy{width:46px;height:52px;flex:none;display:grid;place-items:center;color:#efd08c;background:linear-gradient(145deg,#435041,#193847);border:1px solid #c9ae6c55;border-radius:13px}.farm-records-trophy svg{width:30px;height:30px}.farm-records-heading h2{font:700 31px/1.25 Oswald,sans-serif;margin:5px 0 0}.farm-records-heading .farm-kicker{font-size:8px;letter-spacing:1.2px}.farm-records-note{font-size:12px;color:#9ab6c5;margin:16px 0 18px;flex:none}.farm-records-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;flex:none;padding:4px;border:1px solid #5a7e9155;background:#071b29;border-radius:10px;margin-bottom:18px}.farm-records-tabs button{border:1px solid transparent;background:transparent;color:#91afc0;border-radius:7px;padding:11px 6px;font:700 12px Arial,sans-serif;cursor:pointer}.farm-records-tabs button[aria-pressed=true]{border-color:#c0a76c88;background:linear-gradient(#424e43,#2c4141);color:#f3d895}.farm-records-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.farm-records-list{list-style:none;margin:0;padding:0 4px 0 0;display:grid;gap:8px}.farm-records-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 12px;min-height:66px;box-sizing:border-box;border:1px solid #50728844;background:#112c3c;border-radius:11px}.farm-records-list li.is-podium{border-color:#baa56b44;background:linear-gradient(105deg,#3d49302b,#142e3d)}.farm-record-rank{font:700 20px Oswald,sans-serif;color:#7695a6}.is-podium .farm-record-rank{color:#e2c785}.farm-record-team{min-width:0}.farm-record-team>b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#e0edf4}.farm-record-team>small{display:block;font-size:10px;color:#86a5b7;margin-top:7px}.farm-record-team i{font-style:normal;color:#d8c188;margin-right:6px}.farm-records-list li>strong{text-align:right;color:#f0d598;font:700 23px Oswald,sans-serif;font-variant-numeric:tabular-nums}.farm-records-list li>strong>small{display:block;font:10px Arial,sans-serif;color:#8aa9ba;margin-top:4px}.farm-records-screen>footer{flex:none;padding-top:18px;margin-top:16px;border-top:1px solid #5e809044}.farm-records-screen>footer>.btn{width:100%;min-height:44px}.farm-records-loading{display:grid;gap:8px;padding-right:4px}.farm-records-loading>span{display:block;height:66px;border-radius:11px;background:linear-gradient(100deg,#183749,#24445466,#183749);border:1px solid #66849533}.farm-records-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;box-sizing:border-box}.farm-records-empty>svg{width:76px;height:76px;color:#7798aa66}.farm-records-empty h3{font:600 23px/1.3 Oswald,sans-serif;color:#c9dce6;margin:18px 0 9px}.farm-records-empty p{max-width:230px;font-size:12px;line-height:1.6;color:#8caabb;margin:0}.farm-records-empty>.btn{margin-top:12px}@media(max-width:600px){.farm-records-screen{padding:26px 16px 16px}.farm-records-heading{gap:10px}.farm-records-heading h2{font-size:27px}.farm-records-trophy{width:40px;height:46px}.farm-records-list li{padding:13px 9px;gap:8px;grid-template-columns:23px minmax(0,1fr) auto}.farm-record-team>b{font-size:12px}.farm-records-list li>strong{font-size:21px}.farm-records-note{font-size:11px}}
.farm-records-body{scrollbar-width:thin;scrollbar-color:#658391 #0b2533}.farm-records-body::-webkit-scrollbar{width:5px}.farm-records-body::-webkit-scrollbar-track{background:#0b2533}.farm-records-body::-webkit-scrollbar-thumb{background:#658391;border-radius:6px}

/* Compact collection entries and stable touch targets. */
.collection-destinations{gap:10px;margin:10px 0 14px;align-items:stretch}
.collection-destinations>.hc-catalog-entry,.collection-destinations>.farm-entry{min-height:84px;padding:12px;border-radius:12px}
.collection-destinations>.hc-catalog-entry{display:flex;flex-direction:row;align-items:center;gap:9px}
.collection-destinations>.hc-catalog-entry .hc-catalog-entry-icon{width:28px;height:32px;box-sizing:border-box;border:0;background:none}
.collection-destinations .hc-catalog-entry-icon svg{display:block;width:24px;height:24px}
.collection-destinations>.hc-catalog-entry b{font-size:13px;line-height:1.3}
.collection-destinations>.hc-catalog-entry small{font-size:9px;line-height:1.4}
.collection-destinations .farm-entry strong{font-size:23px;margin:3px 0;line-height:1.2}
.collection-destinations .farm-entry-caption{font-size:9px;max-width:calc(100% - 18px)}
.collection-destinations .farm-entry-kicker{font-size:7px;letter-spacing:.8px}
.collection-destinations .farm-entry-arrow{right:10px;bottom:12px;line-height:1}
.collection-destinations .farm-entry-arrow svg{width:18px;height:18px}
.farm-player-card,.farm-candidate{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.farm-player-card>* ,.farm-candidate>*{pointer-events:none}
.farm-player-card>.hc-card,.farm-candidate>.hc-card{box-sizing:border-box;border:2px solid var(--hc);border-radius:9px;box-shadow:inset 0 0 0 3px #0b152b,inset 0 0 0 5px var(--hc)}
.farm-reward{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding:12px 0;margin-bottom:12px}
.farm-reward-icon{box-sizing:border-box;width:36px;height:36px;line-height:1;border-radius:10px;align-self:center}
.farm-reward-icon svg{display:block;width:22px;height:22px}
.farm-reward p{margin-top:5px}.farm-reward>strong{margin:0;font-variant-numeric:tabular-nums}
.farm-lineup{padding-bottom:18px}.farm-sale-actions p{margin:10px 0 12px}
.modal.farm-modal-enter{animation:farm-modal-in .2s ease-out both}
@keyframes farm-modal-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.farm-records-body>*,.farm-picker-grid{animation:farm-content-in .18s ease-out both}
@keyframes farm-content-in{from{opacity:.35}to{opacity:1}}
@media(hover:none){.farm-player-card:hover>.hc-card,.farm-candidate:hover>.hc-card{filter:none}.farm-empty-card:hover{border-color:#65879888;background-color:transparent}.farm-entry:hover{filter:none}}
@media(prefers-reduced-motion:reduce){.modal.farm-modal-enter,.farm-records-body>*,.farm-picker-grid{animation:none}}
/* Keep the opaque shell and its backdrop alive during farm navigation. */
.modal-backdrop:has(>.modal[data-dialog^="farm-"]){animation:none}
.modal[data-dialog^="farm-"]:not(.farm-modal-enter){animation:none}

/* The sale controls stay outside the scrolling squad. */
.modal[data-dialog="farm-club"],.modal[data-dialog="farm-board"]{height:min(920px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden;display:flex;flex-direction:column}
.farm-screen{height:100%;min-height:0;display:flex;flex-direction:column}
.farm-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#658391 #0b2533}
.farm-sale-dock{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 16px;align-items:center;padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid #70899577;background:#102c3b;box-shadow:0 -8px 24px #03101866;position:relative;z-index:3}
.farm-dock-price small{display:block;color:#a6bdca;font-size:10px;margin-bottom:3px}
.farm-dock-price strong{display:flex;align-items:center;gap:7px;color:#f4d990;font:700 29px/1.2 Oswald,sans-serif;font-variant-numeric:tabular-nums}
.farm-dock-price svg{display:block;width:24px;height:24px;flex:none;color:#70d4b0}
.farm-dock-chance{text-align:right;max-width:140px;color:#afc5d1;font-size:10px;line-height:1.4}
.farm-dock-chance b{display:block;font:700 20px/1.3 Oswald,sans-serif;color:#efd28f;margin-top:2px}
.farm-sale-dock>.btn{grid-column:1/-1;width:100%;min-height:42px;padding:9px 12px;font-size:13px}
@media(max-width:600px){.farm-sale-dock{padding:10px 16px max(10px,env(safe-area-inset-bottom));gap:8px 12px}.farm-dock-price strong{font-size:27px}}

.farm-deal-note{font-size:11px;line-height:1.6;color:#9cb7c7;margin:14px 0 8px}

.farm-sale-dock .farm-dock-explanation{display:block;font:400 11px/1.4 Arial,sans-serif;color:#afc5d1;max-width:150px;white-space:normal}

.farm-entry-loading .farm-hero{flex:none}.farm-entry-skeleton{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px;overflow:hidden}.farm-entry-skeleton i{display:block;aspect-ratio:3/4;border:1px solid #52738355;border-radius:14px;background:linear-gradient(145deg,#173646,#102936)}.farm-entry-loading>.btn{margin:24px;align-self:center}

/* Price composition and rules remain within the scroll area, above the squad. */
.farm-price-breakdown{margin:12px 0 0;display:grid;gap:7px;color:#aac1cf;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.farm-price-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.farm-price-breakdown dd{margin:0;color:#efd397;font-weight:700;white-space:nowrap}
.farm-hero .farm-price-note{font-size:11px;line-height:1.5;color:#9cb7c7;margin:8px 0 0;max-width:none}
.farm-next-price{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:11px;line-height:1.5;color:#aac0ce;margin-top:12px}
.farm-price-guide{margin-top:16px;border:1px solid #55788b55;border-radius:10px;background:#112c3ce6;color:#b8ccd7;font-size:12px;line-height:1.6}
.farm-price-guide summary{padding:12px 14px;cursor:pointer;font-weight:700;color:#e3cc94}
.farm-price-guide>div{padding:0 14px 12px}
.farm-price-guide p{margin:0 0 12px}.farm-price-guide p:last-child{margin-bottom:0}
.farm-price-guide table{width:100%;border-collapse:collapse;margin:8px 0 14px;font-size:11px;font-variant-numeric:tabular-nums}
.farm-price-guide caption{text-align:left;font-weight:700;color:#e5eff5;margin-bottom:8px}
.farm-price-guide th,.farm-price-guide td{text-align:left;padding:6px 4px;border-bottom:1px solid #55788b44}
.farm-price-guide tr>:last-child{text-align:right;white-space:nowrap;color:#efd397}
.farm-price-guide summary:focus-visible{outline:2px solid #efd397;outline-offset:2px;border-radius:9px}

.farm-entry-loading .farm-scroll{overflow:hidden}.farm-loading-status{color:#afc5d1;font-size:12px;margin:0 0 14px}
.farm-loading-bar{display:block;height:12px;max-width:100%;border-radius:5px;background:#34536580;color:transparent!important;user-select:none}
.farm-loading-bar.is-number{height:36px;margin:5px 0;width:85%}.farm-loading-bar.is-short{width:65%}
.farm-entry-loading .farm-price-guide{padding:12px 14px}.farm-entry-loading .farm-position{height:18px}
.farm-entry-loading .farm-empty-card{opacity:.5}.farm-entry-loading .farm-sale-dock{pointer-events:none}
.farm-synergies summary>b{flex:none;text-align:right}.farm-synergies summary>b small{font:400 11px/1.3 system-ui,sans-serif;color:#98b5c4;margin-top:2px}.farm-synergies>p{line-height:1.5;margin:12px 0 0}


.farm-saved-lines{margin:4px 0 24px;border:1px solid #466677;border-radius:12px;background:#102b3a;color:#e6eef3}
.farm-saved-lines>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:12px 16px;min-height:46px;box-sizing:border-box}
.farm-saved-lines>summary::-webkit-details-marker{display:none}
.farm-saved-lines>summary strong{font:600 20px/1.25 Oswald,sans-serif}
.farm-template-count{margin-left:auto;min-width:24px;text-align:center;border-radius:6px;background:#254253;color:#edd398;font-weight:700}
.farm-saved-lines>summary::after{content:"";width:7px;height:7px;border:solid #d3bb82;border-width:0 2px 2px 0;transform:rotate(45deg);margin:-4px 3px 0}
.farm-saved-lines[open]>summary::after{transform:rotate(225deg);margin-top:4px}
.farm-template-panel{padding:14px clamp(10px,3vw,18px) 18px;border-top:1px solid #365465}
.farm-template-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.farm-template-select{width:100%;max-width:100%;border:1px solid #476777;border-radius:7px;background:#193747;color:#edf3f5;padding:8px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3}
.farm-template-grid figcaption strong{color:#ecd293;font-variant-numeric:tabular-nums}
.farm-template-quality{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:12px 0 0;padding:10px 0;border-block:1px solid #365465}
.farm-template-quality dt{color:#adc3d0;font-size:13px;line-height:1.3}
.farm-template-quality dd{color:#ecd293;margin:0;font:600 20px/1.2 Oswald,sans-serif;font-variant-numeric:tabular-nums}
.farm-template-actions{margin:12px 0 0}
.farm-template-actions .btn{min-height:44px;padding:8px 14px;transition:filter .12s,transform .12s}
.farm-template-actions .btn:enabled:active{transform:translateY(1px);filter:brightness(1.18)}
.farm-template-actions .btn[aria-busy=true]{opacity:.9;cursor:progress}
.farm-template-hint{color:#b0c6d1;font-size:12px;line-height:1.45;margin:8px 0 0}
.farm-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:16px 12px;margin-top:16px}
.farm-template-grid figure{min-width:0;margin:0;max-width:240px}
.farm-template-grid figcaption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:2px 6px;margin-bottom:6px;font-size:12px;color:#b0c6d1}
.farm-template-grid figcaption>b{color:#e6edf1}
.farm-template-grid .hc-card{display:block;width:100%;margin:0;max-width:none;box-sizing:border-box}
.farm-saved-lines :is(summary,select,button):focus-visible{outline:2px solid #edcf85;outline-offset:2px}
@media(max-width:600px){.farm-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.farm-template-actions .btn{flex:1 1 108px}.farm-saved-lines>summary{padding:12px}.farm-saved-lines>summary strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.farm-template-actions .btn{transition:none}.farm-template-actions .btn:enabled:active{transform:none}}
