.transfer-view {
  --tm-bg: #070a09;
  --tm-panel: rgba(18, 22, 20, 0.88);
  --tm-panel-soft: rgba(24, 30, 28, 0.72);
  --tm-filter-bg: rgba(12, 16, 15, 0.88);
  --tm-filter-bg-soft: rgba(22, 27, 25, 0.78);
  --tm-filter-border: rgba(255, 255, 255, 0.08);
  --tm-filter-border-strong: rgba(214, 162, 30, 0.22);
  --tm-border: rgba(214, 162, 30, 0.16);
  --tm-border-green: rgba(47, 191, 113, 0.28);
  --tm-green: #1f9d5a;
  --tm-green-soft: rgba(31, 157, 90, 0.18);
  --tm-cyan: #22c7c9;
  --tm-blue: #3f7dff;
  --tm-gold: #d6a21e;
  --tm-text: #f2f2ef;
  --tm-muted: #9b9b93;
  --tm-danger: #e34848;
  --tm-draw: #d89b22;
  --tm-panel-radius: 16px;
  --tm-control-radius: 14px;
  display: grid;
  gap: 18px;
  color: var(--tm-text);
}

.transfer-market-hero,
.transfer-market-board,
.transfer-view>.transfer-tab-panel>.card {
  border: 1px solid var(--tm-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    var(--tm-panel);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.transfer-market-hero {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  display: grid;
  gap: 28px;
  padding: 32px 32px 0;
  border-radius: 18px;
  isolation: isolate;
}

.transfer-market-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 162, 30, 0.18), transparent 30%),
    radial-gradient(circle at 68% 70%, rgba(31, 157, 90, 0.22), transparent 34%),
    linear-gradient(115deg, rgba(7, 10, 9, 0.98) 0%, rgba(9, 19, 15, 0.84) 48%, rgba(10, 36, 31, 0.55) 100%);
  z-index: -2;
}

.transfer-market-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 88%);
  opacity: 0.45;
  z-index: -1;
}

.transfer-market-hero__copy {
  max-width: 720px;
}

.transfer-market-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 390px);
  gap: 28px;
  align-items: end;
}

.transfer-market-hero__eyebrow,
.transfer-market-kicker,
.transfer-market-wealth span,
.transfer-interest-card__title {
  color: var(--tm-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transfer-market-hero h2 {
  margin: 12px 0 10px;
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.96);
}

.transfer-market-hero p,
.transfer-market-head p,
.transfer-interest-card p {
  margin: 0;
  color: rgba(242, 242, 239, 0.68);
  line-height: 1.55;
}

.transfer-market-hero__metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.transfer-market-hero__metrics span {
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.transfer-market-hero__metrics strong {
  color: var(--tm-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transfer-market-hero__status {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 5%, rgba(214, 162, 30, 0.13), transparent 34%),
    rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.transfer-market-hero__status.is-open {
  border-color: rgba(47, 191, 113, 0.34);
  box-shadow: inset 0 0 28px rgba(31, 157, 90, 0.08);
}

.transfer-market-hero__status.is-closed {
  border-color: rgba(214, 162, 30, 0.22);
}

.transfer-market-hero__status-pill {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #dff7e8;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transfer-market-hero__status.is-closed .transfer-market-hero__status-pill {
  color: #fff3c7;
}

.transfer-market-hero__status strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.1;
}

.transfer-market-hero__status span {
  color: rgba(242, 242, 239, 0.66);
}

.transfer-market-hero__progress {
  overflow: hidden;
  height: 6px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.transfer-market-hero__progress i {
  display: block;
  height: 100%;
  min-width: 4px;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tm-green), var(--tm-gold));
  box-shadow: 0 0 14px rgba(31, 157, 90, 0.28);
}

.transfer-interest-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  color: #dff7e8;
  font-weight: 900;
}

.transfer-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 26px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
  padding: 16px 0 15px;
  scrollbar-width: thin;
}

.transfer-tabs .tab-btn {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 0 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.transfer-tabs .tab-btn.active {
  color: #dff7e8;
}

.transfer-tabs .tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tm-green), var(--tm-gold));
  box-shadow: 0 0 16px rgba(31, 157, 90, 0.35);
}

.transfer-market-board {
  overflow: hidden;
  padding: 24px;
  border-radius: 18px;
}

.transfer-market-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.transfer-market-head h3 {
  margin: 6px 0 6px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.transfer-market-wealth {
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid rgba(214, 162, 30, 0.2);
  border-radius: 12px;
  background: rgba(214, 162, 30, 0.08);
  text-align: right;
}

.transfer-market-wealth strong {
  display: block;
  margin-top: 5px;
  color: #fff7d2;
  font-size: 1.35rem;
}

.transfer-interest-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(34, 199, 201, 0.23);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 199, 201, 0.13), transparent 32%),
    rgba(0, 0, 0, 0.18);
}

.transfer-interest-card.is-full {
  border-color: rgba(214, 162, 30, 0.32);
}

