/*! Satnam Siri WaheGuru Sahib Ji */
:root { --maxw: 1280px; }

.fg-main { padding-top: 30px; padding-bottom: 72px; }
.fg-main svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.fg-head { display: flex; align-items: flex-start; gap: 16px; }
.fg-head-txt { flex: 1; min-width: 0; }
.fg-ic { width: 42px; height: 42px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); }
.fg-ic .ic { width: 22px; height: 22px; }
.fg-head h1 { margin: 0; font-size: clamp(1.4rem, 1rem + 1.9vw, 2rem); letter-spacing: -.02em; }
.fg-head p { margin: 6px 0 0; color: var(--muted); }
.fg-head .pill-row { margin-top: 6px; flex: none; display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end; max-width: 46%; }

.fg-ghost { border-color: var(--border); background: var(--bg-2); }
.fg-ghost:hover { border-color: var(--accent); color: var(--accent); }

.fg-landing { margin-top: 22px; padding: 30px 0; }
.fg-drop {
  border: 2px dashed color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-soft), transparent 70%);
  min-height: 280px; display: grid; place-items: center; text-align: center; padding: 34px 20px;
}
.fg-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.fg-drop-ic { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 10px; }
.fg-drop h2 { margin: 0; font-size: 1.22rem; letter-spacing: -.01em; }
.fg-drop p { margin: 7px 0 0; color: var(--muted); font-size: .92rem; }
.fg-drop-actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fg-drop-note { font-size: .84rem; }

.fg-spine {
  margin-top: 22px; padding: 12px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  position: sticky; top: 66px; z-index: 10;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md);
}
.fg-art { width: 44px; height: 44px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--bg-3); display: grid; place-items: center; overflow: hidden; flex: none; }
.fg-art img, .fg-art canvas { max-width: 100%; max-height: 100%; display: block; }
.fg-name { font-weight: 600; font-size: .95rem; word-break: break-all; }
.fg-meta { font-size: .76rem; color: var(--muted); }
.fg-truth { display: flex; align-items: flex-end; gap: 14px; padding: 0 16px;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.fg-truth figure { margin: 0; text-align: center; }
.fg-truth figcaption { font-size: .66rem; color: var(--muted); margin-top: 3px; }
.fg-truth-label { font-size: .7rem; color: var(--muted); align-self: center; max-width: 86px; line-height: 1.25; }
.fg-shot { display: grid; place-items: center; height: 48px; }
.fg-shot canvas { display: block; image-rendering: pixelated; }
.fg-spine-actions { margin-left: auto; display: flex; gap: 8px; }

.fg-issues { margin-top: 14px; border-radius: 12px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c-amber) 42%, var(--border));
  background: color-mix(in srgb, var(--c-amber) 8%, var(--bg-2)); }
.fg-issues.is-clean { border-color: color-mix(in srgb, var(--ok) 34%, var(--border));
  background: var(--ok-soft); }
.fg-issues.is-clean .fg-issues-head { color: var(--ok-ink); }
.fg-issues.is-clean .fg-passed { border-top-color: color-mix(in srgb, var(--ok) 24%, var(--border)); }
.fg-issues-head { display: flex; align-items: center; gap: 9px; padding: 11px 15px;
  font-weight: 600; font-size: .9rem; color: var(--amber-ink); }
.fg-issues-head svg { width: 17px; height: 17px; }
.fg-issue { display: flex; align-items: flex-start; gap: 11px; padding: 12px 15px;
  border-top: 1px solid color-mix(in srgb, var(--c-amber) 22%, var(--border)); }
.fg-issue svg { width: 17px; height: 17px; margin-top: 2px; flex: none; color: var(--amber-ink); }
.fg-issue.is-error svg { color: var(--red-ink); }
.fg-issue-body { min-width: 0; }
.fg-issue-title { font-weight: 600; font-size: .9rem; }
.fg-issue-why { font-size: .83rem; color: var(--muted); margin-top: 2px; }
.fg-passed { padding: 10px 15px; font-size: .83rem; color: var(--ok-ink);
  border-top: 1px solid color-mix(in srgb, var(--c-amber) 22%, var(--border)); }
.fg-passed svg { width: 16px; height: 16px; display: inline-block;
  vertical-align: -3px; margin-right: 8px; }

.fg-ask { margin-top: 14px; padding: 12px 16px 14px; display: grid; gap: 11px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; }
.fg-ask-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fg-ask-label { font-weight: 700; font-size: .92rem; letter-spacing: -.01em; }
.fg-ask-count { font-size: .78rem; color: var(--muted); margin-right: auto; }
.fg-details { margin-top: 14px; padding-bottom: 16px; }
.fg-details .fg-grid { padding: 0 16px; }
.fg-details .fg-metafields-note { padding: 0 16px; margin: 10px 0 14px; }
.fg-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.fg-chip { font-size: .83rem; font-weight: 600; padding: 6px 12px; border-radius: 7px;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px; }
.fg-chip svg { width: 15px; height: 15px; flex: none; }
.fg-chip:hover { border-color: var(--accent); color: var(--accent); }
.fg-chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink-on-soft, var(--purple-ink));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); }
.fg-chip.is-previewing { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.fg-more { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 7px;
  border: 1px dashed var(--border); color: var(--muted); }
.fg-more:hover, .fg-more[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); border-style: solid; }
.fg-chips-more { margin-top: 10px; padding: 12px 16px; background: var(--bg-3);
  border: 1px solid var(--border); border-radius: 12px; }
.fg-detail-toggle { margin-left: auto; font-size: .83rem; font-weight: 600; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px; }

.fg-metafields { margin-top: 12px; padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 12px; }
.fg-metafields-note { margin: 0 0 12px; font-size: .84rem; color: var(--muted); }
.fg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fg-field { display: flex; flex-direction: column; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.fg-field > span { display: flex; align-items: center; gap: 6px; }
.fg-field .ic { width: 14px; height: 14px; flex: none; }
.fg-field-wide { grid-column: span 2; }
.fg-field input { padding: 8px 11px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--bg-3); font-size: .9rem; font-weight: 400; color: var(--text); }
.fg-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.fg-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.fg-pane-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px 0; flex-wrap: wrap; }
.fg-pane-head .fg-pane-note { margin-left: auto; }
.fg-pane-note.is-strong { font-weight: 700; color: var(--muted); }
.fg-pane-head-preview { display: grid; grid-template-columns: 186px minmax(0, 1fr) 236px;
  gap: 14px; align-items: center; flex-wrap: nowrap; }
