/* 纹样结构：云头、四旋镜纹、双钱结带；细节分层，外轮廓稳定。 */
.vf-icon-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.vf-icon.vf-icon{width:24px;height:24px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.vf-icon.vf-micon{stroke-width:2}   /* 会变形的图标（Lucide，app/micons.py，24 网格）一律线宽 2：用户 2026-10-03 先照 morphicons 演示页加粗到 2.5，嫌太粗改 2（定在抽签页两颗胶囊上，那两颗 10-06 已换成 reicon 实心款）；现用在报告页基础命盘五块标题 */
.vf-ink{fill:currentColor;stroke:none}
.vf-moving,.vf-left,.vf-right,.vf-reveal{transform-box:view-box;transform-origin:14px 14px;transition:transform .38s cubic-bezier(.22,.7,.25,1),opacity .28s ease}
.vf-moving{transform:var(--vf-move,none)}
.vf-left{transform:translateX(var(--vf-left,0px))}
.vf-right{transform:translateX(var(--vf-right,0px))}
.vf-reveal{opacity:var(--vf-reveal,0);transform:scale(var(--vf-reveal-scale,.6))}
.vf-icon--oracle{--vf-rest:translateY(1px);--vf-selected:translateY(-1px)}
.vf-icon--observe{--vf-rest:rotate(-22.5deg);--vf-selected:rotate(22.5deg)}
.vf-icon--calendar{--vf-rest:translateY(0px);--vf-selected:translateY(1px)}
.vf-icon--archive{--vf-rest:scaleX(.65);--vf-selected:scaleX(1)}
.vf-icon--settings{--vf-rest:rotate(0deg);--vf-selected:rotate(45deg)}
.vf-icon--delete{--vf-rest:rotate(0deg);--vf-selected:translateY(-2px) rotate(-8deg)}
.vf-icon{--vf-move:var(--vf-rest,none)}
:is(.on,[aria-current="page"],[aria-pressed="true"],.vf-icon-tap,.vf-icon-selected) .vf-icon{--vf-move:var(--vf-selected,none);--vf-reveal:1;--vf-reveal-scale:1}
.vf-icon--archive{--vf-left:1px;--vf-right:-1px}
:is(.on,[aria-current="page"],.vf-icon-tap,.vf-icon-selected) .vf-icon--archive{--vf-left:0px;--vf-right:0px}
.tabbar a .vf-icon{width:24px;height:24px;transform:none;transition:none}   /* 套件 Tab 图标约 24pt */
.tabbar a{gap:4px}
.tabbar a:hover .vf-icon,.tabbar a:active .vf-icon{transform:none}
.hdr-pill a .vf-icon{width:24px;height:24px;transform:none}
.lg-pre .vf-icon{width:21px;height:21px}
.vf-icon-action:active .vf-icon{transform:scale(.94)}
:is(.tabbar a,.hdr-pill a,.vf-icon-action):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(prefers-reduced-motion:reduce){
 .vf-moving,.vf-left,.vf-right,.vf-reveal{transition:none!important}
 .vf-icon-action:active .vf-icon{transform:none}
}

.linkbtn .vf-icon,.btn-ghost .vf-icon,.set-arrow .vf-icon{width:17px;height:17px}
.lg-item:has(input:checked) .vf-icon{--vf-reveal:1;--vf-reveal-scale:1;--vf-move:var(--vf-selected,none)}


/* 暖墨与浅浮雕：阴影随图形轮廓，保持细小留白清晰。 */
.tabbar a:not(.on):not([aria-current="page"]),
.hdr-pill a:not(.on):not([aria-current="page"]){color:var(--text-soft)}
:is(.tabbar a,.hdr-pill a) .vf-icon{
 filter:drop-shadow(0 .6px .35px rgba(69,48,35,.18));
}
:is(.tabbar a,.hdr-pill a):is(.on,[aria-current="page"]) .vf-icon{
 filter:drop-shadow(0 .8px .5px rgba(92,23,32,.22));
}

/* 一次按压、展开、归位。机件运动留在 SVG 内，底栏尺寸保持稳定。 */
.tabbar .tab-pill{background:linear-gradient(145deg,#FCF2ED,#F3E3DA);box-shadow:inset 0 1px 0 #fff9,inset 0 -1px 0 #7c18230a}
:is(.tabbar a,.hdr-pill a) .vf-icon{transition:transform .22s ease}
.tabbar a:is(.on,[aria-current="page"]) .vf-icon{--vf-emblem-final:translateY(-1px) scale(1.07);transform:var(--vf-emblem-final)}
:is(.tabbar a,.hdr-pill a):active .vf-icon{transform:scale(.9)}
@media(hover:hover) and (pointer:fine){
 :is(.tabbar a,.hdr-pill a):not(.on):hover .vf-icon{transform:translateY(-2px) scale(1.06)}
}
.vf-moving{animation:var(--vf-motion,none) .68s cubic-bezier(.22,.7,.25,1) both}
.vf-left{animation:var(--vf-left-motion,none) .68s cubic-bezier(.22,.7,.25,1) both}
.vf-right{animation:var(--vf-right-motion,none) .68s cubic-bezier(.22,.7,.25,1) both}
.vf-icon-play .vf-icon--oracle{--vf-oracle-motion:vf-oracle-dye}
.vf-icon-play .vf-icon--observe{--vf-eye-motion:vf-eye-open}
.vf-icon-play .vf-icon--hepan{--vf-fan-motion:vf-fan-open}
.vf-icon-play .vf-icon--tuoyuan{--vf-fish-left:vf-fish-sway-left;--vf-fish-right:vf-fish-sway-right}
.vf-icon-play .vf-icon--archive{--vf-motion:vf-scroll-open;--vf-left-motion:vf-scroll-left;--vf-right-motion:vf-scroll-right}
.vf-icon-play .vf-icon--settings{--vf-settings-motion:vf-settings-spin}
:is(.tabbar,.hdr-pill) .vf-icon-play .vf-icon{animation:vf-emblem-settle .68s cubic-bezier(.22,.7,.25,1) both}
.tabbar .vf-icon-play>span:not(.vf-rip-clip){animation:vf-label-settle .5s ease both}
@keyframes vf-emblem-settle{0%{transform:scale(.88)}40%{transform:translateY(-3px) scale(1.14)}100%{transform:var(--vf-emblem-final,none)}}
@keyframes vf-label-settle{0%{opacity:.6;transform:translateY(2px)}100%{opacity:1;transform:translateY(0)}}
@keyframes vf-tally-rise{0%{transform:translateY(3px)}55%{transform:translateY(-2px)}100%{transform:translateY(-1px)}}
@keyframes vf-mirror-turn{0%{transform:rotate(-112.5deg)}75%{transform:rotate(30deg)}100%{transform:rotate(22.5deg)}}
@keyframes vf-coin-left{0%{transform:translateX(-.8px)}65%{transform:translateX(.5px)}100%{transform:translateX(.3px)}}
@keyframes vf-coin-right{0%{transform:translateX(.8px)}65%{transform:translateX(-.5px)}100%{transform:translateX(-.3px)}}
@keyframes vf-almanac-turn{0%{opacity:.4;transform:translateY(-1px) scaleY(.15)}60%{opacity:1;transform:translateY(1px) scaleY(1.12)}100%{transform:translateY(1px) scaleY(1)}}
@keyframes vf-scroll-open{0%{transform:scaleX(.2)}70%{transform:scaleX(1.08)}100%{transform:scaleX(1)}}
@keyframes vf-scroll-left{0%{transform:translateX(3px)}100%{transform:translateX(0)}}
@keyframes vf-scroll-right{0%{transform:translateX(-3px)}100%{transform:translateX(0)}}
@keyframes vf-seal-turn{0%{transform:rotate(-90deg)}75%{transform:rotate(52deg)}100%{transform:rotate(45deg)}}
@media(prefers-reduced-motion:reduce){
 .vf-moving,.vf-left,.vf-right,.vf-reveal,
 :is(.tabbar a,.hdr-pill a) .vf-icon,.tabbar .vf-icon-play>span:not(.vf-rip-clip){animation:none!important;transition:none!important}
 :is(.tabbar a,.hdr-pill a):is(:hover,:active) .vf-icon{transform:none}
}

/* 用实色盖片揭开镂空星，避免 mask 内部丢失实例的选中状态。 */
.vf-calendar-cover{opacity:calc(1 - var(--vf-reveal,0));transform-box:view-box;transform-origin:14px 15px;transition:opacity .35s ease;animation:var(--vf-star-motion,none) .68s ease-out both}
@keyframes vf-star-appear{0%,15%{opacity:1;transform:scale(1)}75%{opacity:0;transform:scale(.45)}100%{opacity:0;transform:scale(.35)}}
@media(prefers-reduced-motion:reduce){.vf-calendar-cover{animation:none!important;transition:none!important}}

/* 一线穿过双钱的方孔，币面遮住背后的线，保留穿引关系。 */
.vf-match-thread{fill:none;stroke:var(--primary,#7C1823);stroke-width:.85;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0;animation:var(--vf-thread-motion,none) .68s ease-out both}
@keyframes vf-thread-draw{0%{stroke-dashoffset:1;opacity:.4}100%{stroke-dashoffset:0;opacity:1}}
@media(prefers-reduced-motion:reduce){.vf-match-thread{animation:none!important}}

/* 拓缘（底栏第四格）：原合盘那颗双鱼的图形（10-12 拓卷换扇面时撤下，用户 2026-11-08「库内之前合盘的动态svg 是一个双鱼的形状」取回）。
   拓缘还没有页面，选不中，平时就是一对。点到时两条从一对起微微分开再合拢，起止都是平时的样子（用户「确保和其他一样丝滑」）：
   和神谕、溯辰、拓己一样整颗不弹，只让零件动（见下面 .tabbar a :is(...) 那行）。0.72 秒同扇面；两段各自缓动，分开慢起慢停，
   合拢慢慢落定，速度两头都是零。原合盘那套「单鱼居中、选中时右鱼游进来」等拓缘有了页面再定（原样在 git show 7a721c7^:static/css/ui_icons.css）。 */
.vf-fish-left,.vf-fish-right{transform-box:view-box;transform-origin:14px 14px}
.vf-fish-left{animation:var(--vf-fish-left,none) .72s both}
.vf-fish-right{animation:var(--vf-fish-right,none) .72s both}
@keyframes vf-fish-sway-left{0%{transform:none;animation-timing-function:cubic-bezier(.45,0,.55,1)}40%{transform:translate(-1.4px,-.4px) rotate(-5deg);animation-timing-function:cubic-bezier(.33,0,.2,1)}100%{transform:none}}
@keyframes vf-fish-sway-right{0%{transform:none;animation-timing-function:cubic-bezier(.45,0,.55,1)}40%{transform:translate(1.4px,-.4px) rotate(5deg);animation-timing-function:cubic-bezier(.33,0,.2,1)}100%{transform:none}}
@media(prefers-reduced-motion:reduce){.vf-fish-left,.vf-fish-right{animation:none!important}}

/* 商周纹样：各半独立运动，保留原稿的虚实。 */
.vf-panel-left,.vf-panel-right{transform-box:view-box;transform-origin:14px 14px}
.vf-panel-left{animation:var(--vf-panel-left,none) .55s ease-out both}
.vf-panel-right{animation:var(--vf-panel-right,none) .55s .1s ease-out both}
@keyframes vf-panel-reveal{0%{opacity:.15;transform:scaleX(.88)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.vf-panel-left,.vf-panel-right{animation:none!important}}

/* 恢复原稿卷纹，仅局部放大眼睛与对应眼睑。 */
.vf-eye-lid{transform-box:view-box;transform-origin:16.8px 14.3px;transform:scaleY(var(--vf-eye-closed,1));transition:transform .5s ease;animation:var(--vf-eye-motion,none) .7s ease both}
:is(.on,[aria-current="page"],.vf-icon-tap) .vf-icon--observe{--vf-eye-closed:0}
.tabbar a .vf-icon--observe{animation:none!important;transform:none!important}
@keyframes vf-eye-open{0%,12%{transform:scaleY(1)}100%{transform:scaleY(0)}}
@media(prefers-reduced-motion:reduce){.vf-eye-lid{animation:none!important;transition:none!important}}

/* 原稿环形回纹整体转动，中央留白与纹样一起保持原有比例。 */
.vf-settings-rotor{stroke:currentColor;stroke-width:.12;stroke-linejoin:round;transform-box:view-box;transform-origin:14px 14px;animation:var(--vf-settings-motion,none) .72s cubic-bezier(.2,.6,.25,1) both}
.hdr-pill a .vf-icon--settings{animation:none!important;transform:none!important}
@keyframes vf-settings-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.vf-settings-rotor{animation:none!important}}

/* 原稿图腾圆点逐个亮起；鸟喙展开后维持选中姿态。 */
.vf-oracle-frame{color:inherit}
.vf-oracle-undyed{color:#756D63;opacity:.16}
.vf-oracle-dye{color:#7C1823;opacity:var(--vf-curls-dyed,0);clip-path:inset(0 0 0 0);animation:var(--vf-oracle-motion,none) .65s ease-out var(--vf-dye-delay,0ms) both}
:is(.on,[aria-current="page"],.vf-icon-tap) .vf-icon--oracle{--vf-curls-dyed:1}
@keyframes vf-oracle-dye{0%{opacity:0;clip-path:inset(0 100% 0 0)}35%{opacity:.65}100%{opacity:1;clip-path:inset(0 0 0 0)}}
.tabbar a :is(.vf-icon--oracle,.vf-icon--calendar,.vf-icon--tuoyuan){animation:none!important;transform:none!important}   /* 拓缘同神谕、溯辰、拓己：整颗不弹，只让鱼自己动（用户「确保和其他一样丝滑」） */
@media(prefers-reduced-motion:reduce){.vf-oracle-dye{animation:none!important;transition:none!important}}

/* 拓卷（底栏第三格）：扇面（tools/icons/build_fan.py 生成），用户 2026-10-12 换掉双鱼「像扇子一样打开的效果」。
   8 根扇骨绕扇柄转，张开程度 --vf-fan-open：没选中 .4（合起大半的折扇；原 .65，用户「没选中的时候扇子再合一点」）、选中 1（全开，图一那样）；点到时从全合（只剩一根宽）转开——
   开头在全合停 14%（约 0.1 秒）再展开：用户看逐帧「第一步还需要再细一些」，先前一起手就很快张开，合拢那一下一闪而过。
   扇柄位置与每根的中心角写在精灵里（每根的 transform-origin 与 --phi），这里只管转多少 */
.vf-fan-slat{transform-box:view-box;transform:rotate(calc((var(--vf-fan-open,.4) - 1) * var(--phi)));transition:transform .38s cubic-bezier(.22,.7,.25,1);animation:var(--vf-fan-motion,none) .72s cubic-bezier(.22,.7,.25,1) both}
:is(.on,[aria-current="page"],.vf-icon-tap,.vf-icon-selected) .vf-icon--hepan{--vf-fan-open:1}
.tabbar a .vf-icon--hepan{animation:none!important;transform:none!important}
@keyframes vf-fan-open{0%,14%{transform:rotate(calc(-1 * var(--phi)))}100%{transform:rotate(0deg)}}
@media(prefers-reduced-motion:reduce){.vf-fan-slat{animation:none!important;transition:none!important}}

/* Approved separate wing: fixed body and a shoulder-led unfolding motion. */
.vf-calendar-wing{transform-box:view-box;transform-origin:17px 13px;opacity:var(--vf-wing-visible,0);transform:var(--vf-wing-pose,rotate(-65deg) scale(.25,.65));animation:var(--vf-wing-animation,none) .9s cubic-bezier(.22,.7,.25,1) both}
:is(.on,[aria-current="page"],.vf-icon-tap) .vf-icon--calendar{--vf-wing-visible:1;--vf-wing-pose:rotate(0deg) scale(1)}
.vf-icon-play .vf-icon--calendar{--vf-wing-animation:vf-calendar-unfold}
@keyframes vf-calendar-unfold{0%{opacity:0;transform:rotate(-65deg) scale(.25,.65)}20%{opacity:1}80%{opacity:1;transform:rotate(3deg) scale(1)}100%{opacity:1;transform:rotate(0deg) scale(1)}}
@media(prefers-reduced-motion:reduce){.vf-calendar-wing{animation:none!important}}

/* 设置页纹样增加可读尺寸，保持同列居中。拓己页那几块（头像问候、已收集签卡）11-08 从设置页搬来，同一套尺寸与染色，选择器带上 #vf-tuoji-root。 */
:is(#vf-settings-root,#vf-tuoji-root) .vf-icon{width:30px;height:30px}
:is(#vf-settings-root,#vf-tuoji-root) .lg-pre{width:36px}
#vf-settings-root .set-arrow .vf-icon{width:22px;height:22px}
:is(#vf-settings-root,#vf-tuoji-root) .st-link .vf-icon{width:18px;height:18px}   /* 顶部「查看我的命册」的小箭头：页内图标整体放大到 30，这行字才 13.5，跟着放大会压住字 */
:is(#vf-settings-root,#vf-tuoji-root) .hm-go .vf-icon{width:18px;height:18px}   /* 「已收集签卡」右上角圆钮里的箭头，同溯辰页 .obs-go 的 18 */
#vf-settings-root .lg-item.has-pre+.lg-item::before{left:69px}
/* ⚠ 设置页把页内图标放大到 30 是这一页自己的版式，**不许带上底栏与顶栏胶囊**：
   那两处是全站固定的外壳（底栏尺寸按 iOS 27 套件定的 346×62、图标 24），一页一个样子等于站在晃。
   2026-09-17 用户报「进设置里底栏突然变大」，量出来底栏 34/72、顶栏 30，其余各页 24/62/24，遂删。 */

/* 设置页可用图标使用柔和枣红，禁用与危险状态保持各自语义。 */
:is(#vf-settings-root,#vf-tuoji-root) :is(.lg-pre,.set-arrow){color:#86434B}
#vf-settings-root :is(.is-off,[aria-disabled="true"]) :is(.lg-pre,.set-arrow){color:var(--text-soft)}
:is(#vf-settings-root,#vf-tuoji-root) .vf-icon--oracle{--vf-curls-dyed:1}
:is(#vf-settings-root,#vf-tuoji-root) .vf-oracle-dye{color:inherit}
