@charset "utf-8";
.apf {
    --apf-tint: var(--sol-accent-tint, color-mix(in srgb, var(--sol-accent) 9%, #fff));
    --apf-tint-2: color-mix(in srgb, var(--sol-accent) 15%, #fff);
    --apf-line: rgba(25, 23, 28, 0.09);
    --apf-line-2: rgba(25, 23, 28, 0.06);
    --apf-muted: color-mix(in srgb, var(--ink) 72%, #fff);
    --apf-sub: #F5F4F7;
    --apf-ok: #0B6B3B;
    --apf-ok-bg: #E6F4EC;
    --apf-bad: #B42318;
    --apf-bad-bg: #FDECEA;
    --apf-glide: cubic-bezier(0.55, 0, 0.25, 1);
    --apf-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, Pretendard, monospace;
    --apf-code: #17141F;
    --apf-code-2: #211D2C;
    --apf-c-ink: #ECE9F4;
    --apf-c-dim: #A29CB4;
    --apf-c-key: #C9B8FF;
    --apf-c-str: #A6E9C2;
    --apf-c-num: #FFD39E;
    --apf-c-ok: #7EE2A8;
    --apf-c-bad: #FF9C8F;
}
.apf-stage { margin: 64px 0 0; }
.apf-tray {
    position: relative;
    height: 640px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--sol-accent) 15%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px,
        linear-gradient(225deg,
            color-mix(in srgb, var(--sol-accent) 5%, #fff) 0%,
            color-mix(in srgb, var(--sol-accent) 18%, #fff) 100%);
    color: var(--ink);
    letter-spacing: -0.01em;
    font-size: 14px;
    line-height: 20px;
}
.apf-tray svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.apf-tray svg.apf-logo { fill: initial; stroke: none; --tl-per: var(--sol-accent-fill, var(--sol-accent)); --tl-ink: var(--ink); }
.apf-tray p,
.apf-tray ul,
.apf-tray ol,
.apf-tray dl,
.apf-tray dd,
.apf-tray pre { margin: 0; }
.apf-tray ul,
.apf-tray ol { padding: 0; list-style: none; }
.apf-win {
    position: relative;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(25, 23, 28, 0.06), 0 24px 60px -12px rgba(24, 20, 64, 0.22);
}
.apf-win__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid var(--apf-line-2);
    background: #FAFAFB;
}
.apf-win__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #E3E1E7; }
.apf-win__addr {
    flex: 1;
    min-width: 0;
    margin: 0 36px 0 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: var(--apf-muted);
}
.apf-win--dark { background: var(--apf-code); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 70px -14px rgba(16, 10, 40, 0.5); }
.apf-win--dark .apf-win__bar { background: var(--apf-code-2); border-bottom-color: rgba(255, 255, 255, 0.06); }
.apf-win--dark .apf-win__bar > i { background: #3A3547; }
.apf-win--dark .apf-win__addr { color: var(--apf-c-dim); }
.apf-top {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 52px;
    padding: 0 20px;
    border-bottom: 1px solid var(--apf-line-2);
}
.apf-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--apf-muted); white-space: nowrap; }
.apf-crumb b { color: var(--ink); font-weight: var(--fw-semibold); }
.apf-crumb i { font-style: normal; color: var(--apf-muted); }
.apf-who { margin-left: auto; font-size: 13px; color: var(--apf-muted); white-space: nowrap; }
.apf-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 7px;
    background: var(--apf-sub);
    font-size: 12px;
    line-height: 16px;
    font-weight: var(--fw-semibold);
    color: var(--apf-muted);
    white-space: nowrap;
}
.apf-chip--pt { background: var(--apf-tint); color: var(--sol-accent-em); }
.apf-chip--ok { background: var(--apf-ok-bg); color: var(--apf-ok); }
.apf-chip--bad { background: var(--apf-bad-bg); color: var(--apf-bad); }
.apf-chip--solid { background: var(--sol-accent); color: var(--sol-accent-ink); }
.apf-chip svg { width: 13px; height: 13px; }
.apf-mono { font-family: var(--apf-mono); letter-spacing: 0; }
.apf-method {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--apf-ok-bg);
    color: var(--apf-ok);
    font-family: var(--apf-mono);
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: 0;
}
.apf-method--w { background: var(--apf-tint); color: var(--sol-accent-em); }
.apf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--apf-line);
    color: var(--ink);
}
.apf-btn--solid { background: var(--sol-accent); color: var(--sol-accent-ink); box-shadow: none; }
.apf-btn svg { width: 15px; height: 15px; }
.apf-press { position: relative; }
.apf-press::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--sol-accent) 45%, transparent);
    opacity: 0;
    pointer-events: none;
}
.apf-toast {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    box-shadow: 0 18px 40px -10px rgba(16, 10, 40, 0.45);
    white-space: nowrap;
}
.apf-toast b { display: block; font-size: 14px; line-height: 20px; font-weight: var(--fw-semibold); }
.apf-toast small { display: block; font-size: 12px; line-height: 17px; color: rgba(255, 255, 255, 0.78); }
.apf-toast__i {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--apf-c-ok);
    color: #0B3D22;
}
.apf-toast__i svg { width: 16px; height: 16px; stroke-width: 2.6; }
.apf-cur {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    opacity: 0;
}
.apf-cur svg {
    position: absolute;
    left: -3px;
    top: -2px;
    width: 26px;
    height: 26px;
    fill: var(--ink);
    stroke: #fff;
    stroke-width: 1.6;
    filter: drop-shadow(0 4px 6px rgba(16, 10, 40, 0.3));
}
.apf-k { color: var(--apf-c-key); }
.apf-s { color: var(--apf-c-str); }
.apf-n { color: var(--apf-c-num); }
.apf-p { color: var(--apf-c-dim); }
.apf-facts {
    margin: 48px 0 0;
    padding: 0 8px;
}
@media screen and (prefers-reduced-motion: no-preference) {
    .apf-stage.is-off,
    .apf-stage.is-off * { animation-play-state: paused !important; }
    .apf-stage.is-off *::before,
    .apf-stage.is-off *::after { animation-play-state: paused !important; }
}
@media (max-width: 1279px) {
}
@media (max-width: 1023px) {
    .apf-tray { height: auto; }
    .apf-facts { padding: 0; }
}
@media (max-width: 767px) {
    .apf-cur svg { scale: 0.86; transform-origin: 3px 2px; }
    .apf-stage { margin-top: 40px; }
    .apf-tray { border-radius: var(--radius-card); }
    .apf-win { border-radius: 12px 12px 0 0; }
    .apf-win__bar { height: 34px; }
    .apf-win__addr { display: none; }
}
