/*
Theme Name: mayonjl
Author: mayonjl
Description: Mobile access guides and website information.
Version: 1.0.0
Text Domain: mayonjl
*/

/* ---------- Foundation ---------- */

:root {
    --mj-orange: #f45a00;
    --mj-orange-hover: #d94b00;
    --mj-orange-dark: #b83e00;
    --mj-orange-soft: #fff0e2;
    --mj-background: #fffaf5;
    --mj-white: #ffffff;
    --mj-text: #35271e;
    --mj-muted: #746357;
    --mj-border: #f0e1d5;
    --mj-gold: #ffc985;
    --mj-shadow: 0 12px 35px rgb(98 47 10 / 7%);
    --mj-radius: 24px;
    --mj-width: 1100px;
    --mj-gutter: clamp(16px, 4vw, 28px);
    --mj-header-height: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

body.mj-site {
    min-width: 280px;
    color: var(--mj-text);
    background: var(--mj-background);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
}

figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--mj-text);
    line-height: 1.22;
    overflow-wrap: anywhere;
}

h1,
h2 {
    letter-spacing: -.035em;
}

p:last-child {
    margin-bottom: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--mj-orange-dark);
    outline-offset: 5px;
}

::selection {
    color: #ffffff;
    background: var(--mj-orange-dark);
}

.mj-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

.mj-shell {
    width: min(100%, var(--mj-width));
    margin-inline: auto;
    padding-inline: var(--mj-gutter);
}

.mj-main {
    min-height: 55vh;
}

.mj-main:focus {
    outline: none;
}

.screen-reader-text,
.mj-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mj-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 12px 18px;
    color: #ffffff;
    background: var(--mj-orange-dark);
    border-radius: 12px;
    transform: translateY(-160%);
}

.mj-skip-link:focus {
    transform: translateY(0);
}

/* ---------- Header ---------- */

.mj-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 250 245 / 97%);
    border-bottom: 1px solid var(--mj-border);
    box-shadow: 0 4px 18px rgb(98 47 10 / 3%);
}

@supports (backdrop-filter: blur(16px)) {
    .mj-header {
        background: rgb(255 250 245 / 88%);
        backdrop-filter: blur(16px);
    }
}

.mj-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--mj-header-height);
}

.mj-logo {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    max-width: calc(100% - 68px);
}

.mj-logo-image {
    width: clamp(155px, 23vw, 195px);
    max-height: 64px;
    object-fit: contain;
}

.mj-wordmark {
    color: var(--mj-text);
    font-size: 29px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.06em;
}

.mj-wordmark span {
    color: var(--mj-orange);
}

.mj-menu-toggle {
    display: grid;
    flex: 0 0 46px;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--mj-orange-dark);
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgb(98 47 10 / 4%);
    transition:
        background .2s ease,
        border-color .2s ease;
}

.mj-menu-toggle:hover {
    background: var(--mj-orange-soft);
    border-color: #ffc99d;
}

.mj-menu-toggle .mj-icon {
    width: 23px;
    height: 23px;
}

.mj-menu-toggle .mj-menu-close {
    display: none;
}

.mj-menu-toggle[aria-expanded="true"] .mj-menu-open {
    display: none;
}

.mj-menu-toggle[aria-expanded="true"] .mj-menu-close {
    display: block;
}

.mj-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: var(--mj-gutter);
    left: var(--mj-gutter);
    max-height: calc(100dvh - 110px);
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgb(73 32 6 / 15%);
}

.mj-menu-heading {
    margin: 0 0 12px;
    padding: 0 5px;
    color: var(--mj-muted);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mj-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mj-menu-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 14px;
    color: var(--mj-text);
    background: var(--mj-background);
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    transition:
        color .2s ease,
        background .2s ease;
}

.mj-menu-link:hover,
.mj-menu-link.is-current {
    color: var(--mj-orange-dark);
    background: var(--mj-orange-soft);
    border-color: #ffdbbb;
}

/* ---------- Shared layout ---------- */

.mj-section {
    padding-block: clamp(34px, 6vw, 70px);
}

.mj-section-soft {
    background: #fff3e8;
    border-block: 1px solid var(--mj-border);
}

.mj-section-white {
    background: var(--mj-white);
}

.mj-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.mj-section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(25px, 4vw, 36px);
}

.mj-section-heading p {
    max-width: 430px;
    margin-bottom: 0;
    color: var(--mj-muted);
    font-size: 14px;
}

.mj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--mj-orange-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mj-eyebrow .mj-icon {
    width: 16px;
    height: 16px;
}

.mj-stack {
    display: grid;
    gap: 18px;
}

.mj-grid {
    display: grid;
    gap: 18px;
}

.mj-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mj-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mj-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--mj-orange-dark);
    font-size: 14px;
    font-weight: 750;
}

.mj-text-link .mj-icon {
    width: 17px;
    height: 17px;
}

.mj-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------- Buttons ---------- */

.mj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.mj-btn .mj-icon {
    width: 19px;
    height: 19px;
}

.mj-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #fb7018, var(--mj-orange));
    border-color: var(--mj-orange);
    box-shadow: 0 6px 15px rgb(244 90 0 / 15%);
}

.mj-btn-primary:hover {
    color: #ffffff;
    background: var(--mj-orange-hover);
    border-color: var(--mj-orange-hover);
    box-shadow: 0 8px 20px rgb(244 90 0 / 20%);
}

.mj-btn-secondary {
    color: var(--mj-orange-dark);
    background: var(--mj-white);
    border-color: #ffd1ac;
}

.mj-btn-secondary:hover {
    background: var(--mj-orange-soft);
    border-color: #ffb97f;
}

.mj-btn-soft {
    color: var(--mj-orange-dark);
    background: var(--mj-orange-soft);
    border-color: #ffdcc0;
}

.mj-btn-soft:hover {
    background: #ffe5ce;
}

.mj-btn-home {
    color: var(--mj-white);
    background: var(--mj-text);
    border-color: var(--mj-text);
}

.mj-btn-home:hover {
    background: #503728;
    border-color: #503728;
}

.mj-btn-block {
    width: 100%;
}

.mj-btn-small {
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 11px;
    font-size: 12px;
}

.mj-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mj-btn.is-disabled,
.mj-btn[aria-disabled="true"] {
    color: var(--mj-muted);
    background: #f5eee7;
    border-color: var(--mj-border);
    box-shadow: none;
    cursor: default;
}

/* ---------- Homepage first screen ---------- */

.mj-access {
    position: relative;
    padding-block: 25px 30px;
    background:
        radial-gradient(
            ellipse at 100% 0,
            rgb(255 201 133 / 20%),
            transparent 55%
        ),
        var(--mj-background);
}

.mj-access-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 42px;
}

.mj-access-intro h1 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4.7vw, 51px);
    line-height: 1.13;
}

