/* --- inline-style-1 --- */
:root{
      --bg:#04101a; --bg2:#071628; --panel:#0a1627; --line:rgba(255,255,255,.07);
      --text:#eef3f9; --muted:#9cb0c7; --accent:#22c55e; --accent-dark:#16a34a;
      --shadow:0 18px 42px rgba(0,0,0,.34); --sidebar-w:var(--mf-shell-sidebar-width,132px); --gap:18px; --top-h:88px;
    }
     *{box-sizing:border-box}
html,
body{width:100%;height:100%}
    body{margin:0;overflow:hidden;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:radial-gradient(circle at 15% 12%, rgba(34,197,94,.08), transparent 22%),radial-gradient(circle at 86% 10%, rgba(59,130,246,.08), transparent 22%),linear-gradient(145deg,var(--bg) 0%,var(--bg2) 58%,#020814 100%)}
     button,
input,
textarea,
select{font:inherit}
    .app{height:100%;overflow:hidden;}
    
    
    
    
    
    
    
    
    .nav-icon-field{width:28px;height:18px;display:block;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Crect x='2' y='2' width='60' height='36' rx='8' fill='none' stroke='%23bff4ce' stroke-width='3'/%3E%3Cpath d='M32 2v36M2 20h60' stroke='%23bff4ce' stroke-width='3'/%3E%3Ccircle cx='32' cy='20' r='6' fill='none' stroke='%23bff4ce' stroke-width='3'/%3E%3Cpath d='M2 12h9v16H2M53 12h9v16h-9' stroke='%23bff4ce' stroke-width='3' fill='none'/%3E%3C/svg%3E");}
    

    
    
    
    
    .main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
    .topbar{border:1px solid var(--line);border-radius:30px;background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));box-shadow:var(--shadow);padding:0 24px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;overflow:hidden;min-height:var(--top-h)}
    .title{margin:0;font-size:30px;line-height:1.02;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .top-pills{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
    .pill{min-height:38px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);display:inline-flex;align-items:center;font-size:13px;font-weight:700;color:var(--text)}
    .pill.accent{border-color:rgba(34,197,94,.18);background:rgba(22,163,74,.10)}
    .content{flex:1;min-height:0;display:flex;flex-direction:column;gap:18px;overflow:auto;padding:0 6px 10px 0;}
    .content::-webkit-scrollbar{width:10px}.content::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}
    .card,
.panel{min-height:0;border-radius:28px;border:1px solid var(--line);background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));box-shadow:var(--shadow);overflow:hidden}
    .hero{padding:24px 26px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:20px;align-items:start;min-height:170px;position:relative;z-index:1}
    .hero-main,
.hero-side{min-width:0}
    .hero-main{display:flex;flex-direction:column;justify-content:flex-start;gap:16px}
    .hero-copy-wrap{display:grid;gap:8px;align-content:start}
    .hero-title{margin:0;font-size:42px;line-height:1.05;font-weight:900}
    .hero-copy{font-size:14px;line-height:1.6;color:var(--muted);max-width:760px}.hero-copy:empty,
