/* Desktop home: replace the right hero identity with a compact personal For dig panel for signed-in users. */
@media (min-width:1101px) {
  .home-stage__identity.home-stage__identity--for-you {
    display:flex;
    align-items:stretch;
    min-height:0;
    padding:clamp(15px,2vh,24px) clamp(16px,2vw,28px);
  }

  .home-stage__identity.home-stage__identity--for-you::before {
    inset:6% 4%;
    opacity:.28;
  }

  .seh-desktop-for-you {
    position:relative;
    z-index:2;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:9px;
    padding:clamp(10px,1.2vh,14px);
    border:1px solid rgba(214,177,95,.20);
    border-radius:18px;
    background:
      radial-gradient(circle at 100% 0,rgba(214,177,95,.075),transparent 34%),
      linear-gradient(145deg,rgba(8,17,34,.93),rgba(4,8,17,.90));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 36px rgba(0,0,0,.16);
    overflow:hidden;
  }

  .seh-dfy__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

  .seh-dfy__head > div {
    display:grid;
    gap:1px;
  }

  .seh-dfy__head small,
  .seh-dfy__identity small,
  .seh-dfy__mini small {
    color:#d6b15f;
    font-size:8px;
    font-weight:950;
    letter-spacing:.13em;
  }

  .seh-dfy__head h2 {
    margin:0;
    color:#f5f1e8;
    font-size:clamp(20px,1.55vw,27px);
    line-height:1;
    letter-spacing:-.035em;
  }

  .seh-dfy__head > span {
    padding:4px 7px;
    border:1px solid rgba(77,218,156,.26);
    border-radius:999px;
    color:#6ee7aa;
    background:rgba(77,218,156,.055);
    font-size:8px;
    font-weight:950;
    letter-spacing:.11em;
  }

  .seh-dfy__identity {
    display:grid;
    grid-template-columns:54px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    min-height:68px;
    padding:8px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:14px;
    background:rgba(2,7,15,.58);
  }

  .seh-dfy__avatar {
    display:block;
    width:54px;
    height:54px;
    overflow:hidden;
    border:1px solid rgba(214,177,95,.28);
    border-radius:12px;
    background:#09162c;
  }

  .seh-dfy__avatar img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
  }

  .seh-dfy__identity > div {
    display:grid;
    min-width:0;
    gap:2px;
  }

  .seh-dfy__identity strong,
  .seh-dfy__identity span {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .seh-dfy__identity strong {
    color:#fff;
    font-size:15px;
  }

  .seh-dfy__identity span {
    color:#949eae;
    font-size:10px;
  }

  .seh-dfy__profile-link,
  .seh-dfy__pending a,
  .seh-dfy__error button {
    min-height:32px;
    display:inline-grid;
    place-items:center;
    padding:0 10px;
    border:1px solid rgba(214,177,95,.38);
    border-radius:9px;
    color:#f3d991;
    background:rgba(214,177,95,.07);
    font:inherit;
    font-size:9px;
    font-weight:900;
    text-decoration:none;
    cursor:pointer;
  }

  .seh-dfy__mini-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .seh-dfy__mini {
    display:grid;
    min-width:0;
    gap:3px;
    min-height:64px;
    padding:9px 10px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:12px;
    color:inherit;
    background:rgba(255,255,255,.018);
    text-decoration:none;
  }

  .seh-dfy__mini strong,
  .seh-dfy__mini span {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .seh-dfy__mini strong {
    color:#eef1f6;
    font-size:12px;
  }

  .seh-dfy__mini span {
    color:#858e9c;
    font-size:9px;
  }

  .seh-dfy__mini:hover,
  .seh-dfy__mini:focus-visible,
  .seh-dfy__profile-link:hover,
  .seh-dfy__profile-link:focus-visible,
  .seh-dfy__shortcuts a:hover,
  .seh-dfy__shortcuts a:focus-visible {
    outline:none;
    border-color:rgba(255,208,0,.52);
    background:rgba(255,208,0,.055);
  }

  .seh-dfy__feed-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:1px;
  }

  .seh-dfy__feed-head strong {
    color:#e9e7e1;
    font-size:10px;
    letter-spacing:.02em;
  }

  .seh-dfy__feed-head a {
    color:#d6b15f;
    font-size:8px;
    font-weight:850;
    text-decoration:none;
  }

  .seh-dfy__feed {
    display:grid;
    gap:5px;
  }

  .seh-dfy__feed-row {
    display:grid;
    grid-template-columns:27px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:6px 8px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:10px;
    background:rgba(1,5,12,.44);
  }

  .seh-dfy__feed-row > b {
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:8px;
    color:#d6b15f;
    background:rgba(214,177,95,.07);
    font-size:9px;
  }

  .seh-dfy__feed-row[data-tone="in"] > b { color:#6ee7aa; background:rgba(77,218,156,.07); }
  .seh-dfy__feed-row[data-tone="out"] > b { color:#ff8d8d; background:rgba(255,102,102,.07); }
  .seh-dfy__feed-row[data-tone="fa"] > b { color:#62d4cf; background:rgba(98,212,207,.07); }

  .seh-dfy__feed-row > div {
    display:grid;
    min-width:0;
    gap:1px;
  }

  .seh-dfy__feed-row strong,
  .seh-dfy__feed-row span {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .seh-dfy__feed-row strong {
    color:#eef1f6;
    font-size:10px;
  }

  .seh-dfy__feed-row span {
    color:#858e9c;
    font-size:8.5px;
  }

  .seh-dfy__feed-row time {
    color:#626b78;
    font-size:8px;
    white-space:nowrap;
  }

  .seh-dfy__shortcuts {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
  }

  .seh-dfy__shortcuts a {
    min-width:0;
    min-height:31px;
    display:grid;
    place-items:center;
    padding:4px 5px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.065);
    border-radius:9px;
    color:#aab2be;
    background:rgba(255,255,255,.018);
    font-size:8px;
    font-weight:850;
    text-align:center;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .seh-dfy__pending {
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:12px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:14px;
    background:rgba(2,7,15,.55);
  }

  .seh-dfy__pending-icon {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid rgba(214,177,95,.27);
    border-radius:12px;
    color:#d6b15f;
    font-size:20px;
  }

  .seh-dfy__pending > div:nth-child(2) {
    min-width:0;
  }

  .seh-dfy__pending strong {
    display:block;
    color:#f3f1eb;
    font-size:12px;
  }

  .seh-dfy__pending span {
    display:block;
    margin-top:3px;
    color:#87909f;
    font-size:9px;
    line-height:1.4;
  }

  .seh-dfy__loading {
    display:grid;
    gap:8px;
  }

  .seh-dfy__loading i {
    display:block;
    height:62px;
    border-radius:12px;
    background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.065),rgba(255,255,255,.025));
    background-size:200% 100%;
    animation:seh-dfy-shimmer 1.2s linear infinite;
  }

  .seh-dfy__error {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:14px;
    background:rgba(2,7,15,.55);
  }

  .seh-dfy__error strong {
    color:#f3f1eb;
    font-size:11px;
  }
}

@media (min-width:1101px) and (max-height:860px) {
  .home-stage__identity.home-stage__identity--for-you {
    padding:11px 16px;
  }

  .seh-desktop-for-you {
    gap:6px;
    padding:9px;
  }

  .seh-dfy__identity {
    min-height:60px;
    grid-template-columns:48px minmax(0,1fr) auto;
  }

  .seh-dfy__avatar {
    width:48px;
    height:48px;
  }

  .seh-dfy__mini {
    min-height:57px;
    padding:7px 9px;
  }

  .seh-dfy__feed-row {
    min-height:37px;
    padding-block:4px;
  }

  .seh-dfy__shortcuts a {
    min-height:27px;
  }
}

@keyframes seh-dfy-shimmer {
  to { background-position:-200% 0; }
}


/* =========================================================
   DESKTOP FOR YOU V2 — darker, larger, more web/dashboard
   ========================================================= */
@media (min-width:1101px) {
  .home-stage__identity.home-stage__identity--for-you {
    padding: 14px 16px !important;
    background:
      linear-gradient(135deg, rgba(255,208,0,.018), transparent 42%),
      #020407 !important;
  }

  .home-stage__identity.home-stage__identity--for-you::before {
    inset: 0 !important;
    opacity: .20 !important;
    background:
      linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
      linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px) !important;
    background-size: 48px 48px !important;
  }

  .seh-desktop-for-you {
    justify-content: flex-start !important;
    gap: 11px !important;
    padding: clamp(18px,2.1vh,24px) !important;
    border: 1px solid rgba(255,255,255,.105) !important;
    border-radius: 7px !important;
    background:
      radial-gradient(circle at 90% 0, rgba(255,208,0,.035), transparent 26%),
      linear-gradient(180deg, #07090d 0%, #030507 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.025),
      0 18px 46px rgba(0,0,0,.28) !important;
  }

  .seh-desktop-for-you::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 112px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, #ffd000, rgba(255,208,0,0));
  }

  .seh-dfy__head {
    min-height: 47px;
    align-items: flex-end !important;
    padding-bottom: 1px;
  }

  .seh-dfy__head small {
    color: rgba(98,212,207,.88) !important;
    font-size: 9px !important;
    letter-spacing: .15em !important;
  }

  .seh-dfy__head h2 {
    margin-top: 3px !important;
    font-size: clamp(26px,1.8vw,31px) !important;
    letter-spacing: -.045em !important;
  }

  .seh-dfy__head > span {
    margin-bottom: 2px;
    padding: 5px 9px !important;
    border-radius: 3px !important;
    font-size: 8.5px !important;
  }

  .seh-dfy__identity {
    grid-template-columns: 84px minmax(0,1fr) auto !important;
    gap: 14px !important;
    min-height: 102px !important;
    padding: 9px 11px !important;
    border-color: rgba(255,255,255,.10) !important;
    border-radius: 5px !important;
    background:
      linear-gradient(90deg, rgba(9,18,29,.72), rgba(4,7,11,.82)) !important;
  }

  .seh-dfy__avatar {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    max-height: 82px !important;
    border-radius: 4px !important;
    border-color: rgba(255,208,0,.28) !important;
    background: #08101c !important;
  }

  .seh-dfy__avatar img {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    max-height: 82px !important;
    object-fit: cover !important;
    object-position: center 14% !important;
  }

  .seh-dfy__identity > div {
    gap: 4px !important;
  }

  .seh-dfy__identity small {
    color: #ffd000 !important;
    font-size: 8.5px !important;
  }

  .seh-dfy__identity strong {
    font-size: clamp(19px,1.35vw,23px) !important;
    letter-spacing: -.025em;
  }

  .seh-dfy__identity span {
    color: rgba(244,241,233,.56) !important;
    font-size: 11px !important;
  }

  .seh-dfy__profile-link,
  .seh-dfy__pending a,
  .seh-dfy__error button {
    min-height: 36px !important;
    padding: 0 13px !important;
    border-radius: 3px !important;
    border-color: rgba(255,208,0,.32) !important;
    color: #f5dc8f !important;
    background: rgba(255,208,0,.04) !important;
    font-size: 9.5px !important;
  }

  .seh-dfy__mini-grid {
    gap: 9px !important;
  }

  .seh-dfy__mini {
    position: relative;
    min-height: 85px !important;
    padding: 11px 12px !important;
    border-radius: 5px !important;
    border-color: rgba(255,255,255,.09) !important;
    background: #05080d !important;
  }

  .seh-dfy__mini:hover,
  .seh-dfy__mini:focus-visible {
    border-color: rgba(255,208,0,.38) !important;
    background: #080b10 !important;
  }

  .seh-dfy__mini--team {
    grid-template-columns: 58px minmax(0,1fr) 18px !important;
    align-items: center;
    gap: 12px !important;
  }

  .seh-dfy__team-logo {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 4px;
    color: rgba(244,241,233,.56);
    background: #090c11;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.04em;
  }

  .seh-dfy__team-logo img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .seh-dfy__mini-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
  }

  .seh-dfy__mini-copy small {
    color: rgba(98,212,207,.86) !important;
    font-size: 8.5px !important;
  }

  .seh-dfy__mini-copy strong {
    color: #f6f3eb !important;
    font-size: 15px !important;
    letter-spacing: -.018em;
  }

  .seh-dfy__mini-copy > span {
    color: rgba(244,241,233,.48) !important;
    font-size: 9.5px !important;
  }

  .seh-dfy__mini-arrow {
    justify-self: end;
    color: rgba(244,241,233,.28);
    font-size: 13px;
  }

  .seh-dfy__mini--fa {
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center;
  }

  .seh-dfy__mini--fa .seh-dfy__fa-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #f6f3eb !important;
    font-size: 24px !important;
    line-height: 1;
    letter-spacing: -.045em;
  }

  .seh-dfy__mini--fa .seh-dfy__fa-value em {
    color: rgba(244,241,233,.46);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .02em;
  }

  .seh-dfy__feed-head {
    min-height: 23px;
    margin-top: 1px;
  }

  .seh-dfy__feed-head strong {
    font-size: 11px !important;
  }

  .seh-dfy__feed-head a {
    font-size: 8.5px !important;
  }

  .seh-dfy__feed {
    gap: 6px !important;
  }

  .seh-dfy__feed-row {
    min-height: 46px !important;
    grid-template-columns: 31px minmax(0,1fr) auto !important;
    gap: 9px !important;
    padding: 6px 9px !important;
    border-radius: 4px !important;
    border-color: rgba(255,255,255,.075) !important;
    background: #04070b !important;
  }

  .seh-dfy__feed-row > b {
    width: 29px !important;
    height: 29px !important;
    border-radius: 3px !important;
    font-size: 9px !important;
  }

  .seh-dfy__feed-row strong {
    font-size: 10.5px !important;
  }

  .seh-dfy__feed-row span {
    font-size: 8.8px !important;
  }

  .seh-dfy__shortcuts {
    gap: 7px !important;
    margin-top: 1px;
  }

  .seh-dfy__shortcuts a {
    min-height: 35px !important;
    border-radius: 3px !important;
    border-color: rgba(255,255,255,.085) !important;
    background: #05080c !important;
    color: rgba(244,241,233,.68) !important;
    font-size: 8.7px !important;
  }

  .seh-dfy__shortcuts a:hover,
  .seh-dfy__shortcuts a:focus-visible,
  .seh-dfy__profile-link:hover,
  .seh-dfy__profile-link:focus-visible {
    border-color: rgba(255,208,0,.42) !important;
    color: #f6e3a8 !important;
    background: rgba(255,208,0,.045) !important;
  }
}

