/* ONRUSHA V4.6 — centered navigation, private accounts, refined phone and a real light theme. */
.nav-wrap{position:relative;justify-content:center!important}
.main-nav{margin:0 auto!important}
.header-tools{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0!important}
.profile-action{overflow:hidden;position:relative}
.profile-avatar{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.profile-action.is-developer{border-color:rgba(218,183,126,.48);box-shadow:0 0 0 1px rgba(218,183,126,.08),0 0 22px rgba(218,183,126,.13),inset 0 1px rgba(255,255,255,.12)}
.profile-action.is-developer:after{content:"";position:absolute;width:7px;height:7px;right:2px;bottom:2px;border-radius:50%;background:#d7b37b;box-shadow:0 0 9px #d7b37b}

/* The device is cleaner and less tilted so the mock UI reads like an actual product. */
.hero-core-visual{overflow:visible!important}
.phone-showcase-v45{height:600px;max-width:100%}
.phone-device{width:296px;height:562px;transform:rotateY(-6deg) rotateX(1deg) rotateZ(-3deg);animation:phone-hover-v46 8.5s ease-in-out infinite;box-shadow:0 42px 78px rgba(0,0,0,.62),0 12px 30px rgba(0,0,0,.35),inset 0 1px 1px rgba(255,255,255,.74),inset 1px 0 1px rgba(255,255,255,.25),inset -1px 0 1px rgba(0,0,0,.85)}
.phone-device:before{border-color:rgba(255,255,255,.3)}
.phone-screen-v45{padding-left:18px;padding-right:18px}
.phone-greeting-v45{padding-top:16px;padding-bottom:12px}
.phone-greeting-v45 h3{font-size:24px;line-height:1.04}
.phone-greeting-v45 p{font-size:9px;opacity:.8}
.phone-feature-v45{height:139px}
.phone-section-head-v45{height:39px}
.phone-script-row-v45{height:54px}
.phone-script-row-v45 .phone-script-copy>small{display:none}
.phone-bottom-nav-v45{height:54px}
.phone-light{width:420px;height:460px;background:radial-gradient(ellipse,rgba(213,175,113,.17),rgba(160,151,137,.055) 46%,transparent 73%);filter:blur(30px)}
.phone-shadow{width:280px;bottom:27px;filter:blur(26px)}
@keyframes phone-hover-v46{0%,100%{transform:translate3d(0,1px,0) rotateY(-6deg) rotateX(1deg) rotateZ(-3deg)}50%{transform:translate3d(0,-9px,0) rotateY(-3.5deg) rotateX(.5deg) rotateZ(-2deg)}}

/* Account screens */
.account-page{width:min(100% - 40px,760px);min-height:calc(100vh - 175px);margin:0 auto;padding:66px 0 90px;display:grid;place-items:start center}
.account-card{position:relative;width:min(100%,600px);padding:clamp(25px,5vw,44px);border:1px solid rgba(255,255,255,.105);border-radius:25px;background:linear-gradient(145deg,rgba(25,25,28,.94),rgba(12,12,14,.96));box-shadow:0 30px 85px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.065);overflow:hidden}
.account-card:before{content:"";position:absolute;inset:-1px;pointer-events:none;background:radial-gradient(circle at 90% 0,rgba(205,166,105,.13),transparent 38%)}
.account-card>*{position:relative}
.account-mark{width:48px;height:48px;display:grid;place-items:center;margin-bottom:24px;border-radius:15px;border:1px solid rgba(225,190,137,.4);background:linear-gradient(145deg,#34302a,#171719);color:#e4c393;font-weight:850;font-size:26px;box-shadow:0 12px 30px #0006,0 0 25px rgba(218,180,125,.12)}
.account-card h1{margin:9px 0 12px;color:#f4f1ec;font-size:clamp(34px,6vw,48px);line-height:1.02;letter-spacing:-.065em}
.account-card h1 span{color:#d4b47e}
.account-intro{max-width:440px;color:#9b9ba0;font-size:13px;line-height:1.7;margin:0 0 27px}
.google-signin-button{display:flex;align-items:center;justify-content:center;gap:13px;min-height:53px;padding:0 18px;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:linear-gradient(145deg,#fff,#e9e8e6);color:#171717;text-decoration:none;font-size:13px;font-weight:750;box-shadow:0 12px 28px rgba(0,0,0,.2),inset 0 1px #fff;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.google-signin-button:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,0,0,.27),0 0 20px rgba(211,178,126,.1);border-color:rgba(229,199,155,.4)}
.google-signin-button svg{width:19px;height:19px;flex:none}
.google-signin-button span{flex:1;text-align:center}
.google-signin-button>b{color:#777;font-size:16px}
.google-signin-large{min-height:58px}
.account-divider{display:flex;align-items:center;gap:12px;margin:22px 0 20px;color:#6f7074;font:8px var(--mono);letter-spacing:.15em}
.account-divider:before,.account-divider:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.09)}
.account-assurance{display:flex;align-items:center;gap:14px;padding:13px 0;border-top:1px solid rgba(255,255,255,.065)}
.account-assurance>span{width:31px;height:31px;display:grid;place-items:center;border:1px solid rgba(224,188,135,.23);border-radius:9px;color:#d8b982;font:9px var(--mono)}
.account-assurance b,.account-assurance small{display:block}
.account-assurance b{font-size:11px;color:#e8e5df}
.account-assurance small{font-size:9px;color:#89898e;margin-top:3px}
.account-footnote{display:block;color:#707075;font-size:9px;line-height:1.6;margin-top:23px}
.account-config-note{padding:14px 16px;border:1px solid rgba(216,179,122,.22);border-radius:12px;background:rgba(216,179,122,.055)}
.account-config-note b,.account-config-note span{display:block}
.account-config-note b{font-size:12px;color:#e2c594}
.account-config-note span{margin-top:5px;font-size:10px;line-height:1.6;color:#9c958a}

.profile-card{width:min(100%,680px)}
.profile-heading{display:flex;align-items:center;gap:18px;margin-bottom:22px}
.profile-large-avatar{width:76px;height:76px;flex:none;object-fit:cover;border:1px solid rgba(223,190,141,.43);border-radius:23px;box-shadow:0 12px 30px #0006,0 0 23px rgba(218,180,125,.12)}
.profile-avatar-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#38332b,#171719);color:#e7c99a;font-size:30px;font-weight:800}
.profile-heading h1{font-size:clamp(27px,5vw,38px);margin:5px 0 9px}
.profile-heading-copy{min-width:0}
.developer-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(231,194,137,.43);border-radius:7px;background:linear-gradient(110deg,#3b3020,#171719 48%,#4a3925);color:#f0d3a2;font:800 8px var(--mono);letter-spacing:.16em;box-shadow:0 0 18px rgba(214,174,111,.12),inset 0 1px rgba(255,255,255,.17);text-shadow:0 1px 8px rgba(238,199,140,.22);position:relative;overflow:hidden}
.developer-badge:after{content:"";position:absolute;inset:-20% auto -20% -45%;width:30%;transform:skewX(-24deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.23),transparent);animation:badge-glint 5.5s ease-in-out infinite}
.developer-badge i{font-style:normal;color:#f5d8a7;font-size:11px}
.member-badge{display:inline-flex;padding:6px 9px;border:1px solid rgba(255,255,255,.1);border-radius:7px;color:#929298;font:8px var(--mono);letter-spacing:.13em}
@keyframes badge-glint{0%,70%,100%{left:-45%}82%{left:130%}}
.profile-form{display:grid;gap:16px}
.profile-form label{display:block;color:#d9d6d0;font-size:11px;font-weight:700}
.profile-form label>span{display:block;color:#77777e;font-size:9px;font-weight:450;margin-top:5px}
.profile-form input,.profile-form textarea{display:block;width:100%;margin-top:8px;padding:13px 14px;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:#0c0c0f;color:#f1efeb;font:12px var(--sans);outline:none;transition:border-color .2s,box-shadow .2s}
.profile-form input:focus,.profile-form textarea:focus{border-color:rgba(221,187,134,.55);box-shadow:0 0 0 3px rgba(221,187,134,.08)}
.profile-form textarea{resize:vertical;min-height:90px;line-height:1.5}
.profile-email{display:grid;gap:5px;padding:13px 14px;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:rgba(255,255,255,.025)}
.profile-email span{font:8px var(--mono);letter-spacing:.14em;color:#85858b}
.profile-email b{font-size:11px;color:#e7e4dd;font-weight:600;overflow-wrap:anywhere}
.profile-email small{font-size:9px;color:#7d9e85}
.profile-save{width:100%;justify-content:center;min-height:47px;margin-top:3px}
.profile-owner-link{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:14px 15px;border:1px solid rgba(219,181,123,.2);border-radius:11px;background:rgba(215,177,120,.055);color:#dfc18e;text-decoration:none;font-size:11px}
.profile-logout{margin-top:16px;text-align:center}
.profile-logout button{border:0;background:none;color:#929197;font-size:10px;cursor:pointer;padding:8px}
.profile-logout button:hover{color:#eee}
.account-form-error{padding:11px 13px;margin:0 0 17px;border:1px solid rgba(255,120,120,.2);border-radius:9px;background:rgba(255,90,90,.06);color:#e9a2a2;font-size:10px}

/* Private raw viewer */
.raw-page{max-width:1320px}
.raw-heading{align-items:center}
.raw-heading h1{overflow-wrap:anywhere}
.raw-heading h1 span{color:#d2b17d}
.raw-source-panel{border:1px solid rgba(255,255,255,.12);border-radius:17px;overflow:hidden;background:#0b0b0d;box-shadow:0 22px 60px #0006}
.raw-source-top{height:43px;display:flex;justify-content:space-between;align-items:center;padding:0 17px;border-bottom:1px solid #29292d;color:#898990;font:8px var(--mono);letter-spacing:.14em}
.raw-source-top>span{display:flex;align-items:center;gap:8px}
.raw-source-top i{width:6px;height:6px;border-radius:50%;background:#9eb98c;box-shadow:0 0 9px #9eb98c}
.raw-source-panel pre{max-height:72vh;overflow:auto;margin:0;padding:22px;color:#e1ddd5;font:11px/1.75 Consolas,Monaco,monospace;white-space:pre;tab-size:4}
.raw-source-panel pre::selection{background:#b99562;color:#111}

/* A much more complete light palette — warm porcelain, ink and restrained champagne details. */
body.soft-theme{background:linear-gradient(180deg,#f4f2ee 0%,#eeece7 46%,#f7f5f1 100%)!important;color:#232323}
body.soft-theme:before{opacity:.045;background-image:radial-gradient(rgba(30,25,18,.25) .55px,transparent .55px)}
body.soft-theme .site-header{background:rgba(247,245,241,.86);border-color:rgba(30,27,22,.12);box-shadow:0 8px 30px rgba(37,31,23,.055)}
body.soft-theme .main-nav{background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(239,236,230,.9));border-color:rgba(40,35,27,.13);box-shadow:0 12px 34px rgba(45,38,26,.11),inset 0 1px #fff}
body.soft-theme .main-nav>a.nav-item{color:#77736b}
body.soft-theme .main-nav>a.nav-item:hover{color:#2c2924;background:rgba(180,143,88,.1)}
body.soft-theme .main-nav>a.nav-item.active{color:#201d18;background:linear-gradient(145deg,#fff,#eeeae2);border-color:rgba(178,139,80,.25);box-shadow:0 4px 12px rgba(66,52,30,.09),inset 0 1px #fff,0 0 14px rgba(184,146,90,.08)}
body.soft-theme .header-tool{background:linear-gradient(145deg,#fff,#eeeae3);border-color:rgba(45,38,29,.15);color:#39352d;box-shadow:0 7px 18px rgba(50,42,30,.12),inset 0 1px #fff}
body.soft-theme .header-tool:hover{background:#fff;color:#171512;border-color:rgba(180,141,84,.4)}
body.soft-theme .mobile-menu{background:#fff;border-color:#d5d0c7;box-shadow:0 7px 20px rgba(45,38,30,.1)}
body.soft-theme .mobile-menu span{background:#37332d}
body.soft-theme .hero-pill{background:rgba(255,255,255,.72);border-color:#ded9d0;color:#645f56;box-shadow:0 6px 20px rgba(47,40,30,.045)}
body.soft-theme .hero-title{color:#24211d;text-shadow:none}
body.soft-theme .hero-title span{color:#8e7a5c}
body.soft-theme .hero-copy{color:#65615a}
body.soft-theme .hero-footnote{color:#79746a}
body.soft-theme .loader-box{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(242,239,233,.92));border-color:#d7d1c7;box-shadow:0 15px 36px rgba(46,39,29,.09),inset 0 1px #fff}
body.soft-theme .loader-label{color:#716c62}
body.soft-theme .loader-box code{color:#27231d}
body.soft-theme .copy-button{background:#eae6df;color:#3c372f;border-color:#d4cdc2}
body.soft-theme .button-primary{background:linear-gradient(135deg,#29251e,#494033);color:#f9f4ea;box-shadow:0 12px 26px rgba(49,40,25,.16),inset 0 1px rgba(255,255,255,.12)}
body.soft-theme .button-primary:hover{box-shadow:0 15px 30px rgba(49,40,25,.21),0 0 18px rgba(185,146,86,.15)}
body.soft-theme .button-quiet,body.soft-theme .button-outline{color:#363129;border-color:#d0c9be;background:rgba(255,255,255,.56)}
body.soft-theme .stats-strip,body.soft-theme .stat{border-color:#d9d3c9}
body.soft-theme .stat strong{color:#25221d}
body.soft-theme .stat span{color:#777168}
body.soft-theme .section-heading h2{color:#25221d}
body.soft-theme .section-heading h2 span{color:#9b8058}
body.soft-theme .section-heading p{color:#777168}
body.soft-theme .script-card,body.soft-theme .preview-callout,body.soft-theme .compat-item{background:linear-gradient(145deg,#fff,#f0ede7);border-color:#d9d3c9;color:#25221d;box-shadow:0 13px 32px rgba(48,40,28,.075),inset 0 1px #fff}
body.soft-theme .script-card:hover,body.soft-theme .compat-item:hover{box-shadow:0 18px 40px rgba(48,40,28,.12),0 0 20px rgba(183,146,94,.09);border-color:#c8b89c}
body.soft-theme .script-card h3,body.soft-theme .compat-item b,body.soft-theme .preview-callout h2{color:#24211d}
body.soft-theme .script-description,body.soft-theme .compat-item small,body.soft-theme .preview-callout p{color:#6f6a61}
body.soft-theme .site-footer{background:#ebe8e1;border-color:#d7d1c7}
body.soft-theme .footer-inner p,body.soft-theme .footer-links a,body.soft-theme .footer-bottom{color:#756f65}
body.soft-theme .footer-bottom{border-color:#d3cdc2}
body.soft-theme .page-hero h1,body.soft-theme .detail-title h1{color:#26231f}
body.soft-theme .page-hero p,body.soft-theme .detail-description{color:#68635b}
body.soft-theme .filter-bar,body.soft-theme .detail-card,body.soft-theme .task-status,body.soft-theme .task-bottom{background:#fff;border-color:#d9d3c9;color:#332f28}
body.soft-theme .filter-bar input,body.soft-theme .filter-bar select{background:#f7f5f0;border-color:#d8d1c6;color:#29251f}
body.soft-theme .task-page h1,body.soft-theme .detail-card h2{color:#26231f}
body.soft-theme .task-frame-wrap{border-color:#d0c9be;background:#e8e4dc;box-shadow:0 20px 55px rgba(45,38,27,.12)}
body.soft-theme .admin-heading h1,body.soft-theme .admin-panel-head h2{color:#26231f}
body.soft-theme .admin-heading p{color:#6e685f}
body.soft-theme .admin-stat{background:linear-gradient(145deg,#fff,#f0ede7);border-color:#d9d3c9;box-shadow:0 9px 23px rgba(48,40,28,.06)}
body.soft-theme .admin-stat span,body.soft-theme .admin-stat small{color:#777168}
body.soft-theme .admin-stat b{color:#28241f}
body.soft-theme .admin-panel{background:#fff;border-color:#d9d3c9;box-shadow:0 14px 36px rgba(48,40,28,.06)}
body.soft-theme .admin-panel-head{border-color:#e2ddd4}
body.soft-theme .admin-count{background:#f0ede7;color:#706a60}
body.soft-theme .admin-table th{color:#80796f;border-color:#e6e1d8}
body.soft-theme .admin-table td{color:#5f5a52;border-color:#ece7df}
body.soft-theme .admin-script-name b{color:#29251f}
body.soft-theme .admin-script-name small{color:#858074}
body.soft-theme .table-actions a,body.soft-theme .table-actions button{color:#84663d}
body.soft-theme .table-actions a:hover,body.soft-theme .table-actions button:hover{color:#31281c}
body.soft-theme .admin-hint{background:#f5f2ec;border-color:#ddd7cd;color:#706a60}
body.soft-theme .admin-hint code{color:#83673f}
body.soft-theme .dev-quicklink{background:linear-gradient(145deg,#fff,#f0ede7);border-color:#d9d3c9;color:#29251f}
body.soft-theme .dev-quicklink b{color:#29251f}
body.soft-theme .dev-quicklink small{color:#777168}
body.soft-theme .dev-quicklink:hover{border-color:#c8b89c;box-shadow:0 14px 30px rgba(48,40,28,.09)}
body.soft-theme .admin-page label:not(.check-option):not(.upload-field){color:#5e584f}
body.soft-theme .admin-page label input,body.soft-theme .admin-page label select,body.soft-theme .admin-page label textarea{background:#fbfaf7;border-color:#d8d1c6;color:#28241f}
body.soft-theme .upload-field{background:#f7f4ee;border-color:#d8d1c6}
body.soft-theme .upload-field b{color:#373128}
body.soft-theme .upload-field small{color:#777168}
body.soft-theme .check-option b{color:#373128}
body.soft-theme .check-option small{color:#777168}
body.soft-theme .editor-tip{background:#f5f1e9;border-color:#ded4c4}
body.soft-theme .editor-tip b{color:#80643c}
body.soft-theme .editor-tip p{color:#71695e}
body.soft-theme .back-link{color:#786f62}
body.soft-theme .back-link:hover{color:#2d271e}
body.soft-theme .key-card{background:linear-gradient(145deg,#fff,#f0ede7);border-color:#d8d1c6;box-shadow:0 25px 65px rgba(50,42,30,.13)}
body.soft-theme .key-card h1{color:#25221d}
body.soft-theme .key-card p,body.soft-theme .key-benefits{color:#6e685f}
body.soft-theme .key-footnote,body.soft-theme .task-small{color:#777168}
body.soft-theme .key-card input,body.soft-theme .key-card select{background:#fbfaf7;border-color:#d8d1c6;color:#25221d}
body.soft-theme .account-card{background:linear-gradient(145deg,#fff,#f1eee8);border-color:#d9d2c7;box-shadow:0 27px 68px rgba(52,43,30,.12),inset 0 1px #fff}
body.soft-theme .account-card h1{color:#29251f}
body.soft-theme .account-intro{color:#6d675e}
body.soft-theme .account-assurance{border-color:#e5dfd5}
body.soft-theme .account-assurance b{color:#302b24}
body.soft-theme .account-assurance small{color:#777168}
body.soft-theme .account-footnote{color:#817a6f}
body.soft-theme .account-form-error{background:#fff1ef;color:#9b4b43;border-color:#e6c4be}
body.soft-theme .profile-form label{color:#4c463d}
body.soft-theme .profile-form label>span{color:#837b70}
body.soft-theme .profile-form input,body.soft-theme .profile-form textarea{background:#fbfaf7;border-color:#d8d1c6;color:#29251f}
body.soft-theme .profile-email{background:#f7f4ee;border-color:#ded8ce}
body.soft-theme .profile-email span{color:#817a6f}
body.soft-theme .profile-email b{color:#302b24}
body.soft-theme .profile-logout button{color:#777168}
body.soft-theme .raw-source-panel{background:#fff;border-color:#d5cec3;box-shadow:0 20px 52px rgba(50,42,30,.1)}
body.soft-theme .raw-source-top{background:#f4f1eb;border-color:#e0d9ce;color:#777168}
body.soft-theme .raw-source-panel pre{color:#28241f}
body.soft-theme .raw-heading p{color:#6d675e}
body.soft-theme .flash-success{background:#f2f4ef;color:#456044;border-color:#cbd8c5}
body.soft-theme .flash-error{background:#fbefed;color:#99534b;border-color:#e3c8c3}
body.soft-theme .toast{background:#29251f;color:#faf7f0}
body.soft-theme .theme-toggle{color:#5a4a31}
body.soft-theme .phone-device{filter:drop-shadow(0 0 16px rgba(191,154,99,.08))}
body.soft-theme .site-footer .brand-word{color:#28241f}

@media(max-width:1100px){.nav-wrap{width:calc(100% - 52px)}.main-nav>a.nav-item{padding-inline:16px}.phone-showcase-v45{height:560px}.phone-device{transform:scale(.94) rotateY(-6deg) rotateX(1deg) rotateZ(-3deg)}@keyframes phone-hover-v46{0%,100%{transform:scale(.94) translate3d(0,1px,0) rotateY(-6deg) rotateX(1deg) rotateZ(-3deg)}50%{transform:scale(.94) translate3d(0,-8px,0) rotateY(-3.5deg) rotateX(.5deg) rotateZ(-2deg)}}}
@media(max-width:760px){.nav-wrap{justify-content:space-between!important}.mobile-menu{position:absolute;left:0;display:flex;flex-direction:column}.main-nav{margin:0!important}.header-tools{right:0}.hero-core-visual{min-height:540px;overflow:hidden!important}.phone-showcase-v45{height:540px}.phone-device{transform:scale(.9) rotateY(-5deg) rotateX(1deg) rotateZ(-2.5deg)}@keyframes phone-hover-v46{0%,100%{transform:scale(.9) translate3d(0,1px,0) rotateY(-5deg) rotateX(1deg) rotateZ(-2.5deg)}50%{transform:scale(.9) translate3d(0,-7px,0) rotateY(-3deg) rotateX(.5deg) rotateZ(-1.5deg)}}.account-page{width:calc(100% - 32px);padding:45px 0 65px}.profile-heading{align-items:flex-start}.profile-large-avatar{width:65px;height:65px;border-radius:20px}.raw-heading{align-items:flex-start;flex-direction:column}.raw-source-panel pre{max-height:65vh;padding:16px;font-size:10px}}
@media(max-width:480px){.nav-wrap{width:calc(100% - 28px)}.main-nav{max-width:calc(100vw - 116px);gap:2px}.main-nav>a.nav-item{gap:6px;padding:0 10px;font-size:10px}.nav-icon{width:15px;height:15px}.header-tools{gap:6px}.header-tool{width:36px;height:36px}.mobile-menu{width:36px;height:36px;flex-basis:36px}.hero-core-visual{min-height:500px}.phone-showcase-v45{height:500px}.phone-device{transform:scale(.82) rotateY(-4deg) rotateX(1deg) rotateZ(-2deg)}@keyframes phone-hover-v46{0%,100%{transform:scale(.82) translate3d(0,1px,0) rotateY(-4deg) rotateX(1deg) rotateZ(-2deg)}50%{transform:scale(.82) translate3d(0,-6px,0) rotateY(-2.5deg) rotateX(.5deg) rotateZ(-1deg)}}.account-card{padding:25px 20px;border-radius:20px}.profile-heading{gap:13px}.profile-large-avatar{width:56px;height:56px;border-radius:17px}.profile-heading h1{font-size:27px}.developer-badge{font-size:7px;padding:5px 8px}.account-intro{font-size:12px}}
@media(prefers-reduced-motion:reduce){.phone-device,.phone-shadow,.developer-badge:after{animation:none!important}.google-signin-button{transition:none!important}}
