/* Pivot Picks mobile experience — desktop styles remain owned by app.css. */
.mobile-brand,
.mobile-bottom-nav,
.mobile-overview-actions,
.sidebar-backdrop {
  display: none;
}

@media (min-width: 768px) and (max-width: 900px) {
  html,
  body,
  .app-shell,
  .main,
  .content {
    max-width: 100%;
    overflow-x: hidden;
  }

  .content {
    width: 100%;
  }

  .table-wrap,
  .draft-board-scroll,
  .admin-email-table-wrap {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --mobile-page-padding: 16px;
    --mobile-bottom-nav-height: 68px;
  }

  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  body {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    padding: 0;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
  }

  button,
  a,
  input,
  select,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }

  button,
  .primary,
  .secondary,
  .text-button,
  .button-link {
    min-height: 44px;
  }

  input,
  select,
  textarea,
  .provider-form input,
  .provider-form textarea,
  .admin-login input {
    min-height: 48px;
    max-width: 100%;
    font-size: 16px !important;
  }

  textarea {
    resize: vertical;
  }

  .app-shell,
  .main,
  .content,
  .view,
  .panel,
  .page-heading,
  .overview-grid,
  .league-layout,
  .waiver-layout,
  .trade-builder,
  .lineup-layout,
  .draft-layout,
  .settings-grid,
  .connection-grid,
  .promo-page-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .app-shell {
    display: block;
    min-height: 100dvh;
  }

  /* Mobile drawer navigation */
  .sidebar {
    display: flex;
    width: min(86vw, 330px);
    max-width: 330px;
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
    transform: translateX(-105%);
    transition: transform .24s ease;
    box-shadow: 28px 0 80px rgba(0, 0, 0, .52);
    z-index: 90;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    background: rgba(2, 4, 12, .7);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .sidebar.open + .sidebar-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar .brand {
    margin-bottom: 16px;
  }

  .sidebar-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
    font-size: 28px;
  }

  .nav-item {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-item span {
    width: 24px;
    font-size: 18px;
  }

  /* Clean two-row mobile header */
  .main {
    display: block;
    min-width: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: start;
    gap: 10px;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--mobile-page-padding) 10px;
    background: rgba(7, 9, 20, .94);
    border-bottom-color: rgba(210, 220, 255, .09);
  }

  .topbar-left {
    display: contents;
  }

  .menu-button {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 13px;
    font-size: 20px;
  }

  .mobile-brand {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    height: 44px;
  }

  .mobile-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
  }

  .mobile-brand span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .mobile-brand b {
    font-size: 16px;
    letter-spacing: -.02em;
  }

  .mobile-brand small {
    margin-top: 4px;
    color: #9ba5c7;
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .topbar-left > .context-switcher {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 48px;
    padding: 5px 8px 5px 12px;
    border-radius: 13px;
  }

  .context-switcher label {
    flex: 0 0 auto;
    font-size: 9px;
  }

  .context-switcher select {
    width: 100%;
    min-width: 0;
    max-width: none;
    font-size: 16px;
  }

  .topbar-left > #team-switcher-wrap {
    grid-row: 3;
  }

  .topbar-left .team-switcher:not(.hidden) {
    display: flex !important;
  }

  .topbar-actions {
    grid-column: 3;
    grid-row: 1;
    gap: 0;
    align-items: flex-start;
  }

  .topbar-actions > :not(.profile-button) {
    display: none !important;
  }

  .profile-button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 5px;
    border-radius: 13px;
  }

  .profile-button > span {
    width: 32px;
    height: 32px;
  }

  .profile-button div {
    display: none !important;
  }

  /* Page shell, type and vertical rhythm */
  .content {
    padding: 20px var(--mobile-page-padding) calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 28px);
    margin: 0;
  }

  .view {
    min-width: 0;
  }

  .page-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
  }

  .page-heading h1 {
    margin: 5px 0 8px;
    font-size: clamp(24px, 7.2vw, 28px);
    line-height: 1.08;
    letter-spacing: -.038em;
  }

  .page-heading p {
    max-width: none;
    font-size: 16px;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.4;
  }

  .page-heading > button,
  .page-heading > .source-pill,
  .draft-heading-actions,
  .admin-email-actions {
    width: 100%;
    align-self: stretch;
  }

  .page-heading > button,
  .page-heading .primary,
  .page-heading .secondary {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .panel {
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, .22);
  }

  .panel-heading {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px 13px;
  }

  .panel-heading h2,
  .connection-help h2,
  .danger-panel h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .empty-state {
    min-height: 112px;
    padding: 22px 16px;
    font-size: 15px;
  }

  .loading-screen {
    left: 0;
    top: 0;
    padding: env(safe-area-inset-top, 0px) 16px env(safe-area-inset-bottom, 0px);
  }

  /* Persistent mobile bottom navigation */
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(210, 220, 255, .12);
    background: rgba(9, 11, 25, .96);
    backdrop-filter: blur(20px);
  }

  .mobile-nav-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #8f99b9;
  }

  .mobile-nav-item span {
    font-size: 20px;
    line-height: 1;
  }

  .mobile-nav-item b {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-item.active {
    color: #fff;
    background: linear-gradient(145deg, rgba(116, 73, 217, .25), rgba(93, 114, 223, .12));
  }

  .mobile-nav-item.active::before {
    position: absolute;
    top: 2px;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: #a993ff;
    content: "";
  }

  /* Overview */
  #view-overview .page-heading > button {
    display: none;
  }

  .mobile-overview-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 14px;
  }

  .mobile-overview-actions button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }

  .metric-card {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 16px;
    align-items: center;
    padding: 16px;
  }

  .metric-card small {
    grid-column: 1;
    font-size: 11px;
  }

  .metric-card b {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    font-size: 24px;
    text-align: right;
  }

  .metric-card span {
    grid-column: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .overview-grid,
  .overview-grid.lower {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .hero-panel {
    min-height: 0;
    padding: 20px 16px;
  }

  .team-hero-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 12px;
    align-items: start;
  }

  .team-hero-head h2 {
    margin: 5px 0;
    font-size: 24px;
  }

  .team-hero-head p {
    font-size: 14px;
    line-height: 1.45;
  }

  .grade-ring {
    width: 84px;
    height: 84px;
  }

  .grade-ring b {
    font-size: 24px;
  }

  .strength-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .strength-item {
    padding: 12px 10px;
  }

  .strength-item span {
    font-size: 11px;
  }

  .strength-item b {
    font-size: 18px;
  }

  .hero-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .hero-foot b {
    font-size: 14px;
  }

  .hero-foot small {
    font-size: 9px;
    line-height: 1.25;
  }

  .matchup-card {
    padding: 0 16px 18px;
  }

  .matchup-teams {
    gap: 7px;
  }

  .match-team b {
    font-size: 12px;
  }

  .match-team strong {
    font-size: 22px;
  }

  .recommendation-list,
  .power-list {
    padding: 0 12px 14px;
  }

  .recommendation {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .recommendation > span {
    width: 42px;
    height: 42px;
  }

  .recommendation b,
  .power-row b {
    font-size: 14px;
  }

  .recommendation p {
    font-size: 13px;
  }

  .recommendation button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }

  .power-row {
    min-height: 58px;
  }

  /* Shared controls */
  .tool-row,
  .draft-filter-row,
  .admin-email-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .search-box {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .search-box input {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .tool-row select,
  .trade-side select,
  .draft-controls select,
  .admin-email-toolbar select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #11152a;
    font-size: 16px;
  }

  .tool-row .segmented,
  .draft-position-filter,
  .provider-tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .segmented button,
  .draft-position-filter button,
  .provider-tabs button {
    min-height: 42px;
    font-size: 13px;
  }

  /* League Central */
  .league-layout,
  .waiver-layout,
  .lineup-layout,
  .settings-grid,
  .connection-grid,
  .help-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .standings-panel .table-wrap {
    overflow: visible;
    padding: 0 12px 14px;
  }

  .standings-panel .data-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .standings-panel .data-table thead {
    display: none;
  }

  .standings-panel .data-table tbody {
    display: grid;
    gap: 9px;
  }

  .standings-panel .data-table tbody tr {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "rank team grade" "rank record grade";
    gap: 5px 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
  }

  .standings-panel .data-table td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  .standings-panel .data-table td:nth-child(1) {
    grid-area: rank;
    color: #a992ff;
    font-size: 18px;
    font-weight: 850;
  }

  .standings-panel .data-table td:nth-child(2) { grid-area: team; }
  .standings-panel .data-table td:nth-child(3) { grid-area: record; color: var(--muted); }
  .standings-panel .data-table td:nth-child(4) { grid-area: grade; text-align: right; }

  .team-cell { gap: 12px; }
  .team-cell b { font-size: 16px; line-height: 1.25; }
  .team-cell small { font-size: 13px; white-space: normal; overflow-wrap: normal; word-break: normal; }

  .roster-panel {
    min-height: 0;
  }

  .roster-panel .panel-heading {
    flex-direction: column;
  }

  .roster-panel .segmented {
    width: 100%;
  }

  .roster-panel .segmented button {
    flex: 1;
  }

  .roster-list {
    padding: 0 12px 14px;
  }

  .roster-row {
    grid-template-columns: 46px 36px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 11px;
  }

  .roster-row b {
    font-size: 14px;
  }

  .roster-row small {
    font-size: 12px;
    line-height: 1.35;
  }

  .roster-row > strong {
    display: none;
  }

  .starter-badge,
  .bench-badge {
    font-size: 9px;
  }

  .team-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 12px 14px;
  }

  .team-card {
    min-height: 120px;
    padding: 15px;
  }

  /* Rankings become readable player cards */
  .rankings-panel {
    overflow: visible;
  }

  .rankings-panel .table-wrap.tall {
    max-height: none;
    overflow: visible;
  }

  .rankings-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .rankings-table thead {
    display: none;
  }

  .rankings-table tbody {
    display: grid;
    gap: 9px;
    padding: 0 12px 14px;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-areas:
      "rank player adp"
      "rank status value";
    gap: 6px 10px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(24, 29, 58, .94), rgba(12, 15, 31, .98));
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(1) {
    grid-area: rank;
    align-self: stretch;
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(210, 220, 255, .09);
    color: #b8a7ff;
    font-size: 14px;
    font-weight: 850;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(2) {
    grid-area: player;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(3) {
    grid-area: adp;
    text-align: right;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(4),
  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(5) {
    display: none;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(6) {
    grid-area: status;
    overflow: hidden;
  }

  .rankings-table tbody tr:not(.adp-tier-divider) td:nth-child(7) {
    grid-area: value;
    text-align: right;
  }

  .player-cell {
    gap: 10px;
    min-width: 0;
  }

  .player-cell > div:last-child {
    min-width: 0;
  }

  .player-cell b {
    display: block;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .player-cell small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
  }

  .player-photo.md {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .player-photo img {
    object-fit: cover;
    object-position: center top;
  }

  .adp-number {
    font-size: 17px;
  }

  .status-pill,
  .value-chip {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .adp-tier-divider {
    display: block !important;
    width: 100%;
    margin: 9px 0 1px;
  }

  .adp-tier-divider td {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 15px;
    overflow: hidden;
  }

  .adp-tier-divider div {
    width: 100%;
    height: 58px !important;
    min-height: 58px;
    padding: 0 16px !important;
    border-left-width: 7px !important;
  }

  .adp-tier-divider span {
    font-size: 16px !important;
    letter-spacing: .16em !important;
  }

  /* Waivers */
  .waiver-list,
  .watch-list {
    padding: 0 12px 14px;
  }

  .waiver-row {
    grid-template-columns: 46px 34px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 11px;
  }

  .waiver-row b,
  .watch-row b {
    font-size: 14px;
  }

  .waiver-row small,
  .watch-row small {
    font-size: 12px;
  }

  .waiver-stat {
    display: none;
  }

  .watch-button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }

  .watch-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 58px;
  }

  /* Trade and lineup */
  .trade-builder {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trade-side {
    min-height: 0;
  }

  .trade-side-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 15px;
  }

  .trade-roster {
    max-height: 420px;
    padding: 10px;
  }

  .trade-player {
    grid-template-columns: 24px 42px minmax(0, 1fr);
    min-height: 62px;
    padding: 10px;
  }

  .trade-player input {
    width: 20px;
    height: 20px;
  }

  .trade-player b,
  .lineup-row b {
    font-size: 14px;
  }

  .trade-player small,
  .lineup-row small {
    font-size: 12px;
  }

  .trade-player > strong {
    display: none;
  }

  .trade-center {
    display: grid;
    gap: 10px;
    padding: 4px 0;
  }

  .trade-ring {
    margin: auto;
  }

  .trade-center .primary {
    width: 100%;
    min-height: 48px;
  }

  .trade-result,
  .impact-grid,
  .change-grid {
    grid-template-columns: 1fr;
  }

  .trade-result {
    gap: 18px;
    padding: 20px 16px;
    text-align: left;
  }

  .trade-score {
    margin: 0;
  }

  .lineup-list,
  .change-grid {
    padding: 0 12px 14px;
  }

  .lineup-row {
    grid-template-columns: 44px 34px minmax(0, 1fr);
    min-height: 62px;
    padding: 10px;
  }

  .lineup-row > strong {
    display: none;
  }

  /* Draft room */
  .draft-heading-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .snake-badge {
    display: grid;
    min-height: 44px;
    place-items: center;
    font-size: 11px;
  }

  .draft-heading-actions .secondary {
    width: 100%;
  }

  .draft-controls {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding: 16px;
  }

  .draft-controls label {
    gap: 7px;
    font-size: 12px;
  }

  .draft-controls select {
    min-height: 48px;
  }

  .draft-control-actions {
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .draft-control-actions button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .draft-clock {
    grid-column: auto;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(169, 147, 255, .22);
    border-radius: 14px;
    background: rgba(116, 73, 217, .08);
    text-align: left;
  }

  .draft-clock b {
    font-size: 22px;
  }

  .draft-clock small {
    font-size: 12px;
  }

  .draft-insight-strip {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .draft-insight-strip article {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 14px 16px;
  }

  .draft-insight-strip article span {
    grid-column: 1;
    font-size: 10px;
  }

  .draft-insight-strip article b {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 19px;
  }

  .draft-insight-strip article small {
    grid-column: 1;
    font-size: 12px;
  }

  .draft-layout,
  .draft-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .draft-board-heading {
    flex-direction: column;
  }

  .draft-board-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .draft-board-actions button {
    width: 100%;
  }

  .draft-board-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .draft-board {
    width: max-content;
    min-width: 100%;
    max-width: none;
    overflow: visible;
    padding-bottom: 14px;
  }

  .draft-pick {
    min-height: 84px;
  }

  .draft-recommendations,
  .draft-available,
  .draft-my-roster {
    max-height: none;
    padding: 0 12px 14px;
  }

  .draft-recommendation {
    min-height: 68px;
    grid-template-columns: 24px 44px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .draft-recommendation b,
  .available-player b,
  .draft-roster-player b {
    font-size: 14px;
  }

  .draft-recommendation small,
  .available-player small,
  .draft-roster-player small {
    font-size: 12px;
    line-height: 1.35;
  }

  .draft-recommendation strong {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(116, 73, 217, .16);
  }

  .available-player {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-areas:
      "photo info button"
      "position value button";
    gap: 5px 9px;
    min-height: 72px;
    padding: 10px;
  }

  .available-player > .player-photo {
    grid-area: photo;
  }

  .available-player > .pos-badge {
    grid-area: position;
    width: max-content;
  }

  .available-player > div:not(.player-photo) {
    grid-area: info;
    min-width: 0;
  }

  .available-player > .draft-value-tag {
    display: inline-flex;
    grid-area: value;
    width: max-content;
  }

  .available-player > button {
    grid-area: button;
    min-width: 68px;
    min-height: 46px;
    padding: 0 12px;
    font-size: 13px;
  }

  .draft-position-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(52px, 1fr));
    gap: 5px;
    overflow: visible;
  }

  .draft-position-filter button {
    min-width: 0;
    padding: 0 5px;
  }

  /* Promotions */
  .promo-page-shell {
    gap: 12px;
  }

  .promo-hero-card {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .promo-hero-copy h1 {
    font-size: 27px;
  }

  .promo-hero-copy p {
    font-size: 15px;
  }

  .promo-master-code {
    width: 100%;
    min-height: 92px;
  }

  .promo-offer-grid,
  .promo-assurance-row {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .promo-offer-card {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .promo-offer-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
  }

  .promo-offer-body h2 {
    font-size: 21px;
  }

  .promo-offer-body p {
    font-size: 14px;
  }

  .promo-offer-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .promo-offer-actions button,
  .promo-offer-actions a {
    min-height: 48px;
    font-size: 14px;
  }

  /* Connections and settings */
  .connection-card,
  .connection-card-clean {
    min-height: 0;
    padding: 16px;
  }

  .connection-card button,
  .connection-card a,
  .disconnect-actions button {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  .connection-help {
    padding: 18px 16px;
  }

  .help-steps > div {
    min-height: 0;
    padding: 16px;
  }

  .help-steps p,
  .danger-panel p {
    font-size: 14px;
  }

  .danger-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px;
  }

  .disconnect-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .account-panel,
  .provider-health {
    padding: 0 12px 14px;
  }

  .account-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  /* Dialogs and sheets */
  dialog.modal {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: min(92dvh, 860px);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px));
    margin: 0;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  dialog.modal[open] {
    display: block;
  }

  .modal-close {
    position: sticky;
    top: 0;
    z-index: 5;
    float: right;
    width: 44px;
    height: 44px;
    margin: -4px -2px -40px 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .075);
    font-size: 28px;
  }

  .modal-heading {
    min-width: 0;
    align-items: flex-start;
    padding: 4px 44px 0 0;
  }

  .modal-heading img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
  }

  .modal-heading h2 {
    margin-top: 4px;
    font-size: 22px;
    line-height: 1.15;
  }

  .modal-heading p {
    font-size: 14px;
    line-height: 1.45;
  }

  .provider-tabs.provider-logo-tabs,
  .provider-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 18px 0 14px;
    overflow: visible;
  }

  .provider-tabs button {
    min-width: 0;
    min-height: 48px;
    padding: 8px;
    font-size: 13px;
  }

  .provider-logo-tabs button img,
  .provider-logo-tabs button[data-provider-tab="sleeper"] img {
    width: 28px;
    height: 28px;
  }

  .provider-form {
    gap: 14px;
  }

  .provider-form label {
    font-size: 13px;
  }

  .provider-form input,
  .provider-form textarea {
    padding: 12px;
    border-radius: 12px;
  }

  .form-split {
    grid-template-columns: 1fr;
  }

  .form-note,
  .oauth-card p,
  .form-message {
    font-size: 13px;
    line-height: 1.5;
  }

  .consent-check {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
  }

  .consent-check input {
    width: 20px;
    height: 20px;
    min-height: 20px;
  }

  /* Entry offer popup becomes a mobile sheet */
  .entry-promo-overlay {
    align-items: end;
    padding: 0;
  }

  .entry-promo-shell {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    padding: calc(env(safe-area-inset-top, 0px) + 24px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .entry-promo-close {
    position: sticky;
    top: 0;
    z-index: 5;
    float: right;
    width: 44px;
    height: 44px;
    margin: -6px -2px -38px 0;
    background: rgba(255, 255, 255, .075);
  }

  .entry-promo-kicker {
    padding: 6px 46px 0;
    font-size: 10px;
  }

  .entry-promo-shell h2 {
    margin-top: 14px;
    font-size: 28px;
  }

  .entry-promo-intro {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .entry-promo-code-line {
    min-height: 44px;
    margin: 14px auto;
  }

  .entry-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .entry-promo-card {
    min-height: 154px !important;
    padding: 14px 8px !important;
  }

  .entry-promo-logo {
    width: 58px !important;
    height: 58px !important;
  }

  .entry-promo-logo img {
    width: 54px !important;
    height: 54px !important;
  }

  .entry-promo-copy b {
    font-size: 12px !important;
  }

  .entry-promo-copy small,
  .entry-promo-copy em {
    font-size: 9px !important;
  }

  .entry-promo-continue {
    min-height: 48px !important;
    font-size: 13px !important;
  }

  .entry-promo-disclaimer {
    font-size: 10px !important;
  }

  /* Admin mobile */
  .admin-body {
    min-height: 100dvh;
    padding: 0 var(--mobile-page-padding) calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .admin-shell {
    width: 100%;
    max-width: 100%;
  }

  .admin-header {
    height: auto;
    min-height: 76px;
    gap: 12px;
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 0 8px;
  }

  .admin-header .brand {
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .admin-header .brand img {
    width: 42px;
    height: 42px;
  }

  .admin-header .brand b {
    font-size: 15px;
  }

  .admin-header .button-link {
    min-width: 92px;
    padding: 0 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
  }

  .admin-login {
    width: 100%;
    max-width: none;
    margin: 28px 0 0;
    padding: 20px 16px;
  }

  .admin-login h1,
  .admin-owner-heading h1 {
    font-size: 26px;
  }

  .admin-login p,
  .admin-owner-heading p,
  .admin-email-heading p {
    font-size: 15px;
  }

  .admin-login form {
    grid-template-columns: 1fr;
  }

  .admin-login button,
  .admin-email-actions button,
  #admin-refresh {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  .admin-inbox {
    padding-top: 18px;
  }

  .admin-owner-heading,
  .admin-email-heading {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .admin-email-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .admin-metrics,
  #email-metrics {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .admin-email-panel {
    padding: 0;
  }

  .admin-email-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .admin-email-table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }

  .admin-email-table thead {
    display: none;
  }

  .admin-email-table tbody {
    display: grid;
    gap: 9px;
    padding: 0 12px 14px;
  }

  .admin-email-table tr {
    display: grid;
    gap: 7px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
  }

  .admin-email-table td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  .admin-email-table td::before {
    color: #7f89a8;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .admin-email-table td:nth-child(1)::before { content: "Email"; }
  .admin-email-table td:nth-child(2)::before { content: "Name"; }
  .admin-email-table td:nth-child(3)::before { content: "Source"; }
  .admin-email-table td:nth-child(4)::before { content: "Consent"; }
  .admin-email-table td:nth-child(5)::before { content: "Collected"; }

  .admin-email-table td b {
    overflow-wrap: anywhere;
    font-size: 13px;
  }

  .admin-email-table td small {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .topbar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .content,
  .admin-body {
    --mobile-page-padding: 14px;
  }

  .mobile-brand b {
    font-size: 15px;
  }

  .strength-strip {
    grid-template-columns: 1fr;
  }

  .hero-foot {
    grid-template-columns: 1fr;
  }

  .entry-promo-card {
    min-height: 146px !important;
  }

  .entry-promo-copy b {
    font-size: 11px !important;
  }
}

/* v23 — targeted mobile waiver-card and promo-modal corrections only. */
@media (max-width: 767px) {
  /* Waiver Wire: preserve one balanced horizontal row. */
  .waiver-list {
    padding-right: 0;
    padding-left: 0;
  }

  .waiver-row {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 12px;
    padding: 15px;
    overflow: hidden;
  }

  .waiver-row > .player-photo,
  .waiver-row > .player-photo.sm {
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
  }

  .waiver-row > .player-photo img,
  .waiver-row > .player-photo.sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .waiver-row > .pos-badge,
  .waiver-row > .waiver-stat {
    display: none !important;
  }

  .waiver-player-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .waiver-player-name {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.18;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    hyphens: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .desktop-waiver-meta {
    display: none !important;
  }

  .mobile-waiver-meta {
    display: grid;
    gap: 2px;
    min-width: 0;
    margin-top: 6px !important;
    color: #929dbd !important;
    font-size: 13px !important;
    line-height: 1.25;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal;
  }

  .mobile-waiver-meta span {
    display: block;
    min-width: 0;
  }

  .mobile-waiver-meta span:last-child {
    color: #49d5a2;
    font-weight: 700;
  }

  .waiver-row .watch-button {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    min-height: 46px;
    height: 46px;
    flex: 0 0 96px;
    flex-shrink: 0;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* Promo popup: centred modal card with visible Overview around every side. */
  .entry-promo-overlay {
    display: grid;
    place-items: center;
    align-items: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    background: rgba(2, 4, 14, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .entry-promo-shell {
    width: min(430px, calc(100vw - 32px));
    max-width: 430px;
    max-height: 86dvh;
    margin: auto;
    padding: 18px 14px 15px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(183, 164, 255, .3);
    border-radius: 26px;
    -webkit-overflow-scrolling: touch;
  }

  .entry-promo-accent {
    right: 20px;
    left: 20px;
    height: 4px;
  }

  .entry-promo-close {
    position: sticky;
    top: 0;
    right: auto;
    z-index: 10;
    float: none;
    display: grid;
    width: 46px;
    height: 46px;
    margin: -4px 0 -40px auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: rgba(25, 29, 54, .96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .26);
    font-size: 27px;
  }

  .entry-promo-kicker {
    padding: 5px 48px 0;
    font-size: 9px;
    line-height: 1.35;
  }

  .entry-promo-shell h2 {
    max-width: 310px;
    margin: 11px auto 7px;
    font-size: clamp(28px, 8.2vw, 33px);
    line-height: 1.02;
  }

  .entry-promo-intro {
    max-width: 340px !important;
    font-size: 16px !important;
    line-height: 1.38 !important;
  }

  .entry-promo-code-line {
    min-height: 40px;
    margin: 11px auto 12px;
    padding: 4px 5px 4px 11px;
    gap: 8px;
  }

  .entry-promo-code-line button {
    min-height: 34px;
    padding: 6px 9px;
  }

  .entry-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .entry-promo-card {
    min-height: 124px !important;
    gap: 7px !important;
    padding: 10px 7px !important;
    border-radius: 16px !important;
  }

  .entry-promo-logo {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
  }

  .entry-promo-logo img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
  }

  .entry-promo-copy {
    gap: 3px !important;
  }

  .entry-promo-copy small {
    font-size: 7px !important;
    line-height: 1.2;
  }

  .entry-promo-copy b {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px !important;
    line-height: 1.22 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .entry-promo-copy em {
    margin-top: 1px !important;
    font-size: 8px !important;
  }

  .entry-promo-continue {
    min-height: 46px !important;
    margin-top: 11px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    line-height: 1.25;
  }

  .entry-promo-disclaimer {
    padding: 8px 4px 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 390px) {
  .waiver-row {
    gap: 10px;
    padding: 14px;
  }

  .waiver-row > .player-photo,
  .waiver-row > .player-photo.sm {
    width: 50px;
    height: 50px;
    min-width: 50px;
    flex-basis: 50px;
  }

  .waiver-player-name {
    font-size: 17px !important;
  }

  .waiver-row .watch-button {
    width: 88px;
    min-width: 88px;
    max-width: 88px;
    flex-basis: 88px;
  }

  .entry-promo-shell {
    max-height: 84dvh;
    padding-right: 12px;
    padding-left: 12px;
  }

  .entry-promo-card {
    min-height: 120px !important;
  }
}

@media (max-width: 767px) {
  .admin-tabs { position: static; width: 100%; }
  .admin-analytics-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .admin-analytics-toolbar h2 { font-size: 25px; }
  .admin-analytics-toolbar p { font-size: 14px; line-height: 1.55; }
  .admin-analytics-actions { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .admin-analytics-actions label { font-size: 11px; }
  .admin-analytics-actions select,
  .admin-analytics-actions button { width: 100%; min-height: 48px; font-size: 15px; }
  .admin-live-strip { min-height: 0; align-items: flex-start; flex-wrap: wrap; gap: 9px 14px; padding: 14px; font-size: 13px; }
  .admin-live-strip b { font-size: 14px; }
  .analytics-primary-metrics,
  .analytics-secondary-metrics { grid-template-columns: 1fr 1fr !important; }
  .analytics-metric { min-height: 108px; padding: 15px; }
  .analytics-metric b { font-size: 23px; }
  .analytics-metric small { font-size: 10px; }
  .analytics-metric span { font-size: 12px; }
  .admin-analytics-grid { grid-template-columns: 1fr; }
  .admin-analytics-panel .panel-heading { align-items: flex-start; flex-direction: column; padding: 16px 15px 10px; }
  .admin-analytics-panel .panel-heading h2 { font-size: 18px; }
  .analytics-legend { gap: 10px; }
  .analytics-legend span { font-size: 11px; }
  .analytics-chart { padding: 2px 10px 14px; }
  .analytics-chart-scroll { -webkit-overflow-scrolling: touch; }
  .analytics-chart-grid { height: 210px; }
  .admin-table-wrap { padding: 0 10px 12px; -webkit-overflow-scrolling: touch; }
  .admin-stats-table { min-width: 600px; }
  .admin-stats-table th { font-size: 9px; }
  .admin-stats-table td { font-size: 12px; }
  .admin-stats-table td b { font-size: 13px; }
  .admin-stats-table td small { font-size: 10px; }
  .analytics-split-lists { grid-template-columns: 1fr; gap: 22px; padding: 4px 15px 18px; }
  .analytics-split-lists h3 { font-size: 12px; }
  .analytics-ranked-row b { font-size: 13px; }
  .analytics-ranked-row span { font-size: 11px; }
  .analytics-progress { height: 8px; }
  .analytics-provider-grid { grid-template-columns: 1fr; padding: 3px 13px 14px; }
  .analytics-provider-card { padding: 14px; }
  .analytics-provider-card>div:first-child span { font-size: 11px; }
  .analytics-provider-card>div:first-child b { font-size: 24px; }
  .analytics-provider-card>div:first-child small,
  .analytics-provider-card dt { font-size: 10px; }
  .analytics-provider-card dd { font-size: 13px; }
}

@media (max-width: 390px) {
  .analytics-primary-metrics,
  .analytics-secondary-metrics { grid-template-columns: 1fr !important; }
}


@media (max-width: 767px) {
  /* v28 Trade Lab: clean waiver-style player rows */
  .trade-builder { display:grid; grid-template-columns:1fr; gap:12px; }
  .trade-side-send { order:1; }
  .trade-center { order:2; padding:4px 0 8px; }
  .trade-side-receive { order:3; }
  .trade-result-simple { order:4; margin-top:12px; min-height:104px; gap:20px; border-radius:18px; }
  .trade-result-simple>span { font-size:14px; }
  .trade-result-simple>b { font-size:44px; }
  .trade-side { min-height:0; }
  .trade-side-head { display:flex; flex-direction:column; align-items:stretch; gap:10px; padding:14px; }
  .trade-label { width:100%; min-height:42px; justify-content:center; font-size:13px; }
  .trade-side select { width:100%; min-width:0; min-height:44px; font-size:16px; padding:10px 12px; }
  .trade-roster { padding:10px; gap:8px; max-height:440px; }
  .trade-player {
    display:grid;
    grid-template-columns:22px 52px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:12px;
    min-width:0;
  }
  .trade-player input { width:20px; height:20px; margin:0; }
  .trade-player .player-photo { width:52px; height:52px; flex-basis:52px; }
  .trade-player-info { min-width:0; }
  .trade-player-info b { font-size:17px; line-height:1.25; max-width:100%; white-space:normal; word-break:normal; overflow-wrap:normal; }
  .trade-player-info small { display:block; margin-top:4px; font-size:13px; line-height:1.35; white-space:normal; word-break:normal; overflow-wrap:normal; }
  .trade-player-value { align-self:center; min-width:48px; font-size:12px; text-align:right; }
  .trade-total { padding:13px 15px; }
  .trade-total span { font-size:12px; }
  .trade-total b { font-size:18px; }
  .trade-center .trade-ring { width:48px; height:48px; font-size:20px; }
  .trade-center .primary { width:min(260px,100%); min-height:48px; }
  .trade-center small { font-size:12px; }

  /* v28 Lineup Optimizer: readable horizontal player rows */
  .lineup-list { padding:0 10px 14px; gap:8px; }
  .lineup-row {
    display:grid;
    grid-template-columns:42px 52px minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding:12px;
    min-width:0;
  }
  .lineup-slot { display:grid; place-items:center; min-width:42px; min-height:36px; padding:5px; border-radius:9px; background:rgba(116,73,217,.12); font-size:11px; }
  .lineup-row .player-photo { width:52px; height:52px; flex-basis:52px; }
  .lineup-player-info { min-width:0; }
  .lineup-player-info b { font-size:17px; line-height:1.25; white-space:normal; word-break:normal; overflow-wrap:normal; }
  .lineup-player-info small { display:block; margin-top:4px; font-size:13px; line-height:1.35; white-space:normal; word-break:normal; overflow-wrap:normal; }
  .lineup-row>strong { display:block; min-width:48px; font-size:12px; text-align:right; }

  /* v28 League Central: team image + live grade only */
  .standings-panel .table-wrap { padding-inline:10px; }
  .standings-panel .data-table tbody { gap:10px; }
  .standings-panel .live-grade-chip { min-width:50px; min-height:40px; font-size:16px; }
  .team-avatar.sm { width:48px; height:48px; flex-basis:48px; border-radius:13px; }
  .team-card-head { align-items:center; }
  .team-card-head b { font-size:16px; line-height:1.25; }
  .team-card-head small { font-size:13px; }
  .team-card-grade { min-width:48px; height:40px; font-size:16px; }
}

@media (max-width: 390px) {
  .trade-player, .lineup-row { grid-template-columns:20px 48px minmax(0,1fr) auto; gap:9px; padding:10px; }
  .lineup-row { grid-template-columns:38px 48px minmax(0,1fr) auto; }
  .trade-player .player-photo, .lineup-row .player-photo { width:48px; height:48px; flex-basis:48px; }
  .trade-player-info b, .lineup-player-info b { font-size:16px; }
  .trade-player-info small, .lineup-player-info small { font-size:12px; }
  .trade-player-value, .lineup-row>strong { min-width:40px; font-size:11px; }
}

@media (max-width: 767px) {
  .trade-player > strong.trade-player-value { display: block; }
}

@media (max-width:767px){.yahoo-manual-form .form-split{grid-template-columns:1fr}.manual-import-divider{margin:14px 0}.yahoo-connect-card{padding-bottom:4px}}
