.ocg-shell {
    --ocg-bg: #0d1117;
    --ocg-panel: #121a24;
    --ocg-panel-2: #192433;
    --ocg-text: #ebf2ff;
    --ocg-muted: #94a6bd;
    --ocg-accent: #4de2b8;
    --ocg-danger: #ff6f7d;
    --ocg-outline: #28374c;
    color: var(--ocg-text);
    border-radius: 18px;
    padding: 26px;
    margin: 24px 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(77, 226, 184, 0.14), transparent 36%),
        radial-gradient(circle at 92% 84%, rgba(255, 111, 125, 0.12), transparent 40%),
        var(--ocg-bg);
    border: 1px solid #1d2938;
    box-shadow: 0 24px 38px rgba(4, 10, 20, 0.4);
}

.ocg-shell h2,
.ocg-shell h3,
.ocg-shell h4 {
    margin: 0;
    font-family: "Space Grotesk", "Manrope", sans-serif;
}

.ocg-shell p,
.ocg-shell span,
.ocg-shell input,
.ocg-shell textarea,
.ocg-shell button,
.ocg-shell dt,
.ocg-shell dd,
.ocg-shell label {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.ocg-subline {
    color: var(--ocg-muted);
    margin: 8px 0 20px;
}

.ocg-review-note {
    margin: -8px 0 18px;
    color: #9fd2f5;
    font-size: 0.94rem;
}

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

.ocg-col-full {
    grid-column: 1 / -1;
}

.ocg-form label,
.ocg-login-step label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #d8e1ef;
}

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

.ocg-form input,
.ocg-form textarea,
.ocg-login-step input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--ocg-outline);
    background: linear-gradient(135deg, #101822, #0e151d);
    border-radius: 10px;
    padding: 11px 12px;
    color: #f5f9ff;
}

.ocg-field-error {
    border-color: #ff7a8d !important;
    box-shadow: 0 0 0 1px rgba(255, 122, 141, 0.35);
}

.ocg-field-error-message {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #ff9fb0;
}

.ocg-form textarea {
    resize: vertical;
    min-height: 92px;
}

.ocg-dropzone {
    border: 1px dashed #3d536f;
    background: #0b121b;
    border-radius: 12px;
    min-height: 130px;
    display: grid;
    place-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ocg-dropzone.is-drag {
    border-color: var(--ocg-accent);
    box-shadow: inset 0 0 0 1px var(--ocg-accent);
}

.ocg-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ocg-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ocg-preview-item {
    width: 78px;
    height: 78px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid #2e4259;
}

.ocg-actions {
    margin-top: 18px;
}

.ocg-btn,
.ocg-react-btn {
    border: 0;
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 14px;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.ocg-btn {
    background: linear-gradient(135deg, #38d8ad, #25b8d4);
    color: #001018;
    font-weight: 700;
}

.ocg-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(56, 216, 173, 0.25);
}

.ocg-btn-secondary {
    background: #213144;
    color: #dce7f7;
}

.ocg-status,
.ocg-login-status {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--ocg-muted);
}

.ocg-status.is-error,
.ocg-login-status.is-error {
    color: #ff9fab;
}

.ocg-status.is-success,
.ocg-login-status.is-success {
    color: #88f3cf;
}

.ocg-cards {
    display: grid;
    gap: 16px;
}

.ocg-sort-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.ocg-sort-btn {
    border: 1px solid #345070;
    background: #111d2a;
    color: #d4e3f8;
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 600;
}

.ocg-sort-btn.is-active {
    background: linear-gradient(130deg, #203b56, #1f3758);
    border-color: #7ea0cf;
}

.ocg-card {
    background: linear-gradient(160deg, #101823, #131f2d);
    border: 1px solid #263549;
    border-radius: 14px;
    overflow: hidden;
}

.ocg-slider {
    position: relative;
    height: 260px;
    background: #0a1017;
}

.ocg-slide-track {
    height: 100%;
}

.ocg-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.ocg-slide.is-active {
    display: block;
}

.ocg-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 0;
    color: #f0f7ff;
    background: rgba(8, 13, 19, 0.72);
    cursor: pointer;
}

.ocg-slide-nav.prev {
    left: 10px;
}

.ocg-slide-nav.next {
    right: 10px;
}

.ocg-card-body {
    padding: 16px;
}

.ocg-author {
    color: var(--ocg-muted);
    margin: 6px 0 14px;
}

.ocg-meta {
    display: grid;
    gap: 10px;
    margin: 0;
}

.ocg-meta dt {
    color: #9cc0e6;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ocg-meta dd {
    margin: 4px 0 0;
    white-space: pre-wrap;
}

.ocg-reactions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.ocg-react-btn {
    background: #1a2634;
    color: #d8e4f7;
    border: 1px solid #2b3d56;
    min-width: 82px;
}

.ocg-react-btn.is-active {
    background: linear-gradient(130deg, #21485f, #25335f);
    border-color: #6d88c6;
}

.ocg-account {
    margin-top: 20px;
    border-top: 1px solid #263549;
    padding-top: 18px;
}

.ocg-account-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ocg-account-post {
    border: 1px solid #2a3a4f;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    background: #0e1621;
}

.ocg-account-post[data-status="pending"] {
    border-color: #5f4f2b;
}

.ocg-account-post .ocg-status-label {
    font-size: 0.85rem;
    color: #b8c8df;
}

.ocg-guide-block {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #2a3a4f;
    border-radius: 12px;
    background: #0e1621;
}

.ocg-guide-block h3 {
    margin-bottom: 8px;
}

.ocg-guide-list {
    margin: 0 0 8px 20px;
}

.ocg-guide-block pre {
    margin: 10px 0 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #2c3f56;
    background: #0a121d;
    overflow-x: auto;
}

.ocg-guide-block code {
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 0.86rem;
}

.ocg-existing-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.ocg-existing-image {
    width: 88px;
}

.ocg-existing-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.ocg-existing-image label {
    font-size: 0.75rem;
    color: #b9c8dd;
    display: flex;
    gap: 4px;
    align-items: center;
}

@media (max-width: 760px) {
    .ocg-shell {
        padding: 18px;
    }

    .ocg-grid {
        grid-template-columns: 1fr;
    }

    .ocg-slider {
        height: 200px;
    }

    .ocg-account-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
