/* ==========================================================================
   shell.css — 应用外壳（常驻侧栏 / 顶栏）与首页 v2
   参考：深色画布工作台布局（展开侧栏 + 顶部额度 + 宽输入框 + 快捷入口宫格）
   ========================================================================== */

/* ------------------------------------------------------------------ 主题 */
html[data-theme="dark"] {
  --bg: #09090a;
  --bg-alt: #101012;
  --surface: #151517;
  --surface-2: #19191c;
  --surface-3: #202024;
  --surface-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-faint: rgba(255, 255, 255, 0.04);
  --ink: #f4f4f5;
  --ink-2: #d4d4d8;
  --ink-3: #a1a1a8;
  --ink-muted: #8a8a92;
  --ink-faint: #6c6c74;
  --accent: #f4f4f5;
  --accent-hover: #ffffff;
  --accent-ink: #111113;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.05);
  --shadow-2: 0 6px 24px rgba(0, 0, 0, 0.55);
  --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.65);
  --shadow-pop: 0 10px 36px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.07);
  --vibrancy-bg: rgba(16, 16, 18, 0.78);
}

:root {
  --sb-w: 240px;
}

body.sidebar-collapsed {
  --sb-w: 64px;
}

/* ------------------------------------------------------------------ 外壳 */
.page {
  padding-left: var(--sb-w);
}

body.editor .topbar {
  left: var(--sb-w);
}

body.editor .stage {
  inset: 54px 0 0 var(--sb-w);
}

body.editor .toolbar,
body.editor .zoom-hud {
  left: calc(var(--sb-w) + 14px);
}

body.editor .empty-hint,
body.editor .canvas-dock {
  left: calc(50% + var(--sb-w) / 2);
}

body.editor.inspector-open .canvas-dock {
  left: calc(50% + var(--sb-w) / 2 - 150px);
}

/* ------------------------------------------------------------------ 侧栏 */
.sidebar {
  width: var(--sb-w);
  padding: 0;
  gap: 0;
  background: var(--bg-alt);
  border-right: 1px solid var(--line-soft);
  overflow: hidden;
  transition: width 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sb-head {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 56px;
  padding: 0 14px;
  flex: none;
}

.sb-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #7b61ff, #4f46e5 60%, #241d5e);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
}

.sb-mark svg {
  width: 16px;
  height: 16px;
}

.sb-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sb-collapse {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  flex: none;
}

.sb-collapse:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.sb-collapse svg {
  width: 15px;
  height: 15px;
}

.sb-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 10px;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  white-space: nowrap;
  transition: background 0.14s, color 0.14s;
}

.sb-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  stroke-width: 1.7;
  color: var(--ink-3);
}

.sb-link:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.sb-link:hover svg {
  color: var(--ink);
}

.sb-link.is-active {
  background: var(--surface-3);
  color: var(--ink);
  font-weight: 500;
}

.sb-link.is-active svg {
  color: var(--ink);
}

.sb-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 8px 14px;
  flex: none;
}

.sb-projects {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 2px 0 0;
}

.sb-proj-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 18px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.sb-proj-head .acts {
  margin-left: auto;
  display: flex;
  gap: 2px;
}

.sb-proj-head button {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
}

.sb-proj-head button:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.sb-proj-head svg {
  width: 13px;
  height: 13px;
}

.sb-proj-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 2px 10px 6px;
  overflow-y: auto;
  max-height: 240px;
}

.sb-proj {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 9px;
  border-radius: 7px;
  color: var(--ink-3);
  font-size: 12.5px;
  white-space: nowrap;
}

.sb-proj:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.sb-proj svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.75;
}

.sb-proj span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-proj .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  margin-left: auto;
  flex: none;
  opacity: 0;
}

.sb-proj.is-current .dot {
  opacity: 1;
}

.sb-flex {
  flex: 1;
  min-height: 8px;
}

.sb-bottom {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px 12px;
}

.sb-bottom button {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
}

.sb-bottom button:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.sb-bottom svg {
  width: 16px;
  height: 16px;
}

/* 折叠态 */
body.sidebar-collapsed .sb-title,
body.sidebar-collapsed .sb-mark,
body.sidebar-collapsed .sb-link span,
body.sidebar-collapsed .sb-proj-head,
body.sidebar-collapsed .sb-divider {
  display: none;
}

body.sidebar-collapsed .sb-head {
  justify-content: center;
  padding: 0;
}

body.sidebar-collapsed .sb-collapse {
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-2);
}

body.sidebar-collapsed .sb-collapse svg {
  width: 17px;
  height: 17px;
}

