* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #222;
    background: #f7f5f0;
    line-height: 1.7;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7e0d2;
    backdrop-filter: blur(10px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-mark-fallback {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.brand small {
    display: block;
    color: #7d7364;
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 15px;
}

.site-nav a {
    color: #4a4030;
}

.nav-toggle {
    display: none;
    width: 30px;
    height: 30px;
    border: 1px solid #d9d0c0;
    border-radius: 8px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #4a4030;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.hero {
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8f5ef;
    color: #0c7a55;
    font-size: 14px;
}

.hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
}

.hero p {
    margin: 0;
    color: #5c5346;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-primary {
    background: #0f7c57;
    color: #fff;
}

.btn-primary:hover {
    background: #0c6446;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    border: 1px solid #d6cfbf;
    color: #3b342b;
}

.btn-secondary:hover {
    background: #0f7c57;
    border-color: #0f7c57;
    color: #fff;
}

.trust-panel,
.side-card,
.empty-box {
    background: #fff;
    border: 1px solid #e8dfce;
    border-radius: 18px;
    padding: 22px;
}

.trust-panel h2 {
    margin: 0 0 14px;
}

.trust-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.trust-panel-head h2 {
    margin: 0;
}

.trust-panel-link {
    color: #0f7c57;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.trust-panel-link:hover {
    color: #0c6447;
}

.hero-qa-list {
    display: grid;
    gap: 12px;
}

.hero-qa-item {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f8faf8;
    border: 1px solid #e2eadf;
}

.hero-qa-item strong {
    display: block;
    color: #22312a;
    line-height: 1.5;
    font-size: 15px;
}

.section {
    padding: 28px 0;
}

.section.alt {
    background: #efe9dd;
}

.section-head {
    margin-bottom: 18px;
}

.section-head h1,
.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
}

.category-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.category-head-row h1 {
    margin: 0;
}

.category-children-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.section-head p {
    margin: 0;
    color: #6a604f;
}

.section-actions-center {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.post-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-card,
.category-card {
    background: #fff;
    border: 1px solid #e8dfce;
    border-radius: 18px;
    overflow: hidden;
}

.post-cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    line-height: 0;
    background: #f3efe7;
}

.post-cover img,
.post-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-body {
    padding: 18px;
}

.post-meta,
.article-meta,
.article-author {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #7a705e;
    font-size: 14px;
}

.badge,
.badge-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf8f3;
    color: #0d7854;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.badge-link:hover {
    background: #0f7c57;
    color: #fff;
}

.post-body h3 {
    margin: 10px 0 8px;
    font-size: 20px;
    line-height: 1.4;
}

.post-body p,
.category-card p {
    margin: 0;
    color: #5d5448;
}

.category-card {
    padding: 22px;
}

.category-card h3 {
    margin: 0 0 8px;
}

.showcase-card,
.master-profile-hero {
    background: #fff;
    border: 1px solid #e8dfce;
    border-radius: 20px;
}

.showcase-card {
    overflow: hidden;
}

.showcase-cover {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3efe7;
}

.showcase-cover img,
.showcase-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #6f6657;
    text-align: center;
    line-height: 1.6;
}

.showcase-body {
    padding: 18px;
}

.showcase-body h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.4;
}

.showcase-body p {
    margin: 0;
    color: #5d5448;
}

.master-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 24px;
    padding: 28px;
    margin-bottom: 22px;
    align-items: center;
}

.master-profile-copy {
    display: grid;
    gap: 12px;
}

.master-profile-copy h2 {
    margin: 0;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.3;
}

.master-profile-copy p {
    margin: 0;
    color: #5d5448;
    line-height: 1.8;
}

.master-profile-media {
    min-width: 0;
}

.master-profile-cover,
.master-profile-placeholder {
    display: block;
    width: 100%;
    border-radius: 18px;
    background: #f3efe7;
}

