.sc-user-links-wrap {
    display: grid;
    gap: 1.5rem;
}

.sc-user-links-wrap a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.scul-intro,
.scul-submit-box,
.scul-empty,
.scul-card {
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    padding: 1rem;
}

.scul-submit-box form {
    display: grid;
    gap: 0.9rem;
}

.scul-submit-box label,
.scul-category-boxes legend {
    font-weight: 600;
}

.scul-submit-box input[type="text"],
.scul-submit-box input[type="url"],
.scul-submit-box textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: inherit;
}

.scul-category-boxes {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    padding: 0.85rem;
    display: grid;
    gap: 0.45rem;
}

.scul-category-boxes label {
    font-weight: 400;
}

.scul-form-note,
.scul-domain,
.scul-login-small {
    opacity: 0.78;
    font-size: 0.92rem;
}

.scul-button,
.scul-filter a,
.scul-votes button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: rgba(15, 23, 42, 0.85);
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.scul-button:hover,
.scul-filter a:hover,
.scul-filter a.is-active,
.scul-votes button:hover,
.scul-votes button.is-active {
    border-color: rgba(34, 197, 94, 0.85);
}

.scul-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.scul-list {
    display: grid;
    gap: 1rem;
}

.scul-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    border-left: 6px solid #22c55e;
}

.scul-card h3 {
    margin-top: 0;
}

.scul-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.scul-badges span {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    font-size: 0.82rem;
    opacity: 0.92;
}

.scul-votes {
    min-width: 74px;
    text-align: center;
    display: grid;
    align-content: start;
    gap: 0.35rem;
}

.scul-votes strong {
    font-size: 1.5rem;
    line-height: 1;
}

.scul-votes span {
    font-size: 0.78rem;
    opacity: 0.72;
}

.scul-notice {
    border-radius: 12px;
    padding: 0.8rem 1rem;
}

.scul-notice-good {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.scul-notice-warn {
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.38);
}

@media (max-width: 700px) {
    .scul-card {
        grid-template-columns: 1fr;
    }
    .scul-votes {
        grid-template-columns: repeat(4, auto);
        justify-content: start;
        align-items: center;
        text-align: left;
    }
}

.scul-submit-box input[type="email"],
.scul-submit-box input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: inherit;
}

.scul-hp-wrap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.scul-account-wrap {
    margin-top: 1.5rem;
}

.scul-other-section-wrap {
    display: block;
}

.scul-other-section-wrap[hidden] {
    display: none !important;
}


/* Full-width Add Links public layout: left = intro/form, right = links/voting only. */
.sc-user-links-wrap.scul-two-column-layout {
    width: 94vw !important;
    max-width: 1720px !important;
    margin-left: calc(50% - 47vw) !important;
    margin-right: calc(50% - 47vw) !important;
    display: grid !important;
    grid-template-columns: minmax(520px, 0.95fr) minmax(680px, 1.05fr);
    align-items: start;
    gap: clamp(1.4rem, 2vw, 2.4rem);
}

@media (min-width: 1830px) {
    .sc-user-links-wrap.scul-two-column-layout {
        width: 1720px !important;
        margin-left: calc(50% - 860px) !important;
        margin-right: calc(50% - 860px) !important;
    }
}

.scul-two-column-layout > .scul-notice {
    grid-column: 1 / -1;
}

.scul-left-column,
.scul-right-column {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.scul-left-column {
    grid-column: 1;
}

.scul-right-column {
    grid-column: 2;
}

.scul-right-column .scul-filter {
    margin-top: 0;
}

.scul-right-column .scul-empty,
.scul-right-column .scul-list,
.scul-right-column .scul-card {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1280px) {
    .sc-user-links-wrap.scul-two-column-layout {
        grid-template-columns: minmax(420px, 0.95fr) minmax(480px, 1.05fr);
    }
}

@media (max-width: 980px) {
    .sc-user-links-wrap.scul-two-column-layout {
        width: 92vw !important;
        margin-left: calc(50% - 46vw) !important;
        margin-right: calc(50% - 46vw) !important;
        grid-template-columns: 1fr;
    }
    .scul-left-column,
    .scul-right-column {
        grid-column: 1;
    }
}

/* Compact logged-in/member status pill */
.scul-member-strip {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 0.28rem 0.38rem 0.28rem 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.58);
    font-size: 0.82rem;
    line-height: 1.2;
}

.scul-member-strip a {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    text-decoration: none;
    white-space: nowrap;
}

.scul-member-strip a:hover {
    border-color: rgba(34, 197, 94, 0.85);
}

.scul-member-strip-warn {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.35);
}

@media (max-width: 700px) {
    .scul-member-strip {
        justify-self: stretch;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
    }
}
