/* Archive summary joins the existing homepage; the six top-level entries remain compact. */
.home-projects { grid-column: 1 / -1; min-height: 0; --module-accent:#8a7655; }
.home-projects .home-module-mark { background:#f2ecdf; border-color:#e6ddcb; }
.home-project-body { display:grid; grid-template-columns:minmax(160px,.8fr) minmax(0,2.6fr); gap:30px; padding:4px 0 20px; }
.home-project-intro > p { margin:8px 0 20px; color:#7f725d; font:500 17px/1.9 Georgia,"Microsoft YaHei",serif; }
.home-project-count { display:flex; gap:12px; align-items:center; }
.home-project-count > strong { font:500 38px/1 Georgia,serif; color:#6b7e57; }
.home-project-count > span { color:#83765e; font-size:11px; line-height:1.9; }
.home-project-count small { display:block; color:#a29278; font-size:10px; }
.home-project-list { margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.home-project-list li { min-width:0; }
.home-project-list button { display:flex; flex-direction:column; width:100%; height:100%; min-height:165px; padding:16px; text-align:left; border:1px solid #e5dfd2; border-radius:11px; background:#faf9f2; }
.home-project-list button:hover { background:#f0f3e8; border-color:#bdc9ac; }
.home-project-category { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; font-size:9px; color:#9b8b71; }
.home-project-category > span { color:#708260; }
.home-project-list strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; font-size:12px; font-weight:500; line-height:1.8; margin:12px 0 7px; color:#5c513e; }
.home-project-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; color:#97866e; font-size:10px; line-height:1.8; }
.home-project-date { display:flex; justify-content:space-between; gap:12px; margin-top:auto; padding-top:14px; font-size:9px; color:#9c8b70; }
.home-project-date .home-icon { width:13px; height:13px; color:#80916c; }
.home-project-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px 15px 16px; text-align:center; background:#f8f8f0; border:1px dashed #d9dfcc; border-radius:12px; }
.home-project-empty .home-empty-mark { margin-bottom:8px; width:36px; height:36px; font-size:23px; }
.home-project-empty h3 { margin:0 0 6px; color:#72674f; font-size:13px; font-weight:500; }
.home-project-empty p { margin:0; color:#96876d; font-size:11px; line-height:1.9; }
.home-project-empty .home-empty-action { margin-top:12px; }
@media(min-width:761px) {
  [data-theme=hirono] .topbar .app-tabs { position:static; transform:none; margin:0 auto; flex-shrink:0; max-width:none; }
}
@media(min-width:761px) and (max-width:1100px) {
  [data-theme=hirono] .topbar .app-tab { min-width:63px; padding:7px 7px; gap:4px; }
  [data-theme=hirono] .topbar .app-tabs { gap:2px; }
  .home-project-body { grid-template-columns:minmax(150px,.7fr) minmax(0,2fr); gap:20px; }
  .home-project-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-project-list li:last-child:nth-child(3) { grid-column:1/-1; }
}
@media(max-width:820px) {
  .home-project-body { grid-template-columns:minmax(0,1fr); gap:18px; }
  .home-project-intro { display:flex; gap:20px; justify-content:space-between; align-items:center; }
  .home-project-intro > p { margin:0; font-size:15px; }
}
@media(max-width:760px) {
  [data-theme=hirono] .topbar .app-tabs { overflow-x:auto; scrollbar-width:none; max-width:100%; }
  [data-theme=hirono] .topbar .app-tab { flex:1 0 auto; min-width:55px; padding:4px 7px; gap:3px; font-size:10px!important; }
  [data-theme=hirono] .topbar .nav-character { width:21px; height:28px; }
  .home-project-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .home-project-list li:last-child:nth-child(3) { grid-column:1/-1; }
  .home-project-count > strong { font-size:30px; }
  .home-project-intro { gap:12px; }
}
@media(max-width:400px) {
  .home-project-list { grid-template-columns:minmax(0,1fr); }
  .home-project-list li:last-child:nth-child(3) { grid-column:auto; }
  .home-project-intro > p { font-size:13px; }
}
@media(max-width:760px) {
  :root { --app-bar-base:106px; --app-header-height:calc(var(--app-bar-base) + var(--app-safe-top)); }
  [data-theme=hirono] .topbar { grid-template-rows:44px 50px; }
  [data-theme=hirono] .topbar .app-tabs { overflow:visible; }
  [data-theme=hirono] .topbar .app-tab { flex:1 1 0; min-width:0; flex-direction:column; justify-content:center; gap:1px; padding:2px 1px; font-size:9px!important; line-height:12px; }
  [data-theme=hirono] .topbar .nav-character { width:20px; height:23px; }
}
