/* Shared MMOVadi forum layout. Ad ratios follow the reference creatives. */
body { background-color: #111110; background-image: var(--vadi-backdrop-image, url('../../images/vadi-backdrop.webp?v=2')); background-position: center top; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }
body, h1, h2, h3, h4, button, a, input { letter-spacing: 0; }
.site-inner, .nav-inner, .subnav-inner, .footer-inner { max-width: 1280px; }
header { background: #10100f; }
.header-topbar { display: none; }
.header-main { background: #10100f; border-bottom: 1px solid #39332b; }
.header-main .site-inner { min-height: 86px; gap: 24px; padding: 7px 20px; }
.logo.logo-custom { width: 216px; max-width: 216px; flex-shrink: 0; }
.site-logo-image { width: 216px; height: 72px; object-fit: contain; }
.logo-text .name { font-size: 25px; }
.header-search { max-width: none; }
.header-search { position: relative; }
.live-search-results { position: absolute; top: 100%; left: 0; right: 0; max-height: 400px; overflow-y: auto; background: #1c1b1a; border: 1px solid #514348; box-shadow: 0 8px 20px #0008; padding: 8px; z-index: 2000; color: #eee; font-size: 13px; }
.live-search-results[hidden] { display: none; }
.live-search-results a { display: block; padding: 10px; overflow-wrap: anywhere; }
.live-search-results a:hover, .live-search-results a:focus { background: #3b2026; color: #fff; }
.header-search input { border-radius: 2px; border-width: 1px; padding: 10px 48px 10px 12px; }
.header-search button { border-radius: 0 2px 2px 0; }
.header-actions .btn { border-radius: 2px; padding: 9px 13px; box-shadow: none; }
.profile-trigger { border-color: #7d1c2b; border-radius: 3px; }
.profile-trigger:hover, .profile-trigger.open { border-color: #e2354d; background: #201d1a; }
nav.main-nav { background: #a41428; border-top: 1px solid #ce3248; border-bottom: 1px solid #660d1b; }
.nav-inner { padding: 0 12px; }
.nav-inner > a { padding: 12px; color: #fff; font-size: 13px; }
.nav-inner > a i { display: none; }
.nav-inner a:hover, .nav-inner a.active { background: #861023; border-bottom-color: #e4ba72; }
.nav-right .nav-cta { background: transparent !important; border: 0 !important; box-shadow: none; padding: 10px !important; gap: 6px; }
.nav-cta::before, .nav-cta::after, .nav-cta-icon { display: none; }
.nav-cta-copy { display: flex; }
.nav-cta-title { font-size: 12px; font-weight: 600; }
.subnav { background: #171715; border-bottom: 1px solid #35332c; }
.subnav-inner { padding: 0 12px; min-height: 35px; }
.subnav-inner a { color: #b8b4a9; padding: 6px 10px; font-size: 12px; }
.subnav-inner a.gold-link { color: #d6b76a; background: none; -webkit-text-fill-color: currentColor; box-shadow: none; }
.subnav-inner a.gold-link::before { display: none; }
.ticker-wrap:has(.ticker-group:empty) { display: none; }
.ticker-item { color: var(--ticker-item-color, #f4e8e8) !important; }
.ticker-item i { color: var(--ticker-item-color, #f4e8e8) !important; }
.ticker-inner .ticker-media-link i { color: var(--ticker-accent, #fff) !important; }
.ticker-container { max-width: none; width: 100%; margin: 0; }
.topbar-media-wrap:has(.topbar-media-placeholder) { display: none; }
.topbar-media-slot { height: auto; aspect-ratio: 1174 / 200; border: 1px solid #603038; }
.page-outer { max-width: 1640px; margin: 0 auto; padding: 18px 24px 0; gap: 16px; }
.main-wrap { background: transparent; max-width: 1174px; width: 100%; min-width: 0; }
.side-banner { display: block; position: static; inset: auto; width: 13.6%; flex: 0 0 13.6%; overflow: visible; z-index: auto; }
.side-banner-inner { position: sticky; top: 16px; height: auto; }
.edge-media-slot, .edge-media-slot.right-side { flex: none; width: 100%; aspect-ratio: 1 / 3; border: 1px solid #4c3437; background: #171715; overflow: hidden; }
.edge-media-slot > a { height: 100%; }
.edge-media-slot img { object-fit: contain !important; }
.slot-badge { color: #c6bfb1; background: #151412; border-color: #484139; z-index: 2; }
.manset-wrap { margin-bottom: 14px; }
.manset-slot { height: auto; min-height: 0; aspect-ratio: 1174 / 200; border: 1px solid #6b2632 !important; }
.manset-slider { height: 100%; width: 100%; }
.manset-slide { height: 100%; min-height: 0 !important; }
.manset-slide img { object-fit: cover; }
.manset-prev, .manset-next { border-radius: 3px; width: 30px; height: 34px; }
.home-match-countdown{margin:0 0 14px;border:1px solid #6b2632;background:#171715;overflow:hidden;box-shadow:none}
.home-match-countdown-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;background:#a41428;border-bottom:1px solid #ce3248;color:#fff}
.home-match-countdown-kicker{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f2c8cd}
.home-match-countdown-head h2{margin:4px 0 0;font-size:17px;line-height:1.2;color:#fff}
.home-match-countdown-head-note{font-size:11px;color:#f3dce0;text-align:right}
.home-match-countdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px}
.home-match-countdown-card{display:block;min-width:0;padding:12px;background:#201d19;border:1px solid #40322f;color:#eee;text-decoration:none;transition:border-color .18s,background .18s}
.home-match-countdown-card:hover{border-color:#bc1830;background:#28201f}
.home-match-countdown-card[hidden]{display:none}
.home-match-countdown-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b9aeb1;font-size:10px}
.home-match-countdown-category{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-match-countdown-card-top i{color:#e78999;font-size:10px}
.home-match-teams{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0 12px;min-width:0;font-size:14px;text-align:center}
.home-match-teams strong{min-width:0;overflow-wrap:anywhere;color:#fff}
.home-match-teams span{font-size:10px;font-weight:800;color:#d6b76a;text-transform:uppercase}
.home-match-countdown-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.home-match-countdown-values span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:7px 4px;background:#171516;border:1px solid #49383e}
.home-match-countdown-values b{font-size:17px;line-height:1;color:#f4d9de;font-variant-numeric:tabular-nums}
.home-match-countdown-values small{margin-top:4px;font-size:9px;color:#b9aeb1;text-transform:uppercase}
.home-match-countdown-title{margin-top:10px;font-size:11px;line-height:1.4;color:#c9bdbe;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.home-match-countdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.home-match-countdown-head{align-items:flex-start;flex-direction:column;gap:7px}.home-match-countdown-head-note{text-align:left}.home-match-countdown-grid{grid-template-columns:1fr}.home-match-teams{font-size:13px}}
.home-sidebar-right_banner > .side-banner{width:240px;flex:0 0 240px}
.home-sidebar-right_banner > .home-right-rail > .side-banner-inner{position:static;display:flex;flex-direction:column;gap:16px}
.home-sidebar-right_banner .home-sidebar{width:100%;min-width:0}
.home-sidebar .widget-head{gap:8px;align-items:flex-start}
.home-sidebar .widget-head h4{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.home-sidebar .widget-head>a{flex-shrink:0}
.home-social-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
.home-social-link{display:flex;align-items:center;gap:7px;min-width:0;min-height:38px;padding:7px 8px;border:1px solid #3a3432;border-radius:0;background:#201d1a;color:#eee;text-decoration:none;font-size:11px;font-weight:800;transition:background .16s,border-color .16s}
.home-social-link i{flex:0 0 15px;color:#e2354d;font-size:13px;text-align:center}
.home-social-link span{min-width:0;overflow-wrap:anywhere}
.home-social-link:hover{border-color:#bc1830;background:#a41428;color:#fff}
.home-contact-list{display:flex;flex-direction:column;gap:6px;padding:8px}
.home-contact-link{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:8px 10px;border:1px solid #493439;border-left:3px solid #bc1830;border-radius:0;background:#201d1a;color:#f4edef;text-decoration:none;font-size:12px;font-weight:800;transition:background .16s,border-color .16s,color .16s}
.home-contact-link i{color:#e2354d;font-size:15px}
.home-contact-link.is-whatsapp{border-color:#bc1830;background:#a41428;color:#fff}
.home-contact-link.is-whatsapp i{color:#fff}
.home-contact-link:hover{border-color:#ce3248;background:#bc1830;color:#fff}
.home-staff-widget,.home-active-members-widget{border-radius:0}
.home-staff-list,.home-active-members{display:flex;flex-direction:column;padding:4px 10px}
.home-staff-item,.home-active-member-item{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 0;border:0;border-bottom:1px solid #363131;border-radius:0;background:transparent;text-decoration:none}
.home-staff-item:hover,.home-active-member-item:hover{background:#211d1e}
.home-staff-copy,.home-active-member-copy{min-width:0;flex:1}
.home-staff-name,.home-active-member-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;line-height:1.3}
.home-staff-role,.home-active-member-handle{margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;line-height:1.3}
.home-active-member-handle{color:#aaa0a2}
.home-active-member-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.home-active-member-duration{flex-shrink:0;color:#59b884;font-size:11px;font-weight:800;white-space:nowrap}
.home-square-ad-media{padding:0;overflow:hidden}
.home-square-ad-media>a{display:flex!important;width:100%;aspect-ratio:1;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden}
.home-square-ad-media img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;border:0!important;border-radius:0!important}
@media(max-width:1199px){
  .home-sidebar-right_banner.page-outer{flex-wrap:wrap}
  .home-sidebar-right_banner > .main-wrap{flex:1 1 100%}
  .home-sidebar-right_banner > .home-right-rail{display:block;flex:1 1 100%;width:100%;padding-bottom:20px}
  .home-sidebar-right_banner > .home-right-rail > .side-banner-inner > .edge-media-slot{display:none}
  .home-sidebar-right_banner .home-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
}
@media(max-width:640px){.home-sidebar-right_banner .home-sidebar{display:flex;flex-direction:column}.home-sidebar-right_banner .home-sidebar>*{width:100%;min-width:0}}
.story-bar:empty { display: none; }
.story-bar:not(:has(.story-item)) { display: none; }
.story-bar { border: 1px solid var(--color-border); margin-bottom: 12px; padding: 8px; }
.story-ring:not(.seen) { background: #bc1830; animation: none; }
.home-topic-board { border-radius: 3px; box-shadow: none; margin-bottom: 14px; }
.home-topic-board-head { background: #151513; border-bottom: 1px solid #a41428; }
.home-topic-board-tab { flex: 1 1 0; min-width: 0; justify-content: center; padding: 9px 8px; border-radius: 0; font-size: 11.5px; line-height: 1.25; text-align: center; white-space: normal; }
.home-topic-board-tab.is-active { background: #24211d; border-top: 2px solid #bc1830; }
.home-topic-board-table-head { background: #26241f; text-transform: none; color: #b6b0a2; }
.home-topic-board-row { border-bottom-color: #302e28; }
.home-topic-board-more { background: #201f1b; color: #d6b76a; }
.layout { gap: 16px; }
.cat-group, .card, .widget { border-radius: 3px; box-shadow: none; }
.cat-group-head, .card-head, .widget-head { background: #a41428; border-bottom: 1px solid #ce3248; }
.cat-group-head h2, .card-head h3, .widget-head h4,
.cat-group-head h2 i, .card-head h3 i, .widget-head h4 i { color: #fff; }
.cat-group-head .cat-head-desc { color: #ead4d6; }
.cat-row { background: #181817; }
.cat-row:nth-child(even) { background: #1c1b18; }
.cat-row:hover { background: #24211d; }
.cat-col-label, .cat-col-label-last { color: #f0cdd2; text-transform: none; }
.cat-subcat-wrap .cat-col-label, .cat-subcat-wrap .cat-col-label-last { color: var(--color-text-muted); }
.cat-icon-box { width: 34px; height: 34px; border-radius: 3px; font-size: 17px; margin-right: 12px; background: #201e1a !important; border: 1px solid #39342d !important; color: #8e8579 !important; }
.cat-icon-box i { color: inherit !important; }
.cat-sub-links a { background: transparent !important; border-color: #3c3832 !important; color: #b8b3a9 !important; box-shadow: none !important; border-radius: 3px; }
.cat-sub-links a:hover { color: #fff !important; border-color: #a41428 !important; background: #292022 !important; }
.cat-info { flex: 1; max-width: none; }
.cat-name { color: #e7e3dc; }
.cat-name:hover { color: #ef8293; }
.cat-stat-col, .cat-col-label { width: 55px; }
.cat-last, .cat-col-label-last { width: 180px; }
.cat-item { padding: 12px; }
.btn { border-radius: 3px; box-shadow: none; }
.btn-primary { background: #b91930; }
.breadcrumb { background: #161613; border: 1px solid #38352e; border-radius: 3px; }
.col-right { width: 240px; min-width: 0; }
.col-right > * { min-width: 0; max-width: 100%; }
.widget-head > a, .card-head > a, .cat-group-head > a { color: #fff; }
.diamond-rewards { background: #181817; border: 1px solid var(--color-border); border-radius: 3px; box-shadow: none; }
.diamond-rewards::before, .diamond-rewards__line::after { display: none; }
.diamond-rewards__head { padding: 12px; background: #a41428; border-bottom: 1px solid #ce3248; }
.diamond-rewards__title { color: #fff; letter-spacing: 0; }
.diamond-rewards__subtitle { color: #ead4d6; }
.diamond-rewards__compact { padding: 0 12px; gap: 0; }
.diamond-rewards__line { padding: 12px 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--color-border); background: transparent; box-shadow: none; gap: 6px; }
.diamond-rewards__line:last-child { border-bottom: 0; }
.diamond-rewards__line-label i { color: #bfb7aa !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.diamond-rewards__ticker-window { border: 0; background: transparent; border-radius: 0; }
.diamond-rewards__ticker-kicker { color: #bfb7aa !important; }
footer { background: #111110; border-top: 1px solid #4a292f; margin-top: 24px; }
.footer-inner { max-width: none; padding: 0; }
.footer-stats { background: #1d1c18; border-bottom: 1px solid #37332c; padding: 18px max(24px, calc((100% - 1232px) / 2)); margin: 0; border-radius: 0; flex-wrap: wrap; }
.footer-links { max-width: 1280px; margin: 0 auto; padding: 22px 24px 14px; flex-wrap: wrap; }
.footer-copy { padding: 12px max(24px, calc((100% - 1232px) / 2)) 22px; }
.native-auth { max-width: 440px; margin: 36px auto; padding: 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 4px; }
.native-auth h1 { font-size: 22px; margin-bottom: 24px; }
.native-auth .btn { width: 100%; justify-content: center; }
.native-auth-switch { margin-top: 20px; text-align: center; }
.vadi-welcome { display: flex; align-items: center; gap: 16px; background: #181815; border: 1px solid #36322d; border-left: 3px solid #bc1830; margin-bottom: 14px; padding: 12px 14px; }
.vadi-welcome p { flex: 1; font-size: 13px; color: #c8c4b9; margin: 0; }
.vadi-welcome strong { color: #fff; }
@media(min-width:901px) {
  .layout:has(> .col-right) .cat-item { display: grid; grid-template-columns: 34px minmax(0,1fr) 44px 44px; gap: 6px 10px; }
  .layout:has(> .col-right) .cat-icon-box { margin: 0; }
  .layout:has(> .col-right) .cat-info { margin: 0; }
  .layout:has(> .col-right) .cat-stat-col { width: 44px; }
  .layout:has(> .col-right) .cat-last { grid-column: 2 / -1; width: auto; border-left: 0; padding-left: 0; }
  .layout:has(> .col-right) .cat-col-label { width: 54px; font-size: 10px; }
  .layout:has(> .col-right) .cat-col-label-last { display: none; }
}
@media(max-width:1199px) { .side-banner { display: none; } .page-outer { padding: 14px 20px 0; } }
@media(max-width:900px) { .col-right { width: 100%; } .header-main .site-inner { gap: 14px; } .logo.logo-custom { width: 180px; max-width: 180px; } .site-logo-image { width: 180px; height: 60px; } }
@media(max-width:640px) {
  .native-auth { margin: 20px 8px; padding: 20px 16px; }
  .header-main .site-inner { min-height: 72px; padding: 6px 10px; gap: 8px; flex-wrap: wrap; }
  .logo.logo-custom { width: 150px; max-width: 150px; }
  .site-logo-image { width: 150px; height: 50px; }
  .header-actions { gap: 5px; }
  .header-actions .btn { padding: 7px 9px; font-size: 11px; }
  .header-search { display: block; flex: 1 0 100%; order: 3; margin: 0 0 4px; max-width: 100%; }
  .header-search input { font-size: 12px; padding-top: 8px; padding-bottom: 8px; }
  .nav-inner { padding: 0 4px; overflow-x: auto; }
  .nav-inner > a { font-size: 12px; padding: 10px; }
  .nav-right { flex-wrap: nowrap; }
  .nav-cta-title { font-size: 11px; }
  .subnav-inner { padding: 0 4px; }
  .page-outer { padding: 10px 8px 0; }
  .layout { padding: 10px 0 20px !important; }
  .manset-slot { aspect-ratio: 1174 / 200; }
  .manset-slide.active { height: 100%; position: absolute; inset: 0; }
  .manset-slide a, .manset-slide img { height: 100%; }
  .manset-dots { bottom: 5px; }
  .vadi-welcome { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px; }
  .vadi-welcome p { font-size: 12px; }
  .cat-group-head { padding: 10px; }
  .home-topic-board-head { overflow-x: auto; }
  .home-topic-board-tab { flex: 0 0 auto; min-width: max-content; justify-content: flex-start; padding: 10px 14px; font-size: 12px; text-align: left; white-space: nowrap; }
}
/* Shared chat surface, with a taller conversation on the dedicated page. */
.chat-bar{border-radius:4px;box-shadow:none;overflow:visible}
.chat-bar-head{background:#242122;border-bottom:2px solid #bc1830;border-radius:3px 3px 0 0;min-height:48px}
.chat-bar-head h3{font-size:14px}
.chat-live-dot{background:#59b884;animation:none;width:7px;height:7px}
.chat-msgs{padding:0;gap:0;background:#1b191a}
.chat-msg{padding:9px 14px;border-bottom:1px solid #332c2f;line-height:1.5}
.chat-msg-system{padding:9px 14px}
.chat-msg:last-of-type{border-bottom:0}
.chat-msg-user{max-width:38%;overflow-wrap:anywhere;white-space:normal}
.chat-msg-user.normal{color:#d6c9cd}
.chat-msg-meta{padding-left:8px}
.chat-empty{display:flex;flex:1;min-height:100%;align-items:center;justify-content:center;gap:10px;color:#a99c9f;font-size:13px}
.chat-empty i{font-size:23px;color:#98636e}
.chat-input-wrap{padding:10px 12px;background:#242122;border-radius:0 0 3px 3px}
.chat-input{min-width:0;height:38px;background:#171516;border:1px solid #514348;border-radius:4px;color:#eee}
.chat-emoji-btn,.chat-send{width:38px;height:38px;flex:0 0 38px;border-radius:4px;padding:0;display:flex;align-items:center;justify-content:center}
.chat-send:disabled{opacity:.5;cursor:wait}
.chat-emoji-menu{background:#242122;border-radius:4px;box-shadow:0 8px 24px #0006}
.chat-note{padding:10px 14px}
.chat-error{padding:8px 14px;color:#ffb8c4;background:#3c1c23;font-size:12px}
.chat-error[hidden],.chat-bar.collapsed .chat-error{display:none}
.chat-page .chat-bar-body{height:440px!important;max-height:60vh;min-height:220px}
@media(max-width:640px){.chat-bar-head{gap:6px;padding:8px 10px;grid-template-columns:minmax(0,1fr) auto}.chat-msg-user{max-width:100%}.chat-bar-online{display:none}.chat-msg-meta{padding-left:4px}.chat-page{padding:0 10px!important}}
.impersonation-bar{position:sticky;top:0;z-index:1500;background:#631a2a;color:#fff;display:flex;align-items:center;justify-content:center;gap:16px;padding:10px 16px;flex-wrap:wrap;font-size:13px}
.impersonation-bar form{margin:0}.impersonation-bar button{border:1px solid #d6909e;background:#2e1920;color:#fff;padding:7px 10px;border-radius:4px;cursor:pointer;font:inherit}
.staff-maintenance-banner{padding:8px 16px;background:#382127;border-bottom:1px solid #864053;color:#efb7c4;text-align:center;font-size:12px}.staff-maintenance-banner a{display:inline-block;color:#fff;margin-left:12px;text-decoration:underline}

.system-message-label{display:block;width:fit-content;max-width:100%;padding:4px 8px;margin-bottom:7px;border:1px solid #ed3d57;border-radius:0;background:#ac142c;color:#fff;font-size:11px;font-weight:800;line-height:1.4}
.notif-item .notif-body>a{color:inherit;text-decoration:none}.notif-item .notif-body a:hover{text-decoration:underline}.notif-body-secondary{overflow-wrap:anywhere}

/* Topic and reply actions share the forum's red palette. */
.post-foot .pbtn{background:#a41428!important;border-color:#c32640!important;color:#fff!important;border-radius:0;box-shadow:none!important}
.post-foot .pbtn i,.post-foot .pbtn.like-btn.liked i{color:inherit!important}
.post-foot .pbtn:hover,.post-foot .pbtn:focus-visible{background:#c01b34!important;border-color:#ee526b!important;color:#fff!important;box-shadow:none!important}
.post-foot .pbtn:focus-visible{outline:2px solid #ff91a2;outline-offset:2px}
.post-foot .pbtn.like-btn.liked{background:#d32240!important;border-color:#f0657d!important}

/* Topic toolbar matches the actions below each post. */
.posts-bar :is(.ptoolbtn,.psort-btn){background:#a41428!important;border-color:#c32640!important;color:#fff!important;border-radius:0;box-shadow:none!important}
.posts-bar :is(.ptoolbtn,.psort-btn) i{color:inherit!important;opacity:1}
.posts-bar :is(.ptoolbtn,.psort-btn):is(:hover,:focus-visible){background:#c01b34!important;border-color:#ee526b!important;color:#fff!important;box-shadow:none!important}
.posts-bar :is(.ptoolbtn,.psort-btn):focus-visible{outline:2px solid #ff91a2;outline-offset:2px}

/* Compact user coin balance and trading reputation. */
.coin-row{background:#331b22;border:1px solid #72303e;border-left:3px solid #bc1830;border-radius:0;padding:7px 9px;gap:8px}
.coin-row .coin-lbl{color:#e9cbd2;font-size:11px}
.coin-row .coin-val{color:#fff;font-size:12px;overflow-wrap:anywhere}
.coin-row .coin-val i{color:#ef7188}
.trade-wrap{border:1px solid #493137;border-radius:0;background:#1b1819;overflow:hidden}
.trade-wrap .trade-lbl{margin:0;padding:6px 8px;border-bottom:1px solid #493137;background:#301c22;color:#e9cbd2;font-size:10px;font-weight:800;letter-spacing:.02em;text-transform:none;text-align:left}
.trade-wrap .trade-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.trade-wrap .ts{height:auto;min-width:0;min-height:36px;padding:6px 4px;gap:4px;border-radius:0;font-size:12px;background:transparent;color:#eee;flex-wrap:wrap}
.trade-wrap .ts-g{border-right:1px solid #493137}
.trade-wrap .ts-r{color:#f098a8}
.trade-wrap .ts::before{font-size:10px;font-weight:500;color:#b8aaae}
.trade-wrap .ts-g::before{content:'Olumlu'}
.trade-wrap .ts-r::before{content:'Olumsuz'}

/* Topic management history dialog. */
body.topic-logs-open{overflow:hidden}
#topic-management-logs{width:920px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #76313e;border-radius:0;background:#1b1819;color:#eee;box-shadow:0 24px 90px #0009;overflow:hidden}
#topic-management-logs[open]{display:flex;flex-direction:column}
#topic-management-logs::backdrop{background:#080406b8;backdrop-filter:blur(3px)}
.topic-log-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#a41428;border-bottom:1px solid #d43a51;flex:0 0 auto}
.topic-log-heading{min-width:0}.topic-log-heading h2{margin:0;color:#fff;font-size:18px;font-weight:800;line-height:1.4}.topic-log-heading p{margin:4px 0 0;font-size:12px;color:#f5c9d1;line-height:1.5}
.topic-log-close{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #f58296;border-radius:0;background:#801022;color:#fff;font-size:27px;line-height:1;cursor:pointer}.topic-log-close:hover{background:#c3223c}.topic-log-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.topic-log-summary{padding:10px 20px;background:#251e20;border-bottom:1px solid #493038;color:#c4b2b7;font-size:12px;flex:0 0 auto}
.topic-log-content{padding:16px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.topic-log-card{border:1px solid #493139;background:#211c1e;margin-bottom:12px}.topic-log-card:last-child{margin-bottom:0}
.topic-log-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px 6px;flex-wrap:wrap}.topic-log-card-head h3{margin:0;font-size:14px;font-weight:800;color:#f3d4db}.topic-log-card-head time{font-size:11px;color:#b6a2a9;white-space:nowrap}
.topic-log-actor{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 14px 12px;font-size:12px}.topic-log-actor strong{color:#eee}.topic-log-actor span{font-size:10px;padding:2px 6px;border:1px solid #64414b;color:#d2b7c0}
.topic-log-details{border-top:1px solid #493139}.topic-log-details>summary{padding:10px 14px;cursor:pointer;font-size:12px;color:#ee9eae;font-weight:700}.topic-log-details>summary:hover{background:#302126}
.topic-log-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 12px 12px}.topic-log-values{min-width:0;border:1px solid #443039;background:#191617}.topic-log-values h4{margin:0;padding:8px 10px;background:#352027;color:#efb1be;border-bottom:1px solid #54303d;font-size:11px;font-weight:800}
.topic-log-field{padding:10px;border-bottom:1px solid #33282c}.topic-log-field:last-child{border:0}.topic-log-field>strong{display:block;margin-bottom:5px;font-size:11px;color:#a9959c}.topic-log-value{font-family:inherit;font-size:12px;line-height:1.7;color:#e2d9dc;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;overscroll-behavior:contain}
.topic-log-state{text-align:center;padding:40px 16px;color:#bdaab0;font-size:13px;line-height:1.7}.topic-log-state strong{display:block;color:#ebc7d0;font-size:15px;margin-bottom:6px}.topic-log-state p{margin:0}.topic-log-state.is-error{color:#ffb1c0}
@media(max-width:600px){#topic-management-logs{max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.topic-log-header{padding:12px;gap:10px}.topic-log-heading h2{font-size:16px}.topic-log-heading p{font-size:11px}.topic-log-summary{padding:9px 12px}.topic-log-content{padding:12px}.topic-log-comparison{grid-template-columns:1fr;gap:8px}.topic-log-card-head{gap:5px}.topic-log-value{max-height:200px}}

/* User medals: compact square tiles and readable labels. */
.user-medal-row{width:100%;padding:8px;border:1px solid #493137;background:#1b1819;gap:7px;margin-top:0;position:relative}
.user-medal-row::before{content:'Rozetler';display:block;flex:0 0 100%;text-align:left;font-size:10px;font-weight:800;line-height:1.4;color:#dcb8c2;padding-bottom:6px;border-bottom:1px solid #493137}
.user-medal-chip{border-radius:0;background:#321c23;border-color:#823145;box-shadow:none;flex-shrink:0}
.user-medal-row .user-medal-chip{width:32px;height:32px}
.user-medal-chip.has-tip{cursor:pointer}
.user-medal-chip.has-tip:hover,.user-medal-chip.tip-open{border-color:#e34460;background:#531f2c}
.user-medal-chip.has-tip::after{width:210px;min-width:0;max-width:calc(100vw - 32px);padding:9px 11px;border:1px solid #a53a51;border-radius:0;background:#421925;color:#fff;font-size:11px;font-weight:600;line-height:1.6;white-space:normal;word-break:normal;overflow-wrap:anywhere;box-shadow:0 6px 18px #0006}
.user-medal-chip.has-tip::before{border-top-color:#a53a51}

/* Reader and reaction links use a readable red on dark surfaces. */
.post-like-users,.post-like-users-icon,.post-like-user-link,.viewers-list a{color:#ef7188}
.post-like-user-link:hover,.viewers-list a:hover{color:#ffa2b3;text-decoration:underline}
.post-like-user-link:focus-visible,.viewers-list a:focus-visible{outline:2px solid #ef7188;outline-offset:3px}

.home-member-ranking{display:flex;flex-direction:column;padding:4px 10px}
.home-member-ranking-item{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:6px 0;border-bottom:1px solid #363131;color:#eee;text-decoration:none}
.home-member-ranking-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.home-member-ranking-copy{min-width:0;flex:1}.home-member-ranking-copy>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-member-ranking-count{flex-shrink:0;font-size:12px;font-weight:800;color:#ef7188}
.home-member-ranking-item:hover{background:#211d1e}
.home-sidebar :is(.home-staff-item,.home-active-member-item,.home-member-ranking-item,.lastmsg-item,.altin-item,.sidebar-resource-item,.home-wall-widget-item):last-child{border-bottom:0}

/* Sidebar topic rewards follow the forum's square red panels. */
.home-sidebar .diamond-rewards{border:1px solid #493137;border-radius:0;background:#1b1819;overflow:hidden}
.home-sidebar .diamond-rewards__head{padding:11px 12px;background:#a41428;border-bottom:1px solid #d0344d}
.home-sidebar .diamond-rewards__title{font-size:14px;line-height:1.4;font-weight:800}
.home-sidebar .diamond-rewards__subtitle{font-size:10px;line-height:1.5;margin-top:3px;color:#f1cbd3}
.home-sidebar .diamond-rewards__compact{padding:0;gap:0}
.home-sidebar .diamond-rewards__line{--reward-item-height:46px;width:100%;padding:0;gap:0;border:0;border-bottom:1px solid #493137}
.home-sidebar .diamond-rewards__line:last-child{border-bottom:0}
.home-sidebar .diamond-rewards__line-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;width:100%;padding:9px 10px;background:#2e1c22}
.home-sidebar .diamond-rewards__line-label{min-width:0;gap:7px;font-size:12px;font-weight:800;color:#f0dbe1}
.home-sidebar .diamond-rewards__line-label i{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;font-size:12px;color:#f07c92!important;border-radius:0}
.home-sidebar .diamond-rewards__line-badge{padding:3px 5px;border:1px solid #963045;border-radius:0;background:#671b2c;color:#fff;font-size:9px;line-height:1.4;letter-spacing:0;white-space:nowrap}
.home-sidebar .diamond-rewards__ticker-window{height:var(--reward-item-height);border:0;border-radius:0;background:#1b1819;box-shadow:none}
.home-sidebar .diamond-rewards__ticker-window::before,.home-sidebar .diamond-rewards__ticker-window::after{display:none}
.home-sidebar .diamond-rewards__ticker-item{height:var(--reward-item-height);flex-shrink:0;padding:7px 12px;gap:4px}
.home-sidebar .diamond-rewards__ticker-kicker{font-size:9px;letter-spacing:.02em;line-height:1.2;color:#c5a4af!important}
.home-sidebar .diamond-rewards__ticker-copy{font-size:12px;line-height:1.3;color:#fff}
@media(prefers-reduced-motion:reduce){.home-sidebar .diamond-rewards__ticker-copy.is-marquee{animation:none}}

/* Profile medal names stay inside their card instead of overflowing tooltips. */
.profile-medal-list{display:flex;flex-direction:column;padding:4px 12px;min-width:0}
.profile-medal-item{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 0;border-bottom:1px solid #493137}
.profile-medal-item:last-child{border-bottom:0}
.profile-medal-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #823145;border-radius:0;background:#321c23}
.profile-medal-icon i{color:#ef7188!important}
.profile-medal-name{min-width:0;font-size:11px;line-height:1.6;font-weight:700;color:#e9cbd2;overflow-wrap:anywhere}

.profile-trade-sidebar{padding:0;background:#1b1819}
.profile-trade-sidebar-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #493137}
.profile-trade-sidebar-score{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;min-width:0;padding:12px 8px;color:#eee}
.profile-trade-sidebar-score:first-child{border-right:1px solid #493137}
.profile-trade-sidebar-score small{font-size:11px;color:#b8aaae}
.profile-trade-sidebar-score strong{font-size:14px;font-weight:800;overflow-wrap:anywhere}
.profile-trade-sidebar-score.is-negative strong{color:#f098a8}
.profile-trade-sidebar-summary{padding:9px 10px;font-size:11px;color:#b8aaae;text-align:center;line-height:1.5}
.profile-trade-sidebar>.btn{width:calc(100% - 20px)!important;margin:0 10px 10px;border-radius:0;border-color:#a63048;background:#671b2c;color:#fff}

/* Category labels on popular topics must remain readable regardless of category colours. */
.home-popular-list a.cat.topic-cat-chip{display:inline-flex;align-items:center;max-width:100%;padding:3px 7px;border:1px solid #a63850;border-radius:0;background:#4b1b28;color:#ffe3e9;font-size:11px;font-weight:600;line-height:1.4;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
.home-popular-list a.cat.topic-cat-chip:hover{background:#a41428;border-color:#e75470;color:#fff}
.home-popular-list a.cat.topic-cat-chip:focus-visible{outline:2px solid #ef7188;outline-offset:2px}

/* Profile menu shortcuts use the forum's red, square controls. */
.pdrop-tabs{gap:6px;padding:8px;border-bottom:1px solid #61303b;background:#21171b}
.pdrop-tabs .pdrop-tab{margin:0;min-height:34px;padding:7px 9px;border:1px solid #b7314a;border-radius:0;background:#a4142e;color:#fff;transition:background .18s,border-color .18s}
.pdrop-tabs .pdrop-tab i{color:inherit}
.pdrop-tabs .pdrop-tab:hover{background:#c51d3b;border-color:#ef627e;color:#fff}
.pdrop-tabs .pdrop-tab:focus-visible{outline:2px solid #ff8da4;outline-offset:2px;background:#c51d3b;color:#fff}

/* Profile statistics and view navigation share the forum's square red styling. */
.profile-stats-bar{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:1px;padding:0;border:0;border-top:1px solid #a72b43;border-bottom:1px solid #773044;border-radius:0;background:#783044;overflow:hidden}
.profile-stats-bar .profile-stat{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:70px;padding:12px 6px;border:0;border-radius:0;background:#571b2a;color:#fff;text-decoration:none;transition:background .18s ease}
.profile-stats-bar .profile-stat:hover,.profile-stats-bar .profile-stat.is-active{background:#a4142e;color:#fff}
.profile-stats-bar .profile-stat.is-static,.profile-stats-bar .profile-stat.is-static:hover{background:#571b2a}
.profile-stats-bar .profile-stat-val{font-size:20px;line-height:1.2;color:#fff;overflow-wrap:anywhere}
.profile-stats-bar .profile-stat-lbl{margin:0;color:#f1cbd4;font-size:11.5px;line-height:1.4;overflow-wrap:anywhere}
.profile-stats-bar .profile-stat-lbl i{color:#f5a9ba}
.profile-stats-bar a.profile-stat:focus-visible{outline:2px solid #ffc2d0;outline-offset:-3px;background:#a4142e}
.profile-view-nav{gap:6px;padding:9px;border:1px solid #752b3e;border-radius:0;background:#2b1720}
.profile-view-nav .profile-view-chip{justify-content:center;min-height:34px;padding:8px 11px;border:1px solid #a62e46;border-radius:0;background:#6c1b2e;color:#ffe8ee;font-size:11.5px;line-height:1.25;text-decoration:none;transition:background .18s ease,border-color .18s ease}
.profile-view-nav .profile-view-chip i{color:inherit;opacity:1}
.profile-view-nav .profile-view-chip:hover{background:#a4142e;border-color:#e0526e;color:#fff}
.profile-view-nav .profile-view-chip.is-active{background:#b31735;border-color:#f16a85;color:#fff;box-shadow:inset 0 -2px #f789a0}
.profile-view-nav .profile-view-chip:focus-visible{outline:2px solid #ffc2d0;outline-offset:2px;background:#a4142e;color:#fff}
@media(max-width:1000px){.profile-stats-bar{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.profile-stats-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats-bar .profile-stat{min-height:62px;padding:10px 6px}.profile-view-nav{gap:6px;padding:8px}.profile-view-nav .profile-view-chip{flex:1 1 calc(50% - 6px);min-width:0;padding:9px 6px}}

/* Profile wall: square forum posts, red metadata and clear compact actions. */
#profile-section-wall .profile-wall-list{gap:16px}
#profile-section-wall .profile-wall-item{gap:10px;padding:0;border:0}
#profile-section-wall .profile-wall-avatar{width:40px;height:40px;border:1px solid #a3344c;background:#3c1a27;color:#ffd8e2}
#profile-section-wall .profile-wall-avatar.small{width:32px;height:32px}
#profile-section-wall .profile-wall-body.reply-bubble{gap:0;padding:0;border:1px solid #66303e;border-left:3px solid #a91a36;border-radius:0;background:#201a1d;backdrop-filter:none;box-shadow:none}
#profile-section-wall .profile-wall-meta{gap:6px 10px;padding:9px 12px;border-bottom:1px solid #56303c;background:#361d27;color:#c5a8b5;font-size:11px;line-height:1.5}
#profile-section-wall .profile-wall-author{color:#fff;font-size:12.5px;overflow-wrap:anywhere}
#profile-section-wall .profile-wall-author:hover{color:#ff9db5}
#profile-section-wall .profile-wall-role{padding:1px 5px;border:1px solid #704151;background:#21171e;line-height:1.5}
#profile-section-wall .profile-wall-content{padding:12px;color:#eee0e6;line-height:1.75;overflow-wrap:anywhere}
#profile-section-wall .profile-wall-content>:first-child{margin-top:0}
#profile-section-wall .profile-wall-content>:last-child{margin-bottom:0}
#profile-section-wall .profile-wall-content img,#profile-section-wall .profile-wall-content video{max-width:100%;height:auto}
#profile-section-wall .profile-wall-actions{gap:6px;padding:0 12px 12px}
#profile-section-wall .profile-wall-actions.is-reply{margin:0}
#profile-section-wall .profile-wall-action-btn{min-height:30px;padding:6px 9px!important;border:1px solid #833046!important;border-radius:0!important;background:#4b1b2b!important;color:#f9dce5!important;font-size:11px!important;line-height:1.3;opacity:1;white-space:normal}
#profile-section-wall .profile-wall-action-btn:hover,#profile-section-wall .profile-wall-action-btn.is-active{background:#a4142e!important;border-color:#df4f6d!important;color:#fff!important}
#profile-section-wall .profile-wall-action-btn.is-danger{background:#391720!important;border-color:#843047!important;color:#ffadbd!important}
#profile-section-wall .profile-wall-action-btn.is-danger:hover{background:#a4142e!important;color:#fff!important}
#profile-section-wall .profile-wall-action-btn:focus-visible{outline:2px solid #ffb5c8;outline-offset:2px}
#profile-section-wall .profile-wall-like-list{padding:0 12px 12px;color:#dcb4c3}
#profile-section-wall .profile-wall-like-list i,#profile-section-wall .profile-wall-like-list a{color:#f78ba6}
#profile-section-wall .profile-wall-replies{gap:10px;padding:12px;border-top:1px solid #56303c;background:#1a1519}
#profile-section-wall .profile-wall-reply-item{gap:8px}
#profile-section-wall .profile-wall-reply-item .profile-wall-body.reply-bubble{border-left-width:2px;background:#241b21}
#profile-section-wall .profile-wall-reply-compose{margin:0 12px 12px;padding:10px;border:1px solid #6f3044;border-radius:0;background:#261820}
#profile-section-wall .profile-wall-compose .tt-wrap,#profile-section-wall .profile-wall-reply-compose .tt-wrap{border-radius:0;border-color:#66303e}
@media(max-width:480px){#profile-section-wall .profile-wall-item{gap:7px}#profile-section-wall .profile-wall-avatar{width:32px;height:32px}#profile-section-wall .profile-wall-avatar.small{width:26px;height:26px}#profile-section-wall .profile-wall-meta{padding:8px;gap:5px 7px}#profile-section-wall .profile-wall-content{padding:10px 8px}#profile-section-wall .profile-wall-actions{gap:5px;padding:0 8px 10px}#profile-section-wall .profile-wall-action-btn{padding:6px 8px!important}#profile-section-wall .profile-wall-replies{padding:9px 7px}#profile-section-wall .profile-wall-like-list{padding:0 8px 10px}#profile-section-wall .profile-wall-reply-compose{margin:0 8px 10px;padding:8px}}

/* Category sorting follows the same square red controls as profile navigation. */
.category-sort-tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0}
.category-sort-tabs .category-sort-tab{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border:1px solid #a32e46;border-radius:0;background:#681d30;color:#ffe4ed;font-size:12px;font-weight:600;line-height:1.3;text-decoration:none;transition:background .18s ease,border-color .18s ease}
.category-sort-tabs .category-sort-tab:hover{background:#a4142e;border-color:#e65b76;color:#fff}
.category-sort-tabs .category-sort-tab.is-active{background:#b31735;border-color:#ef6c88;color:#fff;box-shadow:inset 0 -2px #ff91aa}
.category-sort-tabs .category-sort-tab:focus-visible{outline:2px solid #ffc4d2;outline-offset:2px}
@media(max-width:480px){.category-sort-tabs{width:100%}.category-sort-tabs .category-sort-tab{flex:1;min-width:0;padding:7px 6px}}

/* Member hover card: burgundy cover fade, compact panels and near-square corners. */
#profile-card-modal .profile-card-sheet{padding:14px;border:1px solid #a1324e;border-top:3px solid #c62347;border-radius:3px;background:linear-gradient(165deg,#3c1928 0%,#26171f 55%,#1c161a 100%);box-shadow:0 18px 55px #0009;backdrop-filter:none}
#profile-card-modal .profile-card-cover{height:210px;opacity:.85}
#profile-card-modal .profile-card-arrow{background:#50182c;border-color:#a1324e;box-shadow:none}
#profile-card-modal .profile-card-close{width:28px;height:28px;border:1px solid #dd5e7b;border-radius:2px;background:#8e1834;color:#fff}
#profile-card-modal .profile-card-close:hover{background:#c32247}
#profile-card-modal .profile-card-close:focus-visible{outline:2px solid #ffc5d4;outline-offset:2px}
#profile-card-modal .profile-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:14px 0 0}
#profile-card-modal .profile-card-head{gap:10px}
#profile-card-modal .profile-card-hero-link{gap:10px;padding-top:0}
#profile-card-modal .profile-card-avatar{width:64px;height:64px;border-radius:50%;border:2px solid #e15b7b;background:#531d30;box-shadow:0 3px 14px #0006}
#profile-card-modal .profile-card-ident{padding:10px;border:1px solid #773147;border-radius:2px;background:#21171ef2;box-shadow:none;backdrop-filter:none}
#profile-card-modal .profile-card-name-row strong{font-size:16px;overflow-wrap:anywhere}
#profile-card-modal .profile-card-username{color:#d8a8ba;overflow-wrap:anywhere}
#profile-card-modal .profile-card-title{color:#ead5de}
#profile-card-modal .profile-card-side-stack{padding:0;gap:8px}
#profile-card-modal .profile-card-chip-row,#profile-card-modal .profile-card-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0}
#profile-card-modal .profile-card-badges{min-width:0}
#profile-card-modal .profile-card-role-badge{max-width:100%;white-space:normal;border-radius:2px;padding:5px 7px;line-height:1.4}
#profile-card-modal .profile-card-chip-row img,#profile-card-modal .profile-card-rank-grid img{max-width:100%;height:auto;max-height:32px;object-fit:contain}
#profile-card-modal .profile-card-main{padding-top:34px;justify-content:stretch}
#profile-card-modal .profile-card-info-list{min-width:0;max-width:none;margin:0;border:1px solid #773147;border-radius:2px;overflow:hidden}
#profile-card-modal .profile-card-info-line{gap:10px;padding:8px 10px;border:0;border-radius:0;background:#251a21;backdrop-filter:none}
#profile-card-modal .profile-card-info-line:nth-child(even){background:#301c27}
#profile-card-modal .profile-card-info-line+.profile-card-info-line{border-top:1px solid #51303f}
#profile-card-modal .profile-card-info-label{font-size:10px;color:#d1a8b9;letter-spacing:.02em}
#profile-card-modal .profile-card-info-value{font-size:11.5px;color:#fff;overflow-wrap:anywhere;min-width:0}
#profile-card-modal .profile-card-loading,#profile-card-modal .profile-card-error{color:#f2ccd9}
@media(max-width:640px){#profile-card-modal .profile-card-sheet{padding:12px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}#profile-card-modal .profile-card-layout{grid-template-columns:1fr;gap:12px;padding-top:26px}#profile-card-modal .profile-card-hero-link{align-items:center}#profile-card-modal .profile-card-ident{flex:1;min-width:0}#profile-card-modal .profile-card-avatar{width:56px;height:56px}#profile-card-modal .profile-card-main{padding:0}#profile-card-modal .profile-card-cover{height:190px}#profile-card-modal .profile-card-chip-row,#profile-card-modal .profile-card-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Story viewer follows the square red forum panels. */
#story-viewer.sv-overlay{background:rgba(14,7,11,.94);backdrop-filter:blur(6px);padding:16px}
#story-viewer .sv-box{height:calc(100dvh - 32px);width:min(100%,1500px);border:1px solid #873049;border-top:3px solid #c11d41;border-radius:0;background:#130e12;box-shadow:0 20px 70px #0009}
#story-viewer .sv-box::before{background:linear-gradient(180deg,#5a172329,transparent 28%,transparent 72%,#58152a33)}
#story-viewer .sv-progress{top:12px;left:14px;right:14px;gap:5px}
#story-viewer .sv-prog-seg{height:4px;border-radius:0;background:#633142}
#story-viewer .sv-prog-fill{background:#ee466e}
#story-viewer .sv-media{padding:30px 64px 172px;background:none}
#story-viewer .sv-media img,#story-viewer .sv-media video{max-width:100%;max-height:100%;border-radius:0;box-shadow:none;background:#100b0f}
#story-viewer .sv-bottom{bottom:14px;width:min(calc(100% - 28px),920px);padding:12px 14px;border:1px solid #a13753;border-top:3px solid #c22548;border-radius:0;background:linear-gradient(120deg,#451525f5,#25151ff5);backdrop-filter:none;box-shadow:0 8px 24px #0007;max-height:45%;overflow:visible}
#story-viewer .sv-topbar{gap:10px;min-width:0}
#story-viewer .sv-user{min-width:0}
#story-viewer .sv-user>div:last-child{min-width:0}
#story-viewer .sv-uname{color:#fff;overflow-wrap:anywhere;line-height:1.4}
#story-viewer .sv-time{color:#d5a7b8}
#story-viewer .sv-av{width:42px;height:42px;border-radius:0;border:1px solid #d65576;background:#511c30;box-shadow:none}
#story-viewer .sv-av img{border-radius:0!important}
#story-viewer .sv-controls{gap:6px;flex-shrink:0}
#story-viewer .sv-ctrl-btn{width:36px;height:36px;border:1px solid #bb3e5d;border-radius:0;background:#861c38;color:#fff;backdrop-filter:none;box-shadow:none}
#story-viewer .sv-ctrl-btn:hover{background:#bd2146;border-color:#fa8aa6;transform:none}
#story-viewer .sv-more-menu{top:auto;bottom:calc(100% + 8px);right:0;border:1px solid #a23754;border-radius:0;background:#2b1721;padding:5px;backdrop-filter:none;box-shadow:0 8px 24px #0008}
#story-viewer .sv-more-item{border-radius:0;min-height:36px;color:#ffe0e9}
#story-viewer .sv-more-item:hover,#story-viewer .sv-more-item-danger:hover{background:#a41c3b;color:#fff}
#story-viewer .sv-bottom-body{max-height:20dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#a73958 #2d1822}
#story-viewer .sv-caption{color:#f6dce7;line-height:1.6;overflow-wrap:anywhere;text-shadow:none}
#story-viewer .sv-meta-row{gap:7px;align-items:center}
#story-viewer .sv-link,#story-viewer .sv-views{border-radius:0;padding:6px 9px;border:1px solid #873449;background:#3b1b2a;color:#fbdbe7;font-size:11.5px;min-width:0;max-width:100%}
#story-viewer .sv-link:hover{background:#a41b3b;border-color:#e36988;color:#fff}
#story-viewer .sv-nav{border:1px solid #bc3e5b;border-radius:0;width:40px;height:44px;background:#70172edb;color:#fff;box-shadow:none;backdrop-filter:none}
#story-viewer .sv-nav:hover{background:#bc2144;transform:translateY(-50%)}
#story-viewer .sv-nav-prev{left:12px}#story-viewer .sv-nav-next{right:12px}
#story-viewer button:focus-visible,#story-viewer a:focus-visible{outline:2px solid #ffc2d3;outline-offset:2px}
@media(max-width:768px){#story-viewer.sv-overlay{padding:0}#story-viewer .sv-box{width:100%;height:100dvh;border:0;border-top:2px solid #bc2144;border-radius:0}#story-viewer .sv-progress{top:calc(env(safe-area-inset-top,0px) + 12px);left:10px;right:10px}#story-viewer .sv-media{padding:calc(env(safe-area-inset-top,0px) + 30px) 4px calc(env(safe-area-inset-bottom,0px) + 190px)}#story-viewer .sv-bottom{bottom:calc(env(safe-area-inset-bottom,0px) + 8px);width:calc(100% - 16px);padding:10px;max-height:45%;border-radius:0}#story-viewer .sv-av{width:34px;height:34px}#story-viewer .sv-ctrl-btn{width:32px;height:34px}#story-viewer .sv-controls{gap:4px}#story-viewer .sv-uname{font-size:12px}#story-viewer .sv-time{font-size:10px}#story-viewer .sv-nav{width:32px;height:38px;font-size:12px}#story-viewer .sv-nav-prev{left:6px}#story-viewer .sv-nav-next{right:6px}#story-viewer .sv-meta-row{flex-direction:row;align-items:center}#story-viewer .sv-bottom-body{max-height:18dvh}}

/* Larger rank presentation for topic posts and profile pages. */
@media(min-width:769px){
  .post-inner .user-col{width:225px}
  .post-inner .user-col-sticky{padding-left:0;padding-right:0}
  .post-inner .rank-badge img,.post-inner .team-badge img,
  .post-inner .user-col-sticky > .rank-badge img,
  .post-inner .user-col-sticky > .team-badge img{width:230px !important;height:auto !important;max-width:100% !important;object-fit:contain}
  .post-inner .rank-badge,.post-inner .team-badge{width:230px;max-width:100%;min-width:0;min-height:0;padding:0;overflow-wrap:anywhere}
}

/* Profile sidebar rank cards use the same 230 x 56 visual scale. */
.profile-side-col .profile-rank-list .profile-rank-item{width:230px !important;height:56px !important}
.profile-side-col .profile-rank-list img{width:230px !important;height:56px !important;max-width:230px !important;object-fit:contain}

/* Profile card: identity and stats above full-width, grouped badge grids. */
#profile-card-modal{width:min(780px,calc(100vw - 24px))}
#profile-card-modal .profile-card-sheet{padding:16px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:2px}
#profile-card-modal .profile-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:14px;padding:24px 0 0}
#profile-card-modal .profile-card-hero-link{flex-direction:row;align-items:center;width:100%;gap:10px}
#profile-card-modal .profile-card-avatar{flex-shrink:0}
#profile-card-modal .profile-card-ident{flex:1;width:auto;min-width:0;padding:9px}
#profile-card-modal .profile-card-main{padding:0}
#profile-card-modal .profile-card-side-stack{grid-column:1 / -1;min-width:0;display:grid;gap:10px;padding:0}
#profile-card-modal .profile-card-badge-section{min-width:0;border:1px solid #68313f;background:#21171bd9}
#profile-card-modal .profile-card-badge-section h3{margin:0;padding:6px 10px;border-bottom:1px solid #793044;background:#6b1b30;color:#ffe7ee;font-size:11px;line-height:1.4;font-weight:800}
#profile-card-modal .profile-card-chip-row,#profile-card-modal .profile-card-rank-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;justify-items:center;gap:6px 8px;padding:8px}
#profile-card-modal .profile-card-chip-row img,#profile-card-modal .profile-card-rank-grid img{display:block;width:100%;max-width:230px;height:auto;max-height:56px;object-fit:contain}
#profile-card-modal .profile-card-role-badge{justify-self:stretch;text-align:center;justify-content:center;min-width:0;overflow-wrap:anywhere}
#profile-card-modal .profile-card-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;margin:0}
#profile-card-modal .profile-card-info-line{min-width:0;gap:5px;padding:7px 8px;border:0;border-bottom:1px solid #51303f;flex-wrap:wrap}
#profile-card-modal .profile-card-info-line:nth-last-child(-n+2){border-bottom:0}
#profile-card-modal .profile-card-cover{height:170px}
@media(max-width:640px){
  #profile-card-modal{width:calc(100vw - 24px)}
  #profile-card-modal .profile-card-sheet{padding:12px}
  #profile-card-modal .profile-card-layout{grid-template-columns:minmax(0,1fr);gap:10px;padding-top:24px}
  #profile-card-modal .profile-card-chip-row,#profile-card-modal .profile-card-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px;padding:6px}
  #profile-card-modal .profile-card-info-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  #profile-card-modal .profile-card-info-line{padding:6px 7px}
  #profile-card-modal .profile-card-info-label{font-size:9px}
  #profile-card-modal .profile-card-info-value{font-size:11px}
}

/* Keep the wider 1250px content frame consistent across forum listings. */
@media(min-width:769px){
  .page-outer{max-width:1800px}
  .main-wrap{max-width:1250px}
  .main-wrap[style*="max-width:1300px"]{max-width:1250px !important}
  .whats-new-wrap{max-width:1250px}
  .manset-wrap{max-width:1250px}
  .topbar-media-slot{max-width:1250px}
  .side-banner{width:clamp(230px,calc((100vw - 1250px) / 2),300px)}
}
.topbar-media-slot,.manset-slot{aspect-ratio:1250 / 200}

/* MMO Vadi unified square red surface pass */
.members-layout{max-width:1250px;margin:0 auto;padding:0;}
.members-layout .members-nav a,.members-mobile-select,.member-role,.member-pill{border-radius:0!important}
.members-layout .members-nav a.active{background:var(--brand)!important;color:#fff!important}
.members-layout .members-nav-group.is-monthly a{background:var(--color-bg-card)!important}
.members-layout .members-nav-group.is-monthly a.active{background:var(--brand)!important;color:#fff!important}
.members-layout .member-role{border:1px solid var(--color-border);background:var(--color-bg-secondary)}
.members-layout .member-pill{border:1px solid var(--color-border);background:var(--color-bg-secondary)}
.members-layout .member-card:hover{border-color:var(--brand);box-shadow:none;transform:none}
.search-page-wrap{max-width:1250px!important;margin:0 auto!important;padding:0!important}
.search-type-toggle,.search-filter-chip,.search-user-card{border-radius:0!important}
.wn-tabs{padding:0!important;background:var(--color-bg-secondary)!important;gap:0!important}
.wn-tabs a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px!important;border:0!important;border-right:1px solid var(--color-border)!important;border-radius:0!important;background:transparent!important;color:var(--color-text-secondary)!important;font-weight:800}
.wn-tabs a:hover{background:var(--brand-light)!important;color:#fff!important}
.wn-tabs a.active{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
.diamond-toolbar-links a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:92px;padding:0 12px!important;border-radius:0!important;border-color:var(--brand)!important;background:var(--color-bg-card)!important;color:var(--color-text-secondary)!important;font-weight:800}
.diamond-toolbar-links a:hover,.diamond-toolbar-links a.is-active{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}
.topic-hdr{border-radius:0!important;box-shadow:none!important;border-top:3px solid var(--brand)!important;background:var(--color-bg-card)!important}
.topic-hdr-top{padding:14px 18px 12px!important}
.topic-hdr-tags{padding:8px 18px!important}
.topic-title .tpx-title,.tpx,.tag{border-radius:0!important}
.posts-bar{padding:8px 0!important;gap:8px!important;align-items:stretch!important}
.posts-bar-l,.posts-bar-r{gap:8px!important;align-items:stretch!important}
.ptoolbtn,.psort-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;min-width:112px!important;padding:0 12px!important;border-radius:0!important;background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important;box-shadow:none!important}
.ptoolbtn:hover,.psort-btn:hover,.ptoolbtn.following,.psort-btn.on{background:var(--brand-h)!important;border-color:var(--brand-h)!important;color:#fff!important}
.topic-share-menu{border-radius:0!important;border-top:2px solid var(--brand)!important}
.topic-share-item{border-radius:0!important}
.post-inner .user-col{border-radius:0!important}
.post-inner .user-col-sticky{padding-left:10px;padding-right:10px}
.upper-banner{padding:0!important;gap:8px!important}
.upper-banner .banner-slot{border-radius:0!important}
.adbuy-wrap{max-width:1250px!important;margin:22px auto 38px!important;padding:0!important}
.adbuy-card,.adbuy-hero,.adbuy-side,.adslot-card,.adbuy-accordion,.adbuy-period-opt,.adbuy-selection-brief,.adbuy-note,.period-table{border-radius:0!important;box-shadow:none!important}
.adbuy-hero{border-top:3px solid var(--brand)!important}
.adbuy-step,.adbuy-step-panel,.adbuy-card-head,.adbuy-side-head{border-radius:0!important}
.adbuy-period-state-badge,.adbuy-float-nav .btn{border-radius:0!important}
.header-main .site-inner{min-height:62px!important;height:62px!important;padding-top:5px!important;padding-bottom:5px!important;align-items:stretch!important;gap:10px!important}
.header-search{display:flex;align-items:stretch;max-width:none!important;flex:1 1 auto!important}
.header-search input{height:100%;min-height:0;border-radius:0!important;border-color:var(--brand)!important;padding-top:0!important;padding-bottom:0!important}
.header-search button{height:100%;border-radius:0!important;background:var(--brand)!important}
.header-actions{align-items:stretch!important;gap:6px!important;height:52px!important;align-self:center!important}
.profile-trigger,.notif-btn,.mod-panel-trigger{height:100%!important;border-radius:0!important}
.profile-trigger{border-color:#7d1c2b!important;background:var(--color-bg-secondary)!important}
.profile-trigger:hover,.profile-trigger.open{border-color:var(--brand)!important;background:var(--brand-light)!important}
.mod-panel,.notif-panel,.pdrop{border-radius:0!important;border-top:3px solid var(--brand)!important;box-shadow:0 18px 40px rgba(0,0,0,.32)!important}
.mod-panel-toggle,.mod-panel-link,.mod-item,.notif-panel-foot a,.pdrop .btn{border-radius:0!important}
.mod-item{border-left:3px solid var(--brand)!important;box-shadow:none!important}
.notif-management-badge{border-radius:0!important}
.nav-premium,.nav-market{--nav-cta-bg:linear-gradient(135deg,#7f1d1d 0%,#bc1830 52%,#7f1d1d 100%);--nav-cta-bg-hover:linear-gradient(135deg,#991b1b 0%,#d9354d 52%,#991b1b 100%);--nav-cta-text:#fff;--nav-cta-title:#fff;--nav-cta-border:rgba(255,170,180,.34);--nav-cta-border-hover:rgba(255,205,211,.52);--nav-cta-border-strong:#e35a6d;--nav-cta-border-strong-hover:#f28a98;--nav-cta-shadow:rgba(188,24,48,.24);--nav-cta-shadow-hover:rgba(188,24,48,.32);--nav-cta-icon-bg:rgba(90,10,25,.28);--nav-cta-icon-color:#fff;--nav-cta-overlay:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,0) 46%,rgba(80,8,20,.16) 100%)}
.subnav{background:#171716!important;border-bottom:1px solid #4a272f!important}
.subnav-inner a,.subnav-inner a.gold-link{border-radius:0!important;background:none!important;box-shadow:none!important;-webkit-text-fill-color:currentColor!important;color:var(--color-text-secondary)!important;padding:7px 11px!important}
.subnav-inner a:hover,.subnav-inner a.gold-link:hover{background:var(--brand-light)!important;color:#fff!important}
/* Panel pages share the same content edge as the forum listings. */
body .panel-layout,body .panel-overview-layout,body .panel-layout--messages{max-width:1250px!important;margin:0 auto!important;padding:0!important}
body .panel-layout[style],body .panel-overview-layout[style]{max-width:1250px!important;margin:0 auto!important;padding:0!important}
body .panel-layout--messages{gap:0!important}
@media(max-width:900px){.members-layout,.search-page-wrap,.adbuy-wrap{padding:0 10px!important}.header-main .site-inner{min-height:68px!important;height:68px!important}.header-actions{height:46px!important}.posts-bar-l,.posts-bar-r{width:100%}.ptoolbtn,.psort-btn{min-width:0!important;flex:1 1 auto!important}}
@media(max-width:768px){body .panel-layout,body .panel-overview-layout,body .panel-layout--messages{padding:0 10px!important}}
@media(max-width:640px){.header-main .site-inner{min-height:64px!important;height:64px!important;padding-top:5px!important;padding-bottom:5px!important}.header-search{height:38px!important}.header-actions{height:38px!important}.profile-trigger,.notif-btn,.mod-panel-trigger{height:38px!important}.posts-bar{gap:6px!important}.posts-bar-l,.posts-bar-r{gap:6px!important}.ptoolbtn,.psort-btn{min-height:34px!important;font-size:11px!important}.diamond-toolbar-links{width:100%;min-width:0}.diamond-toolbar-links a{min-width:max-content;flex:1 0 auto;white-space:nowrap;text-align:center}.adbuy-wrap{padding:0 10px!important}}

/* Home sidebar: profile wall messages use the same square red panel language. */
.home-sidebar .widget:has(.home-wall-widget-list){border-radius:0!important;overflow:hidden;box-shadow:none!important;}
.home-sidebar .widget:has(.home-wall-widget-list) .widget-head{border-radius:0!important;border-top:2px solid var(--brand);background:var(--brand)!important;}
.home-sidebar .widget:has(.home-wall-widget-list) .widget-head h4{color:#fff!important;}
.home-wall-widget-list{padding:8px 0!important;gap:6px!important;background:var(--color-bg-card);}
.home-wall-widget-item{padding:10px 12px!important;border:0!important;border-left:3px solid var(--brand)!important;border-bottom:1px solid var(--color-border)!important;border-radius:0!important;background:var(--color-bg-secondary)!important;}
.home-wall-widget-item:last-child{border-bottom:0!important;}
.home-wall-widget-meta{margin-bottom:7px!important;color:var(--color-text-muted)!important;line-height:1.4;}
.home-wall-widget-author{color:var(--brand)!important;}
.home-wall-widget-link{padding:3px 6px;background:var(--brand-light);color:var(--brand)!important;border:1px solid color-mix(in srgb,var(--brand) 28%,var(--color-border));border-radius:0!important;font-weight:800;}
.home-wall-widget-link:hover{background:var(--brand);color:#fff!important;text-decoration:none!important;}
.home-wall-widget-content-wrap{border-radius:0!important;background:var(--color-bg-card);border:1px solid var(--color-border);padding:8px 9px;}
.home-wall-widget-content{color:var(--color-text-primary)!important;line-height:1.55;}
.home-wall-widget-profile{margin-top:7px!important;color:var(--color-text-muted)!important;}

/* Popup advertisements follow the MMO Vadi red, square surface system. */
.js-site-popup-ad{background:rgba(8,6,10,.88)!important;backdrop-filter:blur(5px);}
.js-site-popup-ad .site-popup-shell{max-width:min(calc(100vw - 32px),960px);border:1px solid #853047;border-top:3px solid var(--brand);border-radius:0!important;background:#171216;box-shadow:0 24px 80px rgba(0,0,0,.58);}
.js-site-popup-ad .site-popup-header{padding:12px 14px;background:#25151c;border-bottom:1px solid #713044;gap:10px;}
.js-site-popup-ad .site-popup-countdown{gap:8px;}
.js-site-popup-ad .site-popup-countdown-bar{gap:8px;}
.js-site-popup-ad .popup-countdown-box{min-height:48px;padding:8px 10px;border:1px solid #87334b;border-radius:0!important;background:linear-gradient(180deg,#4b1b2c,#25131c);box-shadow:none;}
.js-site-popup-ad .popup-countdown-value,.js-site-popup-ad .popup-countdown-label{color:#ffdce5;}
.js-site-popup-ad .popup-countdown-value{font-size:clamp(14px,1.35vw,17px);}
.js-site-popup-ad .popup-countdown-label{font-size:10px;}
.js-site-popup-ad .site-popup-close-btn{width:40px;height:40px;border:1px solid #b74661;border-radius:0!important;background:#9f1834;color:#fff;box-shadow:none;}
.js-site-popup-ad .site-popup-close-btn:hover{background:#d22d50;color:#fff;transform:none;}
.js-site-popup-ad .site-popup-media{background:#0d0a0d;}
.js-site-popup-ad .site-popup-image{border-radius:0!important;}
.js-site-popup-ad.site-popup-without-countdown .site-popup-shell{overflow:visible;max-width:min(calc(100vw - 48px),960px);border:2px solid #ff3155;}
.js-site-popup-ad.site-popup-without-countdown .site-popup-image{max-width:min(calc(100vw - 52px),956px);}
.js-site-popup-ad.site-popup-without-countdown .site-popup-header{position:absolute;inset:0 0 auto;height:0;z-index:2;padding:0;background:transparent;border:0;pointer-events:none;}
.js-site-popup-ad.site-popup-without-countdown .site-popup-close-btn{position:absolute;top:-28px;right:-12px;width:44px;height:44px;pointer-events:auto;border:2px solid #ff4765;border-radius:10px!important;background:linear-gradient(145deg,#bd1535,#850c25);color:#fff;font-size:24px;box-shadow:0 0 0 2px rgba(123,13,36,.65),0 4px 12px rgba(0,0,0,.45);}
.js-site-popup-ad.site-popup-without-countdown .site-popup-close-btn:hover{background:#d22d50;}
@media(max-width:640px){.js-site-popup-ad{padding:10px!important}.js-site-popup-ad .site-popup-shell{max-width:calc(100vw - 20px)}.js-site-popup-ad .site-popup-header{padding:9px}.js-site-popup-ad .site-popup-countdown-bar{gap:4px}.js-site-popup-ad .popup-countdown-box{min-height:42px;padding:6px 4px}.js-site-popup-ad .popup-countdown-value{font-size:13px}.js-site-popup-ad .popup-countdown-label{font-size:9px}.js-site-popup-ad .site-popup-close-btn{width:34px;height:34px}}

/* Compact mobile header: keep the identity/actions row intact and place search below it. */
@media(max-width:900px){
  .header-main .site-inner{
    height:auto!important;
    min-height:0!important;
    padding:7px 10px 8px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"logo actions" "search search"!important;
    align-items:center!important;
    gap:7px 9px!important;
  }
  .header-main .site-logo,.header-main .logo{grid-area:logo;min-width:0;display:flex;align-items:center}
  .header-main .logo.logo-custom{display:flex;align-items:center;max-width:100%}
  .header-main .site-logo-image{width:clamp(112px,38vw,150px)!important;max-width:100%!important;height:39px!important;object-fit:contain!important;object-position:left center}
  .header-main .header-search{grid-area:search;order:initial!important;width:100%!important;max-width:none!important;min-width:0!important;height:36px!important;flex:none!important}
  .header-main .header-search input{height:36px!important;min-height:36px!important;font-size:12px!important;padding:0 40px 0 12px!important}
  .header-main .header-search button{width:38px!important;height:36px!important}
  .header-main .header-actions{grid-area:actions;order:initial!important;width:auto!important;height:36px!important;min-width:0!important;margin:0!important;gap:4px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important}
  .header-main .notif-btn,.header-main .mod-panel-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:36px!important;padding:0!important}
  .header-main .profile-trigger{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:36px!important;padding:2px!important;gap:0!important;overflow:hidden!important}
  .header-main .profile-trigger .ptrigger-av{width:30px!important;height:30px!important;flex:0 0 30px!important}
  .header-main .profile-trigger .ptrigger-info,.header-main .profile-trigger .ptrigger-chevron{display:none!important}
  .header-main .mod-panel-btn-wrap,.header-main .notif-btn-wrap,.header-main .profile-drop-wrap{flex:0 0 auto!important}
  .header-main .pdrop{right:0;top:calc(100% + 7px);max-width:calc(100vw - 20px)}
}
@media(max-width:380px){
  .header-main .site-inner{padding-left:7px!important;padding-right:7px!important;gap:6px 6px!important}
  .header-main .site-logo-image{width:108px!important;height:36px!important}
  .header-main .header-actions{gap:2px!important}
  .header-main .notif-btn,.header-main .mod-panel-trigger{width:29px!important;min-width:29px!important}
  .header-main .profile-trigger{width:34px!important;min-width:34px!important}
}

/* Revenue navigation CTAs: visually distinct, high contrast and still within
   the MMO Vadi red palette. */
.nav-right{gap:6px!important;padding:0 4px!important}
.nav-right .nav-cta{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  min-height:38px!important;padding:6px 12px!important;border:1px solid rgba(255,206,214,.42)!important;
  border-bottom:3px solid rgba(80,4,16,.72)!important;border-radius:2px!important;
  color:#fff!important;box-shadow:0 5px 14px rgba(38,2,10,.32),inset 0 1px 0 rgba(255,255,255,.2)!important;
  transition:filter .18s,transform .18s,box-shadow .18s!important
}
.nav-right .nav-cta::before,.nav-right .nav-cta::after{display:block!important}
.nav-right .nav-cta-icon{display:inline-flex!important;width:26px!important;height:26px!important;border-radius:2px!important;border:1px solid rgba(255,255,255,.3)!important;background:rgba(45,2,12,.28)!important}
.nav-right .nav-cta-icon i{font-size:13px!important;color:#fff!important}
.nav-right .nav-cta-copy{display:flex!important}
.nav-right .nav-cta-title{font-size:12px!important;font-weight:900!important;color:#fff!important}
.nav-right .nav-cta:hover,.nav-right .nav-cta:focus-visible{transform:translateY(-1px)!important;filter:brightness(1.12)!important;box-shadow:0 8px 18px rgba(38,2,10,.42),inset 0 1px 0 rgba(255,255,255,.25)!important}
.nav-right .nav-ads{background:linear-gradient(135deg,#7f1026,#d52b46 55%,#9e102b)!important}
.nav-right .nav-premium{background:linear-gradient(135deg,#6d1825,#bd2941 54%,#76101e)!important}
.nav-right .nav-premium .nav-cta-icon{background:rgba(255,184,72,.2)!important;border-color:rgba(255,214,128,.58)!important}
.nav-right .nav-market{background:linear-gradient(135deg,#551321,#9f2038 54%,#641020)!important}
.nav-right .nav-market .nav-cta-icon{background:rgba(255,104,125,.16)!important}
@media(max-width:640px){
  .nav-right .nav-cta{min-width:34px!important;width:34px!important;height:34px!important;padding:3px!important;justify-content:center!important}
  .nav-right .nav-cta-copy{display:none!important}
  .nav-right .nav-cta-icon{width:26px!important;height:26px!important}
}

/* Compact topic audit history; profile links show nicknames instead of numeric IDs. */
.topic-log-user-link{color:#f4b1bf;text-decoration:none;font-weight:700;overflow-wrap:anywhere}
.topic-log-user-link:hover{color:#fff;text-decoration:underline}
.topic-log-user-link:focus-visible{outline:2px solid #f58296;outline-offset:2px}
@media(max-width:600px){
  .topic-log-header{padding:9px 10px}.topic-log-heading p{display:none}
  .topic-log-heading h2{font-size:14px}.topic-log-summary{padding:7px 10px;font-size:11px}
  .topic-log-content{padding:8px}.topic-log-card{margin-bottom:7px}
  .topic-log-card-head{padding:8px 9px 4px;gap:3px 7px}.topic-log-card-head h3{font-size:12px}
  .topic-log-card-head time{font-size:10px}.topic-log-actor{padding:0 9px 7px;gap:5px;font-size:11px}
  .topic-log-actor span{font-size:9px;padding:1px 4px}
  .topic-log-details>summary{padding:7px 9px;font-size:11px}
  .topic-log-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 6px 6px}
  .topic-log-values h4{padding:5px 6px;font-size:10px}
  .topic-log-field{padding:6px}.topic-log-field>strong{font-size:10px;margin-bottom:3px}
  .topic-log-value{font-size:11px;line-height:1.45;max-height:150px}
}

/* Moderation dropdown: forum-style rows instead of separate large cards. */
.mod-panel .mod-panel-list{min-height:100px;padding:0;max-height:min(520px,65dvh)}
.mod-panel .mod-item{gap:0;padding:9px 12px;margin:0;border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:var(--color-bg-card);box-shadow:none}
.mod-panel .mod-item:last-child{border-bottom:0}
.mod-panel .mod-item:hover{background:var(--color-bg-secondary);box-shadow:none}
.mod-panel .mod-item-meta{margin-bottom:4px;gap:6px}
.mod-panel .mod-item-title{font-size:12px;line-height:1.4;margin-bottom:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mod-panel .mod-item-info{display:flex;flex-wrap:wrap;gap:3px 12px;margin-bottom:5px}
.mod-panel .mod-item-info-row{display:flex;gap:4px;font-size:11px}
.mod-panel .mod-item-info-label{font-size:10px;text-transform:none;letter-spacing:0}
.mod-panel .mod-item-reason{display:block;padding:0;margin-bottom:7px;border:0;background:none;border-radius:0;line-height:1.4}
.mod-panel .mod-item-reason-label{display:inline;font-size:10px;text-transform:none;margin-right:5px}
.mod-panel .mod-item-reason-text{font-size:11px;line-height:1.4}
.mod-panel .mod-item-actions{display:flex;flex-wrap:wrap;gap:5px}
.mod-panel .mod-btn{min-height:27px;padding:3px 8px;font-size:10.5px;border-radius:0;flex:0 1 auto}
.mod-panel .mod-panel-list-note{margin:0;padding:6px 12px;border:0;border-bottom:1px solid var(--color-border);background:var(--color-bg-secondary);border-radius:0;font-size:10px}
.mod-report-modal-dialog,.mod-report-modal-close,.mod-report-modal-textarea,.mod-report-modal-btn{border-radius:0}
.mod-report-modal-head{padding:12px 14px;border-top:3px solid var(--brand)}
.mod-report-modal-body{padding:12px 14px;gap:8px}
.mod-report-modal-foot{padding:0 14px 12px}
.mod-report-modal-btn-ok{background:var(--brand);color:#fff}

/* Log sections include content snapshots: use the full width on phones. */
.topic-log-record-summary{padding:0 9px;}
@media(max-width:600px){.topic-log-comparison{grid-template-columns:minmax(0,1fr)}.topic-log-values{width:100%;box-sizing:border-box}.topic-log-record-summary{font-size:11px}}
