:root {
    --lsp-blue: #2878ff;
    --lsp-blue-bright: #3a8cff;
    --lsp-blue-deep: #063fbd;
    --lsp-page: #0c111a;
    --lsp-page-2: #0a0f17;
    --lsp-panel: #0d121b;
    --lsp-panel-2: #101620;
    --lsp-line: #252d3a;
    --lsp-line-soft: #1c2430;
    --lsp-text: #f3f5f9;
    --lsp-muted: #a8b0be;
    --lsp-dim: #747e8e;
    --lsp-radius: 7px;
}

* {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--lsp-text);
    background:
        radial-gradient(circle at 75% 0%, rgba(37,87,165,.08), transparent 35%),
        linear-gradient(180deg, #0d121b 0, #0a0f17 100%);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

a:link,
a:visited {
    color: #eef2fa;
    text-decoration: none;
}

a:hover,
a:active {
    color: var(--lsp-blue-bright);
}

.wrapper {
    width: min(1510px, calc(100% - 206px));
    margin: 0 auto;
}


#container {
    min-width: 0;
    background:
        linear-gradient(rgba(8, 12, 20, 0.78), rgba(8, 12, 20, 0.88)),
        url(../../../images/lsp/header_ref_v16.webp) center center / cover no-repeat fixed;
}

/* =========================================
   LOGIN COMPACTO LOS SANTOS PROJECT
   ========================================= */
.lsp-login-wrapper {
    width: 100%;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 15px 65px;
}

.lsp-login-notices {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 15px;
}

.lsp-login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 28px 30px 26px;
    border: 1px solid #283448;
    border-radius: 12px;
    background: rgba(9, 14, 23, 0.96);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

.lsp-login-top {
    margin-bottom: 24px;
    text-align: center;
}

.lsp-login-logo {
    display: block;
    width: 85px;
    height: 85px;
    margin: 0 auto 13px;
    object-fit: contain;
}

.lsp-login-top h1 {
    margin: 0 0 5px;
    color: #f1f5fb;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.lsp-login-top p {
    margin: 0;
    color: #929daf;
    font-size: 12px;
}

.lsp-login-form {
    width: 100%;
    margin: 0;
}

.lsp-login-field {
    width: 100%;
    margin-bottom: 17px;
}

.lsp-login-field label {
    display: block;
    margin-bottom: 7px;
    color: #dce4ef;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lsp-login-field input.textbox {
    display: block;
    width: 100% !important;
    height: 44px;
    margin: 0;
    padding: 0 13px;
    color: #eef3fa;
    font-size: 14px;
    border: 1px solid #303c4d;
    border-radius: 6px;
    background: #080e17;
    outline: none;
}

.lsp-login-field input.textbox:focus {
    border-color: #2878ff;
    box-shadow: 0 0 0 3px rgba(40, 120, 255, 0.14);
}

.lsp-login-lostpw {
    display: block;
    width: fit-content;
    margin-top: 8px;
    color: #79aaff !important;
    font-size: 11px;
    font-weight: 600;
}

.lsp-login-lostpw:hover {
    color: #a5c6ff !important;
}

.lsp-login-remember {
    margin: 3px 0 19px;
    color: #cbd4e0;
    font-size: 12px;
    text-align: center;
}

.lsp-login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.lsp-login-remember input.checkbox {
    width: 15px;
    height: 15px;
    margin: 0;
}

.lsp-login-captcha {
    width: 100%;
    margin-bottom: 17px;
    overflow: hidden;
}

.lsp-login-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lsp-login-actions input.button {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid #397fec;
    border-radius: 6px;
    background: linear-gradient(180deg, #3387ff, #155cdd);
    cursor: pointer;
}

.lsp-login-actions input.button:hover {
    background: linear-gradient(180deg, #4a96ff, #1e68ef);
}

@media (max-width: 520px) {
    .lsp-login-wrapper {
        min-height: 500px;
        padding: 25px 10px 40px;
    }

    .lsp-login-card {
        max-width: 100%;
        padding: 23px 18px 21px;
    }

    .lsp-login-logo {
        width: 72px;
        height: 72px;
    }

    .lsp-login-top h1 {
        font-size: 22px;
    }
}

/* Header image */
.lsp-hero {
    width: 100%;
    height: 223px;
    min-height: 223px;
    position: relative;
    overflow: hidden;
    background: #090d14;
}

.lsp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 52px;
    background: linear-gradient(180deg, transparent, rgba(5,9,15,.22));
}

.lsp-hero-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Navigation */
.lsp-navbar {
    height: 55px;
    background: rgba(10,15,23,.98);
    border-bottom: 1px solid #28303c;
    box-shadow: 0 5px 20px rgba(0,0,0,.24);
}

.lsp-navbar-inner {
    height: 55px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
}

.lsp-menu {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.lsp-menu li {
    display: flex;
    align-items: stretch;
}

.lsp-menu li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 108px;
    padding: 0 14px;
    color: #d4dae5;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.lsp-menu li a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: .92;
}

.lsp-menu li.active a {
    color: var(--lsp-blue-bright);
}

.lsp-menu li.active a::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -1px;
    height: 2px;
    background: var(--lsp-blue);
    box-shadow: none;
}

