@charset "utf-8";
.fmx {
    container: fmx / inline-size;
    --acc: var(--fim-card-bg, var(--color-point));
    --acc-tint: color-mix(in srgb, var(--acc) 11%, var(--surface));
    --fmx-ground: #F4F4F7;
    --fmx-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, Pretendard, monospace;
    display: flex;
    flex-direction: column;
    color: var(--text-title);
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-align: left;
    word-break: keep-all;
}
.fmx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fmx svg { display: block; flex: 0 0 auto; }
.fmx b, .fmx strong { font-weight: var(--fw-semibold); }
.fmx em, .fmx i { font-style: normal; }
.fmx-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 12px;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.fmx-dots { display: flex; gap: 5px; }
.fmx-dots i { width: 8px; height: 8px; border-radius: var(--radius-pill); background: #DCDCE1; }
.fmx-addr {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    height: 22px;
    margin: 0 auto;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: var(--fmx-ground);
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fmx-addr svg { width: 11px; height: 11px; }
.fmx-bar::after { content: ""; width: 34px; flex: 0 0 auto; }
.fmx-view {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: var(--fmx-ground);
}
.fmx-film, .fmx-cam { position: relative; width: 100%; height: 100%; }
.fmx-cam { transform-origin: 0 0; }
.fmx-cur {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 30;
    width: 20px;
    height: 20px;
    margin: -2px 0 0 -4px;
    transform-origin: 4px 2px;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 2px 3px rgba(25, 23, 28, 0.25));
}
.fmx-cur svg { width: 100%; height: 100%; }
.fmx-tap {
    position: absolute;
    left: -18px;
    top: -18px;
    z-index: 29;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--acc);
    opacity: 0;
    pointer-events: none;
}
.fmx-caret {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 1px;
    background: currentColor;
    transform-origin: 0 0;
    opacity: 0;
}
.fmx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fmx-odo { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: top; line-height: 1.2; }
.fmx-odo__c { display: block; }
.fmx-odo__c > span { display: block; height: 1.2em; text-align: center; }
.fmx-pane {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(25, 23, 28, 0.05), 0 1px 3px rgba(25, 23, 28, 0.06);
}
.fmx-pane__hd {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    white-space: nowrap;
}
.fmx-pane__hd > b { font-size: 14px; }
.fmx-pane__n { color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fmx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--acc);
    color: var(--ink-onDark);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}
.fmx-btn--sm { height: 26px; padding: 0 10px; border-radius: 7px; }
.fmx-ext {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 20px;
    border-radius: 5px;
    background: var(--fmx-ground);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0;
}
.fmx-ch { display: inline-block; white-space: pre; }
.fmx-site-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 8px;
    flex: 0 0 auto;
}
.fmx-site-nav .fmx-logo { width: auto; height: 14px; }
.fmx-mo .fmx-site-nav .fmx-logo { height: 12px; }
.fmx-site-nav i { width: 14px; height: 3px; border-radius: 2px; background: #E2E2E7; }
.fmx-site-nav i:first-of-type { margin-left: auto; }
.fmx-c1 {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 10px;
    height: 100%;
    padding: 12px;
}
.fmx-files__list { margin: 0; padding: 0; list-style: none; }
.fmx-file {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    height: 30px;
}
.fmx-file__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmx-file__m { display: grid; justify-items: end; }
.fmx-file__m > * { grid-area: 1 / 1; }
.fmx-file__sz { color: var(--text-faint); font-size: 12px; opacity: 0; }
.fmx-tag {
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--acc-tint);
    color: var(--acc);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}
