/* Focus homepage: the same editorial typography and quiet chrome as the library. */
#mode-screen[data-home-experience="focus"] {
  --home-ink: #242722;
  --home-muted: #6c6b64;
  --home-accent: #315d49;
  --home-line: #d7d0c3;
  --home-paper: #f5f2eb;
  --home-surface: #fffcf6;
  background: var(--home-paper);
  padding: 0;
  color: var(--home-ink);
}
#mode-screen[data-home-experience="focus"] .home-dashboard {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.home-editorial, .home-editorial-nav, .home-editorial-more, .home-editorial-brand { display: none; }
#mode-screen[data-home-experience="focus"] :is(.home-continue, .home-section-grid, .home-tip, .home-brand-copy, .home-experience-switch, .home-settings-button, .home-review-scoresheet-actions) { display: none; }
#mode-screen[data-home-experience="focus"] .home-hero > h1 { display: none; }
#mode-screen[data-home-experience="focus"] .home-hero {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 38px);
  min-height: 72px;
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}
#mode-screen[data-home-experience="focus"] .home-logo-link {
  display: flex;
  width: auto;
  height: auto;
  min-width: 0;
  flex-shrink: 0;
  gap: 10px;
  color: var(--home-ink);
  border-radius: 2px;
}
#mode-screen[data-home-experience="focus"] .home-logo-link img { width: 38px; height: 44px; border-radius: 3px; }
#mode-screen[data-home-experience="focus"] .home-editorial-brand { display: inline; font: 600 clamp(22px, 2vw, 29px)/1 Georgia, serif; letter-spacing: -.035em; }
#mode-screen[data-home-experience="focus"] .home-editorial-nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(14px, 2vw, 30px); }
.home-editorial-nav a, #mode-screen[data-home-experience="focus"] .home-editorial-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.home-editorial-nav a[aria-current], #mode-screen .home-editorial-more[aria-current] { border-bottom-color: var(--home-accent); color: var(--home-accent); }
#mode-screen[data-home-experience="focus"] .home-editorial-more { margin-left: auto; gap: 7px; }
#mode-screen[data-home-experience="focus"] :is(.home-language-switch, .home-user-menu) { position: relative; top: auto; right: auto; margin: 0; }
#mode-screen[data-home-experience="focus"] .header-menu-button { width: 42px; height: 42px; min-height: 42px; border: 1px solid var(--home-line); border-radius: 50%; background: transparent; box-shadow: none; }
#mode-screen[data-home-experience="focus"] .home-user-menu { margin-left: -20px; }
#mode-screen[data-home-experience="focus"] .home-editorial { display: block; max-width: 1440px; padding: 36px 0 18px; margin: 0 auto; }
.home-editorial, .home-editorial * { box-sizing: border-box; }
.home-editorial h1, .home-editorial h2, .home-editorial h3 { color: var(--home-ink); font-family: Georgia, "Times New Roman", serif; font-weight: 500; text-transform: none; letter-spacing: -.035em; }
#mode-screen .home-editorial h1 { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.12; margin: 8px 0; }
#mode-screen .home-editorial h2 { font-size: clamp(25px, 2.2vw, 32px); line-height: 1.2; margin: 0; }
#mode-screen .home-editorial h3 { font-size: 25px; line-height: 1.22; margin: 0 0 7px; }
.home-editorial p { color: var(--home-muted); font-size: 14px; line-height: 1.55; margin: 0; }
#mode-screen .home-editorial .home-eyebrow { font: 600 10px/1.5 Arial, sans-serif; letter-spacing: .19em; text-transform: uppercase; color: var(--home-accent); margin-bottom: 6px; }
.home-editorial-heading { margin-bottom: 24px; }
.home-editorial-heading > p:last-child { font-size: 17px; }
.home-editorial a { color: var(--home-accent); }
.home-editorial :is(a, button, input):focus-visible, .home-editorial-nav a:focus-visible, .home-editorial-more:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 4px; }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; text-decoration: none; font-size: 14px; line-height: 1.35; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-text-link > span { flex-shrink: 0; }
#mode-screen .home-editorial .home-primary, #mode-screen .home-editorial .home-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 11px 21px; border: 1px solid var(--home-accent); border-radius: 4px; background: var(--home-accent); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; box-shadow: none; cursor: pointer;
}
#mode-screen .home-editorial .home-primary:hover { background: #254b39; }
#mode-screen .home-editorial .home-secondary { background: transparent; color: var(--home-accent); border-color: var(--home-line); }
.home-resume { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); min-height: 256px; background: color-mix(in srgb, var(--home-surface) 65%, transparent); border: 1px solid var(--home-line); border-left: 4px solid var(--home-accent); border-radius: 3px; margin-bottom: 26px; }
.home-resume-primary { padding: 25px 32px; min-width: 0; }
.home-resume-detail { min-height: 22px; }
.home-recent-empty { padding: 20px 0; }
.home-resume.home-resume-solo { grid-template-columns: 1fr; }
.home-editorial a[aria-disabled="true"] { opacity: .5; cursor: default; text-decoration: none; }
#mode-screen .home-resume-primary h2 { font-size: clamp(28px, 2.7vw, 39px); margin: 5px 0 8px; overflow-wrap: anywhere; min-height: 2.4em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home-resume-actions { min-height: 46px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; }
.home-resume-other { border-left: 1px solid var(--home-line); padding: 22px 28px; min-width: 0; }
.home-resume-other summary { display: flex; justify-content: space-between; list-style: none; font: 25px/1.25 Georgia, serif; letter-spacing: -.03em; }
.home-resume-other summary::-webkit-details-marker { display: none; }
.home-resume-other summary span { display: none; }
.home-resume-other > div > .home-text-link { margin-top: 7px; }
.home-recent-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--home-line); text-decoration: none; }
.home-recent-row > span:first-child { min-width: 0; }
.home-recent-row strong { display: block; color: var(--home-ink); font: 19px/1.2 Georgia, serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-recent-row small { color: var(--home-muted); display: block; line-height: 1.4; margin-top: 3px; font-size: 12px; }
.home-section-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 15px; }
.home-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-action { display: flex; align-items: flex-start; gap: 18px; padding: 8px 24px; border-left: 1px solid var(--home-line); min-width: 0; text-decoration: none; cursor: pointer; }
.home-action:not([aria-disabled="true"]):is(:hover, :focus-visible) { background: color-mix(in srgb, var(--home-accent) 7%, var(--home-paper)); }
.home-action:not([aria-disabled="true"]):is(:hover, :focus-visible) .home-text-link { text-decoration: underline; text-underline-offset: 4px; }
.home-action:first-child { padding-left: 0; border-left: 0; }
.home-action:last-child { padding-right: 0; }
.home-action p { margin-bottom: 6px; }
.home-editorial-icon { width: 28px; height: 28px; fill: currentColor; color: var(--home-ink); flex-shrink: 0; }
.home-action-symbol { padding-top: 3px; }
.home-primary-actions .home-primary { margin-top: 8px; }
.home-editorial-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-top: 1px solid var(--home-line); padding-top: 23px; margin-top: 25px; }
.home-library-feature { min-width: 0; }
.home-famous-game { display: flex; align-items: center; gap: 24px; }
.home-famous-game h3 { font-size: 27px; }
.home-portrait-link { flex-shrink: 0; }
.home-famous-game img { display: block; width: 110px; height: 132px; object-fit: cover; object-position: center 25%; border-radius: 2px; filter: grayscale(1); }
.home-famous-game p { margin-bottom: 4px; }
.home-player-search { display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--home-line); padding-top: 13px; margin-top: 12px; }
.home-player-search label { font: 22px/1.2 Georgia, serif; color: var(--home-ink); white-space: nowrap; }
.home-player-search > div { display: flex; width: 100%; border: 1px solid var(--home-line); border-radius: 4px; background: var(--home-surface); }
#mode-screen .home-player-search input { border: 0; min-width: 0; width: 100%; background: transparent; padding: 11px 12px; color: var(--home-ink); font-family: inherit; font-size: 14px; line-height: 1.4; }
.home-player-search button { color: var(--home-accent); background: transparent; border: 0; border-left: 1px solid var(--home-line); border-radius: 0; width: 44px; min-width: 44px; font-size: 22px; padding: 0; box-shadow: none; }
.home-career-feature { border-left: 1px solid var(--home-line); padding-left: 32px; }
.home-career-row { display: flex; align-items: center; gap: 20px; padding: 23px 0; }
.home-career-row + .home-career-row { border-top: 1px solid var(--home-line); }
.home-career-row > div { flex: 1; }
#mode-screen .home-career-row h3 { font-size: 23px; }
.home-career-row > a { font-size: 13px; white-space: nowrap; }
.home-editorial-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; border-top: 1px solid var(--home-line); margin-top: 24px; padding-top: 12px; }
.home-editorial-footer :is(a, small) { color: var(--home-muted); font-size: 11px; }
.home-editorial-footer small { margin-left: auto; }
.home-editorial-footer a span { display: none; }
.home-mobile-nav { display: none; }
.home-training-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; border-top: 1px solid var(--home-line); margin-top: 25px; padding: 15px 0; }
.home-hub-actions { row-gap: 35px; border-bottom: 1px solid var(--home-line); padding: 20px 0 35px; }
.home-hub-actions .home-action:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.home-hub-actions .home-action { padding-top: 6px; padding-bottom: 6px; }
.home-review-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-review-sources .home-action { border: 1px solid var(--home-line); background: var(--home-surface); padding: 25px; border-radius: 4px; }
.home-subheading { margin-top: 30px !important; }
.home-breadcrumb { display: inline-flex; gap: 10px; color: var(--home-muted) !important; text-decoration: none; font-size: 13px; margin-bottom: 22px; }
.home-breadcrumb span { order: -1; transform: rotate(180deg); }
.home-appearance { margin-top: 26px; }
.home-appearance p { margin: 8px 0 14px; }
.home-appearance > div { display: flex; gap: 10px; }
.home-admin-tools { margin-top: 25px; }
.home-admin-tools a { margin-right: 24px; }
.home-saved-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 22px 0; }
.home-saved-columns h2 { padding-bottom: 14px; border-bottom: 1px solid var(--home-line); }
.home-saved-row { display: flex; gap: 18px; align-items: center; text-decoration: none; min-height: 70px; border-bottom: 1px solid var(--home-line); padding: 12px 0; }
.home-saved-row > span:first-child { flex: 1; min-width: 0; }
.home-saved-row strong { color: var(--home-ink); font-size: 15px; overflow-wrap: anywhere; }
.home-saved-row small { display: block; margin-top: 6px; color: var(--home-muted); font-size: 12px; }
.home-empty { padding: 24px 0; }
.home-note { padding: 16px 0; }
[data-home-status]:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--home-muted); padding: 10px 0 20px; }
[data-home-status] button { color: var(--home-accent); background: transparent; border: 1px solid var(--home-line); border-radius: 4px; padding: 7px 12px; }