.fg-pane-head-files { display: grid; grid-template-columns: 250px minmax(0, 1fr);
  gap: 14px; align-items: center; flex-wrap: nowrap; }
.fg-pane-tail { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fg-slot { font-size: .8rem; font-weight: 700; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-pane-tail .fg-slot:first-child { margin-right: auto; }
.fg-select { font-size: .8rem; font-weight: 600; padding: 5px 9px; border-radius: 7px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--text); }
.fg-select:hover:enabled { border-color: var(--accent); }
.fg-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fg-select:disabled { opacity: .55; }
.fg-pane-head h2 { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.fg-pane-head h2 .ic { width: 15px; height: 15px; }
.fg-pane-note { font-size: .78rem; color: var(--muted); }
.fg-tabs { display: flex; gap: 6px; padding: 11px 16px 13px; flex-wrap: wrap; }
.fg-tab { font-size: .83rem; font-weight: 600; padding: 6px 11px; border-radius: 7px;
  border: 1px solid var(--border); color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; }
.fg-tab svg { width: 15px; height: 15px; flex: none; }
.fg-tab[aria-selected="true"] { background: var(--text); color: var(--bg-2); border-color: var(--text); }
.fg-gem { margin-top: 14px; display: grid; gap: 14px; }
.fg-preview-body { display: grid; grid-template-columns: 186px minmax(0, 1fr) 236px; gap: 14px; margin: 12px 16px 0; }
.fg-centre { display: grid; gap: 0; min-width: 0; align-content: start; }

.fg-roles { border-right: 1px solid var(--border-2); padding-right: 12px; }
.fg-col-head { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.fg-roles [role="tablist"] { display: grid; gap: 3px; }
.fg-role { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px;
  border-radius: 7px; border: 1px solid transparent; font-size: .82rem; font-weight: 600; color: var(--muted); }
.fg-role svg { width: 15px; height: 15px; flex: none; align-self: flex-start; margin-top: 3px; }
.fg-role-name { flex: 1; text-align: left; }
.fg-role-n { font-size: .72rem; font-weight: 400; color: var(--faint);
  align-self: flex-start; margin-top: 4px; }
.fg-role:hover { background: var(--bg-3); color: var(--accent); }
.fg-role[aria-selected="true"] { background: var(--accent-soft); color: var(--purple-ink);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border)); }
.fg-role[aria-selected="true"] .fg-role-n { color: var(--purple-ink); }
.fg-strip { display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 12px; min-height: calc(var(--fg-two, 66px) + 22px);
  background: var(--bg-3); border: 1px solid var(--border-2); border-bottom: 0;
  border-radius: 10px 10px 0 0; }
.fg-tabs-sub { padding: 0; flex: 1; min-width: 0; overflow: hidden;
  transition: max-height .3s ease; }
.fg-strip.is-clipped .fg-tabs-sub {
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); }
.fg-strip-more { flex: none; align-self: center; font-size: .74rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px 4px 8px; display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-2); white-space: nowrap; }
.fg-strip-more:hover { color: var(--text); border-color: var(--accent); }
.fg-strip-more .ic { width: 13px; height: 13px; transition: transform .3s ease; }
.fg-strip-more[aria-expanded="true"] .ic { transform: rotate(180deg); }
.fg-strip-more.is-off { visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .fg-tabs-sub, .fg-strip-more .ic { transition: none; }
}

.fg-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fg-card-pick { display: grid; gap: 5px; align-content: start; text-align: left; padding: 12px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--bg-3); }
.fg-card-pick:hover { border-color: var(--accent); }
.fg-card-head { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.fg-card-head svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.fg-card-blurb { font-size: .74rem; color: var(--muted); }
.fg-card-n { font-size: .7rem; font-weight: 600; color: var(--faint);
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 2px 8px; justify-self: start; margin-top: 2px; }
.fg-card-pick[aria-pressed="true"] { background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); }
.fg-card-pick[aria-pressed="true"] .fg-card-head { color: var(--purple-ink); }
.fg-card-pick[aria-pressed="true"] .fg-card-head svg { color: var(--accent); }
.fg-card-pick[aria-pressed="true"] .fg-card-n { color: var(--purple-ink);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.fg-card-pick.is-part .fg-card-n { border-style: dashed; }

.fg-review { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.fg-review span { margin-right: auto; }
.fg-main [hidden] { display: none !important; }
.fg-review-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-3); }
.fg-review-h { font-size: .7rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px; }
.fg-review-item { display: flex; align-items: center; gap: 7px; font-size: .8rem; padding: 3px 0; }
.fg-review-item input { width: 14px; height: 14px; accent-color: var(--accent); }

