.cts-progress__dialog { box-sizing: border-box; color-scheme: dark; width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: clamp(18px, 3vw, 32px); border: 1px solid #696178; border-radius: 20px; background: #181827; color: #f1edff; font: 16px/1.6 system-ui, sans-serif; overflow: auto; overscroll-behavior: contain; }
.cts-progress__dialog::backdrop { background: #090913bb; }
.cts-progress__dialog *, .cts-progress__dialog *::before, .cts-progress__dialog *::after { box-sizing: border-box; }
.cts-progress__dialog [hidden] { display: none !important; }
.cts-progress__header, .cts-progress__navigation, .cts-progress__windows, .cts-progress__footer { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.cts-progress__header { justify-content: space-between; margin-bottom: 20px; }
.cts-progress__title { margin: 0; font-size: 1.6rem; line-height: 1.3; }
.cts-progress__heading { font-size: 1.15rem; margin: 24px 0 8px; }
.cts-progress__dialog button, .cts-progress__dialog a { font: inherit; }
.cts-progress__dialog button { border: 1px solid #6b627d; border-radius: 10px; padding: 10px 16px; min-height: 44px; background: #252338; color: #f1edff; cursor: pointer; }
.cts-progress__dialog button:disabled { opacity: .6; cursor: default; }
.cts-progress__dialog [aria-pressed='true'] { border-color: #ffe08a; color: #ffe08a; }
.cts-progress__dialog a { color: #ffe08a; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cts-progress__dialog :is(button, a, input):focus-visible { outline: 3px solid #ffe08a; outline-offset: 3px; }
.cts-progress__status { min-height: 1.6em; margin: 18px 0; }
.cts-progress__achievement-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; padding: 0; list-style: none; }
.cts-progress__achievement { border: 1px solid #51495f; border-radius: 14px; padding: 18px; }
.cts-progress__achievement-title { font-size: 1rem; color: #ffe08a; margin: 0 0 10px; }
.cts-progress__description { margin: 8px 0 16px; }
.cts-progress__progress { width: 100%; accent-color: #ffe08a; }
.cts-progress__count, .cts-progress__help { font-size: .9rem; color: #c2bdd2; }
.cts-progress__count { margin-bottom: 0; }
.cts-progress__all-achievements { display: inline-block; margin: 16px; }
.cts-progress__rankings { overflow-x: auto; }
.cts-progress__table { width: 100%; border-collapse: collapse; text-align: left; }
.cts-progress__caption { text-align: left; padding: 12px 0; font-weight: 700; }
.cts-progress__column, .cts-progress__rank, .cts-progress__player, .cts-progress__score { padding: 14px 8px; border-bottom: 1px solid #51495f; }
.cts-progress__player { overflow-wrap: anywhere; }
.cts-progress__score { text-align: right; font-variant-numeric: tabular-nums; }
.cts-progress__sharing { border: 1px solid #51495f; border-radius: 14px; padding: 20px; margin: 24px 0; }
.cts-progress__sharing .cts-progress__heading { margin-top: 0; }
.cts-progress__check { display: flex; align-items: flex-start; gap: 14px; margin: 18px 0; }
.cts-progress__confirmation { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #ffe08a; margin-top: 3px; }
.cts-progress__footer { border-top: 1px solid #51495f; padding-top: 20px; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .cts-progress__dialog { scroll-behavior: auto; } }
