/* 拓缘顶上的会员位轨道（static/js/ty_orbit.js）。尺寸比例由 JS 按宽度算好写进 --ty-tile（枚）、--ty-core（核心），同周期太岁。
 * 这里不写 color：写了要重跑灰字体表（tools/build_grey_css.py）；字照页面墨色，灰的地方用透明度。 */
.ty-orbit{position:relative;width:min(100%,360px);aspect-ratio:1;margin:0 auto 22px;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
.ty-orbit-rings{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ty-ring{fill:none;stroke:var(--border-strong);stroke-width:1}
/* 中心连到选中那一位的线（同周期太岁：两头各让 6） */
.ty-orbit-line{stroke:var(--primary);stroke-width:1.5;stroke-linecap:round;transition:opacity var(--arc-dur-fast,.16s) ease}

/* 中心：你自己 */
.ty-orbit-core{position:absolute;left:50%;top:50%;width:var(--ty-core,60px);height:var(--ty-core,60px);transform:translate(-50%,-50%)}
.ty-orbit-core .sm-ava{width:100%;height:100%;box-shadow:0 0 0 2px var(--surface),0 6px 16px rgba(29,27,28,.16)}
.ty-core-name{position:absolute;left:50%;top:calc(100% + 4px);transform:translateX(-50%);font:500 13px/1.2 var(--font-grey);white-space:nowrap;opacity:.72}
.ty-core-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:1.5px dashed var(--border-strong);border-radius:50%;
  background:var(--surface);padding:0;font:500 13px/1.2 var(--sans);cursor:pointer}

/* 位：JS 只写 transform（左上角落在枚的方框左上角） */
.ty-seat{position:absolute;left:0;top:0;width:var(--ty-tile,44px);height:var(--ty-tile,44px);padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.ty-seat-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:box-shadow var(--arc-dur-fast,.16s) ease}
.ty-seat-face .sm-ava{width:100%;height:100%}
/* 名字：JS 按这一位朝外的方向摆（translate），中心点落在枚外沿再往外 11–13；有角标时再按角标让开（ty_orbit.js namePush）。
   字形用寒蝉德黑体（用户 11-10 指着神煞卡原文那行「字体换成这种」；只换字形，字号、颜色照旧） */
.ty-seat-name{position:absolute;left:50%;top:50%;font:13px/1.2 var(--font-grey);white-space:nowrap;pointer-events:none}
/* 右下角标（拓缘：你和这个人这一周的迷你双环，外环你、内环 Ta，soulmate.js 画好 SVG 传进来）：22 宽的雪白圆托，挂在枚右下、伸出枚外一点；
   不吃指针，点到的还是这一位。环色在 SVG 里用 --xi／--ji 和淡灰 */
.ty-seat-badge{position:absolute;right:-5px;bottom:-4px;width:22px;height:22px;border-radius:50%;background:var(--surface);box-shadow:0 1px 3px rgba(29,27,28,.18);pointer-events:none}
.ty-seat-badge:empty{display:none}
.ty-seat-badge svg{display:block;width:22px;height:22px}
.tyb-track{stroke:color-mix(in srgb,var(--text) 14%,transparent)}.tyb-g{stroke:var(--xi)}.tyb-r{stroke:var(--ji)}
/* 空位：虚线圆加一个加号 */
.ty-seat[data-state="empty"] .ty-seat-face{background:var(--surface)}
.ty-seat[data-state="empty"] .ty-seat-face::before{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px dashed var(--border-strong)}
.ty-plus{font:300 22px/1 var(--sans);opacity:.55}
/* 选中：套一圈枣红（同转轮里选中那一位） */
.ty-seat.on .ty-seat-face{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--primary),0 4px 12px rgba(124,24,35,.18)}
.ty-seat.on .ty-seat-name{font-weight:500}

/* 页面顶上的档位标志（lihuo_mark.js 克隆的离火，三种样子在 site.css 的 .lh-*）：盒 54×52，V 面高 32，同开通面板；
   V 只占盒的下面那段，上面空着给 Max 的火苗，所以上边距收回 12。Ordinary 平涂枣红（写 fill，不写 color） */
.ty-tier{display:flex;justify-content:center;margin:-12px 0 2px}
.ty-tier-mark{display:block;width:54px;height:52px;overflow:visible}
.ty-tier-mark.lh-flat .v-face{fill:var(--primary);stroke:var(--primary)}

@media (prefers-reduced-motion:reduce){.ty-orbit-line,.ty-seat-face{transition:none}}

/* ===== 点一位长出的本周小卡（ty_card.js 外壳，卡里内容 soulmate.js cardNode）＋往下滑的本周概览 =====
   用户 11-10：乙2 外壳里放乙5 迷你仪表＋乙3 七天份额条；往下滑丙2 头像串＋丙3 斜率图。页面是居中排的，这两块改回靠左 */
.ty-card-host,.ty-board{max-width:420px;margin:0 auto 18px;text-align:left}
/* 卡要压过轨道（外壳从那一位头像长出来），又得在底部固定操作条（soulmate.css .sm-cta z-index 3）下面：
   组件默认 5（照周期太岁），在这一页放到 2，不然卡滚到屏底会盖住「看我们这一周」（11-10 verify_soulmate 点不到） */
.ty-card-host .ty-card{z-index:2}
.ty-wk{display:grid;gap:12px;min-width:0}
/* 第一行右边让出卡右上那排三颗钮（ty_card.js 文件头：约 96，留 104） */
.ty-wk-head{display:flex;align-items:center;gap:12px;min-width:0;padding-right:104px}
.ty-wk-head .sm-ava{flex:none;width:40px;height:40px}
.ty-wk-title{display:grid;min-width:0}
.ty-wk-title b{font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ty-wk-title span{font-family:var(--font-grey);font-size:13px;line-height:1.5;white-space:nowrap;opacity:.72}
.ty-wk-line{margin:0;font-size:15px;line-height:1.55;text-wrap:pretty}
.ty-wk-line.is-wait{opacity:.72}
.ty-wk-gauge{display:flex;justify-content:center}
.ty-wk-gauge .arc-gauge-visual{width:min(100%,150px)}
.ty-wk-foot{display:flex;justify-content:flex-end}   /* 份额条底下自带一道分隔线（split-bar.css），这里不再画，免得叠成两道 */

.ty-board{display:grid;gap:14px;padding:16px;border:1px solid var(--gc-edge);border-radius:22px;background-color:var(--gc-fill);box-shadow:var(--gc-shadow-sm)}
.ty-board[hidden]{display:none}
.ty-board-h{margin:0;font-family:var(--serif);font-size:17px;font-weight:600;line-height:1.4}
.ty-board-groups{display:grid;gap:10px}
.ty-board-row{display:flex;align-items:center;gap:12px;min-width:0}
.ty-board-cat{flex:none;width:5em;font-family:var(--font-grey);font-size:14px;line-height:1.4}
.ty-board-ava{min-width:0}
