/* AI素材拆解 · reference-locked visual intelligence studio */
body.goodcase-studio-route {
  --sidebar-w: 210px;
  --topbar-h: 58px;
  --bg-sidebar: #f8fbfd;
  --bg-topbar: #ffffff;
  --border: #dbe6ee;
  --text: #526579;
  --text-bright: #102136;
  --text-muted: #788ba0;
  background: #eef4f8;
}

body.goodcase-studio-route .sidebar {
  width: 210px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fafc 68%, #e9f5fa 100%);
  border-right: 1px solid #d8e4ec;
  box-shadow: 8px 0 28px rgba(49, 72, 94, .08);
}

body.goodcase-studio-route .topbar {
  height: 58px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #d9e4ec;
  box-shadow: 0 2px 10px rgba(39, 61, 82, .08);
}

body.goodcase-studio-route .brand-text strong { color: #102136 !important; }
body.goodcase-studio-route .brand-text span { color: #71859a !important; }
body.goodcase-studio-route .topbar-search-wrap { flex: 0 0 420px; max-width: 420px; border-color: #d7e3eb; background: #f5f9fc; }
body.goodcase-studio-route #searchInput { color: #354a60; }
body.goodcase-studio-route #searchInput::placeholder { color: #8798aa; }
body.goodcase-studio-route .topbar-kb { border-color: #d7e3eb; background: #edf3f7; color: #708398; }
body.goodcase-studio-route .topbar-live,
body.goodcase-studio-route .topbar-ai-btn,
body.goodcase-studio-route .topbar-user { border-color: #d7e3eb; background: #ffffff; color: #526579; }
body.goodcase-studio-route .topbar-user-name { color: #102136; }
body.goodcase-studio-route .topbar-user-role,
body.goodcase-studio-route .topbar-live-label,
body.goodcase-studio-route .topbar-updated { color: #71859a; }

body.goodcase-studio-route .nav-list > a,
body.goodcase-studio-route .nav-group-label,
body.goodcase-studio-route .nav-group-items a { color: #5b6e82; }

body.goodcase-studio-route .nav-list > a.active,
body.goodcase-studio-route .nav-group-label.active,
body.goodcase-studio-route .nav-group-items a.active {
  color: #087f9c;
  background: #e5f6fb;
  box-shadow: inset 0 0 0 1px #bde9f3;
}

body.goodcase-studio-route .shell { background: #020b16; }
body.goodcase-detail-open,
body.goodcase-sheet-open { overflow: hidden; }

#goodcaseWrap {
  --gc-bg: #020b16;
  --gc-panel: #071524;
  --gc-panel-2: #0a1b2e;
  --gc-panel-3: #0c2035;
  --gc-ink: #f1f8ff;
  --gc-copy: #bdd0e1;
  --gc-muted: #8399af;
  --gc-line: #263d53;
  --gc-line-soft: rgba(105, 139, 169, .22);
  --gc-cyan: #1bdcff;
  --gc-violet: #8b4dff;
  --gc-blue: #4788ff;
  --gc-green: #42dab0;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 100%;
  margin: 0;
  padding: 18px 38px 48px !important;
  overflow-x: hidden;
  color: var(--gc-ink);
  background:
    radial-gradient(ellipse 54% 28% at 58% 0%, rgba(44, 116, 171, .12), transparent 72%),
    var(--gc-bg);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  scrollbar-color: rgba(27, 220, 255, .35) transparent;
}

#goodcaseWrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image:
    linear-gradient(rgba(75, 116, 151, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 116, 151, .16) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .45) 64%, transparent 100%);
}

#goodcaseWrap .goodcase-studio-shell { width: 100%; max-width: 1440px; min-height: 100%; margin: 0 auto; }
#goodcaseWrap .goodcase-mobile-head { display: none; }

/* Header */
#goodcaseWrap .goodcase-studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 380px 210px;
  align-items: center;
  height: 130px;
  min-height: 130px;
  overflow: hidden;
  padding: 22px 22px 22px 28px;
  border: 1px solid #284158;
  border-radius: 8px;
  background:
    radial-gradient(circle at 69% 45%, rgba(41, 213, 255, .12), transparent 25%),
    radial-gradient(circle at 72% 54%, rgba(139, 77, 255, .12), transparent 27%),
    linear-gradient(108deg, rgba(6, 24, 40, .98), rgba(8, 18, 34, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 14px 38px rgba(0, 0, 0, .2);
}

#goodcaseWrap .goodcase-studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(126, 195, 226, .8) 0 1px, transparent 1.5px),
    linear-gradient(90deg, transparent 0 64%, rgba(27, 220, 255, .22) 64.1%, transparent 64.3%);
  background-size: 37px 37px, auto;
  mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 78%, transparent 100%);
}

#goodcaseWrap .goodcase-hero-copy,
#goodcaseWrap .goodcase-orbit,
#goodcaseWrap .goodcase-hero-actions { position: relative; z-index: 1; }

#goodcaseWrap .goodcase-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--gc-cyan);
  font: 800 9px/1 "Segoe UI", sans-serif;
  letter-spacing: .18em;
}

#goodcaseWrap .goodcase-kicker span { width: 18px; height: 1px; background: var(--gc-cyan); box-shadow: 0 0 8px var(--gc-cyan); }
#goodcaseWrap .goodcase-studio-hero h2 { margin: 11px 0 0; color: var(--gc-ink); font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.055em; }
#goodcaseWrap .goodcase-hero-subtitle { margin: 10px 0 0; color: #a9bfd3; font-size: 13px; line-height: 1.4; }

#goodcaseWrap .goodcase-orbit { display: grid; width: 280px; height: 100px; place-items: center; justify-self: center; }
#goodcaseWrap .goodcase-orbit::before { content: ""; position: absolute; width: 100px; height: 72px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 220, 255, .34), rgba(139, 77, 255, .14) 42%, transparent 72%); filter: blur(4px); }
#goodcaseWrap .goodcase-orbit-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(126, 177, 207, .33); border-radius: 50%; transform: translate(-50%, -50%) rotate(-8deg); }
#goodcaseWrap .goodcase-orbit-ring--outer { width: 260px; height: 78px; border-top-color: var(--gc-cyan); border-right-color: var(--gc-violet); box-shadow: 0 -3px 12px rgba(27, 220, 255, .12); animation: goodcase-orbit-pulse 5s ease-in-out infinite; }
#goodcaseWrap .goodcase-orbit-ring--inner { width: 175px; height: 54px; transform: translate(-50%, -50%) rotate(19deg); border-left-color: var(--gc-violet); }
#goodcaseWrap .goodcase-prism { position: relative; width: 54px; height: 62px; transform: rotate(45deg) skew(-4deg, -4deg); border: 1px solid rgba(151, 232, 255, .82); background: linear-gradient(135deg, rgba(27, 220, 255, .46), rgba(45, 104, 255, .24) 46%, rgba(139, 77, 255, .52)); box-shadow: 0 0 25px rgba(27, 220, 255, .42), 0 0 48px rgba(139, 77, 255, .25), inset 0 0 18px rgba(255, 255, 255, .16); }
#goodcaseWrap .goodcase-prism i { position: absolute; display: block; background: rgba(213, 247, 255, .55); }
#goodcaseWrap .goodcase-prism i:nth-child(1) { left: 50%; top: 0; width: 1px; height: 100%; }
#goodcaseWrap .goodcase-prism i:nth-child(2) { left: 0; top: 52%; width: 100%; height: 1px; }
#goodcaseWrap .goodcase-prism i:nth-child(3) { inset: 9px; border: 1px solid rgba(255, 255, 255, .24); background: none; }
#goodcaseWrap .goodcase-orbit-label { position: absolute; right: 0; bottom: 0; color: rgba(156, 183, 207, .5); font: 700 7px/1 "Segoe UI", sans-serif; letter-spacing: .15em; }
@keyframes goodcase-orbit-pulse { 50% { opacity: .72; transform: translate(-50%, -50%) rotate(-5deg) scale(1.02); } }

#goodcaseWrap .goodcase-hero-actions { display: flex; justify-content: flex-end; gap: 8px; }
#goodcaseWrap .goodcase-reload,
#goodcaseWrap .goodcase-info-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 6px; padding: 0 13px; border: 1px solid var(--gc-line); border-radius: 6px; color: #a9bed1; font-size: 11px; font-weight: 750; }
#goodcaseWrap .goodcase-reload { border-color: rgba(27, 220, 255, .42); color: var(--gc-cyan); background: rgba(27, 220, 255, .07); }
#goodcaseWrap .goodcase-info-button { padding-inline: 10px; }
#goodcaseWrap .goodcase-reload:hover,
#goodcaseWrap .goodcase-info-button:hover { border-color: var(--gc-cyan); color: var(--gc-ink); background: rgba(27, 220, 255, .1); }

/* Snapshot and controls */
#goodcaseWrap .goodcase-snapshot-line { display: none; min-height: 27px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 2px; border-bottom: 1px solid rgba(75, 111, 143, .2); color: var(--gc-muted); font-size: 9px; }
#goodcaseWrap .goodcase-status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#goodcaseWrap .goodcase-snapshot-trust { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#goodcaseWrap .goodcase-snapshot-trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--gc-green); box-shadow: 0 0 8px rgba(66, 218, 176, .65); }

#goodcaseWrap .goodcase-control-deck { display: grid; grid-template-columns: 372px minmax(280px, 1fr) 304px; align-items: center; gap: 12px; min-height: 57px; margin-top: 8px; padding: 7px 0; }
#goodcaseWrap .goodcase-stats { display: grid; grid-template-columns: repeat(3, 1fr); height: 42px; gap: 12px; }
#goodcaseWrap .goodcase-stats > span { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--gc-line); border-radius: 6px; background: rgba(8, 24, 40, .78); color: var(--gc-muted); font-size: 9px; white-space: nowrap; }
#goodcaseWrap .goodcase-stats > span:first-child { border-color: rgba(27, 220, 255, .7); }
#goodcaseWrap .goodcase-stats > span:last-child { border-color: rgba(139, 77, 255, .5); }
#goodcaseWrap .goodcase-stats strong { color: var(--gc-ink); font: 850 17px/1 "Segoe UI", sans-serif; }
#goodcaseWrap .goodcase-stats > span:first-child strong { color: var(--gc-cyan); }

#goodcaseWrap .goodcase-search { display: flex; height: 42px; align-items: center; gap: 8px; min-width: 0; padding: 0 12px; border: 1px solid var(--gc-line); border-radius: 7px; background: rgba(8, 24, 40, .8); color: var(--gc-muted); }
#goodcaseWrap .goodcase-search:focus-within { border-color: var(--gc-cyan); box-shadow: 0 0 0 2px rgba(27, 220, 255, .08); }
#goodcaseWrap .goodcase-search > span { color: var(--gc-cyan); font-size: 17px; }
#goodcaseWrap .goodcase-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gc-ink); font-size: 11px; }
#goodcaseWrap .goodcase-search input::placeholder { color: #71869b; }
#goodcaseWrap .goodcase-search kbd { padding: 3px 6px; border: 1px solid var(--gc-line); border-radius: 4px; color: #74899e; font: 8px/1 "Segoe UI", sans-serif; }

#goodcaseWrap .goodcase-scope-bar { display: grid; grid-template-columns: 1fr 1fr; height: 42px; padding: 3px; border: 1px solid var(--gc-line); border-radius: 7px; background: rgba(8, 24, 40, .8); }
#goodcaseWrap .goodcase-scope { border-radius: 5px; color: var(--gc-muted); font-size: 10px; font-weight: 700; }
#goodcaseWrap .goodcase-scope.is-active { color: var(--gc-ink); background: linear-gradient(135deg, rgba(27, 220, 255, .18), rgba(71, 136, 255, .13)); box-shadow: inset 0 0 0 1px rgba(27, 220, 255, .28); }
#goodcaseWrap .goodcase-mobile-filter { display: none; }

#goodcaseWrap .goodcase-category-strip { display: flex; min-height: 41px; align-items: center; gap: 7px; overflow-x: auto; padding: 5px 0; border-top: 1px solid rgba(65, 102, 133, .2); border-bottom: 1px solid rgba(65, 102, 133, .2); scrollbar-width: none; }
#goodcaseWrap .goodcase-category-strip::-webkit-scrollbar { display: none; }
#goodcaseWrap .goodcase-lens { display: inline-flex; min-width: max-content; height: 33px; align-items: center; gap: 6px; padding: 0 15px; border: 1px solid var(--gc-line-soft); border-radius: 17px; background: rgba(8, 24, 40, .45); color: var(--gc-muted); }
#goodcaseWrap .goodcase-lens b { font-size: 10px; }
#goodcaseWrap .goodcase-lens span { color: #657b91; font: 700 8px/1 "Segoe UI", sans-serif; }
#goodcaseWrap .goodcase-lens.is-active { border-color: rgba(27, 220, 255, .7); background: rgba(27, 220, 255, .11); color: var(--gc-cyan); box-shadow: 0 0 15px rgba(27, 220, 255, .08); }
#goodcaseWrap .goodcase-lens.is-active span { color: #9defff; }
#goodcaseWrap .goodcase-coverage { display: none; min-height: 28px; margin: 0; padding: 7px 1px 5px; color: #6f859b; font-size: 9px; }

/* Bento library */
#goodcaseWrap .goodcase-list { display: grid; grid-auto-flow: row dense; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; align-items: stretch; padding-top: 9px; }
#goodcaseWrap .goodcase-card { position: relative; grid-column: span 3; display: flex; width: 100%; min-width: 0; height: 300px; min-height: 300px; overflow: hidden; flex-direction: column; border: 1px solid #273f55; border-radius: 8px; background: linear-gradient(180deg, #081827, #061421); color: var(--gc-ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .14); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
#goodcaseWrap .goodcase-card:hover,
#goodcaseWrap .goodcase-card:focus-visible { z-index: 2; transform: translateY(-2px); border-color: rgba(27, 220, 255, .58); box-shadow: 0 16px 32px rgba(0, 0, 0, .25), 0 0 22px rgba(27, 220, 255, .08); outline: 0; }
#goodcaseWrap .goodcase-card.is-featured { grid-column: span 6; display: grid; grid-template-columns: 70% 30%; min-height: 285px; }
#goodcaseWrap .goodcase-media { position: relative; min-width: 0; height: 154px; overflow: hidden; border-bottom: 1px solid var(--gc-line); background: #091727; }
#goodcaseWrap .goodcase-card.is-featured .goodcase-media { height: 100%; min-height: 300px; border-right: 1px solid var(--gc-line); border-bottom: 0; }
#goodcaseWrap .goodcase-media::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(1, 8, 15, .68)); }
#goodcaseWrap .goodcase-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
#goodcaseWrap .goodcase-card:hover .goodcase-media img { transform: scale(1.025); }
#goodcaseWrap .goodcase-media-badge { position: absolute; z-index: 2; left: 10px; top: 10px; display: inline-flex; min-height: 22px; align-items: center; padding: 0 7px; border: 1px solid rgba(164, 231, 247, .36); border-radius: 4px; background: rgba(3, 14, 25, .78); color: #b5edfa; font-size: 8px; font-weight: 750; backdrop-filter: blur(7px); }
#goodcaseWrap .goodcase-card-body { position: relative; display: flex; min-width: 0; min-height: 145px; overflow: hidden; flex: 1; flex-direction: column; gap: 5px; padding: 10px 12px 12px; }
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-body { justify-content: center; padding: 13px 11px; }
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-card-meta,
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > h3,
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-summary,
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-byline,
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-card-metrics { display: none; }
#goodcaseWrap .goodcase-featured-overlay { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 5px; padding: 62px 17px 15px; background: linear-gradient(180deg, transparent, rgba(2, 10, 18, .88) 46%, rgba(2, 10, 18, .97)); }
#goodcaseWrap .goodcase-featured-overlay h3 { color: #fff; font-size: 18px; }
#goodcaseWrap .goodcase-featured-overlay .goodcase-summary { max-width: 390px; color: #b2c4d4; font-size: 10px; }
#goodcaseWrap .goodcase-featured-overlay .goodcase-byline { color: #91a4b6; }
#goodcaseWrap .goodcase-card-meta { display: flex; gap: 5px; }
#goodcaseWrap .goodcase-card-meta span { padding: 3px 6px; border: 1px solid rgba(27, 220, 255, .23); border-radius: 4px; color: #79cfe0; font-size: 8px; line-height: 1; }
#goodcaseWrap .goodcase-card-meta span:nth-child(2) { border-color: rgba(139, 77, 255, .28); color: #ab96e9; }
#goodcaseWrap .goodcase-card h3 { display: -webkit-box; margin: 0; overflow: hidden; color: var(--gc-ink); font-size: 16px; font-weight: 850; line-height: 1.4; letter-spacing: -.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
#goodcaseWrap .goodcase-card.is-featured h3 { font-size: 21px; line-height: 1.35; }
#goodcaseWrap .goodcase-summary { display: -webkit-box; margin: 0; overflow: hidden; color: #9bb0c4; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
#goodcaseWrap .goodcase-card.is-featured .goodcase-summary { font-size: 11px; -webkit-line-clamp: 3; }
#goodcaseWrap .goodcase-byline { margin: 0; overflow: hidden; color: #6e8397; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
#goodcaseWrap .goodcase-card-metrics { display: flex; gap: 6px; margin-top: auto; padding-right: 60px; }
#goodcaseWrap .goodcase-card-metrics span { padding: 3px 5px; border: 1px solid rgba(89, 119, 145, .28); border-radius: 3px; color: #7790a6; font: 700 8px/1 "Segoe UI", sans-serif; }
#goodcaseWrap .goodcase-card-metrics .is-hot { border-color: rgba(27, 220, 255, .3); color: #65d8ed; }
#goodcaseWrap .goodcase-prompt-preview { display: none; margin: 1px 0 0; overflow: hidden; color: #70879c; font: 8.5px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#goodcaseWrap .goodcase-card-signal { padding: 9px 10px; border: 1px solid rgba(70, 119, 153, .28); border-radius: 6px; background: rgba(5, 15, 26, .6); }
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-signal { padding: 0; border: 0; background: transparent; }
#goodcaseWrap .goodcase-card-signal > span { display: block; margin-bottom: 7px; color: #6d8296; font: 700 7px/1 "Segoe UI", sans-serif; letter-spacing: .09em; }
#goodcaseWrap .goodcase-card-signal > div { display: flex; flex-wrap: wrap; gap: 5px; }
#goodcaseWrap .goodcase-card-signal b { padding: 4px 6px; border-radius: 3px; background: rgba(27, 220, 255, .08); color: #8ddfee; font-size: 8px; font-weight: 700; }
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-signal > div { display: grid; gap: 0; }
#goodcaseWrap .goodcase-card.is-featured .goodcase-card-signal b { min-height: 39px; padding: 12px 3px 8px 18px; border-top: 1px solid rgba(72, 107, 136, .3); border-radius: 0; background: radial-gradient(circle at 6px 50%, rgba(27, 220, 255, .9) 0 2px, transparent 3px); color: #9db1c3; line-height: 1.35; }
#goodcaseWrap .goodcase-card-open-hint { position: absolute; right: 13px; bottom: 11px; color: var(--gc-cyan); font-size: 9px; font-weight: 750; }
#goodcaseWrap .goodcase-card-open-hint::after { content: " →"; }
#goodcaseWrap .goodcase-media-placeholder { display: grid; place-content: center; gap: 6px; color: #607990; text-align: center; }
#goodcaseWrap .goodcase-media-type { font: 800 10px/1 "Segoe UI", sans-serif; letter-spacing: .12em; }
#goodcaseWrap .goodcase-media-empty { font-size: 9px; }
#goodcaseWrap .goodcase-empty { grid-column: 1 / -1; display: grid; min-height: 300px; place-content: center; gap: 8px; border: 1px dashed var(--gc-line); border-radius: 8px; color: var(--gc-muted); text-align: center; }
#goodcaseWrap .goodcase-empty strong { color: var(--gc-ink); }
#goodcaseWrap .goodcase-load-more { grid-column: span 9; display: grid; min-height: 300px; place-content: center; gap: 9px; border: 1px solid var(--gc-line); border-radius: 8px; color: var(--gc-cyan); background: linear-gradient(135deg, rgba(7, 21, 36, .9), rgba(10, 31, 48, .76)); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
#goodcaseWrap .goodcase-load-more::before { content: "NEXT CASE BATCH"; color: var(--gc-muted); font: 750 8px/1 "Segoe UI", sans-serif; letter-spacing: .16em; text-align: center; }
#goodcaseWrap .goodcase-library-footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; border-top: 1px solid rgba(70, 103, 131, .24); color: #657b90; font-size: 9px; }
#goodcaseWrap .goodcase-info-link { color: #839cb2; font-size: 9px; text-decoration: underline; text-underline-offset: 4px; }

/* Full-width detail workspace */
.goodcase-backdrop { display: none !important; }
body .goodcase-drawer {
  --gc-bg: #020b16;
  --gc-panel: #071524;
  --gc-panel-2: #0a1b2e;
  --gc-ink: #f1f8ff;
  --gc-copy: #bdd0e1;
  --gc-muted: #8399af;
  --gc-line: #263d53;
  --gc-cyan: #1bdcff;
  --gc-violet: #8b4dff;
  position: fixed;
  z-index: 941;
  left: var(--sidebar-w);
  top: var(--topbar-h);
  right: 0;
  bottom: 0;
  width: auto;
  overflow: hidden;
  border: 0;
  background: var(--gc-bg);
  color: var(--gc-ink);
  box-shadow: none;
  transform: translateX(102%);
  transition: transform .22s cubic-bezier(.22, .76, .24, 1);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
body .goodcase-drawer::before { content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: linear-gradient(rgba(78, 119, 151, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 119, 151, .12) 1px, transparent 1px); background-size: 40px 40px; }
body .goodcase-drawer.is-open { transform: translateX(0); }
.goodcase-detail-shell { position: relative; z-index: 1; display: grid; grid-template-rows: 202px minmax(0, 1fr) 144px; width: 100%; height: 100%; background: radial-gradient(circle at 72% 8%, rgba(37, 107, 155, .1), transparent 30%); }

.goodcase-detail-head { position: relative; display: block; min-height: 202px; padding: 0; border-bottom: 0; background: rgba(3, 13, 24, .88); }
.goodcase-drawer-close { position: absolute; left: 42px; top: 50px; display: inline-flex; width: 122px; min-width: 0; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border: 1px solid var(--gc-line); border-radius: 6px; color: #9eb2c5; font-size: 10px; white-space: nowrap; }
.goodcase-drawer-close span { color: var(--gc-cyan); font-size: 15px; }
.goodcase-drawer-close b { font-weight: 750; }
.goodcase-detail-breadcrumb { min-width: 0; }
.goodcase-detail-breadcrumb > p { position: absolute; left: 42px; top: 18px; margin: 0; color: #6f879d; font-size: 10px; }
.goodcase-detail-breadcrumb h3 { position: absolute; left: 42px; top: 96px; max-width: 720px; margin: 0; overflow: hidden; color: var(--gc-ink); font-size: 29px; font-weight: 850; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.goodcase-detail-meta { position: absolute; left: 42px; top: 148px; display: flex; gap: 8px; margin: 0; }
.goodcase-detail-meta span { padding: 3px 6px; border: 1px solid rgba(86, 124, 153, .32); border-radius: 3px; color: #8098ae; font-size: 8px; }
.goodcase-detail-meta span:last-child { border-color: rgba(139, 77, 255, .35); color: #a894e0; }
.goodcase-detail-head-actions { position: absolute; right: 22px; top: 96px; display: flex; align-items: center; gap: 12px; }
.goodcase-detail-head-actions button,
.goodcase-detail-head-actions a { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--gc-line); border-radius: 6px; background: rgba(255, 255, 255, .015); color: #a6bacd; font-size: 11px; font-weight: 750; text-decoration: none; }
.goodcase-detail-head-actions .goodcase-copy-primary { border-color: transparent; background: linear-gradient(135deg, #14cce8, #6b67ff 55%, #9047ef); color: #fff; box-shadow: 0 5px 18px rgba(67, 105, 245, .22); }
.goodcase-detail-head-actions .goodcase-copy-primary { min-width: 158px; }
.goodcase-detail-head-actions .goodcase-favorite[aria-pressed="true"] { border-color: var(--gc-violet); color: #b9a2ff; }
.goodcase-detail-head-actions .goodcase-detail-info { width: 38px; padding: 0; color: var(--gc-cyan); font-size: 15px; }

.goodcase-detail-content { display: grid; grid-template-columns: minmax(420px, 46%) minmax(0, 1fr); min-height: 0; gap: 14px; margin: 0 42px; overflow: hidden; }
.goodcase-detail-shell[data-goodcase-active-tab="prompt"] .goodcase-detail-content { grid-template-columns: 1fr; }
.goodcase-detail-shell[data-goodcase-active-tab="prompt"] .goodcase-visual-panel { display: none; }

.goodcase-visual-panel { min-width: 0; overflow-y: auto; border: 1px solid var(--gc-line); border-radius: 8px; background: #030c17; }
.goodcase-visual-toolbar { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 15px; border-bottom: 1px solid var(--gc-line); color: #a9bdcf; }
.goodcase-visual-toolbar > strong { font-size: 10px; }
.goodcase-visual-toolbar > div { display: flex; gap: 4px; }
.goodcase-visual-toolbar button { min-height: 27px; padding: 0 8px; border: 1px solid transparent; border-radius: 4px; color: #6f879c; font-size: 8px; }
.goodcase-visual-toolbar button.is-active { border-color: rgba(27, 220, 255, .3); background: rgba(27, 220, 255, .08); color: var(--gc-cyan); }
.goodcase-visual-stage { position: relative; display: grid; height: 365px; min-height: 365px; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(27, 220, 255, .08), transparent 50%), #020913; }
.goodcase-visual-stage img,
.goodcase-visual-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.goodcase-visual-stage.is-composition-grid::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent calc(33.333% - .5px), rgba(27, 220, 255, .6) calc(33.333% - .5px), rgba(27, 220, 255, .6) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(27, 220, 255, .6) calc(66.666% - .5px), rgba(27, 220, 255, .6) calc(66.666% + .5px), transparent calc(66.666% + .5px)), linear-gradient(transparent calc(33.333% - .5px), rgba(27, 220, 255, .6) calc(33.333% - .5px), rgba(27, 220, 255, .6) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(27, 220, 255, .6) calc(66.666% - .5px), rgba(27, 220, 255, .6) calc(66.666% + .5px), transparent calc(66.666% + .5px)); box-shadow: inset 0 0 0 1px rgba(27, 220, 255, .35); }
.goodcase-visual-stage::after { content: "SOURCE VISUAL"; position: absolute; left: 13px; bottom: 11px; padding: 5px 7px; border: 1px solid rgba(96, 127, 151, .3); border-radius: 3px; background: rgba(2, 9, 19, .72); color: #63788d; font: 700 7px/1 "Segoe UI", sans-serif; letter-spacing: .12em; }
.goodcase-visual-panel:fullscreen { width: 100vw; height: 100vh; padding: 18px; border: 0; border-radius: 0; background: #020913; }
.goodcase-visual-panel:fullscreen .goodcase-visual-stage { height: calc(100vh - 185px); min-height: 0; }
.goodcase-video-fallback { position: relative; width: 100%; height: 100%; }
.goodcase-video-fallback img { object-fit: contain; }
.goodcase-video-fallback span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px; border: 1px solid var(--gc-line); border-radius: 5px; background: rgba(2, 10, 19, .85); color: #8da3b7; font-size: 9px; text-align: center; }
.goodcase-keyframes { padding: 10px 13px 12px; border-top: 1px solid var(--gc-line); }
.goodcase-keyframes > strong { display: block; margin-bottom: 8px; color: #849aae; font-size: 9px; }
.goodcase-keyframe-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.goodcase-keyframe-track button { height: 64px; overflow: hidden; border: 1px solid var(--gc-line); border-radius: 5px; background: #071421; }
.goodcase-keyframe-track button.is-active { border-color: var(--gc-cyan); box-shadow: 0 0 0 1px rgba(27, 220, 255, .22); }
.goodcase-keyframe-track img { width: 100%; height: 100%; object-fit: cover; }
.goodcase-media-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 7px; padding: 10px 13px 14px; border-top: 1px solid var(--gc-line); }
.goodcase-media-info-row { display: grid; gap: 3px; min-width: 0; }
.goodcase-media-info-row span { color: #627a90; font-size: 7px; }
.goodcase-media-info-row strong { overflow: hidden; color: #aabed0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.goodcase-media-info > a { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--gc-line); border-radius: 5px; color: var(--gc-cyan); font-size: 8px; }

.goodcase-detail-workspace { min-width: 0; overflow-y: auto; border: 1px solid var(--gc-line); border-radius: 8px; background: linear-gradient(180deg, rgba(8, 22, 37, .78), rgba(3, 12, 23, .96)); }
.goodcase-detail-tabs { position: sticky; z-index: 5; top: 0; display: flex; min-height: 47px; align-items: end; gap: 3px; overflow-x: auto; padding: 0 18px; border-bottom: 1px solid var(--gc-line); background: rgba(3, 13, 24, .96); }
.goodcase-detail-tab { position: relative; min-width: max-content; min-height: 46px; padding: 0 13px; color: #71889e; font-size: 10px; font-weight: 750; }
.goodcase-detail-tab::after { content: ""; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: transparent; }
.goodcase-detail-tab.is-active { color: var(--gc-ink); }
.goodcase-detail-tab.is-active::after { background: linear-gradient(90deg, var(--gc-cyan), var(--gc-violet)); box-shadow: 0 0 10px rgba(27, 220, 255, .55); }
.goodcase-tabpanel { display: grid; gap: 12px; padding: 15px 18px 18px; }
.goodcase-tabpanel[hidden] { display: none !important; }
.goodcase-overview-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; }
.goodcase-panel { min-width: 0; padding: 14px; border: 1px solid var(--gc-line); border-radius: 7px; background: rgba(9, 26, 43, .82); }
.goodcase-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.goodcase-panel-heading h4 { margin: 0; color: var(--gc-ink); font-size: 12px; }
.goodcase-panel-heading > span { color: #62798f; font: 700 7px/1.3 "Segoe UI", sans-serif; letter-spacing: .1em; text-align: right; }
.goodcase-panel p { margin: 0; color: #9eb3c6; font-size: 10px; line-height: 1.72; white-space: pre-wrap; overflow-wrap: anywhere; }

.goodcase-radar-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.goodcase-radar-chart { position: relative; width: 140px; height: 128px; margin: auto; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 20px, rgba(81, 126, 157, .24) 21px 22px), conic-gradient(from 18deg, transparent 0 19%, rgba(87, 136, 169, .25) 19.5% 20%, transparent 20% 39%, rgba(87, 136, 169, .25) 39.5% 40%, transparent 40% 59%, rgba(87, 136, 169, .25) 59.5% 60%, transparent 60% 79%, rgba(87, 136, 169, .25) 79.5% 80%, transparent 80%); }
.goodcase-radar-chart::before { content: ""; position: absolute; inset: 24px 22px; clip-path: polygon(50% 0, 94% 34%, 78% 92%, 23% 82%, 5% 32%); background: linear-gradient(145deg, rgba(27, 220, 255, .54), rgba(71, 136, 255, .34) 52%, rgba(139, 77, 255, .58)); box-shadow: 0 0 22px rgba(27, 220, 255, .22); }
.goodcase-radar-axis { position: absolute; z-index: 2; color: #7790a5; font-size: 7px; }
.goodcase-radar-axis.is-1 { left: 50%; top: 0; transform: translateX(-50%); }
.goodcase-radar-axis.is-2 { right: 0; top: 33%; }
.goodcase-radar-axis.is-3 { right: 12%; bottom: 3px; }
.goodcase-radar-axis.is-4 { left: 10%; bottom: 3px; }
.goodcase-radar-axis.is-5 { left: 0; top: 33%; }
.goodcase-dna-signals { display: grid; gap: 6px; }
.goodcase-dna-signals > div { min-width: 0; padding: 6px 7px; border-left: 2px solid rgba(27, 220, 255, .55); background: rgba(2, 11, 21, .45); }
.goodcase-dna-signals b { display: block; color: #a9e6ef; font-size: 8px; }
.goodcase-dna-signals span { display: block; margin-top: 3px; overflow: hidden; color: #60798e; font: 7px/1.4 ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.goodcase-lab-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: lab-step; }
.goodcase-lab-list li { position: relative; min-height: 48px; padding: 10px 12px 10px 42px; border: 1px solid rgba(72, 105, 133, .32); border-radius: 5px; color: #9fb3c5; font-size: 11px; line-height: 1.6; counter-increment: lab-step; }
.goodcase-lab-list li::before { content: counter(lab-step, decimal-leading-zero); position: absolute; left: 9px; top: 10px; color: var(--gc-violet); font: 800 8px/1 "Segoe UI", sans-serif; }
.goodcase-score-ring { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--gc-line); border-radius: 7px; background: rgba(9, 26, 43, .82); }
.goodcase-score-value { position: relative; display: grid; width: 90px; height: 90px; place-content: center; border-radius: 50%; background: radial-gradient(circle at center, #071626 58%, transparent 59%), conic-gradient(var(--gc-cyan), #557eff 52%, var(--gc-violet) 78%, rgba(79, 106, 132, .24) 78%); text-align: center; }
.goodcase-score-value strong { color: var(--gc-ink); font: 850 25px/1 "Segoe UI", sans-serif; }
.goodcase-score-value span { margin-top: 5px; color: #6f879c; font-size: 7px; }
.goodcase-score-ring > p { margin: 0; color: #8ea4b8; font-size: 9px; line-height: 1.65; }

/* Prompt workstation */
.goodcase-prompt-workbench { grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 13px; }
.goodcase-prompt-primary,
.goodcase-prompt-secondary { display: grid; min-width: 0; align-content: start; gap: 12px; }
.goodcase-prompt-code { max-height: 330px; margin: 0; padding: 10px 0 10px 42px; overflow: auto; border: 1px solid rgba(76, 110, 138, .38); border-radius: 6px; background: #020912; color: #afc6d9; font: 9px/1.72 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; counter-reset: prompt-line; }
.goodcase-prompt-code li { min-height: 16px; padding: 0 12px 0 8px; border-left: 1px solid rgba(72, 103, 128, .32); }
.goodcase-prompt-code li::marker { color: #40586c; font-size: 8px; }
.goodcase-prompt-variables { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.goodcase-prompt-variables span { padding: 6px 7px; border: 1px solid rgba(139, 77, 255, .38); border-radius: 4px; background: rgba(139, 77, 255, .08); color: #b19cf0; font: 700 8px/1 ui-monospace, monospace; }
.goodcase-prompt-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.goodcase-prompt-section { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 7px; padding: 8px; border: 1px solid rgba(72, 105, 133, .32); border-radius: 5px; background: rgba(3, 13, 23, .5); }
.goodcase-prompt-section > span { grid-row: 1 / 3; color: var(--gc-violet); font: 800 8px/1.4 "Segoe UI", sans-serif; }
.goodcase-prompt-section b { color: #a8e3ed; font-size: 8px; }
.goodcase-prompt-section p { display: -webkit-box; margin: 3px 0 0; overflow: hidden; color: #687f94; font: 7.5px/1.5 ui-monospace, monospace; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.goodcase-model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.goodcase-model-grid > div,
.goodcase-data-item { min-width: 0; padding: 10px; border: 1px solid rgba(72, 105, 133, .32); border-radius: 5px; background: rgba(3, 13, 23, .5); }
.goodcase-model-grid span,
.goodcase-data-item span { display: block; color: #647b90; font-size: 7px; }
.goodcase-model-grid strong,
.goodcase-data-item strong { display: block; margin-top: 5px; overflow-wrap: anywhere; color: #afc2d3; font-size: 9px; }
.goodcase-data-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.goodcase-source-card { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--gc-line); border-left: 2px solid var(--gc-cyan); border-radius: 6px; background: rgba(27, 220, 255, .035); }
.goodcase-source-card dl { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 7px 12px; margin: 0; }
.goodcase-source-card dt { color: #61798f; font-size: 8px; }
.goodcase-source-card dd { min-width: 0; margin: 0; color: #9eb2c4; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.goodcase-source-card a { color: var(--gc-cyan); text-decoration: underline; text-underline-offset: 3px; }
.goodcase-disclaimer { padding: 12px; border: 1px solid rgba(139, 77, 255, .26); border-radius: 6px; background: rgba(139, 77, 255, .05); color: #788ea2; font-size: 9px; line-height: 1.65; }

.goodcase-detail-footer { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 42px 38px; padding: 9px 16px; border: 1px solid var(--gc-line); border-radius: 8px; background: rgba(3, 13, 24, .97); }
.goodcase-detail-footer-copy { display: flex; min-width: 0; align-items: center; gap: 12px; }
.goodcase-detail-footer-copy > b { color: #9cb0c3; font-size: 9px; white-space: nowrap; }
.goodcase-detail-footer-copy > span { color: #667d91; font-size: 8px; }
.goodcase-structure-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.goodcase-structure-chips span { padding: 4px 7px; border: 1px solid rgba(27, 220, 255, .26); border-radius: 4px; background: rgba(27, 220, 255, .06); color: #84d8e6; font-size: 8px; }
.goodcase-detail-footer-actions { display: flex; align-items: center; gap: 7px; }
.goodcase-detail-footer-actions button,
.goodcase-detail-footer-actions a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--gc-line); border-radius: 6px; color: #a9bdcf; font-size: 9px; font-weight: 750; text-decoration: none; }
.goodcase-detail-footer-actions .goodcase-copy-primary { min-width: 145px; border-color: transparent; background: linear-gradient(135deg, #12cce7, #5775ff 55%, #9148ef); color: #fff; }

/* Filter and policy sheets */
.goodcase-sheet-backdrop { position: fixed; z-index: 950; inset: 0; background: rgba(0, 6, 14, .72); opacity: 0; transition: opacity .18s ease; backdrop-filter: blur(2px); }
.goodcase-sheet-backdrop.is-open { opacity: 1; }
.goodcase-sheet { --gc-ink: #f1f8ff; --gc-copy: #b7c9d9; --gc-muted: #788fa4; --gc-line: #294158; --gc-cyan: #1bdcff; position: fixed; z-index: 951; right: 20px; bottom: 20px; width: min(420px, calc(100vw - 40px)); max-height: min(720px, calc(100vh - 40px)); overflow: hidden auto; border: 1px solid rgba(27, 220, 255, .3); border-radius: 10px; background: #061321; color: var(--gc-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: translateY(calc(100% + 28px)); transition: transform .2s ease; font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.goodcase-sheet.is-open { transform: translateY(0); }
.goodcase-sheet-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px 13px; border-bottom: 1px solid var(--gc-line); background: rgba(6, 19, 33, .97); }
.goodcase-sheet-head p { margin: 0 0 4px; color: var(--gc-cyan); font: 750 7px/1 "Segoe UI", sans-serif; letter-spacing: .14em; }
.goodcase-sheet-head h2 { margin: 0; color: var(--gc-ink); font-size: 16px; }
.goodcase-sheet-head button { width: 36px; height: 36px; border: 1px solid var(--gc-line); border-radius: 5px; color: var(--gc-ink); font-size: 19px; }
.goodcase-sheet-body { display: grid; gap: 14px; padding: 16px; }
.goodcase-sheet-section { display: grid; gap: 8px; }
.goodcase-sheet-section h3 { margin: 0; color: #758ca1; font-size: 9px; letter-spacing: .08em; }
.goodcase-sheet-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.goodcase-sheet-options button { min-height: 40px; padding: 7px 9px; border: 1px solid var(--gc-line); border-radius: 6px; background: #0a1b2d; color: #a1b5c7; font-size: 10px; }
.goodcase-sheet-options button.is-active { border-color: var(--gc-cyan); background: rgba(27, 220, 255, .1); color: var(--gc-cyan); }
.goodcase-sheet-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; padding-top: 5px; background: #061321; }
.goodcase-sheet-actions button,
.goodcase-sheet-body > .goodcase-copy-primary { min-height: 44px; border: 1px solid var(--gc-line); border-radius: 6px; color: #9bb0c3; font-size: 10px; font-weight: 750; }
.goodcase-sheet-actions .goodcase-copy-primary,
.goodcase-sheet-body > .goodcase-copy-primary { border-color: transparent; background: linear-gradient(135deg, #13cbe7, #5973ff 55%, #9149ef); color: #fff; }
.goodcase-sheet-copy { display: grid; gap: 12px; }
.goodcase-sheet-lead { margin: 0; color: #93aabd; font-size: 10px; line-height: 1.65; }
.goodcase-policy-list { display: grid; gap: 7px; }
.goodcase-policy-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 10px; border: 1px solid var(--gc-line); border-radius: 6px; background: #091a2b; }
.goodcase-policy-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgba(27, 220, 255, .08); color: var(--gc-cyan); }
.goodcase-policy-item b { color: #bdd0e1; font-size: 10px; }
.goodcase-policy-item p { margin: 3px 0 0; color: #7f96aa; font-size: 9px; line-height: 1.55; }
.goodcase-sheet-source-link { color: var(--gc-cyan); font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.goodcase-sheet-copy small { color: #60778d; font-size: 8px; line-height: 1.55; }

#goodcaseWrap button:focus-visible,
#goodcaseWrap input:focus-visible,
.goodcase-drawer button:focus-visible,
.goodcase-drawer a:focus-visible,
.goodcase-sheet button:focus-visible,
.goodcase-sheet a:focus-visible { outline: 2px solid var(--gc-cyan, #1bdcff); outline-offset: 2px; }

@media (max-width: 1180px) and (min-width: 721px) {
  #goodcaseWrap { padding-inline: 24px !important; }
  #goodcaseWrap .goodcase-studio-hero { grid-template-columns: minmax(360px, 1fr) 280px 175px; }
  #goodcaseWrap .goodcase-control-deck { grid-template-columns: 300px minmax(230px, 1fr) 260px; }
  #goodcaseWrap .goodcase-card { grid-column: span 6; }
  #goodcaseWrap .goodcase-card.is-featured { grid-column: 1 / -1; }
  .goodcase-detail-content { grid-template-columns: minmax(380px, 42%) minmax(0, 1fr); }
  .goodcase-radar-card { grid-template-columns: 120px minmax(0, 1fr); }
  .goodcase-radar-chart { width: 116px; height: 108px; }
}

@media (max-width: 820px) {
  body.goodcase-studio-route { --sidebar-w: 0px; --topbar-h: 0px; background: #020b16; }
  body.goodcase-studio-route .sidebar,
  body.goodcase-studio-route .topbar,
  body.goodcase-studio-route .mobile-appbar,
  body.goodcase-studio-route .mobile-bottom-nav { display: none !important; }
  body.goodcase-studio-route .app-shell { height: 100dvh; min-height: 0; padding-top: 0 !important; }
  body.goodcase-studio-route .shell { height: 100dvh; }
  #goodcaseWrap { min-height: 100dvh; padding: 0 13px 38px !important; }
  #goodcaseWrap::before { background-size: 32px 32px; }
  #goodcaseWrap .goodcase-mobile-head { position: sticky; z-index: 25; top: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) 36px 36px; min-height: 72px; align-items: center; gap: 6px; margin: 0 -13px; padding: 9px 13px; border-bottom: 1px solid var(--gc-line); background: rgba(3, 13, 24, .96); backdrop-filter: blur(14px); }
  #goodcaseWrap .goodcase-mobile-menu,
  #goodcaseWrap .goodcase-mobile-head-action { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--gc-line); border-radius: 6px; color: #9ab0c4; font-size: 15px; }
  #goodcaseWrap .goodcase-mobile-head > div { min-width: 0; }
  #goodcaseWrap .goodcase-mobile-head strong { display: block; color: var(--gc-ink); font-size: 15px; }
  #goodcaseWrap .goodcase-mobile-head span { display: block; margin-top: 2px; color: #687f94; font-size: 8px; }
  #goodcaseWrap .goodcase-mobile-head-action:nth-last-child(2) { color: var(--gc-cyan); }
  #goodcaseWrap .goodcase-studio-hero { display: none; }
  #goodcaseWrap .goodcase-snapshot-line { display: none; min-height: 35px; padding-top: 5px; border: 0; }
  #goodcaseWrap .goodcase-status { color: #7890a5; font-size: 8px; }
  #goodcaseWrap .goodcase-snapshot-trust { display: none; }
  #goodcaseWrap .goodcase-control-deck { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 9px; min-height: 0; margin-top: 0; padding: 0; }
  #goodcaseWrap .goodcase-stats { grid-column: 1 / -1; height: 42px; gap: 9px; }
  #goodcaseWrap .goodcase-stats > span { flex-direction: row; gap: 4px; font-size: 9px; }
  #goodcaseWrap .goodcase-stats strong { font-size: 14px; }
  #goodcaseWrap .goodcase-search { height: 42px; }
  #goodcaseWrap .goodcase-search kbd { display: none; }
  #goodcaseWrap .goodcase-scope-bar { display: none; }
  #goodcaseWrap .goodcase-mobile-filter { position: fixed; z-index: 34; right: 15px; bottom: 18px; display: grid; width: 50px; height: 50px; place-items: center; padding: 0; border: 1px solid rgba(27, 220, 255, .72); border-radius: 50%; background: linear-gradient(145deg, #10bfdc, #556ef7 58%, #8e48e9); color: #fff; font-size: 0; box-shadow: 0 10px 28px rgba(42, 109, 230, .42); }
  #goodcaseWrap .goodcase-mobile-filter span { font-size: 18px; }
  #goodcaseWrap .goodcase-category-strip { min-height: 43px; margin-top: 3px; }
  #goodcaseWrap .goodcase-coverage { display: block; min-height: 27px; padding-top: 6px; font-size: 8px; }
  #goodcaseWrap .goodcase-list { grid-template-columns: 1fr; gap: 10px; padding-top: 0; }
  #goodcaseWrap .goodcase-card,
  #goodcaseWrap .goodcase-card.is-featured { grid-column: auto; display: flex; height: auto; min-height: 0; flex-direction: column; }
  #goodcaseWrap .goodcase-media,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-media { height: 132px; min-height: 132px; border-right: 0; border-bottom: 1px solid var(--gc-line); }
  #goodcaseWrap .goodcase-card-body,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body { min-height: 118px; justify-content: flex-start; gap: 6px; padding: 11px 13px; }
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-card-meta,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > h3,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-summary,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-byline,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-card-metrics { display: flex; }
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > h3,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-summary,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-byline { display: -webkit-box; }
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body > .goodcase-byline { display: block; }
  #goodcaseWrap .goodcase-featured-overlay { display: none; }
  #goodcaseWrap .goodcase-card h3,
  #goodcaseWrap .goodcase-card.is-featured h3 { font-size: 16px; line-height: 1.4; }
  #goodcaseWrap .goodcase-summary,
  #goodcaseWrap .goodcase-card.is-featured .goodcase-summary { font-size: 10px; -webkit-line-clamp: 2; }
  #goodcaseWrap .goodcase-card-signal { display: none; }
  #goodcaseWrap .goodcase-card-metrics { margin-top: 1px; }
  #goodcaseWrap .goodcase-prompt-preview { -webkit-line-clamp: 2; }
  #goodcaseWrap .goodcase-library-footer { min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-bottom: 28px; }
  #goodcaseWrap .goodcase-load-more { grid-column: 1 / -1; min-height: 52px; }

  body .goodcase-drawer { inset: 0; width: 100vw; height: 100dvh; }
  .goodcase-detail-shell { grid-template-rows: auto minmax(0, 1fr) 66px; }
  .goodcase-detail-head { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; min-height: 104px; align-items: start; gap: 9px; padding: 9px 10px 8px; }
  .goodcase-drawer-close { position: static; width: 36px; min-height: 36px; padding: 0; }
  .goodcase-drawer-close b { display: none; }
  .goodcase-detail-breadcrumb { padding-top: 2px; }
  .goodcase-detail-breadcrumb > p { display: none; }
  .goodcase-detail-breadcrumb h3 { position: static; max-width: none; font-size: 14px; line-height: 1.35; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .goodcase-detail-meta { position: absolute; left: 57px; right: 10px; top: 65px; overflow: hidden; }
  .goodcase-detail-meta span { max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .goodcase-detail-head-actions { position: static; gap: 5px; }
  .goodcase-detail-head-actions .goodcase-copy-primary,
  .goodcase-detail-head-actions .goodcase-favorite,
  .goodcase-detail-head-actions a { display: none; }
  .goodcase-detail-head-actions .goodcase-detail-info { display: grid; width: 36px; min-height: 36px; padding: 0; place-items: center; }
  .goodcase-detail-content,
  .goodcase-detail-shell[data-goodcase-active-tab="prompt"] .goodcase-detail-content { display: block; margin: 0; overflow-y: auto; }
  .goodcase-detail-shell[data-goodcase-active-tab="prompt"] .goodcase-visual-panel { display: none; }
  .goodcase-visual-panel,
  .goodcase-detail-workspace { overflow: visible; border: 0; border-radius: 0; }
  .goodcase-visual-toolbar { min-height: 38px; }
  .goodcase-visual-stage { height: 170px; min-height: 170px; }
  .goodcase-keyframes { display: none; padding: 9px 11px; }
  .goodcase-keyframe-track button { height: 49px; }
  .goodcase-media-info { display: none; }
  .goodcase-detail-tabs { position: sticky; top: 0; min-height: 45px; padding: 0 8px; }
  .goodcase-detail-tab { min-height: 44px; padding: 0 9px; font-size: 9px; }
  .goodcase-tabpanel { gap: 9px; padding: 11px 10px 18px; }
  .goodcase-overview-grid,
  .goodcase-prompt-workbench { grid-template-columns: 1fr; }
  .goodcase-radar-card { grid-template-columns: 120px minmax(0, 1fr); }
  .goodcase-radar-chart { width: 112px; height: 104px; }
  .goodcase-score-ring { grid-template-columns: 86px minmax(0, 1fr); }
  .goodcase-score-value { width: 74px; height: 74px; }
  .goodcase-prompt-code { max-height: 300px; }
  .goodcase-prompt-section-grid,
  .goodcase-data-grid { grid-template-columns: 1fr; }
  .goodcase-source-card dl { grid-template-columns: 1fr; gap: 3px; }
  .goodcase-source-card dd { margin-bottom: 6px; }
  .goodcase-detail-footer { min-height: 66px; margin: 0; padding: 8px 10px; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0; }
  .goodcase-detail-footer-copy { display: none; }
  .goodcase-detail-footer-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 112px; }
  .goodcase-detail-footer-actions .goodcase-copy-primary { min-width: 0; }
  .goodcase-detail-footer-actions a { min-width: 0; }

  .goodcase-sheet-backdrop { backdrop-filter: blur(1px); }
  .goodcase-sheet { right: 0; bottom: 0; width: 100vw; max-height: min(84dvh, 760px); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 17px 17px 0 0; }
  .goodcase-sheet::before { content: ""; position: sticky; z-index: 4; top: 7px; display: block; width: 38px; height: 4px; margin: 7px auto -4px; border-radius: 9px; background: #4d6377; }
  .goodcase-sheet-head { padding: 16px 15px 11px; }
  .goodcase-sheet-head p { display: none; }
  .goodcase-sheet-head h2 { font-size: 17px; }
  .goodcase-sheet-head button { width: 34px; height: 34px; }
  .goodcase-sheet-body { gap: 13px; padding: 14px 15px calc(15px + env(safe-area-inset-bottom)); }
  .goodcase-sheet-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goodcase-sheet-section:first-child .goodcase-sheet-options,
  .goodcase-sheet-section:last-of-type .goodcase-sheet-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goodcase-sheet-options button { min-height: 41px; }
  .goodcase-sheet-actions { grid-template-columns: 92px minmax(0, 1fr); }
  .goodcase-policy-item { padding: 9px; }
}

@media (max-width: 390px) {
  #goodcaseWrap { padding-inline: 12px !important; }
  #goodcaseWrap .goodcase-mobile-head { margin-inline: -12px; padding-inline: 12px; }
  #goodcaseWrap .goodcase-card.is-featured .goodcase-card-body,
  #goodcaseWrap .goodcase-card-body { padding-inline: 12px; }
  .goodcase-radar-card { grid-template-columns: 104px minmax(0, 1fr); }
  .goodcase-radar-chart { width: 98px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  #goodcaseWrap .goodcase-orbit-ring--outer,
  #goodcaseWrap .goodcase-card,
  #goodcaseWrap .goodcase-media img,
  .goodcase-drawer,
  .goodcase-sheet,
  .goodcase-sheet-backdrop { animation: none !important; transition: none !important; }
}

/* Theme contract: the material studio follows the global persistent theme.
   The cyan/violet signal language remains stable; only information surfaces
   and reading contrast switch.  This prevents a light app chrome from
   enclosing a permanently-dark library (and the reverse in night mode). */
html[data-resolved-theme="light"] body.goodcase-studio-route {
  --bg-sidebar: #f8fbfd;
  --bg-topbar: #ffffff;
  --border: #d6e3ec;
  --text: #526579;
  --text-bright: #102136;
  --text-muted: #71859a;
  background: #edf5fa;
}

html[data-resolved-theme="light"] body.goodcase-studio-route .shell {
  background: #edf5fa;
}

html[data-resolved-theme="light"] #goodcaseWrap {
  --gc-bg: #eef6fb;
  --gc-panel: #ffffff;
  --gc-panel-2: #f7fbfe;
  --gc-panel-3: #eff7fc;
  --gc-ink: #10273c;
  --gc-copy: #486176;
  --gc-muted: #647b90;
  --gc-line: #c9dbe7;
  --gc-line-soft: rgba(86, 124, 151, .22);
  --gc-cyan: #087e9e;
  --gc-violet: #6b4bd0;
  --gc-blue: #2f70d7;
  --gc-green: #109f76;
  background:
    radial-gradient(ellipse 54% 28% at 58% 0%, rgba(28, 151, 196, .11), transparent 72%),
    var(--gc-bg);
  scrollbar-color: rgba(8, 126, 158, .45) transparent;
}

html[data-resolved-theme="light"] #goodcaseWrap::before {
  opacity: .38;
  background-image:
    linear-gradient(rgba(83, 125, 153, .17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 125, 153, .14) 1px, transparent 1px);
}

html[data-resolved-theme="light"] #goodcaseWrap .goodcase-studio-hero {
  border-color: #b8d4e2;
  background:
    radial-gradient(circle at 69% 45%, rgba(8, 126, 158, .16), transparent 25%),
    radial-gradient(circle at 72% 54%, rgba(107, 75, 208, .11), transparent 27%),
    linear-gradient(108deg, #ffffff, #eef8fc);
  box-shadow: inset 0 1px rgba(255, 255, 255, .82), 0 14px 34px rgba(44, 83, 109, .11);
}

html[data-resolved-theme="light"] #goodcaseWrap .goodcase-studio-hero::before { opacity: .15; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-hero-subtitle { color: #587187; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-stats > span,
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-search,
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-scope-bar,
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-lens {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 12px rgba(55, 98, 126, .05);
}
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-search input { color: #10273c; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-search input::placeholder,
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-search kbd,
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-lens span { color: #6d8498; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-lens.is-active span { color: #087e9e; }

html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card {
  border-color: #c4d8e5;
  background: linear-gradient(180deg, #ffffff, #f7fbfe);
  box-shadow: 0 10px 22px rgba(38, 78, 104, .10);
}
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card:hover,
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card:focus-visible {
  box-shadow: 0 16px 30px rgba(38, 78, 104, .15), 0 0 20px rgba(8, 126, 158, .10);
}
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-media { background: #dbeaf2; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card h3 { color: #10273c; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-summary { color: #567086; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-byline { color: #70879a; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card-metrics span { color: #617a90; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card-metrics .is-hot { color: #087e9e; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card-signal {
  border-color: #d2e1ea;
  background: rgba(234, 246, 252, .9);
}
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card-signal > span { color: #617b91; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card-signal b { color: #087e9e; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-card.is-featured .goodcase-card-signal b { color: #486176; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-featured-overlay h3 { color: #fff; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-featured-overlay .goodcase-summary { color: #d5e4ef; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-featured-overlay .goodcase-byline { color: #b3c4d2; }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-load-more { background: rgba(255, 255, 255, .9); }
html[data-resolved-theme="light"] #goodcaseWrap .goodcase-library-footer { color: #617b91; }

html[data-resolved-theme="light"] body .goodcase-drawer {
  --gc-bg: #f8fcff;
  --gc-panel: #ffffff;
  --gc-panel-2: #f4f9fc;
  --gc-panel-3: #edf6fb;
  --gc-ink: #10273c;
  --gc-copy: #486176;
  --gc-muted: #647b90;
  --gc-line: #c9dbe7;
  --gc-line-soft: rgba(86, 124, 151, .22);
  --gc-cyan: #087e9e;
  --gc-violet: #6b4bd0;
  background: #f8fcff;
  color: #10273c;
  box-shadow: -18px 0 44px rgba(31, 67, 90, .18);
}
html[data-resolved-theme="light"] .goodcase-detail-shell { background: radial-gradient(circle at 72% 8%, rgba(8, 126, 158, .10), transparent 30%); }
html[data-resolved-theme="light"] .goodcase-detail-head,
html[data-resolved-theme="light"] .goodcase-detail-tabs,
html[data-resolved-theme="light"] .goodcase-detail-footer {
  background: rgba(255, 255, 255, .94);
}
html[data-resolved-theme="light"] .goodcase-drawer-close,
html[data-resolved-theme="light"] .goodcase-detail-head-actions button,
html[data-resolved-theme="light"] .goodcase-detail-head-actions a,
html[data-resolved-theme="light"] .goodcase-detail-footer-actions button,
html[data-resolved-theme="light"] .goodcase-detail-footer-actions a { color: #486176; }
html[data-resolved-theme="light"] .goodcase-detail-breadcrumb > p,
html[data-resolved-theme="light"] .goodcase-detail-meta span,
html[data-resolved-theme="light"] .goodcase-detail-tab { color: #647d92; }
html[data-resolved-theme="light"] .goodcase-visual-panel,
html[data-resolved-theme="light"] .goodcase-detail-workspace { background: #ffffff; }
html[data-resolved-theme="light"] .goodcase-visual-toolbar,
html[data-resolved-theme="light"] .goodcase-media-info-row strong,
html[data-resolved-theme="light"] .goodcase-panel p,
html[data-resolved-theme="light"] .goodcase-score-ring > p,
html[data-resolved-theme="light"] .goodcase-source-card dd { color: #486176; }
html[data-resolved-theme="light"] .goodcase-lab-list li { color: #486176; }
html[data-resolved-theme="light"] .goodcase-visual-stage { background: radial-gradient(circle at 50% 45%, rgba(8, 126, 158, .10), transparent 50%), #e8f2f8; }
html[data-resolved-theme="light"] .goodcase-keyframe-track button { background: #eff7fb; }
html[data-resolved-theme="light"] .goodcase-detail-workspace { background: linear-gradient(180deg, #f9fcfe, #ffffff); }
html[data-resolved-theme="light"] .goodcase-panel,
html[data-resolved-theme="light"] .goodcase-score-ring { background: #ffffff; }
html[data-resolved-theme="light"] .goodcase-dna-signals > div,
html[data-resolved-theme="light"] .goodcase-prompt-section,
html[data-resolved-theme="light"] .goodcase-model-grid > div,
html[data-resolved-theme="light"] .goodcase-data-item { background: #f4f9fc; }
html[data-resolved-theme="light"] .goodcase-prompt-code { background: #eef6fb; color: #34516a; }
html[data-resolved-theme="light"] .goodcase-score-value { background: radial-gradient(circle at center, #ffffff 58%, transparent 59%), conic-gradient(var(--gc-cyan), #557eff 52%, var(--gc-violet) 78%, rgba(79, 106, 132, .20) 78%); }

html[data-resolved-theme="light"] .goodcase-sheet {
  --gc-ink: #10273c;
  --gc-copy: #486176;
  --gc-muted: #647b90;
  --gc-line: #c9dbe7;
  --gc-cyan: #087e9e;
  background: #f8fcff;
  box-shadow: 0 30px 80px rgba(31, 67, 90, .25);
}
html[data-resolved-theme="light"] .goodcase-sheet-head,
html[data-resolved-theme="light"] .goodcase-sheet-actions { background: rgba(248, 252, 255, .97); }
html[data-resolved-theme="light"] .goodcase-sheet-options button { background: #ffffff; color: #486176; }
html[data-resolved-theme="light"] .goodcase-sheet-lead { color: #526b80; }

/* This overlay sits inside a dark source image.  It deliberately does not
   inherit the reading theme used by the adjacent white information card. */
#goodcaseWrap .goodcase-featured-overlay h3 { color: #fff; }
#goodcaseWrap .goodcase-featured-overlay .goodcase-summary { color: #d5e4ef; }
#goodcaseWrap .goodcase-featured-overlay .goodcase-byline { color: #b3c4d2; }

html[data-resolved-theme="dark"] body.goodcase-studio-route {
  --bg-sidebar: #081522;
  --bg-topbar: #081522;
  --border: #17364b;
  --text: #9ab0c2;
  --text-bright: #edf7ff;
  --text-muted: #6f879a;
  background: #020b16;
}
html[data-resolved-theme="dark"] body.goodcase-studio-route .sidebar {
  background: linear-gradient(180deg, #091724 0%, #07131f 68%, #06111d 100%);
  border-right-color: #17364b;
  box-shadow: 8px 0 28px rgba(0, 0, 0, .22);
}
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar {
  background: rgba(6, 18, 31, .97);
  border-bottom-color: #17364b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .24);
}
html[data-resolved-theme="dark"] body.goodcase-studio-route .brand-text strong,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-user-name { color: #edf7ff !important; }
html[data-resolved-theme="dark"] body.goodcase-studio-route .brand-text span,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-user-role,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-live-label,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-updated { color: #7891a5 !important; }
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-search-wrap,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-kb,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-live,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-ai-btn,
html[data-resolved-theme="dark"] body.goodcase-studio-route .topbar-user {
  border-color: #1d3c52;
  background: #0b1c2c;
  color: #9ab0c2;
}
html[data-resolved-theme="dark"] body.goodcase-studio-route #searchInput { color: #d9eafa; }
html[data-resolved-theme="dark"] body.goodcase-studio-route #searchInput::placeholder { color: #70889b; }
html[data-resolved-theme="dark"] body.goodcase-studio-route .nav-list > a,
html[data-resolved-theme="dark"] body.goodcase-studio-route .nav-group-label,
html[data-resolved-theme="dark"] body.goodcase-studio-route .nav-group-items a { color: #90a8ba; }
html[data-resolved-theme="dark"] body.goodcase-studio-route .nav-list > a.active,
html[data-resolved-theme="dark"] body.goodcase-studio-route .nav-group-label.active,
html[data-resolved-theme="dark"] body.goodcase-studio-route .nav-group-items a.active {
  color: #38d8ee;
  background: rgba(27, 220, 255, .10);
  box-shadow: inset 0 0 0 1px rgba(27, 220, 255, .25);
}
