:root{--splash-bounce:linear(0.0000000,0.0535228,0.1131991,0.1777343,0.2458990,0.3165380,0.3885763,0.4610248,0.5329835,0.6036440,0.6722901,0.7382978,0.8011338,0.8603534,0.9155968,0.9665861,1.0131202,1.0550701,1.0923735,1.1250293,1.1530919,1.1766647,1.1958950,1.2109675,1.2220987,1.2295315,1.2335294,1.2343719,1.2323492,1.2277579,1.2208972,1.2120644,1.2015522,1.1896454,1.1766181,1.1627318,1.1482332,1.1333528,1.1183039,1.1032813,1.0884610,1.0739999,1.0600356,1.0466868,1.0340535,1.0222177,1.0112443,1.0011815,0.9920623,0.9839052,0.9767156,0.9704869,0.9652016,0.9608328,0.9573451,0.9546963,0.9528378,0.9517166,0.9512759,0.9514561,0.9521959,0.9534335,0.9551066,0.9571539,0.9595156,0.9621336,0.9649524,0.9679195,0.9709854,0.9741043,0.9772341,0.9803366,0.9833776,0.9863267,0.9891576,0.9918479,0.9943791,0.9967362,0.9989078,1.0008858,1.0026649,1.0042431,1.0056207,1.0068004,1.0077870,1.0085872,1.0092093,1.0096626,1.0099581,1.0101070,1.0101217,1.0100148,1.0097990,1.0094873,1.0090925,1.0086272,1.0081037,1.0075338,1.0069285,1.0062985,1.0056536);}