body.sidebar-collapsed .sb-collapse:hover {
  background: var(--surface-3);
  color: var(--ink);
}

body.sidebar-collapsed .sb-link {
  justify-content: center;
  padding: 0;
  gap: 0;
}

body.sidebar-collapsed .sb-projects {
  display: none;
}

body.sidebar-collapsed .sb-nav {
  padding: 4px 12px;
}

body.sidebar-collapsed .sb-bottom {
  justify-content: center;
}

/* ------------------------------------------------------------------ 顶栏 */
.appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 22px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
}

.appbar .grow {
  flex: 1;
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.credit-pill:hover {
  border-color: var(--line);
  color: var(--ink);
}

.credit-pill b {
  font-weight: 500;
  color: var(--ink);
}

.btn-outline {
  height: 32px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
}

.btn-outline:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.appbar .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, #ffb37b, #f2645a);
  flex: none;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.12s;
}

.avatar:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

/* 头像菜单 */
.user-menu {
  position: fixed;
  z-index: 320;
  width: 224px;
  padding: 0 0 6px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: pop-in 0.16s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.um-head {
  padding: 15px 16px 13px;
}

.um-head b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.um-head span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.um-sep {
  height: 1px;
  background: var(--line-soft);
  margin: 0 12px;
}

.um-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: left;
  transition: background 0.14s, color 0.14s;
}

.um-item svg {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  stroke-width: 1.7;
}

.um-item:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.um-item:hover svg {
  color: var(--ink);
}

.um-item.is-danger,
.um-item.is-danger svg {
  color: #e5484d;
}

.um-item.is-danger:hover {
  background: rgba(229, 72, 77, 0.1);
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--line-faint);
}

.kv-row:last-child {
  border-bottom: 0;
}

.kv-row span {
  color: var(--ink-3);
}

.kv-row b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ 首页 */
.home {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 26px 90px;
}

.home-hero {
  text-align: center;
  padding: 18px 0 0;
}

.home-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-title .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}

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

html[data-theme="dark"] .home-title .mark img {
  filter: invert(1);
}

/* 输入框 */
.composer-box {
  position: relative;
  max-width: 940px;
  margin: 24px auto 0;
  padding: 18px 18px 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.composer-box:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .composer-box:focus-within {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}

.composer-input {
  width: 100%;
  min-height: 116px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  padding: 2px 4px;
  font-family: inherit;
}

.composer-input::placeholder {
  color: var(--ink-faint);
}

.composer-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
}

.ghost-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  transition: background 0.14s, color 0.14s;
}

.ghost-btn:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.ghost-btn svg {
  width: 16px;
  height: 16px;
}

.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  margin-left: 2px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.agent-pill:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.agent-pill svg {
  width: 13px;
  height: 13px;
  color: var(--ink-faint);
}

.send-fab {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  transition: background 0.16s, color 0.16s, transform 0.12s;
}

.send-fab.is-ready {
  background: var(--accent);
  color: var(--accent-ink);
}

.send-fab:hover {
  transform: scale(1.04);
}

.send-fab svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.1;
}

.composer-cost[hidden] {
  display: none;
}

.composer-box .composer-attachments {
  padding: 0 4px 10px;
}

/* 快捷入口 */
.quick-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 26px auto 0;
  max-width: 960px;
  flex-wrap: wrap;
}

.qa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  color: var(--ink-2);
}

.qa + .qa::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 1px;
  height: 46px;
  background: var(--line-soft);
}

.qa-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.qa:hover .qa-ico {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

html[data-theme="light"] .qa:hover .qa-ico {
  border-color: rgba(0, 0, 0, 0.16);
}

.qa-ico svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}

.qa span {
  font-size: 12px;
  white-space: nowrap;
  color: var(--ink-3);
}

.qa:hover span {
  color: var(--ink);
}

/* 区块标题 */
.home-section {
  margin-top: 52px;
}

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

.section-head h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.section-link:hover {
  color: var(--ink);
}

.section-link svg {
  width: 13px;
  height: 13px;
}

/* 特色功能 */
.featured-stage {
  display: grid;
  grid-template-columns: 348px minmax(0, 1fr);
  gap: 14px;
  position: relative;
}

.new-canvas {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 230px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background-color: var(--surface);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 18px 18px;
  transition: border-color 0.18s, background-color 0.18s;
}

html[data-theme="light"] .new-canvas {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.12) 1px, transparent 1px);
}

.new-canvas:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: var(--surface-2);
}

