/* Progression belongs on its own screens, leaving the workshop for playing. */
.career-page { max-width: 1040px; margin-inline: auto; }
.career-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 2px 0 26px; }
.career-page-heading h1 { margin-top: 7px; font-size: clamp(30px, 4vw, 40px); letter-spacing: -1.1px; overflow-wrap: anywhere; }
.career-page-heading p { margin-top: 9px; color: #adbed2; font-size: 16px; }
.career-kicker { display: block; color: #a8bbd1; font-size: 13px; line-height: 1.35; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.career-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.career-section-heading h2 { font-size: 21px; }
.career-section-heading > span { flex-shrink: 0; color: #c6d4e4; font-size: 14px; font-variant-numeric: tabular-nums; }
.career-track { height: 7px; margin-top: 13px; overflow: hidden; border-radius: 10px; background: #354256; }
.career-track > i { display: block; height: 100%; background: #e5f266; border-radius: inherit; }
.career-reward { display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.career-reward b { color: #e5f266; font-weight: 750; }
.career-reward > span { color: #c3d0e0; }
.career-next { display: grid; place-items: center; width: 46px; min-height: 46px; flex: 0 0 46px; border-radius: 11px; color: #dde9ad; background: #354035; }
.career-next:hover { background: #445239; }
.career-empty { padding: 42px 18px; text-align: center; }
.career-empty h1, .career-empty h2 { margin-bottom: 12px; font-size: 26px; }
.career-empty p { color: #b8c8db; }
.career-empty > button { margin-top: 24px; }
.bolt-balance { display: grid; grid-template-columns: 22px auto; gap: 0 8px; align-items: center; flex-shrink: 0; padding-top: 6px; color: #e4d4a0; }
.bolt-balance strong { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bolt-balance > span { grid-column: 2; margin-top: 3px; font-size: 13px; color: #bdc9d9; }
.bolt-balance .icon { width: 22px; height: 22px; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
.profile-showcase { position: relative; overflow: hidden; isolation: isolate; min-width: 0; border: 2px solid #46566b; border-radius: 23px; background: #192532; box-shadow: inset 0 0 0 5px #111923; }
.profile-showcase::after { content: ''; position: absolute; z-index: 2; inset: 8px; border-radius: 15px; border: 1px solid #aabed11c; pointer-events: none; }
.profile-showcase[data-frame="copper"] { border-color: #c58d5b; box-shadow: inset 0 0 0 5px #402f25, 0 0 24px #af734019; }
.profile-showcase[data-frame="copper"]::after { border-color: #deb8888c; }
.profile-showcase[data-frame="prism"] { border-color: #aeaaec; box-shadow: inset 0 0 0 5px #3b3353, -6px 0 24px #79ded217, 6px 0 24px #c489e826; }
.profile-showcase[data-frame="prism"]::after { border-color: #b9d5fc; border-top-color: #d2a5e6; border-bottom-color: #8ee7d6; box-shadow: inset 1px 0 #e5b7f96b, inset -1px 0 #84dfd88c; }
.profile-level-tag { display: flex; flex-direction: column; position: absolute; z-index: 3; top: 21px; left: 24px; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -1px; color: #e7f284; }
.profile-level-tag small { margin-top: 5px; font-size: 12px; font-weight: 650; letter-spacing: .25px; color: #b3c4d5; }
.profile-showcase .viewport-3d.profile-creature { height: 390px; }
.profile-showcase .model-hint { bottom: 8px; }
.profile-creature-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 3; margin: 0 23px 22px; padding-top: 15px; border-top: 1px solid #4c5c6a6b; }
.profile-creature-caption strong { font-size: 18px; line-height: 1.25; }
.profile-creature-caption span { font-size: 13px; color: #b2c1d3; }
.profile-progress { align-self: center; min-width: 0; }
.profile-xp p { margin-top: 10px; color: #b1c0d4; font-size: 14px; line-height: 1.55; }
.profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 27px 0 24px; padding: 21px 0; border-block: 1px solid #344255; }
.profile-stats > div { display: flex; flex-direction: column-reverse; }
.profile-stats dt { color: #aebfd5; font-size: 14px; }
.profile-stats dd { margin: 0 0 4px; color: #f1f2e8; font-weight: 800; font-size: 32px; letter-spacing: -.8px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.profile-stats dd small { margin-left: 4px; font-size: 16px; color: #91a4bf; font-weight: 500; letter-spacing: 0; }
.profile-next-goal { display: flex; align-items: center; gap: 13px; }
.profile-next-goal > div { flex: 1; min-width: 0; }
.profile-next-goal h2 { margin-top: 4px; font-size: 19px; }
.profile-next-goal p { margin-top: 5px; color: #aebed2; font-size: 13px; line-height: 1.45; }
.career-goal-icon, .frame-swatch { display: grid; place-items: center; width: 48px; height: 55px; flex: 0 0 48px; border: 2px solid #65758a; border-radius: 11px; color: #d7e0e9; background: #243348; box-shadow: inset 0 0 0 4px #182331; }
.frame-swatch[data-frame="copper"] { border-color: #d3a16c; color: #e6be8a; background: #48372b; box-shadow: inset 0 0 0 4px #33251f, inset 0 0 0 5px #b98458; }
.frame-swatch[data-frame="prism"] { border-color: #c3baec; color: #c8d6f5; background: linear-gradient(125deg, #354e5b, #524369); box-shadow: inset 0 0 0 4px #2c2e47, inset 0 0 0 5px #9cbee6; }
.profile-links { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 26px; gap: 6px; }
.profile-links button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 72px; padding: 9px 4px; border-radius: 12px; background: #263347; color: #d8e2ef; font-size: 14px; font-weight: 650; }
.profile-links button:hover { background: #34455b; }
.profile-links .icon { width: 22px; height: 22px; color: #d3deac; }
.profile-fair-note { margin-top: 15px; color: #97a9c2; font-size: 13px; }
.profile-frames { margin-top: 32px; border-block: 1px solid #354256; padding: 0; background: none; }
.profile-frames > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 15px 0; font-size: 18px; font-weight: 750; cursor: pointer; list-style: none; }
.profile-frames > summary::after { content: '+'; color: #c4d0df; font-size: 26px; font-weight: 400; }
.profile-frames[open] > summary::after { content: '−'; }
.profile-frames > summary::-webkit-details-marker { display: none; }
.career-detail-count { margin-left: auto; font-size: 14px; font-weight: 500; color: #a6b8ce; }
.profile-frames > p { max-width: 680px; margin: 0 0 14px; color: #adbed3; font-size: 14px; }
.frame-options { padding-bottom: 10px; }
.frame-option { display: flex; align-items: center; gap: 15px; padding: 15px 0; }
.frame-option + .frame-option { border-top: 1px solid #303f53; }
.frame-copy { flex: 1; min-width: 0; }
.frame-copy strong { font-size: 17px; }
.frame-copy p { margin-top: 4px; color: #acbbd0; font-size: 14px; }
.frame-button { display: flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 44px; max-width: 185px; padding: 10px 13px; color: #e0e8b6; background: #303d31; border: 1px solid #586845; border-radius: 10px; font-size: 14px; font-weight: 650; }
.frame-button:disabled { opacity: 1; background: #223042; color: #94a9c2; border-color: #405169; }
.frame-button .icon { width: 17px; height: 17px; }

.tasks-page { max-width: 760px; }
.tasks-complete { flex-shrink: 0; align-self: center; font-size: 34px; font-weight: 800; letter-spacing: -1px; color: #e6eea0; }
.tasks-complete > span { font-size: 21px; color: #8096b2; font-weight: 500; letter-spacing: 0; }
.daily-quests ul { margin: 0; padding: 0; list-style: none; }
.quest-row { display: flex; gap: 17px; padding: 23px 0; border-top: 1px solid #344356; }
.quest-row:last-child { border-bottom: 1px solid #344356; }
.quest-symbol { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 48px; color: #dbe3b4; background: #2a3541; border-radius: 13px; }
.quest-row[data-state="ready"] .quest-symbol { background: #3a462d; color: #e5f266; }
.quest-row[data-state="claimed"] .quest-symbol { color: #a5d1b5; background: #263d37; }
.quest-content { flex: 1; min-width: 0; }
.quest-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.quest-heading h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.4px; }
.quest-count { flex-shrink: 0; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; color: #e6edda; }
.quest-count span { color: #8299b6; font-weight: 500; font-size: 15px; }
.quest-content > p { margin-top: 5px; color: #adbed5; font-size: 15px; line-height: 1.45; }
.quest-content .career-track { height: 4px; margin-top: 13px; }
.quest-row[data-state="claimed"] .career-track > i { background: #73ad91; }
.quest-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 8px; }
.quest-claim { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 13px; border-radius: 10px; color: #25300c; background: #e5f266; font-weight: 750; font-size: 15px; }
.quest-claim .icon { width: 18px; height: 18px; }
.quest-go { display: grid; place-items: center; width: 44px; height: 44px; color: #c4d49b; background: #26352e; border-radius: 10px; }
.quest-go:hover { background: #3b4b34; }
.quest-claimed { color: #9ccaae; font-size: 14px; }
.tasks-done, .tasks-ready { margin: 17px 0 0; color: #b5d3ac; font-size: 15px; }
.tasks-destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 25px; }
.career-destination { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 20px 15px; border: 1px solid #42516a; border-radius: 14px; text-align: left; background: #1c293a; }
.career-destination:hover { border-color: #78876a; background: #253247; }
.career-destination > span:not(.career-destination-icon) { flex: 1; min-width: 0; }
.career-destination small { display: block; color: #a5b8d2; font-size: 11px; letter-spacing: .8px; font-weight: 700; }
.career-destination strong { display: block; margin-top: 4px; color: #eef0e5; font-size: 22px; line-height: 1.2; letter-spacing: -.3px; }
.career-destination span > span { display: block; margin-top: 6px; color: #a7bbd3; font-size: 13px; line-height: 1.35; }
.career-destination > .icon { width: 19px; height: 19px; color: #a9bfcd; }
.career-destination-icon { color: #dfd396; }
.career-destination-icon .icon { width: 27px; height: 27px; }
.career-rules { margin: 22px 0 0; padding: 0; border: 0; background: none; }
.career-rules > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 0; color: #b6c8da; font-size: 15px; cursor: pointer; list-style: none; }
.career-rules > summary::-webkit-details-marker { display: none; }
.career-rules > summary .icon { width: 18px; height: 18px; transform: rotate(90deg); }
.career-rules[open] > summary .icon { transform: rotate(-90deg); }
.career-rules p { margin: 8px 0 13px; color: #a9bbd1; font-size: 14px; line-height: 1.6; }

.leaderboard-page { max-width: 760px; }
.leaderboard-heading { justify-content: flex-start; align-items: center; gap: 15px; }
.leaderboard-heading h1 { margin-top: 5px; font-size: clamp(26px, 4vw, 36px); }
.leaderboard-heading .back { align-self: center; }
.leaderboard-self { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 22px 24px; background: #24352b; border: 1px solid #4b6241; border-radius: 16px; }
.leaderboard-self > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.leaderboard-self strong { font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -.6px; }
.leaderboard-self > p { display: flex; align-items: center; gap: 7px; grid-column: 1 / -1; margin-top: 6px; padding-top: 12px; border-top: 1px solid #63744e6e; color: #cbdbb0; font-size: 14px; }
.leaderboard-self > p .icon { width: 18px; height: 18px; }
.leaderboard-list { margin-top: 28px; }
.leaderboard-labels, .leaderboard-row { display: grid; grid-template-columns: 55px minmax(0, 1fr) 66px; gap: 16px; align-items: center; }
.leaderboard-labels { padding: 0 15px 12px; color: #829ab7; font-size: 12px; }
.leaderboard-labels > :last-child { text-align: right; }
.leaderboard-row { padding: 18px 15px; border-top: 1px solid #334458; }
.leaderboard-row:last-child { border-bottom: 1px solid #334458; }
.leaderboard-row[data-me="true"] { background: #28382c; border-color: #65704b; border-radius: 10px; }
.leaderboard-rank { font-size: 23px; font-weight: 750; color: #b1c2d5; font-variant-numeric: tabular-nums; }
.leaderboard-rank[data-frame="copper"], .leaderboard-rank[data-frame="prism"] { display: grid; place-items: center; width: 38px; height: 43px; border: 2px solid #c7925f; border-radius: 9px; background: #422f26; color: #efd3a4; box-shadow: inset 0 0 0 3px #1a2632; }
.leaderboard-rank[data-frame="prism"] { border-color: #b1b5e7; border-top-color: #d6a9e6; border-bottom-color: #84dacc; background: #343851; color: #d3dcf8; }
.leaderboard-row[data-podium="true"] .leaderboard-rank { color: #e4d390; }
.leaderboard-person strong { display: block; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.leaderboard-person small { display: block; margin-top: 5px; color: #95aec8; font-size: 13px; }
.leaderboard-person em { display: inline-block; margin-left: 7px; padding: 2px 5px; border-radius: 5px; background: #495c37; color: #e2ebc4; font-style: normal; font-weight: 650; font-size: 10px; vertical-align: 2px; }
.leaderboard-points { font-size: 23px; text-align: right; color: #edf2d5; font-variant-numeric: tabular-nums; }
.leaderboard-empty { padding: 32px 20px 24px; border-block: 1px solid #344458; text-align: center; }
.empty-cup { display: grid; place-items: center; margin-bottom: 16px; color: #aabe97; }
.empty-cup .icon { width: 45px; height: 45px; stroke-width: 1.35; }
.leaderboard-empty h2 { font-size: 24px; }
.leaderboard-empty p { max-width: 410px; margin: 12px auto 22px; color: #a9bed5; font-size: 16px; }
.leaderboard-empty .primary { max-width: 350px; margin-inline: auto; }
.leaderboard-participants { margin: 15px 0 0; color: #91a8c0; font-size: 13px; }
.weekly-prizes { margin-top: 35px; }
.weekly-prizes > .career-section-heading > .icon { color: #cdbf8d; }
.weekly-prizes > p { margin-top: 11px; max-width: 570px; color: #b4c4d7; font-size: 15px; }
.weekly-prize-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 21px 0 0; padding: 20px 0; border-block: 1px solid #37475b; }
.weekly-prize-tiers > div { display: flex; flex-direction: column; }
.weekly-prize-tiers strong { font-size: 14px; color: #c9d5e2; }
.weekly-prize-tiers span { margin-top: 7px; font-size: 21px; color: #e7daa3; font-weight: 750; line-height: 1.2; }
.weekly-prize-tiers small { margin-top: 5px; font-size: 13px; color: #aebd9a; }
.weekly-unclaimed { margin-bottom: 22px; }
.weekly-unclaimed > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-block: 1px solid #77834f; }
.weekly-unclaimed > div + div { border-top: 0; }
.weekly-unclaimed strong { display: block; margin: 5px 0; font-size: 20px; }

@media (max-width: 760px) {
  .career-page-heading { gap: 13px; margin-bottom: 22px; }
  .career-page-heading h1 { font-size: 30px; }
  .career-page-heading p { font-size: 14px; line-height: 1.5; }
  .career-kicker { font-size: 11px; letter-spacing: .75px; }
  .profile-layout { grid-template-columns: 1fr; gap: 22px; }
  .profile-showcase .viewport-3d.profile-creature { height: 280px; }
  .profile-level-tag { top: 19px; left: 21px; font-size: 34px; }
  .profile-creature-caption { margin: 0 20px 19px; padding-top: 12px; }
  .profile-creature-caption strong { font-size: 18px; }
  .profile-stats { margin: 20px 0; padding: 17px 0; }
  .profile-stats dd { font-size: 29px; }
  .profile-next-goal { gap: 11px; }
  .profile-next-goal h2 { font-size: 19px; }
  .profile-links { margin-top: 23px; }
  .profile-links button { min-height: 70px; font-size: 14px; }
  .profile-frames { margin-top: 26px; }
  .frame-option { flex-wrap: wrap; gap: 12px; }
  .frame-copy { flex-basis: calc(100% - 63px); }
  .frame-copy p { font-size: 13px; }
  .frame-button { margin-left: 60px; max-width: none; width: calc(100% - 60px); }
  .quest-row { gap: 12px; padding: 19px 0; }
  .quest-symbol { width: 36px; height: 43px; flex-basis: 36px; border-radius: 10px; }
  .quest-symbol .icon { width: 21px; height: 21px; }
  .quest-heading h2 { font-size: 19px; }
  .quest-content > p { font-size: 14px; }
  .career-reward { gap: 8px; font-size: 13px; }
  .quest-claim { padding: 8px 10px; font-size: 14px; }
  .tasks-destinations { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .career-destination { padding: 17px 15px; }
  .career-destination strong { font-size: 22px; }
  .career-destination-icon .icon { width: 25px; height: 25px; }
  .career-destination > span:not(.career-destination-icon) { display: grid; grid-template-columns: 1fr; }
  .career-destination span > span { margin-top: 4px; }
  .leaderboard-heading { gap: 12px; }
  .leaderboard-heading h1 { font-size: 27px; }
  .leaderboard-heading .career-kicker { font-size: 10px; letter-spacing: .55px; }
  .leaderboard-self { padding: 19px 17px; gap: 10px 16px; }
  .leaderboard-self > div { flex-direction: column; gap: 7px; }
  .leaderboard-self strong { font-size: 30px; }
  .leaderboard-self > p { font-size: 13px; }
  .leaderboard-list { margin-top: 22px; }
  .leaderboard-labels, .leaderboard-row { grid-template-columns: 39px minmax(0, 1fr) 52px; gap: 10px; padding-inline: 10px; }
  .leaderboard-person strong { font-size: 16px; }
  .leaderboard-points, .leaderboard-rank { font-size: 22px; }
  .weekly-prize-tiers { gap: 12px; }
  .weekly-prize-tiers strong { font-size: 12px; }
  .weekly-prize-tiers span { font-size: 19px; }
}

@media (max-width: 360px) {
  .profile-page > .career-page-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: center; }
  .profile-page > .career-page-heading > div { display: contents; }
  .profile-page > .career-page-heading .career-kicker { grid-column: 1; grid-row: 1; }
  .profile-page > .career-page-heading h1, .profile-page > .career-page-heading p { grid-column: 1 / -1; }
  .profile-page > .career-page-heading h1 { margin-top: 12px; }
  .profile-page > .career-page-heading .bolt-balance { display: flex; grid-column: 2; grid-row: 1; align-items: center; gap: 5px; padding: 0; }
  .profile-page > .career-page-heading .bolt-balance strong { font-size: 20px; }
  .profile-page > .career-page-heading .bolt-balance > span { display: none; }
  .profile-page > .career-page-heading .bolt-balance .icon { width: 18px; height: 18px; }
  .profile-showcase .viewport-3d.profile-creature { height: 250px; }
  .profile-creature-caption { flex-wrap: wrap; gap: 5px; }
  .profile-creature-caption strong { font-size: 17px; }
  .career-section-heading h2 { font-size: 19px; }
  .career-section-heading > span { font-size: 12px; }
  .quest-heading h2 { font-size: 18px; }
  .quest-symbol { display: none; }
  .leaderboard-heading h1 { font-size: 23px; }
  .leaderboard-heading .career-kicker { display: none; }
  .weekly-prize-tiers span { font-size: 17px; }
  .profile-next-goal > .frame-swatch { width: 39px; flex-basis: 39px; height: 48px; }
}
