.pq-page {
    --pq-orange: #ff6a00;
    --pq-bg: #f2f2f2;
    --pq-card: #fff;
    --pq-text: #20242a;
    --pq-muted: #666d76;
    --pq-line: #e8e8e8;
    background: var(--pq-bg);
    color: var(--pq-text);
    padding: 22px 20px 48px;
    font-size: 14px;
}
.pq-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
    gap: 22px;
    max-width: 1340px;
    margin: auto;
}
.pq-card { background: var(--pq-card); }
.pq-sidebar { display: grid; align-content: start; gap: 22px; }
.pq-switch { display: flex; }
.pq-switch a { padding: 10px 32px; border-top: 2px solid transparent; font-size: 17px; }
.pq-switch .is-current { border-color: var(--pq-orange); }
.pq-switch small { padding: 0 4px; margin-left: 4px; background: var(--pq-orange); color: #fff; font-size: 9px; vertical-align: middle; }
.pq-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(180px, 1.12fr) 108px;
    align-items: center;
    gap: 16px;
    min-height: 78px;
    padding: 0 20px 0 34px;
    color: #552600;
    background: linear-gradient(115deg, #ff8d5c, #ffe1ae 53%, #fff0dd);
    overflow: hidden;
}
.pq-hero h1 { margin: 0; color: #fff; font-size: 22px; font-weight: 700; white-space: nowrap; }
.pq-hero p { display: grid; justify-items: end; margin: 0; font-size: 13px; }
.pq-hero p span { background: #c04c0d; color: #fff; padding: 1px 10px; white-space: nowrap; }
.pq-hero form { display: flex; background: #fff; height: 36px; min-width: 0; }
.pq-hero input { width: 100%; min-width: 0; background: transparent; color: #252931; border: 0; padding: 0 10px; font: inherit; }
.pq-hero button { width: 36px; flex: 0 0 36px; border: 0; color: #67717d; background: transparent; cursor: pointer; }
.pq-page svg:not(.pq-robot) { width: 16px; height: 16px; vertical-align: middle; }
.pq-robot { display: block; width: 110px; max-height: 78px; }
.pq-products { padding: 25px 24px 30px; }
.pq-product-heading { display: flex; align-items: center; justify-content: space-between; }
.pq-products h2, .pq-sidebar h2 { margin: 0; font-size: 17px; font-weight: 500; }
.pq-products h2 { color: var(--pq-orange); }
.pq-product-heading a { color: var(--pq-muted); }
.pq-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 16px; }
.pq-product-grid a { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.pq-product-grid strong { flex-shrink: 0; font-weight: 500; }
.pq-product-grid small { color: var(--pq-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pq-product-grid a[aria-current="page"], .pq-page a:hover { color: var(--pq-orange); }
.pq-feed { margin-top: 1px; }
.pq-feed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 14px 0 24px; border-bottom: 1px solid var(--pq-line); }
.pq-feed-head nav { display: flex; gap: 36px; }
.pq-feed-head nav a { padding: 16px 0 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.pq-feed-head nav [aria-current] { border-color: var(--pq-orange); color: var(--pq-orange); }
.pq-page .pq-ask { display: inline-flex; gap: 6px; align-items: center; justify-content: center; white-space: nowrap; background: var(--pq-orange); color: #fff; padding: 10px 18px; }
.pq-page .pq-ask:hover { background: #dd5800; color: #fff; }
.pq-filter, .pq-tags { padding: 10px 24px; margin: 0; color: var(--pq-muted); border-bottom: 1px solid var(--pq-line); }
.pq-filter a, .pq-tags a, .pq-empty a { color: var(--pq-orange); }
.pq-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.pq-row { margin: 0 24px; padding: 22px 0 24px; border-bottom: 1px solid var(--pq-line); }
.pq-row:last-child { border-bottom: 0; }
.pq-row h2 { margin: 10px 0 14px; font-size: 17px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.pq-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; background: #fbeddf; color: #613714; font-size: 12px; }
.pq-pill svg { color: var(--pq-orange); }
.pq-meta { display: flex; align-items: center; gap: 26px; color: var(--pq-muted); font-size: 13px; }
.pq-meta span { display: flex; align-items: center; gap: 5px; }
.pq-meta em { margin-left: auto; font-style: normal; color: #147344; background: #e4f4e9; padding: 1px 6px; }
.pq-answer { display: grid; gap: 6px; background: var(--pq-bg); margin-top: 12px; padding: 12px 14px; color: var(--pq-muted); font-size: 13px; }
.pq-answer b { background: #ffead5; color: #9a4000; padding: 2px 4px; }
.pq-empty { padding: 48px 20px; color: var(--pq-muted); text-align: center; }
.pq-empty a { display: block; margin-top: 10px; }
.pq-pages { display: flex; justify-content: flex-end; gap: 8px; padding: 20px 24px; }
.pq-pages a { border: 1px solid var(--pq-line); padding: 5px 12px; }
.pq-pages [aria-current] { color: #fff; background: var(--pq-orange); }
.pq-account, .pq-rank { padding: 22px; }
.pq-account div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--pq-muted); margin-top: 24px; }
.pq-account a { border: 1px solid var(--pq-line); padding: 6px 14px; white-space: nowrap; }
.pq-promo {
    display: grid;
    gap: 6px;
    padding: 20px 24px;
    color: #18202b;
    background: linear-gradient(126deg, #f6f6f6 61%, transparent 61%), repeating-linear-gradient(145deg, #e4e5e8 0 17px, #fbfbfb 17px 35px);
}
.pq-promo strong { font-size: 22px; }
.pq-promo b { justify-self: start; margin-top: 8px; background: var(--pq-orange); color: #fff; padding: 3px 12px; font-size: 12px; }
.pq-rank ol { padding: 0; margin: 10px 0 0; list-style: none; }
.pq-rank li { display: flex; gap: 11px; padding-top: 13px; }
.pq-rank li b { color: var(--pq-muted); font-variant-numeric: tabular-nums; }
.pq-rank li:nth-child(1) b { color: #ed7100; }
.pq-rank li:nth-child(3) b { color: #aa5d35; }
.pq-rank li a { display: grid; gap: 4px; min-width: 0; }
.pq-rank li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pq-rank small, .pq-rank p { color: var(--pq-muted); }
.pq-side-link { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding: 20px 22px; }
.pq-side-link span { color: var(--pq-muted); }
.pq-switch a + a { border-left: 1px solid #eee; }
.pq-switch a.is-current { background: #fafafa; }
.pq-flag { margin-right: 6px; font-size: 12px; padding: 1px 5px; color: #a64506; background: #fff0e4; }
.pq-account .pq-account-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.pq-account-actions a:not(.pq-profile-ask) { display: grid; text-align: center; gap: 4px; border: 0; padding: 0; }
.pq-account-actions svg { margin: auto; color: var(--pq-orange); }
.pq-account-actions .pq-profile-ask { color: #c24a00; border-color: #ff8b4e; }

.qwc-page { background: #f2f2f2; padding: 16px 20px 56px; color: #30343b; }
.qwc-shell { max-width: 1340px; margin: auto; }
.qwc-trail { margin-bottom: 16px; color: #757a83; font-size: 14px; }
.qwc-trail a { color: #c34b00; }
.qwc-card { padding: 50px 40px 56px; background: #fff; }
.qwc-form { max-width: 1020px; margin: auto; }
.qwc-form h1 { margin: 0 0 16px; font-size: 20px; font-weight: 500; }
.qwc-title-wrap { position: relative; margin-bottom: 22px; }
.qwc-title-wrap textarea { display: block; width: 100%; min-height: 94px; padding: 12px 22px 28px; border: 1px solid #c9ced8; border-radius: 0; resize: vertical; color: inherit; font: inherit; }
.qwc-title-wrap output { position: absolute; right: 10px; bottom: 7px; color: #767d86; pointer-events: none; }
.qwc-editor { border: 1px solid #d1d1d1; border-radius: 3px; box-shadow: 0 0 3px #0001; background: #fff; }
.qwc-editor .qwc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px 7px; border: 0; border-bottom: 1px solid #d6d6d6; background: #f2f2f2; border-radius: 2px 2px 0 0; }
.qwc-editor .qwc-tools button { border: 1px solid transparent; padding: 3px; min-width: 29px; height: 31px; color: #666e77; font-size: 16px; background: transparent; }
.qwc-editor .qwc-tools button:hover, .qwc-editor .qwc-tools button[aria-pressed="true"] { background: #e5e5e5; border-color: #d7d7d7; }
.qwc-view-tools { display: inline-flex; margin-left: auto; gap: 2px; }
.qwc-panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qwc-input { position: relative; min-width: 0; }
.qwc-input .v2-editor, .qwc-preview { height: 464px; min-height: 0; overflow: auto; padding: 22px 18px; font-size: 15px; overflow-wrap: anywhere; }
.qwc-input .v2-editor { position: relative; z-index: 1; border: 0; background: transparent; border-radius: 0; box-shadow: none; }
.qwc-hint { position: absolute; inset: 27px 18px auto; pointer-events: none; color: #7e838b; font-size: 15px; }
.qwc-hint p { margin: 12px 0 4px; }
.qwc-hint ul { margin: 0; padding-left: 16px; line-height: 2.25; }
.qwc-preview { border-left: 1px solid #e3e3e3; min-width: 0; }
.qwc-preview.is-empty { display: grid; place-items: center; }
.qwc-preview.is-empty::before { content: "预览区域"; color: #a0a5ac; font-size: 21px; }
.qwc-preview img, .qwc-input img { max-width: 100%; }
.qwc-editor[data-view="preview"] .qwc-input { display: none; }
.qwc-editor[data-view="preview"] .qwc-panes { grid-template-columns: minmax(0, 1fr); }
.qwc-editor.is-full { position: fixed; z-index: 1500; inset: 12px; display: flex; flex-direction: column; box-shadow: 0 0 0 100vmax #0008; }
.qwc-editor.is-full .qwc-panes { flex: 1; min-height: 0; }
.qwc-editor.is-full .qwc-input .v2-editor, .qwc-editor.is-full .qwc-preview { height: 100%; }
.qwc-field { margin-top: 26px; width: min(100%, 680px); }
.qwc-product { width: min(100%, 395px); }
.qwc-field details { position: relative; margin-top: 5px; }
.qwc-field summary { display: flex; align-items: center; justify-content: space-between; min-height: 36px; border: 1px solid #c9ced8; padding: 4px 12px; cursor: pointer; background: #fff; list-style: none; }
.qwc-field summary::-webkit-details-marker { display: none; }
.qwc-field details[open] summary { border-color: #ff6a00; }
.qwc-product details:not([open]) summary { display: inline-flex; gap: 14px; }
.qwc-options { position: absolute; z-index: 5; inset: calc(100% + 2px) 0 auto; padding: 10px 12px; background: #fff; border: 1px solid #ddd; box-shadow: 0 4px 12px #0002; }
.qwc-options input, .qwc-tags input { width: 100%; border: 1px solid #c9ced8; padding: 6px 9px; font: inherit; }
.qwc-option-list { margin-top: 9px; max-height: 252px; overflow: auto; }
.qwc-option-list button { display: block; width: 100%; border: 0; background: #fff; padding: 7px 12px; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.qwc-option-list button[hidden] { display: none; }
.qwc-option-list button:hover, .qwc-option-list button[aria-pressed="true"] { background: #fff4eb; color: #a34100; }
.qwc-option-list small { display: block; margin-top: 3px; color: #767d86; }
.qwc-tags { margin-top: 18px; width: min(100%, 395px); color: #757a83; }
.qwc-tags summary { cursor: pointer; }
.qwc-tags input { margin-top: 6px; }
.qwc-submit { text-align: center; margin-top: 32px; }
.qwc-submit button { border: 0; min-width: 125px; padding: 11px 20px; color: #fff; background: #f26500; cursor: pointer; }
.qwc-submit button:hover { background: #d85800; }
.qwc-help { max-width: min(460px, 90vw); border: 1px solid #ddd; padding: 22px; }
@media (max-width: 760px) {
    .qwc-page { padding: 12px 0 26px; }
    .qwc-trail { margin-left: 14px; }
    .qwc-card { padding: 22px 14px 30px; }
    .qwc-panes { grid-template-columns: minmax(0, 1fr); }
    .qwc-input .v2-editor { height: 280px; }
    .qwc-preview { height: 190px; border-left: 0; border-top: 1px solid #ddd; }
    .qwc-editor.is-full .qwc-panes { overflow: auto; }
    .qwc-editor.is-full .qwc-input .v2-editor { min-height: 230px; }
}
@media (max-width: 1050px) {
    .pq-hero { padding-left: 18px; gap: 10px; grid-template-columns: auto minmax(0, 1fr) 78px; }
    .pq-hero p { display: none; }
    .pq-robot { width: 80px; }
    .pq-feed-head nav { gap: 20px; }
}
@media (max-width: 760px) {
    .pq-page { padding: 10px 0 24px; }
    .pq-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pq-sidebar { gap: 12px; }
    .pq-products, .pq-account, .pq-rank { padding: 16px; }
    .pq-product-grid { gap: 8px 12px; }
    .pq-product-grid a { display: grid; gap: 3px; }
    .pq-feed-head { padding: 0 10px 0 14px; gap: 8px; }
    .pq-feed-head nav { gap: 12px; }
    .pq-page .pq-ask { font-size: 12px; padding: 8px; }
    .pq-page .pq-ask svg { display: none; }
    .pq-row { margin: 0 16px; }
    .pq-meta { gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 420px) {
    .pq-hero { grid-template-columns: minmax(0, 1fr) 68px; padding: 10px 16px; gap: 4px; }
    .pq-hero h1 { font-size: 18px; }
    .pq-hero form { grid-column: 1; }
    .pq-robot { grid-column: 2; grid-row: 1 / span 2; width: 68px; }
}
@media (max-width: 360px) {
    .site-header .nav-main { gap: 8px; }
    .site-header .nav-main .brand img { width: 114px; }
    .site-header .mobile-actions { gap: 3px; }
}
