/*
 * Authors, author, series, folders, continue listening, breadcrumbs and series navigation (head.jsp loads this
 * after the theme). Mobile first; all selectors start with .bk so the old pages are not affected. Pages with
 * body.bk-page follow the dark mode of the system, the components on old pages (breadcrumbs, part navigation,
 * continue listening) keep the light colors of these pages.
 */

:root {
    --bk-bg: #f9f9f9;
    --bk-surface: #ffffff;
    --bk-surface-2: #e9e7e3;
    --bk-text: #1c1b1a;
    --bk-muted: rgba(28, 27, 26, 0.66);
    --bk-line: rgba(28, 27, 26, 0.14);
    --bk-hover: rgba(28, 27, 26, 0.06);
    --bk-link: #175d7b;
    --bk-brand: #175d7b;
    --bk-on-brand: #ffffff;
    --bk-done: #0f7b5f;
    --bk-star: #d18b00;
    --bk-radius: 10px;
    --bk-focus: #ffb000;
}

@media (prefers-color-scheme: dark) {
    body.bk-page {
        --bk-bg: #121212;
        --bk-surface: #1e1e1e;
        --bk-surface-2: #2c2c2c;
        --bk-text: #f1f1f1;
        --bk-muted: rgba(241, 241, 241, 0.68);
        --bk-line: rgba(241, 241, 241, 0.14);
        --bk-hover: rgba(241, 241, 241, 0.07);
        --bk-link: #7cc4e4;
        --bk-brand: #3a95bd;
        --bk-done: #3ddc97;
        --bk-star: #ffc233;
        color-scheme: dark;
    }
}

html body.bk-page {
    margin: 0;
    padding: 12px 16px 32px;
    background: var(--bk-bg);
    color: var(--bk-text);
    font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-wrap: anywhere;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.bk-page *,
.bk-page *::before,
.bk-page *::after {
    box-sizing: border-box;
}

.bk-page a {
    color: var(--bk-link);
    text-decoration: none;
}

/* The themes color every element inside a link (a:link *) and underline on hover. */
.bk-page a:link *,
.bk-page a:visited *,
.bk-page a:hover *,
.bk-continue a:link *,
.bk-continue a:visited *,
.bk-continue a:hover *,
.bk-favorites a:link *,
.bk-favorites a:visited *,
.bk-favorites a:hover * {
    color: inherit;
    text-decoration: none;
}

.bk-page a:hover,
.bk-continue a:hover,
.bk-favorites a:hover {
    text-decoration: none;
}

.bk-page :focus-visible {
    outline: 2px solid var(--bk-focus);
    outline-offset: 2px;
}

.bk-page h1,
.bk-page h2 {
    margin: 0;
    color: var(--bk-text);
    font-weight: 700;
    white-space: normal;
    border: 0;
    background: none;
}

.bk-page h1 {
    font-size: 1.5em;
    line-height: 1.25;
}

.bk-page h2 {
    font-size: 1.15em;
    line-height: 1.3;
}

.bk-muted {
    color: var(--bk-muted);
}

.bk-empty {
    margin: 24px 0;
    color: var(--bk-muted);
}

/* Breadcrumbs (also on the old book and folder pages) -------------------------------------- */

.bk-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
    color: var(--bk-muted);
    font-size: 13px;
}

.bk-crumbs li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.bk-crumbs li + li::before {
    content: "\203A";
    padding: 0 6px;
    color: var(--bk-muted);
}

.bk-crumbs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    color: var(--bk-link);
}

.bk-crumbs [aria-current] {
    color: var(--bk-muted);
}

/* Page head with star ------------------------------------------------------------------------ */

.bk-head {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 12px;
}

.bk-head h1 {
    min-width: 0;
}

.bk-star {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--bk-muted);
    cursor: pointer;
}

.bk-star svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.bk-star .bk-on,
.bk-star[aria-pressed="true"] .bk-off {
    display: none;
}

.bk-star[aria-pressed="true"] {
    color: var(--bk-star);
}