.mj-access-intro p {
    max-width: 440px;
    margin-bottom: 0;
    color: var(--mj-muted);
    font-size: 15px;
    line-height: 1.8;
}

.mj-domain {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--mj-orange-dark);
    font-size: 13px;
    font-weight: 750;
}

.mj-domain .mj-icon {
    width: 17px;
    height: 17px;
}

.mj-route-panel {
    min-width: 0;
    padding: 18px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 26px;
    box-shadow: var(--mj-shadow);
}

.mj-route-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.mj-route-panel-heading h2 {
    margin: 0;
    font-size: 17px;
    letter-spacing: -.02em;
}

.mj-route-caption {
    color: var(--mj-muted);
    font-size: 11px;
}

.mj-routes {
    display: grid;
    gap: 9px;
}

.mj-route {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr) 35px;
    align-items: center;
    gap: 12px;
    min-height: 69px;
    padding: 11px 13px;
    background: linear-gradient(115deg, #fff9f3, #fff1e5);
    border: 1px solid #ffe0c6;
    border-radius: 16px;
    transition:
        background .2s ease,
        border-color .2s ease;
}

a.mj-route:hover {
    background: #ffe9d5;
    border-color: #ffbd87;
}

.mj-route-number {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    color: var(--mj-orange-dark);
    background: var(--mj-white);
    border: 1px solid #ffdcc0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.mj-route-copy {
    min-width: 0;
}

.mj-route-label {
    display: block;
    color: var(--mj-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.mj-route-domain {
    display: block;
    margin-top: 2px;
    color: var(--mj-muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mj-route-arrow {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    color: var(--mj-white);
    background: var(--mj-orange);
    border-radius: 50%;
}

.mj-route-arrow .mj-icon {
    width: 18px;
    height: 18px;
}

.mj-route.is-disabled {
    background: #faf5ef;
    border-color: var(--mj-border);
}

.mj-route.is-disabled .mj-route-arrow {
    color: #a58b76;
    background: #eee2d6;
}

.mj-access-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 11px;
}

.mj-access-tools .mj-btn {
    min-height: 42px;
    padding: 9px 8px;
    font-size: 12px;
}

.mj-access-note {
    margin: 12px 1px 0;
    color: var(--mj-muted);
    font-size: 11px;
    line-height: 1.65;
}

/* ---------- Agent and app entries ---------- */

.mj-entry-section {
    padding-block: 0 34px;
}

.mj-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mj-entry-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 19px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 21px;
    box-shadow: 0 6px 20px rgb(98 47 10 / 4%);
}

.mj-entry-icon,
.mj-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--mj-orange-dark);
    background: linear-gradient(140deg, #fff5e9, #ffdfc0);
    border: 1px solid #ffd6b1;
    border-radius: 15px;
}

.mj-entry-icon .mj-icon,
.mj-card-icon .mj-icon {
    width: 24px;
    height: 24px;
}

.mj-entry-copy {
    min-width: 0;
}

.mj-entry-copy h2 {
    margin: 0 0 4px;
    font-size: 17px;
    letter-spacing: -.02em;
}

.mj-entry-copy p {
    margin: 0;
    color: var(--mj-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* ---------- Cards and guide links ---------- */

.mj-card {
    min-width: 0;
    padding: 24px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 22px;
    box-shadow: 0 6px 20px rgb(98 47 10 / 4%);
}

.mj-card-icon {
    margin-bottom: 18px;
}

.mj-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    letter-spacing: -.025em;
}

.mj-card p {
    margin-bottom: 17px;
    color: var(--mj-muted);
    font-size: 14px;
    line-height: 1.85;
}

.mj-guide-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 20px;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.mj-guide-card:hover {
    background: #fff7ef;
    border-color: #ffcc9f;
}

.mj-guide-card .mj-card-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin: 0;
}

.mj-guide-copy {
    flex: 1;
    min-width: 0;
}

.mj-guide-copy strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
}

.mj-guide-copy small {
    display: block;
    margin-top: 4px;
    color: var(--mj-muted);
    font-size: 12px;
    line-height: 1.6;
}

.mj-guide-card > .mj-icon {
    width: 19px;
    height: 19px;
    color: var(--mj-orange);
}

/* ---------- Images and alternating content ---------- */

.mj-picture {
    margin-block: 0 24px;
    overflow: hidden;
    background: var(--mj-orange-soft);
    border: 1px solid var(--mj-border);
    border-radius: 24px;
}

.mj-picture img {
    width: 100%;
    height: auto;
}

.mj-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(24px, 5vw, 55px);
}

.mj-feature .mj-picture {
    margin: 0;
}

.mj-feature-copy h2 {
    margin-bottom: 17px;
    font-size: clamp(26px, 4vw, 38px);
}

.mj-feature-copy p {
    color: var(--mj-muted);
    font-size: 15px;
    line-height: 1.9;
}

.mj-feature-reverse .mj-feature-media {
    order: 2;
}

/* ---------- Inner page headings ---------- */

.mj-page-hero {
    padding-block: clamp(30px, 6vw, 64px);
    background:
        radial-gradient(
            ellipse at 95% 10%,
            rgb(255 201 133 / 22%),
            transparent 55%
        ),
        #fff4e9;
    border-bottom: 1px solid var(--mj-border);
}

.mj-page-hero-inner {
    max-width: 820px;
}

.mj-page-hero h1 {
    margin-bottom: 17px;
    font-size: clamp(30px, 5vw, 49px);
}

.mj-page-lead {
    max-width: 730px;
    color: var(--mj-muted);
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.9;
}

.mj-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 18px;
    color: var(--mj-muted);
    font-size: 12px;
}

.mj-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mj-page-meta .mj-icon {
    width: 16px;
    height: 16px;
}

/* ---------- Article and contents ---------- */

.mj-article {
    padding-block: 30px 12px;
}

.mj-article-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    align-items: start;
    gap: 25px;
}

.mj-article-body {
    min-width: 0;
}

.mj-toc {
    margin-bottom: 22px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 18px;
}

