*{box-sizing:border-box}body{margin:0;color:#f5f7ff;font-family:Inter,Arial,sans-serif;background:#060607 url('/redage-bg.png') center top/cover fixed no-repeat}body:before{content:"";position:fixed;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.86));z-index:-1}a{text-decoration:none;color:inherit}.site-hero{height:250px;display:flex;align-items:flex-start;justify-content:center;padding-top:25px}.brand{text-align:center;text-shadow:0 10px 30px #000}.brand span{display:block;font-size:92px;line-height:.75;font-weight:1000;color:#fff}.brand b{display:block;font-size:72px;font-style:italic;color:#e60012}.brand small{letter-spacing:10px;font-weight:900}.topbar{width:min(1200px,92%);margin:-34px auto 12px;height:72px;border-radius:14px;background:rgba(13,13,15,.92);border:1px solid rgba(255,30,45,.35);box-shadow:0 20px 70px #000;display:flex;align-items:center;justify-content:space-between;padding:0 22px;backdrop-filter:blur(12px)}nav,.userbar{display:flex;align-items:center;gap:18px}nav a,.userbar a{font-size:13px;text-transform:uppercase;font-weight:900;color:#e8ebf6}.active,nav a:hover{color:#ff1628}.icon{font-size:18px}.profile-pill{background:#050505;border-radius:10px;padding:12px 16px}.container{width:min(1200px,92%);margin:0 auto 45px}.layout{display:grid;grid-template-columns:1fr 310px;gap:14px}.forum-main,.widget,.forum-table,.page-head,.post,.editor,.profile-card,.profile-feed,.empty,.ranking,.side-menu,.user-card,.auth{background:rgba(13,13,15,.9);border:1px solid rgba(255,255,255,.08);border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.42)}.forum-main{padding:22px}.section-label{color:#ff1628;text-transform:uppercase;font-size:17px;margin:8px 0 14px}.forum-table{overflow:hidden;margin-bottom:22px}.forum-row{display:grid;grid-template-columns:54px 1fr 70px 95px 230px;gap:14px;align-items:center;padding:18px;border-bottom:1px solid rgba(255,255,255,.06);transition:.2s}.forum-row:hover{background:rgba(255,22,40,.09)}.forum-icon{width:42px;height:42px;border-radius:9px;background:linear-gradient(135deg,#d90012,#760009);display:grid;place-items:center;font-size:22px}.forum-info h3{margin:0 0 6px;text-transform:uppercase;font-size:16px}.forum-info p,.last small,.mini-stat small,.topic-mini small,.user-mini small,.post p,.page-head p{color:#aeb6c8}.mini-stat{text-align:center}.mini-stat b{display:block}.last b{display:block;font-size:13px}.sidebar{display:grid;gap:12px}.widget{padding:16px}.widget h3{text-transform:uppercase;margin:0 0 14px;font-size:15px}.online{color:#18e859;font-weight:900;display:flex;justify-content:space-between}.pulse{height:55px;margin:12px 0;background:linear-gradient(135deg,transparent,rgba(255,0,20,.45));border-bottom:2px solid #ff1628;border-radius:8px}.server button,.btn,button{border:0;border-radius:7px;padding:11px 16px;background:linear-gradient(135deg,#ff1728,#b3000d);color:white;font-weight:1000;text-transform:uppercase;cursor:pointer}.ghost{background:#17191e!important;border:1px solid rgba(255,255,255,.15)!important;color:#ffd800!important}.full{width:100%}.user-mini,.topic-mini,.rank-user{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;margin:10px 0}.topic-mini{display:block}.avatar{width:38px;height:38px;border-radius:50%;background:#1385c7;color:#c8efff;display:inline-grid;place-items:center;font-size:20px}.avatar.big{width:70px;height:70px;font-size:34px}.avatar.huge{width:160px;height:160px;border-radius:4px;font-size:90px}.badge{display:inline-block;padding:7px 12px;border-radius:5px;font-weight:1000;text-transform:uppercase}.badge.ok{background:#03b72c}.badge.wait{background:linear-gradient(90deg,#078c29,rgba(0,0,0,.35))}.badge.important{background:#d90012}.page-head{padding:22px;display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.post{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:18px;margin-bottom:12px}.post-author{border-right:1px solid rgba(255,255,255,.08)}.editor{overflow:hidden}.toolbar{height:52px;background:#3b4451;padding:14px 18px;color:#dbe5f6;display:flex;gap:18px;align-items:center}.preview{margin-left:auto;background:#3b4451!important;border-left:1px solid rgba(255,255,255,.1)!important}.editor textarea{height:230px;border:0;background:#38414d;color:#fff;width:100%;padding:18px;font-size:16px;resize:vertical}.editor-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#181818;padding:18px}.upload{background:#15171d!important;border:1px solid #495363!important;color:#ffd800!important}.profile-card{overflow:hidden}.cover{background:#3b4451;padding:26px;display:flex;gap:24px;align-items:center}.cover h1{font-size:42px;margin:0}.cover button{margin-left:auto}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:22px;border-bottom:1px solid rgba(255,255,255,.12)}.profile-stats small{color:#9fb1d0}.profile-stats b{display:block;font-size:22px}.profile-card p{padding:0 22px 18px}.yellow{color:#ffe100}.tabs{display:flex;gap:30px;margin:28px 0 0;padding-left:14px}.tabs b{color:#ffe100;border-bottom:3px solid #ffe100;padding:12px 5px}.tabs span{color:#9fb1d0;padding:12px 5px;font-weight:900}.profile-feed{margin-top:0;padding:18px;display:grid;grid-template-columns:80px 1fr;align-items:center}.status-box,input,textarea{background:#3b4451;color:#fff;border:1px solid #566273;border-radius:10px;padding:14px;width:100%}.empty{padding:18px;margin-top:14px}.top-grid{display:grid;grid-template-columns:230px repeat(3,1fr);gap:18px}.side-menu{padding:16px}.side-menu h3,.side-menu .active{color:#ffe100}.side-menu a{display:block;margin:16px 0}.ranking{padding:20px}.ranking h2{margin-top:0}.rank-user b{color:#ff1628}.rank-user em{color:#9fb1d0;font-style:normal}.users-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.user-card{padding:24px;text-align:center}.auth{max-width:430px;margin:40px auto;padding:24px}.error{background:#7b0009;border:1px solid #ff1628;padding:12px;border-radius:10px}.grid{display:grid;gap:14px}@media(max-width:1000px){.layout,.top-grid{grid-template-columns:1fr}.forum-row{grid-template-columns:54px 1fr}.mini-stat,.last{display:none}.topbar{height:auto;flex-direction:column;padding:16px}nav,.userbar{flex-wrap:wrap}.site-hero{height:180px}.brand span{font-size:58px}.brand b{font-size:45px}.post{grid-template-columns:1fr}.post-author{border-right:0;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:12px}}

.admin-link{background:#ffd800;color:#111!important;border-radius:7px;padding:10px 13px;font-weight:1000}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.admin-tile{background:rgba(13,13,15,.92);border:1px solid rgba(255,216,0,.25);border-radius:12px;padding:22px;text-align:center;box-shadow:0 20px 70px rgba(0,0,0,.35)}.admin-tile b{display:block;font-size:42px;color:#ffd800}.admin-tile span{text-transform:uppercase;font-weight:900;color:#dbe5f6}.admin-menu-panel,.admin-table,.panel{background:rgba(13,13,15,.9);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:18px;margin-bottom:14px}.admin-menu-panel{display:flex;gap:12px;flex-wrap:wrap}.admin-menu-panel a{background:#17191e;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:12px 16px;color:#ffd800;font-weight:900}.admin-row{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:14px;border-bottom:1px solid rgba(255,255,255,.08)}.admin-row:last-child{border-bottom:0}.admin-row small{display:block;color:#9fb1d0;margin-top:4px}.admin-row select,.admin-row input,.admin-form input{background:#3b4451;color:#fff;border:1px solid #566273;border-radius:8px;padding:10px}.admin-form{display:grid;gap:10px}.group-row{grid-template-columns:220px repeat(8,auto) auto auto;overflow:auto}.group-row label{white-space:nowrap;color:#dbe5f6}.danger{background:linear-gradient(135deg,#d90012,#650008)!important}.muted{color:#9fb1d0}.logs p{border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:10px}.logs small{color:#9fb1d0;margin-left:8px}@media(max-width:1000px){.admin-grid{grid-template-columns:1fr 1fr}.admin-row,.group-row{grid-template-columns:1fr}.admin-menu-panel{display:grid}.admin-tile b{font-size:30px}}

/* RedAge RP patch 0.2 */
.no-server-widget{grid-template-columns:1fr 310px}.input-like,select{background:#3b4451;color:#fff;border:1px solid #566273;border-radius:10px;padding:12px;width:100%}.form-label{display:block;margin:12px 0 7px;color:#ffd800;font-weight:900;text-transform:uppercase}.group-title{font-weight:1000;text-transform:uppercase;letter-spacing:.5px}.badge.news{background:#2574ff}.badge.danger-badge{background:#7b0009;border:1px solid #ff1628}.topic-list{display:grid;gap:12px}.topic-row{background:rgba(45,49,58,.88)!important;border:1px solid rgba(255,255,255,.08);border-radius:12px;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 18px;box-shadow:0 14px 40px rgba(0,0,0,.25)}.topic-row:hover{background:rgba(61,66,78,.95)!important}.topic-row h3{margin:0 0 6px}.topic-row p{margin:0;color:#aeb6c8}.rich-editor{overflow:hidden;border-radius:12px;border:1px solid rgba(255,255,255,.08);margin:12px 0 16px}.rich-toolbar{height:auto;min-height:54px;flex-wrap:wrap}.rich-toolbar button,.rich-toolbar select,.rich-toolbar input[type=color]{height:34px;padding:6px 10px;border-radius:7px;background:#252b34!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff;text-transform:none}.rich-toolbar input[type=color]{width:44px;padding:2px}.editor-area{min-height:230px;background:#38414d;color:#fff;width:100%;padding:18px;font-size:16px;outline:none}.editor-area:empty:before{content:attr(data-placeholder);color:#9fb1d0}.post-body h2{margin-top:0;color:#fff}.post-body blockquote{border-left:4px solid #ff1728;background:rgba(0,0,0,.18);margin:10px 0;padding:10px 14px;color:#dbe5f6}.admin-table{overflow:hidden}.group-row{display:block;background:rgba(30,33,40,.65);border:1px solid rgba(255,255,255,.08);border-radius:12px;margin-bottom:12px}.group-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;border-bottom:1px solid rgba(255,255,255,.08)}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;padding:14px}.permission-grid label{background:#17191e;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:10px}.group-actions{display:flex;gap:10px;justify-content:flex-end;padding:14px;border-top:1px solid rgba(255,255,255,.08)}
@media(max-width:1000px){.no-server-widget{grid-template-columns:1fr}.group-head,.group-actions{display:grid}.topic-row{display:grid}}

/* RedAge v03 fixes */
.sidebar .server{display:none!important}.no-server-widget{grid-template-columns:1fr 310px}.normal-topic,.topic-row{background:rgba(13,13,15,.88)!important;border:1px solid rgba(255,255,255,.08);border-radius:12px;margin-bottom:10px;color:#f5f7ff}.topic-row:hover{background:rgba(255,22,40,.08)!important}.topic-prefix{display:inline-block;border-radius:6px;color:#fff;font-weight:1000;padding:5px 9px;margin-right:8px;letter-spacing:.4px;text-transform:uppercase;box-shadow:0 8px 20px rgba(0,0,0,.25)}.topic-prefix.small{font-size:12px;padding:4px 7px}.post-body h2{font-size:28px;margin:8px 0 14px;color:#fff}.post-body h3{font-size:22px;margin:8px 0 12px;color:#fff}.post-body blockquote{border-left:4px solid #ff1728;background:rgba(255,255,255,.06);margin:12px 0;padding:12px 16px;border-radius:8px}.rich-toolbar button,.rich-toolbar select,.rich-toolbar input[type=color]{width:auto!important;min-width:auto;margin:0!important}.rich-toolbar select{background:#1a1d24;color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:8px}.rich-toolbar input[type=color]{height:36px;padding:2px;background:#1a1d24;border-radius:8px}.editor-area{min-height:230px;background:#38414d;color:#fff;width:100%;padding:18px;font-size:16px;outline:none}.editor-area:empty:before{content:attr(data-placeholder);color:#aeb6c8}.panel .editor-area{border-radius:0 0 10px 10px}.admin-groups-list{display:grid;gap:16px}.admin-group-card{background:rgba(13,13,15,.92);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:18px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.35)}.group-head.clean{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:14px;margin-bottom:14px}.group-head.clean b{display:block;font-size:20px}.group-head.clean small{display:block;color:#aeb6c8;margin-top:5px}.group-head.clean label{color:#aeb6c8;font-size:13px}.group-head.clean input{max-width:180px;margin-top:6px}.permissions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.permission-item{display:flex;align-items:center;gap:10px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:13px 14px;white-space:normal}.permission-item input,.check-line input{width:auto!important}.admin-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.delete-inline{display:flex;justify-content:flex-end;margin-top:10px}.prefix-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.check-line{display:flex;align-items:center;gap:8px}.danger{background:#8d0010!important;color:#fff!important}.group-title{font-size:18px;font-weight:1000;text-transform:uppercase}.admin-menu-panel{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}

/* v04 fixes */
.btn-like{display:inline-block}.small-btn{padding:7px 10px;font-size:12px}.danger{background:linear-gradient(135deg,#ff1728,#700009)!important;color:#fff!important;border:0;border-radius:7px;padding:10px 13px;font-weight:1000;text-transform:uppercase;cursor:pointer}.post-actions{margin-top:16px}.profile-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 0;padding-left:0}.profile-tabs button{background:transparent;border:0;color:#9fb1d0;font-weight:1000;padding:12px 5px;border-radius:0;cursor:pointer;text-transform:none}.profile-tabs button.active{color:#ffe100;border-bottom:3px solid #ffe100}.profile-tab-content{display:none}.profile-tab-content.active{display:block}.admin-form textarea{min-height:95px}.admin-row .btn{display:inline-flex;align-items:center;justify-content:center}.topic-row{display:flex;justify-content:space-between;gap:12px;align-items:center;background:rgba(13,13,15,.9);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px;margin-bottom:10px}.topic-row h3{margin:0 0 6px}.topic-row p{margin:0;color:#aeb6c8}

.profile-cover{background-size:cover!important;background-position:center!important;min-height:220px}
.avatar-photo{overflow:hidden;background:#111!important}
.avatar-photo img{width:100%;height:100%;object-fit:cover;display:block}
.muted{color:#9fb1d0}

.profile-actions{margin-left:auto;display:flex;align-items:center;gap:10px;position:relative;z-index:3}
.edit-profile-btn{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;padding:11px 16px;border-radius:7px;background:#17191e!important;border:1px solid rgba(255,255,255,.22)!important;color:#ffd800!important;font-weight:1000;text-transform:uppercase;box-shadow:0 12px 30px rgba(0,0,0,.45)}
.profile-cover > *{position:relative;z-index:2}
@media(max-width:700px){.profile-actions{margin-left:0;width:100%}.edit-profile-btn{width:100%}.cover{flex-wrap:wrap}}

/* v04 topic author profile block */
.post-author.author-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding-right:14px}
.post-avatar-link{display:inline-flex;align-items:center;justify-content:center}
.author-status{font-size:13px;font-weight:1000;text-transform:uppercase;letter-spacing:.4px;margin-top:2px}
.author-name{font-size:15px;font-weight:1000;color:#fff}
.author-name:hover{color:#ff1728}
.author-custom-status{display:block;color:#9fb1d0;font-size:12px;line-height:1.35;max-width:125px;word-break:break-word}
.main-post .author-status{font-size:14px}
@media(max-width:1000px){.post-author.author-card{align-items:flex-start;text-align:left}.author-custom-status{max-width:none}}


/* RedAge v05: background + local profile uploads */
body{background:#060607 url('/redage-bg.png') center top/cover fixed no-repeat!important;}

.profile-avatar-img{width:160px;height:160px;border-radius:50%;object-fit:cover;border:4px solid #ff1728;box-shadow:0 0 25px rgba(255,23,40,.6);background:#111;}
.post-avatar-img,.author-card .avatar-photo{width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid #ff1728;box-shadow:0 0 18px rgba(255,23,40,.45);}
.avatar-photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;}
.profile-cover,.cover{background-size:cover!important;background-position:center!important;min-height:260px;}
.profile-edit-form label{font-weight:1000;color:#fff;margin-top:8px;}
.upload-row{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px;}
.upload-row-cover{grid-template-columns:1fr;}
.upload-preview{display:flex;justify-content:center;align-items:center;}
.cover-preview{width:100%;max-height:220px;object-fit:cover;border-radius:12px;border:2px solid rgba(255,23,40,.6);box-shadow:0 0 24px rgba(255,23,40,.25);}
input[type=file]{background:#17191e;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:#fff;padding:12px;}
.author-card{align-items:center;text-align:center;}
.author-status{font-weight:1000;text-transform:uppercase;margin-top:8px;}
.author-name{display:block;font-weight:1000;color:#fff;margin-top:5px;}
.author-custom-status{display:block;color:#9fb1d0;margin-top:6px;}
@media(max-width:700px){.upload-row{grid-template-columns:1fr}.profile-avatar-img{width:130px;height:130px}}


/* RedAge v06: visible top logo + fixed upload UI */
.site-hero{height:190px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding-top:18px!important;}
.redage-logo{text-align:center;text-transform:uppercase;text-shadow:0 0 28px rgba(255,0,20,.65),0 10px 35px #000;line-height:.85;}
.redage-logo span{display:inline-block!important;font-size:62px!important;font-weight:1000!important;font-style:italic!important;letter-spacing:2px!important;color:#ff1728!important;}
.redage-logo b{display:inline-block!important;font-size:62px!important;font-weight:1000!important;font-style:italic!important;color:#fff!important;margin-left:10px!important;}
.redage-logo small{display:block!important;margin-top:8px!important;letter-spacing:9px!important;font-weight:1000!important;color:#fff!important;font-size:14px!important;}
.profile-edit-form{max-width:760px;margin:0 auto 40px;}
.profile-edit-form input[type=file]{cursor:pointer;}
.profile-avatar-img{width:160px!important;height:160px!important;border-radius:50%!important;object-fit:cover!important;border:4px solid #ff1728!important;box-shadow:0 0 25px rgba(255,23,40,.6)!important;background:#111!important;}
.post-avatar-img{width:80px!important;height:80px!important;border-radius:50%!important;object-fit:cover!important;border:3px solid #ff1728!important;box-shadow:0 0 18px rgba(255,23,40,.45)!important;}
.profile-cover{background-size:cover!important;background-position:center!important;min-height:260px!important;}


/* RedAge final fix: avatar border uses group color, glow appears only on hover */
.post-author.author-card .glow-avatar,
.post-author.author-card .avatar-photo.glow-avatar,
.post-author.author-card .avatar.big.glow-avatar{
    border:3px solid var(--glow-color, #ff1728)!important;
    box-shadow:none!important;
    transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease!important;
}

.post-author.author-card .glow-avatar:hover,
.post-author.author-card .avatar-photo.glow-avatar:hover,
.post-author.author-card .avatar.big.glow-avatar:hover{
    border-color:var(--glow-color, #ff1728)!important;
    box-shadow:
        0 0 12px var(--glow-color, #ff1728),
        0 0 25px var(--glow-color, #ff1728),
        0 0 45px var(--glow-color, #ff1728)!important;
    transform:translateY(-2px) scale(1.06)!important;
}

.post-author.author-card .glow-avatar img{
    border-radius:50%!important;
}


/* RedAge editor upgrade */
.redage-topic-form{
  padding:24px!important;
  border:1px solid rgba(255,23,40,.18)!important;
  background:
    linear-gradient(180deg,rgba(23,23,28,.96),rgba(8,8,10,.94))!important;
  box-shadow:0 24px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04)!important;
}

.redage-topic-form h1{
  margin-top:0;
  text-transform:uppercase;
  letter-spacing:.5px;
  text-shadow:0 0 22px rgba(255,23,40,.25);
}

.topic-title-input{
  font-size:18px!important;
  font-weight:900!important;
  border:1px solid rgba(255,23,40,.28)!important;
  background:rgba(8,10,14,.9)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
  margin:12px 0 14px!important;
}

.topic-title-input:focus,
.editor-area:focus,
.input-like:focus,
.editor-select:focus{
  outline:none!important;
  border-color:#ff1728!important;
  box-shadow:0 0 0 3px rgba(255,23,40,.16),0 0 28px rgba(255,23,40,.16)!important;
}

.rich-editor{
  border:1px solid rgba(255,23,40,.22)!important;
  border-radius:16px!important;
  background:rgba(0,0,0,.24)!important;
  overflow:hidden!important;
}

.redage-editor-toolbar{
  min-height:64px!important;
  height:auto!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:12px!important;
  background:
    linear-gradient(180deg,rgba(39,44,55,.98),rgba(20,22,28,.98))!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}

.toolbar-group{
  display:flex;
  align-items:center;
  gap:7px;
  padding:6px;
  border-radius:12px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
}

.tool-btn,
.rich-toolbar .tool-btn{
  height:38px!important;
  min-width:38px!important;
  padding:7px 11px!important;
  border-radius:10px!important;
  background:rgba(19,22,29,.95)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
  text-transform:none!important;
  box-shadow:none!important;
}

.tool-btn:hover,
.rich-toolbar .tool-btn:hover{
  border-color:rgba(255,23,40,.65)!important;
  box-shadow:0 0 18px rgba(255,23,40,.22)!important;
  transform:translateY(-1px);
}

.clean-btn{
  color:#ffd800!important;
}

.editor-select{
  width:auto!important;
  min-width:150px!important;
  height:38px!important;
  padding:7px 12px!important;
  border-radius:10px!important;
  background:rgba(19,22,29,.95)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
}

.color-toolbar{
  gap:10px!important;
}

.color-label{
  font-weight:1000;
  color:#ffd800;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.4px;
}

.active-color-dot{
  width:22px;
  height:22px;
  border-radius:7px;
  display:inline-block;
  border:2px solid rgba(255,255,255,.8);
  background:#fff;
  box-shadow:0 0 14px #fff;
}

.editor-color-input{
  width:44px!important;
  height:34px!important;
  border-radius:10px!important;
  padding:3px!important;
  cursor:pointer;
  background:rgba(19,22,29,.95)!important;
  border:1px solid rgba(255,255,255,.12)!important;
}

.image-upload-btn{
  color:#7ee787!important;
}

.editor-image-input{
  display:none!important;
}

.editor-area{
  min-height:280px!important;
  background:linear-gradient(180deg,rgba(47,55,68,.92),rgba(35,40,50,.92))!important;
  border:0!important;
  padding:22px!important;
  line-height:1.6!important;
  font-size:16px!important;
}

.editor-area img,
.editor-uploaded-image{
  max-width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  margin:10px 0;
}

.reply-editor .editor-area{
  min-height:190px!important;
}

.editor-bottom{
  background:linear-gradient(180deg,rgba(19,20,24,.98),rgba(12,12,14,.98))!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
}

@media(max-width:800px){
  .toolbar-group{width:100%;flex-wrap:wrap}
  .editor-select{width:100%!important}
  .redage-editor-toolbar{align-items:stretch!important}
}


/* RedAge custom color palette */
.redage-color-picker{
  position:relative;
}

.color-trigger{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:120px!important;
}

.color-palette-popover{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:310px;
  padding:14px;
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(28,31,39,.98),rgba(10,10,12,.98));
  border:1px solid rgba(255,23,40,.32);
  box-shadow:0 24px 80px rgba(0,0,0,.75),0 0 35px rgba(255,23,40,.18);
  z-index:1000;
  display:none;
}

.redage-color-picker.open .color-palette-popover{
  display:block;
}

.palette-title{
  font-size:13px;
  font-weight:1000;
  text-transform:uppercase;
  color:#ffd800;
  letter-spacing:.6px;
  margin-bottom:10px;
}

.palette-grid{
  display:grid;
  grid-template-columns:repeat(9,1fr);
  gap:8px;
}

.palette-color{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  padding:0!important;
  border-radius:8px!important;
  background:var(--c)!important;
  border:2px solid rgba(255,255,255,.18)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.35)!important;
}

.palette-color:hover,
.palette-color.active{
  border-color:#ffd800!important;
  transform:translateY(-2px) scale(1.08);
  box-shadow:0 0 18px var(--c),0 10px 28px rgba(0,0,0,.45)!important;
}

.hex-color-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:13px;
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
}

.hex-color-row span{
  font-size:12px;
  color:#dbe5f6;
  font-weight:900;
  text-transform:uppercase;
}

.palette-hint{
  margin-top:10px;
  color:#9fb1d0;
  font-size:12px;
  line-height:1.35;
}

@media(max-width:800px){
  .color-palette-popover{
    width:min(310px, calc(100vw - 44px));
  }
}


/* Inline palette fix */
.redage-color-picker,
.color-palette-popover{
  position:static !important;
  display:none !important;
}

.color-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
}

.palette-grid{
  display:flex !important;
  gap:6px;
}

.palette-color{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  border-radius:6px !important;
  background:var(--c) !important;
}

.palette-title,
.palette-hint,
.hex-color-row{
  display:none !important;
}


/* Editor preview */
.preview-toolbar-group{
  margin-left:auto;
}

.preview-toggle-btn.active{
  color:#ffd800!important;
  border-color:#ffd800!important;
  box-shadow:0 0 18px rgba(255,216,0,.22)!important;
}

.editor-preview{
  margin:16px;
  padding:22px;
  border-radius:14px;
  background:rgba(5,6,8,.72);
  border:1px solid rgba(255,216,0,.22);
  box-shadow:inset 0 0 24px rgba(0,0,0,.35),0 0 30px rgba(255,216,0,.08);
  color:#f5f7ff;
  line-height:1.6;
  min-height:120px;
}

.editor-preview:before{
  content:"Попередній перегляд";
  display:block;
  margin-bottom:12px;
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.editor-preview img{
  max-width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  margin:10px 0;
}

@media(max-width:800px){
  .preview-toolbar-group{
    margin-left:0;
  }
}


/* Final RedAge toolbar layout fix */
.redage-editor-toolbar{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  min-height:76px!important;
  padding:12px!important;
}

.toolbar-group{
  flex:0 0 auto;
}

.inline-color-toolbar{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}

.inline-color-toolbar .color-label{
  font-size:17px!important;
  line-height:1!important;
  color:#ffd800!important;
  margin-right:2px;
}

.palette-grid,
.color-palette-popover,
.redage-color-picker{
  position:static!important;
}

.color-palette-popover{
  display:none!important;
}

.palette-color{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  padding:0!important;
  border-radius:8px!important;
  border:2px solid rgba(255,255,255,.34)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.35)!important;
  cursor:pointer!important;
}

.palette-color.color-red{background:#ff1728!important;}
.palette-color.color-yellow{background:#ffd800!important;}
.palette-color.color-green{background:#22c55e!important;}
.palette-color.color-blue{background:#2aa8ff!important;}
.palette-color.color-purple{background:#8b5cf6!important;}
.palette-color.color-white{background:#ffffff!important;}
.palette-color.color-black{background:#000000!important;}

.palette-color:hover,
.palette-color.active{
  border-color:#ffd800!important;
  transform:translateY(-2px) scale(1.08);
  box-shadow:0 0 16px currentColor,0 10px 28px rgba(0,0,0,.45)!important;
}

.media-style-group{
  margin-left:auto;
}

.preview-toggle-btn.active{
  color:#ffd800!important;
  border-color:#ffd800!important;
  box-shadow:0 0 18px rgba(255,216,0,.28)!important;
}

.editor-preview{
  margin:16px;
  padding:22px;
  border-radius:14px;
  background:rgba(5,6,8,.72);
  border:1px solid rgba(255,216,0,.28);
  box-shadow:inset 0 0 24px rgba(0,0,0,.35),0 0 30px rgba(255,216,0,.08);
  color:#f5f7ff;
  line-height:1.6;
  min-height:120px;
}

.editor-preview:before{
  content:"Попередній перегляд";
  display:block;
  margin-bottom:12px;
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.editor-preview img{
  max-width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  margin:10px 0;
}

@media(max-width:1000px){
  .media-style-group{
    margin-left:0;
  }
}


/* Full icon toolbar like forum editor */
.full-icon-toolbar{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding:10px 14px!important;
  min-height:58px!important;
  background:linear-gradient(180deg,rgba(43,48,57,.98),rgba(24,27,33,.98))!important;
}

.full-icon-toolbar .toolbar-group{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.toolbar-divider{
  width:1px;
  height:28px;
  background:rgba(255,255,255,.13);
  margin:0 4px;
}

.icon-tool{
  height:34px!important;
  min-width:34px!important;
  padding:6px 9px!important;
  border-radius:7px!important;
  background:transparent!important;
  border:1px solid transparent!important;
  color:#dbe5f6!important;
  font-weight:1000!important;
  text-transform:none!important;
  box-shadow:none!important;
}

.icon-tool:hover,
.icon-tool.active{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,216,0,.42)!important;
  color:#ffd800!important;
}

.icon-select{
  height:34px!important;
  width:auto!important;
  min-width:44px!important;
  padding:5px 8px!important;
  border-radius:7px!important;
  background:transparent!important;
  border:1px solid transparent!important;
  color:#dbe5f6!important;
  font-weight:900!important;
}

.icon-select:hover,
.icon-select:focus{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,216,0,.42)!important;
}

.color-bar{
  display:flex!important;
  max-width:0;
  overflow:hidden;
  opacity:0;
  transition:.22s ease;
}

.color-bar.open,
.full-icon-toolbar:hover .color-bar{
  max-width:260px;
  opacity:1;
}

.full-icon-toolbar .palette-color{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  border-radius:6px!important;
}

.toolbar-right{
  margin-left:auto;
}

.preview-toggle-btn{
  width:auto!important;
  min-width:160px!important;
  border:1px solid rgba(255,216,0,.55)!important;
}

.editor-table{
  border-collapse:collapse;
  width:100%;
  margin:12px 0;
}

.editor-table td{
  border:1px solid rgba(255,255,255,.25);
  padding:10px;
  background:rgba(255,255,255,.04);
}

.editor-fullscreen{
  position:fixed!important;
  inset:18px!important;
  z-index:9999!important;
  overflow:auto!important;
  margin:0!important;
}

.editor-fullscreen .editor-area{
  min-height:55vh!important;
}

@media(max-width:900px){
  .toolbar-right{
    margin-left:0;
  }
  .preview-toggle-btn{
    min-width:auto!important;
  }
}


/* Toolbar cleanup: no emoji, better eraser, underline, more colors */
.icon-tool u{
  text-underline-offset:3px;
  text-decoration-thickness:2px;
}

.color-bar{
  max-width:0;
}

.color-bar.open,
.full-icon-toolbar:hover .color-bar{
  max-width:520px!important;
  opacity:1!important;
}

.palette-color.color-silver{background:#cbd5e1!important;}
.palette-color.color-gray{background:#9fb1d0!important;}
.palette-color.color-darkred{background:#8B0000!important;}
.palette-color.color-orange{background:#ff8a00!important;}
.palette-color.color-mint{background:#00ffaa!important;}
.palette-color.color-cyan{background:#00e5ff!important;}
.palette-color.color-deepblue{background:#2574ff!important;}
.palette-color.color-pink{background:#ff4fd8!important;}

.custom-color-mini{
  width:24px;
  height:24px;
  min-width:24px;
  border-radius:6px;
  display:inline-grid;
  place-items:center;
  position:relative;
  cursor:pointer;
  border:2px solid rgba(255,255,255,.34);
  background:linear-gradient(135deg,#ff1728,#ffd800,#22c55e,#2aa8ff,#8b5cf6);
  color:#fff;
  font-weight:1000;
  overflow:hidden;
}

.custom-color-mini span{
  text-shadow:0 1px 4px #000;
  pointer-events:none;
}

.custom-color-mini input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.full-icon-toolbar .palette-color{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
}

@media(max-width:1000px){
  .color-bar,
  .color-bar.open,
  .full-icon-toolbar:hover .color-bar{
    max-width:100%!important;
    flex-wrap:wrap;
  }
}


/* Better links inside posts/editor */
.post-body a,
.editor-area a,
.editor-preview a{
  color:#ffd800;
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
}

.post-body a:hover,
.editor-area a:hover,
.editor-preview a:hover{
  color:#ff1728;
  text-shadow:0 0 12px rgba(255,23,40,.55);
}


/* ACP action logs filter */
.logs-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  margin-bottom:12px;
}

.logs-filter{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:10px;
  align-items:center;
  margin:12px 0 16px;
}

.logs-filter input{
  background:#17191e!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
}

.log-row{
  display:grid;
  grid-template-columns:180px 1fr auto;
  gap:12px;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:10px 0;
}

.log-row b{
  color:#ffd800;
}

.log-row small{
  color:#9fb1d0;
  white-space:nowrap;
}

@media(max-width:800px){
  .logs-filter{
    grid-template-columns:1fr;
  }

  .log-row{
    grid-template-columns:1fr;
    gap:4px;
  }
}


/* Active users avatar final hard fix */
.sidebar .user-mini.active-user-mini{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    overflow:hidden!important;
}

.sidebar .user-mini.active-user-mini .sidebar-avatar-photo,
.sidebar .user-mini.active-user-mini .sidebar-avatar-letter{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    aspect-ratio:1/1!important;
    border-radius:50%!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 42px!important;
    border:2px solid var(--glow-color,#ff1728)!important;
    box-shadow:0 0 10px var(--glow-color,#ff1728)!important;
    background:#111!important;
    position:relative!important;
}

.sidebar .user-mini.active-user-mini .sidebar-avatar-photo img{
    display:block!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    object-fit:cover!important;
    object-position:center!important;
    border-radius:50%!important;
    padding:0!important;
    margin:0!important;
    position:static!important;
    transform:none!important;
}

.sidebar .user-mini.active-user-mini .sidebar-avatar-letter{
    background:#1385c7!important;
    color:#c8efff!important;
    font-size:18px!important;
    font-weight:1000!important;
    line-height:1!important;
}

.sidebar .user-mini.active-user-mini .active-user-info{
    min-width:0!important;
    overflow:hidden!important;
}

.sidebar .user-mini.active-user-mini .active-user-info b,
.sidebar .user-mini.active-user-mini .active-user-info small{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:normal!important;
    line-height:1.2!important;
}

.sidebar .user-mini.active-user-mini .active-user-info small{
    color:#aeb6c8!important;
    margin-top:3px!important;
}


/* RedAge ACP redesign */
.acp-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:16px;
  padding:34px 36px;
  border-radius:18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,23,40,.22), transparent 34%),
    linear-gradient(135deg, rgba(20,20,24,.96), rgba(9,9,12,.92));
  border:1px solid rgba(255,23,40,.28);
  box-shadow:0 28px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
}

.acp-hero:before{
  content:"";
  position:absolute;
  inset:auto -120px -120px auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,23,40,.28), transparent 62%);
  pointer-events:none;
}

.acp-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  letter-spacing:2px;
  text-transform:uppercase;
}

.acp-hero h1{
  margin:0;
  font-size:38px;
  line-height:1;
  text-transform:uppercase;
  text-shadow:0 0 24px rgba(255,23,40,.35);
}

.acp-hero p{
  margin:12px 0 0;
  color:#aeb6c8;
  font-size:15px;
}

.acp-hero-right{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.acp-admin-badge{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 15px;
  border-radius:14px;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.09);
}

.acp-admin-badge span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg,#ff1728,#8d0010);
  box-shadow:0 0 18px rgba(255,23,40,.35);
}

.acp-admin-badge b{
  display:block;
  color:#fff;
  font-weight:1000;
}

.acp-admin-badge small{
  color:#9fb1d0;
}

.acp-forum-btn{
  box-shadow:0 0 22px rgba(255,23,40,.28);
}

.acp-stats-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-bottom:16px;
}

.acp-stat-card{
  position:relative;
  overflow:hidden;
  min-height:118px;
  display:flex;
  align-items:center;
  gap:15px;
  padding:20px;
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(20,20,24,.94),rgba(10,10,12,.92));
  border:1px solid rgba(255,216,0,.18);
  box-shadow:0 20px 60px rgba(0,0,0,.38);
  transition:.22s ease;
}

.acp-stat-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,23,40,.55);
  box-shadow:0 26px 80px rgba(0,0,0,.52),0 0 30px rgba(255,23,40,.16);
}

.acp-stat-card:after{
  content:"";
  position:absolute;
  inset:auto -40px -55px auto;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(255,23,40,.12);
}

.acp-stat-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,23,40,.13);
  border:1px solid rgba(255,23,40,.26);
  font-size:22px;
}

.acp-stat-card b{
  display:block;
  color:#ffd800;
  font-size:40px;
  line-height:.9;
  font-weight:1000;
}

.acp-stat-card span{
  display:block;
  margin-top:8px;
  color:#dbe5f6;
  font-weight:1000;
  text-transform:uppercase;
  font-size:13px;
}

.acp-dashboard{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:16px;
}

.acp-panel{
  border-radius:18px;
  padding:20px;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 75px rgba(0,0,0,.45);
}

.acp-section-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.acp-section-head h2{
  margin:0;
  color:#fff;
  text-transform:uppercase;
  font-size:20px;
}

.acp-section-head p{
  margin:6px 0 0;
  color:#9fb1d0;
}

.acp-actions-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.acp-action-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:17px;
  border-radius:15px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  transition:.22s ease;
}

.acp-action-card:hover{
  background:rgba(255,23,40,.1);
  border-color:rgba(255,23,40,.42);
  transform:translateX(4px);
}

.acp-action-card > span{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#17191e;
  border:1px solid rgba(255,216,0,.18);
  font-size:21px;
}

.acp-action-card b{
  display:block;
  color:#ffd800;
  font-size:16px;
}

.acp-action-card small{
  display:block;
  margin-top:4px;
  color:#9fb1d0;
  line-height:1.25;
}

.acp-status-list{
  display:grid;
  gap:10px;
}

.acp-status-list div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.acp-status-list span{
  color:#aeb6c8;
  font-weight:900;
}

.acp-status-list b{
  color:#ffd800;
  font-size:20px;
}

.acp-online-pill{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 14px;
  border-radius:14px;
  background:rgba(34,197,94,.1);
  border:1px solid rgba(34,197,94,.25);
  color:#7ee787;
  font-weight:1000;
}

.acp-online-pill i{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 16px #22c55e;
}

@media(max-width:1100px){
  .acp-stats-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .acp-dashboard{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .acp-hero{
    display:grid;
    padding:24px;
  }
  .acp-hero h1{
    font-size:30px;
  }
  .acp-stats-grid,
  .acp-actions-grid{
    grid-template-columns:1fr;
  }
}


/* RedAge ACP unified page style */
.acp-stats-grid{
  display:none!important;
}

.acp-dashboard{
  grid-template-columns:1fr 320px!important;
}

.acp-quick-actions{
  min-height:260px;
}

.acp-status-compact{
  align-self:start;
}

.acp-sub-head{
  position:relative;
  overflow:hidden;
  padding:30px 32px!important;
  border-radius:18px!important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255,23,40,.18), transparent 34%),
    linear-gradient(135deg, rgba(20,20,24,.95), rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,23,40,.22)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.48)!important;
}

.acp-sub-head h1{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.3px;
  text-shadow:0 0 22px rgba(255,23,40,.28);
}

.acp-form-card,
.acp-table,
.acp-list .admin-group-card,
.admin-group-card,
.admin-table,
.widget.logs{
  border-radius:18px!important;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 24px 75px rgba(0,0,0,.45)!important;
}

.acp-form-card{
  padding:24px!important;
}

.acp-form-card h2,
.admin-group-card h2,
.widget.logs h3{
  text-transform:uppercase;
  letter-spacing:.4px;
}

.admin-form input,
.admin-form select,
.forum-edit-grid input,
.group-edit-fields input,
.prefix-edit-grid input,
.prefix-edit-grid select,
.admin-row select,
.logs-filter input{
  background:rgba(55,65,81,.92)!important;
  border:1px solid rgba(148,163,184,.35)!important;
  color:#fff!important;
  border-radius:10px!important;
}

.admin-form input:focus,
.admin-form select:focus,
.forum-edit-grid input:focus,
.group-edit-fields input:focus,
.prefix-edit-grid input:focus,
.prefix-edit-grid select:focus,
.admin-row select:focus,
.logs-filter input:focus{
  outline:none!important;
  border-color:#ff1728!important;
  box-shadow:0 0 0 3px rgba(255,23,40,.16)!important;
}

.group-edit-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(160px,1fr));
  gap:10px;
  align-items:end;
}

.group-edit-fields label{
  color:#aeb6c8;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.group-edit-fields input{
  margin-top:6px;
  width:100%!important;
  max-width:none!important;
}

.forum-edit-grid{
  display:grid;
  grid-template-columns:1fr 1fr 2fr 90px;
  gap:10px;
  margin-top:14px;
}

.forum-row-actions{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.bottom-actions{
  padding-top:14px;
  margin-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
}

.acp-edit-card{
  transition:.22s ease;
}

.acp-edit-card:hover{
  border-color:rgba(255,23,40,.35)!important;
  transform:translateY(-2px);
}

.permission-item{
  transition:.18s ease;
}

.permission-item:hover{
  border-color:rgba(255,216,0,.26)!important;
  background:rgba(255,216,0,.045)!important;
}

.log-row{
  grid-template-columns:180px 1fr auto!important;
}

.log-row b{
  color:#ffd800!important;
}

@media(max-width:900px){
  .acp-dashboard{
    grid-template-columns:1fr!important;
  }

  .group-edit-fields,
  .forum-edit-grid{
    grid-template-columns:1fr;
  }

  .forum-row-actions{
    justify-content:flex-start;
  }

  .log-row{
    grid-template-columns:1fr!important;
  }
}


/* Top users page avatar + filters fix */
.top-users-page{
  grid-template-columns:240px repeat(3,1fr)!important;
  align-items:start!important;
}

.top-users-menu{
  border-radius:18px!important;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 24px 75px rgba(0,0,0,.45)!important;
}

.top-users-menu h3{
  color:#ffd800!important;
  text-transform:uppercase;
}

.top-filter{
  display:block!important;
  width:100%!important;
  text-align:left!important;
  background:transparent!important;
  border:1px solid transparent!important;
  color:#f5f7ff!important;
  padding:10px 0!important;
  border-radius:8px!important;
  text-transform:none!important;
  box-shadow:none!important;
}

.top-filter:hover,
.top-filter.active{
  color:#ffd800!important;
  padding-left:10px!important;
  border-color:rgba(255,216,0,.18)!important;
  background:rgba(255,216,0,.05)!important;
}

.top-search{
  margin-top:14px!important;
  background:rgba(55,65,81,.92)!important;
  border:1px solid rgba(148,163,184,.35)!important;
}

.top-ranking-card{
  min-height:285px!important;
  border-radius:18px!important;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 24px 75px rgba(0,0,0,.45)!important;
}

.top-ranking-card h2{
  color:#dfe3ee!important;
  line-height:1.15!important;
}

.top-rank-user{
  grid-template-columns:48px 1fr auto!important;
  gap:12px!important;
  margin:12px 0!important;
}

.top-avatar{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  overflow:hidden!important;
  border:2px solid var(--glow-color,#ff1728)!important;
  box-shadow:0 0 12px var(--glow-color,#ff1728)!important;
  background:#1385c7!important;
  color:#c8efff!important;
  font-weight:1000!important;
  font-size:20px!important;
}

.top-avatar-photo img{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  border-radius:50%!important;
}

.top-details-btn{
  display:block!important;
  text-align:center!important;
  padding:12px 16px!important;
  border-radius:8px!important;
  margin-top:14px!important;
}

@media(max-width:1100px){
  .top-users-page{
    grid-template-columns:1fr!important;
  }
}


/* Home page redesign */
.home-hero-panel{
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  margin-bottom:18px;
  padding:34px 36px;
  border-radius:20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,23,40,.24), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255,216,0,.12), transparent 28%),
    linear-gradient(135deg, rgba(20,20,24,.96), rgba(8,8,10,.92));
  border:1px solid rgba(255,23,40,.28);
  box-shadow:0 30px 95px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.05);
}

.home-hero-panel:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
  pointer-events:none;
}

.home-kicker{
  display:inline-block;
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.home-hero-panel h1{
  margin:0;
  font-size:38px;
  line-height:1;
  text-transform:uppercase;
  text-shadow:0 0 26px rgba(255,23,40,.36);
}

.home-hero-panel p{
  margin:12px 0 0;
  max-width:660px;
  color:#aeb6c8;
  line-height:1.5;
}

.home-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  min-width:330px;
  position:relative;
  z-index:2;
}

.home-hero-stats div{
  padding:14px 16px;
  border-radius:14px;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.home-hero-stats b{
  display:block;
  color:#ffd800;
  font-size:30px;
  line-height:1;
}

.home-hero-stats span{
  display:block;
  margin-top:6px;
  color:#dbe5f6;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
}

.home-layout{
  gap:18px!important;
}

.home-forum-main{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.home-section-block{
  margin-bottom:18px;
  padding:20px;
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 75px rgba(0,0,0,.45);
}

.home-section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.home-section-title h2{
  margin:0;
  color:#ff1728;
  text-transform:uppercase;
  font-size:19px;
  letter-spacing:.4px;
  text-shadow:0 0 18px rgba(255,23,40,.28);
}

.home-section-title span{
  color:#9fb1d0;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
}

.home-forum-grid{
  display:grid;
  gap:12px;
}

.home-forum-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:56px 1fr 150px 210px;
  gap:14px;
  align-items:center;
  padding:18px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  transition:.22s ease;
}

.home-forum-card:hover{
  transform:translateY(-3px);
  background:rgba(255,23,40,.08);
  border-color:rgba(255,23,40,.38);
  box-shadow:0 22px 70px rgba(0,0,0,.44),0 0 28px rgba(255,23,40,.13);
}

.home-forum-card:after{
  content:"";
  position:absolute;
  inset:auto -70px -80px auto;
  width:160px;
  height:160px;
  border-radius:50%;
  background:rgba(255,23,40,.1);
  opacity:0;
  transition:.22s ease;
}

.home-forum-card:hover:after{
  opacity:1;
}

.home-forum-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg,#ff1728,#760009);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 0 22px rgba(255,23,40,.24);
  font-size:23px;
}

.home-forum-content h3{
  margin:0 0 7px;
  color:#fff;
  text-transform:uppercase;
  font-size:16px;
}

.home-forum-content p{
  margin:0;
  color:#9fb1d0;
  line-height:1.35;
}

.home-forum-content .badge{
  margin-top:10px;
}

.home-forum-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.home-forum-meta div{
  padding:10px;
  border-radius:12px;
  background:rgba(0,0,0,.26);
  border:1px solid rgba(255,255,255,.06);
  text-align:center;
}

.home-forum-meta small,
.home-last-topic small{
  display:block;
  color:#9fb1d0;
  font-size:11px;
  text-transform:uppercase;
  font-weight:900;
}

.home-forum-meta b{
  display:block;
  color:#ffd800;
  font-size:20px;
  margin-top:4px;
}

.home-last-topic{
  min-width:0;
}

.home-last-topic b{
  display:block;
  margin-top:5px;
  color:#dbe5f6;
  font-size:13px;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
}

.home-sidebar{
  gap:14px!important;
}

.home-widget{
  border-radius:20px!important;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 24px 75px rgba(0,0,0,.45)!important;
}

.home-widget-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.home-widget-head h3{
  margin:0!important;
  color:#fff;
}

.home-widget-head span{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,23,40,.13);
  border:1px solid rgba(255,23,40,.3);
  color:#ffd800;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
}

.home-user-mini{
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  transition:.2s ease;
}

.home-user-mini:hover{
  background:rgba(255,23,40,.08);
  border-color:rgba(255,23,40,.28);
  transform:translateX(3px);
}

.home-topic-mini{
  padding:13px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  margin:10px 0!important;
  transition:.2s ease;
}

.home-topic-mini:hover{
  background:rgba(255,216,0,.055);
  border-color:rgba(255,216,0,.22);
  transform:translateX(3px);
}

.home-topic-mini b{
  color:#f5f7ff;
}

.home-topic-mini small{
  display:block;
  margin-top:5px;
  color:#9fb1d0;
}

@media(max-width:1100px){
  .home-hero-panel{
    display:grid;
  }

  .home-hero-stats{
    min-width:0;
  }

  .home-forum-card{
    grid-template-columns:56px 1fr;
  }

  .home-forum-meta,
  .home-last-topic{
    grid-column:2;
  }
}

@media(max-width:700px){
  .home-hero-panel{
    padding:24px;
  }

  .home-hero-panel h1{
    font-size:30px;
  }

  .home-hero-stats{
    grid-template-columns:1fr;
  }

  .home-forum-card{
    grid-template-columns:1fr;
  }

  .home-forum-icon,
  .home-forum-meta,
  .home-last-topic{
    grid-column:auto;
  }
}


/* Home forum card right column fix */
.home-forum-card{
  grid-template-columns:56px minmax(0,1fr) 360px!important;
}

.home-forum-meta{
  grid-column:3!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(92px,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
}

.home-last-topic{
  grid-column:3!important;
  margin-top:8px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  background:rgba(0,0,0,.22)!important;
  border:1px solid rgba(255,255,255,.06)!important;
  min-width:0!important;
}

.home-forum-meta small,
.home-last-topic small{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.home-last-topic b{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media(max-width:1200px){
  .home-forum-card{
    grid-template-columns:56px minmax(0,1fr)!important;
  }

  .home-forum-meta,
  .home-last-topic{
    grid-column:2!important;
  }
}

@media(max-width:700px){
  .home-forum-card{
    grid-template-columns:1fr!important;
  }

  .home-forum-meta,
  .home-last-topic{
    grid-column:auto!important;
  }

  .home-forum-meta{
    grid-template-columns:1fr 1fr!important;
  }
}


/* RedAge forum/category/topic redesign trial */
.forum-category-hero,
.topic-hero-head{
  position:relative;
  overflow:hidden;
  padding:32px 34px!important;
  border-radius:20px!important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,23,40,.24), transparent 34%),
    linear-gradient(135deg, rgba(20,20,24,.96), rgba(8,8,10,.92))!important;
  border:1px solid rgba(255,23,40,.28)!important;
  box-shadow:0 30px 95px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.05)!important;
  margin-bottom:18px!important;
}

.forum-category-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.forum-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  letter-spacing:2px;
  text-transform:uppercase;
}

.forum-category-hero h1,
.topic-hero-head h1{
  margin:0;
  text-transform:uppercase;
  font-size:34px;
  text-shadow:0 0 24px rgba(255,23,40,.34);
}

.forum-category-hero p,
.topic-hero-head p{
  margin:10px 0 0;
  color:#aeb6c8;
  line-height:1.45;
}

.forum-category-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.forum-category-stat{
  min-width:92px;
  padding:13px 16px;
  border-radius:14px;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.forum-category-stat b{
  display:block;
  color:#ffd800;
  font-size:30px;
  line-height:1;
}

.forum-category-stat span{
  display:block;
  margin-top:5px;
  color:#dbe5f6;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
}

.topic-board{
  border-radius:20px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 75px rgba(0,0,0,.45);
}

.topic-board-head{
  display:grid;
  grid-template-columns:1fr 170px 110px;
  gap:14px;
  padding:14px 18px;
  background:rgba(0,0,0,.34);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.6px;
}

.topic-card-row{
  display:grid;
  grid-template-columns:1fr 170px 110px;
  gap:14px;
  align-items:center;
  padding:17px 18px;
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:.22s ease;
}

.topic-card-row:last-child{
  border-bottom:0;
}

.topic-card-row:hover{
  background:rgba(255,23,40,.075);
  transform:translateX(4px);
}

.topic-card-main{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-width:0;
}

.topic-card-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg,#ff1728,#760009);
  box-shadow:0 0 20px rgba(255,23,40,.25);
}

.topic-card-main h3{
  margin:0 0 7px;
  color:#fff;
  font-size:17px;
  line-height:1.25;
}

.topic-card-main p{
  margin:0;
  color:#9fb1d0;
  font-size:13px;
}

.topic-card-author b,
.topic-card-count b{
  display:block;
  color:#ffd800;
  font-weight:1000;
}

.topic-card-author small,
.topic-card-count small{
  display:block;
  color:#9fb1d0;
  margin-top:4px;
  font-size:12px;
}

.topic-card-count{
  text-align:center;
  padding:10px;
  border-radius:12px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.06);
}

.topic-locked-badge{
  display:inline-block;
  margin-left:8px;
  padding:3px 7px;
  border-radius:999px;
  color:#fff;
  background:#8d0010;
  font-size:11px;
}

.forum-empty{
  margin:18px!important;
  border-radius:14px!important;
}

.topic-hero-head{
  align-items:flex-start!important;
}

.topic-hero-head > div:first-child{
  min-width:0;
}

.topic-hero-head h1{
  line-height:1.18;
}

.topic-hero-head > div:last-child{
  padding:10px;
  border-radius:14px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.06);
}

.redage-post-card{
  position:relative;
  overflow:hidden;
  grid-template-columns:190px minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
  border-radius:20px!important;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 24px 75px rgba(0,0,0,.45)!important;
}

.redage-post-card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,#ff1728,#ffd800,#ff1728);
  opacity:.75;
}

.redage-post-card .post-author.author-card{
  padding:22px 16px!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  background:rgba(0,0,0,.22);
}

.redage-post-card .avatar.big,
.redage-post-card .avatar-photo{
  width:86px!important;
  height:86px!important;
  font-size:34px!important;
}

.redage-post-card .author-status{
  padding:6px 8px;
  border-radius:8px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.06);
  max-width:150px;
}

.redage-post-card .author-name{
  font-size:16px!important;
  text-shadow:0 0 14px rgba(255,23,40,.24);
}

.redage-post-body{
  padding:24px 26px!important;
  min-height:150px;
  line-height:1.68;
  color:#f5f7ff;
}

.redage-post-body img{
  max-width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 55px rgba(0,0,0,.45);
}

.redage-post-body blockquote{
  border-left:4px solid #ff1728!important;
  background:rgba(255,23,40,.07)!important;
  border-radius:10px!important;
}

.topic-first-post{
  border-color:rgba(255,23,40,.22)!important;
}

.topic-locked-alert{
  border-radius:16px!important;
  border:1px solid rgba(255,216,0,.22)!important;
  background:rgba(255,216,0,.07)!important;
  color:#ffd800!important;
}

.redage-reply-box{
  margin-top:20px!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 24px 75px rgba(0,0,0,.45)!important;
}

.post-actions{
  margin-top:22px!important;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
}

@media(max-width:900px){
  .forum-category-hero{
    display:grid;
  }

  .topic-board-head{
    display:none;
  }

  .topic-card-row{
    grid-template-columns:1fr;
  }

  .topic-card-author,
  .topic-card-count{
    text-align:left;
  }

  .redage-post-card{
    grid-template-columns:1fr!important;
  }

  .redage-post-card .post-author.author-card{
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }

  .topic-hero-head{
    display:grid!important;
  }
}


/* RedAge profile redesign */
.redage-profile-card{
  overflow:hidden!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9))!important;
  border:1px solid rgba(255,23,40,.22)!important;
  box-shadow:0 30px 95px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.05)!important;
}

.redage-profile-cover{
  position:relative;
  min-height:280px;
  display:grid;
  grid-template-columns:170px minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  padding:34px;
  background:
    linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.36)),
    radial-gradient(circle at 15% 10%,rgba(255,23,40,.26),transparent 34%);
  background-size:cover;
  background-position:center;
}

.redage-profile-cover:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:90px;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.72));
  pointer-events:none;
}

.redage-profile-avatar-wrap,
.redage-profile-main,
.redage-profile-actions{
  position:relative;
  z-index:2;
}

.redage-profile-avatar{
  width:150px;
  height:150px;
  display:grid;
  place-items:center;
  border-radius:50%;
  overflow:hidden;
  border:4px solid var(--profile-glow,#ff1728);
  background:#111;
  color:#c8efff;
  font-size:70px;
  font-weight:1000;
  box-shadow:0 0 0 6px rgba(0,0,0,.35),0 0 32px var(--profile-glow,#ff1728);
}

.redage-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:50%;
}

.profile-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:#ffd800;
  font-size:12px;
  font-weight:1000;
  letter-spacing:2px;
  text-transform:uppercase;
}

.redage-profile-main h1{
  margin:0;
  font-size:48px;
  line-height:1;
  text-shadow:0 0 28px rgba(255,23,40,.34),0 8px 28px #000;
}

.redage-profile-rank{
  margin:13px 0 0;
  font-size:18px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:1px;
}

.redage-profile-status{
  max-width:580px;
  margin:14px 0 0;
  color:#dbe5f6;
  line-height:1.45;
}

.redage-profile-actions{
  justify-self:end;
}

.redage-profile-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:rgba(0,0,0,.28);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.redage-profile-stats div{
  padding:22px;
  text-align:center;
  border-right:1px solid rgba(255,255,255,.06);
}

.redage-profile-stats div:last-child{
  border-right:0;
}

.redage-profile-stats small{
  display:block;
  color:#9fb1d0;
  font-weight:900;
  text-transform:uppercase;
}

.redage-profile-stats b{
  display:block;
  margin-top:6px;
  color:#fff;
  font-size:26px;
}

.redage-profile-meta{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  padding:16px 22px;
  color:#dbe5f6;
  background:rgba(0,0,0,.18);
}

.redage-profile-meta b{
  color:#ffd800;
}

.redage-profile-tabs{
  margin:22px 0 0!important;
  padding:0!important;
  gap:8px!important;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.redage-profile-tabs button{
  padding:13px 16px!important;
  border-radius:12px 12px 0 0!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-bottom:0!important;
  color:#9fb1d0!important;
}

.redage-profile-tabs button.active,
.redage-profile-tabs button:hover{
  color:#ffd800!important;
  background:rgba(255,23,40,.1)!important;
  border-color:rgba(255,23,40,.28)!important;
  box-shadow:0 -10px 28px rgba(255,23,40,.08);
}

.redage-profile-panel{
  padding:20px;
  border-radius:0 0 18px 18px;
  background:
    linear-gradient(180deg,rgba(18,18,22,.94),rgba(8,8,10,.9));
  border:1px solid rgba(255,255,255,.08);
  border-top:0;
  box-shadow:0 24px 75px rgba(0,0,0,.45);
}

.redage-profile-feed{
  display:grid!important;
  grid-template-columns:54px 1fr!important;
  gap:14px!important;
  align-items:center!important;
  margin:0!important;
  border-radius:16px!important;
}

.redage-mini-avatar{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  overflow:hidden;
  background:#1385c7;
  color:#c8efff;
  font-weight:1000;
  font-size:20px;
}

.redage-mini-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.redage-status-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}

.redage-status-box{
  border-radius:12px!important;
}

.redage-empty{
  border-radius:16px!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}

.redage-profile-topic-row{
  border-radius:16px!important;
  background:rgba(255,255,255,.035)!important;
  transition:.22s ease;
}

.redage-profile-topic-row:hover{
  transform:translateX(4px);
  border-color:rgba(255,23,40,.32)!important;
}

.redage-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.redage-info-grid div{
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
}

.redage-info-grid small{
  display:block;
  color:#9fb1d0;
  text-transform:uppercase;
  font-weight:900;
  margin-bottom:6px;
}

.redage-info-grid b{
  color:#fff;
  word-break:break-word;
}

@media(max-width:900px){
  .redage-profile-cover{
    grid-template-columns:1fr;
    text-align:center;
    justify-items:center;
  }

  .redage-profile-actions{
    justify-self:center;
  }

  .redage-profile-main h1{
    font-size:36px;
  }

  .redage-profile-stats,
  .redage-info-grid{
    grid-template-columns:1fr;
  }

  .redage-status-form{
    grid-template-columns:1fr;
  }
}