.transfer-interest-card__meter {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.transfer-interest-card__meter strong {
  color: #e9fff3;
  font-size: 1.1rem;
}

.transfer-interest-card__dots {
  display: flex;
  gap: 6px;
}

.transfer-interest-card__dots span {
  width: 23px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.transfer-interest-card__dots span.is-filled {
  background: linear-gradient(90deg, var(--tm-green), var(--tm-cyan));
  box-shadow: 0 0 10px rgba(34, 199, 201, 0.24);
}

.transfer-filter-shell {
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid var(--tm-filter-border);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    var(--tm-filter-bg);
}

.transfer-filter-shell summary {
  cursor: pointer;
  width: fit-content;
  color: rgba(242, 242, 239, 0.76);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
}

.transfer-filter-pill {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(6, minmax(126px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.transfer-filter-field {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 58px;
  padding: 11px 14px;
  border: 1px solid var(--tm-filter-border);
  border-radius: var(--tm-control-radius);
  background: var(--tm-filter-bg-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.transfer-filter-field:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(25, 31, 29, 0.86);
}

.transfer-filter-field:focus-within {
  border-color: rgba(214, 162, 30, 0.36);
  box-shadow: 0 0 0 3px rgba(214, 162, 30, 0.09);
}

.transfer-filter-skill-field--primary:focus-within {
  border-color: rgba(34, 199, 201, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 199, 201, 0.12);
}

.transfer-filter-skill-field--secondary:focus-within {
  border-color: rgba(63, 125, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(63, 125, 255, 0.12);
}

.transfer-filter-field>span,
.transfer-filter-toggle span {
  color: rgba(242, 242, 239, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transfer-filter-field .input,
.transfer-filter-field select,
.transfer-filter-field input {
  width: 100%;
  min-height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  padding: 0;
  font-weight: 750;
}

.transfer-filter-field input::placeholder {
  color: rgba(242, 242, 239, 0.38);
}

.transfer-filter-field .input:focus,
.transfer-filter-field select:focus,
.transfer-filter-field input:focus {
  outline: none;
  box-shadow: none;
}

.transfer-filter-field select {
  color-scheme: dark;
  appearance: none;
  padding-right: 18px;
}

.transfer-filter-field select option,
.transfer-filter-field select optgroup {
  background: #111815;
  color: #f2f2ef;
}

.transfer-filter-field select option {
  padding: 10px 12px;
}

.transfer-filter-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.transfer-filter-field input[type="number"]::-webkit-outer-spin-button,
.transfer-filter-field input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.transfer-filter-skill-field>span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.transfer-filter-skill-field i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--tm-cyan);
  box-shadow: 0 0 0 4px rgba(34, 199, 201, 0.12);
}

.transfer-filter-skill-field--secondary i {
  background: var(--tm-blue);
  box-shadow: 0 0 0 4px rgba(63, 125, 255, 0.12);
}

.transfer-filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: 14px;
}

.transfer-filter-toggle {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--tm-control-radius);
  background: rgba(255, 255, 255, 0.045);
}

.transfer-filter-toggle input {
  accent-color: var(--tm-green);
}

.transfer-filter-actions>.btn {
  min-height: 43px;
  border-radius: var(--tm-control-radius);
  font-weight: 850;
}

.transfer-filter-actions>.btn-secondary {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
}

.transfer-filter-actions>.btn-primary {
  border-color: rgba(47, 191, 113, 0.32);
  background: linear-gradient(135deg, rgba(31, 157, 90, 0.9), rgba(25, 104, 68, 0.9));
  color: #f3fff8;
}

.transfer-position-help-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(34, 199, 201, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 199, 201, 0.1), transparent 34%),
    rgba(5, 12, 11, 0.5);
}

.transfer-position-help-main,
.transfer-position-help-side {
  display: grid;
  align-content: start;
  gap: 16px;
}

.transfer-position-help-copy h4 {
  margin: 5px 0 7px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.25rem;
}

.transfer-position-help-copy p,
.transfer-help-hint {
  margin: 0;
  color: rgba(242, 242, 239, 0.64);
  line-height: 1.5;
}

.transfer-help-section-title {
  color: rgba(242, 242, 239, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transfer-help-skill-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.transfer-help-skill-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.transfer-help-skill-card.is-selected {
  border-color: rgba(34, 199, 201, 0.34);
  box-shadow: inset 3px 0 0 rgba(34, 199, 201, 0.58);
}

.transfer-help-skill-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.transfer-help-skill-chip em {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(214, 162, 30, 0.12);
  color: #ffe8a3;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transfer-help-skill-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.transfer-help-set-btn {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
  cursor: pointer;
}

.transfer-help-set-btn--primary {
  border-color: rgba(34, 199, 201, 0.28);
  color: #b9f7f4;
}

.transfer-help-set-btn--secondary {
  border-color: rgba(63, 125, 255, 0.3);
  color: #c7d7ff;
}

.transfer-help-set-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.transfer-help-current {
  display: grid;
  gap: 10px;
}

.transfer-help-current-grid {
  display: grid;
  gap: 10px;
}

.transfer-help-current-card {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
}

.transfer-help-current-card span {
  color: rgba(242, 242, 239, 0.58);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transfer-help-current-card strong {
  color: rgba(255, 255, 255, 0.92);
}

.transfer-help-current-card--primary {
  border-color: rgba(34, 199, 201, 0.28);
}

.transfer-help-current-card--secondary {
  border-color: rgba(63, 125, 255, 0.3);
}

.transfer-negotiations-panel {
  display: grid;
  gap: 18px;
}

.transfer-negotiations-head h3 {
  margin: 8px 0 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.05;
}

.transfer-negotiations-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(242, 242, 239, 0.68);
  line-height: 1.55;
}

.transfer-process-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.transfer-process-step {
  --phase-color: var(--tm-cyan);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--phase-color) 18%, transparent), transparent 36%),
    rgba(255, 255, 255, 0.035);
  color: rgba(242, 242, 239, 0.72);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.transfer-process-step--contracts {
  --phase-color: var(--tm-green);
}

.transfer-process-step--bids {
  --phase-color: var(--tm-gold);
}

.transfer-process-step:hover,
.transfer-process-step.active {
  border-color: color-mix(in srgb, var(--phase-color) 52%, transparent);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--phase-color) 24%, transparent), transparent 38%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18), inset 0 0 0 1px color-mix(in srgb, var(--phase-color) 10%, transparent);
}

.transfer-process-step__number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--phase-color) 42%, transparent);
  background: color-mix(in srgb, var(--phase-color) 14%, transparent);
  color: var(--phase-color);
  font-size: 0.78rem;
  font-weight: 900;
}

.transfer-process-step__number img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--phase-color) 32%, transparent));
}

.transfer-process-step__copy {
  display: grid;
  gap: 5px;
}