.master-profile-cover {
    max-height: 520px;
    object-fit: cover;
}

.master-profile-placeholder {
    padding: 56px 24px;
    color: #6f6657;
    text-align: center;
    line-height: 1.8;
}

.master-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.master-media-card {
    background: #fff;
    border: 1px solid #e8dfce;
    border-radius: 20px;
    overflow: hidden;
}

.master-media-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3efe7;
}

.master-media-cover img,
.master-media-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.master-media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    color: #6f6657;
    text-align: center;
    line-height: 1.7;
}

.master-media-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(15, 19, 24, 0) 0%, rgba(15, 19, 24, 0.78) 100%);
}

.consult-qrcode-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 19, 24, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 2;
}

.consult-qrcode-panel {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 24px rgba(15, 19, 24, 0.12);
    backdrop-filter: blur(4px);
}

.consult-qrcode-panel img {
    width: var(--consult-qrcode-size, 132px);
    height: var(--consult-qrcode-size, 132px);
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0.88;
}

.consult-qrcode-text {
    color: #2c241b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.has-consult-qrcode:hover .consult-qrcode-overlay,
.has-consult-qrcode:focus-visible .consult-qrcode-overlay {
    opacity: 1;
    visibility: visible;
}

.master-media-title {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

.article-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

.article-main {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e8dfce;
    padding: 28px;
}

.article-main h1 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.3;
}

.article-summary {
    color: #5f5549;
    font-size: 18px;
}

.article-cover-frame {
    position: relative;
    margin: 22px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f3efe7;
}

.article-cover-frame.is-video {
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
}

.article-cover {
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
    object-fit: contain;
    display: block;
}

.article-cover.is-video {
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}

.article-content h2,
.article-content h3 {
    margin-top: 26px;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 4px solid #0f7c57;
    background: #f3faf7;
    color: #315849;
}

.article-content-media {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 22px auto;
    border-radius: 16px;
    overflow: hidden;
}

.article-content-media > a,
.article-content-media > img {
    display: block;
    max-width: 100%;
}

.article-content-media > img {
    height: auto;
}

.article-content-media .consult-qrcode-overlay {
    border-radius: inherit;
}

.article-rich-embed {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #e5ddd0;
    border-radius: 18px;
    background: #fbf8f3;
}

.article-rich-embed-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.article-rich-embed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fee4e2;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.article-rich-embed-title {
    display: block;
    font-size: 18px;
    line-height: 1.6;
    color: #2f2a24;
}

.article-rich-embed-note {
    margin: 0;
    color: #6a6258;
}

.article-rich-embed-actions {
    margin: 4px 0 0;
    text-align: center;
}

.article-rich-embed-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #0f7c57;
    color: #fff;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.article-rich-embed-link:hover {
    background: #0b6245;
    color: #fff;
}

.side-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #ece4d7;
}

.side-link:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pager {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.pager a {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0d8ca;
    border-radius: 10px;
}

.pager a.active {
    background: #0f7c57;
    border-color: #0f7c57;
    color: #fff;
}

.site-footer {
    padding: 52px 0 34px;
    background:
        radial-gradient(circle at top right, rgba(15, 124, 87, 0.12), transparent 28%),
        #1e1a16;
    color: #d3c8b7;
}

.site-footer a {
    color: inherit;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: start;
}

.footer-top.footer-top-no-side {
    grid-template-columns: 1fr;
}

.footer-nav-board {
    min-width: 0;
}

.footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px;
}

.footer-nav-group,
.footer-links-section {
    min-width: 0;
}

.site-footer .footer-nav-toggle {
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f5efe4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 700;
    text-align: left;
    cursor: default;
    box-shadow: none;
}

.site-footer .footer-nav-toggle:hover {
    background: transparent;
    color: #f5efe4;
    transform: none;
}

.footer-nav-toggle-label {
    display: block;
    font-size: 20px;
    line-height: 1.4;
}

