.dbc-sr {
    --dbc-sr-max-w: 1200px;
    --dbc-sr-gap: 20px;
    --dbc-sr-border: #e8eaed;
    --dbc-sr-border-focus: rgba(216, 185, 84, 0.85);
    --dbc-sr-text: #262a30;
    --dbc-sr-muted: #7a828c;
    --dbc-sr-surface: #fafbfc;
    --dbc-sr-accent: #d8b954;
    --dbc-sr-accent-soft: rgba(216, 185, 84, 0.14);
    --dbc-sr-btn-bg: #2f3338;
    --dbc-sr-btn-bg-hover: #1f2328;
    --dbc-sr-star-empty: #d9dde3;
    --dbc-sr-star-fill: #f2c94c;
    --dbc-sr-star-stroke: #e3b73a;
    --dbc-sr-radius: 14px;
    --dbc-sr-shadow: 0 10px 30px rgba(20, 24, 30, 0.06);

    box-sizing: border-box;
    width: 100%;
    max-width: var(--dbc-sr-max-w);
    margin-inline: auto;
    color: var(--dbc-sr-text);
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.dbc-sr *,
.dbc-sr *::before,
.dbc-sr *::after {
    box-sizing: border-box;
}

.dbc-sr__intro {
    margin-bottom: 18px;
    padding: 0 4px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5560;
}

.dbc-sr__intro p {
    margin: 0 0 0.75em;
}

.dbc-sr__intro p:last-child {
    margin-bottom: 0;
}

.dbc-sr__form {
    display: grid;
    gap: var(--dbc-sr-gap);
    padding: 24px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: var(--dbc-sr-radius);
    background: #fff;
    box-shadow: var(--dbc-sr-shadow);
}

.dbc-sr__field {
    display: grid;
    gap: 10px;
}

.dbc-sr__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.dbc-sr__required {
    color: #d14343;
    font-weight: 500;
}

.dbc-sr .dbc-sr__input,
.dbc-sr .dbc-sr__textarea,
.dbc-sr .dbc-sr__readonly {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: 10px;
    background: #fff;
    color: var(--dbc-sr-text);
    font: inherit;
    line-height: 1.45;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.dbc-sr .dbc-sr__input::placeholder,
.dbc-sr .dbc-sr__textarea::placeholder {
    color: #a3aab4;
}

.dbc-sr .dbc-sr__textarea {
    min-height: 132px;
    resize: vertical;
}

.dbc-sr .dbc-sr__readonly {
    background: var(--dbc-sr-surface);
    color: var(--dbc-sr-muted);
}

.dbc-sr .dbc-sr__input:hover,
.dbc-sr .dbc-sr__textarea:hover {
    border-color: #d5dbe3;
}

.dbc-sr .dbc-sr__input:focus,
.dbc-sr .dbc-sr__textarea:focus {
    outline: none;
    border-color: var(--dbc-sr-border-focus);
    box-shadow: 0 0 0 3px var(--dbc-sr-accent-soft);
}

.dbc-sr__identity {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: 12px;
    background: var(--dbc-sr-surface);
}

.dbc-sr__identity .dbc-sr__field {
    gap: 6px;
}

.dbc-sr__identity .dbc-sr__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--dbc-sr-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dbc-sr__identity .dbc-sr__readonly {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dbc-sr-text);
    font-size: 14px;
    font-weight: 500;
}

.dbc-sr__stars {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 4px 0;
}

.dbc-sr__star {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    line-height: 0;
    border-radius: 0;
}

.dbc-sr__star:hover,
.dbc-sr__star:focus,
.dbc-sr__star:focus-visible,
.dbc-sr__star:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
}

.dbc-sr__stars:focus-visible {
    outline: none;
    box-shadow: none;
}

.dbc-sr__star svg {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    transition: transform 0.15s ease;
}

.dbc-sr__star:hover svg {
    transform: scale(1.06);
}

.dbc-sr__star path {
    fill: var(--dbc-sr-star-empty);
    stroke: #c8ced6;
    stroke-width: 1;
    transition: fill 0.15s ease, stroke 0.15s ease;
}

.dbc-sr__star.is-active path,
.dbc-sr__star.is-hover path {
    fill: var(--dbc-sr-star-fill);
    stroke: var(--dbc-sr-star-stroke);
}

.dbc-sr__section-divider {
    height: 1px;
    margin: 2px 0;
    background: linear-gradient(90deg, transparent, var(--dbc-sr-border), transparent);
    border: 0;
}

.dbc-sr__help {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dbc-sr-muted);
}

.dbc-sr__field--screenshots .dbc-sr__help {
    margin-top: -2px;
}

.dbc-sr__field--recommendations {
    gap: 14px;
}

.dbc-sr__recommendation-list {
    display: grid;
    gap: 10px;
}

.dbc-sr__recommendation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.dbc-sr__recommendation-item:hover {
    border-color: #d5dbe3;
    background: var(--dbc-sr-surface);
}

