/* 溯辰页 /chart（用户 2026-10-03 给 FateTell「档案 → 创建命盘」录屏，照着改）。
   尺寸取自录屏实测（440pt 宽机，按点换成 CSS px）；颜色换成站内 token：录屏里的中性灰一律写成「墨色若干成混进纸色」，
   跟页底的关系不变（卡比页底深一点、行比页底再浅一点）。 */

/* ── 档案 ── */
.obs-list{max-width:600px;margin:0 auto}
/* 本人卡底色跟头像配色走（用户 2026-10-03：右侧换全身图，「背景色是合一的」）：
   全身图自带的底色就是这套配色，卡底用同一组 --me-a/b/c（site.css 与命册大卡共用），图贴右缘、左边羽化进卡底 */
.obs-me{position:relative;display:block;height:200px;border-radius:32px;padding:22px 20px;color:#FFFEF9;
  background:linear-gradient(125deg,var(--me-a,#82111F) 0,var(--me-b,#5A191B) 54%,var(--me-c,#4D1018) 100%)}
.obs-me::before{content:"";position:absolute;left:-8px;top:-12px;width:130px;height:130px;border-radius:50%;pointer-events:none;   /* 左上光晕：录屏里溢出卡边、不被裁；深底上改用线色淡淡一层 */
  background:radial-gradient(closest-side,color-mix(in srgb,var(--me-line,#F2B9B2) 28%,transparent),transparent)}
.obs-me-art{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}
.obs-me-art img{position:absolute;right:0;top:0;height:100%;width:auto;
  -webkit-mask:linear-gradient(to right,transparent,#000 40%);mask:linear-gradient(to right,transparent,#000 40%)}
.obs-me-link{position:static;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.obs-me-link::after{content:"";position:absolute;inset:0;border-radius:inherit}   /* 整张卡可点 */
/* 按下反馈（用户 2026-11-09「点击自己卡片时给个效果反馈」）：照拓卷入口图卡（card_article.css .ca-card）那套——按下缩到 .975、instant 120ms 到位，
   松手 standard 240ms 回。只认盖满卡面的那条链接；按左下命、运两个小图标卡不动（:active 会冒到祖先，所以用 :has 挑链接本身）。
   不走 press.js：那套是按钮往外胀，它自己把整张卡排除了。iOS Safari 要页面挂了 touchstart 才认 :active，vf_island.js 在 window 上挂着。
   减弱动效时不缩放，改成压暗一档，按下仍看得出来。验收 tools/verify_self_card_press.py */
.obs-me{transition:transform var(--arc-dur-standard) var(--arc-ease-standard),filter var(--arc-dur-standard) var(--arc-ease-standard)}
.obs-me:has(.obs-me-link:active){transform:scale(.975);transition-duration:var(--arc-dur-instant)}
@media (prefers-reduced-motion:reduce){
  .obs-me{transition:filter var(--arc-dur-fast) var(--arc-ease-standard)}
  .obs-me:has(.obs-me-link:active){transform:none;filter:brightness(.88)}
}
.obs-me-name{position:relative;display:block;font:600 26px/1.1 var(--sans);letter-spacing:.01em}
.obs-me-when{position:relative;display:block;margin-top:8px;font:14px/1 var(--sans);color:color-mix(in srgb,var(--me-line,#F2B9B2) 70%,#fff);font-variant-numeric:tabular-nums}
.obs-go{position:absolute;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--btn-glass-bg);-webkit-backdrop-filter:var(--btn-glass);backdrop-filter:var(--btn-glass);
  box-shadow:0 1px 3px rgba(29,27,28,.10);color:var(--text);pointer-events:none}   /* 10-23 全站按钮改玻璃，变量在 site.css 按钮制度 */
.obs-go .vf-icon{width:18px;height:18px}
.obs-me .obs-go{right:20px;top:20px}
.obs-me-chips{position:absolute;left:14px;bottom:14px;display:flex;gap:6px;z-index:1}   /* 只出图标：28 是精灵原稿尺寸，外圈 40 的点按区 */
.obs-me-chips a{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:color-mix(in srgb,var(--me-line,#F2B9B2) 70%,#fff);text-decoration:none}
.obs-me-chips .vf-icon{width:28px;height:28px}
.obs-me-chips a:hover{color:#FFFEF9}
.obs-h{font:400 16px/1 var(--sans);color:var(--text);margin:37px 0 20px}
/* 其他档案＝VFArc 可展开卡（arc/expandable-card.css，用户 10-16「中间的长方形胶囊选个组件」）。卡的圆角、白底、描边、开合动效照组件；
   这里只加生肖头像（卡头最前面）、详情里的两行资料与两颗按钮 */
.obs-rows{display:flex;flex-direction:column;gap:12px}   /* 与上面本人卡同宽（10-17 加宽的左右各 8px 已撤回：用户 10-23「恢复上个版本」） */
.obs-rec .arc-expandable-card-trigger{gap:13px}
.obs-rec .arc-expandable-card-copy{flex:1}
.obs-rec .arc-expandable-card-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.obs-ava{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;overflow:hidden;background:var(--surface-2);font:15px var(--serif);color:var(--text-soft)}
.obs-ava img{width:100%;height:100%;object-fit:cover}
.obs-rec-dl{display:grid;gap:6px;margin:0 0 14px}
.obs-rec-dl div{display:flex;justify-content:space-between;gap:12px}
.obs-rec-dl dt{margin:0}
.obs-rec-dl dd{margin:0;color:var(--text);text-align:right;font-variant-numeric:tabular-nums;min-width:0;overflow-wrap:anywhere}
.obs-rec-acts{display:flex;gap:10px}
.obs-rec-acts>*{flex:1}
.obs-rec-acts [data-armed]{color:var(--danger)}
.obs-empty{color:var(--text-muted);text-align:center;margin:24px 0 0}
.obs-new-btn{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:44px;height:44px;margin-top:22px;border-radius:999px;
  background:var(--btn-glass-bg);-webkit-backdrop-filter:var(--btn-glass);backdrop-filter:var(--btn-glass);border:1px dashed color-mix(in srgb,var(--text) 38%,transparent);font:14px var(--sans);color:var(--text);cursor:pointer}
.obs-new-btn .vf-icon{width:16px;height:16px}

/* ── 创建命盘：整页从右推进来（observe_page.js 逐帧写 transform） ── */
.obs-new{position:fixed;inset:0;z-index:60;overflow-y:auto;background:var(--bg);
  padding:calc(16px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom))}
.obs-new>*{max-width:560px;margin-left:auto;margin-right:auto}
html.obs-pushed{overflow:hidden}
.obs-bar{position:relative;display:flex;align-items:center;justify-content:center;height:44px}
.obs-back{position:absolute;left:0;top:0}   /* 外观是全站共用的 .vf-back（site.css），这里只管位置（用户 2026-10-12「溯辰页的返回键也换成同一个」） */
.obs-bar h1{font:400 15px/1 var(--serif);color:var(--text);margin:0}
.obs-card{margin-top:31px;padding:16px;border-radius:32px;background-color:var(--gc-fill);border:1px solid var(--gc-edge);box-shadow:var(--gc-shadow);-webkit-backdrop-filter:var(--gc-blur);backdrop-filter:var(--gc-blur)}
@media (min-width:480px){.obs-card{margin-left:max(9px,calc((100% - 560px)/2 + 9px));margin-right:max(9px,calc((100% - 560px)/2 + 9px))}}
.obs-row{display:flex;align-items:center;width:100%;height:44px;padding:0 0 0 2px;border:0;background:none;text-align:left;cursor:pointer;color:var(--text)}
.obs-k{display:inline-flex;align-items:center;gap:4px;font:15px/1 var(--serif);color:var(--text-soft)}
/* 行高 1.4 不能回 1：要 overflow:hidden 才出省略号，行高等于字号时文字框只有 15px，y、g、p 的下伸和汉字上下边都伸出框外被裁
   （用户 2026-10-17「名字显示不全」；实测两内核每个名字框外 27–170 个笔画像素，1.4 时为 0，字的上下位置只挪 0.17px） */
.obs-v{margin-left:auto;font:15px/1.4 var(--sans);color:var(--text);max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.obs-row>.vf-icon{flex:none;width:14px;height:14px;margin-left:12px;color:var(--text)}
.obs-sw{cursor:default}
.obs-sw small{margin-left:auto;margin-right:10px;font-size:12px;color:var(--text-soft);font-variant-numeric:tabular-nums}
.obs-sw.is-off small{color:var(--text-muted)}
.obs-info{display:grid;place-items:center;width:28px;height:28px;margin:-6px 0;border:0;background:none;color:var(--text-muted);cursor:pointer}
.obs-info .vf-icon{width:16px;height:16px}
.obs-save{display:flex;width:100%;margin-top:24px}
.obs-foot{margin-top:14px;padding:0 2px;font:13px/1.5 var(--sans);color:var(--text-muted)}
@media (min-width:480px){.obs-foot{padding:0 11px}}

/* ── 底部面板（sheet.js）：浮在屏上，左右缩 6、底缩 2，上圆角 36、下圆角 55，高 500；压暗纯黑 .225 × 露出比例 ── */
.vsh-scrim{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.225);opacity:0}
.vsh{position:fixed;left:50%;bottom:2px;z-index:101;display:flex;flex-direction:column;
  width:min(calc(100vw - 12px),428px);height:min(500px,calc(100dvh - 24px));
  border-radius:36px 36px 55px 55px;background:var(--surface);box-shadow:0 -2px 17px rgba(0,0,0,.05);
  transform:translate(-50%,110%);will-change:transform}
.vsh:focus{outline:none}   /* 打开时程序把焦点放进面板（sheet.js），整块不画焦点框 */
.vsh-title{margin:16px 0 0;font:400 15px/1 var(--serif);text-align:center;color:var(--text-soft)}
.vsh-body{flex:1;display:flex;flex-direction:column;min-height:0;padding:0 20px calc(16px + max(16px,env(safe-area-inset-bottom)))}
.vsh-body .vsh-ok{width:100%;margin-top:auto}
.vsh-input{margin-top:17px;width:100%;height:54px;padding:0 17px;border-radius:15px;border:1px solid color-mix(in srgb,var(--text) 16%,var(--surface));
  background:var(--surface);font:15px var(--sans);color:var(--text)}
.vsh-input::placeholder{color:color-mix(in srgb,var(--text) 32%,var(--surface))}
.vsh-input:focus{outline:none;border-color:var(--primary)}
.vsh-note{margin:12px 0 0;font:13px/1.5 var(--sans);color:var(--text-muted);text-align:center}
.vsh-body .vsh-note:last-child{margin-top:12px}

/* 出生地址联想（录屏：首条离搜索框底 37、行距 60、两行字左对齐搜索框、无分隔线；输入时框内右侧小加载标记） */
.vsh-inwrap{position:relative}
.vsh-inwrap.is-loading::after{content:"";position:absolute;right:16px;top:calc(17px + 27px - 7px);width:14px;height:14px;border-radius:50%;
  border:2px solid color-mix(in srgb,var(--text) 18%,transparent);border-top-color:var(--text-soft);animation:vshSpin .7s linear infinite}
@keyframes vshSpin{to{transform:rotate(360deg)}}
.vsh-input[type=search]::-webkit-search-cancel-button{display:none}
.vsh-sugg{flex:1;min-height:0;overflow-y:auto;margin:14px -4px 12px;padding:0 4px}
.vsh-pl{display:flex;flex-direction:column;justify-content:center;gap:6px;width:100%;min-height:60px;padding:0 3px;border:0;background:none;text-align:left;cursor:pointer;color:var(--text)}
.vsh-pl b{font:400 15px/1.2 var(--serif)}
.vsh-pl small{font:13px/1.2 var(--sans);color:var(--text-soft)}
.vsh-pl.is-pick{opacity:.4}
@media (hover:hover) and (pointer:fine){.vsh-pl:hover b{color:var(--primary)}}
@media (prefers-reduced-motion:reduce){.vsh-inwrap.is-loading::after{animation:none}}

/* 性别：两张人像卡 117×141，间距 39，离面板上沿 48；按下那张一帧变淡到 .23、70ms 落到 .16（录屏实测）
   面板高度跟内容走、卡下也留 48（底边距 32＋这里 16）：用户 10-12「下方留白过于大了」——照录屏的 500 高，卡下空 311 */
.vsh:has(.vsh-gender){height:auto}
.vsh-gender{display:flex;justify-content:center;gap:39px;margin:17px 0 16px}
.vsh-g{position:relative;width:117px;height:141px;border:0;border-radius:17px;cursor:pointer;
  background:color-mix(in srgb,var(--text) 6%,var(--surface));color:var(--text)}
.vsh-g img{position:absolute;left:50%;bottom:47px;height:71px;width:auto;transform:translateX(-50%);pointer-events:none}
.vsh-g span{position:absolute;left:0;right:0;top:104px;font:16px/16px var(--serif);color:var(--text-soft)}
.vsh-g.is-press{animation:vshPress 87ms linear forwards}
@keyframes vshPress{0%{opacity:.23}20%{opacity:.23;background-color:transparent}100%{opacity:.16;background-color:transparent}}

/* 出生日期：列头离面板上沿 73，滚轮顶 112（选中行中心 198），确认钮顶 376.5，说明字中心 443.6 */
.vsh-cols,.vsh-wheels{display:grid;grid-template-columns:repeat(5,63px);justify-content:center}
.vsh-cols{margin-top:42px;font:15px/15px var(--serif);color:var(--text-soft);text-align:center}
.vsh-wheels{margin-top:24px}
.vsh-wheels+.vsh-ok{margin-top:92px}
.whl{position:relative;outline:none}
.whl-sel{position:absolute;left:50%;top:calc(86px - 15.2px);width:38.7px;height:30.4px;border-radius:15.2px;transform:translateX(-50%);
  background:color-mix(in srgb,var(--text) 9%,var(--surface));pointer-events:none}
.whl:focus-visible .whl-sel{box-shadow:0 0 0 2px var(--primary)}
.whl-scroll{position:relative;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}
.whl-scroll::-webkit-scrollbar{display:none}
.whl-row{scroll-snap-align:center;text-align:center;font:15px var(--serif);color:var(--text);font-variant-numeric:tabular-nums;cursor:pointer;white-space:nowrap;will-change:transform,opacity}
.whl.is-off{opacity:.35;pointer-events:none}

@media (prefers-reduced-motion:reduce){.vsh-g.is-press{animation:none;opacity:.16}}
