/* Account collection surfaces. Desktop Obsidian Sand only. */
@media (min-width: 1025px) {
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-page {
    width: min(100%, 1160px);
    max-width: 1160px;
    display: flex;
    flex-direction: column;
    padding: 26px 38px 64px;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-context-header {
    max-width: 1160px;
    min-height: 70px;
    padding-inline: 38px;
    background: var(--tp-color-page);
    border-color: color-mix(in srgb, var(--tp-color-border) 68%, transparent);
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-context-heading h1 { font-size: 22px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-identity-card {
    grid-template-columns: 94px minmax(0, 1fr);
    column-gap: 22px;
    padding: 0 20px 18px;
    border-bottom: 1px solid var(--tp-color-border) !important;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-cover {
    height: 76px;
    min-height: 76px;
    margin-inline: -20px;
    opacity: 1;
    border: 1px solid color-mix(in srgb, var(--tp-color-border) 70%, transparent);
    background-color: var(--tp-color-surface);
    background-image: none;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-cover.has-image { background-image: none; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-avatar-wrap,
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-avatar { width: 88px; height: 88px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-avatar-wrap { margin-top: -38px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-avatar { font-size: 38px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile #profile-name { font-size: 32px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-rating-pill {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: var(--tp-color-text-secondary);
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-rating-pill strong { font-size: 20px; color: var(--tp-color-primary); }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-section { margin-top: 24px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) body:not(.game-active) #screen-profile.profile-unified .profile-section + .profile-section {
    padding-top: 20px !important;
    border-color: color-mix(in srgb, var(--tp-color-border) 66%, transparent) !important;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-section-heading h2 { font-size: 22px; line-height: 1.2; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-section[aria-labelledby="profile-statistics-title"] { order: 1; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile #profile-tournament-record { order: 2; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-section[aria-labelledby="profile-badges-title"] { order: 3; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-section[aria-labelledby="profile-history-title"] { order: 4; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile #profile-private-actions { order: 5; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-stat-item strong { font-size: 29px; font-variant-numeric: tabular-nums; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-stat-item span { font-size: 13px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-tournament-record__stats { max-width: 620px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile .profile-tournament-history__empty { color: var(--tp-color-text-muted); }

  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-product-content { width: min(100%, 1160px); padding: 30px 38px 72px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-heading { margin-bottom: 22px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-heading h1 { font-size: 34px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary { grid-template-columns: 1.5fr 1fr 1fr; gap: 0; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary article {
    min-height: 98px;
    align-content: center;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 8px 22px;
    border-left: 1px solid var(--tp-color-border);
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary article:last-child { grid-column: 1; grid-row: 1; border-left: 0; padding-left: 0; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary article:first-child { grid-column: 2; grid-row: 1; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary article:nth-child(2) { grid-column: 3; grid-row: 1; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary article:last-child strong { font: 700 23px/1.2 var(--tp-font-display); color: var(--tp-color-text); }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary article:first-child strong { font-size: 25px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary span { color: var(--tp-color-text-secondary); font-size: 13px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-summary small { font-size: 12px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-controls {
    margin-top: 18px;
    padding: 14px 0 12px;
    border: 0;
    border-top: 1px solid var(--tp-color-border);
    border-bottom: 1px solid var(--tp-color-border);
    border-radius: 0;
    background: transparent;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-filter-chip {
    min-height: 38px;
    border-radius: 7px;
    background: transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-filter-chip:hover { background: var(--tp-color-surface-raised); }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-filter-chip.is-active { border-color: var(--tp-color-primary); background: color-mix(in srgb, var(--tp-color-primary) 10%, transparent); }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-select select { min-height: 38px; border-radius: 7px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-rewards-list { gap: 0; margin-top: 4px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-card {
    min-height: 79px;
    padding: 11px 4px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--tp-color-border) 64%, transparent);
    border-radius: 0;
    background: transparent;
    opacity: 1;
  }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-card.is-locked { opacity: .78; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-card:first-child { min-height: 96px; padding: 13px 12px; margin: 12px 0; border: 1px solid var(--tp-color-border); border-radius: 9px; background: var(--tp-color-surface); box-shadow: 0 9px 24px rgba(0,0,0,.16); opacity: 1; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-card h2 { font-size: 16px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-card p { color: var(--tp-color-text-secondary); font-size: 13px; }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-reward-icon-action:hover { color: var(--tp-color-primary); border-color: var(--tp-color-primary); }
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards :is(button, select):focus-visible,
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-profile :is(button, a, input):focus-visible { outline: 2px solid var(--tp-color-primary); outline-offset: 3px; }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  html:is([data-theme="obsidian-sand"], [data-theme="steppe-light"]) #screen-rewards .tp-filter-chip { transition: none; }
}