.mj-toc summary {
    padding: 17px 19px;
    color: var(--mj-text);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.mj-toc[open] summary {
    border-bottom: 1px solid var(--mj-border);
}

.mj-toc ol {
    margin: 0;
    padding: 16px 20px 17px 39px;
}

.mj-toc li {
    padding-left: 3px;
    color: var(--mj-muted);
    font-size: 13px;
    line-height: 1.6;
}

.mj-toc li + li {
    margin-top: 10px;
}

.mj-toc a:hover {
    color: var(--mj-orange-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mj-content-stack {
    display: grid;
    gap: 22px;
}

.mj-content-card {
    min-width: 0;
    padding: clamp(21px, 4vw, 34px);
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 24px;
    box-shadow: 0 7px 25px rgb(98 47 10 / 4%);
    scroll-margin-top: 100px;
}

.mj-content-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 19px;
}

.mj-content-heading h2 {
    flex: 1;
    margin: 2px 0 0;
    font-size: clamp(22px, 3vw, 29px);
}

.mj-content-heading > .mj-icon {
    width: 25px;
    height: 25px;
    margin-top: 4px;
    color: var(--mj-orange);
}

.mj-content-number {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--mj-orange-dark);
    background: var(--mj-orange-soft);
    border: 1px solid #ffdbc0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
}

.mj-prose {
    color: var(--mj-muted);
    font-size: 15px;
    line-height: 1.95;
}

.mj-prose p {
    margin-bottom: 18px;
}

.mj-prose h2 {
    margin-block: 32px 16px;
    font-size: 27px;
}

.mj-prose h3 {
    margin-block: 26px 12px;
    font-size: 20px;
    letter-spacing: -.02em;
}

.mj-prose h4 {
    margin-block: 22px 10px;
    font-size: 17px;
}

.mj-prose > :first-child {
    margin-top: 0;
}

.mj-prose > :last-child {
    margin-bottom: 0;
}

.mj-prose strong {
    color: var(--mj-text);
    font-weight: 750;
}

.mj-prose a {
    color: var(--mj-orange-dark);
    text-decoration: underline;
    text-decoration-color: #ffc69a;
    text-underline-offset: 4px;
}

.mj-prose a:hover {
    text-decoration-color: currentColor;
}

.mj-prose ul,
.mj-prose ol {
    margin-block: 0 20px;
    padding-left: 23px;
}

.mj-prose li + li {
    margin-top: 9px;
}

.mj-prose li::marker {
    color: var(--mj-orange-dark);
}

.mj-prose blockquote {
    margin-block: 22px;
    padding: 17px 20px;
    background: #fff7ef;
    border-left: 3px solid var(--mj-orange);
    border-radius: 0 15px 15px 0;
}

.mj-prose hr {
    height: 1px;
    margin-block: 28px;
    background: var(--mj-border);
    border: 0;
}

.mj-prose code {
    padding: 3px 6px;
    color: var(--mj-orange-dark);
    background: var(--mj-orange-soft);
    border-radius: 5px;
    font-size: .9em;
}

.mj-prose pre {
    max-width: 100%;
    padding: 18px;
    overflow-x: auto;
    background: #fff4e8;
    border-radius: 14px;
}

.mj-prose pre code {
    padding: 0;
    background: none;
}

.mj-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-block: 21px;
    padding: 17px 18px;
    color: var(--mj-text);
    background: #fff3e5;
    border: 1px solid #ffd9b7;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.85;
}

.mj-callout > .mj-icon {
    width: 21px;
    height: 21px;
    margin-top: 3px;
    color: var(--mj-orange-dark);
}

.mj-callout p {
    margin: 0;
}

/* ---------- Numbered steps ---------- */

.mj-steps {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: mj-step;
}

.mj-step {
    position: relative;
    min-width: 0;
    padding: 21px 21px 21px 74px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 20px;
    counter-increment: mj-step;
}

.mj-step::before {
    position: absolute;
    top: 21px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--mj-white);
    background: var(--mj-orange);
    border-radius: 12px;
    content: counter(mj-step, decimal-leading-zero);
    font-size: 13px;
    font-weight: 850;
}

.mj-step h3 {
    margin: 1px 0 10px;
    font-size: 19px;
    letter-spacing: -.02em;
}

.mj-step p {
    margin-bottom: 0;
    color: var(--mj-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* ---------- Tables ---------- */

.mj-table-wrap {
    max-width: 100%;
    margin-block: 20px;
    overflow-x: auto;
    border: 1px solid var(--mj-border);
    border-radius: 15px;
    -webkit-overflow-scrolling: touch;
}

.mj-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
}

.mj-table-wrap th,
.mj-table-wrap td {
    padding: 13px 15px;
    vertical-align: top;
    border-bottom: 1px solid var(--mj-border);
}

.mj-table-wrap th {
    color: var(--mj-text);
    background: #fff0e2;
    font-weight: 750;
}

.mj-table-wrap td {
    color: var(--mj-muted);
    background: var(--mj-white);
}

.mj-table-wrap tr:last-child td {
    border-bottom: 0;
}

/* ---------- FAQ ---------- */

.mj-faq {
    display: grid;
    gap: 11px;
}

.mj-faq-item {
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 17px;
}

.mj-faq-item summary {
    position: relative;
    padding: 19px 48px 19px 20px;
    color: var(--mj-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.65;
    list-style: none;
    cursor: pointer;
}

.mj-faq-item summary::-webkit-details-marker {
    display: none;
}

.mj-faq-item summary::after {
    position: absolute;
    top: 20px;
    right: 19px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    color: var(--mj-orange-dark);
    background: var(--mj-orange-soft);
    border-radius: 7px;
    content: "+";
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.mj-faq-item[open] summary::after {
    content: "−";
}

.mj-faq-item[open] {
    border-color: #ffd0a9;
}

.mj-faq-answer {
    padding: 0 20px 21px;
    color: var(--mj-muted);
    font-size: 14px;
    line-height: 1.9;
}

.mj-faq-answer p {
    margin-bottom: 13px;
}

.mj-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ---------- Contact ---------- */

.mj-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mj-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 78px;
    padding: 18px;
    color: var(--mj-text);
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 18px;
    transition:
        background .2s ease,
        border-color .2s ease;
}

.mj-contact-card:hover {
    background: #fff5eb;
    border-color: #ffc89b;
}

.mj-contact-card > .mj-icon:first-child {
    width: 25px;
    height: 25px;
    color: var(--mj-orange-dark);
}

.mj-contact-card span {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.mj-contact-card > .mj-icon:last-child {
    width: 17px;
    height: 17px;
    color: var(--mj-muted);
}

.mj-contact-empty {
    padding: 17px 19px;
    color: var(--mj-muted);
    background: #fff3e8;
    border: 1px solid var(--mj-border);
    border-radius: 15px;
    font-size: 14px;
}

/* ---------- Return home ---------- */

.mj-back-home {
    display: flex;
    justify-content: center;
    padding-block: 32px 42px;
}

.mj-back-home .mj-btn {
    min-width: 190px;
}

/* ---------- Footer ---------- */

.mj-footer {
    padding-block: 38px 22px;
    background: #fff0e3;
    border-top: 1px solid var(--mj-border);
}

.mj-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
}

.mj-footer-brand .mj-logo {
    max-width: 100%;
    margin-bottom: 16px;
}

.mj-footer-brand .mj-logo-image {
    width: 175px;
}

.mj-footer-brand p {
    max-width: 380px;
    color: var(--mj-muted);
    font-size: 13px;
    line-height: 1.85;
}

.mj-footer-heading {
    margin: 3px 0 17px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.mj-footer-links {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.mj-footer-links a {
    color: var(--mj-muted);
    font-size: 13px;
    line-height: 1.6;
}

.mj-footer-links a:hover {
    color: var(--mj-orange-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mj-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 29px;
    padding-top: 19px;
    color: var(--mj-muted);
    border-top: 1px solid #ead8c8;
    font-size: 11px;
}

.mj-footer-bottom p {
    margin: 0;
}

/* ---------- Icon-only floating dock ---------- */

.mj-dock {
    position: fixed;
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 42px;
    pointer-events: none;
}

.mj-dock-button {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--mj-orange-dark);
    background: var(--mj-white);
    border: 1px solid #f0d6c0;
    border-radius: 50%;
    box-shadow: 0 5px 16px rgb(69 33 9 / 14%);
    pointer-events: auto;
    transition:
        color .2s ease,
        background .2s ease;
}

.mj-dock-button .mj-icon {
    width: 21px;
    height: 21px;
}

.mj-dock-button:hover {
    color: var(--mj-white);
    background: var(--mj-orange);
}

.mj-dock-customer {
    color: #ffffff;
    background: var(--mj-orange);
    border-color: var(--mj-orange);
}

.mj-dock-telegram {
    color: #1688ba;
}

.mj-dock-facebook {
    color: #1769d2;
}

.mj-dock-whatsapp {
    color: #168a48;
}

/* ---------- VPN tutorial modal ---------- */

.mj-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 18px;
}

.mj-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgb(39 23 12 / 58%);
}

.mj-modal-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 760px);
    max-height: calc(100dvh - 36px);
    overflow: hidden;
    background: var(--mj-background);
    border: 1px solid #ffe0c4;
    border-radius: 25px;
    box-shadow: 0 28px 90px rgb(0 0 0 / 25%);
}

