/* ARCHE V3 · 桌面端技能库专属设计  |  其他页面与数据接口保持原样 */
@media(min-width:801px){
  main.skill-mode{padding:12px 25px 58px;max-width:1760px}
  .skills-v4{width:100%;min-width:0;margin:0 auto;position:relative;padding-bottom:36px}
  .skills-hero{height:238px;display:flex;justify-content:space-between;align-items:stretch;gap:22px;padding:34px 45px 31px;border-radius:21px;overflow:hidden;position:relative;isolation:isolate;color:#fff9ed;box-shadow:0 15px 40px #163c2b29;border:1px solid #ffffff83;
    background:linear-gradient(93deg,rgba(9,39,31,.68) 0%,rgba(22,57,44,.36) 46%,rgba(17,51,39,.08) 100%),var(--scene-image,url('/scenes/landscape-1.webp')) center 49%/cover no-repeat}
  .skills-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#10382e3d,transparent 63%)}
  .skills-hero-copy{align-self:center;min-width:0;text-shadow:0 2px 10px #19342754}
  .skills-hero-eyebrow{font-size:11px;letter-spacing:2.1px;color:#edede1e8;font-weight:600}
  .skills-hero-eyebrow span{margin:0 5px;color:#ded0aa}
  .skills-hero h1{margin:11px 0 10px;color:#fffdf2;font-family:'STSong','Songti SC','Noto Serif SC',Georgia,serif;font-size:39px;letter-spacing:4px;font-weight:500;line-height:1.24}
  .skills-hero-leaf{font-family:Arial,sans-serif;color:#ddc49a;font-size:15px;margin-left:12px;vertical-align:9px;opacity:.9}
  .skills-hero p{font-size:14px;color:#fcf8e8;letter-spacing:1.2px;line-height:1.7;margin:0 0 20px}
  .skills-hero-count{display:inline-flex;gap:13px;align-items:center;background:#143d3480;padding:8px 16px;border:1px solid #edf8e652;border-radius:22px;font-size:11px;letter-spacing:.3px;backdrop-filter:blur(10px)}
  .skills-hero-count b{font-size:15px;margin-right:2px;font-weight:700}.skills-hero-count i{display:block;height:13px;width:1px;background:#fff7}
  .skills-hero-side{align-self:flex-end;text-align:right;min-width:245px;margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-right:5px;padding-bottom:4px;text-shadow:0 2px 10px #122d2566}
  .skills-hero-side>span{font-family:'STSong','Songti SC',serif;font-size:15px;letter-spacing:3px;color:#fff9ec}
  .skills-hero-side-mark{font:italic 31px Georgia,serif;color:#fff1d7;letter-spacing:-2px;margin-top:4px}
  .skills-hero-side small{font-family:Georgia,serif;font-size:8px;letter-spacing:2px;color:#f5f1e1c9}
  .skills-v4-surface{margin:15px 0 0;border-radius:18px;background:#fffaf0eb;border:1px solid #ffffffd6;box-shadow:0 12px 37px #213b2d23;padding:23px 25px 28px;backdrop-filter:blur(20px)}
  .skills-title-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}
  .skills-kicker{font:10px Georgia,serif;color:#759384;letter-spacing:2px}.skills-title-line h2{font-family:'Songti SC','STSong','Noto Serif SC',serif;color:#244332;font-weight:600;letter-spacing:1px;font-size:23px;margin:4px 0 4px}
  .skills-title-line h2 span{font:12px Georgia,serif;color:#9ab0a0;margin-left:6px;vertical-align:2px}.skills-title-line p{font-size:11px;color:#77877c;line-height:1.5;margin:0}
  .skills-main-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.skills-button{height:37px;border-radius:10px;border:1px solid transparent;padding:0 14px;display:inline-flex;align-items:center;gap:7px;justify-content:center;font-size:12px;font-weight:600;transition:background .15s,color .15s,transform .15s;white-space:nowrap}
  .skills-button svg{width:15px;height:15px}.skills-button.pale{background:#fdfdf9;color:#315442;border-color:#d2e0d3}.skills-button.pale:hover{background:#eaf3e8}.skills-button.solid{background:#275b44;color:#fffdf0;box-shadow:0 5px 13px #17402a21}.skills-button.solid:hover{background:#367652;transform:translateY(-1px)}
  .skills-filters{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e4e7dd}
  .skills-tag-scroll{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.skill-filter-tag{border:1px solid #dfe5db;background:#f5f4ed;color:#596c60;font-size:11px;line-height:30px;border-radius:20px;padding:0 12px;white-space:nowrap}.skill-filter-tag span{font-size:9px;color:#98a99e;margin-left:5px}
  .skill-filter-tag:hover{background:#e8f1e8}.skill-filter-tag.selected{color:#f9fff5;background:#2f694f;border-color:#2f694f}.skill-filter-tag.selected span{color:#cfecdb}
  .skill-fav-filter{background:#fff7ec;border:1px solid #f1dec9;border-radius:9px;padding:8px 10px;display:inline-flex;align-items:center;gap:6px;flex-shrink:0;color:#986c54;font-size:11px}.skill-fav-filter svg{width:13px;height:13px}.skill-fav-filter.selected{background:#f8e2d7;border-color:#d5a18b;color:#a44e3d}
  .skills-control-bar{display:flex;align-items:center;gap:9px}.skill-search{display:flex;align-items:center;gap:8px;flex:1;min-width:150px;background:#fffefb;border:1px solid #dce5d8;height:39px;padding:0 12px;border-radius:9px;color:#7f9986}
  .skill-search svg{width:17px;height:17px}.skill-search:focus-within{outline:2px solid #b0ccb5;outline-offset:0}.skill-search input{border:0;background:transparent;outline:none;color:#284535;font-size:12px;width:100%;min-width:100px}.skill-search input::placeholder{color:#9aaca1}
  .skills-control-bar select{height:39px;padding:0 26px 0 12px;max-width:158px;border-radius:9px;background:#f9f9f2;color:#496453;font-size:11px;border:1px solid #dce5d8}
  .skills-control-bar select:focus-visible{outline:2px solid #b4d1b5}.skills-views{display:flex;gap:2px;border:1px solid #e1e7dd;background:#f4f4ec;border-radius:9px;padding:3px}.skills-views button{display:grid;place-items:center;width:32px;height:29px;border-radius:6px;border:0;background:transparent;color:#84978a}
  .skills-views button svg{width:16px;height:16px}.skills-views button.active{color:#265540;background:white;box-shadow:0 1px 4px #274d3c1b}
  .skills-results-line{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 15px;color:#6c806e;font-size:12px;gap:10px}.skills-results-line strong{color:#265a42;font-size:14px}.skills-bulk-actions{display:flex;gap:7px;align-items:center}.skills-bulk-actions .btn{height:30px;font-size:10px;padding:0 10px}.skills-results-note{color:#9ba99e;font-size:11px}.skills-reset{background:none;border:0;color:#337b58;text-decoration:underline;font-size:11px}
  .skill-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
  .skill-collection-card{display:flex;flex-direction:column;position:relative;min-width:0;min-height:355px;border-radius:14px;background:#fffdf8;overflow:hidden;border:1px solid #e5e6dd;cursor:pointer;box-shadow:0 4px 16px #293b2911;transition:transform .18s,box-shadow .18s,border-color .18s}
  .skill-collection-card:hover{transform:translateY(-3px);box-shadow:0 16px 29px #1f38272b;border-color:#ccd7c7}.skill-collection-card:focus-visible,.skill-create-tile:focus-visible{outline:3px solid #81b99c;outline-offset:3px}
  .skill-cover{height:150px;padding:15px 18px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;color:#fff;isolation:isolate;background:linear-gradient(128deg,var(--tone-main) 0%,var(--tone-alt) 95%)}
  .skill-cover:before{content:'';position:absolute;right:-45px;top:-73px;width:243px;height:243px;border:1px solid #ffffff3a;border-radius:50%;box-shadow:0 0 0 34px #ffffff0a,0 0 0 68px #ffffff07;z-index:-1}
  .skill-cover:after{content:'';width:220px;height:180px;position:absolute;bottom:-123px;right:21px;transform:rotate(-32deg);background:linear-gradient(40deg,#fff3,#ffffff00 75%);border-radius:80% 10% 90% 20%;z-index:-1}
  .tone-fern{--tone-main:#1d483d;--tone-alt:#69876c}.tone-iris{--tone-main:#4c4968;--tone-alt:#b29ca0}.tone-sunset{--tone-main:#835f49;--tone-alt:#bc9a77}.tone-lake{--tone-main:#32637a;--tone-alt:#7a9f91}.tone-sand{--tone-main:#746954;--tone-alt:#aba27f}
  .skill-cover-photo:before{background:#102b2370;border:0;border-radius:0;inset:0;right:0;top:0;width:auto;height:auto;box-shadow:none;z-index:-1}.skill-cover-img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.7)}
  .skill-cover-brow{font:10px Georgia,'Microsoft YaHei',sans-serif;letter-spacing:1.2px;color:#f5f9ebc9}.skill-cover-brow span{margin:0 6px}.skill-cover-deco{position:absolute;right:22px;top:19px;color:#ffffffa7}.skill-cover-deco svg{width:35px;height:35px;stroke-width:1.15;opacity:.75}
  .skill-cover-title{font-family:'Songti SC','Microsoft YaHei',serif;font-size:20px;line-height:1.2;font-weight:600;letter-spacing:1px;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill-cover-label{font-size:11px;color:#f7f7ecba;margin-top:auto;margin-bottom:6px}.skill-cover-index{font:9px Georgia,sans-serif;letter-spacing:1.3px;color:#f9faf2bf;margin-top:13px}.skill-cover-index span{opacity:.6}
  .skill-card-info{padding:16px 18px 14px;display:flex;flex-direction:column;flex:1;min-width:0}.skill-card-top{display:flex;justify-content:space-between;align-items:center}.skill-state{display:inline-flex;align-items:center;gap:6px;color:#3b8460;font-size:10px;background:#e6f2e8;border-radius:20px;padding:5px 9px}.skill-state-dot{background:#479e72;width:5px;height:5px;border-radius:50%}.skill-state.state-testing{background:#f8edd4;color:#a47e3f}.skill-state.state-testing .skill-state-dot{background:#c39539}.skill-state.state-draft{background:#e9e8ef;color:#8d7c98}.skill-state.state-draft .skill-state-dot{background:#92839c}
  .skill-like{display:grid;place-items:center;width:30px;height:30px;border:0;background:transparent;color:#a4aea3;border-radius:50%}.skill-like:hover{background:#f5eddf;color:#ba7660}.skill-like svg{width:17px;height:17px}.skill-like.is-liked{color:#e27764}.skill-like.is-liked svg{fill:#e277642a}
  .skill-card-info h3{font-size:15px;font-weight:700;color:#2f4939;line-height:1.45;margin:10px 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill-card-about{font-size:11px;color:#79877b;line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;min-height:36px}
  .skill-card-tags{display:flex;gap:5px;margin:12px 0;min-height:21px;flex-wrap:wrap;align-content:flex-start}.skill-card-tags span{font-size:9px;border-radius:5px;background:#f1f0e7;padding:4px 7px;color:#728575;max-width:120px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
  .skill-card-bottom{border-top:1px solid #ebeee6;padding-top:11px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:#98a49a}.skill-card-bottom>span{display:flex;gap:5px;align-items:center}.skill-card-bottom svg{height:12px;width:12px}.skill-card-open{color:#376b4d;font-weight:600}
  .skill-create-tile{min-height:355px;border:1.5px dashed #bbd1bb;background:#f5f7eea8;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;color:#285c44;padding:26px;transition:background .2s,transform .2s}.skill-create-tile:hover{background:#fffdf7d8;transform:translateY(-2px)}
  .skill-create-icon{width:60px;height:60px;border-radius:50%;border:1px solid #c2d8c3;background:#e9f3e6;display:grid;place-items:center}.skill-create-icon svg{height:26px;width:26px}.skill-create-tile strong{font-size:15px;color:#2f5b45}.skill-create-tile>span:not(.skill-create-icon){font-size:11px;color:#849a8a;line-height:1.7}.skill-create-tile em{font-style:normal;color:#397356;font-size:11px;display:flex;align-items:center;gap:6px}.skill-create-tile em svg{height:13px;width:13px}
  .skills-list-view .asset-list{background:#fffef9b8;border-color:#e2e6df}.skills-list-view .asset-row{min-height:74px}.skills-list-view .thumb-small{width:50px;height:48px;border-radius:10px}.skills-list-view .row-title{font-size:13px}.skills-list-view .row-meta{font-size:11px}
  .skills-zero{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:1px dashed #c5d5c5;background:#f8faf5b0;border-radius:13px;padding:30px}.skills-zero-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:#e7efe3;color:#326848;margin-bottom:15px}.skills-zero-icon svg{width:29px;height:29px}.skills-zero h3{font:600 20px 'Songti SC','Microsoft YaHei',serif;color:#315c43;margin:0 0 8px}.skills-zero p{font-size:12px;color:#7e9181;margin:0 0 20px}
  .skills-footnote{padding:15px 7px;color:#54765b;text-shadow:0 2px 13px #fff;display:flex;align-items:center;gap:8px;font-size:11px}.skills-footnote>svg{width:13px;height:13px;color:#cb8d74}.skills-footnote span{margin-left:auto;font:9px Georgia,serif;letter-spacing:1.4px;color:#6b8b74}
  .skills-v4 .text-link{color:#387557}
}
@media(min-width:801px) and (max-width:1420px){
  main.skill-mode{padding:8px 18px 50px}
  .skills-hero{height:223px;padding:30px 34px}
  .skills-v4-surface{padding:21px 19px}
  .skills-control-bar{flex-wrap:wrap}.skill-search{flex-basis:37%}
  .skills-control-bar select{max-width:143px}
  .skill-card-grid{gap:12px}
}
@media(min-width:801px) and (max-width:1160px){
  .skill-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .skills-hero-side{display:none}
  .skills-tag-scroll{gap:5px}
  .skills-control-bar .skill-search{flex-basis:100%}
}
/* Preserve a visibly scenic desktop workspace even when the library is small. */
@media(min-width:801px){
  .workspace:has(main.skill-mode)::after{background:linear-gradient(to bottom,#ffffff00 0%,#f4efe52e 62%,#efeee3a6 100%)}
  .skills-hero{background-image:linear-gradient(90deg,#14372db8 0%,#1b453e47 48%,#1c4b350c 100%),var(--scene-image,url('/scenes/landscape-1.webp'));background-position:center,center 48%;background-size:cover,cover;background-repeat:no-repeat,no-repeat}
  .skills-v4-surface{background:#fffaf0df}
}