.status:empty{display:none}
    .hero-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:2px}
    .hero-side{display:flex;align-items:flex-start;justify-content:flex-end}
    .btn{min-height:40px;padding:0 16px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:var(--text);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}
    .btn.primary{background:linear-gradient(180deg, rgba(34,197,94,.24), rgba(22,163,74,.16));border-color:rgba(34,197,94,.26)}
    .btn.subtle{background:rgba(255,255,255,.03)} .btn.danger{background:rgba(127,29,29,.32);border-color:rgba(248,113,113,.18);color:#fecaca}
    .metrics{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start}
    .metric{min-height:116px;border-radius:20px;border:1px solid rgba(255,255,255,.05);background:rgba(255,255,255,.03);padding:16px 18px}
    .metric-k{font-size:11px;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-weight:800}
    .metric-v{margin-top:10px;font-size:20px;line-height:1.1;font-weight:900;overflow:hidden;text-overflow:ellipsis}
    .metric-m{margin-top:6px;font-size:12px;line-height:1.4;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
    .workspace{display:grid;grid-template-columns:1fr;gap:18px;align-items:start;position:relative;z-index:0}
    .panel{padding:18px 20px;display:flex;flex-direction:column;gap:16px}.panel-roster{overflow:hidden;align-self:start}.panel-roster .list{flex:1;min-height:0}.panel-profile{min-height:0;align-self:start;height:auto;display:none}.panel-profile.is-open{display:flex}.profile-return{display:flex;align-items:flex-start;justify-content:flex-end;min-width:max-content}.player-detail-only{display:none}
    .section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}
    .section-title{margin:0;font-size:22px;font-weight:900}
    .section-copy{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
    .toolbar{display:flex;gap:10px;flex-wrap:wrap}
    .input,
.select,
.textarea{min-height:40px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:var(--text);padding:0 14px;font:inherit;min-width:0;outline:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;box-shadow:none}
    .textarea{min-height:92px;padding:12px 14px;resize:vertical}
    .select{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23eef3f9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px;padding-right:42px}
    .input:focus,
.select:focus,
.textarea:focus{border-color:rgba(34,197,94,.34);box-shadow:0 0 0 3px rgba(34,197,94,.12)}
    .select option{background:#132237;color:#eef3f9}
    .list{min-height:0;overflow:auto;display:grid;gap:12px;padding-right:4px;align-content:start;grid-auto-rows:max-content}
    .list::-webkit-scrollbar{width:10px}.list::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:999px}.list::-webkit-scrollbar-thumb{background:linear-gradient(180deg, rgba(34,197,94,.28), rgba(255,255,255,.12));border-radius:999px;border:2px solid transparent;background-clip:padding-box}
    .empty-state{display:grid;gap:12px;padding:18px;border-radius:20px;border:1px dashed rgba(255,255,255,.10);background:rgba(255,255,255,.02);align-content:start}
    .player-card{border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);border-radius:20px;padding:16px;display:grid;gap:10px;cursor:pointer;align-self:start}
    .player-card.active{border-color:rgba(34,197,94,.26);box-shadow:inset 0 0 0 1px rgba(34,197,94,.12)}
    .player-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:flex-start}
    .player-card-main{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center}
    .player-card-photo{width:52px;height:52px;border-radius:15px;overflow:hidden;display:flex;align-items:center;justify-content:center;align-self:center;border:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03))}
    .player-card-photo img{width:100%;height:100%;display:block;object-fit:cover}
    .player-card-photo-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg, rgba(34,197,94,.22), rgba(59,130,246,.16));color:#f8fafc;font-size:17px;font-weight:900;letter-spacing:.02em}
    .player-card-copy{min-width:0;display:grid;gap:4px;align-content:center}
    .player-name{font-size:16px;font-weight:900;line-height:1.2;word-break:break-word}
    .player-meta{font-size:12px;color:var(--muted);line-height:1.45}
    .tag-row{display:flex;flex-wrap:wrap;gap:8px}
    .roster-table{display:grid;gap:10px;min-width:0}
    .roster-table-head,
.roster-row{display:grid;grid-template-columns:minmax(240px,1.45fr) minmax(120px,.78fr) minmax(72px,.45fr) minmax(110px,.62fr) minmax(130px,.72fr) minmax(130px,.72fr) minmax(100px,.48fr);gap:12px;align-items:center}
    .roster-table-head{padding:0 16px;color:var(--accent);font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.09em;font-weight:900}
    .roster-row{width:100%;min-height:72px;border-radius:20px;padding:10px 16px;background:rgba(255,255,255,.028);transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;outline:none}
    .roster-row:hover,
