*{box-sizing:border-box}
html,body{margin:0}
body{font-family:'Noto Sans SC',system-ui,-apple-system,'PingFang SC',sans-serif;color:#23262f;background:#f5f6f7;-webkit-font-smoothing:antialiased}
.theme-wrap{max-width:1120px;margin:0 auto;padding:24px 20px 72px}
.theme-top{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.theme-logo{width:44px;height:44px;flex:0 0 auto}
.theme-top h1{margin:0;font-size:clamp(24px,3vw,32px);font-weight:900;letter-spacing:0}
.theme-crumb{margin-top:3px;color:#68707d;font-size:13px;font-weight:600}
.theme-crumb a,.copy a,.related a{color:#167448;font-weight:800;text-decoration:none}
.theme-lead{max-width:900px;margin:16px 0 0;color:#505762;font-size:16px;line-height:1.85;font-weight:500}
.theme-lead b,.copy b{color:#23262f;font-weight:900}
.theme-section{margin-top:38px}
.section-title{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.section-title .tag{padding:5px 10px;border-radius:5px;background:#23262f;color:#fff;font-size:12px;font-weight:900;white-space:nowrap}
.section-title h2{margin:0;font-size:21px;font-weight:900;letter-spacing:0}
.section-note{margin:-8px 0 18px;color:#68707d;font-size:14px;line-height:1.7}
.theme-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(164px,1fr));gap:16px}
.pattern-card{display:flex;min-width:0;flex-direction:column;background:#fff;border:1px solid #dfe3e8;border-radius:8px;color:inherit;text-decoration:none;overflow:hidden;box-shadow:0 2px 8px rgba(35,38,47,.06);transition:transform .15s,box-shadow .15s,border-color .15s}
.pattern-card:hover{transform:translateY(-2px);border-color:#167448;box-shadow:0 6px 16px rgba(35,38,47,.11)}
.pattern-card img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;image-rendering:auto}
.pattern-meta{display:flex;min-height:76px;flex-direction:column;padding:11px 12px 12px;border-top:1px solid #eceff2}
.pattern-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900}
.pattern-action{margin-top:auto;padding-top:7px;color:#167448;font-size:12px;font-weight:900}
.load-wrap{text-align:center;margin-top:20px}
.load-more{min-width:150px;min-height:44px;padding:10px 20px;border:1.5px solid #23262f;border-radius:7px;background:#fff;color:#23262f;font-family:inherit;font-size:14px;font-weight:800;line-height:1;cursor:pointer;box-shadow:3px 3px 0 #23262f}
.load-more:hover{transform:translate(1px,1px);box-shadow:2px 2px 0 #23262f}
.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 30px;max-width:940px}
.copy{font-size:15px;line-height:1.85;color:#505762;font-weight:500}
.copy h3{margin:0 0 7px;color:#23262f;font-size:17px;font-weight:900}
.copy p{margin:0}
.steps{margin:0;padding:0;list-style:none;max-width:920px;counter-reset:steps}
.steps li{position:relative;margin:0 0 14px;padding-left:42px;color:#505762;font-size:15px;line-height:1.8;font-weight:500;counter-increment:steps}
.steps li::before{content:counter(steps);position:absolute;left:0;top:2px;width:27px;height:27px;border-radius:50%;background:#167448;color:#fff;text-align:center;font:900 13px/27px system-ui}
.steps b{color:#23262f;font-weight:900}
.faq{display:flex;flex-direction:column;gap:10px;max-width:940px}
.faq details{background:#fff;border:1px solid #dfe3e8;border-radius:8px;padding:0 16px}
.faq summary{padding:15px 0;cursor:pointer;font-size:15px;font-weight:900}
.faq p{margin:0;padding:0 0 16px;color:#505762;font-size:14px;line-height:1.75}
.theme-cta{margin:42px 0 0;padding:24px 20px;background:#e9f6ef;border:1px solid #afd9c1;border-radius:8px;text-align:center}
.theme-cta h2{margin:0 0 8px;font-size:20px;font-weight:900}
.theme-cta p{margin:0 0 16px;color:#505762;font-size:14px;line-height:1.7}
.theme-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;border:2px solid #23262f;border-radius:7px;background:#167448;color:#fff;text-decoration:none;font-size:15px;font-weight:900;box-shadow:3px 3px 0 #23262f}
.related{margin-top:28px;padding-top:18px;border-top:1px solid #dfe3e8;color:#68707d;font-size:14px;line-height:2}
.related b{color:#23262f}
.theme-empty{display:none;padding:28px;text-align:center;color:#68707d}
@media(max-width:640px){
  .theme-wrap{padding:18px 16px 76px}
  .theme-top{align-items:flex-start}
  .theme-top h1{font-size:24px}
  .theme-lead{font-size:15px;line-height:1.75}
  .theme-section{margin-top:30px}
  .section-title{align-items:flex-start}
  .section-title h2{font-size:19px;line-height:1.35}
  .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pattern-meta{min-height:70px;padding:9px 10px 10px}
  .content-grid{grid-template-columns:1fr;gap:18px}
  .theme-cta{padding:22px 16px}
}