@media (max-width: 1500px) {
  #mode-screen[data-home-experience="focus"] .home-editorial { margin: 0 38px; }
  #mode-screen[data-home-experience="focus"] .home-hero { padding: 0 32px; gap: 24px; }
  #mode-screen[data-home-experience="focus"] .home-user-menu { margin-left: -12px; }
}
@media (max-width: 1100px) {
  #mode-screen[data-home-experience="focus"] .home-hero { gap: 18px; padding: 0 24px; }
  #mode-screen[data-home-experience="focus"] .home-editorial-nav { gap: 18px; }
  #mode-screen[data-home-experience="focus"] .home-editorial-brand { font-size: 22px; }
  .home-editorial-nav a { font-size: 13px; }
  #mode-screen[data-home-experience="focus"] .home-editorial { margin: 0 24px; padding-top: 28px; }
  .home-action { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .home-action-symbol { display: none; }
  .home-career-row { flex-wrap: wrap; gap: 10px; }
  .home-career-row > a { margin-left: 38px; }
  .home-career-row > div { min-width: 75%; }
  .home-famous-game { gap: 15px; }
  .home-player-search { gap: 12px; }
}
@media (max-width: 900px) {
  #mode-screen[data-home-experience="focus"] .home-editorial-nav { gap: 14px; }
  #mode-screen[data-home-experience="focus"] .home-editorial-nav a[data-home-section="career"] { display: none; }
  .home-resume { grid-template-columns: 1.35fr 1fr; }
  .home-resume-primary { padding: 22px; }
  .home-resume-other { padding: 22px; }
  .home-player-search { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  #mode-screen[data-home-experience="focus"] .home-hero { min-height: 64px; padding: 0 18px; gap: 13px; }
  #mode-screen[data-home-experience="focus"] .home-editorial-nav { display: none; }
  #mode-screen[data-home-experience="focus"] .home-editorial-brand { font-size: 22px; }
  #mode-screen[data-home-experience="focus"] .home-logo-link { gap: 7px; }
  #mode-screen[data-home-experience="focus"] .home-logo-link img { width: 28px; height: 34px; }
  #mode-screen[data-home-experience="focus"] .home-hero { gap: 9px; }
  #mode-screen[data-home-experience="focus"] .home-user-menu { margin-left: 0; }
  #mode-screen[data-home-experience="focus"] .header-menu-button { width: 44px; height: 44px; min-height: 44px; }
  #mode-screen[data-home-experience="focus"] .home-editorial { margin: 0 20px; padding: 27px 0 calc(90px + env(safe-area-inset-bottom)); }
  #mode-screen .home-editorial h1 { font-size: clamp(31px, 8.4vw, 42px); }
  .home-editorial-heading > p:last-child { font-size: 15px; }
  .home-editorial-heading { margin-bottom: 22px; }
  .home-resume { display: block; margin-bottom: 26px; }
  .home-resume-primary { padding: 20px; }
  #mode-screen .home-resume-primary h2 { font-size: 30px; }
  .home-resume-actions { margin-top: 17px; gap: 10px; }
  .home-resume-actions .home-primary { width: 100%; justify-content: space-between !important; }
  .home-resume-actions > .home-text-link { font-size: 12px; min-height: 28px; }
  .home-resume-other { padding: 0 20px; border-left: 0; border-top: 1px solid var(--home-line); }
  .home-resume-other summary { padding: 14px 0; min-height: 48px; font-family: inherit; font-size: 14px; letter-spacing: 0; cursor: pointer; }
  .home-resume-other summary span { display: block; }
  .home-resume-other[open] > div { padding-bottom: 12px; }
  .home-section-title { align-items: center; gap: 10px; margin-bottom: 8px; }
  #mode-screen .home-editorial h2 { font-size: 25px; }
  .home-section-title > a { font-size: 12px; }
  .home-start > .home-section-title { align-items: flex-start; }
  .home-start > .home-section-title h2 { max-width: 220px; }
  .home-actions { display: block; }
  .home-action, .home-action:first-child, .home-action:last-child, .home-hub-actions .home-action { padding: 17px 0; border: 0; border-bottom: 1px solid var(--home-line); }
  .home-action-symbol { display: block; padding-top: 3px; }
  .home-action { gap: 14px; }
  #mode-screen .home-editorial h3 { font-size: 23px; }
  .home-action p { font-size: 13px; }
  .home-action .home-text-link { min-height: 36px; }
  .home-editorial-lower { display: block; border-top: 0; padding-top: 0; margin-top: 25px; }
  .home-library-feature > .home-section-title { display: block; }
  .home-famous-game { margin-top: 12px; align-items: flex-start; }
  .home-famous-game img { width: 84px; height: 108px; }
  #mode-screen .home-famous-game h3 { font-size: 24px; }
  .home-famous-game p { font-size: 13px; }
  .home-player-search { flex-wrap: nowrap; gap: 16px; padding-top: 15px; }
  .home-player-search label { font-size: 18px; }
  #mode-screen .home-player-search input { font-size: 16px; min-height: 44px; }
  .home-career-feature { border-left: 0; border-top: 1px solid var(--home-line); padding: 22px 0 0; margin-top: 22px; }
  .home-career-row { padding: 16px 0; }
  .home-editorial-footer { margin-top: 12px; gap: 20px; }
  .home-editorial-footer small { margin-left: 0; width: 100%; }
  .home-mobile-nav { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--home-line); background: var(--home-surface); padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); }
  .home-mobile-nav a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-height: 52px; text-decoration: none; color: var(--home-muted); font-size: 11px; border-radius: 4px; }
  .home-mobile-nav a[aria-current] { color: var(--home-accent); background: color-mix(in srgb, var(--home-accent) 8%, transparent); }
  .home-mobile-nav svg { width: 20px; height: 20px; color: inherit; }
  .home-training-shortcuts { gap: 7px 20px; margin-top: 12px; }
  .home-training-shortcuts a { min-height: 42px; }
  .home-hub-actions { padding: 0; border: 0; }
  .home-review-sources .home-action { padding: 20px 0; background: none; border-radius: 0; }
  .home-saved-columns { display: block; }
  .home-saved-columns section + section { margin-top: 30px; }
  .home-subheading { margin-top: 24px !important; }
}
@media (max-width: 370px) {
  #mode-screen[data-home-experience="focus"] .home-hero { padding: 0 12px; gap: 10px; }
  #mode-screen[data-home-experience="focus"] .home-editorial-brand { font-size: 18px; }
  #mode-screen[data-home-experience="focus"] .home-logo-link img { display: none; }
  #mode-screen[data-home-experience="focus"] .home-editorial { margin: 0 16px; }
  .home-player-search { flex-wrap: wrap; }
}
:root[data-focus-color-scheme="dark"] #mode-screen[data-home-experience="focus"] {
  --home-ink: #ece9e1; --home-muted: #b5b7ae; --home-accent: #93c6a8; --home-line: #45483f; --home-paper: #20241f; --home-surface: #282e27;
}
:root[data-focus-color-scheme="dark"] #mode-screen .home-editorial .home-primary { color: #18251e; }
:root[data-focus-color-scheme="dark"] #mode-screen .home-editorial .home-primary:hover { background: #afd6bd; }

