/* Foro StrideCraft - diseño propio: cuadro grande con cuadros dentro */
#forum-index,#forum-view{--fi-bg:rgba(16,13,23,.92);--fi-inner:rgba(255,255,255,.03);--fi-head:rgba(168,85,247,.14);--fi-line:rgba(211,145,247,.16);--fi-text:#f8f5fb;--fi-muted:#b9b0c3;--fi-soft:#e7c4ff}

/* Fila superior: Inicio a la izquierda, buscador a la derecha (mismo alto, alineados con los cuadros) */
.stride-forum-topbar.row{align-items:center!important;padding-bottom:0!important}
.stride-forum-topbar>.column{display:flex!important;align-items:center}
.stride-forum-topbar-left .ui.breadcrumb{display:flex;align-items:center;margin:0}
.stride-forum-topbar-left .ui.breadcrumb .section{display:inline-flex;align-items:center;height:40px;box-sizing:border-box}
.stride-forum-topbar-right .stride-category-search{width:100%;margin:0}
.stride-forum-topbar-right .ui.input>input{height:40px;box-sizing:border-box;padding-top:0;padding-bottom:0}
.stride-forum-topbar-right .ui.action.input>.button{height:40px;margin:0;padding-top:0;padding-bottom:0}
@media(max-width:767px){.stride-forum-topbar>.column{padding-top:0!important;padding-bottom:.5rem!important}}