.fg-status { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.fg-status.is-clean { border-color: color-mix(in srgb, var(--ok) 34%, var(--border)); background: var(--ok-soft); }
.fg-status.is-warn { border-color: color-mix(in srgb, var(--c-amber) 42%, var(--border));
  background: color-mix(in srgb, var(--c-amber) 8%, var(--bg-2)); }
.fg-status-line { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 15px;
  font-size: .88rem; font-weight: 600; text-align: left; }
.fg-status.is-clean .fg-status-line { color: var(--ok-ink); }
.fg-status.is-warn .fg-status-line { color: var(--amber-ink); }
.fg-status-line .ic { width: 17px; height: 17px; flex: none; }
.fg-status-line .fg-status-more { margin-left: auto; font-weight: 400; font-size: .78rem;
  display: inline-flex; align-items: center; gap: 6px; flex: none; }
.fg-status-line .fg-status-more .ic { width: 14px; height: 14px; }
.fg-status-chev { width: 15px; height: 15px; transition: transform .15s ease; }
.fg-status-line[aria-expanded="true"] .fg-status-chev { transform: rotate(180deg); }
.fg-status-body { border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.fg-status-body .fg-issue-why { max-width: none; }
.fg-assets .fg-count { flex: none; }
.fg-files-body { --fg-panel: min(56vh, 560px);
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px;
  margin: 12px 16px 0; align-items: stretch; }
.fg-files { display: grid; gap: 2px; align-content: start;
  height: var(--fg-panel); overflow-y: auto; padding-right: 4px; }
.fg-frow { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px;
  font-size: .82rem; cursor: pointer; border: 1px solid transparent; }
.fg-frow:hover { background: var(--bg-3); }
.fg-frow.is-current { background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); }
.fg-frow.is-muted > svg, .fg-frow.is-muted .fg-cb { opacity: .5; }
.fg-frow.is-muted .fg-fname, .fg-frow.is-muted .fg-fn { color: var(--muted); }
.fg-frow > svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.fg-frow input { width: 15px; height: 15px; accent-color: var(--accent); flex: none; margin: 0; }
.fg-cb { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin: -5px -4px -5px -6px; border-radius: 6px; cursor: pointer; }
.fg-cb:hover { background: var(--bg-2); }
.fg-fname { flex: 1; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.fg-fn { font-size: .72rem; color: var(--muted); }

.fg-thumbs { border: 1px solid var(--border-2); border-radius: 10px; background: var(--bg-3);
  padding: 12px 14px; height: var(--fg-panel); overflow-y: auto; }
.fg-thumbs-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: .8rem; }
.fg-thumbs-head b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.fg-thumbs-head span { color: var(--muted); font-size: .74rem; }
.fg-thumb-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.fg-thumb { display: grid; gap: 3px; justify-items: center; width: 92px; padding: 8px 4px;
  border-radius: 8px; border: 1px solid transparent; background: none; }
.fg-thumb:hover { background: var(--bg-2); border-color: var(--accent); }
.fg-thumb.is-off .fg-thumb-art { opacity: .35; }
.fg-thumb.is-off .fg-thumb-name, .fg-thumb.is-off .fg-thumb-meta { color: var(--muted); }
.fg-thumb-art { height: 60px; display: grid; place-items: center; }
.fg-thumb-art canvas { display: block; image-rendering: pixelated;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 3px; }
.fg-thumb-art svg { width: 26px; height: 26px; color: var(--muted); }
.fg-thumb-art.on-dark canvas { background: #1e2637; border-color: #38425a; }
.fg-thumb-name { font-size: .66rem; color: var(--text); max-width: 86px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-thumb-meta { font-size: .62rem; color: var(--muted); }
.fg-zoom-one { display: grid; justify-items: center; gap: 6px; font-size: .7rem; color: var(--muted); }
.fg-stage { border-radius: 0 0 10px 10px; background: var(--bg-3);
  border: 1px solid var(--border-2); border-top: 1px solid var(--border-2);
  height: 420px; padding: 20px; display: grid; place-items: center; overflow: hidden; }
.fg-mock { transform-origin: center; }

.fg-zoom { border: 1px solid var(--border); border-radius: 12px; padding: 0; background: var(--bg-2);
  color: var(--text); max-width: min(94vw, 1120px); box-shadow: var(--shadow-md); }
.fg-zoom::backdrop { background: rgba(15, 23, 41, .55); }
.fg-zoom-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--border-2); }
.fg-zoom-head b { font-size: .88rem; margin-right: auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fg-zoom[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: 88vh; max-width: min(92vw, 900px); overflow: hidden; }
.fg-zoom-body { padding: 22px; display: grid; place-items: center; gap: 10px;
  overflow: auto; background: var(--bg-3); min-height: 0; }
.fg-zoom-foot { margin: 0; padding: 10px 16px; font-size: .76rem; color: var(--muted);
  border-top: 1px solid var(--border-2); background: var(--bg-2); }
.fg-zoom-x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--muted); flex: none; }
.fg-zoom-x:hover { border-color: var(--accent); color: var(--accent); }
.fg-zoom-x .ic { width: 15px; height: 15px; }
.fg-zoom-body canvas { display: block; image-rendering: pixelated; max-width: none;
  border: 1px solid var(--border); border-radius: 3px; background: var(--bg-2); }
.fg-zoom-body.on-dark { background: #141a26; }
.fg-zoom-body.on-dark canvas { background: #1e2637; border-color: #38425a; }
.fg-zoom-body.on-dark .fg-zoom-one, .fg-zoom-body.on-dark .fg-zoom-note { color: #b9c2d4; }
.fg-zoom-note { font-size: .76rem; color: var(--muted); }

.fg-viewing { display: grid; gap: 10px; align-content: start; }
.fg-v-card { padding: 11px 13px; border-radius: 9px; background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border)); }
.fg-v-card b { font-size: .86rem; }
.fg-v-card p { margin: 3px 0 0; font-size: .78rem; color: var(--muted); }
.fg-v-facts { border: 1px solid var(--border); border-radius: 9px; }
.fg-v-kv { margin: 0; padding: 4px 13px 8px; border: 0; border-radius: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; }
.fg-v-kv dt { font-size: .72rem; color: var(--muted); padding: 6px 0;
  border-bottom: 1px solid var(--border-2); }
.fg-v-kv dd { margin: 0; font-size: .74rem; font-weight: 600; text-align: right; padding: 6px 0;
  border-bottom: 1px solid var(--border-2); word-break: break-all; }
.fg-v-kv dt:last-of-type, .fg-v-kv dd:last-of-type { border-bottom: 0; }
.fg-v-checks { padding: 9px 13px 11px; border: 0;
  border-top: 1px solid var(--border-2); margin: 0 13px; padding-left: 0; padding-right: 0; }
.fg-v-h { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.fg-v-row { display: flex; align-items: flex-start; gap: 7px; font-size: .75rem; line-height: 1.4; padding: 3px 0; }
.fg-v-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; margin-top: 5px; }
.fg-v-row.is-ok .fg-v-dot { background: var(--ok); }
.fg-v-row.is-warn .fg-v-dot { background: var(--c-amber); }
.fg-v-row.is-warn .fg-v-t { color: var(--amber-ink); }
.fg-v-t { flex: 1; color: var(--muted); }
.fg-v-m { font-size: .68rem; color: var(--faint); font-family: ui-monospace, Menlo, monospace; white-space: nowrap; }
.fg-v-why { font-size: .76rem; color: var(--muted); }
.fg-v-why summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 4px 0; }
.fg-v-why p { margin: 4px 0 12px; line-height: 1.5; }

