.xxsf-page {
    --xxsf-ink: #18392f;
    --xxsf-muted: #455c53;
    --xxsf-line: #d9e4db;
    --xxsf-soft: #f2f6ee;
    --xxsf-gold: #cc881c;
    color: var(--xxsf-ink);
    background: #fff;
    overflow-wrap: anywhere;
}
.xxsf-article {
    max-width: 1232px;
    margin-inline: auto;
    padding: 0 clamp(18px, 3vw, 40px) clamp(42px, 6vw, 78px);
    font-size: 17px;
    line-height: 1.72;
}
.xxsf-article h1, .xxsf-article h2, .xxsf-article h3 {
    margin: 0;
    color: var(--xxsf-ink);
    font-family: inherit;
    font-weight: 750;
    text-wrap: pretty;
}
.xxsf-article p, .xxsf-article figure { margin: 0; }
.xxsf-article a { color: #245943; text-underline-offset: .18em; }
.xxsf-article a:hover { color: #143c2b; }
.xxsf-article :where(a, summary):focus-visible {
    outline: 2px solid #216249;
    outline-offset: 4px;
    border-radius: 2px;
}
.xxsf-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0 9px;
    align-items: baseline;
    padding: 14px 0;
    font-size: .8rem;
    color: var(--xxsf-muted);
}
.xxsf-opening {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 52px);
    padding: 10px 0 28px;
    border-bottom: 1px solid var(--xxsf-line);
}
.xxsf-opening.xxsf-no-cover { grid-template-columns: minmax(0, 1fr); }
.xxsf-no-cover .xxsf-intro { max-width: 46rem; }
.xxsf-opening h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.14;
    margin: 6px 0 12px;
    letter-spacing: -.02em;
}
.xxsf-opening .xxsf-kicker { font-weight: 700; font-size: .86rem; color: #3a5f4f; }
.xxsf-opening .xxsf-lead { color: #344c42; line-height: 1.62; }
.xxsf-dates {
    padding: 10px 15px 12px;
    border-inline-start: 3px solid var(--xxsf-gold);
    border-radius: 8px;
    background: var(--xxsf-soft);
    font-size: .91rem;
    line-height: 1.55;
}
.xxsf-dates h2 { font-size: 1.02rem; }
.xxsf-dates ul, .xxsf-checklist ul { margin: .35em 0 0; padding-inline-start: 1.2em; }
.xxsf-dates li + li { margin-top: .35em; }
.xxsf-dates a { font-size: .88em; text-decoration: underline; }
.xxsf-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: var(--xxsf-soft);
    object-fit: cover;
}
.xxsf-cover figcaption { margin: 6px 0 0; color: var(--xxsf-muted); font-size: .82rem; }
.xxsf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(155px, 21%);
    gap: clamp(24px, 4.5vw, 66px);
    align-items: start;
    padding-top: 23px;
}
.xxsf-body { grid-column: 1; grid-row: 1; min-width: 0; }
.xxsf-toc {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 105px;
    border-inline-start: 1px solid var(--xxsf-line);
    padding: 5px 0 5px 15px;
    font-size: .9rem;
}
body.admin-bar .xxsf-toc { top: 137px; }
.xxsf-toc p { font-weight: 750; }
.xxsf-toc ol, .xxsf-mobile-toc ol { padding-inline-start: 1.25em; margin: 4px 0; }
.xxsf-toc a, .xxsf-mobile-toc a { display: inline-block; padding: 6px 0; }
.xxsf-mobile-toc { display: none; }
.xxsf-section {
    padding: clamp(20px, 3vw, 34px) 0;
    border-bottom: 1px solid var(--xxsf-line);
    scroll-margin-top: 118px;
}
body.admin-bar .xxsf-section { scroll-margin-top: 158px; }
.xxsf-section:first-of-type { padding-top: 0; }
.xxsf-section h2 { font-size: clamp(1.42rem, 2.5vw, 1.88rem); line-height: 1.27; margin-bottom: .7em; }
.xxsf-section h3 { font-size: 1.07rem; line-height: 1.36; margin-bottom: .42em; }
.xxsf-section p + p { margin-top: .7em; }
.xxsf-section p a, .xxsf-section li a { text-decoration: underline; }
.xxsf-itinerary .xxsf-subsections {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    counter-reset: xxsf-choice;
    gap: 12px;
    align-items: start;
}
.xxsf-itinerary .xxsf-subsections > section {
    position: relative;
    counter-increment: xxsf-choice;
    border: 1px solid var(--xxsf-line);
    border-radius: 12px;
    padding: 20px 22px 20px 64px;
    background: #fbfcf9;
    font-size: 1em;
    line-height: 1.75;
}
.xxsf-itinerary .xxsf-subsections > section::before {
    content: counter(xxsf-choice, decimal-leading-zero);
    position: absolute;
    inset: 19px auto auto 19px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9f0e6;
    color: #28513f;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
}
.xxsf-itinerary .xxsf-subsections h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}
.xxsf-itinerary .xxsf-subsections p + p {
    margin-top: 12px;
}
.xxsf-train ol {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0;
    counter-reset: xxsf-step;
    list-style: none;
}
.xxsf-train li {
    position: relative;
    counter-increment: xxsf-step;
    padding: 2px 0 2px 42px;
}
.xxsf-train li::before {
    content: counter(xxsf-step);
    position: absolute;
    inset: 2px auto auto 0;
    width: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: var(--xxsf-soft);
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
}
.xxsf-train li > strong:first-child { display: block; margin-bottom: 4px; }
.xxsf-train .xxsf-related { margin: 15px 0 0 42px; font-size: .93rem; }
.xxsf-celebrations .xxsf-subsections section + section { margin-top: 19px; }
.xxsf-checklist li + li { margin-top: .6em; }
.xxsf-question, .xxsf-mobile-toc {
    padding: 0 13px;
    border: 1px solid var(--xxsf-line);
    border-radius: 8px;
}
.xxsf-question + .xxsf-question { margin-top: 8px; }
.xxsf-question summary, .xxsf-mobile-toc summary {
    padding-block: 9px;
    min-height: 44px;
    cursor: pointer;
    font-weight: 700;
}
.xxsf-question p { padding: 0 0 13px; }
.xxsf-next {
    margin-top: 24px;
    border-radius: 10px;
    background: var(--xxsf-soft);
    padding: clamp(14px, 2.5vw, 23px);
}
.xxsf-next a {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 15px;
    border-radius: 7px;
    background: #1b4436;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.xxsf-next a:hover { background: #0d3326; color: #fff; }
@media (max-width: 780px) {
    .xxsf-layout { display: block; padding-top: 18px; }
    .xxsf-toc { display: none; }
    .xxsf-mobile-toc { display: block; margin-bottom: 22px; }
    .xxsf-mobile-toc ol { margin-bottom: 10px; }
    .xxsf-mobile-toc a { min-height: 44px; padding-block: 9px; }
    .xxsf-opening { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 19px; }
    .xxsf-cover img { aspect-ratio: 16 / 9; }
    .xxsf-itinerary .xxsf-subsections { grid-template-columns: minmax(0, 1fr); }
    .xxsf-section { scroll-margin-top: 94px; }
    body.admin-bar .xxsf-section { scroll-margin-top: 140px; }
}

.xxsf-article .xxsf-body { font-size: 1.075rem; line-height: 1.72; }
.xxsf-article .xxsf-cover img { aspect-ratio: 16 / 11; }
.xxsf-payment .xxsf-cover img { object-position: 50% 43%; }
.xxsf-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 5px;
}
.xxsf-quick-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: underline;
}
.xxsf-pay-groups {
    display: grid;
    gap: 14px;
}
.xxsf-pay-groups section {
    border: 1px solid var(--xxsf-line);
    border-radius: 12px;
    padding: clamp(13px, 2vw, 21px);
    background: #fff;
}
.xxsf-pay-groups h3 { font-size: 1.15rem; }
.xxsf-pay-groups ol, .xxsf-pay-groups ul, .xxsf-pay-fees ul {
    padding-inline-start: 1.4em;
    margin: .55em 0 0;
}
.xxsf-pay-groups li + li, .xxsf-pay-fees li + li { margin-top: .46em; }
.xxsf-pay-setup .xxsf-pay-groups section { background: #f6f8f4; }
.xxsf-pay-setup li::marker { color: #28583f; font-weight: 700; }
.xxsf-pay-checkout .xxsf-pay-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xxsf-pay-checkout .xxsf-pay-groups h3 {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 5px;
    background: var(--xxsf-soft);
}
.xxsf-pay-backup .xxsf-pay-groups section {
    border-inline-start: 4px solid #b38440;
    background: #fcfaf4;
}
.xxsf-pay-tail { margin-top: 15px; }
.xxsf-pay-fees .xxsf-pay-tail { margin-top: 0; }
.xxsf-pay-tail ul + p { margin-top: 12px; }
.xxsf-pay-checkout .xxsf-pay-tail {
    padding: 12px 15px;
    background: #f9f2e3;
    border-radius: 9px;
}
.xxsf-article .xxsf-scene {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding: 11px;
    border: 1px solid var(--xxsf-line);
    border-radius: 12px;
    background: var(--xxsf-soft);
}
.xxsf-scene img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.56;
    object-fit: cover;
    border-radius: 7px;
}
.xxsf-scene-cashier img { aspect-ratio: 845 / 575; }
.xxsf-scene-flower img { object-position: 50% 40%; }
.xxsf-scene figcaption { color: var(--xxsf-muted); font-size: .96rem; line-height: 1.6; }
.xxsf-scene figcaption strong, .xxsf-scene figcaption span { display: block; }
.xxsf-scene figcaption strong { margin-bottom: 4px; color: var(--xxsf-ink); }
.xxsf-celebrations .xxsf-subsections section {
    border-inline-start: 3px solid #a8bea7;
    padding-inline-start: 15px;
}
@media (max-width: 780px) {
    .xxsf-article .xxsf-cover img { aspect-ratio: 16 / 9; }
    .xxsf-article .xxsf-body { font-size: 17px; }
    .xxsf-itinerary .xxsf-subsections > section { padding: 16px 16px 17px; }
    .xxsf-itinerary .xxsf-subsections > section::before { inset: 17px auto auto 16px; width: 28px; height: 28px; }
    .xxsf-itinerary .xxsf-subsections h3 { min-height: 30px; padding-inline-start: 39px; }
}
@media (max-width: 600px) {
    .xxsf-article .xxsf-scene, .xxsf-pay-checkout .xxsf-pay-groups {
        grid-template-columns: minmax(0, 1fr);
    }
}

.xxsf-opening .xxsf-subtitle {
    margin: -2px 0 11px;
    color: #315747;
    font-size: clamp(1.04rem, 1.45vw, 1.28rem);
    font-weight: 700;
    line-height: 1.35;
}
@media (max-width: 780px) {
    .xxsf-opening :lang(zh) h1, .xxsf-article:lang(zh) .xxsf-opening h1 {
        font-size: clamp(1.68rem, 7.6vw, 2.16rem);
    }
}

.xxsf-first-step + .xxsf-first-step {
    border-top: 1px solid var(--xxsf-line);
    margin-top: 16px;
    padding-top: 16px;
}

.xxsf-first-step > h3 {
    font-size: 1.13em;
    line-height: 1.45;
    margin: 0 0 7px;
}

.xxsf-body .xxsf-driver-card {
    margin: 10px 0 0;
    padding: 14px 18px;
    border: 1px solid var(--xxsf-line);
    border-radius: 10px;
    background: #f3f7ee;
    font-style: normal;
    line-height: 1.75;
}

.xxsf-first-links {
    padding-top: 22px;
}

.xxsf-packing .xxsf-first-step > ul {
    margin: .45rem 0 0;
    padding-inline-start: 1.45em;
}

.xxsf-packing .xxsf-first-step li + li {
    margin-top: .45em;
}

.xxsf-photo-quick {
    border: 1px solid var(--xxsf-line);
    border-radius: 14px;
    background: var(--xxsf-soft);
    padding: 4px 18px;
}
.xxsf-photo-quick p {
    padding: 11px 0;
    margin: 0;
}
.xxsf-photo-quick p + p {
    border-top: 1px solid var(--xxsf-line);
    margin-top: 0;
}
.xxsf-photo-quick .xxsf-photo-quick-note {
    color: var(--xxsf-muted);
    font-size: .9em;
}
.xxsf-photo-example {
    margin: .65rem 0 1rem;
}
.xxsf-photo-example img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 55%;
    border-radius: 12px;
}
.xxsf-photo-example--palace img { object-position: 50% 76%; }
.xxsf-photo-example--bund img { object-position: 50% 85%; }
.xxsf-photo-example figcaption {
    margin-top: .4rem;
    color: var(--xxsf-muted);
    font-size: .9em;
}
@media (max-width: 620px) {
    .xxsf-photo-quick { padding-inline: 13px; }
    .xxsf-photo-example img { aspect-ratio: 4 / 3; }
}

