﻿.mobile-filter-toggle{display:none}
.my-ads-list [data-retry-ads]{min-height:44px;margin:12px 0;padding:0 20px;border:1px solid #6351b1;border-radius:9px;background:#211b40;color:#eadfff;font:600 14px Inter,Arial,sans-serif;cursor:pointer}
.my-ads-list .empty-state>a{color:#8bcfff}
@media(max-width:850px){
  body .site-header .nav{width:calc(100% - 24px)!important;height:auto!important;min-height:58px!important;flex-wrap:wrap!important;gap:0!important;padding:8px 0 0!important}
  body .site-header{height:auto!important}
  body .site-header .brand{order:1!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;font-size:19px!important}
  body .site-header .actions{order:2!important;margin-left:auto!important;flex:0 0 auto!important;gap:6px!important}
  body .site-header #shared-club-menu{display:flex!important}
  body .site-header .nav>.shared-search,body .site-header .nav>.global-search{display:block!important;order:3!important;flex:0 0 100%!important;width:100%!important;max-width:none!important;min-width:0!important;margin:8px 0 0!important}
  body .site-header .global-search>input{width:100%!important;height:44px!important;box-sizing:border-box;font-size:16px!important}
  body .site-header .global-search-results{left:0!important;right:auto!important;top:calc(100% + 4px)!important;width:100%!important;box-sizing:border-box}
  body .site-header .nav nav{display:flex!important;order:4!important;flex:0 0 100%!important;width:100%!important;gap:4px!important;margin:8px 0 0!important;padding:0 0 8px!important;overflow:visible!important}
  body .site-header .nav nav a,body .site-header .nav nav a:nth-child(2),body .site-header .nav nav a:nth-child(3){display:flex!important;flex:1 1 0%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:8px 3px!important;border:1px solid #19344b!important;border-radius:8px!important;background:#081522!important;font-size:11px!important;line-height:1.2!important}
  body .site-header .nav nav a.on{border-color:#4561a0!important;background:#10243b!important}
  body .site-header .nav nav a[hidden]{display:none!important}
  body .site-header .nav nav a svg,body .site-header .nav nav a .transfer-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important;font-size:16px!important;font-weight:500!important;line-height:16px!important;transform:none!important}
  body .site-header .nav nav .live{width:8px;height:8px;flex:0 0 8px;box-shadow:none}
  body .site-header .account-trigger{min-height:40px!important;padding:3px!important}
  body .site-header .account-trigger span:not(.header-avatar){display:none!important}
  body .site-header .account-dropdown{max-width:calc(100vw - 24px)!important}
  body .club-page-hero,body .club-bottom-grid .club-roster-section,body .club-transfers-section{padding:16px}
  body .club-profile-title h1{overflow-wrap:anywhere}
  body .club-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body .club-profile-stats>div,body .club-profile-stats>.club-active-ads{min-width:0;padding:12px;box-sizing:border-box}
  body .club-public-member{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding:11px;min-width:0}
  body .club-public-member>.club-member-avatar{grid-column:1;grid-row:1/3;width:40px;height:40px}
  body .club-public-member>.club-member-info{grid-column:2;grid-row:1;min-width:0;flex-direction:row;align-items:center;gap:8px}
  body .club-member-info a{min-width:0;overflow-wrap:anywhere;line-height:1.3}
  body .club-public-member>.club-member-position{grid-column:2;grid-row:2;justify-self:start;min-width:0}
  body .club-public-member>.country-emoji{grid-column:3;grid-row:1/3;align-self:center}
  body .club-transfer-head,body .club-transfer-row{grid-template-columns:minmax(72px,auto) minmax(0,1fr) auto;gap:6px;padding:8px}
  body .hero{height:auto!important;min-height:0!important;padding:0!important}
  body .hero .intro{padding:24px 0 22px!important}
  body .hero h1{max-width:none!important;font-size:clamp(28px,7.5vw,35px)!important;line-height:1.13!important;letter-spacing:-.8px!important}
  body .hero h1 br,body .hero .lead br{display:none!important}
  body .hero .lead{font-size:14px!important;line-height:1.55!important}
  body .hero .perks{flex-wrap:wrap;gap:12px 18px!important}
  body #filters.filters{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;width:calc(100% - 24px)!important;height:auto!important;margin:0 auto!important;padding:12px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;box-sizing:border-box!important}
  body #filters.filters>.query{order:0;grid-column:1/-1!important}
  body #filters.filters>label:has(select[name=type]){order:1;grid-column:1/-1!important;display:grid!important}
  body #filters.filters>label:not(.query):not(:has(select[name=type])){order:4;display:none!important}
  body #filters.filters.mobile-filters-open>label:not(.query):not([hidden]){display:grid!important}
  body #filters.filters>label[hidden]{display:none!important}
  body #filters.filters>.mobile-filter-toggle{order:2;display:flex!important;align-items:center;justify-content:center;border:1px solid #34516c;border-radius:9px;background:#102235;color:#c3d9ed}
  body #filters.filters>.search{order:3;grid-column:auto!important}
  body #filters.filters>.clear{order:5;display:none!important}
  body #filters.filters.mobile-filters-open>.clear{display:flex!important;grid-column:1/-1!important}
  body #filters.filters select,body #filters.filters button{min-height:44px!important;font-size:13px!important}
  body #filters.filters select,body #filters.filters input{font-size:16px!important}
  body .content{padding-top:22px!important}
  body .feed-head{height:auto!important;min-height:44px!important;gap:10px!important;padding:0 0 14px!important;align-items:center!important}
  body .feed-head h2{font-size:20px!important}
  body .feed-head .feed-publish{min-height:44px!important}
  body #list.list.mode-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;scroll-margin-top:124px}
  body #list.list.mode-list>.listing-table-head{display:none!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:none!important;grid-template-areas:none!important;grid-auto-rows:auto!important;position:static!important;min-width:0!important;width:100%!important;min-height:0!important;max-width:100%!important;height:auto!important;gap:12px!important;padding:16px!important;border:1px solid #203b53!important;border-radius:14px!important;box-sizing:border-box!important;background:#081725!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>*{grid-column:1/-1!important;grid-row:auto!important;position:static!important;transform:none!important;min-width:0!important;max-width:100%!important;width:auto!important;justify-self:stretch!important;margin:0!important;box-sizing:border-box!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-identity{grid-row:1!important;gap:12px!important}
  body #list.list.mode-list .listing-identity .thumb{width:48px!important;height:48px!important;flex:0 0 48px!important}
  body #list.list.mode-list .listing-identity a,body #list.list.mode-list .listing-identity strong{white-space:normal!important;overflow-wrap:anywhere;font-size:15px!important;line-height:1.4!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-positions{grid-row:2!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-content:start!important;gap:6px!important;overflow:visible!important;white-space:normal!important}
  body #list.list.mode-list .listing-positions::before{content:'POSICIONES';flex:0 0 100%;margin-bottom:2px;color:#7e9bb8;font-size:10px;font-weight:700;letter-spacing:.08em}
  body #list.list.mode-list .position-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:38px!important;height:32px!important;padding:0 8px!important;font-size:12px!important;line-height:1!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-availability{grid-row:3!important;white-space:normal!important;overflow:visible!important;font-size:13px!important;line-height:1.6!important}
  body #list.list.mode-list:not(.non-player-mode)>.listing-row>.listing-availability{display:block!important}
  body #list.list.mode-list .listing-availability::before{content:'Disponibilidad: ';color:#91abc4}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-last-team{grid-row:4!important;white-space:normal!important;font-size:13px!important}
  body #list.list.mode-list:not(.non-player-mode)>.listing-row>.listing-last-team{display:block!important}
  body #list.list.mode-list .listing-last-team::before{content:'Últimos clubes: ';color:#91abc4}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-message{grid-row:5!important;display:block!important;white-space:normal!important;overflow:visible!important;max-height:none!important;padding:12px!important;border-radius:9px!important;background:#0d2031!important;font-size:14px!important;line-height:1.6!important;overflow-wrap:anywhere}
  body #list.list.mode-list>.listing-row>.listing-message:empty{display:none!important}
  body #list.list.mode-list.non-player-mode:not(.friendly-feed)>.listing-row>.listing-message{grid-row:3!important}
  body #list.list.mode-list.non-player-mode:not(.friendly-feed)>.listing-row>.listing-published,body #list.list.mode-list.non-player-mode:not(.friendly-feed)>.listing-row>.listing-actions{grid-row:4!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-published{grid-column:1!important;grid-row:6!important;display:flex!important;flex-direction:column!important;align-self:center!important;white-space:normal!important;overflow:visible!important;font-size:12px!important;line-height:1.5!important;padding:0!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.listing-row>.listing-actions{grid-column:2!important;grid-row:6!important;display:flex!important;flex-wrap:nowrap!important;justify-self:end!important;align-self:center!important;align-items:center!important;justify-content:center!important;gap:0!important;width:auto!important;min-width:0!important;padding:0!important}
  body #list.list.mode-list .listing-actions>.ad-icon-action{grid-column:auto!important;grid-row:auto!important;width:44px!important;min-width:44px!important;height:44px!important;flex:0 0 44px!important;padding:0!important}
  body #list.list.mode-list .listing-actions>.discord-profile-link{width:44px!important;height:44px!important;min-width:44px!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.friendly-listing>.match-hour{grid-row:2!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;white-space:normal!important}
  body #list.list.mode-list .match-hour::before{content:'HORAS DISPONIBLES';flex:0 0 100%;color:#7e9bb8;font-size:10px;font-weight:700;letter-spacing:.08em}
  body #list.list.mode-list .match-hour>button,body #list.list.mode-list .match-hour>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:70px!important;min-height:42px!important;box-sizing:border-box!important;font-size:14px!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.friendly-listing>.match-date{grid-column:1!important;grid-row:3!important;align-self:center!important;white-space:normal!important;color:#bbd1e5!important;font-size:13px!important}
  body #list.list.mode-list .match-date::before{content:'Fecha: '!important;color:#829fb9!important}
  body #list.list.mode-list:is(.non-player-mode,.friendly-feed,.mode-list)>.friendly-listing>.match-actions{grid-column:2!important;grid-row:3!important}
  body .stats-card{padding:16px!important}
  body .stats{gap:8px!important}
  body .stats div{height:auto!important;min-height:82px!important;padding:12px 4px!important}
  body .stats small{font-size:11px!important}
  body .my-ad{padding:16px;gap:13px;grid-template-columns:minmax(0,1fr)}
  body .my-ad-status{flex-wrap:wrap}
  body .my-ad-body strong{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
  body .my-ad-body p{white-space:normal;overflow:visible;font-size:14px;line-height:1.6}
  body .my-ad-actions{justify-content:flex-end}
  body .my-ad-actions button{min-height:44px;min-width:44px}
  body .auth-card{max-height:calc(100dvh - 24px);overflow:auto;padding:24px 18px;box-sizing:border-box}
  body .auth-card .field-grid{grid-template-columns:minmax(0,1fr)}
  body .auth-form input:not([type=checkbox]),body .auth-form select,body .auth-form textarea{font-size:16px}
  body .matches-shell{width:calc(100% - 24px);padding-top:22px}
  body .matches-calendar{grid-template-columns:minmax(0,1fr);overflow:visible;gap:12px}
  body .matches-day{min-width:0;max-width:100%}
  body .matches-day>header{height:auto;padding:15px;background:#0d2031}
  body .matches-day>header strong{font-size:16px}
  body .matches-day[data-collapsed=true]>.matches-time-slot{display:none}
  body .calendar-day-toggle{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:4px;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
  body .calendar-day-toggle small,body .calendar-day-toggle strong{grid-column:1}
  body .calendar-day-toggle>span{grid-column:2;grid-row:1/3;align-self:center;color:#82c9ef;font-size:24px;text-align:center}
  body .matches-time-slot{grid-template-columns:48px minmax(0,1fr);align-items:center;min-height:48px;padding:10px 14px;gap:10px}
  body .matches-time-slot>time{font-size:12px}
  body .matches-slot-game{font-size:12px;padding:10px;gap:8px}
  body .matches-slot-game strong{font-size:12px}
  body .matches-game-actions .matches-discord,body .matches-game-actions .matches-delete{width:36px;height:36px}
  body .matches-time-slot .matches-slot-game~.matches-slot-game{grid-column:2}
  body .matches-heading{height:auto!important;min-height:0!important;flex-direction:column;align-items:flex-start;gap:14px;padding:20px}
  body .notifications-heading,body .transfers-heading{height:auto!important;min-height:0!important}
  body .matches-legend span{font-size:11px}
  body .roster-page-content{padding:14px}
  body .roster-group>header{height:auto;min-height:0;position:static;z-index:auto;padding:12px 0;background:transparent;border:0}
  body .roster-hero{gap:14px;padding:18px}
  body .roster-hero h1{font-size:24px;overflow-wrap:anywhere}
  body .roster-table-wrap{overflow:visible;border:0;background:transparent}
  body .roster-group table,body .roster-group tbody{display:block;width:100%;min-width:0}
  body .roster-group thead{display:none}
  body .roster-group tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:10px;padding:14px;border:1px solid #24415a;border-radius:12px;background:#091a29}
  body .roster-group td{padding:0;border:0;text-align:left!important;font-size:13px;min-width:0;overflow-wrap:anywhere}
  body .roster-group td:first-child{grid-column:1/-1}
  body .roster-group td:nth-child(2)::before,body .roster-group td:nth-child(3)::before,body .roster-group td:nth-child(4)::before,body .roster-group td:nth-child(5)::before{display:block;margin-bottom:8px;color:#829fb9;font-size:10px}
  body .roster-group td:nth-child(2)::before{content:'PLATAFORMA'}
  body .roster-group td:nth-child(3)::before{content:'REGIÓN'}
  body .roster-group td:nth-child(4)::before{content:'POSICIÓN'}\n  body .roster-group td:nth-child(5)::before{content:'ROL'}
  body .roster-group td:nth-child(6){grid-column:1/-1;padding-top:10px;border-top:1px solid #1b374c}
  body .roster-table-actions{justify-content:flex-start;flex-wrap:wrap}
  body .roster-table-actions button{min-height:40px;font-size:12px;padding:8px 12px}
  body .roster-empty-row td{grid-column:1/-1}
  body .live-shell{width:calc(100% - 24px)}
  body .live-heading{padding:20px;min-height:0;gap:18px}
  body .live-heading h1{font-size:28px}
  body .live-heading p{font-size:14px;line-height:1.5}
  body .live-list{display:grid;gap:12px;border:0;background:transparent;overflow:visible;box-shadow:none}
  body .live-list>.live-table-head{display:none}
  body .live-row{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:16px;border:1px solid #24415a;border-radius:14px;background:#081725}
  body .live-row>*{min-width:0}
  body .live-row .live-person{grid-column:1/-1}
  body .live-row .live-club{grid-column:1/-1;justify-content:flex-start}
  body .live-row .live-club strong{white-space:normal;font-size:14px}
  body .live-row .live-positions{grid-column:1/-1;gap:6px}
  body .live-row .live-date{grid-column:1;grid-row:4}
  body .live-row .live-info{grid-column:1/-1;grid-row:5;grid-template-columns:minmax(0,1fr);gap:12px;font-size:13px}
  body .live-row>:last-child.live-discord{display:grid;grid-column:2;grid-row:4;width:44px;height:44px}
  body .live-row .live-actions{display:flex;flex-wrap:wrap;gap:8px}
  body .live-row .live-actions button{min-height:42px;font-size:12px;padding:8px 12px}
}
@media(max-width:420px){
  body .site-header .nav nav a,body .site-header .nav nav a:nth-child(2),body .site-header .nav nav a:nth-child(3){flex-direction:column!important;min-height:56px!important;gap:5px!important;padding:7px 2px!important}
  body .site-header .nav nav a .live{margin:4px 0!important}
}
@media(max-width:850px){body #filters.filters.friendly-mode{grid-template-columns:repeat(2,minmax(0,1fr))!important}body #filters.filters.friendly-mode>.query{grid-column:1/-1!important}body #filters.filters.friendly-mode>label.friendly-date-filter,body #filters.filters.friendly-mode>label.friendly-hour-filter{display:grid!important;order:1;min-width:0}body #filters.filters.friendly-mode>.search{order:2}body #filters.filters.friendly-mode>.clear{order:3;display:flex!important;grid-column:auto!important}body #filters.filters.friendly-mode>.mobile-filter-toggle{display:none!important}}

@media(max-width:850px){body.roster-page .roster-group tbody tr:not(.roster-empty-row){grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:16px;row-gap:14px}body.roster-page .roster-group td{min-width:0;overflow-wrap:normal;word-break:normal}body.roster-page .roster-group td:first-child,body.roster-page .roster-group td:nth-child(6){grid-column:1/-1}body.roster-page .roster-group td:first-child{overflow:hidden}body.roster-page .roster-group td:nth-child(2)::before,body.roster-page .roster-group td:nth-child(3)::before,body.roster-page .roster-group td:nth-child(4)::before,body.roster-page .roster-group td:nth-child(5)::before,body.roster-page .roster-group td:nth-child(6)::before{white-space:nowrap;overflow-wrap:normal;word-break:normal}body.roster-page .roster-group td:nth-child(2),body.roster-page .roster-group td:nth-child(3),body.roster-page .roster-group td:nth-child(4),body.roster-page .roster-group td:nth-child(5){text-align:left!important}body.roster-page .roster-table-player{min-width:0}body.roster-page .roster-table-player .player-id-stack{min-width:0;overflow-wrap:anywhere}body.roster-page .roster-table-player a{overflow-wrap:anywhere}body.roster-page .roster-empty-row td{grid-column:1/-1}}