.roster-row:focus-visible{border-color:var(--mfe-accent-border);background:rgba(255,255,255,.045);box-shadow:0 14px 30px rgba(0,0,0,.16);transform:translateY(-1px)}
    .roster-row.active{border-color:var(--mfe-accent-border);background:linear-gradient(180deg, rgba(var(--mfe-accent-rgb),.14), rgba(var(--mfe-accent-rgb),.05));box-shadow:inset 0 0 0 1px rgba(var(--mfe-accent-rgb),.12),0 12px 26px rgba(0,0,0,.12)}
    .roster-cell{min-width:0;font-size:13px;line-height:1.35;color:#dce7f4;font-weight:700;display:flex;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .roster-cell-player{white-space:normal}
    .roster-physical{display:flex;gap:8px;flex-wrap:wrap;color:#dce7f4}
    .roster-muted{color:var(--muted);font-size:12px;font-weight:700}
    .roster-action{justify-content:flex-end;color:var(--mfe-accent-text);font-size:12px;font-weight:900}
    .roster-action span{min-height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--mfe-accent-border);background:var(--mfe-accent-bg);display:inline-flex;align-items:center;justify-content:center}
    @media (max-width:1180px){
      .roster-table-head{display:none}
      .roster-row{grid-template-columns:1fr;gap:10px;padding:14px;align-items:start}
      .roster-cell{white-space:normal;justify-content:space-between;align-items:flex-start;border-top:1px solid rgba(255,255,255,.055);padding-top:10px}
      .roster-cell-player{border-top:0;padding-top:0;justify-content:flex-start}
      .roster-cell[data-label]::before{content:attr(data-label);color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900;margin-right:14px;flex:0 0 auto}
      .roster-cell-player::before,
.roster-action::before{display:none}
      .roster-action{justify-content:flex-start;border-top:0;padding-top:0}
    }
    .tag{min-height:24px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.05);font-size:11px;font-weight:800;color:#d8e2ee}
    .tag.status-available{background:rgba(22,163,74,.12);border-color:rgba(34,197,94,.20);color:#d8ffe6}
    .tag.status-monitor{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.20);color:#fde68a}
    .tag.status-injured,
.tag.status-suspended{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.20);color:#fecaca}
    .profile-preview{border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);border-radius:20px;padding:16px;display:grid;gap:14px;align-content:start}
    .photo-box{width:100%;aspect-ratio:1/1;border-radius:22px;border:1px dashed rgba(255,255,255,.10);background:rgba(255,255,255,.02);display:flex;align-items:center;justify-content:center;overflow:hidden}
    .photo-box img{width:100%;height:100%;object-fit:cover}
    .photo-placeholder{font-size:12px;line-height:1.4;color:var(--muted);text-align:center;padding:16px}
    .file-picker{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
    .file-picker-meta{min-height:40px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);display:flex;align-items:center;padding:0 14px;color:var(--muted);font-size:13px;line-height:1.35;min-width:0}
    .profile-name{font-size:24px;font-weight:900;line-height:1.05}
    .profile-sub{font-size:13px;color:var(--muted);line-height:1.45}
    .identity-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .identity-card{border-radius:16px;border:1px solid rgba(255,255,255,.05);background:rgba(255,255,255,.03);padding:12px;display:grid;gap:6px}
    .identity-label{font-size:11px;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-weight:800}
    .identity-value{font-size:16px;font-weight:900;display:flex;align-items:center;gap:8px}
    .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .field{display:grid;gap:6px;min-width:0}.field.full{grid-column:1 / -1}
    .label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:800}
    .module{padding:18px;display:flex;flex-direction:column;gap:14px;align-items:stretch;justify-content:flex-start}.module > *{flex:0 0 auto}.module.module-track{display:grid;grid-template-rows:auto auto auto auto;gap:14px;align-content:start}.module-head{display:grid;gap:6px;min-height:58px}.module-fields{display:grid;gap:10px;align-content:start;height:auto;min-height:0}.module-wellness-grid,