.transfer-process-step__copy strong {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.transfer-process-step__copy small {
  color: rgba(242, 242, 239, 0.58);
  line-height: 1.35;
}

.transfer-process-connector {
  align-self: center;
  color: rgba(242, 242, 239, 0.34);
  font-weight: 900;
}

.transfer-slot-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(34, 199, 201, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 50%, rgba(34, 199, 201, 0.13), transparent 28%),
    rgba(10, 15, 14, 0.62);
}

.transfer-slot-status.is-full {
  border-color: rgba(214, 162, 30, 0.28);
}

.transfer-slot-status__title {
  color: #b9f7f4;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.transfer-slot-status p {
  margin: 5px 0 0;
  color: rgba(242, 242, 239, 0.62);
  line-height: 1.45;
}

.transfer-slot-status__meter {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.transfer-slot-status__meter strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.45rem;
  line-height: 1;
}

.transfer-slot-status__bars {
  display: flex;
  gap: 6px;
}

.transfer-slot-status__bars span {
  width: 34px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.transfer-slot-status__bars span.is-filled {
  background: linear-gradient(90deg, var(--tm-green), var(--tm-cyan));
  box-shadow: 0 0 12px rgba(34, 199, 201, 0.3);
}

.transfer-dev-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
}

.transfer-dev-phase-btn {
  opacity: 0.72;
  padding: 7px 10px;
  font-size: 0.78rem;
}

.transfer-phase-tabs {
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.transfer-phase-tab {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(242, 242, 239, 0.62);
}

.transfer-phase-tab.active {
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(34, 199, 201, 0.34);
  background: rgba(34, 199, 201, 0.08);
}

.transfer-phase-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(242, 242, 239, 0.55);
  font-size: 0.75rem;
  font-weight: 900;
}

.transfer-phase-count.has-items {
  border-color: rgba(34, 199, 201, 0.34);
  background: rgba(34, 199, 201, 0.12);
  color: #b9f7f4;
}

.transfer-phase-context {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.transfer-phase-context--interest {
  border-color: rgba(34, 199, 201, 0.24);
}

.transfer-phase-context--contracts {
  border-color: rgba(47, 191, 113, 0.24);
}

.transfer-phase-context--bids {
  border-color: rgba(214, 162, 30, 0.24);
}

.transfer-phase-context__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #b9f7f4;
  font-weight: 900;
}

.transfer-phase-context__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.32));
}

.transfer-phase-context strong {
  color: rgba(255, 255, 255, 0.92);
}

.transfer-phase-context p {
  margin: 3px 0 0;
  color: rgba(242, 242, 239, 0.65);
  line-height: 1.45;
}

.transfer-phase-context small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 232, 163, 0.68);
}

.transfer-negotiation-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 190px;
}

.transfer-negotiation-player__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(34, 199, 201, 0.24);
  background: rgba(34, 199, 201, 0.08);
  color: #b9f7f4;
  font-size: 0.78rem;
  font-weight: 900;
}

.transfer-negotiation-player__name {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.transfer-negotiation-player span:last-child {
  display: block;
  margin-top: 2px;
  color: rgba(242, 242, 239, 0.52);
  font-size: 0.76rem;
}

.transfer-phase-metric {
  display: grid;
  gap: 3px;
  min-width: 118px;
}

.transfer-phase-metric strong {
  color: rgba(255, 255, 255, 0.9);
}

.transfer-phase-metric span {
  color: rgba(242, 242, 239, 0.56);
  font-size: 0.78rem;
  line-height: 1.35;
}

.transfer-phase-metric--interest strong {
  color: #b9f7f4;
}

.transfer-phase-metric--contract strong {
  color: #cef7dc;
}

.transfer-phase-metric--bid strong {
  color: #fff0b8;
}

.transfer-status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(242, 242, 239, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.transfer-status-chip--green {
  border-color: rgba(47, 191, 113, 0.28);
  background: rgba(47, 191, 113, 0.11);
  color: #c8f4d8;
}

.transfer-status-chip--cyan {
  border-color: rgba(34, 199, 201, 0.28);
  background: rgba(34, 199, 201, 0.1);
  color: #b9f7f4;
}

.transfer-status-chip--gold {
  border-color: rgba(214, 162, 30, 0.28);
  background: rgba(214, 162, 30, 0.1);
  color: #fff0b8;
}

.transfer-status-chip--danger {
  border-color: rgba(227, 72, 72, 0.32);
  background: rgba(227, 72, 72, 0.1);
  color: #ffc8c8;
}

.contract-negotiation {
  --contract-panel: rgba(13, 18, 18, 0.92);
  --contract-panel-soft: rgba(20, 27, 27, 0.78);
  --contract-border: rgba(255, 255, 255, 0.08);
  --contract-border-strong: rgba(47, 191, 113, 0.28);
  --contract-green: #2fbf71;
  --contract-cyan: #22c7c9;
  --contract-gold: #d6a21e;
  --contract-text: #f2f2ef;
  --contract-muted: #9b9b93;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(47, 191, 113, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 0%, rgba(34, 199, 201, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 10, 9, 0.92);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
  color: var(--contract-text);
}

.contract-negotiation__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contract-negotiation__kicker,
.contract-card__title {
  color: var(--contract-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-negotiation__header h3 {
  margin: 4px 0 2px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.contract-negotiation__meta {
  color: rgba(242, 242, 239, 0.68);
  font-size: 1rem;
}

.contract-negotiation__header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contract-header-btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.9);
}

.contract-window-note,
.contract-negotiation__hero,
.contract-card,
.contract-summary {
  border: 1px solid var(--contract-border);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016)),
    var(--contract-panel);
}

.contract-window-note {
  padding: 12px 14px;
  color: rgba(242, 242, 239, 0.78);
}

.contract-window-note.is-open {
  border-color: rgba(47, 191, 113, 0.28);
}

.contract-window-note.is-closed {
  border-color: rgba(214, 162, 30, 0.28);
}

.contract-negotiation__hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.4fr);
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
}

