:root{--cdm-violet:#4f46e5;--me-border:#e2e8f0}body{background:#f1f5f9!important}body.theme-dark{background:#0b1120!important}.card,.task-card,.feed-v6-card,.app-shell-card{border-radius:20px!important;box-shadow:0 4px 24px #0f172a08!important}.task-card{border:1px solid var(--me-border)!important}.task-title{font-size:16px!important}.task-desc{line-height:1.65!important}button{transition:background .18s,transform .18s!important}button:active{transform:translateY(1px)}.r-panel{background:#fff;color:#17213a;border:1px solid #e2e8f0;border-radius:24px;padding:28px;margin:16px 0;box-shadow:0 12px 40px #0f172a08}.theme-dark .r-panel{background:#151e30;color:#e2e8f0;border-color:#334155}.r-eyebrow{color:#6366f1;font-size:11px;font-weight:900;letter-spacing:2px;text-transform:uppercase}.r-panel h2{font-size:clamp(24px,4vw,38px);letter-spacing:-1px;margin:10px 0}.r-muted{color:#7c8aa1;line-height:1.6}.r-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.r-btn{border:0!important;background:#4f46e5!important;color:white!important;padding:13px 20px!important;border-radius:12px!important;font-weight:800;cursor:pointer;width:auto!important;margin:0!important}.r-btn.secondary{background:#e8edf6!important;color:#263650!important}.r-btn:disabled{opacity:.5;cursor:wait}.r-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.r-game-card{background:#eef2ff;border:1px solid #dbe2ff;border-radius:20px;padding:24px;text-align:left;color:#1e293b;cursor:pointer}.r-game-card span{display:block;font-size:36px;margin-bottom:24px}.r-game-card b{font-size:21px}.r-game-card p{font-size:13px;line-height:1.6}.r-game-card:nth-child(2){background:#ecfdf5;border-color:#bbf7d0}.r-game-card:nth-child(3){background:#fff7ed;border-color:#fed7aa}#rArcade{position:fixed;inset:0;background:#edf2f8;z-index:30000;overflow:auto;padding:24px;color:#17213a}#rArcade[hidden]{display:none}#rArcade .r-wrap{max-width:1000px;margin:auto}.r-board{display:grid;gap:8px;max-width:480px;margin:24px auto}.r-board button{aspect-ratio:1;border:0;border-radius:12px;background:#dfe7f5;color:#273650;font-size:30px;font-weight:900;cursor:pointer}.r-board button.revealed{background:#d1fae5}.r-board button:disabled{opacity:1}.r-status{text-align:center;font-weight:800;min-height:28px;margin:16px}#rSnake{display:block;width:min(100%,440px);height:auto;margin:20px auto;background:#111c30;border-radius:18px;touch-action:none}.r-controls{display:flex;justify-content:center;gap:8px}.r-table{width:100%;border-collapse:collapse;margin-top:18px}.r-table th,.r-table td{text-align:left;padding:12px 8px;border-bottom:1px solid #cbd5e155;font-size:14px}.r-table th{color:#7c8aa1;font-size:11px;text-transform:uppercase;letter-spacing:1px}.r-stats{display:flex;gap:24px;padding:20px 0}.r-stats b{display:block;font-size:30px}.r-stats span{font-size:12px;color:#7c8aa1}.r-panel input{max-width:180px}.r-history{display:flex;flex-wrap:wrap;gap:8px}.r-history button{font-size:12px}@media(max-width:650px){.r-grid{grid-template-columns:1fr}.r-game-card{padding:18px}.r-game-card span{float:left;margin:0 18px 0 0}.r-panel{padding:18px}#rArcade{padding:14px}.r-table th,.r-table td{padding:10px 4px;font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
:root body .r-btn,:root body .r-game-card,:root body .r-board button{box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important}:root body .r-game-card:hover{box-shadow:0 10px 25px #33415518!important;transform:translateY(-3px)}:root body .r-btn:focus-visible,:root body .r-board button:focus-visible{outline:3px solid #818cf8;outline-offset:3px}.r-panel input{margin-bottom:0!important}.r-row label{font-size:12px;font-weight:700}.r-stats{border-top:1px solid #cbd5e155;margin-top:24px}.r-table tbody tr:first-child{background:#6366f10a}.r-table tbody tr:first-child td:first-child{color:#6366f1;font-weight:900}
:root body .app-header{box-shadow:0 1px 0 #e2e8f0!important;border-radius:0!important;background:#fff!important}:root body .app-shell-card{background:#fff!important;border:1px solid #e2e8f0!important}:root body .app-shell-card .scroll-nav-item{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:12px!important}:root body .app-shell-card .scroll-nav-item.active{background:#eef2ff!important;color:#4f46e5!important;box-shadow:inset 3px 0 #6366f1!important}:root body .app-shell-card .scroll-nav-item .nav-text{font-size:12px!important;letter-spacing:0!important;text-transform:none!important}:root body .app-shell-card .scroll-nav-item:hover{background:#f1f5f9!important}:root body input,:root body textarea,:root body select{border-radius:12px!important;background:#f8fafc;border-color:#dce3ed!important}:root body input:focus,:root body textarea:focus,:root body select:focus{outline:2px solid #a5b4fc!important;box-shadow:none!important}:root body .tab-content>h3{font-size:26px!important;letter-spacing:-.7px}:root body .task-card{padding:20px!important;transition:box-shadow .2s!important}:root body .task-card:hover{box-shadow:0 8px 25px #0f172a0d!important}:root body .task-pill{border-radius:7px!important;font-weight:600!important}:root body .kanban-col{background:#f6f8fc!important;border:1px solid #e2e8f0!important;border-radius:18px!important}:root body .btn-secondary{box-shadow:none!important;background:#eef2f7!important;color:#334155!important;border:1px solid #e2e8f0!important}:root body .chat-msg{border-radius:16px!important;line-height:1.6!important}:root body .chat-msg.mine{background:#eef2ff!important;color:#243051!important;border-color:#c7d2fe!important}:root body .office-oracle{box-shadow:none!important}:root body .header-arcade-btn{box-shadow:none!important}:root body.theme-dark .app-header,:root body.theme-dark .app-shell-card{background:#111b2d!important;border-color:#29354b!important}:root body.theme-dark .app-shell-card .scroll-nav-item.active{background:#283457!important;color:#c7d2fe!important}:root body.theme-dark .app-shell-card .scroll-nav-item:hover{background:#202d43!important}:root body.theme-dark .kanban-col,:root body.theme-dark input,:root body.theme-dark textarea,:root body.theme-dark select{background:#10192a!important;color:#e2e8f0!important;border-color:#334155!important}:root body.theme-dark .btn-secondary{background:#26344a!important;color:#e2e8f0!important;border-color:#334155!important}:root body.theme-dark .chat-msg.mine{background:#283457!important;color:#eef2ff!important;border-color:#394974!important}@media(max-width:700px){:root body .app-shell-card{border-radius:20px!important}.r-stats{gap:18px}.r-row .r-btn{font-size:12px!important}.r-table{table-layout:fixed}.r-table th:first-child{width:24px}.r-table th:nth-child(2){width:35%}.r-table td{overflow-wrap:anywhere}}
.royale-feature{display:flex!important;align-items:flex-start;flex-direction:column;gap:16px;width:100%;position:relative;overflow:hidden;text-align:left!important;padding:32px!important;border-radius:20px!important;border:0!important;background:radial-gradient(ellipse at 85% 80%,#31ad9780,transparent 35%),linear-gradient(115deg,#172d53,#4c3180)!important;color:#fff!important;box-shadow:none!important;text-transform:none!important;cursor:pointer}.royale-feature:after{content:'◎';position:absolute;right:8%;top:0;font-size:240px;line-height:1;color:#a4f4f522;pointer-events:none}.royale-feature strong{font:900 clamp(36px,7vw,62px)/.95 system-ui!important;letter-spacing:-2px;transform:skew(-6deg)}.royale-feature>b{color:#ccf484;background:#162b42;padding:12px 18px;border-radius:8px}.royale-badge{font:800 10px/1.4 system-ui;letter-spacing:2px;color:#b7ec9b}.or-hud{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:12px;background:#15263e;color:#99e9e6;padding:14px;border-radius:12px}.or-hud b{font-size:22px;color:#fff}.or-hud small{display:block;font-size:8px;letter-spacing:1px;color:#9aaec6;margin-top:5px}.or-stage{position:relative;overflow:hidden;border-radius:18px;background:#192949}#orCanvas{display:block;width:100%;height:auto;aspect-ratio:8/5;touch-action:none;cursor:crosshair;outline-offset:-3px}.or-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;padding:20px;background:linear-gradient(120deg,#101f3dec,#332364d9);color:#fff}.or-cover[hidden]{display:none}.or-cover h3{color:#fff!important;font:900 clamp(28px,6vw,62px)/.95 system-ui!important;letter-spacing:-2px;margin:0;transform:skew(-6deg)}.or-cover p{font-size:13px;line-height:1.6;max-width:520px;margin:0;color:#d3dfed}.or-cover .r-btn{background:#c4f286!important;color:#152b3c!important;padding:16px 24px!important}.or-toast{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;border-radius:8px;background:#0e2036db;color:#fff;font:600 12px/1.4 system-ui;padding:8px 14px;pointer-events:none}.or-toast:empty{display:none}.or-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px;font-size:12px;font-weight:700}.or-toolbar .r-btn{padding:10px 12px!important;font-size:11px!important}.or-toolbar>span{padding:8px 0;color:#586d85}.or-mobile{display:none;justify-content:space-between;align-items:center;padding:15px 8px}.or-help{font-size:12px!important;line-height:1.8}#orStick,#orFire{position:relative;width:100px;height:100px;border-radius:50%!important;background:#dce5f2!important;border:2px solid #c0d0e5!important;touch-action:none;user-select:none;box-shadow:none!important;display:flex;align-items:center;justify-content:center;color:#244569!important}#orKnob{display:block;width:44px;height:44px;background:#657fa8;border-radius:50%;pointer-events:none}#orStick small,#orFire small{position:absolute;bottom:7px;font:800 8px system-ui;color:#365073}#orFire{font-size:38px!important;background:#cfe3fa!important;margin:0!important}#orFire:active{background:#93c5fd!important}.or-hud span{min-width:0}@media(pointer:coarse),(max-width:700px){.or-mobile{display:flex}.or-hud{gap:4px;padding:10px 6px}.or-hud b{font-size:17px}.or-hud small{font-size:7px;letter-spacing:0}.or-cover{gap:10px;padding:10px}.or-cover h3{font-size:26px!important}.or-cover p{font-size:10px}.or-cover .royale-badge{font-size:8px;letter-spacing:1px}.or-cover .r-btn{padding:10px 16px!important;font-size:11px!important}.royale-feature{padding:24px!important}.or-toolbar>span{font-size:10px}.or-toast{font-size:10px;bottom:8px}}
#rArcade{z-index:300000!important}