.lsp-menu li a:hover {
    color: #fff;
    background: rgba(255,255,255,.018);
}

.lsp-nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.lsp-login-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c7ceda !important;
    font-size: 12px;
}

.lsp-login-link img {
    width: 16px;
    height: 16px;
}

.lsp-register,
.lsp-member-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 14px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #294260;
    border-radius: 4px;
    background: linear-gradient(180deg, #2d7fff, #1258df);
    box-shadow: 0 4px 13px rgba(0,0,0,.18);
}

.lsp-register img,
.lsp-member-button img {
    width: 16px;
    height: 16px;
}

.lsp-member-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.lsp-member-menu > span {
    color: #d2d8e2;
}

.lsp-member-menu a {
    color: #c4ccd8;
}

.lsp-member-menu a:hover {
    color: var(--lsp-blue-bright);
}

.lsp-logout {
 color: #ff8d99 !important;
}

/* Main index */
.lsp-main {
    min-height: 620px;
    padding: 0 0 42px;
}

.lsp-index-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: 18px;
    align-items: start;
    padding-top: 31px;
}

.lsp-forums {
    min-width: 0;
}

.lsp-site-title {
    margin: 0 0 17px;
    color: #e9edf5;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.lsp-site-title span {
    color: var(--lsp-blue);
}

/* Category blocks */
.lsp-category {
    margin: 0 0 9px;
    overflow: hidden;
    border: 1px solid #222a36;
    border-radius: var(--lsp-radius);
    background: #0c1119;
}

