.fc { --fc-edge: #404858; --fc-line: #6fa0d0; --fc-mono: "Cascadia Mono", "SF Mono", ui-monospace, Menlo, Consolas, "DejaVu Sans Mono", monospace; margin: 20px 0 0; line-height: 1.45; }
.fc [hidden] { display: none !important; }
.fc-nojs { margin: 0 0 12px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 10px; font-size: 14px; }
.fc-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.fc-bench, .fc-stage { min-width: 0; }
.fc .px, .fc-sec__l h4 { margin: 0; font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.fc-fine { margin: 0; color: var(--dim); font-size: 14px; }
.fc-fine.is-bad { color: var(--down); }
.fc-line { margin: 0 0 12px; font-size: 16px; }
.fc-mono { font-family: var(--fc-mono); font-variant-numeric: slashed-zero; font-feature-settings: "zero" 1; }
.fc-lnk { color: var(--text); font-weight: 800; text-underline-offset: 3px; }

.fc-modes { display: flex; gap: 4px; padding: 3px; margin: 0 0 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow-x: auto; scrollbar-width: none; }
.fc-mode { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; text-align: left; border: 0; border-radius: 11px; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.fc-mode .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html:not([data-fc-mode]) .fc-mode[data-mode="make"], html[data-fc-mode="make"] .fc-mode[data-mode="make"], html[data-fc-mode="check"] .fc-mode[data-mode="check"],
html[data-fc-mode="ha"] .fc-mode[data-mode="ha"], html[data-fc-mode="secrets"] .fc-mode[data-mode="secrets"] { background: var(--seg-on); color: var(--seg-on-ink); }
.fc-mode:focus-visible, .fc-view:focus-visible, .fc-btn:focus-visible, .fc-av:focus-visible, .fc-type:focus-visible, .fc-sw:focus-visible, .fc-pip:focus-visible, .fc-ph:focus-visible, .fc-cat:focus-visible, .fc-pre:focus-visible,
.fc-input:focus-visible, .fc-chip:focus-visible, .fc-seg button:focus-visible, .fc-key:focus-visible, .fc-switch:focus-visible, .fc-x:focus-visible, .fc-step2 button:focus-visible, .fc-ci__v:focus-visible, .fc-pin:focus-visible,
.fc-berry:focus-visible, .fc-ball:focus-visible, .fc-lnk:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fc-panel { display: none; }
html:not([data-fc-mode]) #fc-p-make, html[data-fc-mode="make"] #fc-p-make, html[data-fc-mode="check"] #fc-p-check, html[data-fc-mode="ha"] #fc-p-ha, html[data-fc-mode="secrets"] #fc-p-secrets { display: block; }

.fc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; }
.fc-btn:disabled { opacity: .45; cursor: default; }
.fc-btn--pri { background: var(--red-fill); border-color: var(--red-fill); color: var(--on-fill); }
.fc-btn--s { min-height: 36px; padding: 0 11px; font-size: 14px; border-radius: 10px; }
.fc-btn small { font-weight: 600; opacity: .8; }
.fc-input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.fc-input--s { min-height: 36px; font-size: 14px; }
.fc-input--code { font-family: var(--fc-mono); font-size: 18px; letter-spacing: .04em; font-variant-numeric: slashed-zero; font-feature-settings: "zero" 1; min-height: 52px; }
.fc-input.is-shake { animation: fc-shake .3s; }
@keyframes fc-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.fc-field { display: block; }
.fc-field--s { margin: 0 0 8px; }
.fc-num { width: 72px; flex: none; text-align: center; }
.fc-seg { display: inline-flex; flex-wrap: wrap; justify-self: start; width: fit-content; max-width: 100%; padding: 3px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.fc-seg button { min-height: 38px; min-width: 52px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fc-seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--seg-on-ink); }
.fc-seg button:disabled { opacity: .5; cursor: default; }
.fc-seg--s button { min-height: 34px; padding: 0 11px; font-size: 14px; }
.fc-switch { position: relative; width: 52px; height: 30px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--inset); cursor: pointer; flex: none; }
.fc-switch__t { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); transition: left .15s; }
.fc-switch[aria-checked="true"] { background: var(--seg-on); }
.fc-switch[aria-checked="true"] .fc-switch__t { left: 25px; }
.fc-switch:disabled { opacity: .45; cursor: default; }
.fc-chip { min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fc-chip[aria-pressed="true"] { background: var(--seg-on); border-color: var(--seg-on); color: var(--seg-on-ink); }
.fc-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; max-width: 100%; vertical-align: middle; }
.fc-chips--wrap { display: flex; }
.fc-x { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--text); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; flex: none; }
.fc-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--text); font-weight: 800; font-size: 14px; cursor: pointer; list-style: none; }
.fc-more > summary::-webkit-details-marker { display: none; }
.fc-more > summary::after { content: "▾"; color: var(--dim); }
.fc-more[open] > summary::after { content: "▴"; }
.fc-acc { margin-top: 6px; }
.fc-acc > :not(summary) { margin-top: 6px; }

