/* MundoConan — tema del foro (sobre prosilver) */
.mc-topbar { background: #0b1530; border-bottom: 1px solid rgba(255,255,255,.08); font-family: "Segoe UI", system-ui, -apple-system, sans-serif; }
.mc-topbar__in { max-width: 1152px; margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.mc-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; font-size: 19px; font-weight: 600; text-decoration: none !important; }
.mc-brand b { color: #f4c542; font-weight: 800; }
.mc-nav { display: flex; gap: 4px; }
.mc-nav a { color: #d7def0 !important; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 9px; text-decoration: none !important; }
.mc-nav a:hover { background: rgba(255,255,255,.08); color: #fff !important; }
.mc-nav a.is-active { background: rgba(244,197,66,.14); color: #f4c542 !important; }
@media (max-width: 560px) { .mc-brand span { display: none; } .mc-nav a { padding: 7px 9px; } }

body { background-color: #eef2f9; }
.wrap { border-color: #dde4f0; border-radius: 14px; margin-top: 16px; }

/* Cabecera del foro */
.headerbar { background: linear-gradient(135deg, #13224a 0%, #0b1530 70%) !important; border-radius: 10px; }
.site_logo { background-image: url("/recursos/logo-160.png"); background-size: contain; width: 96px; height: 96px; }
.headerbar h1 { font-weight: 700; }
.site-description p, .headerbar h1, .headerbar p { color: #fff; }
.site-description p { color: #c3cde6; }
.search-header { box-shadow: 0 0 0 1px #f4c542; border-radius: 6px; }
.navbar { background-color: #e8eefb; border-radius: 10px; }

/* Cabeceras de secciones y tablas */
.forabg, .forumbg { background: #13224a !important; background-image: none !important; border-radius: 10px; }
.forabg .header a, .forumbg .header a, ul.topiclist li.header dt, ul.topiclist li.header dd { color: #fff; }
.forumbg-table { background: #13224a; }
ul.forums { background: #fff; }
li.row:hover { background-color: #f1f5fd; }

/* Enlaces y acentos */
a { color: #2557c2; }
a:hover { color: #e5383b; }
a.forumtitle, a.topictitle { color: #13224a; }
a.forumtitle:hover, a.topictitle:hover { color: #2557c2; }
.button:hover, .button:focus { border-color: #2557c2; }
.button-secondary:hover { color: #2557c2; }
.pagination li.active span { background-color: #2557c2; border-color: #2557c2; }
.panel { border-radius: 10px; }
.post { border-radius: 10px; }
.postprofile .username-coloured, .postprofile .username { font-weight: 700; }
.copyright { color: #5b6680; }

/* BBCode [spoiler] */
details.mc-spoiler { margin: 8px 0; border: 1px solid #f1c3c4; border-left: 4px solid #e5383b; border-radius: 8px; background: #fff7f7; }
details.mc-spoiler > summary { cursor: pointer; padding: 6px 10px; font-weight: 700; color: #b02a30; list-style: none; }
details.mc-spoiler > summary::before { content: "🔍 "; }
details.mc-spoiler[open] > summary { border-bottom: 1px solid #f1c3c4; }
.mc-spoiler__txt { padding: 8px 12px; }

/* BBCode [wiki] */
a.mc-wikilink { color: #2557c2; font-weight: 600; border-bottom: 1px dashed rgba(37, 87, 194, .5); }
a.mc-wikilink::before { content: "📖 "; font-size: .9em; }
a.mc-wikilink:hover { color: #e5383b; border-bottom-style: solid; text-decoration: none; }

/* Aviso global y normas */
#phpbb_announcement { border-radius: 10px; border: 1px solid #f4c542; }
.rules .panel h3, .boardrules-container h3 { color: #13224a; }

/* Rangos bajo el avatar */
.postprofile .profile-rank { color: #b8860b; font-weight: 600; }
.mc-spoiler__hint { font-weight: 400; color: #8a5a5c; font-size: .9em; }