/* ===== Cuadro exterior ===== */
.stride-forum-shell{padding:16px;background:var(--fi-bg,rgba(16,13,23,.92));border:1px solid rgba(211,145,247,.18);border-radius:16px;box-shadow:0 14px 36px rgba(0,0,0,.32)}
.stride-forum-shell-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:2px 4px 12px;border-bottom:1px solid rgba(211,145,247,.16)}
.stride-forum-shell-head h2{margin:0;color:#fff;font-size:22px;font-weight:900}
.stride-forum-new-topic{margin:0!important;white-space:nowrap;border:0!important;background:linear-gradient(110deg,#a445df,#dc365f)!important;color:#fff!important;font-weight:800!important;box-shadow:0 7px 18px rgba(168,56,190,.22)!important}
.stride-forum-new-topic:hover{filter:brightness(1.12)}

/* ===== Cuadros interiores: categorías (índice) ===== */
.stride-forum-shell .stride-forum-category{margin:0 0 16px;background:rgba(255,255,255,.03);border:1px solid rgba(211,145,247,.16);border-radius:12px;overflow:hidden}
.stride-forum-shell .stride-forum-category:last-child{margin-bottom:0}
.stride-forum-shell .stride-forum-category-title{margin:0!important;padding:13px 20px;background:linear-gradient(90deg,rgba(168,85,247,.16),rgba(220,54,95,.08));border-bottom:1px solid rgba(211,145,247,.16);font-size:14px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}
.stride-forum-shell .stride-forum-category-title a{color:#e7c4ff!important}
.stride-forum-shell .stride-forum-category-title a:hover{color:#fff!important}

/* Fila de foro: icono | nombre + descripción | estadísticas | último mensaje */
.stride-forum-row{display:grid;grid-template-columns:52px minmax(0,1fr) 150px minmax(0,250px);align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid rgba(211,145,247,.12);transition:background .18s ease}
.stride-forum-row:last-child{border-bottom:0}
.stride-forum-row:hover{background:rgba(168,85,247,.06)}
.stride-forum-row-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:rgba(168,85,247,.14);border:1px solid rgba(211,145,247,.26)}
.stride-forum-row-icon i{margin:0!important;font-size:20px;color:#e2b8ff}
.stride-forum-row-main{min-width:0}
.stride-forum-row-main>a.header{display:block;margin:0 0 3px;color:#f8f5fb!important;font-size:16px;font-weight:800}
.stride-forum-row-main>a.header:hover{color:#e2b8ff!important}
.stride-forum-row-description{color:#b9b0c3;font-size:13px;line-height:1.45}
.stride-forum-topic-actions{margin-top:8px}
.stride-forum-create-topic{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:6px;background:rgba(168,85,247,.16);border:1px solid rgba(211,145,247,.3);color:#e7c4ff!important;font-size:12px;font-weight:700;transition:background .18s ease,transform .18s ease}
.stride-forum-create-topic:hover{background:rgba(168,85,247,.32);transform:translateY(-1px)}
.stride-forum-create-topic i{margin:0!important;font-size:11px}
.stride-forum-row-stats{display:flex;flex-direction:column;gap:4px;color:#b9b0c3;font-size:13px}
.stride-forum-row-stats>div:not(.stride-forum-subforum-links){display:flex;justify-content:space-between;gap:8px}
.stride-forum-row-stats b{color:#fff}
.stride-forum-subforum-links{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:6px;padding-top:6px;border-top:1px dashed rgba(211,145,247,.16)}
.stride-forum-subforum-links a{color:#d9a9ff!important;font-size:12px}
.stride-forum-subforum-links a:hover{color:#fff!important}
.stride-forum-row-last{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;align-items:center;min-width:0}
.stride-forum-row-last img.avatar{grid-row:1 / span 2;float:none!important;width:38px;height:38px;margin:0!important;border-radius:50%;border:2px solid rgba(168,85,247,.5)}
.stride-forum-row-last>a.header{display:block;overflow:hidden;color:#fff!important;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.stride-forum-row-last>a.header:hover{color:#e2b8ff!important}
.stride-forum-row-last-meta{color:#b9b0c3;font-size:12px}
.stride-forum-row-last-meta a{color:#d9a9ff!important}
.stride-forum-row-no-topics{grid-column:1 / -1;color:#b9b0c3;font-size:13px;font-style:italic}
.stride-forum-redirect{grid-template-columns:52px minmax(0,1fr)}

/* ===== Cuadros interiores: tablas de la vista de un foro ===== */
.stride-forum-shell-body table.ui.table{width:100%;margin:0 0 16px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(211,145,247,.16)!important;border-radius:12px!important;border-collapse:separate!important;border-spacing:0;color:#f8f5fb!important;box-shadow:none!important}
.stride-forum-shell-body table.ui.table:last-child{margin-bottom:0!important}
.stride-forum-shell-body table.ui.table thead th{padding:13px 20px!important;background:linear-gradient(90deg,rgba(168,85,247,.16),rgba(220,54,95,.08))!important;border:0!important;border-bottom:1px solid rgba(211,145,247,.16)!important;color:#e7c4ff!important}
.stride-forum-shell-body table.ui.table thead th:first-child{border-top-left-radius:11px!important}
.stride-forum-shell-body table.ui.table thead th:last-child{border-top-right-radius:11px!important}
.stride-forum-shell-body table.ui.table thead h4{margin:0;color:#e7c4ff;font-size:14px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}
.stride-forum-shell-body table.ui.table tbody td{padding:14px 20px!important;background:transparent!important;border:0!important;border-top:1px solid rgba(211,145,247,.12)!important;color:#f8f5fb!important;vertical-align:middle}
.stride-forum-shell-body table.ui.table tbody tr:first-child td{border-top:0!important}
.stride-forum-shell-body table.ui.table tbody tr:hover td{background:rgba(168,85,247,.06)!important}
.stride-forum-shell-body table.ui.table .ui.header{color:#f8f5fb!important;margin:0}
.stride-forum-shell-body table.ui.table .ui.header .sub.header{color:#b9b0c3!important;font-size:12px;font-weight:400}
.stride-forum-shell-body table.ui.table a{color:#f8f5fb}
.stride-forum-shell-body table.ui.table a:hover{color:#e2b8ff}
.stride-forum-shell-body table.ui.table .sub.header a{color:#d9a9ff}
.stride-forum-shell-body table.ui.table i.comment.icon{color:#e2b8ff}
.stride-forum-shell-body table.ui.table img.ui.circular.image{border:2px solid rgba(168,85,247,.5)}
.stride-topic-title-date{margin-left:6px;color:#b9b0c3;font-size:12px;font-weight:400}
.stride-topic-byline{display:flex;align-items:center;gap:6px;margin-top:2px;font-size:12px}
.stride-topic-rank{padding:1px 8px;border-radius:999px;background:rgba(168,85,247,.2);color:#e7c4ff;font-size:10px;font-weight:800;text-transform:uppercase}
.stride-topic-stats{display:flex;flex-direction:column;gap:3px;color:#b9b0c3;font-size:12px}
.stride-topic-stats b{margin-left:4px;color:#fff}
.stride-forum-opine{display:inline-block;margin-top:6px;color:#d9a9ff!important;font-size:12px;font-weight:700}
.stride-forum-opine:hover{color:#fff!important}
.stride-forum-shell-body .ui.pagination.menu{margin-top:14px}

/* ===== Barra lateral (buscador + widgets), mismo ancho que Staff Conectado ===== */
#widget-forum-search .content{padding:12px!important}
#widget-forum-search .stride-category-search{margin:0}
.stride-category-server-card .content,.stride-category-discord-card .content{padding:16px!important}
.stride-category-server-badge{display:flex;flex-direction:column;gap:2px;margin:8px 0;padding:10px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04)}
.stride-category-server-badge.is-online{border-color:rgba(74,222,128,.4);background:rgba(74,222,128,.08)}
.stride-category-server-badge.is-online strong{color:#4ade80}
.stride-category-server-badge.is-offline{border-color:rgba(239,64,85,.4);background:rgba(239,64,85,.08)}
.stride-category-server-badge.is-offline strong{color:#ef4055}
.stride-category-server-badge span{color:#b9b0c3;font-size:12px}
.stride-category-server-card p{margin:6px 0 0;color:#c3bdca;font-size:13px}
.stride-category-server-card p strong{color:#fff}
.stride-category-discord-card iframe{display:block;margin:10px 0;border:0;border-radius:8px}
.stride-category-discord-card>.content>a{color:#e2b8ff!important;font-size:13px;font-weight:700}

/* ===== Tablet y móvil ===== */
@media(max-width:1100px){
  .stride-forum-row{grid-template-columns:52px minmax(0,1fr) 130px}
  .stride-forum-row-last{grid-column:2 / -1}
}
@media(max-width:640px){
  .stride-forum-shell{padding:10px;border-radius:12px}
  .stride-forum-shell-head h2{font-size:18px}
  .stride-forum-row{grid-template-columns:44px minmax(0,1fr);padding:14px}
  .stride-forum-row-icon{width:42px;height:42px}
  .stride-forum-row-stats{grid-column:2;flex-direction:row;gap:14px}
  .stride-forum-row-stats>div:not(.stride-forum-subforum-links){justify-content:flex-start}
  .stride-forum-row-last{grid-column:2}
}

/* =====================================================================
   PÁGINA DE UN TEMA: cuadro exterior + una tarjeta por mensaje
   ===================================================================== */
.stride-topic-head{align-items:flex-start;flex-wrap:wrap}
.stride-topic-head>h2.ui.header{margin:0!important;min-width:0;flex:1 1 320px;color:#fff}
.stride-topic-head .topic.title{color:#fff;font-size:22px;font-weight:900;line-height:1.25;word-break:break-word}
.stride-topic-head .sub.header{margin-top:4px;color:#b9b0c3!important;font-size:13px;font-weight:400}
.stride-topic-head .sub.header a{color:#d9a9ff}
.stride-topic-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;float:none!important}
.stride-topic-actions form{display:inline-flex!important;margin:0}
.stride-topic-actions .ui.button{margin:0!important;border:0!important;background:linear-gradient(110deg,#a445df,#dc365f)!important;color:#fff!important;font-weight:800!important}
.stride-topic-actions .ui.dropdown .menu{background:#15101c;border:1px solid rgba(211,145,247,.25)}
.stride-topic-actions .ui.dropdown .menu .item{color:#f8f5fb!important}
.stride-topic-actions .ui.dropdown .menu .item:hover{background:rgba(168,85,247,.18)!important}
.stride-topic-actions .ui.dropdown .menu .header{color:#e7c4ff}

/* Cada mensaje = tarjeta interior */
.stride-topic-shell .ui.segments#topic-post{margin:0 0 16px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(211,145,247,.16)!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden}
.stride-topic-shell .ui.segments#topic-post>.ui.segment{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#f8f5fb}
.stride-topic-shell .ui.segments#topic-post>.ui.attached.padded.segment{padding:0!important}
.stride-topic-shell .ui.segments#topic-post>.ui.segment>.ui.grid{margin:0!important}
.stride-topic-shell .ui.segments#topic-post>.ui.segment>.ui.grid>.row{padding:0!important;align-items:stretch}
.stride-topic-shell .ui.segments#topic-post .ui.grid>.row>.column{padding:20px!important}

/* Panel del autor (izquierda) */
.stride-topic-shell #post-sidebar{background:rgba(168,85,247,.07);border-right:1px solid rgba(211,145,247,.16)}
.stride-topic-shell #post-sidebar img.ui.circular.image{width:96px;height:96px;margin:0 auto;border:3px solid rgba(168,85,247,.55);box-shadow:0 0 22px rgba(168,85,247,.25)}
.stride-topic-shell #post-sidebar h3.ui.header{margin:12px 0 4px;font-size:16px;font-weight:800}
.stride-topic-shell #post-sidebar h3.ui.header a{color:#fff}
.stride-topic-shell #post-sidebar h3.ui.header .sub.header{margin-top:2px;color:#b9b0c3!important;font-size:12px}
.stride-topic-shell #post-sidebar .groups{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:8px 0 4px}
.stride-topic-shell #post-sidebar .ui.list{margin:10px 0 0}
.stride-topic-shell #post-sidebar .ui.divider{margin:10px 0;border-color:rgba(211,145,247,.16)!important}
.stride-topic-shell #post-sidebar .ui.list>.item{padding:3px 0!important;font-size:12px}
.stride-topic-shell #post-sidebar .ui.list .item .header{color:#b9b0c3!important;font-weight:400}
.stride-topic-shell #post-sidebar .ui.list .item .description{color:#fff!important;font-weight:700}

/* Contenido del mensaje (derecha) */
.stride-topic-shell #post-content{min-width:0}
.stride-post-head{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid rgba(211,145,247,.14);color:#b9b0c3;font-size:12px}
.stride-topic-shell .forum_post{color:#f1ecf6;font-size:14px;line-height:1.7;word-break:break-word}
.stride-topic-shell .forum_post img{max-width:100%;height:auto}
.stride-topic-shell .forum_post blockquote{margin:10px 0;padding:10px 14px;border-left:3px solid #a855f7;background:rgba(168,85,247,.08);border-radius:0 8px 8px 0}
.stride-topic-shell #post-content .ui.divider{border-color:rgba(211,145,247,.16)!important}
.stride-topic-shell #reactions.ui.message{margin-top:14px;background:rgba(255,255,255,.04)!important;border:1px solid rgba(211,145,247,.14)!important;box-shadow:none!important;color:#f8f5fb}

/* Pie del mensaje: solo botones de acción */
.stride-topic-shell #post-meta.ui.segment{padding:8px 16px!important;background:rgba(0,0,0,.22)!important;border-top:1px solid rgba(211,145,247,.14)!important}
.stride-topic-shell #post-meta:empty{display:none}
.stride-post-buttons{display:flex;justify-content:flex-end;gap:6px}
.stride-post-buttons .ui.button{margin:0!important;background:rgba(168,85,247,.16)!important;color:#e7c4ff!important}
.stride-post-buttons .ui.button:hover{background:rgba(168,85,247,.34)!important}

/* Avisos, paginación y respuesta */
.stride-topic-shell .ui.message{background:rgba(255,255,255,.04);color:#f8f5fb;box-shadow:none}
.stride-topic-shell .ui.warning.message{border:1px solid rgba(250,204,21,.35);background:rgba(250,204,21,.08)!important;color:#fde68a!important}
.stride-topic-shell>.stride-forum-shell-body>.ui.pagination.menu,.stride-topic-shell .stride-forum-shell-body>.ui.pagination.menu{margin:0 0 16px}
.stride-topic-shell #topic-reply.ui.segment{margin:16px 0 0!important;padding:0!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(211,145,247,.16)!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden}
.stride-topic-shell #topic-reply .ui.grid{margin:0!important}
.stride-topic-shell #topic-reply .ui.grid>.row{padding:0!important}
.stride-topic-shell #topic-reply .ui.grid>.row>.column{padding:20px!important}
.stride-topic-shell #reply-sidebar{background:rgba(168,85,247,.07);border-right:1px solid rgba(211,145,247,.16)}
.stride-topic-shell #reply-sidebar img.ui.circular.image{width:72px;height:72px;margin:0 auto;border:3px solid rgba(168,85,247,.55)}
.stride-topic-shell #reply-sidebar h3.ui.header{margin:10px 0 0;font-size:15px}
.stride-topic-shell #reply-sidebar h3.ui.header a{color:#fff}
.stride-topic-shell #topic-reply .ui.primary.button{margin-top:12px;border:0;background:linear-gradient(110deg,#a445df,#dc365f);color:#fff;font-weight:800}

@media(max-width:767px){
  .stride-topic-shell #post-sidebar,.stride-topic-shell #reply-sidebar{border-right:0;border-bottom:1px solid rgba(211,145,247,.16)}
  .stride-topic-actions{justify-content:flex-start}
}

/* ===== Editor de respuesta oscuro y avatares redondos ===== */
.stride-topic-shell .tox-tinymce,#forum-topic .tox-tinymce,.stride-forum-shell .tox-tinymce{border:1px solid rgba(211,145,247,.25)!important;border-radius:10px!important;overflow:hidden}
.tox .tox-edit-area__iframe,.tox .tox-edit-area{background:#14101c!important}
.stride-topic-shell #reply-sidebar img.ui.circular.image{width:72px!important;height:72px!important;min-width:72px;max-width:72px!important;aspect-ratio:1/1;object-fit:cover;border-radius:50%!important}
.stride-topic-shell #post-sidebar img.ui.circular.image{width:96px!important;height:96px!important;min-width:96px;max-width:96px!important;aspect-ratio:1/1;object-fit:cover;border-radius:50%!important}
.stride-topic-shell #reply-sidebar center,.stride-topic-shell #post-sidebar center{display:block}

/* ===== Caja de respuesta práctica: compacta, editor a todo el ancho ===== */
#forum-topic #topic-reply.ui.segment.stride-reply-box{margin:16px 0 0!important;padding:16px 18px!important;border:1px solid rgba(168,85,247,.35)!important;background:rgba(168,85,247,.05)!important;border-radius:12px!important}
.stride-reply-head{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.stride-reply-head img.stride-reply-avatar{width:40px!important;height:40px!important;min-width:40px;max-width:40px!important;aspect-ratio:1/1;object-fit:cover;border-radius:50%!important;margin:0!important;border:2px solid rgba(168,85,247,.55)}
.stride-reply-title{display:flex;flex-direction:column;line-height:1.25}
.stride-reply-title strong{color:#fff;font-size:15px;font-weight:800}
.stride-reply-title span{color:#b9b0c3;font-size:12px}
.stride-reply-title a{color:#d9a9ff}
.stride-topic-shell #topic-reply .tox-tinymce{height:240px!important}
.stride-reply-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:12px}
.stride-reply-hint{color:#8d819a;font-size:12px}
.stride-topic-shell #topic-reply .stride-reply-actions .ui.primary.button{margin:0!important;border:0;background:linear-gradient(110deg,#a445df,#dc365f);color:#fff;font-weight:800}
.stride-topic-actions .stride-go-reply i.icon{margin-right:4px}
@media(max-width:640px){.stride-reply-hint{display:none}.stride-reply-actions{justify-content:stretch}.stride-reply-actions .ui.button{width:100%}}

/* ===== Editor simple (solo se activa si el script reconoció los botones) ===== */
.stride-simple-editor.stride-simple-ready .tox-menubar,
.stride-simple-editor.stride-simple-ready .tox-statusbar{display:none!important}
.stride-simple-editor .tox-toolbar__group{padding:2px 8px!important}
.stride-simple-editor .tox-tbtn{width:38px!important;height:34px!important;margin:2px!important;border-radius:8px!important}
.stride-simple-editor .tox-tbtn:hover{background:rgba(168,85,247,.25)!important}

/* ===== Índice del foro: filas planas como la referencia ===== */
#forum-index .stride-forum-shell{padding:20px;background:#151515;border:0;border-radius:0;box-shadow:none}
#forum-index .stride-forum-category{margin:0 0 46px;background:transparent;border:0;border-radius:0;overflow:visible}
#forum-index .stride-forum-category:last-child{margin-bottom:0}
#forum-index .stride-forum-category-title{margin:0 0 16px!important;padding:0!important;background:none!important;border:0!important;color:#1595b5!important;font-size:22px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}
#forum-index .stride-forum-category-title a{display:flex;align-items:center;gap:8px;color:#1595b5!important}
#forum-index .stride-forum-category-title a:hover{color:#22b4d5!important}
#forum-index .stride-forum-category-icon{display:inline-flex;align-items:center;justify-content:center;color:#1595b5}
#forum-index .stride-forum-category-icon i.icon{margin:0!important}
#forum-index .stride-forum-category-list{padding:0 20px;background:#202020;border-radius:2px}
#forum-index .stride-forum-row{grid-template-columns:64px minmax(0,1.25fr) minmax(140px,.4fr) minmax(220px,.8fr);gap:16px;padding:16px 0;border-bottom:1px solid #363636;transition:background .18s ease}
#forum-index .stride-forum-row:last-child{border-bottom:0}
#forum-index .stride-forum-row:hover{background:transparent}
#forum-index .stride-forum-row-icon{width:52px;height:52px;background:transparent;border:0;border-radius:0}
#forum-index .stride-forum-row-icon i.icon{color:#666;font-size:40px}
#forum-index .stride-forum-row-main>a.header{margin:0 0 4px;color:#f5f5f5!important;font-size:16px;font-weight:700}
#forum-index .stride-forum-row-main>a.header:hover{color:#1595b5!important}
#forum-index .stride-forum-row-description{color:#c9c9c9;font-size:14px;line-height:1.45}
#forum-index .stride-forum-topic-actions{display:none}
#forum-index .stride-forum-row-stats{gap:2px;color:#c9c9c9;font-size:14px}
#forum-index .stride-forum-row-stats>div:not(.stride-forum-subforum-links){display:block}
#forum-index .stride-forum-row-stats b{color:#e6e6e6;font-weight:600}
#forum-index .stride-forum-subforum-links{margin-top:8px;padding-top:7px;border-top:1px solid #363636}
#forum-index .stride-forum-subforum-links a{color:#d1d1d1!important;font-size:13px}
#forum-index .stride-forum-subforum-links a:hover{color:#1595b5!important}
#forum-index .stride-forum-row-last{grid-template-columns:46px minmax(0,1fr);column-gap:8px}
#forum-index .stride-forum-row-last img.avatar{width:46px;height:46px;border:0;border-radius:2px}
#forum-index .stride-forum-row-last>a.header{color:#f5f5f5!important;font-size:14px;font-weight:600}
#forum-index .stride-forum-row-last>a.header:hover{color:#1595b5!important}
#forum-index .stride-forum-row-last-meta{color:#bdbdbd;font-size:13px}
#forum-index .stride-forum-row-last-meta a{color:#1595b5!important}
#forum-index .stride-forum-row-no-topics{color:#c9c9c9;font-size:14px;font-style:normal}
#forum-index .stride-forum-redirect{grid-template-columns:64px minmax(0,1fr)}
@media(max-width:1100px){#forum-index .stride-forum-row{grid-template-columns:56px minmax(0,1fr) 130px}#forum-index .stride-forum-row-last{grid-column:2/-1}}
@media(max-width:640px){#forum-index .stride-forum-shell{padding:14px 10px}#forum-index .stride-forum-category-title{font-size:19px!important}#forum-index .stride-forum-category-list{padding:0 12px}#forum-index .stride-forum-row{grid-template-columns:42px minmax(0,1fr);gap:8px 12px;padding:14px 0}#forum-index .stride-forum-row-icon{width:40px;height:40px}#forum-index .stride-forum-row-icon i.icon{font-size:30px}#forum-index .stride-forum-row-stats{grid-column:2;flex-direction:column;gap:2px}#forum-index .stride-forum-row-last{grid-column:2;grid-template-columns:38px minmax(0,1fr)}#forum-index .stride-forum-row-last img.avatar{width:38px;height:38px}#forum-index .stride-forum-redirect{grid-template-columns:42px minmax(0,1fr)}}
/* Override legacy forum-node decoration on the category panels. */
body#page-forum #forum-index section#forum-node.stride-forum-category{margin:0 0 46px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
body#page-forum #forum-index #forum-node.stride-forum-category .stride-forum-category-title a{color:#1595b5!important}
body#page-forum #forum-index #forum-node.stride-forum-category .stride-forum-category-title a:hover{color:#22b4d5!important}
/* ===== Vistas de categorías y subforos: mismo diseño oscuro y turquesa ===== */
#forum-view .stride-forum-shell{padding:20px;background:#151515;border:0!important;border-radius:0!important;box-shadow:none!important}
#forum-view .stride-forum-shell-head{margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #363636}
#forum-view .stride-forum-shell-head h2{display:flex;align-items:center;gap:9px;margin:0;color:#1595b5;font-size:22px;font-weight:700}
#forum-view .stride-forum-shell-head h2 i.icon{margin:0;color:#1595b5}
#forum-view .stride-forum-new-topic{background:#1595b5!important;color:#fff!important;box-shadow:none!important}
#forum-view .stride-forum-new-topic:hover{background:#117d99!important;filter:none}
#forum-view .stride-forum-shell-body table.ui.table{width:100%;margin:0 0 16px!important;background:#202020!important;border:0!important;border-radius:2px!important;border-collapse:collapse!important;border-spacing:0!important;color:#dedede!important;box-shadow:none!important}
#forum-view .stride-forum-shell-body table.ui.table:last-child{margin-bottom:0!important}
#forum-view .stride-forum-shell-body table.ui.table thead th{padding:13px 20px!important;background:#202020!important;border:0!important;border-bottom:1px solid #363636!important;color:#1595b5!important}
#forum-view .stride-forum-shell-body table.ui.table thead th h4{margin:0;color:#1595b5!important;font-size:16px;font-weight:700;letter-spacing:0;text-transform:none}
#forum-view .stride-forum-shell-body table.ui.table tbody td{padding:15px 20px!important;background:transparent!important;border:0!important;border-top:1px solid #363636!important;color:#dedede!important;vertical-align:middle}
#forum-view .stride-forum-shell-body table.ui.table tbody tr:first-child td{border-top:0!important}
#forum-view .stride-forum-shell-body table.ui.table tbody tr:hover td{background:rgba(255,255,255,.025)!important}
#forum-view .stride-forum-shell-body table.ui.table .ui.header{margin:0;color:#f5f5f5!important}
#forum-view .stride-forum-shell-body table.ui.table .ui.header .content{min-width:0}
#forum-view .stride-forum-shell-body table.ui.table a{color:#f3f3f3!important}
#forum-view .stride-forum-shell-body table.ui.table a:hover{color:#1595b5!important}
#forum-view .stride-forum-shell-body table.ui.table .sub.header{color:#bebebe!important;font-size:13px;font-weight:400}
#forum-view .stride-forum-shell-body table.ui.table .sub.header a{color:#1595b5!important}
#forum-view .stride-forum-shell-body table.ui.table i.comment.icon{color:#777!important}
#forum-view #subforums-table thead{display:none}
#forum-view #subforums-table tbody td:first-child h5.ui.header{display:grid!important;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:16px}
#forum-view #subforums-table tbody td:first-child h5.ui.header>i.icon{width:52px;margin:0!important;color:#666!important;font-size:40px}
#forum-view #subforums-table tbody td:last-child h5.ui.header{display:grid!important;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px}
#forum-view #subforums-table img.ui.image{width:46px!important;height:46px!important;min-width:46px;object-fit:cover;border:0!important;border-radius:2px!important}
#forum-view #sticky-threads h5.ui.header,#forum-view #normal-threads h5.ui.header{display:grid!important;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:8px}
#forum-view #sticky-threads h5.ui.header>i.icon,#forum-view #normal-threads h5.ui.header>i.icon{margin:2px 0 0!important;color:#777!important}
#forum-view #sticky-threads img.ui.image,#forum-view #normal-threads img.ui.image{width:42px!important;height:42px!important;min-width:42px;object-fit:cover;border:0!important;border-radius:2px!important}
#forum-view .stride-topic-title-date{color:#aaa}
#forum-view .stride-topic-byline{color:#bbb}
#forum-view .stride-topic-rank{background:#303030;color:#ddd}
#forum-view .stride-topic-stats{color:#bdbdbd}
#forum-view .stride-topic-stats b{color:#f1f1f1}
#forum-view .stride-forum-opine{color:#1595b5!important}
#forum-view .ui.pagination.menu{background:#202020!important;border:1px solid #363636!important;border-radius:2px!important;box-shadow:none!important}
#forum-view .ui.pagination.menu .item{color:#ccc!important}
#forum-view .ui.pagination.menu .active.item{background:#1595b5!important;color:#fff!important}
@media(max-width:640px){#forum-view .stride-forum-shell{padding:14px 10px}#forum-view .stride-forum-shell-head{align-items:flex-start;flex-wrap:wrap}#forum-view .stride-forum-shell-head h2{font-size:19px}#forum-view .stride-forum-shell-body table.ui.table thead th,#forum-view .stride-forum-shell-body table.ui.table tbody td{padding:12px 10px!important}#forum-view #subforums-table tbody td:first-child h5.ui.header{grid-template-columns:38px minmax(0,1fr);gap:10px}#forum-view #subforums-table tbody td:first-child h5.ui.header>i.icon{width:38px;font-size:30px}#forum-view #subforums-table tbody td:last-child h5.ui.header{grid-template-columns:36px minmax(0,1fr);gap:8px}#forum-view #subforums-table img.ui.image{width:36px!important;height:36px!important;min-width:36px}}
/* Higher-specificity page-only overrides for legacy forum theme rules. */
body#page-forum #forum-view .stride-forum-shell{padding:20px!important;background:#151515!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body#page-forum #forum-view .stride-forum-shell-head h2{color:#1595b5!important}
body#page-forum #forum-view .stride-forum-shell-head h2 i.icon{color:#1595b5!important}
body#page-forum #forum-view .stride-forum-shell-head h2:before{display:inline-block;color:#1595b5;font-family:"Font Awesome 5 Free";font-weight:900}
body#page-forum #forum-view:has(.stride-forum-topbar-left a.active[href*="view/1-importante"]) .stride-forum-shell-head h2:before{content:"\f071"}
body#page-forum #forum-view:has(.stride-forum-topbar-left a.active[href*="view/6-chat"]) .stride-forum-shell-head h2:before{content:"\f086"}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table{background:#202020!important;border:0!important;border-radius:2px!important;border-collapse:collapse!important;border-spacing:0!important;box-shadow:none!important;color:#dedede!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table thead th{background:#202020!important;border:0!important;border-bottom:1px solid #363636!important;color:#1595b5!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table thead th h4{color:#1595b5!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table tbody td{background:transparent!important;border-top:1px solid #363636!important;color:#dedede!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table tbody tr:hover{background:rgba(255,255,255,.025)!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table .ui.header{color:#f5f5f5!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table .sub.header{color:#bebebe!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table a{color:#f3f3f3!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table .sub.header a{color:#1595b5!important}
body#page-forum #forum-view #subforums-table thead{display:none!important}
body#page-forum #forum-view #subforums-table tbody td:first-child h5.ui.header>i.icon{color:#666!important}
body#page-forum #forum-view #subforums-table tbody td:first-child a{color:#f3f3f3!important}
body#page-forum #forum-view #subforums-table img.ui.image{border:0!important;border-radius:2px!important}
body#page-forum #forum-view #sticky-threads img.ui.image,body#page-forum #forum-view #normal-threads img.ui.image{border:0!important;border-radius:2px!important}
body#page-forum #forum-view .stride-topic-stats{color:#bdbdbd!important}
body#page-forum #forum-view .stride-topic-stats b{color:#f1f1f1!important}
body#page-forum #forum-view .ui.pagination.menu .active.item{background:#1595b5!important;color:#fff!important}
/* Interactive reply button positioned in the open space beside the topic details. */
body#page-forum #forum-view #sticky-threads tbody td:first-child,body#page-forum #forum-view #normal-threads tbody td:first-child{position:relative;padding-right:140px!important}
body#page-forum #forum-view #sticky-threads a.stride-forum-opine,body#page-forum #forum-view #normal-threads a.stride-forum-opine{position:absolute;top:50%;right:22px;display:inline-flex;align-items:center;justify-content:center;min-width:96px;min-height:38px;margin:0;padding:0 14px;transform:translateY(-50%);border:1px solid rgba(21,149,181,.65);border-radius:6px;background:#1595b5;color:#fff!important;font-size:12px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.2);transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
body#page-forum #forum-view #sticky-threads a.stride-forum-opine i.icon,body#page-forum #forum-view #normal-threads a.stride-forum-opine i.icon{margin:0 6px 0 0;color:inherit!important}
body#page-forum #forum-view #sticky-threads a.stride-forum-opine:hover,body#page-forum #forum-view #normal-threads a.stride-forum-opine:hover{transform:translateY(calc(-50% - 2px));background:#117d99;box-shadow:0 7px 16px rgba(0,0,0,.28)}
body#page-forum #forum-view #sticky-threads a.stride-forum-opine:active,body#page-forum #forum-view #normal-threads a.stride-forum-opine:active{transform:translateY(-50%) scale(.98)}
body#page-forum #forum-view #sticky-threads a.stride-forum-opine:focus-visible,body#page-forum #forum-view #normal-threads a.stride-forum-opine:focus-visible{outline:3px solid rgba(21,149,181,.45);outline-offset:3px}
@media(max-width:767px){body#page-forum #forum-view #sticky-threads tbody td:first-child,body#page-forum #forum-view #normal-threads tbody td:first-child{padding-right:10px!important}body#page-forum #forum-view #sticky-threads a.stride-forum-opine,body#page-forum #forum-view #normal-threads a.stride-forum-opine{position:static;min-height:36px;margin:10px 0 0;transform:none}body#page-forum #forum-view #sticky-threads a.stride-forum-opine:hover{transform:translateY(-2px)}body#page-forum #forum-view #normal-threads a.stride-forum-opine:hover{transform:translateY(-2px)}}
/* Match Opinar to the existing Nuevo tema button. */
body#page-forum #forum-view #sticky-threads a.stride-forum-opine,body#page-forum #forum-view #normal-threads a.stride-forum-opine{border:0!important;background:linear-gradient(110deg,#a445df,#dc365f)!important;color:#fff!important;font-weight:800;box-shadow:0 7px 18px rgba(168,56,190,.22)}
body#page-forum #forum-view #sticky-threads a.stride-forum-opine:hover,body#page-forum #forum-view #normal-threads a.stride-forum-opine:hover{filter:brightness(1.12);background:linear-gradient(110deg,#a445df,#dc365f)!important;box-shadow:0 9px 22px rgba(168,56,190,.3)}
/* ===== Vista del tema: diseño según la referencia, solo dentro de #forum-topic ===== */
body#page-forum #forum-topic .stride-topic-shell{padding:16px!important;background:#100d15!important;border:1px solid #33243b!important;border-radius:16px!important;box-shadow:none!important}
body#page-forum #forum-topic .stride-topic-head{align-items:flex-start;gap:14px;margin:0 0 14px;padding:2px 4px 14px;border-bottom:1px solid #33243b}
body#page-forum #forum-topic .stride-topic-head>h2.ui.header{margin:0!important;color:#f5f5f5!important}
body#page-forum #forum-topic .stride-topic-head .topic.title{color:#1595b5;font-size:22px;font-weight:700;line-height:1.25}
body#page-forum #forum-topic .stride-topic-head .sub.header{margin-top:3px;color:#bdb5c3!important;font-size:14px;font-weight:400}
body#page-forum #forum-topic .stride-topic-head .sub.header a{color:#c98cff!important}
body#page-forum #forum-topic .stride-topic-head .topic.title .ui.label{margin:0 6px 0 0;background:#df3342!important;color:#fff!important;border:0!important;border-radius:5px!important;font-size:14px;font-weight:700;text-transform:none}
body#page-forum #forum-topic .stride-topic-actions{align-items:flex-start}
body#page-forum #forum-topic .stride-topic-actions>.ui.dropdown:last-child{position:relative;display:inline-flex;align-items:center;justify-content:center;width:46px;height:38px;min-width:46px;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;background:#16859e!important;color:transparent!important;font-size:0!important;box-shadow:none!important}
body#page-forum #forum-topic .stride-topic-actions>.ui.dropdown:last-child>.text,body#page-forum #forum-topic .stride-topic-actions>.ui.dropdown:last-child>i.dropdown.icon{display:none!important}
body#page-forum #forum-topic .stride-topic-actions>.ui.dropdown:last-child:before{content:"\f064";font-family:"Font Awesome 5 Free";font-size:16px;font-weight:900;color:#fff}
body#page-forum #forum-topic .stride-topic-actions>.ui.dropdown:last-child:hover{background:#11758c!important;filter:none}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:has(~ .ui.segments#topic-post){display:none!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post{margin:0 0 16px!important;background:#171717!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post>.ui.segment{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#e7e7e7}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post>.ui.attached.padded.segment{padding:0!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post>.ui.segment>.ui.grid{margin:0!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post>.ui.segment>.ui.grid>.row{padding:0!important;align-items:stretch}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post .ui.grid>.row>.column{padding:20px!important}
body#page-forum #forum-topic #post-sidebar{background:#201823!important;border-right:1px solid #2d2530!important}
body#page-forum #forum-topic #post-sidebar img.ui.circular.image{width:96px!important;height:96px!important;min-width:96px;max-width:96px!important;aspect-ratio:1/1;object-fit:cover;border:3px solid #70349a!important;border-radius:0!important;box-shadow:none!important}
body#page-forum #forum-topic #post-sidebar h3.ui.header{margin:12px 0 4px;color:#1595b5!important;font-size:16px;font-weight:700}
body#page-forum #forum-topic #post-sidebar h3.ui.header a{color:#1595b5!important}
body#page-forum #forum-topic #post-sidebar h3.ui.header .sub.header{color:#bdb5c3!important}
body#page-forum #forum-topic #post-sidebar .groups{margin:8px 0 4px}
body#page-forum #forum-topic #post-sidebar .ui.list{margin:16px 10px 0!important;padding:12px 14px!important;background:#202020!important;border:0!important;border-radius:2px!important}
body#page-forum #forum-topic #post-sidebar .ui.divider{margin:0 0 8px!important;border-color:#343434!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.item{padding:3px 0!important;color:#c6becb;font-size:13px}
body#page-forum #forum-topic #post-sidebar .ui.list .item .header{color:#bdb5c3!important;font-weight:400}
body#page-forum #forum-topic #post-sidebar .ui.list .item .description{color:#f2f2f2!important;font-weight:700}
body#page-forum #forum-topic .stride-post-head{margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #332e35;color:#bdb5c3;font-size:13px}
body#page-forum #forum-topic #post-content{min-height:100%;color:#e7e7e7}
body#page-forum #forum-topic .stride-topic-shell .forum_post{color:#ededed;font-size:14px;line-height:1.65}
body#page-forum #forum-topic .stride-topic-shell #post-content .ui.divider{border-color:#332e35!important}
body#page-forum #forum-topic #post-meta:not(:has(a,button)){display:none!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:not(:has(~ .ui.segments#topic-post)){margin:18px 0 0!important;background:#111!important;border:1px solid #33243b!important;border-radius:5px!important;box-shadow:none!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:not(:has(~ .ui.segments#topic-post)) .item{color:#c9c9c9!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:not(:has(~ .ui.segments#topic-post)) .active.item{background:#16859e!important;color:#fff!important}
@media(max-width:767px){body#page-forum #forum-topic .stride-topic-head{align-items:flex-start}body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post .ui.grid>.row>.column{padding:16px!important}body#page-forum #forum-topic #post-sidebar{border-right:0!important;border-bottom:1px solid #2d2530!important}body#page-forum #forum-topic #post-sidebar .ui.list{max-width:340px;margin:16px auto 0!important}}/* Ajuste final para acercar la vista del tema a la referencia negra y plana. */
body#page-forum #forum-topic .stride-topic-shell{padding:0!important;background:#101010!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body#page-forum #forum-topic .stride-topic-head{margin:0 0 16px!important;padding:0 0 0!important;border:0!important}
body#page-forum #forum-topic .stride-topic-head .topic.title{font-size:22px!important;color:#1595b5!important}
body#page-forum #forum-topic .stride-topic-head .topic.title .ui.label{background:#df3342!important;border-radius:5px!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post{margin:0 0 18px!important;background:#171717!important;border:0!important;border-radius:0!important}
body#page-forum #forum-topic #post-sidebar{background:#171717!important;border-right:3px solid #202020!important}
body#page-forum #forum-topic #post-sidebar img.ui.circular.image{width:85px!important;height:85px!important;min-width:85px!important;max-width:85px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body#page-forum #forum-topic #post-sidebar h3.ui.header{margin:10px 0 0!important;color:#1595b5!important;font-size:18px!important;font-weight:500!important}
body#page-forum #forum-topic #post-sidebar h3.ui.header a{color:#1595b5!important}
body#page-forum #forum-topic #post-sidebar .groups{margin:12px 0 8px!important}
body#page-forum #forum-topic #post-sidebar .ui.list{margin:16px 0 0!important;padding:16px 20px!important;background:#202020!important;border-radius:2px!important}
body#page-forum #forum-topic .stride-post-head{margin:0 0 12px!important;padding-bottom:14px!important;border-bottom:3px solid #202020!important;font-size:14px!important}
body#page-forum #forum-topic #post-content{padding:0 20px!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:not(:has(~ .ui.segments#topic-post)){margin:18px 0 16px!important;background:#171717!important;border:0!important;border-radius:3px!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:not(:has(~ .ui.segments#topic-post)) .item{background:#171717!important;color:#d8d8d8!important}
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:not(:has(~ .ui.segments#topic-post)) .active.item{background:#16859e!important;color:#fff!important}
/* Correcciones de la referencia: un solo paginador, panel de autor reducido y mensaje sin bordes sobrantes. */
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:has(~ #topic-post),
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:has(~ .ui.segments#topic-post){display:none!important}
body#page-forum #forum-topic .stride-topic-shell-body>#topic-post,
body#page-forum #forum-topic .stride-topic-shell-body>.ui.segments#topic-post,
body#page-forum #forum-topic #topic-post.ui.segments{border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important}
body#page-forum #forum-topic #topic-post>.ui.segment,
body#page-forum #forum-topic #topic-post>.ui.attached.padded.segment{border:0!important;border-radius:0!important;box-shadow:none!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.ui.divider{display:none!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(2),
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(3){display:none!important}
body#page-forum #forum-topic #post-sidebar .ui.list{display:flex!important;flex-direction:column!important;gap:4px!important;margin:16px 0 0!important;padding:16px 20px!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.item{display:block!important;padding:0!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(5){order:1}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(4){order:2}
body#page-forum #forum-topic #post-sidebar .ui.list>.item .content{display:flex!important;align-items:baseline;gap:5px}
body#page-forum #forum-topic #post-sidebar .ui.list>.item .header,
body#page-forum #forum-topic #post-sidebar .ui.list>.item .description{display:inline!important;float:none!important;margin:0!important;color:#d8d8d8!important;font-size:14px!important;font-weight:400!important;line-height:1.45}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(5) .header{font-size:0!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(5) .header:after{content:"Publicaciones";font-size:14px}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(4) .header{font-size:0!important}
body#page-forum #forum-topic #post-sidebar .ui.list>.item:nth-of-type(4) .header:after{content:"Temas";font-size:14px}
body#page-forum #forum-topic .stride-post-head{border-bottom:1px solid #292929!important}
body#page-forum #forum-topic #post-sidebar{border-right:2px solid #202020!important}
body#page-forum #forum-topic #post-content{border:0!important;box-shadow:none!important}
/* La plantilla coloca la primera paginación como primer hijo del cuerpo; conservar la de debajo de las respuestas. */
body#page-forum #forum-topic .stride-topic-shell-body>.ui.pagination.menu:first-child{display:none!important}
/* Mostrar únicamente la paginación que viene después del mensaje. */
body#page-forum #forum-topic .stride-topic-shell-body .ui.pagination.menu{display:none!important}
body#page-forum #forum-topic .stride-topic-shell-body #topic-post~.ui.pagination.menu{display:flex!important}
/* Selectores con la clase real de la plantilla (stride-forum-shell-body). */
body#page-forum #forum-topic .stride-forum-shell-body .ui.pagination.menu{display:none!important}
body#page-forum #forum-topic .stride-forum-shell-body #topic-post~.ui.pagination.menu{display:flex!important;margin:18px 0 16px!important;background:#171717!important;border:0!important;border-radius:3px!important;box-shadow:none!important}
body#page-forum #forum-topic .stride-forum-shell-body #topic-post~.ui.pagination.menu .item{background:#171717!important;color:#d8d8d8!important}
body#page-forum #forum-topic .stride-forum-shell-body #topic-post~.ui.pagination.menu .active.item{background:#16859e!important;color:#fff!important}
body#page-forum #forum-topic .stride-forum-shell-body>.ui.segments#topic-post,
body#page-forum #forum-topic .stride-forum-shell-body>#topic-post{margin:0 0 18px!important;background:#171717!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;overflow:hidden}
body#page-forum #forum-topic .stride-forum-shell-body>.ui.segments#topic-post>.ui.segment,
body#page-forum #forum-topic .stride-forum-shell-body>.ui.segments#topic-post>.ui.attached.padded.segment{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}

/* ===== Indice del foro: cuadros con el estilo morado del sitio (v11) =====
   Van con #forum-index para ganar al bloque "filas planas" de mas arriba. */
#forum-index .stride-forum-shell{padding:22px;background:linear-gradient(160deg,rgba(30,21,41,.97),rgba(12,9,17,.98));border:1px solid rgba(211,145,247,.32);border-radius:20px;box-shadow:0 22px 54px rgba(0,0,0,.5),0 0 0 1px rgba(150,64,190,.14),inset 0 1px 0 rgba(255,255,255,.06)}
#forum-index .stride-forum-category{margin:0 0 22px;background:rgba(255,255,255,.035);border:1px solid rgba(211,145,247,.22);border-radius:16px;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.25)}
#forum-index .stride-forum-category:last-child{margin-bottom:0}
#forum-index .stride-forum-category-title{position:relative;margin:0!important;padding:15px 22px 15px 28px!important;background:linear-gradient(90deg,rgba(168,85,247,.26),rgba(220,54,95,.08) 70%,transparent)!important;border:0!important;border-bottom:1px solid rgba(211,145,247,.18)!important;color:#fff!important;font-size:15px!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important}
#forum-index .stride-forum-category-title::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#d994ff,#dc365f)}
#forum-index .stride-forum-category-title a{color:#fff!important}
#forum-index .stride-forum-category-title a:hover{color:#f0d6ff!important}
#forum-index .stride-forum-category-icon{color:#e3adff}
#forum-index .stride-forum-category-list{padding:0;background:transparent;border-radius:0}
#forum-index .stride-forum-row{position:relative;gap:18px;padding:18px 22px;border-bottom:1px solid rgba(211,145,247,.12);transition:background .2s}
#forum-index .stride-forum-row::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,#d994ff,#dc365f);opacity:0;transition:opacity .2s}
#forum-index .stride-forum-row:hover{background:linear-gradient(90deg,rgba(168,85,247,.14),rgba(168,85,247,.03))}
#forum-index .stride-forum-row:hover::before{opacity:1}
#forum-index .stride-forum-row-icon{width:54px;height:54px;border-radius:14px;background:linear-gradient(145deg,rgba(180,91,224,.38),rgba(122,47,168,.2));border:1px solid rgba(211,145,247,.4);box-shadow:0 8px 20px rgba(150,64,190,.25);transition:transform .2s}
#forum-index .stride-forum-row:hover .stride-forum-row-icon{transform:scale(1.07) rotate(-3deg)}
#forum-index .stride-forum-row-icon i.icon{color:#e3adff;font-size:24px}
#forum-index .stride-forum-row-main>a.header{color:#fff!important;font-size:17px;font-weight:800}
#forum-index .stride-forum-row-main>a.header:hover{color:#e3adff!important}
#forum-index .stride-forum-row-description{color:#b9b0c3}
#forum-index .stride-forum-row-stats{display:grid;gap:6px}
#forum-index .stride-forum-row-stats>div:not(.stride-forum-subforum-links){display:flex;justify-content:space-between;gap:10px;padding:5px 11px;border-radius:8px;background:rgba(255,255,255,.06);color:#cfc4d6;font-size:13px}
#forum-index .stride-forum-row-stats b{color:#fff}
#forum-index .stride-forum-subforum-links a:hover{color:#e3adff!important}
#forum-index .stride-forum-row-last{padding-left:16px;border-left:1px solid rgba(211,145,247,.14)}
#forum-index .stride-forum-row-last img.avatar{border:1px solid rgba(211,145,247,.4);border-radius:10px}
#forum-index .stride-forum-row-last>a.header:hover{color:#e3adff!important}
#forum-index .stride-forum-row-last-meta a{color:#e3adff!important}
#forum-index .stride-forum-create-topic{border-radius:8px}
@media(max-width:1100px){#forum-index .stride-forum-row-last{padding-left:0;border-left:0}}
@media(max-width:640px){
 #forum-index .stride-forum-shell{padding:14px;border-radius:16px}
 #forum-index .stride-forum-row{padding:14px 16px}
}

/* Mismas reglas de las tablas con mas especificidad: ganan a las reglas viejas de custom.css */
body#page-forum #forum-view .stride-forum-shell-body table.ui.table{width:100%;margin:0 0 16px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(211,145,247,.16)!important;border-radius:12px!important;border-collapse:separate!important;border-spacing:0;color:#f8f5fb!important;box-shadow:none!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table:last-child{margin-bottom:0!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table thead th{padding:13px 20px!important;background:linear-gradient(90deg,rgba(168,85,247,.16),rgba(220,54,95,.08))!important;border:0!important;border-bottom:1px solid rgba(211,145,247,.16)!important;color:#e7c4ff!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table thead th:first-child{border-top-left-radius:11px!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table thead th:last-child{border-top-right-radius:11px!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table thead h4{margin:0;color:#e7c4ff;font-size:14px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table tbody td{padding:14px 20px!important;background:transparent!important;border:0!important;border-top:1px solid rgba(211,145,247,.12)!important;color:#f8f5fb!important;vertical-align:middle}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table tbody tr:first-child td{border-top:0!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table tbody tr:hover td{background:rgba(168,85,247,.06)!important}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table .ui.header{color:#f8f5fb!important;margin:0}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table .ui.header .sub.header{color:#b9b0c3!important;font-size:12px;font-weight:400}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table a{color:#f8f5fb}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table a:hover{color:#e2b8ff}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table .sub.header a{color:#d9a9ff}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table i.comment.icon{color:#e2b8ff}
body#page-forum #forum-view .stride-forum-shell-body table.ui.table img.ui.circular.image{border:2px solid rgba(168,85,247,.5)}

/* =====================================================================
   TARJETA DE MENSAJE REDISEÑADA (misma distribución: autor | contenido)
   ===================================================================== */
#forum-topic .stride-post{position:relative;display:grid;grid-template-columns:230px minmax(0,1fr);margin:0 0 18px;background:linear-gradient(160deg,rgba(30,22,40,.96),rgba(17,13,24,.98));border:1px solid rgba(211,145,247,.2);border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.35);overflow:hidden;transition:border-color .2s,box-shadow .2s}
#forum-topic .stride-post:hover{border-color:rgba(211,145,247,.38);box-shadow:0 16px 36px rgba(0,0,0,.42)}
#forum-topic .stride-post::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,#a445df,#dc365f);opacity:.9}
#forum-topic .stride-post-anchor{position:absolute;top:-90px}

/* Autor */
#forum-topic .stride-post-author{display:flex;flex-direction:column;align-items:center;gap:12px;padding:30px 18px 22px;text-align:center;background:radial-gradient(120% 70% at 50% 0%,rgba(168,85,247,.2),rgba(168,85,247,.05) 60%,transparent),rgba(168,85,247,.04);border-right:1px solid rgba(211,145,247,.16)}
#forum-topic .stride-post-avatar{display:block;width:100px;height:100px;padding:3px;border-radius:50%;background:linear-gradient(135deg,#d994ff,#dc365f);box-shadow:0 0 26px rgba(168,85,247,.38)}
#forum-topic .stride-post-avatar img{box-sizing:border-box;display:block;width:100%!important;height:100%!important;max-width:none!important;border-radius:50%!important;object-fit:cover;aspect-ratio:1/1;border:3px solid #15101c;background:#15101c;image-rendering:pixelated}
#forum-topic .stride-post-name{display:flex;flex-direction:column;gap:3px;max-width:100%}
#forum-topic .stride-post-name a{color:#fff;font-size:17px;font-weight:800;line-height:1.2;word-break:break-word}
#forum-topic .stride-post-name a:hover{color:#e7c4ff}
#forum-topic .stride-post-title{color:#b9b0c3;font-size:12px}
#forum-topic .stride-post-groups{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}
#forum-topic .stride-post-groups .ui.label{margin:0!important}

#forum-topic .stride-post-counters{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:4px}
#forum-topic .stride-post-counter{display:flex;flex-direction:column;align-items:center;gap:1px;padding:9px 4px;background:rgba(255,255,255,.05);border:1px solid rgba(211,145,247,.14);border-radius:10px}
#forum-topic .stride-post-counter b{color:#fff;font-size:17px;font-weight:900;line-height:1.1}
#forum-topic .stride-post-counter span{color:#b9b0c3;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}

#forum-topic .stride-post-info{width:100%;margin:2px 0 0;padding:12px 0 0;list-style:none;border-top:1px solid rgba(211,145,247,.14);text-align:left}
#forum-topic .stride-post-info li{display:flex;flex-direction:column;gap:1px;padding:5px 2px;font-size:12px}
#forum-topic .stride-post-info li span{color:#9a8fab;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
#forum-topic .stride-post-info li b{color:#eee6f5;font-weight:600;word-break:break-word}

/* Contenido */
#forum-topic .stride-post-main{display:flex;flex-direction:column;min-width:0}
#forum-topic .stride-post-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:18px 26px 14px;border-bottom:1px solid rgba(211,145,247,.14);color:#b9b0c3;font-size:12px}
#forum-topic .stride-post-date,#forum-topic .stride-post-edited{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;background:rgba(255,255,255,.05);border:1px solid rgba(211,145,247,.14);border-radius:999px}
#forum-topic .stride-post-date i,#forum-topic .stride-post-edited i{margin:0;color:#d9a9ff;font-size:11px}
#forum-topic .stride-post-body{flex:1 1 auto;min-height:120px;padding:22px 26px}
#forum-topic .stride-post-body .forum_post{color:#f1ecf6;font-size:15px;line-height:1.75;word-break:break-word}
#forum-topic .stride-post-body .forum_post a{color:#e3adff;text-decoration:underline;text-decoration-color:rgba(227,173,255,.35);text-underline-offset:3px}
#forum-topic .stride-post-body .forum_post a:hover{color:#fff}
#forum-topic .stride-post-body .forum_post img{max-width:100%;height:auto;border-radius:8px}
#forum-topic .stride-post-body .forum_post blockquote{margin:12px 0;padding:12px 16px;border-left:3px solid #a855f7;background:rgba(168,85,247,.09);border-radius:0 10px 10px 0;color:#e3dce9}
#forum-topic .stride-post-body .forum_post pre,#forum-topic .stride-post-body .forum_post code{background:rgba(0,0,0,.35);border:1px solid rgba(211,145,247,.14);border-radius:8px;color:#f5d9ff}
#forum-topic .stride-post-body .forum_post pre{padding:12px 14px;overflow:auto}
#forum-topic .stride-post-signature{margin-top:22px;padding-top:12px;border-top:1px dashed rgba(211,145,247,.22);max-height:240px;overflow:auto;color:#b9b0c3;font-size:12px}

/* Reacciones */
#forum-topic .stride-post-reactions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 26px 18px;padding:8px 12px;background:rgba(255,255,255,.04);border:1px solid rgba(211,145,247,.14);border-radius:12px}
#forum-topic .stride-post-reactions-list{display:flex;flex-wrap:wrap;gap:6px}
#forum-topic .stride-reaction-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;background:rgba(168,85,247,.16);border:1px solid rgba(211,145,247,.22);border-radius:999px;color:#f3e6ff;font-size:13px;cursor:pointer;transition:background .15s}
#forum-topic .stride-reaction-chip:hover{background:rgba(168,85,247,.32)}
#forum-topic .stride-post-reactions-pick{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
#forum-topic .stride-post-reactions-pick>span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 6px;border-radius:9px;cursor:pointer;transition:background .15s,transform .15s}
#forum-topic .stride-post-reactions-pick>span:hover{background:rgba(168,85,247,.25);transform:translateY(-2px)}
#forum-topic .stride-post-reactions-pick>.reaction-button-selected{background:rgba(168,85,247,.38);box-shadow:inset 0 0 0 1px rgba(227,173,255,.5)}

/* Pie con acciones */
#forum-topic .stride-post-foot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:11px 20px;background:rgba(0,0,0,.25);border-top:1px solid rgba(211,145,247,.14)}
#forum-topic .stride-post-btn{display:inline-flex;align-items:center;gap:7px;margin:0;padding:7px 13px;background:rgba(168,85,247,.14);border:1px solid rgba(211,145,247,.2);border-radius:9px;color:#e7c4ff;font-size:12px;font-weight:700;line-height:1;cursor:pointer;transition:background .15s,color .15s,transform .15s}
#forum-topic .stride-post-btn i.icon{margin:0;font-size:12px}
#forum-topic .stride-post-btn:hover{background:rgba(168,85,247,.34);color:#fff;transform:translateY(-1px)}
#forum-topic .stride-post-btn.danger:hover{background:rgba(220,54,95,.4);border-color:rgba(220,54,95,.6)}

@media(max-width:900px){
  #forum-topic .stride-post{grid-template-columns:190px minmax(0,1fr)}
}
@media(max-width:700px){
  #forum-topic .stride-post{grid-template-columns:1fr}
  #forum-topic .stride-post-author{display:grid;grid-template-columns:76px 1fr;grid-template-areas:"av name" "av groups" "cnt cnt" "info info";align-items:center;gap:6px 14px;padding:22px 16px 14px;text-align:left;border-right:0;border-bottom:1px solid rgba(211,145,247,.16)}
  #forum-topic .stride-post-avatar{grid-area:av;width:76px;height:76px}
  #forum-topic .stride-post-name{grid-area:name}
  #forum-topic .stride-post-groups{grid-area:groups;justify-content:flex-start}
  #forum-topic .stride-post-counters{grid-area:cnt;margin-top:8px}
  #forum-topic .stride-post-info{grid-area:info}
  #forum-topic .stride-post-head{padding:14px 16px 12px}
  #forum-topic .stride-post-body{padding:18px 16px}
  #forum-topic .stride-post-reactions{margin:0 16px 16px}
  #forum-topic .stride-post-foot{padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){#forum-topic .stride-post,#forum-topic .stride-post-btn,#forum-topic .stride-reaction-chip,#forum-topic .stride-post-reactions-pick>span{transition:none}}

/* ===== Cabecera del tema: título resaltado + menús por encima de las tarjetas ===== */
body#page-forum #forum-topic .stride-topic-head{position:relative;z-index:40;margin:-4px -4px 18px;padding:16px 18px;background:linear-gradient(100deg,rgba(168,85,247,.22),rgba(220,54,95,.1) 60%,rgba(255,255,255,.02));border:1px solid rgba(211,145,247,.28);border-left:5px solid #c066f0;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.28)}
body#page-forum #forum-topic .stride-topic-head>h2.ui.header::before{content:"TEMA";display:inline-block;margin:0 0 8px;padding:3px 10px;background:linear-gradient(110deg,#a445df,#dc365f);border-radius:999px;color:#fff;font-size:10px;font-weight:900;letter-spacing:.14em}
body#page-forum #forum-topic .stride-topic-head .topic.title{font-size:clamp(22px,3vw,30px);font-weight:900;line-height:1.2;background:linear-gradient(90deg,#fff,#f0d6ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
body#page-forum #forum-topic .stride-topic-head .sub.header{margin-top:8px;font-size:13px}
body#page-forum #forum-topic .stride-topic-actions{position:relative;z-index:50}
body#page-forum #forum-topic .stride-topic-actions .ui.dropdown{position:relative;z-index:60}
body#page-forum #forum-topic .stride-topic-actions .ui.dropdown .menu{z-index:1000!important;min-width:200px;box-shadow:0 14px 34px rgba(0,0,0,.55)}
body#page-forum #forum-topic .stride-topic-actions .ui.dropdown.active,body#page-forum #forum-topic .stride-topic-actions .ui.dropdown.visible{z-index:1001}

/* ===== Ajuste cabecera: etiqueta junto al título y más separación ===== */
body#page-forum #forum-topic .stride-topic-head{padding:20px 26px 20px 32px;gap:20px}
body#page-forum #forum-topic .stride-topic-head>h2.ui.header{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px;row-gap:12px}
body#page-forum #forum-topic .stride-topic-head>h2.ui.header::before{flex:0 0 auto;margin:0;padding:5px 13px;font-size:11px}
body#page-forum #forum-topic .stride-topic-head .topic.title{flex:1 1 0;min-width:0;display:block;padding:0 4px}
body#page-forum #forum-topic .stride-topic-head .sub.header{flex:0 0 100%;margin:0!important;padding:10px 0 0 4px;border-top:1px solid rgba(211,145,247,.16);line-height:1.5}
@media(max-width:700px){body#page-forum #forum-topic .stride-topic-head{padding:16px 16px 16px 20px}}

/* ===== Más margen izquierdo dentro del cuadro del título ===== */
body#page-forum #forum-topic .stride-topic-head{margin:0 0 18px!important;padding:22px 28px 22px 48px!important}
body#page-forum #forum-topic .stride-topic-head .sub.header{padding-left:0!important}
body#page-forum #forum-topic .stride-topic-head .topic.title{padding:0!important}
@media(max-width:700px){body#page-forum #forum-topic .stride-topic-head{padding:18px 16px 18px 28px!important}}

/* ===== Botones de moderación centrados verticalmente ===== */
body#page-forum #forum-topic .stride-topic-head{align-items:center!important}
body#page-forum #forum-topic .stride-topic-head .stride-topic-actions{align-self:center!important;margin:0!important;padding:0!important}
body#page-forum #forum-topic .stride-topic-actions .ui.button{align-self:center}

/* Anula reglas antiguas sobre la cabecera de cada mensaje */
body#page-forum #forum-topic .stride-post .stride-post-head{margin:0!important;padding:18px 26px 14px!important;border-bottom:1px solid rgba(211,145,247,.14)!important;font-size:12px!important;color:#b9b0c3}
@media(max-width:700px){body#page-forum #forum-topic .stride-post .stride-post-head{padding:14px 16px 12px!important}}
