/* PIXOAS Journal — home-only editorial system. Shared article styles stay isolated. */
.hub-home { --bg:#fafbf9; --surface:#fff; --surface-alt:#f1f4f1; --border:#e0e7e1; --border-soft:#e7ece7; --ink:#18251e; --ink-soft:#657168; --ink-faint:#738077; --primary:#14865c; --primary-dark:#08764e; --primary-soft:#e6f4eb; --container:1200px; background:var(--bg); }
[data-theme="dark"] .hub-home { --bg:#101713; --surface:#18221c; --surface-alt:#202d24; --border:#344239; --border-soft:#2a372f; --ink:#eaf2ec; --ink-soft:#a8b7ad; --ink-faint:#95a79b; --primary:#72dfab; --primary-dark:#72dfab; --primary-soft:#223e2e; }
.hub-home .site-header,.hub-home .site-header.is-scrolled { background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; border-bottom:1px solid var(--border); }
.hub-home .header-top { max-width:var(--container); height:76px; padding:0 28px; gap:32px; }
.hub-home .header-logo { height:26px; max-width:none; }
.masthead-links { display:flex; gap:28px; margin-right:auto; margin-left:24px; font-size:13px; font-weight:650; color:var(--ink-soft); }
.masthead-links a:hover { color:var(--primary-dark); }
.hub-home .header-utils { gap:5px; }
.hub-home .util-btn { width:40px; height:40px; }
.hub-home .tool-launcher-button { background:var(--ink); color:var(--bg); border-radius:9px; font-size:13px; min-height:40px; padding:0 15px; margin-right:9px; }
.launcher-glyph { font-size:23px; line-height:1; font-weight:400; }
.hub-home .feed { max-width:1200px; padding:0 28px 20px; scroll-margin-top:96px; }
.hub-home .feed-head { margin-bottom:19px; align-items:center; }
.hub-home .feed-title { font-size:22px; line-height:1.4; margin-top:6px; letter-spacing:-.045em; font-weight:720; }
.title-dot { color:var(--primary); }
.shuffle-button { font-size:12px; color:var(--ink-soft); display:flex; align-items:center; gap:7px; min-height:44px; }
.shuffle-button span { font-size:23px; }.shuffle-button:hover { color:var(--primary-dark); }
.hub-home .feed-controls { flex-wrap:nowrap; gap:16px; border-bottom:1px solid var(--border); margin:0; padding-bottom:0; }
.hub-home .feed-controls .header-nav { justify-content:flex-start; overflow:visible; }
.hub-home .tab-track { padding:0; gap:25px; background:transparent; border-radius:0; }
.hub-home .tab-indicator { display:none; }
.hub-home .tab-btn { padding:12px 2px 15px; border-radius:0; font-size:13px; font-weight:600; min-height:48px; border-bottom:2px solid transparent; }
.hub-home .tab-btn.is-active { color:var(--primary-dark); border-bottom-color:var(--primary-dark); }
.hub-home .header-search { width:260px; border-radius:8px; padding:9px 12px; background:var(--surface); margin-bottom:8px; }
.hub-home .header-search-input { font-size:12px; }.hub-home .header-search-input::placeholder { color:var(--ink-soft); }
.feed-context { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0 20px; font-size:11px; color:var(--ink-soft); }
.hub-home .feed-count { flex-basis:auto; font-family:var(--font-body); font-size:11px; white-space:nowrap; }
.hub-home .post-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 32px; }
.hub-home .post-card { background:transparent; border:0; border-bottom:1px solid var(--border); border-radius:0; overflow:visible; box-shadow:none; padding:22px 0; animation:none; transition:none; }
.hub-home .post-card:nth-child(-n+2) { padding-top:0; }
.hub-home .post-card:hover { transform:none; box-shadow:none; }
.hub-home .post-card-link { display:grid; grid-template-columns:minmax(0,40%) minmax(0,1fr); align-items:center; gap:19px; }
.hub-home .post-thumb { width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; margin:0; border-radius:10px; background:var(--surface-alt); }
.hub-home .post-card-body { padding:0; gap:6px; min-width:0; }
.hub-home .post-badge { font-family:var(--font-mono); font-size:9px; line-height:1.4; letter-spacing:.035em; padding:0; border-radius:0; background:transparent; text-transform:uppercase; }
.hub-home .post-title { font-size:15px; line-height:1.5; letter-spacing:-.025em; font-weight:670; -webkit-line-clamp:3; line-clamp:3; word-break:keep-all; overflow-wrap:anywhere; }
.hub-home .post-excerpt { display:none; }
.hub-home .post-meta { font-family:var(--font-body); font-size:10px; color:var(--ink-soft); margin:2px 0 0; }
.hub-home .dynamic-load-more-btn { border-radius:8px; font-size:12px; padding:12px 28px; margin:32px auto 0; box-shadow:none; }
.hub-home .site-footer { background:var(--surface-alt); margin-top:54px; }
.hub-home .minimal-footer .footer-bottom { max-width:1200px; padding:34px 28px; align-items:center; }
.footer-wordmark { font-size:22px; font-weight:850; letter-spacing:-.06em; }.footer-wordmark span { margin-left:8px; color:var(--primary); }
.hub-home .footer-copy { line-height:1.9; font-size:11px; margin-top:9px; color:var(--ink-soft); }
.hub-home .footer-legal { flex-wrap:wrap; font-size:11px; gap:18px; }.hub-home .footer-legal-btn { font-size:11px; color:var(--ink-soft); text-decoration:none; }
.hub-home .tool-dialog { border-radius:18px; padding:26px; max-height:85dvh; width:min(540px,calc(100% - 32px)); }
.hub-home .tool-dialog-head { align-items:flex-start; margin-bottom:10px; }.hub-home .tool-dialog-head h2 { font-size:24px; margin-top:6px; letter-spacing:-.045em; }
.launcher-description { font-size:12px; color:var(--ink-soft); margin:0 0 18px; }
.tool-search { width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:8px; background:var(--surface-alt); font-size:14px; margin-bottom:15px; }
.hub-home .tool-directory a { padding:14px; border-radius:10px; border-color:transparent; background:var(--surface-alt); gap:16px; }
.hub-home .tool-directory strong { font-size:15px; }.hub-home .tool-directory small { font-size:11px; margin-top:3px; }.hub-home .tool-directory img { width:38px; height:38px; border-radius:9px; }
.hub-home .tool-directory [hidden] { display:none; }
.hub-home .about-panel { border-radius:18px; max-width:470px; }.hub-home .about-desc { font-size:15px; text-align:left; line-height:1.9; }.hub-home .about-btn { font-size:13px; padding:14px; border-radius:9px; }.hub-home .about-footer { padding:20px; }.hub-home .about-body { padding:26px; }.hub-home .about-actions { gap:10px; margin-top:24px; }
@media (min-width:1400px) { .hub-home .header-top,.hub-home .feed,.hub-home .minimal-footer .footer-bottom { max-width:1280px; }.hub-home .post-title { font-size:16px; } }
@media (max-width:1000px) {.hub-home .post-card-link { gap:13px; }.hub-home .post-title { font-size:14px; }.masthead-links { margin-left:0; } }
@media (max-width:760px) {
 .hub-home .header-top { height:66px; padding:0 20px; flex-wrap:nowrap; gap:12px; }.hub-home .header-brand { flex:0 0 auto; }.hub-home .header-utils { flex:0 0 auto; margin-left:auto; }.hub-home .header-logo { height:23px; }.masthead-links { display:none; }.hub-home .util-btn { width:36px; height:40px; }.hub-home .header-utils .util-btn { width:36px; height:40px; }.hub-home .btn-share { display:none; }.hub-home .tool-launcher-button { font-size:12px; padding:0 11px; margin-right:2px; }
.home-description { font-size:12px; max-width:330px; }.intro-note { display:none; }

 .hub-home .feed { padding-inline:20px; scroll-margin-top:80px; }.hub-home .feed-title { font-size:21px; }.hub-home .feed-controls { flex-wrap:wrap; gap:0; }.hub-home .feed-controls .header-search { flex-basis:100%; order:0; width:100%; margin:0 0 10px; }.hub-home .header-search-input { font-size:16px; }.hub-home .feed-controls .header-nav { order:1; flex-basis:100%; margin:0; }.hub-home .tab-track { gap:28px; }.hub-home .tab-btn { padding-bottom:12px; }
 .hub-home .post-grid { grid-template-columns:1fr; }.hub-home .post-card { padding:20px 0; }.hub-home .post-card:nth-child(2) { padding-top:20px; }.hub-home .post-card-link { grid-template-columns:minmax(0,34%) minmax(0,1fr); gap:18px; }.hub-home .post-title { font-size:15px; }.hub-home .post-card-body { gap:6px; }.feed-context { padding:13px 0 20px; }.feed-context>p:first-child { max-width:240px; }.hub-home .minimal-footer .footer-bottom { padding:28px 20px; gap:24px; }.hub-home .footer-legal { gap:16px; }.shuffle-button { font-size:11px; }
}
@media (max-width:380px) { .hub-home .header-top { padding-inline:16px; }.hub-home .header-utils { gap:0; }.hub-home .header-logo { height:21px; }.hub-home .feed { padding-inline:16px; }.hub-home .feed-title { font-size:18px; }.hub-home .post-card-link { gap:13px; }.hub-home .post-title { font-size:14px; }.hub-home .tab-track { gap:23px; } }
/* The feed is readable before the search index arrives. */
.explore-intro { padding:clamp(24px,4vw,54px) 0 22px; }
.explore-intro h1 { color:var(--ink); font-size:clamp(27px,3.2vw,44px); line-height:1.16; letter-spacing:-.045em; text-wrap:balance; }
.explore-intro p { margin-top:9px; font-size:15px; color:var(--ink-soft); }
.hub-home .feed-controls { display:flex; flex-direction:column; align-items:stretch; gap:6px; }
.hub-home .feed-controls .header-search { display:flex; align-items:center; width:min(100%,660px); min-height:48px; margin:0; border:1px solid var(--border); border-radius:10px; gap:10px; padding:8px 14px; }
.hub-home .header-search:focus-within { outline:2px solid var(--primary); outline-offset:2px; }
.hub-home .header-search-input { font-size:16px; min-width:0; flex:1; }
#searchKey { font:11px var(--font-mono); white-space:nowrap; color:var(--ink-soft); border:1px solid var(--border); border-radius:4px; padding:3px 5px; }
.hub-home .feed-context { justify-content:flex-start; padding:12px 0; }
.feed-context h2 { color:var(--ink); font-size:19px; letter-spacing:-.025em; }
.feed-context .shuffle-button { margin-inline-start:auto; }
.hub-home .post-grid { grid-template-columns:minmax(0,1fr); gap:0 clamp(32px,5vw,72px); }
.hub-home .post-grid:has(.editor-pick) { grid-template-columns:minmax(0,2.1fr) minmax(230px,1fr); }
.hub-home .post-grid .post-card { grid-column:1; padding:18px 0; }
.hub-home .post-card-link { grid-template-columns:minmax(0,1fr) clamp(108px,13vw,175px); }
.hub-home .post-card-body { grid-column:1; grid-row:1; }
.hub-home .post-thumb { grid-column:2; grid-row:1; }
.hub-home .post-title { font-size:clamp(17px,1.65vw,23px); line-height:1.38; }
html:not([lang="ko"]) .hub-home .post-title { word-break:normal; }
.hub-home .post-excerpt { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; color:var(--ink-soft); font-size:14px; }
.hub-home .post-grid .editor-pick { grid-column:2; grid-row:1 / span 3; align-self:start; padding:14px; border:1px solid var(--border); border-radius:14px; background:var(--surface); }
.hub-home .editor-pick .post-card-link { display:flex; flex-direction:column; align-items:stretch; gap:14px; }
.editor-pick .post-badge { color:var(--primary-dark); }
.hub-home .post-card-link:hover .post-title { color:var(--primary-dark); }
.hub-home :focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
#resetSearch { display:block; margin:8px auto; padding:10px; color:var(--primary-dark); text-decoration:underline; }
.catalog-link { max-width:1200px; margin:18px auto; padding:0 28px; color:var(--ink-soft); font-size:13px; }
@media(max-width:760px) {
  .hub-home .post-grid:has(.editor-pick) { grid-template-columns:minmax(0,1fr); }
  .hub-home .post-grid .editor-pick { grid-column:auto; grid-row:auto; margin:10px 0; }
  .hub-home .editor-pick .post-card-link,.hub-home .post-card-link { display:grid; grid-template-columns:minmax(0,1fr) clamp(74px,23vw,130px); align-items:center; gap:14px; }
  .hub-home .post-grid .post-card { padding-block:16px; }
  .hub-home .post-excerpt,#searchKey { display:none; }
  .hub-home .header-top { flex-wrap:wrap; height:auto; min-height:60px; padding-block:8px; }
  .hub-home .header-utils { flex-wrap:wrap; max-width:100%; }
  .hub-home .feed-controls .header-search { flex-basis:auto; }
  .hub-home .tab-track { gap:clamp(8px,4vw,24px); }
  .hub-home .tab-btn { min-height:44px; }
  .hub-home .feed-controls .header-nav { flex-basis:auto; }
}


@media (min-width:370px) and (max-width:600px) {
  .hub-home .header-top { flex-wrap:nowrap; gap:5px; padding-inline:12px; }
  .hub-home .header-utils { flex:0 1 auto; gap:2px!important; }
}

/* Header actions use the same 24-unit symbol set in both themes. */
.hub-home .header-top { gap:22px; }
.hub-home .header-logo { height:35px; }
.hub-home .masthead-links { font-size:15px; margin-left:0; }
.hub-home .masthead-links a { padding:12px 6px; }
.hub-home .tool-launcher-button,.hub-home .language-menu summary {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  min-height:44px; line-height:1; font-weight:650;
}
.hub-home .language-menu summary { color:var(--ink); border-color:var(--border); }
.hub-home .language-menu summary svg,.hub-home .tool-launcher-button svg { flex:none; }
.hub-home .language-menu[open] summary svg:last-child { transform:rotate(180deg); }
.explore-intro h1 { letter-spacing:-.045em; line-height:1.18; }
.explore-intro { position:relative; }
.explore-intro::before {
  content:""; display:block; width:20px; height:5px; margin-bottom:13px;
  background:var(--primary); box-shadow:6px -5px 0 -1px var(--primary);
}
.hub-home .editor-pick .post-badge { font:650 12px/1.5 var(--font-body); text-transform:none; letter-spacing:0; color:var(--primary-dark); }
.hub-home .post-grid .editor-pick { border-top:3px solid var(--primary); border-radius:12px; padding:16px; }
.hub-home .editor-pick .post-card-body { gap:8px; }
.hub-home .editor-pick .post-excerpt { -webkit-line-clamp:2; line-height:1.55; }
.hub-home .post-card-link:hover .post-title { text-decoration:underline; text-underline-offset:.18em; text-decoration-thickness:1px; }
.hub-home .language-suggestion { padding:3px 12px; font-size:13px; border-radius:8px; }
@media(min-width:901px) {
  .explore-head .explore-intro { padding-block:26px 14px; }
  .hub-home .explore-head .header-search { width:min(100%, 720px); border-radius:12px; }
}
@media(max-width:760px) {
  .hub-home .header-logo { height:27px; }
  .hub-home .header-top { flex-wrap:nowrap; padding-inline:10px; }
  .hub-home .header-utils { flex-wrap:nowrap; }
  .hub-home .explore-intro { padding-block:22px 16px; }
  .hub-home .explore-intro::before { width:16px; height:4px; margin-bottom:10px; }
  .hub-home .editor-pick .post-card-body { gap:4px; }
}
@media(max-width:380px) {
  .hub-home .header-top { padding-inline:4px; gap:2px!important; }
  .hub-home .header-logo { height:23px; max-width:54px!important; object-fit:contain; }
  .hub-home .header-utils { gap:1px!important; }
  .hub-home .language-menu summary { padding:7px 4px; gap:3px; }
  .hub-home .tool-launcher-button { gap:3px; margin-right:0; padding-inline:4px!important; }
  .hub-home .language-menu summary svg:first-child,.hub-home .tool-launcher-button svg { width:16px; }
}

