/* Gallery-only layout. Shared tools, account screens and billing stay untouched. */
body[data-page="skills"] #skills .released-note {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 18px;
  border-color:rgba(74,205,210,.18);
  border-radius:10px;
  background:linear-gradient(100deg,rgba(10,75,81,.23),rgba(17,22,30,.65));
  box-shadow:none;
}
body[data-page="skills"] #skills .released-note span {
  font:500 13px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
  letter-spacing:.02em;
  color:#9ebec6;
}
body[data-page="skills"] #skills .released-note a {color:#5fcdd2;font-size:12px;white-space:nowrap;text-decoration:none;}
body[data-page="skills"] #skills .skill-tabs {gap:8px;margin:20px 0 24px;}
body[data-page="skills"] #skills .skill-filter {min-height:36px;padding:0 14px;font-size:13px;border-radius:7px;box-shadow:none;}
body[data-page="skills"] #skills .skill-filter.active {background:rgba(0,229,236,.13);border-color:rgba(0,229,236,.45);color:#62e3e8;}
body[data-page="skills"] #skills .skill-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch;}
body[data-page="skills"] #skills .skill-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:300px;
  padding:24px;
  border:1px solid rgba(150,177,199,.16);
  border-radius:12px;
  background:linear-gradient(155deg,#111820,#0b1016 75%);
  box-shadow:0 4px 18px rgba(0,0,0,.13);
  overflow:visible;
}
body[data-page="skills"] #skills .skill-card::before {display:none;}
body[data-page="skills"] #skills .skill-card:hover {border-color:rgba(67,201,206,.42);box-shadow:0 8px 24px rgba(0,0,0,.18);}
body[data-page="skills"] #skills .skill-card-head {display:flex;flex-wrap:nowrap;gap:10px;min-height:32px;}
body[data-page="skills"] #skills .skill-card-mark {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:8px;background:rgba(38,190,200,.11);border:1px solid rgba(71,198,208,.2);color:#67d7dd;font:600 14px/1 sans-serif;}
body[data-page="skills"] #skills .skill-card-kind {color:#899ba9;font-size:12px;font-weight:400;letter-spacing:.03em;}
body[data-page="skills"] #skills .skill-card-ready {margin-left:auto;color:#93ada7;font-size:11px;white-space:nowrap;}
body[data-page="skills"] #skills .skill-card-ready::before {content:"";display:inline-block;width:5px;height:5px;margin:0 6px 1px 0;border-radius:50%;background:#63b99d;}
body[data-page="skills"] #skills .skill-card h3 {font-size:20px;font-weight:650;line-height:1.4;margin:17px 0 10px;color:#e7eff5;letter-spacing:0;}
body[data-page="skills"] #skills .skill-card-description {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:72px;max-height:72px;margin:0 0 18px;color:#93a2b0;font-size:14px;line-height:24px;overflow:hidden;overflow-wrap:anywhere;}
body[data-page="skills"] #skills .skill-capabilities {display:flex;gap:6px;flex-wrap:wrap;min-height:25px;margin:0 0 22px;}
body[data-page="skills"] #skills .skill-tag {min-height:23px;padding:3px 8px;border:1px solid rgba(146,170,190,.12);border-radius:5px;background:rgba(121,147,168,.055);color:#9aafbe;font-size:11px;font-weight:400;line-height:1.4;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
body[data-page="skills"] #skills .skill-footer {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.9fr);gap:8px;margin:0;margin-top:auto;padding-top:18px;border-top:1px solid rgba(145,170,190,.1);}
body[data-page="skills"] #skills .tool-action {min-width:0;min-height:35px;border-radius:6px;padding:0 7px;font-size:11px;font-weight:500;gap:0;box-shadow:none;line-height:1.3;}
body[data-page="skills"] #skills .tool-action::before {display:none;}
body[data-page="skills"] #skills .tool-action.debug {border-color:rgba(38,198,208,.4);background:#1babb6;color:#041b22;}
body[data-page="skills"] #skills .tool-action.output {border-color:rgba(137,165,189,.2);background:rgba(35,55,74,.2);color:#c0cfdb;}
body[data-page="skills"] #skills .tool-action:hover {transform:none;background:#22bac4;}
body[data-page="skills"] #skills .tool-action.output:hover {background:rgba(54,91,118,.28);color:#e5f3ff;}
@media(max-width:1080px){body[data-page="skills"] #skills .skill-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){body[data-page="skills"] #skills .skill-grid{grid-template-columns:minmax(0,1fr);gap:16px;}body[data-page="skills"] #skills .skill-card{padding:22px;min-height:290px;}body[data-page="skills"] #skills .released-note{padding:13px 15px;align-items:flex-start;gap:7px;flex-direction:column;}body[data-page="skills"] #skills .skill-filter{font-size:12px;padding:0 11px;}body[data-page="skills"] #skills .skill-card h3{font-size:20px;}body[data-page="skills"] #skills .tool-action{font-size:11px;}}
@media(prefers-reduced-motion:reduce){body[data-page="skills"] #skills .skill-card{transition:none;}}