.lsp-category-head {
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 23px;
    color: #fff;
    background:
        linear-gradient(180deg, #1549ad 0%, #0a3385 42%, #08182f 100%);
    border-bottom: 1px solid #26324a;
    box-shadow: inset 0 1px rgba(255,255,255,.07);
}

.lsp-category-head .lsp-category-title {
    color: #dce9ff !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .15px;
    text-transform: uppercase;
}

.lsp-category-forums {
    background: linear-gradient(180deg, #0d121b, #0b1018);
}

.lsp-forum-row {
    min-height: 65px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 90px 278px;
    align-items: center;
    column-gap: 0;
    border-bottom: 1px solid #212936;
}

.lsp-forum-row:last-child {
    border-bottom: 0;
}

.lsp-forum-row:hover {
    background: rgba(255,255,255,.012);
}

/* Forum icon */
.lsp-forum-icon {
    width: 72px;
    height: 65px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lsp-forum-icon-ring {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(64,95,140,.45);
    border-radius: 50%;
    background: rgba(10,20,36,.76);
    box-shadow: none;
}

.lsp-forum-custom-icon {
    width: 31px;
    height: 31px;
    display: block;
}

.lsp-forum-state {
    width: 8px;
    height: 8px;
    position: absolute;
    right: 8px;
    bottom: 8px;
    border: 0;
    border-radius: 50%;
    background: #606b7c;
    box-shadow: 0 0 0 3px #0d121b;
}

.lsp-forum-state::after {
    display: none;
}

.lsp-forum-state.forum_on {
    background: var(--lsp-blue);
    box-shadow: 0 0 0 3px #0d121b;
}

/* Forum text */
.lsp-forum-info {
    min-width: 0;
    padding: 9px 18px 9px 11px;
}

.lsp-forum-name {
    display: block;
    margin: 0 0 1px;
    color: #f2f4f8 !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.lsp-forum-name:hover {
    color: var(--lsp-blue-bright) !important;
}

.lsp-forum-description,
.lsp-forum-info .smalltext {
    color: #aab3c1;
    font-size: 11px;
    line-height: 1.35;
}

.lsp-forum-description .subforums,
.lsp-forum-description .forum_moderators {
    display: block;
    margin-top: 1px;
    color: #dbe5f8;
}

.lsp-forum-description .subforums strong {
    color: #e4ebf7;
    font-weight: 700;
}

.lsp-forum-description .subforums a {
    position: relative;
    padding-left: 11px;
    color: #3180ff;
}

.lsp-forum-description .subforums a::before {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    left: 1px;
    top: 5px;
    border-radius: 50%;
    background: var(--lsp-blue);
}

/* Count */
.lsp-forum-count {
    color: #f3f5fa;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.lsp-forum-count span {
    display: block;
    margin-top: 2px;
    color: #8c96a6;
    font-size: 10px;
    font-weight: 400;
}

/* Last post */
.lsp-forum-last {
    min-width: 0;
    padding: 7px 14px;
    color: #9ca6b6;
    font-size: 10px;
    line-height: 1.35;
}

.lsp-lastpost-entry {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lsp-lastpost-avatar {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2c394d;
    border-radius: 50%;
    background: #090d14;
}

.lsp-lastpost-avatar img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.lsp-lastpost-copy {
    min-width: 0;
}

.lsp-lastpost-copy a {
    display: block;
    overflow: hidden;
    color: #eef1f7;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lsp-lastpost-copy a:hover {
    color: var(--lsp-blue-bright);
}

.lsp-lastpost-author a {
    display: inline;
    color: var(--lsp-blue-bright);
    font-weight: 600;
}

.lsp-lastpost-never {
    display: block;
    padding-left: 49px;
    color: #969fae;
}

.lsp-lastpost-never span {
    display: block;
    color: #6f7887;
}

/* Sidebar */
.lsp-sidebar {
    min-width: 0;
}

.lsp-side-search {
    position: relative;
    height: 39px;
    margin-bottom: 16px;
}

.lsp-side-search input {
    width: 100%;
    height: 39px;
    padding: 0 44px 0 15px;
    color: #e7ebf3;
    background: #0a0f17;
    border: 1px solid #252d38;
    border-radius: 5px;
    outline: none;
}

.lsp-side-search input:focus {
    border-color: var(--lsp-blue);
}

.lsp-side-search button {
    width: 38px;
    height: 37px;
    position: absolute;
    top: 1px;
    right: 1px;
    color: #9ca7b8;
    border: 0;
    background: transparent;
    font-size: 17px;
    cursor: pointer;
}

.lsp-side-card {
    margin-bottom: 13px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #252d38;
    border-radius: 5px;
    background: rgba(13,18,27,.84);
}

.lsp-side-card-title {
    min-height: 41px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--lsp-blue-bright);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 1px solid #293240;
}

.lsp-side-card-body {
    padding: 13px 14px;
    color: #aeb6c3;
    font-size: 11px;
}

.lsp-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
}

.lsp-stat-row strong {
    color: #eef2f8;
    font-weight: 600;
}

.lsp-stat-row a {
    color: var(--lsp-blue-bright);
}

.lsp-online-note {
    color: #aeb6c3;
    line-height: 1.5;
}

.lsp-online-members {
    margin-top: 4px;
}

.lsp-online-members a {
    color: var(--lsp-blue-bright);
}

.lsp-latest-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lsp-latest-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2c394d;
    border-radius: 50%;
    background: #090d14;
}

.lsp-latest-avatar img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.lsp-latest-link strong {
    display: block;
    color: #eef2f8;
    font-size: 10px;
}

.lsp-latest-link span {
    color: #8691a2;
    font-size: 10px;
}

.lsp-legend-row {
    min-height: 29px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.lsp-legend-symbol {
    width: 19px;
    height: 19px;
    position: relative;
    flex: 0 0 19px;
    border: 1px solid #236edd;
    border-radius: 4px;
}

.lsp-legend-symbol.new::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--lsp-blue);
}

.lsp-legend-symbol.none {
    border-color: #667083;
}

.lsp-legend-symbol.none::after {
    content: "";
    width: 22px;
    height: 1px;
    position: absolute;
    left: -2px;
    top: 8px;
    transform: rotate(-40deg);
    background: #667083;
}

.lsp-legend-symbol.closed::before {
    content: "";
    width: 9px;
    height: 7px;
    position: absolute;
    left: 4px;
    top: 7px;
    border: 1px solid #8590a1;
    border-radius: 2px;
}

.lsp-legend-symbol.closed::after {
    content: "";
    width: 7px;
    height: 6px;
    position: absolute;
    left: 5px;
    top: 2px;
    border: 1px solid #8590a1;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}

/* Generic MyBB components for inner pages */
.navigation {
    margin: 20px 0;
    color: #8993a2;
    font-size: 11px;
}

.tborder {
    width: 100%;
    margin: 0 0 15px;
    overflow: hidden;
    border: 1px solid #2b3543;
    border-radius: 6px;
    border-spacing: 0;
    background: #0d121b;
}

.thead {
    padding: 13px 15px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #1758d8, #071b43) !important;
    border: 0 !important;
}

.tcat {
    padding: 9px 12px !important;
    color: #dce5f5 !important;
    background: #141b26 !important;
    border-color: #293442 !important;
}

.trow1,
.trow2 {
    padding: 10px !important;
    color: #dce2ec;
    background: #0e141e !important;
    border-color: #232d3a !important;
}

.trow2 {
    background: #111823 !important;
}

.tfoot {
    padding: 10px !important;
    color: #9ca6b5;
    background: #0a0f17 !important;
    border-color: #293442 !important;
}

.smalltext {
    color: #99a4b4;
    font-size: 11px;
}

input.textbox,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    max-width: 100%;
    color: #e8edf5;
    background: #090e16;
    border: 1px solid #303a48;
    border-radius: 4px;
    padding: 8px 10px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--lsp-blue);
}