/* Keep the continuation card in the layout while its account data loads. */
.home-skeleton-line { display: block; width: var(--skeleton-width,100%); max-width: 100%; height: .8em; margin: .2em 0; border-radius: 3px; background: color-mix(in srgb,var(--home-muted) 14%,var(--home-surface)); }
.home-resume-loading .home-eyebrow { height: 15px; }
.home-resume-loading .home-eyebrow .home-skeleton-line { margin: 0; }
.home-resume-loading .home-resume-detail { display: flex; align-items: center; }
.home-resume-loading .home-resume-detail .home-skeleton-line { flex-shrink: 0; }
.home-skeleton-button { display: block; width: 148px; height: 46px; border-radius: 4px; background: color-mix(in srgb,var(--home-accent) 14%,var(--home-surface)); }
.home-skeleton-link { display: flex; align-items: center; width: 158px; min-height: 32px; }
.home-resume-loading .home-recent-row > span { width: 100%; }
.home-resume-loading .home-recent-row { min-height: 58px; }
.home-resume-loading .home-resume-other > div > .home-text-link { width: 65%; }
.home-resume-loading .home-resume-other summary { min-height: 32px; }
.home-resume-loading .home-resume-other summary > .home-skeleton-line { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .home-resume-loading .home-skeleton-line, .home-resume-loading .home-skeleton-button { animation: home-skeleton-pulse 1.8s ease-in-out infinite alternate; }
  @keyframes home-skeleton-pulse { to { opacity: .45; } }
}
@media (max-width: 800px) {
  .home-resume-actions { min-height: 84px; }
  .home-skeleton-button { width: 100%; }
  .home-skeleton-link { min-height: 28px; }
  .home-resume-loading .home-resume-other summary { min-height: 48px; }
}
