.showcase {
  --ink: #1c302b;
  --muted: #63706a;
  --paper: #f7f8f2;
  --line: #dee4da;
  --accent: #1c302b;
  --lime: #d6ef88;
  --surface: #ffffff;
  --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
.showcase * { box-sizing: border-box; }
.showcase [hidden] { display: none !important; }
.showcase > .wrap { max-width: 1440px; padding: 0 64px; }
.showcase a { text-decoration: none; }
.showcase a, .showcase button, .showcase summary { -webkit-tap-highlight-color: transparent; }
.showcase button, .showcase input { font: inherit; }
.showcase button { cursor: pointer; }
.showcase :is(a, button, input, select, summary):focus-visible { outline: 3px solid #5a7822; outline-offset: 5px; }
.showcase svg { display: block; width: 20px; height: 20px; flex: none; }
.showcase .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.showcase .masthead { display: grid; grid-template-columns: 1fr auto 1fr; padding: 23px 0; gap: 32px; align-items: center; border-bottom: 1px solid var(--line); }
.showcase .brand { display: flex; width: fit-content; align-items: center; gap: 12px; }
.showcase .brand-mark { width: 44px; height: 44px; padding: 10px; background: var(--lime); border-radius: 11px; color: var(--ink); }
.showcase .brand b { font-size: 23px; letter-spacing: -.03em; line-height: 1.3; font-weight: 700; }
.showcase .brand small { display: block; margin-top: 3px; font: 9px/1.2 "DejaVu Sans Mono", monospace; letter-spacing: .14em; }
.showcase .site-nav { display: flex; align-items: center; gap: 30px; }
.showcase .site-nav a { display: flex; gap: 7px; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); transition: color 180ms; }
.showcase .site-nav a[aria-current] { color: var(--ink); }
.showcase .site-nav a[aria-current]::before { content: ""; width: 5px; height: 5px; margin-right: 1px; border-radius: 50%; background: var(--ink); }
.showcase .site-nav svg { width: 15px; height: 15px; transition: transform 180ms var(--ease); }
.showcase .site-nav a:hover { color: var(--ink); }
.showcase .site-nav a:hover svg { transform: translate(2px, -2px); }
.showcase .header-contact { justify-self: end; color: var(--muted); font-size: 12px; line-height: 1.9; }
.showcase .header-contact a { color: var(--ink); text-decoration: underline; text-decoration-color: #bcc7b9; text-underline-offset: 4px; }

.showcase .showcase-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; padding: 26px 0; align-items: end; }
.showcase .hero-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.showcase .hero-kicker span { width: 8px; height: 8px; border-radius: 50%; background: #91af45; box-shadow: 0 0 0 5px #edf2e2; }
.showcase h1 { margin: 0; font-family: "Noto Serif CJK SC", "Songti SC", serif; font-size: clamp(40px, 3.75vw, 56px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.showcase h1 em { font-style: normal; background: linear-gradient(transparent 76%, var(--lime) 76%, var(--lime) 90%, transparent 90%); }
.showcase .hero-compact, .showcase .mobile-category { display: none; }
.showcase .hero-heading { animation: hero-in 650ms var(--ease) both; }
.showcase .hero-aside { padding-bottom: 5px; max-width: 355px; animation: hero-in 650ms 100ms var(--ease) both; }
.showcase .collection-index { margin: 0 0 18px; font: 13px/1.5 "DejaVu Sans Mono", monospace; }
.showcase .collection-index span { color: var(--muted); font-size: 10px; margin-left: 12px; letter-spacing: .03em; }
.showcase .hero-description { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.showcase .hero-browse { display: inline-flex; align-items: center; gap: 30px; min-height: 44px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.showcase .hero-browse span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #bcc8b6; border-radius: 50%; transition: background 200ms, transform 200ms; }
.showcase .hero-browse svg { width: 14px; height: 14px; transform: rotate(90deg); }
.showcase .hero-browse:hover span { background: var(--lime); transform: translateY(2px); }

.showcase .library { padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.showcase .library-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 10px; }
.showcase .section-label { margin: 0 0 6px; font: 10px/1.5 "DejaVu Sans Mono", monospace; letter-spacing: .14em; color: var(--muted); }
.showcase .library h2 { display: flex; align-items: baseline; gap: 18px; margin: 0; font-size: 25px; font-weight: 650; line-height: 1.5; }
.showcase .library h2 span { font-size: 13px; font-weight: 400; color: var(--muted); }
.showcase .case-search { display: flex; align-items: center; gap: 12px; width: 285px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); transition: border-color 180ms, box-shadow 180ms; }
.showcase .case-search:focus-within { border-color: #637e36; box-shadow: 0 0 0 3px #d6ef8840; }
.showcase .case-search svg { width: 18px; height: 18px; }
.showcase .case-search input { min-width: 0; width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; outline: none; }
.showcase .case-search input::placeholder { color: #647168; opacity: 1; }
.showcase .library-tools { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 12px; background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.showcase .case-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.showcase .case-filters button { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #58665e; font-size: 13px; transition: background 180ms, color 180ms, border-color 180ms; }
.showcase .case-filters button span { font: 10px/1.4 "DejaVu Sans Mono", monospace; opacity: .65; }
.showcase .case-filters button:hover { background: #e8eddf; color: var(--ink); }
.showcase .case-filters button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.showcase .result-line { display: flex; align-items: center; gap: 16px; min-height: 44px; padding-top: 0; flex: none; color: var(--muted); font-size: 12px; }
.showcase .result-line p { margin: 0; }
.showcase .result-line button { min-height: 44px; padding: 3px 0; border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }

.showcase .case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.showcase .case-grid:has(.case-details[open]) { align-items: start; }
.showcase .case-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e0e5d9; border-radius: 14px; background: var(--surface); box-shadow: 0 2px 3px #1c302b03; scroll-margin-top: 155px; transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms; }
.showcase .case-card.is-pending { opacity: 0; transform: translateY(18px); }
.showcase .case-card.is-visible { opacity: 1; transform: translateY(0); transition: opacity 500ms var(--ease), transform 500ms var(--ease), box-shadow 250ms, border-color 250ms; }
.showcase .case-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.showcase .case-link:hover { color: var(--ink); }
.showcase .case-link:focus-visible { outline-offset: -3px; }
.showcase .case-cover { position: relative; padding: 19px 18px 0; aspect-ratio: 1.85; overflow: hidden; background: color-mix(in srgb, var(--case-accent) 8%, var(--cover)); border-bottom: 1px solid #e7ebdf; }
.showcase .browser-frame { width: 100%; height: 100%; overflow: hidden; border: 1px solid #192f2920; border-bottom: 0; border-radius: 7px 7px 0 0; background: white; box-shadow: 0 6px 20px #22352c0f; transition: transform 450ms var(--ease); }
.showcase .browser-bar { height: 21px; display: flex; align-items: center; gap: 4px; padding: 0 9px; background: #fff; border-bottom: 1px solid #e8ece7; }
.showcase .browser-bar i { width: 4px; height: 4px; background: #c3ccc2; border-radius: 50%; }
.showcase .browser-bar span { margin-left: auto; color: #788575; font: 7px/1 "DejaVu Sans Mono", monospace; letter-spacing: .14em; }
.showcase .case-cover img { display: block; width: 100%; height: calc(100% - 21px); object-fit: cover; object-position: top; }
.showcase .cover-open { position: absolute; display: flex; align-items: center; gap: 12px; bottom: 14px; right: 14px; padding: 8px 11px; border: 1px solid #ffffff6b; border-radius: 6px; background: var(--ink); color: white; font-size: 11px; opacity: 0; transform: translateY(6px); transition: opacity 200ms, transform 200ms; pointer-events: none; }
.showcase .cover-open svg { width: 12px; height: 12px; }
.showcase .case-caption { padding: 16px 22px 0; }
.showcase .case-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; margin-bottom: 8px; color: #66736b; font-size: 11px; }
.showcase .category-label { display: flex; align-items: center; gap: 6px; }
.showcase .category-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--case-accent); }
.showcase .example-label { font-size: 10px; color: #785920; }
.showcase .case-caption h3 { margin: 0; font-size: 18px; line-height: 1.65; font-weight: 650; letter-spacing: -.025em; }
.showcase .case-intro { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.showcase .case-actions { display: flex; align-items: center; gap: 14px; padding: 8px 22px 12px; }
.showcase .case-demo { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 1; min-height: 44px; font-size: 13px; font-weight: 600; }
.showcase .demo-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dbe3d3; border-radius: 50%; transition: background 200ms, border-color 200ms; }
.showcase .demo-arrow svg { width: 13px; height: 13px; transition: transform 200ms; }
.showcase .case-download { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 11px; }
.showcase .case-details { border-top: 1px solid #e9ede5; margin: 0 22px; padding: 0; font-size: 14px; line-height: 1.85; color: #42534a; }
.showcase .case-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; cursor: pointer; list-style: none; font-size: 11px; font-weight: 400; color: #637168; }
.showcase .case-details summary::-webkit-details-marker { display: none; }
.showcase .detail-plus { display: block; flex: none; position: relative; width: 12px; height: 12px; }
.showcase .detail-plus::before, .showcase .detail-plus::after { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 1px; background: currentColor; transition: transform 180ms; }
.showcase .detail-plus::after { transform: rotate(90deg); }
.showcase .case-details[open] .detail-plus::after { transform: rotate(0); }
.showcase .case-details[open] { padding-bottom: 16px; }
.showcase .case-details[open] > :not(summary) { animation: detail-in 200ms var(--ease); }
.showcase .case-details p { margin: 10px 0; }
.showcase .case-details .source { font-size: 14px; }
.showcase .case-details ul { margin: 10px 0 0; padding-left: 19px; }
.showcase .case-details li { margin-bottom: 9px; }
.showcase .no-results { text-align: center; padding: 64px 24px 90px; border: 1px dashed #cbd6c1; border-radius: 14px; background: #fcfdf8; }
.showcase .empty-mark { display: inline-block; margin-bottom: 8px; color: #94a185; font-size: 38px; }
.showcase .no-results h3 { font-size: 22px; margin-bottom: 8px; }
.showcase .no-results p { color: var(--muted); }
.showcase .no-results button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 7px; background: var(--ink); color: white; font-size: 14px; }

.showcase .contact-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 70px; margin-top: 80px; padding: 48px 52px; overflow: hidden; border-radius: 16px; background: var(--ink); color: #f7f8ed; scroll-margin-top: 30px; }
.showcase .contact-panel::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border: 1px solid #b7d88716; border-radius: 50%; left: 33%; top: -70%; box-shadow: 0 0 0 38px #b7d88705, 0 0 0 76px #b7d88704; pointer-events: none; }
.showcase .contact-panel .section-label { color: var(--lime); margin-bottom: 20px; }
.showcase .contact-panel h2 { margin: 0 0 16px; font: 500 35px/1.5 "Noto Serif CJK SC", "Songti SC", serif; letter-spacing: -.02em; }
.showcase .contact-panel p:last-child { margin: 0; color: #bac8ba; font-size: 13px; }
.showcase .contact-methods { display: grid; min-width: 0; }
.showcase .contact-method { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 95px; padding: 20px 0; border-bottom: 1px solid #87998455; color: white; }
.showcase .contact-method:last-child { border: 0; }
.showcase .contact-method small { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 400; color: #b7c6b9; }
.showcase .contact-method strong { font-family: "Noto Sans CJK SC", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: .01em; user-select: text; }
.showcase a.contact-method:hover { color: var(--lime); }
.showcase .contact-method svg { width: 24px; height: 24px; transition: transform 200ms; }
.showcase a.contact-method:hover svg { transform: translate(3px, -3px); }
.showcase .wechat-label { padding: 4px 8px; border: 1px solid #b7c6b955; border-radius: 4px; font-size: 11px; color: #c4d2be; }
.showcase .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0; padding: 30px 0; border: 0; color: var(--muted); font-size: 11px; }
.showcase .site-footer a { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.showcase .site-footer svg { width: 13px; height: 13px; }
.showcase .footer-dot { margin: 0 9px; color: #b0b9ad; }
.showcase > .demo-contact { display: none; }

@media(hover:hover) {
  .showcase .case-card:hover { transform: translateY(-4px); border-color: #c4d1b6; box-shadow: 0 14px 36px #263d2810; }
  .showcase .case-link:hover .browser-frame { transform: translateY(-3px) scale(1.015); }
  .showcase .case-link:hover .cover-open { opacity: 1; transform: translateY(0); }
  .showcase .case-card:hover .demo-arrow { background: var(--lime); border-color: var(--lime); }
  .showcase .case-demo:hover svg { transform: translate(2px,-2px); }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes detail-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:1180px) {
  .showcase > .wrap { padding: 0 36px; }
  .showcase .showcase-hero { gap: 36px; grid-template-columns: 1.7fr 1fr; }
  .showcase h1 { font-size: 48px; }
  .showcase .case-grid { gap: 22px; }
  .showcase .case-caption { padding: 19px 18px 0; }
  .showcase .case-caption h3 { font-size: 17px; }
  .showcase .case-actions { padding: 8px 18px 12px; }
  .showcase .case-details { margin: 0 18px; }
  .showcase .contact-panel { padding: 40px; gap: 40px; }
}
@media(min-width:961px) and (max-height:820px) {
  .showcase .hero-kicker { display: none; }
  .showcase .showcase-hero { padding: 20px 0; }
  .showcase h1 { font-size: 44px; }
  .showcase .collection-index { display: none; }
  .showcase .hero-browse { margin-top: 10px; }
  .showcase .hero-description { font-size: 14px; line-height: 1.75; }
}
@media(max-width:960px) {
  .showcase .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .showcase .site-nav { gap: 18px; }
  .showcase .masthead { gap: 22px; }
  .showcase .header-contact { font-size: 11px; }
  .showcase .showcase-hero { gap: 28px; grid-template-columns: 1.5fr 1fr; }
  .showcase h1 { font-size: 40px; }
  .showcase .hero-description { font-size: 13px; }
  .showcase .collection-index span { display: block; margin: 5px 0 0; }
  .showcase .contact-panel { gap: 30px; }
  .showcase .contact-panel h2 { font-size: 29px; }
  .showcase .contact-method strong { font-size: 18px; }
}
@media(max-width:720px) {
  .showcase > .wrap { padding: 0 20px; }
  .showcase .masthead { grid-template-columns: 1fr auto; padding: 18px 0; gap: 16px; }
  .showcase .brand-mark { width: 38px; height: 38px; border-radius: 9px; padding: 8px; }
  .showcase .brand { gap: 9px; }
  .showcase .brand b { font-size: 21px; }
  .showcase .brand small { font-size: 8px; }
  .showcase .site-nav { display: none; }
  .showcase .header-contact { font-size: 11px; }
  .showcase .showcase-hero { display: block; padding: 14px 0; }
  .showcase .hero-kicker { font-size: 11px; margin-bottom: 10px; }
  .showcase h1 { font-size: clamp(32px,6.1vw,43px); line-height: 1.42; }
  .showcase .hero-wide { display: none; }
  .showcase .hero-compact { display: inline; }
  .showcase .hero-aside { max-width: 100%; margin-top: 10px; padding: 0; }
  .showcase .collection-index { display: none; }
  .showcase .hero-description { font-size: 13px; line-height: 1.85; max-width: 400px; }
  .showcase .hero-description br { display: none; }
  .showcase .hero-browse { display: none; }
  .showcase .library { padding-top: 14px; }
  .showcase .library-heading { display: grid; grid-template-columns: minmax(0,1fr) 128px; gap: 14px 10px; margin-bottom: 8px; }
  .showcase .library-heading > div { grid-column: 1/-1; }
  .showcase .library-heading .section-label { display: none; }
  .showcase .library h2 { font-size: 23px; gap: 14px; }
  .showcase .library h2 span { font-size: 12px; }
  .showcase .section-label { font-size: 9px; }
  .showcase .case-search { width: 100%; padding: 0 10px; gap: 8px; border-radius: 8px; }
  .showcase .case-search input { font-size: 16px; }
  .showcase .mobile-category { display: block; }
  .showcase .mobile-category select { display: block; width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: 14px/1.5 "Noto Sans CJK SC",sans-serif; }
  .showcase .library-tools { position: static; padding: 0; margin-bottom: 16px; }
  .showcase .case-filters { display: none; }
  .showcase .case-filters button { padding: 8px 10px; gap: 6px; font-size: 12px; }
  .showcase .case-filters button span { font-size: 9px; }
  .showcase .result-line { padding-top: 0; font-size: 11px; }
  .showcase .case-grid { gap: 24px; }
  .showcase .contact-panel { display: block; padding: 30px 24px 16px; margin-top: 48px; border-radius: 12px; }
  .showcase .contact-panel h2 { font-size: 29px; }
  .showcase .contact-panel .section-label { margin-bottom: 14px; }
  .showcase .contact-methods { margin-top: 20px; }
  .showcase .contact-method { min-height: 90px; }
  .showcase .contact-method strong { font-size: 18px; overflow-wrap: anywhere; }
  .showcase .site-footer { padding: 18px 0; font-size: 10px; gap: 12px; }
  .showcase .footer-dot { margin: 0 5px; }
}
@media(max-width:580px) {
  .showcase .case-grid { grid-template-columns: 1fr; }
  .showcase .case-cover { aspect-ratio: 1.85; padding: 18px 16px 0; }
  .showcase .case-caption { padding: 16px 20px 0; }
  .showcase .case-caption h3 { font-size: 19px; }
  .showcase .case-intro { font-size: 14px; }
  .showcase .case-meta { font-size: 12px; }
  .showcase .case-actions { padding: 8px 20px 12px; }
  .showcase .case-demo { font-size: 14px; }
  .showcase .case-details { margin: 0 20px; }
  .showcase .case-details summary { font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .showcase *, .showcase *::before, .showcase *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .showcase .case-card.is-pending { opacity: 1; transform: none; }
  .showcase .case-card:hover, .showcase .case-link:hover .browser-frame { transform: none; }
}
@media print {
  .showcase .library-tools, .showcase .case-search, .showcase .site-nav { display: none; }
  .showcase .case-card { break-inside: avoid; box-shadow: none; opacity: 1 !important; transform: none !important; }
  .showcase .contact-panel { color: black; border: 1px solid black; }
}