input.button,
button,
a.button:link,
a.button:visited {
    min-height: 34px;
    padding: 0 14px;
    color: #fff !important;
    font-weight: 700;
    border: 1px solid #294260;
    border-radius: 4px;
    background: linear-gradient(180deg, #2d7fff, #1258df);
    cursor: pointer;
}

.pagination a,
.pagination .pagination_current {
    display: inline-block;
    min-width: 29px;
    padding: 6px 8px !important;
    color: #dce3ee;
    background: #101721 !important;
    border: 1px solid #303b49 !important;
    border-radius: 4px;
}

.pagination a:hover,
.pagination .pagination_current {
    color: #fff !important;
    background: var(--lsp-blue) !important;
    border-color: var(--lsp-blue) !important;
}

/* Posts */
#posts_container {
    padding: 0 !important;
    background: transparent !important;
}

.post {
    margin: 0 0 14px;
    overflow: hidden;
    color: #dce3ec;
    background: #0e141d;
    border: 1px solid #293442;
    border-radius: 6px;
}

.post.classic {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
}

.post .post_author {
    padding: 16px !important;
    color: #dce3ed;
    background: #0a0f17 !important;
    border-right: 1px solid #293442 !important;
}

.post.classic .post_author,
.post.classic .post_content {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.post_head {
    min-height: 45px;
    padding: 13px 16px !important;
    color: #8f9aaa;
    background: #121924;
    border-bottom: 1px solid #27313f !important;
}

.post_body {
    min-height: 145px;
    padding: 19px 17px !important;
    color: #e0e6ef;
    font-size: 13px !important;
}

.post_controls {
    padding: 8px 11px !important;
    background: #0a0f17 !important;
    border-top: 1px solid #27313f !important;
}

.postbit_buttons > a:link,
.postbit_buttons > a:visited {
    color: #d5dce7 !important;
    background: #141c28 !important;
    border: 1px solid #303b49 !important;
    border-radius: 4px;
}

/* Footer */
#footer {
    margin-top: 20px;
}

#footer .upper {
    color: #909aa9;
    background: #0d131c;
    border-top: 1px solid #27313e;
}

#footer .lower {
    padding: 17px 0;
    color: #758091;
    background: #080c12;
}

#footer .menu {
    padding: 12px 0;
    margin: 0;
    list-style: none;
}

#footer .menu li {
    display: inline-block;
    margin-right: 13px;
}

#footer #copyright {
    float: right;
}

/* Hide old default legend */
.forum_legend {
    display: none !important;
}

/* Responsive */
@media (max-width: 1080px) {
    .lsp-index-layout {
        grid-template-columns: 1fr;
}

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

.lsp-side-search {
        grid-column: 1 / -1;
}

.lsp-forum-row {
        grid-template-columns: 72px minmax(0,1fr) 82px 235px;
}


}

@media (max-width: 760px) {
    .wrapper {
        width: calc(100% - 20px);
}

.lsp-hero {
        height: 178px;
        min-height: 178px;
        background:
        linear-gradient(180deg, rgba(8,10,17,.02), rgba(8,10,17,.12)),
        url(../../../images/lsp/header_v9.webp) center center / 100% 100% no-repeat;
}

.lsp-navbar,
    .lsp-navbar-inner {
        height: auto;
        min-height: 55px;
}

.lsp-navbar-inner {
        flex-direction: column;
        gap: 0;
        padding: 5px 0 8px;
}

.lsp-menu {
        width: 100%;
        overflow-x: auto;
}

.lsp-menu li a {
        min-width: auto;
        padding: 0 11px;
        height: 45px;
}

.lsp-nav-auth {
        justify-content: flex-end;
        padding: 4px 2px;
}

.lsp-index-layout {
        padding-top: 21px;
}

.lsp-forum-row {
        grid-template-columns: 62px minmax(0,1fr) 65px;
}

.lsp-forum-last {
        display: none;
}

.lsp-forum-icon {
        width: 62px;
}

.lsp-forum-info {
        padding-left: 4px;
}

.lsp-sidebar {
        display: block;
}

.post.classic {
        display: block;
}

.post .post_author {
        border-right: 0 !important;
        border-bottom: 1px solid #293442 !important;
}

#footer #copyright {
        float: none;
        display: block;
        margin-top: 8px;
}


}

/* Ajuste V7: cabecera con menos zoom, más ciudad visible y más margen lateral */
.lsp-main > .wrapper {
    padding-top: 12px;
}