.fg-sizes { margin: 12px 0 0; border-top: 1px solid var(--border-2); padding-top: 10px; }
.fg-sizes-toggle { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px;
  border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.fg-sizes-toggle:hover { background: var(--bg-3); color: var(--accent); }
.fg-sizes-toggle .ic { width: 15px; height: 15px; }
.fg-sizes-n { margin-left: auto; font-weight: 400; font-size: .74rem; color: var(--faint); }
.fg-sizes-chev { transition: transform .15s ease; }
.fg-sizes-toggle[aria-expanded="true"] .fg-sizes-chev { transform: rotate(180deg); }
.fg-sizes-body { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end;
  padding: 14px 10px 4px; }
.fg-size { margin: 0; text-align: center; }
.fg-size canvas { display: block; margin: 0 auto 5px; image-rendering: pixelated;
  background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 3px; }
.fg-size figcaption { font-size: .66rem; color: var(--muted); }
.fg-mock { display: grid; place-items: center; gap: 14px; min-width: 0; width: 100%; }

.fg-screen { padding: 12px 16px 16px; }
.fg-facts { margin: 0; max-width: 62ch; }
.fg-facts-line { margin: 0 0 5px; font-size: .74rem; line-height: 1.5; color: var(--muted); }
.fg-facts-line:last-child { margin-bottom: 0; }
.fg-facts-line b { font-weight: 600; color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.fg-mock.is-loose { gap: 18px; }
.fg-mock > .fg-facts { width: 100%; max-width: 560px; padding: 12px 0 0;
  border-top: 1px solid var(--border); }
.fg-caption { padding: 11px 2px 18px; font-size: .84rem; color: var(--muted); margin: 0; }
.fg-caption b { color: var(--text); }

.fg-bulk { display: flex; align-items: center; gap: 8px; padding: 0 16px 10px; border-bottom: 1px solid var(--border-2); }
.fg-mini { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-2); }
.fg-mini:hover { border-color: var(--accent); color: var(--accent); }
.fg-mini { display: inline-flex; align-items: center; gap: 6px; }
.fg-mini .ic { width: 14px; height: 14px; flex: none; }
.fg-mini-chev { transition: transform .15s ease; }
.fg-mini[aria-expanded="true"] .fg-mini-chev { transform: rotate(180deg); }
.fg-count { margin-left: auto; font-size: .78rem; color: var(--muted); }

.fg-grp { margin-top: 6px; }
.fg-grp-head { display: flex; align-items: center; gap: 9px; padding: 4px 4px 4px 10px;
  border-radius: 7px; background: var(--bg-3); cursor: pointer; }
.fg-grp-head:hover { background: color-mix(in srgb, var(--accent) 9%, var(--bg-3)); }
.fg-grp-head > svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.fg-grp-head:hover > svg { color: var(--accent); }
.fg-folder { font-weight: 700; font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer; }
.fg-grp-toggle { margin-left: auto; display: flex; align-items: center; gap: 6px;
  padding: 5px 8px; border-radius: 6px; font-size: .74rem; color: var(--muted); }
.fg-grp-toggle:hover { color: var(--accent); background: var(--bg-2); }
.fg-grp-toggle svg { width: 15px; height: 15px; transition: transform .15s ease; }
.fg-grp-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.fg-grp-n { font-size: .74rem; color: var(--muted); }
.fg-grp.is-muted .fg-grp-head { background: transparent; border: 1px dashed var(--border); }
.fg-grp.is-muted .fg-folder, .fg-grp.is-muted .fg-grp-n { color: var(--muted); }
.fg-grp.is-muted .fg-grp-body { opacity: .62; }

.fg-size { display: grid; justify-items: center; gap: 5px; padding: 6px; border-radius: 8px;
  border: 1px solid transparent; background: none; font-size: .66rem; color: var(--muted); }
.fg-size:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-2); }
.fg-size canvas { display: block; image-rendering: pixelated;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 3px; }
.fg-size.is-capped canvas { border-style: dashed; }

.fg-row { display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 26px; border-radius: 7px; font-size: .85rem; }
.fg-row:hover { background: var(--bg-3); }
.fg-row.is-on { background: var(--accent-soft); }
.fg-row .fg-nm { font-weight: 600; }
.fg-row .fg-sz { margin-left: auto; font-size: .75rem; color: var(--muted); }
.fg-info { width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--border);
  font-size: .72rem; font-weight: 700; line-height: 1; display: grid; place-items: center;
  color: var(--muted); flex: none; }
.fg-info:hover, .fg-info[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.fg-detail { margin: 0 10px 6px 36px; padding: 9px 11px; border-radius: 7px; background: var(--bg-3);
  border-left: 3px solid var(--accent); font-size: .8rem; color: var(--muted); }
.fg-detail b { color: var(--text); }
.fg-files input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--accent); flex: none; margin: 0; cursor: pointer; }

.fg-readme-note { margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border-2); }
.fg-readme-note { margin: 14px 16px 16px; padding: 10px 12px; border-radius: 10px; font-size: .8rem;
  background: var(--ok-soft); color: var(--ok-ink);
  border: 1px solid color-mix(in srgb, var(--ok) 34%, var(--border)); }

.fg-browser { width: 100%; max-width: 620px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--shadow-md); }
.fg-browser .fg-bar { display: flex; gap: 7px; align-items: flex-end; padding: 9px 9px 0; background: var(--bg-3); }
.fg-browser .fg-tabmock { display: flex; align-items: center; gap: 7px; background: var(--bg-2);
  border-radius: 7px 9px 0 0; padding: 8px 13px; font-size: .8rem; max-width: 240px; }
.fg-browser .fg-tabmock span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-browser .fg-urlbar { margin: 8px 9px; padding: 6px 11px; border-radius: 999px;
  background: var(--bg-3); font-size: .76rem; color: var(--muted); }
.fg-browser .fg-page { padding: 14px; display: grid; gap: 8px; }
.fg-browser .fg-ln { height: 9px; border-radius: 5px; background: var(--bg-3); }
.fg-hl { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.fg-phone { width: 210px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-2);
  padding: 20px 16px 26px; box-shadow: var(--shadow-md); text-align: center; }
.fg-masks { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fg-mask { text-align: center; font-size: .68rem; color: var(--muted); }
.fg-mask canvas { display: block; margin: 0 auto 5px; background: var(--bg-3); }
.fg-mask-circle canvas { border-radius: 50%; }
.fg-mask-squircle canvas { border-radius: 28%; }
.fg-mask-rounded canvas { border-radius: 18%; }

.fg-social { width: 100%; max-width: 460px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-2); }
.fg-social .fg-og { display: block; width: 100%; background: var(--bg-3); }
.fg-social .fg-og-meta { padding: 10px 13px; font-size: .82rem; }
.fg-social .fg-og-meta b { display: block; }
.fg-social .fg-og-meta span { color: var(--muted); font-size: .76rem; }

