* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--yh-accent: #ff7a1a;
--yh-grad: linear-gradient(135deg, #ff9a46, #ff6a00);
--accent-soft: rgba(255, 122, 26, 0.14);
--accent-shadow: rgba(255, 106, 0, 0.3);
--danger: #f5524a;
--ok: #22b573;
--on-wp: #fff;
--glass: rgba(20, 22, 30, 0.38);
--glass-strong: rgba(20, 22, 30, 0.56);
--glass-border: rgba(255, 255, 255, 0.16);
--glass-hover: rgba(255, 255, 255, 0.16);
--card-rgb: 255, 250, 243;
--card-alpha: 1;
--card-blur: 0px;
--card: rgba(var(--card-rgb), var(--card-alpha));
--card-fg: #3d2b1f;
--card-sub: #8a6848;
--card-line: rgba(61, 43, 31, 0.12);
--card-soft: #f3e6d4;
--card-soft-h: #ecdac3;
--card-border: transparent;
--w-radius: 24px;
--w-accent: #e08a2f;
--w-accent-rgb: 224 138 47;
--w-accent-rgb-1: 240 170 96;
--w-accent-ink: #fffaf3;
--w-paper-2: #fffaeb;
--w-strong: #000;
--w-note: #f6f0e6;
--w-check: #5b2a09;
--w-dark: linear-gradient(165deg, #3a2c22 0%, #6a4a32 48%, #241910 100%);
--w-dark-glow: linear-gradient(180deg, rgba(255, 214, 160, 0.28), transparent 42%);
--w-dark-ink: #fff6ea;
--w-dark-sub: rgba(255, 246, 234, 0.72);
--w-dark-chip: rgba(255, 255, 255, 0.1);
--label-fg: #fff;
--label-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 10px rgba(0, 0, 0, 0.18);
--folder: rgba(255, 255, 255, 0.24);
--folder-border: rgba(255, 255, 255, 0.32);
--folder-blur: 18px;
--overlay: rgba(12, 14, 20, 0.42);
--panel: rgba(255, 255, 255, 0.97);
--panel-solid: #fbfbfc;
--panel-fg: #1f2533;
--panel-sub: #8a93a3;
--panel-line: rgba(20, 24, 36, 0.08);
--panel-soft: rgba(20, 24, 36, 0.05);
--panel-soft-h: rgba(20, 24, 36, 0.09);
--panel-border: rgba(255, 255, 255, 0.8);
--input: rgba(20, 24, 36, 0.05);
--input-line: rgba(20, 24, 36, 0.12);
--menu: rgba(255, 255, 255, 0.98);
--menu-fg: #1f2533;
--menu-h: rgba(20, 24, 36, 0.06);
--search: #fff;
--search-fg: #20242e;
--search-sub: #aeb4be;
--search-h: #f1f2f5;
--shadow-card: 0 10px 24px rgba(40, 22, 8, 0.1);
--shadow-hover: 0 14px 30px rgba(40, 22, 8, 0.18);
--shadow-pop: 0 24px 60px rgba(10, 12, 20, 0.28);
--radius: 16px;
--radius-sm: 10px;
--search-radius: 12px;
--cell: 64px;
--gap: 28px;
--label-h: 22px;
--cols: 8;
--num-font: "Segoe UI", -apple-system, "SF Pro Display", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei UI", sans-serif;
--seg-on: #fff;
--wp-dim: 0;
color-scheme: light;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}
:root[data-theme="dark"] {
--accent-soft: rgba(255, 122, 26, 0.2);
--glass: rgba(10, 11, 16, 0.5);
--glass-strong: rgba(10, 11, 16, 0.66);
--glass-border: rgba(255, 255, 255, 0.1);
--glass-hover: rgba(255, 255, 255, 0.12);
--card-rgb: 46, 38, 32;
--card-alpha: 0.94;
--card: rgba(var(--card-rgb), var(--card-alpha));
--card-fg: #f3e7d7;
--card-sub: #b89c80;
--card-line: rgba(255, 226, 190, 0.1);
--card-soft: rgba(255, 214, 170, 0.1);
--card-soft-h: rgba(255, 214, 170, 0.16);
--card-border: rgba(255, 226, 190, 0.06);
--w-accent: #e8964a; --w-accent-rgb: 232 150 74; --w-accent-rgb-1: 240 176 110; --w-accent-ink: #2a1d12;
--w-paper-2: #30281f; --w-note: #2b241e; --w-check: #e8b98a; --w-strong: var(--card-fg);
--folder: rgba(20, 22, 30, 0.34);
--folder-border: rgba(255, 255, 255, 0.12);
--overlay: rgba(0, 0, 0, 0.55);
--panel: rgba(28, 30, 40, 0.97);
--panel-solid: #1d1f29;
--panel-fg: #eef1f6;
--panel-sub: #8e97a8;
--panel-line: rgba(255, 255, 255, 0.08);
--panel-soft: rgba(255, 255, 255, 0.07);
--panel-soft-h: rgba(255, 255, 255, 0.12);
--panel-border: rgba(255, 255, 255, 0.08);
--input: rgba(255, 255, 255, 0.07);
--input-line: rgba(255, 255, 255, 0.12);
--menu: rgba(34, 36, 46, 0.98);
--menu-fg: #eef1f6;
--menu-h: rgba(255, 255, 255, 0.08);
--search: rgba(34, 36, 46, 0.94);
--search-fg: #eef1f6;
--search-sub: #6f7787;
--search-h: rgba(255, 255, 255, 0.08);
--shadow-card: 0 10px 24px rgba(0, 0, 0, 0.32);
--shadow-hover: 0 14px 30px rgba(0, 0, 0, 0.4);
--shadow-pop: 0 24px 60px rgba(0, 0, 0, 0.5);
--seg-on: rgba(255, 255, 255, 0.14);
color-scheme: dark;
}
html, body, #app { height: 100%; }
body { overflow: hidden; color: var(--on-wp); -webkit-font-smoothing: antialiased; }
#wp {
position: fixed; inset: -4%; z-index: -1;
background: linear-gradient(160deg, #8fa3bd, #5f7391);
background-size: cover; transform: scale(1.06);
transition: filter 0.3s ease;
}
#wp .wp-in { position: absolute; inset: 0; opacity: 0; transition: opacity 0.42s ease; }
#wp .wp-in.show { opacity: 1; }
#wp-dim { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: rgba(0, 0, 0, var(--wp-dim)); transition: background 0.3s ease; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yh-accent); outline-offset: 2px; border-radius: 8px; }
.panel[tabindex="-1"]:focus, .drawer[tabindex="-1"]:focus, #focus[tabindex="-1"]:focus { outline: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(140, 150, 165, 0.38); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
.yi { flex: none; display: inline-block; vertical-align: middle; }
.yart { flex: none; display: block; }
.ic {
display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600;
border-radius: var(--ic-radius, 25%); overflow: hidden; user-select: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.ic.img { background: #fff; }
.ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wtile { display: inline-flex; align-items: center; justify-content: center; border-radius: 28%; color: #fff; flex: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
background: var(--panel-soft); color: var(--panel-fg); transition: background 0.15s ease, filter 0.15s ease, transform 0.08s ease; white-space: nowrap; }
.btn:hover { background: var(--panel-soft-h); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--yh-accent); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 8px var(--accent-shadow); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { background: rgba(245, 82, 74, 0.1); color: var(--danger); }
.btn.danger:hover { background: rgba(245, 82, 74, 0.18); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.inp { width: 100%; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--input-line); background: var(--input); color: var(--panel-fg); outline: none; font-size: 13px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
textarea.inp { height: auto; padding: 8px 12px; }
.inp:focus { border-color: var(--yh-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 10px; padding: 2px 8px; font-size: 12px; background: var(--card-soft); color: var(--card-sub); white-space: nowrap; }
.chip.aqi { background: #fff0e6; color: #c25a12; }
.chip.demo { background: var(--card-soft); color: var(--card-sub); }
:root[data-theme="dark"] .chip.aqi { background: rgba(255, 149, 0, 0.18); color: #ffb067; }
.switch { display: inline-block; flex: none; width: 40px; height: 23px; border-radius: 12px; background: var(--input-line); position: relative; transition: background 0.2s; cursor: pointer; vertical-align: middle; }
.switch.on { background: var(--yh-accent); }
.switch i { position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: left 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch.on i { left: 19px; }
.seg { display: inline-flex; background: var(--panel-soft); border-radius: 9px; padding: 2px; gap: 2px; flex-wrap: wrap; }
.seg button { padding: 4px 12px; font-size: 13px; line-height: 20px; border-radius: 7px; color: var(--panel-sub); transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.seg button:hover { color: var(--panel-fg); }
.seg button.on { background: var(--seg-on); color: var(--panel-fg); font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }
.seg.dis { opacity: 0.45; }
.seg.dis button { pointer-events: none; }
input[type=range], input[type=checkbox], input[type=radio] { accent-color: var(--yh-accent); }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.note { font-size: 12px; color: var(--panel-sub); line-height: 1.7; margin-top: 8px; }
.kbd { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 6px; font-size: 12px; text-align: center; white-space: nowrap;
background: var(--panel-soft); border: 1px solid var(--panel-line); color: var(--panel-fg); font-family: inherit; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
#app { height: 100%; display: grid; grid-template-rows: auto auto 1fr; padding: 34px 44px 0; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; min-height: 64px; }
.topbar-tools { display: flex; gap: 4px; align-items: center; }
.tool {
display: flex; gap: 6px; align-items: center; padding: 7px 11px; border-radius: 10px; font-size: 13px; white-space: nowrap;
background: transparent; border: 1px solid transparent; color: var(--on-wp); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
transition: background 0.15s ease;
}
.tool .yi { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)); }
.tool:hover { background: rgba(255, 255, 255, 0.16); }
.tool.on { background: var(--yh-grad); border-color: transparent; text-shadow: none; }
#t-set { margin-left: 6px; padding: 3px 12px 3px 3px; border-radius: 20px; background: var(--glass); border-color: var(--glass-border); backdrop-filter: blur(14px) saturate(1.2); text-shadow: none; }
#t-set:hover { background: var(--glass-strong); }
.tool .av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yh-grad); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; overflow: hidden; }
.av svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.av.anon { position: relative; overflow: hidden; border: 0 !important; border-radius: 50% !important; corner-shape: round !important; color: #fff !important;
background: radial-gradient(90% 65% at 30% 6%, rgba(160, 150, 255, 0.5), rgba(160, 150, 255, 0) 70%), linear-gradient(160deg, #3b3da2 0%, #221f69 55%, #100e36 100%) !important;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 5px 14px -4px rgba(30, 24, 110, 0.7) !important; }
.av.anon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 214, 150, 0.55); pointer-events: none; transition: box-shadow 0.18s ease; }
:hover > .av.anon::after, :focus-visible > .av.anon::after { box-shadow: inset 0 0 0 1.5px rgba(255, 222, 168, 0.95); }
.av.anon svg { fill: #fff; -webkit-mask-image: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, 0.62)); mask-image: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, 0.62)); }
#t-fog { display: none; }
#clock { cursor: pointer; user-select: none; }
#clock .t { font-family: var(--num-font); font-size: var(--clock-size, 60px); font-weight: 400; line-height: 1; letter-spacing: 1px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.26); font-variant-numeric: tabular-nums; }
#clock .t .sec { font-size: 0.43em; opacity: 0.8; margin-left: 6px; }
#clock .d { margin-top: 8px; font-size: 14px; opacity: 0.95; letter-spacing: 0.5px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
#clock .d .dy { display: none; }
#clock .q { margin: 10px auto 0; max-width: min(36em, 88vw); font-size: 14px; line-height: 1.6; letter-spacing: 0.5px; opacity: 0.88; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); cursor: pointer; text-wrap: balance; transition: opacity 0.2s; }
#clock .q:hover { opacity: 1; }
#clock .q .qf { margin-left: 0.6em; font-size: 12px; opacity: 0.75; white-space: nowrap; }
html.clock-quote #sk-quote { display: none; }
.clock-flip { display: flex; align-items: center; gap: 6px; font-size: var(--clock-size, 60px); }
.clock-flip .fd { position: relative; display: inline-flex; gap: 4px; }
.clock-flip .fd span {
width: 0.72em; height: 1.02em; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.12em;
font-size: 0.78em; font-weight: 500; font-variant-numeric: tabular-nums; color: #fff;
background: linear-gradient(180deg, rgba(30, 32, 42, 0.78) 50%, rgba(22, 24, 32, 0.84) 50%);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.06); position: relative;
}
.clock-flip .fd span::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.35); }
.clock-flip .fd span.flip { animation: flipIn 0.42s ease; }
@keyframes flipIn { 0% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.clock-flip .colon { font-size: 0.6em; opacity: 0.85; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); margin: 0 1px; }
.clock-flip .ap { font-size: 0.3em; align-self: flex-end; margin-left: 4px; opacity: 0.85; }
.clock-analog { display: flex; align-items: center; gap: 16px; }
.clock-analog svg { width: calc(var(--clock-size, 60px) * 1.5); height: calc(var(--clock-size, 60px) * 1.5); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)); }
.clock-analog .ad { display: flex; flex-direction: column; gap: 6px; }
.clock-analog .ad b { font-size: calc(var(--clock-size, 60px) * 0.45); font-weight: 300; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
#search { justify-self: center; width: min(620px, 70%); margin-top: 6px; }
:where(#search:has(#engmenu, .suggest.show)) { position: relative; z-index: 40; }
.search-main { position: relative; }
.searchbar {
display: flex; align-items: center; gap: 4px; height: 50px; background: var(--search); color: var(--search-fg);
border-radius: var(--search-radius, 12px); padding: 0 0 0 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
}
.engine { position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--search-fg); flex: none; }
.engine:hover { background: var(--search-h); }
.engine.fixed { color: var(--search-sub); padding: 7px 6px 7px 8px; cursor: default; }
.engine.fixed:hover { background: none; }
.engine .dot { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.engine .elogo, .engine-menu .elogo { display: inline-flex; flex: none; }
.engine .elogo .ic { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.engine-menu .elogo .ic { width: 20px; height: 20px; border-radius: 5px; font-size: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.engine .caret { display: inline-flex; opacity: 0.55; }
.engine .nm { max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchbar input { text-overflow: ellipsis; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; color: var(--search-fg); background: none; }
.searchbar input::placeholder { color: var(--search-sub); }
.flame { display: inline-flex; padding: 7px; border-radius: 14px; color: var(--search-sub); }
.flame:hover { background: var(--search-h); }
.flame.on { color: var(--yh-accent); background: var(--accent-soft); }
.btn-go { align-self: stretch; background: var(--yh-grad); color: #fff; border-radius: 0 var(--search-radius, 12px) var(--search-radius, 12px) 0; padding: 0 24px; font-size: 16px; font-weight: 500; letter-spacing: 1px; flex: none; }
.btn-go:hover { filter: brightness(1.06); }
.engine-menu {
position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 168px; padding: 5px; border-radius: 12px;
background: var(--menu); color: var(--menu-fg); box-shadow: var(--shadow-pop); border: 1px solid var(--panel-line); animation: popIn 0.12s ease;
}
.engine-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 14px; }
.engine-menu button .em-nm { flex: 1; text-align: left; }
.engine-menu button .yi { color: var(--yh-accent); }
.engine-menu button:hover { background: var(--menu-h); }
.engine-menu button.on { font-weight: 500; }
.engine-menu .em-foot { border-top: 1px solid var(--panel-line); margin-top: 4px; padding-top: 4px; }
.engine-menu .em-foot button { color: var(--panel-sub); font-size: 13px; height: 32px; }
.engine-menu .em-foot button .yi { color: inherit; }
.searchbar.er-open { position: relative; background: var(--er-bg, var(--search)); }
.searchbar.er-open > :not(.engine-row) { visibility: hidden; }
.engine-row { position: absolute; inset: 0; z-index: 2; display: flex; border-radius: inherit; animation: fadeIn 0.18s ease; }
.engine-row .er-track {
display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 8px 9px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-behavior: smooth;
-webkit-mask: linear-gradient(to left, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask: linear-gradient(to left, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.engine-row .er-track::-webkit-scrollbar { display: none; }
.engine-row .er-it {
flex: none; display: flex; align-items: center; justify-content: center; height: 100%; aspect-ratio: 1; padding: 0; overflow: hidden;
border-radius: var(--er-radius, 10px); background: #fff; box-shadow: var(--er-line, none); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.engine-row .er-it img { width: 75%; height: 75%; object-fit: contain; pointer-events: none; }
.engine-row .er-it .er-ch { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; font-size: 15px; font-weight: 600; }
.engine-row .er-it:hover { transform: scale(1.08); }
.engine-row .er-it.on { box-shadow: 0 0 0 2px var(--yh-accent); }
.engine-row .er-add { background: var(--er-add, var(--search-h)); color: var(--er-add-fg, var(--search-sub)); }
.hotwords { display: flex; column-gap: 18px; row-gap: 16px; justify-content: center; flex-wrap: wrap; margin: 6px 0 -6px; padding: 6px 0; height: 32px; box-sizing: border-box; overflow: hidden; font-size: 13px; line-height: 20px; }
.hotwords span { display: inline-flex; align-items: center; gap: 4px; opacity: 0.92; cursor: pointer; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.hotwords span .yi { opacity: 0.75; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.hotwords span:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.suggest {
position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 25; display: none; max-height: 380px; overflow: auto;
background: var(--menu); color: var(--menu-fg); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 6px; border: 1px solid var(--panel-line);
}
.suggest.show { display: block; }
.sg-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.sg-item.on, .sg-item:hover { background: var(--menu-h); }
.sg-ic { width: 22px; display: flex; justify-content: center; flex: none; color: var(--panel-sub); }
.sg-ic .ic { width: 20px; height: 20px; font-size: 11px; border-radius: 6px; }
.sg-tx { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-tag { font-size: 12px; color: var(--panel-sub); flex: none; }
.sg-del { display: inline-flex; opacity: 0.4; padding: 3px; border-radius: 6px; }
.sg-del:hover { opacity: 1; color: var(--danger); }
.sg-head { font-size: 12px; color: var(--panel-sub); padding: 6px 12px 2px; }
#stage { overflow: auto; padding: 30px 0 130px; }
#stage, .fd-apps { scrollbar-width: none; }
#stage::-webkit-scrollbar, .fd-apps::-webkit-scrollbar { display: none; }
#grid, .ov-grid {
--row-gap: calc(var(--gap-y, var(--gap)) * 0.55 + var(--label-h));
display: grid; grid-template-columns: repeat(var(--cols), var(--cell)); grid-auto-rows: var(--cell);
column-gap: var(--gap); row-gap: var(--row-gap); grid-auto-flow: row dense;
}
#grid { justify-content: center; padding-bottom: var(--label-h); }
#grid.pg-down { animation: pgDown 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
#grid.pg-up { animation: pgUp 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pgDown { from { translate: 0 64px; } }
@keyframes pgUp { from { translate: 0 -64px; } }
body.no-label { --label-h: 0px; }
#grid.overview { display: block; padding-bottom: 0; }
.ov-sec { margin: 0 auto 26px; width: fit-content; max-width: 100%; }
.ov-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px 2px; font-size: 14px; font-weight: 600; color: var(--on-wp); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.ov-h small { opacity: 0.7; font-weight: 400; }
.ov-grid { padding-bottom: var(--label-h); }
.ov-empty { color: var(--on-wp); opacity: 0.6; font-size: 13px; padding: 6px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.tile { min-width: 0; min-height: 0; position: relative; }
.rail {
position: fixed; right: 14px; top: 72px; bottom: 16px; margin: auto 0; height: -webkit-fit-content; height: fit-content; max-height: calc(100vh - 88px);
z-index: 20; display: flex; flex-direction: column; gap: 2px;
padding: 8px 6px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.25);
border: 1px solid var(--glass-border); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); overflow-y: auto; scrollbar-width: none;
}
@media (max-height: 660px) { .rail button { padding-top: 5px; padding-bottom: 4px; gap: 2px; } }
.rail::-webkit-scrollbar { display: none; }
.rail button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; padding: 9px 4px 8px; border-radius: 12px; font-size: 12px; opacity: 0.86; color: var(--on-wp); transition: background 0.15s ease; }
.rail button .ri { display: flex; align-items: center; justify-content: center; height: 22px; }
.rail button span.nm { max-width: 50px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail button:hover { background: var(--glass-hover); opacity: 1; }
.rail button.on { background: rgba(255, 255, 255, 0.2); opacity: 1; font-weight: 600; }
.rail button.on::before { content: ''; position: absolute; left: 0; top: 30%; bottom: 30%; width: 3px; border-radius: 2px; background: var(--yh-accent); }
.rail button.drop { background: var(--yh-accent); opacity: 1; }
.rail .sep { height: 1px; margin: 4px 8px; background: rgba(255, 255, 255, 0.18); flex: none; }
#dock {
position: fixed; left: 0; right: 0; margin: 0 auto; width: -webkit-fit-content; width: fit-content; bottom: 18px; z-index: 20; display: flex; gap: 14px; align-items: center;
padding: 10px 14px; border-radius: 20px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.25);
border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); max-width: calc(100vw - 220px);
}
#dock.drop { outline: 2px dashed rgba(255, 255, 255, 0.6); outline-offset: 3px; }
@media (max-width: 1000px) { #dock { gap: 10px; padding: 9px 12px; } .dock-list { gap: 10px !important; } }
#dock.collapsed { padding: 6px 10px; }
.dock-list { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px 10px; margin: -6px -10px; }
.dock-list::-webkit-scrollbar { display: none; }
@property --dock-fl { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --dock-fr { syntax: '<length>'; inherits: false; initial-value: 0px; }
@supports (animation-timeline: scroll()) {
.dock-list {
-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--dock-fl), #000 calc(100% - var(--dock-fr)), transparent);
mask-image: linear-gradient(to right, transparent, #000 var(--dock-fl), #000 calc(100% - var(--dock-fr)), transparent);
animation: dock-edge linear both; animation-timeline: scroll(self inline);
}
@keyframes dock-edge { 0% { --dock-fl: 0px; --dock-fr: 28px; } 10%, 90% { --dock-fl: 28px; --dock-fr: 28px; } 100% { --dock-fl: 28px; --dock-fr: 0px; } }
}
.dock-site { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 46px; flex: none; cursor: pointer; }
.dock-site .ic { width: 46px; height: 46px; font-size: 18px; transition: transform 0.18s ease; }
.dock-site:hover .ic { transform: translateY(-4px) scale(1.06); }
.dock-site small { display: none; }
.dock-site.dragging { opacity: 0.35; }
.dock-site.drop-before::before, .dock-site.drop-after::after { content: ''; position: absolute; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--yh-accent); }
.dock-site.drop-before::before { left: -9px; }
.dock-site.drop-after::after { right: -9px; }
.dock-add .ic { background: rgba(255, 255, 255, 0.22); color: #fff; box-shadow: none; }
.dock-site .ddel { position: absolute; top: -5px; right: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--danger); color: #fff; display: none; align-items: center; justify-content: center; }
body.edit .dock-site .ddel { display: flex; }
.dock-toggle { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-size: 12px; opacity: 0.85; padding: 6px 8px; border-radius: 10px; flex: none; color: var(--on-wp); }
.dock-toggle:hover { background: var(--glass-hover); opacity: 1; }
body.mode-minimal #grid, body.mode-minimal .rail, body.mode-minimal #dock,
body.mode-searchonly #grid, body.mode-searchonly .rail, body.mode-searchonly #dock { display: none; }
body.mode-minimal #search { margin-top: 18vh; }
body.mode-searchonly #search { margin-top: 26vh; }
body.mode-searchonly .hotwords { display: none; }
.tile.editing .card, .tile.editing .tile-app, .tile.editing .folder { animation: wig 0.42s ease-in-out infinite; }
@keyframes wig { 0%, 100% { transform: rotate(-0.6deg); } 50% { transform: rotate(0.6deg); } }
.tile.dragging { opacity: 0.4; }
.tile.drop-before::before, .tile.drop-after::after {
content: ''; position: absolute; top: 6%; bottom: 6%; width: 4px; border-radius: 2px; z-index: 7; pointer-events: none;
background: var(--yh-accent); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 14px var(--yh-accent);
}
.tile.drop-before::before { left: calc(var(--gap) / -2 - 2px); }
.tile.drop-after::after { right: calc(var(--gap) / -2 - 2px); }
.tile.drop-merge > .card { animation: none; transform: scale(1.04); box-shadow: 0 0 0 3px var(--yh-accent), 0 10px 26px rgba(0, 0, 0, 0.25); }
.tile.drop-merge > .tile-app { animation: none; transform: scale(1.08); }
.tile.drop-merge > .tile-app .ic { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--yh-accent), 0 8px 20px rgba(0, 0, 0, 0.25); }
.tile .del, .tile .edt {
position: absolute; top: -7px; width: 22px; height: 22px; border-radius: 50%; color: #fff; display: none;
align-items: center; justify-content: center; z-index: 6; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.tile .del { right: -7px; background: var(--danger); }
.tile .edt { right: 20px; background: #4a7cf0; }
.tile.editing .del, .tile.editing .edt { display: flex; }
.add-tile .card.add {
border: 2px dashed rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: none;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
}
.add-tile .card.add:hover { background: rgba(255, 255, 255, 0.14); }
.add-tile .card.add small { opacity: 0.85; font-size: 12px; }
.overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: var(--overlay); backdrop-filter: blur(6px); animation: fadeIn 0.16s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.overlay .panel {
position: relative; background: var(--panel); color: var(--panel-fg); border-radius: 16px; padding: 22px; min-width: 300px; max-width: 460px;
max-height: 86vh; overflow: auto; box-shadow: var(--shadow-pop); border: 1px solid var(--panel-border); backdrop-filter: blur(24px) saturate(1.2);
animation: popIn 0.18s ease;
}
@keyframes popIn { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.overlay .panel h3 { font-size: 16px; margin-bottom: 14px; font-weight: 600; }
.overlay .panel > .close, .drawer > .close, .dlg-hd .close {
position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
border-radius: 8px; color: var(--panel-sub); background: none; transition: background 0.15s ease, color 0.15s ease;
}
.overlay .panel > .close:hover, .drawer > .close:hover, .dlg-hd .close:hover { color: var(--panel-fg); background: var(--panel-soft-h); }
.panel .sub-t { font-size: 12px; color: var(--panel-sub); margin: 14px 0 8px; }
.panel .muted { color: var(--panel-sub); font-size: 12px; }
.overlay.yh-dlg-ov { z-index: 80; }
.overlay .panel.yh-dlg { width: 400px; max-width: 92vw; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.overlay .panel.yh-dlg.wide { width: 560px; }
.yh-dlg .dlg-pv { display: none; }
.dlg-hd { position: relative; padding: 20px 56px 6px 22px; }
.dlg-hd h3 { margin: 0; font-size: 16px; }
.dlg-hd .close { top: 14px; right: 14px; }
.dlg-bd { padding: 10px 22px 6px; overflow: auto; }
.dlg-ft { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px 18px; }
.dlg-btn { height: 32px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 500; background: var(--panel-soft); color: var(--panel-fg); transition: background 0.15s ease, filter 0.15s ease; }
.dlg-btn:hover { background: var(--panel-soft-h); }
.dlg-btn.primary { background: var(--yh-accent); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 8px var(--accent-shadow); }
.dlg-btn.primary:hover { filter: brightness(1.06); }
.dlg-btn.danger { background: var(--danger); color: #fff; }
.dlg-btn:focus-visible, .btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-shadow); }
.dlg-text { font-size: 14px; line-height: 1.7; color: var(--panel-fg); white-space: pre-line; }
:root[data-skin] .overlay .panel.yh-dlg.qr-dlg { width: 340px; }
.qr-dlg .dlg-hd { padding-left: 56px; text-align: center; }
.qr-dlg .dlg-bd { display: flex; flex-direction: column; align-items: center; padding: 10px 22px 0; }
.qr-box { width: 236px; height: 236px; padding: 14px; box-sizing: border-box; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.12); }
.qr-box svg { display: block; width: 100%; height: 100%; }
.qr-tip { margin: 12px 0 0; font-size: 13px; color: var(--panel-sub); }
.qr-dlg .dlg-ft { justify-content: center; }
.qr-dlg .dlg-btn { min-width: 104px; }
.yh-form .fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.yh-form label { font-size: 12px; color: var(--panel-sub); }
.yh-form input:not([type=checkbox]):not([type=color]), .yh-form select, .yh-form textarea {
width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--input-line); background: var(--input); color: var(--panel-fg); outline: none; font-size: 14px;
}
.yh-form input:focus, .yh-form select:focus, .yh-form textarea:focus { border-color: var(--yh-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.yh-form input[type=color] { width: 56px; height: 34px; border: 0; background: none; padding: 0; cursor: pointer; }
.yh-form .hint { font-size: 12px; color: var(--panel-sub); }
.yh-form .err { min-height: 18px; font-size: 12px; color: var(--danger); }
.yh-form .ck-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--panel-fg); }
.yh-choose { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.yh-choose .choice { text-align: left; padding: 12px 14px; border-radius: 12px; background: var(--panel-soft); display: flex; flex-direction: column; gap: 3px; }
.yh-choose .choice:hover { background: var(--panel-soft-h); }
.yh-choose .choice b { font-size: 14px; }
.yh-choose .choice small { font-size: 12px; color: var(--panel-sub); }
.yh-choose .choice.primary { background: var(--accent-soft); }
#yh-toasts { position: fixed; left: 50%; bottom: 104px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.yh-toast {
pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 12px; font-size: 13px; line-height: 20px;
background: rgba(32, 34, 40, 0.94); color: #fff; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06); animation: toastIn 0.2s ease; max-width: 80vw;
backdrop-filter: blur(12px);
}
.yh-toast.err { background: rgba(190, 50, 45, 0.95); }
.yh-toast.ok { background: rgba(30, 140, 90, 0.95); }
.yh-toast button { color: #ffb67a; font-weight: 600; flex: none; white-space: nowrap; }
.yh-toast > span { min-width: 0; }
.yh-toast.out { opacity: 0; transform: translateY(6px); transition: 0.2s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.yh-tip {
--tip-gap: 9px;
position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; box-sizing: border-box; max-width: min(320px, calc(100vw - 16px));
padding: 6px 12px; border-radius: 9px; font-size: 13px; line-height: 18px; font-weight: 500; text-align: center; white-space: nowrap;
background: rgba(30, 32, 38, 0.92); color: #fff; border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
opacity: 0; translate: 0 4px; transition: opacity 0.14s ease, translate 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.yh-tip[hidden] { display: none; }
.yh-tip[data-at="bottom"] { translate: 0 -4px; }
.yh-tip.on { opacity: 1; translate: 0 0; }
.yh-tip b { display: block; font-weight: inherit; overflow: hidden; text-overflow: ellipsis; }
.yh-tip small { display: block; margin-top: 3px; font-size: 12px; line-height: 17px; font-weight: 400; opacity: 0.72; white-space: normal; }
.yh-tip small[hidden] { display: none; }
.yh-tip.two { padding: 8px 12px; max-width: min(300px, calc(100vw - 16px)); text-align: left; }
.yh-tip::after {
content: ''; display: none; position: absolute; left: var(--tip-ax, 50%); bottom: -4px; width: 9px; height: 9px; margin-left: -4.5px;
rotate: 45deg; background: inherit; border-radius: 0 0 2px 0; clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.yh-tip[data-at="bottom"]::after { bottom: auto; top: -4px; rotate: 225deg; }
@media (prefers-reduced-motion: reduce) { .yh-tip, .yh-tip[data-at="bottom"] { translate: 0 0; transition: none; } }
.ctx {
position: fixed; z-index: 70; min-width: 184px; padding: 5px; border-radius: 12px; background: var(--menu); color: var(--menu-fg);
box-shadow: 0 12px 32px -6px rgba(15, 20, 30, 0.24), 0 2px 6px rgba(15, 20, 30, 0.08); border: 1px solid var(--panel-line); animation: popIn 0.12s ease;
}
.ctx button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; height: 34px; padding: 0 10px; border-radius: 7px; font-size: 13px; }
.ctx button .yi { color: var(--panel-sub); }
.ctx button:hover { background: var(--menu-h); }
.ctx button.danger, .ctx button.danger .yi { color: var(--danger); }
.ctx .sep { height: 1px; background: var(--panel-line); margin: 4px 8px; }
.ctx .chips { display: contents; }
.ctx .ctx-title { display: none; }
.drawer {
position: fixed; top: 0; right: 0; height: 100%; width: 360px; z-index: 60; overflow: auto; padding: 22px 22px 40px;
background: var(--panel); color: var(--panel-fg); backdrop-filter: blur(24px) saturate(1.2); border-left: 1px solid var(--panel-line);
transform: translateX(104%); transition: transform 0.28s ease; box-shadow: var(--shadow-pop);
scroll-padding: 76px 0 16px;
}
.drawer.open { transform: translateX(0); }
.drawer-mask { display: none; }
.drawer h2 { font-size: 18px; font-weight: 600; line-height: 26px; margin-bottom: 2px; }
.drawer .sub { font-size: 12px; color: var(--panel-sub); margin-bottom: 14px; }
.st-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 0 -22px 16px; position: sticky; top: -22px; padding: 8px 22px; background: var(--panel-solid); z-index: 2; border-bottom: 1px solid var(--panel-line); }
.st-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; border-radius: 10px; font-size: 12px; color: var(--panel-sub); }
.st-nav button:hover { color: var(--panel-fg); background: var(--panel-soft); }
.st-nav button.on { color: var(--yh-accent); background: var(--accent-soft); font-weight: 500; }
.drawer .grp { margin-bottom: 20px; }
.drawer .grp > .t { font-size: 13px; color: var(--panel-fg); margin-bottom: 8px; font-weight: 600; }
.drawer .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--panel-line); min-height: 42px; }
.drawer .row > span:first-child { flex: 0 1 auto; min-width: 0; }
.drawer .row .val { flex: 1 1 0; min-width: 0; color: var(--panel-sub); font-size: 13px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer .row [data-k] { display: flex; align-items: center; }
.drawer input[type=range] { width: 150px; }
.drawer .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.drawer .btns .btn { flex: 1; }
.drawer .fb-text { display: block; min-height: 96px; resize: vertical; line-height: 1.6; }
.drawer .fb-text + .ac-in { margin-top: 8px; }
.drawer .note { font-size: 12px; color: var(--panel-sub); line-height: 1.7; margin-top: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--panel-line); }
.sw.on { border-color: var(--panel-fg); }
.sw.wide { width: 46px; border-radius: 9px; }
.ac-in { width: 100%; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--input-line); background: var(--input); color: var(--panel-fg); outline: none; font-size: 13px; }
.ac-in:focus { border-color: var(--yh-accent); }
.row .ac-in { max-width: 190px; }
.ac-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.eng-list { display: flex; flex-direction: column; gap: 6px; }
.eng-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: var(--panel-soft); font-size: 13px; }
.eng-row .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.eng-row .eng-logo { flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.12); }
.eng-row .eng-logo img { width: 76%; height: 76%; object-fit: contain; }
.eng-row .eng-logo .er-ch { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.eng-row .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eng-row button { display: inline-flex; padding: 4px; border-radius: 7px; color: var(--panel-sub); }
.eng-row button:hover { color: var(--panel-fg); background: var(--panel-soft-h); }
.eng-row.off .nm { opacity: 0.45; text-decoration: line-through; }
.kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 6px; font-size: 12px; text-align: center; background: var(--panel-soft); border: 1px solid var(--panel-line); }
#standby { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #fff;
background: rgba(8, 10, 16, 0.55); backdrop-filter: blur(18px) saturate(1.1); animation: fadeIn 0.5s ease; cursor: none; }
#standby .sb-time { font-size: min(22vw, 200px); font-weight: 200; line-height: 1; letter-spacing: 4px; font-variant-numeric: tabular-nums; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35); }
#standby .sb-time .clock-flip { font-size: min(14vw, 150px); }
#standby .sb-time .clock-analog svg { width: min(38vw, 340px); height: min(38vw, 340px); }
#standby .sb-date { font-size: 20px; opacity: 0.9; }
#standby .sb-wx { display: flex; align-items: center; gap: 10px; font-size: 18px; opacity: 0.92; }
#standby .sb-quote { max-width: 60vw; text-align: center; font-size: 16px; opacity: 0.7; line-height: 1.8; }
#standby .sb-tip { position: absolute; bottom: 26px; font-size: 12px; opacity: 0.45; }
#focus { position: fixed; inset: 0; z-index: 78; display: flex; align-items: center; justify-content: center; color: #fff;
background: rgba(12, 14, 22, 0.62); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px); animation: fadeIn 0.25s ease; }
.fc-inner { width: min(560px, 86vw); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.fc-clock { font-size: min(16vw, 120px); font-weight: 200; line-height: 1; letter-spacing: 3px; font-variant-numeric: tabular-nums; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35); }
.fc-clock .clock-flip { font-size: min(11vw, 92px); }
.fc-clock .clock-analog svg { width: min(30vw, 220px); height: min(30vw, 220px); }
.fc-greet { font-size: 22px; opacity: 0.92; margin-top: -4px; }
.fc-goal { width: 100%; max-width: 440px; }
.fc-goal.ask { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; padding: 4px 6px 4px 16px; }
.fc-goal.ask input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font-size: 18px; padding: 10px 0; }
.fc-goal.ask input::placeholder { color: rgba(255, 255, 255, 0.6); }
.fc-goal-ok { width: 38px; height: 38px; border-radius: 10px; background: var(--yh-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fc-goal.set { display: flex; align-items: center; gap: 12px; justify-content: center; font-size: 24px; font-weight: 600; }
.fc-goal.set .fc-goal-tx { max-width: 360px; overflow-wrap: break-word; }
.fc-goal.set.done .fc-goal-tx { text-decoration: line-through; opacity: 0.6; }
.fc-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); flex: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.fc-goal.set.done .fc-check { background: var(--yh-accent); border-color: var(--yh-accent); }
.fc-goal-edit { opacity: 0.5; padding: 4px; }
.fc-goal-edit:hover { opacity: 1; }
.fc-todos { width: 100%; max-width: 440px; margin-top: 4px; display: flex; flex-direction: column; gap: 6px; }
.fc-todos.empty { opacity: 0.6; font-size: 14px; }
.fc-todos-h { font-size: 12px; opacity: 0.6; text-align: left; margin-bottom: 2px; }
.fc-todo { display: flex; align-items: center; gap: 10px; font-size: 16px; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); cursor: pointer; text-align: left; }
.fc-todo:hover { background: rgba(255, 255, 255, 0.16); }
.fc-todo .fc-check { width: 18px; height: 18px; }
.fc-todo-more { font-size: 12px; opacity: 0.5; }
.fc-exit { position: absolute; top: 22px; right: 24px; display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.8); padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); }
.fc-exit:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.badge-demo { position: fixed; left: 14px; bottom: 14px; z-index: 5; font-size: 12px; opacity: 0.55; pointer-events: none; }
.tool.icon-only { padding: 8px 9px; }
.tool .nm { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
.overlay .panel .dlg-hd h3 { margin: 0; }
.drawer { width: 380px; }
.drawer .row > span:first-child { display: flex; flex-direction: column; gap: 1px; }
.drawer .row .rs { font-size: 12px; color: var(--panel-sub); font-weight: 400; }
.drawer .row .seg { flex: none; }
.drawer .grp > .seg { margin-bottom: 2px; }
.drawer .rg { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.drawer .rg input[type=range] { width: 140px; }
.drawer .rg small { width: 38px; text-align: right; font-size: 12px; color: var(--panel-sub); font-variant-numeric: tabular-nums; }
.drawer .chip { background: var(--accent-soft); color: var(--yh-accent); }
.drawer .chip.soft { background: var(--panel-soft); color: var(--panel-sub); }
.pub-hist { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pub-hist .ph-t { font-size: 12px; color: var(--panel-sub); margin-bottom: 2px; }
.ph-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--panel-soft); }
.ph-row.cur { box-shadow: inset 0 0 0 1px var(--yh-accent); }
.ph-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ph-l1 { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.ph-main small { font-size: 12px; color: var(--panel-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-row .btn.sm { flex: none; }
.drawer .eng-row .ri { display: inline-flex; color: var(--panel-sub); }
.drawer .eng-row .nm small { font-size: 12px; }
.sw-custom { position: relative; overflow: hidden; display: inline-block; }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }
@supports selector(:has(*)) {
.sw-custom input:focus-visible { outline: none; }
.sw-custom:has(input:focus-visible) { outline: 2px solid var(--yh-accent); outline-offset: 2px; }
}
.st-wp { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.st-wp-thumb { width: 112px; height: 63px; border-radius: 10px; flex: none; background: var(--panel-soft) center / cover no-repeat; box-shadow: 0 0 0 1px var(--panel-line); }
.st-wp .btns { margin-top: 0; flex-direction: column; flex: 1; }
.st-wp .btns .btn { justify-content: flex-start; }
.st-about { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px; border-radius: 14px; background: var(--panel-soft); }
.st-about b { font-size: 16px; }
.kb-list { display: flex; flex-direction: column; gap: 8px; }
.kb-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.kb-row .kbd { min-width: 120px; text-align: left; }
.drawer .note.warn { color: var(--panel-fg); background: rgba(255, 149, 0, 0.12); border-radius: 10px; padding: 8px 10px; }
.drawer .linkbtn { font-size: 12px; color: var(--panel-sub); text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; }
.drawer .linkbtn:hover { color: var(--yh-accent); }
.drawer .ac-links { display: flex; justify-content: flex-end; margin-top: 6px; }
.rc-code { margin: 6px 0 12px; padding: 14px 10px; border-radius: 12px; background: var(--panel-soft); text-align: center; user-select: all;
font: 600 22px/1.3 ui-monospace, Consolas, "SF Mono", monospace; letter-spacing: 2px; word-break: break-all; }
.rc-tip { font-size: 12px; color: var(--panel-sub); line-height: 1.8; }
.touch-armed { transform: scale(1.06); transition: transform 0.15s ease; }
.touch-armed .card, .touch-armed .tile-app, .touch-armed .folder { animation: none !important; }
.touch-ghost { position: fixed !important; left: 0 !important; top: 0 !important; margin: 0 !important; z-index: 300; pointer-events: none !important;
opacity: 0.92; will-change: transform; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.3)); transition: none !important; }
.touch-ghost * { pointer-events: none !important; animation: none !important; }
.cf-wrap { display: flex; flex-direction: column; gap: 10px; max-height: 62vh; overflow: auto; }
.cf-row { padding: 10px 12px; border-radius: 12px; background: var(--panel-soft); }
.cf-t { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.cf-opt { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; cursor: pointer; font-size: 13px; }
.cf-opt:hover { background: var(--panel-soft-h); }
.cf-opt input { flex: none; accent-color: var(--yh-accent); }
.cf-opt span { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cf-opt small { color: var(--panel-sub); width: 70px; flex: none; }
.cf-sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; flex: none; box-shadow: 0 0 0 1px var(--panel-line); }
body.no-clock #clock, body.no-search #search { visibility: hidden; }
:root[data-cf="thin"] { --clock-ff: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; --clock-fw: 200; }
:root[data-cf="bold"] { --clock-ff: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; --clock-fw: 800; }
:root[data-cf="mono"] { --clock-ff: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace; --clock-fw: 500; }
:root[data-cf="serif"] { --clock-ff: Georgia, "Times New Roman", "Songti SC", SimSun, serif; --clock-fw: 400; }
:root[data-cf][data-skin] #clock :is(.t, .clock-flip .fd span, .clock-analog .ad b) { font-family: var(--clock-ff); font-weight: var(--clock-fw); }
:root[data-cc][data-skin] #clock, :root[data-cc][data-skin] #clock :is(.t, .t .sec, .d, .clock-flip .colon, .clock-flip .ap, .clock-analog .ad b) { color: var(--clock-color); }
:root[data-sx-w][data-skin] #search { width: min(var(--sx-w), calc(100% - 32px)); }
:root[data-sx-w][data-skin] body.canvas #search { width: var(--sx-w); margin-left: calc(var(--sx-w) / -2); }
:root[data-sx-h][data-skin] #search .searchbar { height: var(--sx-h); }
:root[data-sx-r][data-skin] #search .searchbar { border-radius: var(--sx-r); }
:root[data-sx-r][data-skin] #search .btn-go { border-radius: 0 var(--sx-r) var(--sx-r) 0; }
:root[data-sx-a][data-skin] #search .searchbar:not(.er-open) { background: color-mix(in srgb, var(--sx-bg, var(--search)) var(--sx-a), transparent); }
:root[data-sx-blur][data-skin] #search .searchbar { -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
:root[data-sx-nodark][data-theme="dark"][data-skin]:not([data-skin="esports"]):not([data-skin="card"]) { --search: #fff; --search-fg: #1a1a1a; --search-sub: #999; --search-h: #f5f5f5; }
:root[data-sx-ink="dark"][data-skin] #search .searchbar { --search-fg: #1a1a1a; --search-sub: rgba(0, 0, 0, 0.45); color: #1a1a1a; }
:root[data-sx-ink="light"][data-skin] #search .searchbar { --search-fg: #fff; --search-sub: rgba(255, 255, 255, 0.72); color: #fff; }
:root[data-sx-ink][data-skin] #search .searchbar :is(input, .engine) { color: var(--search-fg); }
:root[data-sx-ink][data-skin] #search .searchbar input::placeholder { color: var(--search-sub); }
:root[data-ica][data-skin] :is(#grid, .ov-grid) :is(.tile-app .ic, .folder .mini .ic) { opacity: var(--ic-alpha); }
:root[data-lfs][data-skin] :is(.tile > .tl, .tile-app > small) { font-size: var(--label-fs); line-height: calc(var(--label-fs) + 4px); }
:root[data-gt][data-skin] #grid { margin-top: var(--grid-top); }
body.tools-auto #tools, body.rail-auto #rail { transition: opacity 0.18s ease; }
body.tools-auto:not(.edit) #tools:not(:hover):not(:focus-within), body.rail-auto:not(.edit) #rail:not(:hover):not(:focus-within) { opacity: 0; transition: opacity 0.3s ease 0.6s; }
#dock-hot { display: none; }
body.dock-auto #dock-hot { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 26px; z-index: 19; }
body.dock-auto #dock { transition: translate 0.22s ease, opacity 0.22s ease; }
body.dock-auto:not(.edit) #dock:not(:hover):not(:focus-within):not(.drop) { translate: 0 calc(100% + 40px); opacity: 0; transition: translate 0.3s ease 0.6s, opacity 0.3s ease 0.6s; }
body.dock-auto:not(.edit) #dock-hot:hover + #dock { translate: none; opacity: 1; transition-delay: 0s; }
:root[data-rail-side="left"][data-skin]:not([data-skin="minimal"]):not([data-skin="card"]) .rail { left: 14px; right: auto; }
:root[data-rail-nm="0"][data-skin] #rail button span.nm { display: none; }
:root[data-rail-nm="1"][data-skin]:not([data-skin="minimal"]) #rail button:not(#rail-set) span.nm { display: block; }
:root[data-g2] .ic, :root[data-g2] .card.folder { corner-shape: squircle; }
:root[data-rm] *, :root[data-rm] *::before, :root[data-rm] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
.drawer .eng-row .grip { flex: none; display: inline-flex; margin: 0 -4px 0 -6px; padding: 4px 2px; color: var(--panel-sub); cursor: grab; opacity: 0.6; }
.drawer .eng-row:hover .grip { opacity: 1; }
.drawer .eng-row.dragging { opacity: 0.4; }
.drawer .eng-row.drop-before { box-shadow: inset 0 2px 0 var(--yh-accent); }
.drawer .eng-row.drop-after { box-shadow: inset 0 -2px 0 var(--yh-accent); }
.drawer .swatches .sw-auto { background: linear-gradient(135deg, transparent 46%, var(--panel-sub) 46% 54%, transparent 54%), var(--panel-soft); box-shadow: inset 0 0 0 1px var(--panel-line); }
.drawer .swatches .sw[data-c="#ffffff"] { box-shadow: inset 0 0 0 1px var(--panel-line); }
.drawer .st-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0 6px; font-size: 12px; }
.drawer .st-legal a { color: var(--panel-sub); text-decoration: none; }
.drawer .st-legal a:hover { color: var(--yh-accent); text-decoration: underline; }
:root[data-m] #app { height: 100%; padding: 12px 16px 0; padding-inline: 16px !important; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
:root[data-m] .topbar { min-height: 0; align-items: center; gap: 10px; }
:root[data-m] #clock .t { font-size: 40px; }
:root[data-m] #clock .d { margin-top: 4px; font-size: 12px; }
:root[data-m] #clock .q { display: none; }
:root[data-m] .topbar-tools { flex: none; gap: 4px; }
:root[data-m] .topbar-tools .tool { padding: 8px; }
:root[data-m] .topbar-tools .tool > span:not(.av) { display: none; }
:root[data-m] #search { width: 100% !important; margin-top: 12px; }
:root[data-m] #stage { padding: 18px 0 calc(92px + env(safe-area-inset-bottom)); }
:root[data-m] .rail {
top: auto !important; right: 0 !important; bottom: 0 !important; left: 0 !important; width: auto !important; height: auto !important;
max-width: none !important; max-height: none !important; margin: 0 !important; transform: none !important;
flex-direction: row !important; flex-wrap: nowrap !important; overflow: auto hidden !important; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) !important;
scrollbar-width: none; gap: 2px; border-radius: 0; border-width: 1px 0 0;
}
:root[data-m] .rail button { flex: none; width: auto; min-width: 58px; }
:root[data-m] .rail button span.nm { max-width: 64px; }
:root[data-m] .rail button.on::before { left: 30%; right: 30%; top: auto; bottom: 0; width: auto; height: 3px; }
:root[data-m] .rail .sep { width: 1px; height: auto; margin: 8px 4px; }
:root[data-m] :is(#dock, #t-edit, #t-layout, #t-focus), :root[data-m] .tile:is([data-w="sens"], [data-w="ping"]) { display: none !important; }
:root[data-m] .drawer { top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; max-width: none; border-left: 0; border-radius: 0 !important; flex-direction: column; }
:root[data-m] .drawer .close[data-x] { position: fixed !important; top: 8px !important; right: 8px !important; left: auto !important; z-index: 5; }
:root[data-m] .drawer .skin-picker { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
:root[data-m] .overlay { padding: 12px; }
.card {
--t1: var(--w-accent-rgb-1); --t2: var(--w-accent-rgb); --pad: 16px;
height: 100%; width: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column;
background: var(--card); color: var(--card-fg); border-radius: var(--w-radius); padding: var(--pad); font-size: 14px; line-height: 1.5; letter-spacing: 0.2px;
box-shadow: var(--shadow-card); border: 1px solid var(--card-border);
backdrop-filter: var(--card-bf, none); -webkit-backdrop-filter: var(--card-bf, none);
container-type: size;
}
.card .hd { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--card-sub); min-height: 20px; flex: none; }
.card .hd b { color: var(--card-fg); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.card .hd > span { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.card .hd .act { display: inline-flex; padding: 4px; border-radius: 8px; color: inherit; opacity: 0.85; transition: background 0.15s ease, opacity 0.15s ease; }
.card .hd .act:hover { opacity: 1; background: var(--card-soft); }
.card .hd .act.on { opacity: 1; }
.card .empty { margin: auto; font-size: 13px; color: var(--card-sub); text-align: center; line-height: 1.7; }
.card .link-btn { font-size: 13px; color: rgb(var(--t2)); }
.card .pill-btn { font-size: 14px; padding: 6px 18px; border-radius: 999px; background: rgb(var(--t2)); color: var(--w-accent-ink); font-weight: 500; box-shadow: 0 4px 12px rgb(var(--t2) / 0.3); transition: filter 0.15s ease, transform 0.15s ease; }
.card .pill-btn:hover { filter: brightness(1.05); }
.card .pill-btn:active { transform: scale(0.97); }
.card .pill-btn.ghost { background: var(--card-soft); color: var(--card-fg); box-shadow: none; }
.card .chip { background: var(--card-soft); color: var(--card-fg); border-radius: 999px; }
.card.fill { text-shadow: none; }
.card .band { flex: none; display: flex; align-items: center; gap: 6px; min-height: 0; padding: 12px var(--pad) 6px; color: var(--card-fg); background: transparent; }
.card .band b { color: var(--card-fg); }
.card .band .act { color: var(--card-sub); }
.card .band .act:hover { background: var(--card-soft); color: var(--card-fg); }
.card .band.hd { justify-content: space-between; font-size: 13px; }
.card .band.hd > span { color: var(--card-sub); }
.card.w-weather, .card.w-clock, .card.w-calc, .card.w-noise {
background: var(--w-dark-glow), var(--w-dark); color: var(--w-dark-ink); border-color: transparent;
--card-fg: var(--w-dark-ink); --card-sub: var(--w-dark-sub); --card-soft: var(--w-dark-chip); --card-soft-h: rgba(255, 255, 255, 0.16); --card-line: rgba(255, 255, 255, 0.1);
}
.card.w-notes, .card.w-todo, .card.w-habit { background: var(--w-note); box-shadow: inset 3px 0 0 var(--w-accent), var(--shadow-card); }
.w-hot ol, .w-todo ul, .w-dc ul, .w-habit ul {
list-style: none; flex: 1; min-height: 0; overflow: auto; padding: 4px 4px 14px; margin: -4px -4px 0;
-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
scrollbar-width: none;
}
.w-hot ol::-webkit-scrollbar, .w-todo ul::-webkit-scrollbar, .w-dc ul::-webkit-scrollbar, .w-habit ul::-webkit-scrollbar { display: none; }
.tile .card, .tile-app, .folder { transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease; }
.tile:not(.editing):hover .card, .tile:not(.editing):hover .tile-app { transform: translateY(-2px); }
.tile:not(.editing):hover .card { box-shadow: var(--shadow-hover); }
.tile:not(.editing):hover .card.w-notes, .tile:not(.editing):hover .card.w-todo, .tile:not(.editing):hover .card.w-habit { box-shadow: inset 3px 0 0 var(--w-accent), var(--shadow-hover); }
.tile:not(.editing) .tile-app:active, .tile:not(.editing) .card.folder:active, .tile:not(.editing) .card[tabindex]:active { transform: translateY(0) scale(0.975); transition-duration: 0.08s; }
.tile > .tl, .tile-app > small {
position: absolute; left: 50%; top: calc(100% + 5px); transform: translateX(-50%); z-index: 1;
max-width: calc(100% + var(--gap) - 6px); padding: 0 2px;
font-size: 12px; line-height: 16px; color: var(--label-fg); text-shadow: var(--label-shadow); letter-spacing: 0.2px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
body.no-label .tile > .tl, body.no-label .tile-app > small { display: none; }
.tile-app { display: block; height: 100%; cursor: pointer; border-radius: var(--ic-radius, 25%); color: var(--on-wp); }
.tile-app .ic { width: 100%; height: 100%; font-size: calc(var(--cell) * 0.36); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16); }
.card.folder {
cursor: pointer; padding: 12%; background: var(--folder); border: 1px solid var(--folder-border);
backdrop-filter: blur(var(--folder-blur)) saturate(1.5); -webkit-backdrop-filter: blur(var(--folder-blur)) saturate(1.5);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.folder .mini { flex: 1; min-height: 0; display: grid; gap: 12%; place-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.folder .mini > .ic { width: auto; height: 100%; max-width: 100%; aspect-ratio: 1 / 1; font-size: 15px; border-radius: var(--ic-radius, 25%); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14); }
.folder .mini .mini4 { height: 100%; max-width: 100%; aspect-ratio: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14%; padding: 4%; }
.folder .mini .mini4 .ic { width: 100%; height: 100%; font-size: 8px; border-radius: 26%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.folder .mini > .fd-go { transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease; }
.tile:not(.editing) .folder .mini > .fd-go:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24); }
.tile:not(.editing) .folder .mini > .fd-go:active { transform: scale(0.96); }
.add-tile .card.add {
border: 2px dashed rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: none;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.add-tile .card.add:hover { background: rgba(255, 255, 255, 0.18); }
.add-tile.add-tail .card.add { height: 100%; gap: 0; padding: 0; border-width: 1.5px; border-radius: var(--ic-radius, 25%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.add-tile .card.add small { opacity: 0.9; font-size: 12px; }
.w-weather { cursor: pointer; padding: 18px; }
.w-weather .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; height: 17px; }
.w-weather .city { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 400; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 17px; }
.w-weather .city .yi { flex: none; opacity: 0.9; }
.w-weather .ico { display: flex; margin: -2px -4px 0 0; flex: none; }
.w-weather .ico svg { width: 52px; height: 52px; }
.w-weather .temp { font-family: var(--num-font); font-size: 42px; font-weight: 700; line-height: 1; margin-top: 18px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.w-weather .desc { margin-top: auto; align-self: flex-start; max-width: 100%; height: 19px; padding: 0 8px; border-radius: 999px; background: var(--w-dark-chip); font-size: 12px; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-weather .desc .chip { display: inline-block; margin-left: 4px; vertical-align: 0; font-size: 12px; padding: 0 4px; line-height: 15px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); color: inherit; }
.w-weather .foot { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; max-height: 44px; overflow: hidden; font-size: 12px; line-height: 19px; }
.w-weather .foot .ft { flex: none; height: 19px; padding: 0 8px; border-radius: 999px; background: var(--w-dark-chip); white-space: nowrap; }
.w-weather .foot .ft.hum { display: inline-flex; align-items: center; gap: 2px; }
.w-weather .foot .ft.aqi { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.w-weather .desc { flex: none; }
@container (max-height: 150px) { .w-weather .foot { max-height: 19px; } }
.w-loading { margin: auto; font-size: 13px; color: var(--card-sub); }
.w-hot { padding: 16px 0 0 18px; }
.w-hot > .hd { display: none; }
.w-hot .tabs { flex: none; display: flex; gap: 6px; overflow-x: auto; padding: 0 18px 0 0; scrollbar-width: none; }
.w-hot .tabs::-webkit-scrollbar { display: none; }
.w-hot .tabs.more-r { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.w-hot .tabs.more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%); mask-image: linear-gradient(90deg, transparent, #000 20%); }
.w-hot .tabs.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.w-hot .tabs button { flex: none; height: 25px; padding: 0 10px; font-size: 14px; line-height: 25px; color: var(--card-fg); background: var(--card-soft); border-radius: 999px; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.w-hot .tabs button:hover { background: var(--card-soft-h); }
.w-hot .tabs button.on { background: var(--w-accent); color: var(--w-accent-ink); }
.w-hot ol { margin-top: 0; padding: 10px 18px 14px 4px; }
.w-hot li { display: flex; gap: 4px; align-items: center; padding: 0; font-size: 15px; line-height: 28px; cursor: pointer; min-width: 0; border-radius: 6px; }
.w-hot li:hover .tt { color: rgb(var(--t2)); }
.w-hot li .rk { flex: none; display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; font-style: normal; color: var(--w-accent); background: none; font-variant-numeric: tabular-nums; }
.w-hot li .rk::after { content: '.'; }
.w-hot li .tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-hot li .ht { margin-left: auto; padding-left: 6px; flex: none; font-size: 12px; color: var(--card-sub); }
.w-hot li .tg { display: none; }
.w-hot.wide li .ht { display: none; }
.w-hot .hot-band { min-height: 38px; padding: 0 18px 0 0; font-size: 13px; }
.w-hot .hot-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px 10px 0; font-size: 13px; color: var(--card-sub); text-align: center; }
.w-hot .hot-empty::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: rgb(var(--t2) / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 3.2 4.6 5 4.6 9.2a4.6 4.6 0 0 1-9.2 0c0-1.9.9-3.1 1.9-4.1.2 1.4.9 2.4 2 2.9C11 8.5 11.3 5.6 12 3Z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.w-hot .hot-empty p { line-height: 1.6; }
.w-hot .hot-empty button { font-size: 13px; padding: 4px 14px; border-radius: 999px; background: rgb(var(--t2)); color: var(--w-accent-ink); }
.w-gdeal, .w-glive { padding: 12px 14px 14px; gap: 8px; --sale: 240 64 96; --free: 22 163 106; }
.w-gdeal .gd-top, .w-glive .gl-top { flex: none; display: flex; align-items: center; gap: 8px; height: 24px; min-width: 0; }
.w-gdeal .gd-tt, .w-glive .gl-tt { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; color: var(--card-fg); }
.w-gdeal .gd-tt .yi, .w-glive .gl-tt .yi { color: rgb(var(--t2)); }
.w-gdeal .tabs { display: flex; gap: 4px; min-width: 0; }
.w-gdeal.wide .tabs { margin-left: auto; }
.w-gdeal .tabs button, .w-glive .gl-pick {
flex: none; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; line-height: 24px; white-space: nowrap;
color: var(--card-fg); background: var(--card-soft); transition: background 0.15s ease, color 0.15s ease;
}
.w-gdeal .tabs button:hover, .w-glive .gl-pick:hover { background: var(--card-soft-h); }
.w-gdeal .tabs button.on { background: var(--w-accent); color: var(--w-accent-ink); font-weight: 600; }
.w-gdeal .gd-pg { flex: none; margin-left: auto; font: 600 12px/1 var(--num-font); color: var(--card-sub); font-variant-numeric: tabular-nums; }
.w-gdeal:not(.wide) .tabs { overflow: hidden; }
.w-gdeal .gd-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.w-gdeal .gd-hero { position: relative; flex: 1; min-height: 0; overflow: hidden; isolation: isolate; cursor: pointer; border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); }
.w-gdeal .gd-img, .w-gdeal .gd-th { display: block; overflow: hidden; background: linear-gradient(135deg, rgb(var(--t1)), rgb(var(--t2))); }
.w-gdeal .gd-img { position: absolute; inset: 0; z-index: -2; }
.w-gdeal .gd-th { position: relative; flex: none; width: 52px; height: 28px; border-radius: 5px; }
.w-gdeal .gd-img img, .w-gdeal .gd-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.w-gdeal .gd-hero:hover .gd-img img { transform: scale(1.06); }
.w-gdeal .gd-ph { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 34px; color: rgba(255, 255, 255, 0.85); }
.w-gdeal .gd-th .gd-ph { font-size: 12px; }
.w-gdeal .gd-hero::after { content: ''; position: absolute; inset: 38% 0 0; z-index: -1; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8)); pointer-events: none; }
.w-gdeal .gd-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 1px; padding: 0 10px 8px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.w-gdeal .gd-cap .gd-n { font-size: 14px; font-weight: 700; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-gdeal .gd-sub { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 12px; }
.w-gdeal .gd-sub small { margin-left: auto; font-size: 12px; opacity: 0.85; white-space: nowrap; }
.w-gdeal .gd-pr { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; font-family: var(--num-font); font-variant-numeric: tabular-nums; }
.w-gdeal .gd-pr em { font-style: normal; font-weight: 700; font-size: 14px; }
.w-gdeal .gd-pr s { font-size: 12px; opacity: 0.7; }
.w-gdeal .gd-off { flex: none; padding: 4px 6px; border-radius: 6px; font: 700 12px/1 var(--num-font); font-style: normal; color: #fff; background: rgb(var(--sale)); }
.w-gdeal .gd-off.free { background: rgb(var(--free)); }
.w-gdeal .gd-off.soon { background: rgba(0, 0, 0, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.w-gdeal .gd-hero > .gd-off { position: absolute; top: 8px; left: 8px; padding: 5px 8px; font-size: 13px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.w-gdeal .gd-list { list-style: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; margin: 0; padding: 0; }
.w-gdeal .gd-list li { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 -6px; padding: 2px 6px; border-radius: 8px; cursor: pointer; transition: background 0.15s ease; }
.w-gdeal .gd-list li:hover { background: var(--card-soft); }
.w-gdeal .gd-li { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.w-gdeal .gd-list .gd-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 17px; color: var(--card-fg); }
.w-gdeal .gd-list .gd-sub { gap: 6px; line-height: 16px; align-items: center; }
.w-gdeal .gd-list .gd-off { padding: 2px 5px; font-size: 11px; }
.w-gdeal .gd-list .gd-pr em { font-size: 13px; color: rgb(var(--t2)); }
.w-gdeal .gd-list .gd-pr s { color: var(--card-sub); opacity: 1; }
@container (max-width: 420px) { .w-gdeal .gd-list .gd-th { display: none; } }
@container (max-height: 150px) { .w-gdeal .gd-list li:nth-child(3) { display: none; } .w-gdeal .gd-list { justify-content: space-around; } }
.w-gdeal .gd-nav { position: absolute; top: 50%; width: 24px; height: 24px; margin-top: -24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, 0.42); opacity: 0; transition: opacity 0.15s ease, background 0.15s ease; }
.w-gdeal .gd-nav.prev { left: 6px; }
.w-gdeal .gd-nav.next { right: 6px; }
.w-gdeal .gd-hero:hover .gd-nav, .w-gdeal .gd-nav:focus-visible { opacity: 1; }
.w-gdeal .gd-nav:hover { background: rgba(0, 0, 0, 0.62); }
.w-gdeal:not(.wide) .gd-sub small { display: none; }
.w-gdeal .gd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--card-sub); text-align: center; }
.w-gdeal .gd-empty button { font-size: 13px; padding: 4px 14px; }
.w-glive .gl-pick { display: inline-flex; align-items: center; gap: 2px; padding: 0 6px 0 10px; }
.w-glive:not(.wide) .gl-tt span { display: none; }
.w-glive .gl-acts { flex: none; display: inline-flex; gap: 2px; margin-left: auto; color: var(--card-sub); }
.w-glive .gl-acts .act { display: inline-flex; padding: 4px; border-radius: 8px; transition: background 0.15s ease, color 0.15s ease; }
.w-glive .gl-acts .act:hover { background: var(--card-soft); color: var(--card-fg); }
.w-glive .gl-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 6px; }
.w-glive:not(.wide) .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w-glive .gl-g {
position: relative; overflow: hidden; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
padding: 7px 8px 6px; border-radius: 10px; color: #fff; text-align: left;
background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.28), transparent 55%), linear-gradient(145deg, var(--c1, rgb(var(--t1))), var(--c2, rgb(var(--t2))));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 10px -6px rgba(0, 0, 0, 0.45); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.w-glive .gl-g::after { content: ''; position: absolute; right: -12px; bottom: -16px; width: 46px; height: 46px; border-radius: 50%; border: 6px solid rgba(255, 255, 255, 0.12); pointer-events: none; }
.w-glive .gl-g:hover { transform: translateY(-2px); filter: saturate(1.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 18px -10px rgba(0, 0, 0, 0.6); }
.w-glive .gl-ic { font: 800 14px/1 var(--num-font); letter-spacing: 0.4px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.w-glive .gl-ic.pic { width: 24px; height: 24px; border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.35); }
.w-glive .gl-ic.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-glive .gl-n { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 16px; opacity: 0.92; }
#yh-ctx.gl-menu { min-width: 120px; }
.w-matches .hd b, .w-ping .hd b, .w-sens .hd b { overflow: hidden; }
.w-matches .hd b > span, .w-ping .hd b > span, .w-sens .hd b > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-matches { padding: 12px 14px; gap: 6px; }
.w-matches .hd .mc-more { font: 600 12px/1 var(--num-font); padding: 5px 6px; }
.w-matches .mc-list { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-around; }
.w-matches .mc-row { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 -6px; padding: 3px 6px; border-radius: 8px; text-align: left; color: inherit; transition: background 0.15s ease; }
.w-matches .mc-row:hover { background: var(--card-soft); }
.w-matches .mc-tag {
flex: none; display: inline-grid; place-items: center; width: 36px; height: 26px; border-radius: 6px; font: 800 11px/1 var(--num-font); font-style: normal; letter-spacing: 0.3px;
color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); background: linear-gradient(145deg, var(--c1, rgb(var(--t1))), var(--c2, rgb(var(--t2)))); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.w-matches .mc-tag.pic { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.2); }
.w-matches .mc-tag.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-matches .mc-game .mc-tag.pic { width: 34px; height: 34px; border-radius: 10px; }
.w-matches .mc-li { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.w-matches .mc-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 17px; color: var(--card-fg); }
.w-matches .mc-li small { font: 12px/15px var(--num-font); color: var(--card-sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-matches .mc-st { flex: none; padding: 4px 6px; border-radius: 6px; font-style: normal; font-size: 12px; line-height: 1; white-space: nowrap; color: var(--card-sub); background: var(--card-soft); }
.w-matches .mc-st.on { color: var(--w-accent-ink); background: rgb(var(--t2)); font-weight: 600; }
.w-matches .mc-s { display: none; }
.w-matches .mc-s.on { color: rgb(var(--t2)); font-weight: 600; }
.w-matches .mc-empty { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.w-matches .mc-empty p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--card-sub); }
.w-matches .mc-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.w-matches:not(.wide) .mc-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w-matches .mc-game { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; border-radius: 8px; color: inherit; transition: background 0.15s ease; }
.w-matches .mc-game:hover { background: var(--card-soft); }
.w-matches .mc-game > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--card-sub); }
.w-matches:not(.wide) .mc-game > span { display: none; }
@container (max-width: 200px) {
.w-matches .mc-row { gap: 6px; padding: 2px 6px; }
.w-matches .mc-tag { width: 30px; height: 24px; font-size: 10px; }
.w-matches .mc-tag.pic { width: 24px; border-radius: 7px; }
.w-matches .mc-st, .w-matches .mc-d { display: none; }
.w-matches .mc-s { display: inline; }
}
#yh-ctx.mc-menu { min-width: 180px; max-width: 360px; max-height: min(520px, calc(100vh - 24px)); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.w-ping { padding: 12px 14px 10px; gap: 4px; --good: 34 197 94; --ok: 234 179 8; --bad: 239 68 68; }
.w-ping .pg-run { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--w-accent-ink); background: rgb(var(--t2)); transition: filter 0.15s ease; }
.w-ping .pg-run:hover { filter: brightness(1.08); }
.w-ping .pg-run[disabled] { opacity: 0.7; cursor: default; filter: none; }
.w-ping .pg-list { flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-around; }
.w-ping .pg-list li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 18px; }
.w-ping .pg-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--card-fg); }
.w-ping.wide .pg-n { flex: none; width: 76px; }
.w-ping .pg-bar { flex: 1; height: 6px; border-radius: 3px; overflow: hidden; background: var(--card-soft); }
.w-ping .pg-bar i { display: block; height: 100%; border-radius: inherit; background: rgb(var(--lv, var(--t2))); transition: width 0.4s ease; }
.w-ping .pg-v { flex: none; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 66px; font: 600 13px/1 var(--num-font); font-variant-numeric: tabular-nums; color: var(--card-sub); }
.w-ping .pg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--card-soft-h); }
.w-ping li.good { --lv: var(--good); }
.w-ping li.ok { --lv: var(--ok); }
.w-ping li.bad, .w-ping li.fail { --lv: var(--bad); }
.w-ping li:not([class=""]) .pg-dot { background: rgb(var(--lv)); box-shadow: 0 0 0 3px rgb(var(--lv) / 0.2); }
.w-ping li:not([class=""]) .pg-v { color: var(--card-fg); }
.w-ping li.fail .pg-v { color: rgb(var(--bad)); font-family: inherit; font-weight: 500; font-size: 12px; }
.w-ping .pg-foot { flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--card-sub); }
@container (max-width: 200px) {
.w-ping .hd { gap: 4px; }
.w-ping .pg-foot { display: none; }
.w-ping .pg-run { padding: 2px 6px; }
.w-ping .pg-list li { gap: 6px; }
.w-ping .pg-v { min-width: 56px; gap: 5px; font-size: 12px; }
}
.w-sens { padding: 12px 14px; gap: 6px; }
.w-sens .sn-main { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 5px; }
.w-sens .sn-row { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 3px 8px 3px 10px; border-radius: 10px; background: var(--card-soft); }
.w-sens .sn-row:focus-within { box-shadow: 0 0 0 2px rgb(var(--t2) / 0.45); }
.w-sens .sn-sel { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.w-sens .sn-sel::after { content: ''; position: absolute; right: 3px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0.55; pointer-events: none; }
.w-sens select { flex: 1; min-width: 0; width: 100%; padding: 2px 14px 2px 0; border: 0; outline: 0; background: none; color: var(--card-fg); font-size: 13px; text-overflow: ellipsis; cursor: pointer; -webkit-appearance: none; appearance: none; }
.w-sens .sn-row input, .w-sens .sn-out { flex: none; width: 68px; padding: 0; border: 0; outline: 0; background: none; text-align: right; font: 600 16px/26px var(--num-font); font-variant-numeric: tabular-nums; color: var(--card-fg); }
.w-sens .sn-out { color: rgb(var(--t2)); font-weight: 700; }
.w-sens input.bad, .w-sens .sn-out.bad { color: #e5484d; }
.w-sens .sn-meta { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12px; line-height: 18px; color: var(--card-sub); }
.w-sens .sn-dpi { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.w-sens .sn-dpi input { width: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--card-line); outline: 0; background: none; text-align: center; font: 12px/18px var(--num-font); color: var(--card-fg); }
.w-sens .sn-dpi input.bad { border-bottom-color: #e5484d; }
.w-sens .sn-cm, .w-sens .sn-edpi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--num-font); font-variant-numeric: tabular-nums; }
.w-sens .sn-cm { margin-left: auto; }
@container (max-width: 200px) {
.w-sens .sn-main { gap: 4px; }
.w-sens .sn-row { gap: 4px; padding: 2px 6px 2px 8px; }
.w-sens select { font-size: 12px; }
.w-sens .sn-row input, .w-sens .sn-out { width: 44px; font-size: 15px; line-height: 24px; }
.w-sens .sn-meta { flex-wrap: wrap; column-gap: 8px; line-height: 17px; }
.w-sens .sn-cm { margin-left: 0; }
}
.w-count { cursor: pointer; padding: 16px; }
.w-count .cd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.w-count .lab { font-size: 13px; line-height: 20px; color: var(--card-sub); }
.w-count .big { font-family: var(--num-font); font-size: 30px; font-weight: 700; line-height: 1.15; margin: 2px 0 auto; color: var(--card-fg); letter-spacing: 0; white-space: nowrap; }
.w-count .big small { font-size: 14px; font-weight: 500; margin: 0 2px; color: var(--card-sub); letter-spacing: 0; }
.w-count .big.digital { font-size: 24px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.w-count .tm { display: inline-flex; align-items: baseline; }
.w-count .tm b { font-weight: inherit; }
.w-count .tm i { font-style: normal; margin: 0 3px; position: relative; top: -0.06em; opacity: 0.9; }
.w-count .stats { display: flex; gap: 8px; margin-top: 8px; }
.w-count .stats > div { flex: 1; min-width: 0; padding: 6px 4px 5px; border-radius: 12px; background: var(--card-soft); text-align: center; display: flex; flex-direction: column; align-items: center; }
.w-count .stats small { display: block; font-size: 12px; line-height: 16px; color: var(--card-sub); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.w-count .stats b { display: block; font-family: var(--num-font); font-size: 16px; font-weight: 700; line-height: 21px; color: var(--card-fg); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.w-count .stats i { display: block; font-style: normal; font-size: 12px; line-height: 15px; color: var(--card-sub); }
.w-count:not(.wide) .stats .rest { display: none; }
.w-count .pet { position: absolute; top: 6px; right: 6px; opacity: 0.98; }
.w-count .pet svg { width: 40px; height: 40px; }
.w-count.wide { flex-direction: row; align-items: stretch; gap: 8px; }
.w-count.wide .pet { position: static; flex: none; width: 34%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin: -6px -4px -6px 0; }
.w-count.wide .pet svg { width: 96px; height: 96px; }
.w-count.wide .big { font-size: 32px; }
.w-count.wide .big.digital { font-size: 30px; }
.w-count.wide .tm i { margin: 0 5px; }
.w-count .pet .say { font-size: 12px; line-height: 18px; color: var(--card-fg); background: var(--card-soft); border-radius: 999px; padding: 2px 10px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-top: -4px; }
.w-count:not(.wide) .pet .say { display: none; }
.w-cal { --yp: 0; padding: 16px; cursor: pointer; background: var(--w-paper-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; column-gap: 8px; align-content: start; }
.w-cal .ym { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; min-height: 0; padding: 0; background: none; color: var(--w-strong, var(--card-fg)); font-size: 20px; font-weight: 700; line-height: 25px; letter-spacing: 0.2px; white-space: nowrap; }
.w-cal .day { grid-column: 2; grid-row: 1; font-family: var(--num-font); font-size: 56px; font-weight: 700; line-height: 50px; margin: 0; text-align: right; color: var(--w-strong, var(--card-fg)); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.w-cal .wd { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: var(--w-accent); color: var(--w-accent-ink); font-size: 14px; line-height: 16px; white-space: nowrap; }
.w-cal .wk { display: none; font-size: 12px; color: var(--card-sub); }
.w-cal .lunar { grid-column: 2; grid-row: 2; align-self: start; margin-top: 10px; text-align: right; font-size: 16px; font-weight: 400; line-height: 18px; color: var(--w-strong, var(--card-fg)); padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-cal .lunar .lw, .w-cal .lunar em { display: none; }
.w-cal .yw { position: absolute; left: 0; right: 0; top: calc(74% - 24px); text-align: center; font-size: 12px; line-height: 14px; color: var(--card-fg); opacity: 0.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.w-cal .yw .ys, .w-cal .yw .yk { display: none; }
.w-cal .yw .yd::before { content: '今年'; }
.w-cal .yj { display: none; }
.w-cal .arc { position: absolute; left: -13%; right: -13%; top: 74%; aspect-ratio: 1 / 1; border-radius: 50%; pointer-events: none;
background: conic-gradient(from -90deg, rgb(var(--w-accent-rgb-1) / 0.62), rgb(var(--w-accent-rgb) / 0.88) 180deg, rgb(var(--w-accent-rgb-1) / 0.62) 360deg);
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 30px), #000 calc(100% - 29px)); mask: radial-gradient(farthest-side, transparent calc(100% - 30px), #000 calc(100% - 29px)); }
.w-cal .arc::before { content: ''; position: absolute; inset: 0; border-radius: 50%; transform: rotate(calc(var(--yp) * -360deg));
background: repeating-conic-gradient(from -2deg, rgb(var(--w-accent-rgb) / 0.5) 0deg 4deg, transparent 4deg 15deg);
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 18px), #000 calc(100% - 12px), transparent calc(100% - 11px)); mask: radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 18px), #000 calc(100% - 12px), transparent calc(100% - 11px)); }
.w-cal .arc i { position: absolute; left: 50%; top: 8px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4), 0 1px 3px rgba(120, 60, 10, 0.25); }
.lang-en .w-cal .lunar { display: none; }
.lang-en .w-cal .yw .yd::before { content: none; }
.w-hl { padding: 0; cursor: pointer; background: var(--w-paper-2); }
.w-hl > .hd b { letter-spacing: 2px; }
.w-hl .hl-gz { font-size: 12px; color: var(--card-sub); margin: 4px var(--pad) 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-hl .hl-yj { display: flex; flex-direction: column; gap: 8px; margin: 10px var(--pad) 0; flex: 1; min-height: 0; }
.w-hl .hl-yj > div { display: flex; gap: 8px; align-items: center; font-size: 14px; line-height: 20px; min-width: 0; }
.w-hl .hl-yj span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-hl .hl-yj i { flex: none; font-style: normal; width: 22px; height: 22px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.w-hl .hl-yj .y { background: #3e9b5c; } .w-hl .hl-yj .j { background: #c8463a; }
.w-hl .hl-ft { font-size: 12px; color: var(--card-sub); margin: 0 var(--pad) 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-fish { align-items: center; justify-content: center; text-align: center; cursor: pointer; user-select: none; }
.w-fish .cnt { order: -1; font-size: 14px; line-height: 28px; color: var(--card-sub); display: inline-flex; align-items: baseline; gap: 4px; margin-top: 4px; white-space: nowrap; }
.w-fish .cnt b { color: rgb(var(--t2)); font-family: var(--num-font); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.w-fish .fish-svg { width: 112px; height: 93px; margin-top: 2px; transition: transform 0.08s ease; filter: drop-shadow(0 6px 10px rgba(120, 60, 20, 0.16)); }
.w-fish.tap .fish-svg { transform: scale(0.94); }
.w-fish .merit { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); color: rgb(var(--t2)); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; }
.w-fish .merit.go { animation: meritUp 0.7s ease forwards; }
@keyframes meritUp { 0% { opacity: 1; top: 40%; } 100% { opacity: 0; top: 12%; } }
.card > .act.fish-mute, .card > .act.eat-edit { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; padding: 5px; border-radius: 8px; color: var(--card-sub); transition: background 0.15s ease, color 0.15s ease; }
.card > .act.fish-mute:hover, .card > .act.eat-edit:hover { color: var(--card-fg); background: var(--card-soft); }
.card.w-eat { text-align: center; justify-content: center; align-items: center; }
.w-eat .q { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--card-sub); }
.w-eat .dish { font-size: 24px; font-weight: 700; margin: 6px 0 12px; min-height: 30px; color: var(--card-fg); max-width: 100%; line-height: 1.3; overflow-wrap: anywhere;
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.w-eat .dish.sm { font-size: 18px; }
.w-eat .dish.xs { font-size: 16px; }
.w-eat.idle .q { font-size: 20px; font-weight: 700; color: var(--card-fg); letter-spacing: 1px; }
.w-eat.idle .q .yi { display: none; }
.w-eat.idle .dish { display: none; }
.w-eat.idle .eat-go { margin-top: 16px; }
.card.w-eat .pill-btn { padding: 7px 26px; }
.w-todo { padding: 0; }
.w-todo > .hd .todo-list-pick { cursor: pointer; font-size: 15px; }
.w-todo .todo-list-pick .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-todo .todo-list-pick svg { flex: none; opacity: 0.85; }
.w-todo .todo-list-pick:hover { opacity: 0.85; }
.w-todo > .hd { padding: 10px 8px 6px var(--pad); }
.w-todo > .hd > span { flex: none; white-space: nowrap; gap: 2px; }
.w-todo > .hd .cnt { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
font-size: 12px; font-weight: 600; font-family: var(--num-font); background: var(--w-accent); color: var(--w-accent-ink); margin-right: 2px; }
.w-todo > .hd > span .act { flex: none; }
.w-todo > .hd .todo-list-pick { flex: 0 1 auto; min-width: 3em; border-radius: 6px; }
.w-todo > .hd [data-lists] { display: none; }
.w-todo .todo-add { flex: none; padding: 0 14px 0 var(--pad); }
.w-todo .todo-add input { width: 100%; border: 0; border-bottom: 1px solid var(--card-line); height: 32px; padding: 0; font-size: 15px; outline: none; color: var(--card-fg); background: none; text-overflow: ellipsis; }
.w-todo .todo-add input:focus { border-bottom-color: rgb(var(--t2)); }
.w-todo input::placeholder, .w-notes textarea::placeholder { color: var(--card-sub); }
.w-todo ul { padding: 0 18px 14px; margin: 0 -4px; }
.w-todo li { display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 0; font-size: 15px; font-weight: 500; line-height: 20px; border-bottom: 1px solid var(--card-line); }
.w-todo .ck { width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 2px solid var(--w-check); flex: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--w-note); background: none; transition: background 0.15s ease, border-color 0.15s ease; }
.w-todo .ck:hover { border-color: rgb(var(--t2)); }
.w-todo li.done .ck { background: var(--w-check); border-color: var(--w-check); }
.w-todo li.done .tt { text-decoration: line-through; color: var(--card-sub); }
.w-todo .tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-todo .rem { flex: none; font-size: 12px; color: var(--card-sub); display: inline-flex; align-items: center; gap: 2px; }
.w-todo .rem.due { color: var(--danger); }
.w-todo .ops { display: none; gap: 2px; }
.w-todo li:hover .ops, .w-todo li:focus-within .ops { display: inline-flex; }
.w-todo .ops button { display: inline-flex; padding: 2px; border-radius: 6px; color: var(--card-sub); }
.w-todo .ops button:hover { color: var(--card-fg); background: var(--card-soft); }
.w-todo .ops .rm:hover { color: var(--danger); }
.w-todo .empty { margin: auto; padding: 0 12px 12px; }
.w-notes { padding: 0; }
.w-notes > .hd { padding: 10px 8px 6px var(--pad); }
.w-notes > .hd .act:hover { background: var(--card-soft); }
.w-notes textarea, .w-notes .nt-view {
flex: 1; min-height: 0; border: 0; outline: 0; resize: none; margin: 0; padding: 0 14px 10px var(--pad); font: inherit; font-size: 15px; font-weight: 500; line-height: 32px; color: var(--card-fg); letter-spacing: 0.15px;
background: repeating-linear-gradient(transparent 0 31px, var(--card-line) 31px 32px); background-attachment: local; scrollbar-width: thin;
}
.w-notes .nt-view { overflow: auto; word-break: break-word; }
.w-notes .nt-view h4 { font-size: 15px; margin: 0; }
.w-notes .nt-view h5 { font-size: 14px; margin: 0; }
.w-notes .nt-view h6 { font-size: 14px; margin: 0; color: var(--card-sub); }
.w-notes .nt-view p { margin: 0; }
.w-notes .nt-view ul, .w-notes .nt-view ol { margin: 0; padding-left: 20px; }
.w-notes .nt-view code { background: var(--card-soft); padding: 1px 5px; border-radius: 5px; font-size: 12px; font-family: ui-monospace, Consolas, monospace; }
.w-notes .nt-view blockquote { margin: 0; padding: 0 10px; border-left: 3px solid var(--card-line); color: var(--card-sub); }
.w-notes .nt-view a { color: rgb(var(--t2)); text-decoration: none; }
.w-notes .nt-view a:hover { text-decoration: underline; }
.w-notes .nt-view hr { border: 0; border-top: 1px solid var(--card-line); margin: 15px 0 16px; }
.nt-tabs { display: inline-flex; gap: 4px; }
.nt-tabs button { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 8px; font-size: 12px; color: var(--card-sub); display: inline-flex; align-items: center; justify-content: center; }
.nt-tabs button.on { background: var(--w-accent); color: var(--w-accent-ink); }
.nt-tabs button:hover:not(.on) { background: var(--card-soft); color: var(--card-fg); }
.nt-pick { height: 20px; padding: 0 4px 0 8px; border-radius: 10px; display: inline-flex; align-items: center; gap: 2px; background: var(--card-soft); color: var(--card-fg); font-size: 12px; font-family: var(--num-font); }
.nt-pick:hover { background: var(--w-accent); color: var(--w-accent-ink); }
.w-clock { padding: 12px var(--pad); }
.w-clock > .hd { position: absolute; top: 6px; right: 6px; z-index: 1; min-height: 0; }
.w-clock > .hd b { display: none; }
.w-clock ul { list-style: none; flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; justify-content: space-around; scrollbar-width: none; }
.w-clock li { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; font-size: 14px; border-bottom: 1px solid var(--card-line); }
.w-clock li:last-child { border-bottom: 0; }
.w-clock .ct { display: inline-flex; align-items: center; gap: 4px; color: var(--card-sub); min-width: 0; white-space: nowrap; }
.w-clock .ct .yi { flex: none; opacity: 0.85; }
.w-clock .ct .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.w-clock .ct .off { flex: none; font-size: 12px; opacity: 0.75; }
.w-clock li .tm { flex: none; margin-left: 4px; }
.w-clock .tm { font-family: var(--num-font); font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 700; color: var(--card-fg); }
.w-clock li { padding-right: 24px; }
.w-eng > .hd { display: none; }
.w-eng .en { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.45; font-weight: 600; text-wrap: pretty; color: var(--card-fg);
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.w-eng .zh { font-size: 13px; color: var(--card-sub); margin-top: 6px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.w-eng .more, .w-quote .more, .w-poem .more { margin-top: auto; display: flex; justify-content: flex-end; padding-top: 6px; }
.w-eng .more button, .w-quote .more button { font-size: 12px; line-height: 20px; color: var(--card-fg); background: var(--card-soft); padding: 2px 12px; border-radius: 999px; }
.w-eng .more button:hover, .w-quote .more button:hover { background: var(--w-accent); color: var(--w-accent-ink); }
.w-poem { justify-content: center; text-align: center; background: var(--w-paper-2); }
.w-poem::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 14px; height: 14px; border-radius: 3px; background: #c8463a; opacity: 0.75; }
.w-poem .ln { font-family: "KaiTi", "STKaiti", "Kaiti SC", "楷体", serif; font-size: 18px; line-height: 1.7; text-wrap: balance; letter-spacing: 1px; color: var(--card-fg); }
.w-poem .meta { font-size: 12px; color: var(--card-sub); margin-top: 8px; }
.w-poem .more { justify-content: center; margin-top: 8px; padding-top: 0; }
.w-poem .more button { font-size: 12px; color: rgb(var(--t2)); padding: 2px 10px; border-radius: 999px; }
.w-poem .more button:hover { background: rgb(var(--t2) / 0.12); }
.w-quote { padding: 18px var(--pad) var(--pad); }
.w-quote > .hd { display: none; }
.w-quote::before { content: '\201C'; position: absolute; top: -8px; left: 10px; font-family: Georgia, serif; font-size: 70px; line-height: 1; color: var(--w-accent); opacity: 0.35; }
.w-quote .q-t { position: relative; font-size: 15px; line-height: 1.65; font-weight: 500; text-wrap: balance; margin-top: 8px;
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.w-quote .q-f { font-size: 12px; color: var(--card-sub); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-calc { gap: 7px; padding: 12px; outline: none; }
.w-calc:focus-visible { box-shadow: 0 0 0 2px rgb(var(--t2)), var(--shadow-card); }
.w-calc .disp { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 2px; min-height: 52px; padding: 2px 6px; text-align: right;
font-family: var(--num-font); font-size: 30px; line-height: 1.15; font-weight: 400; overflow: hidden; white-space: nowrap; font-variant-numeric: tabular-nums; }
.w-calc .disp .calc-last { font-size: 12px; color: var(--card-sub); min-height: 16px; }
.w-calc .disp .calc-cur { white-space: nowrap; }
.w-calc .pad { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.w-calc .pad button { border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 16px; color: var(--w-dark-ink); display: inline-flex; align-items: center; justify-content: center; transition: filter 0.12s ease, transform 0.08s ease, background 0.12s ease; }
.w-calc .pad button:hover { background: rgba(255, 255, 255, 0.18); }
.w-calc .pad button:active { transform: scale(0.95); }
.w-calc .pad .op, .w-calc .pad .eq { background: var(--w-accent); color: #fff; font-size: 18px; }
.w-calc .pad .op:hover, .w-calc .pad .eq:hover { background: var(--w-accent); filter: brightness(1.08); }
.w-calc .pad .fn { background: rgba(255, 255, 255, 0.2); }
.w-holiday { text-align: center; justify-content: center; cursor: pointer; }
.w-holiday > .hd { display: none; }
.w-holiday .hol-name { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.w-holiday .hol-days { font-size: 14px; color: var(--card-sub); margin-top: 2px; }
.w-holiday .hol-days b, .w-anniv .anniv-days b { font-family: var(--num-font); font-size: 42px; font-weight: 700; color: rgb(var(--t2)); margin: 0 2px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.w-holiday .hol-date, .w-anniv .anniv-date { font-size: 12px; color: var(--card-sub); margin-top: 2px; }
.w-holiday .hol-note { font-size: 12px; color: var(--card-sub); opacity: 0.85; margin-top: 2px; }
.w-holiday .hol-empty { margin: auto; color: var(--card-sub); }
.w-anniv { text-align: center; justify-content: center; cursor: pointer; }
.w-anniv > .hd { justify-content: center; }
.w-anniv > .hd b { color: var(--card-fg); max-width: 100%; }
.w-anniv > .hd b .yi { color: rgb(var(--t2)); }
.w-anniv .anniv-word { font-size: 14px; color: var(--card-sub); margin-top: 8px; }
.w-anniv .anniv-days { font-size: 14px; margin-top: 0; }
.w-dc { cursor: pointer; }
.w-dc > .hd { position: absolute; top: 6px; right: 6px; z-index: 2; min-height: 0; }
.w-dc > .hd b { display: none; }
.w-dc > .hd .act { color: var(--card-sub); }
.w-dc .dc-top { flex: none; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 4px; padding: 14px var(--pad) 10px; color: var(--card-fg); background: var(--card-soft); }
.w-dc .dc-top .n { font-size: 14px; color: var(--card-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 20px; }
.w-dc .dc-top .d { font-family: var(--num-font); font-size: 32px; font-weight: 700; line-height: 1.1; color: rgb(var(--t2)); font-variant-numeric: tabular-nums; }
.w-dc .dc-top .d small { font-size: 13px; margin-left: 3px; font-weight: 500; color: var(--card-sub); }
.w-dc .dc-top .dt { font-size: 12px; color: var(--card-sub); }
.w-dc ul { padding-top: 2px; }
.w-dc li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; border-bottom: 1px solid var(--card-line); }
.w-dc li .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-dc li .d { color: rgb(var(--t2)); font-family: var(--num-font); font-variant-numeric: tabular-nums; flex: none; }
.w-dc li .d.past { color: var(--card-sub); }
.dc-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.w-dc .empty .pill-btn { padding: 6px 16px; }
.w-prog { justify-content: space-evenly; padding: 12px var(--pad); }
.w-prog > .hd { display: none; }
.w-prog .pg-l { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 12px; color: var(--card-sub); margin-bottom: 4px; white-space: nowrap; }
.w-prog .pg-l b { color: var(--card-fg); font-weight: 700; font-size: 14px; }
.w-prog .pg-l span { overflow: hidden; text-overflow: ellipsis; font-family: var(--num-font); font-variant-numeric: tabular-nums; }
.w-prog .pg-bar { height: 8px; border-radius: 4px; background: var(--card-soft); overflow: hidden; }
.w-prog .pg-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgb(var(--w-accent-rgb-1)), rgb(var(--w-accent-rgb))); }
.w-prog .pg:nth-child(3) .pg-bar i { opacity: 0.85; }
.w-prog .pg:nth-child(4) .pg-bar i { opacity: 0.7; }
.w-prog .pg:nth-child(5) .pg-bar i { opacity: 0.55; }
.w-aiquick { padding: 10px; background: var(--folder); border-color: var(--folder-border); color: var(--label-fg);
backdrop-filter: blur(var(--folder-blur)) saturate(1.5); -webkit-backdrop-filter: blur(var(--folder-blur)) saturate(1.5); }
.w-aiquick > .hd { display: none; }
.w-aiquick .aiq-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; }
.w-aiquick.wide .aiq-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.w-aiquick:not(.wide) .aiq-item:nth-child(n+5), .w-aiquick.wide .aiq-item:nth-child(n+9) { display: none; }
.w-aiquick .aiq-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 0; padding: 2px; border-radius: 12px; color: inherit; font-size: 12px; }
.w-aiquick .aiq-item:hover { background: rgba(255, 255, 255, 0.14); }
.w-aiquick .aiq-item .ic { width: auto; height: auto; flex: 1; min-height: 0; max-width: 100%; max-height: 46px; aspect-ratio: 1 / 1; font-size: 16px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16); }
.w-aiquick .aiq-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: var(--label-shadow); line-height: 16px; }
.w-toolbox { padding: 12px 8px; }
.w-toolbox > .hd { position: absolute; top: 4px; right: 4px; z-index: 1; min-height: 0; }
.w-toolbox > .hd b { display: none; }
.w-toolbox .tb-entries { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px 2px; margin-top: 12px; }
.w-toolbox .tb-entries button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 4px 0; border-radius: 12px; color: var(--card-fg); font-size: 12px; line-height: 16px; transition: background 0.15s ease; }
.w-toolbox .tb-entries button:hover { background: var(--card-soft); }
.w-toolbox .tb-entries button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-toolbox .tb-entries .yi { width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: rgb(var(--t2)); background: rgb(var(--t2) / 0.14); }
.w-toolbox .tb-entries button:hover .yi { color: var(--w-accent-ink); background: rgb(var(--t2)); }
.w-pomo { align-items: center; text-align: center; padding: 8px 10px 12px; }
.w-pomo.rest { --t1: 128 196 140; --t2: 70 160 96; }
.w-pomo > .hd { width: 100%; min-height: 18px; }
.w-pomo > .hd b { display: none; }
.w-pomo > .hd > span { width: 100%; justify-content: space-between; }
.w-pomo .ring { position: relative; width: 88px; height: 88px; margin: 0 auto; flex: none; cursor: pointer; }
.w-pomo .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.w-pomo .ring .bg { stroke: var(--card-soft); }
.w-pomo .ring .fg { stroke: rgb(var(--t2)); transition: stroke-dashoffset 0.5s linear; }
.w-pomo .ring .tm { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.w-pomo .ring .tm b { font-family: var(--num-font); font-size: 22px; font-weight: 700; color: var(--card-fg); font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.w-pomo .ring .tm small { font-size: 12px; color: var(--card-sub); }
.w-pomo .ctl { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: auto; }
.w-pomo .ctl button { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--card-soft); color: var(--card-fg); transition: background 0.15s ease, transform 0.08s ease; }
.w-pomo .ctl button:hover { background: var(--card-soft-h); }
.w-pomo .ctl button:active { transform: scale(0.94); }
.w-pomo .ctl button.main { width: 36px; height: 36px; background: rgb(var(--t2)); color: var(--w-accent-ink); box-shadow: 0 4px 10px rgb(var(--t2) / 0.3); }
@container (max-height: 150px) { .w-pomo .ring { width: 74px; height: 74px; } .w-pomo .ring .tm b { font-size: 18px; } }
.w-noise { padding: 10px 10px 12px; }
.w-noise > .hd { min-height: 18px; }
.w-noise > .hd b { display: none; }
.w-noise > .hd .act { font-size: 12px; margin-left: auto; }
.w-noise > .hd .tm-l { font-size: 12px; margin-left: 2px; }
.w-noise .nz-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 5px; margin-top: 4px; }
.w-noise .nz { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 2px; border-radius: 12px; background: var(--w-dark-chip); font-size: 12px; color: var(--w-dark-ink); transition: background 0.15s ease; }
.w-noise .nz:hover { background: rgba(255, 255, 255, 0.18); }
.w-noise .nz .yi { color: var(--w-dark-sub); }
.w-noise .nz.on { background: var(--w-accent); color: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
.w-noise .nz.on .yi { color: #fff; }
.w-noise .nz-foot { flex: none; display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--card-sub); }
.w-noise .nz-foot input { flex: 1; min-width: 0; accent-color: var(--w-accent); }
.w-noise .nz-foot button { display: inline-flex; padding: 3px; border-radius: 7px; }
.w-noise .nz-foot button:hover { background: rgba(255, 255, 255, 0.16); }
.w-habit { padding: 0; }
.w-habit ul { padding: 0 18px 14px; margin: 0 -4px; }
.w-habit li { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0; border-bottom: 1px solid var(--card-line); font-size: 15px; font-weight: 500; }
.w-habit li .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.w-habit li .st { font-size: 12px; color: var(--card-sub); flex: none; font-weight: 400; }
.w-habit .hb-ck { width: 22px; height: 22px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--w-check); color: transparent; flex: none; transition: background 0.15s ease, border-color 0.15s ease; }
.w-habit .hb-ck:hover { border-color: rgb(var(--t2)); }
.w-habit li.done .hb-ck { background: rgb(var(--t2)); border-color: rgb(var(--t2)); color: #fff; }
.w-habit li.done .st { color: rgb(var(--t2)); }
.w-habit .heat { flex: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: 0 var(--pad) 12px; }
.w-habit .heat i { aspect-ratio: 1 / 1; border-radius: 4px; background: var(--card-soft); }
.w-habit .heat i.l1 { background: rgb(var(--t2) / 0.3); } .w-habit .heat i.l2 { background: rgb(var(--t2) / 0.62); } .w-habit .heat i.l3 { background: rgb(var(--t2)); }
.w-habit .heat i.today { box-shadow: inset 0 0 0 1.5px var(--card-fg); }
.w-habit .hb-empty { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: safe center; gap: 10px; padding: 0 var(--pad) 12px; text-align: center; }
.w-habit .hb-empty p { font-size: 12px; line-height: 18px; color: var(--card-sub); }
.w-habit .hb-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-en .w-habit .hb-quick { grid-template-columns: 1fr; }
.w-habit .hb-quick button { display: inline-flex; align-items: center; justify-content: center; gap: 1px; min-width: 0; height: 28px; padding: 0 4px; border-radius: 999px; background: var(--card-soft); color: var(--card-fg); font-size: 12px; white-space: nowrap; overflow: hidden; transition: background 0.15s ease, color 0.15s ease; }
.w-habit .hb-quick button .yi { flex: none; color: rgb(var(--t2)); transition: color 0.15s ease; }
.w-habit .hb-quick button:hover { background: rgb(var(--t2)); color: #fff; }
.w-habit .hb-quick button:hover .yi { color: #fff; }
.w-fx { padding: 0; }
.w-fx .fx-main { display: flex; flex-direction: column; gap: 4px; margin: 6px 12px 0; }
.w-fx .fx-in { display: flex; align-items: center; gap: 4px; background: var(--card-soft); border-radius: 12px; padding: 4px 10px; }
.w-fx .fx-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--num-font); font-size: 16px; color: var(--card-fg); font-variant-numeric: tabular-nums; }
.w-fx .fx-in input[readonly] { color: rgb(var(--t2)); font-weight: 700; }
.w-fx .fx-in input.long { font-size: 13px; }
.w-fx .fx-in input.xl { font-size: 12px; }
.w-fx .fx-in select { border: 0; outline: 0; font-size: 13px; color: var(--card-fg); cursor: pointer; max-width: 66px; -webkit-appearance: none; appearance: none; padding-right: 14px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6848' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 12px no-repeat; }
.w-fx .fx-sw { align-self: center; display: inline-flex; padding: 1px; border-radius: 8px; color: var(--card-sub); transform: rotate(90deg); }
.w-fx .fx-sw:hover { color: rgb(var(--t2)); }
.w-fx .fx-list { margin: 8px 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; font-size: 12px; color: var(--card-sub); }
.w-fx .fx-list b { color: var(--card-fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.w-fx .fx-foot { margin: auto 14px 10px; font-size: 12px; color: var(--card-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-fx .empty { padding: 0 10px 10px; }
@container (max-height: 200px) { .w-fx .fx-list, .w-fx .fx-foot { display: none; } }
.w-top { padding: 12px 10px; }
.w-top > .hd { display: none; }
.w-top .ts-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 4px; align-content: stretch; }
.w-top .ts { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; color: var(--card-fg); cursor: pointer; min-width: 0; border-radius: 12px; }
.w-top .ts:hover { background: var(--card-soft); }
.w-top .ts .ic { width: 38px; height: 38px; font-size: 15px; transition: transform 0.15s ease; }
.w-top .ts:hover .ic { transform: translateY(-2px); }
.w-top .ts small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-panel { width: 520px; max-width: 92vw; }
.overlay .panel.fd-panel { display: flex; flex-direction: column; max-height: calc(100vh - 150px); }
.fd-apps { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; margin: 0 -8px; padding: 0 8px; }
.fd-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-right: 40px; }
.fd-title h3 { margin: 0 !important; cursor: text; border-radius: 6px; padding: 2px 4px; }
.fd-title h3:hover { background: var(--panel-soft); }
.fd-title input { font-size: 16px; font-weight: 600; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--yh-accent); background: var(--input); color: var(--panel-fg); outline: none; width: 220px; }
.fd-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.fd-app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-size: 12px; color: var(--panel-fg); padding: 6px 2px; border-radius: 12px; }
.fd-app:hover { background: var(--panel-soft); }
.fd-app .ic { width: 52px; height: 52px; font-size: 20px; }
.fd-app small { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-app .fd-x { position: absolute; top: 0; right: 10px; width: 20px; height: 20px; border-radius: 50%; display: none; align-items: center; justify-content: center; background: var(--panel-soft-h); color: var(--panel-fg); }
.fd-app:hover .fd-x { display: flex; }
.fd-app.dragging { opacity: 0.35; }
.fd-app.drop-before::before, .fd-app.drop-after::after { content: ''; position: absolute; top: 8px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--yh-accent); }
.fd-app.drop-before::before { left: -6px; }
.fd-app.drop-after::after { right: -6px; }
.fd-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; color: var(--panel-sub); }
#overlay-root > .overlay.wx-ov { padding: 24px; }
.wx {
--wx-bg: radial-gradient(circle at 74% 0%, rgba(255, 241, 196, 0.9), rgba(255, 226, 150, 0.28) 13%, rgba(255, 226, 150, 0) 34%), linear-gradient(180deg, #2c6bc2 0%, #4b8bd6 48%, #82b6e8 100%);
position: relative; isolation: isolate; display: flex; flex-direction: column; width: min(1000px, 100%); max-height: min(840px, 100%); overflow: hidden;
border-radius: 24px; background: var(--wx-bg); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
box-shadow: 0 34px 90px -24px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12); animation: wxIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes wxIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.wx[data-sky="cloud"] { --wx-bg: linear-gradient(180deg, #444b59 0%, #626a79 46%, #868d9b 100%); }
.wx[data-sky="rain"] { --wx-bg: linear-gradient(180deg, #232c39 0%, #394657 50%, #546478 100%); }
.wx[data-sky="snow"] { --wx-bg: linear-gradient(180deg, #4f6283 0%, #7689a6 52%, #9dafc6 100%); }
.wx[data-sky="fog"] { --wx-bg: linear-gradient(180deg, #555a62 0%, #747880 50%, #95999f 100%); }
.wx[data-sky="night"] { --wx-bg: radial-gradient(circle at 84% 4%, rgba(220, 230, 255, 0.3), rgba(220, 230, 255, 0) 20%), linear-gradient(180deg, #08122b 0%, #132347 52%, #243766 100%); }
.wx-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.wx-sky i {
position: absolute; left: -12%; top: -10%; width: 58%; height: 38%; opacity: calc(var(--o, 0.5) * var(--k, 1)); filter: blur(12px);
background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)) 0 64% / 46% 72% no-repeat, radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)) 26% 0 / 48% 100% no-repeat,
radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)) 60% 22% / 44% 90% no-repeat, radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)) 100% 64% / 40% 68% no-repeat;
animation: wxDrift 70s ease-in-out infinite alternate;
}
.wx-sky i:nth-child(2) { left: auto; right: -16%; top: 0; width: 52%; animation-duration: 90s; animation-direction: alternate-reverse; }
.wx-sky i:nth-child(3) { left: 30%; top: -16%; width: 44%; height: 30%; --k: 0.7; animation-duration: 110s; }
@keyframes wxDrift { from { transform: translateX(-5%); } to { transform: translateX(7%); } }
.wx[data-sky="day"] .wx-sky i { --o: 0.3; }
.wx[data-sky="cloud"] .wx-sky i { --o: 0.55; }
.wx[data-sky="rain"] .wx-sky i { --o: 0.2; }
.wx[data-sky="snow"] .wx-sky i { --o: 0.42; }
.wx[data-sky="fog"] .wx-sky i { --o: 0.22; }
.wx[data-sky="night"] .wx-sky i { --o: 0.07; }
.wx-sky b { position: absolute; inset: 0; }
.wx[data-sky="day"] .wx-sky b {
background: repeating-conic-gradient(from 0deg at 74% 0%, rgba(255, 255, 255, 0.07) 0 3deg, rgba(255, 255, 255, 0) 3deg 11deg);
-webkit-mask-image: radial-gradient(circle at 74% 0%, #000, transparent 58%); mask-image: radial-gradient(circle at 74% 0%, #000, transparent 58%);
}
.wx[data-sky="rain"] .wx-sky b, .wx[data-sky="snow"] .wx-sky b { inset: -160px -20% -10%; animation: wxFall 0.7s linear infinite; }
.wx[data-sky="rain"] .wx-sky b {
--tilt: 12deg; background-image: radial-gradient(1px 14px, rgba(220, 234, 255, 0.55), transparent), radial-gradient(1px 10px, rgba(220, 234, 255, 0.4), transparent), radial-gradient(1px 12px, rgba(220, 234, 255, 0.48), transparent);
background-size: 43px 160px, 71px 160px, 31px 160px; background-position: 0 0, 19px 52px, 7px 109px;
}
.wx[data-sky="snow"] .wx-sky b {
--tilt: -8deg; animation-duration: 7s; background-image: radial-gradient(circle 2.2px, #fff, transparent), radial-gradient(circle 1.6px, rgba(255, 255, 255, 0.85), transparent), radial-gradient(circle 2.8px, rgba(255, 255, 255, 0.7), transparent);
background-size: 67px 160px, 43px 160px, 97px 160px; background-position: 0 0, 23px 61px, 51px 117px;
}
@keyframes wxFall { from { transform: rotate(var(--tilt)) translateY(0); } to { transform: rotate(var(--tilt)) translateY(160px); } }
.wx[data-sky="night"] .wx-sky b {
background-image: radial-gradient(circle 1px, #fff, transparent), radial-gradient(circle 1.3px, rgba(255, 255, 255, 0.75), transparent), radial-gradient(circle 0.8px, rgba(255, 255, 255, 0.85), transparent);
background-size: 113px 89px, 157px 131px, 71px 67px; background-position: 0 0, 41px 23px, 17px 49px;
-webkit-mask-image: linear-gradient(#000 15%, transparent 70%); mask-image: linear-gradient(#000 15%, transparent 70%); animation: wxTwinkle 3.6s ease-in-out infinite alternate;
}
@keyframes wxTwinkle { from { opacity: 0.5; } }
.wx[data-sky="fog"] .wx-sky b {
inset: 0 -20%; filter: blur(8px); animation: wxMist 18s ease-in-out infinite alternate;
background: radial-gradient(40% 12% at 30% 38%, rgba(255, 255, 255, 0.26), transparent), radial-gradient(36% 10% at 72% 60%, rgba(255, 255, 255, 0.22), transparent), radial-gradient(50% 14% at 45% 86%, rgba(255, 255, 255, 0.2), transparent);
}
@keyframes wxMist { from { transform: translateX(-5%); } to { transform: translateX(5%); } }
.wx-hd { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 18px 0 24px; }
.wx-t { font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.wx-city { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: min(560px, 60vw); height: 32px; padding: 0 12px; border-radius: 16px; font-size: 15px; white-space: nowrap; transition: background 0.15s ease; }
.wx-city .yi { flex: none; }
.wx-city b { font-weight: 600; }
.wx-city small { margin-left: 3px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.wx-city em { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 22px; margin-left: 6px; padding: 0 8px; border-radius: 11px; background: rgba(255, 255, 255, 0.16); font-size: 12px; font-style: normal; transition: background 0.15s ease; }
button.wx-city:hover { background: rgba(255, 255, 255, 0.12); }
button.wx-city:hover em { background: rgba(255, 255, 255, 0.28); }
.wx-x { justify-self: end; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); transition: background 0.15s ease, transform 0.2s ease; }
.wx-x:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }
.wx-body { flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; padding: 0 24px 20px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
.wx-now { display: flex; flex-direction: column; align-items: center; padding: 4px 0 2px; }
.wx-temp { display: flex; align-items: flex-start; font-family: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-size: 100px; font-weight: 600; line-height: 1; letter-spacing: -4px; font-variant-numeric: tabular-nums; text-shadow: 0 10px 34px rgba(0, 0, 0, 0.18); }
.wx-temp sup { margin: 10px 0 0 6px; font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: 0; }
.wx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin-top: 12px; }
.wx-chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 13px; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wx-chip .wi { margin-left: -5px; }
.wx-chip.wx-flag { background: rgba(255, 196, 84, 0.3); }
.wx-aqi { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22); }
.wx-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 6px 8px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.wx-sun { display: inline-flex; gap: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.wx-card { border-radius: 18px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.wx-hs { overflow: auto hidden; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
.wx-grid { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); padding: 8px 10px; }
.wx-hg { grid-template-columns: repeat(var(--n), minmax(66px, 1fr)); grid-template-rows: 94px auto; width: max-content; min-width: 100%; box-sizing: border-box; }
.wx-dg { grid-template-rows: auto 120px; }
.wx-hl { grid-column: 1; grid-row: 1 / -1; margin: 0 2px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); }
.wx-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); text-align: center; }
.wx-c.on { color: #fff; font-weight: 600; }
.wx-hg .wx-c { grid-row: 2; padding-bottom: 8px; }
.wx-dg .wx-c { grid-row: 1; padding-top: 10px; }
.wx-dg .wx-c b { font-size: 14px; font-weight: 600; color: #fff; }
.wx-c .wi { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.16)); }
.wx-plot { position: relative; grid-column: 1 / -1; }
.wx-hg .wx-plot { grid-row: 1; }
.wx-dg .wx-plot { grid-row: 2; }
.wx-pbox { position: absolute; left: 0; right: 0; top: 34px; bottom: 14px; }
.wx-dg .wx-pbox { top: 30px; bottom: 30px; }
.wx-pbox svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wx-line { fill: none; stroke: rgba(255, 255, 255, 0.92); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wx-line.hi { stroke: #ffcf86; }
.wx-line.lo { stroke: #dff1ff; }
.wx-area { fill: url(#wx-fade); }
.wx-pt { position: absolute; width: 0; height: 0; }
.wx-pt::before { content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24); }
.wx-pt.hi::before { background: #ffe1ad; box-shadow: 0 0 0 3px rgba(255, 190, 100, 0.32); }
.wx-pt.lo::before { background: #fff; box-shadow: 0 0 0 3px rgba(170, 215, 255, 0.4); }
.wx-pt b { position: absolute; left: 0; bottom: 9px; transform: translateX(-50%); font-size: 14px; font-weight: 600; white-space: nowrap; }
.wx-pt.lo b { top: 9px; bottom: auto; color: rgba(255, 255, 255, 0.85); }
.wx-life { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); padding: 4px 0; }
.wx-l { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.wx-l + .wx-l { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1); }
.wx-l b { font-size: 15px; font-weight: 600; color: #fff; }
.wx-src { margin: 16px 6px 0; font-size: 12px; line-height: 1.6; text-align: center; color: rgba(255, 255, 255, 0.62); }
@media (max-width: 760px) { .wx-temp { font-size: 80px; } .wx-city small { display: none; } .wx-hd { padding: 14px 14px 0 18px; } .wx-body { padding: 0 14px 14px; } }
@media (max-height: 760px) { .wx-temp { font-size: 84px; } .wx-chips { margin-top: 10px; } .wx-sec { margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .wx, .wx-sky i, .wx-sky b { animation: none; } }
.city-pick .cp-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; margin-top: 8px; }
.city-pick .cp-item { text-align: left; padding: 9px 12px; border-radius: 10px; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.city-pick .cp-item:hover, .city-pick .cp-item.on { background: var(--panel-soft-h); }
.city-pick .cp-item small { color: var(--panel-sub); font-size: 12px; }
.city-pick .cp-auto { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--panel-fg); font-size: 14px; margin-bottom: 10px; }
.city-pick .cp-hot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.city-pick .cp-hot button { padding: 5px 11px; border-radius: 9px; background: var(--panel-soft); font-size: 12px; }
.city-pick .cp-hot button:hover { background: var(--panel-soft-h); }
.city-pick .cp-msg { font-size: 12px; color: var(--panel-sub); padding: 8px 4px; }
.cal-panel { width: 720px; max-width: 94vw; }
.cal-top, .hl-day { display: none; }
.overlay .panel.cal-panel { max-width: 94vw; }
.cal-wrap { display: flex; gap: 18px; }
.cal-main { flex: 1; min-width: 0; }
.cal-side { width: 220px; flex: none; border-left: 1px solid var(--panel-line); padding-left: 18px; font-size: 13px; }
.cal-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-right: 42px; }
.cal-hd button { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--panel-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.cal-hd button:hover { background: var(--panel-soft-h); }
.cal-title { flex: 1; text-align: center; font-size: 16px; font-weight: 600; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.cal-w { text-align: center; font-size: 12px; color: var(--panel-sub); padding: 4px 0; }
.cal-w.wk { color: #f07850; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-cell { position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; }
.cal-cell b { font-size: 16px; font-weight: 500; font-family: var(--num-font); }
.cal-cell small { font-size: 12px; line-height: 16px; color: var(--panel-sub); margin-top: 1px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cal-cell.out { opacity: 0.32; }
.cal-cell.wkd b { color: #f07850; }
.cal-cell.fest small { color: var(--yh-accent); }
.cal-cell.sel { box-shadow: inset 0 0 0 2px var(--yh-accent); }
.cal-cell.today { background: var(--yh-accent); }
.cal-cell.today b, .cal-cell.today small { color: #fff; }
.cal-cell:hover:not(.today) { background: var(--panel-soft); }
.cal-badge { position: absolute; top: 3px; right: 3px; font-size: 11px; line-height: 15px; padding: 0 3px; border-radius: 4px; color: #fff; }
.cal-badge.off { background: #22b573; }
.cal-badge.work { background: #8a94a6; }
.cal-foot { margin-top: 12px; font-size: 12px; color: var(--panel-sub); text-align: center; }
.hl-date { font-size: 30px; font-weight: 300; line-height: 1.1; }
.hl-sub { color: var(--panel-sub); font-size: 12px; margin-top: 4px; line-height: 1.7; }
.hl-row { margin-top: 12px; }
.hl-row .k { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; font-size: 12px; margin-right: 8px; flex: none; }
.hl-row .k.y { background: #22b573; }
.hl-row .k.j { background: #e8504a; }
.hl-row .k.c { background: #8a6cf0; }
.hl-row .v { line-height: 22px; display: flex; flex-wrap: wrap; gap: 0 12px; min-width: 0; }
.hl-row .v i { font-style: normal; white-space: nowrap; }
.hl-line { display: flex; align-items: flex-start; }
.hl-note { font-size: 12px; color: var(--panel-sub); margin-top: 14px; }
.dc-edit .dc-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--panel-soft); margin-bottom: 6px; font-size: 13px; }
.dc-edit .dc-row .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-edit .dc-row small { color: var(--panel-sub); }
.dc-edit .dc-row button { display: inline-flex; padding: 4px; border-radius: 7px; color: var(--panel-sub); }
.dc-edit .dc-row button:hover { background: var(--panel-soft-h); color: var(--panel-fg); }
.tb-panel { width: 420px; max-width: 92vw; }
.tb-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tb-tabs button { height: 30px; padding: 0 12px; border-radius: 8px; background: var(--panel-soft); color: var(--panel-fg); font-size: 13px; transition: background 0.15s ease, color 0.15s ease; }
.tb-tabs button:hover { background: var(--panel-soft-h); }
.tb-tabs button.on { background: var(--accent-soft); color: var(--yh-accent); font-weight: 500; }
.tb-row { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.tb-row input, .tb-row select, .tb-row textarea { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--input-line); background: var(--input); color: var(--panel-fg); outline: none; font-size: 14px; }
.tb-row input, .tb-row textarea { flex: 1; min-width: 0; }
.tb-row select { width: 110px; }
.tb-row label { font-size: 13px; color: var(--panel-sub); display: flex; align-items: center; gap: 6px; }
.tb-eq { text-align: center; font-size: 16px; color: var(--panel-sub); margin: 2px 0; }
.tb-note { font-size: 12px; color: var(--panel-sub); margin-top: 4px; line-height: 1.6; }
.tb-cap { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--panel-soft); font-size: 18px; line-height: 1.6; min-height: 40px; word-break: break-all; font-variant-numeric: tabular-nums; }
.tb-cap.mono { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 16px; }
.tabbar { display: flex; align-items: stretch; gap: 24px; }
.tabbar > button { position: relative; height: 42px; padding: 0 2px; font-size: 14px; color: var(--panel-sub); background: none; border-radius: 0; white-space: nowrap; transition: color 0.15s ease; }
.tabbar > button:hover { color: var(--panel-fg); }
.tabbar > button.on { color: var(--panel-fg); text-shadow: 0 0 0.5px currentColor, 0 0 0.5px currentColor; }
.tabbar > button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--yh-accent); }
.tabbar > button:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--yh-accent); color: var(--panel-fg); }
.overlay .panel.ap-panel { width: 760px; max-width: 94vw; height: min(640px, 86vh); max-height: none; padding: 22px 24px 0; display: flex; flex-direction: column; overflow: hidden; }
.ap-panel > h3 { margin-bottom: 4px; }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ap-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: 12px; border: 1px solid var(--panel-line); background: none; font-size: 12px; text-align: center; color: var(--panel-fg);
transition: box-shadow 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.18s ease; }
.ap-card:hover { border-color: transparent; transform: translateY(-2px); box-shadow: 0 0 0 1px var(--panel-line), 0 10px 24px -10px rgba(15, 20, 30, 0.22); }
.ap-card:active { transform: translateY(0) scale(0.98); }
.ap-card b { font-size: 14px; font-weight: 600; line-height: 20px; }
.ap-card small { font-size: 13px; line-height: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-card .ic { width: 44px; height: 44px; font-size: 18px; }
.ap-card em { display: none; }
.ap-card .ap-tag { display: none; }
.ap-card.added::after, .ap-card:not(.added):hover::after {
content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%;
background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ap-card:not(.added):hover::after { background: var(--yh-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ap-cat-t { font-size: 12px; color: var(--panel-sub); margin: 10px 0 6px; }
.ap-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.ap-form .fld { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--panel-sub); }
.ap-form .err { color: var(--danger); font-size: 12px; min-height: 16px; }
.se-preview { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.se-preview .ic { width: 56px; height: 56px; font-size: 22px; }
.se-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.se-colors .sw { width: 24px; height: 24px; }
.se-icon-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.overlay .panel.wl-panel { width: 820px; max-width: 94vw; max-height: 86vh; }
.wl-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; padding-right: 40px; }
.wl-sec { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--panel-sub); margin: 16px 0 10px; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.wl-presets { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.wl-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0; font-size: 12px; text-align: center; color: var(--panel-fg); }
.wl-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; object-fit: cover; background: var(--panel-soft); border: 2px solid transparent; transition: transform 0.15s ease, border-color 0.15s ease; }
.wl-item:hover .wl-thumb { transform: translateY(-2px); }
.wl-item.on .wl-thumb { border-color: var(--yh-accent); }
.wl-item.on::after { content: '使用中'; position: absolute; top: 6px; right: 6px; font-size: 12px; padding: 1px 8px; border-radius: 10px; background: var(--yh-accent); color: #fff; }
.lang-en .wl-item.on::after { content: 'In use'; }
.wl-item .fav { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 50%; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); color: #fff; }
.wl-item:hover .fav, .wl-item .fav.on { display: inline-flex; }
.wl-item .fav.on { color: #ff6b8a; }
.wl-item .del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); color: #fff; }
.wl-item:hover .del { display: inline-flex; }
.wl-empty { color: var(--panel-sub); font-size: 13px; }
.wl-foot { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wl-auto { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--panel-soft); }
.wl-credit { font-size: 12px; color: var(--panel-sub); margin-top: 10px; line-height: 1.6; }
.im-drop { border: 2px dashed var(--input-line); border-radius: 14px; padding: 22px; text-align: center; color: var(--panel-sub); font-size: 13px; cursor: pointer; }
.im-drop:hover, .im-drop.over { border-color: var(--yh-accent); color: var(--panel-fg); background: var(--accent-soft); }
.im-sum { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel-soft); font-size: 13px; line-height: 1.8; }
.im-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 13px; }
.im-opts label { display: flex; align-items: center; gap: 8px; }
.bm-tree { max-height: 300px; overflow: auto; padding: 8px; border-radius: 12px; background: var(--panel-soft); font-size: 13px; }
.bm-tree label { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.bm-tree .bm-c { padding-left: 20px; }
.bm-tree small { color: var(--panel-sub); }
.ap-top { display: flex; align-items: center; gap: 16px; margin: 0 -24px 16px; padding: 0 24px; border-bottom: 1px solid var(--panel-line); }
.ap-search { margin-left: auto; flex: 0 1 240px; min-width: 150px; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; background: var(--panel-soft); color: var(--panel-sub);
transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.ap-search:hover { background: var(--panel-soft-h); }
.ap-search:focus-within { background: none; border-color: var(--yh-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ap-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0; font-size: 13px; color: var(--panel-fg); }
.ap-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -24px; padding: 0 24px 24px; }
.ap-cats { margin-bottom: 14px; }
.ap-wgrid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.ap-wc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 16px; background: var(--panel-soft); overflow: hidden; }
.apw-cover { position: relative; flex: none; height: 180px; }
.apw-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; user-select: none; }
.apw-box { flex: none; }
.apw-nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; padding: 0; border: 0; border-radius: 50%;
background: var(--panel); color: var(--panel-fg); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); cursor: pointer; opacity: 0.85; transition: opacity 0.15s ease, transform 0.15s ease; }
.apw-nav:hover { opacity: 1; transform: scale(1.08); }
.apw-nav.prev { left: 10px; }
.apw-nav.next { right: 10px; }
.apw-info { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 14px; }
.apw-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 24px; }
.apw-sizes > button { height: 24px; padding: 0 9px; border: 0; border-radius: 12px; background: none; color: var(--panel-sub); font-size: 12px; font-family: var(--num-font); cursor: pointer; }
.apw-sizes > button:hover { color: var(--panel-fg); background: var(--panel-soft-h); }
.apw-sizes > button.on { background: var(--panel); color: var(--panel-fg); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.apw-ok { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; font-size: 12px; color: var(--yh-accent); }
.ap-wc:not(.added) .apw-ok { display: none; }
.apw-row { display: flex; align-items: center; gap: 12px; }
.apw-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.apw-t b { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--panel-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apw-t small { font-size: 12px; line-height: 18px; color: var(--panel-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-wc .apw-add { flex: none; height: 32px; padding: 0 18px; border-radius: 16px; }
.ap-body:has(> .apc-wrap) { display: flex; flex-direction: column; }
.apc-wrap { container-type: inline-size; flex: 1 0 auto; display: flex; flex-direction: column; }
.apc-wrap > .ap-form.ap-custom { flex: 1 0 auto; }
:root[data-skin] .ap-panel .ap-form.ap-custom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 22px; max-width: none; align-items: stretch; }
.apc-pv { position: relative; display: flex; flex-direction: column; min-height: 400px; border-radius: 16px; background: var(--panel-soft); overflow: hidden; }
.apc-pv-t { padding-top: 18px; text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 1px; color: var(--panel-fg); }
.apc-desk { --apc-cell: 76px; --apc-row: 88px; flex: 1; contain: size; display: grid; grid-template-columns: repeat(4, var(--apc-cell)); grid-auto-rows: var(--apc-row); gap: 12px 14px; place-content: center; padding: 8px; }
.apc-t { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; opacity: 0.42; filter: blur(0.8px) saturate(0.75); transition: opacity 0.2s ease; }
.apc-t .ic { width: 58px; height: 58px; font-size: 23px; border-radius: 16px; flex: none; }
.apc-t small { max-width: 76px; font-size: 12px; line-height: 16px; color: var(--panel-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apc-t.apc-new { opacity: 1; filter: none; }
.apc-t.apc-new .ic { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--yh-accent), 0 12px 28px rgba(0, 0, 0, 0.28); animation: apcFloat 3.2s ease-in-out infinite; }
.apc-t.apc-new small { font-weight: 600; }
@keyframes apcFloat { 50% { transform: translateY(-4px); } }
.apc-foot { margin: 0; padding: 0 18px 14px; text-align: center; font-size: 12px; line-height: 18px; color: var(--panel-sub); }
.apc-fm { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.apc-fm .fld { margin: 0; gap: 7px; }
.apc-kinds { display: flex; gap: 14px; }
.apc-kind { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 60px; padding: 0; border: 0; background: none; color: var(--panel-sub); font-size: 12px; cursor: pointer; }
.apc-kind > .apc-k { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--panel-soft); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.apc-kind:hover > .apc-k { transform: translateY(-1px); }
.apc-kind.on { color: var(--panel-fg); }
.apc-kind.on > .apc-k { box-shadow: 0 0 0 2px var(--yh-accent); }
.apc-kind:focus-visible { outline: none; }
.apc-kind:focus-visible > .apc-k { box-shadow: 0 0 0 2px var(--yh-accent), 0 0 0 5px var(--accent-soft); }
.apc-kind .ic { width: 100%; height: 100%; font-size: 22px; border-radius: inherit; }
.apc-kind .apc-none { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; border: 1.5px dashed var(--input-line); color: var(--panel-sub); box-sizing: border-box; }
.apc-url { position: relative; }
.yh-form .apc-url > input:not([type=checkbox]):not([type=color]) { padding-right: 92px; }
.apc-url > button { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); height: 28px; padding: 0 11px; border: 0; border-radius: 8px; background: var(--panel-soft-h); color: var(--panel-fg); font-size: 12px; cursor: pointer; }
.apc-url > button:hover { background: var(--accent-soft); color: var(--yh-accent); }
.apc-url > button:disabled { opacity: 0.6; cursor: progress; }
.apc-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 5px; }
.apc-sw, .apc-pick { position: relative; flex: none; width: 17px; height: 17px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); transition: transform 0.12s ease; }
.apc-sw:hover, .apc-pick:hover { transform: scale(1.15); }
.apc-sw.on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 2px var(--panel), 0 0 0 4px var(--yh-accent); }
.apc-sw.clear { background-image: repeating-conic-gradient(#c9ced8 0 25%, #fff 0 50%); background-size: 8px 8px; }
.apc-pick { overflow: hidden; background: conic-gradient(#f5455c, #ff9f2e, #f2c200, #22b573, #1aa0e0, #7b5cf0, #e64a9a, #f5455c); }
.yh-form .apc-pick input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.apc-msg { min-height: 18px; font-size: 12px; line-height: 18px; }
.apc-msg .err { min-height: 0; }
.apc-tip { color: var(--panel-sub); }
.apc-btns { display: flex; gap: 10px; margin-top: auto; }
.apc-btns .btn { height: 38px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.apc-btns #ap-add { flex: 1; }
@container (max-width: 640px) {
:root[data-skin] .ap-panel .ap-form.ap-custom { grid-template-columns: minmax(0, 1fr); }
.apc-wrap > .ap-form.ap-custom { flex: none; }
.apc-pv { display: none; }
}
@media (max-height: 700px) {
:root[data-skin] .overlay .ap-panel .apc-fm { gap: 6px; }
:root[data-skin] .overlay .ap-panel .apc-fm .fld { margin-bottom: 0; gap: 4px; }
:root[data-skin] .overlay .ap-panel .apc-fm input:not([type=color]) { height: 34px; }
:root[data-skin] .overlay .ap-panel .apc-kind > .apc-k { width: 44px; height: 44px; border-radius: 13px; }
:root[data-skin] .overlay .ap-panel .apc-pv { min-height: 0; }
}
.ap-body:has(> .ap-scroll) { display: flex; flex-direction: column; overflow: hidden; }
:root .overlay .panel .ap-body:has(> .ap-scroll) { padding-bottom: 0; }
.ap-body > .ap-cats { flex: none; }
.ap-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -8px; padding: 4px 8px 20px; scrollbar-width: none; }
.ap-scroll::-webkit-scrollbar { display: none; }
.ap-cats[data-hscroll] { display: flex; flex-wrap: nowrap; width: fit-content; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.ap-cats[data-hscroll]::-webkit-scrollbar { display: none; }
.ap-cats[data-hscroll] > button { flex: none; white-space: nowrap; }
.ap-cats[data-hscroll].fr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.ap-cats[data-hscroll].fl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.ap-cats[data-hscroll].fl.fr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
:root .overlay .panel .ap-body .ap-sgrid { grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 12px; }
:root .overlay .panel .ap-sgrid > .ap-card {
display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; justify-items: start; column-gap: 12px; row-gap: 2px;
width: auto; height: 84px; min-height: 0; padding: 0 14px; text-align: left; overflow: hidden; }
:root .overlay .panel .ap-sgrid > .ap-card > .ic { grid-column: 1; grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; font-size: 19px; }
:root .overlay .panel .ap-sgrid > .ap-card > small { grid-column: 2; max-width: 100%; margin: 0; font-size: 15px; font-weight: 600; line-height: 20px; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root .overlay .panel .ap-sgrid > .ap-card > em { grid-column: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 100%; min-height: 0; margin: 0; overflow: hidden; font-style: normal; font-size: 12px; line-height: 17px; color: var(--panel-sub); white-space: normal; overflow-wrap: anywhere; }
:root .overlay .panel .ap-sgrid > .ap-card > .ap-tag { display: none; }
.ap-card .ap-add { display: none; }
:root .overlay .panel .ap-sgrid > .ap-card > .ap-add {
position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: inherit;
background: color-mix(in srgb, var(--yh-accent) 90%, transparent); color: #fff; font-size: 15px; font-weight: 600; opacity: 0; transition: opacity 0.15s ease; pointer-events: none; }
:root .overlay .panel .ap-sgrid > .ap-card > .ap-add svg { stroke-width: 2.4; }
:root .overlay .panel .ap-sgrid > .ap-card.added > .ap-add { background: rgba(24, 28, 36, 0.88); }
:root .overlay .panel .ap-sgrid > .ap-card:is(:hover, :focus-visible) > .ap-add { opacity: 1; }
:root .overlay .panel .ap-sgrid > .ap-card::after { content: none !important; }
.ap-card .ap-ok { display: none; }
:root .overlay .panel .ap-sgrid > .ap-card > .ap-ok { position: absolute; top: 8px; right: 8px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; }
:root .overlay .panel .ap-sgrid > .ap-card > .ap-ok svg { stroke-width: 3.2; }
.overlay .panel.wl-panel { padding: 22px 24px 20px; }
.wl-panel > h3 { margin-bottom: 4px; }
.wl-top.tabbar { gap: 24px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; border-bottom: 1px solid var(--panel-line); }
.wc-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.wc-pick button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--panel-soft); color: var(--panel-fg); font-size: 13px; transition: background 0.15s ease, color 0.15s ease; }
.wc-pick button:hover { background: var(--panel-soft-h); }
.wc-pick button.on { padding-left: 6px; background: var(--accent-soft); color: var(--yh-accent); font-weight: 500; }
.wc-pick button.on::before { content: attr(data-n); width: 18px; height: 18px; border-radius: 50%; background: var(--yh-accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; font-family: var(--num-font); }
.wl-auto { margin-top: 16px; }
.wl-item .del { top: auto; bottom: 28px; right: 6px; }
.wl-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-auto .seg { background: var(--panel-soft-h); }
.wl-auto .btn { margin-left: auto; }
.overlay .panel.wl-panel { width: 940px; max-width: 94vw; height: min(720px, 88vh); max-height: none; padding: 22px 24px 0; display: flex; flex-direction: column; overflow: hidden; }
.wl-panel > h3, .wl-top.tabbar { flex: none; }
.wl-bar { flex: none; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0 12px; }
.wl-bar .wl-auto { margin: 0 0 0 auto; padding: 0; background: none; gap: 10px; }
.wl-bar .wl-auto .btn { margin-left: 4px; }
.wl-fog { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--panel-soft); font-size: 13px; color: var(--panel-sub); cursor: default; }
.wl-fog input[type=range] { width: 150px; }
.wl-body { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -24px; padding: 2px 24px 18px; overscroll-behavior: contain; }
.wl-body > .wl-sec:first-child, .wl-chips + .wl-sec { margin-top: 4px; }
.wl-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 14px; }
.wl-chips button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--panel-soft); color: var(--panel-fg); font-size: 13px; transition: background 0.15s ease, color 0.15s ease; }
.wl-chips button:hover { background: var(--panel-soft-h); }
.wl-chips button.on { background: var(--yh-accent); color: #fff; }
.wl-chips button i { font-style: normal; font-size: 11px; opacity: 0.6; font-family: var(--num-font); }
.wl-panel .wl-grid { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px 14px; }
.wl-item { cursor: pointer; outline: none; }
.wl-item.bad { display: none; }
.wl-item:focus-visible .wl-thumb { border-color: var(--yh-accent); }
img.wl-thumb { height: auto; }
.wl-item small { font-size: 12px; color: var(--panel-sub); }
.wl-item.on small { color: var(--panel-fg); }
.wl-item.loading .wl-thumb { filter: brightness(0.6); }
.wl-item.loading:not(.on)::after { content: ''; position: absolute; left: 50%; top: calc(50% - 26px); width: 30px; height: 30px; margin-left: -15px; padding: 0; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; background: none; box-sizing: border-box; animation: wl-spin 0.75s linear infinite; pointer-events: none; }
.overlay.wl-busy .panel.wl-panel::before { content: ''; position: absolute; left: 0; top: 0; z-index: 3; width: 36%; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--yh-accent) 30%, var(--yh-accent) 70%, transparent); animation: wl-bar 1.1s ease-in-out infinite; pointer-events: none; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
@keyframes wl-bar { from { transform: translateX(-100%); } to { transform: translateX(280%); } }
.wl-more { display: flex; margin: 20px auto 4px; gap: 8px; }
.wl-more i { font-style: normal; opacity: 0.55; font-size: 12px; }
.wl-off { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 56px 0 40px; text-align: center; line-height: 1.8; }
.wl-off > svg { opacity: 0.45; margin-bottom: 6px; }
.wl-off p { margin: 0; }
.wl-off p + p { display: flex; gap: 10px; margin-top: 12px; }
.wl-off button { height: 32px; padding: 0 16px; border-radius: 999px; background: var(--panel-soft); color: var(--panel-fg); font-size: 13px; }
.wl-off button:hover { background: var(--panel-soft-h); }
.wl-panel .wl-foot { flex: none; margin: 0 -24px; padding: 12px 24px; border-top: 1px solid var(--panel-line); display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.wl-foot .wl-credit { margin: 0 0 0 auto; text-align: right; }
.tb-tabs button { display: inline-flex; align-items: center; gap: 4px; }
.tb-row.seg { display: flex; margin-bottom: 12px; }
.tb-row.seg button { padding: 5px 10px; }
:root .overlay.wbig-ov[class] { background: rgba(8, 10, 16, 0.46); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); }
:root .overlay .panel.wbig-panel[role]:not(.yh-dlg):not(.fd-panel) {
position: relative; inset: auto; width: auto; height: auto; min-width: 0; max-width: none; max-height: none; padding: 0; border: 0; border-radius: 0; overflow: visible;
background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; display: flex; flex-direction: column; gap: 14px; color: #fff;
}
:root .overlay .panel.wbig-panel[role]::before, :root .overlay .panel.wbig-panel[role]::after { content: none; }
.wbig-panel .wb-hd { display: flex; align-items: center; gap: 12px; padding: 0 2px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
.wbig-panel .wb-hd > :first-child { flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25)); }
.wbig-panel .wb-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wbig-panel .wb-t b { color: #fff; font-size: 17px; font-weight: 600; line-height: 24px; }
.wbig-panel .wb-t span { color: rgba(255, 255, 255, 0.72); font-size: 12px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root .wbig-panel .wb-hd .close { position: static; flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.16); color: #fff; transition: background 0.15s ease; }
:root .wbig-panel .wb-hd .close:hover { background: rgba(255, 255, 255, 0.3); }
.wbig-panel .wb-stage { display: flex; justify-content: center; }
.wbig-panel .wb-card { flex: none; position: relative; animation: wbIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wbig-panel .wb-card > .card { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
@keyframes wbIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.overlay .panel.hotd-panel { width: min(960px, calc(100vw - 96px)); height: min(640px, calc(100vh - 96px)); min-width: 0; max-width: none; max-height: none; padding: 0; display: flex; overflow: hidden; }
.hotd-panel .hd-side { flex: none; width: 220px; display: flex; flex-direction: column; padding: 22px 12px 16px; border-right: 1px solid var(--panel-line); background: var(--panel-soft); }
.hotd-panel .hd-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px 14px; font-size: 16px; }
.hotd-panel .hd-brand .yi { color: #ff5a3c; }
.hotd-panel nav { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; }
.hotd-panel nav button { flex: none; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px; border-radius: 10px; color: var(--panel-fg); font-size: 14px; text-align: left; transition: background 0.15s ease, color 0.15s ease; }
.hotd-panel nav button:hover { background: var(--panel-soft-h); }
.hotd-panel nav button.on { background: var(--accent-soft); color: var(--yh-accent); font-weight: 600; }
.hotd-panel nav i { flex: none; width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.hotd-panel nav span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hotd-panel nav em { color: var(--panel-sub); font-size: 12px; font-style: normal; font-weight: 400; }
.hotd-panel .hd-note { margin: 10px 10px 0; color: var(--panel-sub); font-size: 12px; }
.hotd-panel .hd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hotd-panel .hd-top { flex: none; position: relative; display: flex; align-items: baseline; gap: 10px; padding: 22px 64px 14px 26px; border-bottom: 1px solid var(--panel-line); }
.hotd-panel .hd-top b { font-size: 20px; font-weight: 700; line-height: 28px; }
.hotd-panel .hd-top .up { color: var(--panel-sub); font-size: 12px; }
:root .hotd-panel .hd-top .close { position: absolute; top: 18px; right: 16px; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--panel-sub); }
:root .hotd-panel .hd-top .close:hover { background: var(--panel-soft-h); color: var(--panel-fg); }
.hotd-panel ol { flex: 1; min-height: 0; overflow: auto; margin: 0; padding: 8px 14px 18px; list-style: none; scrollbar-width: thin; }
.hotd-panel li { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; cursor: pointer; }
.hotd-panel li:hover, .hotd-panel li:focus-visible { background: var(--panel-soft); outline: none; }
.hotd-panel .rk { flex: none; width: 24px; color: var(--panel-sub); font-size: 15px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.hotd-panel li:nth-child(1) .rk { color: #fe2d46; }
.hotd-panel li:nth-child(2) .rk { color: #ff6600; }
.hotd-panel li:nth-child(3) .rk { color: #faa90e; }
.hotd-panel .tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hotd-panel li:hover .tt { color: var(--yh-accent); }
.hotd-panel .tg { flex: none; padding: 0 4px; border-radius: 4px; background: #ff9406; color: #fff; font-size: 11px; font-style: normal; line-height: 16px; }
.hotd-panel .tg-n { background: #ff455b; }
.hotd-panel .tg-b, .hotd-panel .tg-x { background: #f4364c; }
.hotd-panel .ht { flex: none; color: var(--panel-sub); font-size: 12px; font-variant-numeric: tabular-nums; }
.hotd-panel .hd-empty { margin: auto; color: var(--panel-sub); font-size: 14px; }
:root:not([data-skin="youhao"]) .overlay .panel:is(.notes-panel, .eat-panel, .holiday-panel) { min-width: 0; max-width: none; max-height: none; padding: 0; overflow: hidden; transition: width 0.2s ease, height 0.2s ease; }
:root:not([data-skin="youhao"]) .overlay .panel:is(.notes-panel, .eat-panel) { width: min(1000px, calc(100vw - 96px)); height: min(620px, calc(100vh - 96px)); }
:root:not([data-skin="youhao"]) .overlay .panel.holiday-panel { width: min(1080px, calc(100vw - 96px)); height: min(620px, calc(100vh - 96px)); }
:root:not([data-skin="youhao"]) .overlay .panel:is(.notes-panel, .eat-panel, .holiday-panel).max { width: calc(100vw - 48px); height: calc(100vh - 48px); }
:root:not([data-skin="youhao"]) :is(.notes-panel .np-tools, .eat-panel .ep-tools, .holiday-panel .hp-tools) { position: absolute; top: 10px; right: 14px; z-index: 2; display: flex; gap: 6px; }
:root:not([data-skin="youhao"]) :is(.notes-panel .np-tools, .eat-panel .ep-tools, .holiday-panel .hp-tools) button { position: static; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--panel-sub); transition: background 0.15s ease, color 0.15s ease; }
:root:not([data-skin="youhao"]) :is(.notes-panel .np-tools, .eat-panel .ep-tools, .holiday-panel .hp-tools) button:hover { background: var(--panel-soft-h); color: var(--panel-fg); }
:root:not([data-skin="youhao"]) .overlay .panel.notes-panel { display: flex; }
:root:not([data-skin="youhao"]) .notes-panel .np-side { position: relative; flex: none; width: 280px; display: flex; flex-direction: column; padding: 22px 18px 0; border-right: 1px solid var(--panel-line); background: var(--panel-soft); }
:root:not([data-skin="youhao"]) .notes-panel .np-hd { flex: none; display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 4px; }
:root:not([data-skin="youhao"]) .notes-panel .np-hd h2 { margin: 0; font-size: 19px; font-weight: 600; line-height: 28px; }
:root:not([data-skin="youhao"]) .notes-panel .np-sort { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--panel-sub); }
:root:not([data-skin="youhao"]) .notes-panel .np-sort:hover { background: var(--panel-soft-h); color: var(--panel-fg); }
:root:not([data-skin="youhao"]) .notes-panel .np-sort.on { color: var(--yh-accent); }
:root:not([data-skin="youhao"]) .notes-panel .np-search { position: relative; flex: none; display: block; margin-top: 14px; }
:root:not([data-skin="youhao"]) .notes-panel .np-search svg { position: absolute; left: 12px; top: 10px; color: var(--panel-sub); pointer-events: none; }
:root:not([data-skin="youhao"]) .notes-panel .np-search input { width: 100%; height: 36px; padding: 8px 14px 8px 36px; border: 1px solid var(--input-line); border-radius: 10px; outline: 0; background: var(--input); color: var(--panel-fg); font-size: 14px; }
:root:not([data-skin="youhao"]) .notes-panel .np-search input::placeholder { color: var(--panel-sub); }
:root:not([data-skin="youhao"]) .notes-panel .np-search input:focus { border-color: var(--yh-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
:root:not([data-skin="youhao"]) .notes-panel .np-list { flex: 1; min-height: 0; overflow: auto; margin: 12px -8px 0; padding: 0 8px 84px; scrollbar-width: thin; }
:root:not([data-skin="youhao"]) .notes-panel .np-item { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--panel-fg); text-align: left; transition: background 0.15s ease; }
:root:not([data-skin="youhao"]) .notes-panel .np-item + .np-item { margin-top: 2px; }
:root:not([data-skin="youhao"]) .notes-panel .np-item:hover { background: var(--panel-soft-h); }
:root:not([data-skin="youhao"]) .notes-panel .np-item.on { background: var(--accent-soft); }
:root:not([data-skin="youhao"]) .notes-panel .np-item b { display: block; font-size: 15px; font-weight: 600; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root:not([data-skin="youhao"]) .notes-panel .np-item span { display: flex; gap: 8px; min-height: 18px; margin-top: 2px; color: var(--panel-sub); font-size: 12px; line-height: 18px; white-space: nowrap; overflow: hidden; }
:root:not([data-skin="youhao"]) .notes-panel .np-item span time { flex: none; }
:root:not([data-skin="youhao"]) .notes-panel .np-item span i { min-width: 0; font-style: normal; overflow: hidden; text-overflow: ellipsis; }
:root:not([data-skin="youhao"]) .notes-panel .np-empty { margin-top: 40px; color: var(--panel-sub); font-size: 13px; text-align: center; }
:root:not([data-skin="youhao"]) .notes-panel .np-add { position: absolute; right: 18px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--yh-accent); color: #fff; box-shadow: 0 6px 16px var(--accent-shadow); transition: filter 0.15s ease, transform 0.12s ease; }
:root:not([data-skin="youhao"]) .notes-panel .np-add:hover { filter: brightness(1.08); }
:root:not([data-skin="youhao"]) .notes-panel .np-add:active { transform: scale(0.94); }
:root:not([data-skin="youhao"]) .notes-panel .np-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 56px 36px 28px; }
:root:not([data-skin="youhao"]) .notes-panel .np-blank { margin: auto; padding: 24px 40px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--panel-sub); font-size: 15px; }
:root:not([data-skin="youhao"]) .notes-panel .np-blank:hover { background: var(--panel-soft); color: var(--panel-fg); }
:root:not([data-skin="youhao"]) .notes-panel .np-bar { flex: none; display: flex; align-items: center; gap: 4px; height: 28px; margin-bottom: 10px; color: var(--panel-sub); font-size: 12px; }
:root:not([data-skin="youhao"]) .notes-panel .np-when { flex: 1; min-width: 0; }
:root:not([data-skin="youhao"]) .notes-panel .np-bar button { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--panel-sub); }
:root:not([data-skin="youhao"]) .notes-panel .np-bar button:hover { background: var(--panel-soft-h); color: var(--panel-fg); }
:root:not([data-skin="youhao"]) .notes-panel .np-bar button.on { background: var(--accent-soft); color: var(--yh-accent); }
:root:not([data-skin="youhao"]) .notes-panel .np-bar [data-del]:hover { color: var(--danger); }
:root:not([data-skin="youhao"]) .notes-panel .np-main :is(textarea, .nt-view) { flex: 1; min-height: 0; margin: 0; padding: 0; border: 0; outline: 0; resize: none; background: none; color: var(--panel-fg); font: inherit; font-size: 16px; line-height: 28px; overflow: auto; scrollbar-width: thin; }
:root:not([data-skin="youhao"]) .notes-panel .np-main textarea::placeholder { color: var(--panel-sub); }
:root:not([data-skin="youhao"]) .notes-panel .nt-view { word-break: break-word; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view h4 { margin: 0 0 4px; font-size: 22px; line-height: 34px; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view h5 { margin: 0 0 4px; font-size: 19px; line-height: 30px; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view h6 { margin: 0; color: var(--panel-sub); font-size: 16px; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view p { margin: 0; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view :is(ul, ol) { margin: 0; padding-left: 24px; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view code { padding: 1px 6px; border-radius: 5px; background: var(--panel-soft-h); font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view blockquote { margin: 0; padding: 0 12px; border-left: 3px solid var(--panel-line); color: var(--panel-sub); }
:root:not([data-skin="youhao"]) .notes-panel .nt-view a { color: var(--yh-accent); text-decoration: none; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view a:hover { text-decoration: underline; }
:root:not([data-skin="youhao"]) .notes-panel .nt-view hr { margin: 13px 0 14px; border: 0; border-top: 1px solid var(--panel-line); }
:root:not([data-skin="youhao"]) .overlay .panel.eat-panel { display: flex; align-items: center; justify-content: center; }
:root:not([data-skin="youhao"]) .eat-panel .ep-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
:root:not([data-skin="youhao"]) .eat-panel .ep-deco svg { position: absolute; height: auto; overflow: visible; opacity: 0.2; transform: translate(-50%, -50%); }
:root:not([data-skin="youhao"]) .eat-panel .ep-deco i { position: absolute; height: 0; border-radius: 50%; opacity: 0.32; transform: translate(-50%, -50%); filter: blur(5px); }
:root:not([data-skin="youhao"]) .eat-panel .ep-main { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 80%; margin-top: -14px; text-align: center; }
:root:not([data-skin="youhao"]) .eat-panel .q { color: var(--panel-sub); font-size: 18px; font-weight: 700; line-height: 26px; }
:root:not([data-skin="youhao"]) .eat-panel.idle .q { color: var(--panel-fg); font-size: 32px; line-height: 44px; }
:root:not([data-skin="youhao"]) .eat-panel .dish { min-height: 68px; margin: 12px 0 0; color: var(--yh-accent); font-size: 54px; font-weight: 800; line-height: 68px; letter-spacing: 2px; overflow-wrap: anywhere; }
:root:not([data-skin="youhao"]) .eat-panel .dish.sm { font-size: 44px; }
:root:not([data-skin="youhao"]) .eat-panel .dish.xs { font-size: 34px; }
:root:not([data-skin="youhao"]) .eat-panel.idle .dish { display: none; }
:root:not([data-skin="youhao"]) .eat-panel.rolling .dish { color: var(--panel-fg); }
:root:not([data-skin="youhao"]) .eat-panel .eat-go { min-width: 157px; height: 55px; margin-top: 44px; padding: 0 28px; border-radius: 999px; background: var(--yh-accent); color: #fff; font-size: 22px; font-weight: 600; box-shadow: 0 10px 24px -8px var(--accent-shadow); transition: filter 0.15s ease, transform 0.12s ease; }
:root:not([data-skin="youhao"]) .eat-panel.idle .eat-go { margin-top: 31px; }
:root:not([data-skin="youhao"]) .eat-panel .eat-go:hover { filter: brightness(1.06); }
:root:not([data-skin="youhao"]) .eat-panel .eat-go:active { transform: scale(0.97); }
:root:not([data-skin="youhao"]) .eat-panel.rolling .eat-go { filter: saturate(0.7); pointer-events: none; }
:root:not([data-skin="youhao"]) .eat-panel .eat-edit { position: absolute; right: 24px; bottom: 26px; height: 38px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--panel-soft); color: var(--panel-fg); font-size: 14px; font-weight: 600; transition: background 0.15s ease; }
:root:not([data-skin="youhao"]) .eat-panel .eat-edit:hover { background: var(--panel-soft-h); }
:root:not([data-skin="youhao"]) .overlay .panel.holiday-panel { display: flex; flex-direction: column; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-top { position: relative; z-index: 1; flex: none; height: 64px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--panel-line); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--panel-soft); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-tabs button { position: relative; min-width: 96px; height: 36px; padding: 0 18px; border-radius: 999px; color: var(--panel-sub); font-size: 14px; font-weight: 600; transition: color 0.15s ease, background 0.15s ease; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-tabs button:hover { color: var(--panel-fg); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-tabs button.on { background: var(--yh-accent); color: #fff; box-shadow: 0 4px 12px -4px var(--accent-shadow); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-tools { top: 14px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-body { flex: 1; min-height: 0; overflow: auto; padding: 0 24px 32px; scrollbar-width: thin; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-title { position: relative; margin: 18px 0 0; font-size: 28px; font-weight: 700; line-height: 40px; text-align: center; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-title em { position: absolute; top: 9px; margin-left: 10px; padding: 0 9px; border-radius: 999px; background: var(--panel-soft); color: var(--panel-sub); font-size: 13px; font-style: normal; font-weight: 500; line-height: 22px; }
:root:not([data-skin="youhao"]) .holiday-panel :is(.hp-list, .hp-note, .hp-bar, .hp-stats) { width: 564px; max-width: 100%; margin-left: auto; margin-right: auto; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-note { margin-top: 18px; color: var(--panel-sub); font-size: 13px; line-height: 20px; text-align: center; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-note.next { margin-top: 20px; color: var(--panel-fg); font-size: 15px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-note.next b { color: var(--yh-accent); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-list { margin-top: 15px; display: flex; flex-direction: column; gap: 14px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 92px; padding: 0 24px; overflow: hidden; border: 1px solid var(--panel-line); border-radius: 18px; background: var(--panel-soft); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row::before { content: ''; position: absolute; left: 0; top: 18px; width: 4px; height: 56px; border-radius: 2px; background: var(--panel-sub); opacity: 0.5; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row:is(.next, .now)::before { background: var(--yh-accent); opacity: 1; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row.past { opacity: 0.55; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-l { min-width: 0; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-l b { display: block; font-size: 26px; font-weight: 700; line-height: 34px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-l span { display: block; color: var(--panel-sub); font-size: 15px; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-l em { margin-left: 10px; padding: 1px 8px; border-radius: 999px; background: var(--panel-soft-h); font-size: 13px; font-style: normal; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row:is(.next, .now) .hp-l em { background: var(--accent-soft); color: var(--yh-accent); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-pill { flex: none; width: 88px; height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel-soft-h); font-size: 32px; line-height: 1; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-pill.num { gap: 3px; align-items: baseline; padding-top: 9px; color: var(--panel-sub); font-size: 14px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-pill.num b { color: var(--yh-accent); font-size: 28px; font-weight: 700; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-pill .yi { opacity: 0.78; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row.past .hp-pill .yi { color: var(--panel-sub); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row:is(.next, .now) .hp-pill:not(.num) { background: var(--accent-soft); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row:is(.next, .now) .hp-pill .yi { color: var(--yh-accent); opacity: 1; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row.tip .hp-l b { font-size: 22px; line-height: 32px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-row.tip .hp-l span { font-size: 14px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-none { width: 460px; max-width: 100%; margin: 88px auto 0; color: var(--panel-sub); font-size: 16px; line-height: 1.8; text-align: center; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-none b { color: var(--yh-accent); font-size: 22px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-big { margin-top: 30px; text-align: center; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-big b { color: var(--yh-accent); font-size: 100px; font-weight: 700; line-height: 1; letter-spacing: -2px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-big i { margin-left: 8px; font-size: 24px; font-style: normal; font-weight: 600; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-big span { display: block; margin-top: 10px; color: var(--panel-sub); font-size: 16px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-bar { height: 10px; margin-top: 30px; overflow: hidden; border-radius: 5px; background: var(--panel-soft-h); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-bar i { display: block; height: 100%; border-radius: 5px; background: var(--yh-accent); }
:root:not([data-skin="youhao"]) .holiday-panel .hp-stats { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-stats > div { padding: 16px 0 14px; border: 1px solid var(--panel-line); border-radius: 16px; background: var(--panel-soft); text-align: center; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-stats b { display: block; font-size: 26px; font-weight: 600; line-height: 34px; }
:root:not([data-skin="youhao"]) .holiday-panel .hp-stats span { color: var(--panel-sub); font-size: 13px; }
.st-find { position: relative; display: flex; align-items: center; height: 36px; margin: 0 0 14px; padding: 0 6px 0 34px; border-radius: var(--st-r-ctl, 10px);
background: var(--st-in, var(--panel-soft)); color: var(--st-sub, var(--panel-sub)); box-shadow: inset 0 0 0 1px var(--st-in-bd, transparent); cursor: text;
transition: background 0.15s ease, box-shadow 0.15s ease; }
.st-find > .yi { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.st-find:hover { box-shadow: inset 0 0 0 1px var(--st-line, var(--panel-line)); }
.st-find:focus-within { box-shadow: inset 0 0 0 1px var(--st-on, var(--yh-accent)), 0 0 0 3px var(--accent-soft); color: var(--st-fg, var(--panel-fg)); }
.st-find input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font-size: 13px; color: var(--st-fg, var(--panel-fg)); }
.st-find input:focus-visible { outline: none; }
.st-find input::placeholder { color: var(--st-sub, var(--panel-sub)); opacity: 0.85; }
.st-find input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.st-find-x { flex: none; display: none; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: var(--st-sub, var(--panel-sub)); }
.st-find.has .st-find-x { display: inline-flex; }
.st-find-x:hover { background: var(--st-hover, var(--panel-soft-h)); color: var(--st-fg, var(--panel-fg)); }
.drawer .st-body > .grp, .drawer .st-results > .grp { margin: 0 0 22px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.drawer .grp > .t { display: flex; align-items: center; gap: 8px; margin: 0 4px 8px; padding: 0; font-size: 13px; font-weight: 600; line-height: 20px; color: var(--st-gt, var(--st-sub, var(--panel-sub))); }
.drawer .grp > .gb { padding: 2px 16px; border-radius: var(--st-radius, 14px); background: var(--st-card, var(--panel-soft)); box-shadow: inset 0 0 0 1px var(--st-card-bd, transparent); }
.drawer .gb > .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; margin: 0; padding: 10px 0; border: 0; border-radius: 0; background: none;
font-size: 14px; line-height: 20px; color: var(--st-fg, var(--panel-fg)); }
.drawer .gb > * + .row, .drawer .gb > .row + * { border-top: 1px solid var(--st-line, var(--panel-line)); }
.drawer .gb > .row + .note, .drawer .gb > .row + .btns { border-top: 0; }
.drawer .gb > .row > span:first-child { display: flex; flex-direction: column; gap: 2px; flex: 0 1 auto; min-width: 0; }
.drawer .gb > .row .rs { font-size: 12px; line-height: 17px; font-weight: 400; color: var(--st-sub, var(--panel-sub)); }
.drawer .gb > .row .val { color: var(--st-sub, var(--panel-sub)); font-size: 13px; }
.drawer .gb > .row .val.bad { color: var(--danger); }
.drawer .gb > .row > .btn, .drawer .gb > .row > .seg, .drawer .gb > .row > .rg, .drawer .gb > .row > .swatches, .drawer .gb > .row > [role=switch] { flex: none; }
.drawer .gb > .row > .val + .btn { margin-left: -6px; }
.drawer .gb > .row.na > span:first-child { color: var(--st-sub, var(--panel-sub)); }
.drawer .gb > .row .na-t { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--st-hover, var(--panel-soft-h)); color: var(--st-sub, var(--panel-sub)); font-size: 12px; font-style: normal; line-height: 18px; }
.drawer .gb > .note { margin: 0; padding: 12px 0; font-size: 12px; line-height: 1.7; color: var(--st-sub, var(--panel-sub)); }
.drawer .gb > .row + .note { margin-top: -10px; padding-top: 0; }
.drawer .gb > .note.warn { margin: 12px 0; padding: 9px 12px; border-radius: 10px; background: rgba(255, 149, 0, 0.13); color: var(--st-fg, var(--panel-fg)); }
.drawer .gb > .row + .note.warn { margin-top: 0; }
.drawer .gb > .note:empty { display: none; }
.drawer .gb > .btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; }
.drawer .gb > .btns .btn { flex: 0 1 auto; }
.drawer .gb > .seg, .drawer .gb > .swatches, .drawer .gb > .skin-picker, .drawer .gb > .st-wp, .drawer .gb > .eng-list, .drawer .gb > .pub-hist, .drawer .gb > .yh-form { margin: 14px 0; }
.drawer .gb > .eng-list { margin-left: -8px; margin-right: -8px; }
.drawer [role=switch] { display: inline-flex; align-items: center; flex: none; border-radius: 999px; cursor: pointer; }
.drawer [role=switch]:focus-visible { outline: none; }
.drawer [role=switch] > .switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--st-ctl, var(--input-line)); box-shadow: none; transition: background-color 0.2s ease, box-shadow 0.15s ease, filter 0.15s ease; }
.drawer [role=switch] > .switch i { top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 999px; background: var(--st-knob, #fff);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.12); transition: left 0.24s cubic-bezier(0.3, 1.25, 0.5, 1), width 0.15s ease; }
.drawer [role=switch] > .switch.on { background: var(--st-on, var(--yh-accent)); }
.drawer [role=switch] > .switch.on i { left: 20px; background: var(--st-knob-on, var(--st-knob, #fff)); }
.drawer [role=switch]:hover > .switch { filter: brightness(0.95); }
:root[data-theme="dark"] .drawer [role=switch]:hover > .switch { filter: brightness(1.18); }
.drawer [role=switch]:active > .switch i { width: 24px; }
.drawer [role=switch]:active > .switch.on i { left: 16px; }
.drawer [role=switch]:focus-visible > .switch { box-shadow: 0 0 0 3px var(--accent-shadow); }
.drawer .rg { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.drawer .rg > input[type=range] { -webkit-appearance: none; appearance: none; width: 168px; height: 22px; margin: 0; padding: 0; background: none; cursor: pointer; }
.drawer .rg > input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--st-on, var(--yh-accent)) 0 var(--p, 50%), var(--st-ctl, var(--input-line)) var(--p, 50%) 100%); }
.drawer .rg > input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border: 0; border-radius: 50%; background: var(--st-knob, #fff);
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.24); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.drawer .rg > input[type=range]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.24), 0 0 0 5px var(--accent-soft); }
.drawer .rg > input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.24), 0 0 0 7px var(--accent-soft); }
.drawer .rg > input[type=range]:focus-visible { outline: none; }
.drawer .rg > input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 0 4px var(--accent-shadow); }
.drawer .rg > small { min-width: 50px; height: 26px; padding: 0 8px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
background: var(--st-hover, var(--panel-soft-h)); color: var(--st-fg, var(--panel-fg)); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.drawer .gb .seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--st-r-ctl, 10px); background: var(--st-track, var(--panel-soft-h)); }
.drawer .gb .seg button { height: 28px; padding: 0 13px; border: 0; border-radius: calc(var(--st-r-ctl, 10px) - 3px); background: none; font-size: 13px; font-weight: 400; line-height: 28px; color: var(--st-sub, var(--panel-sub));
box-shadow: none; transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease; }
.drawer .gb .seg button:hover { color: var(--st-fg, var(--panel-fg)); }
.drawer .gb .seg button:active { transform: scale(0.96); }
.drawer .gb .seg button.on { background: var(--st-seg-on, var(--seg-on)); color: var(--st-fg, var(--panel-fg)); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06); }
.drawer .gb .seg button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--st-on, var(--yh-accent)); }
.drawer .gb .seg.dis { opacity: 0.45; }
.drawer .gb > .seg { display: flex; width: fit-content; max-width: 100%; }
.drawer .st-sel { flex: none; height: 32px; min-width: 104px; padding: 0 30px 0 12px; border: 1px solid var(--st-in-bd, var(--input-line)); border-radius: var(--st-r-ctl, 9px);
-webkit-appearance: none; appearance: none; background: var(--st-in, var(--input)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 12px no-repeat;
color: var(--st-fg, var(--panel-fg)); font-size: 13px; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.drawer .st-sel:hover { border-color: var(--st-sub, var(--panel-sub)); }
.drawer .st-sel:focus-visible { outline: none; border-color: var(--st-on, var(--yh-accent)); box-shadow: 0 0 0 3px var(--accent-soft); }
.drawer .gb .swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.drawer .gb > .row .swatches { justify-content: flex-end; gap: 8px; }
.drawer .gb .swatches .sw { width: 26px; height: 26px; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.drawer .gb > .row .swatches .sw { width: 22px; height: 22px; }
.drawer .gb .swatches .sw:hover { transform: scale(1.12); }
.drawer .gb .swatches .sw.on { box-shadow: 0 0 0 2px var(--st-card-solid, var(--panel-solid)), 0 0 0 4px var(--st-on, var(--yh-accent)); transform: none; }
.drawer .gb .swatches .sw:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--st-card-solid, var(--panel-solid)), 0 0 0 4px var(--accent-shadow); }
.drawer .gb .swatches .sw-auto { background: linear-gradient(135deg, transparent 45%, var(--st-sub, var(--panel-sub)) 45% 55%, transparent 55%), var(--st-card-solid, var(--panel-solid)); box-shadow: inset 0 0 0 1px var(--st-line, var(--panel-line)); }
.drawer .gb .swatches .sw-auto.on { box-shadow: inset 0 0 0 1px var(--st-line, var(--panel-line)), 0 0 0 2px var(--st-card-solid, var(--panel-solid)), 0 0 0 4px var(--st-on, var(--yh-accent)); }
.drawer .gb > .st-wp { display: flex; gap: 14px; align-items: center; }
.drawer .gb > .st-wp .st-wp-thumb { width: 168px; height: 95px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.drawer .gb > .st-wp .btns { flex: 1; flex-direction: column; gap: 6px; margin: 0; }
.drawer .gb > .st-wp .btns .btn { flex: none; justify-content: flex-start; }
.drawer .gb .eng-row { min-height: 44px; padding: 6px 8px; border-radius: 10px; background: none; font-size: 14px; color: var(--st-fg, var(--panel-fg)); transition: background-color 0.15s ease; }
.drawer .gb .eng-row:hover { background: var(--st-hover, var(--panel-soft-h)); }
.drawer .gb .eng-row button { width: 30px; height: 30px; padding: 0; border-radius: 8px; justify-content: center; align-items: center; color: var(--st-sub, var(--panel-sub)); opacity: 0.75; }
.drawer .gb .eng-row:hover button, .drawer .gb .eng-row button:focus-visible { opacity: 1; }
.drawer .gb .eng-row button:hover { background: var(--st-card-solid, var(--panel-solid)); color: var(--st-fg, var(--panel-fg)); }
.drawer .gb .ph-row { padding: 10px 12px; border-radius: 10px; background: var(--st-hover, var(--panel-soft-h)); }
.drawer .st-sec-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 4px 10px; }
.drawer .st-sec-hd b { font-size: 15px; font-weight: 600; color: var(--st-fg, var(--panel-fg)); }
.drawer .st-goto { display: inline-flex; align-items: center; gap: 2px; height: 26px; padding: 0 6px 0 10px; border-radius: 8px; font-size: 12px; color: var(--st-on, var(--yh-accent)); }
.drawer .st-goto:hover { background: var(--accent-soft); }
.drawer .st-results .grp > .t, .drawer .st-results .row.hit > span:first-child { cursor: pointer; }
.drawer .st-results .row.hit > span:first-child:hover { color: var(--st-on, var(--yh-accent)); }
.drawer .gb > .hit { position: relative; }
.drawer .gb > .hit::before { content: ''; position: absolute; left: -16px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--st-on, var(--yh-accent)); }
.drawer .st-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 64px 20px; text-align: center; color: var(--st-sub, var(--panel-sub)); }
.drawer .st-empty .yi { opacity: 0.5; margin-bottom: 4px; }
.drawer .st-empty b { font-size: 15px; font-weight: 600; color: var(--st-fg, var(--panel-fg)); }
.drawer .st-empty small { font-size: 13px; }
@keyframes stFlash { 0%, 100% { opacity: 0; } 15%, 45% { opacity: 1; } 30% { opacity: 0.35; } }
.drawer .flash { position: relative; }
.drawer .flash::after { content: ''; position: absolute; inset: 3px -10px; z-index: 0; border-radius: 10px; background: var(--accent-soft); pointer-events: none; animation: stFlash 1.6s ease forwards; }
.drawer .flash > * { position: relative; z-index: 1; }
.drawer .st-body { container-type: inline-size; }
@container (max-width: 460px) {
.drawer .gb > .row { flex-wrap: wrap; row-gap: 8px; }
.drawer .gb > .row > .rg { flex: 1 1 190px; justify-content: flex-end; }
.drawer .gb > .row > .rg > input[type=range] { flex: 1; width: auto; min-width: 90px; }
.drawer .ac-feats { grid-template-columns: 1fr; gap: 8px; }
.drawer .ac-feat { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
.drawer .ac-feat .ac-fi { margin: 0; }
.drawer .ac-feat b { flex: none; width: 64px; }
.drawer .gb > .st-wp { flex-direction: column; align-items: stretch; }
.drawer .gb > .st-wp .st-wp-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.drawer .gb > .st-wp .btns { flex-direction: row; }
.drawer .gb > .st-wp .btns .btn { flex: 1; }
}
@keyframes stEnter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.drawer .st-body.st-enter { animation: stEnter 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
.drawer .st-body > .st-about { flex-direction: column; justify-content: center; gap: 10px; margin: 0 0 22px; padding: 26px 16px 22px; border: 0; border-radius: var(--st-radius, 14px); background: var(--st-card, var(--panel-soft)); text-align: center;
box-shadow: inset 0 0 0 1px var(--st-card-bd, transparent); }
.drawer .st-about .wtile { width: 64px !important; height: 64px !important; border-radius: 50%; background: url("../../icons/128.png") center / cover no-repeat !important; box-shadow: 0 10px 24px -8px rgba(110, 43, 234, 0.5); }
.drawer .st-about .wtile .yi { display: none; }
.drawer .st-about b { font-size: 18px; font-weight: 600; color: var(--st-fg, var(--panel-fg)); }
.drawer .st-about .muted { margin-top: 2px; font-size: 12px; color: var(--st-sub, var(--panel-sub)); }
@keyframes acSpin { to { transform: rotate(360deg); } }
@keyframes acShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ac-spin { display: inline-block; flex: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: acSpin 0.7s linear infinite; }
.drawer .ac-auth > .gb, :root[data-skin] .drawer .grp.ac-auth > .gb { padding: 28px 28px 22px; }
.drawer .ac-hero { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; text-align: center; }
.drawer .ac-hero .av { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--st-on, var(--yh-accent)); box-shadow: none; }
.drawer .ac-hero .av svg { width: 32px; height: 32px; fill: currentColor; }
.drawer .ac-hero .ac-logo { flex: none; width: 64px; height: 64px; border-radius: 23%; box-shadow: 0 10px 24px -8px rgba(110, 43, 234, 0.5); }
.drawer .ac-hero .ac-logo img { display: block; width: 100%; height: 100%; }
.drawer .ac-hero-t b { display: block; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--st-fg, var(--panel-fg)); }
.drawer .ac-hero-t small { display: block; max-width: 340px; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-auth .note.warn { max-width: 360px; margin: 0 auto 16px; }
.drawer .ac-tabs { display: flex; max-width: 360px; margin: 0 auto 16px; padding: 3px; border-radius: 10px; background: var(--st-track, var(--panel-soft-h)); }
.drawer .ac-tabs button { flex: 1; height: 32px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--st-sub, var(--panel-sub)); transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.drawer .ac-tabs button:hover { color: var(--st-fg, var(--panel-fg)); }
.drawer .ac-tabs button.on { background: var(--st-seg-on, var(--seg-on)); color: var(--st-fg, var(--panel-fg)); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06); }
.drawer .ac-tabs button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--st-on, var(--yh-accent)); }
.drawer .ac-form { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.drawer .ac-f { position: relative; display: flex; align-items: center; }
.drawer .ac-f .ac-fi { position: absolute; left: 13px; display: inline-flex; color: var(--st-sub, var(--panel-sub)); pointer-events: none; transition: color 0.15s ease; }
.drawer .ac-f:focus-within .ac-fi { color: var(--st-on, var(--yh-accent)); }
.drawer .ac-form .ac-f .ac-in { width: 100%; height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--st-in-bd, var(--input-line)); border-radius: 11px; outline: 0; background: var(--st-in, var(--input));
color: var(--st-fg, var(--panel-fg)); font-size: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; }
.drawer .ac-form .ac-f.pw .ac-in { padding-right: 44px; }
.drawer .ac-form .ac-f .ac-in::placeholder { color: var(--st-sub, var(--panel-sub)); opacity: 0.85; }
.drawer .ac-form .ac-f .ac-in:hover { border-color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-form .ac-f .ac-in:focus { border-color: var(--st-on, var(--yh-accent)); box-shadow: 0 0 0 3px var(--accent-soft); }
.drawer .ac-form .ac-f .ac-in:disabled { opacity: 0.6; }
.drawer .ac-form .ac-f.bad .ac-in { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(245, 82, 74, 0.15); animation: acShake 0.3s ease; }
.drawer .ac-form .ac-f.bad .ac-fi { color: var(--danger); }
.drawer .ac-eye { position: absolute; right: 7px; width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--st-sub, var(--panel-sub)); transition: background-color 0.15s ease, color 0.15s ease; }
.drawer .ac-eye:hover { background: var(--st-hover, var(--panel-soft-h)); color: var(--st-fg, var(--panel-fg)); }
.drawer .ac-meter { display: flex; align-items: center; gap: 10px; margin-top: -2px; }
.drawer .ac-meter > span { flex: 1; display: flex; gap: 4px; }
.drawer .ac-meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--st-ctl, var(--input-line)); transition: background-color 0.2s ease; }
.drawer .ac-meter[data-lv="1"] i:nth-child(1) { background: #f5524a; }
.drawer .ac-meter[data-lv="2"] i:nth-child(-n+2) { background: #f5a524; }
.drawer .ac-meter[data-lv="3"] i { background: #22b573; }
.drawer .ac-meter .ac-lv { min-width: 88px; font-size: 12px; text-align: right; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-rule { font-size: 12px; line-height: 1.6; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-form .err { display: none; min-height: 0; margin: 0; padding: 8px 12px 8px 34px; border-radius: 10px; position: relative; background: rgba(245, 82, 74, 0.1); color: var(--danger); font-size: 13px; line-height: 19px; }
.drawer .ac-form .err.on { display: block; }
.drawer .ac-form .err.on::before { content: '!'; position: absolute; left: 11px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; }
.drawer .ac-form .ac-go { width: 100%; height: 44px; margin-top: 4px; gap: 8px; border-radius: 11px; font-size: 15px; font-weight: 600; }
.drawer .ac-go .ac-spin { display: none; }
.drawer .ac-go.busy .ac-spin { display: inline-block; }
.drawer .ac-go.busy { cursor: progress; opacity: 0.85; }
.drawer .ac-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin-top: 4px; font-size: 13px; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-alt .sp { flex: 1; }
.drawer .ac-alt .linkbtn { padding: 2px 0; font-size: 13px; color: var(--st-sub, var(--panel-sub)); text-decoration: none; }
.drawer .ac-alt .linkbtn:hover { color: var(--st-fg, var(--panel-fg)); text-decoration: underline; text-underline-offset: 3px; }
.drawer .ac-alt .linkbtn.strong { color: var(--st-on, var(--yh-accent)); font-weight: 600; }
.drawer .ac-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.drawer .ac-feat { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px; border-radius: 12px; background: var(--st-hover, var(--panel-soft-h)); }
.drawer .ac-feat .ac-fi { width: 32px; height: 32px; margin-bottom: 6px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--st-on, var(--yh-accent)); }
.drawer .ac-feat b { font-size: 13px; font-weight: 600; line-height: 20px; color: var(--st-fg, var(--panel-fg)); }
.drawer .ac-feat small { font-size: 12px; line-height: 17px; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-me > .gb, :root[data-skin] .drawer .grp.ac-me > .gb { padding: 18px 20px; }
.drawer .ac-profile { display: flex; align-items: center; gap: 14px; }
.drawer .ac-profile .av { flex: none; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--yh-grad); color: #fff;
font-size: 22px; font-weight: 600; box-shadow: 0 6px 16px -4px var(--accent-shadow); }
.drawer .ac-id { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.drawer .ac-id b { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 600; line-height: 24px; color: var(--st-fg, var(--panel-fg)); }
.drawer .ac-id .chip { background: var(--accent-soft); color: var(--st-on, var(--yh-accent)); }
.drawer .ac-id small { flex-basis: 100%; font-size: 12px; line-height: 18px; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-profile > .btn { flex: none; }
.drawer .ac-sync { display: flex; align-items: center; gap: 12px; padding: 14px 0 2px; }
.drawer .ac-sync-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.drawer .ac-sync[data-st="ok"] .ac-sync-ic { background: rgba(34, 181, 115, 0.14); color: #1f9e65; }
.drawer .ac-sync[data-st="busy"] .ac-sync-ic { background: var(--accent-soft); color: var(--st-on, var(--yh-accent)); }
.drawer .ac-sync[data-st="err"] .ac-sync-ic { background: rgba(245, 82, 74, 0.12); color: var(--danger); }
.drawer .ac-sync[data-st="dirty"] .ac-sync-ic { background: rgba(245, 165, 36, 0.15); color: #d98400; }
.drawer .ac-sync-t { flex: 1; min-width: 0; }
.drawer .ac-sync-t b { display: block; font-size: 15px; font-weight: 600; line-height: 22px; color: var(--st-fg, var(--panel-fg)); }
.drawer .ac-sync[data-st="err"] .ac-sync-t b { color: var(--danger); }
.drawer .ac-sync-t small { display: block; margin-top: 1px; font-size: 12px; line-height: 18px; color: var(--st-sub, var(--panel-sub)); }
.drawer .ac-sync > .btn { flex: none; gap: 5px; }
.drawer .ac-syncg .gb > .note { padding-top: 10px; }
.yh-form .pw-wrap { position: relative; display: block; }
.yh-form .pw-wrap > input { padding-right: 42px !important; }
.yh-form .pw-eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--panel-sub); }
.yh-form .pw-eye:hover { background: var(--panel-soft-h); color: var(--panel-fg); }
.dlg-btn.busy { cursor: progress; }
.dlg-btn.busy::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: acSpin 0.7s linear infinite; }
.yh-dlg.ac-dlg .yh-form .err:not(:empty), .yh-dlg.rc-dlg .err:not(:empty) { padding: 7px 10px; border-radius: 9px; background: rgba(245, 82, 74, 0.1); }
.rc-dlg .rc-hero { display: flex; align-items: flex-start; gap: 12px; }
.rc-dlg .rc-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(34, 181, 115, 0.14); color: #1f9e65; }
.rc-dlg .rc-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 12px; padding: 14px 10px; border: 1px dashed var(--input-line); border-radius: 14px;
background: var(--panel-soft); user-select: all; font: 600 20px/1 ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace; letter-spacing: 1.5px; color: var(--panel-fg); }
.rc-dlg .rc-code span { padding: 8px 9px; border-radius: 8px; background: var(--panel-solid); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.rc-dlg .rc-code i { font-style: normal; color: var(--panel-sub); }
#wp-dim { pointer-events: none; }
.overlay.skin-ov { background: rgba(0, 0, 0, 0.22); backdrop-filter: none; }
.overlay .panel.skin-panel { width: 800px; max-width: 94vw; padding: 24px 26px 20px; }
.skin-panel h3 { margin-bottom: 4px; }
.skin-panel > p.muted { margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
.skin-picker.big { grid-template-columns: repeat(3, 1fr); gap: 16px 18px; }
.skin-picker.big .skin-card b { font-size: 14px; }
.skin-picker.big .skin-card small { font-size: 12px; margin-top: -3px; }
.skin-picker.big .skin-card .sk-pv { border-radius: 14px; }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 12px; }
.sp-foot .btn { flex: none; }
.skin-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.skin-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0; text-align: left; border-radius: 12px; color: var(--panel-fg); }
.skin-card .sk-pv { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); transition: transform 0.15s ease, border-color 0.15s ease; }
.skin-card:hover .sk-pv { transform: translateY(-2px); }
.skin-card.on .sk-pv { border-color: var(--yh-accent); }
.skin-card.on::after { content: '使用中'; position: absolute; top: 6px; right: 6px; font-size: 12px; line-height: 18px; padding: 0 8px; border-radius: 9px; background: var(--yh-accent); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.lang-en .skin-card.on::after { content: 'In use'; }
.skin-card b { font-size: 13px; font-weight: 600; padding: 0 2px; }
.skin-card small { font-size: 12px; line-height: 18px; color: var(--panel-sub); padding: 0 2px; margin-top: -4px; }
.sk-pv i { position: absolute; display: block; }
.sk-pv .clk { left: 7%; top: 9%; width: 22%; height: 9%; border-radius: 2px; }
.sk-pv .sb { left: 30%; top: 26%; width: 40%; height: 10%; }
.sk-pv .c1, .sk-pv .c2, .sk-pv .c3, .sk-pv .c4 { top: 44%; width: 17%; height: 30%; }
.sk-pv .c1 { left: 10%; }
.sk-pv .c2 { left: 30.5%; width: 37%; }
.sk-pv .c3 { left: 71%; }
.sk-pv .c4 { display: none; }
.sk-pv .dk { left: 32%; bottom: 6%; width: 36%; height: 8%; }
.sk-pv .rl { display: none; right: 3%; top: 32%; width: 6%; height: 40%; }
.sk-youhao .sk-pv { background: radial-gradient(42% 55% at 20% 26%, #6fae5c, transparent), radial-gradient(38% 48% at 80% 72%, #9bcf7a, transparent), radial-gradient(10% 16% at 60% 20%, #e9ffcf, transparent), linear-gradient(160deg, #3b6e47, #0f2a1b); }
.sk-youhao .clk { background: rgba(255, 255, 255, 0.94); }
.sk-youhao .sb { background: #fff; border-radius: 2px; box-shadow: inset -12px 0 0 #ff7a1a; }
.sk-youhao .c1 { background: linear-gradient(155deg, #56aaff, #2874ec); border-radius: 3px; }
.sk-youhao .c2 { background: #fff; border-radius: 3px; box-shadow: inset 0 6px 0 #f0f1f4; }
.sk-youhao .c3 { background: #fff; border-radius: 3px; box-shadow: inset 0 7px 0 #ea3a3a; }
.sk-youhao .c1::after, .sk-youhao .c2::after, .sk-youhao .c3::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -22%; height: 1px; background: rgba(255, 255, 255, 0.5); }
.sk-youhao .dk { background: rgba(0, 0, 0, 0.42); border-radius: 3px; width: 44%; left: 28%; }
.sk-youhao .rl { display: block; background: rgba(0, 0, 0, 0.4); border-radius: 2px; box-shadow: inset 0 4px 0 1px #fff; }
.sk-card .sk-pv { background: radial-gradient(45% 60% at 22% 70%, #2bc8ff, transparent), radial-gradient(42% 56% at 78% 28%, #ff7a59, transparent), radial-gradient(30% 40% at 55% 85%, #ffb547, transparent), #1c1f33; }
.sk-card .rl { display: block; left: 0; right: auto; top: 0; width: 7%; height: 100%; background: rgba(10, 10, 14, 0.4); box-shadow: inset 0 9px 0 -4px rgba(255, 255, 255, 0.85); }
.sk-card .clk { left: 40%; width: 20%; top: 8%; background: rgba(255, 255, 255, 0.94); border-radius: 2px; }
.sk-card .sb { left: 31%; width: 38%; background: rgba(255, 255, 255, 0.34); border-radius: 6px; }
.sk-card .c1 { left: 14%; width: 16%; background: rgba(20, 20, 24, 0.5); border-radius: 4px; }
.sk-card .c2 { left: 32.5%; width: 35%; background: rgba(20, 20, 24, 0.5); border-radius: 4px; }
.sk-card .c3 { left: 70%; width: 16%; background: #fff; border-radius: 4px; box-shadow: inset 0 7px 0 #ff3b30; }
.sk-card .dk { display: none; }
.sk-polar .sk-pv { background: radial-gradient(70% 50% at 70% 20%, #e9b98a, transparent), linear-gradient(170deg, #c98b5a 0%, #a8673d 45%, #6e3f22 100%); }
.sk-polar .clk { left: 40%; width: 20%; top: 7%; height: 10%; background: #fff; border-radius: 2px; }
.sk-polar .sb { left: 33%; width: 34%; top: 23%; background: #fff; border-radius: 6px; }
.sk-polar .c1 { background: linear-gradient(180deg, #7d808c, #a3a6b0); border-radius: 4px; }
.sk-polar .c2 { background: #fff7e6; border-radius: 4px; box-shadow: inset 0 6px 0 #5b2a09; }
.sk-polar .c3 { background: #fffaf3; border-radius: 4px; box-shadow: inset 0 -7px 0 #f1b27a; }
.sk-polar .rl { display: block; background: none; box-shadow: inset 0 4px 0 -1px rgba(255, 255, 255, 0.85); }
.sk-polar .dk { left: 42%; width: 16%; background: rgba(16, 16, 18, 0.75); border-radius: 6px; }
.sk-minimal .sk-pv { background: radial-gradient(60% 50% at 30% 80%, #3c3c3c, transparent), linear-gradient(180deg, #9a9a9a, #5c5c5c 60%, #2e2e2e); }
.sk-minimal .clk { left: 38%; width: 24%; top: 8%; height: 11%; background: rgba(255, 255, 255, 0.92); }
.sk-minimal .sb { left: 32%; width: 36%; top: 27%; background: #fff; border-radius: 2px; }
.sk-minimal .c1, .sk-minimal .c2, .sk-minimal .c3 { background: #fff; border-radius: 5px; }
.sk-minimal .c1 { border-radius: 50%; width: 9%; }
.sk-minimal .dk { left: 44%; width: 12%; height: 3%; bottom: 7%; background: radial-gradient(circle, #fff 1.5px, transparent 2px) 0 50% / 8px 100% repeat-x; }
.sk-esports .sk-pv { background: radial-gradient(40% 50% at 80% 10%, rgba(12, 127, 168, 0.5), transparent), radial-gradient(34% 44% at 12% 90%, rgba(255, 45, 149, 0.3), transparent), linear-gradient(180deg, #05070f, #0a1224 55%, #03050a); }
.sk-esports .sk-pv::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: repeating-linear-gradient(60deg, rgba(25, 198, 232, 0.14) 0 1px, transparent 1px 11px), repeating-linear-gradient(-60deg, rgba(25, 198, 232, 0.14) 0 1px, transparent 1px 11px), linear-gradient(180deg, transparent 63%, rgba(25, 227, 255, 0.55) 64%, transparent 66%); }
.sk-esports .clk { background: #7ff3ff; box-shadow: 0 0 6px #00e5ff; }
.sk-esports .sb { background: rgba(6, 10, 18, 0.9); border: 1px solid #00e5ff; box-shadow: 0 0 6px rgba(0, 229, 255, 0.6), inset -12px 0 0 #00e5ff; z-index: 1; }
.sk-esports .c1, .sk-esports .c2, .sk-esports .c3 { background: rgba(8, 12, 22, 0.92); border: 1px solid rgba(0, 229, 255, 0.6); box-shadow: 0 0 6px rgba(0, 229, 255, 0.35); z-index: 1; }
.sk-esports .dk { background: rgba(6, 10, 18, 0.9); border-top: 1px solid #ff2e88; z-index: 1; }
.sk-esports .rl { display: block; background: rgba(6, 10, 18, 0.9); border: 1px solid rgba(0, 229, 255, 0.5); z-index: 1; }
:root[data-imm] :is(#stage, #rail, #dock, #tools, #search .hotwords, #search .s-types) { opacity: 0; visibility: hidden; pointer-events: none; }
:root[data-imm] #rail { translate: var(--imm-rail, calc(100% + 22px) 0); }
:root[data-imm] #dock { translate: 0 calc(100% + 22px); }
:root[data-imm-anim] :is(#stage, #rail, #dock, #tools, #search .hotwords, #search .s-types) { transition: opacity 0.2s ease, visibility 0s linear 0.2s, translate 0.22s ease-in-out !important; }
:root[data-imm-anim]:not([data-imm]) :is(#stage, #rail, #dock, #tools, #search .hotwords, #search .s-types) { transition: opacity 0.2s ease, translate 0.22s ease-in-out !important; }
:root[data-imm] #app #clock { width: max-content; text-align: center; }
:root[data-imm]:not([data-cc]) #app #clock .t { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22), 0 4px 32px rgba(0, 0, 0, 0.32); }
:root[data-imm]:not([data-cc]) #app #clock .d { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 14px rgba(0, 0, 0, 0.36); }
#imm-bar { position: fixed; top: 18px; right: 24px; z-index: 30; display: flex; align-items: center; gap: 10px; animation: immIn 0.3s ease 0.12s both; }
#imm-bar.out { animation: immOut 0.2s ease both; pointer-events: none; }
@keyframes immIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes immOut { to { opacity: 0; } }
.imm-fog, .imm-btn { border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(17, 24, 39, 0.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fffaf3; }
.imm-fog { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; user-select: none; }
.imm-fog input { -webkit-appearance: none; appearance: none; width: 92px; height: 6px; margin: 0; border-radius: 3px; cursor: pointer;
background: linear-gradient(to right, var(--yh-accent) var(--p, 0%), rgba(255, 255, 255, 0.3) var(--p, 0%)); }
.imm-fog input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--yh-accent); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.35); }
.imm-fog input:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.8); outline-offset: 5px; }
.imm-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.15s ease, opacity 0.2s ease; }
.imm-btn:hover { background: rgba(255, 255, 255, 0.2); }
.imm-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55); }
.imm-btn .yi { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); }
.imm-exit { opacity: 0.62; }
#imm-bar:hover .imm-exit, .imm-exit:focus-visible { opacity: 1; }
:root[data-skin="esports"] .imm-fog, :root[data-skin="esports"] .imm-btn { border-radius: 4px; border-color: rgba(255, 255, 255, 0.12); background: rgba(12, 12, 16, 0.62); }
#overlay-root > .overlay.imm-tip-ov { background: rgba(29, 33, 41, 0.6); -webkit-backdrop-filter: none; backdrop-filter: none; animation: fadeIn 0.2s ease; transition: opacity 0.16s ease; }
#overlay-root > .overlay.imm-tip-ov.out { opacity: 0; }
.imm-tip { width: 412px; max-width: calc(100vw - 32px); padding: 16px 20px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; text-align: center;
background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); animation: immTipIn 0.3s cubic-bezier(0.3, 1.3, 0.3, 1); }
@keyframes immTipIn { from { opacity: 0; transform: scale(0.5); } }
.imm-tip h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 24px; }
.imm-tip-art { position: relative; width: 308px; max-width: 100%; height: 194px; margin: 0 auto; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
background: linear-gradient(180deg, #45464b, #232427) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.imm-tip-art b { font-family: var(--num-font); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3); }
.imm-tip-art .bars { display: flex; gap: 6px; }
.imm-tip-art .bars i { width: 64px; height: 10px; border-radius: 5px; background: #fff; }
.imm-tip-art .bars i:first-child { width: 40px; }
.imm-tip-art .x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.24); }
.imm-tip-h { margin: 12px 0 0; font-size: 16px; line-height: 24px; }
.imm-tip-p { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.86); }
.imm-tip-k { margin: 6px 0 0; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, 0.5); }
.imm-tip-ok { width: 100%; height: 38px; margin-top: 24px; border-radius: 19px; font-size: 14px; font-weight: 500; background: var(--yh-accent); color: var(--yh-accent-ink, #fff); transition: filter 0.15s ease; }
.imm-tip-ok:hover { filter: brightness(1.08); }
.imm-tip-ok:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); }
:root[data-skin="minimal"] .imm-tip-ok { background: #fff; color: #111; }
:root[data-skin="esports"] .imm-tip { border-radius: 8px; }
:root[data-skin="esports"] .imm-tip-art { border-radius: 4px; }
:root[data-skin="esports"] .imm-tip-ok { border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
#imm-bar, .imm-tip, #overlay-root > .overlay.imm-tip-ov { animation: none; }
}
select option { background-color: var(--dd-bg, var(--panel-solid)); color: var(--dd-fg, var(--panel-fg)); }
@supports (appearance: base-select) {
select { appearance: base-select !important; align-items: center; }
select::picker-icon {
content: ''; flex: none; width: 12px; height: 12px; margin-inline-start: auto; background: currentColor; opacity: 0.5; transition: rotate 0.2s ease;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
select:open::picker-icon { rotate: 180deg; }
:is(.st-sel, .fx-in select, .sn-sel select, .cp-to select)::picker-icon { display: none; }
:is(.ea-tool, .ma-tool, .pa-top, .qa-to) select { position: relative; }
:is(.ea-tool, .ma-tool, .pa-top, .qa-to) select::picker-icon { position: absolute; right: 10px; top: 50%; margin-top: -6px; }
::picker(select) {
appearance: base-select;
margin: 6px 0; padding: 4px; border: 1px solid var(--dd-line, var(--panel-border)); border-radius: var(--dd-r, 10px);
background: var(--dd-bg, var(--panel-solid)); color: var(--dd-fg, var(--panel-fg));
box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.12);
max-height: min(320px, 60vh); overflow-y: auto; scrollbar-width: thin; position-try-order: normal;
font-size: 13px; line-height: 18px;
}
select option { display: flex; align-items: center; gap: 8px; min-height: 0; padding: 7px 12px 7px 10px; border-radius: var(--dd-ir, 6px); background: transparent; color: inherit; font-weight: 400; white-space: nowrap; cursor: pointer; }
select option::checkmark { order: 1; margin-inline-start: auto; padding-left: 12px; color: var(--dd-acc, var(--yh-accent)); font-weight: 700; }
select option:hover, select option:focus-visible { background: var(--dd-hover, var(--panel-soft-h)); outline: 0; }
select option:checked { color: var(--dd-acc, var(--yh-accent)); font-weight: 600; }
select option:disabled { opacity: 0.45; cursor: default; }
}