.fc-tools { display: grid; gap: 10px; margin: 0 0 6px; }
.fc-pre-row, .fc-hist { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fc-pre { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--chip); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fc-markchip { display: inline-flex; align-items: center; gap: 8px; padding: 2px 4px 2px 12px; border: 1px solid var(--up); border-radius: 999px; font-size: 14px; font-weight: 700; }
.fc-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.fc-sec__c { min-width: 0; display: grid; gap: 8px; align-content: start; }
@media (min-width: 640px) { .fc-sec { grid-template-columns: 128px minmax(0, 1fr); gap: 8px 16px; } .fc-sec__l { padding-top: 12px; } }
.fc-name { display: flex; align-items: center; gap: 10px; }
.fc-name .fc-input { flex: 1; }
.fc-count { flex: none; min-width: 52px; padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--fc-mono); font-size: 13px; text-align: center; color: var(--muted); }
.fc-accents { display: flex; flex-wrap: wrap; gap: 4px; }
.fc-key { min-width: 38px; min-height: 38px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; cursor: pointer; }
#fc-name-n, [data-name-note] { min-height: 21px; }
.fc-avs { display: grid; gap: 8px; }
.fc-avs .fc-chips, .fc-chips[role="group"] { gap: 6px; }
.fc-avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; padding: 4px; margin: -4px; }
.fc-avs:not(.is-all) .fc-avgrid .fc-av:nth-child(n+13):not([aria-pressed="true"]) { display: none; }
.fc-avmore { justify-self: start; }
.fc-avgrid[data-f="start"] .fc-av[data-rare="1"], .fc-avgrid[data-f="rare"] .fc-av[data-rare="0"] { display: none; }
.fc-av { display: grid; place-items: center; height: 76px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); cursor: pointer; overflow: hidden; }
.fc-av[aria-pressed="true"] { border-color: var(--text); box-shadow: 0 0 0 2px var(--text); background: var(--chip); }
.fc-av__s { display: block; background: var(--fc-ow) no-repeat; background-size: 2048px auto; image-rendering: pixelated; margin: 0 auto; }
.fc-ows { display: inline-block; flex: none; width: calc(var(--w) * var(--s) * 1px); height: calc(var(--h) * var(--s) * 1px); background-repeat: no-repeat; background-size: calc(1024px * var(--s)) auto;
  background-position: calc(var(--x) * var(--s) * 1px) calc(var(--y) * var(--s) * 1px); image-rendering: pixelated; }