/* Subforos inline para evitar que FACCIONES rompa el layout */
.lsp-forum-description .subforums {
    display: block;
    margin-top: 4px;
    line-height: 1.5;
}

.lsp-subforums-label {
    color: #e5ebf6;
    font-weight: 700;
    margin-right: 4px;
}

.lsp-subforum-link {
    display: inline;
    margin-right: 10px;
    white-space: normal;
    color: #3180ff !important;
    font-weight: 600;
}

.lsp-subforum-link::before {
    content: "•";
    margin-right: 5px;
    color: var(--lsp-blue);
}

.lsp-subforum-link:hover {
    color: #69a5ff !important;
}

/* Cuando no hay avatar real en último mensaje, mantener composición limpia */
.lsp-lastpost-avatar img {
    object-fit: cover;
}

/* En pantallas medias dar aún más aire lateral */
@media (max-width: 1400px) {
    .wrapper {
        width: min(1280px, calc(100% - 170px));
}


}

/* Ajuste V8: menos zoom y más aire lateral */
.lsp-hero {
    background-position: center center;
}

@media (max-width: 1080px) {
    .wrapper {
        width: min(100% - 120px, 1240px);
}


}

/* V9: logo pequeño en la izquierda del encabezado */




@media (max-width: 760px) {
}

/* V10: eliminar sensación de bordes azules, mantener acentos azules */
.lsp-category,
.lsp-side-card,
.tborder,
.post,
input.textbox,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    box-shadow: none !important;
}

.lsp-category,
.lsp-side-card,
.tborder,
.post {
    border-color: #222a36 !important;
}

.lsp-side-search input {
    border-color: #252d38 !important;
}

.lsp-forum-icon-ring {
    background: rgba(10,20,36,.55);
}

.lsp-category-head {
    border-bottom-color: #243041;
}

.lsp-navbar {
    border-bottom-color: #1f2733;
}

.lsp-menu li.active a::after {
    background: #2a5fb9;
    box-shadow: none;
}

.lsp-register,
.lsp-member-button,
input.button,
button,
a.button:link,
a.button:visited {
    border-color: #294260 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.16) !important;
}

.lsp-hero::after {
    background: linear-gradient(180deg, transparent, rgba(5,9,15,.28));
}

/* V12: imagen completa real + logo integrado en el archivo */
.lsp-hero-picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

.lsp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5,9,15,.22));
}

/* Más margen lateral, similar a la referencia */
@media (max-width: 1500px) {
    .wrapper {
        width: min(1320px, calc(100% - 240px));
}


}

@media (max-width: 1180px) {
    .wrapper {
        width: calc(100% - 100px);
}


}

@media (max-width: 760px) {
    .wrapper {
        width: calc(100% - 24px);
}

.lsp-hero {
        height: 160px;
        min-height: 160px;
}

.lsp-hero-picture {
        object-fit: cover;
}


}

/* Acentos azules sin bordes azules alrededor de los paneles */
.lsp-category,
.lsp-side-card,
.tborder,
.post {
    border-color: #242c38 !important;
    box-shadow: none !important;
}

.lsp-navbar {
    border-bottom-color: #242c38;
}

.lsp-menu li.active a::after {
    background: #367ff3;
    box-shadow: none;
}

/* V17: categorías fijas, sin enlace y sin flecha */
.lsp-category-head {
    cursor: default;
}

.lsp-category-head .lsp-category-title {
    color: #dce9ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .15px;
    text-transform: uppercase;
    user-select: none;
}

.lsp-category-head::after {
    content: none !important;
    display: none !important;
}

/* V18: subforos correctamente contenidos al entrar en un foro */
.lsp-forumdisplay-subforums {
    margin-top: 12px;
    margin-bottom: 18px;
}

.lsp-forumdisplay-subforums .lsp-category-head {
    cursor: default;
}

.lsp-forumdisplay-subforums .lsp-category-head::after {
    content: none !important;
    display: none !important;
}

/* =========================================
   V20: ALERTAS LIMPIAS CON GLOBO
   ========================================= */
.lsp-alert-slot {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
}

.lsp-alert-slot:empty {
    display: none;
}

.lsp-alert-clean {
    position: relative;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #c4ccd8 !important;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
}

.lsp-alert-clean:hover {
    color: #ffffff !important;
}

.lsp-alert-slot.has-alerts .lsp-alert-clean {
    color: #ffffff !important;
}

