/* Fantasy. Токены Tennison DS, оболочка mainV2. Не трогает шапку сайта. */

html body .tn-ds-fantasy.mainV2__page--inner {
  background: transparent;
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 991px) {
  html body.v2-page .tn-ds-fantasy.mainV2__page--inner {
    max-width: 640px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

body.v2-page--guest.tn-ds-page #footer {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  height: auto !important;
  min-height: 0;
  margin-top: 24px;
}

.tn-ds-fantasy__inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.tn-ds-fantasy__chrome {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.tn-ds-fantasy__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.tn-ds-fantasy__back:hover {
  color: var(--text-primary);
}

.tn-ds-fantasy .mainV2__page-title {
  margin-bottom: 8px;
}

.tn-ds-fantasy__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tn-ds-fantasy__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tn-ds-fantasy__help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 44px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.tn-ds-fantasy__help:hover {
  color: var(--brand-ink);
  text-decoration: none;
}

.tn-ds-fantasy__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.tn-ds-fantasy__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-control);
  background: var(--surface-muted);
  color: var(--text-primary);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.tn-ds-fantasy__tab.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.tn-ds-fantasy__tab:hover {
  text-decoration: none;
  color: var(--text-primary);
}

.tn-ds-fantasy__tab.is-active:hover {
  color: var(--brand-deep);
}

.tn-ds-fantasy__card {
  margin-top: 4px;
}

.tn-ds-fantasy__status {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: var(--radius-control-sm);
  background: var(--brand-wash);
  color: var(--brand-deep);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.3;
}

.tn-ds-fantasy__text {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: var(--body-size);
  line-height: var(--body-line);
}

.tn-ds-fantasy__meta {
  margin: 0 0 4px;
  color: var(--text-secondary);
  font-size: var(--small-size);
  line-height: var(--small-line);
}

.tn-ds-fantasy__rules {
  margin: 4px 0 0;
  padding: 0 0 0 20px;
  color: var(--text-primary);
  font-size: var(--body-size);
  line-height: 1.45;
}

.tn-ds-fantasy__rules li {
  margin: 0 0 12px;
}

.tn-ds-fantasy__cta {
  width: 100%;
  min-height: 48px;
  margin-top: var(--space-4);
  text-decoration: none;
}

.tn-ds-fantasy__cta:hover,
.tn-ds-fantasy__cta:focus {
  text-decoration: none;
}

@media (min-width: 991px) {
  .tn-ds-fantasy__cta {
    width: auto;
    min-width: 200px;
  }
}

.tn-ds-fantasy__admin-actions form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-3);
}

.tn-ds-fantasy__admin-table {
  overflow-x: auto;
  margin-top: var(--space-4);
}

.tn-ds-fantasy__admin-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--caption-size);
}

.tn-ds-fantasy__admin-table th,
.tn-ds-fantasy__admin-table td {
  padding: 6px 8px;
  border-bottom: 0.5px solid var(--border-subtle);
  text-align: left;
  white-space: nowrap;
}

.tn-ds-fantasy__config {
  overflow-x: auto;
  margin-top: var(--space-4);
  padding: 12px;
  border-radius: var(--radius-control);
  background: var(--surface-muted);
  color: var(--text-primary);
  font-size: var(--caption-size);
  line-height: 1.45;
  white-space: pre-wrap;
}

.tn-ds-fantasy__stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tn-ds-fantasy__flash {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-control-lg);
  background: var(--brand-wash);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 600;
}

.tn-ds-fantasy__deadline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-control-lg);
  background: var(--brand-wash);
  color: var(--brand-deep);
  font-size: 14px;
}

.tn-ds-fantasy__deadline svg {
  flex: none;
  color: var(--brand-ink);
}

.tn-ds-fantasy__panel.tn-c-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.tn-ds-fantasy__squad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tn-ds-fantasy__squad-title {
  font-size: var(--heading-s-size);
  font-weight: var(--heading-s-weight);
  color: var(--text-primary);
}

.tn-ds-fantasy__count {
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--text-secondary);
}

.tn-ds-fantasy__slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.tn-ds-fantasy__slot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tn-ds-fantasy__slot {
  width: 100%;
  max-width: 56px;
  aspect-ratio: 1;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  font-family: var(--font-family);
}

.tn-ds-fantasy__slot--filled {
  border: 0;
  background: var(--surface-muted);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.tn-ds-fantasy__slot--photo {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.tn-ds-fantasy__slot--empty {
  border: 1.5px dashed var(--text-muted);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
}

.tn-ds-fantasy__slot-face {
  position: relative;
  width: 100%;
  max-width: 56px;
}

.tn-ds-fantasy__slot-x {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 1;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid var(--surface-primary);
  border-radius: 50%;
  background: #33480A;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
}

.tn-ds-fantasy__slot-col.is-replace .tn-ds-fantasy__slot--filled {
  box-shadow: 0 0 0 2px var(--text-primary);
}

.tn-ds-fantasy__slot-note {
  max-width: 64px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-secondary);
}

.tn-ds-fantasy__slot-name {
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: var(--caption-size);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.tn-ds-fantasy__slot-label {
  font-size: var(--caption-size);
  color: var(--text-secondary);
}

.tn-ds-fantasy__save {
  width: 100%;
  min-height: 52px;
}

.tn-ds-fantasy__save[hidden] {
  display: none;
}

.tn-ds-fantasy__hint,
.tn-ds-fantasy__foot {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--small-size);
  text-align: center;
}

.tn-ds-fantasy__filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.tn-ds-fantasy__chips {
  margin: 0 -16px;
  padding: 2px 16px 4px;
  scrollbar-width: none;
}

.tn-ds-fantasy__chips::-webkit-scrollbar { display: none; }

body.tn-ds-page #footer {
  display: none !important;
}

