/* 工作室首页 · 对照原型 XCStudio home，深空金 / 纸金 */

:root {
  --t1: rgba(242, 241, 234, 0.92);
  --t2: rgba(242, 241, 234, 0.6);
  --t3: rgba(242, 241, 234, 0.36);
  --chip: rgba(255, 255, 255, 0.032);
  --line-soft: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold: #f2e3ad;
  --gold-2: #dcc899;
  --gold-3: #c9b88f;
  --gold-soft-bg: rgba(242, 227, 173, 0.1);
  --gold-soft-line: rgba(242, 227, 173, 0.35);
  --gold-grad: linear-gradient(135deg, #f2e3ad, #dcc899);
  --hover-shadow: rgba(0, 0, 0, 0.32);
}

html:not(.theme-dark):not(.studio-theme-dark) {
  --t1: #26211a;
  --t2: #6b6456;
  --t3: #a59d8a;
  --chip: rgba(28, 26, 23, 0.045);
  --line-soft: rgba(28, 26, 23, 0.1);
  --line: rgba(28, 26, 23, 0.16);
  --line-strong: rgba(28, 26, 23, 0.26);
  --gold: #8a6d1f;
  --gold-2: #a3863e;
  --gold-3: #9a854e;
  --gold-soft-bg: rgba(138, 109, 31, 0.09);
  --gold-soft-line: rgba(138, 109, 31, 0.38);
  --gold-grad: linear-gradient(135deg, #ecd9a0, #d3ba82);
  --hover-shadow: rgba(80, 70, 40, 0.2);
}

body.xc-home {
  background: #070708;
  color: var(--t1);
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

html:not(.theme-dark):not(.studio-theme-dark) body.xc-home {
  background: #f4f1e9;
}

.xc-home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.xc-home-nebula {
  position: absolute;
  inset: 0;
  background: url("/static/images/xc-studio-bg.jpg") center / cover no-repeat;
  opacity: 0.3;
}

html:not(.theme-dark):not(.studio-theme-dark) .xc-home-nebula { opacity: var(--xc-page-art-opacity, .22); }

.xc-home-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(5, 5, 8, 0.12) 0%, rgba(5, 5, 8, 0.92) 88%);
}

html:not(.theme-dark):not(.studio-theme-dark) .xc-home-veil {
  background: linear-gradient(180deg, rgba(247, 244, 237, 0.6) 0%, rgba(247, 244, 237, 0.3) 40%, rgba(244, 241, 233, 0.88) 100%);
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-home-bg .xc-home-veil {
  background: rgb(255 255 255 / .72) !important;
}

body.xc-home .wb-page {
  position: relative;
  z-index: 1;
  width: min(2240px, calc(100% - 110px)) !important;
  max-width: 2240px !important;
  margin: 0 auto 0 max(80px, calc((100% - 2240px) / 2)) !important;
  padding: 0 0 52px !important;
  box-sizing: border-box;
}

.xc-ops { display: grid; gap: 28px; padding-top: clamp(28px, 3vw, 44px); }
.xc-create { width: min(720px, 100%); margin-inline: auto; padding: 4px 0 6px; text-align: center; }
.xc-create-title {
  --xc-title: clamp(24px, 2.1vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.xc-create-title span { color: var(--xc-gold); }
.xc-create-modes {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--xc-line);
  border-radius: 999px;
  background: var(--xc-surface);
}
.xc-create-modes button {
  min-height: 34px;
  padding: 5px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--xc-muted);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.xc-create-modes button:hover { background: var(--xc-hover); color: var(--xc-text); }
.xc-create-modes button[aria-pressed="true"] {
  background: var(--gold-soft-bg);
  color: var(--xc-gold);
  font-weight: 700;
}
.xc-home .xc-create .wb-inspire {
  margin: 10px 0 0;
  padding: 5px 6px 5px 18px;
  gap: 6px;
  min-height: 52px;
  border: 1px solid var(--xc-line-strong);
  border-radius: 999px;
  background: var(--xc-surface);
  box-shadow: none;
}
.xc-home .xc-create .wb-inspire { box-shadow: 0 5px 22px rgb(118 98 46 / .06); }
.xc-home .xc-create .wb-inspire:focus-within { border-color: var(--xc-gold); box-shadow: 0 0 0 3px var(--gold-soft-bg); }
.xc-create .wb-inspire-input { color: var(--xc-text); font-size: 14px; }
.xc-create .wb-inspire-input::placeholder { color: var(--xc-muted); }
.xc-home .xc-create .wb-inspire-go {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--xc-primary);
  color: var(--xc-on-gold);
  box-shadow: none;
  cursor: pointer;
}
.xc-home .xc-create .wb-inspire-go svg { width: 19px; height: 19px; }
.xc-home .xc-create .wb-inspire-go:disabled { background: var(--xc-raised); color: var(--xc-muted); cursor: default; }
.xc-create :focus-visible { outline: 2px solid var(--xc-gold); outline-offset: 2px; }
.xc-create .wb-inspire-input:focus-visible { outline: none; }
.xc-create-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.xc-create-note {
  border: 0;
  background: none;
  min-height: 34px;
  padding: 0;
  color: var(--xc-muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.xc-create-note:hover { color: var(--xc-gold); }
.xc-create-note:disabled { opacity: .65; cursor: wait; }
.xc-ops-side { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.xc-side-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--xc-line);
  border-radius: var(--xc-radius-card);
  background: var(--xc-surface);
  color: var(--xc-text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.xc-side-card:hover { border-color: var(--xc-gold); }
.xc-side-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--xc-radius-control);
  background: var(--gold-soft-bg);
  color: var(--xc-gold);
  font-size: 16px;
}
.xc-side-copy { display: grid; min-width: 0; gap: 2px; }
.xc-side-title { font-size: 14px; font-weight: 680; }
.xc-side-desc { font-size: 12px; color: var(--xc-muted); }

.xc-user-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xc-home .wb-user-card {
  background: var(--chip);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  color: var(--t1);
}

.xc-home .wb-user-card .u-info h4 { color: var(--t1); }
.xc-home .wb-user-card .u-info p { color: var(--t2); }

.xc-home .wb-guide {
  background: var(--chip);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  color: var(--t1);
}

.xc-home .wb-guide h5 { color: var(--t1); }
.xc-home .wb-guide .d,
.xc-home .wb-guide p { color: var(--t2); }

.xc-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.xc-home .wb-stat {
  background: var(--chip);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px 8px;
}

.xc-home .wb-stat .v { color: var(--gold) !important; }
.xc-home .wb-stat .l,
.xc-home .wb-stat .d { color: var(--t3); }

/* ===== ② 公告长条 ===== */
/* ===== 现网保留区 ===== */
.xc-more {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.xc-home .wb-sec-head h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--t1);
}

.xc-home .wb-qcard,
.xc-home .wb-skill,
.xc-home .wb-feed-item,
.xc-home .wb-notice-row {
  background: var(--chip);
  border: 1px solid var(--line-soft);
  color: var(--t1);
}

.xc-home .wb-qcard h5,
.xc-home .wb-skill .t { color: var(--t1); }
.xc-home .wb-qcard p,
.xc-home .wb-skill .d { color: var(--t2); }

.xc-home .wb-quick { gap: 10px; }
.xc-home .wb-skills-sec { margin-top: 8px; }

.xc-home .wb-empty {
  background: transparent;
  border-color: var(--line);
  color: var(--t3);
}

.xc-home .wb-coach { z-index:20005;pointer-events:auto; }
.xc-home .wb-coach-scrim { background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none; }
.xc-home .wb-coach-hole { display:block;transition:none;outline:2px solid var(--xc-gold);border-radius:10px;box-shadow:0 0 0 9999px rgb(0 0 0 / .45); }
.xc-home .wb-coach-hole[hidden],.xc-home .wb-coach-pulse { display:none; }
.xc-home .wb-coach-tip { width:min(344px,calc(100vw - 24px));padding:20px;border:1px solid var(--xc-line);border-radius:12px;background:var(--xc-surface);color:var(--xc-text);box-shadow:var(--xc-shadow); }
.xc-home .wb-coach-kicker { font-size:11px;letter-spacing:.04em;color:var(--xc-gold);margin-bottom:10px; }
.xc-home .wb-coach-tip h3 { margin:0 0 8px;font-size:17px;font-weight:600;color:var(--xc-text); }
.xc-home .wb-coach-tip p { font-size:13px;line-height:1.8;color:var(--xc-muted); }
.xc-home .wb-coach-tip { max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain; }
.xc-home .wb-coach-topic { display:grid;gap:6px;margin-bottom:16px;font-size:12px;color:var(--xc-muted); }
.xc-home .wb-coach-topic select { width:100%;min-width:0;min-height:38px;padding:7px 10px;border:1px solid var(--xc-line);border-radius:6px;background:var(--xc-surface);color:var(--xc-text);font:inherit;font-size:13px; }
.xc-home .wb-coach-topic select:focus-visible { outline:2px solid var(--xc-gold);outline-offset:2px; }
.xc-home .wb-coach-tip .wb-coach-path { margin:14px 0 0;padding-top:12px;border-top:1px solid var(--xc-line);font-size:12px;line-height:1.7;color:var(--xc-text);overflow-wrap:anywhere; }
.xc-home .wb-coach-acts { flex-wrap:wrap; }
.xc-home .wb-coach-acts { display:flex;align-items:center;gap:8px;margin-top:18px; }
.xc-home .wb-coach-acts .wb-btn.small { min-height:32px;padding:5px 11px;border-radius:6px;font-size:12px;box-shadow:none; }
.xc-home #wbCoachSkip { margin-right:auto; }
.xc-home .wb-coach-acts .wb-btn.ghost { background:transparent;border:1px solid var(--xc-line);color:var(--xc-muted); }
.xc-home .wb-coach-acts .wb-btn.primary { background:var(--xc-primary);color:var(--xc-on-gold);border:1px solid transparent; }
@media(prefers-reduced-motion:reduce){.xc-home .wb-coach-tip{animation:none;}}


@media (max-width: 980px) {
  .xc-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xc-ops-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .xc-more, .xc-stats-mini { grid-template-columns: minmax(0, 1fr); }
  .xc-ops-side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .xc-side-card { display: grid; place-items: center; min-height: 60px; padding: 6px; gap: 3px; text-align: center; }
  .xc-side-ico { width: 23px; height: 23px; font-size: 13px; }
  .xc-side-title { font-size: 13px; }
  .xc-side-desc { display: none; }
}

/* Scheme B: compact capsules leave the home creation area in focus. */
.xc-home .xc-home-shortcuts{--pill-icon:#c9a35c;--pill-tip-bg:#16161a;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;min-height:56px;margin:0;padding:12px 0;border:0;background:transparent;overflow:visible;position:relative;z-index:2}
.xc-home .xc-home-shortcuts>section{display:block;flex:0 0 auto;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--t1)}
.xc-home .xc-home-shortcuts>section[hidden]{display:none}
.xc-home .xc-home-shortcuts .xc-home-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;min-height:34px;width:auto;margin:0;padding:0 14px;border:1px solid var(--line-soft);border-radius:999px;background:var(--chip);color:var(--t1);font-family:inherit;font-size:12.5px;font-weight:400;line-height:1.5;letter-spacing:.15px;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background-color .18s,border-color .18s,color .18s}
.xc-home .xc-home-shortcuts .xc-home-pill svg{width:15px;height:15px;flex:0 0 15px;color:var(--pill-icon)}
.xc-home .xc-home-shortcuts .xc-home-pill:hover{background:var(--gold-soft-bg);border-color:var(--gold-soft-line);color:var(--gold)}
.xc-home .xc-home-shortcuts .xc-home-pill:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.xc-home .xc-home-pill-tip{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-3px);width:max-content;max-width:min(260px,calc(100vw - 40px));padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--pill-tip-bg);color:var(--t1);font-size:11px;font-weight:400;line-height:1.6;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s,transform .16s,visibility .16s;z-index:3}
.xc-home .xc-home-pill:is(:hover,:focus-visible) .xc-home-pill-tip{opacity:1;visibility:visible;transform:translate(-50%,0)}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-home-shortcuts{--pill-icon:#8a6d1f;--pill-tip-bg:#fffdf8}
@media(max-width:600px){
 .xc-home .xc-home-shortcuts{display:flex;gap:4px;padding:8px 0}
 .xc-home .xc-home-shortcuts .xc-home-pill{flex-direction:column;gap:3px;min-width:49px;height:48px;padding:4px 6px;font-size:10.5px}
 .xc-home .xc-home-shortcuts>section:nth-child(odd) .xc-home-pill-tip{left:0;transform:translateY(-3px)}
 .xc-home .xc-home-shortcuts>section:nth-child(even) .xc-home-pill-tip{left:auto;right:0;transform:translateY(-3px)}
 .xc-home .xc-home-shortcuts .xc-home-pill:is(:hover,:focus-visible) .xc-home-pill-tip{transform:translateY(0)}
}
@media(pointer:coarse){.xc-home .xc-home-shortcuts .xc-home-pill{min-height:44px}}
@media(hover:none){.xc-home .xc-home-pill-tip{display:none}}
@media(prefers-reduced-motion:reduce){.xc-home .xc-home-shortcuts .xc-home-pill,.xc-home .xc-home-pill-tip{transition:none}}

.xc-home .xc-home-works {
  min-height: 108px;
  margin-top: clamp(18px, 2.2vw, 30px);
  padding: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-margin-top: calc(var(--xc-topbar-h) + 12px);
}
.xc-home .xc-home-works .wk-body { width: 100%; padding-bottom: 0; }

.xc-home-works-status { margin: 26px 0; color: var(--xc-muted); }
.xc-home-works-status a { color: var(--xc-gold); }

/* 主作品流使用最短列瀑布流，封面保留自然比例，信息常显。 */
.xc-home .xc-home-works .wk-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:26px 14px; }
.xc-home .xc-home-works .wk-card { display:flex;flex-direction:column;border:0;border-radius:0;background:transparent; }
.xc-home .xc-home-works .wk-grid.is-masonry { display:block; }
.xc-home .xc-home-works .wk-card .thumb { flex:none;height:auto;aspect-ratio:var(--wk-aspect,1);border-radius:6px; }
.xc-home .xc-home-works .wk-card .thumb img { object-fit:contain;transform:none; }
.xc-home .xc-home-works .wk-card .info { position:static;padding:10px 0 0;color:var(--ink);background:none;opacity:1;transform:none; }
.xc-home .xc-home-works .wk-card h3 { font-size:14px;line-height:22px;font-weight:600; }
.xc-home .xc-home-works .wk-card .ft { display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-top:5px; }
.xc-home .xc-home-works .wk-card .who { display:block;flex:1;max-width:100%;color:var(--muted);font-size:12px; }
.xc-home .xc-home-works .wk-card-stats { display:flex;color:var(--muted);font-size:11px; }
.xc-home .xc-home-works .wk-card .info .dur { display:none; }
.xc-home .xc-home-works .wk-card .same { position:absolute;top:8px;right:8px;margin:0;min-height:44px;padding-inline:14px;opacity:0;pointer-events:none;border:0;border-radius:6px;box-shadow:0 2px 10px rgb(0 0 0 / .16); }
.xc-home .xc-home-works .wk-card:is(:hover,:focus-within) .same { opacity:1;pointer-events:auto; }
@media(hover:none),(pointer:coarse) { .xc-home .xc-home-works .wk-card .same { opacity:1;pointer-events:auto; } }
@media(prefers-reduced-motion:reduce) { .xc-home .xc-home-works .wk-card :is(.same,.thumb img) { transition:none; } .xc-home .xc-home-works .wk-card:hover .thumb img { transform:none; } }
.xc-home .xc-home-works .wk-card .same:disabled { opacity:.55; }
.xc-home .xc-home-works .wk-card .thumb:focus-visible { outline-offset:-3px; }
.xc-home .xc-home-works :is(.wk-kind button,.wk-seg button,.wk-models select,.wk-up,.wk-sh .more,.wk-srch button) { min-height:44px; }
.xc-home .xc-home-works .wk-skel { aspect-ratio:auto;min-height:260px;border:1px solid var(--line);border-radius:var(--frame); }
.xc-home .xc-home-works .wk-empty { min-height:200px;overflow-wrap:anywhere; }
.xc-home .xc-home-works .wk-cover-empty { padding:12px;text-align:center;background:var(--panel2);color:var(--muted); }
.xc-home .xc-home-works .wk-filterbar { max-width:100%; }
@media(max-width:520px) {
  .xc-home .xc-home-works .wk-grid { grid-template-columns:minmax(0,1fr);gap:14px; }
}
/* Small utility rail, separate from the main product navigation. */
@media (min-width: 761px) {
  .xc-home .xc-home-shortcuts {
    position: fixed;
    top: calc(var(--xc-topbar-h) + 32px);
    left: 12px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0;
    max-height: calc((100dvh - var(--xc-topbar-h) - 100px) / 2);
    overflow-y: auto;
    scrollbar-width: none;
    min-height: 0;
  }
  .xc-home .xc-home-shortcuts .xc-home-pill {
    width: 48px;
    height: 46px;
    padding: 5px 2px;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    background: var(--xc-surface);
    font-size: 12px;
  }
  .xc-home .xc-home-shortcuts .xc-home-pill-tip {
    left: calc(100% + 8px);
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .xc-home .xc-home-shortcuts .xc-home-pill:is(:hover,:focus-visible) .xc-home-pill-tip { transform: translateY(-50%); }
}

.xc-home .xc-home-activities{display:flex;gap:10px;padding:12px 0;margin:0;max-width:100%;overflow:auto;scrollbar-width:none}
.xc-home .xc-home-activities[hidden],.xc-home-activity-preview[hidden]{display:none!important}
.xc-home .xc-home-activity{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;width:48px;min-height:48px;padding:5px 2px;border:1px solid var(--line-soft);border-radius:10px;background:var(--xc-surface);color:var(--t1);font:400 11px/1.3 var(--xc-font,system-ui);text-decoration:none;text-align:center;overflow-wrap:anywhere}
.xc-home .xc-home-activity svg{width:16px;height:16px;flex-shrink:0;color:var(--xc-gold)}
.xc-home .xc-home-activity>span{max-width:44px}
.xc-home .xc-home-activity.has-long-label>span{max-width:2.5em}
.xc-home .xc-home-activity{cursor:pointer}
.xc-home .xc-home-activity:hover,.xc-home .xc-home-activity[aria-expanded="true"]{border-color:var(--gold-soft-line);background:var(--gold-soft-bg);color:var(--gold)}
.xc-home .xc-home-activity:focus-visible{outline:2px solid var(--xc-gold);outline-offset:2px}
.xc-home-activity-preview{position:fixed;z-index:1600;box-sizing:border-box;display:flex;flex-direction:column;width:min(380px,calc(100vw - 24px));max-height:min(560px,calc(100dvh - 24px));padding:0;border:1px solid var(--xc-line);border-radius:12px;background:var(--xc-surface);color:var(--xc-text);box-shadow:0 10px 28px rgb(0 0 0 / .18);font:400 13px/1.7 var(--xc-font,system-ui);overflow-wrap:anywhere}
.xc-home-activity-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-shrink:0;padding:16px;border-bottom:1px solid var(--xc-line)}
.xc-home-activity-preview>header>div{min-width:0}
.xc-home-activity-preview h2{margin:0;font:600 16px/1.5 var(--xc-font,system-ui);color:var(--xc-text)}
.xc-home-activity-preview time{display:block;margin-top:5px;font-size:11px;color:var(--xc-muted)}
.xc-home-activity-preview time[hidden]{display:none}
.xc-home-activity-preview [data-entry-close]{flex-shrink:0;width:32px;height:32px;border:1px solid var(--xc-line);border-radius:8px;background:var(--xc-field);color:var(--xc-muted);font:20px/1 var(--xc-font,system-ui);cursor:pointer}
.xc-home-activity-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;scrollbar-width:thin}
.xc-home-activity-content p{margin:0 0 10px;font:inherit;color:inherit}.xc-home-activity-content p:last-child{margin-bottom:0}
.xc-home-activity-content ul{margin:0 0 10px;padding-left:1.4em}
.xc-home-activity-preview>footer{flex-shrink:0;padding:12px 16px;border-top:1px solid var(--xc-line)}
.xc-home-activity-preview :focus-visible{outline:2px solid var(--xc-gold);outline-offset:2px}
.xc-home-activity-content:focus-visible{outline-offset:-3px}
@media(min-width:761px){.xc-home .xc-home-activities{position:fixed;left:12px;top:var(--activity-top,320px);bottom:var(--activity-bottom,280px);z-index:1200;flex-direction:column;align-items:center;flex-wrap:nowrap;width:48px;max-width:none;min-height:0;padding:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}}
@media(min-width:761px) and (max-height:700px){.xc-home .xc-home-activities{position:static;flex-direction:row;width:auto;max-width:100%;padding:12px 0;overflow:auto}}
.xc-home-banners { display: grid; grid-template-columns: 1.65fr 1fr; gap: 14px; padding-top: 20px; }
.xc-home-banner { position: relative; box-sizing: border-box; min-width: 0; border-radius: 14px; overflow: hidden; text-decoration: none; }
.xc-banner-main { background: #e8e2cc; color: #52492e; }
.xc-banner-link { display: flex; align-items: center; min-height: 186px; padding: 25px 28px; text-decoration: none; color: inherit; }
.xc-banner-copy { position: relative; z-index: 1; min-width: 0; max-width: 70%; }
.xc-banner-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; opacity: .75; }
.xc-home-banner h2 { font-size: clamp(20px,1.65vw,28px); line-height: 1.4; margin: 12px 0 8px; letter-spacing: -.025em; text-wrap: balance; }
.xc-banner-copy h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.xc-banner-copy p { max-width: 390px; margin: 0 0 18px; font-size: 12px; line-height: 1.7; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xc-banner-cta { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 650; }
.xc-banner-art { position: absolute; right: -8px; bottom: 8px; width: 42%; max-width: 290px; opacity: .65; }
.xc-banner-gallery { display: flex; flex-direction: column; justify-content: center; min-height: 186px; padding: 25px 28px; background: #dde9e4; color: #345a4c; }
.xc-banner-gallery h2 { margin-bottom: 18px; }
.xc-banner-gallery > :not(svg) { position: relative; z-index: 1; }
.xc-banner-gallery svg { position: absolute; bottom: -10px; right: 8px; width: 40%; max-width: 160px; }
.xc-banner-controls { position: absolute; bottom: 12px; right: 14px; display: flex; align-items: center; gap: 8px; font-size: 11px; z-index: 2; }
.xc-banner-controls[hidden] { display: none; }
.xc-banner-controls button { width: 28px; height: 28px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; opacity: .7; }
.xc-banner-controls button:hover { opacity: 1; }
.xc-home-banner [data-banner-photo] { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0; }
.xc-home-banner .has-image,.xc-home-banner.has-image { color:#fff; }
.xc-home-banner .has-image::after,.xc-home-banner.has-image::after { content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgb(0 0 0 / .68),rgb(0 0 0 / .14));pointer-events:none; }
.xc-home-banner .has-image > svg,.xc-home-banner.has-image > svg { visibility:hidden; }
.xc-banner-gallery > [data-banner-photo] { position:absolute;z-index:0; }
.xc-banner-main:has(.has-image) .xc-banner-controls { color:#fff;background:rgb(0 0 0 / .4);border-radius:999px;padding:4px; }
.xc-banner-link:not([href]),.xc-banner-gallery:not([href]) { cursor:default; }
.xc-banner-copy p:empty { display:none; }
.xc-home-banners :focus-visible { outline: 2px solid var(--xc-gold); outline-offset: -3px; }
html:is(.theme-dark,.studio-theme-dark) .xc-banner-main { background: #2c2b24; color: #e8d7a8; }
html:is(.theme-dark,.studio-theme-dark) .xc-banner-gallery { background: #22322f; color: #bbdbcc; }
.xc-side-card[data-nav="canvas"] { --tool-color: #497c73; }
.xc-side-card[data-nav="online"] { --tool-color: #ad6e42; }
.xc-side-card[data-nav="video-factory"] { --tool-color: #527ea5; }
.xc-side-card[data-nav="film"] { --tool-color: #8b709d; }
.xc-side-card[data-nav="upscale"] { --tool-color: #a07445; }
.xc-side-card { background: color-mix(in srgb, var(--tool-color) 7%, var(--xc-surface)); border-color: color-mix(in srgb, var(--tool-color) 25%, var(--xc-line)); }
.xc-side-card:hover { border-color: var(--tool-color); }
.xc-side-ico { color: var(--tool-color); background: color-mix(in srgb, var(--tool-color) 14%, transparent); }
.xc-side-ico svg { width: 19px; height: 19px; }
html:is(.theme-dark,.studio-theme-dark) .xc-side-ico { color: color-mix(in srgb, var(--tool-color) 55%, #fff); }
.xc-create { position:relative;isolation:isolate;padding:20px 12px 12px;box-sizing:border-box; }
.xc-create::before { content:'';position:absolute;inset:-10px -60px -8px;z-index:-1;background:radial-gradient(ellipse at 50% 50%,var(--xc-gold-soft-bg),transparent 70%);pointer-events:none; }
.xc-create-eyebrow { display:block;margin-bottom:13px;color:var(--xc-muted);font-size:10px;letter-spacing:.16em; }
.xc-create-eyebrow span { margin-inline:10px;color:var(--xc-gold); }
.xc-create-title { margin-bottom:20px; }
.xc-create-modes { padding:5px;border-color:var(--xc-line-soft);background:var(--xc-surface); }
.xc-create-modes button[aria-pressed=true] { color:var(--xc-gold);background:var(--xc-gold-soft-bg); }
.xc-create .wb-inspire { min-height:58px;margin-top:16px;border:1px solid var(--xc-line-strong);background:var(--xc-surface);box-shadow:0 8px 22px rgb(0 0 0 / .045); }
.xc-create .wb-inspire:focus-within { border-color:var(--xc-gold);box-shadow:0 0 0 3px var(--xc-gold-soft-bg); }
.xc-create .wb-inspire-go:not(:disabled) { background:var(--xc-gold-grad);color:var(--xc-on-gold); }
.xc-home .xc-create-cta { display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin-top:12px;min-height:24px;line-height:1.6; }
#wbModeHint { color:var(--xc-muted);font-size:12px; }
.xc-home .xc-create-cta button { display:inline-flex;align-items:center;flex:none;min-height:24px;margin:0;padding:0 2px;line-height:1.6;font-size:12px; }
.xc-home .xc-create-cta button[hidden] { display:none; }
#wbGuideHint { color:var(--xc-gold);text-decoration:underline;text-underline-offset:3px; }
.xc-home .xc-home-works .wk-browse { gap:8px 20px;padding-bottom:10px; }
.xc-home .xc-home-works .wk-page-actions { margin-left:auto; }
.xc-home .xc-home-works .wk-sample { order:3;flex-basis:100%;min-height:24px;justify-content:flex-end;font-size:11px; }
.xc-home .xc-home-works .wk-cats { flex-basis:600px; }
.xc-home .xc-quick-items { max-height:calc((100dvh - var(--xc-topbar-h) - 100px) / 2); }
@media (min-width:761px) and (max-height:850px) {
  .xc-home .xc-home-shortcuts { gap:10px;top:calc(var(--xc-topbar-h) + 20px); }
  .xc-home .xc-home-shortcuts .xc-home-pill { height:44px;gap:4px;font-size:11px; }
}
@media (max-width: 1050px) {
  .xc-banner-link,.xc-banner-gallery { padding: 20px; }
  .xc-banner-copy { max-width: 90%; }
  .xc-banner-art { opacity: .25; }
}
@media (max-width: 760px) {
  body.xc-home .wb-page { width: calc(100% - 76px) !important; margin:0 12px 0 64px !important; }
  .xc-home .xc-home-shortcuts { justify-content: center; gap: 10px; }
  .xc-home .xc-home-shortcuts .xc-home-pill { flex-direction: column; padding: 5px; gap: 3px; min-width: 44px; height: 48px; border: 0; border-radius: 9px; background: var(--xc-surface); font-size: 11px; }
  .xc-home-banners { padding-top: 0; gap: 8px; }
  .xc-banner-gallery { padding: 14px; }
  .xc-banner-link { padding: 18px; }
  .xc-home-banner h2 { font-size: 18px; }
  .xc-create { padding-inline:0; }
  .xc-create::before { inset:0; }
  .xc-create-eyebrow { font-size:9px;letter-spacing:.07em; }
  .xc-create-modes { gap:0; }
  .xc-create-modes button { padding-inline:9px;font-size:11px; }
  .xc-home .xc-quick-items { max-height:calc(100dvh - var(--xc-topbar-h) - 80px); }
  .xc-home .xc-home-works .wk-page-actions { width:100%; }
  .xc-home .xc-home-works .wk-srch { flex:1; }
  .xc-banner-copy { max-width: 100%; }
  .xc-banner-copy p { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
@media (max-width: 520px) {
  .xc-home-banners { grid-template-columns: 1fr; }
  .xc-banner-link { min-height: 170px; }
  .xc-banner-gallery { display: none; }
  .xc-ops-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xc-ops-side .xc-side-card:last-child { grid-column: 1 / -1; }
}
body.xc-home .wb-page { padding-bottom: 76px !important; }
@media (max-width: 600px) {
  body.xc-home .wb-page { padding-bottom: 118px !important; }
  .xc-home #xcAppVersion { bottom: 4px; font-size: 9px; line-height: 12px; padding: 0 4px; }
}

/* Compact editorial spacing: use the existing content, without additional feeds. */
.xc-home-banners { grid-template-columns:1.25fr 1fr; }
.xc-banner-link,.xc-banner-gallery { min-height:170px;padding:24px 28px 38px; }
.xc-banner-copy { width:calc(100% - 110px);max-width:none; }
.xc-home-banner h2 { font-size:clamp(20px,1.55vw,26px);margin:10px 0; }
.xc-banner-copy p { display:-webkit-box;max-width:600px;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;line-height:1.6;margin-bottom:12px; }
.xc-banner-copy p:empty { display:none; }
.xc-banner-art { width:150px;right:8px;bottom:18px;opacity:.38; }
.xc-banner-gallery svg { width:112px;right:16px;bottom:18px;opacity:.65; }
.xc-home .xc-side-card { position:relative;min-height:96px;gap:12px;padding:16px; }
.xc-home .xc-side-copy { flex:1;gap:5px; }
.xc-home .xc-side-ico { width:40px;height:40px; }
.xc-home .xc-side-desc { max-width:16em;line-height:1.5; }
.xc-tool-enter { display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--tool-color) 12%,transparent);color:var(--tool-color); }
.xc-tool-enter svg { width:16px;height:16px;transition:transform .15s; }
.xc-side-card:hover .xc-tool-enter svg { transform:translateX(2px); }
@media(min-width:1500px){
  .xc-home .xc-side-card { padding:18px 20px; }
  .xc-home .xc-side-ico { width:46px;height:46px; }
}
@media(max-width:1100px){
  .xc-home .xc-side-card { padding:12px;gap:8px; }
  .xc-home .xc-side-ico { width:32px;height:32px; }
  .xc-tool-enter { width:22px;height:22px; }
  .xc-banner-copy { width:calc(100% - 70px); }
  .xc-banner-art { width:110px; }
}
@media(max-width:600px){
  .xc-home-banners { grid-template-columns:minmax(0,1fr); }
  .xc-banner-gallery { display:none; }
  .xc-banner-link { min-height:152px;padding:20px 20px 38px; }
}
@media(prefers-reduced-motion:reduce){ .xc-tool-enter svg { transition:none; } }

/* Homepage refinement: preserve the warm-gold identity and background.
   DESIGN_VARIANCE 4 / MOTION_INTENSITY 3 / VISUAL_DENSITY 5.
   Recent work, creation, and material navigation each have a distinct role.
   Material shortcuts use static line art without loading cover images. */
.xc-home .xc-ops { display:flex;flex-direction:column;align-items:center;gap:0;padding:32px 0 12px;position:relative;z-index:2; }
.xc-home .xc-create { min-width:0;width:100%;max-width:800px;padding:8px 0;margin-inline:auto; }
.xc-home .xc-create::before { inset:0; }
.xc-home-tools { min-width:0;width:100%;max-width:1360px;margin-top:24px; }
.xc-home .xc-home-tools .xc-ops-side { display:flex;flex-wrap:wrap;justify-content:center;min-width:0;width:100%;max-width:none;margin:0;gap:8px;overflow:visible; }
.xc-home .xc-ops-side > .xc-side-card,.xc-canvas-shortcut,.xc-material-card { flex:0 1 136px; }
.xc-home .xc-side-card { display:flex;align-items:center;justify-content:center;min-width:0;min-height:50px;padding:10px 8px;gap:7px;border:0;box-shadow:none;transition:background-color .16s ease,transform .16s ease; }
.xc-home .xc-side-card:hover { background:color-mix(in srgb,var(--tool-color) 12%,var(--xc-surface));transform:translateY(-2px); }
.xc-home .xc-side-card:active { transform:translateY(0); }
.xc-home .xc-side-card:focus-visible { outline:2px solid var(--xc-gold);outline-offset:3px; }
.xc-home .xc-side-copy { flex:initial;min-width:0;gap:0; }
.xc-home .xc-side-title { font-size:13px;white-space:nowrap; }
.xc-home .xc-side-ico { flex:none;width:24px;height:24px;border-radius:6px; }
.xc-home .xc-side-ico svg { width:16px;height:16px; }
.xc-home .xc-home-tools :is(.xc-side-desc,.xc-tool-enter) { display:none; }
.xc-canvas-shortcut { position:relative;display:flex;min-width:0;border-radius:var(--xc-radius-control);background:color-mix(in srgb,#477e71 7%,var(--xc-surface)); }
.xc-home .xc-canvas-shortcut > .xc-side-card { flex:1;padding-inline:8px 0;background:transparent;border-radius:var(--xc-radius-control) 0 0 var(--xc-radius-control); }
.xc-home .xc-canvas-shortcut > .xc-side-card:hover { transform:none; }
.xc-recent-toggle { display:grid;place-items:center;flex:none;width:28px;min-height:50px;padding:0;border:0;border-radius:0 var(--xc-radius-control) var(--xc-radius-control) 0;background:transparent;color:var(--xc-muted);cursor:pointer; }
.xc-recent-toggle svg { width:14px;height:14px;transition:transform .18s ease; }
.xc-recent-toggle:hover { color:var(--xc-gold);background:var(--xc-hover); }
.xc-recent-toggle:focus-visible { outline:2px solid var(--xc-gold);outline-offset:2px; }
.xc-canvas-shortcut.is-open .xc-recent-toggle svg { transform:rotate(180deg); }
.xc-canvas-shortcut > .xc-home-recent { position:absolute;left:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 88px));box-sizing:border-box;padding:18px;text-align:left;border:1px solid var(--xc-line);border-radius:12px;background:var(--xc-surface);box-shadow:var(--xc-shadow);z-index:10;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease,visibility .18s; }
.xc-canvas-shortcut > .xc-home-recent::before { content:'';position:absolute;left:0;right:0;top:-10px;height:10px; }
.xc-canvas-shortcut.is-open > .xc-home-recent { visibility:visible;opacity:1;transform:translateY(0); }
.xc-home-recent .xc-recent-list { max-height:min(360px,50dvh);overflow:auto;overscroll-behavior:contain; }
.xc-home-recent .xc-recent-empty { min-height:160px;padding:12px; }
.xc-home-recent .xc-recent-item { padding:8px 0; }
.xc-home-recent .xc-home-section-heading h2 { font-size:16px; }
.xc-home-recent .xc-home-section-note { margin-bottom:12px; }
.xc-home .xc-create-modes { max-width:100%;box-sizing:border-box;overflow-x:auto;vertical-align:top;border:0;scrollbar-width:none; }
.xc-home .xc-home-works { margin-top:22px; }
.xc-home .wk :is(.wk-kind,.wk-seg,.wk-models select,.wk-up,.wk-sample .xc-top-btn) { border:0;box-shadow:none; }

/* 精选保留独立入口，第二版在文末统一为横向等权卡片。 */
.xc-home-works .wk-picks { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px; }
.xc-home-works .wk-picks[data-count="1"] { grid-template-columns:minmax(0,1fr); }
.xc-home-works .wk-pick-rail { gap:12px; }
.xc-home .xc-home-works .wk-pick { position:relative;display:block;border:0;box-shadow:none;background:#17191c;color:#fff; }
.xc-home .xc-home-works .wk-pick-lead .thumb { height:320px; }
.xc-home .xc-home-works .wk-pick .thumb { width:100%; }
.xc-home .xc-home-works .wk-pick .wk-pick-copy { position:absolute;inset:auto 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:4px 12px;padding:36px 16px 14px;background:linear-gradient(180deg,transparent,rgba(8,11,15,.78) 36px,rgba(8,11,15,.94));color:#fff; }
.xc-home .xc-home-works .wk-pick-lead .wk-pick-copy strong { font-size:16px; }
.xc-home .xc-home-works .wk-pick .wk-pick-note { grid-column:1;grid-row:2;-webkit-line-clamp:1;color:#e6e4df; }
.xc-home .xc-home-works .wk-pick-rail .thumb { height:100%;min-height:154px;aspect-ratio:auto; }
.xc-home .xc-home-works .wk-pick-rail .wk-pick-copy strong { font-size:15px;white-space:nowrap;display:block; }
.xc-home .xc-home-works .wk-pick .wk-pick-meta { grid-column:2;grid-row:1;justify-content:flex-end;gap:4px 8px;color:#e6e4df; }
.xc-home .xc-home-works .wk-pick .wk-pick-author { max-width:10em; }
.xc-home .xc-home-works .wk-pick .wk-pick-type { color:inherit; }
.xc-home .xc-home-works .wk-pick .wk-pick-open { grid-column:2;grid-row:2;justify-content:flex-end;margin:0;color:#f2e3ad; }

.xc-home-recent,.xc-home-materials { min-width:0; }
.xc-home-materials,.xc-materials-grid { display:contents; }
.xc-canvas-shortcut[hidden],.xc-home-recent[hidden],.xc-home-materials[hidden],.xc-material-card[hidden],.xc-recent-status[hidden] { display:none!important; }
.xc-home-section-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px; }
.xc-home-section-heading h2 { margin:0;color:var(--xc-text);font-size:17px;line-height:1.5;font-weight:650;letter-spacing:-.02em; }
.xc-home-section-heading a { display:inline-flex;align-items:center;gap:6px;min-height:28px;color:var(--xc-muted);font-size:12px;text-decoration:none;white-space:nowrap; }
.xc-home-section-heading a:hover { color:var(--xc-gold); }
.xc-home-section-note { margin:3px 0 16px;font-size:12px;line-height:1.6;color:var(--xc-muted); }
.xc-recent-list { display:grid;gap:8px; }
.xc-recent-item { display:flex;align-items:center;gap:12px;min-height:76px;min-width:0;padding:10px;border-radius:var(--xc-radius-card);background:var(--xc-surface);color:var(--xc-text);text-decoration:none;transition:background-color .16s ease,transform .16s ease; }
.xc-recent-item:hover { background:var(--xc-raised);transform:translateX(2px); }
.xc-recent-item:active { transform:translateX(0); }
.xc-recent-cover { flex:none;display:grid;place-items:center;width:64px;height:52px;overflow:hidden;border-radius:var(--xc-radius-control);background:var(--xc-raised);color:var(--xc-gold);font-size:16px; }
.xc-recent-cover img { width:100%;height:100%;object-fit:cover; }
.xc-recent-copy { display:grid;gap:6px;min-width:0;flex:1; }
.xc-recent-copy strong { font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.xc-recent-copy time { font-size:12px;line-height:1.5;color:var(--xc-muted); }
.xc-recent-enter { flex:none;color:var(--xc-muted);font-size:14px; }
.xc-recent-status { margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--xc-muted); }
.xc-recent-empty { display:grid;align-content:center;justify-items:start;gap:12px;min-height:232px;padding:20px;border-radius:var(--xc-radius-card);background:var(--xc-surface); }
.xc-recent-empty strong { font-size:16px;font-weight:600;color:var(--xc-text); }
.xc-recent-empty p { margin:0;font-size:13px;line-height:1.7;color:var(--xc-muted); }
.xc-recent-empty a,.xc-recent-retry { display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:0;border-radius:var(--xc-radius-control);background:var(--xc-gold-soft-bg);color:var(--xc-gold);font:inherit;font-size:13px;text-decoration:none;cursor:pointer; }
.xc-recent-skeleton { height:76px;border-radius:var(--xc-radius-card);background:var(--xc-surface);opacity:.65; }
.xc-material-card { --material-color:#aa8b47;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:50px;padding:10px 12px;overflow:hidden;box-sizing:border-box;border:0;border-radius:var(--xc-radius-control);background:color-mix(in srgb,var(--material-color) 13%,var(--xc-surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--material-color) 16%,transparent);color:var(--xc-text);text-decoration:none;transition:background-color .16s ease; }
.xc-material-card[data-material="role"] { --material-color:#987da3; }
.xc-material-card[data-material="scene"] { --material-color:#518b75; }
.xc-material-card[data-material="template"] { --material-color:#6485a5; }
.xc-material-cover { display:grid;place-items:center;flex:none;width:24px;height:24px;color:color-mix(in srgb,var(--material-color) 65%,var(--xc-text));pointer-events:none; }
.xc-material-cover svg { display:block;width:28px;height:24px; }
.xc-material-copy { position:relative;display:grid;min-width:0;gap:3px; }
.xc-material-copy strong { font-size:13px;line-height:1.4;font-weight:650;white-space:nowrap; }
.xc-material-copy > span,.xc-material-arrow { display:none; }
/* Static sound artwork: no audio element, timer, canvas, or decode work. */
.xc-material-sound { background:none; }
.xc-material-wave { width:100%;height:24px;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 4px);opacity:.75;clip-path:polygon(0 46%,6% 40%,12% 28%,18% 40%,24% 9%,30% 32%,36% 2%,42% 20%,48% 37%,54% 28%,60% 41%,66% 11%,72% 27%,78% 37%,84% 20%,90% 39%,100% 47%,100% 53%,90% 61%,84% 80%,78% 63%,72% 73%,66% 89%,60% 59%,54% 72%,48% 63%,42% 80%,36% 98%,30% 68%,24% 91%,18% 60%,12% 72%,6% 60%,0 54%); }
.xc-material-card:hover { background:color-mix(in srgb,var(--material-color) 21%,var(--xc-surface)); }
.xc-material-card:focus-visible { outline:2px solid var(--xc-gold);outline-offset:3px; }
.xc-material-card:active { background:var(--xc-gold-soft-bg); }
.xc-home-materials :focus-visible,.xc-home-recent :focus-visible { outline:2px solid var(--xc-gold);outline-offset:3px; }

@media(min-width:1800px) {
  .xc-home .xc-home-works .wk-pick-lead .thumb { height:340px; }
}
@media(min-width:1200px) {
  .xc-home .xc-ops-side > .xc-side-card,.xc-canvas-shortcut,.xc-material-card { flex:1 1 0; }
  .xc-home-works .wk-picks[data-count="3"] .wk-pick-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xc-home .xc-home-works .wk-pick-rail .wk-pick-copy strong { grid-column:1 / -1;grid-row:1; }
  .xc-home .xc-home-works .wk-pick-rail .wk-pick-note { grid-column:1 / -1;grid-row:2; }
  .xc-home .xc-home-works .wk-pick-rail .wk-pick-meta { grid-column:1;grid-row:3;justify-content:flex-start; }
  .xc-home .xc-home-works .wk-pick-rail .wk-pick-open { grid-column:2;grid-row:3; }
}
@media(max-width:760px) {
  .xc-home .xc-home-works { margin-top:18px; }
  .xc-home .xc-home-works .wk-picks { grid-template-columns:minmax(0,1fr); }
  .xc-home .xc-home-works .wk-pick-lead .thumb { height:auto;min-height:200px;aspect-ratio:16/9; }
  .xc-home .xc-home-works .wk-pick-rail .thumb { min-height:180px; }
  .xc-home .xc-home-works .wk-pick .wk-pick-copy { grid-template-columns:minmax(0,1fr) auto;padding:28px 12px 12px;gap:3px 8px; }
  .xc-home .xc-home-works .wk-pick .wk-pick-copy strong { grid-column:1 / -1;grid-row:1;font-size:14px; }
  .xc-home .xc-home-works .wk-pick .wk-pick-note { grid-column:1 / -1;grid-row:2; }
  .xc-home .xc-home-works .wk-pick .wk-pick-meta { grid-column:1;grid-row:3;justify-content:flex-start; }
  .xc-home .xc-home-works .wk-pick .wk-pick-open { grid-column:2;grid-row:3; }
  .xc-home-section-heading a { min-height:44px; }
}
@media(max-width:640px) {
  .xc-home .xc-home-tools .xc-ops-side { gap:8px; }
  .xc-home .xc-ops-side > .xc-side-card,.xc-canvas-shortcut,.xc-material-card { flex-basis:calc(50% - 4px); }
  .xc-home .xc-side-card { min-height:48px;justify-content:center;padding:10px; }
  .xc-recent-toggle { width:44px;min-height:48px; }
  .xc-canvas-shortcut > .xc-home-recent { position:fixed;left:12px;right:12px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 24px);transform:translateY(12px); }
  .xc-canvas-shortcut > .xc-home-recent::before { display:none; }
  .xc-home-recent .xc-recent-list { max-height:min(320px,calc(100dvh - 170px)); }
  .xc-home .xc-side-copy { flex:initial; }
  .xc-home .xc-create-modes button { padding-inline:9px;min-height:40px;font-size:12px; }
  .xc-material-card { min-height:48px; }
}
@media(prefers-reduced-motion:reduce) {
  .xc-home .xc-side-card,.xc-material-card,.xc-recent-item,.xc-canvas-shortcut > .xc-home-recent,.xc-recent-toggle svg { transition:none; }
  .xc-home .xc-side-card:hover,.xc-material-card:hover,.xc-recent-item:hover { transform:none; }
}

/* 作品二版：类型主导航、题材标签、紧凑精选；保留星宸主题令牌。 */
.xc-home .xc-home-works .wk-discovery { display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-bottom:12px; }
.xc-home .xc-home-works .wk-discovery h2 { margin:0;font-size:22px;line-height:1.4;letter-spacing:-.02em; }
.xc-home .xc-home-works .wk-discovery .wk-kind { gap:20px;padding:0;background:none; }
.xc-home .xc-home-works .wk-discovery .wk-kind button { padding:6px 0;border-radius:0;border-bottom:2px solid transparent;font-size:16px; }
.xc-home .xc-home-works .wk-discovery .wk-kind button.on { background:none;color:var(--accent);border-bottom-color:var(--accent); }
.xc-home .xc-home-works .wk-browse { border:0;padding-bottom:4px; }
.xc-home .xc-home-works .wk-cats { gap:8px;flex-basis:100%; }
.xc-home .xc-home-works .wk-cats button { min-height:36px;padding:6px 14px;border:0;border-radius:6px;font-size:13px; }
.xc-home .xc-home-works .wk-cats button.cur { background:var(--gold-soft-bg);color:var(--accent); }
.xc-home .xc-home-works .wk-cats button:hover { background:var(--chip); }
.xc-home .xc-home-works .wk-feed { margin-top:24px;padding-top:0;border:0; }
.xc-home .xc-home-works :is(.wk-sh h2,.wk-ghd .t) { font-size:17px; }
.xc-home .xc-home-works .wk-picks { display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px; }
.xc-home .xc-home-works .wk-pick-rail { display:contents; }
.xc-home .xc-home-works .wk-pick { flex:0 0 calc((100% - 28px)/3);min-width:240px;border-radius:6px;scroll-snap-align:start; }
.xc-home .xc-home-works .wk-pick .thumb { height:auto;min-height:0;aspect-ratio:16/9; }
.xc-home .xc-home-works .wk-pick .wk-pick-copy { display:block;padding:30px 12px 12px;background:linear-gradient(transparent,rgb(0 0 0 / .78)); }
.xc-home .xc-home-works .wk-pick .wk-pick-copy strong { display:block;font-size:14px; }
.xc-home .xc-home-works .wk-pick .wk-pick-meta { display:flex;justify-content:space-between;margin-top:4px;font-size:11px; }
.xc-home .xc-home-works .wk-pick :is(.wk-pick-note,.wk-pick-open) { display:none; }
@media(min-width:1200px) and (max-width:1599px) { .xc-home .xc-home-works .wk-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) {
  .xc-home .xc-home-works .wk-discovery { gap:8px 18px; }
  .xc-home .xc-home-works .wk-discovery h2 { font-size:20px; }
  .xc-home .xc-home-works .wk-discovery .wk-kind { gap:16px; }
  .xc-home .xc-home-works .wk-cats button { min-height:44px; }
  .xc-home .xc-home-works .wk-pick { flex-basis:78%;min-width:0; }
}