.lsp-alert-badge {
    position: absolute;
    top: -9px;
    right: -7px;
    z-index: 10;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2px solid #0a0f17;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff4b68, #e5163a);
    box-shadow:
        0 4px 12px rgba(229, 22, 58, 0.42),
        0 0 0 2px rgba(255, 75, 104, 0.08);
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

.lsp-alert-slot.has-alerts .lsp-alert-badge {
    animation: lsp-alert-pulse 1.8s ease-in-out infinite;
}

@keyframes lsp-alert-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@media (max-width: 760px) {
    .lsp-alert-clean {
        padding: 0 7px;
    }

    .lsp-alert-badge {
        top: -8px;
        right: -6px;
    }
}

/* =========================================
   V22: PERFIL LIMPIO + EDITOR DE BANNER
   ========================================= */
.lsp-profile-page {
    padding: 30px 0 55px;
}

.lsp-profile-shell {
    width: 100%;
    margin: 0 auto;
}

.lsp-profile-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #273246;
    border-radius: 10px;
    background: #0a1019;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.lsp-profile-cover {
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0 28px;
    background:
        linear-gradient(180deg, rgba(5, 9, 15, 0.10), rgba(5, 9, 15, 0.88)),
        url(../../../images/lsp/header_ref_v16.webp) center center / cover no-repeat;
    transition: background-image .25s ease;
}

.lsp-profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 9, 15, 0.22), transparent 38%, rgba(5, 9, 15, 0.18)),
        linear-gradient(180deg, transparent 45%, rgba(5, 9, 15, 0.92));
}

/* Botón para editar la portada */
.lsp-profile-cover-edit {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 8;
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    background: rgba(7, 12, 20, 0.78);
    box-shadow: 0 8px 24px rgba(0,0,0,.30);
    backdrop-filter: blur(9px);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .3px;
    cursor: pointer;
}

.lsp-profile-cover-edit:hover {
    border-color: rgba(77, 147, 255, 0.78);
    background: rgba(12, 24, 42, 0.94);
}

.lsp-profile-cover-edit[hidden] {
    display: none !important;
}

.lsp-profile-cover-edit svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lsp-profile-identity {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    transform: translateY(54px);
}

.lsp-profile-avatar {
    width: 142px;
    height: 142px;
    flex: 0 0 142px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #0b111b;
    border-radius: 10px;
    background: #090e16;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.42);
}

.lsp-profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border: 0 !important;
    border-radius: 5px;
}

.lsp-profile-usercopy {
    min-width: 0;
    padding-bottom: 15px;
}

.lsp-profile-usercopy h1 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.08;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

.lsp-profile-usercopy h1 span {
    color: inherit !important;
}

.lsp-profile-title {
    color: #76aaff;
    font-size: 12px;
    font-weight: 700;
}

.lsp-profile-statusline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    color: #b5c0cf;
    font-size: 11px;
}

/* Cabecera limpia: solamente estadísticas */
.lsp-profile-summary {
    min-height: 82px;
    display: grid;
    grid-template-columns: 162px repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    padding: 46px 25px 12px;
    background: rgba(8, 13, 21, 0.98);
    border-top: 1px solid rgba(255,255,255,.06);
}

.lsp-profile-summary-spacer {
    min-width: 0;
}

.lsp-profile-stat {
    min-width: 0;
    padding: 0 20px;
    border-left: 1px solid #202a39;
}

.lsp-profile-stat span,
.lsp-profile-stat strong {
    display: block;
}

.lsp-profile-stat span {
    margin-bottom: 3px;
    color: #7e8a9c;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.lsp-profile-stat strong {
    overflow: hidden;
    color: #f3f6fb;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lsp-profile-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.lsp-profile-sidebar,
.lsp-profile-content {
    min-width: 0;
}

.lsp-profile-card {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #273246;
    border-radius: 9px;
    background: rgba(10, 15, 23, 0.95);
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.20);
}

.lsp-profile-card-title {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    color: #f1f4f9;
    border-bottom: 1px solid #273246;
    background: #0c121c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .25px;
}

.lsp-profile-card-title span {
    color: #4d91ff;
}

.lsp-profile-card-body {
    padding: 16px;
    color: #b9c3d1;
    font-size: 12px;
}

.lsp-profile-about-list {
    display: grid;
    gap: 11px;
}

.lsp-profile-about-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #202a38;
}

.lsp-profile-about-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.lsp-profile-about-row span {
    color: #7f8b9d;
}

.lsp-profile-about-row strong {
    color: #eef2f8;
    text-align: right;
    font-weight: 700;
}

/* Emblemas solamente en su tarjeta */
.lsp-profile-group-emblem {
    max-width: 100%;
    margin-bottom: 13px;
}

.lsp-profile-group-emblem:empty {
    display: none;
}

