/* Phone layout only. iPad and desktop keep their existing layouts. */
@media(max-width:600px){
 body.ezz-main{padding-inline:12px;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));font-size:15px;overflow-x:clip}
 .ezz-main .top{margin-inline:-12px;padding:10px 12px 12px;position:sticky;top:0;z-index:25}
 .ezz-main .top-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand live refresh" "search search prices";gap:8px;align-items:center}
 .ezz-main .brand{grid-area:brand;min-width:0;gap:5px}.ezz-main .brand .mark{width:43px;height:33px}.ezz-main .brand h1{font-size:1.4rem}.ezz-main .brand-tag{font-size:8px;padding:2px 5px}.ezz-main .status{display:contents}.ezz-main #livePill{grid-area:live;justify-self:end;font-size:10px;padding:5px 7px;gap:4px}.ezz-main #updatedText{display:none}
 .ezz-main #refreshBtn{grid-area:refresh;min-height:44px;padding:8px 10px;font-size:12px;border-radius:8px}.ezz-main .status a[href="./prices.html"]{grid-area:prices;min-height:48px;display:flex;align-items:center;justify-content:center;padding:7px;font-size:0;border-radius:8px}.ezz-main .status a[href="./prices.html"]:after{content:"Prices ↗";font-size:12px;white-space:nowrap}.ezz-main .search{grid-area:search;height:48px;min-width:0;padding-inline:11px;border-radius:10px!important}.ezz-main .search input{font-size:16px;min-width:0;width:100%}.ezz-main .search svg{width:20px;flex:none}
 .ezz-main .tabs{padding:5px 3px calc(5px + env(safe-area-inset-bottom,0px));background:#101536fa!important;border-top:1px solid #645198;box-shadow:0 -4px 22px #0003}.ezz-main .tab{min-width:0;min-height:57px;padding:7px 1px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;letter-spacing:0;touch-action:manipulation}.ezz-main .tab svg{width:22px;height:22px}.ezz-main .tab[aria-selected=true]{border-radius:9px!important}.ezz-main main{padding-top:12px;gap:14px}.ezz-main .panel{gap:16px}
 .ezz-main .fifa-hero{padding:22px 18px;min-height:0;margin:0 0 8px}.ezz-main .fifa-hero h2{font-size:32px;line-height:1.05}.ezz-main .fifa-hero-kicker{font-size:9px;letter-spacing:1.5px}.ezz-main .fifa-hero p{font-size:14px}.ezz-main .fifa-hero-links{gap:8px;display:grid;grid-template-columns:1fr 1fr}.ezz-main .fifa-hero-links a{min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;padding:9px}
 .ezz-main .rowhead h2{font-size:25px}.ezz-main .rowhead{align-items:center;gap:8px}.ezz-main .rowhead .eyebrow{font-size:9px;letter-spacing:.5px;max-width:48%;overflow-wrap:anywhere}.ezz-main .rowhead button{min-height:44px;min-width:44px}.ezz-main .hscroll{gap:12px;scroll-snap-type:x proximity;scroll-padding-left:2px;padding:8px 2px 14px;overscroll-behavior-x:contain}.ezz-main .hscroll> *{scroll-snap-align:start}.ezz-main .fcard{flex-basis:148px;width:148px;height:207px}.ezz-main .fc-px{font-size:14px!important}.ezz-main .fc-fav{width:36px;height:36px}.ezz-main .sbc-tile{flex-basis:158px;padding:16px 12px}.ezz-main .card{padding:16px;border-radius:14px}
 .ezz-main input,.ezz-main select,.ezz-main textarea{font-size:16px;min-height:44px}.ezz-main .btn,.ezz-main .segs button,.ezz-main .ez-btn,.ezz-main .ez-budget-presets button{min-height:44px;touch-action:manipulation}.ezz-main .form{grid-template-columns:1fr 1fr;gap:12px}.ezz-main .ez-hero{padding:22px 18px!important}.ezz-main .ez-hero-stats>div{padding:13px 10px!important}.ezz-main .ez-hero-stats strong{font-size:20px!important}.ezz-main .ez-actions{display:grid;grid-template-columns:1fr 1fr}.ezz-main .ez-actions .ez-btn{font-size:12px!important}.ezz-main .ez-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ezz-main .reading-hero{padding:23px 18px!important}.ezz-main .play-guide summary{min-height:72px}.ezz-main .event-details summary,.ezz-main .drop summary{min-height:44px}.ezz-main .pl-row,.ezz-main .wl-row{padding-block:14px}.ezz-main .pl-row button,.ezz-main .wl-row button{min-width:44px;min-height:44px}
 body.ezz-prices{font-size:14px;overflow-x:clip}.ezz-prices header,.ezz-prices main{padding-inline:12px}.ezz-prices header{min-height:68px;gap:10px}.ezz-prices .hero{padding:24px 0 18px}.ezz-prices h1{font-size:30px}.ezz-prices .filters{grid-template-columns:1fr 1fr;gap:12px;padding:14px}.ezz-prices input,.ezz-prices select{min-height:46px;font-size:16px;width:100%;min-width:0}.ezz-prices button{min-height:44px}.ezz-prices .table-wrap{overflow-x:hidden}.ezz-prices table{min-width:0;width:100%;table-layout:fixed}.ezz-prices th,.ezz-prices td{padding:11px 6px}.ezz-prices th:nth-child(4),.ezz-prices td:nth-child(4),.ezz-prices th:nth-child(6),.ezz-prices td:nth-child(6){display:none}.ezz-prices th:nth-child(1){width:44%}.ezz-prices th:nth-child(2){width:11%}.ezz-prices th:nth-child(3){width:12%}.ezz-prices th:nth-child(5){width:33%}.ezz-prices td.player{min-width:0;overflow-wrap:anywhere}.ezz-prices td.player strong{font-size:13px}.ezz-prices td.player small{font-size:10px}.ezz-prices td.price{font-size:13px;white-space:normal;overflow-wrap:anywhere}.ezz-prices th.price-col{font-size:10px}.ezz-prices .results-bar{flex-wrap:wrap;gap:10px}.ezz-prices .results-bar button{max-width:none}.ezz-prices .stats strong{font-size:20px}.ezz-prices .feed-status button{margin-left:0}
}