@font-face { font-family:nt22card_eurofont; src:url("./assets/eurofont.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font19; src:url("./assets/font19.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font18; src:url("./assets/font18.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font17_1; src:url("./assets/font17_1.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font17_2; src:url("./assets/font17_2.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font17_3; src:url("./assets/font17_3.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font16; src:url("./assets/font16.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font14_1; src:url("./assets/font14.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font14_2; src:url("./assets/font14_2.otf") format("opentype"); font-display:swap; }
@font-face { font-family:nt22card_font11; src:url("./assets/font11.otf") format("opentype"); font-display:swap; }

@font-face {
  font-family:NT22;
  src:url("./assets/font19.otf") format("opentype");
  font-display:swap;
}
:root { font-family:NT22,system-ui,sans-serif; color:#fff; background:#201432; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; }
.game { width:min(100%,760px); min-height:100dvh; margin-inline:auto; }
.splash,.crest { background:#fff url("./assets/shsshs.jpeg") center/cover; }
.splash { display:grid; min-height:100dvh; place-items:center; }
.splash-logo { display:grid; grid-template-rows:282fr 30fr 212fr; width:min(300px,94vw,90dvh); aspect-ratio:1; }
.splash-logo img { width:100%; height:100%; min-height:0; object-fit:contain; }
.splash-top,.splash-bottom {
  animation-name:scale-logo;
  animation-fill-mode:both;
  animation-timing-function:var(--splash-bounce,ease-out);
}
.splash-top { animation-delay:100ms; animation-duration:1000ms; }
.splash-bottom { animation-delay:1000ms; animation-duration:1200ms; }
.splash-middle { animation:fade-logo 300ms 2100ms ease-in both; }
@keyframes scale-logo { from { transform:scale(0); } to { transform:scale(1); } }
@keyframes fade-logo { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .splash-logo img { animation:none; } }
.setup,.home { background:#201432 url("./assets/background21.png") center/cover; }
.setup,.crest {
  position:relative;
  min-height:100dvh;
  height:100dvh;
  display:grid;
  padding:clamp(8px,2.5dvh,18px) clamp(14px,4vw,34px);
}
.setup { grid-template-rows:minmax(0,4fr) minmax(0,5fr); }
.logos { min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:4px; }
.logos img { display:block;width:100%;height:100%;min-height:0;object-fit:contain; }
.name-form { min-height:0;display:grid;grid-template-rows:minmax(0,2fr) minmax(0,5fr);gap:clamp(10px,3dvh,24px);padding-block:10px 20px;text-align:center; }
.name-form input { width:calc(100% - clamp(20px,8%,80px));height:100%;min-height:0;justify-self:center;background:#ffffffb3;border:0;color:#17101e;text-align:center;font:inherit; }
.startup-label { position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.name-form button,.create-profile { min-height:0;margin-inline:clamp(10px,4vw,30px);font-size:clamp(19px,4.1vw,45px);text-transform:uppercase; }
.name-form #name-error,.crest #crest-error { position:absolute;inset:auto 8px 4px; }
button { min-height:44px; cursor:pointer; border:1px solid #ffffffb3; border-radius:8px; padding:8px 20px; background:#2f1e46; color:white; font:inherit; }
button:disabled { opacity:.65; cursor:default; }
button:focus-visible,input:focus-visible { outline:3px solid #ffdb8a; outline-offset:2px; }
.name-form button,.create-profile {
  border:1px solid #222430;
  border-radius:10px;
  background:linear-gradient(#171a17,#222430);
  color:#edff41;
}
.name-form button:focus-visible,.create-profile:focus-visible {
  outline:none;
  background:#825bee;
  box-shadow:inset 0 0 0 2px #5e7974;
}
.name-form button:active,.create-profile:active {
  border-color:#edff41;
  background:linear-gradient(#5509b0,#825bee);
  color:#38bbba;
}
.crest { grid-template-rows:minmax(0,20fr) minmax(0,13fr);gap:clamp(8px,2dvh,18px); }
.badges { min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:4px; }
.badges button { min-height:0;display:grid;place-items:center;padding:4px;border-color:transparent;background:transparent; }
.badges button[aria-pressed="true"] { border-color:#ffdb8a; }
.badges img { width:100%;height:100%;min-height:0;object-fit:contain; }
.create-profile { display:grid;grid-template-rows:repeat(2,minmax(0,1fr));place-items:center; }
.create-profile:disabled { opacity:.5; }
.selected-badge { width:100%;height:100%;min-height:0;object-fit:contain; }
[role="alert"] { margin:0; text-align:center; color:#fff; }
[role="alert"]:not(:empty) { padding:6px 10px; background:#301a37; border-radius:8px; }
.home { min-height:100dvh; padding:16px; }
.home > header { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:12px; background:#211633e8; border-radius:12px; }
.home h1,.home h2 { margin:0; }
.home h1 { flex:1; min-width:0; overflow-wrap:anywhere; }
.home > header img { object-fit:contain; }
.wallet { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.wallet span { display:flex; align-items:center; gap:4px; }
.wallet img { width:18px; height:18px; }
@media (max-width:540px) { .badges { grid-template-columns:repeat(4,minmax(0,1fr)); } }
#dashboard { display:flex; flex-direction:column; }
.dashboard-tabs {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:3px;
  padding:5px;
  margin-top:8px;
  background:#0e0625;
  border-radius:8px;
}
.dashboard-tabs button {display:grid;place-items:center;align-content:center;gap:3px;padding:5px 0;min-width:0;border:1px solid #54729a;background:linear-gradient(#3f0a8b,#130835);color:#c9daed;text-transform:uppercase;font-size:clamp(.59rem,2.3vw,.94rem)}
.dashboard-tabs button[aria-current="page"] {color:#edff41;border-color:#38bbba;background:linear-gradient(#5509b0,#130835);box-shadow:inset 0 -2px #38bbba}
.store-groups button[aria-pressed="true"] { background:#523674; border-color:#f1d68b; }
.dashboard-tabs img { width:24px; height:24px; object-fit:contain; }
.dashboard-content { margin-top:8px; padding:12px; border-radius:8px; background:#060b10d9; }
.dashboard-content h2 { margin:10px 0; }
.dashboard-tiles,.store-groups,.club-filters { display:flex; flex-wrap:wrap; gap:8px; }
.dashboard-tiles button { display:flex; flex:1 1 140px; align-items:center; justify-content:center; gap:8px; min-height:85px; }
.dashboard-tiles img { width:50px; height:60px; object-fit:contain; }
.store-packs { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr)); gap:10px; margin-top:12px; }
.pack-offer { display:grid; align-content:start; gap:7px; padding:10px; border-radius:8px; background:#2a1b3b; }
.pack-offer h3,.pack-offer p { margin:0; }
.pack-offer img { width:100%; height:90px; object-fit:contain; }
.nt22-pack-store {
  margin-block-start:8px;
  color:#fff;
  background:#171a17 url("./assets/stadium_background.jpeg") center/cover;
}
.nt22-pack-store-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding-inline:8px;
  background:#060b10d9;
}
.nt22-pack-store-header button {
  display:flex;
  align-items:center;
  gap:6px;
  padding-inline:8px;
  color:#38bbba;
  background:linear-gradient(#171a17,#222430);
}
.nt22-pack-store-header img {width:30px;height:30px;object-fit:contain}
.nt22-pack-store-categories {
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  background:#171a17;
}
.nt22-pack-store-categories button {
  padding:4px 1px;
  border:0;
  border-radius:0;
  background:none;
  text-transform:uppercase;
  font-size:clamp(.69rem,2.8vw,1.1rem);
}
.nt22-pack-store-categories button[aria-pressed="true"] {color:#edff41}
.nt22-pack-store-indicator {
  position:absolute;
  bottom:0;
  left:0;
  width:25%;
  height:3px;
  background:#c10057;
  pointer-events:none;
  transform:translateX(calc(var(--pack-category) * 100%));
  transition:transform 150ms linear;
}
.nt22-pack-store-offers {
  grid-template-columns:none;
  grid-auto-flow:column;
  grid-auto-columns:clamp(138px,31%,225px);
  align-items:stretch;
  min-height:170px;
  margin:0;
  padding:8px;
  overflow-x:auto;
}
.nt22-pack-store-offers .pack-offer {
  min-width:0;
  background:#060b10d9;
}
.nt22-pack-store-offers button {padding-inline:5px}
@media (prefers-reduced-motion:reduce) {
  .nt22-pack-store-indicator {transition:none}
}
.player-list { padding:0; list-style:none; }
.player-list li { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid #fff3; }
.player-list li span:first-of-type { flex:1 1 180px; }
.player-list li button { padding:6px 9px; }
.player-list img { width:42px; height:42px; object-fit:contain; }
.home:has(.nt22-transfer-activity) {padding:0;background:#000}
.home:has(.nt22-transfer-activity) > header,.home:has(.nt22-transfer-activity) .dashboard-tabs {display:none}
.dashboard-content:has(.nt22-transfer-activity) {
  height:100dvh;
  display:flex;
  flex-direction:column;
  margin:0;
  padding:0;
  border-radius:0;
  background:#000;
}
.nt22-transfer-activity {
  flex:1;
  min-height:0;
  display:grid;
  grid-template-rows:clamp(52px,10dvh,92px) minmax(0,7fr) minmax(0,6.5fr);
}
.nt22-transfer-header {
  display:flex;
  align-items:center;
  gap:12px;
  padding:4px clamp(8px,3vw,20px);
}
.nt22-transfer-header h2 {margin:0;text-transform:uppercase}
.nt22-transfer-header button {padding-inline:8px}
.nt22-transfer-statuses {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  text-transform:uppercase;
}
.nt22-transfer-statuses span {
  display:grid;
  justify-content:center;
  align-content:start;
  padding:8px 4px;
  border-inline-start:1px solid #222430;
}
.nt22-transfer-statuses span:first-child {border:0}
.nt22-transfer-details {overflow:auto;padding:8px clamp(8px,3vw,20px);color:#171a17;background:#fff}
.nt22-transfer-details p {margin:0}
.nt22-transfer-details .player-list li {border-color:#22243033}
.club-filters input,.club-filters select { font:inherit; min-height:44px; max-width:100%; }

.nt22-squad-controls { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.nt22-squad-controls input,.nt22-squad-controls select,.nt22-squad-actions input,.nt22-squad-actions select {
  min-height:44px;
  min-width:0;
  max-width:100%;
  padding:6px;
  font:inherit;
}
.nt22-squad-metrics { font-variant-numeric:tabular-nums; }
.nt22-squad-pitch {
  position:relative;
  width:100%;
  aspect-ratio:1.55;
  min-height:228px;
  overflow:hidden;
  background:#204934 url("./assets/seasons_pitch.jpeg") center / 100% 100%;
  border-radius:8px;
}
.nt22-squad-links { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.nt22-squad-links line { stroke-width:2; stroke:#df5761; }
.nt22-squad-links .link-1 { stroke:#f3bc5a; }
.nt22-squad-links .link-2,.nt22-squad-links .link-3 { stroke:#83ec82; }
.nt22-squad-slot { min-width:0; padding:1px 2px; display:grid; align-content:center; justify-items:center; gap:1px; }
.nt22-squad-slot[data-drag-card] { touch-action:none; }
.nt22-squad-pitch .nt22-squad-slot {
  position:absolute;
  width:clamp(39px,14%,88px);
  min-height:0;
  height:clamp(36px,19%,72px);
  transform:translate(-50%,-84%);
}
.nt22-squad-slot[aria-pressed="true"],.nt22-squad-slot.slot-drag-target { outline:2px solid #fff1a7; }
.nt22-squad-slot.slot-drag-source { opacity:.55; }
.nt22-squad-slot img { width:auto; max-width:95%; height:clamp(18px,4vw,35px); object-fit:contain; }
.nt22-squad-slot .player-card,.slot-drag-ghost .player-card {
  display:grid;
  width:100%;
  max-width:100%;
  font-size:clamp(.56rem,1.6vw,.88rem);
  line-height:1.05;
  text-align:center;
}
.nt22-squad-slot .player-card span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nt22-squad-slot small { font-size:clamp(.52rem,1.5vw,.72rem); line-height:1; }
.nt22-squad-bench { display:grid; grid-template-columns:repeat(auto-fit,minmax(63px,1fr)); gap:4px; }
.nt22-squad-actions { display:flex; flex-wrap:wrap; gap:6px; padding:8px; margin:8px 0; background:#392953; border-radius:6px; }
.nt22-squad-actions h3,.nt22-squad-actions p { margin:0; flex-basis:100%; }
.nt22-squad-manager {
  margin-block-start:8px;
  padding:8px;
  background:#171a17 url("./assets/background21.png") center/cover;
}
.nt22-squad-manager > h2 {text-transform:uppercase}
.nt22-squad-manager-layout {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.nt22-squad-manager-side,.nt22-squad-manager-list,.nt22-squad-manager-preview {
  display:grid;align-content:start;gap:6px;min-width:0;
}
.nt22-squad-manager-list {
  max-height:50dvh;overflow:auto;padding:4px;
  background:#060b10d9;
}
.nt22-squad-manager-list button {
  text-align:left;color:#38bbba;
  background:linear-gradient(#171a17,#222430);
}
.nt22-squad-manager-list button[aria-pressed="true"] {border-color:#38bbba;color:#edff41}
.nt22-squad-manager-preview h3,.nt22-squad-manager-preview p {margin:0}
.nt22-squad-manager-preview .nt22-squad-pitch {background:#060b1066;min-height:170px}
.nt22-squad-manager .nt22-squad-controls input {flex:1 0 100%;color:#171a17;background:#fff}
@media (max-width:460px) {
  .nt22-squad-manager-layout {grid-template-columns:minmax(0,1fr)}
  .nt22-squad-pitch.nt22-saved-squad-pitch {
    width:min(100%,42svh);aspect-ratio:5/7;min-height:0;margin-inline:auto;
  }
  .nt22-saved-squad-pitch .nt22-squad-slot {width:15%}
}
.slot-drag-ghost { position:fixed; z-index:10; pointer-events:none; transform:translate(-50%,-50%); background:#251534; padding:4px; border-radius:4px; }

.nt22-formation-chooser {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  gap:8px;
  padding:6px;
  background:#000 url("./assets/pitch2.jpeg") center/cover;
}
.nt22-formation-menu { display:grid; grid-template-rows:auto 1fr auto; gap:3px; background:#3b3d49; }
.nt22-formation-menu h3,.nt22-formation-caption { margin:0; }
.nt22-formation-menu h3 { padding:5px 8px; text-transform:uppercase; }
.nt22-draft-formations { display:grid; }
.nt22-draft-formations button {
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  padding:4px 8px;
  border:0;
  border-radius:0;
  text-align:left;
  color:#171a17;
  background:#fff;
}
.nt22-draft-formations button:nth-child(odd) { background:#dce0e8; }
.nt22-draft-formations button[aria-pressed="true"] { background:#38bbba; color:#111629; }
.nt22-draft-formations button:focus-visible { outline-offset:-3px; }
.nt22-draft-formations img { width:42px; height:30px; object-fit:contain; }
.nt22-formation-footer { display:grid; gap:3px; }
.nt22-formation-footer > button {
  margin:0;
  border-radius:0;
  border:0;
  color:#fff;
  text-transform:uppercase;
  background:#c10057;
}
.nt22-formation-caption { padding:4px 8px; color:#fff; }
.nt22-formation-chooser .nt22-squad-pitch { align-self:center; background:none; }
.nt22-draft > div > .nt22-squad-pitch { background:#000 url("./assets/pitch2.jpeg") center/cover; }
.nt22-formation-chooser .nt22-squad-slot { color:#fff; }
.nt22-draft-picker {
  position:absolute; inset:0; z-index:2; display:grid; align-content:center; gap:4px;
  background:#000a; text-align:center;
}
.nt22-draft-picker h3 { margin:0; padding:0 4px; }
.nt22-draft-picker > button { justify-self:center; min-height:36px; padding:4px 10px; }
.nt22-draft-pick-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); background:#fff; }
.nt22-draft-pick-cell { position:relative; aspect-ratio:12/17; min-width:0; background:#fff; }
.nt22-draft-pick-cell:nth-child(even) { background:#dce0e8; }
.nt22-draft-pick-cell button {
  position:absolute; inset:0; width:100%; min-height:0; min-width:0; padding:0; border:0; border-radius:0;
  background:none; animation:nt22-draft-reveal 0s var(--face-delay) both;
}
.nt22-draft-pick-cell button:hover,.nt22-draft-pick-cell button:focus-visible { outline:2px solid #087978; outline-offset:-3px; }
.nt22-draft-card-back {
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none;
  animation:nt22-draft-fan 360ms linear var(--fan-delay) both, nt22-draft-hide-back 0s var(--face-delay) forwards;
}
@keyframes nt22-draft-fan {
  from { transform:translate(var(--fan-offset),-9%) scale(.6); }
  to { transform:translate(0) scale(1); }
}
@keyframes nt22-draft-reveal { from { visibility:hidden; } to { visibility:visible; } }
@keyframes nt22-draft-hide-back { to { visibility:hidden; } }
@media (prefers-reduced-motion:reduce) {
  .nt22-draft-pick-cell button { animation:none; }
  .nt22-draft-card-back { display:none; }
}
@media (max-width:460px) {
  .nt22-formation-chooser { grid-template-columns:minmax(0,1fr); }
  .nt22-draft-formations { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .nt22-draft-formations button { display:grid; justify-items:center; gap:2px; font-size:.65rem; text-align:center; }
  .nt22-draft-formations img { width:min(32px,100%); }
}
.nt22-draft .nt22-squad-slot:disabled { opacity:1; }

.nt22-lineups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0; }
.nt22-lineup,.nt22-fixtures,.nt22-match-events { padding:8px; background:#392953; border-radius:6px; }
.nt22-lineup h3,.nt22-lineup p { margin:0 0 6px; overflow-wrap:anywhere; }
.nt22-lineup ol,.nt22-fixtures,.nt22-match-events { padding-inline-start:28px; }
.nt22-fixtures li,.nt22-match-events li { margin-block:4px; }
.nt22-fixtures [aria-current] { color:#ffefa4; font-weight:700; }
.nt22-match-actions { display:flex; flex-wrap:wrap; gap:6px; }
.nt22-match-actions h3 { flex-basis:100%; margin:0; }
.nt22-substitutions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:8px 0; }
.nt22-substitutions button { overflow-wrap:anywhere; padding:5px; }
.nt22-match-actions button[aria-pressed="true"],.nt22-substitutions button[aria-pressed="true"] { outline:2px solid #ffefa4; }
.nt22-season-scoreboard {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;padding:9px;background:#0e0625;border-radius:6px;text-align:center}
.nt22-match-team {display:grid;justify-items:center;gap:5px;overflow-wrap:anywhere}
.nt22-match-team img {width:clamp(29px,7vw,52px);height:clamp(29px,7vw,52px);object-fit:contain}
.nt22-match-score {font-size:clamp(1.45rem,7vw,2.6rem);margin:0;white-space:nowrap}
.nt22-match-field {position:relative;background:#0e0625;border-radius:6px;overflow:hidden}
.nt22-match-field > svg {display:block;width:100%;height:auto}
.nt22-field-controls {position:absolute;inset:auto 7% 0;display:flex;flex-direction:row-reverse;justify-content:space-between;pointer-events:none}
.nt22-field-controls button,.nt22-field-resume {min-width:35%;min-height:44px;background:transparent;border:0;color:transparent;pointer-events:auto}
.nt22-field-controls button:focus-visible,.nt22-field-resume:focus-visible {outline:2px solid #ffefa4;outline-offset:-2px}
.nt22-field-resume {position:absolute;right:7%;bottom:0}
.nt22-lineup li {display:flex;align-items:center;gap:4px;min-height:25px;margin-block:2px}
.nt22-lineup li svg {width:25px;flex:none}
.nt22-event-row {display:flex;align-items:center;gap:6px;min-height:24px}
.nt22-event-row[data-side="1"] {flex-direction:row-reverse;text-align:right}
.nt22-event-row svg {width:28px;flex:none}
.nt22-event-row img {width:17px;height:19px;object-fit:contain}
.nt22-match-events {list-style:none;padding-inline:8px}
.nt22-match-result {background:#0e0625;border-radius:7px;padding:10px;margin-bottom:8px}
.nt22-match-result h3,.nt22-match-outcome {text-align:center;margin:4px 0 9px}
.nt22-match-outcome {font-size:1.3rem;text-transform:uppercase}
.nt22-match-outcome[data-outcome="win"] {color:#4ec63d}
.nt22-match-outcome[data-outcome="loss"] {color:#f35755}
.nt22-match-payout {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 6px;margin:0}
.nt22-match-payout dt,.nt22-match-payout dd {margin:0;padding:4px 8px;background:#20163a}
.nt22-match-payout dd {text-align:right}
.nt22-match-reward {display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap;margin:8px 0 0}
.nt22-match-reward img {width:30px;height:25px;object-fit:contain}


.nt22-sbc-requirements { margin:8px 0; padding:8px 8px 8px 27px; border-radius:6px; background:#392953; }
.nt22-sbc-requirements li { margin-block:4px; }
.nt22-sbc-requirements [data-met="true"] { color:#a5f3a4; }
.nt22-sbc .dashboard-tiles small { display:block; margin-top:4px; }
.nt22-sbc-receipt { padding:8px; border:1px solid #a5f3a4; border-radius:6px; }

.nt22-draft-challenges .dashboard-tiles small { display:block; margin-top:6px; }
.nt22-challenge-rewards { list-style:none; padding:0; }
.nt22-challenge-rewards li { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:6px; padding:5px; }
.nt22-challenge-rewards img { display:block; width:44px; height:44px; object-fit:contain; }

.nt22-retro-results { flex-basis:100%; min-width:0; }
.nt22-retro-results select { max-width:100%; }

.nt22-local-rewards { display:grid; gap:8px; min-width:0; }
.nt22-local-rewards > h2,.nt22-local-rewards > h3,.nt22-local-rewards > p { margin:0; }
.nt22-daily-list { margin:0; padding:0; list-style:none; display:grid; gap:6px; max-height:350px; overflow:auto; }
.nt22-reward-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:8px; background:#392953; border-radius:6px; }
.nt22-reward-row img { width:35px; height:35px; object-fit:contain; }
.nt22-xp-pack { width:80px; height:80px; object-fit:contain; }
.nt22-local-rewards progress { width:100%; accent-color:#d7b76a; }
.nt22-local-rewards input { width:100%; min-width:0; }
.nt22-achievements-menu {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
  padding:6px;background:#171a17 url("./assets/background21.png") center/cover;
}
.nt22-achievements-menu button {
  display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  gap:6px;align-items:center;min-height:112px;padding:6px;
  border-color:#222430;background:linear-gradient(#171a17,#222430);
}
.nt22-achievements-menu button img {width:100%;height:80px;object-fit:contain}
.nt22-achievements-progress {display:grid;justify-items:center;gap:5px;min-width:0}
.nt22-achievements-progress strong {color:#38bbba;text-transform:uppercase}
.nt22-achievements-progress progress {accent-color:#38bbba}
.nt22-badge-search {display:grid;grid-template-columns:minmax(0,13fr) minmax(52px,4fr);gap:6px;align-items:center}
.nt22-badge-search input {min-height:44px;background:#dce0e8;color:#171a17;font:inherit}
.nt22-badge-activity > button {justify-self:start}
.nt22-badge-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
.nt22-badge-options button {
  display:grid;align-content:start;justify-items:center;gap:4px;
  min-width:0;padding:5px 2px;overflow-wrap:anywhere;
}
.nt22-badge-options button img {width:100%;height:clamp(26px,8vw,58px);object-fit:contain}
.nt22-badge-options button[aria-pressed="true"] { outline:2px solid #f5d176; outline-offset:-2px; }
.nt22-selected-badge { width:62px; height:62px; object-fit:contain; }
.nt22-collection-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(105px,100%),1fr)); gap:6px; }
.nt22-collection-grid button { display:grid; justify-items:center; gap:3px; min-width:0; }
.nt22-collection-grid img { width:40px; height:54px; object-fit:contain; }
.nt22-collection-grid .nt22-missing-card { opacity:.45; }
.nt22-collection-details { background:#392953; border-radius:6px; padding:8px; }
.nt22-collection-details h3,.nt22-collection-details p { margin:0 0 6px; }

.nt22-wheel { display:grid; gap:8px; min-width:0; justify-items:center; text-align:center; }
.nt22-wheel h2,.nt22-wheel h3,.nt22-wheel p { margin:0; }
.nt22-wheel svg { display:block; width:min(100%,400px); height:auto; }
.nt22-wheel details { text-align:left; }
.nt22-wheel details ul { margin:6px 0; padding-left:22px; }

.nt22-native-card { display:block; width:100%; height:auto; overflow:visible; pointer-events:none; }
.nt22-squad-slot .nt22-native-card { width:auto; height:clamp(24px,5.4vw,45px); max-width:100%; margin-inline:auto; }
.nt22-squad-pitch .player-card > span { display:none; }
.nt22-collection-grid .nt22-native-card { width:54px; }
.nt22-detail-card { width:min(100%,190px); margin-inline:auto; }
@media (max-width:390px) {
  .home > header { display:grid; grid-template-columns:46px minmax(0,1fr); gap:6px 10px; }
  .home > header > img { width:46px; height:46px; }
  .home > header .wallet { grid-column:1 / -1; }
  .home > header h1 { font-size:1.35rem; }
}

.dashboard-tabs[hidden] {display:none}
.nt22-pack-reveal {position:relative;isolation:isolate;background:#000;overflow:hidden}
.nt22-pack-stage {position:relative;height:clamp(220px,51vw,390px);overflow:hidden}
.nt22-pack-canvas,.nt22-pack-card-layer {position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none}
.nt22-pack-card-layer svg {display:block;width:100%;height:100%}
.nt22-pack-continue {display:block;margin:0 auto 8px}
.nt22-pack-heading {padding:8px 12px;background:#312644 url('./assets/flavour21.png') center/cover;border-radius:6px}
.nt22-pack-heading h2,.nt22-pack-heading p {margin:3px 0}
.nt22-pack-items,.nt22-pack-picks {display:grid;gap:5px;padding:0;list-style:none}
.nt22-pack-picks {grid-template-columns:repeat(auto-fit,minmax(min(122px,100%),1fr));text-align:center}
.nt22-pack-picks svg {display:block;width:100%;height:180px}
.nt22-pack-item-toggle {width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#1e162c}
.nt22-pack-item-toggle svg {width:49px;height:59px;flex:none}
.nt22-pack-item-toggle[aria-expanded="true"] svg {width:112px;height:151px}
.nt22-pack-item-info {display:grid;gap:4px}
.nt22-pack-item-actions {display:flex;flex-wrap:wrap;gap:5px;padding:5px 0}
.nt22-pack-item-actions button {padding:6px 9px}

.nt22-pack-confetti {position:absolute;inset:0;overflow:hidden;pointer-events:none}
.nt22-pack-confetti i {display:none;position:absolute;left:var(--x);top:-8px;width:3px;height:5px;opacity:.6}
.nt22-pack-confetti.active i {display:block;animation:nt22-pack-confetti 5.3s linear var(--delay) both}
@keyframes nt22-pack-confetti {to {transform:translate(var(--drift),400px) rotate(700deg);opacity:0}}

.home > .nt22-dashboard-header {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 10px;padding:7px 10px;background:linear-gradient(#3b3d49,#171a17);border:1px solid #3b3d49;border-radius:8px}
.nt22-dashboard-header > img {grid-row:span 2;width:clamp(38px,9vw,54px);height:clamp(38px,9vw,54px)}
.nt22-dashboard-header h1 {font-size:clamp(1.16rem,4vw,1.7rem);line-height:1}
.nt22-dashboard-header .wallet {grid-column:2 / 4;gap:5px 12px;font-size:clamp(.76rem,3.5vw,1rem)}
.nt22-dashboard-header .wallet img {width:15px;height:15px}
#dashboard-xp {display:grid;align-content:center;gap:2px;padding:1px 6px;min-height:36px;border-color:#54729a;background:#0e0625;color:#5cc8e3}
#dashboard-xp progress {width:clamp(48px,15vw,105px);height:6px;accent-color:#38bbba}
.home:has(.dashboard-content:is([data-overview],[data-draft-menu])) {display:flex;flex-direction:column;height:100dvh;padding:10px}
.home:has(.dashboard-content:is([data-overview],[data-draft-menu])) #dashboard {flex:1;min-height:0}
.home:has(.dashboard-content:is([data-overview],[data-draft-menu])) .dashboard-tabs {flex:none}
.dashboard-content:is([data-overview],[data-draft-menu]) {flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;background:none;padding:0;overflow:auto;touch-action:pan-y}
.dashboard-content[data-overview] > .nt22-service-links {flex:none;margin:0}
.dashboard-content[data-overview] > .nt22-dashboard-deck {flex:1;min-height:0}
.dashboard-content[data-draft-menu] > button {align-self:flex-start;flex:none;min-height:40px}
.nt22-draft-menu {display:flex;flex-direction:column;flex:1;gap:6px;min-width:0;min-height:0}
.dashboard-content .nt22-draft-menu h2 {margin:0;line-height:1.2}
.nt22-dashboard-deck {display:grid;width:100%;grid-auto-rows:minmax(88px,1fr);gap:6px}
.nt22-dashboard-deck[data-overview="home"] {
  grid-template-columns:minmax(0,17fr) minmax(0,6fr) minmax(0,17fr);
  grid-template-rows:repeat(2,minmax(min(20dvh,80px),1fr)) auto;
}
.nt22-new-cards-tile {grid-area:1 / 1 / 3 / 2}
.nt22-wheel-tile {grid-area:1 / 2 / 3 / 3}
.nt22-home-transfers {grid-area:1 / 3 / 2 / 4}
.nt22-home-market {grid-area:2 / 3 / 3 / 4}
.nt22-daily-tile {grid-area:3 / 1 / 4 / -1}
.nt22-dashboard-deck[data-overview="store"] {grid-template-columns:2fr repeat(3,minmax(0,1fr))}
.nt22-dashboard-deck[data-overview="play"] {grid-template-columns:repeat(2,minmax(0,1fr))}
.nt22-dashboard-deck[data-overview="collections"] {grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr))}
.nt22-collections-tile {grid-row:span 3}
.nt22-dashboard-deck[data-overview="club"] {grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.nt22-achievement-tile,.nt22-sbc-tile {grid-row:span 3}
.nt22-dashboard-deck[data-overview="draft-menu"] {
  flex:1;
  min-height:0;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  grid-template-rows:repeat(2,minmax(84px,1fr)) auto;
}
.nt22-menu-online {grid-area:1 / 1 / 3 / 2}
.nt22-menu-standard {grid-area:1 / 2 / 2 / 3}
.nt22-menu-retro {grid-area:2 / 2 / 3 / 3}
.nt22-menu-challenges {grid-area:3 / 1 / 4 / -1}
.nt22-dashboard-tile {display:grid;grid-template-rows:auto minmax(40px,1fr) auto;justify-items:center;align-items:center;gap:6px;padding:clamp(5px,1.2vw,11px);min-width:0;min-height:84px;overflow:hidden;border:1px solid #54729a;border-radius:10px;background:linear-gradient(150deg,#3b3d49,#171a17);text-align:center}
.nt22-dashboard-tile:hover {border-color:#38bbba}
.nt22-dashboard-tile:active {border-color:#edff41;background:linear-gradient(#5509b0,#825bee)}
.nt22-tile-title {color:#5cc8e3;text-transform:uppercase;font-size:clamp(.83rem,2.4vw,1.45rem);line-height:1.03;overflow-wrap:anywhere}
.nt22-tile-visual {display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;gap:4px}
.nt22-tile-visual img {width:min(96%,145px);height:auto;max-height:clamp(33px,14vw,140px);min-width:0;object-fit:contain}
.nt22-tile-visual img:not(:only-child) {width:min(32%,92px)}
.nt22-dashboard-deck .nt22-menu-challenges {
  grid-template-columns:auto 32px;
  grid-template-rows:auto;
  justify-content:center;
  min-height:44px;
}
.nt22-menu-challenges .nt22-tile-visual img {max-height:30px}
.nt22-draft-menu .nt22-tile-meta:empty {display:none}
.nt22-dashboard-deck[data-overview="home"] .nt22-dashboard-tile {
  background:linear-gradient(#171a17,#222430);border-color:#222430;
}
.nt22-dashboard-deck[data-overview="home"] .nt22-dashboard-tile:active {
  background:linear-gradient(#5509b0,#825bee);border-color:#edff41;
}
.nt22-dashboard-deck[data-overview="home"] .nt22-tile-title {color:#38bbba}
.nt22-dashboard-deck[data-overview="home"] .nt22-dashboard-tile:active .nt22-tile-title {color:#edff41}
.nt22-new-cards-tile .nt22-tile-visual svg {width:min(33%,108px);min-width:0;height:auto}
.nt22-wheel-tile .nt22-tile-title {font-size:clamp(.62rem,2.3vw,1.45rem)}
.nt22-daily-tile {
  grid-template-columns:auto minmax(24px,45px) minmax(0,1fr);
  grid-template-rows:auto;min-height:44px;
}
.nt22-daily-tile .nt22-tile-visual img {max-height:34px}
.nt22-daily-tile .nt22-tile-meta {display:flex;justify-content:center;flex-wrap:wrap}
.nt22-dashboard-deck[data-overview="collections"] > :not(:first-child) img,
.nt22-dashboard-deck[data-overview="club"] > :nth-child(n+3) img {max-height:clamp(28px,8dvh,70px)}
.nt22-tile-meta {display:grid;justify-items:center;width:100%;gap:4px;line-height:1.12;font-size:clamp(.68rem,2vw,1.03rem)}
.nt22-tile-detail {color:#edff41}
.nt22-tile-form {display:flex;justify-content:center;gap:3px}
.nt22-tile-form span {border-radius:3px;background:#54729a;color:#fff;padding:1px 5px}
.nt22-tile-form [data-result="W"] {background:#32702c}
.nt22-tile-form [data-result="L"] {background:#911f32}
.nt22-tile-meta progress {width:min(80%,160px);height:8px;accent-color:#38bbba}
.nt22-about {max-width:520px;margin-inline:auto;padding:14px;text-align:center}
.nt22-about img {width:min(100px,30vw);height:auto}
.nt22-about a {color:#5cc8e3}
@media (max-width:510px) {
  .nt22-dashboard-deck[data-overview="store"] {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(105px,1fr))}
  .nt22-dashboard-deck[data-overview="club"] {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(100px,1fr))}
  .nt22-achievement-tile,.nt22-sbc-tile {grid-row:auto}
  .nt22-dashboard-deck[data-overview="play"] {grid-template-columns:1fr;grid-template-rows:minmax(120px,1fr) minmax(190px,1fr)}
  .nt22-tile-visual img {max-height:min(11dvh,86px)}
  .nt22-seasons-tile .nt22-tile-visual img {max-height:62px}
}
@media (max-height:520px) {
  .home:has(.dashboard-content:is([data-overview],[data-draft-menu])) {padding:5px 8px}
  .nt22-dashboard-header > img {width:32px;height:32px}
  .nt22-dashboard-tile {min-height:58px;padding:4px;gap:3px;grid-template-rows:auto minmax(22px,1fr) auto}
  .nt22-dashboard-deck {grid-auto-rows:minmax(58px,1fr)}
  .nt22-dashboard-deck[data-overview="collections"] > :not(:first-child) img,
  .nt22-dashboard-deck[data-overview="club"] > :nth-child(n+3) img {max-height:8dvh}
  .nt22-tile-visual img {max-height:16dvh}
  .nt22-dashboard-deck[data-overview="draft-menu"] {grid-template-rows:repeat(2,minmax(58px,1fr)) auto}
  .nt22-draft-menu .nt22-menu-challenges {min-height:40px}
  .dashboard-tabs img {width:19px;height:19px}
  .dashboard-tabs button {min-height:40px}
}
@media (max-width:510px) and (max-height:520px) {
  .nt22-dashboard-deck[data-overview="club"] {grid-template-rows:repeat(3,minmax(58px,1fr))}
  .nt22-dashboard-deck[data-overview="play"] {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
}
.nt22-dashboard-deck .nt22-daily-tile {grid-template-rows:auto}

.nt22-dashboard-header{position:relative}
.nt22-dashboard-header .dashboard-settings{position:absolute;right:4px;top:3px;width:34px;height:38px;border:0;background:transparent;color:inherit;font-size:25px;padding:0}
.nt22-dashboard-header h1{padding-right:32px}

.nt22-service-links,.nt22-service-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:10px 0}
.nt22-service-links button{flex:1 1 125px;min-height:42px;background:#10296d;color:white;border:1px solid #496dba}
.nt22-service-scene{width:100%;min-width:0;padding:10px;box-sizing:border-box;color:#172346;background:#f7f8fc;border-radius:6px;overflow-wrap:anywhere}
.nt22-service-scene h2,.nt22-service-scene h3{text-align:center;margin:10px 0}.nt22-service-scene button,.nt22-service-scene input,.nt22-service-scene select{font:inherit;max-width:100%;box-sizing:border-box}
.nt22-service-scene button:not(.nt22-squad-slot){cursor:pointer;min-height:40px;padding:8px 10px;border:1px solid #8c9bc5;border-radius:5px;background:linear-gradient(#fff,#dce4f5);color:#15245c}
.nt22-service-scene button:not(.nt22-squad-slot):disabled{opacity:.5;cursor:default}.nt22-service-scene button:not(.nt22-squad-slot)[aria-pressed=true]{outline:3px solid #5267d4}
.nt22-service-panel{border:1px solid #b0bdd9;padding:10px;margin:10px 0;background:#f7f8fc;border-radius:6px;min-width:0}.nt22-service-panel>img{display:block;max-width:120px;max-height:100px;object-fit:contain;margin:auto}
.nt22-service-panel>button{margin:4px}.nt22-service-scene input,.nt22-service-scene select{padding:10px;border:1px solid #9aaacf;border-radius:4px;margin:4px;min-width:0}
.nt22-service-cash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nt22-service-cash-grid>button{display:flex;align-items:center;justify-content:space-between;flex-direction:column;gap:8px;min-height:195px;padding:12px}
.nt22-service-cash-grid img{width:100%;height:105px;object-fit:contain}.nt22-service-price{display:block;color:#355112;background:#e4efbf;border-radius:3px;padding:7px 12px;font-size:1.05em}
.nt22-service-cards,.nt22-service-pack-grid{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.nt22-service-cards>button,.nt22-service-cards>.nt22-service-panel{flex:0 1 145px;min-width:0}
.nt22-service-card{width:120px;max-width:100%;margin:auto;text-align:center}.nt22-service-card svg{display:block;width:100%;height:auto}.nt22-service-card small{display:block;font-size:.75em}
.nt22-service-squad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nt22-service-squad .nt22-service-card{width:88px}.nt22-service-squad button{font-size:12px;padding:4px}
.nt22-service-wallet,.nt22-online-clock{text-align:center;font-variant-numeric:tabular-nums}.nt22-service-scene [role=alert]{padding:10px;background:#fff0eb;color:#722e21;border:1px solid #d9a391}
.nt22-online-result-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:center;font-variant-numeric:tabular-nums}
.nt22-online-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;text-align:center}
.nt22-online-intro>span{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px 20px;background:#0e0625;color:#fff}
.nt22-online-intro strong{color:#38bbba}
.nt22-online-intro img{width:48px;height:48px;object-fit:contain}
.nt22-online-intro-versus{position:absolute;top:50%;transform:translateY(-50%);font-size:1.25rem;font-weight:bold}
.nt22-online-intro>span:first-child .nt22-online-intro-versus{right:2px}
.nt22-online-intro>span:last-child .nt22-online-intro-versus{left:2px}
.nt22-online-intro-timed>span{animation:nt22-online-intro-exit 300ms cubic-bezier(.333333,0,.666667,.333333) var(--nt22-intro-exit-delay) forwards}
.nt22-online-intro-timed>span:first-child{--nt22-intro-exit:-200%}
.nt22-online-intro-timed>span:last-child{--nt22-intro-exit:200%}
@keyframes nt22-online-intro-exit{to{transform:translateX(var(--nt22-intro-exit))}}
@media(min-width:620px){.nt22-service-cash-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nt22-service-squad{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.nt22-service-scene *{animation:none!important;transition:none!important}}

.nt22-service-opening{width:100%;min-width:0}.nt22-service-opening .nt22-pack-reveal{position:relative;width:100%;height:min(65vh,560px);min-height:300px}.nt22-service-opening .nt22-pack-stage{height:calc(100% - 56px)}