.lsp-profile-group-emblem img {
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.lsp-profile-stars {
    margin-bottom: 13px;
    color: #ffd34d;
}

.lsp-profile-stars:empty {
    display: none;
}

.lsp-profile-emblems {
    min-height: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lsp-profile-emblems img {
    width: 52px;
    height: 52px;
    padding: 5px;
    object-fit: contain;
    border: 1px solid #2b3b52;
    border-radius: 10px;
    background: #0b121d;
    box-shadow: 0 8px 22px rgba(0,0,0,.24);
}

.lsp-profile-emblems-empty {
    margin-top: 7px;
    color: #6f7b8d;
    font-size: 11px;
}

.lsp-profile-emblems-empty[hidden] {
    display: none !important;
}

/* Amigos, ignorados y reportar van en una tarjeta separada */
.lsp-profile-actions-card .lsp-profile-actions {
    display: grid;
    gap: 8px;
}

.lsp-profile-actions-card .lsp-profile-actions:empty {
    display: none;
}

.lsp-profile-actions-card .lsp-profile-actions a,
.lsp-profile-actions-card .lsp-profile-actions input.button {
    width: 100%;
    min-height: 36px !important;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px !important;
    color: #cfd8e6 !important;
    border: 1px solid #2a3648 !important;
    border-radius: 6px;
    background: #0e1621 !important;
    font-size: 10px;
    font-weight: 750;
    box-shadow: none !important;
}

.lsp-profile-actions-card .lsp-profile-actions a:hover {
    color: #ffffff !important;
    border-color: #367ff3 !important;
    background: #111d2c !important;
}

.lsp-profile-main-card .lsp-profile-card-body {
    padding: 0;
}

.lsp-profile-tabs {
    min-height: 48px;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #273246;
    background: #0b111a;
}

.lsp-profile-tab {
    min-width: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #8996a9;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.lsp-profile-tab.active {
    color: #ffffff;
}

.lsp-profile-tab.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    background: #367ff3;
}

.lsp-profile-section {
    padding: 20px;
}

.lsp-profile-section + .lsp-profile-section {
    border-top: 1px solid #273246;
}

.lsp-profile-section h3 {
    margin: 0 0 13px;
    color: #eef2f8;
    font-size: 14px;
}

.lsp-profile-extra-fields .tborder,
.lsp-profile-contact .tborder,
.lsp-profile-signature .tborder,
.lsp-profile-options .tborder {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.lsp-profile-extra-fields .thead,
.lsp-profile-contact .thead,
.lsp-profile-signature .thead,
.lsp-profile-options .thead {
    display: none !important;
}

.lsp-profile-extra-fields .trow1,
.lsp-profile-extra-fields .trow2,
.lsp-profile-contact .trow1,
.lsp-profile-contact .trow2,
.lsp-profile-signature .trow1,
.lsp-profile-signature .trow2,
.lsp-profile-options .trow1,
.lsp-profile-options .trow2 {
    color: #c3ccda !important;
    background: transparent !important;
    border-color: #253042 !important;
}

.lsp-profile-extra-fields tr[data-lsp-hidden-field="1"] {
    display: none !important;
}

.lsp-profile-signature {
    overflow-wrap: anywhere;
}

.lsp-profile-notices > * {
    margin-bottom: 14px;
}

/* Modal del lapicito */
.lsp-cover-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2, 5, 10, 0.82);
    backdrop-filter: blur(7px);
}

.lsp-cover-modal.open {
    display: flex;
}

.lsp-cover-modal-dialog {
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    border: 1px solid #2d3a50;
    border-radius: 11px;
    background: #0b111b;
    box-shadow: 0 28px 75px rgba(0,0,0,.55);
}

.lsp-cover-modal-head {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 17px;
    border-bottom: 1px solid #263247;
}

.lsp-cover-modal-head strong {
    color: #f2f5fa;
    font-size: 14px;
}

.lsp-cover-modal-close {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #aeb9c8;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 21px;
    cursor: pointer;
}

.lsp-cover-modal-body {
    padding: 18px;
}

.lsp-cover-modal-body p {
    margin: 0 0 13px;
    color: #909cad;
    font-size: 12px;
}

.lsp-cover-modal-body input {
    width: 100%;
    height: 44px;
}

.lsp-cover-modal-error {
    min-height: 18px;
    margin-top: 7px;
    color: #ff7d91;
    font-size: 11px;
}

.lsp-cover-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 0 18px 18px;
}

.lsp-cover-modal-actions button {
    min-height: 38px;
}

.lsp-banner-field-highlight {
    outline: 2px solid #367ff3 !important;
    outline-offset: 4px;
    border-radius: 6px;
    animation: lsp-field-glow 1.4s ease-in-out 2;
}

@keyframes lsp-field-glow {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(54,127,243,0);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(54,127,243,.12);
    }
}

.lsp-banner-save-notice {
    margin: 14px 0;
    padding: 12px 14px;
    color: #dce8fa;
    border: 1px solid #315b93;
    border-radius: 7px;
    background: rgba(22, 61, 112, .32);
    font-size: 12px;
}

