:root{--blue:#00aeec;--pink:#fb7299;--ink:#18191c;--muted:#9499a0;--line:#e3e5e7;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;color:var(--ink);background:#fff;font:14px/1.6 var(--font)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:progress}a:hover,button:hover{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}button{border:0;border-radius:8px;background:#f6f7f8;color:#61666d;padding:6px 12px}input,select{color:#18191c;background:#fff}::selection{background:#cceffc}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.container{width:calc(100% - 96px);max-width:1440px;margin:0 auto}
/* Contemporary Bilibili-inspired navigation: a wide seasonal header, white body and colorful reusable links. */
.site-header{position:relative;height:160px;background:#70bde5;isolation:isolate}.site-header:after{content:"";position:absolute;inset:0;background:linear-gradient(#12385047,transparent 70%);z-index:-1;pointer-events:none}.anime-banner{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;z-index:-2}.header-top{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:14px 32px;max-width:1920px;margin:0 auto}.primary-nav{display:flex;align-items:center;gap:21px;flex:none;color:#fff;white-space:nowrap;text-shadow:0 1px 4px #274a6860}.primary-nav a{font-size:14px}.primary-nav a:hover{color:#fff;text-shadow:0 1px 5px #154965}.search-form{display:flex;align-items:center;flex:1;max-width:510px;min-width:0;height:40px;border:1px solid #ffffff99;border-radius:8px;background:#fffffff0;overflow:hidden}.search-form:focus-within{border-color:var(--blue);background:#fff}.search-form input{flex:1;min-width:0;height:100%;padding:0 12px;background:transparent;border:0;outline:0;font-size:14px}.search-form input::placeholder{color:#9499a0}.search-form select{order:-1;flex:none;width:84px;height:26px;padding:0 6px;border:0;border-right:1px solid #dfe4e8;background:transparent;outline-offset:-2px;color:#61666d;font-size:13px}.search-form button{flex:none;width:39px;height:32px;display:grid;place-items:center;margin-right:3px;padding:0;background:transparent;border-radius:6px;color:#50565c}.search-form button:hover{background:#e3e5e7;color:#18191c}.search-form svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.sakura-entry{display:flex;align-items:center;position:relative;gap:18px;flex:none;white-space:nowrap}.sakura-entry>a{font-size:14px;color:#fff;text-shadow:0 1px 4px #274a6860}.sakura-entry>a:hover{color:#fff;text-decoration:underline}.sakura-entry button{height:36px;padding:0 15px;color:#fff;background:var(--pink);font-size:14px;white-space:nowrap;border-radius:8px}.sakura-entry button:hover{background:#fc8bab;color:#fff}.sakura-entry button:disabled{color:#ffebf2;background:#e9a0b6}.sakura-entry p{position:absolute;right:0;top:40px;margin:0;max-width:285px;font-size:11px;line-height:1.5;color:#fff;white-space:normal;text-align:right;text-shadow:0 1px 3px #163449aa;overflow-wrap:anywhere}.wordmark{position:absolute;left:max(48px,calc((100% - 1440px)/2));bottom:24px;color:#fff;display:flex;align-items:center;gap:11px;font:italic 900 43px/1 "Comic Sans MS","Trebuchet MS",sans-serif;letter-spacing:-2px;text-shadow:0 2px 4px #29618455}.wordmark:hover{color:#fff}.wordmark small{font:13px/1.4 var(--font);letter-spacing:0;font-style:normal;margin-left:11px;margin-top:15px;text-shadow:0 1px 3px #29618466}.wordmark-tv{display:flex;align-items:center;justify-content:center;gap:9px;position:relative;width:37px;height:28px;border:3px solid #fff;border-radius:6px;margin-top:5px}.wordmark-tv:before,.wordmark-tv:after{content:"";position:absolute;width:13px;height:3px;top:-9px;background:#fff;border-radius:2px}.wordmark-tv:before{left:2px;transform:rotate(40deg)}.wordmark-tv:after{right:2px;transform:rotate(-40deg)}.wordmark-tv i{height:10px;width:3px;background:#fff;transform:rotate(-8deg);border-radius:2px}
.category-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:22px 0 19px;border-bottom:1px solid #f1f2f3}.category-tab{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:9px 12px;color:#61666d;background:#f6f7f8;border:1px solid transparent;border-radius:8px;white-space:nowrap;font-size:14px;line-height:22px;min-width:118px}.category-tab:hover{color:var(--blue);background:#f0f9fd}.category-tab.active,.category-tab[aria-pressed=true]{color:var(--blue);border-color:#b9e8fa;background:#eaf8fe}.category-icon{display:grid;place-items:center;font:19px/1 var(--font);width:24px;color:var(--blue);flex:none}.category-tab:nth-child(even) .category-icon{color:var(--pink)}.category-tab:nth-child(3n) .category-icon{color:#f3a649}.category-count{font-size:11px;color:#9499a0;margin-left:2px}.directory-tools{height:59px;display:flex;align-items:center;justify-content:space-between;gap:15px}.directory-tools p{font-size:13px;color:#9499a0;margin:0}.directory-tools button{height:32px;border:1px solid #e3e5e7;background:#fff;color:#61666d;font-size:13px;padding:0 12px;border-radius:6px;white-space:nowrap}.directory-tools button:hover{color:var(--blue);border-color:#b8e6f8;background:#f5fbfe}.saved-section,.nav-section{margin-bottom:29px;scroll-margin-top:16px}.section-heading{display:flex;align-items:center;gap:9px;min-height:31px;margin-bottom:12px}.section-heading h2{display:flex;align-items:center;gap:9px;color:#18191c;font-size:20px;line-height:1.3;font-weight:600;margin:0}.section-symbol{display:inline-grid;place-items:center;flex:none;font-size:22px;line-height:1;width:28px;color:var(--blue)}.saved-section .section-symbol{color:#fb7299}.nav-section:nth-child(even) .section-symbol{color:var(--pink)}.nav-section:nth-child(3n) .section-symbol{color:#f3a649}.section-count{font-size:12px;color:#9499a0;font-weight:normal}.section-count:after{content:" 个"}.saved-section #saved-empty{margin:0;padding:1px 0 8px;color:#9499a0;font-size:13px;line-height:1.8}.site-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}.site-item{display:flex;align-items:center;min-width:0;gap:4px;padding:14px 12px;border:1px solid #eef0f2;border-radius:9px;min-height:79px;background:#fff;transition:border-color .15s,background-color .15s}.site-item:hover{border-color:#bce8f9;background:#fbfdff}.site-link{display:flex;gap:11px;align-items:center;min-width:0;flex:1}.site-icon{display:grid;place-items:center;flex:none;width:39px;height:39px;background:color-mix(in srgb,var(--site-color,#00aeec) 10%,white);color:var(--site-color,#00aeec);border-radius:10px;font:600 18px/1 var(--font)}.site-copy{display:block;min-width:0;overflow:hidden}.site-name{display:block;color:#18191c;font-size:15px;font-weight:500;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-link:hover .site-name{color:var(--blue)}.site-desc{display:block;font-size:12px;color:#9499a0;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-link,.remove-link{flex:none;display:grid;place-items:center;width:26px;height:29px;padding:0;border:0;background:transparent;color:#aeb4bc;border-radius:5px;font:22px/1 Arial}.save-link:hover{color:#fb7299;background:#fff1f5}.save-link[aria-pressed=true]{color:#fb7299}.remove-link{font-size:20px;width:24px;color:#aeb4bc}.remove-link:hover{color:#f06286;background:#fff1f5}.empty-state{padding:44px 15px 55px;text-align:center;color:#9499a0;font-size:14px}.empty-state p{margin:0 0 18px}.empty-state button{background:var(--blue);color:#fff;padding:8px 18px}.empty-state button:hover{background:#28b8ed;color:#fff}.site-footer{display:flex;align-items:center;gap:19px;border-top:1px solid #e3e5e7;padding:24px 0 32px;margin-top:12px;color:#9499a0;font-size:12px}.footer-brand{font:italic 900 25px/1 "Comic Sans MS","Trebuchet MS",sans-serif;letter-spacing:-1px;color:#fb7299}.site-footer p{margin:0;line-height:1.9}.site-footer>a{margin-left:auto;white-space:nowrap;color:#61666d;font-size:12px}.site-footer>a:hover{color:var(--blue)}
.custom-dialog{width:430px;max-width:calc(100% - 32px);padding:0;border:1px solid #e3e5e7;border-radius:12px;background:#fff;color:#18191c}.custom-dialog::backdrop{background:#18191c70}.custom-dialog form{padding:22px 24px 24px}.custom-dialog h2{font-size:20px;font-weight:600;margin:0 0 4px}.dialog-intro{font-size:13px;color:#9499a0;margin:0 0 19px}.custom-dialog label{display:block;font-size:13px;color:#61666d;margin:13px 0 6px}.custom-dialog input{display:block;width:100%;height:39px;font-size:14px;padding:0 10px;border:1px solid #e3e5e7;border-radius:6px}.custom-dialog input:focus{border-color:var(--blue)}.custom-dialog #custom-error{min-height:20px;margin:8px 0;color:#d75f83;font-size:12px;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:9px}.dialog-actions button{height:36px;min-width:72px;font-size:13px}.dialog-actions button[type=submit]{background:var(--blue);color:#fff;padding:0 17px}.dialog-actions button[type=submit]:hover{background:#2ebaf0;color:#fff}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);border-radius:8px;padding:10px 18px;background:#18191ce8;color:#fff;z-index:30;font-size:14px;box-shadow:0 3px 15px #18191c16;text-align:center}
@media(max-width:1100px){.container{width:calc(100% - 64px)}.header-top{gap:18px;padding-inline:24px}.primary-nav{gap:14px}.search-form{max-width:430px}.wordmark{left:32px}.sakura-entry{gap:13px}.sakura-entry button{padding-inline:12px}.category-tabs{gap:10px}.category-tab{min-width:108px;font-size:13px;padding-inline:8px;gap:5px}.site-grid{gap:12px}.site-item{padding:12px 10px}.site-link{gap:9px}.site-icon{width:35px;height:35px;font-size:17px}.site-name{font-size:14px}.save-link{width:24px}}
@media(max-width:860px){.site-header{height:170px}.header-top{padding:13px 20px;gap:15px}.search-form{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);width:calc(100% - 40px);max-width:520px;height:38px}.wordmark{left:24px;bottom:71px;font-size:34px;gap:8px}.wordmark small{font-size:12px;margin-top:13px;margin-left:6px}.wordmark-tv{width:31px;height:24px;gap:7px;border-width:2px}.wordmark-tv:before,.wordmark-tv:after{width:11px;height:2px;top:-7px}.wordmark-tv i{height:8px}.sakura-entry p{top:39px;font-size:10px;max-width:240px}.container{width:calc(100% - 40px)}.category-tabs{padding:18px 0 16px;gap:9px}.category-tab{flex:1 1 22%;min-width:110px}.site-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 13px}.site-item{min-height:80px;padding:13px 12px}.site-icon{width:39px;height:39px;font-size:18px}.site-name{font-size:15px}.directory-tools{height:53px}.saved-section,.nav-section{margin-bottom:25px}}
@media(max-width:600px){.site-header{height:176px}.header-top{padding:13px 16px;gap:10px}.primary-nav a:first-child,.primary-nav a:last-child{display:none}.primary-nav a{font-size:13px}.sakura-entry{gap:13px}.sakura-entry>a{font-size:12px}.sakura-entry button{font-size:12px;height:31px;padding:0 10px;border-radius:6px}.sakura-entry p{top:36px;font-size:10px;max-width:225px}.wordmark{bottom:70px;left:17px;font-size:31px;gap:8px}.wordmark small{font-size:11px;margin-top:11px}.wordmark-tv{width:28px;height:22px;gap:6px}.search-form{width:calc(100% - 32px);bottom:15px;max-width:none}.search-form input{font-size:12px;padding-inline:9px}.search-form select{width:74px;font-size:12px;padding-inline:5px}.search-form button{width:32px}.search-form svg{width:18px;height:18px}.anime-banner{object-position:64% 26%}.container{width:calc(100% - 32px)}.category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 0}.category-tab{min-width:0;justify-content:center;padding:6px 5px;font-size:12px;gap:3px;line-height:22px;border-radius:6px}.category-icon{font-size:15px;width:17px}.category-count{font-size:9px;margin-left:0}.directory-tools{height:50px;gap:8px}.directory-tools p{font-size:11px}.directory-tools button{height:29px;padding:0 9px;font-size:11px}.section-heading{margin-bottom:10px;min-height:28px;gap:7px}.section-heading h2{font-size:18px;gap:7px}.section-symbol{width:24px;font-size:20px}.section-count{font-size:11px}.saved-section #saved-empty{font-size:12px;padding-bottom:4px}.site-grid{gap:8px}.site-item{min-height:77px;padding:11px 8px;border-radius:8px;gap:0}.site-link{gap:7px}.site-icon{width:31px;height:31px;font-size:15px;border-radius:8px}.site-name{font-size:13px;line-height:22px;font-weight:500}.site-desc{font-size:10px;line-height:18px}.save-link{width:23px;height:30px;font-size:21px}.remove-link{width:21px;height:30px;font-size:18px}.saved-section,.nav-section{margin-bottom:22px}.site-footer{align-items:flex-start;padding:21px 0 25px;gap:13px;flex-wrap:wrap;font-size:11px}.footer-brand{font-size:22px}.site-footer>a{font-size:11px}.site-footer p{font-size:10px}.custom-dialog form{padding:19px 19px 20px}.custom-dialog h2{font-size:18px}.toast{font-size:12px;bottom:17px;padding:9px 14px}.empty-state{font-size:13px;padding:31px 5px 39px}}
@media(max-width:360px){.container{width:calc(100% - 24px)}.header-top{padding-inline:12px}.wordmark{left:14px;font-size:29px}.wordmark small{font-size:10px;margin-left:2px}.search-form{width:calc(100% - 24px)}.search-form select{width:69px;font-size:11px}.search-form input{font-size:11px}.category-tab{font-size:11px;padding-inline:3px;gap:3px}.category-icon{display:none}.category-count{font-size:9px;margin-left:2px}.site-grid{gap:7px}.site-item{padding:10px 7px;min-height:74px}.site-link{gap:5px}.site-icon{width:27px;height:27px;font-size:13px;border-radius:7px}.site-name{font-size:12px;line-height:21px}.site-desc{font-size:10px;line-height:18px}.save-link{width:22px;font-size:20px}.remove-link{width:18px;font-size:17px}.site-footer>a{width:100%;text-align:right}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
