/* Pure white / black surfaces with celadon green and muted plum accents. */
:root{--primary:#147D72;--primary-light:#EAF5F2;--ink:#211F1D;--muted:#66625F;--line:#E9E7E5;--surface:#F4F8F6;--green:#188462;--red:#CF4F58;--brand-jade:#147D72;--brand-hajizome:#956B85;--brand-hajizome-wash:#F5EEF3}
body{background:#fff;color:var(--ink)}
body:has(#phone[data-theme="dark"]){--primary:#6CC4B4;--primary-light:#102824;--ink:#F6F4F2;--muted:#B1ABA6;--line:#30302F;--surface:#141414;background:#000;color:var(--ink)}
.brand-mark{background:transparent;border:1px solid var(--line)}.brand-mark img{width:27px;height:27px}
body:has(#phone[data-theme="dark"]) .brand-mark img{filter:brightness(1.55)}
#phone,#phone.is-copen,#phone.is-copen-pro{--cp-bg:#fff;--cp-card:#fff;--cp-soft:#F4F8F6;--cp-border:#E9E7E5;--cp-text:#211F1D;--cp-muted:#66625F;--cp-accent:#147D72;--cp-tint:#EAF5F2;--cp-up:#188462;--cp-down:#CF4F58;--cp-cta:#147D72;--cp-cta-ink:#fff;--primary:#147D72;--primary-light:#EAF5F2;--green:#188462;--red:#CF4F58;--ink:#211F1D;--muted:#66625F;--line:#E9E7E5;--surface:#F4F8F6;background:#fff;color:var(--cp-text)}
#phone[data-theme="dark"],#phone[data-theme="dark"].is-copen,#phone[data-theme="dark"].is-copen-pro{--cp-bg:#000;--cp-card:#0F0F0F;--cp-soft:#171717;--cp-border:#30302F;--cp-text:#F6F4F2;--cp-muted:#B1ABA6;--cp-accent:#6CC4B4;--cp-tint:#102824;--cp-up:#55C69A;--cp-down:#ED7781;--cp-cta:#6CC4B4;--cp-cta-ink:#000;--primary:#6CC4B4;--primary-light:#102824;--green:#55C69A;--red:#ED7781;--ink:#F6F4F2;--muted:#B1ABA6;--line:#30302F;--surface:#171717;background:#000;color:var(--cp-text)}
#phone .screen,#phone .nav,#phone .statusbar,#phone .sheet,#phone .cw-page{background:var(--cp-bg);color:var(--cp-text)}
#phone .card,#phone .cp-module,#phone .v10-invite,#phone .v10-tier,#phone .v10-benefits,#phone .v10-friends,#phone .v10-rules,#phone .v5-token-card,#phone .v5-quote-card{background:var(--cp-card);border-color:var(--cp-border);color:var(--cp-text)}
#phone .card.purple,#phone .quick .tile,#phone .v6-search-launch,#phone .guide,#phone .v6-hub-list button,#phone .strategy.active,#phone .sheet .v6-result-mark{background:var(--cp-soft);border-color:var(--cp-border);color:var(--cp-text)}
#phone .guide{background:var(--cp-card);border:1px solid var(--cp-border)}
#phone .guide small,#phone .v6-hub-list small{color:var(--cp-muted)}
#phone .guide-icon{width:44px;height:44px;border-radius:13px;background:var(--cp-tint);flex:none}
#phone .guide-icon img{width:34px;height:34px;object-fit:contain}
#phone .wallet-logo,#phone .brand-mark,#phone .cp-brand img,#phone .cw-welcome-brand img{background:transparent;color:var(--cp-accent)}
#phone .wallet-logo img{width:27px;height:27px}
#phone[data-theme="dark"] .wallet-logo img,#phone[data-theme="dark"] .cp-brand img,#phone[data-theme="dark"] .cw-welcome-brand img{filter:brightness(1.55)}
#phone .primary,#phone .cp-primary,#phone .cp-modal .cp-button:not(.cp-secondary):not(.cp-danger),#phone[data-current-page="ai"] .primary,#phone[data-current-page="ai"] .cp-primary,#phone .cw-primary{background:#147D72!important;border-color:#147D72!important;color:#fff!important}
#phone[data-theme="dark"] .primary,#phone[data-theme="dark"] .cp-primary,#phone[data-theme="dark"] .cp-modal .cp-button:not(.cp-secondary):not(.cp-danger),#phone[data-theme="dark"] .cw-primary{background:#6CC4B4!important;border-color:#6CC4B4!important;color:#000!important}
#phone .primary.green,#phone .cp-long{background:var(--cp-up)!important;border-color:var(--cp-up)!important;color:#fff!important}
#phone .cp-short,#phone .cp-modal .cp-button.cp-danger{background:var(--cp-down)!important;border-color:var(--cp-down)!important;color:#fff!important}
#phone[data-theme="dark"] .primary.green,#phone[data-theme="dark"] .cp-long,#phone[data-theme="dark"] .cp-short,#phone[data-theme="dark"] .cp-modal .cp-button.cp-danger{color:#000!important}
#phone .cp-up,#phone .up{color:var(--cp-up)}#phone .cp-down,#phone .down{color:var(--cp-down)}
#phone .text-btn,#phone .cp-link,#phone .v5-link,#phone .v11-funding-intent button{color:var(--cp-accent)}
#phone .tabs button.active,#phone .chip.active,#phone .nav button.active,#phone .cp-mode button.active,#phone .cp-chart-periods .active,#phone .v14-dapp-tabs button.active{background:var(--cp-tint);color:var(--cp-accent);border-color:var(--cp-border)}
#phone .quick.ai .tile,#phone[data-current-page="ai"] .model.active,#phone[data-current-page="ai"] .strategy.active,#phone .v10-benefits>div span{background:#F5EEF3;border-color:#D9BECD;color:#785568}
#phone[data-theme="dark"] .quick.ai .tile,#phone[data-theme="dark"][data-current-page="ai"] .model.active,#phone[data-theme="dark"] .v10-benefits>div span{background:#291D23;color:#E8B7C7;border-color:#694957}
#phone .v10-earnings{background:#092724;box-shadow:none}
#phone .v10-earnings-action{background:#DDF2EB;color:#123C34}
#phone[data-theme="dark"] .v10-earnings{background:#0B1C19;border:1px solid var(--cp-border)}
#phone .v10-tier-art{background:#0B201B}
#phone .v6-hub-circle,#phone .v6-result-mark{background:var(--cp-tint);color:var(--cp-accent)}
#phone .v6-hub-circle span{color:var(--cp-accent)!important}
#phone .v6-search-launch{margin:2px 0 16px}
#phone .v14-data-status{font-size:11px;line-height:1.5;color:var(--cp-muted);margin:2px 0 8px}
#phone .v14-appearance{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:0 9px;border:1px solid var(--cp-border);border-radius:10px;background:var(--cp-soft);font-size:12px;color:var(--cp-accent)}
#phone .v4-preview-light{background:#fff}#phone .v4-preview-dark{background:#000}
#phone .screen .topbar{margin-bottom:8px}
#phone .cp-chart path[stroke="#1F8A70"],#phone .trend path[stroke="#1F8A70"]{stroke:var(--cp-accent)}
#phone .trend stop[stop-color="#1F8A70"]{stop-color:var(--cp-accent)}
#phone .sticky-action{background:linear-gradient(transparent,var(--cp-bg) 14px)}
#phone .toast{background:var(--cp-text);color:var(--cp-bg)}
#phone .home-indicator{background:var(--cp-text)}
#phone .island{background:var(--cp-text)}
#phone .v14-dapp-intro,#phone .v14-dapp-foot,#phone .v14-browser-note{font-size:12px;color:var(--cp-muted);line-height:1.65;margin:4px 0 16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#phone .v14-dapp-form{display:flex;gap:8px;padding:5px;border:1px solid var(--cp-border);border-radius:14px;background:var(--cp-soft)}
#phone .v14-dapp-form input{background:transparent;border:0;min-width:0;flex:1;padding:0 9px;font-size:12px;color:var(--cp-text);outline-offset:0}
#phone .v14-dapp-form button{min-width:60px;border-radius:10px;background:var(--cp-cta);color:var(--cp-cta-ink);font-size:12px;font-weight:700}
#phone .v14-dapp-error{min-height:15px;color:var(--cp-down);font-size:11px;margin:4px 0}
#phone .v14-dapp-tabs{display:flex;gap:8px;margin:14px 0;border-bottom:1px solid var(--cp-border)}
#phone .v14-dapp-tabs button{flex:1;font-size:12px;padding:0 4px;border-radius:10px 10px 0 0;color:var(--cp-muted)}
#phone .v14-dapp-list{display:grid;gap:8px}
#phone .v14-dapp-entry{display:flex;align-items:center;border:1px solid var(--cp-border);border-radius:14px;background:var(--cp-card)}
#phone .v14-dapp-entry>button:first-child{display:flex;gap:12px;align-items:center;flex:1;min-width:0;text-align:left;padding:10px}
#phone .v14-dapp-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--cp-tint);color:var(--cp-accent);font-weight:700}
#phone .v14-dapp-entry>button:first-child>span:nth-child(2){display:grid;gap:2px;min-width:0;flex:1}
#phone .v14-dapp-entry strong{font-size:13px}.v14-dapp-entry small{font-size:11px;color:var(--cp-muted)}
#phone .v14-dapp-chevron{font-size:22px;color:var(--cp-muted)}
#phone .v14-bookmark,#phone .v14-browser-bar button{font-size:21px;color:var(--cp-accent);padding:0 12px}
#phone .v14-bookmark[aria-pressed="true"]{color:#147D72}
#phone .v14-dapp-empty{text-align:center;padding:25px 5px;color:var(--cp-muted);line-height:1.65;font-size:12px}
#phone .v14-browser-bar{display:flex;align-items:center;gap:8px;border:1px solid var(--cp-border);border-radius:13px;background:var(--cp-soft);padding:2px 6px 2px 12px;color:var(--cp-text)}
#phone .v14-domain{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
#phone .v14-browser-actions{display:flex;gap:8px;margin:8px 0 12px}
#phone .v14-browser-actions button{flex:1;padding:0 5px;border:1px solid var(--cp-border);border-radius:10px;font-size:11px;color:var(--cp-accent)}
#phone .v14-dapp-frame{display:block;width:100%;height:min(53vh,480px);border:1px solid var(--cp-border);border-radius:12px;background:var(--cp-card)}
#phone .v14-mode-transition{position:absolute;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:var(--cp-bg);color:var(--cp-text);animation:v14-splash .85s ease-out both;pointer-events:none}
#phone .v14-mode-symbol{display:grid;place-items:center;width:136px;height:136px;border:1px solid var(--cp-border);border-radius:38px;background:var(--cp-card);box-shadow:0 18px 36px #00000012;animation:v14-symbol .85s cubic-bezier(.22,.8,.2,1) both}
#phone .v14-mode-symbol img{display:block;width:104px;height:104px;object-fit:contain}
#phone[data-theme="dark"] .v14-mode-symbol img{filter:brightness(1.55)}
#phone .v14-mode-transition strong{font-size:24px;letter-spacing:.4px}#phone .v14-mode-transition span{font-size:13px;color:var(--cp-muted)}
@keyframes v14-splash{0%{opacity:0}15%,72%{opacity:1}100%{opacity:0}}@keyframes v14-symbol{0%{transform:scale(.84);opacity:0}28%,75%{transform:scale(1);opacity:1}100%{transform:scale(1.04);opacity:0}}
#phone button:focus-visible,#phone input:focus-visible,#phone [tabindex]:focus-visible{outline:3px solid var(--cp-accent);outline-offset:2px}
@media(prefers-reduced-motion:reduce){#phone .v14-mode-transition,#phone .v14-mode-symbol{animation:none!important;transition:none!important}}