.contract-player-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.contract-player-card__portrait {
  overflow: hidden;
  width: 116px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(34, 199, 201, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 26px rgba(34, 199, 201, 0.16);
}

.contract-player-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.32);
  object-position: center 36%;
}

.contract-player-card__portrait span {
  color: #b9f7f4;
  font-size: 1.45rem;
  font-weight: 900;
}

.contract-player-card__facts {
  display: grid;
  gap: 10px;
}

.contract-player-fact {
  display: grid;
  grid-template-columns: minmax(80px, 0.85fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: rgba(242, 242, 239, 0.72);
}

.contract-player-fact small {
  color: rgba(242, 242, 239, 0.56);
}

.contract-player-fact strong {
  color: rgba(255, 255, 255, 0.9);
}

.contract-reaction-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.contract-reaction-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(47, 191, 113, 0.38);
  background: rgba(47, 191, 113, 0.1);
}

.contract-reaction-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(47, 191, 113, 0.28));
}

.contract-reaction-card strong {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
}

.contract-reaction-card p,
.contract-reaction-card em,
.contract-reaction-card li,
.contract-reaction-card small {
  color: rgba(242, 242, 239, 0.68);
  line-height: 1.45;
}

.contract-reaction-card p {
  margin: 6px 0 0;
}

.contract-reaction-card em,
.contract-reaction-card small {
  display: block;
  margin-top: 6px;
}

.contract-reaction-card ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.contract-negotiation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 380px);
  gap: 34px;
  align-items: start;
}

.contract-negotiation__main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.contract-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.contract-card,
.contract-summary {
  min-width: 0;
  padding: 16px;
}

.contract-card--last-offer .contract-card__title {
  color: var(--contract-cyan);
}

.contract-demand-list,
.contract-summary__rows {
  display: grid;
  margin-top: 12px;
}

.contract-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  color: rgba(242, 242, 239, 0.68);
}

.contract-summary-row:last-child {
  border-bottom: 0;
}

.contract-summary-row strong {
  color: #fff0b8;
  text-align: right;
}

.contract-empty-offer {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: rgba(242, 242, 239, 0.58);
  text-align: center;
}

.contract-offer-form,
.contract-options {
  display: grid;
  gap: 10px;
}

.contract-offer-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(90px, 0.72fr) 34px minmax(112px, 132px) 34px;
  column-gap: 16px;
  row-gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contract-offer-row:last-child {
  border-bottom: 0;
}

.contract-offer-row__label {
  color: rgba(242, 242, 239, 0.76);
}

.contract-offer-row__track {
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.contract-offer-row__track i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--contract-green), var(--contract-gold));
}

.contract-stepper {
  width: 34px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.contract-offer-row__value {
  display: none;
}

.contract-offer-input {
  width: calc(100% - 12px);
  min-width: 88px;
  height: 34px;
  justify-self: start;
  margin-right: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
  text-align: right;
  appearance: textfield;
}

.contract-offer-input:focus {
  border-color: rgba(34, 199, 201, 0.5);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 199, 201, 0.12);
}

.contract-offer-input::-webkit-outer-spin-button,
.contract-offer-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.contract-toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(242, 242, 239, 0.76);
  cursor: pointer;
}

.contract-toggle-row:last-child {
  border-bottom: 0;
}

.contract-toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contract-toggle-row__state {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.contract-toggle-row__state img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.28));
}

.contract-toggle-row__state .is-yes {
  display: none;
}

.contract-toggle-row input:checked + .contract-toggle-row__state .is-no {
  display: none;
}

.contract-toggle-row input:checked + .contract-toggle-row__state .is-yes {
  display: block;
}

.contract-toggle-row i {
  position: relative;
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.contract-toggle-row i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(242, 242, 239, 0.7);
  transition: transform 160ms ease, background 160ms ease;
}

.contract-toggle-row input:checked + .contract-toggle-row__state + i {
  background: rgba(47, 191, 113, 0.55);
}

.contract-toggle-row input:checked + .contract-toggle-row__state + i::after {
  transform: translateX(22px);
  background: #f2fff7;
}

.contract-summary {
  position: sticky;
  top: 16px;
  align-self: start;
  z-index: 0;
}