/* The full filter grid stays open on wide screens. */
@media(min-width:601px){
 .pl-filter-drawer,.pl-filter-options{display:contents!important}
 .pl-filter-drawer>summary{display:none}
}
.auth-error{color:#ffb5c9;line-height:1.5}
@media(max-width:600px){
 .ezz-main #plCard{order:-1;padding:14px}
 .ezz-main #plCard>.card-head{gap:6px;margin-bottom:10px}
 .ezz-main #plCard>.card-head h2{font-size:24px}
 .ezz-main #plCard>.card-head>a{display:none}
 .ezz-main #plMeta{font-size:10px;letter-spacing:.3px;width:100%}
 .ezz-main .pl-filters{display:block}
 .ezz-main .pl-search{display:none}
 .ezz-main .pl-filter-drawer{border:1px solid var(--line);border-radius:10px;background:var(--sunk)}
 .ezz-main .pl-filter-drawer>summary{padding:10px 12px;min-height:44px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:600;list-style:none}
 .ezz-main .pl-filter-drawer>summary::-webkit-details-marker{display:none}
 .ezz-main .pl-filter-drawer[open]>summary span{transform:rotate(180deg)}
 .ezz-main .pl-filter-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:4px 12px 14px}
 .ezz-main .pl-filter-options label{min-width:0}
 .ezz-main .pl-bar{margin:10px 0 4px;gap:8px;font-size:13px}
 .ezz-main #plReset{font-size:11px;padding:8px}
 .ezz-main .pl-name b{white-space:normal;font-size:15px}
 .ezz-main .pl-name span{white-space:normal;font-size:12px}
 .ezz-main .pl-row{column-gap:8px}
 .ezz-main #watchCard .note{font-size:12px}
 .ezz-main .wl-acct{display:grid;gap:12px}
 .ezz-main .wl-acct .acts{display:flex;flex-wrap:wrap;gap:8px}
 .ezz-main #wlIn{width:100%;min-height:48px}
 .ezz-main #plCard,.ezz-main #watchCard{scroll-margin-top:125px}
 .ezz-main #plCard>.note{font-size:12px;line-height:1.5}
}

