/* VELTRIX VX · final visual polish · 2026-11-04 */
:root{
  --vxp-btn-radius:6px;
  --vxp-input-radius:7px;
  --vxp-card-radius:9px;
  --vxp-panel-radius:10px;
  --vxp-chip-radius:6px;
  --vxp-bg:#071126;
  --vxp-surface:#0d1d38;
  --vxp-surface-2:#102449;
  --vxp-border:#305885;
  --vxp-border-soft:#24476f;
  --vxp-text:#eef6ff;
  --vxp-text-soft:#b5cae5;
  --vxp-text-muted:#8fb0d0;
  --vxp-accent:#2ea8ff;
  --vxp-accent-2:#61d0ff;
}
html,body,.public-body,.app-body,.app-shell,.app-main,.main-content{background:var(--vxp-bg)!important;color:var(--vxp-text)!important}
/* tighter, more angular look */
html body :is(.btn,.btn-primary,.btn-soft,.btn-outline,.btn-danger,.btn-mini,.full-btn,.public-menu-toggle,.mobile-menu,.nav-link,.chip,.userchip,.tag,.pill,.status-label,.hero-sub > span,.hero-sub > a,.vtx-home-credit,.vx-partner-filter,.vx-brand-chip){border-radius:var(--vxp-btn-radius)!important}
html body :is(.box,.metric,.feature-card,.guild-card,.template-card,.plan-card,.pricing-card,.dashboard-card,.owner-admin-section,.owner-admin-row,.vx-request-card,.vx-command-card,.vx-collab-card,.vx-public-metrics > div,.vx-home-green-banner img,.vtx-footer-modern,.vx-partner-empty,.vtx-legal-card,.notice,.preview-box,.vx-wallet-card,.vtx-rules-card){border-radius:var(--vxp-card-radius)!important}
html body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.field input,.field textarea,.field select,.owner-admin-add-row input,.vx-command-tools label,.vx-command-tools select){border-radius:var(--vxp-input-radius)!important}
/* make controls slightly more angular */
html body .btn{padding:10px 16px!important;min-height:42px!important}
html body .btn-large{padding:14px 20px!important}
html body .box,html body .metric,html body .dashboard-card,html body .owner-admin-section,html body .vx-request-card,html body .vx-command-card,html body .guild-card{background:linear-gradient(160deg,#112545,#0c1a31)!important;border:1px solid var(--vxp-border-soft)!important;box-shadow:0 12px 36px rgba(0,0,0,.22)!important}
html body .field>span,html body label,html body .owner-admin-section label,html body .owner-admin-add label{color:#bfd7f0!important;font-weight:700!important}
html body .field>small,html body .muted,html body .owner-admin-section small{color:var(--vxp-text-muted)!important}
html body .field input,html body .field textarea,html body .field select,html body .owner-admin-add-row input,html body input,html body textarea,html body select{background:#09192f!important;border:1px solid #34608e!important;color:#eff7ff!important}
html body .field input::placeholder,html body textarea::placeholder,html body .owner-admin-add-row input::placeholder{color:#8fb0d0!important}
html body .field input:focus,html body .field textarea:focus,html body .field select:focus,html body .owner-admin-add-row input:focus{box-shadow:0 0 0 3px rgba(46,168,255,.18)!important;border-color:#5cc7ff!important}
/* footer */
html body .public-footer.vtx-footer-modern,
html body .app-footer.vtx-footer-modern{
  background:linear-gradient(180deg,#09162a,#081326)!important;
  border-top:1px solid #26496f!important;
  box-shadow:inset 0 1px 0 rgba(118,185,255,.08)!important;
  padding:22px clamp(16px,3vw,36px)!important;
  gap:18px 28px!important;
  align-items:center!important;
}
html body .vtx-footer-modern .vtx-footer-brand{gap:14px!important}
html body .vtx-footer-modern .vtx-footer-brand>img{width:52px!important;height:52px!important;border-radius:50%!important;box-shadow:0 8px 24px rgba(46,168,255,.18)!important}
html body .vtx-footer-modern .vtx-footer-identity{display:flex!important;flex-direction:column!important;gap:4px!important}
html body .vtx-footer-modern .vtx-footer-wordmark{font-size:1rem!important;font-weight:900!important;color:#f4fbff!important;letter-spacing:.04em!important}
html body .vtx-footer-modern .vtx-footer-credit{font-size:.9rem!important;line-height:1.35!important;color:#c5daf3!important}
html body .vtx-footer-modern .vtx-footer-credit a,
html body .vtx-footer-modern .vtx-footer-credit a strong{color:#77d6ff!important}
html body .vtx-footer-modern .vtx-footer-links{display:flex!important;align-items:center!important;gap:12px 18px!important;flex-wrap:wrap!important}
html body .vtx-footer-modern .vtx-footer-links a{font-size:.8rem!important;color:#b7d0ea!important}
html body .vtx-footer-modern .vtx-footer-links a:hover{color:#fff!important}
/* home banner */
html body .vx-home-green-banner{max-width:1260px!important;margin:12px auto 18px!important;padding:0 30px!important}
html body .vx-home-green-banner img{display:block!important;width:100%!important;height:auto!important;background:#0b1830!important;border:1px solid #31557f!important;border-radius:10px!important;box-shadow:0 18px 48px rgba(0,0,0,.28)!important}
/* center these 2 buttons */
html body .vx-command-heading .hero-actions,
html body .vx-page-section .vx-command-heading .hero-actions,
html body .vx-partner-hero .hero-actions{justify-content:center!important;align-items:center!important;margin-inline:auto!important}
/* partner/staff text cleanup */
html body .vx-staff-panel p,
html body .vx-staff-panel small,
html body .vx-staff-panel .metric p,
html body .vx-staff-panel .vx-partner-help,
html body .vx-staff-panel .vx-partner-guild,
html body .vx-request-card p,
html body .vx-request-card small,
html body .vx-page-section p,
html body .vx-page-section small{color:#b8cee8!important}
html body .vx-staff-panel h1,
html body .vx-staff-panel h2,
html body .vx-staff-panel h3,
html body .vx-request-card h3,
html body .vx-page-section h1,
html body .vx-page-section h2{color:#f0f8ff!important}
html body .vx-staff-panel .metric strong,
html body .vx-request-card code,
html body .vx-page-section .tag{color:#eaf7ff!important}
html body .vx-request-card code{background:#122b4f!important;border:1px solid #315a85!important;padding:2px 6px!important;border-radius:5px!important}
html body .vx-staff-panel .box,
html body .vx-page-section .vx-command-card{background:linear-gradient(160deg,#112545,#0c1a31)!important;border:1px solid #2d5680!important}
/* owner panel label fix */
html body .owner-admin-section .owner-admin-add,
html body .owner-admin-add-row{background:linear-gradient(160deg,#10213f,#0d1a31)!important;border:1px solid #2d5680!important;border-radius:9px!important}
html body .owner-admin-section .owner-admin-add-row > label,
html body .owner-admin-section .field>span,
html body .owner-admin-section label{color:#c7ddf5!important}
/* loading screen */
html body .vtx-intro-screen{background:radial-gradient(circle at 70% 25%,rgba(63,98,255,.18),transparent 26%),linear-gradient(180deg,#050b18,#081224 60%,#060d1b)!important}
html body .vtx-intro-shade{background:linear-gradient(180deg,rgba(5,8,20,.08),rgba(5,8,20,.24) 34%,rgba(5,8,20,.82) 100%)!important}
html body .vtx-intro-hud{left:clamp(20px,4vw,56px)!important;right:auto!important;bottom:clamp(22px,5vh,56px)!important;max-width:360px!important;padding:18px 18px 16px!important;background:linear-gradient(180deg,rgba(8,18,34,.82),rgba(5,12,24,.92))!important;border:1px solid rgba(99,169,255,.24)!important;border-radius:10px!important;backdrop-filter:blur(12px)!important;box-shadow:0 18px 38px rgba(0,0,0,.34)!important}
html body .vtx-intro-label{gap:10px!important;font-size:1.12rem!important;letter-spacing:.08em!important;color:#f2f9ff!important}
html body .vtx-intro-label span{color:#f0f8ff!important;text-shadow:0 0 12px rgba(44,168,255,.08)!important}
html body .vtx-intro-label i{color:#24b1ff!important}
html body .vtx-intro-label small{display:block!important;color:#7dcfff!important;font-size:.63rem!important;letter-spacing:.16em!important;opacity:1!important;margin-left:0!important}
html body .vtx-intro-hud p{color:#d6e8fb!important;font-size:.95rem!important;margin:2px 0 12px!important}
html body .vtx-intro-track{max-width:none!important;width:100%!important;height:4px!important;background:rgba(255,255,255,.16)!important;border-radius:99px!important}
html body .vtx-intro-track>div{background:linear-gradient(90deg,#2ea8ff,#79d7ff)!important;box-shadow:0 0 18px rgba(46,168,255,.35)!important}
/* modern public / mobile layout */
html body .public-nav{background:#08162c!important;border-bottom:1px solid #25486d!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
html body .public-nav .brand>span,html body .public-nav .brand small{color:#f0f8ff!important}
html body .public-nav .nav-actions>a:not(.btn){color:#cae0f8!important}
html body .public-nav .nav-actions>a:not(.btn):hover{background:#122b4d!important;border-color:#29527b!important;color:#fff!important}
html body .public-nav .nav-actions>.btn{background:linear-gradient(135deg,#2aa9ff,#438bff)!important;border-color:#4cbcff!important;color:#071327!important;font-weight:900!important}
html body .public-nav .public-menu-toggle{background:#132948!important;border:1px solid #335d88!important;color:#eef7ff!important}
html body .hero-actions .btn{justify-content:center!important}
html body .hero-sub{gap:10px!important}
html body .hero-sub > span,html body .hero-sub > a{padding:8px 10px!important}
html body .feature-strip{max-width:1200px!important;margin:0 auto 10px!important;padding:18px 20px!important}
html body .vx-public-metrics > div{background:linear-gradient(160deg,#10223f,#0d1a30)!important;border:1px solid #274d76!important;color:#dcecff!important}
@media(max-width:980px){
  html body .hero{grid-template-columns:1fr!important;padding:34px 22px 22px!important;gap:24px!important;margin:10px auto 40px!important;text-align:center!important}
  html body .hero-copy>p{margin-inline:auto!important;max-width:640px!important}
  html body .hero-actions,html body .hero-sub{justify-content:center!important}
  html body .hero-visual{min-height:320px!important}
  html body .vx-home-green-banner{padding:0 18px!important}
  html body .vtx-footer-modern{justify-content:center!important;text-align:center!important}
  html body .vtx-footer-modern .vtx-footer-brand,html body .vtx-footer-modern .vtx-footer-links{justify-content:center!important}
}
@media(max-width:700px){
  html body .public-body .public-nav{padding:0 14px!important}
  html body .public-body .public-nav-inner{gap:12px!important;min-height:74px!important}
  html body .public-body .public-nav .nav-actions{left:14px!important;right:14px!important;background:#0c1a31!important;border:1px solid #29527c!important;border-radius:0 0 12px 12px!important;box-shadow:0 18px 36px rgba(0,0,0,.3)!important}
  html body .public-body .public-nav .nav-actions>a:not(.btn){display:flex!important;width:100%!important;justify-content:flex-start!important;padding:12px 14px!important;color:#d8e9fb!important;border-radius:6px!important}
  html body .public-body .public-nav .nav-actions>a:not(.btn):hover{background:#132b4d!important}
  html body .public-body .public-nav .nav-actions>.btn{width:100%!important;justify-content:center!important}
  html body .hero h1{font-size:clamp(2.8rem,14vw,4.1rem)!important}
  html body .hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
  html body .hero-actions .btn{width:100%!important}
  html body .hero-sub{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important}
  html body .hero-sub > *{justify-content:center!important;text-align:center!important}
  html body .hero-mark{width:min(100%,310px)!important}
  html body .hero-visual{min-height:260px!important}
  html body .main-content{padding:22px 14px!important}
  html body .vx-command-heading h1,html body .page-heading h1{font-size:clamp(2.2rem,12vw,3.2rem)!important}
}
@media(max-width:520px){
  html body .hero-sub{grid-template-columns:1fr!important}
  html body .vtx-intro-hud{left:14px!important;right:14px!important;max-width:none!important}
  html body .vtx-footer-modern .vtx-footer-credit{white-space:normal!important;justify-content:center!important}
  html body .vtx-footer-modern .vtx-footer-links{gap:8px 12px!important}
}

/* Animated brand banner: native looping WebP, subtle CSS ambience and static reduced-motion fallback. */
html body .vx-animated-banner {
  position:relative!important;
  isolation:isolate;
  overflow:hidden;
  border-radius:10px!important;
}
html body .vx-animated-banner .vx-animated-banner-media {
  display:block;
  width:100%;
  overflow:hidden;
  border-radius:10px;
  border:1px solid #305582;
  background:#101b46;
  box-shadow:0 16px 48px rgba(2,12,35,.29);
}
html body .vx-animated-banner .vx-animated-banner-media img {
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:17 / 6;
  object-fit:cover;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#11164a!important;
}
html body .vx-animated-banner::after {
  content:"";
  position:absolute;
  inset:0 30px;
  z-index:2;
  border-radius:10px;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 12%,rgba(74,166,255,.085) 45%,rgba(121,212,255,.12) 49%,transparent 54%);
  background-size:260% 100%;
  animation:vx-banner-shimmer 9s ease-in-out infinite;
  mix-blend-mode:screen;
}
@keyframes vx-banner-shimmer {
  0%,15% {background-position:120% 0; opacity:0}
  35% {opacity:1}
  63%,100% {background-position:-120% 0;opacity:0}
}
@media(max-width:980px){html body .vx-animated-banner::after{inset:0 18px}}
@media(prefers-reduced-motion:reduce){
  html body .vx-animated-banner::after{content:none!important;animation:none!important}
}

/* Official Wumpus logo, uploaded 2026-11-04: preserve original proportions. */
html body .vtx-intro-screen{background:radial-gradient(ellipse at 50% 35%,#12264f,#050b18 72%)!important}
html body .vtx-intro-avatar{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;object-position:50% 40%!important;padding:clamp(24px,7vh,90px) clamp(20px,10vw,160px) clamp(160px,21vh,230px)!important;box-sizing:border-box!important;animation:vtx-intro-zoom 3s cubic-bezier(.2,.55,.2,1) both!important}
html body .vtx-intro-shade{background:linear-gradient(180deg,rgba(3,9,21,.05),rgba(3,9,21,.08) 45%,rgba(3,9,21,.94) 100%)!important}
html body .hero-mark.vx-bot-hero img{display:block!important;width:100%!important;height:auto!important;max-height:490px!important;object-fit:contain!important;object-position:center!important;border-radius:9px!important}
html body .hero-logo-stage{max-width:100%!important;min-width:0!important}
html body .vtx-footer-modern .vtx-footer-brand img,html body .public-nav .brand img,html body .sidebar .brand img{object-fit:contain!important;background:#162b29!important}
@media(max-width:640px){html body .vtx-intro-avatar{object-position:50% 30%!important;padding:70px 20px 180px!important}html body .hero-mark.vx-bot-hero img{max-height:340px!important}}
@media(prefers-reduced-motion:reduce){html body .vtx-intro-avatar{animation:none!important}}