@media (max-width: 1080px) {
    .lsp-profile-summary {
        grid-template-columns: 145px repeat(2, minmax(0, 1fr));
        row-gap: 15px;
    }

    .lsp-profile-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .lsp-profile-page {
        padding-top: 18px;
    }

    .lsp-profile-cover {
        min-height: 245px;
        padding: 0 18px;
    }

    .lsp-profile-cover-edit span {
        display: none;
    }

    .lsp-profile-cover-edit {
        width: 38px;
        padding: 0;
    }

    .lsp-profile-identity {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        transform: translateY(64px);
    }

    .lsp-profile-avatar {
        width: 118px;
        height: 118px;
        flex-basis: 118px;
    }

    .lsp-profile-usercopy {
        padding-bottom: 0;
    }

    .lsp-profile-usercopy h1 {
        font-size: 24px;
    }

    .lsp-profile-statusline {
        justify-content: center;
    }

    .lsp-profile-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 80px 14px 16px;
    }

    .lsp-profile-summary-spacer {
        display: none;
    }

    .lsp-profile-stat {
        padding: 0 12px;
    }

    .lsp-profile-stat:nth-of-type(2n+1) {
        border-left: 0;
    }

    .lsp-profile-layout {
        grid-template-columns: 1fr;
    }

    .lsp-profile-tab {
        min-width: 0;
        flex: 1;
    }
}

/* =========================================
   V25: SUBIDA DIRECTA AL SERVIDOR
   ========================================= */
.lsp-cover-upload-zone {
    min-height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 22px;
    color: #9ca9ba;
    border: 1px dashed #34445c;
    border-radius: 9px;
    background: #080e17;
    text-align: center;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.lsp-cover-upload-zone:hover,
.lsp-cover-upload-zone.dragging {
    color: #ffffff;
    border-color: #3f86f2;
    background: #0b1627;
}

.lsp-cover-upload-zone.has-preview {
    padding: 0;
    border-style: solid;
}

.lsp-cover-upload-zone input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.lsp-cover-upload-placeholder {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.lsp-cover-upload-placeholder svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #5d9cff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lsp-cover-upload-placeholder strong {
    color: #edf3fb;
    font-size: 13px;
}

.lsp-cover-upload-placeholder span {
    color: #768397;
    font-size: 10px;
}

.lsp-cover-preview {
    width: 100%;
    height: 210px;
    display: none;
    object-fit: cover;
}

.lsp-cover-upload-zone.has-preview .lsp-cover-preview {
    display: block;
}

.lsp-cover-upload-zone.has-preview .lsp-cover-upload-placeholder {
    display: none;
}

.lsp-cover-selected-file {
    min-height: 19px;
    margin-top: 8px;
    color: #8693a5;
    font-size: 10px;
}

.lsp-cover-upload-progress {
    height: 5px;
    margin-top: 10px;
    overflow: hidden;
    display: none;
    border-radius: 999px;
    background: #1c2737;
}

.lsp-cover-upload-progress.active {
    display: block;
}

.lsp-cover-upload-progress span {
    width: 35%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #2468e8, #54a2ff);
    animation: lsp-upload-progress 1s ease-in-out infinite alternate;
}

@keyframes lsp-upload-progress {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(285%);
    }
}

#lsp-cover-modal-save[disabled],
#lsp-cover-modal-cancel[disabled] {
    opacity: .55;
    cursor: wait;
}

.lsp-cover-upload-success {
    color: #65dda3 !important;
}

/* V24: el botón lo inserta el plugin solamente en el perfil propio */
.lsp-profile-cover-edit {
    display: inline-flex;
}

.lsp-profile-cover-edit:empty {
    display: none;
}

/* V26: editor de imagen de perfil */
.lsp-profile-avatar {
    position: relative;
}

.lsp-profile-avatar-edit {
    width: 36px;
    height: 36px;
    position: absolute;
    right: 7px;
    bottom: 7px;
    z-index: 8;
    display: grid;
    place-items: center;
    padding: 0 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.30) !important;
    border-radius: 50% !important;
    background: rgba(7,12,20,.88) !important;
    box-shadow: 0 7px 20px rgba(0,0,0,.40) !important;
    backdrop-filter: blur(7px);
    cursor: pointer;
}

.lsp-profile-avatar-edit:hover {
    border-color: #4b91ff !important;
    background: #13253e !important;
}

.lsp-profile-avatar-edit svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lsp-avatar-upload-zone {
    min-height: 260px;
}

.lsp-avatar-preview {
    width: 260px !important;
    height: 260px !important;
    margin: 0 auto;
    object-fit: cover !important;
    border-radius: 8px;
}

.lsp-avatar-upload-zone.has-preview {
    background: #080e17;
}

@media (max-width: 760px) {
    .lsp-profile-avatar-edit {
        width: 34px;
        height: 34px;
        right: 4px;
        bottom: 4px;
    }
}

