:root {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #1f2928;
  background: #eceeea;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 8% 0%, #f8f7ef 0, transparent 32%), radial-gradient(circle at 90% 14%, #e4edea 0, transparent 29%), #eceeea; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:focus-visible, select:focus-visible { outline: 3px solid #263d90; outline-offset: 3px; }
.app-shell { max-width: 1800px; padding: 28px 32px 48px; margin: 0 auto; }
.masthead { display: flex; align-items: center; gap: 20px; padding: 8px 4px 27px; }
.brand-mark { width: 50px; height: 50px; flex: none; border: 2px solid #263b39; border-radius: 15px; background: #d8e0db; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 10px; transform: rotate(-4deg); box-shadow: 5px 5px 0 #b9c9c1; }
.brand-mark span { display: block; width: 8px; border-radius: 2px; background: #263b39; }
.brand-mark span:nth-child(1) { height: 12px; }.brand-mark span:nth-child(2) { height: 22px; }.brand-mark span:nth-child(3) { height: 16px; }
.masthead-copy { min-width: 0; flex: 1; }
.eyebrow, .lane-overline, .section-heading, .select-group label, .selection-count small, .page-footer, .data-stamp span { font-family: Consolas, "Microsoft YaHei", sans-serif; letter-spacing: .075em; }
.eyebrow { font-size: 11px; font-weight: 700; color: #6a7c79; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 7px 0 5px; font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.045em; line-height: 1.08; font-weight: 800; }
.masthead p { margin-bottom: 0; color: #65716d; font-size: 14px; line-height: 1.55; }
.data-stamp { flex: none; display: flex; flex-direction: column; align-items: flex-end; border-left: 1px solid #bbc6c1; padding-left: 22px; }
.data-stamp strong { font-family: Consolas, monospace; font-size: 28px; line-height: 1; }
.data-stamp span { margin-top: 5px; font-size: 11px; color: #63726f; }
.control-deck { display: flex; align-items: flex-end; gap: 14px; padding: 17px 20px; background: #fdfdf9; border: 1px solid #d7ded7; border-radius: 16px; box-shadow: 0 4px 16px #243f2f0c; }
.select-group { display: flex; flex-direction: column; gap: 6px; }
.select-group label { font-size: 10px; color: #6b7773; font-weight: 700; }
select { min-width: 184px; padding: 10px 34px 10px 12px; border-radius: 9px; color: #26312f; border: 1px solid #cbd5cf; background: #f7f9f5; font-size: 13px; font-weight: 650; }
.deck-divider { width: 1px; height: 36px; background: #dce3de; margin: 0 3px 2px 2px; }
.deck-actions { display: flex; align-items: center; gap: 8px; }
.primary-button, .quiet-button { min-height: 39px; border-radius: 9px; padding: 0 15px; font-weight: 700; font-size: 13px; white-space: nowrap; transition: transform .15s, background .15s, box-shadow .15s; }
.primary-button { border: 1px solid #253733; background: #263d38; color: white; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 3px 0 #a4b9ac; }
.primary-button:not(:disabled):hover { background: #3d5851; transform: translateY(-2px); box-shadow: 0 5px 0 #a4b9ac; }
.primary-button:disabled { opacity: .48; box-shadow: none; }
.quiet-button { border: 1px solid #ccd6d0; background: #fff; color: #385047; }
.quiet-button:not(:disabled):hover { background: #edf4ee; }
.quiet-button:disabled { opacity: .42; }
.play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid #fff; }
.selection-count { margin-left: auto; display: flex; flex-direction: column; text-align: right; padding-bottom: 2px; }
.selection-count span { font-family: Consolas, monospace; font-size: 23px; font-weight: 700; line-height: 1; }
.selection-count small { margin-top: 4px; font-size: 10px; color: #74817c; }
.deck-note { margin: 9px 6px 14px; color: #687670; font-size: 11px; }
.cost-note { margin: -7px 6px 14px; color: #8a766a; font-size: 11px; line-height: 1.5; }
.comparison-strip { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-bottom: 16px; padding: 9px 14px; border: 1px dashed #bfccc4; border-radius: 10px; color: #546963; font-size: 12px; }
.comparison-title { flex: none; display: flex; align-items: center; gap: 7px; color: #304d42; font-weight: 800; }
.pulse-dot { width: 7px; height: 7px; background: #2f9d78; border-radius: 50%; box-shadow: 0 0 0 4px #2f9d7822; }
.key-status { display: flex; gap: 6px; margin-left: auto; white-space: nowrap; }
.key-status span { border: 1px solid #ccd7cf; color: #64736d; border-radius: 20px; padding: 4px 8px; font-size: 10px; }
.key-status span.ready { background: #e7f4eb; color: #24754a; border-color: #b5dfc3; }
.key-status span.missing { background: #fff0e9; color: #af5a37; border-color: #ecc8b8; }
.key-edit-button { border: 1px solid #ccd7cf; border-radius: 20px; padding: 4px 9px; background: #fff; color: #385047; font-size: 10px; font-weight: 700; cursor: pointer; }
.key-edit-button:hover { background: #edf4ee; }
.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.lane { --accent: #4058ba; --accent-soft: #e9edff; background: #fdfefc; border: 1px solid #d5ded7; border-top: 5px solid var(--accent); border-radius: 15px; min-width: 0; min-height: 820px; padding: 21px; box-shadow: 0 12px 35px #153b2b0e; }
.lane-deepseek { --accent: #d06943; --accent-soft: #fff0e8; }
.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lane-identity { display: flex; gap: 12px; align-items: center; min-width: 0; }
.engine-symbol { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border-radius: 12px; color: white; font: 800 25px/1 Consolas, monospace; }
.jev-symbol { background: #4058ba; box-shadow: 3px 3px 0 #c6d0ff; }.deepseek-symbol { background: #d06943; box-shadow: 3px 3px 0 #f4d1bf; }
.lane-overline { color: #86918b; font-size: 9px; font-weight: 700; }
h2 { margin: 2px 0 0; font-size: 24px; line-height: 1; letter-spacing: -.035em; }
h2 small { font-size: 12px; letter-spacing: 0; font-weight: 500; color: #78827d; margin-left: 3px; }
.model-status { max-width: 180px; border-radius: 20px; padding: 6px 9px; background: #f0f2ef; color: #64736e; font-size: 10px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-status.is-running { background: var(--accent-soft); color: var(--accent); }.model-status.is-error { background: #fff0ec; color: #b24a35; }
.lane-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border-top: 1px solid #e4eae5; border-bottom: 1px solid #e4eae5; }
.lane-metrics > div { display: flex; align-items: baseline; gap: 6px; padding: 12px 6px 11px; }
.lane-metrics > div + div { border-left: 1px solid #e4eae5; padding-left: 15px; }
.lane-metrics strong { color: #273832; font: 700 19px/1 Consolas, monospace; }.lane-metrics span { color: #8a948d; font-size: 10px; white-space: nowrap; }
.billing-panel { margin-top: 11px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--accent) 22%, #e6ebe7); border-radius: 9px; background: color-mix(in srgb, var(--accent) 5%, #fff); font-size: 11px; }
.billing-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #596b60; }
.billing-top strong { color: var(--accent); font: 800 15px/1.4 Consolas, monospace; overflow-wrap: anywhere; text-align: right; }
.billing-usage { margin-top: 4px; color: #7c887e; font-size: 10px; }
.billing-panel a { display: inline-block; margin-top: 6px; color: var(--accent); font-size: 10px; text-decoration: none; }
.billing-panel a:hover { text-decoration: underline; }
.fx-note { margin-top: 3px; color: #7c887e; font-size: 10px; line-height: 1.5; }
.fx-note a { margin: 0; }
.lane-error { margin-top: 10px; padding: 9px 10px; border: 1px solid #e7b8aa; border-radius: 8px; background: #fff3ed; color: #a8402b; font-size: 11px; line-height: 1.5; }
.retry-button { margin-top: 7px; border: 1px solid var(--accent); border-radius: 8px; padding: 7px 11px; background: #fff; color: var(--accent); font-size: 11px; font-weight: 750; }
.retry-button:hover { background: var(--accent-soft); }
.lane-error[hidden], .retry-button[hidden] { display: none; }
.progress-track { height: 4px; background: #ecf0eb; border-radius: 10px; overflow: hidden; margin: 10px 0 23px; }.progress-fill { width: 0; height: 100%; background: var(--accent); border-radius: 10px; transition: width .4s ease; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #53635c; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.tiny-caption { color: #a3afa6; font-size: 10px; letter-spacing: 0; font-weight: 500; text-transform: none; }
.conveyor { position: relative; min-height: 214px; margin: 9px 0 22px; padding: 14px 12px 23px; border: 1px solid #dfe7df; border-radius: 12px; background: repeating-linear-gradient(90deg, #f5f8f4 0 46px, #f0f5f0 46px 47px); overflow: hidden; }
.conveyor::before, .conveyor::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(90deg, #d5dfd5 0 17px, #e8eee7 17px 33px); }
.conveyor::before { top: 0; }.conveyor::after { bottom: 0; }
.conveyor-dots { position: absolute; top: 17px; right: 18px; width: 35px; height: 6px; opacity: .4; background: radial-gradient(circle, #788c7b 2px, transparent 3px) 0 0 / 10px 6px; }
.queue-cards { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .65fr) minmax(0, .65fr); gap: 8px; min-height: 172px; align-items: stretch; z-index: 1; }
.post-card { text-align: left; width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 8px; border: 1px solid #d7e0d8; border-radius: 10px; padding: 12px; color: #25302d; background: #fff; box-shadow: 0 3px 10px #24412c12; overflow: hidden; transition: transform .17s, box-shadow .17s, border-color .17s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 7px 17px #24412c1e; border-color: #aebfb3; }
.post-card.front-card { border-color: var(--accent); box-shadow: 0 5px 0 var(--accent-soft), 0 8px 19px #1e35421a; }
.post-card.upcoming-card { opacity: .67; transform: scale(.96); transform-origin: center; }
.post-card.upcoming-card:hover { opacity: 1; transform: translateY(-2px); }
.post-card.working-card { animation: card-working 1.25s ease-in-out infinite; }
@keyframes card-working { 50% { box-shadow: 0 4px 0 var(--accent-soft), 0 0 0 4px var(--accent-soft), 0 8px 19px #1e35421a; } }
.card-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 9px; color: #8b988e; min-width: 0; }
.source-pill { padding: 3px 5px; border-radius: 4px; background: #eff4ee; color: #668071; font-weight: 750; white-space: nowrap; }
.card-date { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; }
.front-card .card-title { font-size: 14px; }
.card-excerpt { color: #7f8c83; font-size: 10px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.upcoming-card .card-excerpt { -webkit-line-clamp: 2; }.upcoming-card .card-date { display: none; }
.queue-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 155px; color: #86988b; font-size: 12px; }
.conveyor-arrow { position: absolute; bottom: 2px; left: 50%; font: 800 20px/1 Consolas, monospace; color: #a8b9aa; transform: translateX(-50%); }
.basket-heading { margin-bottom: 10px; }
.basket-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.basket { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; height: 86px; text-align: left; padding: 10px; border-radius: 9px; border: 1px solid #e0e7e1; background: #f7f9f5; color: #506159; transition: transform .18s, border-color .18s, background .18s; }
.basket::before { content: ""; position: absolute; top: -1px; left: 10px; right: 10px; height: 5px; border-radius: 0 0 5px 5px; background: var(--basket-color); opacity: .45; }
.basket:hover { transform: translateY(-3px); border-color: var(--basket-color); background: #fff; }.basket.has-posts { background: color-mix(in srgb, var(--basket-color) 8%, #fff); }
.basket-icon { position: absolute; right: 10px; top: 5px; font: 800 27px/1 Consolas, monospace; transform: rotate(180deg); color: var(--basket-color); opacity: .7; }
.basket-name { z-index: 1; font-size: 11px; font-weight: 750; }.basket-count { z-index: 1; color: var(--basket-color); font: 750 23px/1 Consolas, monospace; }
.recent-block { border-top: 1px solid #e4eae5; margin-top: 22px; padding-top: 13px; }.recent-list { display: grid; gap: 5px; margin-top: 10px; }
.recent-empty { padding: 16px 5px; color: #a2aea4; font-size: 11px; }
.recent-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; text-align: left; border: 1px solid #e4e9e3; border-radius: 7px; padding: 8px 10px; background: #fbfcfa; color: #56655b; font-size: 11px; }
.recent-item:hover { background: #f1f7f0; }.recent-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.recent-label { white-space: nowrap; color: var(--accent); font-weight: 700; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 22px 6px 0; color: #8c9a90; font-size: 10px; }
.flying-card { position: fixed; z-index: 5000; pointer-events: none; display: flex; flex-direction: column; gap: 8px; border: 2px solid var(--flight-color); border-radius: 10px; padding: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px #152d2780; }
.flying-card .card-title { font-size: 14px; }.flying-card .card-excerpt { font-size: 10px; }
.modal { width: min(700px, calc(100vw - 30px)); max-height: min(85dvh, 900px); padding: 25px; border: 1px solid #c5d4ca; border-top: 5px solid #395448; border-radius: 14px; color: #24332d; background: #fffefa; box-shadow: 0 25px 80px #152b2d63; overflow: auto; }
.modal::backdrop { background: #10241e99; backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.modal h3 { margin: 7px 0 14px; font-size: clamp(21px, 3vw, 30px); line-height: 1.25; overflow-wrap: anywhere; }
.modal-close { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid #d3ddd5; border-radius: 50%; background: #fff; color: #5f7063; font-size: 24px; line-height: 1; }
.modal-close:hover { background: #f1f6ee; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 13px; border-bottom: 1px solid #e0e8df; }
.meta-row { display: flex; align-items: baseline; gap: 9px; min-width: 0; font-size: 11px; line-height: 1.7; }.meta-label { color: #95a097; white-space: nowrap; }.meta-value { color: #41554b; overflow-wrap: anywhere; }
.detail-body { white-space: pre-wrap; overflow-wrap: anywhere; color: #3d4c45; line-height: 1.8; font-size: 13px; max-height: 290px; overflow: auto; padding: 19px 1px; }
.detail-result { border-top: 1px solid #e0e8df; padding-top: 16px; }.detail-result-heading { color: #41574d; font-weight: 800; font-size: 12px; margin-bottom: 10px; }
.detail-result .meta-row { margin: 3px 0; }.detail-tags, .card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.detail-tags { margin-bottom: 10px; }.detail-tag, .mini-tag { border: 1px solid color-mix(in srgb, var(--tag-color) 35%, white); border-radius: 20px; background: color-mix(in srgb, var(--tag-color) 10%, white); color: var(--tag-color); font-weight: 750; }
.detail-tag { padding: 5px 9px; font-size: 11px; }.mini-tag { padding: 2px 6px; font-size: 9px; }
.raw-label { margin-top: 14px; color: #718176; font-size: 10px; font-weight: 800; }.raw-json { max-height: 220px; overflow: auto; padding: 12px; border-radius: 8px; background: #f2f5f1; color: #41534a; font: 11px/1.6 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.pending-detail { color: #7f8f83; font-size: 12px; }.basket-description { color: #718178; font-size: 12px; }
.basket-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.basket-list .post-card { min-height: 105px; }.basket-empty { grid-column: 1 / -1; padding: 40px 10px; text-align: center; color: #93a399; font-size: 13px; }.more-button { display: block; margin: 15px auto 0; }
.more-button[hidden] { display: none; }
.key-modal { width: min(490px, calc(100vw - 30px)); }
.key-note { color: #607269; font-size: 12px; line-height: 1.7; }
#keyForm { display: grid; gap: 9px; margin-top: 18px; }
#keyForm label { color: #3b5045; font-size: 12px; font-weight: 800; }
#keyForm input[type="password"] { width: 100%; border: 1px solid #cbd9cf; border-radius: 8px; padding: 11px 12px; background: #fff; color: #23372d; font: 13px Consolas, monospace; outline-color: #4c8063; }
.key-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 12px; }
.key-error { margin: 0; color: #ab3f3f; font-size: 12px; }
@media (max-width: 1160px) { .app-shell { padding: 24px 19px 35px; }.lane { padding: 16px; }.basket-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.control-deck { flex-wrap: wrap; }.selection-count { margin-left: 0; } }
@media (max-width: 840px) { .lanes { grid-template-columns: 1fr; }.lane { min-height: 0; }.basket-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.comparison-strip { flex-wrap: wrap; }.key-status { margin-left: 0; }.page-footer { flex-direction: column; } }
@media (max-width: 560px) { .app-shell { padding: 16px 11px 28px; }.masthead { align-items: flex-start; gap: 12px; }.brand-mark { width: 36px; height: 36px; border-radius: 10px; padding: 7px; }.brand-mark span { width: 6px; }.brand-mark span:nth-child(2) { height: 16px; }.masthead p { font-size: 11px; }.data-stamp { display: none; }.control-deck { padding: 12px; gap: 10px; }.select-group { flex: 1 1 135px; }.select-group select { min-width: 0; width: 100%; }.deck-divider { display: none; }.deck-actions { width: 100%; }.selection-count { margin-left: auto; }.lane { padding: 13px; }.queue-cards { grid-template-columns: 1.5fr .75fr; }.queue-cards .post-card:nth-child(3) { display: none; }.basket-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.basket-list { grid-template-columns: 1fr; }.modal { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
