:root{font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:#192132;background:#f7f8fb;font-size:16px;font-synthesis:none;--blue:#1648ed;--muted:#687388;--line:#e4e8f0;--ink:#192132}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8daaff;outline-offset:4px}button:disabled{cursor:default}svg{flex-shrink:0}button[hidden],[hidden]{display:none!important}.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;padding:33px 22px 24px;background:#fff;border-right:1px solid var(--line);overflow:auto;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:750;letter-spacing:.4px}.brand small{display:block;font-size:10px;letter-spacing:2.6px;margin-top:5px;color:#8490a6}.brand-icon{width:39px;height:42px;background:var(--blue);border-radius:11px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px;box-shadow:0 4px 9px #1648ed1c}.brand-icon i{display:block;height:2px;background:#fff}.brand-icon i:last-child{width:65%}.nav-caption{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#828b9b;margin:47px 11px 16px}.nav-caption span{font-size:10px;letter-spacing:1px}.category-nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:8px;width:100%;text-align:left;font-size:14px;color:#5d687b;transition:background .15s,color .15s}.nav-item:hover{background:#f4f6fa}.nav-item.active{color:var(--blue);background:#edf2ff;font-weight:650}.nav-symbol{font-size:18px;width:20px;text-align:center;line-height:1}.nav-count{font-size:12px;margin-left:auto;opacity:.8;font-variant-numeric:tabular-nums}.side-note{border:1px solid var(--line);border-radius:10px;padding:16px;margin:36px 0 20px;background:#fbfcfe}.note-label{font-size:14px;font-weight:650}.side-note p{font-size:13px;line-height:1.8;color:var(--muted);margin:10px 0 16px}.password-note{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #dbe1eb;padding-top:13px}.copy-password{font-size:13px;font-family:ui-monospace,monospace;color:#273752;letter-spacing:1px;padding:3px 5px}.copy-password span{color:#7e899d;margin-left:4px}.source-link{display:block;font-size:12px;text-align:center;color:#8992a2;margin-bottom:8px}.source-link:hover{color:var(--blue)}.workspace{margin-left:246px}.topbar{height:77px;background:#ffffffd9;border-bottom:1px solid var(--line);padding:0 44px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;gap:13px;font-size:13px;color:#8891a2}.breadcrumb strong{color:#3b475b;font-weight:500}.text-button{display:flex;align-items:center;gap:9px;font-size:13px;color:#687388;padding:10px 0}.help-icon{border:1px solid #8893a5;border-radius:50%;width:17px;height:17px;font-size:11px;display:inline-flex;align-items:center;justify-content:center}main{padding:41px 44px 0;max-width:1630px;margin:auto;outline:none}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:650;color:var(--blue)}h1{font-size:35px;letter-spacing:-1.2px;margin:11px 0 9px;line-height:1.3;font-weight:750}.title-period{color:var(--blue);padding-left:4px}.intro p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.collection-stat{display:flex;gap:35px;flex-shrink:0;padding:6px 0 4px 30px;border-left:1px solid #dfe4ed}.collection-stat div{display:flex;flex-direction:column;gap:7px}.collection-stat strong{font-size:28px;font-weight:650;letter-spacing:-.8px;font-variant-numeric:tabular-nums;line-height:1.2}.collection-stat span{font-size:12px;color:#7c879a}.discovery{margin-bottom:35px}.search-box{height:60px;background:#fff;display:flex;align-items:center;gap:14px;border:1px solid #d8dfeb;border-radius:11px;padding:0 19px;box-shadow:0 4px 16px #183b7510;color:#667a9b;transition:border-color .15s,box-shadow .15s}.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1648ed12}.search-box input{min-width:0;flex:1;height:100%;border:0;background:none;outline:none;font-size:16px;color:var(--ink)}.search-box input::placeholder{color:#96a0b1}.search-box input:focus-visible{outline:0}.search-box kbd{background:#f4f6fa;border:1px solid #e0e5ee;border-radius:5px;padding:2px 8px;font-size:14px;color:#929cae}.quick-searches{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px;font-size:12px}.quick-searches>span{color:#8790a1;margin-right:4px}.quick-searches button{font-size:12px;padding:4px 9px;color:#667387;border:1px solid #e3e7ef;background:#fff;border-radius:5px}.quick-searches button:hover{border-color:#b7c6ef;color:var(--blue)}.results-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:14px}.results-toolbar>div{display:flex;align-items:center;gap:12px}.results-toolbar h2{font-size:19px;letter-spacing:-.3px;margin:0}.result-count{font-size:12px;color:#8992a2}.sort-label{display:flex;gap:9px;align-items:center;font-size:12px;color:#7b8699}.sort-label select{background:transparent;border:0;color:#46546a;font-size:13px;padding:6px 0;max-width:125px;cursor:pointer}.software-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.software-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px 22px 0;display:flex;flex-direction:column;min-width:0;transition:transform .17s,box-shadow .17s,border-color .17s}.software-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #2536600c;border-color:#c7d2e8}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.software-icon{background:var(--tile-bg,#eef2ff);color:var(--tile-fg,#3457b4);width:47px;height:47px;flex-shrink:0;border-radius:11px;font-family:"Segoe UI",sans-serif;letter-spacing:-1px;font-size:21px;font-weight:650;display:inline-flex;align-items:center;justify-content:center}.category-tag{font-size:11px;background:#f6f7fa;color:#8490a2;border-radius:5px;padding:4px 7px;white-space:nowrap}.software-card h3{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:18px;font-weight:650;line-height:1.4;margin:0 0 7px;overflow-wrap:anywhere;letter-spacing:-.3px}.card-description{font-size:13px;line-height:1.7;color:#7e899a;margin:0 0 20px;flex:1}.card-bottom{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid #eff1f5;font-size:12px;color:#8b95a5}.version-button{color:var(--blue);font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px;padding:5px 0 5px 8px}.version-button span{font-size:17px;line-height:1;font-weight:400}.page-footer{margin-top:37px;padding:23px 0 27px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#929bab}.page-footer a:hover{text-decoration:underline}.mobile-menu{display:none}.empty-state{text-align:center;border:1px dashed #d6deed;border-radius:12px;padding:55px 22px;color:#7c8799;background:#ffffff80}.empty-state>span{font-size:42px;color:#9caed3}.empty-state h3{font-size:20px;color:#344258;margin:12px 0}.empty-state p{font-size:14px;line-height:1.8;margin-bottom:25px}.primary-button{background:var(--blue);color:#fff;padding:12px 20px;border-radius:8px;font-size:14px}dialog{width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:27px 30px;border:1px solid #e7ebf4;border-radius:18px;color:var(--ink);box-shadow:0 20px 100px #0e204740;overscroll-behavior:contain}dialog::backdrop{background:#111d3b77;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.close-button{width:32px;height:32px;border-radius:50%;background:#f3f5f9;color:#66748c;font-size:25px;line-height:1;display:flex;align-items:center;justify-content:center}.close-button:hover{background:#e6ebf5}.dialog-product{display:flex;align-items:center;gap:16px;margin-bottom:22px}.dialog-product h2{font-size:26px;overflow-wrap:anywhere;line-height:1.3;margin:0 0 7px}.dialog-product p{font-size:14px;color:#7b8699;margin:0;line-height:1.7}.dialog-product .software-icon{width:58px;height:58px;font-size:26px}.download-note{background:#edf3ff;color:#4f6798;border-radius:8px;padding:13px 15px;display:flex;gap:8px;font-size:13px;line-height:1.8}.inline-copy{font-weight:700;color:var(--blue);padding:0 3px;text-decoration:underline;text-underline-offset:3px}.version-list-heading{display:flex;justify-content:space-between;gap:15px;margin:27px 0 9px;font-size:14px;font-weight:600}.version-list-heading span:last-child{font-weight:400;font-size:12px;color:#8a95a7}.version-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:15px 0;border-bottom:1px solid #edf0f5}.version-name{font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.code-button{font-size:12px;color:#7c8799;white-space:nowrap;border:1px solid #e5e9f1;padding:7px 9px;border-radius:6px}.code-button strong{font-family:ui-monospace,monospace;font-weight:500;color:#44526c;padding-left:5px}.download-link{font-size:13px;background:var(--blue);color:white;padding:9px 12px;border-radius:6px;white-space:nowrap}.download-link:hover{background:#123dc9}.dialog-footer{font-size:12px;color:#949dae;line-height:1.8;margin-top:20px}.dialog-footer a{color:#647797;text-decoration:underline;margin-left:5px}body.modal-open{overflow:hidden}#help-title{font-size:26px;margin:12px 0 25px}.help-steps{padding-left:23px}.help-steps li{padding-left:9px;margin:20px 0}.help-steps li::marker{color:var(--blue);font-weight:700}.help-steps strong{font-size:16px}.help-steps p{font-size:14px;color:#6e7b91;line-height:1.8;margin-top:8px}.help-footnote{font-size:13px;line-height:1.8;color:#8792a5;border-top:1px solid #e6eaf3;padding-top:20px}.tutorial-link{color:var(--blue);font-size:14px;text-decoration:underline;text-underline-offset:4px;display:inline-block;padding:8px 0 5px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);padding:12px 22px;background:#1d2b43;color:#fff;border-radius:9px;box-shadow:0 4px 22px #11284a30;opacity:0;pointer-events:none;z-index:99;font-size:14px;transition:opacity .15s,transform .15s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1700px){.software-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1180px){.sidebar{width:215px;padding:29px 16px}.workspace{margin-left:215px}.topbar{padding:0 28px}main{padding:33px 28px 0}.software-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-stat{gap:22px;padding-left:23px}.collection-stat strong{font-size:24px}.intro p{max-width:310px}.software-card{padding:22px 22px 0}}
@media(max-width:800px){.sidebar{position:relative;width:100%;padding:18px 23px;border-right:0;border-bottom:1px solid var(--line);overflow:visible;display:flex;align-items:center;justify-content:space-between}.brand{font-size:17px}.brand-icon{width:34px;height:37px;padding:9px}.brand small{font-size:9px}.mobile-menu{display:flex;align-items:center;gap:12px;font-size:14px;padding:10px;background:#f4f6fb;border-radius:7px}.nav-wrap{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:10px 20px 20px;box-shadow:0 12px 20px #0c254612;max-height:70vh;overflow:auto}.sidebar.expanded .nav-wrap{display:block}.nav-caption{margin:13px 10px}.category-nav{display:grid;grid-template-columns:1fr 1fr}.side-note{margin:20px 0 12px}.side-note p{margin:5px 0 10px}.source-link{text-align:left}.workspace{margin-left:0}.topbar{height:55px;padding:0 23px}main{padding:29px 23px 0}.intro{align-items:flex-start;margin-bottom:24px}.intro h1{font-size:29px}.intro p{font-size:13px;max-width:330px}.collection-stat{gap:19px;padding-left:17px;margin-top:26px}.collection-stat strong{font-size:23px}.collection-stat span{font-size:11px}.eyebrow{font-size:11px}.search-box{height:56px}.discovery{margin-bottom:29px}.software-grid{gap:13px}.software-card{padding:19px 18px 0}.software-card h3{font-size:17px}.card-description{font-size:13px}}
@media(max-width:520px){.intro{display:block}.intro p{max-width:none}.collection-stat{border:0;padding:0;margin-top:22px;gap:28px}.collection-stat div{flex-direction:row;gap:8px;align-items:baseline}.collection-stat strong{font-size:22px}.collection-stat span{font-size:12px}.intro h1{font-size:31px}.search-box{padding:0 14px;gap:10px}.search-box input{font-size:14px}.quick-searches{gap:6px}.quick-searches button{font-size:11px;padding:4px 7px}.software-grid{grid-template-columns:1fr}.software-card{padding:20px 21px 0}.card-heading{margin-bottom:13px}.software-card h3{font-size:19px}.card-description{font-size:14px;margin-bottom:17px}.category-tag{font-size:12px}.software-icon{width:44px;height:44px}.results-toolbar h2{font-size:18px}.results-toolbar>div{gap:8px;flex-wrap:wrap}.result-count{font-size:12px}.sort-label{gap:4px;flex-shrink:0}.sort-label select{font-size:12px}.page-footer{flex-direction:column;gap:9px;font-size:11px}dialog{padding:22px 20px;max-height:calc(100dvh - 28px);width:calc(100% - 24px)}.dialog-product h2{font-size:23px}.version-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}.version-name{grid-column:1 / -1}.code-button{justify-self:start}.download-link{justify-self:end}.toast{width:max-content;max-width:90%;text-align:center}.nav-item{font-size:13px;gap:8px;padding:12px 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Management surfaces */
.topbar-actions,.toolbar-actions,.admin-row-actions{display:flex;align-items:center;gap:16px}.admin-link{font-size:14px;color:var(--blue);padding:8px 13px;border:1px solid #d9e2ff;border-radius:7px;background:#f5f8ff}.admin-link:hover{background:#eaf0ff}.primary-button.compact{padding:9px 13px;font-size:14px}.load-error{padding:25px;background:#fff1ed;border:1px solid #f5d0c5;border-radius:10px;margin-bottom:20px}.load-error p{font-size:14px;color:#a0503d}.admin-list{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.admin-list:empty{display:none}.admin-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 23px;border-bottom:1px solid #edf0f5}.admin-row:last-child{border-bottom:0}.admin-product{display:flex;align-items:center;gap:15px;min-width:0}.admin-product h3{font-size:17px;margin:0 0 5px;overflow-wrap:anywhere}.admin-product p{font-size:13px;color:#8a94a5;margin:0}.admin-row-actions{flex-shrink:0;gap:12px}.outline-button{padding:9px 15px;border:1px solid #dbe2ee;border-radius:7px;background:#fff;color:#50617b;font-size:14px}.outline-button:hover{background:#f3f6fc}.remove-button{font-size:14px;color:#a96666;padding:8px}.no-code{font-size:12px;color:#8a95a6}.editor-dialog{width:min(800px,calc(100% - 28px))}#editor-title{font-size:25px;margin:5px 0 7px}.editor-intro{font-size:14px;color:#8b95a6;margin-bottom:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}.form-grid>label,.field-label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#53617a}.form-grid label>span,.field-label>span,.version-editor-heading span{color:#d96f68}.form-grid label>span{display:inline}.form-grid input,.form-grid select,.field-label input,.field-label textarea{width:100%;font-size:14px;padding:11px 12px;border:1px solid #dbe2ed;border-radius:7px;color:#253550;background:#fff;line-height:1.5}.field-label textarea{resize:vertical;min-height:76px}.field-label{margin:16px 0}.form-grid input::placeholder,.field-label input::placeholder,.field-label textarea::placeholder{color:#a3adbd}.version-editor-heading{display:flex;align-items:center;justify-content:space-between;margin-top:27px;gap:12px}.version-editor-heading h3{font-size:16px}.field-hint{font-size:12px;color:#8a95a8;line-height:1.8}.version-editor{border:1px solid #e0e6f0;background:#f8faff;padding:13px 17px 3px;border-radius:9px;margin:14px 0}.version-tools{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8e9bb1}.version-tools button{width:29px;height:29px;background:white;border:1px solid #e0e5ef;border-radius:5px;color:#6d7d99;font-size:15px;margin-left:5px}.version-editor .form-grid{margin:11px 0}.editor-footer{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;margin-top:20px;border-top:1px solid #e4e9f2}.form-error{padding:12px 15px;border:1px solid #f0c7bf;background:#fff1ed;color:#a34f3e;border-radius:7px;font-size:14px;line-height:1.8;margin-top:18px}.danger-button{background:#bd5151;color:#fff;padding:11px 17px;font-size:14px;border-radius:7px}.small-dialog{width:min(470px,calc(100% - 32px))}.small-dialog h2{font-size:22px}.small-dialog>p{font-size:14px;line-height:1.8}.primary-button:disabled,.danger-button:disabled{opacity:.6}.sidebar .brand{font-size:18px}.sidebar .brand small{font-size:10px;letter-spacing:2px}
/* Keep frequent controls and descriptions readable. */
.card-description,.version-button,.card-bottom,.nav-item,.text-button,.quick-searches button,.sort-label select,.admin-product p,.source-link,.version-name,.download-link,.code-button{font-size:14px}.category-tag,.result-count,.nav-count,.page-footer,.field-hint{font-size:12px}.intro p{font-size:16px}.sidebar .nav-caption{font-size:13px}.software-card{min-height:219px}
@media(max-width:800px){.topbar-actions{gap:11px}.topbar{padding-right:20px}.admin-link{font-size:13px;padding:7px 9px}.intro p{font-size:14px}.toolbar-actions{gap:10px}}
@media(max-width:520px){.breadcrumb{font-size:12px;gap:8px}.text-button{font-size:12px}.admin-link{font-size:12px}.results-toolbar{align-items:flex-start}.results-toolbar>div:first-child{display:block}.result-count{display:block;margin-top:6px}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.toolbar-actions .compact{font-size:12px}.form-grid{grid-template-columns:1fr;gap:15px}.admin-row{padding:15px;gap:10px}.admin-product{gap:10px}.admin-product .software-icon{width:34px;height:38px;font-size:16px}.admin-product h3{font-size:15px}.admin-product p{font-size:12px}.admin-row-actions{gap:4px}.admin-row-actions .outline-button{padding:7px 10px;font-size:13px}.remove-button{font-size:13px}.version-editor{padding:12px}.version-editor-heading h3{font-size:15px}.intro h1{font-size:29px}.card-description{font-size:14px}}

/* Whale-girl theme: mist blue, restrained slate navigation, and quiet white surfaces. */
:root{color:#2d425e;background:#edf1f6;--blue:#506f9c;--ink:#2d425e;--muted:#596a80;--line:#d8e0e9}
.category-dialog{width:min(720px,calc(100% - 28px))}.category-dialog h2{font-size:26px;margin:5px 0 8px}.category-dialog .editor-intro{margin:0 0 20px}.category-add{display:flex;align-items:flex-end;gap:12px;background:#edf2f7;border:1px solid #dce5ee;border-radius:15px;padding:17px;margin-bottom:23px}.category-add .field-label{flex:1;margin:0;min-width:0}.category-add>button{height:48px}.category-list-heading{display:flex;justify-content:space-between;gap:12px;color:#62758e;font-size:14px;padding:0 2px 9px}.category-list-heading #category-draft-count{color:#8090a4;padding-left:4px}.category-editor-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-top:1px solid #e7edf3}.category-position{color:#8293a9;font-size:13px;min-width:24px;font-variant-numeric:tabular-nums}.category-name-field{flex:1;min-width:0}.category-name-field input{display:block;width:100%;padding:10px 12px;border:1px solid #d5dfeb;border-radius:10px;background:white;color:#3c5576;font-size:16px;line-height:1.5}.category-name-field>span{display:block;font-size:12px;color:#6c7f98;margin-top:5px}.category-row-actions{display:flex;align-items:center;gap:7px}.category-row-actions button{height:36px;min-width:36px;border:1px solid #dbe3ed;border-radius:9px;background:#f5f8fb;color:#526f93;font-size:16px}.category-row-actions .remove-button{background:white;color:#ad5b6a;font-size:14px;padding:0 10px}.category-row-actions button:disabled{opacity:.35;cursor:default}.category-removal-summary{background:#f5f7fa;border-radius:12px;padding:10px 14px;margin-top:12px;color:#667b96;font-size:13px;line-height:1.7}.category-removal-summary p{margin:4px 0}.category-footer{position:sticky;bottom:-28px;background:white;padding:17px 0;margin-top:6px}.field-label select{width:100%;border:1px solid #d5dfeb;border-radius:11px;padding:11px 13px;background:#fff;color:#3c5576;font:inherit}.category-dialog button:disabled{cursor:wait}.category-dialog .category-row-actions button:disabled{cursor:default}.category-name-field input:focus{border-color:#8da7c5}.admin-mode .results-toolbar{flex-wrap:wrap}.admin-mode .toolbar-actions{flex-wrap:wrap}.nav-item>span:nth-child(2){overflow-wrap:anywhere;min-width:0}.nav-symbol,.nav-count{flex-shrink:0}
@media(max-width:520px){.category-dialog{padding:22px 17px}.category-editor-row{gap:8px}.category-position{display:none}.category-row-actions{gap:4px}.category-row-actions button{min-width:32px;height:36px}.category-row-actions .remove-button{padding:0 7px}.category-add{padding:13px;gap:8px}.category-add>button{padding:9px 11px}.category-list-heading{font-size:13px}.category-name-field input{padding:9px}.category-footer{bottom:-22px}.admin-mode .results-toolbar{display:block}.admin-mode .toolbar-actions{margin-top:14px;justify-content:flex-start}.admin-mode .toolbar-actions .sort-label{margin-left:auto}}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#8babc8}img{display:block;max-width:100%}textarea{font:inherit}
.sidebar{width:254px;padding:29px 21px 22px;display:flex;flex-direction:column;background:#344b6d;border-right:1px solid #344b6d;color:#edf2f8;scrollbar-color:#73859f #344b6d}.sidebar .brand{font-size:18px;gap:10px;font-weight:750;white-space:nowrap;letter-spacing:.2px;line-height:1.4}.sidebar .brand small{font-size:10px;letter-spacing:1.7px;color:#bdcbdc;font-weight:600}
.brand-portrait{width:48px;height:48px;border-radius:16px;background:#7790b3;border:1px solid #b0c2d8;overflow:hidden;flex-shrink:0;position:relative}.brand-portrait img{width:104px;max-width:none;height:82px;object-fit:contain;position:absolute;left:-26px;top:-3px}
.nav-wrap{display:flex;flex-direction:column;flex:1}.sidebar .nav-caption{margin:38px 12px 15px;font-size:13px;font-weight:600;color:#d0dceb}.nav-caption span{font-size:12px;font-weight:400;color:#bdcbdc}.category-nav{gap:6px}.nav-item{padding:13px 14px;border-radius:13px;color:#dce5f0;min-height:48px}.nav-item:hover{background:#425b7d;color:#fff}.nav-item.active{background:#fff;color:#385779;box-shadow:0 7px 20px #15283e18;font-weight:750}.nav-symbol{width:21px;font-size:20px}.nav-count{min-width:24px;text-align:center;padding:3px 5px;border-radius:7px;color:#d2dfed;background:#ffffff13;opacity:1}.active .nav-count{color:#506f9c;background:#e3eaf3}.side-note{margin-top:34px;padding:18px 16px;border-color:#ffffff26;border-radius:17px;background:#ffffff0c}.note-label{color:#f3f6fa;font-weight:700}.side-note p{font-size:14px;color:#d0dceb;margin:9px 0 14px}.password-note{border-color:#ffffff2a;color:#bdcbdc;line-height:1.6}
.workspace{margin-left:254px}.topbar{height:76px;padding:0 38px;border-color:#dce3ed;background:#f8fafc}.breadcrumb{font-size:14px;color:#596a80}.breadcrumb strong{color:#3f526c;font-weight:600}.text-button{color:#54687f;font-size:14px;min-height:42px}.help-icon{border-color:#a4b1c2}.admin-link{font-size:14px;color:#fff;padding:10px 15px;border-radius:11px;border-color:#506f9c;background:#506f9c;white-space:nowrap}.admin-link:hover{background:#405d86}
main{padding:30px 38px 0;max-width:1540px}.intro{position:relative;min-height:270px;border:1px solid #cbd8e7;border-radius:22px;background:linear-gradient(110deg,#dbe5f0,#d3deed 60%,#c7d5e6);box-shadow:0 6px 18px #435e7e08;padding:30px 36px;margin-bottom:25px;overflow:hidden}.intro h1{color:#2d425e;text-shadow:none}.intro .eyebrow,.intro .eyebrow>span{color:#536f91}.intro .title-period{color:#6e8eb7}.intro-copy{position:relative;z-index:2;width:62%;max-width:670px}.eyebrow{font-size:12px;line-height:1.5;letter-spacing:1.6px;color:#52749c;display:flex;align-items:center;gap:8px}.eyebrow>span{font-size:17px;color:#718dae}.intro h1{font-size:clamp(30px,3vw,43px);letter-spacing:-1px;margin:11px 0 12px;font-weight:750}.title-period{color:#7291b8;padding-left:3px}.intro p{font-size:16px;line-height:1.85;color:#465c76;max-width:440px}.collection-stat{gap:24px;padding:0;border:0;margin-top:26px}.collection-stat>div{flex-direction:row;align-items:baseline;gap:8px}.collection-stat>div+div{padding-left:24px;border-left:1px solid #b4c5d9}.collection-stat strong{font-size:25px;font-weight:650;color:#385577;line-height:1}.collection-stat span{font-size:12px;color:#465c76;white-space:nowrap}
.hero-art{position:absolute;right:14px;bottom:0;width:350px;height:270px;isolation:isolate}.art-orbit{position:absolute;width:236px;height:236px;right:50px;top:15px;border:1px solid #ffffff60;border-radius:50%;background:#ffffff24;z-index:-1;box-shadow:none}.hero-character{position:absolute;width:320px;height:253px;right:16px;bottom:8px;object-fit:contain;filter:drop-shadow(0 7px 10px #3b55791f);animation:arrive .55s ease-out both}.character-caption{display:none;position:absolute;bottom:18px;right:0;color:#174daf;background:#ffffffee;border:1px solid #d2deeb;border-radius:12px 12px 12px 3px;padding:9px 13px;font-size:12px;font-weight:600;box-shadow:0 5px 13px #546d8908}.art-spark{display:none;position:absolute;color:#9eb7d1;font-size:21px;z-index:1}.spark-one{top:39px;right:7px}.spark-two{top:56px;left:16px;font-size:28px;color:#ffffff}.admin-mode .character-caption{display:none}
.discovery{margin-bottom:26px}.search-box{height:62px;gap:14px;padding:0 21px;border-color:#d0dae6;border-radius:16px;box-shadow:0 8px 25px #344f7209;color:#506f9c}.search-box:focus-within{border-color:#7899bd;box-shadow:0 0 0 4px #6484a513}.search-box input::placeholder{color:#718098}.search-box kbd{border-color:#dbe2eb;background:#f4f7fa;border-radius:6px;font-size:13px;padding:3px 8px;color:#6f7f94}
.results-toolbar{gap:16px;margin-bottom:19px}.results-toolbar h2{font-size:20px;font-weight:750}.result-count{color:#526c8d;background:#e0e8f2;padding:4px 9px;border-radius:7px}.sort-label{font-size:13px;color:#596a80}.sort-label select{background:#fff;border:1px solid #d5deea;border-radius:9px;padding:8px 10px;color:#526983;font-size:14px;max-width:135px}
.software-grid{gap:20px}.software-card{min-height:232px;border-color:#d9e1eb;border-radius:18px;padding:23px 24px 0;box-shadow:0 6px 18px #314a6906}.software-card:hover{border-color:#a4b9d2;box-shadow:0 12px 30px #344e7410}.software-icon{border-radius:14px;font-weight:700;letter-spacing:-.5px}.category-tag{background:#eaf0f7;color:#536f93;border-radius:7px;padding:5px 8px;font-size:12px}.software-card h3{font-weight:750;line-height:1.5}.card-description{font-size:14px;line-height:1.8;color:#62748b}.card-bottom{border-color:#e7edf4;color:#687b93;font-size:13px}.version-button{font-size:14px;padding:7px 0 7px 8px}
.empty-state{border:1px solid #d9e2ec;border-radius:20px;padding:30px 24px 32px;background:#fff;box-shadow:0 8px 24px #314c7205}.empty-icon{width:65px;height:65px;padding:14px;margin:0 auto 14px;border-radius:18px;background:#e4ecf5;color:#607d9f;box-shadow:none}.empty-icon svg{width:100%;height:100%}.empty-state h3{font-size:20px;color:#3c536f;line-height:1.5;margin:12px 0 7px}.empty-state p{font-size:14px;line-height:1.85;color:#596a80;margin:0 0 17px}.page-footer{border:0;align-items:center;margin-top:28px;padding:23px 0 28px;color:#596a80;line-height:1.7}.footer-signature{font-size:10px;letter-spacing:1.6px}.footer-signature span{color:#7b96b8;padding-left:9px}
.primary-button,.download-link{border:1px solid var(--blue);border-radius:12px;font-weight:600;box-shadow:0 4px 10px #344e7410}.primary-button:hover,.download-link:hover{background:#405d86;box-shadow:0 6px 16px #344e7418}.primary-button.compact{padding:10px 14px;white-space:nowrap}.outline-button{padding:10px 15px;border-color:#d9e2ec;border-radius:11px;color:#526c8e;white-space:nowrap}.outline-button:hover{background:#f1f5f9}.remove-button{color:#b66674;padding:10px}.danger-button{background:#bd5268;padding:12px 18px;border-radius:11px}
dialog{padding:28px 32px;border-color:#ccd9e8;border-radius:24px;box-shadow:0 25px 100px #263b5735}dialog::backdrop{background:#24354d80;backdrop-filter:blur(6px)}.dialog-top{margin-bottom:18px}.close-button{width:35px;height:35px;background:#edf2f7;color:#70869f;border-radius:12px}.close-button:hover{background:#e1eaf4}.dialog-product h2{font-size:27px;line-height:1.4}.dialog-product p{color:#62748b;line-height:1.8}.dialog-product .software-icon{width:59px;height:59px;border-radius:17px}.download-note{padding:14px 17px;border:1px solid #d7e1ed;background:#eef3f9;color:#536d8d;border-radius:13px;font-size:14px}.version-list-heading span:last-child{color:#6a7e98}.version-row{gap:15px;padding:17px 0;border-color:#e9f0f8}.version-name{line-height:1.6}.code-button{font-size:13px;color:#637b99;border-color:#dce4ee;border-radius:9px;padding:9px}.code-button strong{color:#49678e;padding-left:7px}.download-link{font-size:14px;padding:9px 12px;border-radius:10px}.no-code{color:#687d96}.help-steps p{color:#637790;line-height:1.85}.help-footnote{color:#6a7f98;border-color:#e2e9f2;line-height:1.85}
.load-error{background:#fff5f1;border-color:#f2d9cd;border-radius:17px}.load-error p{color:#a3654e;line-height:1.8}.admin-list{border-radius:18px}.admin-row{padding:19px 24px;border-color:#e5ebf3}.admin-product h3{line-height:1.5}.admin-product p{font-size:14px;color:#647b98;line-height:1.6}#editor-title{font-size:27px}.editor-intro{color:#687e9a;line-height:1.8}.form-grid>label,.field-label{line-height:1.6;color:#536d8e}.form-grid input,.form-grid select,.field-label input,.field-label textarea{font-size:16px;padding:11px 13px;border-color:#d5dfeb;border-radius:11px;color:#3c5576}.form-grid input::placeholder,.field-label input::placeholder,.field-label textarea::placeholder{color:#8191a7}.field-label textarea{min-height:85px}.version-editor-heading h3{font-size:17px}.field-hint{font-size:13px;color:#647b98}.version-editor{border-color:#dae3ee;background:#f4f7fa;padding:15px 18px 4px;border-radius:15px}.version-tools{font-size:13px;color:#6e849f}.version-tools button{width:32px;height:32px;border-color:#dae3ed;border-radius:8px;color:#5a7699;font-size:16px}.editor-footer{border-color:#e0e8f2}.form-error{border-color:#f0d2ca;background:#fff4f0;color:#a7614e;border-radius:11px}.toast{background:#3b536f;border-radius:13px;box-shadow:0 8px 26px #3b536f24;line-height:1.6}
@keyframes arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.intro{min-height:288px}.hero-art{right:40px;height:288px;width:370px}.hero-character{width:340px;height:269px;right:17px}.art-orbit{width:250px;height:250px}}
@media(max-width:1180px){.sidebar{width:224px;padding:25px 16px}.sidebar .brand{font-size:16px;gap:8px}.sidebar .brand small{font-size:9px;letter-spacing:1.3px}.brand-portrait{width:42px;height:45px}.workspace{margin-left:224px}.topbar{padding:0 27px}main{padding:26px 27px 0}.intro{padding:27px;min-height:260px}.intro-copy{width:62%}.intro h1{font-size:34px}.intro p{max-width:320px;font-size:15px}.hero-art{right:0;width:280px;height:255px}.hero-character{width:275px;height:217px;right:3px;bottom:15px}.art-orbit{right:23px;top:33px;width:211px;height:211px}.character-caption{right:10px;font-size:12px;padding:7px 10px}.spark-one{right:9px}.spark-two{left:12px}.collection-stat{gap:17px}.collection-stat>div+div{padding-left:17px}.collection-stat>div{gap:6px}.software-card{padding:22px 21px 0}}
@media(max-width:900px) and (min-width:801px){.hero-art{width:205px}.hero-character{width:218px;height:172px;right:0;bottom:25px}.art-orbit{width:170px;height:170px;right:7px;top:62px}.intro-copy{width:64%}.intro h1{font-size:29px}.intro p{max-width:240px}.collection-stat{gap:12px;align-items:flex-start}.collection-stat>div{flex-direction:column;gap:6px}.collection-stat>div+div{padding-left:13px}.character-caption{bottom:16px;right:10px;padding:7px}.spark-two{display:none}}
@media(max-width:800px){.sidebar{width:100%;padding:15px 22px;flex-direction:row}.sidebar .brand{font-size:18px}.sidebar .brand small{font-size:9px;letter-spacing:1.6px}.brand-portrait{width:44px;height:44px}.mobile-menu{gap:10px;border:1px solid #ffffff40;border-radius:11px;padding:10px 12px;background:#ffffff0f;color:#edf2f8}.nav-wrap{display:none;background:#344b6d;border-color:#506784;box-shadow:0 15px 22px #25395128;max-height:75vh}.sidebar .nav-caption{margin:12px 9px}.side-note{margin:18px 0 0}.workspace{margin-left:0}.topbar{height:62px;padding:0 23px}.topbar-actions{gap:13px}.breadcrumb{font-size:13px;gap:10px}.admin-link{font-size:13px;padding:8px 11px}.text-button{font-size:13px}main{padding:22px 23px 0}.intro{min-height:250px;padding:27px;align-items:center}.intro h1{font-size:34px}.intro-copy{width:61%}.hero-art{width:280px;right:3px}.hero-character{width:273px;height:216px;right:1px}.intro p{font-size:15px}.collection-stat{gap:18px;margin-top:25px}.collection-stat>div{flex-direction:column;gap:6px}.collection-stat>div+div{padding-left:18px}.art-orbit{top:30px;right:19px}.character-caption{right:3px}.search-box{height:60px}.software-grid{gap:15px}}
@media(max-width:520px){.sidebar{padding:13px 17px}.sidebar .brand{font-size:17px;gap:8px}.brand-portrait{width:40px;height:43px}.mobile-menu{padding:9px 10px;font-size:13px}.topbar{padding:0 17px;height:58px}.breadcrumb{font-size:12px;gap:7px}.topbar-actions{gap:11px}.admin-link{font-size:12px;padding:8px 9px}.text-button{font-size:12px}.help-icon{display:none}main{padding:17px 16px 0}.intro{min-height:292px;padding:23px 23px 26px;border-radius:21px;align-items:flex-start;margin-bottom:19px}.intro-copy{width:100%;max-width:none}.intro h1{font-size:30px;margin:10px 0 10px}.intro p{font-size:14px;max-width:265px;line-height:1.8}.eyebrow{font-size:10px;letter-spacing:1.2px}.hero-art{height:155px;width:195px;right:0;bottom:0}.hero-character{width:192px;height:152px;right:3px;bottom:4px}.art-orbit{width:130px;height:130px;right:25px;top:15px;box-shadow:none}.character-caption{font-size:10px;padding:6px 8px;bottom:10px;right:1px}.spark-one{font-size:15px;top:8px;right:17px}.spark-two{display:none}.collection-stat{margin-top:26px;gap:16px;max-width:155px}.collection-stat strong{font-size:23px}.collection-stat span{font-size:12px;white-space:normal;max-width:53px;line-height:1.7}.collection-stat>div+div{padding-left:16px}.search-box{height:58px;padding:0 16px;gap:10px;border-radius:14px}.search-box input{font-size:14px}.search-box kbd{display:none}.search-box svg{width:20px;height:20px}.discovery{margin-bottom:23px}.results-toolbar{gap:10px;margin-bottom:16px}.results-toolbar h2{font-size:19px;line-height:1.5}.result-count{display:inline-block;margin-top:7px;font-size:12px}.sort-label{font-size:12px;gap:5px}.sort-label select{font-size:12px;padding:8px;max-width:110px}.toolbar-actions{gap:7px}.primary-button.compact{font-size:12px;padding:9px 10px}.software-card{padding:23px 24px 0;min-height:222px}.empty-state{padding:28px 20px;border-radius:18px}.empty-state h3{font-size:18px}.empty-icon{width:58px;height:58px;padding:12px}.page-footer{align-items:flex-start;gap:5px;font-size:12px;padding:20px 0 23px;margin-top:14px}.footer-signature{font-size:10px}.admin-row{padding:15px;gap:10px}.admin-product h3{font-size:15px}.admin-product p{font-size:12px}.admin-product .software-icon{width:36px;height:39px;border-radius:11px;font-size:17px}.admin-row-actions .outline-button{font-size:13px;padding:8px 10px}.remove-button{font-size:13px;padding:8px}dialog{padding:22px 20px;border-radius:20px}.dialog-product h2{font-size:23px}.version-editor{padding:13px}.version-editor-heading h3{font-size:16px}.version-editor-heading .outline-button{padding:9px 10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}
.access-state{max-width:580px;margin:10vh auto;padding:32px;text-align:center;background:white;border:1px solid var(--line);border-radius:24px}.access-state img{margin:0 auto 22px;object-fit:contain}.access-state h1{font-size:26px;line-height:1.5}.access-state p{font-size:16px;color:var(--muted);line-height:1.9;margin:14px 0 25px}.access-state .primary-button{display:inline-block}
/* Nested categories: restrained tree navigation and a wider management surface. */
.category-nav{display:flex;flex-direction:column;gap:5px}.nav-tree-row{display:flex;align-items:center;gap:2px;padding-left:var(--tree-indent,0);min-width:0}.nav-tree-row .nav-item{flex:1;width:0;min-width:0;gap:8px;padding:11px 8px}.tree-toggle{width:18px;min-width:18px;height:36px;display:flex;align-items:center;justify-content:center;color:#d0dceb;border-radius:6px}.tree-toggle:hover{background:#ffffff18}.tree-spacer{visibility:hidden}.tree-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}.tree-toggle[aria-expanded=false] .tree-chevron{transform:rotate(-45deg);margin-top:0}.deep-level{display:block;color:inherit;opacity:.72;font-size:11px;font-weight:400;margin-top:4px}.nav-tree-row .nav-count{padding:3px;min-width:20px}.nav-tree-row .nav-symbol{width:17px;font-size:17px}.breadcrumb{min-width:0;flex:1;max-width:65%}.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex-shrink:0}.results-toolbar h2{overflow-wrap:anywhere}
.category-dialog{width:min(880px,calc(100% - 28px))}.category-dialog .category-add{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}.category-add .field-label{min-width:0}.category-add select{height:48px;min-width:0;text-overflow:ellipsis}.category-editor-row{padding-left:var(--category-indent,0);gap:10px}.category-position{font-size:12px;min-width:26px;white-space:nowrap}.category-row-actions{flex-shrink:0;gap:5px;flex-wrap:wrap;max-width:270px}.category-row-actions button{font-size:14px;padding:0 8px}.category-row-actions .child-category-button{color:#46658b;background:#edf3f9;border-color:#cddce9}.category-name-field{min-width:100px}.category-name-field .category-parent-path{color:#8291a4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;margin-top:3px}.small-dialog #category-parent-message,.small-dialog #category-remove-message{overflow-wrap:anywhere;line-height:1.8}.category-list-heading{align-items:center}
@media(max-width:680px){.category-dialog .category-add{grid-template-columns:minmax(0,1fr) auto}.category-add>.field-label:first-child{grid-column:1 / -1}.category-editor-row{flex-wrap:wrap;padding-left:0;border-left:3px solid #dbe5f0;padding-left:10px;margin:10px 0}.category-position{display:block}.category-name-field{flex:1;min-width:0}.category-row-actions{max-width:none;width:100%;justify-content:flex-end;padding-top:3px}.category-list-heading{font-size:12px;gap:8px}.category-row-actions button{height:38px}.category-dialog{padding:22px 17px}.category-footer{bottom:-22px}.breadcrumb{max-width:52%}.nav-tree-row{max-width:100%}.sidebar.expanded .category-nav{display:flex}.category-nav{gap:4px}}
/* Soft blue: rounded, airy surfaces with a quiet blush accent. */
:root{font-family:"Segoe UI Variable","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;background:#f4f8fc;color:#354e69;--blue:#5075a3;--ink:#354e69;--muted:#5d738b;--line:#dce7f1}
body{background:radial-gradient(ellipse at 88% 0,#e9f2fb 0,transparent 50%),#f4f8fc}
.sidebar{background:linear-gradient(180deg,#e8f1fa,#eef5fb);color:#425e7e;border-right:1px solid #d9e5f1;box-shadow:5px 0 30px #5e7fa008;scrollbar-color:#b6cce0 #eef5fb}
.sidebar .brand{color:#355477;letter-spacing:.1px}.sidebar .brand small{color:#6a84a0;letter-spacing:1.6px}
.brand-portrait{border-radius:18px;background:#d4e4f4;border:3px solid #fff;box-shadow:0 5px 0 #c9dced,0 7px 15px #7899b91a;transform:rotate(-5deg)}
.sidebar .nav-caption{color:#587495}.nav-caption span{color:#71879e;background:#fff9;padding:4px 8px;border-radius:20px}
.nav-item{color:#4e6783;border:1px solid transparent;border-radius:17px;transition:background .16s,border-color .16s,transform .16s}
.nav-item:hover{background:#f9fcff;color:#355779}.nav-item.active{background:#fff;color:#3e628a;border-color:#c6d9eb;box-shadow:0 3px 0 #d6e4f1,0 6px 16px #7794b00d}
.nav-tree-row .nav-item{min-height:48px;padding:10px 8px}.nav-tree-row .nav-symbol{color:#6d8ead}
.nav-count{background:#dce9f5;color:#536f8c;border-radius:10px}.active .nav-count{background:#e4eef9;color:#496e99}
.tree-toggle{color:#6e89a5;border-radius:10px}.tree-toggle:hover{background:#dceaf6}
.side-note{border:1px solid #d3e1ef;background:#ffffffa6;border-radius:22px;padding:18px 16px;box-shadow:0 4px 0 #dce9f380}
.note-label{color:#526f92}.side-note p{color:#617a93}.password-note{color:#627b96;border-color:#d6e2ee}
.topbar{background:#ffffffc2;border-color:#e1eaf3}.breadcrumb{color:#6c8199}.breadcrumb strong{color:#496786}.text-button{color:#607b98}
.admin-link,.primary-button,.download-link{background:#5075a3;border:1px solid #5075a3;color:#fff;border-radius:999px;box-shadow:0 4px 0 #d5e2ef;transition:background .16s,transform .16s,box-shadow .16s}
.admin-link:hover,.primary-button:hover,.download-link:hover{background:#4a709e;box-shadow:0 5px 0 #d0dfee;transform:translateY(-1px)}
.admin-link:active,.primary-button:active,.download-link:active{transform:translateY(2px);box-shadow:0 1px 0 #d5e2ef}
.outline-button{border-color:#cfdfee;border-radius:999px;background:#fff;color:#526f91;box-shadow:0 2px 0 #e5eef6}
.outline-button:hover{background:#edf5fc;border-color:#bcd2e7}.danger-button{border-radius:999px;background:#ab586d}.remove-button{color:#a75c70}
.intro{border:1px solid #c8dced;border-radius:32px;background:linear-gradient(110deg,#eaf3fb 0%,#e2edf8 56%,#d7e7f7 100%);box-shadow:inset 0 0 0 5px #ffffff65,0 8px 24px #6d8bab0a;padding:30px 36px;min-height:280px}
.intro .eyebrow{display:inline-flex;border:1px solid #d1dfec;background:#ffffffa3;border-radius:999px;padding:6px 12px;font-size:11px;letter-spacing:1.5px;box-shadow:0 2px 0 #d4e4f266}
.intro .eyebrow>span{color:#b27d93;font-size:16px}.intro h1{color:#345373;font-weight:800;letter-spacing:-.5px;text-shadow:0 2px 0 #fff9}.intro .title-period{color:#c08da3}.intro p{color:#526d89}
.collection-stat{gap:12px;margin-top:23px}.collection-stat>div{padding:10px 14px;border:1px solid #ffffffb0;border-radius:17px;background:#ffffff70;gap:8px;box-shadow:0 3px 0 #b9cfe51a}.collection-stat>div+div{padding-left:14px;border-left:1px solid #ffffffb0}
.collection-stat strong{color:#466e9c;font-size:25px}.collection-stat span{color:#526d88}
.art-orbit{border:1px dashed #a8c4df;border-radius:50%;background:#ffffff38;box-shadow:0 0 0 16px #ffffff29}
.hero-character{filter:drop-shadow(0 6px 0 #ffffffb3) drop-shadow(0 10px 12px #6884a329)}
.character-caption{display:block;color:#59728f;background:#fff9;border:1px solid #c6d8ea;border-radius:18px 18px 18px 5px;padding:8px 12px;font-size:12px;font-weight:500;bottom:10px;right:3px;transform:rotate(3deg);box-shadow:0 3px 0 #c4d8ed66}
.art-spark{display:block;color:#91acc8;opacity:.85}.spark-two{color:#be95a7;font-size:22px}.spark-one{font-size:19px}
.search-box{border-radius:999px;background:#fff;border:1px solid #cbddec;box-shadow:0 5px 0 #e1ecf5,0 10px 24px #6586a70a;padding:0 23px;color:#7293b6}
.search-box:focus-within{border-color:#88abc9;box-shadow:0 4px 0 #dce9f6,0 0 0 4px #abc9e329}.search-box input::placeholder{color:#627891}.search-box kbd{background:#edf4fb;border-radius:8px;border-color:#d5e3ef;color:#7b94af}
.result-count{background:#e5edf9;color:#526f94;border:1px solid #d8e3f0;border-radius:999px;padding:4px 10px}.results-toolbar h2{color:#3c5878}
.sort-label select{border-radius:999px;border-color:#d4e2ee;color:#5b7592;padding:9px 13px;background:#fff}
.software-card{border:1px solid #d7e5f1;border-radius:25px;box-shadow:0 5px 0 #e4edf5,0 9px 20px #6988a60a;padding:23px 24px 0;background:#fff}
.software-card:hover{border-color:#afc8df;transform:translateY(-2px);box-shadow:0 7px 0 #e0eaf4,0 12px 22px #6988a612}
.software-icon{border-radius:16px;border:2px solid #fff;box-shadow:0 0 0 1px #dfe8f0,0 4px 0 #eaf0f5;font-weight:700}.software-card h3{color:#344f6f}
.category-tag{border:1px solid #dce7f2;background:#eef4fb;color:#607c9e;border-radius:999px;padding:5px 9px;max-width:65%;overflow:hidden;text-overflow:ellipsis}
.card-bottom{border-top:1px dashed #dce6f1}.version-button{border-radius:14px;background:#eff5fb;padding:7px 10px;color:#4c719e;margin:1px 0;font-weight:600}.version-button:hover{background:#e4eef8}
.software-card .card-bottom{align-items:flex-start;flex-wrap:wrap}.card-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto;max-width:100%}.resource-view-count{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.6;color:#7a90a7;font-variant-numeric:tabular-nums}.resource-view-count>span{overflow-wrap:anywhere}.resource-view-count svg{opacity:.8}
.empty-state{border:1px dashed #b9cfe2;border-radius:28px;background:linear-gradient(120deg,#ffffff,#f9fcff);box-shadow:0 5px 0 #e5eef7;padding:22px 24px 25px}
.empty-icon{width:106px;height:84px;margin:0 auto 8px;padding:0;background:none;box-shadow:none;border:0;transform:rotate(-5deg)}.empty-icon img{width:106px;height:84px;object-fit:contain;filter:drop-shadow(0 4px 0 #e8f0f8)}
.empty-state h3{font-size:19px;color:#486687;margin:10px 0 6px}.empty-state p{color:#58728d;margin:0 0 10px}
.page-footer{color:#61788f}.footer-signature{color:#647d97}.footer-signature span{color:#b58a9e}
dialog{border:1px solid #cbddec;border-radius:28px;background:#fff;box-shadow:0 22px 80px #42698d2e,0 0 0 5px #ffffff4d}dialog::backdrop{background:#6c87a350;backdrop-filter:blur(5px)}
.dialog-top .eyebrow{letter-spacing:1px;color:#698aad}.close-button{background:#eef4fa;color:#6e88a2;border:1px solid #e1eaf3;border-radius:13px}.close-button:hover{background:#e2edf7}
.download-note,.version-editor,.category-add{border-color:#d6e4f0;background:#f1f7fc;border-radius:19px}
.version-row{border-bottom:1px dashed #dfe9f2}.version-tools button{border-radius:10px;color:#6284a6;background:#fff}
.form-grid input,.form-grid select,.field-label input,.field-label textarea,.field-label select,.category-name-field input{border-radius:13px;border-color:#cfdfee;color:#3d5a7b;background:#fbfdff}
.form-grid input:focus,.form-grid select:focus,.field-label input:focus,.field-label textarea:focus,.field-label select:focus,.category-name-field input:focus{background:#fff;border-color:#93b4d2}
.admin-list{border-radius:23px;border-color:#d7e5f0;box-shadow:0 4px 0 #e5eef7}.admin-row{border-color:#e2ebf3}.admin-row:hover{background:#f8fbfe}.admin-product h3{color:#3e5b7b}
.category-editor-row{border-top-style:dashed;border-color:#dce7f1}.category-position{color:#7591ae}.category-row-actions button{border-radius:12px;border-color:#d5e2ef;background:#f3f8fc;color:#587ba1}.category-row-actions .remove-button{color:#a25c72;border-color:#eddce4;background:#fdf8fa}.category-row-actions .child-category-button{color:#5077a4;background:#e9f2fb;border-color:#cbddef}
.category-removal-summary{border-radius:16px;background:#f4f7fb}.category-footer{background:#fff}.toast{background:#526f92;border:1px solid #ffffff85;border-radius:18px;box-shadow:0 5px 0 #cbddec66,0 10px 25px #4c6e952b}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.brand:hover .brand-portrait{transform:rotate(0deg);transition:transform .18s}.hero-character:hover{transform:translateY(-3px);transition:transform .2s}}
@media(max-width:1180px){.intro{padding:27px;min-height:270px}.collection-stat>div{padding:9px 11px;gap:6px}.collection-stat>div+div{padding-left:11px}.character-caption{bottom:11px;right:4px}}
@media(max-width:900px) and (min-width:801px){.collection-stat{gap:9px}.collection-stat>div{padding:8px 11px}.intro .eyebrow{font-size:10px;padding:5px 9px}.character-caption{font-size:11px;padding:7px 9px}.spark-two{display:none}}
@media(max-width:800px){.sidebar{border-bottom:1px solid #d3e2ef;background:#eaf2fa}.nav-wrap{background:#edf4fb;border-color:#d4e2ee;box-shadow:0 14px 24px #5f83a81c}.mobile-menu{background:#ffffffc9;border-color:#cbddec;color:#5b7898;border-radius:999px;box-shadow:0 2px 0 #d7e5f2}.intro{padding:26px;min-height:270px}.character-caption{font-size:11px}.collection-stat>div{padding:10px 12px}}
@media(max-width:520px){.sidebar .brand{font-size:17px}.brand-portrait{border-radius:15px}.intro{padding:23px;min-height:318px;border-radius:26px;box-shadow:inset 0 0 0 4px #ffffff65}.intro .eyebrow{font-size:10px;padding:5px 9px;letter-spacing:1px}.intro h1{font-size:30px;margin:13px 0 9px}.intro p{max-width:268px}.collection-stat{flex-direction:column;gap:8px;max-width:145px;margin-top:20px}.collection-stat>div{flex-direction:row;align-items:center;padding:8px 10px;gap:7px;width:max-content;max-width:145px;border-radius:13px}.collection-stat>div+div{padding-left:10px;border-left:1px solid #ffffffb0}.collection-stat strong{font-size:21px}.collection-stat span{font-size:12px;max-width:none;white-space:nowrap}.hero-art{width:187px;height:164px;bottom:4px}.hero-character{width:187px;height:148px;bottom:9px}.art-orbit{width:119px;height:119px;right:24px;top:22px;box-shadow:0 0 0 10px #ffffff26}.character-caption{bottom:2px;right:8px;font-size:10px;padding:6px 9px}.spark-one{top:13px;right:11px}.spark-two{display:none}.search-box{border-radius:999px;padding:0 16px}.sort-label select{padding:8px 10px}.software-card{border-radius:23px}.empty-state{padding:23px 18px;border-radius:24px}.empty-icon,.empty-icon img{width:99px;height:79px}.empty-state h3{font-size:18px}.page-footer{padding-top:20px}.category-row-actions button{border-radius:11px}.category-editor-row{border-left-color:#d5e5f2}dialog{border-radius:24px}}
@media(prefers-reduced-motion:reduce){.software-card:hover,.hero-character:hover,.brand:hover .brand-portrait,.admin-link:hover,.primary-button:hover,.download-link:hover,.admin-link:active,.primary-button:active,.download-link:active{transform:none}}
/* Custom resource icons share the same frame across the catalog and editor. */
/* Soft icon tiles give every category a recognizable shape, including custom names. */
.category-nav{gap:5px}
.nav-tree-row .nav-item{gap:9px;padding:8px 9px;min-height:50px;border-radius:16px}
.nav-tree-row .category-name{flex:1;line-height:1.55}
.nav-tree-row .nav-symbol.category-icon{--icon-ink:#5e83ad;--icon-tint:#e1edf9;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #ffffffb8;border-radius:10px;background:linear-gradient(145deg,#ffffffb8,var(--icon-tint));color:var(--icon-ink);box-shadow:0 2px 2px #6e93b510,inset 0 1px 0 #fff;transition:background .16s,box-shadow .16s,transform .16s}
.nav-tree-row .category-icon.icon-tone-aqua{--icon-ink:#629499;--icon-tint:#e2f0f1}
.nav-tree-row .category-icon.icon-tone-lilac{--icon-ink:#8985ad;--icon-tint:#edebf7}
.nav-tree-row .category-icon.icon-tone-slate{--icon-ink:#7b8fa5;--icon-tint:#e6edf5}
.category-icon svg{width:19px;height:19px;stroke-width:1.8;overflow:visible}
.nav-tree-row.is-nested .nav-symbol.category-icon{width:27px;height:27px;flex-basis:27px;border-radius:9px}
.nav-tree-row.is-nested .category-icon svg{width:18px;height:18px}
.nav-tree-row .nav-item.active .category-icon{color:#4b72a1;background:linear-gradient(145deg,#edf5ff,#dceafb);border-color:#c5d8ec;box-shadow:inset 0 1px 0 #ffffffd9,0 2px 0 #d3e3f244}
.nav-tree-row .nav-count{min-width:21px;padding:3px 5px;background:#dce9f2b3;color:#6985a0;font-size:11px}
.nav-tree-row .active .nav-count{color:#52749c;background:#e5eef9}
.tree-toggle{width:17px;min-width:17px;height:34px;border-radius:9px}
.tree-toggle .tree-chevron{width:5px;height:5px;border-width:1.5px;opacity:.8}
.tree-toggle:hover .tree-chevron{opacity:1}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.nav-item:hover .category-icon{transform:translateY(-1px);box-shadow:0 3px 5px #6e93b518,inset 0 1px 0 #fff}}
@media(min-width:1181px){.sidebar{width:274px}.workspace{margin-left:274px}}
@media(min-width:801px) and (max-width:1180px){.sidebar{width:244px}.workspace{margin-left:244px}}
@media(max-width:800px){.nav-tree-row .nav-item{padding:9px 11px;min-height:52px}.nav-tree-row.is-nested .nav-item{padding-left:9px}.nav-tree-row .category-name{font-size:14px}}
.software-icon{position:relative;overflow:hidden}
.software-icon.has-image{background:#fff}
.software-icon.has-image .icon-initials{visibility:hidden}
.software-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:4px;border-radius:inherit}
.icon-editor{display:flex;align-items:flex-start;gap:20px;padding:20px;border:1px solid #d7e4f0;border-radius:22px;background:#f1f7fc;margin:22px 0}
.icon-preview{flex-shrink:0;padding:5px;background:#fff;border-radius:23px;box-shadow:0 3px 0 #dce8f380}
.icon-preview .software-icon{width:88px;height:88px;border-radius:18px;font-size:30px}
.icon-editor-content{min-width:0;flex:1}.icon-editor h3{font-size:16px;margin:0 0 10px}
.icon-editor-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.icon-editor-actions .text-button{font-size:14px}
.icon-editor .field-hint{font-size:13px;color:#61778d;margin:10px 0 0}
.icon-status{font-size:13px;color:#4f7395;line-height:1.6;margin:7px 0 0}.icon-status:empty{display:none}
.icon-editor .form-error{margin:10px 0 0;padding:8px 11px}
@media(max-width:520px){.icon-editor{gap:13px;padding:15px}.icon-preview .software-icon{width:62px;height:62px}.icon-preview{border-radius:20px}.icon-editor-actions{gap:6px}.icon-editor .field-hint{font-size:12px}}
/* Whale companions sit beside content and never cover interactive controls. */
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:28px;padding:20px 0;color:#657f99;font-size:13px}.catalog-pagination>div{display:flex;align-items:center;gap:10px}.catalog-pagination select{font:inherit;color:#4d6e90;background:#fff;border:1px solid #cfdfed;border-radius:13px;padding:10px;max-width:155px}.catalog-pagination button:disabled{opacity:.4;cursor:default}.description-text a{color:#406f9a;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.results-toolbar{scroll-margin-top:25px}@media(max-width:520px){.catalog-pagination{justify-content:center}.catalog-pagination>div{gap:7px}.catalog-pagination .outline-button{padding:9px 12px}.catalog-pagination select{max-width:130px}.catalog-pagination>span{flex-basis:100%;text-align:center}}
.resource-filter-bar{display:flex;align-items:center;gap:16px;justify-content:space-between;margin:18px 4px 0;color:#58728d;font-size:13px}.resource-filter-bar label{display:flex;align-items:center;gap:12px}.resource-filter-bar select{max-width:230px;padding:9px 34px 9px 14px;border:1px solid #cedfec;border-radius:14px;background:#fff;color:#486684;font:inherit}
.resource-categories,.resource-tags{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;min-width:0}.resource-category-chip,.gameplay-chip{font-size:11px;line-height:1.5;padding:4px 9px;max-width:100%;overflow-wrap:anywhere;border-radius:9px;border:1px solid #dce7f2;background:#eef4fb;color:#526f90}.gameplay-chip{background:#eef6f5;border-color:#d8e9e7;color:#4f7878}.card-heading>.resource-categories{justify-content:flex-end;max-width:72%}.software-card .card-description{flex:0;line-height:1.8;margin-bottom:14px;overflow-wrap:anywhere}.software-card h3{overflow-wrap:anywhere}.software-card .resource-tags{margin-bottom:14px}.extra-tags{font-size:11px;color:#587a91;max-width:100%}.extra-tags summary{cursor:pointer;padding:4px 8px;border:1px dashed #c8dbe8;border-radius:9px}.extra-tags>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.resource-metadata{margin:0 0 16px;padding:12px 0;border-top:1px dashed #dce7f1;border-bottom:1px dashed #dce7f1;font-size:12px;line-height:1.6}.resource-metadata>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:3px 0}.resource-metadata dt{color:#72879e}.resource-metadata dd{margin:0;color:#3d5b78;overflow-wrap:anywhere}.resource-description{font-size:13px;color:#4b6885;margin:0 0 17px}.resource-description summary{cursor:pointer;font-weight:600;padding:5px 0}.description-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin-top:10px;color:#526b83}.software-card .description-text{max-height:250px;overflow:auto;padding:12px;border-radius:13px;background:#f4f8fc}.software-card .card-bottom{margin-top:auto}.admin-product .resource-categories{margin-top:8px}.admin-product>div{min-width:0}.admin-product p{overflow-wrap:anywhere}#dialog-resource-info>.resource-categories{margin:20px 0 12px}#dialog-resource-info>.resource-tags{margin-bottom:18px}#dialog-resource-info .resource-metadata{padding:15px;border:1px solid #dce7f1;background:#f5f9fd;border-radius:16px}#dialog-resource-info .resource-description{margin-top:22px}
.editor-choice-section{border:1px solid #d7e4f0;border-radius:19px;padding:18px;margin:23px 0;min-width:0}.editor-choice-section legend{font-size:14px;font-weight:600;color:#405f7e;padding:0 7px}.editor-choice-section legend span{font-size:12px;font-weight:400;color:#72889f;margin-left:9px}.editor-choice-section .field-hint{margin:0 0 13px}.choice-search,.custom-tag-entry input{width:100%;min-width:0;padding:11px 13px;border:1px solid #cfdfee;border-radius:13px;background:#fbfdff;color:#3d5a7b;font:inherit;font-size:13px}.category-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:236px;overflow:auto;margin-top:12px;padding:3px}.category-choice{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid #e1eaf3;border-radius:12px;cursor:pointer;background:#fafcff}.category-choice:has(input:checked){background:#eaf2fc;border-color:#aec8e1}.category-choice input,.tag-choice input{accent-color:#587fa8;flex:none;width:15px;height:15px;margin:3px 0}.category-choice span{min-width:0}.category-choice strong{display:block;font-size:13px;font-weight:600;color:#496988}.category-choice small{display:block;font-size:11px;line-height:1.6;color:#72869c;overflow-wrap:anywhere;margin-top:3px}.choice-count{font-size:12px;color:#63809b;margin:12px 0 0}.tag-choice-list{display:flex;flex-wrap:wrap;gap:8px;max-height:225px;overflow:auto;padding:3px}.tag-choice{display:inline-flex;align-items:center;gap:6px;font-size:12px;border:1px solid #dce7ef;background:#f6f9fc;color:#5b748c;border-radius:11px;padding:7px 10px;cursor:pointer;overflow-wrap:anywhere}.tag-choice:has(input:checked){background:#eaf3f5;border-color:#b2d0d4;color:#416e76}.tag-choice input{margin:0;accent-color:#688f99}.custom-tag-entry{display:flex;gap:9px;margin-top:15px}.custom-tag-entry button{flex:none}.detailed-editor{line-height:1.8}.field-label .field-hint{font-weight:400;line-height:1.6;color:#72889f}.metadata-editor .form-grid{margin:0;gap:15px}.editor-choice-section :focus-visible{outline:2px solid #6e95be;outline-offset:3px}
@media(max-width:520px){.resource-filter-bar{gap:7px;align-items:flex-end}.resource-filter-bar label{display:grid;gap:6px}.resource-filter-bar select{max-width:205px}.resource-filter-bar .text-button{font-size:12px;padding-bottom:10px}.editor-choice-section{padding:14px;margin:20px 0}.category-choice-list{grid-template-columns:1fr;max-height:210px}.custom-tag-entry{flex-wrap:wrap}.custom-tag-entry input{flex-basis:100%}.tag-choice{padding:7px 8px}.resource-metadata>div{grid-template-columns:90px minmax(0,1fr)}.editor-choice-section legend span{margin-left:4px;font-size:11px}.admin-row-actions{flex-wrap:wrap}}
#portal-label{white-space:nowrap;color:#5c7897;font-weight:600}
.whale-decoration{pointer-events:none;user-select:none;object-fit:contain;filter:drop-shadow(0 4px 1px #9fbad222)}
.sidebar .side-note{margin-top:72px;padding-top:0}
.note-companion{display:block;width:118px;height:108px;margin:-47px auto 8px}
.results-toolbar>div.results-heading{display:flex;align-items:center;gap:13px;min-width:0;flex:1;flex-wrap:nowrap}
.catalog-companion{width:68px;height:68px;flex:0 0 68px}
.results-heading-copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.page-footer{display:grid;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);align-items:center;gap:20px;padding-top:10px;margin-top:26px}
.footer-companion{width:150px;height:86px;justify-self:center}
.page-footer .footer-signature{justify-self:end;text-align:right}
@media(max-width:800px){.sidebar .side-note{margin-top:61px}.note-companion{width:100px;height:92px;margin-top:-40px}.page-footer{grid-template-columns:minmax(0,1fr) 122px;gap:5px 18px}.footer-companion{grid-column:2;grid-row:1 / span 2;width:122px;height:82px}.page-footer .footer-signature{grid-column:1;grid-row:2;justify-self:start;text-align:left}.page-footer>span:first-child{align-self:end}.page-footer .footer-signature{align-self:start}}
@media(max-width:520px){.results-toolbar>.results-heading{gap:8px}.catalog-companion{width:46px;height:54px;flex-basis:46px}.results-heading-copy{display:block}.results-heading-copy .result-count{margin-top:4px}.results-toolbar h2{font-size:18px}.page-footer{grid-template-columns:minmax(0,1fr) 104px;gap:6px 12px;margin-top:18px}.footer-companion{width:104px;height:78px}}
.help-support{margin:18px 0 24px;padding:16px 18px;border:1px solid #d7e5f3;border-radius:16px;background:#f0f6fc;color:#536d8d;font-size:14px;line-height:1.85}
.help-support p,.help-footnote p{margin:0}.help-support p+p,.help-footnote p+p{margin-top:10px}.help-support strong{color:#385a80}.help-section-title{margin:0 0 12px;font-size:16px;color:#385a80}
.help-footnote a{color:#3b6fac;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.help-footnote a:hover{color:#244e83}
/* ==========================================================================
   Ocean maid refresh: sapphire hair, navy dress, white apron and cyan hair tips.
   Colours follow the whale-girl artwork; every font is a local system font so
   the page needs no overseas font or CDN request.
   ========================================================================== */
:root{
 --sea-ink:#1d3264;--sea-text:#304770;--sea-muted:#576d93;--sea-soft:#7d90b2;
 --sapphire:#2f5fd0;--sapphire-deep:#2347a6;--ocean:#4a86e8;--cyan:#7cc8f2;
 --foam:#eaf3ff;--mist:#f5f9ff;--line-soft:#d9e5f5;--blush:#ef8fae;
 --blue:var(--sapphire);--ink:var(--sea-ink);--muted:var(--sea-muted);--line:var(--line-soft);
 --button-fill:linear-gradient(135deg,#4f8bec 0%,#2f5fd0 100%);
 --card-shadow:0 1px 2px #1d32640a,0 10px 26px #2f5fd00f;
 font-family:"Segoe UI Variable Text","Segoe UI","PingFang SC","HarmonyOS Sans SC","MiSans","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",system-ui,sans-serif;
 color:var(--sea-text);background:#f3f8fe;accent-color:var(--sapphire)
}
body{background:radial-gradient(1100px 520px at 92% -8%,#d9eaff 0,transparent 62%),radial-gradient(800px 520px at 20% 105%,#e4f3ff 0,transparent 60%),#f3f8fe;color:var(--sea-text)}
::selection{background:#cfe2ff;color:var(--sea-ink)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8fb6f5;outline-offset:3px}

/* Sidebar: white apron fading into pale sea */
.sidebar{background:linear-gradient(180deg,#ffffff 0%,#f2f8ff 52%,#e6f1ff 100%);border-right:1px solid var(--line-soft);box-shadow:6px 0 30px #2f5fd00b;scrollbar-width:thin;scrollbar-color:#bdd3f1 transparent}
.sidebar .brand{color:var(--sea-ink);font-weight:800}.sidebar .brand small{color:var(--sea-soft);letter-spacing:2px}
.brand-portrait{background:linear-gradient(160deg,#e3efff,#bcd8fb);border:3px solid #fff;box-shadow:0 0 0 1px #cadcf5,0 6px 14px #2f5fd022}
.sidebar .nav-caption{color:var(--sea-muted);font-weight:700;letter-spacing:.5px}
.nav-caption span{background:#e4eefd;color:var(--sapphire);font-weight:600}
.nav-item,.nav-tree-row .nav-item{color:#3d5279;border-radius:14px;position:relative}
.nav-item:hover,.nav-tree-row .nav-item:hover{background:#ffffffd9;color:var(--sapphire-deep);border-color:#e1ebf8}
.nav-item.active,.nav-tree-row .nav-item.active{background:#fff;color:var(--sapphire-deep);border-color:#c8daf6;box-shadow:0 1px 0 #fff inset,0 8px 18px #2f5fd017;font-weight:700}
.nav-item.active::before{content:"";position:absolute;left:-1px;top:13px;bottom:13px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(var(--cyan),var(--sapphire))}
.nav-tree-row .nav-count{background:#e2ecfa;color:#5b7097}
.nav-tree-row .active .nav-count,.active .nav-count{background:var(--sapphire);color:#fff}
.nav-tree-row .nav-symbol.category-icon{box-shadow:0 2px 4px #2f5fd012,inset 0 1px 0 #fff}
.nav-tree-row .nav-item.active .category-icon{background:var(--button-fill);color:#fff;border-color:transparent;box-shadow:0 4px 10px #2f5fd033}
.tree-toggle{color:#7189ae}.tree-toggle:hover{background:#e3eefc}
.side-note{background:#ffffffc7;border:1px solid #d6e4f6;box-shadow:0 10px 24px #2f5fd00d}
.note-label{color:var(--sea-ink)}.side-note p{color:var(--sea-muted)}
.password-note{color:var(--sapphire);border-top:1px dashed #cddff5;font-weight:600}

/* Top bar stays reachable while browsing on larger screens */
.topbar{background:#f8fbffd9;border-color:#e0eaf6}
@media(min-width:801px){.topbar{position:sticky;top:0;z-index:15;-webkit-backdrop-filter:saturate(1.3) blur(12px);backdrop-filter:saturate(1.3) blur(12px)}}
#portal-label{color:var(--sapphire)}.breadcrumb strong{color:var(--sea-ink)}.text-button{color:var(--sea-muted)}.text-button:hover{color:var(--sapphire)}
.help-icon{border-color:#a9bfdf;color:var(--sapphire)}

/* Hero: a calm shallow sea the mascot sits in */
.intro{border:1px solid #cddff6;border-radius:30px;background:radial-gradient(440px 260px at 80% 38%,#ffffffc0,transparent 70%),radial-gradient(260px 160px at 8% 0,#ffffff90,transparent 70%),linear-gradient(118deg,#f1f7ff 0%,#e1eefe 50%,#cfe3fb 100%);box-shadow:inset 0 0 0 5px #ffffff80,0 16px 36px #2f5fd012}
.intro::before{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 34c100-20 200-20 300 0s200 20 300 0 200-20 300 0 200 20 300 0v36H0z' fill='%23ffffff' fill-opacity='.6'/%3E%3Cpath d='M0 48c150 14 300 14 450 0s300-14 450 0 225 10 300 2v20H0z' fill='%23c9e2fb' fill-opacity='.75'/%3E%3C/svg%3E") bottom/1200px 70px repeat-x}
.intro .eyebrow{background:#ffffffc9;border-color:#d4e3f6;color:var(--sapphire);box-shadow:0 2px 0 #d4e4f6}
.intro .eyebrow>span{color:var(--blush)}
.intro h1{background:linear-gradient(100deg,var(--sea-ink) 0%,var(--sapphire-deep) 55%,#4a86e8 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;letter-spacing:0}
.intro .title-period{color:var(--blush);-webkit-text-fill-color:var(--blush)}
.intro p{color:var(--sea-muted)}
.collection-stat>div{background:#ffffffbd;border:1px solid #fff;box-shadow:0 6px 16px #2f5fd010}
.collection-stat>div+div{border-left:1px solid #fff}
.collection-stat strong{color:var(--sapphire);font-weight:800}.collection-stat span{color:var(--sea-muted)}
.art-orbit{border:1.5px dashed #9fc2ee;background:radial-gradient(closest-side,#ffffffa0,#ffffff30);box-shadow:0 0 0 16px #ffffff2e}
.hero-character{filter:drop-shadow(0 6px 0 #ffffffc0) drop-shadow(0 14px 16px #2f5fd02e)}
.character-caption{color:var(--sapphire-deep);background:#ffffffe6;border-color:#c9dbf5;box-shadow:0 4px 12px #2f5fd014}
.art-spark{color:#8fbdf0}.spark-two{color:var(--blush)}
.hero-art::after{content:"";position:absolute;right:12px;top:28px;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 32% 30%,#fff 0 22%,#ffffff70 40%,#bfe0ff40 70%);border:1px solid #ffffffd0;box-shadow:-46px 70px 0 -3px #ffffffa0,-300px 40px 0 -4px #ffffff90;pointer-events:none}
@media(prefers-reduced-motion:no-preference){.hero-art::after{animation:hero-bubble 5s ease-in-out infinite}.art-orbit{animation:orbit-breathe 6s ease-in-out infinite}}
@keyframes hero-bubble{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes orbit-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}

/* Search */
.search-box{border:1.5px solid #cbdcf4;background:#fff;color:var(--sapphire);box-shadow:0 2px 0 #e0ebf9,0 12px 30px #2f5fd010}
.search-box:focus-within{border-color:var(--ocean);box-shadow:0 0 0 5px #4a86e826,0 12px 30px #2f5fd014}
.search-box input{color:var(--sea-ink)}.search-box input::placeholder{color:#7f92b3}
.search-box kbd{background:var(--foam);border-color:#d3e2f7;color:var(--sapphire)}
.resource-filter-bar{color:var(--sea-muted)}
.resource-filter-bar select,.sort-label select,.catalog-pagination select{border-color:#cfdff4;color:var(--sea-text);background-color:#fff}

/* Result heading */
.results-toolbar h2{color:var(--sea-ink);font-weight:800}
.result-count{background:var(--foam);border-color:#d3e2f7;color:var(--sapphire)}

/* Cards: icon beside the title, chips under it, the action pinned to the bottom */
.software-grid{gap:18px}
.software-card{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto auto auto auto 1fr auto;column-gap:14px;position:relative;overflow:hidden;border:1px solid #d8e5f6;border-radius:22px;background:linear-gradient(180deg,#fff 0,#fff 70%,#fafcff 100%);padding:20px 22px 0;box-shadow:var(--card-shadow)}
.software-card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--cyan),var(--ocean),var(--sapphire));opacity:0;transition:opacity .2s}
.software-card:hover{transform:translateY(-3px);border-color:#b7cff0;box-shadow:0 2px 4px #1d32640d,0 18px 36px #2f5fd01f}
.software-card:hover::before,.software-card:focus-within::before{opacity:1}
.software-card .card-heading{display:contents}
.software-card .software-icon{grid-area:1/1/3/2;align-self:start;width:52px;height:52px;border-radius:16px;font-size:22px}
.software-card h3{grid-area:1/2/2/3;align-self:start;margin:2px 0 7px;font-size:17px;line-height:1.45;color:var(--sea-ink);font-weight:750}
.software-card .card-heading>.resource-categories{grid-area:2/2/3/3;justify-content:flex-start;max-width:none;margin:0 0 12px}.software-card .card-heading>.resource-categories:empty{margin:0}
.software-card .card-description{grid-area:3/1/4/3;color:var(--sea-muted);margin:2px 0 12px;font-size:14px;line-height:1.75}
.software-card>.resource-tags{grid-area:4/1/5/3;margin-bottom:12px}
.software-card>.resource-metadata{grid-area:5/1/6/3}
.software-card>.resource-description{grid-area:6/1/7/3}
.software-card .card-bottom{grid-area:8/1/9/3;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:4px 0 0;padding:12px 0 14px;border-top:1px dashed #d8e5f5;color:var(--sea-muted);font-size:13px}
.software-card .card-bottom>span:first-child{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.software-card .card-bottom>span:first-child::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 3px #7cc8f22e}
.software-card .card-actions{flex-direction:row-reverse;align-items:center;gap:12px;margin-left:auto}
.software-icon{border:2px solid #fff;box-shadow:0 0 0 1px #d9e5f5,0 4px 10px #2f5fd014}
.software-icon.has-image{background:#fff}
.version-button{background:var(--foam);color:var(--sapphire);border:1px solid #d0e0f7;border-radius:999px;padding:7px 14px;font-weight:700;transition:background .16s,color .16s,box-shadow .16s,border-color .16s}
.version-button span{font-size:16px;font-weight:500;transition:transform .2s}
.version-button:hover,.software-card:hover .version-button{background:var(--button-fill);color:#fff;border-color:transparent;box-shadow:0 6px 14px #2f5fd033}
.version-button:hover span{transform:rotate(90deg)}
.resource-view-count{color:var(--sea-soft)}
.resource-category-chip{background:#e9f1fe;border-color:#d0e0f8;color:#2d58bd;border-radius:999px;padding:3px 10px}
.gameplay-chip{background:#e9f7fb;border-color:#cbe9f2;color:#22738a;border-radius:999px;padding:3px 10px}
.extra-tags summary{border-color:#bcd6f0;border-radius:999px;color:var(--sapphire)}
.software-card .resource-metadata{margin:0 0 12px;padding:10px 13px;border:0;border-radius:14px;background:#f2f7fe}
.resource-metadata>div{grid-template-columns:92px minmax(0,1fr)}
.resource-metadata dt{color:#7286a9}.resource-metadata dd{color:var(--sea-ink);font-weight:600}
.resource-description summary{display:inline-flex;align-items:center;gap:6px;list-style:none;color:var(--sapphire);font-weight:700}
.resource-description summary::-webkit-details-marker{display:none}
.resource-description summary::before{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .2s;margin:0 2px}
.resource-description[open] summary::before{transform:rotate(45deg) translate(-2px,-1px)}
.software-card .description-text,#dialog-resource-info .description-text{background:#f4f8fe;color:var(--sea-text);border-radius:14px}
#dialog-resource-info .description-text{padding:14px 16px}

/* Buttons */
.admin-link,.primary-button,.download-link{background:var(--button-fill);border:1px solid #2f5fd0;color:#fff;box-shadow:0 3px 0 #c9dbf5,0 8px 18px #2f5fd024}
.admin-link:hover,.primary-button:hover,.download-link:hover{background:linear-gradient(135deg,#5b95f0,#2a56c2);box-shadow:0 4px 0 #c4d7f3,0 10px 22px #2f5fd030}
.outline-button{border-color:#cbdcf3;color:var(--sapphire);box-shadow:0 2px 0 #e2ecf9}
.outline-button:hover{background:var(--foam);border-color:#b3cdef}

/* Dialogs */
dialog{border:1px solid #d1e1f6;background:linear-gradient(180deg,#eef5ff 0,#fff 150px);box-shadow:0 30px 90px #10265a40,0 0 0 6px #ffffff40;color:var(--sea-text)}
dialog::backdrop{background:#16295a59;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.dialog-top .eyebrow{color:var(--sapphire);font-weight:700}
.close-button{background:#fff;border-color:#d8e5f6;color:var(--sea-muted)}.close-button:hover{background:var(--foam);color:var(--sapphire)}
.dialog-product h2,#help-title,.help-section-title,.help-support strong{color:var(--sea-ink)}
.dialog-product p{color:var(--sea-muted)}
.download-note,.help-support{background:#edf4ff;border-color:#cfe0f7;color:#3a5a92}
.inline-copy{color:var(--sapphire)}
.version-list-heading{color:var(--sea-ink)}
.version-row{border-bottom:1px dashed #d8e5f5;border-radius:12px;padding-left:10px;padding-right:10px;transition:background .15s}
.version-row:hover{background:#f3f8ff}
.code-button{background:#fff;border-color:#d3e2f6;color:var(--sea-muted)}.code-button strong{color:var(--sapphire)}.code-button:hover{border-color:#a9c6ee}
.help-steps li::marker{color:var(--sapphire)}
.help-footnote a{color:var(--sapphire)}

/* Empty state, footer, toast */
.empty-state{border-color:#c6dbf3;background:linear-gradient(180deg,#fff,#f5f9ff)}
.empty-state h3{color:var(--sea-ink)}
.page-footer,.footer-signature{color:var(--sea-soft)}.footer-signature span{color:var(--blush)}
.page-footer .icp-filing{grid-column:1 / -1;justify-self:center;display:inline-flex;align-items:center;min-height:36px;padding:4px 8px;text-align:center;color:var(--sea-muted);font-size:13px;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.page-footer .icp-filing:hover{color:var(--sapphire);text-decoration:underline;text-underline-offset:3px}
.page-footer .icp-filing:focus-visible{outline:2px solid var(--sapphire);outline-offset:3px;border-radius:4px}
.toast{background:var(--sea-ink);border-color:#ffffff40;box-shadow:0 10px 30px #1d326440}
.catalog-pagination{color:var(--sea-muted)}

@media(max-width:800px){
 .sidebar{background:linear-gradient(180deg,#ffffff,#eef5ff);border-bottom:1px solid var(--line-soft)}
 .nav-wrap{background:#f4f9ff;border-color:var(--line-soft);box-shadow:0 18px 30px #2f5fd01c}
 .mobile-menu{background:#fff;border-color:#cbdcf3;color:var(--sapphire);box-shadow:0 2px 0 #dfeaf8}
 .nav-item.active::before{display:none}
}
@media(max-width:520px){
 .software-card{padding:18px 18px 0;grid-template-columns:46px minmax(0,1fr);column-gap:12px}
 .software-card .software-icon{width:46px;height:46px;font-size:20px;border-radius:14px}
 .software-card h3{font-size:17px}
 .intro::before{height:54px;background-size:900px 54px}
 .hero-art::after{box-shadow:-40px 60px 0 -3px #ffffffa0}
}

/* ==========================================================================
   Launch screen — a soft little sticker card for the whale companion
   ========================================================================== */
.splash{display:none}
html.splash-on{overflow:hidden}
html.splash-on .splash{display:flex}
.splash{position:fixed;inset:0;z-index:1000;isolation:isolate;display:none;flex-direction:column;overflow:hidden;padding:25px clamp(22px,4vw,64px) 20px;background:#f1f7ff;color:#416294;transition:opacity .26s ease,visibility .26s;font-family:ui-rounded,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
.splash::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(#b9d4f323 1px,transparent 1px),linear-gradient(90deg,#b9d4f323 1px,transparent 1px),radial-gradient(ellipse at 50% 45%,#fffefa 18%,#f4f9ff 68%,#eaf3ff);background-size:32px 32px,32px 32px,100% 100%}
.splash-header{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;position:relative;z-index:3}
.splash-brand{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.4;font-weight:800}
.splash-brand img{width:42px;height:42px;object-fit:contain;border:2px solid white;border-radius:16px;background:#fff;box-shadow:0 3px 0 #d9e8fa;transform:rotate(-6deg)}
.splash-brand small{display:block;margin-top:3px;color:#849dbc;font-size:10px;font-weight:500;letter-spacing:.09em}
.splash-skip{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:87px;min-height:44px;padding:0 17px;border:2px solid #fff;border-radius:99px;background:#ffffffb8;color:#7d96b7;box-shadow:0 3px 0 #dae7f7;font:inherit;font-size:12px;cursor:pointer}
.splash-skip>span{font-size:18px}.splash-skip:hover{background:#fff;color:#416da5}.splash-skip:focus-visible,.splash-enter:focus-visible{outline:3px solid #83b4ec;outline-offset:5px}
.splash-main{flex:1;min-height:0;display:grid;place-items:center;padding:27px 0 25px;position:relative}
.splash-composition{position:relative;width:min(540px,100%);padding:12px 34px 24px;display:flex;flex-direction:column;align-items:center;background:#fffefb;border:3px solid #fff;border-radius:48px;box-shadow:0 8px 0 #d9e8fa,0 22px 65px #87aed02b,inset 0 0 0 1px #e4edf6;animation:splash-card-pop .45s cubic-bezier(.2,.8,.25,1.12) both}
.splash-composition::after{content:"";position:absolute;inset:11px;border:1px dashed #d8e6f4;border-radius:35px;pointer-events:none}
.splash-tape{position:absolute;top:-11px;width:70px;height:28px;z-index:2;background:repeating-linear-gradient(90deg,#ffe8a8b0 0 9px,#fff0c8b0 9px 18px);border:1px solid #ffffff90;box-shadow:0 1px 3px #bb9f5c0b;pointer-events:none}
.splash-tape-left{left:37px;transform:rotate(-14deg)}.splash-tape-right{right:37px;transform:rotate(13deg);background:repeating-linear-gradient(90deg,#f6d5e6c0 0 9px,#fce8f2c0 9px 18px)}
.splash-art{position:relative;display:grid;place-items:center;width:min(350px,100%);aspect-ratio:1.2;margin-top:2px;z-index:1}
.splash-disc{position:absolute;inset:12% 10% 8%;border-radius:46% 54% 48% 52% / 57% 46% 54% 43%;background:#e9f3ff;transform:rotate(-9deg)}
.splash-disc::before{content:"";position:absolute;inset:10px;border:1px dashed #c7dff9;border-radius:inherit}
.splash-mascot{position:relative;z-index:2;width:104%;height:auto;object-fit:contain;transform:translateY(4px) rotate(-3deg);filter:drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 5px 0 #fff) drop-shadow(0 10px 8px #8daec62c);animation:splash-mascot-in .42s .08s cubic-bezier(.2,.8,.25,1.1) both}
.splash-speech{position:absolute;top:3%;right:-8%;z-index:3;padding:10px 15px;background:#fff1f6;border:2px solid #fff;border-radius:18px 18px 18px 4px;color:#965b7b;box-shadow:0 3px 0 #efdae5;font-size:12px;white-space:nowrap;transform:rotate(8deg)}
.splash-speech b{color:#e492b5;font-size:16px;font-weight:600;margin-left:3px}
.splash-spark{position:absolute;z-index:3;line-height:1;color:#e5acc8;text-shadow:2px 2px 0 #fff;font-weight:400}.splash-spark-a{left:-6%;top:22%;font-size:32px;transform:rotate(-15deg)}.splash-spark-b{right:-4%;bottom:22%;font-size:23px;color:#efce85;transform:rotate(10deg)}
.splash-heart{position:absolute;left:0;bottom:13%;z-index:3;color:#a6c7ee;font-size:27px;transform:rotate(-18deg)}
.splash-copy{position:relative;z-index:1;width:100%;text-align:center;margin-top:4px}
.splash-title{margin:0;color:#426a9f;font-size:34px;line-height:1.4;font-weight:850;letter-spacing:.015em;text-shadow:0 2px 0 #edf4ff}
.splash-title>span:first-child{display:block;font-size:16px;color:#657b97;font-weight:600;letter-spacing:.2em;margin-bottom:5px;text-shadow:none}
.splash-title .splash-title-heart{display:inline-block;color:#dfa1be;font-size:27px;vertical-align:3px;margin-left:6px;transform:rotate(12deg)}
.splash-description{margin:10px 0 0;color:#607795;font-size:12px;line-height:1.7;letter-spacing:.035em}
.splash-enter{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:46px;min-width:222px;margin-top:19px;padding:0 24px;border:2px solid #fff;border-radius:99px;background:#b8d5fa;color:#2e507c;box-shadow:0 4px 0 #83abe0,0 7px 16px #82a9d330;font:inherit;font-size:14px;font-weight:700;letter-spacing:.06em;cursor:pointer;transition:transform .12s,box-shadow .12s}
.splash-enter>span{font-size:20px}.splash-enter:hover{transform:translateY(-2px);box-shadow:0 6px 0 #83abe0,0 9px 16px #82a9d330}.splash-enter:active{transform:translateY(2px);box-shadow:0 2px 0 #83abe0}
.splash-arrival{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;font-size:10px;color:#a1b1c5;line-height:1.5;letter-spacing:.05em}
.splash-dots{display:flex;gap:4px}.splash-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#b8cfea;animation:splash-dot .8s ease-in-out infinite}.splash-dots i:nth-child(2){animation-delay:.12s;background:#d9b6cc}.splash-dots i:nth-child(3){animation-delay:.24s;background:#e4d3a8}
.splash-cloud{position:absolute;width:145px;height:46px;border:3px solid #fff;border-radius:80px;background:#ffffffa3;box-shadow:0 5px 0 #dfeafa77;z-index:-1;transform:rotate(-7deg)}
.splash-cloud::before,.splash-cloud::after{content:"";position:absolute;border-radius:50%;background:#fff;bottom:17px}.splash-cloud::before{width:60px;height:60px;left:22px}.splash-cloud::after{width:45px;height:45px;right:21px}
.splash-cloud-left{left:11%;top:33%;opacity:.85}.splash-cloud-right{right:9%;bottom:24%;width:115px;transform:rotate(8deg);opacity:.7}
.splash-footer{position:relative;z-index:1;flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;color:#96abc5;font-size:10px;letter-spacing:.06em;line-height:1.6}
.splash-footer .icp-filing{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 8px;color:#607795;font-size:13px;letter-spacing:normal;line-height:1.6;text-decoration:none}
.splash-footer .icp-filing:hover{color:#416da5;text-decoration:underline;text-underline-offset:3px}
.splash-footer .icp-filing:focus-visible{outline:2px solid #83b4ec;outline-offset:2px;border-radius:4px}
html.splash-leaving .splash{opacity:0;visibility:hidden;pointer-events:none}
@keyframes splash-card-pop{0%{opacity:0;transform:translateY(12px) scale(.97)}75%{opacity:1;transform:translateY(-2px) scale(1.006)}100%{opacity:1;transform:none}}
@keyframes splash-mascot-in{0%{opacity:0;transform:translateY(14px) rotate(-6deg) scale(.96)}100%{opacity:1;transform:translateY(4px) rotate(-3deg)}}
@keyframes splash-dot{0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-3px)}}
@media(max-width:760px){
 .splash{padding:20px 22px max(18px,env(safe-area-inset-bottom))}.splash-brand{font-size:13px;gap:8px}.splash-brand small{font-size:9px}.splash-brand img{width:38px;height:38px}.splash-skip{min-width:74px;padding:0 13px}
 .splash-main{padding:25px 0 24px}.splash-composition{padding:10px 20px 23px;border-radius:36px}.splash-composition::after{inset:9px;border-radius:25px}
 .splash-art{width:min(280px,100%)}.splash-speech{right:-2%;top:2%;font-size:10px;padding:8px 11px;border-radius:15px 15px 15px 3px}.splash-speech b{font-size:14px}
 .splash-spark-a{left:-1%;font-size:25px}.splash-spark-b{right:0;font-size:20px}.splash-heart{left:2%;font-size:22px}
 .splash-title{font-size:27px}.splash-title>span:first-child{font-size:14px}.splash-title .splash-title-heart{font-size:21px;margin-left:3px}
 .splash-description{font-size:11px;margin-top:8px}.splash-enter{min-width:210px;margin-top:17px;font-size:13px}.splash-arrival{margin-top:14px;font-size:9px}
 .splash-tape{width:54px;height:24px}.splash-tape-left{left:24px}.splash-tape-right{right:24px}.splash-cloud-left{left:-65px;top:25%}.splash-cloud-right{right:-45px;bottom:20%}.splash-footer{font-size:9px}
}
@media(max-width:760px) and (max-height:700px){
 .splash{padding-top:12px;padding-bottom:12px}.splash-main{padding:18px 0}.splash-composition{padding:8px 17px 16px;border-radius:31px}.splash-art{width:min(210px,60vw,36vh)}
 .splash-title{font-size:25px;line-height:1.3}.splash-title>span:first-child{font-size:12px;margin-bottom:4px}.splash-title .splash-title-heart{font-size:19px}
 .splash-description{font-size:10px;margin-top:7px}.splash-enter{min-height:44px;margin-top:13px;min-width:200px}.splash-arrival{margin-top:10px}.splash-speech{font-size:9px;padding:6px 9px;right:-8%}.splash-spark-a{font-size:23px}
}
@media(max-height:500px) and (min-width:600px){
 .splash{padding:12px 24px}.splash-main{padding:16px 0 13px}.splash-composition{width:min(690px,100%);display:grid;grid-template-columns:1fr 1.12fr;align-items:center;padding:14px 25px;gap:14px;border-radius:32px}
 .splash-composition::after{inset:9px;border-radius:22px}.splash-art{width:min(250px,60vh);margin:0;justify-self:center}.splash-speech{font-size:10px;padding:7px 11px;top:0;right:-3%}
 .splash-title{font-size:28px}.splash-title>span:first-child{font-size:13px}.splash-title .splash-title-heart{font-size:22px}.splash-description{font-size:10px;margin-top:8px}.splash-enter{min-height:44px;margin-top:14px;min-width:210px;font-size:12px}.splash-arrival{margin-top:12px}.splash-copy{margin:0}.splash-footer{font-size:9px}
 .splash-tape{width:55px;height:22px}.splash-spark-a{font-size:23px}.splash-spark-b{font-size:18px}.splash-cloud{display:none}
}
@media(prefers-reduced-motion:reduce){.splash{display:none!important}html.splash-on{overflow:auto;animation:none}}

/* Keep resource categories discoverable beside mobile search and tag filters. */
.mobile-category-trigger{display:none}
#mobile-category-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:560px;max-height:82vh;max-height:82dvh;padding:18px 16px max(16px,env(safe-area-inset-bottom));border-radius:26px 26px 0 0;border-bottom:0;overflow:hidden}
#mobile-category-dialog[open]{display:flex;flex-direction:column}
.mobile-category-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.mobile-category-dialog-header h2{margin:0;font-size:20px;color:var(--sea-ink)}
.mobile-category-dialog-header .close-button{width:44px;height:44px;flex-shrink:0}
#mobile-category-hint{margin:3px 0 14px;color:var(--sea-muted);font-size:12px;line-height:1.6;flex-shrink:0}
.mobile-category-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:2px 4px 6px}
.mobile-category-list .category-nav{display:flex;gap:6px}
.mobile-category-list .tree-toggle{width:44px;min-width:44px;height:44px;flex:0 0 44px;color:var(--sea-muted);background:#eaf2ff;border-radius:12px}
.mobile-category-list .tree-toggle:hover{background:#dceaff;color:var(--sapphire)}
.mobile-category-list .nav-tree-row .nav-item{min-height:48px;padding:9px 10px;gap:9px}
.mobile-category-list .category-name{overflow-wrap:anywhere}
@media(max-width:800px){
 .mobile-category-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;margin-top:14px;padding:10px 15px;border:1px solid #cbdcf3;border-radius:18px;background:#fff;color:var(--sea-text);text-align:left;box-shadow:0 2px 0 #e2edfb}
 .category-trigger-label{flex-shrink:0;color:var(--sapphire);font-size:13px;font-weight:700}
 #mobile-category-current{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
 .category-trigger-arrow{flex-shrink:0;font-size:24px;line-height:1;color:var(--sapphire)}
}