.fc-tip__pic { display: block; margin: 4px 0; image-rendering: pixelated; }
.fc-partner { display: grid; gap: 8px; }
.fc-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; }
.fc-pgrid.is-off { opacity: .45; pointer-events: none; }
.fc-pf { display: grid; gap: 6px; align-content: start; min-width: 0; }
.fc-pf:first-child { grid-column: 1 / -1; }
.fc-pf label, .fc-pf__l { font-size: 13px; font-weight: 700; color: var(--muted); }
.fc-lv { display: flex; align-items: center; gap: 10px; }
.fc-lv input[type="range"] { flex: 1; min-width: 0; min-height: 44px; accent-color: var(--text); }
[data-pgnote], [data-shinynote] { min-height: 21px; }
.fc-hafam { min-height: 24px; }
@media (min-width: 1100px) { .fc-partner [data-hafam] { display: none; } }
@media (max-width: 1099px) { [data-hafam] { min-height: 24px; } }
.fc-chipgrid { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.fc-berry[aria-pressed="true"], .fc-ball[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); background: var(--chip); }
.fc-types { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-type { padding: 3px; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.fc-type[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--text); }
.fc-type .type { pointer-events: none; }
.fc-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fc-cats.is-search .fc-cat[aria-selected="true"] { opacity: .5; }
.fc-cat { flex: none; min-height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fc-cat small { font-weight: 600; opacity: .75; }
.fc-cat[aria-selected="true"] { background: var(--seg-on); border-color: var(--seg-on); color: var(--seg-on-ink); }
.fc-phrases { list-style: none; margin: 0; padding: 0; height: 330px; overflow-y: auto; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.fc-phrases li + li { border-top: 1px solid var(--line); }
.fc-ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 52px; padding: 8px 12px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.fc-ph[aria-pressed="true"] { background: var(--chip); box-shadow: inset 4px 0 0 var(--text); font-weight: 700; }
.fc-ph__t { display: grid; min-width: 0; }
.fc-badge { flex: none; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.fc-badge--never { border-style: dashed; color: var(--text); }
.fc-empty { padding: 12px; }
.fc-sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.fc-sw { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px 4px 5px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.fc-sw__c { flex: none; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--a), var(--b)); border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); }
.fc-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--text); }
.fc-sw--s { display: inline-flex; min-height: 0; padding: 0; border: 0; background: none; cursor: default; }
.fc-pips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fc-pip { width: 38px; height: 38px; padding: 0; border: 2px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fc-pip.is-on { background: var(--seg-on); border-color: var(--seg-on); }
.fc-pip[aria-pressed="true"].fc-pip--zero { border-color: var(--text); color: var(--text); }
.fc-pips__n { min-width: 56px; margin-left: 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.fc-id { display: flex; align-items: center; gap: 10px; }
.fc-id__n { min-width: 88px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--fc-mono); font-size: 16px; text-align: center; }

.fc-stage__in { display: grid; gap: 12px; }
.fc-viewbar { display: flex; }
.fc-views { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.fc-view { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fc-view[aria-selected="true"] { background: var(--seg-on); color: var(--seg-on-ink); }
.fc-viewbox { min-height: 218px; }
.fc-card-skel { min-height: 218px; border: 2px solid var(--fc-edge); border-radius: 12px; background: var(--lcd); }
.fc-card-skel:not(:empty) { min-height: 0; border: 0; border-radius: 0; background: none; }
.fc:not([data-ready]) .fc-viewbox > *, .fc:not([data-ready]) .fc-gives, .fc:not([data-ready]) .fc-code, .fc:not([data-ready]) .fc-status { visibility: hidden; }
.fc-card { min-height: 218px; border: 2px solid var(--cr); border-radius: 12px; background: var(--lcd); color: var(--text); overflow: hidden; box-shadow: inset 0 0 0 2px var(--lcd), inset 0 0 0 3px var(--fc-line); }
.fc-card__band { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; background: linear-gradient(90deg, var(--ca), var(--cb)); }
.fc-card__band .px { padding: 1px 8px; border-radius: 5px; background: var(--surface); color: var(--text); }
.fc-card__sty { padding: 1px 8px; border-radius: 5px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 700; }
.fc-card__body { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
.fc-card__pic { display: grid; place-items: center; width: 76px; height: 76px; border: 2px solid var(--fc-edge); border-radius: 8px; background: color-mix(in srgb, var(--cb) 28%, var(--surface)); }
.fc-card__pic img { image-rendering: pixelated; width: 64px; height: 64px; }
.fc-card__name { margin: 0 0 6px; font-family: var(--pixel); font-size: 20px; line-height: 1.15; word-break: break-word; }
.fc-gl { font-family: var(--font); font-size: 18px; color: var(--muted); }
.fc-blank { color: var(--dim); font-style: italic; font-family: var(--font); font-size: 14px; }
.fc-card__kv { display: grid; gap: 4px; margin: 0; }
.fc-card__kv > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: center; }
.fc-card__kv dt { font-family: var(--pixel); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.fc-card__kv dd { margin: 0; min-width: 0; font-size: 14px; }
.fc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 12px; min-height: 30px; }
.fc-pipsr { display: inline-flex; gap: 5px; }
.fc-pipsr i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fc-edge); background: transparent; }
.fc-pipsr i.is-on { background: var(--seg-on); border-color: var(--seg-on); }
.fc-markpill, .fc-flag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.fc-markpill { border-color: var(--up); }
.fc-flag b { font-weight: 800; }
.fc-flag--on { border-color: var(--up); }
.fc-flag--warn { border-color: var(--w2); }
.fc-spark { color: var(--gold); margin-left: 4px; }
.fc-pico { position: relative; display: inline-block; }
.fc-pico img { image-rendering: pixelated; }
.fc-pico .fc-spark { position: absolute; right: -4px; top: -4px; margin: 0; }
.fc-card--none { display: grid; place-items: center; min-height: 218px; box-shadow: none; border-color: var(--line-2); border-style: dashed; background: transparent; }
.fc-card--none p { margin: 0; color: var(--dim); padding: 12px; text-align: center; }
.fc-lrow { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border: 1px solid var(--line-2); border-left: 6px solid var(--cr); border-radius: 10px; color: var(--text);
  background: linear-gradient(90deg, color-mix(in srgb, var(--ca) 42%, var(--surface)), color-mix(in srgb, var(--cb) 42%, var(--surface))); overflow: hidden; }
.fc-lrow__n { flex: 1; min-width: 0; font-family: var(--pixel); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-lrow__lv { font-family: var(--pixel); font-size: 13px; color: var(--text); }
.fc-lnote { margin-top: 10px; }
.fc-v[data-v="list"] .fc-lrow { min-height: 70px; padding-block: 2px; }
.fc-lrow__av { align-self: center; margin: 0; }
.fc-thumb { display: block; min-width: 0; }
.fc-thumb .fc-lrow { min-height: 36px; padding: 2px 8px; border-radius: 8px; gap: 6px; pointer-events: none; }

.fc-vtop { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; margin-bottom: 10px; }
.fc-vtop .fc-field { flex: 1 1 150px; margin: 0; }
.fc-vplayer { display: grid; gap: 2px; flex: 1 1 110px; font-size: 12px; font-weight: 700; color: var(--muted); }
.fc-scene { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 132px; border: 2px solid var(--fc-edge); border-radius: 12px 12px 0 0; overflow: hidden; background: linear-gradient(var(--lcd), color-mix(in srgb, var(--lcd) 80%, var(--cb))); }
.fc-scene__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--cr) 35%, var(--lcd)) 0 8px, color-mix(in srgb, var(--cr) 22%, var(--lcd)) 8px 16px); border-top: 2px solid var(--fc-edge); }
.fc-scene__av { position: relative; z-index: 1; margin-bottom: 14px; }
.fc-tbox { position: relative; margin: 0; padding: 22px 12px 12px; border: 2px solid var(--fc-edge); border-top-width: 0; border-radius: 0 0 12px 12px; background: var(--lcd); box-shadow: inset 0 0 0 2px var(--lcd), inset 0 0 0 3px var(--fc-line); }
.fc-tbox__tag { position: absolute; left: 10px; top: -14px; margin: 0; padding: 0 8px; border-radius: 4px; background: var(--fc-edge); color: var(--on-fill) !important; font-size: 14px !important; line-height: 26px; }
.fc-tbox__t { margin: 0; min-height: 96px; font-size: 15px; line-height: 1.55; }
.fc-say { display: block; margin-top: 4px; }
.fc-gift { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.fc-gift small { color: var(--muted); font-weight: 700; }
.fc-tbox__act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.fc-tbox__dots { display: inline-flex; gap: 4px; margin-left: auto; }
.fc-tbox__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.fc-tbox__dots i.is-on { background: var(--text); }

.fc-codebox { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.fc-code { display: flex; align-items: center; gap: 14px; font-family: var(--fc-mono); font-size: 21px; font-variant-numeric: slashed-zero; font-feature-settings: "zero" 1; line-height: 1.2; min-height: 30px; }
.fc-g { display: inline-flex; }
.fc-c { display: inline-block; min-width: 1ch; text-align: center; color: var(--text); }
.fc-c.is-d { color: var(--c-spec); font-weight: 700; }
.fc-c.is-s { color: var(--down); font-weight: 700; }
.fc-code.is-empty .fc-c::before { content: "·"; color: var(--line-2); }
.fc-code__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-dockbtn { display: none; }
.fc-status { min-height: 21px; }
.fc-gives { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.fc-gives__h { margin-bottom: 4px !important; }
.fc-key.mech-key { border-top: 0; }
.fc-key.mech-key > li { grid-template-columns: 96px minmax(0, 1fr); padding: 7px 0; }
.fc-key.mech-key .dx-key__v { font-size: 14px; }

.fc-checkin { display: grid; gap: 8px; }
.fc-checkact { display: flex; gap: 8px; }
.fc-cells { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; max-width: 420px; margin: 10px 0 6px; }
.fc-cell { display: grid; place-items: center; height: 38px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--surface); font-family: var(--fc-mono); font-size: 18px; font-variant-numeric: slashed-zero; font-feature-settings: "zero" 1; }
.fc-cell.is-warn { background: color-mix(in srgb, var(--w2) 16%, var(--surface)); border-color: var(--w2); }
.fc-cell.is-bad { background: color-mix(in srgb, var(--down) 18%, var(--surface)); border-color: var(--down); color: var(--down); font-weight: 700; }
.fc-cell.is-fix { box-shadow: 0 0 0 3px var(--focus); }
[data-in-note] { min-height: 21px; }
.fc-result { margin-top: 12px; min-height: 4px; }
.fc-ok, .fc-no { display: flex; gap: 8px; margin: 0 0 8px; font-weight: 800; font-size: 16px; }
.fc-ok span { color: var(--up); }
.fc-no span { color: var(--down); }
.fc-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.fc-valid__act { margin-top: 12px; }
.fc-quote { font-style: italic; }
.fc-keypic { display: inline-flex; align-items: flex-end; height: 40px; overflow: hidden; margin-right: 4px; }
.fc-fixes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.fc-fix { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.fc-fix mark { background: color-mix(in srgb, var(--focus) 28%, transparent); color: inherit; border-radius: 3px; font-weight: 800; }
.fc-fixcode { font-size: 16px; }
.fc-fix .fc-btn { justify-self: start; }
.fc-sub { margin-top: 22px; }
.fc-sub .px { margin-bottom: 8px; }
.fc-steps { list-style: none; counter-reset: s; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.fc-step { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; }
.fc-step::before { content: counter(s); grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; font-family: var(--pixel); font-size: 13px; background: var(--surface); }
.fc-step span { color: var(--muted); font-size: 14px; }
.fc-offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 8px; }
.fc-office { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-width: 0; padding: 6px 8px 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.fc-pin { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fc-pin .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.fc-meter__bar { height: 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--inset); overflow: hidden; margin: 12px 0 4px; }
.fc-meter__bar i { display: block; height: 100%; width: 0; background: var(--seg-on); }
.fc-fams { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.fc-fam { padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); display: grid; gap: 8px; }
.fc-fam__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.fc-fam__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fc-step2 { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.fc-step2 button { width: 44px; height: 40px; border: 0; background: var(--surface); color: var(--text); font: inherit; font-size: 18px; cursor: pointer; }
.fc-step2 button:disabled { opacity: .4; cursor: default; }
.fc-step2 b { min-width: 40px; text-align: center; font-family: var(--pixel); }
.fc-bar { display: block; width: 100%; max-width: 220px; height: 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--inset); overflow: hidden; margin-left: 4px; }
.fc-bar i { display: block; height: 100%; background: var(--seg-on); }
.fc-key .dx-key__v { gap: 10px; }
.fc-mini { margin: 10px 0; }
.fc-mini__l { margin-bottom: 6px !important; }
.fc-pat { display: grid; gap: 4px; margin-top: 8px; }
.fc-out { margin-top: 14px; }
.fc-out__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 6px; }
.fc-out__h h3 { margin: 0; }
.fc-out__b { display: inline-flex; gap: 6px; }
.fc-codes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fc-ci { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.fc-ci__v { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 8px; }
.fc-ci__v.is-on .fc-lrow { box-shadow: 0 0 0 2px var(--text); }
.fc-ci__c { display: grid; min-width: 0; }
.fc-ci__code { font-size: 15px; }
.fc-ci__c small { color: var(--dim); }
.fc-ci__a { grid-column: 1 / -1; display: flex; gap: 6px; }
@media (min-width: 640px) { .fc-ci { grid-template-columns: 150px minmax(0, 1fr) auto; } .fc-ci__a { grid-column: auto; } }

.fc-box { margin-top: 14px; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.fc-box > h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.25; }
.fc-oasisp [data-oasis-thumb] { display: block; flex: none; width: 150px; }
.fc-oasisp { display: flex; align-items: center; gap: 10px; margin: 10px 0; min-height: 40px; }
.fc-veil .mm-sveil__row { margin: 8px 0; }
.fc-blur { min-height: 55px; margin: 8px 0; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; font-family: var(--fc-mono); font-size: 20px; text-align: center; filter: blur(8px); user-select: none; background: var(--lcd); }
[data-oasis].is-open .fc-blur { filter: none; user-select: text; }
.fc-act { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-np { margin-top: 12px; }
.fc-np__l { margin-bottom: 6px !important; }
.fc-nplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fc-nplist li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.fc-nplist li > span:not(.fc-ows):not(.fc-ph__t) { flex: 1; min-width: 0; font-size: 14px; }
.fc-nplist .fc-ph__t { flex: 1; font-size: 14px; }
.fc-nplist img { image-rendering: pixelated; }
.fc-nplist .type { flex: none; align-self: center; }
.fc-farm { display: grid; gap: 8px; margin: 10px 0; }
.fc-farm__r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fc-farm__r > .px { min-width: 64px; }

@media (min-width: 1100px) {
  .fc-grid { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; gap: 28px; }
  .fc-bench { min-height: calc(100dvh - var(--header-h, 64px)); }
  .fc-stage { position: sticky; top: calc(var(--header-h, 64px) + 14px); max-height: calc(100dvh - var(--header-h, 64px) - 28px); overflow-y: auto; }
}
@media (max-width: 1099px) {
  .fc { padding-bottom: 138px; }
  .fc-stage { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 -6px 18px var(--shade-12); }
  .fc-stage .fc-viewbar, .fc-stage .fc-viewbox, .fc-stage .fc-gives { display: none; }
  .fc-stage .fc-codebox { padding: 0; border: 0; border-radius: 0; background: none; gap: 4px; }
  .fc-stage .fc-code { font-size: 17px; gap: 10px; justify-content: center; min-height: 26px; }
  .fc-stage .fc-code__l { display: none; }
  .fc-stage .fc-code__acts { justify-content: center; flex-wrap: nowrap; }
  .fc-stage .fc-code__acts .fc-btn { min-height: 40px; padding: 0 12px; }
  .fc-stage .fc-status { display: none; }
  .fc-dockbtn { display: inline-flex; }
  html[data-fc] .dock { display: none; }
}
.fc-sheet .fc-sheetbody { display: grid; gap: 12px; }
.fc-sheet .fc-viewbar { display: flex; }
.fc-sheet .fc-gives { border: 0; padding: 0; }
@media (max-width: 480px) { .fc-card__kv > div { grid-template-columns: 72px minmax(0, 1fr); } .fc-mode { padding: 0 11px; font-size: 14px; } .fc-mode .i { display: none; } .fc-code { gap: 10px; font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .fc-input.is-shake { animation: none; } .fc-switch__t { transition: none; } }
@media (min-width: 1100px) { html[data-fc-mode="secrets"] .fc-gives { min-height: 312px; } }
.mech-eyebrow + .intro .mech-trust { white-space: normal; }

.fc-sveil { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; border: 1px dashed var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 700; }
.fc-sveil span { min-width: 0; }
.fc-stage.is-veiled .fc-code { opacity: .55; }
.fc-ballh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.fc-notype { display: inline-flex; border-radius: 999px; }
.fc-notype:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fc-hyph { margin: 0; }
.fc-key .nchip__f { font-size: 12px; }
@media (max-width: 1099px) {
  .fc-stage .fc-hyph { display: none; }
  html[data-fc] body.no-bnav.page-monomyth .toast { bottom: calc(124px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1100px) {
  html[data-fc] body.no-bnav.page-monomyth .toast { left: calc((100vw - 460px) / 2); max-width: min(560px, calc(100vw - 520px)); }
}

.fc-mode__t { display: grid; gap: 1px; justify-items: start; }
.fc-mode__t b { font-weight: 700; }
.fc-mode__t small { display: none; font-size: 12px; font-weight: 600; opacity: .8; }
@media (min-width: 768px) { .fc-mode { min-height: 56px; } .fc-mode__t small { display: block; } }
.fc-pre-row { align-items: center; }
.fc-pre-l { margin-right: 2px; }
.fc-pre { min-height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 600; background: none; color: var(--muted); }
.fc-btn--icon { width: 44px; padding: 0; }
.fc-btn--icon .i, .fc-linkbtn .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fc-btn--quiet { background: none; border-color: transparent; color: var(--muted); }
.fc-btn--icon:focus-visible, .fc-stp__btn:focus-visible, .fc-avmore:focus-visible, .fc-next:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fc-hist { margin-left: auto; }
.fc-tools { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.fc-tools .fc-markchip { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 639px) { .fc-tools { grid-template-columns: minmax(0, 1fr); } .fc-hist { margin-left: 0; } }

.fc-stps { display: grid; gap: 10px; margin-top: 4px; }
.fc-stp { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.fc-stp__h { margin: 0; font-size: inherit; }
.fc-stp__btn { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; grid-template-areas: "n t c" "n s c"; column-gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 8px 14px; border: 0; border-radius: 14px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.fc-stp__btn::after { content: "▾"; grid-area: c; color: var(--dim); }
.fc-stp[data-open] .fc-stp__btn::after { content: "▴"; }
.fc-stp__n { grid-area: n; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface-2); font-family: var(--pixel); font-size: 13px; }
.fc-stp[data-open] .fc-stp__n { background: var(--seg-on); border-color: var(--seg-on); color: var(--seg-on-ink); }
.fc-stp__t { grid-area: t; font-size: 17px; font-weight: 800; line-height: 1.25; }
.fc-stp__s { grid-area: s; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px; min-height: 20px; }
.fc-stp[data-open] .fc-stp__s { display: none; }
.fc-stp:not([data-open]) .fc-stp__b { display: none; }
.fc-stp__b { padding: 0 14px 14px; }
.fc-stp__b > .fc-sec:first-child { border-top: 0; padding-top: 4px; }
.fc-next { margin-top: 10px; }
html[data-fc-shared] .fc:not([data-ready]) .fc-stp__s { visibility: hidden; }

.fc-shared { display: none; margin: 0 0 16px; padding: 10px 14px 14px; border: 1px solid var(--line-2); border-left: 6px solid var(--seg-on); border-radius: 12px; background: var(--surface); }
html[data-fc-shared] .fc-shared { display: block; min-height: 150px; }
.fc-shared__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fc-shared__h .px { margin: 0; }
.fc-shared__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.fc-shared__row .fc-thumb { flex: 0 1 220px; }
.fc-shared__code { font-size: 18px; white-space: nowrap; }
@media (max-width: 400px) { .fc-shared__code { font-size: 15px; } }
.fc-shared__acts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 640px) { html[data-fc-shared] .fc-shared { min-height: 118px; } }
.fc-hatools { margin: 8px 0 0; }
.fc-stage.is-veiled .fc-hyph, html[data-fc-mode="secrets"] .fc:not([data-ready]) .fc-hyph { visibility: hidden; }
.fc-share { display: none; }
html[data-fc-share] .fc-share { display: inline-flex; }
@media (max-width: 1099px) { html[data-fc-share] .fc-stage .fc-linkbtn { display: none; } }
@media (prefers-reduced-motion: reduce) { .fc-stp, .fc-stp__btn { transition: none; } }
.fc-avs[data-fs] .fc-avmore { display: none; }
.fc-stp { scroll-margin-top: calc(var(--header-h, 64px) + 12px); }
.fc-stp[data-open] .fc-stp__btn { grid-template-areas: "n t c"; }