.tn-ds-fantasy__search {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  width: auto;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  box-sizing: border-box;
  padding: 0 12px 0 14px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid rgba(31, 31, 31, 0.55);
  border-radius: 12px;
  color: var(--text-muted);
  scroll-margin-top: 240px;
}

.tn-ds-fantasy__search:focus-within {
  border-color: #1f1f1f;
}

.tn-ds-fantasy__search > i.ti-search {
  font-size: 16px;
  color: var(--text-muted);
  flex: none;
  line-height: 1;
}

html body.v2-page .tn-ds-fantasy__search input[type="text"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 24px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: var(--text-primary) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  transform: none !important;
}

.tn-ds .tn-ds-fantasy__search input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.tn-ds-fantasy__search-clear {
  display: none;
  flex: none;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  line-height: 1;
  cursor: pointer;
}

.tn-ds-fantasy__search-clear i { font-size: 14px; }

.tn-ds-fantasy__search.has-value .tn-ds-fantasy__search-clear { display: flex; }

.tn-ds-fantasy__search-clear:hover { color: var(--text-primary); }

.tn-ds-fantasy__search input::-webkit-search-decoration,
.tn-ds-fantasy__search input::-webkit-search-cancel-button {
  display: none;
}

html body .tn-ds-fantasy__search .tn-ds-fantasy__sr {
  position: absolute !important;
  float: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tn-ds-fantasy__list.tn-c-card {
  padding: 4px 16px;
}

.tn-ds-fantasy__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}

.tn-ds-fantasy__row:last-child {
  border-bottom: 0;
}

.tn-ds-fantasy__row.is-out {
  opacity: 0.55;
}

.tn-ds-fantasy__groups .tn-ds-fantasy__row.is-picked {
  margin-left: -14px;
  margin-right: -14px;
  padding-left: 14px;
  padding-right: 14px;
  background: #F5FBEA;
}

.tn-ds-fantasy__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tn-ds-fantasy__name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tn-ds-fantasy__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-name);
  font-size: 15px;
  font-weight: 600;
}

.tn-ds-fantasy__sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
  font-size: var(--small-size);
}

.tn-ds-fantasy__out {
  flex: none;
  color: var(--status-loss-hot);
  font-size: var(--small-size);
  font-weight: 600;
}

.tn-ds-fantasy__coef-line {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.tn-ds-fantasy__add {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  border: 1.5px solid var(--text-primary);
  background: var(--surface-primary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.tn-ds-fantasy__add.is-picked {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--brand-deep);
}

.tn-ds-fantasy__add:disabled {
  border-color: #D4D4D4;
  color: #C4C4C4;
  cursor: default;
}

.tn-ds-fantasy__empty {
  margin: 0;
  padding: 24px 0;
  color: var(--text-secondary);
  font-size: 15px;
  text-align: center;
}

@media (min-width: 991px) {
  .tn-ds-fantasy__chips {
    margin: 0;
    padding: 2px 0 4px;
  }
}

.tn-ds-fantasy__stack--loose { gap: 16px; }

.tn-ds-fantasy__lead-title {
  margin: 0;
  font-size: var(--display-m-size);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tn-ds-fantasy__lead-text {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.tn-ds-fantasy__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tn-ds-fantasy__step.tn-c-card { padding: 18px; }

.tn-ds-fantasy__step--stack {
  flex-direction: column;
  gap: 16px;
}

.tn-ds-fantasy__step > div { min-width: 0; }

.tn-ds-fantasy__step-num {
  font-size: 16px;
  font-weight: 800;
}

.tn-ds-fantasy__step-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.tn-ds-fantasy__step-text {
  margin: 4px 0 0;
  color: var(--text-name);
  font-size: 15px;
  line-height: 1.45;
}

.tn-ds-fantasy__cheap-kicker {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.tn-ds-fantasy__coef-scale {
  display: flex;
  flex-direction: column;
  margin: 0 -18px -18px;
  padding: 4px 18px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: var(--surface-page);
}

.tn-ds-fantasy__coef-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}

.tn-ds-fantasy__coef-scale .tn-ds-fantasy__coef-line:last-child { border-bottom: 0; }

.tn-ds-fantasy__coef-line span { display: flex; flex-direction: column; }
.tn-ds-fantasy__coef-line b { font-size: 15px; font-weight: 600; }
.tn-ds-fantasy__coef-line small { color: var(--text-secondary); font-size: var(--small-size); }

.tn-ds-fantasy__coef-lg {
  min-width: 40px;
  height: 28px;
  font-size: 15px;
}

.tn-ds-fantasy__calendar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.tn-ds-fantasy__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.tn-ds-fantasy__eyebrow.is-up { color: var(--brand-ink); }
.tn-ds-fantasy__eyebrow.is-down { color: var(--status-loss-hot); }

.tn-ds-fantasy__cal-row {
  display: flex;
  gap: 12px;
  color: var(--text-name);
  font-size: 15px;
}

.tn-ds-fantasy__cal-date {
  flex: none;
  width: 64px;
  font-weight: 700;
  color: var(--text-primary);
}

.tn-ds-fantasy__cal-date.is-mark { color: var(--brand-ink); }

.tn-ds-fantasy__questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tn-ds-fantasy__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-ink);
}

.tn-ds-fantasy__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-secondary);
  font-size: var(--small-size);
}

.tn-ds-fantasy__legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tn-ds-fantasy__mover-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tn-ds-fantasy__mover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tn-ds-fantasy__mover .tn-ds-fantasy__coef-line {
  flex: none;
  padding: 0;
  border: 0;
  gap: 6px;
  color: var(--text-secondary);
}

