/* JDownloader HelpDesk theme. Selectors stay compatible with SupportPal 6 (sp: utilities). */

:root,
[data-theme="light"] {
    color-scheme: light only;
    --bg: #f7fbff;
    --surface: #fff;
    --surface-2: #f0f7ff;
    --text: #101c39;
    --muted: #62789b;
    --border: #e2ebf7;
    --blue: #096bef;
    --shadow: 0 12px 30px rgba(30, 88, 158, .08);
    --hero: #e8f5ff;
    --icon-bg: #e6f2ff;
    --color-primary-800: #096bef;
    --color-primary-900: #0455ae;
    --sp-color-primary-800: #096bef;
    --sp-color-primary-900: #0455ae;
    --color-background-primary: #ffffff;
    --color-background-secondary: #f7fbff;
    --color-text-primary: #101c39;
    --color-text-secondary: #62789b;
    --sp-text-color-primary: #101c39;
    --sp-text-color-secondary: #62789b;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #091525;
    --surface: #122439;
    --surface-2: #162c45;
    --text: #f4f8ff;
    --muted: #a5b8d2;
    --border: #29405a;
    --blue: #3292ff;
    --shadow: 0 14px 35px rgba(0, 0, 0, .23);
    --hero: #0d223a;
    --icon-bg: #183c63;
    --color-primary-800: #3292ff;
    --color-primary-900: #8eb6ff;
    --sp-color-primary-800: #3292ff;
    --sp-color-primary-900: #8eb6ff;
    --color-background-primary: #122439;
    --color-background-secondary: #091525;
    --color-background-tertiary: #29405a;
    --color-text-primary: #f4f8ff;
    --color-text-secondary: #a5b8d2;
    --sp-color-secondary: #091525;
    --sp-color-tertiary: #29405a;
    --sp-text-color-primary: #f4f8ff;
    --sp-text-color-secondary: #a5b8d2;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

header .sp-search {
    display: none;
}

.sp\:container {
    max-width: 1320px;
}

select.jd-lang {
    width: auto;
}

body > header {
    background: var(--surface);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    backdrop-filter: none;
}

body > header a {
    color: var(--text);
    font-weight: 500;
}

body > header a:hover,
.jd-navlinks a:hover,
.jd-footer a:hover {
    color: var(--blue);
}

.jd-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.jd-brand {
    font-size: 33px;
    font-weight: 600;
    letter-spacing: -1.8px;
    line-height: 1.1;
    background: linear-gradient(95deg, #267df7 0%, #0455ae 42%, #28b34d 76%, #e1b800 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    white-space: nowrap;
}

.jd-navlinks {
    display: flex;
    gap: 24px;
    align-items: center;
}

.jd-navlinks a {
    font-size: 13px;
    text-decoration: none;
}

.jd-navright {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jd-login {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.jd-theme {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.jd-theme button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    box-shadow: none;
}

.jd-theme button svg {
    width: 16px;
    height: 16px;
}

.jd-theme button[aria-pressed="true"] {
    background: var(--icon-bg);
    color: var(--blue);
}

.tippy-box {
    background-color: #101c39;
    color: #ffffff;
}

.tippy-box button.as-link {
    color: #ffffff;
}

.tippy-box > .tippy-arrow::before {
    color: #101c39;
}

.tippy-box[data-placement^="top"] > .tippy-arrow::before {
    border-top-color: #101c39;
}

.tippy-box[data-placement^="bottom"] > .tippy-arrow::before {
    border-bottom-color: #101c39;
}

.tippy-box[data-placement^="left"] > .tippy-arrow::before {
    border-left-color: #101c39;
}

.tippy-box[data-placement^="right"] > .tippy-arrow::before {
    border-right-color: #101c39;
}

[data-theme="dark"] .tippy-box {
    background-color: #ffffff;
    color: #101c39;
}

[data-theme="dark"] .tippy-box button.as-link {
    color: #101c39;
}

[data-theme="dark"] .tippy-box > .tippy-arrow::before {
    color: #ffffff;
}

[data-theme="dark"] .tippy-box[data-placement^="top"] > .tippy-arrow::before {
    border-top-color: #ffffff;
}

[data-theme="dark"] .tippy-box[data-placement^="bottom"] > .tippy-arrow::before {
    border-bottom-color: #ffffff;
}

[data-theme="dark"] .tippy-box[data-placement^="left"] > .tippy-arrow::before {
    border-left-color: #ffffff;
}

[data-theme="dark"] .tippy-box[data-placement^="right"] > .tippy-arrow::before {
    border-right-color: #ffffff;
}

.jd-lang {
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    padding: 0 10px;
}

.jd-hero {
    background:
        radial-gradient(ellipse at 76% 45%, #b7dcff60, transparent 48%),
        linear-gradient(180deg, var(--hero), var(--bg));
    overflow: hidden;
}

[data-theme="dark"] .jd-hero {
    background:
        radial-gradient(ellipse at 76% 45%, rgba(50, 146, 255, .18), transparent 48%),
        linear-gradient(180deg, var(--hero), var(--bg));
}

.jd-hero-inner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.jd-hero-copy {
    width: 59%;
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

.jd-hero h1 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -1.3px;
}

.jd-hero p {
    max-width: 570px;
    margin: 0 0 21px;
    color: var(--muted);
    font-size: 17px;
}

.jd-hero-art {
    position: absolute;
    width: min(51%, 590px);
    right: -25px;
    top: 10px;
    max-height: 310px;
    object-fit: contain;
    pointer-events: none;
}

.jd-search {
    display: flex;
    align-items: center;
    max-width: 680px;
    padding: 7px 7px 7px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.jd-search img {
    width: 21px;
    height: 21px;
    flex: none;
}

.jd-search input[type="search"] {
    min-width: 0;
    flex: 1;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
}

.jd-search input[type="search"]:focus {
    outline: none;
}

.jd-search button,
a.jd-primary,
.sp-content-inner a.jd-primary {
    border: 0;
    border-radius: 9px;
    background: #086ef2;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: none;
    text-decoration: none;
}

.jd-search button:hover,
a.jd-primary:hover,
.sp-content-inner a.jd-primary:hover {
    background: #0455ae;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

[data-theme="dark"] .jd-search button,
[data-theme="dark"] a.jd-primary,
[data-theme="dark"] .sp-content-inner a.jd-primary {
    background: #0455ae;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

[data-theme="dark"] .jd-search button:hover,
[data-theme="dark"] a.jd-primary:hover,
[data-theme="dark"] .sp-content-inner a.jd-primary:hover {
    background: #086ef2;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.jd-hints {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
}

.jd-home .jd-page-head,
.jd-auth-page .jd-page-head {
    display: none;
}

.jd-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f4f9ff;
}

[data-theme="dark"] .jd-auth-page {
    background: #0c1628;
}

.jd-auth-page .jd-footer {
    margin-top: auto;
}

.jd-auth-page .sp-content,
.jd-auth-page .sp-content-inner {
    overflow: visible;
    padding: 8px 0 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.jd-home .sp-content-inner {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.jd-section {
    padding: 28px 0 8px;
}

.jd-actions,
.jd-topics,
.jd-lower {
    display: grid;
    gap: 16px;
}

.jd-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jd-announcements {
    margin-bottom: 32px;
}

.jd-announcements .jd-head {
    margin-top: 0;
}

.jd-announce-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.jd-announce-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 148px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
}

.jd-announce-card:first-child {
    min-height: 240px;
    padding: 26px 200px 26px 26px;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--hero) 88%, var(--surface)) 0%, var(--surface) 62%);
}

.jd-announce-card:first-child:not(:only-child) {
    grid-row: span 2;
}

.jd-announce-card:only-child {
    grid-column: 1 / -1;
}

.jd-announce-card:nth-child(n+2) {
    grid-column: 2;
    padding-right: 22px;
}

.jd-announce-card:nth-child(n+4) {
    display: none;
}

.jd-announce-card:hover {
    border-color: color-mix(in srgb, var(--blue) 35%, var(--border));
    color: var(--text);
}

.jd-announce-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
}

.jd-announce-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 70%;
    padding: 3px 10px 3px 4px;
    border-radius: 999px;
    background: var(--icon-bg);
    color: var(--blue);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
}

.jd-announce-kicker img {
    width: 22px;
    height: 22px;
}

.jd-announce-top time {
    flex: none;
    color: var(--muted);
    font-size: 12px;
}

.jd-announce-title {
    color: var(--text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;
}

.jd-announce-card:first-child .jd-announce-title {
    font-size: 26px;
    letter-spacing: -0.4px;
}

.jd-announce-excerpt {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.jd-announce-card:not(:first-child) .jd-announce-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.jd-announce-more {
    margin-top: auto;
    padding-top: 16px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 650;
}

.jd-announce-card:first-child .jd-announce-more {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 9px;
    background: #086ef2;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.jd-announce-art {
    display: none;
}

.jd-announce-card:first-child .jd-announce-art {
    display: block;
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 148px;
    height: 148px;
    object-fit: contain;
    pointer-events: none;
}

.jd-card,
.jd-articles,
.jd-cta,
.jd-footer-grid > * {
    min-width: 0;
}

.jd-card,
.jd-topic,
.jd-articles,
.jd-cta {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
}

.jd-card {
    min-height: 154px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.jd-card:hover,
.jd-topic:hover,
.jd-article:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--blue) 35%, var(--border));
}

.jd-ico {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    border-radius: 0;
    background: transparent;
}

.jd-ico img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.jd-card h3,
.jd-topic h3,
.jd-cta h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
}

.jd-card p,
.jd-topic p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.jd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 28px 0 16px;
}

.jd-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 750;
}