.fmx-tag--all { background: var(--fmx-ground); color: var(--text-muted); }
.fmx-files__ft {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}
.fmx-done { display: inline-flex; align-items: center; gap: 4px; color: var(--acc); font-size: 12px; font-weight: var(--fw-semibold); white-space: nowrap; }
.fmx-done svg { width: 14px; height: 14px; }
.fmx-plan__list { margin: 0; padding: 0; list-style: none; }
.fmx-plan__i { padding: 6px 0; border-bottom: 1px solid var(--line); }
.fmx-plan__i:last-child { border-bottom: 0; }
.fmx-plan__h { display: flex; justify-content: space-between; gap: 6px; }
.fmx-plan__h b { font-size: 13px; }
.fmx-plan__h em { color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fmx-plan__i small { display: block; color: var(--text-muted); font-size: 12px; line-height: 1.35; }
.fmx-plan__empty {
    position: absolute;
    inset: 44px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
}
.fmx-plan__empty i { height: 30px; border-radius: 8px; background: var(--fmx-ground); }
.fmx-plan__empty i:nth-child(2) { width: 80%; }
.fmx-plan__empty i:nth-child(3) { width: 60%; }
.fmx-plan__empty span { margin-top: auto; color: var(--text-muted); font-size: 12px; text-align: center; }
.fmx-drops { position: absolute; inset: 0; pointer-events: none; }
.fmx-tile { position: absolute; left: 50%; top: 50%; width: 96px; margin: -44px 0 0 -48px; }
.fmx-tile__in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px 8px;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(25, 23, 28, 0.06), 0 8px 18px rgba(25, 23, 28, 0.14);
    opacity: 0;
}
.fmx-tile__in .fmx-ext { width: 40px; height: 46px; border-radius: 6px; background: var(--acc-tint); color: var(--acc); }
.fmx-tile__in img { width: 78px; height: 46px; border-radius: 6px; object-fit: cover; }
.fmx-tile__in em { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.fmx-hint {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    width: max-content;
    margin: 0 auto;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--ink-onDark);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    opacity: 0;
}
.fmx-c2 {
    position: relative;
    display: grid;
    grid-template-columns: 58px 170px minmax(0, 1fr);
    height: 100%;
    background: var(--surface);
}
.fmx-rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 4px;
    border-right: 1px solid var(--line);
}
.fmx-rail__i, .fmx-rail__l {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 0;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}
.fmx-rail svg { width: 18px; height: 18px; }
.fmx-rail__i--pick { display: grid; padding: 0; }
.fmx-rail__i--pick > * { grid-area: 1 / 1; }
.fmx-rail__l.is-on { background: var(--acc-tint); color: var(--acc); font-weight: var(--fw-semibold); }
.fmx-rail__l:not(.is-on) { opacity: 0; }
.fmx-lib {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border-right: 1px solid var(--line);
    background: #FAFAFC;
}
.fmx-search {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 9px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 12px;
}
.fmx-search svg { width: 13px; height: 13px; color: var(--text-muted); }
.fmx-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.fmx-chips > span, .fmx-chips__pick > span {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line-strong);
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}
.fmx-chips .is-on { background: var(--acc-tint); box-shadow: none; color: var(--acc); font-weight: var(--fw-semibold); }
.fmx-chips > .fmx-chips__pick { display: grid; padding: 0; background: none; box-shadow: none; }
.fmx-chips__pick > * { grid-area: 1 / 1; }
.fmx-chips__pick > :not(.is-on) { opacity: 0; }
.fmx-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fmx-th {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(25, 23, 28, 0.06);
}
.fmx-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fmx-th--hero i { position: absolute; left: 12%; height: 6%; border-radius: 2px; background: rgba(255, 255, 255, 0.92); }
.fmx-th--hero i:nth-of-type(1) { bottom: 30%; width: 46%; }
.fmx-th--hero i:nth-of-type(2) { bottom: 18%; width: 30%; }
.fmx-th--dark { background: #1C1B22; }
.fmx-th--dark i { position: absolute; top: 34%; width: 18%; height: 30%; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.fmx-th--dark i:nth-of-type(1) { left: 8%; background: var(--acc); }
.fmx-th--dark i:nth-of-type(2) { left: 30%; }
.fmx-th--dark i:nth-of-type(3) { left: 52%; }
.fmx-th--dark i:nth-of-type(4) { left: 74%; }
.fmx-th--cards { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 6px; background: #F1F1F4; }
.fmx-th--cards img { border-radius: 3px; }
.fmx-th--list { padding: 9% 10%; }
.fmx-th--list i { display: block; height: 14%; margin-bottom: 9%; border-radius: 2px; background: #E6E6EB; }
.fmx-th--list i:first-child { width: 40%; background: var(--ink); }
.fmx-ghost {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 25;
    width: 72px;
    opacity: 0;
    box-shadow: 0 0 0 2px var(--acc), 0 10px 22px rgba(25, 23, 28, 0.25);
    pointer-events: none;
}
.fmx-canvas {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px 10px 10px;
    background: var(--fmx-ground);
}
.fmx-tools { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.fmx-seg {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    padding: 2px;
    border-radius: 8px;
    background: #E7E7EC;
    font-size: 12px;
}
.fmx-seg b { position: relative; z-index: 1; padding: 2px 8px; color: var(--text-muted); font-weight: var(--fw-semibold); }
.fmx-seg__on { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 6px); border-radius: 6px; background: var(--surface); box-shadow: 0 1px 2px rgba(25, 23, 28, 0.12); }
.fmx-seg__on--r { left: auto; right: 2px; width: calc(50% + 2px); opacity: 0; }
.fmx-page {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(25, 23, 28, 0.05), 0 2px 6px rgba(25, 23, 28, 0.06);
}
.fmx-pc { display: flex; flex-direction: column; gap: 6px; height: 100%; padding-bottom: 8px; transform-origin: 50% 0; }
.fmx-slot { position: relative; margin: 0 8px; flex: 0 0 auto; }
.fmx-slot--1 { flex: 1 1 96px; min-height: 76px; }
.fmx-slot--2 { height: 72px; }
.fmx-slot--3 { height: 30px; }
.fmx-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 1.5px dashed color-mix(in srgb, var(--acc) 55%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--acc) 5%, var(--surface));
    color: var(--acc);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    opacity: 0;
}
.fmx-blk { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; }
.fmx-hero { display: block; background: #2A2A30; }
.fmx-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 14, 0.62), rgba(10, 10, 14, 0.05) 75%); }
.fmx-hero b {
    position: absolute;
    left: 10px;
    bottom: 34px;
    z-index: 1;
    color: #fff;
    font-size: 14px;
    font-weight: var(--fw-bold);
    line-height: 1.25;
}
.fmx-acc { position: relative; isolation: isolate; }
.fmx-acc > i { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #2556F5; }
.fmx-acc > i + i { background: #0F766E; }
.fmx-hero__btn {
    position: absolute;
    left: 10px;
    bottom: 9px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: var(--fw-semibold);
}
.fmx-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fmx-cards > span { display: flex; flex-direction: column; overflow: hidden; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.fmx-cards img { width: 100%; height: 44px; object-fit: cover; }
.fmx-cards b { display: flex; align-items: center; gap: 5px; padding: 4px 6px; font-size: 12px; white-space: nowrap; }
.fmx-dot { display: inline-block; width: 7px; height: 7px; border-radius: var(--radius-pill); }
.fmx-news { display: flex; align-items: center; gap: 8px; padding: 0 8px; box-shadow: 0 0 0 1px var(--line); }
.fmx-news__d { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; color: #fff; font-size: 12px; font-weight: var(--fw-semibold); }
.fmx-news b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmx-mo { position: absolute; inset: 0; display: grid; place-items: center; background: var(--fmx-ground); opacity: 0; }
.fmx-mo__in {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 132px;
    height: calc(100% - 14px);
    overflow: hidden;
    padding-bottom: 6px;
    border: 3px solid var(--ink);
    border-radius: 18px;
    background: var(--surface);
}
.fmx-mo .fmx-site-nav { height: 24px; }
.fmx-hero--mo { position: relative; flex: 0 0 auto; height: 110px; margin: 0 6px; border-radius: 6px; overflow: hidden; }
.fmx-hero--mo b { left: 8px; bottom: 32px; font-size: 13px; }
.fmx-hero--mo .fmx-hero__btn { left: 8px; bottom: 8px; }
.fmx-mo__card { display: flex; flex-direction: column; margin: 0 6px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fmx-mo__card img { width: 100%; height: 44px; object-fit: cover; }
.fmx-mo__card b { padding: 3px 6px; font-size: 12px; }
.fmx-swatches {
    position: absolute;
    right: 18px;
    top: 44px;
    z-index: 5;
    display: flex;
    gap: 7px;
    padding: 6px 8px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(25, 23, 28, 0.16);
    opacity: 0;
}
.fmx-swatches > i { position: relative; width: 16px; height: 16px; border-radius: var(--radius-pill); background: var(--c); }
.fmx-swatches b { position: absolute; inset: -4px; border: 2px solid var(--c); border-radius: var(--radius-pill); }
.fmx-toast {
    position: absolute;
    left: 0;
    right: 0;
    top: 42px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    padding: 6px 11px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}
.fmx-toast svg { width: 13px; height: 13px; color: #7EE2A8; }
.fmx-c3 { position: relative; height: 100%; padding: 12px; }
.fmx-mods { height: 100%; }
.fmx-mods__list { margin: 0; padding: 0; list-style: none; }
.fmx-mod {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid var(--line);
}
.fmx-mod > * { position: relative; }
.fmx-mod__x { display: flex; flex-direction: column; min-width: 0; }
.fmx-mod__x b { font-size: 13px; line-height: 1.3; }
.fmx-mod__x small { overflow: hidden; color: var(--text-muted); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.fmx-mod.is-off .fmx-mod__x b { color: var(--text-muted); }
.fmx-mod__hl { position: absolute !important; inset: 1px -6px; border-radius: 8px; background: var(--acc-tint); opacity: 0; }
.fmx-sw { position: relative; width: 28px; height: 16px; border-radius: var(--radius-pill); background: #D9D9DF; }
.fmx-sw__on { position: absolute; inset: 0; border-radius: inherit; background: var(--acc); }
.fmx-sw__k { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: var(--radius-pill); background: #fff; box-shadow: 0 1px 2px rgba(25, 23, 28, 0.25); }
.fmx-sw:not(.is-on) .fmx-sw__on { opacity: 0; }
.fmx-sw:not(.is-on) .fmx-sw__k { transform: translateX(-12px); }
.fmx-badge {
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--acc-tint);
    color: var(--acc);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}
.fmx-badge--off { background: var(--fmx-ground); color: var(--text-muted); }
.fmx-badge--new { background: var(--acc); color: #fff; }
.fmx-badges { display: grid; justify-items: end; }
.fmx-badges > * { grid-area: 1 / 1; }
.fmx-badges .fmx-badge--off { opacity: 0; }
.fmx-accts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 12px;
}
.fmx-accts > b { font-size: 12px; }
.fmx-acct { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; font-weight: var(--fw-semibold); white-space: nowrap; }
.fmx-acct i { width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--acc); }
.fmx-acct--2 i { background: color-mix(in srgb, var(--acc) 35%, var(--surface)); }
.fmx-code {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    width: 76%;
    overflow: hidden;
    border-radius: 10px;
    background: #16151B;
    color: #E8E8EE;
    box-shadow: 0 16px 36px rgba(25, 23, 28, 0.35);
    opacity: 0;
}
.fmx-code__hd { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #A6A6B2; font-size: 12px; }
.fmx-code__hd i { width: 7px; height: 7px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.2); }
.fmx-code__hd span { margin-left: 6px; font-family: var(--fmx-mono); }
.fmx-code__body { position: relative; padding: 10px 12px; font-family: var(--fmx-mono); font-size: 12px; line-height: 1.75; letter-spacing: 0; }
.fmx-ln { display: block; white-space: pre; }
.fmx-ln > em { display: inline-block; width: 14px; margin-right: 10px; color: #5F5F6B; text-align: right; }
.fmx-code .k { color: #C9A2FF; }
.fmx-code .f { color: #82B1FF; }
.fmx-code .s { color: #9BE0A8; }
.fmx-code .fmx-caret { color: #fff; }
.fmx-ln > span { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.fmx-cover { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: #16151B; }
.fmx-build {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: auto 12px 12px;
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(126, 226, 168, 0.12);
    color: #9BE7B6;
    font-size: 12px;
    font-weight: var(--fw-semibold);
}
.fmx-build svg { width: 13px; height: 13px; }
.fmx-perm {
    position: absolute;
    right: 18px;
    bottom: 48px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 168px;
    padding: 10px 12px 12px;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--line), 0 12px 28px rgba(25, 23, 28, 0.2);
    font-size: 12px;
}
.fmx-perm > b { font-size: 12px; }
.fmx-perm__r { display: flex; align-items: center; gap: 8px; }
.fmx-perm__r.is-off { color: var(--text-muted); }
.fmx-box { position: relative; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #CFCFD6; }
.fmx-box > i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 4px; background: var(--acc); color: #fff; }
.fmx-box svg { width: 12px; height: 12px; }
.fmx-perm .fmx-btn { display: grid; margin-top: 2px; }
.fmx-perm .fmx-btn > * { grid-area: 1 / 1; text-align: center; }
.fmx-perm .fmx-btn > :first-child { opacity: 0; }
.fmx-c4 {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
    height: 100%;
    padding: 12px;
}
.fmx-check__list { margin: 0; padding: 0; list-style: none; }
.fmx-ci { display: flex; align-items: center; gap: 8px; height: 29px; white-space: nowrap; }
.fmx-ck { position: relative; flex: 0 0 auto; width: 18px; height: 18px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px #D3D3DA; }
.fmx-ck > i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--acc); color: #fff; }
.fmx-ck svg { width: 12px; height: 12px; }
.fmx-ci__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fmx-ci__t small { color: var(--text-faint); font-size: 12px; }
.fmx-st { display: grid; margin-left: auto; }
.fmx-st > * { grid-area: 1 / 1; justify-self: end; }
.fmx-st__run, .fmx-st__ok {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: var(--fw-semibold);
}
.fmx-st__run { background: #FFF1E4; color: #B4540A; opacity: 0; }
.fmx-st__ok { background: var(--acc-tint); color: var(--acc); }
.fmx-spin { width: 10px; height: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: var(--radius-pill); }
.fmx-ready { gap: 6px; }
.fmx-rdy { display: grid; font-size: 12px; font-weight: var(--fw-semibold); }
.fmx-rdy > * { grid-area: 1 / 1; }
.fmx-rdy > :first-child { color: var(--text-muted); opacity: 0; }
.fmx-rdy .is-ok { color: var(--acc); }
.fmx-big { display: flex; align-items: baseline; gap: 4px; margin-top: auto; color: var(--acc); font-size: 40px; font-weight: var(--fw-bold); line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fmx-big small { color: var(--text-muted); font-size: 18px; font-weight: var(--fw-semibold); }
.fmx-prog { display: block; height: 6px; margin: 2px 0 4px; overflow: hidden; border-radius: 3px; background: var(--fmx-ground); }
.fmx-prog > i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; }
.fmx-kv { display: flex; justify-content: space-between; gap: 6px; color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.fmx-kv b { color: var(--text-title); font-size: 13px; font-variant-numeric: tabular-nums; }
.fmx-kv--rule { padding-top: 6px; border-top: 1px solid var(--line); }
.fmx-btn--go { width: 100%; margin-top: auto; }
.fmx-live {
    position: absolute;
    inset: 8px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(25, 23, 28, 0.28);
    opacity: 0;
}
.fmx-live__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; background: var(--fmx-ground); flex: 0 0 auto; }
.fmx-url {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    height: 26px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 13px;
    white-space: nowrap;
}
.fmx-url .fmx-caret { color: var(--acc); }
.fmx-lock { display: grid; width: 14px; height: 14px; }
.fmx-lock > * { grid-area: 1 / 1; }
.fmx-lock__a { border: 1.5px solid var(--text-faint); border-radius: var(--radius-pill); opacity: 0; }
.fmx-lock__b { color: #16A34A; }
.fmx-lock__b svg { width: 14px; height: 14px; }
.fmx-live__wait { position: absolute; left: 18px; right: 18px; top: 60px; display: flex; flex-direction: column; gap: 10px; opacity: 0; }
.fmx-live__wait i { height: 14px; border-radius: 4px; background: var(--fmx-ground); }
.fmx-live__wait i:first-child { width: 40%; }
.fmx-live__wait i:last-child { height: 120px; }
.fmx-live__site { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.fmx-hero--live { position: relative; flex: 1 1 auto; margin: 0 8px 8px; border-radius: 8px; overflow: hidden; }
.fmx-hero--live b { left: 16px; bottom: 18px; font-size: 20px; }
.fmx-launch {
    position: absolute;
    right: 18px;
    top: 82px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--acc);
    color: #fff;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    box-shadow: 0 6px 16px rgba(25, 23, 28, 0.25);
}
.fmx-launch svg { width: 14px; height: 14px; }
@container fmx (max-width: 430px) {
    .fmx-c1, .fmx-c4 { grid-template-columns: 1fr; }
    .fmx-plan, .fmx-ready { position: absolute; inset: 12px; z-index: 3; box-shadow: 0 0 0 1px var(--line), 0 12px 28px rgba(25, 23, 28, 0.18); }
    .fmx-file { height: 27px; }
    .fmx-file:nth-child(n + 7) { display: none; }
    .fmx-plan__i { padding: 4px 0; }
    .fmx-plan__i small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .fmx-tile { width: 84px; margin: -40px 0 0 -42px; }
    .fmx-tile__in img { width: 66px; height: 40px; }
    .fmx-tile__in .fmx-ext { height: 40px; }
    .fmx-c2 { grid-template-columns: 112px minmax(0, 1fr); }
    .fmx-rail { display: none; }
    .fmx-lib { padding: 8px; }
    .fmx-thumbs { grid-template-columns: 1fr; }
    .fmx-th:nth-child(n + 3) { display: none; }
    .fmx-chips > span:last-child { display: none; }
    .fmx-canvas { padding: 6px 8px 8px; }
    .fmx-slot--2 { height: 66px; }
    .fmx-cards img { height: 36px; }
    .fmx-swatches { right: 10px; }
    .fmx-mo__in { width: 120px; }
    .fmx-mod { gap: 8px; padding: 4px 0; }
    .fmx-mod__x small { display: none; }
    .fmx-code { left: 12px; width: auto; }
    .fmx-perm { right: 10px; bottom: 44px; }
    .fmx-c4 { padding: 10px; }
    .fmx-check { padding: 10px 12px; }
    .fmx-ci { height: 24px; }
    .fmx-ci__t small { display: none; }
    .fmx-st { margin-left: 8px; }
    .fmx-st > * { justify-self: start; }
    .fmx-ready { padding: 14px; }
    .fmx-big { margin-top: 6px; }
}
.fmx-chaps {
    flex: 0 0 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.fmx-chap {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 2px 0 4px;
    border-radius: 4px;
    color: var(--ink-onDark);
    text-align: left;
}
.fmx-chap__bar { display: block; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.32); }
.fmx-chap__bar > i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; }
.fmx-chap__t { font-size: 13px; font-weight: var(--fw-semibold); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmx-chap[data-ap-pick]:hover { outline: none; }
.fmx-chap[data-ap-pick]:hover .fmx-chap__t { opacity: 1 !important; }
.fmx-chap:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
