@charset "utf-8";
.bkf-rf-rules { left: 40px; top: 72px; width: 400px; padding: 22px 22px 24px; z-index: 3; }
.bkf-rf-rules__h { display: flex; justify-content: space-between; margin: 16px 0 6px; padding: 0 14px; font-size: 12px; line-height: 16px; color: var(--bkf-muted); }
.bkf-rf-rule-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bkf-rf-rule {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
}
.bkf-rf-rule > :not(i) { position: relative; }
.bkf-rf-rule b { font-size: 15px; font-variant-numeric: tabular-nums; }
.bkf-rf-rule + .bkf-rf-rule::before { content: ""; position: absolute; left: 14px; right: 14px; top: -2.5px; height: 1px; background: var(--bkf-line); }
.bkf-rf-rule__hl { position: absolute; inset: 0; border-radius: inherit; background: var(--bkf-tint); box-shadow: inset 0 0 0 1.5px var(--sol-accent); opacity: 0; }
.bkf-rf-rule[data-bkf-hit] .bkf-rf-rule__hl { opacity: 1; }
.bkf-rf-rule[data-bkf-hit] b { color: var(--sol-accent-em); }
.bkf-rf-ruler { margin-top: 22px; padding: 30px 6px 0; }
.bkf-rf-ruler__line {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding-top: 10px;
    font-size: 12px;
    line-height: 16px;
    color: var(--bkf-muted);
}
.bkf-rf-ruler__line::before { content: ""; position: absolute; left: 4px; right: 4px; top: 3px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 14%, #fff); }
.bkf-rf-ruler__line > span { position: relative; display: grid; justify-items: center; width: 8px; white-space: nowrap; }
.bkf-rf-ruler__line > span > i { position: absolute; top: -10px; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 26%, #fff); }
.bkf-rf-mark {
    position: absolute;
    left: 50%;
    bottom: 26px;
    display: grid;
    justify-items: center;
    margin-left: -40px;
    width: 80px;
    font-style: normal;
}
.bkf-rf-mark b {
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--sol-accent);
    color: var(--sol-accent-ink);
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}
.bkf-rf-mark::after { content: ""; width: 2px; height: 10px; background: var(--sol-accent); }
.bkf-rf-win { left: 470px; right: 40px; top: 56px; bottom: -1px; }
.bkf-rf-body { padding: 22px 26px 0; }
.bkf-rf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bkf-rf-id { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.bkf-rf-id b { font-size: 20px; line-height: 28px; letter-spacing: -0.02em; }
.bkf-rf-id span { font-size: 14px; line-height: 20px; color: var(--bkf-muted); }
.bkf-rf-chips { display: grid; justify-items: end; }
.bkf-rf-chips > * { grid-area: 1 / 1; }
.bkf-rf-chip--req { opacity: 0; }
.bkf-rf-prog {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    font-size: 12px;
    line-height: 16px;
    color: color-mix(in srgb, var(--ink) 76%, #fff);
}
.bkf-rf-prog__track { position: absolute; left: 12.5%; right: 12.5%; top: 10px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 10%, #fff); }
.bkf-rf-prog__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--sol-accent); transform-origin: 0 50%; transform: none; }
.bkf-rf-step { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: var(--fw-medium); }
.bkf-rf-step__dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 18%, #fff); }
.bkf-rf-step__dot i { width: 22px; height: 22px; border-radius: 50%; background: var(--sol-accent); box-shadow: inset 0 0 0 6px var(--sol-accent), inset 0 0 0 22px #fff; }
.bkf-rf-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.bkf-rf-calc { padding: 8px 18px 0; border-radius: 14px; background: var(--surface-sub); }
.bkf-rf-calc__row { display: flex; justify-content: space-between; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--bkf-line); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.bkf-rf-calc__row span { color: color-mix(in srgb, var(--ink) 76%, #fff); }
.bkf-rf-calc__row.is-minus b { color: var(--bkf-bad); }
.bkf-rf-back { display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding: 14px 0 16px; font-size: 14px; line-height: 20px; font-weight: var(--fw-semibold); }
.bkf-rf-back > b { display: inline-flex; align-items: baseline; font-size: 18px; line-height: 36px; }
.bkf-rf-back__n { font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--sol-accent-em); margin-right: 2px; }
.bkf-rf-side__t { margin: 4px 0 0; font-size: 14px; line-height: 20px; font-weight: var(--fw-semibold); }
.bkf-rf-send { margin-top: 12px; height: 46px; }
.bkf-rf-send__lift { display: grid; place-items: center; }
.bkf-rf-send__lift > * { grid-area: 1 / 1; }
.bkf-rf-send__spin, .bkf-rf-send__t { opacity: 0; }
.bkf-rf-send__spin { display: grid; place-items: center; }
.bkf-rf-send__spin i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, 0.35); border-top: 2.5px solid #fff; box-sizing: border-box; }
.bkf-rf-send__ok { display: inline-flex; align-items: center; gap: 6px; }
.bkf-rf-send__ok svg { width: 18px; height: 18px; stroke-width: 2.4; }
.bkf-rf-log__h { margin: 18px 0 6px; font-size: 12px; line-height: 16px; color: var(--bkf-muted); }
.bkf-rf-log { margin: 0; padding: 0; list-style: none; }
.bkf-rf-log li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 10px;
    border-bottom: 1px solid var(--bkf-line);
    font-size: 13px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
}
.bkf-rf-log li > :not(i) { position: relative; }
.bkf-rf-log li span:first-of-type { color: var(--bkf-muted); }
.bkf-rf-log li span:last-child { color: color-mix(in srgb, var(--ink) 76%, #fff); }
.bkf-rf-log__glow { position: absolute; inset: 0; border-radius: 8px; background: var(--bkf-tint); opacity: 0; }
.bkf-rf-calc { position: relative; }
.bkf-rf-new {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0 16px;
    text-align: center;
    font-size: 13px;
    line-height: 18px;
    color: color-mix(in srgb, var(--ink) 76%, #fff);
    opacity: 0;
}
.bkf-rf-new__i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; background: var(--bkf-warn-bg); color: var(--bkf-warn); }
.bkf-rf-new__i svg { width: 20px; height: 20px; }
.bkf-rf-new b { font-size: 16px; line-height: 22px; color: var(--ink); }
@media (max-width: 1279px) {
    .bkf-rf-rules { left: 24px; width: 340px; }
    .bkf-rf-win { left: 384px; right: 24px; }
    .bkf-rf-cols { grid-template-columns: minmax(0, 1fr); }
    .bkf-rf-calc__row:nth-child(2) { display: none; }
    .bkf-rf-log__h, .bkf-rf-log { display: none; }
    .bkf-rf-id span { display: none; }
}
@media (max-width: 1023px) {
    .bkf-rf .bkf-tray { height: auto; display: flex; flex-direction: column; gap: 16px; padding: 64px 24px 24px; }
    .bkf-rf-rules, .bkf-rf-win { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
    .bkf-rf-win { border-radius: 14px; padding-bottom: 22px; }
    .bkf-rf-id span { display: inline; }
}
@media (max-width: 767px) {
    .bkf-rf .bkf-tray { padding: 56px 12px 12px; }
    .bkf-rf-rules { padding: 18px 14px 20px; }
    .bkf-rf-ruler__line > span:nth-child(2n) { visibility: visible; }
    .bkf-rf-body { padding: 16px 14px 0; }
    .bkf-rf-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .bkf-rf-id { flex-direction: column; gap: 0; }
    .bkf-rf-prog { font-size: 12px; }
    .bkf-rf-step { padding: 0 2px; word-break: keep-all; }
}