.dbc-sr__recommendation-item:has(input:checked) {
    border-color: var(--dbc-sr-border-focus);
    background: var(--dbc-sr-accent-soft);
    box-shadow: 0 0 0 1px rgba(216, 185, 84, 0.25);
}

.dbc-sr__recommendation-item input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--dbc-sr-accent);
    cursor: pointer;
}

.dbc-sr__recommendation-item span {
    flex: 1;
}

.dbc-sr__textarea--compact {
    min-height: 96px;
}

.dbc-sr__upload {
    position: relative;
    display: grid;
    gap: 12px;
}

.dbc-sr__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.dbc-sr__upload-trigger {
    display: grid;
    gap: 4px;
    padding: 18px 16px;
    border: 1px dashed #cfd6df;
    border-radius: 12px;
    background: var(--dbc-sr-surface);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.dbc-sr__upload.is-dragover .dbc-sr__upload-trigger,
.dbc-sr__upload-trigger:hover {
    border-color: var(--dbc-sr-border-focus);
    background: #fff;
}

.dbc-sr__upload-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dbc-sr-text);
}

.dbc-sr__upload-sub {
    font-size: 13px;
    color: var(--dbc-sr-muted);
}

.dbc-sr__upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.dbc-sr__upload-thumb {
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: 10px;
    background: #fff;
}

.dbc-sr__upload-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.dbc-sr__upload-name {
    font-size: 12px;
    line-height: 1.35;
    color: var(--dbc-sr-muted);
    word-break: break-word;
}

.dbc-sr__actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 4px;
}

.dbc-sr__submit,
.dbc-sr__button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--dbc-sr-btn-bg);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 8px 18px rgba(31, 35, 40, 0.14);
}

.dbc-sr__submit:hover,
.dbc-sr__button:hover {
    background: var(--dbc-sr-btn-bg-hover);
    transform: translateY(-1px);
}

.dbc-sr__submit:active,
.dbc-sr__button:active {
    transform: translateY(0);
}

.dbc-sr__button--secondary {
    background: #fff;
    color: var(--dbc-sr-text);
    border: 1px solid var(--dbc-sr-border);
    box-shadow: none;
}

.dbc-sr__button--secondary:hover {
    background: var(--dbc-sr-surface);
}

.dbc-sr__submit[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dbc-sr__message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
}

.dbc-sr__message.is-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.dbc-sr__message.is-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.dbc-sr__success-panel {
    display: none;
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: var(--dbc-sr-radius);
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    box-shadow: var(--dbc-sr-shadow);
}

.dbc-sr__success-panel.is-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.dbc-sr--submitted .dbc-sr__form,
.dbc-sr--submitted .dbc-sr__intro {
    display: none !important;
}

.dbc-sr__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dbc-sr--login-required,
.dbc-sr--message {
    padding: 24px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: var(--dbc-sr-radius);
    background: #fff;
    text-align: center;
    box-shadow: var(--dbc-sr-shadow);
}

.dbc-sr__notice {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
}

.dbc-sr__login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
}

.dbc-sr.is-hidden {
    display: none;
}

.dbc-sr__turnstile {
    min-height: 65px;
}

.dbc-sr__field--type {
    gap: 14px;
}

.dbc-sr__type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dbc-sr__type-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--dbc-sr-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.dbc-sr__type-option:hover {
    border-color: #d5dbe3;
    background: var(--dbc-sr-surface);
}

.dbc-sr__type-option:has(input:checked) {
    border-color: var(--dbc-sr-border-focus);
    background: var(--dbc-sr-accent-soft);
    box-shadow: 0 0 0 1px rgba(216, 185, 84, 0.25);
}

.dbc-sr__type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dbc-sr__type-option-label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--dbc-sr-text);
}

.dbc-sr__type-option-hint {
    font-size: 13px;
    line-height: 1.45;
    color: var(--dbc-sr-muted);
}

.dbc-sr__help--bug {
    display: none;
}

.dbc-sr--type-bug .dbc-sr__field--rating,
.dbc-sr--type-bug .dbc-sr__field--recommendations,
.dbc-sr--type-bug .dbc-sr__section-divider--recommendations {
    display: none;
}

.dbc-sr--type-bug .dbc-sr__help--general {
    display: none;
}

.dbc-sr--type-bug .dbc-sr__help--bug {
    display: block;
}

@media (max-width: 767px) {
    .dbc-sr__form {
        padding: 18px 16px;
        gap: 18px;
    }

    .dbc-sr__star {
        width: 40px;
        height: 40px;
    }

    .dbc-sr__identity {
        grid-template-columns: 1fr;
    }

    .dbc-sr__submit,
    .dbc-sr__button {
        width: 100%;
    }

    .dbc-sr__login-actions {
        flex-direction: column;
    }

    .dbc-sr__type-options {
        grid-template-columns: 1fr;
    }
}