.xxsf-photo-opening {
    grid-template-areas: "intro gallery" "card card";
    column-gap: clamp(18px, 3vw, 42px);
    row-gap: 24px;
}
.xxsf-photo-opening .xxsf-intro { grid-area: intro; }
.xxsf-photo-opening .xxsf-photo-card {
    grid-area: card;
    padding: 0;
    border: 0;
}
.xxsf-photo-opening .xxsf-photo-card h2 { margin-bottom: .55em; }
.xxsf-photo-opening .xxsf-photo-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}
.xxsf-photo-opening .xxsf-photo-quick p { padding: 12px 15px; }
.xxsf-photo-opening .xxsf-photo-quick p + p { border-top: 0; }
.xxsf-photo-opening .xxsf-photo-quick p + p:not(.xxsf-photo-quick-note) {
    border-inline-start: 1px solid var(--xxsf-line);
}
.xxsf-photo-opening .xxsf-photo-quick .xxsf-photo-quick-note {
    grid-column: 1 / -1;
    border-top: 1px solid var(--xxsf-line);
}
.xxsf-photo-quick-title { display: block; margin-bottom: .22em; }
.xxsf-photo-quick-line { display: block; line-height: 1.48; }
.xxsf-photo-quick-line strong { color: var(--xxsf-muted); font-size: .88em; }
.xxsf-photo-opening .xxsf-photo-gallery {
    grid-area: gallery;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.xxsf-photo-gallery li { min-width: 0; }
.xxsf-photo-gallery a {
    display: block;
    text-align: center;
    font-size: .88rem;
    text-decoration: underline;
    text-underline-offset: .15em;
}
.xxsf-photo-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 65%;
    margin-bottom: .3em;
    border-radius: 9px;
}
.xxsf-photo-gallery-palace img { object-position: center 85%; }
.xxsf-photo-gallery-bund img { object-position: center 85%; }
.xxsf-first-links:has(> h2) h2 { font-size: 1.22rem; margin: 0 0 .4em; }
.xxsf-first-links:has(> h2) ul { padding-inline-start: 1.25em; margin: 0; }
.xxsf-first-links:has(> h2) a { text-decoration: underline; }
@media (max-width: 900px) {
    .xxsf-photo-opening { grid-template-areas: "intro" "card" "gallery"; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
    .xxsf-photo-opening .xxsf-photo-quick { grid-template-columns: minmax(0, 1fr); }
    .xxsf-photo-opening .xxsf-photo-quick p { padding: 9px 12px; }
    .xxsf-photo-opening .xxsf-photo-quick p + p:not(.xxsf-photo-quick-note) {
        border-inline-start: 0;
        border-top: 1px solid var(--xxsf-line);
    }
}

.xxsf-reader-opening {
    grid-template-areas: "intro cover" "card card";
    row-gap: 24px;
}
.xxsf-reader-opening.xxsf-no-cover { grid-template-areas: "intro" "card"; }
.xxsf-reader-opening .xxsf-intro { grid-area: intro; }
.xxsf-reader-opening .xxsf-cover { grid-area: cover; }
.xxsf-reader-opening .xxsf-reader-card {
    grid-area: card;
    padding: 0;
    border: 0;
}
.xxsf-reader-card h2 { margin-bottom: .55em; }
.xxsf-reader-card ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--xxsf-line);
    border-radius: 14px;
    background: var(--xxsf-soft);
}
.xxsf-reader-card li { padding: 13px 15px; }
.xxsf-reader-card li + li { border-inline-start: 1px solid var(--xxsf-line); }
.xxsf-reader-card a {
    display: inline-block;
    margin-bottom: .25em;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .15em;
}
.xxsf-reader-card li p { line-height: 1.5; }
.xxsf-reader-scenario ul {
    margin: .75rem 0 0;
    padding-inline-start: 1.25em;
}
@media (max-width: 900px) {
    .xxsf-reader-opening {
        grid-template-areas: "intro" "card" "cover";
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 620px) {
    .xxsf-reader-card ul { grid-template-columns: minmax(0, 1fr); }
    .xxsf-reader-card li { padding: 9px 12px; }
    .xxsf-reader-card li + li {
        border-inline-start: 0;
        border-top: 1px solid var(--xxsf-line);
    }
}

.xxsf-intro > .xxsf-dates { margin-top: 14px; }
.xxsf-lead a, .xxsf-data-table a { text-decoration: underline; }
.xxsf-anchor {
    display: block;
    scroll-margin-top: 118px;
}
body.admin-bar .xxsf-anchor { scroll-margin-top: 158px; }
.xxsf-revised-body .xxsf-section > ol,
.xxsf-revised-body .xxsf-section > ul {
    margin: 0 0 1em;
    padding-inline-start: 1.55em;
}
.xxsf-revised-body li + li { margin-top: .75em; }
.xxsf-data-table {
    width: 100%;
    margin: 12px 0 16px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--xxsf-line);
    border-radius: 12px;
    color: var(--xxsf-ink);
    overflow: hidden;
}
.xxsf-data-table th, .xxsf-data-table td {
    padding: 12px 14px;
    text-align: start;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid var(--xxsf-line);
}
.xxsf-data-table thead th { background: #e9f1e7; font-weight: 750; }
.xxsf-data-table tbody th { font-weight: 700; }
.xxsf-data-table tbody tr:nth-child(even) { background: #f7faf6; }
.xxsf-data-table tbody tr:last-child > * { border-bottom: 0; }
.xxsf-cell-label { display: none; }
@media (max-width: 740px) {
    .xxsf-anchor { scroll-margin-top: 94px; }
    body.admin-bar .xxsf-anchor { scroll-margin-top: 140px; }
    .xxsf-data-table, .xxsf-data-table tbody, .xxsf-data-table tr,
    .xxsf-data-table tbody th, .xxsf-data-table td { display: block; }
    .xxsf-data-table { border: 0; border-radius: 0; overflow: visible; }
    .xxsf-data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .xxsf-data-table tbody tr {
        margin-bottom: 10px;
        overflow: hidden;
        border: 1px solid var(--xxsf-line);
        border-radius: 10px;
        background: #fff;
    }
    .xxsf-data-table tbody th { background: #e9f1e7; }
    .xxsf-data-table tbody tr > :last-child { border-bottom: 0; }
    .xxsf-cell-label { display: block; font-weight: 700; }
}

@media (min-width: 741px) {
    [data-weekly-guide] .xxsf-reader-card ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
[data-weekly-guide] .xxsf-faq {
    border: 1px solid var(--xxsf-line);
    border-radius: 9px;
    margin: .55em 0;
    padding: .55em .85em;
}
[data-weekly-guide] .xxsf-faq summary {
    cursor: pointer;
    font-weight: 700;
    padding-block: .25em;
}
[data-weekly-guide] .xxsf-faq p { margin: .5em 0 .25em; }
