/* RioPing V12.1 visual tokens only. No checkout, auth or layout logic modifications. */
:root{--rio-space:#080b18;--rio-deep:#11102b;--rio-purple:#6938f5;--rio-violet:#9667ff;--rio-blue:#4775ff;--rio-ice:#f7f8ff;--rio-muted:#9ca3bd;--rio-gradient:linear-gradient(115deg,#9667ff 0%,#6938f5 52%,#3549e8 100%);--rio-border:#dedaf9;--rio-shadow:0 14px 40px rgba(52,35,135,.13);accent-color:#6938f5}
html{color-scheme:light}body{font-family:Vazirmatn,Tahoma,Arial,sans-serif}a,button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9667ff;outline-offset:3px}
/* Global surfaces are light like the reference lower half; dark panels retain contrast. */
body:not(.rio-ref){background:linear-gradient(180deg,#f7f8ff,#fff 56%,#f7f8ff);color:#17152c}
.shell{color:#17152c}.shell>header{border-color:#dedaf9}.brand-name,.shell h1,.shell h2,.shell h3{letter-spacing:-.02em}.brand-name{color:#17152c}.brand-name small,.small,.muted{color:#77758e}.tag{color:#6940d8;background:#eeebff;border-color:#ded6ff}
.panel,.stats>.panel,#page-wallet .panel,#page-account .panel{background:linear-gradient(150deg,#fff,#f7f6ff);border:1px solid #e4defc;box-shadow:var(--rio-shadow);border-radius:20px}
.shell .hero,.rio-home-hero{background:radial-gradient(circle at 85% 20%,#342078 0%,#11102b 48%,#080b18 100%);color:#fff;border:1px solid #42346d;box-shadow:0 18px 48px #17104728}
.shell .hero h1,.rio-home-hero h2{color:#fff}.shell .hero p,.rio-home-hero p{color:#d7d2ed}
.shell button[type=submit],.shell .rio-action-buy,.shell .selected,.shell .tab.selected,.shell .rio-login-switch button[aria-selected=true]{background:var(--rio-gradient);color:#fff;border-color:transparent;box-shadow:0 8px 22px #6938f540}
.shell button:not(.selected):not([type=submit]):hover{border-color:#9667ff}
.shell input:not([type=checkbox]),.shell select,.shell textarea{border:1px solid #d9d5ed;background:#fff;color:#17152c;border-radius:13px}
.shell input::placeholder{color:#9893ad}
.shell a:not(.link){text-decoration-thickness:1px}.shell .link{color:#6335db}
#login.rio-welcome-glass{border:1px solid #d9d1fb;box-shadow:var(--rio-shadow)}
#dashboard .welcome{color:#17152c}#dashboard .stats strong{color:#643ce2}
#dashboard .tabs{border-color:#dedaf9;background:rgba(250,249,255,.94);box-shadow:0 8px 28px #24105e1c;backdrop-filter:blur(18px)}
#dashboard .tabs .tab:not(.selected){color:#645f7c}
#page-shop #shop-catalog :is(.panel,.card,[class*="plan"],[class*="package"]){border-color:#e1dcf7}
#page-shop button,#page-shop .rio-shop-buy,#page-shop [class*="purchase"] button{accent-color:#6938f5}
#page-services :is(.panel,.card),#transactions :is(.panel,.card){border-color:#e1dcf7}
#rio-owner-entry{background:var(--rio-gradient)!important;color:#fff!important;border-radius:15px!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:720px){.panel,.stats>.panel{border-radius:17px}.shell .hero{border-radius:20px}}
