/* Seoffix Tech Lab: Native AI Hub (/agents, /skills, /mcps).
   Built only on seoffix-web-tokens.css variables so Light and Dark follow the site theme. */

.sfx-hub { max-width: 1180px; margin: 0 auto; padding: 20px 20px 36px; min-width: 0; color: var(--sfx-ink); }
.sfx-hub *, .sfx-hub *::before, .sfx-hub *::after { box-sizing: border-box; }
.sfx-hub a { color: var(--sfx-primary); text-decoration: none; }
.sfx-hub a:hover { text-decoration: underline; }
.sfx-hub :focus-visible { outline: 2px solid var(--sfx-primary); outline-offset: 2px; }

.hub-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hub-hero .sfx-mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--sfx-primary), var(--sfx-violet)); color: var(--sfx-studio-light); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.hub-hero h1 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 0; color: var(--sfx-ink); }
.hub-hero .sub { font-size: 13px; color: var(--sfx-muted); max-width: 660px; margin: 4px 0 0; line-height: 1.5; }

.hub-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.hub-nav a { padding: 7px 14px; border: 1px solid var(--sfx-border); border-radius: 999px; background: var(--sfx-card-bg); color: var(--sfx-ink-secondary); font-size: 12.5px; font-weight: 600; }
.hub-nav a:hover { text-decoration: none; border-color: var(--sfx-primary); color: var(--sfx-primary); }
.hub-nav a.is-on { background: var(--sfx-primary); border-color: var(--sfx-primary); color: var(--sfx-studio-light); }

.tier-banner { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.tier-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--sfx-border); border-radius: 10px; padding: 8px 12px; background: var(--sfx-card-bg); font-size: 12px; color: var(--sfx-ink-secondary); }
.tier-chip strong { color: var(--sfx-ink); }
.tier-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sfx-primary); }
.tier-chip .dot.is-muted { background: var(--sfx-muted); }

.sfx-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--sfx-border); margin-bottom: 16px; align-items: center; }
.sfx-tab { padding: 9px 13px; border-bottom: 2px solid transparent; color: var(--sfx-muted) !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sfx-tab:hover { color: var(--sfx-ink) !important; text-decoration: none !important; }
.sfx-tab.is-on { color: var(--sfx-primary) !important; border-bottom-color: var(--sfx-primary); }

.badge { font-size: 10px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.badge.free { background: var(--sfx-primary-soft); color: var(--sfx-primary-deep); }
.badge.premium { background: var(--sfx-amber-soft); color: var(--sfx-amber); }
.badge.community { background: var(--sfx-subtle-bg); color: var(--sfx-muted); }
html.dark .badge.free { color: var(--sfx-primary); }

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cat-card { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.cat-card:hover { border-color: var(--sfx-primary-soft); box-shadow: 0 0 0 1px var(--sfx-primary-soft); }
.cat-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cat-top > div { min-width: 0; }
.cat-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--sfx-subtle-bg); display: flex; align-items: center; justify-content: center; color: var(--sfx-primary); flex: none; font-weight: 700; font-size: 13px; }
.cat-ic.v { color: var(--sfx-violet); }
.cat-ic.g { color: var(--sfx-green); }
.cat-ic.p { color: var(--sfx-pink); }
.cat-name { font-size: 14px; font-weight: 700; color: var(--sfx-ink); overflow-wrap: anywhere; }
.cat-slug { font-size: 10.5px; color: var(--sfx-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.cat-top .badge { margin-left: auto; }
.cat-desc { font-size: 12px; color: var(--sfx-ink-secondary); margin: 9px 0 0; line-height: 1.5; }
.cat-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.cat-tag { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--sfx-primary-soft); color: var(--sfx-primary-deep); }
html.dark .cat-tag { color: var(--sfx-primary); }
.cat-tag.g { background: var(--sfx-green-soft); color: var(--sfx-green); }
.cat-tag.a { background: var(--sfx-amber-soft); color: var(--sfx-amber); }
.cat-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--sfx-border); }
.cat-card > .export-row, .cat-card > .mcp-endpoint { margin-bottom: 0; }
.cat-card > .cat-foot { margin-top: auto; }
.cat-card > :nth-last-child(2) { margin-bottom: 12px; }

.cat-act { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--sfx-primary); background: transparent; color: var(--sfx-primary) !important; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; }
.cat-act:hover { background: var(--sfx-primary); color: var(--sfx-studio-light) !important; text-decoration: none !important; }
.cat-act.ghost { border-color: var(--sfx-border); color: var(--sfx-muted) !important; }
.cat-act.ghost:hover { background: transparent; color: var(--sfx-primary) !important; border-color: var(--sfx-primary); }

.export-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.exp { height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--sfx-border); background: var(--sfx-card-bg); color: var(--sfx-muted) !important; font-size: 10.5px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; display: inline-flex; align-items: center; }
.exp:hover { color: var(--sfx-primary) !important; border-color: var(--sfx-primary); text-decoration: none !important; }
.exp.is-locked { opacity: .7; }

.quota { background: var(--sfx-subtle-bg); border: 1px dashed var(--sfx-border); border-radius: 10px; padding: 10px 12px; font-size: 11.5px; color: var(--sfx-muted); }
.hub-note { background: var(--sfx-subtle-bg); border: 1px dashed var(--sfx-border); border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 12.5px; color: var(--sfx-ink-secondary); }

.mcp-endpoint { background: var(--sfx-studio-dark); border: 1px solid var(--sfx-border); border-radius: 10px; padding: 12px; margin-top: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--sfx-studio-soft); overflow-wrap: anywhere; white-space: pre-wrap; }
.mcp-endpoint .kw { color: var(--sfx-primary); }
.mcp-endpoint .st { color: var(--sfx-green); }
.mcp-endpoint .cm { color: var(--sfx-muted-light); }
.mcp-lead { margin: 0 0 14px; }

.hub-empty { border: 1px dashed var(--sfx-border); border-radius: 14px; padding: 26px; text-align: center; color: var(--sfx-muted); font-size: 13px; background: var(--sfx-card-bg); }

.sfx-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(11, 17, 32, .72); }
.sfx-modal.active { display: flex; }
.sfx-modal-box { width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: 14px; padding: 18px; color: var(--sfx-ink); }
.sfx-modal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sfx-modal-head strong { font-size: 15px; }
.sfx-modal-head .cat-act { margin-left: auto; height: 26px; }
.sfx-note { font-size: 11.5px; color: var(--sfx-muted); line-height: 1.5; margin: 0 0 10px; }
.sfx-btn { height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--sfx-primary); background: var(--sfx-primary); color: var(--sfx-studio-light); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; }
.sfx-toast { position: fixed; right: 16px; bottom: 18px; z-index: 1100; background: var(--sfx-ink); color: var(--sfx-canvas); padding: 9px 14px; border-radius: 9px; font-size: 12.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); }
.sfx-toast.is-show { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sfx-hub { padding: 14px 14px 28px; }
  .cat-grid { grid-template-columns: 1fr; }
  .hub-hero h1 { font-size: 19px; }
}