.contract-summary__total {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.contract-summary__total span {
  color: rgba(242, 242, 239, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contract-summary__total strong {
  color: #e7bf64;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.contract-submit-btn {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 232, 163, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(214, 162, 30, 0.95), rgba(158, 112, 18, 0.95));
  color: #fff8d5;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1280px) {
  .contract-negotiation__grid {
    grid-template-columns: 1fr;
  }

  .contract-summary {
    position: static;
  }
}

.transfer-market-table-container .table-container,
#transfer-leaderboard-table-container .table-container,
#interest-table-container .table-container,
#bid-table-container .table-container,
#contract-table-container .table-container,
#my-transfer-table-container .table-container,
#incoming-loan-table-container .table-container,
#recent-transfer-table-container .table-container,
#incoming-commitments-table-container .table-container,
#outgoing-commitments-table-container .table-container {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.transfer-view .app-table {
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
}

.transfer-view .app-table th {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(242, 242, 239, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transfer-view .app-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  color: rgba(242, 242, 239, 0.84);
}

.transfer-view .app-table tbody tr {
  transition: background 160ms ease, box-shadow 160ms ease;
}

.transfer-view .app-table tbody tr:hover {
  background: rgba(31, 157, 90, 0.07);
  box-shadow: inset 3px 0 0 rgba(31, 157, 90, 0.72);
}

.transfer-view .transfer-player-link {
  color: rgba(255, 255, 255, 0.94) !important;
  text-decoration: none;
}

.transfer-view .transfer-player-link:hover {
  color: #dff7e8 !important;
}

.transfer-status-meta-line {
  display: block;
  margin-top: 3px;
  color: rgba(242, 242, 239, 0.56);
  font-size: 0.78rem;
}

.transfer-status-meta-line--deadline {
  color: rgba(255, 232, 163, 0.78);
}

.transfer-status-club-link {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(34, 199, 201, 0.78);
  cursor: pointer;
  text-align: left;
  font-size: 0.78rem;
}

.transfer-watch-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(242, 242, 239, 0.48);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.transfer-watch-btn span {
  font-size: 1.05rem;
  line-height: 1;
}

.transfer-watch-btn:hover {
  color: rgba(255, 232, 163, 0.86);
  border-color: rgba(214, 162, 30, 0.28);
  background: rgba(214, 162, 30, 0.08);
}

.transfer-watch-btn.is-watched {
  color: #f6c847;
  border-color: rgba(214, 162, 30, 0.42);
  background: rgba(214, 162, 30, 0.14);
  box-shadow: 0 0 14px rgba(214, 162, 30, 0.12);
}

.interest-modal {
  --modal-bg: rgba(8, 13, 14, 0.96);
  --modal-bg-soft: rgba(14, 22, 23, 0.88);
  --modal-panel: rgba(16, 24, 24, 0.78);
  --modal-border: rgba(255, 255, 255, 0.08);
  --modal-border-strong: rgba(34, 199, 201, 0.34);
  --accent-cyan: #22c7c9;
  --accent-cyan-soft: rgba(34, 199, 201, 0.18);
  --accent-green: #1f9d5a;
  --accent-gold: #d6a21e;
  --accent-gold-soft: rgba(214, 162, 30, 0.22);
  --text-main: #f2f2ef;
  --text-muted: #a9aaa4;
  --radius-modal: 18px;
  --radius-card: 14px;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  gap: 16px;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 199, 201, 0.11), transparent 30%),
    radial-gradient(circle at 82% 75%, rgba(214, 162, 30, 0.1), transparent 32%),
    transparent;
  color: var(--text-main);
  box-shadow: none;
}

.modal-container:has(.interest-modal) .modal-header {
  display: none;
}

.modal-container:has(.interest-modal) .modal-body {
  padding: 0;
  max-height: calc(100vh - 32px);
}

.modal-container:has(.interest-modal) {
  border-radius: 18px;
  background: rgba(8, 13, 14, 0.96);
}

.interest-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--modal-border);
  background: rgba(0, 0, 0, 0.2);
}

.interest-modal__title {
  color: rgba(242, 242, 239, 0.82);
  font-weight: 850;
}

.interest-modal__title span {
  color: var(--accent-cyan);
}

.interest-modal__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 1.25rem;
}

.interest-modal__body {
  display: grid;
  grid-template-columns: minmax(120px, 155px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 10px 24px 0;
}

.interest-modal__portrait-wrap {
  display: grid;
  place-items: center;
}

.interest-modal__portrait-ring {
  width: clamp(120px, 15vw, 155px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(4, 10, 10, 0.72);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.interest-modal__portrait,
.interest-modal__portrait-fallback {
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: inherit;
}

.interest-modal__portrait {
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.37);
  transform-origin: center center;
}

.interest-modal__portrait-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34, 199, 201, 0.18), rgba(255, 255, 255, 0.04));
  color: #d8ffff;
  font-size: 2.2rem;
  font-weight: 900;
}

.interest-modal__kicker {
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interest-modal__player-name {
  margin: 10px 0 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
  line-height: 0.96;
}

.interest-modal__description {
  max-width: 560px;
  margin: 0;
  color: rgba(242, 242, 239, 0.66);
  line-height: 1.55;
}

.interest-modal__slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 13px;
  border: 1px solid var(--modal-border-strong);
  border-radius: 12px;
  background: var(--accent-cyan-soft);
}

.interest-modal__slot img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 8px rgba(34, 199, 201, 0.25));
}

.interest-modal__slot span,
.interest-modal__fact-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.interest-modal__slot strong {
  color: #d8ffff;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interest-modal__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 0;
}

.interest-modal__fact-card {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--modal-border);
  border-radius: var(--radius-card);
  background: var(--modal-panel);
}

.interest-modal__fact-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  font-size: 0.66rem;
  font-weight: 900;
}

.interest-modal__fact-icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(34, 199, 201, 0.18));
}

.interest-modal__fact-value {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
}

.interest-modal__fact-card--value .interest-modal__fact-icon,
.interest-modal__fact-card--fee .interest-modal__fact-icon,
.interest-modal__fact-card--value .interest-modal__fact-value,
.interest-modal__fact-card--fee .interest-modal__fact-value {
  color: #fff1b8;
}

.interest-modal__notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 24px;
  padding: 13px 15px;
  border: 1px solid rgba(34, 199, 201, 0.2);
  border-radius: var(--radius-card);
  background: rgba(34, 199, 201, 0.07);
}

.interest-modal__notice-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
  font-weight: 900;
}

.interest-modal__notice-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.interest-modal__notice > div {
  min-width: 0;
}

.interest-modal__notice > div > strong,
.interest-modal__notice > div > span {
  display: block;
}

.interest-modal__notice > div > strong {
  color: #b9f7f4;
  margin-bottom: 3px;
}

.interest-modal__notice > div > span {
  color: rgba(242, 242, 239, 0.66);
  line-height: 1.45;
}

.interest-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 22px;
  flex-wrap: wrap;
}

.interest-modal__button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 850;
  cursor: pointer;
}

.interest-modal__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
}

.interest-modal__button--primary {
  border: 1px solid rgba(214, 162, 30, 0.26);
  background: linear-gradient(135deg, rgba(31, 157, 90, 0.94), rgba(23, 105, 67, 0.94));
  color: #f3fff8;
  box-shadow: 0 10px 24px rgba(31, 157, 90, 0.2);
}