.fg-searchrow { width: 100%; max-width: 520px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 9px; padding: 14px 16px; }
.fg-searchrow .fg-sr-top { display: flex; align-items: center; gap: 9px; }
.fg-searchrow .fg-sr-site { font-size: .82rem; }
.fg-searchrow .fg-sr-title { color: var(--accent); font-size: 1.02rem; margin-top: 6px; }
.fg-searchrow .fg-sr-desc { color: var(--muted); font-size: .84rem; margin-top: 3px; }

.fg-ghost-sq, .fg-ghosticon { background: var(--border); border-radius: 20%; }
.fg-app-ghost { opacity: .55; }
.fg-toolbar { display: flex; align-items: center; gap: 9px; padding: 8px 9px; }
.fg-urlbar-grow { flex: 1; margin: 0; }

.fg-phone { width: 250px; height: 470px; border: 8px solid #252b34; border-radius: 38px;
  background: linear-gradient(180deg, #c8dcff, #eff4ff 45%, #d9e4ff);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .34); position: relative; overflow: hidden; color: #111827; }
.fg-phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 18px; border-radius: 11px; background: #161a20; }
.fg-phone-time { display: none; }
.fg-appgrid { padding: 54px 18px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 6px; }
.fg-app { text-align: center; font-size: .5rem; color: #273244; }
.fg-app canvas, .fg-app img, .fg-app .fg-ghosticon { width: 42px; height: 42px; border-radius: 12px;
  background: #fff; display: block; margin: 0 auto 5px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(44, 58, 83, .18); }
.fg-app .fg-ghosticon { background: #f5d788; }
.fg-app:nth-child(3) .fg-ghosticon { background: #f49f9f; }
.fg-app:nth-child(4) .fg-ghosticon { background: #8fd7bd; }
.fg-app span { display: block; max-width: 52px; margin: 0 auto; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.fg-phone-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.94);
  border-radius: 12px; padding: 9px 11px; font-size: .6rem; color: #27324;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .15); }
.fg-phone-sheet { position: absolute; left: 14px; right: 14px; top: 52px; background: rgba(255,255,255,.96);
  border-radius: 15px; padding: 12px; box-shadow: 0 7px 20px rgba(0, 0, 0, .15); }
.fg-phone-store { padding: 56px 18px 18px; }

.fg-dock { display: flex; gap: 12px; align-items: flex-end; padding: 12px 16px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); }
.fg-dockitem { width: 54px; height: 54px; display: grid; place-items: center; }
.fg-dockitem.fg-ghost-sq { border-radius: 22%; }

.fg-tiles { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.fg-tile { background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px;
  padding: 14px; display: grid; gap: 8px; justify-items: center; font-size: .68rem; color: var(--muted); }
.fg-tile-wide { min-width: 200px; }

.fg-store { width: 100%; max-width: 420px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; }
.fg-store-head { display: flex; gap: 14px; align-items: center; }
.fg-store-txt { display: grid; gap: 3px; font-size: .8rem; }
.fg-store-txt span { color: var(--muted); font-size: .74rem; }
.fg-store-txt em { font-style: normal; font-weight: 700; color: var(--accent); font-size: .76rem; }
.fg-shots { display: flex; gap: 8px; margin-top: 14px; }
.fg-shot-ph { flex: 1; height: 62px; border-radius: 7px; background: var(--bg-3); }

.fg-tv { width: min(560px, 100%); aspect-ratio: 16 / 9; border: 11px solid #262b32; border-radius: 12px;
  background: linear-gradient(160deg, #152035, #0f1217 55%, #12171f);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .42); padding: 26px; color: #fff; }
.fg-tv-label { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.fg-tv-row { display: flex; gap: 14px; align-items: center; margin-top: 34px; }
.fg-tv-tile { width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; background: #252c36;
  border: 1px solid #333c49; display: grid; place-items: center; color: #95a0ad; font-size: .62rem; flex: none; }
.fg-tv-tile.fg-hl { width: 128px; border-color: var(--accent); overflow: hidden; outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.fg-tv-tile.fg-hl img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.fg-tv-tile.fg-ghost-sq { background: #252c36; border-radius: 10px; }

.fg-watchwrap { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.fg-watch { width: 190px; height: 226px; border: 10px solid #272c33; border-radius: 46px; background: #050607;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .4); display: grid; place-items: center; position: relative; }
.fg-watch::after { content: ""; position: absolute; right: -17px; top: 74px; width: 8px; height: 32px;
  background: #30363f; border-radius: 5px; }
.fg-watch-face { width: 142px; height: 174px; border-radius: 34px; padding: 18px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 30%, #162031, #060708 62%); }
.fg-watch-time { font-size: 1.7rem; font-weight: 700; margin-top: 6px; }
.fg-comp { margin: 20px auto 0; width: 68px; border: 1px solid #3a4554; border-radius: 14px; padding: 7px; }
.fg-comp canvas, .fg-comp img { width: 24px; height: 24px; margin: 0 auto 4px; display: block; }
.fg-comp-label { color: #fff; font-size: .58rem; max-width: 110px; margin: 6px auto 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-watch-launch { display: grid; place-items: center; margin-top: 18px; }
.fg-watch-launch canvas, .fg-watch-launch img { border-radius: 50%; background: #fff; }

.fg-car { width: min(560px, 100%); aspect-ratio: 16 / 7; border: 12px solid #2c3037; border-radius: 26px;
  background: #0a0c0f; box-shadow: 0 22px 50px rgba(0, 0, 0, .45); padding: 20px; color: #fff; }
.fg-car-head { font-size: .72rem; color: #9ea8b5; margin-bottom: 14px; }
.fg-car-app { display: flex; align-items: center; gap: 13px; background: #151a21; border: 1px solid #252d37;
  border-radius: 14px; padding: 12px; width: 62%; }
.fg-car-app canvas, .fg-car-app img { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: block; }
.fg-car-lines { flex: 1; }
.fg-car-lines div { height: 8px; border-radius: 8px; background: #303844; margin: 7px 0; }
.fg-car-lines div:last-child { width: 60%; }
.fg-car-attr { display: flex; align-items: center; gap: 7px; font-size: .64rem; color: #7e8794; margin-top: 14px; }

.fg-xr { position: relative; width: 100%; max-width: 400px; padding: 10px 0 26px; }
.fg-xr-panel { background: color-mix(in srgb, var(--bg-2) 88%, transparent); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; display: grid; gap: 7px; justify-items: center;
  box-shadow: var(--shadow-md); font-size: .8rem; }
.fg-xr-panel span { color: var(--accent); font-weight: 600; font-size: .74rem; }
.fg-xr-floor { height: 10px; margin: 14px auto 0; width: 60%; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 12%, transparent); filter: blur(3px); }

.fg-linux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; justify-items: center;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.fg-lin-app { display: grid; gap: 6px; justify-items: center; font-size: .66rem; color: var(--muted); text-align: center; }
.fg-lin-app .fg-ghosticon { width: 52px; height: 52px; border-radius: 14%; }

.fg-notifwrap { width: 100%; max-width: 380px; display: grid; gap: 12px; }
.fg-mockbar { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 7px;
  background: var(--bg-2); border: 1px solid var(--border); font-size: .72rem; color: var(--muted); }
.fg-mockbar span { margin-left: auto; }
.fg-notif { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.fg-notif-txt { display: grid; gap: 2px; font-size: .82rem; }
.fg-notif-txt span { color: var(--muted); font-size: .78rem; }

.fg-inbox { width: 100%; max-width: 400px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; }
.fg-mailrow { display: flex; gap: 12px; align-items: center; padding: 13px 15px; }
.fg-mailrow + .fg-mailrow { border-top: 1px solid var(--border-2); }
.fg-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fg-mail-txt { display: grid; gap: 2px; font-size: .82rem; }
.fg-mail-txt span { color: var(--muted); font-size: .76rem; }

@media (max-width: 1180px) {
  .fg-preview-body { grid-template-columns: 170px minmax(0, 1fr); }
  .fg-viewing { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fg-viewing { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fg-viewing .fg-v-card { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .fg-preview-body { grid-template-columns: 1fr; margin: 12px 12px 0; }
  .fg-platforms { display: flex; flex-wrap: wrap; gap: 6px; border-right: 0; border-bottom: 1px solid var(--border-2); padding: 0 0 12px; }
  .fg-platforms .fg-tab { width: auto; }
  .fg-viewing { grid-template-columns: 1fr; }
  .fg-files { max-height: min(58vh, 520px); }
  .fg-spine { position: static; top: 0; }
  .fg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fg-cards, .fg-review-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fg-roles { border-right: 0; border-bottom: 1px solid var(--border-2); padding: 0 0 12px; }
  .fg-roles [role="tablist"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fg-spine { gap: 10px; padding: 10px 12px; }
  .fg-art { width: 38px; height: 38px; }
  .fg-truth { order: 3; width: 100%; border: 0; border-top: 1px solid var(--border);
    padding: 9px 0 2px; gap: 16px; justify-content: flex-start; }
  .fg-truth-label { display: none; }
  .fg-shot { height: 40px; }
  .fg-spine-actions { margin-left: auto; gap: 6px; }
  .fg-spine-actions .btn { padding: 8px 12px; font-size: .86rem; }
  .fg-stage { padding: 14px; height: 320px; }
  .fg-files-body { grid-template-columns: 1fr; margin: 12px 12px 0; }
  .fg-thumbs { min-height: 0; }
  .fg-pane-head, .fg-tabs, .fg-caption, .fg-bulk { padding-left: 12px; padding-right: 12px; }
  .fg-grid { grid-template-columns: 1fr; }
  .fg-field-wide, .fg-field-said { grid-column: span 1; }
  .fg-detail-toggle { margin-left: 0; }
}

.fg-naming { margin: 18px 16px 0; padding-top: 15px; border-top: 1px solid var(--border-2); }
.fg-naming-head { margin: 0 0 11px; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.fg-naming-head .ic { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }
.fg-naming-head b { color: var(--text); }
.fg-naming .fg-grid { padding: 0; }
.fg-naming-eg { margin: 11px 0 0; font-size: .78rem; color: var(--muted); }
.fg-naming-eg b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text); font-size: .76rem; }
#fg-naming-fixed { display: block; margin-top: 4px; }
.fg-seg-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.fg-seg-field legend { padding: 0; font-size: .8rem; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.fg-seg-field legend .ic { width: 14px; height: 14px; flex: none; }
.fg-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 7px;
  overflow: hidden; width: max-content; max-width: 100%; }
.fg-seg-btn { padding: 8px 13px; font-size: .78rem; font-weight: 600; color: var(--muted);
  background: var(--bg-3); border: 0; border-right: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fg-seg-btn:last-child { border-right: 0; }
.fg-seg-btn:hover { color: var(--text); }
.fg-seg-btn[aria-checked="true"] { background: var(--text); color: var(--bg-2); }
.fg-seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 900px) {
  .fg-head { flex-wrap: wrap; }
  .fg-head .pill-row { flex: 1 1 100%; max-width: none; justify-content: flex-start; }
  .fg-pane-head-preview, .fg-pane-head-files { display: flex; flex-wrap: wrap; }
  .fg-pane-tail { flex-wrap: wrap; }
  .fg-pane-tail .fg-slot:first-child { margin-right: 0; }
  .fg-gem > .fg-card, .fg-card { min-width: 0; }
  .fg-slot { min-width: 0; }
}

.fg-adjust { margin-top: 14px; padding: 0; }
.fg-live { border-right: 1px solid var(--border-2); padding-right: 16px;
  align-self: stretch; }
.fg-live-h { margin: 0 0 7px; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.fg-live-pair { display: flex; gap: 8px; max-width: 152px; }
.fg-live-pair figure { margin: 0; flex: 1; display: grid; gap: 5px; justify-items: center; }
.fg-live-pair figcaption { font-size: .66rem; color: var(--muted); }
.fg-live-box { width: 100%; aspect-ratio: 1; border: 1px solid var(--border-2); border-radius: 8px;
  background: var(--bg-3); overflow: hidden; }
.fg-live-box canvas { display: block; }
.fg-live-reset { margin-top: 8px; width: 100%; justify-content: center; }

.fg-adjust-note { margin-left: auto; font-size: .76rem; color: var(--muted); text-align: right; }
.fg-tier-h { margin: 0 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.fg-tier-h span { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .76rem; }
.fg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }

.fg-adjust-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px 22px; align-content: start; }
.fg-adjust-stack { display: grid; gap: 13px; align-content: start; min-width: 0; }
.fg-ctl-bg { padding-left: 18px; border-left: 1px solid var(--border-2); }
.fg-radios { display: grid; gap: 7px; }
.fg-radio { display: flex; align-items: center; gap: 8px; min-height: 26px;
  font-size: .8rem; color: var(--muted); cursor: pointer; }
.fg-radio input { flex: none; accent-color: var(--accent); }
.fg-radio:hover { color: var(--text); }
.fg-radio:focus-within { color: var(--text); }
.fg-ctl { display: grid; gap: 6px; align-content: start; min-width: 0; }
.fg-ctl-label { font-size: .78rem; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 6px; }
.fg-ctl-label .ic { width: 14px; height: 14px; flex: none; }
.fg-ctl-val { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem; color: var(--text); }
.fg-ctl-hint { font-size: .72rem; color: var(--muted); line-height: 1.35; }
.fg-adjust-check { display: flex; align-items: center; gap: 8px; font-size: .8rem;
  color: var(--muted); cursor: pointer; }
.fg-adjust-check input { width: 15px; height: 15px; accent-color: var(--accent); flex: none; }
.fg-adjust-check input:disabled { cursor: default; opacity: .5; }
.fg-adjust-check:has(input:disabled) { cursor: default; }
.fg-ctl input[type="range"] { width: 100%; height: 18px; background: transparent;
  -webkit-appearance: none; appearance: none; }
.fg-ctl input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px;
  background: var(--fg-track, var(--border)); }
.fg-ctl input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px;
  background: var(--fg-track, var(--border)); }
.fg-ctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px;
  height: 15px; border-radius: 50%; background: var(--fg-knob, var(--accent));
  border: 2px solid var(--bg-2); margin-top: -5.5px; box-shadow: 0 0 0 1px var(--border); }
.fg-ctl input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%;
  background: var(--fg-knob, var(--accent)); border: 2px solid var(--bg-2); }
.fg-ctl input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fg-swatch { display: flex; align-items: center; gap: 8px; }
.fg-swatch input[type="color"] { width: 30px; height: 30px; padding: 0; flex: none;
  border: 1px solid var(--border); border-radius: 7px; background: var(--bg-3); }
.fg-swatch input[type="text"] { flex: 1; min-width: 0; padding: 7px 9px; border-radius: 7px;
  border: 1px solid var(--border); background: var(--bg-3); color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.fg-field-said { display: block; font-weight: 400; line-height: 1.45;
  grid-column: span 2; margin: 0; }
.fg-field-said b { color: var(--text); }

@media (max-width: 900px) {
  .fg-live { border-right: 0; border-bottom: 1px solid var(--border-2); padding-right: 0; padding-bottom: 14px; }
  .fg-live-pair { max-width: 400px; margin-inline: auto; }
  .fg-adjust-row { grid-template-columns: 1fr; }
}

.fg-mono-explain { margin-top: 12px; --mono-art: 72px; --mono-pad: 8px; }
.fg-mono-strip { display: flex; align-items: flex-start; gap: 14px; flex-wrap: nowrap;
  justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; }
.fg-mono-strip::-webkit-scrollbar { width: 0; height: 0; }
.fg-mono-step { margin: 0; display: grid; gap: 6px; justify-items: start; flex: none; }
.fg-mono-box { padding: var(--mono-pad); border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-2); display: grid; place-items: center; }
.fg-mono-step.is-alpha .fg-mono-box { background: #ffffff; }
.fg-mono-step.is-tint .fg-mono-box { background: #1e2637; border-color: #38425a; }
.fg-mono-step figcaption { display: grid; gap: 1px; text-align: left; max-width: 110px; }
.fg-mono-step figcaption b { font-size: .74rem; }
.fg-mono-step figcaption span { font-size: .68rem; color: var(--muted); line-height: 1.3; }
.fg-mono-box canvas { display: block; width: var(--mono-art); height: var(--mono-art); }
.fg-mono-arrow { align-self: center; margin-top: -18px; color: var(--muted); }
.fg-mono-arrow svg { width: 16px; height: 16px; }
.fg-mono-themes { display: flex; gap: 14px; flex-wrap: nowrap; justify-content: flex-start; }
.fg-mono-step.is-themes { justify-items: start; }
.fg-mono-step.is-themes figcaption { max-width: none; text-align: left; }
.fg-mono-verdict { margin: 11px 0 0; font-size: .8rem; line-height: 1.45; }
.fg-mono-verdict svg { width: 15px; height: 15px; display: inline-block;
  vertical-align: -3px; margin-right: 7px; }
.fg-mono-verdict.is-bad { color: var(--amber-ink); }
.fg-mono-verdict.is-ok { color: var(--ok-ink); }

.fg-adjust-head { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 6px; }
.fg-adjust-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px;
  background: none; border: 0; padding: 11px 10px; text-align: left; cursor: pointer; border-radius: 10px; }
.fg-adjust-toggle:hover { background: var(--bg-3); }
.fg-adjust-toggle h2 { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.fg-adjust-toggle h2 .ic { width: 15px; height: 15px; }
.fg-adjust-chev { width: 15px; height: 15px; flex: none; color: var(--muted);
  transition: transform .28s ease; }
.fg-adjust-toggle[aria-expanded="false"] .fg-adjust-chev { transform: rotate(-90deg); }

.fg-adjust-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .28s ease; }
.fg-adjust.is-shut .fg-adjust-panel { grid-template-rows: 0fr; }
.fg-adjust-panel > .fg-adjust-inner { overflow: hidden; min-height: 0; }
.fg-adjust-inner { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 16px;
  padding: 0 14px; align-items: start; }
.fg-adjust-inner > * { margin: 0 0 12px; }
@media (prefers-reduced-motion: reduce) {
  .fg-adjust-panel, .fg-adjust-chev { transition: none; }
}

.fg-ctl-val.is-warn { color: var(--amber-ink); }
.fg-ctl-val.is-bad { color: var(--red-ink); }
.fg-ctl input[type="range"].is-warn { accent-color: var(--c-amber); }
.fg-ctl input[type="range"].is-bad { accent-color: var(--c-red, #dc2626); }

@media (max-width: 900px) {
  .fg-adjust-inner { grid-template-columns: 1fr; }
}

.fg-adjust-row .fg-ctl { gap: 5px; }
.fg-adjust-row .fg-ctl-hint { min-height: 1.35em; }
@media (max-width: 1180px) {
}
@media (max-width: 900px) {
}

.fg-live-reset { display: none; }

@media (max-width: 900px) {
  .fg-adjust-row { grid-template-columns: 1fr; }
  .fg-adjust-stack, .fg-ctl-bg { grid-column: 1; }
  .fg-ctl-bg { padding-left: 0; border-left: 0; padding-top: 12px;
    border-top: 1px solid var(--border-2); }
}

.fg-ctl input[type="range"] { height: 24px; }
.fg-ctl input[type="range"]::-webkit-slider-runnable-track { margin: 10px 0; }
.fg-adjust-check { min-height: 26px; }

@media (max-width: 640px) {
  .fg-seg { width: 100%; flex-direction: column; }
  .fg-seg-btn { border-right: 0; border-bottom: 1px solid var(--border); text-align: left; }
  .fg-seg-btn:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  .fg-details .fg-grid, .fg-naming .fg-grid { grid-template-columns: minmax(0, 1fr); }
  .fg-details .fg-field-wide, .fg-details .fg-field-said { grid-column: 1 / -1; }
}

.fg-field-said .ic { vertical-align: -3px; margin-right: 6px; }

@media (max-width: 700px) {
  .fg-head { display: block; }
  .fg-head .fg-ic { float: left; width: 34px; height: 34px; margin: 3px 12px 4px 0; }
  .fg-head-txt { min-width: 0; }
  .fg-head .fg-ic .ic { width: 18px; height: 18px; }
  .fg-head p { font-size: .92rem; }
  .fg-head .pill-row { margin-top: 8px; gap: 6px; }
  .fg-landing { margin-top: 14px; }

  .fg-spine { gap: 10px; padding: 10px 12px; }
  .fg-truth { width: 100%; justify-content: center; gap: 22px; padding: 10px 0 0;
    border-left: 0; border-right: 0; border-top: 1px solid var(--border); }
  .fg-truth .fg-shot { height: auto; }
  .fg-truth figcaption { margin-top: 8px; }
  .fg-truth-label { display: none; }
  .fg-spine-actions { width: 100%; margin-left: 0; }
  .fg-spine-actions .btn { flex: 1; justify-content: center; }

  .fg-pane-head-preview .fg-slot, .fg-pane-head-files .fg-slot:first-child { display: none; }
}

@media (max-width: 700px) {
  .fg-review { flex-direction: column; align-items: stretch; gap: 9px; }
  .fg-review span { margin-right: 0; }
  .fg-review .fg-mini { justify-content: flex-start; text-align: left; }
  .fg-review .fg-mini-chev { margin-left: auto; }
  .fg-ask-top { row-gap: 9px; }
  .fg-ask-count { margin-right: 0; flex: 1 1 100%; }
}

@media (max-width: 700px) {
  #fg-dl-verb { display: none; }
}

@media (max-width: 420px) {
  .fg-cards, .fg-review-body { grid-template-columns: minmax(0, 1fr); }
  .fg-card-pick { padding: 11px 14px; }
}

@media (max-width: 700px) {
  .fg-mono-explain { --mono-art: 52px; --mono-pad: 6px; }
  .fg-mono-strip, .fg-mono-themes { gap: 8px; }
  .fg-mono-step figcaption { max-width: 84px; }
  .fg-issue { padding: 12px; gap: 8px; }
}

@media (max-width: 700px) {
  .fg-status-line { flex-wrap: wrap; }
  #fg-status-text { flex: 1 1 auto; min-width: 0; }
  .fg-status-line .fg-status-more { flex: 1 1 100%; margin-left: 0;
    justify-content: flex-start; margin-top: 4px; }
  .fg-status-line .fg-status-chev { margin-left: auto; }
}

@media (max-width: 900px) {
  .fg-roles { border-right: 0; border-bottom: 1px solid var(--border-2);
    padding-right: 0; padding-bottom: 12px; }
  #fg-role-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .fg-role { min-width: 200px; max-width: 200px; white-space: nowrap; padding: 7px 10px; gap: 7px; }
  .fg-role-name { flex: 1; overflow: hidden; text-overflow: ellipsis; }
  .fg-role-n { margin-left: auto; }
}

.fg-field-said .ic, .fg-naming-head .ic { display: inline-block; vertical-align: -3px; margin-right: 6px; }

.fg-finish { margin-top: 16px; padding: 14px 16px; display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--border-2); }
.fg-finish-note { font-size: .82rem; color: var(--muted); flex: 1; min-width: 0; }
.fg-finish-btn { flex: none; }
@media (max-width: 700px) {
  .fg-finish { flex-direction: column; align-items: stretch; }
  .fg-finish-btn { justify-content: center; }
}

@media (max-width: 700px) {
  .fg-adjust-head { flex-wrap: wrap; padding: 0 12px 10px 4px; }
  .fg-adjust-toggle { flex: 1 1 100%; flex-wrap: wrap; row-gap: 4px; }
  .fg-adjust-note { margin-left: 0; text-align: left; flex: 1 1 100%; }
  .fg-adjust-toggle h2 { flex: none; }
  .fg-adjust-head .fg-mini { flex: 1; justify-content: center; }
}

.fg-viewing { padding-bottom: 4px; }
.fg-v-why { margin-bottom: 6px; }

@media (max-width: 900px) {
  .fg-strip { flex-wrap: nowrap; }
  .fg-tabs-sub { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; }
  .fg-tabs-sub::-webkit-scrollbar { width: 0; height: 0; }
  .fg-tab { flex: none; }
  #fg-strip-more { display: none; }
  .fg-strip { min-height: 0; }
  .fg-status-line > .ic { align-self: flex-start; margin-top: 2px; }
}

@media (max-width: 900px) {
  .fg-preview-body { grid-template-columns: minmax(0, 1fr); }
  .fg-centre, .fg-strip { min-width: 0; max-width: 100%; }
  .fg-tabs-sub { min-width: 0; max-width: 100%; }
}

.fg-zoom > * { min-width: 0; }
.fg-zoom-head { min-width: 0; overflow: hidden; }

@media (max-width: 420px) {
  .fg-role { padding: 6px 10px; }
}

.fg-work { padding: 0; }

@media (max-width: 700px) {
  #fg-status-text { flex: 1 1 0; min-width: 0; }
}
/* webk · v0.1.0 */