.module-pse-grid,
.module-gps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}.module-note{padding-top:8px}.module-note .textarea{min-height:92px;height:92px;resize:none}.module-actions{align-items:center}
    .module-kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:800}
    .module-title{margin:0;font-size:22px;line-height:1.1;font-weight:900}
    .module-copy{margin:0;color:#d2deeb;font-size:14px;line-height:1.55}
    .mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .mini-card{border-radius:18px;padding:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);display:grid;gap:6px}
    .mini-k{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:800}
    .mini-v{font-size:18px;line-height:1.08;font-weight:900}
    .mini-m{font-size:12px;color:var(--muted);line-height:1.45}
    .inline-actions{display:flex;gap:10px;flex-wrap:wrap}
    .rows{display:grid;gap:10px}.row-item{border-radius:18px;padding:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);display:grid;gap:10px}
    .row-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.row-grid .label{min-height:28px;display:flex;align-items:flex-end;line-height:1.18;font-size:10px}
    .status{color:var(--muted);font-size:13px;line-height:1.5;min-height:18px}
    .empty{color:var(--muted);font-size:13px;line-height:1.5;padding:12px 0}
    .history-block{display:grid;gap:12px;padding-top:6px}.history-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:10px}.history-meta{font-size:12px;color:var(--muted);line-height:1.45}.selector-field{width:100%;min-width:0;max-width:none;justify-self:stretch}.selector-field .label{font-size:10px}.status:empty{display:none}.trend-chart{border-radius:18px;padding:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);display:grid;gap:10px}.trend-caption{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:800}.trend-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:10px;align-items:end;min-height:96px}.trend-bar-wrap{display:grid;gap:8px;justify-items:center}.trend-bar{width:100%;max-width:30px;border-radius:12px 12px 6px 6px;background:linear-gradient(180deg, rgba(var(--mfe-accent-rgb),.58), rgba(var(--mfe-accent-rgb),.18));border:1px solid rgba(255,255,255,.08);min-height:8px}.trend-value{font-size:11px;font-weight:800;color:var(--text)}.trend-label{font-size:10px;color:var(--muted);text-align:center;line-height:1.3}.history-list{display:grid;gap:10px}.history-item{width:100%;border-radius:18px;padding:12px 14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;color:var(--text);cursor:pointer}.history-item-main{min-width:0;display:grid;gap:4px}.history-title{font-size:13px;font-weight:800;line-height:1.35}.history-sub{font-size:12px;color:var(--muted);line-height:1.45;word-break:break-word}.history-value{font-size:14px;font-weight:900;color:var(--mfe-accent-text)}
    .modal{position:fixed;inset:0;z-index:2650;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(2,6,23,.64);backdrop-filter:blur(12px)}
    .modal.open{display:flex}.modal-card{width:min(100%,640px);border-radius:28px;border:1px solid var(--line);background:radial-gradient(circle at top right, rgba(34,197,94,.08), transparent 24%),linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),#0a1527;box-shadow:0 32px 80px rgba(2,6,23,.5);padding:28px;display:grid;gap:18px}
    .modal-badge{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 18px;border-radius:999px;border:1px solid rgba(34,197,94,.24);background:rgba(22,163,74,.12);color:#d8ffe6;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;justify-self:start}
    .modal-title{margin:0;font-size:28px;line-height:1.05;font-weight:900;color:var(--text)}
    .modal-copy{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}
    .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal-input{width:100%;min-height:54px;padding:0 18px;border-radius:18px;border:1px solid var(--mfa-dialog-border,var(--line));background:rgba(5,13,28,.82);color:var(--text);font-size:18px;font-weight:800}
    .modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.footer-note{font-size:12px;color:var(--muted);line-height:1.45}
    @media (hover:hover){.btn,
button{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease, background .18s ease, color .18s ease}.btn:hover,
button:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.14)!important;box-shadow:0 12px 24px rgba(0,0,0,.18);filter:brightness(1.06)}.btn.primary:hover{box-shadow:0 16px 28px rgba(34,197,94,.26);filter:brightness(1.08)}}
    @media (max-width:1360px){.hero,
.workspace{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
        @media (max-width:900px){html,
body{height:auto;min-height:100%}body{overflow:auto;-webkit-overflow-scrolling:touch}.app{min-height:100vh;height:auto;overflow:visible;}.main,
.content{display:block;height:auto;overflow:visible}.hero,
.panel,
.card,
.module{border-radius:22px}.hero,
.panel,
.module{padding:16px}.hero-actions,
.inline-actions,
.modal-actions,
.file-picker{display:grid;grid-template-columns:1fr;gap:10px}.hero-actions .btn,
.inline-actions .btn,
.modal-actions .btn,
.file-picker .btn{width:100%}.metrics,
.field-grid,
.mini-grid,
.modal-grid,
.row-grid,
.history-head{grid-template-columns:1fr}.content{padding-right:0}.list{max-height:none;overflow:visible;padding-right:0}.input,
.select,
.textarea,
input,
select,
textarea{font-size:16px}.selector-field{justify-self:stretch}}
  
<style id="club-loading-overlay-styles">
  body.is-app-loading{overflow:hidden;}
  
  
  .task-loading-overlay{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
  }
  .task-loading-overlay.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .app-loading-card{
    width:min(430px, calc(100vw - 32px));
    padding:28px 24px 24px;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.08);
    background:
      radial-gradient(circle at top, rgba(34,197,94,.16), transparent 36%),
      linear-gradient(180deg, rgba(15,23,42,.96), rgba(2,6,23,.98));
    box-shadow:0 30px 80px rgba(0,0,0,.44);
    text-align:center;
    display:grid;
    justify-items:center;
  }
  .app-loading-card > *{
    max-width:100%;
  }
  .app-loading-title,
.app-loading-copy,
.app-loading-foot{
    width:100%;
    text-align:center;
  }
  .app-loading-progress-wrap{
    width:100%;
  }
  .app-loading-logo-wrap{
    width:84px;
    height:84px;
    margin:0 auto 16px;
    padding:10px;
    border-radius:24px;
    background:linear-gradient(135deg, rgba(34,197,94,.18), rgba(21,128,61,.22));
    border:1px solid rgba(34,197,94,.24);
    box-shadow:0 16px 34px rgba(34,197,94,.18);
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .app-loading-logo{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    border-radius:18px;
  }

  .app-loading-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 12px;
    margin-bottom:14px;
    border-radius:999px;
    border:1px solid rgba(34,197,94,.22);
    background:rgba(34,197,94,.10);
    color:#bbf7d0;
    font-size:11px;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
  }
  .app-loading-title{
    margin:0;
    font-size:clamp(24px, 3vw, 28px);
    line-height:1.05;
    font-weight:900;
    color:#f8fafc;
    white-space:nowrap;
  }
  .app-loading-copy{
    margin:10px 0 0;
    color:#cbd5e1;
    font-size:14px;
    line-height:1.55;
  }
  .app-loading-progress-wrap{
    margin-top:22px;
    display:grid;
    gap:12px;
  }
  .app-loading-progress-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    text-align:left;
  }
  .app-loading-status{
    min-width:0;
    color:#e2e8f0;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .app-loading-percent{
    color:#86efac;
    font-size:13px;
    font-weight:900;
    letter-spacing:.04em;
  }
  .app-loading-bar{
    position:relative;
    height:14px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.07);
    box-shadow:inset 0 1px 2px rgba(0,0,0,.22);
  }
  .app-loading-bar-fill{
    position:absolute;
    inset:0 auto 0 0;
    width:0%;
    border-radius:inherit;
    background:linear-gradient(90deg, #22c55e 0%, #4ade80 55%, #86efac 100%);
    box-shadow:0 0 24px rgba(34,197,94,.28);
    transition:width .3s ease;
    overflow:hidden;
  }
  .app-loading-bar-fill::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.26) 45%, transparent 100%);
    transform:translateX(-100%);
    animation:appLoadingShine 1.3s linear infinite;
  }
  .app-loading-foot{
    margin-top:14px;
    color:#94a3b8;
    font-size:12px;
  }
  @keyframes appLoadingShine{
    to{ transform:translateX(100%); }
  }
  @media (max-width: 640px){
    .app-loading-card{
      padding:24px 18px 20px;
      border-radius:24px;
    }
    .app-loading-logo-wrap{
      width:74px;
      height:74px;
      border-radius:22px;
    }
    .app-loading-title{
      font-size:22px;
      white-space:normal;
    }
    .app-loading-progress-head{
      flex-wrap:wrap;
    }
    .app-loading-status,
.app-loading-percent{
      width:100%;
      text-align:left;
    }
  }