html[data-theme="light"] .new-canvas:hover {
  border-color: rgba(0, 0, 0, 0.16);
}

.nc-plus {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg-alt);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.new-canvas:hover .nc-plus {
  transform: rotate(90deg);
}

.nc-plus svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.nc-text {
  text-align: center;
}

.nc-text b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.nc-text small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-faint);
}

.feature-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  min-width: 0;
}

.feature-rail::-webkit-scrollbar {
  display: none;
}

.feature-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 108px);
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  height: 228px;
}

.fcard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}

.feature-card:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

html[data-theme="light"] .feature-card:hover {
  border-color: rgba(0, 0, 0, 0.14);
}

.fcard-thumb {
  width: 76px;
  height: 76px;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
  background: var(--surface-3);
}

.fc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.fcard:hover .fcard-thumb img {
  transform: scale(1.05);
}

.fcard-text {
  min-width: 0;
}

.fcard-text b {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcard-text small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-2);
  z-index: 4;
  transition: background 0.15s, opacity 0.15s;
}

.rail-arrow:hover {
  background: var(--surface-3);
  color: var(--ink);
}

.rail-arrow[hidden] {
  display: none;
}

.rail-arrow svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

/* 灵感条 */
.insp-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.insp-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.insp-tabs::-webkit-scrollbar {
  display: none;
}

.insp-tab {
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.14s, color 0.14s;
}

.insp-tab:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.insp-tab.is-active {
  background: var(--surface-3);
  color: var(--ink);
  font-weight: 500;
}

.insp-tab i {
  font-style: normal;
  font-size: 10px;
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}

.insp-search {
  position: relative;
  flex: 1;
  min-width: 160px;
}

.insp-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ink-faint);
  stroke-width: 1.9;
  pointer-events: none;
}

.insp-search input {
  width: 100%;
  height: 34px;
  padding: 0 14px 0 33px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.insp-search input:focus {
  border-color: var(--line);
}

.insp-mine {
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.insp-mine:hover {
  color: var(--ink);
}

/* 灵感网格（沿用 masonry，仅调色） */
.insp-grid {
  column-count: 4;
  column-gap: 12px;
}

.insp-card {
  border-radius: 12px;
  border: 1px solid var(--line-faint);
}

.insp-card-overlay {
  background: linear-gradient(transparent 42%, rgba(0, 0, 0, 0.66));
}

.insp-card .card-use {
  background: rgba(255, 255, 255, 0.94);
  color: #111;
}

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1280px) {
  .feature-grid {
    grid-auto-columns: calc((100% - 12px) / 2);
  }
}

@media (max-width: 1080px) {
  .home {
    padding: 0 18px 80px;
  }
  .featured-stage {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .qa {
    padding: 0 18px;
  }
  .insp-grid {
    column-count: 3;
  }
}

@media (max-width: 860px) {
  body,
  body.editor {
    --sb-w: 0px;
  }
  .sidebar {
    display: none;
  }
  .home-hero {
    padding-top: 8px;
  }
  .home-title {
    font-size: 21px;
    gap: 8px;
  }
  .home-title .mark {
    width: 28px;
    height: 28px;
  }
  .composer-box {
    padding: 14px 14px 10px;
    border-radius: 16px;
  }
  .composer-input {
    min-height: 84px;
    font-size: 14px;
  }
  .quick-actions {
    gap: 6px 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-left: 2px;
  }
  .qa {
    padding: 0 14px;
  }
  .qa + .qa::before {
    display: none;
  }
  .qa span {
    font-size: 11px;
  }
  .qa-ico {
    width: 36px;
    height: 36px;
  }
  .featured-stage {
    grid-template-columns: 1fr;
  }
  .new-canvas {
    min-height: 150px;
  }
  .rail-arrow {
    display: none;
  }
  .feature-grid {
    grid-template-rows: repeat(2, 96px);
    grid-auto-columns: calc((100% - 12px) / 2);
    height: 204px;
  }
  .fcard-thumb {
    width: 44px;
    height: 44px;
    border-radius: 7px;
  }
  .fcard {
    padding: 8px;
    gap: 8px;
  }
  .fcard-text small {
    display: none;
  }
  .fcard-text b {
    font-size: 12px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .insp-grid {
    column-count: 2;
    column-gap: 8px;
  }
  .insp-bar {
    flex-wrap: wrap;
  }
  .insp-search {
    order: 3;
    flex-basis: 100%;
  }
  .appbar {
    padding: 0 12px;
  }
  .appbar .bell,
  .credit-pill {
    display: none;
  }
}