.jd-head a {
    flex: none;
    color: var(--blue);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.jd-topics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 11px;
}

.jd-topic {
    min-height: 132px;
    padding: 16px 8px;
    text-align: center;
}

.jd-topic .jd-ico {
    width: 45px;
    height: 45px;
    margin: 0 auto 9px;
}

.jd-topic .jd-ico img {
    width: 27px;
    height: 27px;
}

.jd-topic h3 {
    font-size: 13px;
}

.jd-topic p {
    font-size: 11px;
}

.jd-lower {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 36px;
    row-gap: 16px;
    margin-bottom: 12px;
    align-items: stretch;
}

.jd-lower .jd-head {
    grid-column: 1;
    margin-bottom: 0;
}

.jd-articles,
.jd-lower .jd-cta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.jd-lower .jd-cta {
    grid-column: 2;
}

.jd-lower-solo {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 28px;
}

.jd-lower-solo .jd-cta {
    grid-column: 1;
    grid-row: auto;
}


.jd-articles {
    overflow: hidden;
}

.jd-article {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
}

.jd-article:last-child {
    border-bottom: 0;
}

.jd-article img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.jd-article span {
    flex: 1;
}

.jd-cta {
    position: relative;
    overflow: clip;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background:
        radial-gradient(120% 90% at 100% 100%, rgba(47, 143, 255, .18), transparent 55%),
        linear-gradient(160deg, #f7fbff, #e7f3ff);
}

.jd-cta-bg {
    position: absolute;
    right: -30px;
    bottom: -46px;
    width: 78%;
    max-width: 280px;
    opacity: .45;
    pointer-events: none;
}

.jd-cta-ring {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    flex: none;
    object-fit: contain;
}

.jd-cta-copy {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

[data-theme="dark"] .jd-cta {
    background:
        radial-gradient(120% 90% at 100% 100%, rgba(50, 146, 255, .28), transparent 58%),
        linear-gradient(160deg, #0c2340, #12345c);
}

[data-theme="dark"] .jd-cta-bg {
    opacity: .22;
}

.jd-cta p {
    margin: 6px 0 18px;
    color: var(--muted);
}

.jd-cta .jd-primary {
    display: inline-block;
}

.sp-content-inner {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.sp-content-inner a:not(.jd-primary):not(.jd-announce-card) {
    color: var(--blue);
}

.sp-content-inner a.jd-announce-card,
.sp-content-inner a.jd-announce-card:hover {
    color: var(--text);
    text-decoration: none;
}

.sp-content-inner a.jd-announce-card .jd-announce-kicker,
.sp-content-inner a.jd-announce-card .jd-announce-more {
    color: var(--blue);
}

.sp-content-inner a.jd-announce-card:first-child .jd-announce-more,
.sp-content-inner a.jd-announce-card:first-child:hover .jd-announce-more {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.sp-content-inner img.jd-article-hero {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 8px 0 18px;
}

h1 {
    color: var(--text);
}

.sp-breadcrumb,
.sp-description {
    color: var(--muted);
}

.sp-content-inner input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.sp-content-inner select,
.sp-content-inner textarea {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--surface-2);
    color: var(--text);
    caret-color: var(--text);
    color-scheme: light only;
}

[data-theme="light"] .sp-content-inner input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
[data-theme="light"] .sp-content-inner select,
[data-theme="light"] .sp-content-inner textarea {
    background-color: #f0f7ff;
    color: #101c39;
    -webkit-text-fill-color: #101c39;
    caret-color: #101c39;
}

[data-theme="dark"] .sp-content-inner input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
[data-theme="dark"] .sp-content-inner select,
[data-theme="dark"] .sp-content-inner textarea {
    background-color: #091525;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    color-scheme: dark;
}

[data-theme="dark"] .tox-edit-area,
[data-theme="dark"] .tox-edit-area__iframe {
    background-color: #091525;
    color-scheme: dark;
}

.sp-content-inner input[type="submit"] {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 9px;
    background: #086ef2;
    color: #fff;
    box-shadow: none;
}

.jd-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 60px;
    align-items: center;
    min-height: 660px;
    padding: 48px 0 64px;
}

.jd-auth-copy {
    position: relative;
    min-height: 530px;
    padding: 50px 0;
    isolation: isolate;
}

.jd-auth-copy::before {
    content: "";
    position: absolute;
    inset: 90px -25px 0 24%;
    z-index: -1;
    background: url("../jd/login/support-illustration.svg") right center / contain no-repeat;
    opacity: .49;
    pointer-events: none;
}

[data-theme="dark"] .jd-auth-copy::before {
    opacity: .27;
}

.jd-auth-kicker {
    margin: 0 0 13px;
    color: #086bf4;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.jd-auth-copy h1 {
    margin: 0 0 22px;
    color: #0c1c3c;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.12;
}

.jd-auth-lead {
    margin: 0;
    max-width: 410px;
    color: #597194;
    font-size: 18px;
}

.jd-auth-points {
    display: grid;
    gap: 18px;
    margin-top: 72px;
}

.sp-content-inner a.jd-auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 320px;
    color: #0c1c3c;
    font-size: 13px;
    text-decoration: none;
}

.sp-content-inner a.jd-auth-feature:hover {
    color: #0c1c3c;
    text-decoration: none;
}

.jd-auth-feature img {
    width: 48px;
    height: 48px;
}

.jd-auth-feature strong,
.jd-auth-feature small {
    display: block;
}

.jd-auth-feature strong {
    color: inherit;
    font-size: 15px;
}

.jd-auth-feature small {
    color: #597194;
    font-size: 13px;
}

.jd-auth-card {
    padding: 36px;
    border: 1px solid #dbe7f6;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(23, 70, 128, .12);
}

.jd-auth-card h2 {
    margin: 0 0 4px;
    color: #0c1c3c;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -.03em;
}

.jd-auth-crumb {
    margin: 0 0 30px;
    color: #597194;
    font-size: 13px;
}

.sp-content-inner .jd-auth-crumb a,
.sp-content-inner .jd-auth-reset a {
    color: #086bf4;
    font-size: 13px;
    text-decoration: none;
}

.jd-auth-crumb span {
    margin: 0 4px;
}

.jd-auth .sp-form-row {
    display: block;
    margin: 0 0 22px;
}

.jd-auth .sp-form-row > label {
    display: block;
    width: auto;
    margin: 0 0 8px;
    float: none;
    color: #0c1c3c;
    font-size: 14px;
    font-weight: 650;
}

.jd-auth .sp-input-container {
    width: auto;
}

.sp-content-inner .jd-auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]) {
    width: 100%;
    height: 51px;
    min-height: 51px;
    padding: 0 15px;
    border: 1px solid #dbe7f6;
    border-radius: 11px;
    background: #f4f8fe;
    color: #0c1c3c;
    -webkit-text-fill-color: #0c1c3c;
    caret-color: #0c1c3c;
}

