#btop-flash-section, .btop-flash-page {
    --flash-accent: #672ac7;
    --flash-tint: #f1eafb;
    --flash-muted: #656a76;
    --flash-ink: #252733;
    --flash-line: #e7e4ed;
    --flash-paper: #fff;
}
#btop-flash-section { margin-block: 20px 24px; scroll-margin-top: 82px; }
.btop-flash-home, .btop-flash-page-head, .btop-flash-single, .btop-flash-latest {
    background: var(--flash-paper);
    border: 1px solid var(--flash-line);
    border-radius: 14px;
    padding: clamp(14px, 2vw, 24px);
}
.btop-flash-home { background: #f6f4f9; }
.btop-flash-head, .btop-flash-actions, .btop-flash-back, .btop-flash-single-meta,
.btop-flash-timeline-meta, .btop-flash-editor, .btop-flash-origin {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.btop-flash-head, .btop-flash-back { justify-content: space-between; }
.btop-flash-head h1, .btop-flash-head h2 { margin: 0; color: var(--flash-ink); font-weight: 750; }
.btop-flash-head h2 { font-size: 19px; }
.btop-flash-head h1 { font-size: clamp(24px, 4vw, 34px); }
.btop-flash-heading-group { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.btop-flash-schedule { color: var(--flash-muted); font-size: 13px; }
.btop-flash-actions a, .btop-flash-back a, .btop-flash-head a, .btop-flash-editor a,
.btop-flash-origin a, .btop-flash-editor button { color: var(--flash-accent); }
.btop-flash-actions .btop-flash-view-all {
    background: var(--flash-accent);
    color: #fff;
    padding: 7px 11px;
    border-radius: 7px;
    font-weight: 650;
    white-space: nowrap;
}
.btop-flash-copy { display: grid; justify-items: start; min-width: 0; max-width: 100%; gap: 5px; }
.btop-flash-copy-button {
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid #d9c9f0;
    border-radius: 7px;
    background: var(--flash-tint);
    color: var(--flash-accent);
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
}
.btop-flash-copy-button:hover, .btop-flash-copy-button:focus-visible { border-color: var(--flash-accent); }
.btop-flash-copy-status { color: var(--flash-muted); font-size: 12px; }
.btop-flash-copy-status:empty { display: none; }
.btop-flash-copy-text { width: min(320px, 100%); padding: 7px; color: var(--flash-ink); background: var(--flash-paper); }
.btop-flash-copy-text[hidden] { display: none; }
.btop-flash-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.btop-flash-card { min-width: 0; background: var(--flash-paper); border-radius: 9px; border: 1px solid var(--flash-line); }
.btop-flash-card:hover, .btop-flash-card:focus-within { border-color: #bca4e3; }
.btop-flash-card > a { min-height: 88px; display: flex; flex-direction: column; gap: 7px; padding: 11px 12px; color: var(--flash-ink); }
.btop-flash-card h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.btop-flash-time { color: var(--flash-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.btop-flash-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: auto; }
.btop-flash-new { padding: 1px 5px; border-radius: 4px; background: #f1e5fd; color: #641bab; font-size: 11px; font-weight: 700; line-height: 1.4; }
.btop-flash-card .btop-flash-editor { padding: 0 12px 8px; }
.btop-flash-empty { color: var(--flash-muted); margin: 14px 0 0; }
.btop-flash-home-footer { margin-top: 12px; text-align: center; }
.btop-flash-home-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 5px 16px;
    border: 1px solid #d9c9f0;
    border-radius: 7px;
    background: var(--flash-paper);
    color: var(--flash-accent);
    font-weight: 650;
}
.btop-flash-home-footer a[aria-busy] { opacity: .6; cursor: progress; }
.btop-flash-home-footer p { margin: 5px 0 0; color: var(--flash-muted); font-size: 13px; }
.btop-flash-home-footer p:empty { display: none; }
.btop-flash-page { padding-block: 24px 56px; }
.btop-flash-inner { width: min(100%, 1000px); margin-inline: auto; }
.btop-flash-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.btop-flash-filters a {
    border: 1px solid var(--flash-line);
    border-radius: 20px;
    color: var(--flash-ink);
    padding: 6px 12px;
    font-size: 14px;
}
.btop-flash-filters a[aria-current] { background: var(--flash-accent); border-color: var(--flash-accent); color: #fff; }
.btop-flash-day { margin: 24px 0; }
.btop-flash-day-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.btop-flash-day h2 { margin: 0; font-size: 18px; color: var(--flash-ink); }
.btop-flash-day-head .btop-flash-copy-button { min-height: 32px; font-size: 13px; }
.btop-flash-timeline { margin: 12px 0 0 7px; padding: 0 0 0 18px; list-style: none; border-left: 2px solid #decfee; }
.btop-flash-timeline > li { position: relative; padding-bottom: 10px; }
.btop-flash-timeline > li::before {
    content: '';
    position: absolute;
    top: 19px;
    left: -24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--flash-accent);
    outline: 3px solid var(--flash-tint);
}
.btop-flash-timeline article { padding: 13px 16px; background: var(--flash-paper); border: 1px solid var(--flash-line); border-radius: 10px; }
.btop-flash-timeline-meta span, .btop-flash-single-meta span { color: var(--flash-accent); background: var(--flash-tint); padding: 2px 7px; border-radius: 4px; font-size: 12px; }
.btop-flash-timeline-meta .btop-flash-new { background: #f1e5fd; color: #641bab; font-size: 11px; }
.btop-flash-timeline h3 { margin: 7px 0 0; font-size: clamp(19px, 2vw, 22px); font-weight: 700; line-height: 1.45; }
.btop-flash-timeline h3 a { color: var(--flash-ink); overflow-wrap: anywhere; }
.btop-flash-timeline h3 a:hover, .btop-flash-timeline h3 a:focus-visible { color: var(--flash-accent); }
.btop-flash-timeline p { color: var(--flash-muted); margin: 7px 0 0; line-height: 1.6; }
.btop-flash-timeline-brief article { padding-block: 9px; }
.btop-flash-timeline-brief h3 { margin-top: 4px; }
.btop-flash-timeline-brief .btop-flash-timeline-meta span { padding: 0; background: none; color: var(--flash-muted); }
.btop-flash-timeline-loader { min-height: 32px; text-align: center; color: var(--flash-muted); font-size: 13px; }
.btop-flash-timeline-loader p { margin: 0 0 6px; }
.btop-flash-timeline-loader button { padding: 5px 12px; border: 1px solid var(--flash-line); border-radius: 6px; color: var(--flash-accent); background: var(--flash-tint); cursor: pointer; }
.btop-flash-timeline-loader button[hidden] { display: none; }
.btop-flash-editor { margin-top: 7px; font-size: 13px; }
.btop-flash-editor form { margin: 0; }
.btop-flash-editor button { border: 0; padding: 0; background: none; cursor: pointer; }
.btop-flash-back { margin-bottom: 14px; }
.btop-flash-single h1 { color: var(--flash-ink); font-weight: 750; font-size: clamp(24px, 4vw, 36px); line-height: 1.35; }
.btop-flash-single-meta { margin-top: 12px; }
.btop-flash-single-content { margin: 22px 0; color: var(--flash-ink); font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.btop-flash-single-content img, .btop-flash-gallery img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.btop-flash-gallery { display: grid; justify-items: start; gap: 14px; }
.btop-flash-single-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--flash-line); color: var(--flash-muted); }
.btop-flash-share { margin-top: 12px; }
.btop-flash-share summary { color: var(--flash-accent); cursor: pointer; }
.btop-flash-share button { margin-top: 8px; padding: 6px 10px; border: 1px solid var(--flash-line); border-radius: 6px; background: var(--flash-tint); color: var(--flash-accent); }
.btop-flash-share p { margin: 8px 0 0; font-size: 13px; }
.btop-flash-latest { margin-top: 14px; }
.btop-flash-latest h2 { margin: 0 0 6px; font-size: 18px; color: var(--flash-ink); }
.btop-flash-latest ul { margin: 0; padding: 0; list-style: none; }
.btop-flash-latest li + li { border-top: 1px solid var(--flash-line); }
.btop-flash-latest li a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; color: var(--flash-ink); }
.btop-flash-latest li a:hover, .btop-flash-latest li a:focus-visible { color: var(--flash-accent); }
.btop-flash-latest li span { overflow-wrap: anywhere; }
.btop-flash-latest-meta { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; }
.btop-flash-latest-footer { padding-top: 16px; text-align: center; }
.btop-flash-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 22px;
    border-radius: 8px;
    background: var(--flash-accent);
    color: #fff;
    font-weight: 650;
}
.btop-flash-all-button:hover, .btop-flash-all-button:focus-visible { background: #52209f; color: #fff; }
@media (max-width: 1180px) {
    .btop-flash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1180px) {
    .btop-flash-grid:not([data-expanded]) > .btop-flash-card:nth-child(n+10) { display: none; }
}
@media (max-width: 767.98px) {
    .btop-flash-grid:not([data-expanded]) > .btop-flash-card:nth-child(n+11) { display: none; }
}
@media (max-width: 640px) {
    .btop-flash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .btop-flash-page { padding-block: 14px 90px; }
    .btop-flash-timeline article { padding: 12px; }
    .btop-flash-all-button { display: flex; }
}