.bk-star[aria-pressed="true"] .bk-on {
    display: block;
}

/* Sections ------------------------------------------------------------------------------------ */

.bk-section {
    margin: 24px 0 0;
}

.bk-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0 0 10px;
}

.bk-section-head a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

/* A–Z jump bar and lists --------------------------------------------------------------------- */

.bk-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.bk-letters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
}

.bk-letter {
    margin: 20px 0 4px;
    padding: 0 0 4px;
    border-bottom: 1px solid var(--bk-line);
    color: var(--bk-muted);
    font-size: 1em;
    scroll-margin-top: 8px;
}

.bk-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bk-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--bk-line);
    color: var(--bk-text);
}

.bk-list .bk-muted {
    flex: none;
    font-size: 13px;
}

@media (min-width: 800px) {
    .bk-list.bk-columns {
        column-width: 260px;
        column-gap: 32px;
    }

    .bk-list.bk-columns li {
        break-inside: avoid;
    }
}

/* Cover tiles ----------------------------------------------------------------------------------- */

.bk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 800px) {
    .bk-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px 16px;
    }
}

.bk-tile {
    position: relative;
    min-width: 0;
}

.bk-tile > a,
.bk-tile-text {
    display: block;
    color: var(--bk-text);
}

.bk-page a.bk-tile-text,
.bk-continue a.bk-tile-text {
    min-height: 40px;
    color: var(--bk-text);
}

.bk-cover-wrap {
    position: relative;
}

.bk-cover-wrap .bk-play {
    position: absolute;
    right: 6px;
    bottom: 6px;
}

.bk-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--bk-radius);
    background: var(--bk-surface-2);
}

.bk-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.bk-done-mark {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bk-done);
}

.bk-done-mark svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.bk-tile-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bk-tile-sub {
    overflow: hidden;
    color: var(--bk-muted);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bk-bar {
    display: block;
    height: 4px;
    margin: 6px 0 0;
    overflow: hidden;
    border-radius: 2px;
    background: var(--bk-line);
}

.bk-bar > span {
    display: block;
    height: 100%;
    background: var(--bk-brand);
}

.bk-bar.bk-bar-done > span {
    background: var(--bk-done);
}

.bk-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bk-brand);
    color: var(--bk-on-brand);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.bk-play svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Starred series and authors on the old favorites and home pages ------------------------------ */

