/* 登入後首頁聚焦於目前帳號的球員檔案。 */
body.home-dashboard main#top > .ticker,
body.home-dashboard main#top > .hero-grid,
body.home-dashboard main#top > .main-grid {
  display: none !important;
}
body.home-dashboard a[href$="#stream"] { display: none !important; }

body.home-dashboard main#top > #player-profile {
  order: 1;
  width: 100%;
  margin-block: 24px 48px;
}

.home-player-picker {
  display: grid;
  gap: 6px;
  width: min(100%, 480px);
  margin-top: 18px;
  color: var(--ui-text-secondary, #5c7084);
  font-size: 12px;
  font-weight: 700;
}
.home-player-picker[hidden] { display: none; }
.home-player-picker select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ui-border, #c8d8e5);
  border-radius: 8px;
  background: var(--ui-surface, #fff);
  color: var(--ui-text, #10253d);
  font: inherit;
}
.home-player-picker select:focus-visible,
.home-player-edit:focus-visible { outline: 3px solid #087dcc; outline-offset: 2px; }
.home-player-edit {
  display: inline-block;
  margin-top: 14px;
  color: var(--ui-primary, #087dcc);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.home-player-edit:hover { text-decoration: underline; }

/* 經歷與獎項直接接在本季表現之後，保留所有已登錄年度。 */
body.home-dashboard .career-panel,
body.home-dashboard .honors-panel { min-width: 0; }
body.home-dashboard .career-timeline li,
body.home-dashboard .honor-item { overflow-wrap: anywhere; }
body.home-dashboard .homepage-player-file-empty-row {
  color: var(--ui-text-secondary, #5c7084);
  font-size: 14px;
}
html[data-theme="light"] body.home-dashboard .current-team-row {
  border: 1px solid #d2e0eb;
  background: #f1f6fb;
  color: #132235;
}
html[data-theme="light"] body.home-dashboard .current-team-row b { color: #132235; }
html[data-theme="light"] body.home-dashboard .current-team-row [data-home-registration-status] { color: #4b6177; }
html[data-theme="dark"] body.home-dashboard .current-team-row b { color: #f7f8fa; }

@media (max-width: 700px) {
  body.home-dashboard main#top > #player-profile { margin-block: 12px 32px; }
  .home-player-picker { width: 100%; }
}
