/* 品库指南 v2: measured reference geometry and independently implemented behavior. */
@property --pinku-glow-angle{syntax:"<angle>";initial-value:90deg;inherits:false}
body.spkn-navigation-page,#spk-app{font-family:"SF Pro SC","SF Pro Text","SF Pro Icons","PingFang SC","Helvetica Neue",Helvetica,Arial,sans-serif;color:#282a2d}
#spk-app{--accent:#283593;--text:#282a2d;--muted:#6c757d;--border:#f0f0f2;--sidebar:110px;font-size:14px;line-height:1.5}
#spk-app[data-theme=dark]{--accent:#a5afff;--text:#e3e4ec;--muted:#a5a7b3;--border:#3c3d46;color:var(--text)}
#spk-app .source-symbol{font-family:"Pinku Symbols"!important;font-style:normal;font-weight:400;font-size:16px;line-height:1;display:inline-block;vertical-align:middle;-webkit-font-smoothing:antialiased}
#spk-app .source-symbol svg{width:16px;height:16px}
#spk-app .sidebar,#spk-app .sidebar:hover{width:110px;box-shadow:none;overflow:visible}
#spk-app .brand,#spk-app .sidebar:hover .brand{height:116px;gap:0;padding:3px 0 0}
#spk-app .brand-art{height:64px;width:75px;background:none;position:relative;display:grid;place-items:center;margin:0}
#spk-app .brand-art::before{content:"品";font-family:Arial,"Microsoft YaHei",sans-serif;font-size:54px;line-height:1;font-weight:900;color:var(--accent);transform:skew(-8deg);text-shadow:3px 3px #fff}
#spk-app .brand-art::after{content:"✦";position:absolute;right:-1px;top:1px;font-size:27px;color:#ddbd42;transform:rotate(10deg)}
#spk-app .brand>strong{font-size:18px;letter-spacing:0;font-weight:800;line-height:27px}
#spk-app .brand small,#spk-app .sidebar:hover .brand small{display:none}
#spk-app .brand-line{margin:4px auto 10px}
#spk-app #spk-nav{overflow:visible}
#spk-app .nav-main,#spk-app .sidebar:hover .nav-main{height:65px;padding:11px 8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;border-radius:10px;margin:0 12px;width:86px}
#spk-app .nav-main:hover,#spk-app .nav-main.active{background:var(--background)}
#spk-app .nav-main svg{width:19px;height:19px}
#spk-app .nav-main>.source-symbol{font-size:19px;color:var(--accent);line-height:22px;height:22px}
#spk-app .section-title>.source-symbol{font-size:22px;line-height:24px}
#spk-app .nav-submenu,#spk-app .sidebar:hover .nav-submenu{display:none;position:fixed;width:180px;max-height:calc(100vh - 24px);overflow:visible;padding:12px 0;background:var(--surface);border-radius:10px;box-shadow:0 3px 17px #1b23400d;z-index:110;animation:pinku-bubble .15s ease}
#spk-app .sidebar .nav-group:hover>.nav-submenu,#spk-app .sidebar .nav-group:focus-within>.nav-submenu{display:flex}
#spk-app .nav-submenu::before{content:"";position:absolute;left:-6px;top:19px;width:13px;height:13px;transform:rotate(45deg);background:var(--surface)}
#spk-app .nav-submenu::after{content:"";position:absolute;right:100%;top:0;bottom:0;width:14px}
#spk-app .nav-submenu>button{height:36px;min-height:36px;text-align:left;padding:7px 23px;font-size:12px;color:#525b6a;white-space:nowrap}
#spk-app[data-theme=dark] .nav-submenu>button{color:var(--muted)}
#spk-app .nav-submenu>button:hover{color:var(--accent);background:var(--background)}
#spk-app .sidebar-caption{font-size:11px;position:relative;max-width:100%}
#spk-app .sidebar-bottom{padding:16px 10px 15px;gap:13px}
#spk-app .home-link{font-size:11px;font-weight:700;padding:6px 7px}
#spk-app .page-main{margin-left:110px;background-image:var(--reference-pattern);background-size:40%;background-position:center top;background-repeat:repeat}
#spk-app .topbar{height:70px;padding:17px 30px}
#spk-app .quick-filter{position:relative;isolation:isolate;border:0;background:none;border-radius:2px 10px 10px 10px;height:37px;padding:0 12px;font-size:13px;overflow:visible}
#spk-app .quick-filter::before{content:"";position:absolute;inset:0;background:var(--surface);z-index:-1;border-radius:2px 10px 10px 10px}
#spk-app .quick-filter::after{content:"";position:absolute;inset:-1px;border-radius:2px 11px 11px 11px;background:linear-gradient(var(--pinku-glow-angle),#fc4dc8,#436aff 30%,#fff 50%,#e396ff 50%,#ffe50d);z-index:-2;animation:pinku-glow 5s linear infinite}
#spk-app .quick-filter svg{width:16px;height:16px}
#spk-app .header-button{font-size:13px;padding:8px 11px}
#spk-app .header-button b{display:none}
#spk-app .mobile-brand{display:none}
#spk-app .search-area{height:212px;min-height:0;padding:20px 20px 60px;max-width:840px;position:relative}
#spk-app .search-tabs{gap:35px;margin-bottom:14px}
#spk-app .search-tabs button{font-size:18px;line-height:27px;font-weight:700;color:#999}
#spk-app .search-tabs button.active{color:var(--text)}
#spk-app .search-box{height:50px;border-radius:15px}
#spk-app .search-box input{font-size:16px;padding:0 16px}
#spk-app .search-engines{height:41px;min-height:0;gap:28px}
#spk-app .engine-button{padding:9px 5px 5px;font-size:14px;line-height:21px}
#spk-app .search-result:empty{display:none}
#spk-app .search-result{position:absolute;left:20px;right:20px;bottom:24px}
#spk-app .content-shell{margin:0 60px;border-radius:16px;grid-template-columns:minmax(0,1fr) 225px;overflow:visible}
#spk-app .directory{padding:30px 30px 25px;border-radius:16px 0 0 16px;background:var(--surface)}
#spk-app .resource-section{margin-bottom:29px}
#spk-app .section-header{min-height:29px;height:29px;margin-bottom:20px;gap:18px;flex-wrap:nowrap}
#spk-app .resource-section:first-child .section-header{height:24px;min-height:24px;margin-bottom:24px}
#spk-app .section-title{font-size:18px;font-weight:700;gap:8px;line-height:24px}
#spk-app .resource-section:first-child .section-title{font-weight:500;color:#555}
#spk-app .category-tabs{gap:13px;min-width:0;flex:1;overflow:auto}
#spk-app .category-tab{font-size:14px;font-weight:600;padding:2px 0;line-height:21px}
#spk-app .section-more{font-size:12px;color:var(--accent);font-weight:600;display:block}
#spk-app .section-more:not(:first-child){white-space:nowrap}
#spk-app .cooperation-links{display:flex;margin-left:auto;gap:10px;align-items:center}
#spk-app .cooperation-link{font-size:12px;color:var(--accent);font-weight:700;white-space:nowrap;position:relative;isolation:isolate;padding:0 2px}
#spk-app .cooperation-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:9px;background:#fff9d4;z-index:-1;border-radius:3px;box-shadow:0 1px #d9dce1}
#spk-app .cooperation-link:nth-child(2)::after{background:#f0f5fd}
#spk-app .resource-grid{gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}
#spk-app .resource-card{border-radius:10px;box-shadow:none;isolation:auto;background:var(--surface)}
#spk-app .resource-card:hover{transform:none;box-shadow:none;border-color:var(--border);background:var(--background)}
#spk-app .card-main{height:67px;min-height:67px;gap:12px;padding:14px 15px;overflow:visible}
#spk-app .resource-icon{height:24px;width:24px;background:transparent;border-radius:3px;font-size:16px;overflow:visible}
#spk-app .resource-icon img{background:transparent;border-radius:3px}
#spk-app .resource-card:hover .card-main>.resource-icon{animation:pinku-icon-jump 1.2s ease 1}
#spk-app .resource-info{gap:0}
#spk-app .resource-title{font-size:14px;font-weight:700;line-height:21px;overflow:hidden}
#spk-app .resource-desc{font-size:12px;line-height:18px;color:var(--muted)}
#spk-app .card-devices{top:1px;right:0;gap:0;display:flex;align-items:center;padding:3px 8px 0 0;opacity:.25;color:var(--accent);pointer-events:auto;z-index:2;height:24px}
#spk-app .device-badge{width:16px;height:18px;display:flex;align-items:center;justify-content:center;font-size:0;color:inherit;line-height:1}
#spk-app .device-badge .source-symbol{font-size:13px}
#spk-app .device-windows .source-symbol{font-size:11px}
#spk-app .device-ios .source-symbol{font-size:12.5px}
#spk-app .device-android .source-symbol{font-size:11px}
#spk-app .device-app{width:28px;margin-right:-8px}
#spk-app .device-app .source-symbol{font-size:29px}
#spk-app .device-sanjiao{width:14px}
#spk-app .card-devices:hover{opacity:.8}
#spk-app .resource-card .card-favorite{display:none}
#spk-app .mini-card .card-main{height:43px;min-height:43px;padding:11px 10px;gap:9px}
#spk-app .mini-card .resource-title{font-size:14px;font-weight:700;line-height:21px}
#spk-app .mini-card .resource-icon{width:20px;height:20px;border-radius:2px;font-size:12px;margin-left:3px}
#spk-app .mini-card .resource-icon img{border-radius:2px}
#spk-app .resource-card::after{max-width:290px;z-index:25;font-size:12px;padding:6px 10px}
#spk-app .mini-site-search{position:absolute;bottom:-5px;right:-5px;height:35px;width:35px;display:flex;align-items:center;justify-content:center;z-index:3}
#spk-app .mini-site-search::before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#ffe970;right:10px;bottom:10px;transition:all .2s}
#spk-app .mini-site-search>.source-symbol{opacity:0;font-size:17px;color:var(--accent);transition:opacity .2s}
#spk-app .resource-card:hover .mini-site-search::before{opacity:0}
#spk-app .resource-card:hover .mini-site-search>.source-symbol{opacity:1}
#spk-app .mini-site-form{position:absolute;inset:0 0 0 49px;display:flex;align-items:center;padding-right:7px;background:var(--background);border-radius:0 10px 10px 0;z-index:5;margin:0}
#spk-app .mini-site-form input{min-width:0;width:100%;background:var(--surface);border:1px solid var(--border);border-radius:5px;height:30px;padding:5px;font-size:12px;color:var(--text)}
#spk-app .mini-site-form button{font-size:11px;color:var(--accent);padding:4px}
#spk-app .recommend-rail{border-radius:0 16px 16px 0;background:#b1b6c5;padding:15px;gap:16px}
#spk-app .rail-panel{padding:16px 20px;border-radius:0 11px 11px 11px}
#spk-app .rail-tabs{margin-bottom:12px;gap:8px}
#spk-app .rail-tabs button{font-size:14px}
#spk-app .rail-entry{height:39px;font-size:14px;padding:8px 10px}
#spk-app .rail-entry .resource-icon{width:16px;height:16px}
#spk-app .rail-panel.warm{background:linear-gradient(135deg,#f9ecc4,#eadfab);border-radius:10px;padding:17px 15px;color:#784f0b}
#spk-app .rail-panel.warm h3{font-size:16px;margin-bottom:12px}
#spk-app .tool-entry{padding:12px 28px 12px 15px;min-height:67px;gap:2px;border-bottom:1px dashed #ebd4a3}
#spk-app .tool-entry strong{font-size:16px;line-height:24px;font-weight:500;color:#245a22;text-decoration:underline;text-decoration-color:#b9dba2;text-decoration-thickness:4px;text-underline-offset:-2px}
#spk-app .tool-entry small{font-size:12px;color:#464646}
#spk-app .perk-symbol{position:absolute;right:12px;top:12px;font-size:25px;color:#f33}
#spk-app img.perk-symbol{height:25px;width:25px;object-fit:contain}
#spk-app .tool-entry:nth-child(1) .perk-symbol{color:#e2bd06}
#spk-app .tool-entry:nth-child(3) .perk-symbol{color:#019cff}
#spk-app .floating-tools{right:14px;bottom:84px;gap:8px}
#spk-app .floating-tools button{width:39px;height:39px}
#spk-app .welcome-banner{width:700px;min-height:110px;bottom:30px;left:50%;padding:22px 30px 22px 25px;background:linear-gradient(90deg,#3242b6,#283593);border-radius:26px;gap:13px;z-index:25}
#spk-app .welcome-banner::before{content:"";position:absolute;right:200px;top:-31px;height:150px;width:120px;background:var(--banner-flight) no-repeat center/contain;z-index:-1;pointer-events:none;transition:transform .5s}
#spk-app .welcome-banner:hover::before{transform:translate(13px,-7px)}
#spk-app .banner-symbol{font-size:49px;font-weight:900;color:#ffe26c;width:65px;transform:rotate(-13deg);text-shadow:2px 3px #152269}
#spk-app .banner-copy strong{font-size:24px;line-height:33px}
#spk-app .banner-copy>span{font-size:12px}
#spk-app .banner-copy b{color:#ffe45e}
#spk-app .banner-outline,#spk-app .banner-solid{height:43px;padding:0 15px;font-size:12px;border-radius:9px;font-weight:700}
#spk-app .banner-close{width:30px;height:30px;font-size:20px;z-index:2}
#spk-app dialog::backdrop{background:#0006;backdrop-filter:none}
#spk-app .filter-dialog{position:fixed;left:126px;right:auto;top:16px;bottom:auto;margin:0;width:437px;height:calc(100dvh - 32px);max-height:none;max-width:calc(100vw - 140px);padding:22px 30px;border-radius:15px;border:0;box-shadow:0 0 18px #0002;background:radial-gradient(93% 48% at -25% -16%,#e4fcff 0,transparent 100%),radial-gradient(76% 68% at 57% -24%,#fcffda 0,transparent 100%),radial-gradient(161% 46% at 177% -16%,#ffc8c8 9%,transparent 100%),#ffffffeb;backdrop-filter:saturate(180%) blur(15px);z-index:150;animation:pinku-filter-open .2s ease}
#spk-app .filter-dialog .dialog-header{display:none}
#spk-app .filter-dialog .filter-group{padding:0;margin:24px 0 30px;border:0}
#spk-app .filter-dialog .filter-group:first-child{margin-top:5px}
#spk-app .filter-dialog .filter-group h3{font-size:14px;font-weight:700}
#spk-app .filter-dialog .filter-group p{display:none}
#spk-app .filter-chips{gap:7px;margin-top:13px}
#spk-app .filter-chip{font-size:12px;color:var(--text);background:var(--surface);border:1px solid #e7e8ec;padding:5px 11px;border-radius:11px;line-height:18px}
#spk-app .filter-chip::before{content:"#";font-size:12px;font-weight:700;color:var(--accent);margin-right:5px}
#spk-app .filter-chip.selected,#spk-app .filter-chip:hover{background:var(--accent-soft);color:var(--accent);border-color:#c5c9ed}
#spk-app .filter-keyword{width:100%;border:1px solid var(--border);border-radius:9px;padding:7px 11px;font-size:12px;background:var(--surface);color:var(--text)}
#spk-app .filter-dialog .dialog-bottom{padding:10px 0 0;border:0;background:transparent;position:static}
#spk-app .resource-dialog{width:360px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 130px);overflow:visible;border-radius:18px;background:linear-gradient(145deg,#edfbf8 0,#fbf8e9 45%,#eff5fb 85%);box-shadow:none;margin:auto;animation:pinku-app-open .2s ease}
#spk-app .resource-dialog .dialog-header{height:0;min-height:0;padding:0;border:0;background:none;overflow:visible;position:relative}
#spk-app .resource-dialog .dialog-header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#spk-app .resource-dialog .dialog-close{position:absolute;right:8px;top:7px;width:23px;height:23px;font-size:21px;color:#8b9392;z-index:5;opacity:0;transition:opacity .2s}
#spk-app .resource-dialog:hover .dialog-close,#spk-app .resource-dialog .dialog-close:focus-visible{opacity:1}
#spk-app #spk-resource-content{max-height:calc(100dvh - 130px);overflow:auto;border-radius:18px;padding:49px 20px 24px;scrollbar-width:thin}
#spk-app .resource-hero{position:static;display:flex;flex-direction:column;padding:0 0 25px;gap:0;text-align:center}
#spk-app .resource-hero>.resource-icon{position:absolute;width:90px;height:90px;top:-50px;left:calc(50% - 45px);border-radius:18px;overflow:hidden;background:var(--surface);border:4px solid white;font-size:47px;z-index:4}
#spk-app .resource-hero>.resource-icon img{border-radius:14px}
#spk-app .popup-app-title{font-size:24px;line-height:36px;font-weight:700;color:#141916}
#spk-app .popup-app-subtitle{font-size:13px;line-height:20px;color:#666;margin-top:3px;max-height:40px;overflow:hidden}
#spk-app .download-links{padding:0;gap:10px;display:flex;flex-direction:column}
#spk-app .download-link{padding:15px 20px;border:0;border-radius:11px;gap:10px;background:#fff;min-height:74px;box-shadow:none}
#spk-app .download-link:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 15px #35615b10}
#spk-app .download-link>.source-symbol{color:#1bcb00;font-size:16px;align-self:flex-start;margin-top:5px;flex:none}
#spk-app .download-link-info{display:flex;flex-direction:column;flex:1;min-width:0}
#spk-app .download-link strong{font-size:16px;line-height:24px;color:#282a2d;font-weight:700}
#spk-app .download-link small{font-size:13px;line-height:20px;color:#555}
#spk-app .download-label{background:#283593;color:white;border-radius:9px;line-height:30px;height:30px;padding:0 9px;display:flex;align-items:center;gap:3px;font-size:12px;flex:none;align-self:center}
#spk-app .download-label .source-symbol{font-size:13px}
#spk-app .upcoming-badge{font-size:10px;line-height:14px;padding:1px 3px;border-radius:2px;background:#36dc82;color:#fff;vertical-align:2px;margin-left:5px;white-space:nowrap}
#spk-app .popup-details-link{font-size:13px;color:#7d858c;display:block;margin:18px auto 0;text-align:center}
#spk-app .detail-page{max-width:1100px;margin:0 auto;min-height:calc(100vh - 140px)}
#spk-app .detail-breadcrumb{display:flex;align-items:center;gap:9px;color:#a4a6ac;font-size:13px;padding:1px 0 18px;min-height:37px}
#spk-app .detail-breadcrumb button{font-weight:700;color:var(--text)}
#spk-app .detail-breadcrumb strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#spk-app .detail-layout{display:grid;grid-template-columns:minmax(0,790px) 280px;gap:30px}
#spk-app .detail-article{border-top:4px solid var(--accent);background:var(--surface);border-radius:3px 3px 0 0;min-width:0}
#spk-app .detail-header{display:flex;gap:15px;padding:29px 30px 30px;align-items:flex-start;background:linear-gradient(var(--surface) 65%,var(--background));position:relative;min-height:153px}
#spk-app .detail-header>.resource-icon{width:40px;height:40px;flex:none;margin-top:6px}
#spk-app .detail-identity{min-width:0;flex:1}
#spk-app .detail-identity h1{font-size:24px;line-height:36px;margin:0 0 1px;font-weight:700}
#spk-app .detail-identity>p{font-size:14px;line-height:21px;color:var(--muted);margin:0 0 10px}
#spk-app .detail-badges{display:flex;flex-wrap:wrap;gap:6px}
#spk-app .detail-badges span{background:var(--background);padding:4px 8px;border-radius:5px;color:var(--muted);font-size:11px;line-height:16px}
#spk-app .detail-download{background:var(--accent);color:var(--surface);border-radius:10px;height:40px;padding:0 20px;display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;white-space:nowrap;flex:none;margin-top:1px}
#spk-app .detail-download .source-symbol{font-size:17px}
#spk-app .detail-body{padding:32px 30px 40px;color:#464646;font-size:14px;line-height:2}
#spk-app .detail-section-heading{position:relative;font-size:18px;font-weight:700;line-height:26px;margin:0 0 22px;color:var(--text)}
#spk-app .detail-section-heading::before{content:"";position:absolute;left:-30px;top:2px;width:12px;height:20px;background:#e9c96b;transform:skew(-12deg)}
#spk-app .detail-intro{margin:0 0 28px;white-space:pre-line;line-height:2}
#spk-app .detail-copy-section{margin:26px 0;overflow-wrap:anywhere}
#spk-app .detail-copy-section h3{font-size:17px;line-height:1.6;margin:0 0 12px;font-weight:700;color:var(--text)}
#spk-app .detail-copy-section p{margin:10px 0}
#spk-app .detail-copy-section ul,#spk-app .detail-copy-section ol{padding-left:24px;margin:10px 0}
#spk-app .detail-copy-section li{margin:7px 0;padding-left:3px}
#spk-app .detail-config-entry{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--background);border:1px solid var(--border);padding:14px 16px;margin:12px 0;border-radius:10px;min-width:0}
#spk-app .detail-config-entry strong{flex:1 1 180px}
#spk-app .detail-config-entry code{display:block;flex:1 0 100%;order:3;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;user-select:all}
#spk-app .detail-config-copy{color:var(--accent);padding:4px 10px;border:1px solid var(--border);border-radius:6px;flex:none}
#spk-app .detail-app-entry{margin:12px 0;border:1px solid var(--border);border-radius:10px;overflow:hidden}
#spk-app .detail-app-entry summary{cursor:pointer;padding:14px 18px;background:var(--background);list-style-position:inside}
#spk-app .detail-app-entry summary span{color:var(--muted);font-size:12px;margin-left:12px}
#spk-app .detail-app-content{padding:4px 18px 18px}
#spk-app .detail-app-content code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--background);font-size:12px;line-height:1.8;padding:12px;border-radius:6px;user-select:all}
#spk-app .detail-app-visit{display:block;margin-top:12px;color:var(--accent)}
#spk-app .detail-feature-box{background:#f6f7f9;border-radius:10px;padding:20px;margin:22px 0;color:var(--text)}
#spk-app .detail-feature-box h3{font-size:14px;color:var(--accent);font-weight:500;margin:0 0 14px;position:relative;line-height:24px}
#spk-app .detail-feature-box h3::before{content:"";position:absolute;left:-24px;top:-4px;width:4px;height:35px;background:var(--accent);border-radius:2px}
#spk-app .detail-feature-box ul,#spk-app .detail-notices ul{padding-left:20px;margin:0;line-height:2.1}
#spk-app .detail-feature-box li::marker{color:var(--accent)}
#spk-app .detail-notices{background:#fff9e9;padding:17px 20px;border-radius:10px;margin:22px 0}
#spk-app .detail-notices h3{font-size:14px;font-weight:700;margin:0 0 10px;color:#866525}
#spk-app .detail-facts{display:grid;grid-template-columns:110px 1fr;padding:15px 20px;background:var(--background);border-radius:8px;gap:7px 10px;margin:20px 0}
#spk-app .detail-facts dt{font-weight:700;font-size:13px}
#spk-app .detail-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}
#spk-app .detail-screenshot{margin:25px 0}
#spk-app .detail-screenshot img{max-width:100%;display:block;height:auto;margin:0 auto;border-radius:5px}
#spk-app .detail-screenshot figcaption{text-align:center;color:var(--muted);font-size:12px;line-height:21px;margin-top:8px}
#spk-app .detail-download-section{margin-top:32px}
#spk-app .detail-endpoints{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
#spk-app .detail-endpoint{display:flex;align-items:center;flex-direction:column;gap:3px;border:1px solid var(--border);border-radius:9px;background:var(--surface);padding:16px 8px;text-align:center;min-width:0;transition:background .2s}
#spk-app .detail-endpoint:hover{background:var(--background)}
#spk-app .detail-endpoint>.source-symbol{font-size:25px;color:var(--accent);margin-bottom:8px}
#spk-app .detail-endpoint strong{font-size:13px;line-height:21px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#spk-app .detail-endpoint small{font-size:11px;color:var(--muted);max-width:100%;overflow-wrap:anywhere;line-height:18px}
#spk-app .detail-actions{padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px;border-top:1px solid var(--border)}
#spk-app .detail-save{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--accent);padding:7px 12px;border-radius:6px;background:var(--accent-soft)}
#spk-app .detail-save svg{height:16px;width:16px}
#spk-app .detail-source{color:var(--muted);font-size:12px}
#spk-app .detail-related{margin-top:10px}
#spk-app .detail-related .resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#spk-app .detail-related .card-main{padding-left:10px;padding-right:10px;gap:8px}
#spk-app .detail-related .resource-title{font-size:12px}
#spk-app .detail-related .resource-desc{font-size:10px}
#spk-app .detail-rail{display:flex;flex-direction:column;gap:16px;min-width:0}
#spk-app .detail-rail .rail-panel{border-radius:10px;padding:19px 20px}
#spk-app .detail-rail .rail-panel.warm{padding:19px 20px}
#spk-app .detail-tags h3{font-size:16px;font-weight:500;color:#555}
#spk-app .detail-tag{display:inline-flex;line-height:20px;font-size:12px;padding:4px 9px;margin:5px 6px 0 0;background:#eeebff;color:#8677fa;border-radius:5px}
#spk-app .detail-tag:nth-child(3n){background:#e4f4da;color:#53a735}
#spk-app .detail-tag:nth-child(3n+1){background:#fff0df;color:#fd8b22}
#spk-app[data-theme=dark] .resource-dialog{background:linear-gradient(120deg,#292e33,#34312c);color:var(--text)}
#spk-app[data-theme=dark] .popup-app-title{color:var(--text)}
#spk-app[data-theme=dark] .download-link{background:var(--surface)}
#spk-app[data-theme=dark] .download-link strong{color:var(--text)}
#spk-app[data-theme=dark] .download-link small{color:var(--muted)}
#spk-app[data-theme=dark] .filter-dialog{background:#272a31eb}
#spk-app[data-theme=dark] .detail-body{color:var(--text)}
#spk-app[data-theme=dark] .detail-feature-box{background:#30313b}
#spk-app[data-theme=dark] .detail-notices{background:#39362a}
@keyframes pinku-glow{from{--pinku-glow-angle:0deg}to{--pinku-glow-angle:360deg}}
@keyframes pinku-bubble{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:none}}
@keyframes pinku-filter-open{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
@keyframes pinku-app-open{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes pinku-icon-jump{0%,100%{transform:none}10%{transform:translateY(8px) scale(1.2,.8)}30%{transform:translateY(-5px) rotate(5deg)}50%{transform:translateY(3px)}60%{transform:scale(1.1,.9)}75%{transform:translateY(-5px) rotate(-2deg)}90%{transform:scale(1.04,.96)}}
@media(min-width:1800px){#spk-app .content-shell{max-width:1680px;margin-left:auto;margin-right:auto}#spk-app .resource-grid{grid-template-columns:repeat(5,minmax(0,1fr))}#spk-app .search-area{height:212px;padding-top:20px}#spk-app .detail-page{max-width:1300px}#spk-app .detail-layout{grid-template-columns:minmax(0,990px) 280px}}
@media(max-width:1299px) and (min-width:768px){#spk-app .content-shell{margin:0 40px;grid-template-columns:minmax(0,1fr) 210px}#spk-app .directory{padding:25px}#spk-app .resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#spk-app .cooperation-links{gap:5px}#spk-app .cooperation-link{font-size:10px}#spk-app .detail-page{margin:0 35px}#spk-app .detail-layout{grid-template-columns:minmax(0,1fr) 240px;gap:25px}}
@media(max-width:1023px) and (min-width:768px){#spk-app .content-shell{margin:0 30px;display:block}#spk-app .recommend-rail{display:none}#spk-app .directory{border-radius:16px}#spk-app .detail-layout{display:block}#spk-app .detail-rail{display:none}#spk-app .welcome-banner{left:50%;width:700px;max-width:calc(100vw - 70px)}}
@media(max-width:767px){
 #spk-app{--sidebar:0px}
 #spk-app .sidebar,#spk-app .sidebar:hover{width:230px;overflow-y:auto;overflow-x:hidden}
 #spk-app .sidebar .brand,#spk-app .sidebar:hover .brand{height:116px;flex:none}
 #spk-app .sidebar .nav-main,#spk-app .sidebar:hover .nav-main{height:49px;width:206px;flex-direction:row;justify-content:flex-start;padding-left:22px;gap:15px;font-size:14px}
 #spk-app #spk-nav{overflow:visible}
 #spk-app .sidebar .nav-submenu,#spk-app .sidebar:hover .nav-submenu,#spk-app .sidebar .nav-group:hover>.nav-submenu,#spk-app .sidebar .nav-group:focus-within>.nav-submenu{display:none}
 #spk-app .sidebar-bottom{margin-top:auto}
 #spk-app .page-main{margin-left:0;background-size:145%}
 #spk-app .topbar{height:56px;padding:11px 15px;background:var(--surface);align-items:center}
 #spk-app .top-left{gap:10px}
 #spk-app .menu-toggle{width:21px;height:32px;padding:0;color:var(--text);background:none}
 #spk-app .menu-toggle svg{width:24px;height:24px;color:var(--text);stroke-width:1.8}
 #spk-app .quick-filter{font-size:0;width:29px;height:31px;padding:0;border-radius:0;display:flex;justify-content:center;background:none}
 #spk-app .quick-filter::before,#spk-app .quick-filter::after{display:none}
 #spk-app .quick-filter svg{width:24px;height:24px;color:var(--text);stroke-width:1.7}
 #spk-app .mobile-brand{display:block;position:absolute;left:50%;top:9px;transform:translateX(-50%);font-size:21px;font-weight:900;line-height:36px;white-space:nowrap;color:var(--text);letter-spacing:-1px}
 #spk-app .mobile-brand span{font-size:25px;display:inline-block;vertical-align:-2px;color:#ddbd42;margin:0 -2px}
 #spk-app .top-right{gap:12px;margin:0}
 #spk-app .header-button{padding:0;height:30px;width:25px;background:none}
 #spk-app .header-button>span:not([data-icon]){display:none}
 #spk-app .header-button svg{width:23px;height:23px;color:var(--text)}
 #spk-app .history-button{height:30px;width:24px;padding:0;background:none}
 #spk-app .history-button svg{width:23px;height:23px;color:var(--text)}
 #spk-app .theme-corner{display:none}
 #spk-app .search-area{height:178px;min-height:0;padding:28px 24px 19px;max-width:none}
 #spk-app .search-tabs{gap:16px;margin-bottom:13px}
 #spk-app .search-tabs button{font-size:20px;line-height:30px;padding:0}
 #spk-app .search-box{height:50px;border-radius:14px;padding:0 11px}
 #spk-app .search-box input{height:44px;font-size:13px;padding:0 8px;min-width:0}
 #spk-app .search-box button{height:38px;width:28px;background:none;color:var(--accent);padding:0}
 #spk-app .search-box button svg{height:23px;width:23px;stroke-width:1.8}
 #spk-app .search-engines{height:38px;gap:18px}
 #spk-app .engine-button{font-size:14px;line-height:21px;padding:9px 0 6px}
 #spk-app .engine-button.active::before{top:0}
 #spk-app .search-result{display:none}
 #spk-app .content-shell{margin:0;border-radius:0;display:block;background:var(--surface)}
 #spk-app .directory{padding:18px 10px 25px;border-radius:0}
 #spk-app .section-header{gap:13px;height:30px;min-height:30px;flex-wrap:nowrap;margin-bottom:15px}
 #spk-app .resource-section:first-child .section-header{height:25px;min-height:25px;margin-bottom:19px}
 #spk-app .section-title{font-size:16px;line-height:24px;gap:7px}
 #spk-app .section-title svg{width:22px;height:22px}
 #spk-app .resource-section:first-child .section-title{font-weight:500}
 #spk-app .cooperation-links{gap:8px;overflow:hidden;min-width:0;flex:1;justify-content:flex-end}
 #spk-app .cooperation-link{font-size:11px;padding:0 1px;letter-spacing:-.4px}
 #spk-app .cooperation-link:first-child{max-width:140px;overflow:hidden;text-overflow:clip}
 #spk-app .category-tabs{min-width:0;flex:1;order:initial;gap:13px}
 #spk-app .category-tab{font-size:14px;line-height:21px;flex:none}
 #spk-app .section-more{display:none}
 #spk-app .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 12px}
 #spk-app .resource-section{margin-bottom:20px}
 #spk-app .card-main{height:67px;min-height:67px;padding:14px 11px;gap:12px}
 #spk-app .resource-icon{height:24px;width:24px}
 #spk-app .resource-title{font-size:14px;font-weight:700;line-height:21px}
 #spk-app .resource-desc{font-size:12px;line-height:18px}
 #spk-app .mini-card .card-main{height:39px;min-height:39px;padding:9px 10px;gap:9px}
 #spk-app .mini-card .resource-title{font-size:14px;line-height:21px}
 #spk-app .mini-card .resource-icon{height:16px;width:16px;margin:0 0 0 3px}
 #spk-app .card-devices{top:0;padding-top:3px;padding-right:5px;height:21px}
 #spk-app .device-badge{height:18px;width:15px}
 #spk-app .device-app{width:25px;margin-right:-5px}
 #spk-app .device-badge .source-symbol{font-size:12px}
 #spk-app .device-app .source-symbol{font-size:27px}
 #spk-app .mini-site-search{right:-1px;bottom:-3px}
 #spk-app .mini-site-search::before{width:7px;height:7px;bottom:9px;right:9px}
 #spk-app .resource-card:hover .mini-site-search::before{opacity:1}
 #spk-app .resource-card:hover .mini-site-search>.source-symbol{opacity:0}
 #spk-app .welcome-banner{left:8px;right:8px;bottom:10px;width:auto;max-width:none;transform:none;border-radius:16px;min-height:123px;padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;box-shadow:0 0 9px #0005}
 #spk-app .welcome-banner::before{top:-31px;right:160px;width:100px;height:100px}
 #spk-app .banner-symbol{position:absolute;top:13px;left:20px;width:45px;font-size:39px;line-height:44px}
 #spk-app .banner-copy{grid-column:1/-1;min-height:48px;padding-left:64px;white-space:nowrap}
 #spk-app .banner-copy strong{font-size:20px;line-height:28px}
 #spk-app .banner-copy>span{font-size:11px;line-height:17px}
 #spk-app .banner-copy>span b{display:inline}
 #spk-app .banner-outline,#spk-app .banner-solid{display:flex;width:100%;height:38px;font-size:12px;line-height:18px;padding:0 9px;border-radius:9px;transform:skew(-8deg)}
 #spk-app .banner-close{width:25px;height:25px;border-radius:0 16px 0 24px;font-size:19px;top:0;right:0}
 #spk-app .floating-tools{right:10px;bottom:133px;gap:8px}
 #spk-app .floating-tools button{height:39px;width:39px;border-radius:12px}
 #spk-app .floating-tools svg{height:20px;width:20px}
 #spk-app .filter-dialog{left:8px;top:64px;width:374px;max-width:calc(100vw - 16px);height:calc(100dvh - 74px);padding:21px 22px;border-radius:14px}
 #spk-app .filter-dialog .filter-group{margin-bottom:28px}
 #spk-app .filter-dialog .filter-group h3{font-size:14px}
 #spk-app .filter-dialog .filter-chips{gap:7px}
 #spk-app .filter-dialog .filter-chip{font-size:12px;padding:5px 10px}
 #spk-app .resource-dialog{max-width:calc(100vw - 30px);width:360px}
 #spk-app .resource-dialog .dialog-close{opacity:.6}
 #spk-app .download-link{padding:15px 18px}
 #spk-app .download-link strong{font-size:16px}
 #spk-app .download-link small{font-size:13px}
 #spk-app .detail-page{margin:0 10px}
 #spk-app .detail-breadcrumb{padding:12px 2px;gap:6px;font-size:12px;line-height:20px;min-height:44px}
 #spk-app .detail-breadcrumb>span:nth-child(3){max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #spk-app .detail-layout{display:block}
 #spk-app .detail-header{padding:20px 16px;gap:12px;flex-wrap:wrap}
 #spk-app .detail-header>.resource-icon{height:40px;width:40px;margin-top:3px}
 #spk-app .detail-identity{min-width:calc(100% - 60px)}
 #spk-app .detail-identity h1{font-size:21px;line-height:30px}
 #spk-app .detail-identity>p{font-size:13px;line-height:20px}
 #spk-app .detail-download{margin-left:52px;height:36px;font-size:14px;padding:0 16px}
 #spk-app .detail-body{padding:24px 16px 25px;font-size:14px}
 #spk-app .detail-section-heading{font-size:17px;margin-bottom:18px}
 #spk-app .detail-section-heading::before{left:-16px;width:7px}
 #spk-app .detail-feature-box{padding:17px;margin:20px 0}
 #spk-app .detail-feature-box h3::before{left:-21px}
 #spk-app .detail-endpoints{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #spk-app .detail-related .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #spk-app .detail-rail{display:none}
 #spk-app .detail-related .resource-title{font-size:12px}
 #spk-app .detail-related .card-main{padding-left:8px;padding-right:8px;gap:7px}
 #spk-app .detail-facts{grid-template-columns:80px minmax(0,1fr);padding:13px;gap:7px;font-size:12px}
 #spk-app .site-footer{padding-bottom:145px}
 #spk-app .toast{bottom:145px}
}
@media(prefers-reduced-motion:reduce){#spk-app *,#spk-app *::before,#spk-app *::after{animation:none!important;transition:none!important}}

/* Keep platform badges in their own top row, including narrow related cards. */
#spk-app{overflow-x:clip}
#spk-app .resource-card .card-main{height:67px;min-height:67px;padding-top:14px;padding-bottom:14px;overflow:hidden;align-items:center}
#spk-app .resource-card .card-devices{top:0;height:27px;padding:3px 10px 0 0;max-width:calc(100% - 68px)}
#spk-app .resource-card .device-badge{min-width:0;flex-shrink:1}
#spk-app .resource-card .device-badge{height:24px}
#spk-app .resource-card .device-badge .source-symbol{height:auto;line-height:1}
#spk-app .resource-card .device-app{width:29px;margin:0 -10px 0 3px}
#spk-app .resource-card .device-app .source-symbol{font-size:29px}
#spk-app .resource-card .device-mac .source-symbol{font-size:13.5px}
#spk-app .resource-card .device-sanjiao{padding-top:2px}
#spk-app .resource-card .resource-info{min-width:0;flex:1}
#spk-app .resource-card .resource-title,#spk-app .resource-card .resource-desc{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#spk-app .resource-card .resource-title{max-width:max(12px,calc(100% - var(--platform-badges-width,24px) + var(--card-right-padding,15px) - 4px))}
#spk-app .mini-card .card-main{height:43px;min-height:43px;padding-top:11px;padding-bottom:11px}
#spk-app .mini-card{--card-right-padding:10px}
#spk-app .sidebar{height:100dvh;max-height:100dvh}
#spk-app #spk-nav{min-height:0;flex:1 1 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
#spk-app .sidebar-bottom{flex-shrink:0}
#spk-app .recommend-rail{align-self:start;background:transparent}
#spk-app .recommend-rail>.rail-panel{border-radius:0 14px 14px 14px;border:1px solid var(--border)}
@media(min-width:1024px){
 #spk-app .content-shell{background:transparent;border-radius:16px 0 0 16px}
 #spk-app .directory{border-top-right-radius:0;border-bottom-right-radius:0}
 #spk-app .recommend-rail{position:sticky;top:20px}
 #spk-app .recommend-rail>.rail-panel{max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
#spk-app .tool-entry strong{text-decoration:none}
@media(max-width:767px){
 #spk-app .resource-card{--card-right-padding:11px}
 #spk-app .mini-card{--card-right-padding:10px}
 #spk-app .mini-card .card-main{height:39px;min-height:39px;padding-top:9px;padding-bottom:9px}
 #spk-app .welcome-banner{position:relative;inset:auto;left:auto;right:auto;bottom:auto;width:auto;margin:0 10px 14px;min-height:0;padding:9px 12px;gap:6px 8px;border-radius:12px;box-shadow:none;transform:none}
 #spk-app .welcome-banner::before,#spk-app .banner-symbol{display:none}
 #spk-app .banner-copy{padding-left:0;min-height:0}
 #spk-app .banner-copy strong{font-size:16px;line-height:22px}
 #spk-app .banner-copy>span{display:none}
 #spk-app .banner-outline,#spk-app .banner-solid{height:30px;font-size:11px;transform:none;padding:0 6px}
 #spk-app .floating-tools{bottom:20px;right:6px;gap:7px}
 #spk-app .floating-tools button{width:32px;height:32px;border-radius:10px;opacity:.85}
 #spk-app .site-footer{padding-bottom:35px}
 #spk-app .toast{bottom:30px}
}

#spk-app .tool-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
#spk-app .tool-group{min-width:0;padding:10px;display:flex;flex-direction:column;border-radius:10px;background:linear-gradient(135deg,#f0fae9,#fcf2e5 40%,#f1f2f3 70%)}
#spk-app .tool-group-heading{text-align:center;font-size:16px;line-height:24px;font-weight:700;margin:9px 0 12px}
#spk-app .tool-group-heading>span{box-shadow:inset 0 -8px #f8e98e}
#spk-app .tool-group-body{background:var(--surface);border-radius:10px;flex:1;padding:0 14px;min-width:0}
#spk-app .tool-group-link{position:relative;display:flex;align-items:flex-start;gap:8px;padding:11px 0;border-bottom:1px solid var(--border);color:var(--text);min-width:0}
#spk-app .tool-group-link:last-child{border-bottom:0}
#spk-app .tool-group-link:hover{color:var(--accent)}
#spk-app .tool-group-link>.resource-icon,#spk-app .tool-group-link>svg:first-child{width:15px;height:15px;flex:none;margin-top:3px;font-size:10px}
#spk-app .tool-group-copy{display:block;min-width:0;flex:1}
#spk-app .tool-group-copy strong{display:block;font-size:14px;line-height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#spk-app .tool-group-copy small{display:block;font-size:12px;line-height:19px;color:var(--muted);margin-top:3px}
#spk-app .tool-group-copy small:empty{display:none}
#spk-app .tool-group-link>svg:last-child{height:12px;width:12px;color:#cbd0d6;flex:none;margin:4px -3px 0 0}
#spk-app[data-theme=dark] .tool-group{background:linear-gradient(135deg,#343d31,#3e382c 40%,#30323a 70%)}
#spk-app[data-theme=dark] .tool-group-heading>span{box-shadow:inset 0 -8px #655b2d}
@media(min-width:1550px){#spk-app .resource-section>.resource-grid,#spk-app .tool-groups{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1299px) and (min-width:768px){#spk-app .tool-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 #spk-app .tool-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #spk-app .tool-group{padding:8px}
 #spk-app .tool-group-heading{font-size:14px;margin:6px 0 10px}
 #spk-app .tool-group-body{padding:0 9px}
 #spk-app .tool-group-link{gap:6px;padding:10px 0}
 #spk-app .tool-group-copy strong{font-size:12px;line-height:19px}
 #spk-app .tool-group-copy small{font-size:11px;line-height:17px}
}

#spk-app.collection-view .detail-page{max-width:1680px;margin:0 60px}
#spk-app .collection-panel{background:var(--surface);padding:30px;border-radius:16px;margin-right:250px}
#spk-app .collection-title{text-align:center;font-size:28px;line-height:42px;font-weight:800;color:var(--accent);margin:8px 0 20px}
#spk-app .collection-tabs{display:flex;justify-content:center;gap:20px;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}
#spk-app .collection-tab{flex:none;position:relative;white-space:nowrap;font-size:14px;font-weight:600;line-height:24px;padding:8px 0 12px;color:var(--muted)}
#spk-app .collection-tab.active{color:var(--accent)}
#spk-app .collection-tab.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent)}
#spk-app .collection-count{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#spk-app .collection-grid{margin-top:26px}
#spk-app .collection-empty{padding:35px;text-align:center;color:var(--muted);background:var(--background);border-radius:10px}
@media(min-width:1550px){#spk-app .collection-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1299px){#spk-app .collection-panel{margin-right:0}}
@media(max-width:1023px){#spk-app.collection-view .detail-page{margin:0 30px}}
@media(max-width:767px){
 #spk-app.collection-view .detail-page{margin:0 10px}
 #spk-app .collection-panel{padding:20px 10px;border-radius:12px}
 #spk-app .collection-title{font-size:23px;line-height:34px;margin-top:0}
 #spk-app .collection-tabs{justify-content:flex-start;gap:18px}
 #spk-app .collection-tab{font-size:13px}
}