.mj-modal-dialog:focus {
    outline: none;
}

.mj-modal-head {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 16px;
    background: var(--mj-white);
    border-bottom: 1px solid var(--mj-border);
}

.mj-modal-title {
    margin: 0 0 5px;
    font-size: 23px;
    letter-spacing: -.03em;
}

.mj-modal-description {
    max-width: 550px;
    margin: 0;
    color: var(--mj-muted);
    font-size: 12px;
    line-height: 1.75;
}

.mj-modal-close {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--mj-orange-dark);
    background: var(--mj-orange-soft);
    border: 1px solid #ffdcc0;
    border-radius: 11px;
}

.mj-modal-close .mj-icon {
    width: 20px;
    height: 20px;
}

.mj-modal-tabs {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 22px;
    background: var(--mj-white);
    border-bottom: 1px solid var(--mj-border);
}

.mj-modal-tab {
    min-height: 43px;
    padding: 9px 12px;
    color: var(--mj-muted);
    background: var(--mj-background);
    border: 1px solid var(--mj-border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 750;
}

.mj-modal-tab[aria-selected="true"] {
    color: var(--mj-white);
    background: var(--mj-orange);
    border-color: var(--mj-orange);
}

.mj-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mj-tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 15px;
}

.mj-tutorial-step {
    min-width: 0;
    padding: 14px;
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 18px;
}

.mj-tutorial-step-heading {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
}

.mj-tutorial-step-number {
    display: grid;
    flex: 0 0 26px;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--mj-white);
    background: var(--mj-orange);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
}

