.starless-shola-progress {
    border: 1px solid var(--kol-border-color, #dddddd);
    border-radius: 12px;
    background: var(--card, #ffffff);
    color: var(--foreground, #171717);
}
.starless-shola-progress.kol-ui-card {
    display: block;
}
.starless-shola-progress__intro {
}
.starless-shola-progress__intro strong {
    color: var(--foreground, #171717);
    font-size: 14px;
}
.starless-shola-progress__intro span {
    color: var(--muted-foreground, #777777);
    font-size: 11px;
    line-height: 1.6;
}
.starless-shola-progress__bar {
    background: var(--muted, #eeeeee);
}
.starless-shola-progress__bar > span {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--primary, #366ad3),
        color-mix(in srgb, var(--primary, #366ad3) 72%, #7da2f2)
    );
}
.starless-shola-progress__bar > strong {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--primary-foreground, #ffffff);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.starless-shola-progress__footer {
}
.starless-shola-progress__footer button {
    background: var(--primary, #366ad3);
    color: var(--primary-foreground, #ffffff);
    font: inherit;
    cursor: pointer;
}
.starless-shola-progress__dialog.kol-ui-dialog {
    box-sizing: border-box;
    width: min(32rem, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 1px solid var(--border, #dddddd);
    border-radius: 0;
    background: var(--card, #ffffff);
    color: var(--foreground, #171717);
    box-shadow: none;
    direction: rtl;
    text-align: start;
    font-family: var(--kol-font-ui, sans-serif);
    color-scheme: light;
    overflow: hidden;
}
.darkmode .starless-shola-progress__dialog {
    color-scheme: dark;
}
.starless-shola-progress__dialog.kol-ui-dialog:not([open]) {
    display: none;
}
.starless-shola-progress__dialog.kol-ui-dialog[open] {
    display: flex;
    flex-direction: column;
}
.starless-shola-progress__dialog.kol-ui-dialog::backdrop {
    background: rgb(0 0 0 / 55%);
}
.starless-shola-progress__dialog-head {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 4vw, 1.5rem);
    border-block-end: 1px solid var(--border, #dddddd);
}
.starless-shola-progress__dialog-copy {
    min-width: 0;
}
.starless-shola-progress__dialog-head h2 {
    margin: 0;
    color: var(--foreground, #171717);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.5;
}
.starless-shola-progress__dialog-copy p {
    margin: 0.5rem 0 0;
    color: var(--s13-control-muted, var(--muted-foreground, #777777));
    font-size: 0.8125rem;
    line-height: 1.8;
}
.starless-shola-progress__dialog-close.kol-ui-button {
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    flex: 0 0 auto;
    padding: 0;
}
.starless-shola-progress__dialog-close svg {
    width: 1.125rem;
    height: 1.125rem;
}
.starless-shola-progress__dialog-body {
    min-height: 0;
    padding: clamp(1rem, 4vw, 1.5rem);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--border, #dddddd) var(--card, #ffffff);
    font-size: 0.875rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.starless-shola-progress__dialog-body > :first-child {
    margin-block-start: 0;
}
.starless-shola-progress__dialog-body > :last-child {
    margin-block-end: 0;
}
.starless-shola-progress__unavailable {
    margin: 0;
    color: var(--s13-control-muted, var(--muted-foreground, #777777));
}
/* Adapt myCRED's form layout; shared KolNovel primitives own its controls. */
.starless-shola-progress__dialog-body .row {
    margin: 0;
}
.starless-shola-progress__dialog-body .col-xs-12 {
    width: 100%;
    padding: 0;
}
.starless-shola-progress__dialog-body .myCRED-buy-form {
    display: grid;
    gap: 1.25rem;
    margin: 0;
}
.starless-shola-progress__dialog-body .form-group {
    display: grid;
    min-width: 0;
    gap: 0.5rem;
    margin: 0;
}
.starless-shola-progress__dialog-body label {
    color: var(--foreground, #171717);
    font-size: 0.8125rem;
    font-weight: 700;
}
.starless-shola-progress__dialog-body :is(.kol-ui-input, .kol-ui-select, .kol-ui-button) {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
}
.starless-shola-progress__dialog-body .form-control-static {
    margin: 0;
    font-variant-numeric: tabular-nums;
}
