@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ae-bg:#070d15;
  --ae-panel:#0d1824;
  --ae-panel2:#101f2e;
  --ae-gold:#d5ad64;
  --ae-gold-bright:#f4e6c6;
  --ae-cyan:#5bccf2;
  --ae-text:#c6d2dc;
  --ae-muted:#8296a6;
  --ae-line:rgba(213,173,100,.24);
}
html,body{background:var(--ae-bg)!important;color:var(--ae-text)!important}
body{font-family:Inter,Verdana,Arial,sans-serif!important;background-image:radial-gradient(ellipse at 50% -10%,rgba(45,110,140,.16),transparent 60%),linear-gradient(180deg,#070d15,#09121b 55%,#060b11)!important;background-attachment:fixed!important}
a{color:var(--ae-gold)!important}
a:hover{color:var(--ae-gold-bright)!important}
#container{max-width:1340px;margin:0 auto;background:transparent!important}
.wrapper{max-width:1340px!important;padding-left:22px;padding-right:22px}
#header{display:none!important}
#panel{background:rgba(9,17,26,.92)!important;border-bottom:1px solid var(--ae-line)!important;color:var(--ae-muted)!important}
#panel .upper{padding:10px 0!important}
#panel .lower{background:transparent!important}
#panel a{color:#cdd8e1!important}
#panel a:hover{color:var(--ae-gold-bright)!important}
#content{padding:24px 0 42px!important;background:transparent!important}
#content .wrapper{background:transparent!important}
#footer{background:#060b11!important;border-top:1px solid var(--ae-line)!important;color:var(--ae-muted)!important;margin-top:28px}
#footer .upper{padding:26px 0 18px!important}
#footer .lower{padding:12px 0!important;background:#04080d!important}
#footer a{color:#b9c7d2!important}
#footer a:hover{color:var(--ae-gold)!important}
#footer .menu{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
#footer .menu li{float:none!important}
#footer .copyright{display:block;text-align:center;color:#718594!important}

/* AETHERION forum top bar */
.ae-forum-topbar{position:relative;z-index:100;background:rgba(6,11,20,.97);border-bottom:1px solid var(--ae-line);box-shadow:0 8px 26px rgba(0,0,0,.3)}
.ae-forum-topbar-inner{max-width:1340px;margin:0 auto;padding:12px 22px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.ae-forum-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important}
.ae-forum-brand img{width:54px;max-height:58px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(39,183,207,.25))}
.ae-forum-brand span{display:flex;flex-direction:column;color:var(--ae-gold-bright);font:700 17px/1.1 Cinzel,Georgia,serif;letter-spacing:.03em}
.ae-forum-brand small{font:700 8px/1 Inter,sans-serif;color:var(--ae-cyan);letter-spacing:.22em;margin-top:4px}
.ae-forum-nav{display:flex;align-items:center;gap:20px;margin-left:auto;flex-wrap:wrap}
.ae-forum-nav a{color:#cdd8e1!important;text-decoration:none!important;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:8px 0;border-bottom:1px solid transparent}
.ae-forum-nav a:hover,.ae-forum-nav a.is-active{color:var(--ae-gold-bright)!important;border-bottom-color:var(--ae-gold)}
.ae-forum-site{color:var(--ae-gold)!important;border:1px solid var(--ae-line);padding:8px 12px!important;border-radius:3px}
.ae-forum-site:hover{background:rgba(213,173,100,.1)!important;border-color:var(--ae-gold)!important}

/* MyBB components */
.tborder{background:var(--ae-panel)!important;border:1px solid var(--ae-line)!important;border-radius:6px!important;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.22)}
.thead{background:linear-gradient(180deg,#142433,#0d1824)!important;color:var(--ae-gold-bright)!important;border-bottom:1px solid var(--ae-line)!important;font-family:Cinzel,Georgia,serif;letter-spacing:.02em}
.tcat{background:#0b1621!important;color:var(--ae-gold)!important;border-bottom:1px solid var(--ae-line)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important;padding:10px 12px!important}
.trow1{background:#0e1a27!important;color:var(--ae-text)!important}
.trow2{background:#0b1621!important;color:var(--ae-text)!important}
.trow1 a,.trow2 a{color:#e5d6b8!important}
.trow1 a:hover,.trow2 a:hover{color:var(--ae-gold-bright)!important}
.trow_sep{background:#09131d!important;color:var(--ae-muted)!important}
.tfoot{background:#09131d!important;color:var(--ae-muted)!important;border-top:1px solid var(--ae-line)!important}
.tcat a,.thead a{color:var(--ae-gold-bright)!important}
.forum_status,.forum_status img{filter:sepia(.5) saturate(.8)}
.forumtitle{font-family:Cinzel,Georgia,serif;font-size:15px!important;font-weight:600!important}
.forumdescription{color:var(--ae-muted)!important;font-size:11px!important;line-height:1.6!important}
.thread_sticky .forumtitle{color:var(--ae-gold-bright)!important}
.pagination a,.pagination .pagination_current{background:#0e1a27!important;border:1px solid var(--ae-line)!important;color:var(--ae-text)!important;border-radius:3px;padding:4px 9px!important}
.pagination a:hover{background:rgba(213,173,100,.15)!important;color:var(--ae-gold-bright)!important}
.button,.button2,input.button,button.button{background:linear-gradient(135deg,#d5ad64,#b8893d)!important;color:#18120a!important;border:1px solid #e3c58e!important;border-radius:3px!important;font-weight:800!important;text-shadow:none!important;box-shadow:none!important;padding:7px 13px!important}
.button:hover,.button2:hover{filter:brightness(1.08)}
input.textbox,textarea,select{border:1px solid var(--ae-line)!important;background:#08121b!important;color:#f1e4ca!important;border-radius:3px!important}
input.textbox:focus,textarea:focus,select:focus{border-color:var(--ae-gold)!important;outline:none!important}
#panel .bottom_links a{border-bottom:1px solid transparent}
#panel .bottom_links a:hover{border-bottom-color:var(--ae-gold)}
#panel .upper .menu a{font-size:10px;text-transform:uppercase;letter-spacing:.05em}
#panel .welcome{color:#c8d4de!important;font-size:11px!important}
#panel .welcome a{font-weight:700}
#panel .lower{font-size:10px!important}
#panel .lower a{color:var(--ae-gold)!important}
.ae-forum-page-title{font:600 28px/1.2 Cinzel,Georgia,serif;color:var(--ae-gold-bright);margin:0 0 16px}
.ae-forum-footer{padding:26px 22px 18px;background:rgba(4,8,13,.7);border-top:1px solid var(--ae-line)}
.ae-forum-footer-inner{max-width:1340px;margin:0 auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center;font-size:10px;color:#718594}
.ae-forum-footer-links{display:flex;gap:14px;flex-wrap:wrap}
.ae-forum-footer-links a{color:#b9c7d2!important;text-transform:uppercase;letter-spacing:.06em;text-decoration:none!important}
.ae-forum-footer-links a:hover{color:var(--ae-gold)!important}
#breadcrumb,.navigation{color:var(--ae-muted)!important;font-size:10px!important}
#breadcrumb a,.navigation a{color:#b9c7d2!important}
#breadcrumb a:hover,.navigation a:hover{color:var(--ae-gold)!important}
.poster,.post_date,.post_meta{color:var(--ae-muted)!important}
.post classic,.post{background:#0e1a27!important;border:1px solid var(--ae-line)!important}
.postbit,.post_content{background:#0e1a27!important;color:var(--ae-text)!important}
.quoteheader{background:#132333!important;color:var(--ae-gold)!important;border:1px solid var(--ae-line)!important}
.codeblock,.quotebox{background:#08121b!important;border:1px solid var(--ae-line)!important;color:#d6e1e9!important}
#quickreply{background:#0b1621!important;border-color:var(--ae-line)!important}
.forum_on,.forum_off{filter:sepia(.6) saturate(.7)}
img{max-width:100%}
.smalltext{color:var(--ae-muted)!important}

@media(max-width:700px){
 .ae-forum-topbar-inner{padding:10px 12px;gap:12px}
 .ae-forum-brand img{width:42px}
 .ae-forum-brand span{font-size:14px}
 .ae-forum-nav{gap:12px;margin-left:0;width:100%;justify-content:flex-start}
 .ae-forum-nav a{font-size:9px}
 .wrapper{padding-left:10px;padding-right:10px}
 .forumtitle{font-size:13px!important}
 .ae-forum-footer-inner{flex-direction:column;align-items:flex-start}
}

/* MU profile block */
.ae-profile-card{margin:18px 0;padding:18px 20px;background:linear-gradient(160deg,#101e2c,#0b151f);border:1px solid rgba(213,173,100,.28);border-radius:6px}
.ae-profile-card h3{margin:0 0 12px;color:#f4e6c6;font:600 18px/1.3 Cinzel,Georgia,serif}
.ae-profile-main{display:flex;align-items:baseline;gap:10px;margin-bottom:14px;color:#d5ad64}
.ae-profile-main strong{font:600 20px Cinzel,Georgia,serif;color:#f4e6c6}
.ae-profile-main span{font-size:11px;color:#8aa0b0}
.ae-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}
.ae-profile-grid>div{padding:9px 11px;border:1px solid rgba(255,255,255,.07);background:rgba(8,18,27,.45);border-radius:3px;display:flex;flex-direction:column;gap:3px}
.ae-profile-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#8194a3}
.ae-profile-grid strong{font:600 15px Cinzel,Georgia,serif;color:#f1e4ca}
.ae-profile-vip{color:#7fd6a2!important}

/* Titles and headings on the forum */
#content h1,#content h2,#content h3,#content h4{color:#f4e6c6!important}
#content h1{font:600 26px/1.2 Cinzel,Georgia,serif!important;letter-spacing:.01em;margin:0 0 16px}
#content h2{font:600 20px/1.3 Cinzel,Georgia,serif!important}
.navigation{color:#8296a6!important}

.navigation .active,#content .navigation .active{color:#f4e6c6!important;font:600 20px/1.3 Cinzel,Georgia,serif!important}
.navigation .active:before,.navigation .active:after{color:#d5ad64!important}

/* AETHERION forum visual system */
#panel{display:none!important}
#content{padding-top:0!important}
#content>.wrapper{padding-top:22px}

.ae-forum-hero{position:relative;overflow:hidden;min-height:330px;margin:0 0 26px;border:1px solid rgba(213,173,100,.32);border-radius:8px;background:#09131d;box-shadow:0 18px 45px rgba(0,0,0,.35);isolation:isolate}
.ae-forum-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,11,18,.97) 0%,rgba(6,13,22,.88) 46%,rgba(6,13,22,.34) 100%),url('https://mu-aetherion.com/foro/images/aetherion-hero.jpg') center 42%/cover no-repeat;z-index:-2}
.ae-forum-hero:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 78% 42%,rgba(76,184,214,.16),transparent 46%),linear-gradient(0deg,rgba(6,12,19,.7),transparent 55%);z-index:-1}
.ae-forum-hero-inner{position:relative;display:flex;justify-content:space-between;gap:28px;padding:42px 42px 36px;min-height:330px;align-items:center}
.ae-forum-hero-copy{max-width:690px}
.ae-forum-hero-kicker{display:inline-flex;align-items:center;gap:9px;color:#d5ad64;font-size:9px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;margin-bottom:12px}
.ae-forum-hero-kicker:before{content:'';width:30px;height:1px;background:#d5ad64}
.ae-forum-hero h1{font:600 clamp(34px,4.2vw,55px)/1.05 Cinzel,Georgia,serif!important;letter-spacing:-.015em;color:#f8edcf!important;margin:0 0 13px!important;text-shadow:0 4px 18px #000}
.ae-forum-hero p{max-width:590px;color:#b9c9d5;font-size:13px;line-height:1.75;margin:0 0 22px}
.ae-forum-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.ae-forum-hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 17px;border:1px solid rgba(213,173,100,.55);border-radius:3px;color:#f4e6c6!important;text-decoration:none!important;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800;background:rgba(9,18,27,.55);transition:.2s ease}
.ae-forum-hero-btn:hover{background:rgba(213,173,100,.16);border-color:#f4e6c6;transform:translateY(-1px)}
.ae-forum-hero-btn.gold{background:linear-gradient(135deg,#d5ad64,#b8893d);color:#171109!important;border-color:#e6c995}
.ae-forum-hero-btn.gold:hover{filter:brightness(1.08);background:linear-gradient(135deg,#e0bd78,#c7994c)}
.ae-forum-hero-emblem{width:145px;max-width:24%;opacity:.92;filter:drop-shadow(0 12px 28px #000) drop-shadow(0 0 18px rgba(78,190,220,.25));flex:0 0 auto}

.ae-forum-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:24px;align-items:start}
.ae-forum-main{min-width:0}
.ae-forum-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:20px}
.ae-forum-side-card{background:linear-gradient(160deg,#101e2c,#0b151f);border:1px solid rgba(213,173,100,.22);border-radius:6px;padding:17px 18px;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.ae-forum-side-card h3{margin:2px 0 10px;color:#f4e6c6;font:600 16px/1.25 Cinzel,Georgia,serif!important}
.ae-forum-side-kicker{display:block;color:#b6935c;font-size:8px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:2px}
.ae-forum-side-card p{color:#8fa3b2;font-size:10px;line-height:1.65;margin:0 0 12px}
.ae-forum-side-links{display:flex;flex-direction:column;gap:1px}
.ae-forum-side-links a{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.055);color:#c8d5de!important;text-decoration:none!important;font-size:10px;font-weight:600;transition:.2s}
.ae-forum-side-links a:last-child{border-bottom:0}
.ae-forum-side-links a:after{content:'\203A';color:#d5ad64;font-size:14px;line-height:1}
.ae-forum-side-links a:hover{color:#f4e6c6!important;padding-left:4px}
.ae-forum-side-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.ae-forum-side-list li{display:flex;justify-content:space-between;gap:10px;color:#91a5b4;font-size:10px}
.ae-forum-side-list b{color:#e0cfa9;font-weight:700}
.ae-forum-side-card .ae-forum-side-btn{display:inline-flex;margin-top:2px;padding:8px 12px;border:1px solid rgba(213,173,100,.45);border-radius:3px;color:#f4e6c6!important;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;text-decoration:none!important}
.ae-forum-side-card .ae-forum-side-btn:hover{background:rgba(213,173,100,.14)}

/* Category cards */
.ae-forum-main>table.tborder,.ae-forum-main table.tborder{background:#0d1824!important;border:1px solid rgba(213,173,100,.22)!important;border-radius:7px!important;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.22);margin-bottom:0}
.ae-forum-main>br{display:none}
.ae-forum-main table.tborder thead td.thead{background:linear-gradient(115deg,rgba(30,55,72,.8),rgba(13,27,39,.95))!important;border-bottom:1px solid rgba(213,173,100,.28)!important;padding:15px 16px!important}
.ae-forum-main table.tborder thead td.thead strong a{color:#f4e6c6!important;font:600 18px/1.2 Cinzel,Georgia,serif!important;letter-spacing:.015em;text-decoration:none!important}
.ae-forum-main table.tborder thead td.thead .smalltext{color:#91a7b6!important;font-size:10px!important;margin-top:4px;letter-spacing:.015em}
.ae-forum-main .expcolimage img{opacity:.8;filter:sepia(.7) saturate(.8)}
.ae-forum-main table.tborder td.tcat{background:#09131d!important;border-bottom:1px solid rgba(213,173,100,.14)!important;color:#9aadba!important;padding:8px 12px!important;font-size:8px!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase}
.ae-forum-main table.tborder td.tcat strong{font-weight:800!important}
.ae-forum-main table.tborder td.trow1,.ae-forum-main table.tborder td.trow2{background:#0e1a27!important;border-bottom:1px solid rgba(255,255,255,.055)!important;padding:11px 12px!important;transition:background .18s}
.ae-forum-main table.tborder tr:hover td.trow1,.ae-forum-main table.tborder tr:hover td.trow2{background:#132434!important}
.ae-forum-main table.tborder td.trow2{background:#0b1621!important}
.ae-forum-main table.tborder td.trow1 strong a,.ae-forum-main table.tborder td.trow2 strong a{color:#eddfc2!important;font:600 14px/1.3 Cinzel,Georgia,serif!important;text-decoration:none!important}
.ae-forum-main table.tborder td.trow1 strong a:hover,.ae-forum-main table.tborder td.trow2 strong a:hover{color:#f4e6c6!important}
.ae-forum-main table.tborder td.trow1 .smalltext,.ae-forum-main table.tborder td.trow2 .smalltext{color:#8298a7!important;font-size:9px!important;line-height:1.55;margin-top:2px}
.ae-forum-main table.tborder td.trow1:not(:first-child),.ae-forum-main table.tborder td.trow2:not(:first-child){color:#aebdc8!important;font-size:10px!important}
.ae-forum-main table.tborder td.trow1:last-child,.ae-forum-main table.tborder td.trow2:last-child{font-size:9px!important;color:#8da2b0!important}
.ae-forum-main table.tborder td.trow1:last-child a,.ae-forum-main table.tborder td.trow2:last-child a{color:#c3b28e!important}

/* Status glyphs */
.forum_status{display:inline-block!important;width:14px!important;height:14px!important;background-image:none!important;border:1px solid #e0c58f!important;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,#f4e6c6,#bd8f45 58%,#67451a)!important;box-shadow:0 0 9px rgba(213,173,100,.24)!important;opacity:1!important}
.forum_status.forum_off,.forum_status.forum_offclose,.forum_status.forum_offlink{background:radial-gradient(circle at 35% 30%,#596b78,#253541 65%,#12202a)!important;border-color:#526a79!important;box-shadow:none!important;opacity:.75!important}

/* Board stats and legend */
.ae-forum-main #boardstats,.ae-forum-main .tborder{margin-top:18px}
.ae-forum-main #boardstats .thead{background:linear-gradient(115deg,rgba(30,55,72,.8),rgba(13,27,39,.95))!important}
.ae-forum-main #boardstats .tcat{background:#09131d!important;color:#d5ad64!important}
.ae-forum-main #boardstats td{color:#a9bac6!important}
.ae-forum-main #boardstats a{color:#e5d6b8!important}
.forum_legend{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;color:#8196a5!important;margin:16px 0 0!important;font-size:9px!important}
.forum_legend dt,.forum_legend dd{float:none!important;margin:0!important;display:flex;align-items:center;gap:6px}
.forum_legend .forum_status{width:10px!important;height:10px!important}

/* Generic page/title polish */
#content .navigation{margin-bottom:14px!important}
#content .navigation .active{color:#f4e6c6!important;font:600 20px/1.3 Cinzel,Georgia,serif!important}
#content .tborder{background:#0d1824!important;border-color:rgba(213,173,100,.22)!important;border-radius:6px!important}
#content .thead{background:linear-gradient(115deg,rgba(30,55,72,.8),rgba(13,27,39,.95))!important;color:#f4e6c6!important}
#content .tcat{background:#09131d!important;color:#d5ad64!important}
#content .trow1{background:#0e1a27!important;color:#c6d2dc!important}
#content .trow2{background:#0b1621!important;color:#c6d2dc!important}
#content .trow1 a,#content .trow2 a{color:#e5d6b8!important}
#content .button,#content .button2{background:linear-gradient(135deg,#d5ad64,#b8893d)!important;color:#171109!important;border-color:#e6c995!important}
#content .pagination a,#content .pagination .pagination_current{background:#0e1a27!important;border-color:rgba(213,173,100,.25)!important;color:#c6d2dc!important}

@media(max-width:1050px){
 .ae-forum-layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}
 .ae-forum-hero-inner{padding:32px 28px}
 .ae-forum-hero h1{font-size:40px!important}
 .ae-forum-hero-emblem{width:110px}
}
@media(max-width:850px){
 .ae-forum-layout{grid-template-columns:1fr}
 .ae-forum-side{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .ae-forum-side-card:last-child{grid-column:1/-1}
 .ae-forum-hero-inner{min-height:290px;padding:30px 24px}
 .ae-forum-hero-emblem{display:none}
 .ae-forum-hero h1{font-size:36px!important}
}
@media(max-width:600px){
 .ae-forum-hero{min-height:260px;margin-bottom:18px}
 .ae-forum-hero-inner{min-height:260px;padding:26px 18px}
 .ae-forum-hero h1{font-size:30px!important;line-height:1.08!important}
 .ae-forum-hero p{font-size:11px;margin-bottom:16px}
 .ae-forum-hero-actions{gap:7px}
 .ae-forum-hero-btn{min-height:36px;padding:8px 11px;font-size:8px}
 .ae-forum-side{grid-template-columns:1fr}
 .ae-forum-side-card:last-child{grid-column:auto}
 .ae-forum-main table.tborder thead td.thead strong a{font-size:16px!important}
 .ae-forum-main table.tborder td.trow1,.ae-forum-main table.tborder td.trow2{padding:10px 8px!important}
 .ae-forum-main table.tborder td.trow1 strong a,.ae-forum-main table.tborder td.trow2 strong a{font-size:13px!important}
 .ae-forum-main table.tborder td.tcat:nth-child(3),.ae-forum-main table.tborder td.tcat:nth-child(4),.ae-forum-main table.tborder td.tcat:nth-child(5){display:none!important}
 .ae-forum-main table.tborder td.trow1:nth-child(3),.ae-forum-main table.tborder td.trow1:nth-child(4),.ae-forum-main table.tborder td.trow1:nth-child(5),.ae-forum-main table.tborder td.trow2:nth-child(3),.ae-forum-main table.tborder td.trow2:nth-child(4),.ae-forum-main table.tborder td.trow2:nth-child(5){display:none!important}
}

/* AETHERION forum responsive fixes */
.ae-forum-index .navigation{display:none!important}
.ae-forum-hero,.ae-forum-hero-inner,.ae-forum-hero-copy{box-sizing:border-box}
.ae-forum-hero-copy{min-width:0;max-width:100%}
.ae-forum-hero h1,.ae-forum-hero p{overflow-wrap:anywhere}
body{overflow-x:hidden}
@media(max-width:600px){
  .ae-forum-hero,.ae-forum-hero-inner,.ae-forum-hero-copy{width:100%;max-width:100%;min-width:0}
  .ae-forum-hero-inner{padding:24px 16px!important}
  .ae-forum-hero h1{font-size:clamp(25px,8vw,30px)!important}
  .ae-forum-hero p{max-width:100%;font-size:11px}
  .ae-forum-main{max-width:100%;overflow:hidden}
  .ae-forum-main table.tborder{width:100%!important;table-layout:fixed}
  .ae-forum-main table.tborder td{overflow-wrap:anywhere}
  .ae-forum-layout{min-width:0}
}

@media(max-width:1000px){
  #container,#content,#content>.wrapper,.wrapper{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  #content>.wrapper,.wrapper{padding-left:12px!important;padding-right:12px!important}
  .ae-forum-layout,.ae-forum-main,.ae-forum-hero{width:100%!important;max-width:100%!important;min-width:0!important}
}

@media(max-width:1000px){
  #container,#content,#content>.wrapper,.wrapper{min-width:0!important}
  body{min-width:0!important}
  .ae-forum-hero,.ae-forum-hero-inner,.ae-forum-layout,.ae-forum-main{min-width:0!important}
}

/* Mobile card layout and hero containment */
@media(max-width:600px){
  .ae-forum-hero{overflow:hidden!important}
  .ae-forum-hero-inner{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .ae-forum-hero-copy{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important}
  .ae-forum-hero h1,.ae-forum-hero p{width:100%!important;max-width:100%!important;white-space:normal!important;word-wrap:break-word!important}
  .ae-forum-hero h1{font-size:clamp(24px,7.7vw,29px)!important;line-height:1.12!important}
  .ae-forum-hero p{font-size:11px!important;line-height:1.65!important}
  .ae-forum-hero-actions{display:flex!important;width:100%;flex-wrap:wrap!important}
  .ae-forum-hero-btn{flex:1 1 auto;white-space:normal!important;text-align:center}

  .ae-forum-main table.tborder{display:block!important;width:100%!important;max-width:100%!important;border-spacing:0!important;border-collapse:collapse!important;overflow:hidden!important}
  .ae-forum-main table.tborder thead,.ae-forum-main table.tborder tbody{display:block!important;width:100%!important}
  .ae-forum-main table.tborder thead tr,.ae-forum-main table.tborder thead td.thead{display:block!important;width:100%!important;box-sizing:border-box!important}
  .ae-forum-main table.tborder tbody>tr{display:flex!important;width:100%!important;box-sizing:border-box!important;align-items:stretch!important}
  .ae-forum-main table.tborder tbody>tr:first-child{display:none!important}
  .ae-forum-main table.tborder tbody>tr>td{display:block!important;float:none!important;border-left:0!important;border-right:0!important;box-sizing:border-box!important}
  .ae-forum-main table.tborder tbody>tr>td:nth-child(1){flex:0 0 38px!important;width:38px!important;padding:10px 6px!important}
  .ae-forum-main table.tborder tbody>tr>td:nth-child(2){flex:1 1 auto!important;min-width:0!important;width:auto!important;padding:10px 9px!important}
  .ae-forum-main table.tborder tbody>tr>td:nth-child(n+3){display:none!important}
  .ae-forum-main table.tborder tbody>tr>td:nth-child(2) strong a{font-size:12px!important;line-height:1.35!important;white-space:normal!important;word-wrap:break-word!important}
  .ae-forum-main table.tborder tbody>tr>td:nth-child(2) .smalltext{font-size:9px!important;line-height:1.5!important;white-space:normal!important}
  .ae-forum-main #boardstats{display:block!important;overflow-x:auto}
  .ae-forum-main #boardstats table{width:100%!important;min-width:0!important}
}

@media(max-width:600px){
  .ae-forum-hero h1,.ae-forum-hero p{overflow-wrap:normal!important;word-break:normal!important}
  .ae-forum-hero-actions{display:block!important}
  .ae-forum-hero-btn{display:flex!important;width:100%!important;margin:0 0 8px!important}
  .ae-forum-hero-btn:last-child{margin-bottom:0!important}
}

@media(max-width:600px){
  .ae-forum-hero-copy{width:calc(100vw - 44px)!important;max-width:calc(100vw - 44px)!important}
  .ae-forum-hero h1,.ae-forum-hero p{width:100%!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
}

/* --- Ajustes de legibilidad y orden --- */
.post, .post_head, .post_body, .post_content, .post_author, .post_controls, .post_meta, .post_date, .postbit, .postbit_classic {
    background: #0e1a27 !important;
    color: var(--ae-text) !important;
}
.post_head { background: #0b141e !important; border-bottom: 1px solid var(--ae-line) !important; }
.post_author { background: #0b141e !important; }
.post_body { background: #0e1a27 !important; border-top: 1px solid var(--ae-line) !important; }
.post_body .post_content { background: transparent !important; }
.post_controls { background: #0b141e !important; border-top: 1px solid var(--ae-line) !important; }
.post_meta, .post_date, .post_edit { color: var(--ae-muted) !important; }
.post_body a { color: #e8c979; }
.post_body a:hover { color: #fff; }

/* El bloque de calificación y el enlace de modo compacto sobran en una guía */
.inline_rating { display: none !important; }
.post_head a[href*="mode=threaded"] { display: none !important; }

/* La columna de puntuación no aporta nada en el listado de temas */
body#forumdisplay td[width="80"], body#forumdisplay th[width="80"] { display: none !important; }

/* Footer del foro a juego con la web */
#footer, #footer .upper, #footer .lower { background: #060b11 !important; color: var(--ae-muted) !important; }
#footer .upper { border-bottom: 1px solid var(--ae-line) !important; }
#footer a { color: #b9c7d2 !important; }
#footer a:hover { color: var(--ae-gold) !important; }

#posts_container .thead .float_right { display:none!important; }

/* Botones y avatar del foro */
.button, .postbit_buttons a, .postbit_buttons input, .post_controls a, .post_controls input {
    background: #0b141e !important;
    border: 1px solid var(--ae-line) !important;
    color: var(--ae-gold) !important;
    border-radius: 3px !important;
}
.button:hover, .postbit_buttons a:hover, .post_controls a:hover {
    background: var(--ae-gold) !important;
    color: #08111a !important;
}
.post_author img, .post_author .avatar img {
    background: #0b141e !important;
    border: 1px solid var(--ae-line) !important;
}