/* ============================ Phase 6A-2: hero art, filters, detail, Launchpad, collections, makers ============================ */

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Hero: matched Light/Dark art with a readability veil (#F8FBFE Light, #040710 Dark). The art loads from CSS, so a missing file only costs the picture. */
.hub-banner { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--sfx-border); border-radius: 16px; padding: 22px 20px; margin-bottom: 16px; background-color: #F8FBFE; background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Desktop_Light.webp'); background-size: cover; background-position: center right; background-repeat: no-repeat; }
.hub-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(248, 251, 254, .96) 0%, rgba(248, 251, 254, .86) 52%, rgba(248, 251, 254, .6) 100%); }
html.dark .hub-banner { background-color: #040710; background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Desktop_Dark.webp'); }
html.dark .hub-banner::before { background: linear-gradient(90deg, rgba(4, 7, 16, .96) 0%, rgba(4, 7, 16, .84) 52%, rgba(4, 7, 16, .58) 100%); }
.hub-banner .hub-hero { margin: 0; position: relative; }
.hub-banner h1, .hub-banner .sub { text-shadow: none; }
.maker-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--sfx-primary), var(--sfx-violet)); color: var(--sfx-studio-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: none; }
.maker-av.big { width: 52px; height: 52px; font-size: 16px; }
@media (max-width: 768px) {
  .hub-banner { padding: 16px 14px; background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Mobile_Light.webp'); background-position: center top; }
  html.dark .hub-banner { background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Mobile_Dark.webp'); }
  .hub-banner::before { background: linear-gradient(180deg, rgba(248, 251, 254, .94) 0%, rgba(248, 251, 254, .86) 100%); }
  html.dark .hub-banner::before { background: linear-gradient(180deg, rgba(4, 7, 16, .94) 0%, rgba(4, 7, 16, .86) 100%); }
}

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filter-search { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border: 1px solid var(--sfx-border); border-radius: 8px; background: var(--sfx-card-bg); flex: 1 1 220px; min-width: 0; color: var(--sfx-muted); }
.filter-search input { background: transparent; border: 0; outline: 0; color: var(--sfx-ink); font: inherit; font-size: 12.5px; width: 100%; min-width: 0; }
.filter-bar select { height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--sfx-border); border-radius: 8px; background: var(--sfx-card-bg); color: var(--sfx-ink); font: inherit; font-size: 12.5px; max-width: 100%; min-width: 0; }
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filter-label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sfx-muted); }
.filter-pill { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--sfx-border); background: var(--sfx-card-bg); color: var(--sfx-muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.filter-pill:hover { color: var(--sfx-primary); border-color: var(--sfx-primary); }
.filter-pill.on { background: var(--sfx-primary); border-color: var(--sfx-primary); color: var(--sfx-studio-light); }
.filter-count { font-size: 12px; color: var(--sfx-muted); margin-left: auto; }
.no-results { display: none; }
.no-results.is-show { display: block; margin-top: 14px; }
.spotlight { margin: 0 0 16px; padding: 12px; border: 1px solid var(--sfx-border); border-radius: 14px; background: var(--sfx-subtle-bg); }
.spotlight h2 { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sfx-muted); margin: 0 0 10px; }
.spot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.spot { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--sfx-border); border-radius: 10px; background: var(--sfx-card-bg); min-width: 0; color: var(--sfx-ink) !important; }
.spot:hover { border-color: var(--sfx-primary); text-decoration: none !important; }
.spot strong { font-size: 12.5px; overflow-wrap: anywhere; }
.spot small { display: block; font-size: 11px; color: var(--sfx-muted); }

