/* ChogWorks application shell: compact desktop workspace and touch-first mobile layout. */
:root{--yellow:#ddfa43;--bg:#0e0b19;--surface:#181326;--surface2:#231b36;--muted:#b0a6c0;--line:rgba(207,190,240,.13)}
body{background:radial-gradient(ellipse at 85% 0,rgba(121,80,210,.13),transparent 45%),var(--bg)}
.noise{opacity:.015}.topbar{height:72px;gap:24px;padding-inline:max(24px,calc((100vw - 1280px)/2));background:#100c1ceF}.brand{letter-spacing:-.5px;font-size:17px;flex-shrink:0}.brand img{width:38px;height:38px;border-radius:11px;object-fit:contain}.desktop-nav{gap:3px}.desktop-nav .nav-link{padding:10px 11px;font-size:13px}.wallet-btn{max-width:190px;min-height:42px}.wallet-btn span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.page{max-width:1280px;padding:38px 28px 64px}.page-header{margin-bottom:26px;gap:24px;align-items:center}.page-header h1{font-size:40px;letter-spacing:-1.6px;line-height:1.1}.page-header p{font-size:14px;line-height:1.65;max-width:720px}.hero{gap:24px;min-height:310px}.hero h1{font-size:58px;letter-spacing:-2.8px;line-height:1.04}.hero-copy>p{font-size:16px;line-height:1.65}.hero-actions{margin:22px 0}.hero-visual{height:300px}.stats-grid{gap:14px;margin-top:24px}.stat{border-radius:18px;padding:21px}.stat strong{font-size:30px}.panel{border-radius:20px;background:linear-gradient(150deg,#1e172f,#151020);box-shadow:0 8px 30px #00000012}.panel h2{line-height:1.35}.primary,.secondary{min-height:44px;border-radius:12px}.primary{box-shadow:none}.primary:hover{box-shadow:0 6px 20px #ddfa4318}.secondary:hover{border-color:#927bac;background:#ffffff0b}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #a687e0;outline-offset:2px}
.filters{gap:7px;border-bottom:0;flex-wrap:wrap;margin-bottom:22px}.filters button{border-radius:25px!important;border:1px solid var(--line);padding:10px 17px;min-height:42px}.filters button.active{background:#ddfa4310;border-color:#ddfa4360;color:var(--yellow)}
.quest-list{gap:16px}.quest-card{border:1px solid var(--line);border-radius:20px;background:linear-gradient(125deg,#1d162c,#151020);overflow:hidden;transition:border-color .2s}.quest-card:hover{border-color:#806891}.quest{background:none;border:0;padding:23px;gap:20px}.quest>div:nth-child(2){min-width:0}.quest h3{font-size:18px;line-height:1.35}.quest p{font-size:13px;line-height:1.65;white-space:pre-line;margin-top:7px}.quest-target{font-size:12px;color:#c7b4ed;margin-top:10px;text-decoration:none;display:block;max-width:580px}.quest-target:hover{text-decoration:underline;color:var(--yellow)}.quest-logo{width:48px;height:48px;border-radius:14px}.quest-logo.website{background:#345b63}.quest-reward strong{font-size:25px}.quest-reward small{font-size:10px;letter-spacing:1px}.quest-actions{gap:9px}.go-btn,.verify-btn{min-height:44px;border-radius:12px;padding:11px 18px!important;font-size:13px}.quest-meta{padding-top:10px;gap:10px;flex-wrap:wrap}.participant-drawer{padding:18px 23px;border-top:1px solid var(--line)}.participant-name{font-size:13px}.copy-all,.participants-toggle{min-height:36px}
.campaign-layout{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);align-items:start;gap:22px}.campaign-form{gap:20px;padding:28px}.campaign-form label{font-size:12px;font-weight:600}.campaign-form input,.campaign-form select,.campaign-form textarea{font-size:15px;padding:14px;background:#100c1c;border-radius:12px;min-height:48px;line-height:1.45}.campaign-form textarea{min-height:110px}.form-row{gap:16px}.allocation-card{position:sticky;top:94px}.managed-campaign{padding:22px;border-radius:18px;gap:18px}.managed-campaign h3{font-size:18px}.campaign-metric strong{font-size:21px}.managed-campaign [data-close-early]{background:var(--yellow);color:#17122b;font-weight:700;border:0;min-height:44px}.review-list{font-size:13px}.review-list>div{padding:8px 0}.leaderboard{overflow-x:auto}.leaderboard table{min-width:650px}.leaderboard th{white-space:nowrap}.account-actions{gap:10px;flex-wrap:wrap}.account-actions button{min-height:42px}.gate-card{width:min(100% - 32px,480px);padding:32px 24px;border-radius:26px}.gate-logo img{object-fit:contain;border-radius:20px}.gate-card h1{font-size:34px;letter-spacing:-1.2px}.gate-card>p{font-size:15px;line-height:1.6}.gate-logo{margin-bottom:18px}.gate-card .kicker{font-size:10px}.gate-features{font-size:11px}
@media(max-width:1120px){.topbar{gap:14px;padding-inline:20px}.network{display:none}.desktop-nav .nav-link{padding:9px 8px;font-size:12px}.brand{font-size:15px}.page{padding-inline:24px}}
@media(max-width:900px){.desktop-nav{display:none!important}.topbar{height:64px;gap:12px;padding:0 18px}.brand{font-size:16px}.brand img{width:34px;height:34px}.wallet-btn{max-width:155px;padding:10px 12px;font-size:12px}.mobile-nav{padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:5px;background:#120e1df2;border-top:1px solid #504060}.mobile-nav button{min-height:52px;gap:4px;font-size:11px}.mobile-nav button span{font-size:20px}.mobile-nav button.active{background:#ddfa4312;border-radius:13px}.page{padding:28px 18px 110px}.page-header{margin-bottom:23px;align-items:flex-start}.page-header h1{font-size:32px;letter-spacing:-1px}.page-header p{font-size:13px}.hero{display:block}.hero h1{font-size:42px;letter-spacing:-1.8px}.hero-copy>p{font-size:14px}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-actions button{padding:13px 10px;font-size:13px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:17px}.stat strong{font-size:25px}.stat small{line-height:1.4}.panel{padding:20px}.campaign-layout{grid-template-columns:1fr}.allocation-card{position:static}.campaign-form{padding:20px}.page-header .token-chip{display:none}.filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:7px;padding-bottom:4px}.filters button{flex-shrink:0;padding:9px 14px}.quest{grid-template-columns:44px minmax(0,1fr) auto;padding:18px;gap:12px}.quest-logo{width:42px;height:42px}.quest h3{font-size:16px}.quest p{font-size:12px}.quest-reward strong{font-size:22px}.quest-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:4px}.quest-actions button{width:100%;min-height:46px}.quest-meta{grid-column:1/-1;font-size:11px;display:flex;justify-content:space-between}.participant-drawer{padding:16px}.quest-target{font-size:11px}.managed-campaign{display:flex;flex-wrap:wrap;padding:18px;gap:16px}.managed-campaign>div:first-child{width:100%}.campaign-metric{flex:1;min-width:110px}.managed-campaign>div:has([data-close-early]){width:100%}.managed-campaign [data-close-early]{width:100%;margin:0}.review-list{width:100%}.reward-record{flex-wrap:wrap;gap:12px}.reward-record button{min-height:44px}.account-card{padding:20px}.account-actions{width:100%;display:flex}.account-actions button{flex:1;white-space:nowrap}.contract-line{max-width:100%;overflow:hidden}.wallet-gate{inset:0;z-index:100;padding:24px 0;align-items:center}.gate-card{max-height:calc(100dvh - 48px);overflow-y:auto}.gate-logo{width:72px;height:72px}.gate-logo img{width:72px;height:72px}.gate-card h1{font-size:30px}.gate-card>p{font-size:14px}.how-it-works{padding-top:28px}footer{padding:24px 18px 110px;gap:14px;flex-wrap:wrap}}
@media(max-width:380px){.brand>span{font-size:13px}.wallet-btn{max-width:128px}.page{padding-inline:14px}.hero h1{font-size:36px}.page-header h1{font-size:28px}.quest{padding:14px;gap:9px}.quest-reward strong{font-size:19px}.form-row{grid-template-columns:1fr}.gate-card{padding:24px 18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mobile-nav .nav-icon{display:grid;place-items:center;height:24px}.mobile-nav .nav-icon svg{width:23px;height:23px;display:block}.mobile-nav button.active .nav-icon svg{filter:drop-shadow(0 0 5px #ddfa4320)}

.asset-card>.token-logo{width:48px;height:48px;background:transparent!important;box-shadow:none!important;object-fit:contain;border-radius:0;margin-bottom:16px}.asset-card>.eth-logo{padding:0 9px;filter:brightness(1.8)}.asset-card>.work-logo{clip-path:circle(47% at 50% 50%)}
/* Dense mobile workspace: balances as asset rows, short headers and restrained surfaces. */
@media(max-width:900px){
.page{padding:18px 14px 94px}.topbar{height:56px;padding-inline:14px}.brand img{width:30px;height:30px}.wallet-btn{min-height:36px;padding:8px 10px}.page-header{display:block;margin-bottom:16px}.page-header .kicker{display:none}.page-header h1{font-size:25px;letter-spacing:-.7px;margin:0 0 7px;line-height:1.2}.page-header p{font-size:12px;line-height:1.5;max-width:100%;margin:0}.page-header>div:last-child:not(:first-child){display:none}.hero h1{font-size:34px;letter-spacing:-1.5px;margin:13px 0}.hero-copy>p{font-size:13px;line-height:1.5}.hero .eyebrow{font-size:9px}.hero-actions{margin:16px 0}.hero-actions button{font-size:12px;min-height:40px}.hero{min-height:0}.stats-grid{gap:8px;margin:14px 0}.stat{padding:13px;border-radius:12px}.stat>span{font-size:10px}.stat strong{font-size:23px;line-height:1.2;margin:7px 0}.stat small{font-size:10px}.panel{padding:15px;border-radius:14px;box-shadow:none}.panel h2{font-size:17px}.panel-head{gap:10px}.dashboard-grid,.miner-layout{gap:12px}.page-header .token-chip{display:none}.kicker{font-size:9px;letter-spacing:1.2px}.primary,.secondary{font-size:12px;padding:10px 13px;min-height:40px;border-radius:10px}.filters{margin-bottom:13px;gap:6px}.filters button{min-height:36px;font-size:11px;padding:8px 12px}.quest-list{gap:10px}.quest-card{border-radius:13px;background:#191325}.quest{padding:13px;grid-template-columns:32px minmax(0,1fr) auto;gap:9px}.quest-logo{width:32px;height:32px;border-radius:9px}.quest-logo svg{width:19px;height:19px}.quest h3{font-size:14px;margin:0 0 4px}.quest p{font-size:11px;line-height:1.5;margin-top:4px}.quest-target{font-size:10px;margin-top:6px}.quest-reward strong{font-size:19px}.quest-reward small{font-size:8px}.sponsored-label{font-size:8px!important}.quest-actions{gap:8px;margin-top:3px}.go-btn,.verify-btn{min-height:40px!important;font-size:12px!important;padding:9px 12px!important}.quest-meta{padding-top:5px;font-size:10px}.participant-drawer{padding:12px}.participant-name{font-size:11px}.integrity-note{padding:13px;gap:10px;border-radius:12px}.integrity-note h3{font-size:13px;margin-bottom:4px}.integrity-note p{font-size:10px;line-height:1.5}.mobile-nav{padding:5px 8px calc(5px + env(safe-area-inset-bottom));gap:3px}.mobile-nav button{min-height:48px;font-size:10px;gap:3px}.mobile-nav .nav-icon svg{width:21px;height:21px}.mobile-nav .nav-icon{height:22px}.mobile-nav button span{font-size:21px}.how-it-works{padding-top:20px}.how-it-works h2{font-size:21px}.how-it-works article{padding:15px}.rig-stage{height:165px}.rig-stage img{width:125px;height:125px;border-radius:20px}.pulse-ring{width:150px!important;height:150px!important}.upgrade-card{padding:14px;gap:10px}.upgrade-card h3{font-size:14px}.upgrade-card p{font-size:11px;margin-bottom:7px}.claim-btn{min-height:42px;padding:11px}.miner-stats{gap:10px}.miner-stats strong{font-size:22px}.account-card{padding:13px;gap:10px;margin:12px 0}.account-avatar{width:34px;height:34px;font-size:16px;border-radius:10px}.account-card strong{font-size:13px;overflow-wrap:anywhere}.account-card small{font-size:10px}.account-actions{gap:6px;margin-top:3px}.account-actions button{padding:9px 7px;min-height:38px;font-size:10px}.asset-grid{grid-template-columns:1fr!important;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:14px 0;background:#171122}.asset-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:3px 10px;padding:14px;border:0;border-radius:0;background:none}.asset-card+.asset-card{border-top:1px solid var(--line)}.asset-card:after{display:none}.asset-card>.token-logo{width:29px;height:32px;grid-column:1;grid-row:1/3;margin:0;align-self:start}.asset-card>.eth-logo{padding:0 5px}.asset-card>span{grid-column:2;font-size:9px;letter-spacing:.5px}.asset-card>strong{grid-column:2;font-size:22px;margin:2px 0;line-height:1.2}.asset-card>small{grid-column:2/-1;font-size:9px;line-height:1.45;margin:3px 0}.asset-actions{grid-column:2/-1;display:flex;gap:8px;margin:7px 0 0;flex-wrap:wrap}.asset-actions button{min-height:36px;padding:8px 11px;font-size:11px}.funding-strip{padding:13px;gap:8px;flex-wrap:wrap;border-radius:12px;margin-bottom:12px}.funding-strip p{font-size:10px;line-height:1.5}.funding-strip button,.funding-strip a{font-size:11px}.chog-worker-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:14px}.chog-worker-visual img{width:58px;height:58px;border-radius:12px}.chog-worker-card h2{font-size:16px;margin:3px 0}.chog-worker-card p{font-size:11px;line-height:1.45}.chog-worker-card>.primary{grid-column:1/-1;width:100%;min-height:38px}.worker-meta{gap:6px;font-size:9px;flex-wrap:wrap}.internal-wallet{padding:13px;border-radius:13px;gap:8px;margin:12px 0}.internal-wallet strong{font-size:11px;overflow-wrap:anywhere}.internal-wallet small{font-size:9px}.internal-wallet button{padding:8px 10px;font-size:10px;min-height:36px}.wallet-details-grid{gap:12px}.withdraw-panel label{font-size:12px}.withdraw-panel input{font-size:16px;min-height:42px}.campaign-form{gap:14px;padding:15px}.campaign-form input,.campaign-form select,.campaign-form textarea{padding:11px;min-height:42px;font-size:16px}.campaign-form label{font-size:11px}.campaign-form textarea{min-height:80px}.campaign-total{padding:12px}.allocation-card{padding:16px}.managed-campaign{padding:14px;gap:12px;border-radius:13px}.managed-campaign h3{font-size:15px}.campaign-metric strong{font-size:18px}.campaign-metric span{font-size:9px}.managed-campaign code{font-size:10px}.reward-record{padding:14px 0}.reward-record strong{font-size:14px}.reward-record span{font-size:12px}.leaderboard-head{padding:15px;gap:10px}.leaderboard-head h2{font-size:18px}.leaderboard-head p{font-size:11px}.leader-bank strong{font-size:23px}.leaderboard td{padding:12px 10px;font-size:12px}.leaderboard th{font-size:9px;padding:10px}.weekly-summary{padding:15px}.test-mode{display:none}footer{padding-bottom:95px}
}

.mobile-quest-shortcuts{display:none}
@media(max-width:900px){.mobile-quest-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}.mobile-quest-shortcuts button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;font-size:12px}.mobile-quest-shortcuts svg{width:17px;height:17px;flex-shrink:0}.mobile-quest-shortcuts .primary span{font-size:23px;font-weight:500;line-height:1}.account-actions{display:grid;grid-template-columns:1fr 1fr}.account-actions button{white-space:normal;line-height:1.4}}

.demo-guide{max-width:1224px;margin:24px auto;padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:13px;color:var(--muted);line-height:1.65}.demo-guide summary{cursor:pointer;font-weight:700;color:var(--text)}.demo-guide h3{color:var(--text)}.tx-status{position:fixed;z-index:90;bottom:22px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 28px));display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#251b37;border:1px solid #8e77a9;border-radius:13px;padding:13px 16px;font-size:12px;box-shadow:0 5px 24px #0006}.tx-status a{color:var(--yellow);text-decoration:none}.tx-status button{margin-left:auto;background:none;border:0;color:white;font-size:23px;cursor:pointer}.tx-status.tx-error{border-color:#ff8c96}.tx-status.hidden{display:none}@media(max-width:900px){.demo-guide{margin:12px 14px 85px;padding:14px;font-size:11px}.tx-status{bottom:calc(72px + env(safe-area-inset-bottom));padding:11px 13px;font-size:11px}}

.rig-stage img{border-radius:50%!important;clip-path:circle(48% at 50% 50%)}

/* Public browsing and dismissible account access. */
.guest-notice{max-width:1220px;margin:20px auto 0;padding:14px 18px;display:flex;align-items:center;gap:18px;border:1px solid rgba(223,255,0,.2);border-radius:14px;background:linear-gradient(110deg,rgba(223,255,0,.045),rgba(139,92,246,.09));color:var(--muted);font-size:13px;line-height:1.5}
.guest-notice strong{color:var(--text);margin-right:8px}.guest-notice>span{flex:1}.guest-notice button{flex-shrink:0}.guest-notice.hidden{display:none}
.gate-card{position:relative}.gate-close{position:absolute;top:15px;right:17px;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.05);color:var(--text);font:24px var(--font);cursor:pointer}.gate-close:hover{border-color:var(--yellow)}
.guest-browse{display:block;margin:16px auto 0;border:0;background:none;color:var(--muted);font:600 13px var(--font);padding:10px;cursor:pointer}.guest-browse:hover{color:var(--yellow)}
.guest-rewards{padding:22px 0;color:var(--muted)}.guest-rewards button{margin-top:8px}
@media(max-width:760px){.guest-notice{margin:12px 14px 0;padding:12px;gap:10px;font-size:12px;align-items:flex-start}.guest-notice strong{display:block}.guest-notice button{padding:9px 10px;font-size:12px}.gate-close{top:10px;right:10px}}
