/* Castle Siege page: style the existing CastleSiegeRenderPage() output. */
.rb_new.rb_page_castlesiege .module-content { padding:28px; }
.rb_new .mu_module_castle .mu_module_title { display:flex; align-items:center; gap:14px; font:700 32px/1.25 Georgia,serif; color:var(--text); text-transform:none; }
.rb_new .mu_module_castle .mu_module_title:after { display:none; }
.rb_new .mu_module_castle .mu_castle_widget {
    min-height:230px; padding:30px; margin-bottom:26px;
    grid-template-columns:86px minmax(0,1fr) minmax(0,1.2fr); gap:24px;
    border:1px solid #c3a86b55; border-radius:5px; box-shadow:inset 0 0 0 2px #ffffff03;
    background-image:linear-gradient(90deg,#081521d9,#101d29a6 45%,#101d2933),url("../images/page-bg.jpg")!important;
    background-position:center,center 40%; background-size:cover;
}
.rb_new .mu_module_castle .mu_castle_widget:before { background:linear-gradient(0deg,#0b1723aa,transparent 55%); }
.rb_new .mu_module_castle .mu_castle_owner_logo { border:1px solid #ba995a88; border-radius:3px; background:#0e1c29cc; box-shadow:0 0 25px #c8a75b14; }
.rb_new .mu_module_castle .mu_castle_owner_logo img { width:74px; height:74px; object-fit:contain; }
.rb_new .mu_module_castle .mu_castle_owner_info,
.rb_new .mu_module_castle .mu_castle_battle_info { min-width:0; overflow-wrap:anywhere; }
.rb_new .mu_module_castle .mu_castle_owner_info span,
.rb_new .mu_module_castle .mu_castle_battle_info span { color:#b5c2ce; font:13px/1.5 Georgia,serif; text-transform:none; }
.rb_new .mu_module_castle .mu_castle_owner_info strong { color:#f0e4c5; font:700 30px/1.2 Georgia,serif; text-transform:none; }
.rb_new .mu_module_castle .mu_castle_battle_info strong { color:#ece5d4; font:700 26px/1.3 Georgia,serif; text-transform:none; }
.rb_new .mu_module_castle .mu_castle_owner_info small,
.rb_new .mu_module_castle .mu_castle_battle_info em { color:#bbcad5; font:13px/1.7 Georgia,serif; }
.rb_new .mu_module_castle .mu_castle_battle_info b { margin-top:13px; padding:8px 13px; border:1px solid #d0af604d; border-radius:3px; background:#75603322; color:var(--gold); font:700 24px/1.3 Georgia,serif; }
.rb_new.rb_page_castlesiege .mu_castle_widget_button { display:none; }
.rb_new .mu_module_castle .mu_castle_page_grid { grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr); gap:24px; align-items:start; }
.rb_new .mu_module_castle .mu_castle_page_grid>div { min-width:0; }
.rb_new .mu_module_castle .mu_subtitle { color:#dfca91; font:700 23px/1.35 Georgia,serif; text-transform:none; margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.rb_new .mu_module_castle>.mu_subtitle { margin-top:28px; }
.rb_new .mu_module_castle .mu_table { table-layout:auto; background:#111e2a; border-color:var(--line); }
.rb_new .mu_module_castle .mu_table th,
.rb_new .mu_module_castle .mu_table td { border-color:var(--line); color:#c6d2dc; font:14px/1.6 Georgia,serif; padding:13px 12px; }
.rb_new .mu_module_castle .mu_table td b { font-weight:400; }
.rb_new .mu_module_castle .mu_table .mu_table_head { color:#dcca9d!important; background:#1b2a39!important; font-weight:400; }
.rb_new .mu_module_castle .mu_castle_page_grid>div:first-child td:first-child:not([colspan]) { width:47%; text-align:left; color:#a5b6c6; }
.rb_new .mu_module_castle .mu_castle_page_grid>div:last-child td:first-child { text-align:left; min-width:175px; }
.rb_new .mu_module_castle .mu_table small { margin-top:5px; color:#96aabb; font:12px/1.65 Georgia,serif; }
.rb_new .mu_module_castle .mu_castle_active_row td,
.rb_new .mu_module_castle .mu_table tr.mu_castle_active_row:nth-child(even) td { background:#a78c3f19; color:#ead69d; border-block-color:#a78c3f66; }
.rb_new .mu_module_castle .mu_castle_active_row td:first-child { box-shadow:inset 3px 0 var(--gold); }
.rb_new .mu_module_castle .mu_castle_active_row small { color:#c5b786; }
.rb_new .mu_module_castle .mu_rank_table td { vertical-align:middle; }
.rb_new .mu_module_castle .mu_rank_table a { color:var(--gold); }
.rb_new .mu_module_castle .reborn-table-scroll { border-radius:4px; margin-bottom:0; }
@media(max-width:1050px) {
    .rb_new .mu_module_castle .mu_castle_page_grid { grid-template-columns:minmax(0,1fr); gap:26px; }
    .rb_new .mu_module_castle .mu_castle_widget { gap:18px; padding:24px; }
    .rb_new .mu_module_castle .mu_castle_battle_info strong { font-size:22px; }
}
@media(max-width:760px) {
    .rb_new.rb_page_castlesiege .module-content { padding:22px 16px; }
    .rb_new .mu_module_castle .mu_module_title { font-size:28px; }
    .rb_new .mu_module_castle .mu_castle_widget { grid-template-columns:70px minmax(0,1fr); min-height:0; gap:20px 16px; padding:22px 18px; background-position:center,65% center; }
    .rb_new .mu_module_castle .mu_castle_owner_logo { width:70px; height:70px; }
    .rb_new .mu_module_castle .mu_castle_owner_logo img { width:60px; height:60px; }
    .rb_new .mu_module_castle .mu_castle_owner_info strong { font-size:25px; }
    .rb_new .mu_module_castle .mu_castle_battle_info { grid-column:1/-1; border-top:1px solid #bda45b44; padding-top:18px; width:100%; }
    .rb_new .mu_module_castle .mu_castle_battle_info strong { font-size:23px; }
    .rb_new .mu_module_castle .mu_subtitle { font-size:21px; }
    .rb_new .mu_module_castle .mu_castle_page_grid>div:last-child .mu_table { min-width:500px; }
    .rb_new .mu_module_castle .mu_rank_table { min-width:560px; }
    .rb_new .mu_module_castle .mu_table td { font-size:13px; padding:11px; }
}