/* Cards: name link, vote, state badges */
a.cat-name { color: var(--sfx-ink) !important; display: block; }
a.cat-name:hover { color: var(--sfx-primary) !important; text-decoration: none !important; }
.cat-foot .vote-badge { margin-left: auto; }
.vote-badge { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border: 1px solid var(--sfx-border); border-radius: 999px; background: var(--sfx-card-bg); color: var(--sfx-ink-secondary); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.vote-badge:hover { border-color: var(--sfx-primary); color: var(--sfx-primary); }
.vote-badge .icon { fill: currentColor; stroke: none; width: 11px; height: 11px; }
.vote-badge.voted { background: var(--sfx-primary-soft); border-color: var(--sfx-primary); color: var(--sfx-primary); }
.vote-badge .n { font-variant-numeric: tabular-nums; }
.badge.upcoming { background: var(--sfx-amber-soft); color: var(--sfx-amber); }
.badge.ro { background: var(--sfx-green-soft); color: var(--sfx-green); }
.badge.rw { background: var(--sfx-red-soft); color: var(--sfx-red); }
.badge.health-ok { background: var(--sfx-green-soft); color: var(--sfx-green); }
.badge.health-warning { background: var(--sfx-amber-soft); color: var(--sfx-amber); }
.badge.health-degraded { background: var(--sfx-red-soft); color: var(--sfx-red); }

/* Detail pages */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--sfx-muted); margin: 0 0 12px; }
.crumbs span:last-child { color: var(--sfx-ink-secondary); overflow-wrap: anywhere; }
.d-wrap { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.d-head, .d-sec-box { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: 14px; padding: 16px; min-width: 0; }
.d-title-row { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cat-ic.big { width: 52px; height: 52px; font-size: 16px; border-radius: 13px; }
.d-title { min-width: 0; }
.detail-kicker { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sfx-primary); margin-bottom: 3px; }
.d-title h1 { font-size: 22px; line-height: 1.25; margin: 0; color: var(--sfx-ink); overflow-wrap: anywhere; }
.detail-maker { font-size: 12.5px; color: var(--sfx-muted); margin-top: 4px; }
.d-tagline { font-size: 14px; color: var(--sfx-ink-secondary); margin: 12px 0 0; line-height: 1.55; }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.d-stat { font-size: 12px; color: var(--sfx-muted); }
.d-stat strong { color: var(--sfx-ink); }
.d-sec { font-size: 14px; font-weight: 700; color: var(--sfx-ink); margin: 0 0 10px; }
.d-copy { font-size: 13px; color: var(--sfx-ink-secondary); line-height: 1.6; margin: 0 0 8px; overflow-wrap: anywhere; }
.loop { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.loop-step { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--sfx-border); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--sfx-ink-secondary); min-width: 0; }
.loop-step > div { min-width: 0; overflow-wrap: anywhere; }
.loop-step strong { color: var(--sfx-ink); }
.loop-step .n { width: 22px; height: 22px; border-radius: 7px; background: var(--sfx-primary-soft); color: var(--sfx-primary); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.perm-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.perm { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sfx-subtle-bg); color: var(--sfx-ink-secondary); overflow-wrap: anywhere; }
.perm.r { background: var(--sfx-green-soft); color: var(--sfx-green); }
.perm.w { background: var(--sfx-red-soft); color: var(--sfx-red); }
.contract { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contract > div { border: 1px solid var(--sfx-border); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.notebook { background: var(--sfx-subtle-bg); border: 1px solid var(--sfx-border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.nb-var { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nb-var input { flex: 1 1 220px; min-width: 0; height: 34px; padding: 0 11px; border: 1px solid var(--sfx-border); border-radius: 8px; background: var(--sfx-card-bg); color: var(--sfx-ink); font: inherit; font-size: 12.5px; }
.nb-pair { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--sfx-border); }
.nb-row { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.nb-text { flex: 1; min-width: 0; font-size: 12.5px; color: var(--sfx-ink-secondary); line-height: 1.5; overflow-wrap: anywhere; }
.nb-pill { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex: none; }
.nb-pill.you { background: var(--sfx-primary-soft); color: var(--sfx-primary); }
.nb-pill.ret { background: var(--sfx-green-soft); color: var(--sfx-green); }
.nb-copy { height: 24px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--sfx-border); background: var(--sfx-card-bg); color: var(--sfx-muted); font: inherit; font-size: 10.5px; font-weight: 600; cursor: pointer; flex: none; }
.nb-copy:hover { color: var(--sfx-primary); border-color: var(--sfx-primary); }
.tool-scroll { overflow-x: auto; max-width: 100%; }
.tool-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tool-table thead th { text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sfx-muted); padding: 8px 9px; border-bottom: 1px solid var(--sfx-border); white-space: nowrap; }
.tool-table tbody td { padding: 8px 9px; border-bottom: 1px solid var(--sfx-border); color: var(--sfx-ink-secondary); vertical-align: top; }
.tool-table td.tn { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; white-space: nowrap; }
.guard-list { list-style: disc; margin: 0; padding-left: 20px; font-size: 13px; color: var(--sfx-ink-secondary); line-height: 1.7; }
.editor-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.ed-tab { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--sfx-border); background: var(--sfx-card-bg); color: var(--sfx-muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ed-tab.on { background: var(--sfx-primary); border-color: var(--sfx-primary); color: var(--sfx-studio-light); }
.code-wrap { position: relative; }
.code-wrap .mcp-endpoint { margin-top: 0; padding-right: 12px; max-height: 320px; overflow: auto; }
.code-wrap .code-copy { margin-top: 8px; }
.badge-preview { background: var(--sfx-subtle-bg); border: 1px solid var(--sfx-border); border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.badge-preview img { display: block; max-width: 100%; height: auto; }

/* Launchpad */
.launch-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.launch-day { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: 10px; padding: 8px; min-width: 0; }
.launch-day.is-today { border-color: var(--sfx-primary); box-shadow: 0 0 0 1px var(--sfx-primary-soft); }
.launch-day .d { font-size: 10.5px; font-weight: 700; color: var(--sfx-muted); margin-bottom: 6px; }
.launch-item { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 7px; margin-bottom: 4px; font-size: 11px; font-weight: 600; min-width: 0; }
.launch-item .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launch-item .k { font-size: 9px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; flex: none; }
.launch-item.ag { background: var(--sfx-primary-soft); color: var(--sfx-primary-deep) !important; }
.launch-item.sk { background: var(--sfx-green-soft); color: var(--sfx-green) !important; }
.launch-item.mc { background: rgba(124, 92, 252, .16); color: var(--sfx-violet) !important; }
html.dark .launch-item.ag { color: var(--sfx-primary) !important; }
a.launch-item:hover { text-decoration: none !important; filter: brightness(1.08); }
.launch-item.empty { background: transparent; border: 1px dashed var(--sfx-border); color: var(--sfx-muted) !important; font-weight: 500; }
.cal-legend { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.cal-legend .launch-item { margin: 0; padding: 4px 10px; }
.launch-panel { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.launch-date { font-size: 16px; font-weight: 700; color: var(--sfx-ink); }

/* Collections and makers */
.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.col-card { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.col-card:hover { border-color: var(--sfx-primary-soft); }
.col-title { font-size: 15px; font-weight: 700; margin: 0; }
.col-title a { color: var(--sfx-ink) !important; }
.col-card .cat-foot { margin-top: auto; }
.maker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.maker-card { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.maker-card:hover { border-color: var(--sfx-primary-soft); }
.maker-card .cat-foot { margin-top: auto; }
.maker-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.maker-top > div { min-width: 0; }
a.maker-name { font-size: 13px; font-weight: 700; color: var(--sfx-ink) !important; overflow-wrap: anywhere; display: block; }
.maker-card[hidden] { display: none; }

/* Maker Studio */
.studio-totals { display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; margin-bottom: 10px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 8px 4px 0; border-bottom: 1px solid var(--sfx-border); margin-bottom: 8px; }
.spark-col { flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; position: relative; padding-bottom: 16px; }
.spark-col .bar { width: 38%; min-height: 2px; border-radius: 3px 3px 0 0; }
.spark-col .bar.v { background: var(--sfx-primary); }
.spark-col .bar.i { background: var(--sfx-green); }
.spark-col .lbl { position: absolute; bottom: 0; font-size: 9.5px; color: var(--sfx-muted); }
.spons-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.spons-form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; color: var(--sfx-muted); min-width: 0; flex: 1 1 200px; }
.spons-form select { height: 34px; border: 1px solid var(--sfx-border); border-radius: 8px; background: var(--sfx-card-bg); color: var(--sfx-ink); font: inherit; font-size: 12.5px; padding: 0 8px; min-width: 0; max-width: 100%; }

@media (max-width: 1080px) {
  .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .col-grid, .maker-grid { grid-template-columns: 1fr; }
  .launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contract { grid-template-columns: 1fr; }
  .d-title h1 { font-size: 19px; }
  .filter-count { margin-left: 0; width: 100%; }
}

.cat-card[hidden], .maker-card[hidden] { display: none; }


/* ============================ Phase 6A-3: visual revamp (hero, frosted toolbar, glass cards, detail rail, bento) ============================
   Visual layer only. Every selector and data-* hook used by the functional proofs is untouched. */
@keyframes hubSweep { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hubFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes hubSheen { 0% { transform: translateX(-130%); } 60%, 100% { transform: translateX(330%); } }

.sfx-hub {
  --hub-blue: #0D99FF; --hub-cyan: #06B6D4; --hub-emerald: #10B981; --hub-teal: #14B8A6; --hub-violet: #7C5CFC; --hub-amber: #F59E0B;
  --hub-glass: rgba(255, 255, 255, .72); --hub-glass-edge: rgba(13, 153, 255, .18); --hub-shadow: 0 8px 26px -14px rgba(15, 40, 80, .24);
  --hub-card-top: rgba(255, 255, 255, .9); --hub-card-bot: rgba(240, 246, 252, .74);
}
html.dark .sfx-hub {
  --hub-glass: rgba(11, 19, 40, .62); --hub-glass-edge: rgba(110, 165, 255, .2); --hub-shadow: 0 12px 32px -14px rgba(0, 0, 0, .7);
  --hub-card-top: rgba(16, 27, 52, .8); --hub-card-bot: rgba(8, 14, 30, .74);
}

/* ---- 1. Hero ---- */
.hub-banner { min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px 22px 24px; border-radius: 20px; background-position: center; background-size: cover; margin-bottom: 14px; }
.hub-banner::before { background: radial-gradient(ellipse 74% 140% at 50% 50%, rgba(248, 251, 254, .78) 0%, rgba(248, 251, 254, .62) 46%, rgba(248, 251, 254, .28) 100%); }
html.dark .hub-banner::before { background: radial-gradient(ellipse 74% 140% at 50% 50%, rgba(4, 7, 16, .78) 0%, rgba(4, 7, 16, .6) 46%, rgba(4, 7, 16, .27) 100%); }
.hub-banner--mcp { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Desktop_Light.webp'); }
html.dark .hub-banner--mcp { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Desktop_Dark.webp'); }
.hub-banner .hub-hero { width: 100%; max-width: 760px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0; min-width: 0; }
.hub-banner .hub-hero > div { min-width: 0; max-width: 100%; }
.hub-banner .hub-hero .sfx-mark { width: 48px; height: 48px; border-radius: 14px; font-size: 14px; box-shadow: 0 10px 26px -8px rgba(13, 153, 255, .6); }
.hub-banner .hub-hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.hub-banner .hub-hero .sub { font-size: 14px; color: var(--sfx-ink-secondary); max-width: 660px; margin: 8px auto 0; }

.hub-search { position: relative; display: flex; padding: 1.5px; border-radius: 999px; overflow: hidden; width: min(600px, 100%); height: 48px; margin-top: 14px; background: color-mix(in srgb, var(--hub-blue) 28%, var(--sfx-border)); box-shadow: 0 0 18px -5px color-mix(in srgb, var(--hub-blue) 40%, transparent), 0 0 14px -5px color-mix(in srgb, var(--hub-violet) 30%, transparent), 0 6px 18px -8px rgba(15, 40, 80, .25); transition: box-shadow .22s ease, transform .18s ease; }
.hub-search-beam { position: absolute; top: 50%; left: 50%; width: 1000px; height: 1000px; background: conic-gradient(from 0deg, transparent 0deg 130deg, color-mix(in srgb, var(--hub-blue) 35%, transparent) 162deg, var(--hub-blue) 205deg, var(--hub-violet) 252deg, var(--hub-emerald) 296deg, var(--hub-amber) 334deg, #fff 354deg, transparent 360deg); animation: hubSweep 3.2s linear infinite; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--hub-blue) 80%, transparent)); pointer-events: none; will-change: transform; z-index: 0; }
.hub-search-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; margin: 0; padding: 0 18px; border-radius: 999px; background: color-mix(in srgb, var(--sfx-card-bg) 94%, var(--sfx-canvas)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--hub-blue); }
html.dark .hub-search-inner { background: color-mix(in srgb, var(--sfx-card-bg) 90%, #040710); }
.hub-search-inner input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; border: 0; background: transparent; color: var(--sfx-ink); font: 500 14px var(--sfx-font-ui, inherit); outline: 0; }
.hub-search-inner input::placeholder { color: var(--sfx-muted); opacity: .95; }
.hub-search:hover { box-shadow: 0 0 24px -3px color-mix(in srgb, var(--hub-blue) 46%, transparent), 0 0 18px -4px color-mix(in srgb, var(--hub-violet) 34%, transparent); }
.hub-search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--hub-blue) 24%, transparent), 0 0 28px -3px color-mix(in srgb, var(--hub-blue) 52%, transparent); }
.hub-search:focus-within .hub-search-beam { animation-duration: 1.8s; }

.hub-banner .hub-nav { display: flex; flex-wrap: nowrap; gap: 4px; justify-content: center; margin: 16px 0 0; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--hub-glass); border: 1px solid var(--hub-glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hub-banner .hub-nav::-webkit-scrollbar { display: none; }
.hub-nav { backdrop-filter: blur(10px); }
.hub-nav a { white-space: nowrap; border: 0; background: transparent; padding: 8px 15px; }
.hub-nav a:hover { background: color-mix(in srgb, var(--hub-blue) 12%, transparent); }
.hub-nav a.is-on { background: linear-gradient(115deg, #0D99FF, #06B6D4); box-shadow: 0 6px 16px -6px rgba(13, 153, 255, .7); color: #fff; }

/* ---- 2. One segmented toggle and one frosted toolbar ---- */
.hub-seg { display: flex; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 18px; background: var(--hub-glass); border: 1px solid var(--hub-glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--hub-shadow); }
.hub-seg-opt { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; color: var(--sfx-ink-secondary) !important; font-size: 13.5px; font-weight: 700; text-align: center; transition: background .2s ease, box-shadow .2s ease; }
.hub-seg-opt:hover { text-decoration: none !important; background: color-mix(in srgb, var(--hub-blue) 8%, transparent); }
.hub-seg-opt.is-on { color: var(--sfx-ink) !important; background: linear-gradient(115deg, rgba(13, 153, 255, .2), rgba(6, 182, 212, .16)); box-shadow: inset 0 0 0 1px rgba(13, 153, 255, .42), 0 0 22px -8px rgba(13, 153, 255, .6); }
.hub-seg-opt .badge { font-size: 10px; }

.hub-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin: 0 0 14px; border-radius: 16px; background: var(--hub-glass); border: 1px solid var(--hub-glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: thin; }
.hub-toolbar > * { flex: 0 0 auto; }
.hub-toolbar .filter-group { flex-wrap: nowrap; }
.hub-toolbar .filter-label { white-space: nowrap; }
.hub-toolbar .filter-count { margin-left: auto; white-space: nowrap; padding-left: 8px; }
.hub-toolbar select { appearance: none; -webkit-appearance: none; height: 32px; padding: 0 30px 0 13px; border: 1px solid var(--hub-glass-edge); border-radius: 999px; background: color-mix(in srgb, var(--sfx-card-bg) 55%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--sfx-ink); font: inherit; font-size: 12px; font-weight: 600; max-width: 190px; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.hub-toolbar select:hover, .hub-toolbar select:focus-visible { border-color: var(--hub-blue); box-shadow: 0 0 16px -4px rgba(13, 153, 255, .55); }
.hub-toolbar select option { background: var(--sfx-card-bg); color: var(--sfx-ink); }
.filter-pill { background: color-mix(in srgb, var(--sfx-card-bg) 55%, transparent); border-color: var(--hub-glass-edge); transition: box-shadow .18s ease, border-color .18s ease, color .18s ease; }
.filter-pill:hover { box-shadow: 0 0 14px -4px rgba(13, 153, 255, .55); }
.filter-pill.on { background: linear-gradient(115deg, #0D99FF, #06B6D4); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(13, 153, 255, .7); }
.mcp-lead { margin-bottom: 12px; }

/* ---- 3. Glass-and-glow cards ---- */
.cat-card { --k1: var(--hub-blue); --k2: var(--hub-cyan); position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, var(--hub-card-top), var(--hub-card-bot)); border: 1px solid var(--hub-glass-edge); box-shadow: var(--hub-shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-card[data-kind="skill"] { --k1: #10B981; --k2: #14B8A6; }
.cat-card[data-kind="mcp"] { --k1: #7C5CFC; --k2: #0D99FF; }
.cat-card[data-upcoming="1"] { --k1: #F59E0B; --k2: #F59E0B; }
.cat-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--k1), var(--k2)); opacity: .8; transition: opacity .2s ease; }
.cat-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--k1) 55%, transparent); box-shadow: 0 16px 36px -16px color-mix(in srgb, var(--k1) 60%, transparent), var(--hub-shadow); }
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-ic, .cat-card .cat-ic.v, .cat-card .cat-ic.g, .cat-card .cat-ic.p { background: linear-gradient(135deg, color-mix(in srgb, var(--k1) 24%, transparent), color-mix(in srgb, var(--k2) 14%, transparent)); color: var(--k1); }
.cat-card .cat-tag:first-child { background: color-mix(in srgb, var(--k1) 16%, transparent); color: var(--k1); }
.cat-card > .export-row { margin-top: 10px; }

.cat-foot { flex-wrap: nowrap; gap: 6px; min-width: 0; }
.cat-foot > * { flex: 0 0 auto; }
.cat-foot .cat-act { height: 30px; padding: 0 11px; white-space: nowrap; }
.cat-foot .vote-badge { margin-left: auto; }
.cat-foot .sfx-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }

.cat-act:not(.ghost) { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .26); background: linear-gradient(115deg, #1D4ED8 0%, #0D99FF 40%, #06B6D4 72%, #10B981 100%); background-size: 220% 220%; color: #fff !important; box-shadow: 0 5px 14px -5px rgba(13, 153, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .28); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, filter .2s ease; }
.cat-act:not(.ghost)::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 42%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent); transform: translateX(-130%); pointer-events: none; }
.cat-act:not(.ghost):hover, .cat-act:not(.ghost):focus-visible { background: linear-gradient(115deg, #1D4ED8 0%, #0D99FF 40%, #06B6D4 72%, #10B981 100%); background-size: 220% 220%; animation: hubFlow 4.5s ease infinite; transform: translateY(-1.5px); box-shadow: 0 9px 22px -5px rgba(13, 153, 255, .6), 0 4px 14px -3px rgba(16, 185, 129, .4), inset 0 1px 0 rgba(255, 255, 255, .34); color: #fff !important; }
.cat-act:not(.ghost):hover::after, .cat-act:not(.ghost):focus-visible::after { animation: hubSheen 1.6s ease-in-out infinite; }
.cat-act:not(.ghost):active { transform: translateY(0) scale(.97); }
.cat-act.cta { height: 38px; padding: 0 20px; font-size: 13px; border-radius: 999px; animation: hubFlow 6.5s ease infinite; }
.cat-act.cta::after { animation: hubSheen 5s ease-in-out infinite; }
.cat-act.ghost { background: color-mix(in srgb, var(--sfx-card-bg) 50%, transparent); border-color: var(--hub-glass-edge); }
.cat-act.ghost:hover { box-shadow: 0 0 14px -4px rgba(13, 153, 255, .5); }

.vote-badge { border-color: var(--hub-glass-edge); background: color-mix(in srgb, var(--sfx-card-bg) 55%, transparent); transition: opacity .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vote-badge.is-zero { opacity: .55; }
.vote-badge.is-zero:hover, .vote-badge.is-zero:focus-visible { opacity: 1; }
.vote-badge.has-votes { color: var(--hub-blue); border-color: rgba(13, 153, 255, .4); background: rgba(13, 153, 255, .09); }
.vote-badge.voted { color: #fff; border-color: transparent; background: linear-gradient(115deg, #0D99FF, #06B6D4); box-shadow: 0 6px 16px -6px rgba(13, 153, 255, .75); opacity: 1; }

.export-row .exp { background: color-mix(in srgb, var(--sfx-card-bg) 50%, transparent); border-color: var(--hub-glass-edge); }
.export-row .exp.pkg { color: var(--hub-blue) !important; border-color: rgba(13, 153, 255, .4); font-family: inherit; font-weight: 700; }
.spotlight { border-radius: 16px; background: var(--hub-glass); border-color: var(--hub-glass-edge); backdrop-filter: blur(12px); }
.spot { background: color-mix(in srgb, var(--sfx-card-bg) 60%, transparent); border-color: var(--hub-glass-edge); transition: transform .18s ease, border-color .18s ease; }
.spot:hover { transform: translateY(-1px); }

/* ---- 4. Makers: multi-tone monograms and the Verified shield ---- */
.maker-av { position: relative; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.maker-av.mg-0 { background: linear-gradient(135deg, #0D99FF, #1D4ED8); }
.maker-av.mg-1 { background: linear-gradient(135deg, #06B6D4, #14B8A6); }
.maker-av.mg-2 { background: linear-gradient(135deg, #34D399, #059669); }
.maker-av.mg-3 { background: linear-gradient(135deg, #8B6CFF, #5B3FE0); }
.maker-av.mg-4 { background: linear-gradient(135deg, #FB7185, #E11D48); }
.maker-av.mg-5 { background: linear-gradient(135deg, #FBBF24, #F97316); }
.v-shield { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--hub-blue); white-space: nowrap; }
.v-shield svg { width: 14px; height: 14px; fill: currentColor; filter: drop-shadow(0 0 5px rgba(13, 153, 255, .75)); flex: none; }
.maker-card { border-radius: 16px; background: linear-gradient(180deg, var(--hub-card-top), var(--hub-card-bot)); border-color: var(--hub-glass-edge); box-shadow: var(--hub-shadow); backdrop-filter: blur(10px); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.maker-card:hover { transform: translateY(-2px); border-color: rgba(13, 153, 255, .5); box-shadow: 0 14px 32px -16px rgba(13, 153, 255, .55), var(--hub-shadow); }
.maker-card.is-verified { box-shadow: 0 0 0 1px rgba(13, 153, 255, .3), 0 12px 30px -16px rgba(13, 153, 255, .55); }
.maker-top .v-shield { margin-left: auto; }

/* ---- 5. Detail pages: hero header, two columns, sticky rail ---- */
.d-hero { margin-bottom: 0; text-align: left; min-height: 0; padding: 22px 24px; justify-content: flex-start; }
.d-hero .d-hero-in { width: 100%; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.d-hero .d-title-row { align-items: flex-start; gap: 16px; }
.d-hero .d-title h1 { font-size: 28px; letter-spacing: -.02em; }
.d-hero .cat-ic.big { width: 60px; height: 60px; font-size: 19px; border-radius: 16px; background: linear-gradient(135deg, var(--k1), var(--k2)); color: #fff; box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--k1) 70%, transparent); }
.d-hero .d-tagline { margin: 8px 0 0; font-size: 14.5px; max-width: 720px; }
.d-pills { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.kind-pill { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; color: #fff; background: linear-gradient(115deg, var(--k1), var(--k2)); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--k1) 70%, transparent); }
.d-meta { font-size: 12px; font-weight: 600; color: var(--sfx-ink-secondary); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--hub-glass-edge); background: color-mix(in srgb, var(--sfx-card-bg) 55%, transparent); white-space: nowrap; }
.d-wrap { --k1: var(--hub-blue); --k2: var(--hub-cyan); gap: 16px; }
.d-wrap[data-kind="skill"] { --k1: #10B981; --k2: #14B8A6; }
.d-wrap[data-kind="mcp"] { --k1: #7C5CFC; --k2: #0D99FF; }
.d-wrap[data-launch-page="1"] { --k1: #F59E0B; --k2: #F59E0B; }
.d-cols { display: grid; grid-template-columns: minmax(0, 68fr) minmax(0, 32fr); gap: 16px; align-items: start; }
.d-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.d-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; position: sticky; top: 84px; }
.d-sec-box { background: linear-gradient(180deg, var(--hub-card-top), var(--hub-card-bot)); border: 1px solid var(--hub-glass-edge); border-radius: 16px; box-shadow: var(--hub-shadow); backdrop-filter: blur(10px); padding: 16px; min-width: 0; }
.d-sec-box .d-sec { display: flex; align-items: center; gap: 8px; }
.d-sec-box .d-sec::before { content: ""; width: 4px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, var(--k1), var(--k2)); flex: none; }
.rail-maker { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rail-maker > div { min-width: 0; }
.rail-maker .cat-desc { margin: 8px 0 0; }
.badge-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge-preview { background: color-mix(in srgb, var(--sfx-subtle-bg) 70%, transparent); }
.d-rail .code-wrap .mcp-endpoint { max-height: 220px; }
.d-rail .editor-tabs { gap: 4px; }
.d-rail .ed-tab { padding: 0 9px; font-size: 11.5px; }
.d-rail .ed-tab.on, .ed-tab.on { background: linear-gradient(115deg, #0D99FF, #06B6D4); border-color: transparent; color: #fff; }

/* ---- 6. Launchpad legend filters, Today glow, bento collections ---- */
.cal-legend { align-items: center; }
.legend-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; margin: 0; padding: 5px 12px; border-radius: 999px; transition: opacity .18s ease, box-shadow .18s ease, transform .18s ease; }
.legend-chip[aria-pressed="false"] { opacity: .45; filter: grayscale(.6); box-shadow: none; }
.legend-chip[aria-pressed="true"] { box-shadow: 0 0 0 1px currentColor inset, 0 6px 16px -8px currentColor; }
.legend-chip:hover { transform: translateY(-1px); }
.legend-all { height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hub-glass-edge); background: color-mix(in srgb, var(--sfx-card-bg) 55%, transparent); color: var(--sfx-ink-secondary); font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.legend-all:hover { border-color: var(--hub-blue); color: var(--hub-blue); }
.legend-all[aria-pressed="true"] { background: linear-gradient(115deg, #0D99FF, #06B6D4); border-color: transparent; color: #fff; }
.launch-item[hidden] { display: none !important; }
.launch-day { border-radius: 14px; background: linear-gradient(180deg, var(--hub-card-top), var(--hub-card-bot)); border-color: var(--hub-glass-edge); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; }
.launch-day:hover { transform: translateY(-2px); border-color: rgba(245, 158, 11, .5); box-shadow: 0 12px 26px -14px rgba(245, 158, 11, .6); }
.launch-day.is-today { border-color: var(--hub-amber); box-shadow: 0 0 0 1px var(--hub-amber), 0 0 26px -4px rgba(245, 158, 11, .7); }
.launch-day.is-today .d { color: var(--hub-amber); }
.today-pill { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--hub-amber); color: #1a1100; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }

.col-grid { grid-auto-flow: dense; }
.col-card { position: relative; overflow: hidden; border-radius: 18px; padding: 18px; background: linear-gradient(180deg, var(--hub-card-top), var(--hub-card-bot)); border-color: var(--hub-glass-edge); box-shadow: var(--hub-shadow); backdrop-filter: blur(10px); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; --k1: #0D99FF; --k2: #06B6D4; }
.col-card.tone-1 { --k1: #7C5CFC; --k2: #0D99FF; }
.col-card.tone-2 { --k1: #10B981; --k2: #14B8A6; }
.col-card.tone-3 { --k1: #F59E0B; --k2: #F97316; }
.col-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--k1), var(--k2)); }
.col-card.is-featured { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--k1) 12%, var(--hub-card-top)), var(--hub-card-bot)); }
.col-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--k1) 55%, transparent); box-shadow: 0 16px 36px -16px color-mix(in srgb, var(--k1) 60%, transparent); }
.col-title { font-size: 17px; }
.mini-stack { display: flex; align-items: center; margin: 12px 0 2px; }
.mini-av { width: 30px; height: 30px; border-radius: 50%; margin-left: -8px; border: 2px solid var(--sfx-card-bg); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; flex: none; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.mini-av:first-child { margin-left: 0; }
.mini-av.k-agent { background: linear-gradient(135deg, #0D99FF, #06B6D4); }
.mini-av.k-skill { background: linear-gradient(135deg, #10B981, #14B8A6); }
.mini-av.k-mcp { background: linear-gradient(135deg, #7C5CFC, #0D99FF); }
.mini-more { margin-left: 10px; font-size: 11.5px; font-weight: 700; color: var(--sfx-muted); }
.type-chip { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.type-chip.k-agent { background: rgba(13, 153, 255, .14); color: #0D99FF; }
.type-chip.k-skill { background: rgba(16, 185, 129, .14); color: #10B981; }
.type-chip.k-mcp { background: rgba(124, 92, 252, .16); color: #7C5CFC; }

/* ---- 7. Responsive ---- */
@media (max-width: 1023px) {
  .d-cols { grid-template-columns: minmax(0, 1fr); }
  .d-rail { position: static; }
  .col-card.is-featured { grid-column: auto; }
}
@media (max-width: 768px) {
  .hub-banner { min-height: 200px; padding: 22px 14px 18px; background-position: center top; }
  .hub-banner::before { background: radial-gradient(ellipse 100% 90% at 50% 50%, rgba(248, 251, 254, .8) 0%, rgba(248, 251, 254, .6) 55%, rgba(248, 251, 254, .32) 100%); }
  html.dark .hub-banner::before { background: radial-gradient(ellipse 100% 90% at 50% 50%, rgba(4, 7, 16, .8) 0%, rgba(4, 7, 16, .6) 55%, rgba(4, 7, 16, .32) 100%); }
  .hub-banner--mcp { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Mobile_Light.webp'); }
  html.dark .hub-banner--mcp { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Mobile_Dark.webp'); }
  .hub-banner .hub-hero h1 { font-size: 23px; }
  .hub-banner .hub-hero .sub { font-size: 13px; }
  .hub-search { height: 44px; }
  .hub-banner .hub-nav { justify-content: flex-start; }
  .hub-seg-opt { padding: 9px 8px; font-size: 12.5px; gap: 4px; }
  .d-hero { padding: 16px 14px; }
  .d-hero .d-title h1 { font-size: 22px; }
  .d-hero .d-title-row { gap: 12px; }
  .d-hero .cat-ic.big { width: 48px; height: 48px; font-size: 16px; }
  .cat-foot .cat-act { padding: 0 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-search-beam, .cat-act.cta, .cat-act.cta::after, .cat-act:not(.ghost):hover, .cat-act:not(.ghost):hover::after { animation: none; }
  .cat-card, .maker-card, .col-card, .launch-day { transition: none; }
  .cat-card:hover, .maker-card:hover, .col-card:hover, .launch-day:hover { transform: none; }
}

.maker-banner { justify-content: flex-start; text-align: left; min-height: 0; }
.maker-banner .hub-hero { flex-direction: row; align-items: center; max-width: none; justify-content: flex-start; gap: 16px; }
.maker-banner .hub-hero .sub { margin-left: 0; }
@media (max-width: 640px) { .maker-banner .hub-hero { flex-direction: column; align-items: flex-start; } }
/* Detail hero: immune to sitewide header>div rules */
.d-hero .d-title { margin-left: 0; flex: 1 1 auto; min-width: 0; }

/* ===== Phase 6A-4: PDF-Suite-grade full-bleed hero (Seoffix_Hero_Section_Design_Work.MD) ===== */
html:has(.hub-banner--full) { overflow-x: clip; }
.sfx-hub:has(.hub-banner--full) { padding-top: 0; }
.hub-banner.hub-banner--full {
  --hg1: #0D99FF; --hg2: #06B6D4; --hg3: #7C5CFC;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; margin-bottom: 28px;
  min-height: clamp(460px, 58vh, 560px); border: 0; border-radius: 0;
  padding: 40px 20px 32px; background-size: cover; background-position: center;
}
.hub-banner--mcp.hub-banner--full { --hg1: #7C5CFC; --hg2: #0D99FF; --hg3: #06B6D4; }
.hub-banner.hub-banner--full::before {
  background:
    linear-gradient(to bottom, #fff 0, rgba(255,255,255,.7) 70px, transparent 176px),
    linear-gradient(to top, rgba(248,250,252,.95) 0, rgba(255,255,255,.5) 56px, transparent 112px),
    radial-gradient(ellipse 85% 75% at 50% 45%, rgba(255,255,255,.85) 0, rgba(255,255,255,.5) 50%, rgba(255,255,255,.1) 100%),
    rgba(255,255,255,.45);
}
html.dark .hub-banner.hub-banner--full::before {
  background:
    linear-gradient(to bottom, #0f172a 0, rgba(2,6,23,.75) 70px, transparent 176px),
    linear-gradient(to top, rgba(2,6,23,.95) 0, rgba(2,6,23,.5) 56px, transparent 112px),
    radial-gradient(ellipse 85% 75% at 50% 48%, rgba(15,23,42,.8) 0, rgba(15,23,42,.45) 55%, rgba(15,23,42,.15) 100%),
    rgba(2,6,23,.45);
}
.hub-banner--full .hub-hero { max-width: 1024px; gap: 0; }
.hub-crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--sfx-muted); background: color-mix(in srgb, var(--sfx-card-bg) 72%, transparent); border: 1px solid var(--sfx-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hub-crumb a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.hub-crumb a:hover { color: var(--hg1); text-decoration: none; }
.hub-crumb .sep { font-size: 9px; opacity: .55; }
.hub-crumb .cur { color: var(--hg1); font-weight: 700; }
.hub-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hg1); background: linear-gradient(90deg, color-mix(in srgb, var(--hg1) 12%, transparent), color-mix(in srgb, var(--hg2) 12%, transparent), color-mix(in srgb, var(--hg3) 12%, transparent)); border: 1px solid color-mix(in srgb, var(--hg1) 28%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hub-banner--full .hub-hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; font-weight: 900; letter-spacing: -.03em; margin: 0 0 16px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)); }
.hub-grad { background: linear-gradient(90deg, var(--hg1), var(--hg2) 55%, var(--hg3)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hub-banner--full .hub-hero .sub { font-size: clamp(14px, 1.6vw, 18px); line-height: 1.65; max-width: 760px; margin: 0 auto 22px; color: var(--sfx-ink-secondary); }
.hub-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; font-size: 12px; font-weight: 600; }
.hub-trust span { padding: 7px 13px; border-radius: 12px; color: var(--sfx-ink-secondary); background: color-mix(in srgb, var(--sfx-card-bg) 82%, transparent); border: 1px solid var(--sfx-border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.hub-trust i { margin-right: 4px; }
.hub-trust span:nth-child(1) i { color: #10b981; } .hub-trust span:nth-child(2) i { color: #f59e0b; } .hub-trust span:nth-child(3) i { color: #0D99FF; } .hub-trust span:nth-child(4) i { color: #8b5cf6; }
.hub-banner--full .hub-search { width: min(768px, 100%); height: 56px; margin: 0 auto 22px; border-radius: 20px; }
.hub-banner--full .hub-search-inner { border-radius: calc(20px - 1.5px); padding: 0 14px; gap: 12px; }
.hub-banner--full .hub-search-inner input { font-size: 15px; }
.hub-pod { position: relative; flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--hg1); background: color-mix(in srgb, var(--hg1) 10%, transparent); }
.hub-pod svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hub-ring { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--hg1) 65%, transparent); animation: hubRadar 1.8s cubic-bezier(0,0,.2,1) infinite; pointer-events: none; }
@keyframes hubRadar { 0% { transform: scale(.6); opacity: .85; } 100% { transform: scale(2.1); opacity: 0; } }
.hub-live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--hg1); background: color-mix(in srgb, var(--hg1) 9%, transparent); border: 1px solid color-mix(in srgb, var(--hg1) 25%, transparent); }
.hub-live i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: hubPulse 1.6s ease-in-out infinite; }
@keyframes hubPulse { 50% { opacity: .35; transform: scale(.7); } }
.hub-banner--full .hub-nav { flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; border-radius: 0; }
.hub-banner--full .hub-nav a { padding: 9px 16px; border-radius: 12px; font-size: 12.5px; font-weight: 600; color: var(--sfx-ink-secondary); background: color-mix(in srgb, var(--sfx-card-bg) 82%, transparent); border: 1px solid var(--sfx-border); box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.hub-banner--full .hub-nav a:hover { border-color: var(--hg1); color: var(--hg1); }
.hub-banner--full .hub-nav a.is-on { color: #fff; border-color: transparent; background: linear-gradient(115deg, var(--hg1), var(--hg2)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--hg1) 80%, transparent); }
/* Cards: tinted by kind, like the PDF suite tool cards */
.cat-card { background: linear-gradient(180deg, color-mix(in srgb, var(--k1) 9%, var(--hub-card-top)), color-mix(in srgb, var(--k2) 4%, var(--hub-card-bot))); border-color: color-mix(in srgb, var(--k1) 22%, var(--hub-glass-edge)); }
.cat-card .cat-ic { background: linear-gradient(135deg, color-mix(in srgb, var(--k1) 18%, transparent), color-mix(in srgb, var(--k2) 14%, transparent)); color: var(--k1); border: 1px solid color-mix(in srgb, var(--k1) 25%, transparent); }
@media (max-width: 768px) {
  .hub-banner.hub-banner--full { min-height: 0; padding: 30px 14px 26px; }
  .hub-banner--full .hub-search { height: 52px; }
  .hub-live { display: none; }
  .hub-crumb { margin-bottom: 16px; }
  .hub-trust { margin-bottom: 20px; gap: 8px; }
  .hub-trust span { font-size: 11px; padding: 6px 10px; }
  .hub-banner--full .hub-nav a { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .hub-ring, .hub-live i { animation: none; } }
/* ===== Phase 6A-5: full-bleed detail, launch and maker heroes ===== */
.hub-banner.hub-banner--full.d-hero--full { min-height: 0; padding: 24px 20px 30px; margin-bottom: 24px; justify-content: center; text-align: left; }
.d-hero--full .hub-hero.d-hero-in { max-width: 1140px; width: 100%; align-items: stretch; justify-content: flex-start; gap: 16px; text-align: left; }
.d-hero--full .hub-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.d-hero--full .hub-top .hub-crumb { margin: 0; }
.d-hero--full .hub-top .hub-nav { justify-content: flex-end; }
.d-hero--full .hub-top .hub-nav a { padding: 7px 13px; font-size: 12px; }
.d-hero--full .d-title-row { align-items: flex-start; gap: 18px; }
.d-hero--full .d-title { margin-left: 0; flex: 1 1 auto; min-width: 0; }
.d-hero--full .d-title h1 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; margin: 6px 0 4px; }
.d-hero--full .cat-ic.big { width: 72px; height: 72px; font-size: 22px; border-radius: 20px; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--k1) 75%, transparent), 0 0 0 4px color-mix(in srgb, var(--k1) 14%, transparent); }
.d-hero--full .d-tagline { font-size: 15.5px; max-width: 760px; color: var(--sfx-ink-secondary); }
.d-hero--full .detail-maker { font-size: 13.5px; color: var(--sfx-muted); }
.d-hero--full .hub-badge { margin: 0; }
.d-hero--full .d-pills .hub-badge .v-shield { background: none; border: 0; box-shadow: none; padding: 0; }
.d-hero--launch { --k1: #F59E0B; --k2: #F97316; --hg1: #F59E0B; --hg2: #F97316; --hg3: #EF4444; }
.d-hero--launch .cat-ic.big { background: linear-gradient(135deg, #F59E0B, #F97316); }
.d-hero--full .d-actions { gap: 10px; }
.mk-title-row { align-items: center !important; }
.maker-banner--full .maker-av.big { width: 84px; height: 84px; font-size: 26px; border-radius: 22px; }
.launch-card { border-color: color-mix(in srgb, #F59E0B 38%, var(--sfx-border)); background: linear-gradient(180deg, color-mix(in srgb, #F59E0B 10%, var(--hub-card-top)), var(--hub-card-bot)); }
.hub-kinds { margin: 0 0 14px; }
.hub-kinds .filter-count { margin-left: auto; }
@media (max-width: 768px) {
  .hub-banner.hub-banner--full.d-hero--full { padding: 18px 14px 22px; }
  .d-hero--full .hub-top { flex-direction: column; align-items: flex-start; }
  .d-hero--full .hub-top .hub-nav { justify-content: flex-start; }
  .d-hero--full .d-title-row { gap: 12px; }
  .d-hero--full .cat-ic.big, .maker-banner--full .maker-av.big { width: 56px; height: 56px; font-size: 18px; border-radius: 16px; }
}
.d-hero--full .d-stat { padding: 5px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: color-mix(in srgb, var(--sfx-card-bg) 80%, transparent); border: 1px solid var(--sfx-border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Light art survives the generic .d-head card background */
.d-head.hub-banner.d-hero--full { background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Desktop_Light.webp'); background-color: #F8FBFE; background-size: cover; background-position: center; }
.d-head.hub-banner--mcp.d-hero--full { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Desktop_Light.webp'); }
html.dark .d-head.hub-banner.d-hero--full { background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Desktop_Dark.webp'); background-color: #040710; }
html.dark .d-head.hub-banner--mcp.d-hero--full { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Desktop_Dark.webp'); }
@media (max-width: 768px) {
  .d-head.hub-banner.d-hero--full { background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Mobile_Light.webp'); background-position: center top; }
  .d-head.hub-banner--mcp.d-hero--full { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Mobile_Light.webp'); }
  html.dark .d-head.hub-banner.d-hero--full { background-image: url('../img/Seoffix_AI_Hub_Hero_Background_Mobile_Dark.webp'); }
  html.dark .d-head.hub-banner--mcp.d-hero--full { background-image: url('../img/Seoffix_Products_MCP_Hero_Background_Mobile_Dark.webp'); }
}