:root{--blue: #2674f2;--blue2: #4aa7ff;--ink: #14203d;--muted: #71809e;--line: #dbe7f7;--soft: #f5f9ff;--card: #ffffff;--shadow: 0 10px 28px rgba(42, 91, 158, .09);--radius: 20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif;background:linear-gradient(180deg,#f7fbff,#f3f7fd 42%,#f7f9fc);color:var(--ink);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app{width:min(1680px,calc(100% - 40px));margin:0 auto;padding:20px 0 32px}.topbar{height:72px;display:grid;grid-template-columns:minmax(360px,1fr) minmax(360px,620px) auto;align-items:center;gap:20px;padding:0 14px}.brand{display:flex;align-items:center;gap:18px;min-width:0}.brand-logo{width:194px;height:52px;object-fit:contain;border-radius:11px;background:#fff}.brand-divider{width:1px;height:30px;background:#cad7ec}.brand-title{font-size:23px;font-weight:800;white-space:nowrap}.brand-sub{font-size:12px;color:#9aa7bc;margin-left:8px;white-space:nowrap}.header-search{display:flex;height:48px;border:1.5px solid #a7c7fb;background:#ffffffe6;border-radius:15px;overflow:hidden;box-shadow:0 6px 18px #2e6fde14}.header-search input{border:0;outline:0;flex:1;padding:0 18px;color:#263650;background:transparent;min-width:0}.header-search button{width:62px;border:0;background:linear-gradient(135deg,#3e9cff,#1668ed);color:#fff;font-size:21px}.top-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.btn{height:43px;border:1px solid #d8e5f7;border-radius:13px;background:#fff;padding:0 17px;color:#24446f;font-weight:700;box-shadow:0 5px 15px #345b910d;display:inline-flex;align-items:center;gap:8px}.btn.primary{background:linear-gradient(135deg,#3b9aff,#1469ed);border-color:transparent;color:#fff;box-shadow:0 8px 20px #1f71eb38}.btn:hover{transform:translateY(-1px)}.profile{height:43px;padding:0 12px;border-radius:13px;display:flex;align-items:center;gap:9px;color:#315182;font-weight:700}.avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,#e3eeff,#fff);border:1px solid #d2e2fb;display:grid;place-items:center;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.hero{position:relative;height:250px;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.9);background:linear-gradient(90deg,#e7f5ffeb,#e2f2ffc4 43%,#dbefff6b 68%,#d0ebff3b)}.hero-bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center 56%}.hero-copy{position:absolute;z-index:3;left:48px;top:31px;width:42%}.hero-kicker{font-size:13px;color:#6e87af;font-weight:700;letter-spacing:.06em}.hero-title{font-family:STKaiti,KaiTi,Microsoft YaHei,sans-serif;font-size:47px;line-height:1.08;color:#1748a8;font-weight:800;margin:5px 0 8px;text-shadow:0 2px 0 rgba(255,255,255,.85)}.hero-desc{color:#3a6cbb;font-weight:700;font-size:15px;margin-bottom:8px}.hero-note{font-size:13px;color:#6f88a9}.hero-character{position:absolute;z-index:2;right:0;top:0;width:31%;height:100%;object-fit:cover;object-position:50% 20%;filter:saturate(.96) brightness(1.03);-webkit-mask-image:linear-gradient(to left,#000 74%,transparent 100%);mask-image:linear-gradient(to left,#000 74%,transparent 100%)}.hero-mark{position:absolute;z-index:3;right:29.5%;top:56px;width:120px;height:120px;border-radius:50%;background:#ffffffb8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:grid;place-items:center;border:1px solid rgba(255,255,255,.85);box-shadow:0 12px 28px #1b64d224}.hero-mark img{width:105px;height:105px;object-fit:cover;object-position:center 24%;border-radius:50%}.hero-hand{position:absolute;z-index:3;right:30.5%;top:26px;font-family:STKaiti,KaiTi,sans-serif;color:#2857a7;font-size:22px;transform:rotate(-5deg)}.quick{position:absolute;z-index:4;left:32.5%;bottom:38px;display:flex;gap:14px}.quick-label{position:absolute;left:32.5%;bottom:111px;font-size:16px;font-weight:800;color:#204b8f;display:flex;align-items:center;gap:8px}.quick-card{position:relative;width:255px;height:74px;border-radius:16px;background:#ffffffe6;border:1px solid rgba(196,218,248,.9);display:flex;align-items:center;gap:13px;padding:0 20px;box-shadow:0 10px 24px #2663bb1a;transition:.2s}.quick-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px #2663bb29}.quick-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#f3f8ff;color:#1f6fea;font-size:24px;overflow:hidden}.quick-icon img{width:30px;height:30px;object-fit:contain}.quick-main{min-width:0;flex:1}.quick-name{font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-url{font-size:12px;color:#3670c8;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-arrow{font-size:26px;color:#1d69ec}.quick-remove{position:absolute;right:8px;top:6px;border:0;background:transparent;color:#96a9c8;font-size:14px;opacity:0;transition:.15s}.quick-card:hover .quick-remove{opacity:1}.hero-side-text{position:absolute;z-index:3;right:14px;top:30px;text-align:center;color:#eaf5ff;font-size:12px;line-height:1.8;letter-spacing:.08em;text-shadow:0 1px 8px rgba(0,73,168,.42)}.notice{height:48px;margin-top:10px;border-radius:16px;background:linear-gradient(90deg,#f4f9ff,#edf6ff);border:1px solid #deebfb;display:flex;align-items:center;gap:11px;padding:0 22px;color:#6782a9;font-size:13px;position:relative;overflow:hidden}.notice b{color:#305a91}.notice .slogan{margin-left:auto;font-family:STKaiti,KaiTi,sans-serif;color:#2d65c0;font-size:20px;white-space:nowrap}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:18px 3px 12px}.toolbar-title{display:flex;align-items:baseline;gap:12px}.toolbar-title strong{font-size:18px}.toolbar-title span{font-size:12px;color:#99a7bc}.manage-hint{font-size:12px;color:#7890b3;display:none}.manage-mode .manage-hint{display:inline}.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}.category{min-height:252px;background:#fffffff0;border:1px solid var(--cat-border, #dbe7f7);border-radius:19px;overflow:hidden;box-shadow:0 6px 17px #31568b0b;transition:.18s}.category.dragging{opacity:.45;transform:scale(.98)}.category.drag-over{outline:2px dashed #78aef7;outline-offset:3px}.category-head{min-height:72px;padding:16px 16px 11px;background:var(--cat-head, #edf5ff);display:flex;gap:11px;align-items:flex-start;position:relative}.category-emoji{font-size:24px;line-height:1;margin-top:2px}.category-head-main{flex:1;min-width:0}.category-title{font-size:18px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-desc{font-size:11px;color:#7b8ca5;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-actions{display:flex;gap:4px}.icon-btn{border:0;background:transparent;color:#7692bb;width:28px;height:28px;border-radius:8px;display:grid;place-items:center}.icon-btn:hover{background:#ffffffb8;color:#245da9}.category-body{padding:9px 13px 13px}.site-list{min-height:109px}.site-row{display:grid;grid-template-columns:39px minmax(0,1fr) 26px 26px;align-items:center;gap:8px;min-height:51px;padding:5px 4px;border-bottom:1px solid #eef3f9;border-radius:11px;transition:.15s}.site-row:last-child{border-bottom:0}.site-row:hover{background:#f8fbff}.site-row.dragging{opacity:.35}.site-row.drag-over{background:#edf6ff;outline:1px dashed #8ebafb}.favicon{width:34px;height:34px;border-radius:10px;background:#f4f7fb;display:grid;place-items:center;overflow:hidden;font-weight:900;color:#2469d8}.favicon img{width:26px;height:26px;object-fit:contain}.site-main{min-width:0;cursor:pointer}.site-name{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-url{font-size:11px;color:#8090aa;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-menu,.site-remove{border:0;background:transparent;color:#8aa0bf;width:25px;height:25px;border-radius:7px;display:grid;place-items:center}.site-menu:hover,.site-remove:hover{background:#edf4ff;color:#2764b8}.add-site{width:100%;height:39px;margin-top:8px;border:1px dashed #bad5fa;background:#fbfdff;color:#3176d6;border-radius:10px;font-weight:700;font-size:12px}.add-site:hover{background:#f1f7ff}.add-category-card{min-height:252px;border:1.5px dashed #a9caf7;border-radius:19px;background:#f9fcff99;display:grid;place-items:center;color:#4275be;transition:.18s}.add-category-card:hover{background:#f4f9ff;transform:translateY(-2px)}.add-category-inner{text-align:center}.plus-circle{width:56px;height:56px;border-radius:50%;background:#e5f0ff;display:grid;place-items:center;margin:0 auto 12px;font-size:31px;color:#1a6ce9}.add-category-inner b{font-size:14px}.add-category-inner p{font-size:11px;color:#91a3c0;margin:8px 0 0;line-height:1.6}.empty{min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#a4b0c3;font-size:12px}.empty img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(74,140,255,.14))}.grid-empty{grid-column:1/-1;text-align:center;padding:64px 20px 52px;color:#a4b0c3}.grid-empty img{width:220px;height:220px;object-fit:contain;filter:drop-shadow(0 14px 28px rgba(74,140,255,.16));animation:floaty 5s ease-in-out infinite}.grid-empty b{display:block;margin-top:14px;font-size:16px;color:#5c6f8b;letter-spacing:.04em}.grid-empty p{margin:8px 0 0;font-size:12px;letter-spacing:.03em}@keyframes rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes riseTilt{0%{opacity:0;transform:translateY(14px) rotate(-5deg)}to{opacity:1;transform:translateY(0) rotate(-5deg)}}@keyframes floaty{0%,to{transform:translateY(0)}50%{transform:translateY(-9px)}}.hero-copy>*{animation:rise .7s cubic-bezier(.22,1,.36,1) backwards}.hero-copy>*:nth-child(2){animation-delay:.07s}.hero-copy>*:nth-child(3){animation-delay:.14s}.hero-copy>*:nth-child(4){animation-delay:.21s}.quick-label{animation:rise .6s .28s cubic-bezier(.22,1,.36,1) backwards}.quick-card{animation:rise .6s .34s cubic-bezier(.22,1,.36,1) backwards}.quick-card:nth-child(2){animation-delay:.4s}.hero-mark{animation:rise .7s .42s cubic-bezier(.22,1,.36,1) backwards}.hero-hand{animation:riseTilt .7s .42s cubic-bezier(.22,1,.36,1) backwards}.category{animation:rise .5s cubic-bezier(.22,1,.36,1) backwards}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1224423d;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(520px,100%);background:#fff;border-radius:22px;box-shadow:0 25px 70px #1c3d7038;border:1px solid #e2ebf7;overflow:hidden}.modal.large{width:min(720px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 14px;border-bottom:1px solid #eef3f8}.modal-head h3{margin:0;font-size:18px}.modal-close{border:0;background:#f4f7fb;color:#607490;width:34px;height:34px;border-radius:10px;font-size:18px}.modal-body{padding:20px 22px}.field{margin-bottom:15px}.field label{display:block;font-size:12px;font-weight:800;color:#5c6f8b;margin-bottom:7px}.field input,.field select{width:100%;height:44px;border:1px solid #dbe5f1;border-radius:11px;padding:0 12px;outline:none;background:#fbfdff;color:#243957}.field input:focus,.field select:focus{border-color:#7eb2fb;box-shadow:0 0 0 3px #478bf01c}.row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:0 22px 20px}.modal-foot .btn{height:41px}.danger{color:#d84b5c!important}.manage-list{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto}.manage-item{display:grid;grid-template-columns:32px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e7eef8;border-radius:12px;background:#fbfdff}.drag-handle{cursor:grab;color:#8da1bd;text-align:center;font-size:18px}.manage-title{font-size:13px;font-weight:800}.manage-desc{font-size:11px;color:#8a99ae;margin-top:2px}.manage-actions{display:flex;gap:4px}footer{display:flex;justify-content:space-between;align-items:center;color:#91a1b7;font-size:11px;padding:20px 4px 0}footer .fbrand{display:flex;align-items:center;gap:8px}footer .fbrand img{width:28px;height:28px;border-radius:8px;object-fit:cover;object-position:center 24%}.toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%) translateY(30px);background:#1c3154;color:#fff;border-radius:12px;padding:11px 16px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:80;box-shadow:0 12px 32px #0000002e}.toast.show{opacity:1;transform:translate(-50%) translateY(0)}@media (max-width:1450px){.topbar{grid-template-columns:minmax(330px,1fr) minmax(320px,500px) auto}.brand-sub{display:none}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-title{font-size:41px}.quick,.quick-label{left:31%}}@media (max-width:1180px){.app{width:min(100% - 24px,1100px)}.topbar{height:auto;grid-template-columns:1fr auto;padding:12px 4px}.header-search{grid-column:1/-1;grid-row:2}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-copy{width:48%;left:32px}.quick{left:35%;bottom:26px}.quick-label{display:none}.quick-card{width:210px}.hero-character{width:38%}.hero-mark{display:none}}@media (max-width:820px){.top-actions .btn:not(.primary){display:none}.brand-logo{width:150px}.brand-title{font-size:18px}.brand-divider{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{height:310px}.hero-copy{width:70%;left:24px;background:linear-gradient(100deg,#f4faffeb 55%,#f4faff8c);border-radius:14px;padding:14px 16px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.55)}.hero-title{font-size:36px}.hero-character{width:45%;opacity:.75}.hero-hand,.hero-side-text{display:none}.quick{left:24px;right:24px;bottom:20px}.quick-card{flex:1;width:auto}.notice .slogan{display:none}}@media (max-width:560px){.app{width:calc(100% - 16px);padding-top:8px}.topbar{padding:0}.brand-logo{width:126px;height:44px}.brand-title,.top-actions .profile{display:none}.top-actions .btn.primary{padding:0 12px}.grid{grid-template-columns:1fr}.hero{height:350px;border-radius:18px}.hero-copy{width:80%;left:18px;top:20px;background:linear-gradient(100deg,#f4fafff0 55%,#f4faff99);padding:12px 14px}.hero-title{font-size:32px}.hero-character{width:64%;opacity:.48}.quick{flex-direction:column;left:18px;right:18px}.quick-card{width:100%;height:62px}.notice{height:auto;min-height:46px;padding:10px 14px}.toolbar-title span{display:none}.row-2{grid-template-columns:1fr}footer{flex-direction:column;gap:8px;align-items:flex-start}}