.footer-nav-chevron {
    display: none;
    width: 10px;
    min-width: 10px;
    height: 10px;
    border-right: 2px solid #9dacbf;
    border-bottom: 2px solid #9dacbf;
    transform: rotate(45deg);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.footer-nav-content {
    margin-top: 14px;
}

.footer-nav-content a {
    display: block;
    padding: 5px 0;
    color: #c6bbaa;
    font-size: 15px;
    line-height: 1.65;
    transition: color 0.18s ease;
}

.footer-nav-content a:hover {
    color: #ffffff;
}

.footer-nav-parent-link {
    margin-bottom: 6px;
    color: #f1e7d8 !important;
    font-weight: 600;
}

.footer-side-panel {
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.footer-side-panel img {
    width: 100%;
    max-width: 168px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    background: #fff;
}

.footer-side-panel strong {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #f1e7d8;
    font-weight: 600;
}

.footer-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-platform-panel {
    margin-top: 26px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.footer-platform-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-platform-head h3 {
    margin: 0;
    font-size: 24px;
    color: #f5efe4;
}

.footer-platform-head p {
    margin: 0;
    color: #bcae9a;
    font-size: 14px;
    line-height: 1.6;
}

.footer-platform-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.footer-platform-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.footer-platform-button {
    width: 100%;
    min-height: 92px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    color: #f5efe4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    text-align: left;
    box-shadow: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.footer-platform-button:hover,
.footer-platform-button.is-active {
    transform: translateY(-1px);
    border-color: rgba(15, 124, 87, 0.48);
    background: linear-gradient(180deg, rgba(15, 124, 87, 0.24), rgba(15, 124, 87, 0.1));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.footer-platform-button-title {
    display: block;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.footer-platform-button-note {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: #c7bbaa;
}

.footer-platform-card[hidden] {
    display: none !important;
}

.footer-platform-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-platform-card-media a,
.footer-platform-card-media img {
    display: block;
}

.footer-platform-card img {
    width: 100%;
    max-width: 148px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    background: #fff;
}

.footer-platform-card-text strong {
    display: block;
    font-size: 18px;
    line-height: 1.4;
    color: #f6efe4;
}

.footer-platform-card-text span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #c7bbaa;
}

.friend-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.friend-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1e9dc;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.friend-link-list a:hover {
    background: rgba(15, 124, 87, 0.24);
    border-color: rgba(15, 124, 87, 0.45);
    color: #ffffff;
}

.footer-contact-bar {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 26px;
    color: #b5aa99;
    font-size: 15px;
    line-height: 1.7;
}

.footer-records {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    color: #a69785;
    font-size: 14px;
    line-height: 1.7;
}

.footer-records a:hover {
    color: #ffffff;
}

.qrcode-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.qrcode-grid-light {
    margin-top: 18px;
}

.qrcode-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.qrcode-card.light {
    background: #fff;
    border-color: #e8dfce;
    color: #3a342d;
}

.qrcode-card img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #fff;
}

.qrcode-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.qrcode-card span {
    display: block;
    font-size: 13px;
    color: inherit;
    opacity: 0.85;
}

.chatbot-widget {
    position: fixed;
    right: 18px;
    top: 38%;
    bottom: auto;
    z-index: 40;
}

.chatbot-float-button {
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.chatbot-float-button img {
    display: block;
    width: auto;
    height: auto;
    max-width: 108px;
    max-height: 128px;
    object-fit: contain;
}

.chatbot-float-dot {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.chatbot-panel {
    position: fixed;
    right: 18px;
    bottom: 25px;
    width: min(360px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #e8dfce;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(32, 29, 25, 0.18);
    overflow: hidden;
}

.chatbot-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #0f7c57;
    color: #fff;
}

.chatbot-panel-header strong,
.chatbot-panel-header span {
    display: block;
}

.chatbot-panel-header span {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.9;
}

.chatbot-close {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.chatbot-messages {
    max-height: 360px;
    min-height: 210px;
    padding: 14px;
    overflow: auto;
    background: #f9f7f3;
}

.chatbot-time-divider {
    margin: 4px 0 10px;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
    color: #8b816f;
}

.chatbot-message {
    display: flex;
    margin-bottom: 8px;
}

.chatbot-message-assistant,
.chatbot-message-bot {
    justify-content: flex-start;
}

.chatbot-message-user {
    justify-content: flex-end;
}

.chatbot-bubble-wrap {
    max-width: 84%;
}

.chatbot-bubble {
    padding: 9px 12px;
    border-radius: 15px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.55;
}

.chatbot-message-assistant .chatbot-bubble,
.chatbot-message-bot .chatbot-bubble {
    background: #fff;
    border: 1px solid #e5dece;
    color: #3a342d;
}

.chatbot-message-assistant .chatbot-bubble.chatbot-bubble-guide,
.chatbot-message-bot .chatbot-bubble.chatbot-bubble-guide {
    background: #eef6ff;
    border-color: #d7e7fb;
    color: #4d6480;
    font-size: 12px;
    line-height: 1.6;
}

.chatbot-message-user .chatbot-bubble {
    background: #0f7c57;
    color: #fff;
}

.chatbot-message-time {
    display: none;
}

.chatbot-bubble.is-collect,
.chatbot-bubble.is-recommendation {
    padding: 11px 12px 12px;
}

.chatbot-collect-question,
.chatbot-recommend-title {
    font-weight: 600;
}

.chatbot-collect-hint {
    margin-top: 8px;
    color: #7a6f5e;
    font-size: 12px;
}

.chatbot-collect-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chatbot-collect-option {
    padding: 7px 12px;
    border: 1px solid #d8cfbf;
    border-radius: 999px;
    background: #fff;
    color: #4a4030;
    font: inherit;
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
}

.chatbot-collect-option:hover {
    border-color: #0f7c57;
    color: #0f7c57;
}

.chatbot-recommend-title {
    margin-bottom: 10px;
}

.chatbot-recommend-grid {
    display: grid;
    gap: 10px;
}

.chatbot-recommend-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border: 1px solid #e8dfce;
    border-radius: 14px;
    background: #fffdfa;
}

.chatbot-recommend-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-recommend-name {
    font-weight: 600;
    color: #352d24;
}

.chatbot-recommend-role,
.chatbot-recommend-desc {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.5;
    color: #7a6f5e;
}

.chatbot-recommend-action {
    margin-top: 8px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: #0f7c57;
    color: #fff;
    font: inherit;
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
}

.chatbot-suggestions {
    padding: 0 16px 14px;
    background: #fff;
}

.chatbot-suggestions.is-collapsed {
    padding: 0 16px 8px;
}

.chatbot-suggestions-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
}

.chatbot-suggestions.is-collapsed .chatbot-suggestions-head {
    justify-content: center;
    margin-bottom: 0;
}

.chatbot-suggestions-title {
    font-size: 13px;
    color: #6a604f;
    position: absolute;
    left: 0;
}

.chatbot-suggestions.is-collapsed .chatbot-suggestions-title {
    display: none;
}

.chatbot-suggestions-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f7c57;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    cursor: pointer;
}

.chatbot-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chatbot-suggestion-list[hidden] {
    display: none !important;
}

.chatbot-suggestion {
    padding: 8px 12px;
    border: 1px solid #ddd4c6;
    border-radius: 999px;
    background: #fff;
    color: #4a4030;
    cursor: pointer;
}

.chatbot-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid #efe7d8;
    background: #fff;
}

.chatbot-input {
    min-height: 88px;
    padding: 10px 12px;
    border: 1px solid #ddd4c6;
    border-radius: 14px;
    resize: none;
    font: inherit;
}

.chatbot-submit {
    min-width: 72px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #0f7c57;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 980px) {
    .hero-grid,
    .about-layout,
    .article-layout,
    .post-grid,
    .showcase-grid,
    .master-post-grid,
    .master-profile-hero,
    .category-grid,
    .footer-grid,
    .qrcode-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .nav-wrap {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 210px;
        max-width: min(280px, calc(100vw - 24px));
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid #e7e0d2;
        border-radius: 16px;
        box-shadow: 0 14px 32px rgba(31, 26, 20, 0.14);
        backdrop-filter: blur(10px);
        z-index: 20;
    }

    .site-nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .site-nav a:hover {
        background: #f5f0e7;
    }

    .nav-open .site-nav {
        display: flex;
    }

    .nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .chatbot-widget {
        right: 12px;
        top: auto;
        bottom: 28px;
        display: flex;
        align-items: flex-end;
    }

    .chatbot-float-button img {
        max-width: 60px;
        max-height: 74px;
    }

    .chatbot-panel {
        position: absolute;
        right: 0;
        bottom: calc(100% + 4px);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .site-footer {
        padding: 26px 0 28px;
    }

    .footer-top {
        gap: 16px;
    }

    .footer-nav-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-nav-group,
    .footer-links-section {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-nav-group:first-child {
        border-top: 0;
    }

    .site-footer .footer-nav-toggle {
        min-height: 56px;
        cursor: pointer;
    }

    .footer-nav-toggle-label {
        font-size: 18px;
    }

    .footer-nav-chevron {
        display: block;
    }

    .footer-nav-content {
        margin-top: 0;
        padding: 0 0 16px;
    }

    .footer-nav-content[hidden] {
        display: none !important;
    }

    .footer-nav-group.is-expanded .footer-nav-chevron,
    .footer-links-section.is-expanded .footer-nav-chevron {
        transform: rotate(-135deg);
    }

    .footer-side-panel {
        padding: 10px;
        border-radius: 18px;
    }

    .footer-side-panel img {
        max-width: 126px;
    }

    .footer-platform-panel {
        margin-top: 18px;
        padding: 18px;
        border-radius: 20px;
    }

    .footer-platform-head {
        display: block;
        margin-bottom: 14px;
    }

    .footer-platform-head h3 {
        font-size: 20px;
    }

    .footer-platform-head p {
        margin-top: 6px;
        font-size: 13px;
    }

    .footer-platform-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-platform-item {
        gap: 10px;
    }

    .footer-platform-button {
        min-height: 78px;
        padding: 16px;
        border-radius: 18px;
    }

    .footer-platform-button-title {
        font-size: 17px;
    }

    .footer-platform-card {
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
    }

    .footer-platform-card img {
        max-width: 148px;
        margin: 0 auto;
    }

    .footer-platform-card-text strong {
        font-size: 18px;
    }

    .friend-link-list {
        gap: 10px;
    }

    .friend-link-list a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 14px;
    }

    .footer-contact-bar,
    .footer-records {
        justify-content: flex-start;
        font-size: 14px;
    }

    .article-main,
    .trust-panel,
    .side-card,
    .empty-box {
        padding: 18px;
        border-radius: 16px;
    }

    .hero {
        padding-top: 28px;
    }

    .site-nav {
        min-width: 190px;
        font-size: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand strong {
        display: block;
        font-size: 15px;
        line-height: 1.35;
    }

    .brand small {
        font-size: 12px;
    }

    .trust-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-head-row {
        align-items: flex-start;
    }

    .category-children-buttons {
        justify-content: flex-start;
    }

    .chatbot-panel {
        width: min(100vw - 18px, 360px);
        bottom: calc(100% + 4px);
    }

    .chatbot-form {
        grid-template-columns: 1fr;
    }

    .chatbot-widget {
        bottom: 28px;
    }

    .chatbot-float-button img {
        max-width: 66px;
        max-height: 81px;
    }
}
