/* 我的网址：自定义添加 / 网址库双入口 */
.link-entry-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
.link-entry-tabs button{min-height:76px;padding:13px 16px;border:1px solid #e1e6ef;border-radius:18px;background:rgba(255,255,255,.78);color:#687386;display:flex;align-items:center;gap:13px;text-align:left;transition:.22s}
.link-entry-tabs button>i{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#eef1f7;color:#677287;display:grid;place-items:center;font-style:normal;font-size:18px;font-weight:800;transition:.22s}
.link-entry-tabs button>span{min-width:0;display:grid;gap:5px}.link-entry-tabs button b{font-size:14px;color:#374258}.link-entry-tabs button small{font-size:10px;color:#969fae;white-space:normal}
.link-entry-tabs button:hover{transform:translateY(-2px);border-color:#cbd4ef;box-shadow:0 10px 24px rgba(40,54,86,.08)}
.link-entry-tabs button.active{border-color:rgba(84,107,226,.32);background:linear-gradient(145deg,#f1f4ff,#fff);box-shadow:0 12px 28px rgba(61,80,181,.1)}
.link-entry-tabs button.active>i{background:linear-gradient(145deg,#647af2,#5364d9);color:#fff;box-shadow:0 7px 16px rgba(73,92,201,.24)}
.link-entry-tabs button.active b{color:#4f63d7}
.custom-add-banner{min-height:126px;padding:20px 22px;border:1px solid rgba(91,112,226,.18);border-radius:22px;background:linear-gradient(135deg,#f0f4ff,#fbfcff 58%,#f6f1ff);display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:17px}
.custom-add-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#6680f6,#7662df);color:#fff;display:grid;place-items:center;font-size:30px;box-shadow:0 12px 25px rgba(76,92,194,.22)}
.custom-add-banner small,.catalog-library-head small{color:#7e8bd2;font-size:10px;font-weight:700;letter-spacing:.12em}.custom-add-banner h3,.catalog-library-head h3{margin:4px 0 6px;font-size:18px;color:#34405a}.custom-add-banner p,.catalog-library-head p{margin:0;color:#858fa2;font-size:11px;line-height:1.6}
.custom-add-banner>button{height:43px;padding:0 18px;border:0;border-radius:12px;background:#586de4;color:#fff;font-size:11px;font-weight:700;box-shadow:0 8px 18px rgba(70,88,192,.2)}
.saved-links-heading{margin:21px 0 10px;display:flex;align-items:end;justify-content:space-between;gap:12px}.saved-links-heading h3{margin:0 0 4px;font-size:15px}.saved-links-heading span{color:#949dac;font-size:10px}.saved-links-heading>button{height:34px;padding:0 13px;border:1px solid #e0e5ed;border-radius:10px;background:#fff;color:#687386;font-size:10px}
.catalog-library-head{min-height:93px;padding:17px 20px;border:1px solid #e3e8f0;border-radius:19px;background:linear-gradient(145deg,#f8faff,#fff);display:flex;align-items:center;justify-content:space-between;gap:18px}.catalog-library-head h3{font-size:17px}.catalog-library-head>strong{min-width:70px;color:#5267dc;font-size:26px;text-align:right}.catalog-library-head>strong span{display:block;color:#9aa3b1;font-size:9px;font-weight:500}
.catalog-search-toolbar{margin-bottom:10px}.catalog-search-toolbar label{box-shadow:0 5px 15px rgba(45,58,88,.04)}
.catalog-library-grid article{min-height:126px;align-items:start}.catalog-library-card .manager-site-icon{margin-top:2px}.catalog-site-copy{padding-right:3px;padding-bottom:28px}.catalog-site-copy>span{display:flex;align-items:center;gap:6px;min-width:0}.catalog-site-copy>span>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-site-copy>span>em{flex:none;padding:3px 6px;border-radius:7px;background:#eef1f8;color:#7b8598;font-size:8px;font-style:normal}.catalog-site-copy>small{margin-top:1px;color:#65728a!important;font-size:10px!important}.catalog-site-copy>p{margin:1px 0 0;color:#a2a9b5;font-size:8px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.catalog-empty,.custom-empty{min-height:170px;display:grid;place-content:center;justify-items:center;gap:7px}.catalog-empty b,.custom-empty b{color:#596579}.catalog-empty span,.custom-empty span{color:#99a2af;font-size:10px}

/* 壁纸预览使用明确属性映射，避免顺序变化导致预览串图 */
.wallpaper[data-wallpaper="aurora-coast"]{background:linear-gradient(rgba(7,28,53,.06),rgba(12,22,49,.16)),url('../assets/wallpapers/aurora-coast.webp') center/cover no-repeat}
.wallpaper-choices button[data-wallpaper="aurora-coast"] i{background:url('../assets/wallpapers/aurora-coast-preview.webp') center/cover no-repeat!important}
.wallpaper-choices button[data-wallpaper="desert"] i{background:url('../assets/wallpapers/desert-stars-preview.webp') center/cover no-repeat!important}
.wallpaper-choices button[data-wallpaper="alpine"] i{background:url('../assets/wallpapers/alpine-aurora.webp') center/cover no-repeat!important}

/* 冥想模式：真实双帧小和尚敲木鱼 */
.meditation-tool-icon{display:block;width:34px;height:34px;background:url('../assets/meditation-monk-sprite.webp') left center/200% 100% no-repeat;filter:drop-shadow(0 3px 5px rgba(54,36,20,.18))}
.meditation-overlay{background:radial-gradient(circle at 50% 65%,rgba(117,86,47,.16),transparent 34%),rgba(7,16,27,.3);backdrop-filter:blur(34px) brightness(.5)}
.meditation-center{width:min(760px,94vw);gap:7px}.meditation-center>small{margin-bottom:2px}.meditation-overlay time{font-size:clamp(54px,10vw,132px);line-height:1.04;letter-spacing:.02em}.meditation-overlay #focusDate{margin-bottom:1px}
.focus-overlay .monk-wooden-fish{position:relative!important;inset:auto!important;width:min(330px,70vw)!important;height:auto!important;aspect-ratio:1/1;margin:7px 0 0!important;padding:0!important;border:0!important;border-radius:36%!important;background:transparent!important;display:block;overflow:visible;filter:drop-shadow(0 18px 28px rgba(0,0,0,.2));touch-action:manipulation}
.monk-sprite{display:block!important;width:100%;height:100%;background:url('../assets/meditation-monk-sprite.webp') left center/200% 100% no-repeat;opacity:1!important;letter-spacing:0!important;transition:filter .12s ease,transform .12s ease;will-change:background-position,transform}
.monk-wooden-fish.struck .monk-sprite{background-position:right center;transform:translateY(2px) scale(.994);filter:brightness(1.06)}
.monk-wooden-fish.struck:after{content:'';position:absolute;left:51%;bottom:18%;width:34px;height:34px;border:2px solid rgba(255,222,150,.75);border-radius:50%;animation:woodImpactRing .42s ease-out both;pointer-events:none}
.meditation-manual-tip{margin:0;color:rgba(255,255,255,.84);font-size:12px;letter-spacing:.08em}.meditation-mode-status{font-size:10px;font-style:normal;color:rgba(255,255,255,.54);letter-spacing:.12em}.meditation-mode-status[data-mode="manual"]{color:#ffe4a6}
@keyframes woodImpactRing{from{opacity:.85;transform:scale(.3)}to{opacity:0;transform:scale(1.8)}}

.dark-mode .link-entry-tabs button,.dark-mode .saved-links-heading>button,.dark-mode .catalog-library-head{background:#1d2835;border-color:#344052}.dark-mode .link-entry-tabs button b,.dark-mode .custom-add-banner h3,.dark-mode .catalog-library-head h3{color:#eef2f7}.dark-mode .link-entry-tabs button.active{background:linear-gradient(145deg,#263554,#1d2835)}.dark-mode .custom-add-banner{border-color:#344052;background:linear-gradient(145deg,#202d40,#1c2633)}.dark-mode .catalog-site-copy>span>em{background:#2a3747;color:#b7c0cc}
@media(max-width:680px){.link-entry-tabs{gap:7px}.link-entry-tabs button{min-height:68px;padding:10px}.link-entry-tabs button>i{width:38px;height:38px;flex-basis:38px}.link-entry-tabs button small{display:none}.custom-add-banner{grid-template-columns:48px 1fr;padding:16px}.custom-add-icon{width:48px;height:48px;border-radius:15px}.custom-add-banner>button{grid-column:1/-1;width:100%}.catalog-library-head{padding:14px}.catalog-library-head p{display:none}.meditation-overlay time{font-size:clamp(43px,13vw,74px)}.focus-overlay .monk-wooden-fish{width:min(290px,76vw)!important}}
@media(prefers-reduced-motion:reduce){.monk-sprite{transition:none}.monk-wooden-fish.struck:after{display:none}}
