.rw-hub,.rw-admin{--rw-bg:#101711;--rw-line:#3c4b36;--rw-text:#f3f5ee;--rw-muted:#b7c1b0;color:var(--rw-text);margin:20px 0;min-width:0}
.rw-hub [hidden],.rw-admin [hidden]{display:none!important}
.rw-goal{display:flex;gap:16px;align-items:center;padding:18px;border:1px solid var(--rw-line);border-radius:18px;background:var(--rw-bg)}
.rw-goal>div:last-child{flex:1;min-width:0}.rw-goal strong,.rw-goal small{display:block}.rw-goal p{margin:6px 0}.rw-goal .rw-art{width:84px;min-width:84px;height:84px}.rw-goal .rw-art span{font-size:24px}
.rw-hub p,.rw-admin p{line-height:1.5}.rw-hub small,.rw-admin small{color:var(--rw-muted);line-height:1.5}.rw-hub progress{display:block;width:100%;height:9px;margin:10px 0;accent-color:#b9f56c}
.rw-hub-actions,.rw-showcase,.rw-tabs{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.rw-hub-actions{margin-top:12px}.rw-hub-actions span{font-size:12px;color:var(--rw-muted)}
.rw-dialog{color:var(--rw-text);background:#0c110d;border:1px solid var(--rw-line);border-radius:22px;padding:24px;width:min(1000px,calc(100% - 24px));max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
.rw-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.rw-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.rw-dialog-head h2{font-size:26px!important;margin:0 0 12px!important}.rw-dialog-head button{flex:none}
.rw-tabs{margin:18px 0}.rw-balance,.rw-notice,.rw-dialog-notice{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.rw-notice:empty,.rw-dialog-notice:empty{display:none}
.rw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px;margin:16px 0}.rw-card{border:1px solid var(--rw-line);background:var(--rw-bg);padding:18px;border-radius:18px;display:flex;flex-direction:column;gap:10px;min-width:0;overflow-wrap:anywhere}
.rw-card h3{font-size:20px!important;margin:0!important}.rw-card p{margin:0;flex:1;font-size:14px}.rw-card>strong{font-size:13px}.rw-card>small{font-size:12px}
.rw-art{--rw-color:#b9f56c;display:flex;align-items:center;justify-content:center;height:130px;border-radius:14px;background:radial-gradient(ellipse at center,#ffffff09,#0000);overflow:hidden;flex-shrink:0}
.rw-art img{width:100%;height:100%;object-fit:contain}.rw-art span{color:var(--rw-color);font-size:44px;font-weight:800;text-shadow:0 2px 18px #0008}.rw-art-frame span{border:4px double var(--rw-color);border-radius:50%;padding:15px;font-size:30px}.rw-art-title span{font-family:Georgia,serif;font-style:italic}.rw-art-trophy span{font-size:70px;text-shadow:0 8px 0 #ffffff18}
.rw-confirm{max-width:480px;margin:20px auto;text-align:center}.rw-confirm button{margin:8px}.rw-showcase{margin:14px 0}.rw-showcase .rw-art{width:90px;height:80px}.rw-badge{padding:7px 10px;border:1px solid var(--rw-line);border-radius:30px;font-size:12px;color:#d5eac1}
.rw-achievement-icon{font-size:42px;color:#b9f56c}.rw-profile-title{font-size:14px!important;color:#d0edb3!important;margin:8px 0!important}
[data-reward-frame]:not([data-reward-frame=""]){outline:3px solid var(--rw-frame-color);outline-offset:4px;box-shadow:0 0 22px color-mix(in srgb,var(--rw-frame-color) 25%,transparent)}
.rw-admin form{display:grid;gap:12px}.rw-admin label{display:grid;gap:6px}.rw-admin input[type=checkbox]{width:auto;justify-self:start}.rw-admin .rw-card .rw-art{height:85px}.rw-admin .rw-audit{overflow-wrap:anywhere}.rw-admin .rw-audit article{padding:12px 0;border-bottom:1px solid var(--rw-line)}
.rw-admin .rw-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.rw-admin .rw-row>label{flex:1;min-width:180px}.rw-admin img.rw-upload-preview{max-width:180px;max-height:160px;object-fit:contain}
.rw-audit pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.rw-web-identity{display:flex;align-items:center;gap:20px;margin:20px 0}.rw-web-avatar{display:grid;place-items:center;width:88px;height:88px;flex-shrink:0;overflow:hidden;border-radius:25px;background:#182614;color:#d8f3be;font-size:28px;font-weight:800}.rw-web-avatar img{width:100%;height:100%;object-fit:cover}
html body.ctgm-ui .rw-hub button,html body.ctgm-ui .rw-admin button{min-height:44px;max-width:100%;white-space:normal;padding:10px 14px!important;background:#b9f56c!important;color:#142008!important;-webkit-text-fill-color:#142008!important;border:1px solid #b9f56c!important;border-radius:12px;font-weight:750;cursor:pointer;font-size:12px;line-height:1.4}
html body.ctgm-ui .rw-hub button.rw-secondary,html body.ctgm-ui .rw-admin button.rw-secondary,html body.ctgm-ui .rw-tabs button[aria-pressed=false]{background:#162013!important;color:#daebcd!important;-webkit-text-fill-color:#daebcd!important;border-color:#627653!important}
html body.ctgm-ui .rw-hub button.rw-link{background:transparent!important;border-color:transparent!important;color:#b9f56c!important;-webkit-text-fill-color:#b9f56c!important;text-decoration:underline;font-weight:500}
.rw-hub button:disabled,.rw-admin button:disabled{opacity:.55;cursor:wait}.rw-hub button:focus-visible,.rw-admin button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.game-practice-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.game-practice-label{padding:12px;border:1px solid #8adbea;background:#0c2530;color:#ceeff8;font-size:12px;font-weight:800;border-radius:12px}
.game-result-summary{padding:18px;border:1px solid #465a3b;background:#121c12;border-radius:18px;margin:18px 0}.game-result-summary h3{margin:0 0 12px;font-size:20px}.game-result-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.game-result-summary dt{font-size:12px;color:#bbc8b1}.game-result-summary dd{margin:0;text-align:right;font-size:13px;font-weight:700}.game-result-summary p{font-size:13px;line-height:1.5}
.rw-celebrate .rw-goal,.game-coins-arrive{animation:rw-glow .65s ease-out}.game-provisional-win{animation:rw-provisional .5s ease-out}
@keyframes rw-glow{0%{box-shadow:0 0 0 0 #b9f56c88;transform:translateY(3px)}100%{box-shadow:0 0 0 14px #b9f56c00;transform:translateY(0)}}
@keyframes rw-provisional{0%{outline:2px solid #ccaaff}100%{outline:2px solid transparent}}
@media(max-width:500px){.rw-dialog{padding:16px;max-height:94dvh}.rw-goal{padding:12px;gap:10px}.rw-goal .rw-art{width:56px;min-width:56px;height:66px}.rw-goal .rw-art span{font-size:18px;padding:6px}.rw-goal strong{font-size:15px}.rw-goal p{font-size:12px}.rw-goal small{font-size:11px}.rw-tabs{gap:6px}.rw-dialog-head h2{font-size:22px!important}.rw-tabs button{flex:1;padding:8px!important}.rw-admin .rw-row>label{min-width:100%}}
@media(prefers-reduced-motion:reduce){.rw-hub *,.rw-admin *,.game-coins-arrive,.game-provisional-win{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.rw-delivery-terms{white-space:pre-wrap;overflow-wrap:anywhere}.rw-card small{overflow-wrap:anywhere}
.rw-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--rw-line);border-radius:10px;color:#c6ff8e!important;background:#1c2b17;text-decoration:none;font-weight:700}
.rw-contact:focus-visible{outline:3px solid #b9f56c;outline-offset:3px}.rw-art-physical span{font-size:48px}.rw-admin [data-ra=physicalFields]{display:grid;gap:10px}