@media (min-width:1101px) and (max-height:860px) {
  .seh-desktop-for-you {
    gap: 8px !important;
    padding: 14px 16px !important;
  }

  .seh-dfy__head {
    min-height: 40px;
  }

  .seh-dfy__identity {
    grid-template-columns: 70px minmax(0,1fr) auto !important;
    min-height: 84px !important;
  }

  .seh-dfy__avatar,
  .seh-dfy__avatar img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }

  .seh-dfy__mini {
    min-height: 72px !important;
  }

  .seh-dfy__team-logo {
    width: 48px;
    height: 48px;
  }

  .seh-dfy__team-logo img {
    width: 41px;
    height: 41px;
  }

  .seh-dfy__feed-row {
    min-height: 40px !important;
  }

  .seh-dfy__shortcuts a {
    min-height: 31px !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V2.1 — fuller hero, less card-in-card
   ========================================================= */
@media (min-width:1101px) {
  .home-stage__identity.home-stage__identity--for-you {
    padding: 0 !important;
    background:
      radial-gradient(circle at 80% 10%, rgba(14,42,65,.18), transparent 34%),
      linear-gradient(180deg, #020406 0%, #010203 100%) !important;
  }

  .seh-desktop-for-you {
    width: 100%;
    height: 100%;
    min-height: 100%;
    justify-content: center !important;
    gap: clamp(12px,1.55vh,16px) !important;
    padding: clamp(22px,2.7vh,30px) clamp(22px,2vw,30px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .seh-desktop-for-you::before {
    width: 150px;
    height: 2px;
  }

  .seh-dfy__head {
    min-height: 52px !important;
  }

  .seh-dfy__head h2 {
    font-size: clamp(28px,1.95vw,34px) !important;
  }

  .seh-dfy__head small {
    font-size: 9.5px !important;
  }

  .seh-dfy__head > span {
    min-width: 42px;
    min-height: 23px;
    display: inline-grid;
    place-items: center;
  }

  .seh-dfy__identity {
    grid-template-columns: 106px minmax(0,1fr) auto !important;
    gap: 17px !important;
    min-height: 124px !important;
    padding: 10px 13px !important;
    border-radius: 4px !important;
    background:
      linear-gradient(90deg, rgba(7,12,19,.96), rgba(3,6,10,.96)) !important;
  }

  .seh-dfy__avatar,
  .seh-dfy__avatar img {
    width: 102px !important;
    height: 102px !important;
    max-width: 102px !important;
    max-height: 102px !important;
  }

  .seh-dfy__avatar {
    border-radius: 3px !important;
  }

  .seh-dfy__identity strong {
    font-size: clamp(22px,1.55vw,27px) !important;
  }

  .seh-dfy__identity span {
    font-size: 12px !important;
  }

  .seh-dfy__identity small {
    font-size: 9px !important;
  }

  .seh-dfy__profile-link {
    min-height: 40px !important;
    padding-inline: 15px !important;
    font-size: 10px !important;
  }

  .seh-dfy__mini-grid {
    gap: 10px !important;
  }

  .seh-dfy__mini {
    min-height: 96px !important;
    padding: 12px 14px !important;
    border-radius: 4px !important;
  }

  .seh-dfy__mini--team {
    grid-template-columns: 68px minmax(0,1fr) 18px !important;
    gap: 14px !important;
  }

  .seh-dfy__team-logo {
    width: 64px;
    height: 64px;
    border-radius: 3px;
  }

  .seh-dfy__team-logo img {
    width: 56px;
    height: 56px;
  }

  .seh-dfy__mini-copy {
    gap: 5px;
  }

  .seh-dfy__mini-copy small {
    font-size: 9px !important;
  }

  .seh-dfy__mini-copy strong {
    font-size: 17px !important;
  }

  .seh-dfy__mini-copy > span {
    font-size: 10px !important;
  }

  .seh-dfy__mini--fa .seh-dfy__fa-value {
    font-size: 29px !important;
  }

  .seh-dfy__mini--fa .seh-dfy__fa-value em {
    font-size: 10px !important;
  }

  .seh-dfy__feed-head {
    min-height: 27px !important;
  }

  .seh-dfy__feed-head strong {
    font-size: 12px !important;
  }

  .seh-dfy__feed-head a {
    font-size: 9px !important;
  }

  .seh-dfy__feed-row {
    min-height: 52px !important;
    grid-template-columns: 34px minmax(0,1fr) auto !important;
    padding: 7px 10px !important;
    border-radius: 3px !important;
  }

  .seh-dfy__feed-row > b {
    width: 32px !important;
    height: 32px !important;
  }

  .seh-dfy__feed-row strong {
    font-size: 11.5px !important;
  }

  .seh-dfy__feed-row span {
    font-size: 9.5px !important;
  }

  .seh-dfy__shortcuts {
    gap: 8px !important;
  }

  .seh-dfy__shortcuts a {
    min-height: 40px !important;
    border-radius: 3px !important;
    font-size: 9.5px !important;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-desktop-for-you {
    gap: 9px !important;
    padding: 14px 18px !important;
  }

  .seh-dfy__head {
    min-height: 42px !important;
  }

  .seh-dfy__identity {
    grid-template-columns: 84px minmax(0,1fr) auto !important;
    min-height: 98px !important;
  }

  .seh-dfy__avatar,
  .seh-dfy__avatar img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }

  .seh-dfy__identity strong {
    font-size: 21px !important;
  }

  .seh-dfy__mini {
    min-height: 77px !important;
    padding: 9px 11px !important;
  }

  .seh-dfy__mini--team {
    grid-template-columns: 54px minmax(0,1fr) 16px !important;
  }

  .seh-dfy__team-logo {
    width: 50px;
    height: 50px;
  }

  .seh-dfy__team-logo img {
    width: 44px;
    height: 44px;
  }

  .seh-dfy__feed-row {
    min-height: 40px !important;
    padding-block: 4px !important;
  }

  .seh-dfy__shortcuts a {
    min-height: 31px !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V3 — web gets more context than the app
   ========================================================= */
@media (min-width:1101px) {
  .seh-dfy__mini-grid--three {
    grid-template-columns: minmax(0,1.28fr) minmax(0,.86fr) minmax(0,.86fr) !important;
    gap: 8px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini {
    min-height: 88px !important;
    padding: 10px 11px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini--team {
    grid-template-columns: 58px minmax(0,1fr) 14px !important;
    gap: 10px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo {
    width: 54px;
    height: 54px;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo img {
    width: 47px;
    height: 47px;
  }

  .seh-dfy__mini--competition {
    grid-template-columns: minmax(0,1fr) 14px !important;
    align-items: center;
  }

  .seh-dfy__mini--competition .seh-dfy__mini-copy {
    align-content: center;
  }

  .seh-dfy__mini--competition .seh-dfy__mini-copy strong {
    white-space: normal !important;
    line-height: 1.05;
  }

  .seh-dfy__mini--competition .seh-dfy__mini-copy > span {
    white-space: normal !important;
    line-height: 1.28;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-dfy__feed-row:nth-child(n+3) {
    display: none !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini {
    min-height: 72px !important;
    padding: 8px 9px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini--team {
    grid-template-columns: 47px minmax(0,1fr) 12px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo {
    width: 44px;
    height: 44px;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo img {
    width: 38px;
    height: 38px;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini-copy strong {
    font-size: 14px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini-copy > span {
    font-size: 8.7px !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V4 — portrait player + stronger club identity
   ========================================================= */
@media (min-width:1101px) {
  .seh-desktop-for-you {
    isolation: isolate;
  }

  .seh-dfy__team-watermark {
    position: absolute;
    z-index: -1;
    top: 56px;
    right: 24px;
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    opacity: .055;
    filter: grayscale(.18);
    pointer-events: none;
  }

  .seh-dfy__team-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .seh-dfy__identity {
    grid-template-columns: 96px minmax(0,1fr) auto !important;
    min-height: 128px !important;
    background:
      linear-gradient(90deg, rgba(8,14,22,.98), rgba(3,6,10,.91)) !important;
  }

  .seh-dfy__avatar {
    width: 88px !important;
    height: 116px !important;
    max-width: 88px !important;
    max-height: 116px !important;
    align-self: end;
    border-radius: 3px !important;
  }

  .seh-dfy__avatar img {
    width: 88px !important;
    height: 116px !important;
    max-width: 88px !important;
    max-height: 116px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .seh-dfy__identity-copy {
    display: grid !important;
    align-content: center;
    gap: 5px !important;
  }

  .seh-dfy__clubline {
    width: fit-content;
    max-width: 100%;
    display: inline-grid;
    grid-template-columns: 28px minmax(0,auto) auto;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    color: rgba(244,241,233,.72);
    text-decoration: none;
  }

  .seh-dfy__clubline--plain {
    grid-template-columns: minmax(0,auto);
  }

  .seh-dfy__identity-team-logo {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 3px;
    background: #080b0f;
    color: rgba(244,241,233,.55);
    font-size: 8px;
    font-weight: 900;
  }

  .seh-dfy__identity-team-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .seh-dfy__clubline > span:nth-child(2),
  .seh-dfy__clubline--plain > span {
    overflow: hidden;
    font-size: 12px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seh-dfy__clubline b {
    color: rgba(98,212,207,.72);
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
  }

  .seh-dfy__clubline:hover,
  .seh-dfy__clubline:focus-visible {
    outline: none;
    color: #fff;
  }

  .seh-dfy__clubline:hover b,
  .seh-dfy__clubline:focus-visible b {
    color: #ffd000;
  }

  .seh-dfy__mini--team {
    background:
      radial-gradient(circle at 18% 50%, rgba(255,208,0,.035), transparent 36%),
      #05080d !important;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-dfy__identity {
    grid-template-columns: 80px minmax(0,1fr) auto !important;
    min-height: 108px !important;
  }

  .seh-dfy__avatar,
  .seh-dfy__avatar img {
    width: 72px !important;
    height: 96px !important;
    max-width: 72px !important;
    max-height: 96px !important;
  }

  .seh-dfy__team-watermark {
    width: 150px;
    height: 150px;
    top: 48px;
    right: 18px;
  }

  .seh-dfy__clubline {
    grid-template-columns: 24px minmax(0,auto) auto;
    gap: 6px;
  }

  .seh-dfy__identity-team-logo {
    width: 24px;
    height: 24px;
  }

  .seh-dfy__identity-team-logo img {
    width: 20px;
    height: 20px;
  }
}


/* =========================================================
   DESKTOP FOR YOU V5 — stronger vertical proportions
   ========================================================= */
@media (min-width:1101px) {
  .seh-desktop-for-you {
    justify-content: flex-start !important;
    gap: clamp(12px,1.55vh,16px) !important;
    padding: clamp(18px,2.1vh,24px) clamp(22px,2vw,30px) !important;
  }

  .seh-dfy__head {
    min-height: 58px !important;
    align-items: flex-end !important;
  }

  .seh-dfy__head h2 {
    font-size: clamp(30px,2vw,36px) !important;
  }

  .seh-dfy__identity {
    grid-template-columns: 106px minmax(0,1fr) auto !important;
    min-height: 140px !important;
    padding: 11px 14px !important;
  }

  .seh-dfy__avatar {
    width: 98px !important;
    height: 130px !important;
    max-width: 98px !important;
    max-height: 130px !important;
  }

  .seh-dfy__avatar img {
    width: 98px !important;
    height: 130px !important;
    max-width: 98px !important;
    max-height: 130px !important;
  }

  .seh-dfy__identity-copy {
    gap: 6px !important;
  }

  .seh-dfy__identity strong {
    font-size: clamp(23px,1.6vw,28px) !important;
  }

  .seh-dfy__clubline > span:nth-child(2),
  .seh-dfy__clubline--plain > span {
    font-size: 13px !important;
  }

  .seh-dfy__profile-link {
    min-height: 42px !important;
    padding-inline: 16px !important;
  }

  .seh-dfy__team-watermark {
    top: 34px !important;
    right: 18px !important;
    width: 220px !important;
    height: 220px !important;
    opacity: .075 !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini {
    min-height: 98px !important;
    padding: 12px 13px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini--team {
    grid-template-columns: 64px minmax(0,1fr) 16px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo {
    width: 60px !important;
    height: 60px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo img {
    width: 52px !important;
    height: 52px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini-copy strong {
    font-size: 16px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini-copy > span {
    font-size: 9.5px !important;
  }

  .seh-dfy__feed-head {
    min-height: 29px !important;
  }

  .seh-dfy__feed {
    min-height: 58px;
  }

  .seh-dfy__feed-row {
    min-height: 56px !important;
    padding: 8px 10px !important;
  }

  .seh-dfy__feed-row > b {
    width: 34px !important;
    height: 34px !important;
  }

  .seh-dfy__feed-row strong {
    font-size: 12px !important;
  }

  .seh-dfy__feed-row span {
    font-size: 9.5px !important;
  }

  .seh-dfy__shortcuts a {
    min-height: 42px !important;
    font-size: 9.5px !important;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-desktop-for-you {
    justify-content: flex-start !important;
    gap: 9px !important;
    padding: 12px 18px !important;
  }

  .seh-dfy__head {
    min-height: 44px !important;
  }

  .seh-dfy__head h2 {
    font-size: 28px !important;
  }

  .seh-dfy__identity {
    grid-template-columns: 82px minmax(0,1fr) auto !important;
    min-height: 112px !important;
    padding: 8px 10px !important;
  }

  .seh-dfy__avatar,
  .seh-dfy__avatar img {
    width: 76px !important;
    height: 102px !important;
    max-width: 76px !important;
    max-height: 102px !important;
  }

  .seh-dfy__identity strong {
    font-size: 21px !important;
  }

  .seh-dfy__team-watermark {
    top: 28px !important;
    right: 14px !important;
    width: 165px !important;
    height: 165px !important;
    opacity: .065 !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini {
    min-height: 76px !important;
    padding: 8px 9px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini--team {
    grid-template-columns: 49px minmax(0,1fr) 12px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__team-logo img {
    width: 40px !important;
    height: 40px !important;
  }

  .seh-dfy__feed-head {
    min-height: 22px !important;
  }

  .seh-dfy__feed {
    min-height: 42px;
  }

  .seh-dfy__feed-row {
    min-height: 42px !important;
    padding: 5px 8px !important;
  }

  .seh-dfy__feed-row > b {
    width: 28px !important;
    height: 28px !important;
  }

  .seh-dfy__shortcuts a {
    min-height: 32px !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V5.1 — flexible feed + anchored shortcuts
   ========================================================= */
@media (min-width:1101px) {
  .seh-desktop-for-you {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .seh-dfy__head,
  .seh-dfy__identity,
  .seh-dfy__mini-grid,
  .seh-dfy__feed-head,
  .seh-dfy__feed,
  .seh-dfy__shortcuts {
    position: relative;
    z-index: 1;
  }

  .seh-dfy__team-watermark {
    z-index: 0 !important;
    top: 16px !important;
    right: 16px !important;
    width: 245px !important;
    height: 245px !important;
    opacity: .12 !important;
    filter: grayscale(.08) contrast(1.12) brightness(1.08) !important;
  }

  .seh-dfy__team-watermark img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .seh-dfy__feed {
    flex: 1 1 auto !important;
    align-content: start !important;
    min-height: 0 !important;
    gap: 8px !important;
  }

  .seh-dfy__feed-row {
    min-height: 58px !important;
  }

  .seh-dfy__shortcuts {
    margin-top: auto !important;
    padding-top: 8px !important;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-dfy__team-watermark {
    top: 12px !important;
    right: 12px !important;
    width: 188px !important;
    height: 188px !important;
    opacity: .105 !important;
  }

  .seh-dfy__feed-row {
    min-height: 44px !important;
  }

  .seh-dfy__shortcuts {
    padding-top: 4px !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V5.2 — full-panel club watermark
   ========================================================= */
@media (min-width:1101px) {
  .seh-dfy__team-watermark {
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    opacity: .085 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    filter: grayscale(.08) saturate(.88) contrast(1.14) !important;
  }

  .seh-dfy__team-watermark img {
    width: 88% !important;
    height: 88% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }

  .seh-dfy__identity {
    background:
      linear-gradient(90deg, rgba(8,14,22,.89), rgba(3,6,10,.84)) !important;
    backdrop-filter: blur(1.5px);
  }

  .seh-dfy__mini {
    background: rgba(5,8,13,.84) !important;
    backdrop-filter: blur(1px);
  }

  .seh-dfy__mini--team {
    background:
      radial-gradient(circle at 18% 50%, rgba(255,208,0,.035), transparent 36%),
      rgba(5,8,13,.83) !important;
  }

  .seh-dfy__feed-row {
    background: rgba(4,7,11,.84) !important;
    backdrop-filter: blur(1px);
  }

  .seh-dfy__shortcuts a {
    background: rgba(5,8,12,.86) !important;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-dfy__team-watermark {
    opacity: .075 !important;
  }

  .seh-dfy__team-watermark img {
    width: 84% !important;
    height: 84% !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V5.3 — team-colour identity + raised shortcuts
   ========================================================= */
@media (min-width:1101px) {
  .seh-desktop-for-you {
    --seh-team-accent-rgb: 255,208,0;
    --seh-team-accent-2-rgb: 98,212,207;
  }

  /* Keep the activity area compact; shortcuts sit ~60px below the feed. */
  .seh-dfy__feed {
    flex: 0 0 auto !important;
    min-height: 0 !important;
  }

  .seh-dfy__shortcuts {
    margin-top: 58px !important;
    padding-top: 0 !important;
  }

  /* Club colours become the visual accent throughout the dashboard. */
  .seh-desktop-for-you::before {
    background:
      linear-gradient(
        90deg,
        rgb(var(--seh-team-accent-rgb)),
        rgba(var(--seh-team-accent-2-rgb), .72),
        rgba(var(--seh-team-accent-rgb), 0)
      ) !important;
  }

  .seh-dfy__identity {
    border-color: rgba(var(--seh-team-accent-rgb), .28) !important;
    box-shadow:
      inset 3px 0 0 rgba(var(--seh-team-accent-rgb), .52),
      inset 0 1px 0 rgba(255,255,255,.018);
  }

  .seh-dfy__avatar {
    border-color: rgba(var(--seh-team-accent-rgb), .68) !important;
    box-shadow: 0 0 0 1px rgba(var(--seh-team-accent-rgb), .10);
  }

  .seh-dfy__identity small,
  .seh-dfy__mini--team .seh-dfy__mini-copy small {
    color: rgb(var(--seh-team-accent-rgb)) !important;
  }

  .seh-dfy__profile-link {
    border-color: rgba(var(--seh-team-accent-rgb), .52) !important;
    color: rgb(var(--seh-team-accent-rgb)) !important;
    background: rgba(var(--seh-team-accent-rgb), .055) !important;
  }

  .seh-dfy__clubline b {
    color: rgba(var(--seh-team-accent-rgb), .90) !important;
  }

  .seh-dfy__team-logo,
  .seh-dfy__identity-team-logo {
    border-color: rgba(var(--seh-team-accent-rgb), .25) !important;
    background:
      radial-gradient(circle at 50% 50%, rgba(var(--seh-team-accent-rgb), .07), transparent 72%),
      #080b0f !important;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini {
    position: relative;
    overflow: hidden;
  }

  .seh-dfy__mini-grid--three .seh-dfy__mini::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 46%;
    height: 2px;
    content: "";
    background: linear-gradient(
      90deg,
      rgba(var(--seh-team-accent-rgb), .82),
      rgba(var(--seh-team-accent-rgb), 0)
    );
    pointer-events: none;
  }

  .seh-dfy__mini--team {
    border-color: rgba(var(--seh-team-accent-rgb), .21) !important;
    background:
      radial-gradient(circle at 16% 50%, rgba(var(--seh-team-accent-rgb), .09), transparent 45%),
      rgba(5,8,13,.83) !important;
  }

  .seh-dfy__mini-arrow,
  .seh-dfy__feed-head a {
    color: rgba(var(--seh-team-accent-rgb), .88) !important;
  }

  .seh-dfy__feed-row > b {
    color: rgb(var(--seh-team-accent-rgb)) !important;
    background: rgba(var(--seh-team-accent-rgb), .09) !important;
    border: 1px solid rgba(var(--seh-team-accent-rgb), .16);
  }

  .seh-dfy__shortcuts a {
    border-color: rgba(var(--seh-team-accent-rgb), .12) !important;
  }

  .seh-dfy__shortcuts a:hover,
  .seh-dfy__shortcuts a:focus-visible,
  .seh-dfy__profile-link:hover,
  .seh-dfy__profile-link:focus-visible {
    border-color: rgba(var(--seh-team-accent-rgb), .58) !important;
    color: rgb(var(--seh-team-accent-rgb)) !important;
    background: rgba(var(--seh-team-accent-rgb), .07) !important;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-dfy__shortcuts {
    margin-top: 42px !important;
  }
}


/* =========================================================
   DESKTOP FOR YOU V5.4 — clean Free Agent state
   ========================================================= */
@media (min-width:1101px) {
  .seh-dfy__clubline--free-agent {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    grid-template-columns: none !important;
    align-items: center;
  }

  .seh-dfy__clubline--free-agent > span {
    display: inline-block !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    color: rgba(244,241,233,.76);
  }

  .seh-dfy__mini--free-agent {
    grid-template-columns: minmax(0,1fr) 16px !important;
  }

  .seh-dfy__mini--free-agent .seh-dfy__mini-copy {
    min-width: 0;
  }
}

@media (min-width:1101px) and (max-height:900px) {
  .seh-dfy__mini-grid--three .seh-dfy__mini--free-agent {
    grid-template-columns: minmax(0,1fr) 12px !important;
  }
}