.jd-auth-password {
    position: relative;
}

.sp-content-inner .jd-auth .jd-auth-password input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]) {
    padding-right: 52px;
}

.jd-auth input:focus {
    outline: 2px solid #8bbcff;
    outline-offset: 1px;
}

.jd-auth-eye {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
}

.jd-auth-eye img {
    width: 22px;
    height: 22px;
}

.jd-auth-reset {
    margin-top: 8px;
    text-align: right;
}

.jd-auth-remember {
    margin: 24px 0;
}

.jd-auth-remember label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #0c1c3c;
    font-size: 14px;
    font-weight: 500;
}

.jd-auth-remember input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #086bf4;
}

button.jd-auth-submit,
input.jd-auth-submit {
    width: 100%;
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 15px;
    border: 0;
    border-radius: 11px;
    background: #086bf4;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
}

button.jd-auth-submit:hover,
button.jd-auth-submit:focus,
input.jd-auth-submit:hover,
input.jd-auth-submit:focus {
    background: #0057d2;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.jd-auth-submit svg {
    width: 18px;
    height: 18px;
}

.jd-auth-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: #eaf4ff;
    color: #274a78;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.55;
}

.jd-auth-note img {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.jd-auth-note strong {
    font-weight: 750;
}

[data-theme="dark"] .jd-auth-copy h1,
[data-theme="dark"] .jd-auth-card h2,
[data-theme="dark"] .jd-auth .sp-form-row > label,
[data-theme="dark"] .jd-auth-remember label,
[data-theme="dark"] .sp-content-inner a.jd-auth-feature,
[data-theme="dark"] .sp-content-inner a.jd-auth-feature:hover {
    color: #eef5ff;
}

[data-theme="dark"] .jd-auth-kicker,
[data-theme="dark"] .sp-content-inner .jd-auth-crumb a,
[data-theme="dark"] .sp-content-inner .jd-auth-reset a {
    color: #8eb6ff;
}

[data-theme="dark"] .jd-auth-lead,
[data-theme="dark"] .jd-auth-crumb,
[data-theme="dark"] .jd-auth-feature small {
    color: #a9bcda;
}

[data-theme="dark"] .jd-auth-card {
    border-color: #30445d;
    background: #142239;
    box-shadow: 0 25px 55px rgba(0, 0, 0, .32);
}

[data-theme="dark"] .sp-content-inner .jd-auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]) {
    border-color: #30445d;
    background: #1b304a;
    color: #eef5ff;
    -webkit-text-fill-color: #eef5ff;
    caret-color: #eef5ff;
}

