@font-face {
  font-family: 'DeckUp Display';
  font-style: normal;
  font-weight: 900;
  font-stretch: 75%;
  font-display: swap;
  src: url(./assets/roboto-deckup-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'DeckUp Display';
  font-style: normal;
  font-weight: 900;
  font-stretch: 75%;
  font-display: swap;
  src: url(./assets/roboto-deckup-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #14272a;
  --muted: #506266;
  --line: #cfdbd5;
  --purple: #00634e;
  --lavender: #e1f2e8;
  --lime: #caff48;
  --night: #101f23;
  --paper: #f3f6f2;
  --teal: #00634e;
  --display: "DeckUp Display", Rubik, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
#club-view { --ink: #14272a; --muted: #506266; max-width: none; }
.frame { max-width: 1184px; }
.site-head, .top-nav { background: var(--night); }
.site-head { border-color: #33484a; }
.head-inner { min-height: 70px; }
.brand { color: #fff; gap: 8px; }
.brand img { width: 41px; height: 41px; }
.brand img.brand-word {display:block;width:112px;height:auto;}
.top-nav { gap: 3px; }
.top-nav a, .help-btn, .help-btn .ic { color: #e1e8e5; }
.top-nav a { border-radius: 5px; }
.top-nav a[aria-current="page"] { background: #304541; color: var(--lime); }
.help-btn { border: 1px solid #526360; padding-inline: 12px; border-radius: 6px; }
.site-head :focus-visible,.top-nav :focus-visible { outline-color: var(--lime); }
.main-frame { padding-top: 20px; }
.club-title h1, .team-heading h1, .cover h1, .club-hero h1,
#club-view .section-line h2, .section-top h2, .tactics-text strong {
  font-family: var(--display); font-weight: 900; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -.025em; word-spacing:.045em;
}
.club-title h1,.team-heading h1 {color:var(--ink);}
.club-hero, .collection-cover { border-radius: 16px; overflow: hidden; isolation: isolate; }
.club-hero {
  position: relative; min-height: clamp(280px,24vw,330px); padding: 0;
  background: #102e35 url("./assets/deckup-stadium.webp") center 57% / cover no-repeat;
}
.club-hero::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background: linear-gradient(90deg,#091d24e8 0%,#0c2328a3 32%,#0e262821 60%,transparent 77%);
}
.club-hero::after {
  content:""; pointer-events:none; position:absolute; bottom:0; left:0; width:100%; height:5px;
  background: linear-gradient(110deg,var(--lime) 0 17%,#00ad8b 17% 25%,transparent 25%);
}
.club-hero-copy { max-width: 65%; padding: 30px clamp(21px,3.8vw,57px); }
#club-view .tournament-label {
  display: inline-flex; align-items:center; gap:8px; color:#e9f8dc; margin:0 0 15px;
  font-size:.82rem; line-height:1.1; font-weight:650; text-transform:uppercase; letter-spacing:.115em;
}
.tournament-label .ic { width:19px; height:19px; color:var(--lime); }
.club-hero-copy h1 { margin:0 0 21px; font-size:clamp(3.75rem,6.5vw,6.35rem); line-height:.95; color:white; }
.tournament-progress {
  background: none; color: #eef6eb; text-align:left; display:grid;
  grid-template-columns:auto auto; align-items:baseline; gap:4px 8px; padding:0; min-height:44px;
}
.tournament-progress span:first-child { font-size:.99rem; font-weight:600; font-variant-numeric:tabular-nums; }
.tournament-progress b { color:var(--lime); font-weight:800; font-size:1.4rem; }
.tournament-progress span:nth-child(2) { font-size:.89rem; }
.tournament-progress progress { grid-column:1/-1; height:4px; margin:2px 0 6px; border-radius:0; background:#b9cbbc4d; }
.tournament-progress progress::-webkit-progress-bar { background:#b9cbbc4d; border-radius:0; }
.tournament-progress progress::-webkit-progress-value { border-radius:0; }
.club-quickbar { display:grid; grid-template-columns: minmax(260px,1.58fr) minmax(155px,1fr) minmax(145px,.86fr) minmax(135px,.74fr); gap:10px; margin:14px 0 24px; }
.club-quickbar .photo-shortcuts, .club-quickbar .club-stats { display:contents; }
.scan-launch,.my-cards-link,.club-stats>a { border-radius:10px; }
.scan-launch {
  background:var(--lime); border:1px solid #b7e148; color:#142719; box-shadow:none;
  position:relative; overflow:hidden;
}
.scan-launch::after {
  content:""; display:block; margin-left:auto; flex:none; width:15px; height:28px; opacity:.38;
  transform:skew(-17deg); border-inline:3px solid #4e6a2a;
}
.scan-launch:hover,.scan-launch:focus-visible {background:#d7ff75;}
.scan-camera { background:#173430; color:var(--lime); border-radius:8px; }
.my-cards-link,.club-stats>a {background:white; border:1px solid var(--line); color:var(--ink); }
.my-cards-link>.ic {color:var(--teal);}
.my-cards-count,.album-count {background:#e6f2e9;color:#245c4d;border-radius:5px;}
.club-stats .club-ico,.club-gate .club-ico {border-radius:8px;}
.club-stats small { white-space:normal; }
.club-stats b { font-family:var(--display);font-weight:900;font-stretch:75%;font-variant-numeric:tabular-nums; }
.violet,.picker-icon,.book-tile:not(.lime-tile) { background:#dcefe6; color:#12644c; }
.gold {background:#fff0b6;color:#80590a;}
.blue {background:#e3edf0;color:#295b65;}
.peach {background:#f9e6d6;color:#85481f;}
.club-sections {grid-template-columns: 1.14fr 1fr;gap:clamp(17px,2.5vw,36px);margin:0 0 20px;}
#club-view .section-line {margin-bottom:12px;}
#club-view .section-line h2,.catalog .section-top h2 {font-size:clamp(1.55rem,2.8vw,2.35rem);line-height:1;}
.section-line h2::before,.catalog .section-top h2::before {
  content:"";display:inline-block;height:.68em;width:5px;background:#00866c;transform:skew(-12deg);margin-right:.27em;
}
.tactics-link {
  display:flex;justify-content:space-between;align-items:center;gap:12px; min-height:119px;padding:15px 23px;margin-bottom:8px;
  border-radius:11px;overflow:hidden;text-decoration:none;color:white;
  background:radial-gradient(ellipse at 90% 110%,#197355,transparent 65%),#173e38;
}
.tactics-text {position:relative;z-index:1;min-width:0;}
.tactics-text strong,.tactics-text small,.tactics-text>span {display:block;}
.tactics-text strong {font-size:clamp(1.55rem,2.55vw,2.35rem);line-height:1;margin-bottom:5px;}
.tactics-text small {font-size:.86rem;color:#e0efe4;}
.tactics-text>span {font-size:.8rem;color:var(--lime);font-weight:650;margin-top:9px;}
.tactics-board {
  flex:none;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-around;
  width:113px;height:79px;padding:2px 5px;border:1px solid #9bd6ac9c;border-radius:2px;
  transform:perspective(300px) rotateX(17deg) rotate(-6deg) skew(-5deg);
  background:repeating-linear-gradient(0deg,#ffffff08 0 12.5%,transparent 12.5% 25%);
}
.tactics-board::before,.tactics-board::after {content:"";position:absolute;z-index:-1;top:50%;left:50%;transform:translate(-50%,-50%);}
.tactics-board::before {border:1px solid #b6dec298;border-radius:50%;width:21px;height:21px;}
.tactics-board::after {width:100%;border-top:1px solid #b6dec29e;}
.tactics-board>span {display:flex;justify-content:space-evenly;}
.tactics-board i {width:6px;height:6px;border-radius:50%;background:#d4e9d8;box-shadow:0 1px 3px #133c2e;}
.tactics-board i.selected {background:var(--lime);box-shadow:0 0 4px #cffa7e;}
.mission-link,.club-row,.club-panel,.profile-block,.auth-card,.reward-card,.club-gate {border-color:var(--line);border-radius:10px;}
.mission-link {background:#eaf4da;}
.club-row>b {color:#557166;}
.featured-albums {display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px;}
.featured-album {
  position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:150px;text-align:left;display:flex;
  flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:6px;padding:15px;border-radius:10px;
  color:#fff;background:linear-gradient(135deg,#49371a,#917642);
}
.featured-album:nth-child(2) { background:linear-gradient(135deg,#1f4845,#477e72); }
.featured-album::before {
  content:"";position:absolute;inset:0;z-index:-1;
  background:repeating-linear-gradient(116deg,transparent 0 29px,#ffffff11 29px 30px);
}
.featured-album::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(4deg,#0d2021 0%,#112626ef 25%,#11262687 51%,transparent 84%);}
.featured-art {position:absolute;inset:0;z-index:-2;pointer-events:none;}
.featured-art img {position:absolute;right:8%;top:-4%;height:90%;max-width:53%;object-fit:contain;border-radius:6px;transform:rotate(12deg);filter:drop-shadow(0 4px 5px #17262388);}
.featured-art img:first-child {right:37%;top:4%;transform:rotate(-10deg);}
.featured-album strong {font-family:var(--display);font-stretch:75%;font-weight:900;font-size:clamp(1.15rem,1.9vw,1.55rem);line-height:1.02;max-width:100%;text-transform:uppercase;}
.featured-album .album-count {align-self:flex-start;padding:2px 6px;font-size:.8rem;background:#142723dd;color:#ddff9a;border:1px solid #d7efd154;}
.edition-picker {border-color:var(--line);border-radius:10px;}
.edition-options {border-color:var(--line);}
.edition-option:hover,.edition-option[aria-pressed=true],.my-cards-link:hover {background:#e8f4ec;color:#154b3a;}
.picker-label small,.picker-chevron {color:var(--muted);}
.picker-icon {border-radius:6px;}
.collection-cover {
  background: radial-gradient(ellipse at 87% 25%,#26745b,transparent 51%),linear-gradient(113deg,#102b32,#145747);
}
.cover-print {background:repeating-linear-gradient(115deg,transparent 0 43px,#dafa9524 43px 44px);mask-image:linear-gradient(100deg,transparent 12%,#000);}
.collection-cover h1 { font-size:clamp(2.6rem,5.4vw,5rem);line-height:.98;color:white; }
.cover-copy>p {color:#e5f2e8;}
.collection-cover .pitch,.collection-cover .pitch::before,.collection-cover .pitch::after,.pitch i,.pitch b {border-color:#d5f5c742;}
.player-card.album-card {border-color:var(--line);border-radius:9px;}
.player-card.album-card.owned {border-color:#1a9976;box-shadow:0 0 0 2px #85cb8d4d;}
.owned .album-face {background:#daeeda;}
.album-card-button:hover,.inspect-image,.album-face {background:#eaf0eb;}
.card-info strong,.card-inspector p {color:var(--ink);}
.rating-label,.inspect-rating {color:#145841;}
.card-info small,.pitch-instruction {color:var(--muted);}
.btn {border-radius:8px;}
.primary {background:var(--teal);color:white;box-shadow:none;}
.primary:disabled {background:#dde4df;color:#55625e;}
.secondary {color:#243e34;border-color:var(--line);}
.soft,.auth-tabs,.side-tabs,.match-reward,.bench-list button,.lobby-team,.roster-option[aria-pressed=true],.archive-note,#recognized-card:not(:empty) {background:#e6f2ea;color:#22533e;}
.auth-tabs [aria-pressed=true],.side-tabs [aria-pressed=true] {color:#004e3d;box-shadow:0 1px 4px #223d2b27;}
.back-to,.lab-links a,.password-wrap button,#scan-status[aria-busy=true],.mobile-team-rating b,.source-credit {color:var(--teal);}
.auth-card {border-top:4px solid #157258;box-shadow:0 7px 24px #1c35290a;}
#account-form input,.club-form input:not([type=checkbox]),.club-form select,.admin-fields input,.admin-fields select,.search-box input,select {border-color:#a8bdb2;border-radius:7px;}
.club-panel fieldset,.field-panel,.squad-collection,.club-box {border-color:var(--line);border-radius:12px;}
.shot-slot {background:#f7faf6;border-color:var(--line);color:var(--ink);}
.shot-slot[aria-pressed=true] {border-color:#12775b;background:#e4f4e8;}
.shot-type {color:#3a5346;}
.filter[aria-pressed=true] {background:var(--night);border-color:var(--night);}
.filter[aria-pressed=true] .count {background:#36534a;}
.lineup-pitch {
  border:2px solid #1a5041;
  background:radial-gradient(ellipse at 75% 6%,#75ae6330,transparent 65%),repeating-linear-gradient(0deg,#186b4b 0 12.5%,#207951 12.5% 25%);
  box-shadow:inset 0 0 43px #05271c6e;
}
.field-name {background:#0d342ce8;}
.pitch-card {background:#0b4934b3;}
.line-bars b {background:#1e8460;}
.line-bars i {background:#dce7df;}
.club-box {background:var(--night);color:#f5fbf4;border-color:#1a302b;}
.club-box .small-note,.club-box .rating-head em {color:#b9c9c2;}
.club-box .line-bars i {background:#41564d;}
.club-box .line-bars b,.club-box .match-start {background:var(--lime);}
.club-box .match-start {color:#142822;}
.club-box .team-how {color:#d5e8d5;}
.result-board {background:#153b34;color:#f1f7ed;}
.result-board>strong {color:var(--lime);font-family:var(--display);font-stretch:75%;font-weight:900;}
.mobile-team-rating {color:var(--muted);}
.week .today b {outline-color:#078269;}
.answer-choice {background:#edf5ee;border-color:#cfe1d3;color:#24553f;}
.toast {background:var(--night);}
:focus-visible,.edition-picker summary:focus-visible {outline-color:#008968;}
@media (hover:hover) {
  .top-nav a:hover,.help-btn:hover {background:#304541;color:#eff9e8;}
  .primary:hover:not(:disabled) {background:#084d3f;}
  .club-box .match-start:hover {background:#e0ff88;}
  .secondary:hover,.soft:hover,.album-card-button:hover,.filter:hover:not([aria-pressed=true]) {background:#e7f1e9;}
  .tactics-link:hover {background-color:#194e40;}
  .featured-album:hover .featured-art img:last-child {transform:rotate(8deg);}
}
@media(min-width:621px) and (max-width:900px){
  .club-quickbar {grid-template-columns:1.35fr 1fr;}
}
@media(max-width:620px){
  .frame {width:calc(100% - 24px);}
  .head-inner {min-height:57px;}
  .brand img {width:34px;height:34px;}
  .brand img.brand-word {width:96px;}
  .help-btn {min-width:44px;border:0;padding:0;}
  .site-head .help-btn .ic {width:22px;height:22px;}
  .top-nav {gap:2px;border-top:1px solid #30433e;background:var(--night);box-shadow:0 -2px 12px #173a2c17;}
  .top-nav a {color:#cbd5cf;border-radius:5px;font-size:.72rem;}
  .top-nav a[aria-current="page"] {color:var(--lime);background:#2b433b;}
  .main-frame {padding-top:10px;}
  .club-hero {min-height:clamp(185px,53vw,266px);border-radius:11px;background-image:url("./assets/deckup-stadium-mobile.webp");background-position:50% 50%;}
  .club-hero-copy {max-width:75%;padding:19px 16px;}
  #club-view .tournament-label {font-size:.7rem;letter-spacing:.065em;gap:5px;margin-bottom:12px;}
  .tournament-label .ic {width:16px;height:16px;}
  .club-hero-copy h1 {font-size:clamp(2.7rem,10.95vw,4.3rem);margin-bottom:12px;}
  .tournament-progress {gap:0 5px;}
  .tournament-progress span:first-child {font-size:.88rem;}
  .tournament-progress span:nth-child(2) {font-size:.79rem;}
  .tournament-progress b {font-size:1.17rem;}
  .club-quickbar {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:9px 0 18px;}
  .club-quickbar .scan-launch {grid-column:1/-1;min-height:58px;padding:8px 12px;}
  .club-quickbar .my-cards-link,.club-quickbar .club-stats>a {
    min-width:0;min-height:65px;display:grid;grid-template-columns:auto 1fr;
    align-content:center;align-items:center;gap:3px 5px;padding:6px 8px;border-radius:8px;
  }
  .club-quickbar .my-cards-link strong,.club-quickbar .club-stats small {
    grid-column:1/-1;grid-row:2;font-size:.75rem;line-height:1.1;color:#405449;font-weight:550;
  }
  .club-quickbar .my-cards-count,.club-quickbar .club-stats b{
    grid-row:1;grid-column:2;justify-self:start;margin:0;padding:0;background:none;color:var(--ink);
    font:900 1.28rem/1 var(--display);font-stretch:75%;font-variant-numeric:tabular-nums;
  }
  .club-quickbar .club-stats>a>span:not(.club-ico) {display:contents;}
  .club-quickbar .my-cards-link>.ic,.club-quickbar .club-ico {grid-row:1;grid-column:1;width:17px;height:18px;background:none;}
  .club-quickbar .club-ico .ic {width:17px;height:17px;}
  .club-sections {grid-template-columns:minmax(0,1fr);gap:16px;margin-top:0;}
  .club-sections .compact-editions {order:-1;}
  #club-view .section-line {min-height:0;margin-bottom:8px;}
  .tactics-link {min-height:95px;padding:12px 16px;}
  .tactics-text strong {font-size:1.61rem;}
  .tactics-text>span {margin-top:6px;}
  .tactics-board {width:92px;height:66px;}
  .featured-album {min-height:135px;}
  .collection-cover {min-height:149px;border-radius:11px;}
  .collection-cover h1 {font-size:clamp(1.97rem,8.3vw,3rem);width:100%;max-width:none;}
  .collection-cover .cover-copy {width:66%;padding:20px 0 20px 16px;}
  .collection-cover .cover-copy>p {max-width:100%;}
  .hero-cards {right:1%;width:31%;}
  .card-info small,.rating-label {font-size:.82rem;}
  .club-title h1,.team-heading h1 {font-size:clamp(2.1rem,8.5vw,3rem);}
}
@media(prefers-reduced-motion:reduce){.album-card-button,.featured-art img{transition:none;}}
.hero-cards .missing-preview .card-face,.featured-art img.missing-preview {filter:grayscale(1) contrast(.85) brightness(1.06);}
.featured-album .featured-art {z-index:-2;}
.deckup-card-back {display:block;width:89%;height:88%;max-height:170px;border:2px solid #a1bcb0;border-radius:7px;background:
  url("./assets/mark.svg") center/41% auto no-repeat,
  repeating-linear-gradient(118deg,#0f3433 0 11px,#194a40 11px 13px);}
#modal::backdrop {background:#0b2029a8;}
#modal .icon-btn,.toast-icon {background:#e3f0e7;color:#225b47;}
#modal .modal-head h2 {font-family:Rubik,sans-serif;letter-spacing:-.035em;}
.result-board {display:block;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#143f3b,#102a2b);}
.result-title {color:#ecf6ec;font-weight:650;}
.result-title .ic {color:var(--lime);}
.match-score {display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:12px;margin-top:10px;}
.match-score>span {display:grid;justify-items:center;gap:5px;}
.match-score b,.match-score>i {font:900 clamp(3.3rem,10vw,4.8rem)/1 var(--display);font-stretch:75%;font-variant-numeric:tabular-nums;}
.match-score b {min-width:1.1em;border-bottom:3px solid var(--lime);padding:0 .12em 4px;}
.match-score>span:last-child b {border-color:#64d4c3;}
.match-score i {color:#9dbcb3;}
.match-score small {color:#e0ece4;}
@media(max-width:350px){
  .club-hero-copy h1 {max-width:4.7ch;font-size:2.55rem;line-height:.91;margin-bottom:6px;}
  .club-quickbar .scan-launch {gap:9px;}
  .scan-launch::after {display:none;}
  .scan-launch strong {font-size:1rem;}
}


