/* ============================================================
   Cue（v0.55.2 重做）——白底 · 墨色色脊 · 右侧实时缩略（v0.55.4）
   ============================================================ */
.xc-screen { background: #fff; }
.xc-screen > .app-header { display: none; }
.xc-app { --ink: #1c1c1e; --sub: #8e8e93; --slate: #3a3a3c; --mist: #f2f2f4; --card: #f7f7f8;
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; color: var(--ink);
  padding: 0 16px calc(40px + env(safe-area-inset-bottom, 0px)); font-family: -apple-system, "PingFang SC", "Noto Sans SC", sans-serif; }
.xc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(18px + env(safe-area-inset-top, 0px)) 0 4px; }
.xc-tt { flex: 1; text-align: center; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-ib { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0,0,0,.18); }
.xc-ib svg { width: 20px; height: 20px; }
.xc-hero { padding: 10px 4px 20px; }
.xc-h1 { font-family: Georgia, serif; font-style: italic; font-size: 64px; line-height: 1; letter-spacing: -1px; color: var(--ink); }
.xc-h2 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); margin-top: 8px; }
.xc-h2 b { font-family: Georgia, serif; font-weight: 400; font-size: 15px; color: var(--ink); }
.xc-h2 i { width: 5px; height: 5px; border-radius: 50%; background: #c7c7cc; }

.xc-list { display: flex; flex-direction: column; gap: 10px; }
.xc-card { --t: #c7c7cc; position: relative; display: flex; gap: 12px; background: var(--card); border-radius: 22px; padding: 14px 14px 14px 22px; cursor: pointer;
  box-shadow: 0 6px 18px -12px rgba(0,0,0,.35); overflow: hidden; }
.xc-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--t); }
.xc-card.off { opacity: .55; }
.xc-l { flex: 1; min-width: 0; }
.xc-nm { font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.xc-keys { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.xc-keys span { font-size: 12px; padding: 3px 9px; border-radius: 9px; background: #fff; color: #3a3a3c; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }
.xc-who { display: flex; align-items: center; margin-top: 10px; }
.xc-who .c-avatar { box-shadow: 0 0 0 1.5px var(--card); }
.xc-who .c-avatar + .c-avatar { margin-left: -6px; }
.xc-who em { font-style: normal; font-size: 11.5px; color: var(--sub); margin-left: 7px; }
.xc-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.xc-mini { width: 78px; height: 64px; border-radius: 12px; overflow: hidden; position: relative; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.06); }
.xc-mini iframe { position: absolute; left: 0; top: 0; width: 300%; height: 300%; border: 0; transform: scale(.3333); transform-origin: 0 0; pointer-events: none; }
.xc-mini span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #8e8e93; }
.xc-sw { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #e5e5ea; cursor: pointer; flex: none; transition: background .2s; }
.xc-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.xc-sw.on { background: var(--slate); }
.xc-sw.on::after { transform: translateX(18px); }

.xc-sec { font-size: 12px; letter-spacing: 2px; color: var(--sub); margin: 26px 4px 10px; }
.xc-samples { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.xc-samples::-webkit-scrollbar { display: none; }
.xc-sm { flex: none; width: 150px; background: var(--card); border-radius: 20px; padding: 6px; cursor: pointer; box-shadow: 0 6px 16px -12px rgba(0,0,0,.35); }
.xc-sm.got { opacity: .5; }
.xc-smv { height: 150px; border-radius: 15px; background: var(--mist); overflow: hidden; position: relative; }
.xc-smv iframe { position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.xc-smf { display: flex; justify-content: space-between; align-items: center; padding: 9px 6px 4px; }
.xc-smf b { font-size: 13.5px; font-weight: 600; }
.xc-smf span { font-size: 11.5px; color: var(--slate); }
.xc-acts { display: flex; gap: 10px; margin-top: 18px; }
.xc-acts > div { flex: 1; height: 50px; border-radius: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--card); color: var(--ink); box-shadow: 0 6px 16px -12px rgba(0,0,0,.35); }
.xc-acts > div + div { background: var(--slate); color: #fff; }
.xc-acts svg { width: 19px; height: 19px; }

/* 编辑页 */
.xc-form { padding-top: 10px; }
.xc-f { display: block; background: var(--card); border-radius: 20px; padding: 13px 14px; margin-bottom: 10px; }
.xc-f > span { display: block; font-size: 12px; color: var(--sub); letter-spacing: 1px; margin-bottom: 8px; }
.xc-f input, .xc-f textarea { width: 100%; box-sizing: border-box; border: 0; outline: 0; background: var(--mist); border-radius: 12px; padding: 10px 12px;
  font-size: 16px; color: var(--ink); resize: vertical; font-family: inherit; }
.xc-f textarea.mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.5; }
.xc-pp { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px; }
.xc-p { flex: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; opacity: .55; }
.xc-p.on { opacity: 1; }
.xc-p.on .c-avatar, .xc-p.on .xc-allav { box-shadow: 0 0 0 2.5px var(--card), 0 0 0 4.5px var(--slate); }
.xc-p em { font-style: normal; font-size: 11.5px; color: var(--ink); max-width: 56px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-allav { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--slate); display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 14px; font-weight: 700; }
.xc-pv { background: var(--mist); border-radius: 20px; padding: 4px; margin-bottom: 10px; }
.xc-pv iframe { width: 100%; height: 260px; border: 0; display: block; border-radius: 16px; }
.xc-row { display: flex; gap: 10px; margin-top: 6px; }
.xc-row div { flex: 1; height: 48px; border-radius: 16px; background: var(--card); display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; }
.xc-row div.dg { color: #a0564e; }
.xc-screen .xc-top .xc-sw { margin-right: 4px; }

/* v0.55.11：Cue —— 灰雾底 + 半透白索引卡（不逐块模糊）；按钮单层、无内高光 */
.xc-screen { background: #efeff1; }
.xc-app { --ink: #2c2c2e; --slate: #545458; --card: rgba(255,255,255,.84); --mist: #f2f2f5;
  background: radial-gradient(240px 220px at 88% 6%, rgba(199,199,204,.85), transparent 70%), radial-gradient(260px 240px at 6% 46%, rgba(174,174,178,.45), transparent 70%),
    radial-gradient(260px 220px at 80% 88%, rgba(209,209,214,.75), transparent 70%); }
.xc-card::before, .xc-card::after { display: none !important; }
.xc-card, .xc-sm, .xc-f, .xc-row div { box-shadow: 0 14px 28px -22px rgba(60,60,67,.5) !important; }
.xc-card { padding: 16px; border-radius: 24px; }
.xc-nm { font-family: Georgia, "SereinSerif", serif; font-weight: 400; font-size: 18px; letter-spacing: 1px; }
.xc-keys span { background: #f2f2f5; box-shadow: none !important; border-radius: 10px; }
.xc-mini { border-radius: 14px; background: #fff !important; box-shadow: 0 8px 18px -14px rgba(60,60,67,.45) !important; }
.xc-sw { background: #dcdce0; }
.xc-sw.on { background: #636366; }
.xc-h1 { color: #3a3a3c; }
.xc-h2 i { background: #aeaeb2; }
/* 顶部：返回与新建都是无框无底的浅灰裸图标 */
.xc-top .xc-ib { background: none !important; box-shadow: none !important; border: 0; width: 40px; height: 40px; border-radius: 0; color: #8e8e93; }
.xc-top .xc-ib svg { width: 26px; height: 26px; }
.xc-top .xc-ib svg * { stroke-width: 2.4; }
.xc-top .xc-ib[data-x="back"] { justify-content: flex-start; margin-left: -4px; }
.xc-top .xc-ib[data-x="new"] { justify-content: flex-end; margin-right: -4px; }
.xc-top .xc-ib:active { opacity: .5; }
/* 索引卡恢复毛玻璃 */
.xc-card, .xc-sm { background: rgba(255,255,255,.6) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 14px 28px -22px rgba(60,60,67,.5) !important; }
/* 底部两枚（v0.55.13）：沿用上一版的毛玻璃，改掉"两层"——无渐变、无描边、无内高光，单层磨砂 */
.xc-acts > div { border: 0 !important; background: rgba(255,255,255,.85) !important; color: #2c2c2e; box-shadow: 0 12px 24px -18px rgba(60,60,67,.5) !important; }
.xc-acts > div + div { background: rgba(84,84,88,.78) !important; color: #fff; box-shadow: 0 12px 24px -16px rgba(58,58,60,.6) !important; }
.xc-acts svg * { stroke-width: 2.2; }