.bk-favorites {
    margin: 0 0 20px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bk-favorites h2 {
    margin: 16px 0 10px;
    font-size: 1.15em;
}

/* Continue listening: one scrolling row ------------------------------------------------------ */

.bk-continue {
    margin: 0 0 20px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bk-continue h2 {
    margin: 0;
    font-size: 1.15em;
}

.bk-row-scroll {
    display: grid;
    grid-auto-columns: 140px;
    grid-auto-flow: column;
    gap: 12px;
    margin: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}

.bk-row-scroll > li {
    scroll-snap-align: start;
}

.bk-row-scroll .bk-tile {
    position: relative;
}

@media (min-width: 800px) {
    .bk-row-scroll {
        grid-auto-columns: 160px;
    }
}

/* Buttons --------------------------------------------------------------------------------------- */

.bk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

.bk-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 18px 8px 14px;
    border: 1px solid var(--bk-line);
    border-radius: 22px;
    background: var(--bk-surface);
    color: var(--bk-text);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.bk-page a.bk-btn {
    color: var(--bk-text);
}

.bk-btn svg {
    flex: none;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.bk-btn.bk-primary,
.bk-page a.bk-btn.bk-primary {
    border-color: var(--bk-brand);
    background: var(--bk-brand);
    color: var(--bk-on-brand);
}

.bk-btn span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (hover: hover) {
    .bk-list a:hover,
    .bk-letters a:hover,
    .bk-rows a:hover {
        background: var(--bk-hover);
    }

    .bk-btn:hover {
        filter: brightness(1.06);
    }
}

/* Series page: summary and numbered rows ---------------------------------------------------- */

.bk-series-head {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 16px;
    align-items: start;
}

.bk-series-head .bk-cover {
    width: 112px;
}

.bk-series-head > * {
    min-width: 0;
}

@media (min-width: 800px) {
    .bk-series-head {
        grid-template-columns: 180px 1fr;
        gap: 24px;
    }

    .bk-series-head .bk-cover {
        width: 180px;
    }
}

.bk-meta {
    margin: 2px 0 0;
    color: var(--bk-muted);
}

.bk-description {
    max-width: 70ch;
    margin: 16px 0 0;
    white-space: pre-line;
}

.bk-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.bk-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.bk-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bk-rows li {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--bk-line);
}

.bk-rows a {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 64px;
    padding: 8px 4px;
    color: var(--bk-text);
}

.bk-num {
    flex: none;
    width: 2.6em;
    color: var(--bk-muted);
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.bk-thumb {
    flex: none;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bk-surface-2);
}

.bk-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-row-text {
    flex: 1;
    min-width: 0;
}

.bk-row-title {
    display: block;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bk-row-sub {
    display: block;
    color: var(--bk-muted);
    font-size: 13px;
}

.bk-rows .bk-play {
    flex: none;
    margin-right: 4px;
    box-shadow: none;
}

.bk-chip {
    display: inline-block;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--bk-surface-2);
    color: var(--bk-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
}

.bk-chip.bk-chip-done {
    background: var(--bk-done);
    color: #ffffff !important;
}

/* Series groups on the author page */
.bk-group + .bk-group {
    margin-top: 28px;
}

/* Book page: "Part N of series" with previous / next ----------------------------------------- */

.bk-partnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 4px 0 8px;
    font-size: 14px;
}

.bk-partnav .bk-part {
    font-weight: 600;
}

.bk-partnav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.bk-partnav .bk-prevnext {
    display: inline-flex;
    gap: 4px;
}

.bk-partnav .bk-prevnext a {
    padding: 0 12px;
    border: 1px solid var(--bk-line);
    border-radius: 20px;
    max-width: 260px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    line-height: 38px;
}

/* Folder view of a library root and library list on the folder index ------------------------ */

.bk-libraries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.bk-libraries a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--bk-line);
    border-radius: 20px;
}

.bk-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Library report (settings) ------------------------------------------------------------------- */

.bk-report {
    --bk-error: #b3261e;
    --bk-warning: #8a5a00;
    --bk-info: var(--bk-link);
}

@media (prefers-color-scheme: dark) {
    body.bk-report {
        --bk-error: #ff8a80;
        --bk-warning: #ffcc66;
    }
}

.bk-settings-nav h1 {
    display: none;
}

.bk-settings-nav h2 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;
}

.bk-settings-nav .headerSelected {
    font-weight: 700;
}

.bk-report-intro {
    max-width: 70ch;
    margin: 0 0 8px;
}

.bk-notice {
    margin: 8px 0;
    padding: 8px 12px;
    border-left: 4px solid var(--bk-brand);
    border-radius: 4px;
    background: var(--bk-surface);
}

.bk-report-status form {
    margin: 0;
}

.bk-btn[disabled] {
    opacity: 0.55;
    cursor: default;
}

.bk-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 0;
    padding: 12px;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
}

.bk-filter label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
}

.bk-filter select,
.bk-filter input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 6px 8px;
    border: 1px solid var(--bk-line);
    border-radius: 6px;
    background: var(--bk-bg);
    color: var(--bk-text);
    font: inherit;
    font-weight: 400;
}

.bk-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: end;
}

@media (min-width: 800px) {
    .bk-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr) auto;
        align-items: end;
    }
}

.bk-report-counts-box summary {
    min-height: 40px;
    padding: 8px 0;
    font-weight: 700;
    cursor: pointer;
}

.bk-report-counts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 24px;
}

