/* RyphexGuard v246 — public auth brand consistency, app scale polish, SEO-era visual alignment */

/* --------------------------------------------------------------------------
   Login / Register now use the same public RyphexGuard language as Homepage.
   -------------------------------------------------------------------------- */
body.rg246-auth-body{margin:0!important;background:#070910!important;color:#f7f9fc!important;min-height:100vh!important}
.rg246-auth-page{min-height:100vh!important;background:#070910!important;color:#f7f9fc!important;overflow:hidden!important}
.rg246-auth-hero{min-height:100vh!important;display:flex!important;flex-direction:column!important;background:radial-gradient(circle at 78% 25%,rgba(72,122,255,.16),transparent 32%),linear-gradient(180deg,#080a11 0%,#070910 100%)!important}
.rg246-auth-hero>.rg238-home-bg{opacity:.17!important;mix-blend-mode:screen!important}
.rg246-auth-nav{width:100%!important;box-sizing:border-box!important;flex:0 0 auto!important}
.rg246-auth-main{position:relative!important;z-index:2!important;width:min(1180px,calc(100% - 48px))!important;flex:1 1 auto!important;margin:0 auto!important;padding:72px 0 84px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 430px!important;gap:76px!important;align-items:center!important}
.rg246-auth-copy{max-width:650px!important}.rg246-auth-copy .rg238-kicker{margin:0!important}
.rg246-auth-copy h1{margin:22px 0 18px!important;max-width:660px!important;color:#f7f9fc!important;font-size:58px!important;line-height:1.01!important;letter-spacing:-.055em!important;font-weight:700!important}.rg246-auth-copy h1 em{font-style:normal!important;color:#72a0ff!important}
.rg246-auth-copy>p{max-width:610px!important;margin:0!important;color:rgba(226,232,244,.62)!important;font-size:15px!important;line-height:1.72!important}
.rg246-auth-points{display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important;margin-top:28px!important;color:rgba(226,232,244,.62)!important;font-size:11px!important}.rg246-auth-points span{display:inline-flex!important;align-items:center!important;gap:7px!important}.rg246-auth-points .rg-icon{width:15px!important;height:15px!important;color:#72a0ff!important}
.rg246-auth-card{padding:28px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:rgba(12,15,22,.78)!important;box-shadow:0 24px 80px rgba(0,0,0,.30)!important;backdrop-filter:blur(18px)!important}
.rg246-auth-card-head{display:flex!important;align-items:center!important;gap:12px!important}.rg246-auth-card-head img{width:40px!important;height:40px!important;border-radius:10px!important;display:block!important}.rg246-auth-card-head small{display:block!important;color:rgba(226,232,244,.46)!important;font-size:9px!important;font-weight:750!important;text-transform:uppercase!important;letter-spacing:.09em!important}.rg246-auth-card-head h2{margin:2px 0 0!important;color:#fff!important;font-size:25px!important;line-height:1.1!important;letter-spacing:-.035em!important}
.rg246-auth-subtitle{margin:13px 0 20px!important;color:rgba(226,232,244,.52)!important;font-size:12px!important;line-height:1.5!important}
.rg246-auth-form{display:grid!important;gap:14px!important}.rg246-auth-form label{display:grid!important;gap:6px!important;color:#dbe1ea!important;font-size:11px!important;font-weight:650!important}.rg246-password-label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.rg246-password-label a{color:#78aaff!important;font-weight:600!important}
.rg246-auth-form input{width:100%!important;height:44px!important;margin:0!important;padding:0 13px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:10px!important;background:rgba(6,8,13,.82)!important;color:#fff!important;box-shadow:none!important;outline:0!important;font-size:12px!important}.rg246-auth-form input:focus{border-color:#5d91ff!important;box-shadow:0 0 0 3px rgba(93,145,255,.12)!important}.rg246-auth-form input::placeholder{color:#667085!important}
.rg246-auth-submit{width:100%!important;height:44px!important;margin-top:2px!important;border-radius:10px!important;background:#4a86f7!important;background-image:none!important;border:1px solid #4a86f7!important;color:#fff!important;box-shadow:none!important;font-size:12px!important;font-weight:750!important;justify-content:center!important}.rg246-auth-submit:hover{background:#6096fa!important;border-color:#6096fa!important;transform:none!important;box-shadow:none!important}
.rg246-auth-divider{display:flex!important;align-items:center!important;gap:11px!important;margin:19px 0 14px!important;color:rgba(226,232,244,.38)!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.075em!important}.rg246-auth-divider:before,.rg246-auth-divider:after{content:""!important;height:1px!important;flex:1!important;background:rgba(255,255,255,.075)!important}
.rg246-oauth-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.rg246-oauth-grid a{min-height:52px!important;padding:8px 11px!important;display:grid!important;place-items:center!important;align-content:center!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:10px!important;background:rgba(255,255,255,.025)!important;color:#f4f7fb!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important}.rg246-oauth-grid a:hover{border-color:rgba(114,160,255,.38)!important;background:rgba(114,160,255,.06)!important}.rg246-oauth-grid b{font-size:11px!important;font-weight:700!important}.rg246-oauth-grid small{margin-top:2px!important;color:rgba(226,232,244,.42)!important;font-size:9px!important}.rg246-oauth-grid .needs-setup{opacity:.62!important}
.rg246-auth-foot{margin:17px 0 0!important;text-align:center!important;color:rgba(226,232,244,.48)!important;font-size:11px!important}.rg246-auth-foot a{color:#78aaff!important;font-weight:650!important}

html.light body.rg246-auth-body{background:#f5f7fb!important;color:#111827!important}
html.light .rg246-auth-page{background:#f5f7fb!important;color:#111827!important}
html.light .rg246-auth-hero{background:radial-gradient(circle at 78% 22%,rgba(61,111,230,.10),transparent 34%),linear-gradient(180deg,#fbfcfe 0%,#f4f7fb 100%)!important}
html.light .rg246-auth-hero>.rg238-home-bg{opacity:.055!important;mix-blend-mode:multiply!important}
html.light .rg246-auth-copy h1{color:#111827!important}html.light .rg246-auth-copy h1 em{color:#315fd1!important}html.light .rg246-auth-copy>p,html.light .rg246-auth-points{color:#657086!important}
html.light .rg246-auth-card{border-color:rgba(22,40,75,.10)!important;background:rgba(255,255,255,.84)!important;box-shadow:0 24px 70px rgba(30,48,85,.08)!important}
html.light .rg246-auth-card-head small{color:#7a8698!important}html.light .rg246-auth-card-head h2{color:#111827!important}html.light .rg246-auth-subtitle,html.light .rg246-auth-foot{color:#6c778a!important}
html.light .rg246-auth-form label{color:#2e3b4f!important}html.light .rg246-auth-form input{border-color:#dce2eb!important;background:#fff!important;color:#111827!important}html.light .rg246-auth-form input::placeholder{color:#9aa4b3!important}
html.light .rg246-auth-divider{color:#8d98a9!important}.light .rg246-auth-divider:before,.light .rg246-auth-divider:after{background:#e3e8ef!important}
html.light .rg246-oauth-grid a{border-color:#e0e5ec!important;background:#fff!important;color:#182433!important}.light .rg246-oauth-grid small{color:#8792a3!important}

/* --------------------------------------------------------------------------
   Authenticated app: slightly larger on desktop, never stretched edge-to-edge.
   -------------------------------------------------------------------------- */
@media(min-width:1200px){
  html body.rg244-auth-app{font-size:14px!important}
  html body.rg244-auth-app{--rg244-content:1500px}
  html body.rg244-auth-app .rg244-content-container{width:min(calc(100% - 38px),var(--rg244-content))!important;padding:25px 0 31px!important}
  html body.rg244-auth-app .rg243-nav>a,html body.rg244-auth-app .rg243-nav-toggle,html body.rg244-auth-app .rg243-nav-sub>a{font-size:12px!important;min-height:40px!important}
  html body.rg244-auth-app .rg243-workspace-name{font-size:12px!important}
  html body.rg244-auth-app :is(.vc42-topbar,.vc43-page-head,.vc50-page-head,.vc50-pull-page-head,.page-head,.vc-page-head,.v63-settings-head,.v64-settings-head) h1,html body.rg244-auth-app :is(.v65-server-left,.v65-bot-top) h1{font-size:28px!important}
  html body.rg244-auth-app :is(button,.btn,.btn-donate,.vc43-btn,.vc42-btn,.vc50-btn,.v149-actions a,.v149-actions button){font-size:12px!important}
  html body.rg244-auth-app :is(table,.vc50-members-table,.v149-table){font-size:12.5px!important}
  html body.rg244-auth-app :is(th,.vc50-members-table th,.v149-table th){font-size:10.5px!important}
  html body.rg244-auth-app :is(td,.vc50-members-table td,.v149-table td){padding-top:11px!important;padding-bottom:11px!important}
}

@media(max-width:900px){.rg246-auth-main{grid-template-columns:1fr!important;width:min(620px,calc(100% - 30px))!important;gap:34px!important;padding:48px 0 64px!important}.rg246-auth-copy{display:none!important}.rg246-auth-card{width:100%!important}.rg246-auth-nav nav{display:none!important}}
@media(max-width:620px){.rg246-auth-nav{padding:16px 18px!important}.rg246-auth-nav .public-language-control{display:none!important}.rg246-auth-main{width:calc(100% - 24px)!important;padding:30px 0 50px!important}.rg246-auth-card{padding:21px!important}.rg246-oauth-grid{grid-template-columns:1fr!important}}

@media(min-width:1200px){
  html body.rg244-auth-app .vc50-member-stats article{min-height:116px!important;padding:18px!important}
  html body.rg244-auth-app .vc50-member-stats article>span:first-child{margin-bottom:13px!important;font-size:11px!important}
  html body.rg244-auth-app .vc50-member-stats strong{font-size:29px!important}
  html body.rg244-auth-app :is(.vc50-main-tabs,.rg215-member-status-tabs,.vc50-active-history-tabs)>:is(a,button){min-height:36px!important;padding:8px 12px!important;font-size:11.5px!important}
  html body.rg244-auth-app .vc50-search-card{padding:14px!important;gap:10px!important}
  html body.rg244-auth-app .vc50-search-card input{min-height:42px!important;font-size:12.5px!important}
  html body.rg244-auth-app .vc50-table-card th{padding:11px 13px!important;font-size:10px!important}
  html body.rg244-auth-app .vc50-table-card td{padding:12px 13px!important;font-size:12.25px!important}
  html body.rg244-auth-app :is(.vc42-server-row,.vc43-row-card,.v149-card,.rg166-card,.rg168-card,.rg171-card){font-size:12.5px!important}
}