.transfer-view .badge {
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.transfer-market-card-container {
  display: none;
}

.transfer-market-card,
.transfer-mobile-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 157, 90, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.25);
}

.transfer-market-card-name,
.transfer-mobile-card-name {
  color: rgba(255, 255, 255, 0.95);
}

.transfer-market-card-status,
.transfer-mobile-card-meta {
  color: rgba(242, 242, 239, 0.74);
}

.transfer-mobile-card-status-pill,
.transfer-market-card-value {
  border: 1px solid rgba(214, 162, 30, 0.2);
  background: rgba(214, 162, 30, 0.09);
  color: #fff4c4;
}

.transfer-view>.transfer-tab-panel>.card,
.transfer-leaderboard-panel {
  border-radius: 18px;
  padding: 24px;
}

body.light-mode .transfer-view {
  --tm-bg: #f3f6f1;
  --tm-panel: rgba(250, 252, 248, 0.92);
  --tm-panel-soft: rgba(246, 248, 244, 0.86);
  --tm-filter-bg: rgba(255, 255, 255, 0.88);
  --tm-filter-bg-soft: rgba(246, 249, 245, 0.94);
  --tm-filter-border: rgba(24, 52, 37, 0.11);
  --tm-filter-border-strong: rgba(173, 125, 25, 0.24);
  --tm-border: rgba(31, 73, 48, 0.14);
  --tm-border-green: rgba(31, 157, 90, 0.22);
  --tm-text: #17211b;
  --tm-muted: #58635c;
  color: var(--tm-text);
}

body.light-mode .transfer-market-hero,
body.light-mode .transfer-market-board,
body.light-mode .transfer-view>.transfer-tab-panel>.card {
  border-color: rgba(31, 73, 48, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 239, 0.88));
  box-shadow: 0 18px 42px rgba(27, 54, 38, 0.12);
  color: var(--tm-text);
}

body.light-mode .transfer-market-hero::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 162, 30, 0.14), transparent 30%),
    radial-gradient(circle at 68% 70%, rgba(31, 157, 90, 0.14), transparent 34%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 247, 241, 0.92) 50%, rgba(223, 239, 232, 0.82) 100%);
}

body.light-mode .transfer-market-hero::after {
  background-image:
    linear-gradient(rgba(27, 54, 38, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 54, 38, 0.045) 1px, transparent 1px);
  opacity: 0.5;
}

body.light-mode .transfer-market-hero h2,
body.light-mode .transfer-market-head h3,
body.light-mode .transfer-negotiations-head h3,
body.light-mode .transfer-market-card-name,
body.light-mode .transfer-mobile-card-name {
  color: #142019;
}

body.light-mode .transfer-market-hero p,
body.light-mode .transfer-market-head p,
body.light-mode .transfer-interest-card p,
body.light-mode .transfer-negotiations-head p,
body.light-mode .transfer-phase-context p,
body.light-mode .transfer-phase-context small,
body.light-mode .transfer-market-card-status,
body.light-mode .transfer-mobile-card-meta {
  color: rgba(20, 32, 25, 0.68);
}

body.light-mode .transfer-market-hero__metrics span,
body.light-mode .transfer-market-hero__status {
  border-color: rgba(24, 52, 37, 0.11);
  background: rgba(255, 255, 255, 0.68);
  color: #17211b;
  box-shadow: 0 8px 18px rgba(27, 54, 38, 0.08);
}

body.light-mode .transfer-market-hero__status strong {
  color: #142019;
}

body.light-mode .transfer-market-hero__status span {
  color: rgba(20, 32, 25, 0.66);
}

body.light-mode .transfer-market-hero__status-pill,
body.light-mode .transfer-tabs .tab-btn.active {
  color: #17693f;
}

body.light-mode .transfer-market-hero__status.is-closed .transfer-market-hero__status-pill {
  color: #8a650f;
}

body.light-mode .transfer-tabs {
  border-top-color: rgba(24, 52, 37, 0.1);
}

body.light-mode .transfer-tabs .tab-btn {
  color: rgba(20, 32, 25, 0.58);
}

body.light-mode .transfer-interest-card,
body.light-mode .transfer-market-card,
body.light-mode .transfer-mobile-card {
  border-color: rgba(34, 127, 95, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 157, 90, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 241, 0.82));
  box-shadow: 0 12px 26px rgba(27, 54, 38, 0.1);
}

body.light-mode .transfer-interest-card__icon {
  border-color: rgba(31, 157, 90, 0.18);
  background: rgba(31, 157, 90, 0.08);
  color: #17693f;
}

body.light-mode .transfer-interest-card__meter strong,
body.light-mode .transfer-market-wealth strong {
  color: #1f3327;
}

body.light-mode .transfer-interest-card__dots span {
  background: rgba(24, 52, 37, 0.13);
}

body.light-mode .transfer-filter-field .input,
body.light-mode .transfer-filter-field select,
body.light-mode .transfer-filter-field input {
  background: transparent;
  color: #17211b;
  border-color: transparent;
}

body.light-mode .transfer-position-help-panel,
body.light-mode .transfer-filter-shell {
  border-color: rgba(24, 52, 37, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 247, 242, 0.82));
}

body.light-mode .transfer-filter-shell summary,
body.light-mode .transfer-filter-field>span,
body.light-mode .transfer-filter-toggle span,
body.light-mode .transfer-help-section-title {
  color: rgba(20, 32, 25, 0.66);
}

body.light-mode .transfer-filter-field {
  background: rgba(255, 255, 255, 0.82);
}

