.bcsr-block {
    width: 100%;
    max-width: 86.875rem;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 3rem 1rem;
}
.bcsr-block * { box-sizing: border-box; }

.bcsr-heading {
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 125%;
    text-align: center;
    color: #2d2d2d;
    margin: 0 0 2rem;
}

/* Stars */
.bcsr-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.bcsr-star { position: relative; width: 20px; height: 19px; display: inline-block; }
.bcsr-star svg { width: 20px; height: 19px; display: block; }
.bcsr-star-empty svg { fill: #e2dde2; }
.bcsr-star-fill { position: absolute; top: 0; left: 0; overflow: hidden; height: 100%; }
.bcsr-star-fill svg { fill: #f3be2e; }
.bcsr-stars--admin .bcsr-star,
.bcsr-stars--admin .bcsr-star svg { width: 15px; height: 14px; }

/* Summary */
.bcsr-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: #f7f4f8;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2.5rem;
}
.bcsr-summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    min-width: 10rem;
}
.bcsr-summary-number {
    font-family: Mazzard, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: #2d2d2d;
}
.bcsr-summary-count {
    font-family: Mazzard, sans-serif;
    font-size: .9375rem;
    color: #6b6b6b;
}
.bcsr-summary-bars {
    display: flex;
    flex-direction: column;
    gap: .375rem;
    width: 100%;
    max-width: 22rem;
}
.bcsr-bar-row {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-family: Mazzard, sans-serif;
    font-size: .875rem;
    color: #2d2d2d;
    background: none;
    border: 1px solid transparent;
    border-radius: .5rem;
    padding: .1875rem .375rem;
    width: 100%;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.bcsr-bar-row:hover { background: rgba(143, 35, 136, .06); }
.bcsr-bar-row.is-active { border-color: #8f2388; background: rgba(143, 35, 136, .08); }
.bcsr-bar-label { display: inline-flex; align-items: center; gap: 3px; width: 2.25rem; }
.bcsr-bar-label svg { width: 13px; height: 13px; fill: #f3be2e; }
.bcsr-bar-track {
    flex: 1;
    height: .5rem;
    background: #e6e0e6;
    border-radius: 999px;
    overflow: hidden;
}
.bcsr-bar-fill { display: block; height: 100%; background: #8f2388; border-radius: 999px; }
.bcsr-bar-percent { width: 2.25rem; text-align: right; color: #6b6b6b; }
.bcsr-bar-reset {
    align-self: center;
    margin-top: .25rem;
    background: none;
    border: none;
    color: #8f2388;
    font-family: Mazzard, sans-serif;
    font-size: .8125rem;
    text-decoration: underline;
    cursor: pointer;
}

.bcsr-write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.125rem;
    padding: 0 1.75rem;
    border-radius: .75rem;
    background: #8f2388;
    color: #fff;
    font-family: Mazzard, sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    text-decoration: none;
    white-space: nowrap;
}
.bcsr-write-btn:hover { opacity: .85; }
.bcsr-write-btn-wrap { display: flex; justify-content: center; margin-bottom: 2.5rem; }

/* List */
.bcsr-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bcsr-review {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    background: #fff;
    border: 1px solid #ece7ec;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 .1875rem .375rem 0 rgba(0,0,0,.05);
}
.bcsr-review-head { display: flex; align-items: center; gap: .75rem; }
.bcsr-avatar {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Mazzard, sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    overflow: hidden;
}
.bcsr-avatar--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcsr-review-who { display: flex; flex-direction: column; }
.bcsr-review-name { font-family: Mazzard, sans-serif; font-weight: 600; font-size: 1rem; color: #2d2d2d; }
.bcsr-review-location { font-family: Mazzard, sans-serif; font-weight: 300; font-size: .8125rem; color: #8a8a8a; }
.bcsr-review-title { font-family: Mazzard, sans-serif; font-weight: 600; font-size: 1.0625rem; color: #8f2388; margin: 0; }
.bcsr-review-text { font-family: Mazzard, sans-serif; font-weight: 300; font-size: .9375rem; line-height: 1.5; color: #353535; }
.bcsr-review-text p { margin: 0 0 .5em; }
.bcsr-review-text p:last-child { margin-bottom: 0; }

.bcsr-review-images { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.bcsr-review-image {
    width: 4.5rem; height: 4.5rem; padding: 0; border: none; border-radius: .5rem;
    overflow: hidden; cursor: zoom-in; background: #eee;
}
.bcsr-review-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bcsr-lightbox {
    position: fixed; inset: 0; background: rgba(20, 15, 20, .88);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
    padding: 2rem;
}
.bcsr-lightbox[hidden] { display: none; }
.bcsr-lightbox img { max-width: 100%; max-height: 100%; border-radius: .5rem; }
.bcsr-lightbox-close {
    position: absolute; top: 1.25rem; right: 1.5rem; width: 2.75rem; height: 2.75rem;
    border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff;
    font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.bcsr-lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Write-review form */
.bcsr-form-wrap { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.bcsr-form-wrap[hidden] { display: none; }
.bcsr-form {
    width: 100%;
    max-width: 34rem;
    background: #fff;
    border: 1px solid #ece7ec;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 .1875rem .375rem 0 rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bcsr-form-title { font-family: "Montserrat Alternates", sans-serif; font-weight: 700; font-size: 1.375rem; color: #2d2d2d; margin: 0; }
.bcsr-form-note { font-family: Mazzard, sans-serif; font-size: .875rem; color: #8a8a8a; margin: -.5rem 0 0; }
.bcsr-field-row { display: flex; flex-direction: column; gap: .375rem; }
.bcsr-field-row label { font-family: Mazzard, sans-serif; font-weight: 600; font-size: .9375rem; color: #2d2d2d; }
.bcsr-field-row input[type=text],
.bcsr-field-row input[type=file],
.bcsr-field-row textarea {
    font-family: Mazzard, sans-serif;
    font-size: .9375rem;
    padding: .75rem .875rem;
    border-radius: .625rem;
    border: 1px solid #ddd6dd;
    background: #faf8fa;
    resize: vertical;
}
.bcsr-field-row input:focus,
.bcsr-field-row textarea:focus { outline: none; border-color: #8f2388; }
.bcsr-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bcsr-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bcsr-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    padding: .625rem 1.125rem;
    border-radius: .625rem;
    border: 1px dashed #c6a8c3;
    background: #faf8fa;
    color: #8f2388;
    font-family: Mazzard, sans-serif;
    font-weight: 600;
    font-size: .875rem;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.bcsr-upload-btn:hover { background: rgba(143, 35, 136, .06); border-color: #8f2388; }
.bcsr-upload-btn svg { flex-shrink: 0; }

.bcsr-avatar-upload { display: flex; align-items: center; gap: .875rem; }
.bcsr-avatar-upload-preview {
    width: 3.5rem; height: 3.5rem; min-width: 3.5rem; border-radius: 50%;
    background: #f1eaf0; color: #b98fb5; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.bcsr-avatar-upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcsr-avatar-upload-remove {
    background: none; border: none; color: #a32222; font-family: Mazzard, sans-serif;
    font-size: .8125rem; text-decoration: underline; cursor: pointer; padding: 0;
}
.bcsr-form-image-previews { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.bcsr-form-image-previews:empty { display: none; }
.bcsr-form-image-item { position: relative; width: 4.5rem; height: 4.5rem; border-radius: .5rem; overflow: hidden; background: #eee; }
.bcsr-form-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcsr-form-image-remove {
    position: absolute; top: .125rem; right: .125rem; width: 1.25rem; height: 1.25rem; line-height: 1.125rem;
    border: none; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; padding: 0; font-size: .875rem;
}
.bcsr-form-image-remove:hover { background: rgba(0,0,0,.8); }
.bcsr-form-stars { display: inline-flex; gap: .25rem; }
.bcsr-form-star {
    background: none; border: none; padding: 0; font-size: 2rem; line-height: 1;
    color: #d8d8d8; cursor: pointer;
}
.bcsr-form-star.is-active { color: #f3be2e; }
.bcsr-form-message { font-family: Mazzard, sans-serif; font-size: .9375rem; border-radius: .5rem; padding: .75rem 1rem; margin: 0; }
.bcsr-form-message[hidden] { display: none; }
.bcsr-form-message.is-success { background: #e9f7ee; color: #1e7a3d; }
.bcsr-form-message.is-error { background: #fbeaea; color: #a32222; }
.bcsr-form button[disabled] { opacity: .6; cursor: default; }

.bcsr-empty { text-align: center; color: #8a8a8a; font-family: Mazzard, sans-serif; grid-column: 1 / -1; }

.bcsr-load-more-wrap { display: flex; justify-content: center; margin-top: 2rem; }
.bcsr-load-more-wrap[hidden] { display: none; }
.bcsr-load-more {
    height: 3.125rem;
    padding: 0 2rem;
    border-radius: .75rem;
    border: 1px solid #8f2388;
    background: #fff;
    color: #8f2388;
    font-family: Mazzard, sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
}
.bcsr-load-more:hover { background: #8f2388; color: #fff; }
.bcsr-load-more[disabled] { opacity: .6; cursor: default; }

@media all and (max-width: 1000px) {
    .bcsr-list { grid-template-columns: 1fr; }
    .bcsr-heading { font-size: 1.5rem; }
    .bcsr-summary { flex-direction: column; padding: 1.5rem; }
}
