:root {
  --bg: #050707;
  --bg-soft: #0a0f0f;
  --panel: #101718;
  --panel-2: #0c1112;
  --text: #f2f6ef;
  --muted: #aebdb7;
  --line: #253435;
  --green: #5fa768;
  --green-soft: #a6e58b;
  --orange: #d56b2e;
  --orange-soft: #ef8b47;
  --warn: #f0b36b;
  --error: #ff9b9b;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #13201b 0, #070a0a 42%, #050606 100%);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.52;
}

a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(32px, 3.7vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
h3 { font-size: 18px; margin-bottom: 8px; }

main { padding: 0 4vw 36px; }
.page { max-width: 1040px; margin: 0 auto; padding: 22px 0 46px; }
.narrow, .form-page { max-width: 720px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 4vw;
  background: rgba(7, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span { white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 760; }
.site-header nav a:hover { color: var(--text); }
.inline-form, .button-form { display: inline-flex; margin: 0; }
.nav-button { min-height: auto; padding: 7px 11px; }

.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid #2d3d3e;
  background: #172223;
  color: #edf5ef;
  text-decoration: none;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}
.btn.primary, button.primary { background: linear-gradient(135deg, var(--orange), #b64a1f); border-color: #e4824a; }
.btn:hover, button:hover { background: #223032; text-decoration: none; }

.panel, .card, .download-box, .video-card, .home-image-card, .home-strip article, .release-copy, .release-card, .cta, .terminal {
  background: linear-gradient(180deg, rgba(18, 27, 28, 0.95), rgba(10, 15, 16, 0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}
.panel { padding: 20px; }
.eyebrow, .status {
  color: var(--green-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 850;
  margin-bottom: 8px;
}
.status.packaging, .notice { color: var(--warn); }
.lead, .page-hero p, .plugin-hero p { font-size: 15px; color: #c4cec9; max-width: 720px; }
.muted, .note, .card p, .download-box p, .video-card p { color: var(--muted); }
.small-note { font-size: 12px; }
.buttons { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }

.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.section { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 26px 0; }
.compact-section { padding-top: 24px; }
.section-head { max-width: 760px; margin-bottom: 18px; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; max-width: none; }

.home-hero {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 430px;
  gap: 34px;
  align-items: center;
  padding: 34px 0 26px;
}
.home-copy h1 { max-width: 760px; }
.home-image-card { padding: 12px; }
.home-image-card img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.home-strip { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home-strip article { padding: 18px; }
.home-strip h2 { font-size: 21px; }

.page-hero { max-width: 1200px; margin: 0 auto; padding: 28px 0 18px; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 40px); }
.filter-bar { max-width: 1200px; margin: 0 auto 18px; display: flex; gap: 7px; flex-wrap: wrap; }
.filter-pill { min-height: auto; padding: 7px 11px; background: #101617; color: #dce7e0; border: 1px solid var(--line); font-size: 12px; font-weight: 820; }
.filter-pill.active, .filter-pill:hover { border-color: #6fbf76; background: #1e4d2b; }
.plugin-grid { max-width: 1200px; margin: 0 auto; }
.card { padding: 18px; }
.card.featured { border-color: rgba(212, 106, 47, 0.5); box-shadow: 0 0 0 1px rgba(212, 106, 47, 0.12), 0 14px 40px rgba(0, 0, 0, 0.24); }
.clickable-card { color: inherit; text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.clickable-card:hover { transform: translateY(-2px); border-color: rgba(160, 215, 139, 0.55); box-shadow: 0 0 0 1px rgba(160, 215, 139, 0.12), 0 18px 48px rgba(0, 0, 0, 0.32); }
.clickable-card:hover .card-action { color: var(--green-soft); }
.plugin-card { display: flex; flex-direction: column; min-height: 100%; }
.plugin-card h2 { font-size: 21px; margin-bottom: 8px; }
.product-card-header { display: grid; grid-template-columns: 82px 1fr; gap: 15px; align-items: center; }
.thumb-wrap { position: relative; }
.card-thumb { display: block; width: 82px; height: 82px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 4px 8px; font-size: 10px; font-weight: 900; letter-spacing: 0.05em; }
.free-badge { position: absolute; left: 6px; bottom: 6px; background: #1e4d2b; border: 1px solid #6fbf76; color: #dfffe0; }
.price-badge { border-radius: 999px; padding: 6px 9px; font-size: 11px; font-weight: 900; }
.free-price { background: #1e4d2b; color: #dfffe0; border: 1px solid #6fbf76; }
.tag-list { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.tag-list a, .tags span, .tag-list-static span, .release-tags a {
  border: 1px solid #344547;
  border-radius: 999px;
  padding: 5px 9px;
  color: #dce7e0;
  text-decoration: none;
  background: #0b1112;
  font-size: 12px;
  font-weight: 800;
}
.tag-list a:hover, .release-tags a:hover { border-color: #6fbf76; color: #fff; }
.card-footer, .plugin-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.card-action { font-weight: 850; text-decoration: none; color: #fff; }

.download-box { max-width: 1200px; padding: 18px; margin: 22px auto 0; }
.code-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.code-grid code, code { background: #070a0a; border: 1px solid var(--line); border-radius: 9px; padding: 7px; color: #d7f6d3; }

.row-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding: 13px 0; }
.row-card:first-of-type { border-top: 0; }
.admin-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px; }
form:not(.inline-form):not(.button-form) { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; }
.checkline { flex-direction: row; align-items: center; }
input, textarea, select { background: #0f1414; color: #f0f5ee; border: 1px solid #344547; border-radius: 9px; padding: 9px 10px; font: inherit; }
textarea { min-height: 88px; }
.error { color: var(--error); }
.success { color: var(--green-soft); }

.plugin-detail-page { max-width: 1200px; margin: 0 auto; padding-top: 22px; }
.release-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: stretch; padding: 24px 0 14px; }
.release-copy { padding: 30px; }
.release-copy h1 { font-size: clamp(34px, 4vw, 56px); max-width: 760px; }
.release-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 0; }
.release-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.release-card { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.release-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 15px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.release-facts { display: grid; gap: 6px; }
.release-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.release-facts div:first-child { border-top: 0; }
.release-facts span { color: var(--muted); font-size: 12px; }
.release-facts strong { text-align: right; }
.release-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 14px; }
.release-section { margin-bottom: 14px; }
.release-section h2 { font-size: clamp(22px, 2.3vw, 28px); }

.checkout-page { max-width: 820px; }
.checkout-panel { padding: 26px; }
.checkout-panel h1 { font-size: clamp(28px, 3.4vw, 38px); }
.checkout-list { display: grid; gap: 10px; margin: 20px 0; }
.checkout-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,12,13,.52); }
.checkout-item h2 { font-size: 19px; margin: 0 0 4px; }
.checkout-summary, .empty-state { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 17px; border: 1px solid rgba(160,215,139,.22); border-radius: 17px; background: linear-gradient(135deg, rgba(95,143,104,.14), rgba(8,12,13,.56)); }
.checkout-summary h2, .empty-state h2 { margin: 0 0 5px; }
.download-item .btn { white-space: nowrap; }

.video-card { max-width: 1200px; margin: 0 auto 24px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 20px; padding: 15px; align-items: center; }
.video-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.server-hero { max-width: 1200px; margin: 24px auto 0; }
.server-hero img { display: block; width: 100%; max-height: 280px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.server-copy-block { padding-top: 24px; }
.split { max-width: 1200px; margin: 0 auto 22px; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 14px; align-items: stretch; }
.terminal { background: #070a0a; padding: 22px; color: var(--green-soft); font-family: Consolas, Monaco, monospace; }
.terminal p { margin: 0 0 9px; }
.terminal p:last-child { margin-bottom: 0; }
.server-terminal { display: flex; flex-direction: column; justify-content: center; }
.cta { max-width: 1200px; margin: 22px auto 0; padding: 24px; }
.cta p { color: var(--muted); max-width: 720px; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 4vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Single-column reading width for legal / support pages. */
.legal-doc { max-width: 760px; margin: 0 auto; padding-bottom: 20px; }
.legal-doc h2 { margin-top: 26px; }
.legal-doc p, .legal-doc li { color: var(--muted); }
.legal-doc ul { padding-left: 20px; margin-top: 0; }
.legal-doc .btn { margin-top: 4px; }
.legal-meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.legal-note { font-size: 13px; color: var(--warn); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; }

@media (max-width: 980px) {
  .grid.three, .grid.two, .release-hero, .release-grid, .home-hero, .home-strip, .video-card, .split { grid-template-columns: 1fr; }
  .release-card { max-width: 340px; }
  .home-hero { min-height: auto; padding-top: 30px; }
  .home-image-card { max-width: 520px; }
  .plugin-detail-page { padding-top: 12px; }
  .server-hero img { max-height: none; }
}

@media (max-width: 700px) {
  body { font-size: 14px; }
  main { padding-left: 18px; padding-right: 18px; }
  .site-header, .row-card, .admin-heading, footer, .checkout-item, .checkout-summary, .empty-state { align-items: flex-start; flex-direction: column; }
  .site-header nav { gap: 11px; }
  .page { padding: 18px 0 42px; }
  .panel, .release-copy, .checkout-panel { padding: 26px; }
  .product-card-header { grid-template-columns: 70px 1fr; }
  .card-thumb { width: 70px; height: 70px; }
  .download-item .btn { width: 100%; }
}


.no-margin { margin-top: 0; }
.release-video-section { margin: 4px 0 14px; }
.embedded-release-video { max-width: 1200px; margin-bottom: 14px; }
@media (min-width: 1180px) {
  .plugin-grid { grid-template-columns: repeat(3, minmax(300px, 1fr)); }
}

@media (min-width: 1500px) {
  .page, .section, .home-hero, .home-strip, .page-hero, .filter-bar, .plugin-grid, .plugin-detail-page, .download-box, .video-card, .server-hero, .split, .cta { max-width: 1240px; }
  .home-hero { grid-template-columns: minmax(0, 0.9fr) 460px; }
}

/* Marketplace-style product detail pass */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 12px;
}
.breadcrumb a { color: #dce7e0; text-decoration: none; }
.breadcrumb a:hover { color: var(--green-soft); }
.market-hero {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
  padding: 10px 0 14px;
}
.market-media-card,
.market-copy-card,
.market-side-card {
  background: linear-gradient(180deg, rgba(18,27,28,.95), rgba(10,15,16,.97));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.24);
}
.market-media-card { padding: 14px; }
.market-main-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid var(--line);
  display: block;
}
.market-thumb-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.mini-shot {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0b1112;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  overflow: hidden;
}
.mini-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-shot.active { border-color: rgba(166,229,139,.55); }
.market-copy-card { padding: 24px; }
.market-copy-card h1 { font-size: clamp(34px, 4vw, 54px); }
.detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--muted);
}
.detail-rating strong { color: #fff; }
.detail-rating span { color: #f2b84b; letter-spacing: .08em; }
.detail-rating small { color: var(--muted); }
.market-side-card { padding: 18px; display: flex; flex-direction: column; gap: 13px; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-line span { color: var(--muted); }
.price-line strong { font-size: 28px; color: var(--green-soft); }
.side-action-state { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font-weight: 850; text-align: center; }
.side-action-state.ready { background: rgba(36, 94, 48, .24); border-color: rgba(111,191,118,.45); color: #dfffe0; }
.side-action-state.preview { background: rgba(210,130,70,.14); border-color: rgba(240,179,107,.32); color: var(--warn); }
.compact-facts div { align-items: flex-start; }
.full { width: 100%; }
.button-form.full { display: block; }
.release-tabs {
  position: sticky;
  top: 61px;
  z-index: 10;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 8px 0 18px;
  padding: 12px 16px;
  background: rgba(7, 10, 10, .92);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}
.release-tabs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
}
.release-tabs a:hover { color: var(--green-soft); }
.detail-content-grid { margin-top: 0; }
.market-section { scroll-margin-top: 130px; }
.support-board { display: grid; grid-template-columns: minmax(0, .95fr) minmax(300px, 1fr); gap: 18px; align-items: start; }
.thread-list { display: grid; gap: 10px; }
.thread-list article {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  background: rgba(8,12,13,.54);
}
.thread-list strong { display: block; margin-bottom: 4px; }
.thread-list span { color: var(--muted); }
.related-section { max-width: 1200px; margin: 26px auto 0; }
.related-grid { max-width: none; }
.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 0;
}
.trust-row strong { color: #f2b84b; letter-spacing: .08em; font-size: 13px; }
.soft-state {
  border: 1px solid rgba(166,229,139,.25);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 850;
  background: rgba(95,167,104,.11);
}
.clean-thumb .free-badge, .plugin-card .free-badge { display: none; }

@media (max-width: 1100px) {
  .market-hero { grid-template-columns: 300px minmax(0, 1fr); }
  .market-side-card { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .market-hero, .support-board { grid-template-columns: 1fr; }
  .market-media-card { max-width: 380px; }
  .release-tabs { overflow-x: auto; top: 0; }
}

/* Product title balance repair */
.market-copy-card h1 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.market-copy-card {
  min-width: 0;
}
.market-copy-card .lead {
  max-width: 52ch;
}
@media (min-width: 1200px) {
  .plugin-detail-page.marketplace-detail { max-width: 1240px; }
  .market-hero { grid-template-columns: 360px minmax(420px, 1fr) 290px; }
}
@media (max-width: 1100px) {
  .market-copy-card h1 { font-size: clamp(30px, 5vw, 44px); }
}

/* Phase 1: real per-plugin tabs (Codefling-style shell) */
.release-tab {
  min-height: auto;
  padding: 6px 2px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
}
.release-tab:hover { background: transparent; color: var(--green-soft); }
.release-tab.active { color: var(--text); border-bottom-color: var(--orange-soft); }
.release-tab:focus-visible { outline: 2px solid var(--green-soft); outline-offset: 3px; }

.tab-panels.tabs-enabled .tab-panel { display: none; }
.tab-panels.tabs-enabled .tab-panel.active { display: block; }

.changelog-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.changelog-entry { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: rgba(8, 12, 13, .54); }
.changelog-entry p { margin: 8px 0 0; color: var(--muted); }
.changelog-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.changelog-head::-webkit-details-marker { display: none; }
.changelog-head::before { content: "\25B8"; color: var(--muted); font-size: 11px; line-height: 1; transition: transform .15s ease; }
.changelog-entry[open] > .changelog-head::before { transform: rotate(90deg); }
.changelog-head strong { font-size: 15px; }
.changelog-date { color: var(--muted); font-size: 12px; margin-left: auto; }
.changelog-hint { flex-basis: 100%; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.changelog-entry[open] > .changelog-head .changelog-hint { display: none; }
.changelog-head:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Reviews (owner-gated, moderated). */
.review-summary { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 14px; }
.review-avg { font-size: 26px; letter-spacing: -0.03em; }
.review-stars { color: var(--warn); letter-spacing: 1px; }
.review-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.review-item { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: rgba(8, 12, 13, .54); }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-meta { color: var(--muted); font-size: 12px; margin-left: auto; }
.review-body { margin: 0; color: var(--muted); white-space: pre-wrap; }
.review-form { display: grid; gap: 10px; max-width: 520px; margin-top: 6px; }
.review-form label { display: grid; gap: 4px; font-size: 14px; }
.review-form textarea, .review-form input, .review-form select { font: inherit; }
.review-mod-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.review-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.mod-form { display: flex; flex-direction: column; gap: 4px; }
.mod-form input { font: inherit; }

/* Admin-only release-file health badge (not used on public pages). */
.file-health { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.file-health.ready { background: #14331c; color: #a6e58b; border-color: #2f6b3a; }
.file-health.invalid, .file-health.missing { background: #371616; color: #ff9b9b; border-color: #6b2f2f; }
.file-health.none { background: #1a1f20; color: var(--muted); }

.coming-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(240, 179, 107, .4);
  background: rgba(210, 130, 70, .14);
  color: var(--warn);
  font-size: 9px;
  letter-spacing: .12em;
  vertical-align: middle;
}

/* Polish: paid price badge + grouped account nav */
.paid-price { background: rgba(210, 130, 70, .16); color: var(--orange-soft); border: 1px solid rgba(240, 179, 107, .45); }
.nav-account { display: inline-flex; align-items: center; gap: 13px; margin-left: auto; }
@media (max-width: 700px) { .nav-account { margin-left: 0; gap: 11px; flex-wrap: wrap; } }