.tn-ds-fantasy__group {
  padding: 12px 0 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tn-ds-fantasy__board {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}

.tn-ds-fantasy__board:last-child { border-bottom: 0; }

.tn-ds-fantasy__board.is-me {
  margin: 0 -16px;
  padding: 8px 16px;
  background: var(--brand-wash);
}

.tn-ds-fantasy__place {
  flex: none;
  width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.tn-ds-fantasy__points {
  flex: none;
  font-size: 17px;
  font-weight: 800;
}

.tn-ds-fantasy__page-title {
  margin: 0;
  font-size: var(--heading-m-size);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tn-ds-fantasy__page-lead {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.tn-ds-fantasy__hero.tn-c-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.tn-ds-fantasy__hero.tn-c-card.tn-ds-fantasy__hero--photo {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.tn-ds-fantasy__hero-title {
  margin: 0;
  font-size: var(--heading-l-size);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.tn-ds-fantasy__hero-text {
  margin: 6px 0 0;
  color: var(--text-name);
  font-size: 15px;
  line-height: 1.45;
}

.tn-ds-fantasy__ticker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-control-lg);
  background: var(--surface-page);
}

.tn-ds-fantasy__ticker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.tn-ds-fantasy__dot--live { background: #33480A; }

.tn-ds-fantasy__clock {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 0;
}

.tn-ds-fantasy__clock-part {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tn-ds-fantasy__clock-part small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tn-ds-fantasy__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tn-ds-fantasy__stat b {
  display: block;
  font-size: var(--heading-m-size);
  font-weight: 800;
  line-height: 1.1;
}

.tn-ds-fantasy__stat span {
  color: var(--text-secondary);
  font-size: 12px;
}

.tn-ds-fantasy__hero-cta {
  width: 100%;
  min-height: 52px;
}

.tn-ds-fantasy__hero .tn-c-btn--text {
  align-self: center;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.tn-ds-fantasy__hero .tn-c-btn--text:hover,
.tn-ds-fantasy__hero .tn-c-btn--text:focus {
  color: var(--text-primary);
}

.tn-ds-fantasy__mine.tn-c-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.tn-ds-fantasy__mine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tn-ds-fantasy__mine-title {
  margin: 0;
  font-size: var(--heading-s-size);
  font-weight: 700;
  color: var(--text-primary);
}

.tn-ds-fantasy__mine-count {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.tn-ds-fantasy__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tn-ds-fantasy__slot.tn-c-avatar {
  width: 44px;
  height: 44px;
  font-size: 14px;
  background-color: var(--surface-muted);
  color: var(--text-primary);
}

.tn-ds-fantasy__slot--empty {
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border: 1.5px dashed var(--text-muted);
  border-radius: 50%;
}

.tn-ds-fantasy__note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.tn-ds-fantasy__mine .tn-c-btn {
  width: 100%;
  min-height: 44px;
}

.tn-ds-fantasy__soon {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.tn-ds-fantasy__status-line {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.tn-ds-fantasy__status-line.is-wait { color: var(--text-secondary); }

.tn-ds-fantasy__status-line[hidden] { display: none; }

.tn-ds-fantasy__gate {
  margin: 0;
  padding: 12px 14px;
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-primary);
  color: var(--text-name);
  font-size: 14px;
  font-weight: 600;
}

.tn-ds-fantasy__coef-lock {
  margin: 0 0 12px;
  color: #5C5C5C;
  font-size: 13px;
  line-height: 1.4;
}

.tn-ds-fantasy__coef-note {
    display: block;
    max-width: 148px;
    margin-top: 4px;
    color: #4a6600;
    font-size: 11px;
    line-height: 1.3;
    text-align: right;
}

.tn-ds-fantasy__marks {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.tn-ds-fantasy__pay {
  color: #3F7A2A;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tn-ds-fantasy__coef-wait {
  min-width: 34px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 700;
}

.tn-ds-fantasy__dock {
  display: none;
}

@media (max-width: 990px) {
  .tn-ds-fantasy__dock {
    position: fixed;
    z-index: 25;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 8px 14px;
    border: 0.5px solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-primary);
    box-shadow: 0 8px 24px rgba(31, 31, 31, 0.08);
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
  }

  body.has-mainV2-bottom-nav:not(.v2-page--guest) .tn-ds-fantasy__dock {
    bottom: calc(var(--mv2-bottom-nav-h, 84px) + 8px);
  }

  .tn-ds-fantasy {
    padding-bottom: 76px;
  }
}

.tn-ds-fantasy__dock-slots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tn-ds-fantasy__dock-slot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tn-ds-fantasy__dock-slot.is-photo {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.tn-ds-fantasy__dock-slot.is-empty {
  background: transparent;
  border: 1.5px dashed var(--text-muted);
}

.tn-ds-fantasy__dock-count {
  font-size: 14px;
  font-weight: 700;
}

.tn-ds-fantasy__picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}

.tn-ds .tn-ds-fantasy__mine {
  padding: 14px 12px 16px;
  border-radius: 16px;
  border: 2px solid var(--brand-soft);
}

.tn-ds-fantasy__mine-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tn-ds-fantasy__mine-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

.tn-ds-fantasy__mine-head span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.tn-ds-fantasy__mine-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.tn-ds-fantasy__mine-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.tn-ds-fantasy__mine-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
}

.tn-ds-fantasy__mine-name.is-empty {
  color: var(--text-muted);
  font-weight: 500;
}

.tn-ds-fantasy__mine-slot .tn-ds-fantasy__mini {
  position: relative;
}

.tn-ds-fantasy__mine-slot .tn-ds-fantasy__mini:not(.is-empty)::after {
  content: "×";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #33480A;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.tn-ds-fantasy__mine-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--brand-wash);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.tn-ds-fantasy__mine-total b {
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 800;
}

.tn-ds-fantasy__mine-total small {
  flex-basis: 100%;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.tn-ds .tn-ds-fantasy__ladder {
  flex-basis: 100%;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--brand-soft);
  list-style: none;
}

.tn-ds-fantasy__ladder li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  font-size: 13px;
  font-weight: 500;
}

.tn-ds .tn-ds-fantasy__ladder b {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.tn-ds-fantasy__mine-hint {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.tn-ds .tn-ds-fantasy__mine-go,
.tn-ds .tn-ds-fantasy__mine-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border-radius: 14px;
  box-sizing: border-box;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.tn-ds .tn-ds-fantasy__mine-login {
  background: transparent;
  color: var(--text-primary);
  border: 0.5px solid rgba(31, 31, 31, 0.14);
}

.tn-ds .tn-ds-fantasy__mine-go:hover {
  background: var(--brand-soft-hover);
  color: var(--brand-deep);
  text-decoration: none;
}

.tn-ds-fantasy__mine [hidden] {
  display: none !important;
}

.tn-ds-fantasy__picker-bar {
  position: sticky;
  top: var(--mv2-topbar-h, 60px);
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin: -4px -16px 0;
  padding: 0 8px;
  background: var(--surface-page, #F4F5F6);
}

@media (max-width: 990px) {
  .tn-ds-fantasy__picker-bar {
    top: var(--mv2-mobile-topbar-h, 56px);
  }
}

.tn-ds-fantasy__picker-back {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
}

.tn-ds-fantasy__picker-back:hover { color: var(--text-primary); }

.tn-ds-fantasy__picker-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.tn-ds-fantasy__groups {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tn-ds-fantasy__group-link {
  color: #4A6600;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.tn-ds-fantasy__groups .tn-ds-fantasy__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tn-ds-fantasy__groups .tn-ds-fantasy__list.tn-c-card {
  padding: 0 14px;
  border-radius: 16px;
}

.tn-ds-fantasy__groups .tn-ds-fantasy__row {
  padding: 10px 0;
}

.tn-ds-fantasy__cart {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-primary);
  border-top: 0.5px solid rgba(31, 31, 31, 0.12);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 990px) {
  body.has-mainV2-bottom-nav:not(.v2-page--guest) .tn-ds-fantasy__cart {
    bottom: var(--mv2-bottom-nav-h, 84px);
    padding-bottom: 20px;
  }
}

.tn-ds-fantasy__cart-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tn-ds-fantasy__cart-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tn-ds-fantasy__cart-slots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tn-ds-fantasy__cart-count {
  margin-left: auto;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
}

.tn-ds-fantasy__mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--surface-inverse);
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tn-ds-fantasy__mini.is-photo {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.tn-ds-fantasy__mini.is-empty {
  background: transparent;
  border: 1.5px dashed var(--text-muted);
  cursor: default;
}

.tn-ds .tn-ds-fantasy__cart-done,
.tn-ds .tn-ds-fantasy__cart-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 36px;
  margin-left: 8px;
  padding: 0 14px;
  border-radius: 999px;
  box-sizing: border-box;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.tn-ds .tn-ds-fantasy__cart-login {
  background: transparent;
  color: var(--text-primary);
  border: 0.5px solid rgba(31, 31, 31, 0.14);
}

.tn-ds .tn-ds-fantasy__cart-done:hover {
  background: var(--brand-soft-hover);
  color: var(--brand-deep);
  text-decoration: none;
}

.tn-ds-fantasy__cart-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 14px;
  background: #EFEFEF;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.tn-ds-fantasy__cart [hidden] {
  display: none !important;
}

.tn-ds-fantasy .tn-c-coef--1 { background: #EFEFEF; color: #1F1F1F; }
.tn-ds-fantasy .tn-c-coef--2 { background: #F0F8D2; color: #4A6600; }
.tn-ds-fantasy .tn-c-coef--3 { background: #DCEF7A; color: #33480A; }
.tn-ds-fantasy .tn-c-coef--max {
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}
.tn-ds-fantasy .tn-c-coef__tip {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  width: 220px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #33480A;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.tn-ds-fantasy .tn-c-coef--max:hover .tn-c-coef__tip,
.tn-ds-fantasy .tn-c-coef--max:focus .tn-c-coef__tip,
.tn-ds-fantasy .tn-c-coef--max.is-open .tn-c-coef__tip {
  display: block;
}

.tn-ds-fantasy .tn-c-btn--soft {
  background: #DCEF7A;
  color: #33480A;
  border-color: #DCEF7A;
}

.tn-ds-fantasy .tn-c-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tn-ds-fantasy .tn-c-chip {
  flex: none;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 0.5px solid rgba(31, 31, 31, 0.14);
  border-radius: 18px;
  background: #fff;
  color: #1F1F1F;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 34px;
  white-space: nowrap;
  cursor: pointer;
}
.tn-ds-fantasy .tn-c-chip.is-active {
  background: #F7FBEA;
  color: #33480A;
  border-color: #C5D98A;
}

.tn-ds-fantasy .tn-c-avatar {
  background-color: #EFEFEF;
  color: #1F1F1F;
}

.tn-ds-fantasy .tn-c-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 13px;
}

.tn-ds-fantasy__add {
  width: 36px;
  height: 36px;
  background: #fff;
  border-color: #1F1F1F;
  color: #1F1F1F;
}

.tn-ds-fantasy__add.is-picked {
  background: #DCEF7A;
  border-color: #C5D98A;
  color: #33480A;
}

.tn-ds-fantasy__add:disabled {
  background: #F3F3F3;
  border-color: #E4E4E4;
  color: #C4C4C4;
}

.tn-ds-fantasy__picker {
  padding-bottom: 32px;
}

.tn-ds-fantasy__picker-stick {
  position: sticky;
  top: var(--mv2-topbar-h, 60px);
  z-index: 24;
  margin: 0 -16px;
  padding: 0 16px 10px;
  background: var(--surface-page, #F4F5F6);
}

@media (max-width: 990px) {
  .tn-ds-fantasy__picker-stick {
    top: var(--mv2-mobile-topbar-h, 56px);
  }
}

#fantasy-stick,
#fantasy-board-bar {
  z-index: 30 !important;
}

.tn-ds-fantasy__picker-stick .tn-ds-fantasy__picker-bar {
  position: static;
  top: auto;
  margin: 0 -8px;
}

#fantasy-board .tn-ds-fantasy__places-lead,
.tn-ds-fantasy__picker-stick .tn-ds-fantasy__places-lead {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.tn-ds-fantasy__picker-stick .tn-ds-fantasy__chips {
  margin: 10px -16px 0;
}

.tn-ds-fantasy__picker-stick .tn-ds-fantasy__search {
  margin-top: 10px;
}

.tn-ds-fantasy__strip {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.tn-ds-fantasy__strip-face {
  position: relative;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFEFEF;
  color: #3A3A3A;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  overflow: visible;
}

button.tn-ds-fantasy__strip-face {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.tn-ds-fantasy__strip-face.is-photo {
  background-position: center;
  background-size: cover;
  color: transparent;
}

.tn-ds-fantasy__strip-face.is-empty {
  border: 1.5px dashed #C4C4C4;
  background: #fff;
  color: #6A6A6A;
  font-size: 18px;
  font-weight: 500;
}

.tn-ds-fantasy__strip-face.is-next {
  outline: 2px solid #33480A;
  outline-offset: 2px;
}

.tn-ds-fantasy__strip-face.is-out {
  opacity: 0.55;
}

.tn-ds-fantasy__strip-x {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #E2E2E2;
  background: #fff;
  color: #5C5C5C;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.tn-ds-fantasy__cart {
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  border: 0.5px solid rgba(31, 31, 31, 0.08);
  border-radius: 18px;
  background: #F2F2F2;
}

@media (min-width: 991px) {
  .tn-ds-fantasy__cart {
    left: 50%;
    right: auto;
    width: 640px;
    max-width: calc(100% - 24px);
    transform: translateX(-50%);
  }
}

@media (max-width: 990px) {
  body.has-mainV2-bottom-nav:not(.v2-page--guest) .tn-ds-fantasy__cart {
    bottom: calc(var(--mv2-bottom-nav-h, 84px) + 8px);
  }
}

.tn-ds-fantasy__mini {
  background: #F4F8E8;
  color: #33480A;
  box-shadow: inset 0 0 0 1px #E4EBCF;
}

.tn-ds-fantasy__basket-hint,
.tn-ds-fantasy__basket-login {
  margin: 0;
  text-align: center;
  color: #5C5C5C;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.tn-ds-fantasy__basket-done {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 8px 0 0;
  border-radius: 14px;
  background: #DCEF7A;
  color: #33480A;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.tn-ds-fantasy__basket-done[hidden],
.tn-ds-fantasy__basket-login[hidden],
.tn-ds-fantasy__team[hidden] {
  display: none;
}

.tn-ds-fantasy__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 8px 0 0;
  padding: 10px 12px 8px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.tn-ds-fantasy__team span {
  color: #5C5C5C;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.tn-ds-fantasy__team b {
  color: #1A1A1A;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.tn-ds-fantasy__team small {
  color: #8A8A8A;
  font-size: 12px;
  font-weight: 600;
}

.tn-ds-fantasy__hero {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}

.tn-ds-fantasy__hero-photo {
  height: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #E7F0D4;
  color: #33480A;
  font-size: 13px;
}

.tn-ds-fantasy__cast {
  background: #F5FBEA;
  padding: 22px 16px 18px;
}

.tn-ds-fantasy__cast-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.tn-ds-fantasy__cast-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 58px;
}

.tn-ds-fantasy__cast-slot.is-pick {
  width: 72px;
}

.tn-ds-fantasy__cast-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #E4EBCF;
}

.tn-ds-fantasy__cast-face svg {
  width: 26px;
  height: 26px;
  fill: #A0A0A0;
}

.tn-ds-fantasy__cast-face--pick {
  width: 64px;
  height: 64px;
  border: 0;
  background: #DCEF7A;
  color: #33480A;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.tn-ds-fantasy__cast-face--wait {
  color: #A0A0A0;
  font-size: 22px;
  font-weight: 700;
}

.tn-ds-fantasy__cast-face.is-photo {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.tn-ds-fantasy__cast-face.is-letters {
  color: #1F1F1F;
  font-size: 15px;
  font-weight: 700;
}

a.tn-ds-fantasy__cast-slot {
  text-decoration: none;
  color: inherit;
}

.tn-ds-fantasy__cast-team {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
  margin: 14px 0 0;
  text-align: center;
}

.tn-ds-fantasy__cast-team span {
  color: #4A6600;
  font-size: 14px;
  font-weight: 600;
}

.tn-ds-fantasy__cast-team b {
  color: #1A1A1A;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.tn-ds-fantasy__cast-team small {
  color: #8A8A8A;
  font-size: 12px;
  font-weight: 600;
}

.tn-ds-fantasy__grids {
  display: flex;
  flex-direction: column;
  padding: 4px 16px;
  border-radius: 20px;
  background: #fff;
}

.tn-ds-fantasy__grids-title {
  padding: 12px 0 4px;
  color: #5C5C5C;
  font-size: 13px;
  font-weight: 600;
}

.tn-ds-fantasy__grid-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  border-top: 0.5px solid rgba(31, 31, 31, 0.08);
  color: #1F1F1F;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.tn-ds-fantasy__grid-link svg {
  flex: none;
  color: #8A8A8A;
}

.tn-ds-fantasy__cast-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.tn-ds-fantasy__cast-form {
  margin: 0;
}

.tn-ds-fantasy__cast-remove {
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  background: transparent;
  color: #4A6600;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  cursor: pointer;
}

.tn-ds-fantasy__cast-max {
  margin: 12px 0 0;
  text-align: center;
  color: #4A6600;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.tn-ds-fantasy__cast-name {
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #3A3A3A;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.tn-ds-fantasy__cast .tn-c-coef {
  min-width: 0;
  height: 22px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 12px;
}

.tn-ds-fantasy__cast-q {
  margin: 12px 0 0;
  text-align: center;
  color: #4A6600;
  font-size: 13px;
  font-weight: 600;
}

.tn-ds-fantasy__cast .tn-ds-fantasy__eyebrow {
  margin: 16px 0 0;
}

.tn-ds-fantasy__hero-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
}

.tn-ds-fantasy__eyebrow {
  margin: 0;
  color: #6B6B6B;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.tn-ds-fantasy__hero-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.tn-ds-fantasy__hero-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.tn-ds-fantasy__hero-meta {
  margin: 0;
  text-align: center;
  color: #6B6B6B;
  font-size: 13px;
}

.tn-ds-fantasy__block-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.tn-ds-fantasy__panel[data-team-finder].tn-c-card {
  gap: 8px;
  padding: 12px 14px;
}

.tn-ds-fantasy__teams-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0;
}

.tn-ds-fantasy__teams-lead {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.tn-ds-fantasy__teams-head .tn-ds-fantasy__block-title {
  margin: 0;
}

.tn-ds-fantasy__teams-head .tn-ds-fantasy__teams-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
}

.tn-ds-fantasy__search--surname {
  flex: 0 1 180px;
  width: 180px;
  max-width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0 0 0 auto;
  padding: 0 8px 0 10px;
  align-self: center;
  scroll-margin-top: 0;
}

.tn-ds-fantasy__picked.tn-c-card {
  gap: 6px;
  padding: 12px 14px;
}

.tn-ds-fantasy__picked .tn-ds-fantasy__block-title,
.tn-ds-fantasy__picked .tn-ds-fantasy__teams-note {
  margin: 0;
}

.tn-ds-fantasy__picked .tn-ds-fantasy__teams-note {
  font-size: 12px;
  line-height: 1.3;
}

.tn-ds-fantasy__picked .tn-ds-fantasy__cheap-kicker {
  margin: 8px 0 0;
}

.tn-ds-fantasy__picked-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  text-decoration: none;
  color: inherit;
}

.tn-ds-fantasy__picked-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
}

.tn-ds-fantasy__picked-points {
  flex: none;
  min-width: 28px;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.tn-ds-fantasy__picked-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #EFEFEF;
  color: #5C5C5C;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1;
  vertical-align: 2px;
  cursor: pointer;
}

.tn-ds-fantasy__picked-tip {
  display: none;
  position: absolute;
  z-index: 5;
  left: 0;
  top: calc(100% + 8px);
  width: 240px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #33480A;
  color: #fff;
  font-family: inherit;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

.tn-ds-fantasy__picked-info.is-open .tn-ds-fantasy__picked-tip {
  display: block;
}

.tn-ds-fantasy__example {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}

.tn-ds-fantasy__example b {
  margin-left: auto;
  font-size: 18px;
}

.tn-ds-fantasy__example b.is-hot { color: #33480A; }

.tn-ds-fantasy__example-note {
  margin: 8px 0 0;
  color: #6B6B6B;
  font-size: 13px;
  line-height: 1.4;
}

.tn-ds-fantasy__teams-note {
  margin: 0 0 12px;
  color: #6B6B6B;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.tn-ds-fantasy__teams {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tn-ds-fantasy__team {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F6F3EA;
  text-decoration: none;
  color: inherit;
  text-align: left;
}

.tn-ds-fantasy__team-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tn-ds-fantasy__team-who {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  font-size: 16px;
  color: #1F1F1F;
}

.tn-ds-fantasy__team-picks {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #E4E0D3;
  color: #33480A;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
}

.tn-ds-fantasy__team-coef {
  flex: none;
  color: #6B6B6B;
  font-size: 14px;
  font-weight: 600;
}

.tn-ds-fantasy__live,
.tn-ds-fantasy__score {
  padding: 16px;
  border-radius: 20px;
  background: #F3F8E4;
}

.tn-ds-fantasy__live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.tn-ds-fantasy__live-kicker {
  margin: 14px 0 0;
  color: #5C5C5C;
  font-size: 14px;
}

.tn-ds-fantasy__count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 8px;
}

.tn-ds-fantasy__count b {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
}

.tn-ds-fantasy__count span {
  margin-right: 8px;
  color: #5C5C5C;
  font-size: 16px;
}

.tn-ds-fantasy__live-squad {
  margin-top: 4px;
}

.tn-ds-fantasy__live-note {
  margin: 12px 0 0;
  color: #3A3A3A;
  font-size: 14px;
  line-height: 1.4;
}

.tn-ds-fantasy__person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 0.5px solid rgba(31, 31, 31, 0.08);
}

.tn-ds-fantasy__person:first-child { border-top: 0; }

.tn-ds-fantasy__score {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.tn-ds-fantasy__score b {
  display: block;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
}

.tn-ds-fantasy__score span {
  color: #5C5C5C;
  font-size: 14px;
}

.tn-ds-fantasy__score .is-place { text-align: right; }

.tn-ds-fantasy__score-wait {
  display: block;
  max-width: 180px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

img.tn-ds-fantasy__hero-photo {
  width: 100%;
  height: 196px;
  margin: 0;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
}

.tn-ds-fantasy__score-foot {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 0.5px solid rgba(51, 72, 10, 0.15);
  font-size: 14px;
}

.tn-ds-fantasy__score-foot b { display: inline; font-size: 14px; }

.tn-ds-fantasy__state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3E6B12;
  font-size: 13px;
  font-weight: 600;
}

.tn-ds-fantasy__state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3E6B12;
}

.tn-ds-fantasy__state.is-out { color: #C4382B; }
.tn-ds-fantasy__state.is-out::before { background: #C4382B; }

.tn-ds-fantasy__swap {
  padding: 2px 6px;
  border-radius: 6px;
  background: #EDE4F7;
  color: #5B3D86;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tn-ds-fantasy__gain {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tn-ds-fantasy__gain b {
  color: #3E6B12;
  font-size: 16px;
}

.tn-ds-fantasy__mebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #F3F8E4;
  font-weight: 800;
}

.tn-ds-fantasy__mebar b { margin-left: auto; font-size: 22px; }

.tn-ds-fantasy__board[hidden] { display: none !important; }

.tn-ds-fantasy__board summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
}

.tn-ds-fantasy__board summary::-webkit-details-marker { display: none; }

.tn-ds-fantasy__board-squad {
  padding: 0 0 10px 36px;
}

.tn-ds-fantasy__board-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
}

.tn-ds-fantasy__board-pick b {
  margin-left: auto;
  color: #3E6B12;
}

.tn-ds-fantasy__board-pick.is-out { color: #8A8A8A; }

.tn-ds-fantasy__save {
  width: 100%;
  justify-content: center;
}

.tn-ds-fantasy__add-form {
  margin: 0;
  flex: none;
  display: flex;
}

a.tn-ds-fantasy__add {
  text-decoration: none;
  line-height: 1;
}

.tn-ds-fantasy__row > .tn-ds-fantasy__name {
  flex: 1;
  min-width: 0;
}

.tn-ds-fantasy__move {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--text-secondary);
}

.tn-ds-fantasy__sum {
  margin: 0;
  color: var(--text-name);
  font-size: 15px;
  font-weight: 700;
}

#fantasy-board[hidden],
#fantasy-picker[hidden] {
  display: none !important;
}

.tn-ds-fantasy__places-lead {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.4;
}

.tn-ds-fantasy__places-deadline {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.tn-ds-fantasy__places {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
}

.tn-ds-fantasy__place {
  flex: 0 0 56px;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tn-ds-fantasy__place-face {
  position: relative;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFEFEF;
  color: #3A3A3A;
  font-size: 16px;
  font-weight: 700;
  overflow: visible;
}

.tn-ds-fantasy__place-face.is-photo {
  background-color: #EFEFEF;
  background-position: center;
  background-size: cover;
  color: transparent;
}

.tn-ds-fantasy__place-face.is-empty {
  border: 1.5px dashed #C4C4C4;
  background: #fff;
  color: #6A6A6A;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.tn-ds-fantasy__place-x {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #E2E2E2;
  background: #fff;
  color: #5C5C5C;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.tn-ds-fantasy__place-name {
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-name);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.tn-ds-fantasy__place .tn-c-coef {
  font-size: 11px;
  padding: 2px 6px;
}

.tn-ds-fantasy__place-replace {
  border: 0;
  background: transparent;
  color: #33480A;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.tn-ds-fantasy__places-sum {
  margin: 16px 0 0;
  text-align: center;
  color: var(--text-name);
  font-size: 16px;
  font-weight: 700;
}

.tn-ds-fantasy__places-sum[hidden] {
  display: none;
}

#fantasy-board .tn-ds-fantasy__basket-done {
  margin-top: 16px;
}

@media (max-width: 389px) {
  .tn-ds-fantasy__places {
    gap: 6px;
  }
}

.tn-ds-fantasy__champion {
  padding: 16px 14px;
  border-radius: 16px;
  background: #F5FBEA;
}

.tn-ds-fantasy__champion-kicker {
  color: #5C7A32;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tn-ds-fantasy__champion h2 {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.tn-ds-fantasy__champion h2 a {
  color: inherit;
  text-decoration: none;
}

.tn-ds-fantasy__champion p {
  margin: 6px 0 0;
  color: #3F3F3F;
  font-size: 14px;
  line-height: 1.35;
}

.tn-ds-fantasy__pulse,
.tn-ds-fantasy__board-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 0.5px solid rgba(31, 31, 31, 0.08);
}

.tn-ds-fantasy__board-hero {
  background: #F5FBEA;
  border: 0;
}

.tn-ds-fantasy__pulse b,
.tn-ds-fantasy__board-hero b {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}

.tn-ds-fantasy__pulse span,
.tn-ds-fantasy__board-hero span {
  display: block;
  margin-top: 4px;
  color: #6B6B6B;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.tn-ds-fantasy__pulse .is-coef,
.tn-ds-fantasy__board-hero .is-points {
  text-align: right;
}

.tn-ds-fantasy__roster.tn-c-card,
.tn-ds-fantasy__standings.tn-c-card {
  padding: 4px 14px;
}

.tn-ds-fantasy__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 0;
  border-top: 0.5px solid rgba(31, 31, 31, 0.08);
}

.tn-ds-fantasy__row:first-child {
  border-top: 0;
}

a.tn-ds-fantasy__alink {
  display: inline;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.tn-ds-fantasy__name.tn-ds-fantasy__alink {
  align-self: flex-start;
  max-width: 100%;
}

a.tn-ds-fantasy__alink:hover {
  color: #4A6600;
}

a.tn-ds-fantasy__face-link {
  flex: none;
  color: inherit;
  text-decoration: none;
}

.tn-ds-fantasy__face {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tn-ds-fantasy__face .tn-c-avatar {
  width: 34px;
  height: 34px;
  font-size: 11px;
}

.tn-ds-fantasy__face.is-win {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #9ED38A;
}

.tn-ds-fantasy__face.is-loss {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #EDB3B3;
}

.tn-ds-fantasy__row-main {
  flex: 1;
  min-width: 0;
}

.tn-ds-fantasy__row-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.tn-ds-fantasy__row-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

a.tn-ds-fantasy__tour {
  color: #1F1F1F;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tn-ds-fantasy__row-sub,
.tn-ds-fantasy__row-status {
  display: block;
  margin-top: 1px;
  color: #6B6B6B;
  font-size: 12px;
  line-height: 1.3;
}

.tn-ds-fantasy__set {
  color: #1F1F1F;
  font-weight: 700;
}

.tn-ds-fantasy__row-status.is-win { color: #3F7A2A; }
.tn-ds-fantasy__row-status.is-loss,
.tn-ds-fantasy__row-status.is-out { color: #B54848; }

.tn-ds-fantasy__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: 1px;
}

.tn-ds-fantasy__tag.is-win { background: #EAF6E3; color: #3F7A2A; }
.tn-ds-fantasy__tag.is-loss { background: #FBECEC; color: #B54848; }

.tn-ds-fantasy__mpoints {
  flex: none;
  font-size: 16px;
  font-weight: 800;
}

.tn-ds-fantasy__mpoints.is-plus { color: #3F7A2A; }
.tn-ds-fantasy__mpoints.is-zero { color: #B54848; }

.tn-ds-fantasy__replace {
  color: #4A6600;
  font-weight: 700;
}

.tn-ds-fantasy__kicker {
  margin: 16px 2px 6px;
  color: #8A8A8A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tn-ds-fantasy__stand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 -14px;
  padding: 6px 14px;
}

.tn-ds-fantasy__stand.is-me { background: #F5FBEA; }

.tn-ds-fantasy__stand-place {
  flex: none;
  width: 18px;
  color: #6B6B6B;
  font-size: 13px;
  font-weight: 700;
}

.tn-ds-fantasy__stand-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tn-ds-fantasy__stand-name {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tn-ds-fantasy__stand-meta {
  color: #6B6B6B;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tn-ds-fantasy__stand-points {
  margin-left: auto;
  font-size: 16px;
  font-weight: 800;
}

.tn-ds-fantasy__move {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.tn-ds-fantasy__move.is-up { color: #4A6600; }
.tn-ds-fantasy__move.is-down { color: #C26868; }

.tn-ds-fantasy__gap {
  padding: 4px 0;
  color: #8A8A8A;
  text-align: center;
  letter-spacing: 0.2em;
}

.tn-ds-fantasy__all {
  display: block;
  margin-top: 8px;
  color: #4A6600;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.tn-ds-fantasy__player > summary {
  list-style: none;
  cursor: pointer;
}

.tn-ds-fantasy__player > summary::-webkit-details-marker {
  display: none;
}

.tn-ds-fantasy__player[data-empty] > summary {
  cursor: default;
}

.tn-ds-fantasy__player:not([data-empty]) > summary::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin: 0 2px 4px 2px;
  border-right: 2px solid #8A8A8A;
  border-bottom: 2px solid #8A8A8A;
  transform: rotate(45deg);
}

.tn-ds-fantasy__player[open] > summary::after {
  margin-bottom: 0;
  transform: rotate(-135deg);
}

.tn-ds-fantasy__player > summary.tn-ds-fantasy__row {
  border-top: 0.5px solid rgba(31, 31, 31, 0.08);
}

.tn-ds-fantasy__player:first-child > summary.tn-ds-fantasy__row {
  border-top: 0;
}

.tn-ds-fantasy__row-end.is-stack {
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.tn-ds-fantasy__coef-note {
  color: #8A8A8A;
  font-size: 12px;
  font-weight: 600;
}

.tn-ds-fantasy__row-status.is-next { color: #6B6B6B; }

.tn-ds-fantasy__mpoints.is-none { color: #8A8A8A; }

.tn-ds-fantasy__score-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-left: 44px;
  padding: 6px 0;
  color: #1F1F1F;
  font-size: 13px;
  line-height: 1.35;
}

.tn-ds-fantasy__score-line:last-child {
  padding-bottom: 10px;
}

.tn-ds-fantasy__score-line .tn-ds-fantasy__mpoints {
  font-size: 14px;
}

.tn-ds-fantasy__gone {
  margin: 0;
  padding: 10px 0;
  border-top: 0.5px solid rgba(31, 31, 31, 0.08);
  color: #6B6B6B;
  font-size: 12px;
}


a.tn-ds-fantasy__stand {
  color: inherit;
  text-decoration: none;
}

.tn-ds-fantasy__back-link {
  color: #4A6600;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.tn-ds-fantasy__share-lead {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.tn-ds-fantasy__share-sub {
  margin: 6px 0 0;
  color: #5C5C5C;
  font-size: 14px;
}

.tn-ds-fantasy__share-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

.tn-ds-fantasy__share-tg {
  color: #5C5C5C;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.tn-ds-fantasy__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
  line-height: 1;
}

.tn-ds-fantasy__share-btn .act-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tn-ds-fantasy__share-btn .act-icon svg {
  width: 20px;
  height: 20px;
  stroke: #5C5C5C;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tn-ds-fantasy__share-btn:hover .act-icon svg,
.tn-ds-fantasy__share-btn.is-toast .act-icon svg {
  stroke: #33480A;
}

.tn-ds-fantasy__share-btn .act-tip {
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  background: #1F1F1F;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.tn-ds-fantasy__share-btn:hover .act-tip,
.tn-ds-fantasy__share-btn.is-toast .act-tip {
  opacity: 1;
}