[data-theme="dark"] .jd-auth-note {
    background: #213d5f;
    color: #d3e3fa;
}

[data-theme="light"] .sp-content-inner .jd-auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]) {
    border-color: #dbe7f6;
    background: #f4f8fe;
    color: #0c1c3c;
    -webkit-text-fill-color: #0c1c3c;
    caret-color: #0c1c3c;
}

.jd-footer {
    margin-top: 28px;
    padding: 24px 0 34px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
}

.jd-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 24px;
}

.jd-footer h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 13px;
}

.jd-footer a,
.jd-footer p {
    display: block;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    text-shadow: none;
}

.jd-footer .jd-brand {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 24px;
}

#bottomfooter,
#copyright {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.sp-mobile-nav,
.sp-mobile-nav a {
    background: var(--surface);
    color: var(--text);
}

.sp-mobile-nav-button svg {
    fill: var(--text);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #69b4ff;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .jd-navlinks {
        display: none;
    }

    .jd-hero-art {
        display: none;
    }

    .jd-hero-copy,
    .jd-hero-inner {
        width: 100%;
        min-height: 0;
    }

    .jd-actions,
    .jd-lower,
    .jd-footer-grid,
    .jd-announce-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .jd-announce-card:first-child,
    .jd-announce-card:first-child:not(:only-child),
    .jd-announce-card:nth-child(n+2),
    .jd-announce-card:only-child {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
        padding: 18px;
    }

    .jd-announce-card:first-child .jd-announce-title {
        font-size: 22px;
    }

    .jd-announce-card:first-child .jd-announce-art {
        display: none;
    }

    .jd-lower .jd-head,
    .jd-articles,
    .jd-lower .jd-cta {
        grid-column: 1;
        grid-row: auto;
        align-self: auto;
    }

    .jd-home .sp-content-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .jd-topics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jd-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 700px) and (max-width: 900px) {
    .jd-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jd-actions .jd-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .jd-lower {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .jd-lower .jd-head {
        grid-column: 1;
        grid-row: 1;
    }

    .jd-articles {
        grid-column: 1;
        grid-row: 2;
    }

    .jd-lower .jd-cta {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        gap: 12px;
        padding: 18px 16px;
    }

    .jd-lower-solo .jd-cta {
        grid-column: 1;
        grid-row: auto;
    }

    .jd-cta-ring {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 560px) {
    .jd-bar {
        gap: 8px;
        min-height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .jd-navright {
        gap: 8px;
        min-width: 0;
    }

    .jd-brand {
        font-size: 22px;
        letter-spacing: -1px;
    }

    .jd-login {
        display: none;
    }

    .jd-lang {
        max-width: 88px;
        padding: 0 6px;
        font-size: 13px;
    }

    .jd-hero {
        padding-top: 8px;
    }

    .jd-hero h1 {
        font-size: 32px;
    }

    .jd-hero p {
        font-size: 15px;
    }

    .jd-search {
        max-width: none;
        padding: 6px;
    }

    .jd-search button {
        padding: 10px 14px;
    }

    .jd-cta {
        gap: 12px;
        padding: 18px 16px;
    }

    .jd-cta-ring {
        width: 72px;
        height: 72px;
    }

    .jd-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .jd-article {
        gap: 12px;
        padding: 14px 14px;
    }

    body:not(.jd-home) .sp-content-inner {
        margin-left: 12px;
        margin-right: 12px;
    }

    .jd-topics,
    .jd-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .jd-card {
        min-height: 115px;
        padding: 15px;
    }

    .sp-captcha .sp\:flex-nowrap {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .sp-captcha .sp\:grow {
        flex: 1 0 100%;
        margin: 0;
        text-align: start;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 1000px) {
    .jd-auth {
        gap: 28px;
        grid-template-columns: minmax(0, 1fr) 420px;
    }
}

@media (max-width: 850px) {
    .jd-auth {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: 540px;
        min-height: 0;
        margin: 0 auto;
        padding: 28px 0 40px;
        gap: 24px;
    }

    .jd-auth-copy {
        min-height: 0;
        padding: 0;
    }

    .jd-auth-copy::before,
    .jd-auth-points {
        display: none;
    }

    .jd-auth-copy h1 {
        margin: 7px 0;
        font-size: 39px;
    }

    .jd-auth-lead {
        font-size: 15px;
    }

    .jd-auth-card {
        padding: 26px;
    }
}

@media (max-width: 490px) {
    .jd-auth-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media print {
    .jd-hero-art,
    .jd-theme,
    .jd-footer {
        display: none;
    }
}