@media (min-width: 800px) {
    .bk-report-counts {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

.bk-report-group h2 {
    margin: 8px 0 4px;
    font-size: 14px;
}

.bk-report-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bk-count {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    min-height: 32px;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
}

.bk-page a.bk-count {
    color: var(--bk-text);
}

.bk-count[aria-current] {
    background: var(--bk-brand);
}

.bk-page a.bk-count[aria-current] {
    color: var(--bk-on-brand);
}

.bk-count-zero {
    opacity: 0.55;
}

.bk-count-n {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bk-report-range {
    margin-top: 20px;
    font-size: 15px;
}

.bk-findings {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bk-finding {
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid var(--bk-line);
    border-left: 4px solid var(--bk-info);
    border-radius: 6px;
    background: var(--bk-surface);
}

.bk-finding.bk-sev-error {
    border-left-color: var(--bk-error);
}

.bk-finding.bk-sev-warning {
    border-left-color: var(--bk-warning);
}

.bk-finding-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 13px;
}

.bk-sev {
    font-weight: 700;
    color: var(--bk-info);
}

.bk-sev-error .bk-sev {
    color: var(--bk-error);
}

.bk-sev-warning .bk-sev {
    color: var(--bk-warning);
}

.bk-finding-msg {
    margin: 6px 0 4px;
    font-weight: 600;
}

.bk-path {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.bk-path code {
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px 6px;
    border-radius: 4px;
    background: var(--bk-hover);
    font: 13px/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    overflow-wrap: anywhere;
}

.bk-path-actions {
    display: inline-flex;
    flex: none;
    gap: 2px;
}

.bk-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--bk-line);
    border-radius: 18px;
    background: transparent;
    color: var(--bk-text);
    cursor: pointer;
}

.bk-page a.bk-icon-btn {
    color: var(--bk-text);
}

.bk-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.bk-icon-btn.bk-copied {
    border-color: var(--bk-done);
    color: var(--bk-done);
}

.bk-finding-detail,
.bk-finding-suggestion {
    margin: 6px 0 0;
    font-size: 13px;
}

.bk-finding-detail {
    color: var(--bk-muted);
}

.bk-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 16px 0;
}

/* Book page: Share button and the sheet with the public link (script/booksonic-share.js) ---------- */

.bk-share-button {
    vertical-align: middle;
    margin: 0 4px;
    font-size: 16px;
    background: var(--bk-surface);
}

/* Author and series pages: next to the name in the page head */
.bk-head .bk-share-button {
    flex: none;
    margin: 0 0 0 8px;
}

.bk-share-button[disabled] {
    opacity: 0.6;
    cursor: default;
}

html.bk-sheet-open,
html.bk-sheet-open body {
    overflow: hidden;
}

.bk-sheet[hidden],
.bk-sheet [hidden] {
    display: none !important;
}

.bk-sheet {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bk-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.bk-sheet-panel {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 16px 16px 0 0;
    background: var(--bk-surface);
    color: var(--bk-text);
    font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.bk-sheet-panel h2 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
}

.bk-sheet-panel h2:focus {
    outline: none;
}

.bk-sheet-status:empty {
    display: none;
}

.bk-sheet-label {
    display: block;
    margin: 4px 0 6px;
    color: var(--bk-muted);
    font-size: 13px;
}

.bk-share-url {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--bk-line);
    border-radius: 8px;
    background: var(--bk-bg);
    color: var(--bk-text);
    font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.bk-sheet-hint {
    margin: 8px 0 0;
    color: var(--bk-muted);
    font-size: 13px;
}

.bk-sheet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
}

.bk-sheet-actions .bk-btn,
.bk-sheet-footer .bk-btn {
    padding-left: 18px;
}

.bk-btn.bk-copied {
    border-color: var(--bk-done);
    background: var(--bk-done);
    color: var(--bk-on-brand);
}

.bk-sheet-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--bk-line);
}

.bk-sheet-footer .bk-btn {
    margin-left: auto;
}

@media (min-width: 600px) {
    .bk-sheet {
        align-items: center;
    }

    .bk-sheet-panel {
        border-radius: 16px;
        padding-bottom: 16px;
    }
}