body.light-mode .transfer-filter-field:hover {
  border-color: rgba(24, 52, 37, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

body.light-mode .transfer-filter-field input::placeholder {
  color: rgba(20, 32, 25, 0.36);
}

body.light-mode .transfer-filter-field select {
  color-scheme: light;
}

body.light-mode .transfer-filter-field select option,
body.light-mode .transfer-filter-field select optgroup {
  background: #ffffff;
  color: #17211b;
}

body.light-mode .transfer-filter-toggle,
body.light-mode .transfer-help-skill-card,
body.light-mode .transfer-help-current-card {
  border-color: rgba(24, 52, 37, 0.11);
  background: rgba(255, 255, 255, 0.66);
}

body.light-mode .transfer-help-skill-chip em,
body.light-mode .transfer-mobile-card-status-pill,
body.light-mode .transfer-market-card-value {
  background: rgba(214, 162, 30, 0.12);
  color: #8a650f;
}

body.light-mode .transfer-help-current-card span {
  color: rgba(20, 32, 25, 0.56);
}

body.light-mode .transfer-filter-actions>.btn-secondary,
body.light-mode .transfer-help-set-btn {
  border-color: rgba(24, 52, 37, 0.13);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(20, 32, 25, 0.78);
}

body.light-mode .transfer-position-help-copy h4,
body.light-mode .transfer-help-current-card strong,
body.light-mode .transfer-help-skill-chip,
body.light-mode .transfer-phase-context strong,
body.light-mode .transfer-process-step__copy strong,
body.light-mode .transfer-negotiation-player__name {
  color: #17211b;
}

body.light-mode .transfer-position-help-copy p,
body.light-mode .transfer-help-hint {
  color: rgba(20, 32, 25, 0.68);
}

body.light-mode .transfer-process-step,
body.light-mode .transfer-phase-context,
body.light-mode .transfer-negotiation-player,
body.light-mode .transfer-phase-metric {
  border-color: rgba(24, 52, 37, 0.1);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--phase-color, #1f9d5a) 10%, transparent), transparent 36%),
    rgba(255, 255, 255, 0.74);
  color: rgba(20, 32, 25, 0.74);
}

body.light-mode .transfer-market-table-container .table-container,
body.light-mode #transfer-leaderboard-table-container .table-container,
body.light-mode #interest-table-container .table-container,
body.light-mode #bid-table-container .table-container,
body.light-mode #contract-table-container .table-container,
body.light-mode #my-transfer-table-container .table-container,
body.light-mode #incoming-loan-table-container .table-container,
body.light-mode #recent-transfer-table-container .table-container,
body.light-mode #incoming-commitments-table-container .table-container,
body.light-mode #outgoing-commitments-table-container .table-container,
body.light-mode .transfer-leaderboard-panel {
  border-color: rgba(24, 52, 37, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #17211b;
}

body.light-mode .transfer-process-step:hover,
body.light-mode .transfer-process-step.active {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--phase-color, #1f9d5a) 14%, transparent), transparent 38%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(27, 54, 38, 0.11), inset 0 0 0 1px color-mix(in srgb, var(--phase-color, #1f9d5a) 9%, transparent);
}

body.light-mode .transfer-phase-tab {
  color: rgba(20, 32, 25, 0.58);
}

body.light-mode .transfer-phase-tab.active {
  color: #17693f;
}

body.light-mode .transfer-phase-count {
  border-color: rgba(24, 52, 37, 0.12);
  background: rgba(24, 52, 37, 0.06);
  color: rgba(20, 32, 25, 0.62);
}

body.light-mode .transfer-phase-count.has-items {
  background: rgba(31, 157, 90, 0.12);
  color: #17693f;
}

body.light-mode .contract-negotiation {
  --contract-panel: rgba(255, 255, 255, 0.9);
  --contract-panel-soft: rgba(245, 249, 246, 0.88);
  --contract-border: rgba(24, 52, 37, 0.11);
  --contract-border-strong: rgba(31, 157, 90, 0.24);
  --contract-text: #17211b;
  --contract-muted: #657068;
  background:
    radial-gradient(circle at 78% 8%, rgba(31, 157, 90, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 241, 0.86));
  color: var(--contract-text);
}

body.light-mode .contract-negotiation__header h3,
body.light-mode .contract-player-fact strong,
body.light-mode .contract-reaction-card strong,
body.light-mode .contract-summary-row strong {
  color: #17211b;
}

body.light-mode .contract-negotiation__meta,
body.light-mode .contract-player-fact,
body.light-mode .contract-reaction-card p,
body.light-mode .contract-reaction-card em,
body.light-mode .contract-reaction-card li,
body.light-mode .contract-reaction-card small,
body.light-mode .contract-summary-row,
body.light-mode .contract-offer-row__label,
body.light-mode .contract-toggle-row,
body.light-mode .contract-empty-offer {
  color: rgba(20, 32, 25, 0.68);
}

body.light-mode .contract-player-fact small,
body.light-mode .contract-summary__total span {
  color: rgba(20, 32, 25, 0.56);
}

body.light-mode .contract-window-note,
body.light-mode .contract-negotiation__hero,
body.light-mode .contract-card,
body.light-mode .contract-summary,
body.light-mode .contract-offer-input,
body.light-mode .contract-stepper,
body.light-mode .contract-header-btn {
  border-color: rgba(24, 52, 37, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 247, 242, 0.78));
}

body.light-mode .contract-player-card__portrait,
body.light-mode .contract-reaction-card__icon {
  background: rgba(31, 157, 90, 0.08);
}

body.light-mode .contract-offer-row,
body.light-mode .contract-toggle-row,
body.light-mode .contract-summary-row {
  border-bottom-color: rgba(24, 52, 37, 0.09);
}

body.light-mode .contract-offer-row__track,
body.light-mode .contract-toggle-row i {
  background: rgba(24, 52, 37, 0.1);
}

body.light-mode .contract-offer-input {
  color: #17211b;
}

body.light-mode .contract-summary__total strong {
  color: #a06f10;
}

body.light-mode .interest-modal {
  color: #17211b;
  background:
    radial-gradient(circle at 16% 26%, rgba(31, 157, 90, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff, #edf6ef);
}

body.light-mode .interest-modal__fact-card,
body.light-mode .interest-modal__notice {
  border-color: rgba(24, 52, 37, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

body.light-mode .interest-modal__fact-value,
body.light-mode .interest-modal__player-name {
  color: #17211b;
}

body.light-mode .interest-modal__description,
body.light-mode .interest-modal__notice > div > span {
  color: rgba(20, 32, 25, 0.66);
}

body.light-mode .interest-modal__button--secondary {
  border-color: rgba(24, 52, 37, 0.13);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(20, 32, 25, 0.78);
}

@media (max-width: 1120px) {
  .transfer-market-hero {
    grid-template-columns: 1fr;
  }

  .transfer-market-hero__content {
    grid-template-columns: 1fr;
  }

  .transfer-filter-pill {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transfer-filter-field--search {
    grid-column: 1 / -1;
  }

  .transfer-position-help-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .transfer-view {
    gap: 14px;
  }

  .transfer-market-hero,
  .transfer-market-board,
  .transfer-view>.transfer-tab-panel>.card,
  .transfer-leaderboard-panel {
    border-radius: 15px;
    padding: 18px;
  }

  .transfer-market-hero {
    min-height: auto;
  }

  .transfer-filter-pill {
    grid-template-columns: 1fr;
  }

  .transfer-filter-actions {
    align-items: stretch;
  }

  .transfer-filter-actions>.btn,
  .transfer-filter-toggle {
    width: 100%;
    justify-content: center;
  }

  .transfer-position-help-panel {
    padding: 14px;
  }

  .transfer-help-skill-card {
    grid-template-columns: 1fr;
  }

  .transfer-help-skill-actions {
    justify-content: stretch;
  }

  .transfer-help-set-btn {
    flex: 1 1 120px;
  }

  .interest-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .interest-modal__body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 8px 18px 0;
  }

  .interest-modal__slot {
    margin-inline: auto;
  }

  .interest-modal__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .interest-modal__notice {
    margin: 0 18px;
  }

  .interest-modal__footer {
    padding: 0 18px 18px;
  }

  .interest-modal__button {
    flex: 1 1 180px;
  }

  .transfer-interest-card,
  .transfer-market-head {
    grid-template-columns: 1fr;
  }

  .transfer-market-wealth,
  .transfer-interest-card__meter {
    justify-self: stretch;
    text-align: left;
  }

  .transfer-tabs {
    gap: 14px;
  }

  .transfer-tabs .tab-btn {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
  }

  .transfer-tabs .tab-btn.active::after {
    display: none;
  }

  .transfer-process-timeline {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .transfer-process-step {
    flex: 0 0 min(82vw, 270px);
    scroll-snap-align: start;
  }

  .transfer-process-connector {
    display: none;
  }

  .transfer-slot-status {
    grid-template-columns: 1fr;
  }

  .transfer-slot-status__meter {
    justify-items: start;
  }

  .transfer-phase-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .transfer-phase-tab {
    flex: 0 0 auto;
  }

  .transfer-phase-context {
    align-items: start;
  }

  .contract-negotiation {
    padding: 16px;
  }

  .contract-negotiation__hero,
  .contract-negotiation__grid,
  .contract-card-grid {
    grid-template-columns: 1fr;
  }

  .contract-summary {
    position: static;
  }

  .contract-offer-row {
    grid-template-columns: minmax(0, 1fr) minmax(64px, 0.72fr) 34px minmax(100px, 118px) 34px;
  }

  .contract-offer-row__track {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .contract-offer-input {
    grid-column: 4;
  }

  .transfer-market-table-container,
  #transfer-leaderboard-table-container,
  #interest-table-container,
  #bid-table-container,
  #contract-table-container,
  #my-transfer-table-container,
  #incoming-loan-table-container,
  #recent-transfer-table-container,
  #incoming-commitments-table-container,
  #outgoing-commitments-table-container {
    display: none !important;
  }

  .transfer-market-card-container,
  .transfer-mobile-card-container {
    display: block;
  }

  .transfer-phase-mobile-card {
    position: relative;
    overflow: hidden;
  }

  .transfer-phase-mobile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(34, 199, 201, 0.12), transparent 34%);
    pointer-events: none;
  }

  .transfer-phase-mobile-card--contract::before {
    background: radial-gradient(circle at 100% 0%, rgba(47, 191, 113, 0.12), transparent 34%);
  }

  .transfer-phase-mobile-card--bid::before {
    background: radial-gradient(circle at 100% 0%, rgba(214, 162, 30, 0.14), transparent 34%);
  }

  .transfer-phase-mobile-card > * {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 520px) {
  .transfer-market-hero h2 {
    font-size: 2.25rem;
  }

  .transfer-market-hero__metrics span {
    min-width: 100%;
  }

  .transfer-filter-shell {
    padding: 14px;
  }

  .transfer-negotiations-panel {
    padding: 18px;
  }

  .transfer-negotiations-head h3 {
    font-size: 1.75rem;
  }

  .transfer-phase-context {
    grid-template-columns: 1fr;
  }

  .contract-negotiation__header-actions,
  .contract-header-btn {
    width: 100%;
  }

  .contract-header-btn {
    justify-content: center;
  }

  .contract-player-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contract-player-fact {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .contract-player-fact small {
    display: none;
  }

  .contract-reaction-card {
    grid-template-columns: 1fr;
    padding-left: 0;
    border-left: 0;
  }

  .contract-offer-row {
    grid-template-columns: minmax(0, 1fr) minmax(34px, 0.45fr) 32px minmax(88px, 102px) 32px;
    gap: 10px;
  }

  .contract-toggle-row {
    grid-template-columns: minmax(0, 1fr) 24px auto;
  }

  .interest-modal__header {
    padding: 13px 14px;
  }

  .interest-modal__portrait-ring {
    width: min(135px, 46vw);
  }

  .interest-modal__player-name {
    font-size: 2rem;
  }

  .interest-modal__facts {
    grid-template-columns: 1fr;
  }
}
