/* sun.css — 未读「日出」（总第 8 步第 ⑥ 条，主人定）：不写数字的暖色小太阳，形状在 ui.js 的 D.ui.sun。
   颜色暖金到陶土橙，绝不用红色；深色模式光晕稍亮。最后加载：盖掉原来各处药丸角标的底色、外框 */
:root { --sun-core: #EFAA52; --sun-glow: #F5BE6E; --sun-big: #F2A75C; --sun-t: #C66F3C; --sun-glow-a: .32; --sun-moon: #E9C273; }
:root[data-theme="dark"] { --sun-core: #F3B45E; --sun-glow: #F8C67A; --sun-big: #F5B064; --sun-t: #F2B26C; --sun-glow-a: .5; --sun-moon: #F3D48E; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sun-core: #F3B45E; --sun-glow: #F8C67A; --sun-big: #F5B064; --sun-t: #F2B26C; --sun-glow-a: .5; --sun-moon: #F3D48E; }
}

.ui-sun { display: block; flex: none; overflow: visible; }
.ui-sun-rise { overflow: hidden; }   /* 日出：太阳只露上半个，下半个在地平线下 */
.ui-sun-core { fill: var(--sun-core); }
.ui-sun-glow { fill: var(--sun-glow); opacity: var(--sun-glow-a); }
.ui-sun-big .ui-sun-glow { fill: var(--sun-big); opacity: calc(var(--sun-glow-a) + .1); }   /* 20 条以上：光晕更暖更开 */
.ui-sun-ray { fill: none; stroke: var(--sun-core); stroke-width: 1.1; stroke-linecap: round; opacity: .45; }
/* n e w：稍粗的圆润衬线字，沿着太阳上方的弯弧（textPath）排开 */
.ui-sun-t { font-family: Georgia, var(--font-display), serif; font-size: 8.6px; font-weight: 700; letter-spacing: .5px; fill: var(--sun-t); text-anchor: middle; dominant-baseline: central; }   /* 沿弧排开：字心落在弧上 */
.ui-sun-ring { fill: none; stroke: var(--muted); stroke-width: 1.3; opacity: .85; }   /* 免打扰：灰色空心小圈，没有光 */
.ui-sun.is-moon .ui-sun-core, .ui-sun.is-moon .ui-sun-glow { fill: var(--sun-moon); }
.ui-sun.is-moon .ui-sun-glow { opacity: calc(var(--sun-glow-a) * .45); }   /* 月光比日光淡 */
.ui-sun.is-moon .ui-sun-ray { stroke: var(--sun-moon); }

/* 放进原来角标的位置：去掉药丸底色、外框、内边距（:root:root 抬高优先级，盖过 paper / skin / couple-card 里的角标样式） */
:root:root .ls-badge-slot > .ls-sun,
:root:root #tabs .pp-couple .pp-badge.is-sun,
:root:root .pp-badge.is-sun,
:root:root .fr-row-n.is-sun,
:root:root .app-tab .app-tab-badge.is-sun {
  min-width: 0; width: auto; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; line-height: 0;
}
.ls-sun { display: inline-flex; align-items: center; }
:root:root .app-tab .app-tab-badge.is-sun { left: calc(100% - 5px); top: -3px; }

:root:root .fr-new-n { display: inline-flex; align-items: center; margin-right: 2px; }