.mj-tutorial-step h3 {
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.mj-tutorial-step p {
    margin-bottom: 12px;
    color: var(--mj-muted);
    font-size: 12px;
    line-height: 1.8;
}

.mj-tutorial-image {
    overflow: hidden;
    background: #fff4e9;
    border: 1px solid var(--mj-border);
    border-radius: 12px;
}

.mj-tutorial-image img {
    width: 100%;
    height: auto;
}

.mj-modal-note {
    margin-top: 17px;
    padding: 15px;
    color: var(--mj-muted);
    background: #fff0e2;
    border: 1px solid #ffdcc0;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.85;
}

.mj-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

/* ---------- 404 ---------- */

.mj-error {
    padding-block: 42px 10px;
    text-align: center;
}

.mj-error-number {
    margin-bottom: 15px;
    color: var(--mj-orange);
    font-size: clamp(85px, 18vw, 145px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    text-shadow: 0 6px 0 #ffe2c8;
}

.mj-error h1 {
    margin-bottom: 16px;
    font-size: clamp(27px, 4.5vw, 42px);
}

.mj-error p {
    max-width: 600px;
    margin-inline: auto;
    color: var(--mj-muted);
    font-size: 15px;
    line-height: 1.9;
}

.mj-error .mj-picture {
    max-width: 760px;
    margin: 27px auto 0;
    text-align: left;
}

.mj-error-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 23px;
}

/* ---------- Pagination ---------- */

.mj-pagination,
.mj-content-pagination {
    margin-top: 25px;
}

.mj-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mj-pagination .page-numbers,
.mj-content-pagination .post-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    color: var(--mj-orange-dark);
    background: var(--mj-white);
    border: 1px solid var(--mj-border);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.mj-pagination .current,
.mj-content-pagination .current {
    color: var(--mj-white);
    background: var(--mj-orange);
    border-color: var(--mj-orange);
}

.mj-content-pagination p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- WordPress content ---------- */

.aligncenter {
    margin-inline: auto;
}

.alignleft {
    float: left;
    max-width: 50%;
    margin: 0 20px 15px 0;
}

.alignright {
    float: right;
    max-width: 50%;
    margin: 0 0 15px 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
    margin-top: 9px;
    color: var(--mj-muted);
    font-size: 12px;
    line-height: 1.7;
}

.wp-block-image {
    margin-block: 22px;
}

.wp-block-image img {
    border-radius: 15px;
}

.wp-block-embed {
    max-width: 100%;
    margin-block: 22px;
}

.wp-block-embed iframe {
    max-width: 100%;
}

.mj-prose::after {
    display: table;
    clear: both;
    content: "";
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
    .mj-menu-panel {
        right: var(--mj-gutter);
        left: auto;
        width: 460px;
    }

    .mj-article-sidebar {
        position: sticky;
        top: 100px;
    }

    .mj-access {
        padding-block: 42px;
    }

    .mj-dock {
        right: max(14px, calc((100vw - 1220px) / 2));
    }
}

/* ---------- Tablet and mobile ---------- */

@media (max-width: 899px) {
    .mj-access-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mj-access-intro {
        max-width: 680px;
    }

    .mj-access-intro h1 {
        font-size: clamp(28px, 5vw, 39px);
    }

    .mj-access-intro p {
        max-width: 650px;
        font-size: 14px;
    }

    .mj-domain {
        margin-top: 10px;
    }

    .mj-entry-card {
        grid-template-columns: 43px minmax(0, 1fr);
        gap: 11px;
        padding: 17px;
    }

    .mj-entry-icon {
        width: 43px;
        height: 43px;
    }

    .mj-entry-card > .mj-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 3px;
    }

    .mj-article-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mj-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }

    .mj-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --mj-header-height: 65px;
    }

    .mj-logo-image {
        width: 157px;
        max-height: 55px;
    }

    .mj-menu-toggle {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .mj-access {
        padding-block: 16px 20px;
    }

    .mj-access-layout {
        gap: 14px;
    }

    .mj-access-intro .mj-eyebrow {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .mj-access-intro h1 {
        margin-bottom: 7px;
        font-size: 27px;
        line-height: 1.2;
    }

    .mj-access-intro p {
        font-size: 12px;
        line-height: 1.65;
    }

    .mj-domain {
        margin-top: 7px;
        font-size: 11px;
    }

    .mj-route-panel {
        padding: 13px;
        border-radius: 20px;
    }

    .mj-route-panel-heading {
        margin-bottom: 10px;
    }

    .mj-route-panel-heading h2 {
        font-size: 15px;
    }

    .mj-route-caption {
        font-size: 10px;
    }

    .mj-route {
        grid-template-columns: 33px minmax(0, 1fr) 31px;
        gap: 10px;
        min-height: 59px;
        padding: 9px 11px;
        border-radius: 13px;
    }

    .mj-route-number {
        width: 33px;
        height: 33px;
        border-radius: 10px;
        font-size: 12px;
    }

    .mj-route-label {
        font-size: 13px;
    }

    .mj-route-domain {
        font-size: 10px;
    }

    .mj-route-arrow {
        width: 31px;
        height: 31px;
    }

    .mj-access-note {
        margin-top: 9px;
        font-size: 10px;
    }

    .mj-entry-section {
        padding-bottom: 25px;
    }

    .mj-entry-grid {
        gap: 10px;
    }

    .mj-entry-card {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 11px;
        padding: 16px 13px 13px;
        border-radius: 18px;
    }

    .mj-entry-copy h2 {
        font-size: 15px;
    }

    .mj-entry-copy p {
        font-size: 11px;
    }

    .mj-entry-card > .mj-btn {
        min-height: 42px;
        padding: 9px 7px;
        font-size: 12px;
    }

    .mj-entry-card > .mj-btn .mj-icon {
        width: 16px;
        height: 16px;
    }

    .mj-section-heading {
        display: block;
        margin-bottom: 21px;
    }

    .mj-section-heading p {
        margin-top: 12px;
    }

    .mj-grid-two,
    .mj-grid-three {
        grid-template-columns: 1fr;
    }

    .mj-feature {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .mj-feature-reverse .mj-feature-media {
        order: 0;
    }

    .mj-picture {
        border-radius: 19px;
    }

    .mj-card {
        padding: 22px;
        border-radius: 20px;
    }

    .mj-page-hero {
        padding-block: 28px;
    }

    .mj-page-hero h1 {
        font-size: 30px;
    }

    .mj-page-lead {
        font-size: 14px;
    }

    .mj-article {
        padding-top: 24px;
    }

    .mj-content-card {
        padding: 22px 19px;
        border-radius: 20px;
    }

    .mj-content-heading {
        gap: 10px;
        margin-bottom: 16px;
    }

    .mj-content-heading h2 {
        font-size: 23px;
    }

    .mj-prose {
        font-size: 14px;
        line-height: 1.95;
    }

    .mj-step {
        padding: 20px 17px 20px 66px;
    }

    .mj-step::before {
        top: 20px;
        left: 17px;
        width: 33px;
        height: 33px;
    }

    .mj-step h3 {
        font-size: 18px;
    }

    .mj-contact-grid {
        grid-template-columns: 1fr;
    }

    .mj-dock {
        right: max(8px, env(safe-area-inset-right));
        bottom: calc(13px + env(safe-area-inset-bottom));
        gap: 7px;
        width: 39px;
    }

    .mj-dock-button {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
    }

    .mj-dock-button .mj-icon {
        width: 19px;
        height: 19px;
    }

    .mj-modal {
        padding: 10px;
    }

    .mj-modal-dialog {
        max-height: calc(100dvh - 20px);
        border-radius: 20px;
    }

    .mj-modal-head {
        gap: 10px;
        padding: 17px 15px 14px;
    }

    .mj-modal-title {
        font-size: 20px;
    }

    .mj-modal-description {
        font-size: 11px;
    }

    .mj-modal-tabs {
        padding: 12px 15px;
    }

    .mj-modal-scroll {
        padding: 15px;
    }

    .mj-tutorial-grid {
        gap: 10px;
    }

    .mj-tutorial-step {
        padding: 11px;
        border-radius: 14px;
    }

    .mj-tutorial-step-heading {
        display: block;
    }

    .mj-tutorial-step-number {
        margin-bottom: 8px;
    }

    .mj-tutorial-step h3 {
        font-size: 13px;
    }

    .mj-tutorial-step p {
        font-size: 11px;
    }

    .mj-footer {
        padding-top: 30px;
    }

    .mj-footer-bottom {
        display: block;
        padding-right: 38px;
    }

    .mj-footer-bottom p + p {
        margin-top: 7px;
    }

    .alignleft,
    .alignright {
        float: none;
        max-width: 100%;
        margin: 20px auto;
    }
}

@media (max-width: 359px) {
    .mj-access-intro h1 {
        font-size: 24px;
    }

    .mj-route-panel {
        padding: 11px;
    }

    .mj-route {
        gap: 8px;
        padding-inline: 9px;
    }

    .mj-route-caption {
        display: none;
    }

    .mj-entry-copy h2 {
        font-size: 14px;
    }

    .mj-tutorial-grid {
        grid-template-columns: 1fr;
    }

    .mj-menu-panel {
        padding: 13px;
    }

    .mj-menu-link {
        padding-inline: 11px;
        font-size: 13px;
    }
}

/* ---------- WordPress admin toolbar ---------- */

body.admin-bar .mj-header {
    top: 32px;
}

@media (min-width: 783px) {
    body.admin-bar .mj-article-sidebar {
        top: 132px;
    }
}

@media (max-width: 782px) {
    body.admin-bar .mj-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    body.admin-bar .mj-header {
        top: 0;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Print ---------- */

@media print {
    .mj-header,
    .mj-footer,
    .mj-dock,
    .mj-modal,
    .mj-back-home,
    .mj-access-tools,
    .mj-menu-panel {
        display: none !important;
    }

    body.mj-site {
        color: #000000;
        background: #ffffff;
    }

    .mj-article-layout,
    .mj-feature {
        display: block;
    }

    .mj-content-card,
    .mj-card,
    .mj-step {
        box-shadow: none;
        break-inside: avoid;
    }
}
/* 与原 jlmayon 网站保持一致的橙白配色 */
:root {
    --mj-orange: #f45a00;
    --mj-orange-hover: #d94b00;
    --mj-orange-dark: #b83e00;
    --mj-orange-soft: #fff3e8;
    --mj-background: #fffaf5;
    --mj-white: #ffffff;
    --mj-text: #35271e;
    --mj-muted: #746357;
    --mj-border: #f0e1d5;
    --mj-gold: #f45a00;
}

body.mj-site,
.mj-access {
    background: #fffaf5;
}

.mj-header {
    background: #fffaf5;
    border-bottom-color: #f0e1d5;
}

.mj-page-hero,
.mj-section-soft,
.mj-footer {
    background: #fff3e8;
    border-color: #f0e1d5;
}

.mj-section-white,
.mj-route-panel,
.mj-card,
.mj-content-card,
.mj-entry-card,
.mj-guide-card,
.mj-contact-card,
.mj-faq-item,
.mj-step,
.mj-menu-panel,
.mj-modal-head,
.mj-modal-tabs,
.mj-tutorial-step {
    background: #ffffff;
    border-color: #f0e1d5;
}

.mj-route,
.mj-entry-icon,
.mj-card-icon,
.mj-content-number,
.mj-callout,
.mj-modal-note {
    background: #fff3e8;
    border-color: #f0e1d5;
}

.mj-btn-primary {
    color: #ffffff;
    background: #f45a00;
    border-color: #f45a00;
}

.mj-btn-primary:hover {
    color: #ffffff;
    background: #d94b00;
    border-color: #d94b00;
}

.mj-btn-secondary,
.mj-btn-soft {
    color: #b83e00;
    border-color: #f0e1d5;
}

.mj-btn-secondary {
    background: #ffffff;
}

.mj-btn-soft,
.mj-menu-link.is-current {
    background: #fff3e8;
}

.mj-route-arrow,
.mj-step::before,
.mj-tutorial-step-number,
.mj-modal-tab[aria-selected="true"] {
    color: #ffffff;
    background: #f45a00;
    border-color: #f45a00;
}

.mj-entry-icon,
.mj-card-icon,
.mj-content-number,
.mj-eyebrow,
.mj-text-link {
    color: #b83e00;
}
/* =========================================
   mayonjl：恢复上一套橙白 H5 视觉
   ========================================= */

:root {
    --mj-orange: #f45a00;
    --mj-orange-hover: #d94b00;
    --mj-orange-dark: #b83e00;
    --mj-orange-soft: #fff3e8;
    --mj-background: #fffaf5;
    --mj-white: #ffffff;
    --mj-text: #35271e;
    --mj-muted: #746357;
    --mj-border: #f0e1d5;
    --mj-width: 660px;
    --mj-gutter: 20px;
    --mj-header-height: 70px;
    --mj-shadow: 0 8px 24px rgb(112 57 17 / 6%);
}

/* 页面宽度 */

html {
    background: #fff3e8;
}

body.mj-site {
    width: 100%;
    min-width: 280px;
    margin: 0;
    color: #35271e;
    background: #fffaf5;
}

.mj-shell {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
    padding-inline: 20px;
}

.mj-main {
    min-height: 55vh;
}

/* 顶部 Logo 与汉堡 */

.mj-header {
    background: #fffaf5;
    border-bottom: 1px solid #f0e1d5;
    box-shadow: 0 4px 15px rgb(112 57 17 / 3%);
    backdrop-filter: none;
}

.mj-header-inner {
    min-height: 70px;
}

.mj-logo-image {
    width: 175px;
    max-height: 59px;
    object-fit: contain;
}

.mj-menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    color: #b83e00;
    background: #ffffff;
    border: 1px solid #f0e1d5;
    border-radius: 13px;
    box-shadow: 0 4px 12px rgb(112 57 17 / 5%);
}

.mj-menu-panel {
    right: 20px;
    left: 20px;
    width: auto;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #f0e1d5;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgb(73 32 6 / 14%);
}

.mj-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mj-menu-link {
    color: #35271e;
    background: #fffaf5;
    border-radius: 12px;
    font-size: 13px;
}

.mj-menu-link:hover,
.mj-menu-link.is-current {
    color: #b83e00;
    background: #fff3e8;
    border-color: #ffdbbb;
}

/* 首页紧凑首屏 */

.mj-access {
    padding: 20px 0 22px;
    background: #fffaf5;
}

.mj-access-layout {
    grid-template-columns: 1fr;
    gap: 16px;
}

.mj-access-intro {
    max-width: none;
    text-align: center;
}

.mj-access-intro .mj-eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
}

.mj-access-intro h1 {
    margin-bottom: 9px;
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.22;
}

.mj-access-intro p {
    max-width: 490px;
    margin-inline: auto;
    color: #746357;
    font-size: 12px;
    line-height: 1.75;
}

.mj-domain {
    margin-top: 8px;
    color: #b83e00;
    font-size: 11px;
}

.mj-route-panel {
    padding: 15px;
    background: #ffffff;
    border: 1px solid #f0e1d5;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgb(112 57 17 / 6%);
}

.mj-route-panel-heading {
    margin-bottom: 12px;
}

.mj-route-panel-heading h2 {
    font-size: 16px;
}

.mj-route-caption {
    color: #746357;
    font-size: 10px;
}

.mj-routes {
    gap: 9px;
}

.mj-route {
    grid-template-columns: 36px minmax(0, 1fr) 34px;
    gap: 11px;
    min-height: 64px;
    padding: 10px 12px;
    background: linear-gradient(115deg, #fff9f3, #fff1e5);
    border: 1px solid #ffe0c6;
    border-radius: 15px;
}

a.mj-route:hover {
    background: #ffe9d5;
    border-color: #ffbd87;
}

.mj-route-number {
    width: 36px;
    height: 36px;
    color: #b83e00;
    background: #ffffff;
    border: 1px solid #ffdcc0;
    border-radius: 11px;
    font-size: 12px;
}

.mj-route-label {
    font-size: 13px;
}

.mj-route-domain {
    color: #746357;
    font-size: 10px;
}

.mj-route-arrow {
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, #fb7018, #f45a00);
}

.mj-route.is-disabled {
    background: #faf5ef;
    border-color: #f0e1d5;
}

.mj-route.is-disabled .mj-route-arrow {
    color: #a58b76;
    background: #eee2d6;
}

.mj-access-tools {
    gap: 9px;
    margin-top: 11px;
}

.mj-access-tools .mj-btn {
    min-height: 42px;
    padding: 9px 7px;
    font-size: 12px;
}

.mj-access-note {
    margin-top: 10px;
    color: #746357;
    font-size: 10px;
}

/* 按钮恢复橙色渐变 */

.mj-btn {
    min-height: 46px;
    padding: 11px 17px;
    border-radius: 13px;
    font-size: 13px;
}

.mj-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #fb7018, #f45a00);
    border-color: #f45a00;
    box-shadow: 0 5px 14px rgb(244 90 0 / 16%);
}

.mj-btn-primary:hover {
    color: #ffffff;
    background: #d94b00;
    border-color: #d94b00;
}

.mj-btn-secondary {
    color: #b83e00;
    background: #ffffff;
    border-color: #ffd1ac;
}

.mj-btn-secondary:hover {
    background: #fff3e8;
    border-color: #ffb97f;
}

.mj-btn-soft {
    color: #b83e00;
    background: #fff3e8;
    border-color: #ffdcc0;
}

.mj-btn-soft:hover {
    background: #ffe5ce;
}

.mj-btn-home {
    color: #ffffff;
    background: linear-gradient(135deg, #fb7018, #f45a00);
    border-color: #f45a00;
    box-shadow: 0 5px 14px rgb(244 90 0 / 14%);
}

.mj-btn-home:hover {
    background: #d94b00;
    border-color: #d94b00;
}

/* Agent / App：始终左右两个卡片 */

.mj-entry-section {
    padding: 0 0 25px;
}

.mj-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mj-entry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 21px 12px 13px;
    text-align: center;
    background: linear-gradient(160deg, #ffffff, #fff5eb);
    border: 1px solid #f0dfcf;
    border-radius: 21px;
    box-shadow: 0 7px 22px rgb(112 57 17 / 6%);
}

.mj-entry-icon,
.mj-card-icon {
    width: 48px;
    height: 48px;
    color: #b83e00;
    background: linear-gradient(145deg, #fff4e6, #ffe3c6);
    border: 1px solid #ffd4ad;
    border-radius: 15px;
    box-shadow: inset 0 1px 0 #ffffff;
}

.mj-entry-copy {
    width: 100%;
}

.mj-entry-copy h2 {
    margin-bottom: 6px;
    font-size: 17px;
}

.mj-entry-copy p {
    color: #746357;
    font-size: 11px;
}

.mj-entry-card > .mj-btn {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 9px 7px;
    font-size: 12px;
}

.mj-entry-card > .mj-btn .mj-icon {
    width: 16px;
    height: 16px;
}

/* 正文分区 */

.mj-section {
    padding-block: 30px;
}

.mj-section-white {
    background: #ffffff;
}

.mj-section-soft {
    background: #fff3e8;
    border-color: #f0e1d5;
}

.mj-section-heading {
    display: block;
    margin-bottom: 21px;
}

.mj-section-heading h2 {
    font-size: clamp(24px, 4.6vw, 30px);
}

.mj-section-heading p {
    max-width: none;
    margin-top: 11px;
    color: #746357;
    font-size: 13px;
}

.mj-grid-two,
.mj-grid-three {
    grid-template-columns: 1fr;
}

.mj-grid,
.mj-stack {
    gap: 15px;
}

.mj-feature {
    grid-template-columns: 1fr;
    gap: 23px;
}

.mj-feature-reverse .mj-feature-media {
    order: 0;
}

.mj-feature-copy h2 {
    font-size: clamp(25px, 4.8vw, 32px);
}

.mj-feature-copy p {
    color: #746357;
    font-size: 14px;
    line-height: 1.95;
}

.mj-picture {
    background: #fff3e8;
    border-color: #f0e1d5;
    border-radius: 21px;
}

.mj-card,
.mj-content-card {
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            rgb(255 243 232 / 32%),
            transparent 45%
        ),
        #ffffff;
    border: 1px solid #f0e1d5;
    border-radius: 22px;
    box-shadow: 0 7px 23px rgb(112 57 17 / 5%);
}

.mj-card h3 {
    font-size: 21px;
}

.mj-card p {
    color: #746357;
    font-size: 14px;
}

.mj-guide-card {
    padding: 18px;
    background: #ffffff;
    border-color: #f0e1d5;
    border-radius: 18px;
    box-shadow: 0 5px 16px rgb(112 57 17 / 4%);
}

.mj-guide-card:hover {
    background: #fff7ef;
    border-color: #ffcc9f;
}

/* 内页 */

.mj-page-hero {
    padding-block: 29px;
    background: linear-gradient(145deg, #fff3e8, #fffaf5);
    border-color: #f0e1d5;
}

.mj-page-hero h1 {
    font-size: clamp(28px, 5vw, 35px);
}

.mj-page-lead {
    color: #746357;
    font-size: 14px;
    line-height: 1.95;
}

.mj-page-meta {
    font-size: 11px;
}

.mj-article {
    padding-block: 25px 8px;
}

.mj-article-layout {
    grid-template-columns: 1fr;
    gap: 0;
}

.mj-article-sidebar {
    position: static;
}

.mj-content-stack {
    gap: 18px;
}

.mj-content-heading {
    gap: 11px;
    margin-bottom: 18px;
}

.mj-content-heading h2 {
    font-size: 23px;
}

.mj-content-number {
    color: #b83e00;
    background: #fff3e8;
    border-color: #ffdbc0;
}

.mj-prose {
    color: #746357;
    font-size: 15px;
    line-height: 1.95;
}

.mj-prose h2 {
    font-size: 25px;
}

.mj-prose h3 {
    font-size: 20px;
}

.mj-prose a,
.mj-text-link,
.mj-eyebrow {
    color: #b83e00;
}

.mj-toc,
.mj-faq-item,
.mj-step {
    background: #ffffff;
    border-color: #f0e1d5;
}

.mj-toc {
    border-radius: 17px;
}

.mj-step {
    padding: 21px 18px 21px 70px;
    border-radius: 18px;
}

.mj-step::before {
    top: 21px;
    left: 18px;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #fb7018, #f45a00);
    border-radius: 11px;
}

.mj-step h3 {
    font-size: 18px;
}

.mj-callout,
.mj-modal-note {
    color: #746357;
    background: #fff3e8;
    border-color: #ffd9b7;
}

.mj-faq-item {
    border-radius: 16px;
}

.mj-faq-item summary {
    font-size: 14px;
}

.mj-contact-grid {
    grid-template-columns: 1fr;
}

.mj-contact-card {
    background: #ffffff;
    border-color: #f0e1d5;
    border-radius: 17px;
}

.mj-back-home {
    padding-block: 29px 36px;
}

/* 页脚 */

.mj-footer {
    padding-block: 31px 21px;
    background: #fff3e8;
    border-top-color: #f0e1d5;
}

.mj-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px;
}

.mj-footer-brand {
    grid-column: 1 / -1;
    text-align: center;
}

.mj-footer-brand .mj-logo {
    justify-content: center;
    margin-inline: auto;
}

.mj-footer-brand .mj-logo-image {
    width: 165px;
}

.mj-footer-brand p {
    max-width: 490px;
    margin-inline: auto;
    font-size: 12px;
}

.mj-footer-heading {
    font-size: 13px;
}

.mj-footer-links a {
    font-size: 12px;
}

.mj-footer-bottom {
    display: block;
    padding-right: 0;
    text-align: center;
    border-color: #f0e1d5;
    font-size: 10px;
}

.mj-footer-bottom p + p {
    margin-top: 6px;
}

/* 弹窗保持橙白 */

.mj-modal-dialog {
    width: min(100%, 660px);
    background: #fffaf5;
    border-color: #ffe0c4;
    border-radius: 23px;
}

.mj-modal-head,
.mj-modal-tabs,
.mj-tutorial-step {
    background: #ffffff;
    border-color: #f0e1d5;
}

.mj-modal-tab[aria-selected="true"],
.mj-tutorial-step-number {
    color: #ffffff;
    background: linear-gradient(135deg, #fb7018, #f45a00);
    border-color: #f45a00;
}

/* 悬浮：不占内容宽度 */

.mj-dock {
    right: max(9px, env(safe-area-inset-right));
    width: 40px;
    gap: 8px;
}

.mj-dock-button {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.mj-dock-button .mj-icon {
    width: 20px;
    height: 20px;
}

/* 桌面端居中 H5 */

@media (min-width: 820px) {
    body.mj-site {
        width: 660px;
        margin: 22px auto;
        border: 1px solid #f0e1d5;
        border-radius: 26px;
        box-shadow: 0 18px 65px rgb(112 57 17 / 8%);
    }

    .mj-header {
        border-radius: 25px 25px 0 0;
    }

    .mj-footer {
        border-radius: 0 0 25px 25px;
    }

    .mj-dock {
        right: calc(50% - 330px - 54px);
    }

    body.admin-bar .mj-article-sidebar {
        top: auto;
    }
}

/* 手机端全宽 */

@media (max-width: 819px) {
    body.mj-site {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .mj-header,
    .mj-footer {
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    .mj-header-inner {
        min-height: 65px;
    }

    .mj-logo-image {
        width: 157px;
        max-height: 55px;
    }

    .mj-access {
        padding-top: 15px;
    }

    .mj-access-layout {
        gap: 13px;
    }

    .mj-access-intro h1 {
        font-size: 25px;
    }

    .mj-access-intro p {
        font-size: 11px;
    }

    .mj-route-panel {
        padding: 12px;
    }

    .mj-route {
        min-height: 59px;
        padding: 9px 10px;
    }

    .mj-entry-copy h2 {
        font-size: 15px;
    }

    .mj-card,
    .mj-content-card {
        padding: 22px 19px;
        border-radius: 20px;
    }

    .mj-prose {
        font-size: 14px;
    }

    .mj-tutorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mj-modal {
        padding: 10px;
    }

    .mj-modal-dialog {
        max-height: calc(100dvh - 20px);
        border-radius: 20px;
    }
}

@media (max-width: 359px) {
    .mj-shell {
        padding-inline: 15px;
    }

    .mj-menu-panel {
        right: 15px;
        left: 15px;
    }

    .mj-access-intro h1 {
        font-size: 23px;
    }

    .mj-route {
        grid-template-columns: 31px minmax(0, 1fr) 30px;
        gap: 8px;
    }

    .mj-route-number {
        width: 31px;
        height: 31px;
    }

    .mj-route-arrow {
        width: 30px;
        height: 30px;
    }

    .mj-entry-grid {
        gap: 9px;
    }

    .mj-entry-card {
        padding-inline: 10px;
    }

    .mj-entry-copy h2 {
        font-size: 14px;
    }

    .mj-tutorial-grid {
        grid-template-columns: 1fr;
    }
}

/* 无 JavaScript 时菜单仍可使用 */

@media (scripting: none) {
    .mj-header-inner {
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .mj-header .mj-menu-panel {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 8px;
        box-shadow: none;
    }
}
/* 橙色顶部 */
.mj-header {
    background: #f45a00;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.mj-header-inner {
    min-height: 82px;
}

/* 白色汉堡，透明圆形底 */
.mj-menu-toggle {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    padding: 0;
    color: #ffffff;
    background: rgb(255 255 255 / 8%);
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 50%;
    box-shadow: none;
}

.mj-menu-toggle:hover,
.mj-menu-toggle[aria-expanded="true"] {
    color: #ffffff;
    background: rgb(255 255 255 / 16%);
    border-color: rgb(255 255 255 / 75%);
}

.mj-menu-toggle .mj-icon {
    width: 27px;
    height: 27px;
    stroke-width: 2;
}

.mj-menu-toggle:focus-visible {
    outline-color: #ffffff;
}

/* 未上传 Logo 时的文字颜色 */
.mj-header .mj-wordmark,
.mj-header .mj-wordmark span {
    color: #ffffff;
}

@media (min-width: 820px) {
    .mj-header {
        border-radius: 25px 25px 0 0;
    }
}

@media (max-width: 640px) {
    .mj-header-inner {
        min-height: 74px;
    }

    .mj-menu-toggle {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .mj-menu-toggle .mj-icon {
        width: 25px;
        height: 25px;
    }
}
/* 精致纯图标悬浮按钮 */
.mj-dock {
    width: 46px;
    gap: 10px;
}

.mj-dock-button {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 11px;
    background: linear-gradient(145deg, #ffffff, #fffaf6);
    border: 1px solid #f2ddcd;
    border-radius: 50%;
    box-shadow:
        0 5px 15px rgb(112 57 17 / 10%),
        inset 0 1px 0 #ffffff;
}

.mj-dock-button .mj-icon {
    width: 24px;
    height: 24px;
}

.mj-social-icon {
    stroke: none;
}

.mj-dock-customer {
    color: #ffffff;
    background: linear-gradient(145deg, #ff761a, #f45a00);
    border-color: #f45a00;
    box-shadow: 0 5px 16px rgb(244 90 0 / 23%);
}

.mj-dock-telegram {
    color: #229ed9;
}

.mj-dock-facebook {
    color: #1877f2;
}

.mj-dock-whatsapp {
    color: #169c51;
}

.mj-dock-button:hover {
    background: #fff3e8;
    border-color: #ffc99d;
}

.mj-dock-telegram:hover {
    color: #229ed9;
}

.mj-dock-facebook:hover {
    color: #1877f2;
}

.mj-dock-whatsapp:hover {
    color: #169c51;
}

.mj-dock-customer:hover {
    color: #ffffff;
    background: #d94b00;
}

@media (min-width: 820px) {
    .mj-dock {
        right: calc(50% - 330px - 58px);
    }
}

@media (max-width: 640px) {
    .mj-dock {
        width: 42px;
        gap: 8px;
    }

    .mj-dock-button {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        padding: 10px;
    }

    .mj-dock-button .mj-icon {
        width: 22px;
        height: 22px;
    }
}