/* Player search: compact results directly beneath the sticky phone header. */
.search-clear{display:none}
@media(max-width:600px){
 .ezz-main .search-clear:not([hidden]){display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;flex:none;margin-right:-9px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:26px/1 sans-serif;cursor:pointer;touch-action:manipulation}
 .ezz-main .search-clear:focus-visible{outline:2px solid #28dfef;outline-offset:-4px}
 .ezz-main .search input::-webkit-search-cancel-button{-webkit-appearance:none}
 .ezz-main.mobile-search-active #watchCard,.ezz-main.mobile-search-active #plCard>.note,.ezz-main.mobile-search-active #plCard>.card-head{display:none}
 .ezz-main.mobile-search-active #plCard{padding-top:12px}
 .ezz-main #plList{scroll-margin-top:145px}
}

@media(max-width:600px){.ezz-main .hscroll{margin-inline:-12px;padding-left:12px;padding-right:12px;scroll-padding-left:12px}
.ezz-prices th{letter-spacing:.03em}.ezz-prices th:nth-child(1){width:40%}.ezz-prices th:nth-child(3){width:17%}.ezz-prices th:nth-child(5){width:32%}.ezz-prices th.price-col{white-space:normal}}

/* Watchlist jump link: shown on phones only (see below). */
.pl-watch-jump{display:none}

/* Phones, 19 Oct: tidier Players rows, a reachable watchlist, bigger tap targets and no label under 10px. */
@media(max-width:600px){
 /* Players list: the name gets the row's width; the price sits above the star and Compare on the right. */
 .ezz-main .pl-row{grid-template-columns:42px minmax(0,1fr) 112px;grid-template-areas:"o n l" "m s s" "d d d";column-gap:10px;row-gap:10px;align-items:start}
 .ezz-main .pl-name b{line-height:1.2}
 .ezz-main .pl-name .pl-mob{margin-top:4px;line-height:1.45}
 .ezz-main .pl-name .pl-mob .sp-tag{display:inline-block;max-width:100%;margin:0 6px 2px 0;vertical-align:1px;font-size:11px}
 .ezz-main .pl-acts{width:112px;flex-wrap:wrap;justify-content:flex-end;gap:6px 4px}
 .ezz-main .pl-acts .pl-px{flex:0 0 100%;display:flex;justify-content:flex-end;text-align:right;font-size:12px;line-height:1.3}
 .ezz-main .pl-compare{min-height:44px;padding:4px 6px;font-size:11px}

 /* Watchlist: with players in it, it comes first on the Players tab; otherwise a link jumps down to it. */
 .ezz-main #plCard>.card-head>a.pl-watch-jump{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #6555a4;border-radius:8px;color:#43edf0;font:700 12px/1 var(--font-display);letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
 .ezz-main #players:has(#watchList .wl-row) #watchCard{order:-2}
 .ezz-main #players:has(#watchList .wl-row) #plCard>.card-head>a.pl-watch-jump{display:none}

 /* Tap targets: the small round stars keep their look but take a 44px tap area; "Show why" gets a full-height button. */
 .ezz-main .fcard .pl-star{width:32px;height:32px}
 .ezz-main .fcard .pl-star::after{content:"";position:absolute;inset:-6px;border-radius:50%}
 .ezz-main #tx-layout .ez-trade-more{min-height:44px;padding:0 6px 0 0;display:inline-flex;align-items:center}
 .ezz-main footer a{display:inline-block;padding:8px 2px}

 /* Small labels: section labels and badges at 11px, the logo tag at 10px. */
 .ezz-main .brand-tag{font-size:10px}
 .ezz-main .rowhead .eyebrow,.ezz-main .fifa-hero-kicker,.ezz-main .card-head .eyebrow,.ezz-main .status .pill{font-size:11px}
}
@media(max-width:600px){
 .ezz-main #livePill,.ezz-main #plCard .card-head .eyebrow{font-size:11px}
 .ezz-main .card-head .card-link{display:inline-flex;align-items:center;min-height:40px}
}
@media(max-width:600px){
 .ezz-prices td.player small,.ezz-prices th,.ezz-prices .th-sub,.ezz-prices .eyebrow{font-size:11px}
 .ezz-prices header .back{display:inline-flex;align-items:center;min-height:40px}
}