/* --- mobile navigation aligned with Tactical Animations --- */

@media(max-width:760px){
  html,
body{width:100%;max-width:100%;height:auto;min-height:100%;overflow-x:hidden!important;overflow-y:auto!important}
  body{min-height:100svh}
  .app{
    
    
    
    
    height:auto!important;
    min-height:100svh!important;
    overflow:visible!important;
    
  }
  
  
  
  
  
  
  
  
  
  
  .nav-icon-field{width:24px!important;height:16px!important}
  
  .main,
.content,
.workspace,
.editor-grid,
.editor-host,
.editor-scroll,
.preview-panel,
.list,
.panel,
.card,
.hero,
.topbar{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .main{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    display:grid!important;
    gap:10px!important;
  }
  .content,
.workspace,
.editor-grid,
.editor-host,
.editor-scroll,
.preview-panel,
.list{height:auto!important;min-height:0!important;overflow:visible!important}
  .hero,
.topbar{grid-template-columns:1fr!important;padding:12px!important;border-radius:22px!important;gap:12px!important}
  .hero-actions,
.toolbar,
.savebar,
.row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
  .hero-actions .btn,
.toolbar .btn,
.savebar .btn,
.row .btn{width:100%!important;min-height:38px!important;font-size:12px!important}
  
}


/* --- mfe-mobile-menu-compact-final --- */
@media (max-width: 760px){
    
    
    
    
    
    
    
    
    
    
    
    .nav-icon-field{width:24px !important;height:16px !important;}
    
  }

/* --- mfe-theme-system-css --- */
/* My Football Editor - global theme layer */
:root{
  color-scheme:dark;
  --mfe-surface-plain:rgba(255,255,255,.03);
  --mfe-surface-soft:rgba(255,255,255,.04);
  --mfe-card-bg:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  --mfe-card-bg-strong:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  --mfe-input-bg:rgba(255,255,255,.04);
  --mfe-input-border:rgba(255,255,255,.09);
  --mfe-accent-rgb:34,197,94;
  --mfe-accent-bg:rgba(var(--mfe-accent-rgb),.12);
  --mfe-accent-bg-strong:rgba(var(--mfe-accent-rgb),.22);
  --mfe-accent-border:rgba(var(--mfe-accent-rgb),.26);
  --mfe-accent-text:#d8ffe6;
  --mfe-danger:#ef4444;
  --mfe-warning:#f59e0b;
  --mfe-success:#22c55e;
  --mfe-scroll-track:rgba(255,255,255,.04);
  --mfe-scroll-thumb:rgba(var(--mfe-accent-rgb),.42);
  --mfe-scroll-thumb-hover:rgba(var(--mfe-accent-rgb),.62);
}

html[data-mfe-theme="gray"]{
  color-scheme:dark;
  --bg:#111315;
  --bg2:#1d2024;
  --panel:#171a1f;
  --line:rgba(255,255,255,.09);
  --text:#f3f4f6;
  --muted:#a8b0bb;
  --accent:#d1d5db;
  --accent-dark:#9ca3af;
  --accent-blue:#cbd5e1;
  --shadow:0 18px 42px rgba(0,0,0,.38);
  --mfe-surface-plain:rgba(255,255,255,.035);
  --mfe-surface-soft:rgba(255,255,255,.05);
  --mfe-card-bg:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  --mfe-card-bg-strong:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  --mfe-input-bg:rgba(255,255,255,.05);
  --mfe-input-border:rgba(255,255,255,.11);
  --mfe-accent-rgb:209,213,219;
  --mfe-accent-bg:rgba(209,213,219,.10);
  --mfe-accent-bg-strong:rgba(209,213,219,.18);
  --mfe-accent-border:rgba(209,213,219,.26);
  --mfe-accent-text:#f8fafc;
  --mfe-scroll-track:rgba(255,255,255,.04);
  --mfe-scroll-thumb:rgba(209,213,219,.32);
  --mfe-scroll-thumb-hover:rgba(209,213,219,.50);
}



html[data-mfe-theme="gray"] body{
  background:radial-gradient(circle at 15% 12%, rgba(209,213,219,.08), transparent 24%),radial-gradient(circle at 86% 10%, rgba(148,163,184,.08), transparent 24%),linear-gradient(145deg, var(--bg) 0%, var(--bg2) 58%, #090a0c 100%)!important;
}






























@media(max-width:900px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.theme-custom-controls{grid-template-columns:1fr;}.theme-option{min-height:104px;}}
@media(max-width:520px){.theme-grid{grid-template-columns:1fr;}}

/* --- mfe-theme-progress-overlay-fix --- */
/* Theme-aware progress bars, export modals and Dashboard daily report refinements */



































/* --- mfe-theme-progress-text-fix --- */



/* --- mfe-theme-accent-complete-fix --- */
/* My Football Editor - complete theme accent correction */

html[data-mfe-theme="gray"]{
  color-scheme:light;
  --bg:#f3f4f6;
  --bg2:#e5e7eb;
  --panel:#ffffff;
  --line:rgba(17,24,39,.14);
  --text:#111827;
  --muted:#4b5563;
  --accent:#111827;
  --accent-dark:#000000;
  --accent-blue:#374151;
  --shadow:0 18px 42px rgba(17,24,39,.13);
  --mfe-surface-plain:rgba(255,255,255,.92);
  --mfe-surface-soft:rgba(255,255,255,.96);
  --mfe-card-bg:linear-gradient(180deg, rgba(255,255,255,.98), rgba(243,244,246,.94));
  --mfe-card-bg-strong:linear-gradient(180deg, rgba(255,255,255,1), rgba(229,231,235,.96));
  --mfe-input-bg:rgba(255,255,255,.96);
  --mfe-input-border:rgba(17,24,39,.16);
  --mfe-accent-rgb:17,24,39;
  --mfe-accent-bg:rgba(17,24,39,.08);
  --mfe-accent-bg-strong:rgba(17,24,39,.14);
  --mfe-accent-border:rgba(17,24,39,.26);
  --mfe-accent-text:#ffffff;
  --mfe-scroll-track:rgba(17,24,39,.06);
  --mfe-scroll-thumb:rgba(17,24,39,.36);
  --mfe-scroll-thumb-hover:rgba(17,24,39,.58);
}
html[data-mfe-theme="gray"] body{
  background:radial-gradient(circle at 15% 12%, rgba(17,24,39,.07), transparent 24%),radial-gradient(circle at 86% 10%, rgba(75,85,99,.08), transparent 24%),linear-gradient(145deg, var(--bg) 0%, var(--bg2) 58%, #d1d5db 100%)!important;
}


/* text accents: section labels, card labels, small titles */
html[data-mfe-theme]:not([data-mfe-theme="base"]) .eyebrow,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .metric-k,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .section-kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .card-kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .block-kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .tile-kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .stat-k,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .stat-label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .mini-label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .form-label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .field-label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .panel-label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .panel-kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .modal-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .export-file-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .export-choice-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .confirm-action-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .rename-plan-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .upgrade-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .pm-kicker,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .dashboard-media-label,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .app-loading-badge,
html[data-mfe-theme]:not([data-mfe-theme="base"]) [class*="-kicker"],
html[data-mfe-theme]:not([data-mfe-theme="base"]) [class*="__kicker"],
html[data-mfe-theme]:not([data-mfe-theme="base"]) .roster-table-head,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .roster-cell[data-label]::before,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .mini-k,
html[data-mfe-theme]:not([data-mfe-theme="base"]) .trend-caption{
  color:var(--accent)!important;
}

/* active/primary UI */





/* selected cards and accent cards */


/* input and form focus */


/* progress bars, exports, uploads, sync and video editor timeline */




html[data-mfe-theme]:not([data-mfe-theme="base"]) .trim-selection{
  border-color:var(--mfe-accent-border)!important;
  background:linear-gradient(180deg,rgba(var(--mfe-accent-rgb),.24),rgba(var(--mfe-accent-rgb),.10))!important;
}




/* switches */


/* scrollbars: make every local scrollbar follow the selected theme */
html[data-mfe-theme],
html[data-mfe-theme] *{
  scrollbar-color:var(--mfe-scroll-thumb) var(--mfe-scroll-track)!important;
}
html[data-mfe-theme] *::-webkit-scrollbar,
html[data-mfe-theme]::-webkit-scrollbar{width:10px!important;height:10px!important;}
html[data-mfe-theme] *::-webkit-scrollbar-track,
html[data-mfe-theme]::-webkit-scrollbar-track{background:var(--mfe-scroll-track)!important;border-radius:999px!important;}
html[data-mfe-theme] *::-webkit-scrollbar-thumb,
html[data-mfe-theme]::-webkit-scrollbar-thumb{background:var(--mfe-scroll-thumb)!important;border-radius:999px!important;border:2px solid transparent!important;background-clip:padding-box!important;}
html[data-mfe-theme] *::-webkit-scrollbar-thumb:hover,
html[data-mfe-theme]::-webkit-scrollbar-thumb:hover{background:var(--mfe-scroll-thumb-hover)!important;background-clip:padding-box!important;}

/* preserve functional alert colors where they are semantic, not branding */



/* --- mfe-theme-final-polish-v2 --- */
/* Final theme polish: all brand/accent UI follows the selected theme. Semantic warning/error colours remain untouched. */
html[data-mfe-theme]:not([data-mfe-theme="base"]) :is(.metric-k, .module-kicker, .data-label, .column-label, .info-label, .kpi-label, .form-label, .field-label, .panel-label, .panel-kicker, .section-label, .section-kicker, .section-eyebrow, .eyebrow, .kicker, .card-kicker, .block-kicker, .tile-kicker, .stat-k, .stat-label, .mini-label, .menu-title, .tab-label, .toolbar-field label, .accordion summary, .daily-report-kicker, .daily-report-eyebrow, .app-loading-badge, .modal-badge, .confirm-action-badge, .rename-plan-badge, .export-file-badge, .export-choice-badge, .upgrade-badge, .pm-kicker, .dashboard-media-label, [class*="-kicker"], [class*="__kicker"], [class*="-eyebrow"], [class*="__eyebrow"], [class*="-label"], [class*="__label"], .roster-table-head, .roster-cell[data-label]::before, .mini-k, .trend-caption){
  color:var(--accent)!important;
}












html[data-mfe-theme]:not([data-mfe-theme="base"]) .trim-selection{
  border-color:var(--mfe-accent-border)!important;
  background:linear-gradient(180deg,rgba(var(--mfe-accent-rgb),.24),rgba(var(--mfe-accent-rgb),.10))!important;
}






/* Dashboard daily report: in gray/custom themes, remove leftover base green from non-critical UI. */







/* Gray theme loading modal contrast: no white-on-light text. */





/* Scrollbars follow the selected theme, including page-local panels. */
html[data-mfe-theme],
html[data-mfe-theme] *{
  scrollbar-color:var(--mfe-scroll-thumb) var(--mfe-scroll-track)!important;
}
html[data-mfe-theme] *::-webkit-scrollbar,
html[data-mfe-theme]::-webkit-scrollbar{width:10px!important;height:10px!important;}
html[data-mfe-theme] *::-webkit-scrollbar-track,
html[data-mfe-theme]::-webkit-scrollbar-track{background:var(--mfe-scroll-track)!important;border-radius:999px!important;}
html[data-mfe-theme] *::-webkit-scrollbar-thumb,
html[data-mfe-theme]::-webkit-scrollbar-thumb{background:var(--mfe-scroll-thumb)!important;border-radius:999px!important;border:2px solid transparent!important;background-clip:padding-box!important;}
html[data-mfe-theme] *::-webkit-scrollbar-thumb:hover,
html[data-mfe-theme]::-webkit-scrollbar-thumb:hover{background:var(--mfe-scroll-thumb-hover)!important;background-clip:padding-box!important;}

/* Keep semantic warning/error states readable. */




/* --- mfe-pro-page-lock-styles --- */
.mfe-pro-lock-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px;background:radial-gradient(circle at 20% 10%,rgba(34,197,94,.12),transparent 28%),linear-gradient(145deg,#04101a 0%,#071628 58%,#020814 100%);color:#eef3f9;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;}
  .mfe-pro-lock-card{width:min(620px,100%);border:1px solid rgba(255,255,255,.09);border-radius:30px;background:linear-gradient(180deg,rgba(10,22,39,.96),rgba(4,16,26,.94));box-shadow:0 28px 80px rgba(0,0,0,.48);padding:30px;display:grid;gap:16px;text-align:left;}
  .mfe-pro-lock-badge{width:max-content;display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 14px;border-radius:999px;border:1px solid rgba(34,197,94,.24);background:rgba(34,197,94,.12);color:#bbf7d0;font-size:12px;font-weight:900;letter-spacing:.1em;}
  .mfe-pro-lock-title{margin:0;font-size:clamp(30px,6vw,46px);line-height:1.02;font-weight:950;letter-spacing:-.04em;}
  .mfe-pro-lock-copy{margin:0;color:#cbd5e1;font-size:15px;line-height:1.65;}
  .mfe-pro-lock-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px;}
  .mfe-pro-lock-actions a{min-height:44px;padding:0 18px;border-radius:15px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:900;border:1px solid rgba(255,255,255,.1);color:#eef3f9;background:rgba(255,255,255,.05);}
  .mfe-pro-lock-actions a.primary{background:linear-gradient(135deg,#22c55e,#15803d);border-color:rgba(34,197,94,.36);color:white;box-shadow:0 14px 30px rgba(34,197,94,.20);}
  @media(max-width:560px){.mfe-pro-lock-card{padding:24px;border-radius:24px}.mfe-pro-lock-actions{display:grid}.mfe-pro-lock-actions a{width:100%;box-sizing:border-box}}

/* ---- plantel header/roster actions clean alignment 2026-06-29 ---- */
@media (min-width:901px){
  .hero-actions{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;align-items:center!important;width:auto!important;}
  .hero-actions .btn{width:auto!important;min-height:36px!important;padding:0 12px!important;font-size:12px!important;line-height:1!important;flex:0 0 auto!important;}
  .panel-roster .section-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(640px,.95fr)!important;align-items:end!important;gap:14px!important;}
  .panel-roster .toolbar{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(190px,.42fr) minmax(132px,.28fr)!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:none!important;align-items:center!important;}
  .panel-roster .toolbar .input,
.panel-roster .toolbar .select,
.panel-roster .toolbar .btn{width:100%!important;min-width:0!important;max-width:none!important;}
  .panel-roster .toolbar .btn{min-height:44px!important;padding:0 14px!important;font-size:13px!important;}
  .gps-module-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important;min-width:0!important;align-items:center!important;}
  .gps-module-actions .btn{width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;padding-left:10px!important;padding-right:10px!important;text-align:center!important;}
  .gps-module-actions #gpsDetailBtn[style*="display:none"]{display:none!important;}
}
@media (max-width:1260px) and (min-width:901px){
  .panel-roster .section-head{grid-template-columns:minmax(0,1fr)!important;align-items:start!important;}
  .panel-roster .toolbar{grid-template-columns:minmax(0,1fr) minmax(190px,.38fr) minmax(132px,.28fr)!important;}
}
@media (max-width:900px){
  .panel-roster .toolbar,
.gps-module-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;}
}

/* Plantel profile modal actions: confirmation and save feedback must stay above the player profile overlay. */
#confirmModal{z-index:100200!important}
.squad-save-toast{position:fixed;right:22px;bottom:22px;z-index:100300;max-width:min(420px,calc(100vw - 32px));padding:12px 16px;border-radius:14px;border:1px solid rgba(134,239,172,.42);background:rgba(2,8,20,.96);color:#dcffe8;font-size:13px;font-weight:850;line-height:1.35;box-shadow:0 18px 44px rgba(0,0,0,.42);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.squad-save-toast.show{opacity:1;transform:translateY(0)}
html[data-mfe-theme="light"] .squad-save-toast{background:#fff;color:#14532d;border-color:rgba(22,163,74,.35);box-shadow:0 18px 44px rgba(15,23,42,.2)}
@media(max-width:640px){.squad-save-toast{right:16px;bottom:16px;max-width:calc(100vw - 32px)}}
