@font-face { font-family: "DECO Display"; src: url("/app/fonts/unbounded-variable.ttf") format("truetype"); font-style: normal; font-weight: 200 900; font-display: swap; }
@font-face { font-family: "DECO Text"; src: url("/app/fonts/montserrat-variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DECO Han"; src: url("/app/fonts/noto-sans-sc-variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+2E80-2FFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+20000-2FA1F; }
/* Shared DECO website language. Mini App has no browser-site/public-site class. */
:where(body.public-site,body.browser-site){--site-radius:14px;--site-panel-radius:20px;--site-reading:15px;--site-display:"DECO Display","DECO Text","DECO Han",system-ui,sans-serif;--site-copy:"DECO Display","DECO Text","DECO Han",system-ui,sans-serif}
:where(body.public-site,body.browser-site) :is(a,button,input,summary):focus-visible{outline:2px solid #e3a068;outline-offset:4px}
body.browser-site{font-family:var(--site-copy)}
body.browser-site :is(h1,h2,h3){font-family:var(--site-display);letter-spacing:-.035em;line-height:1.3}
body.browser-site :is(.btn,.chip){font-family:var(--site-copy);font-weight:650;letter-spacing:0;line-height:1.4}
body.browser-site .btn{border-radius:var(--site-radius);min-height:48px}
body.browser-site :is(.card,.hero-card){border-radius:var(--site-panel-radius)}
body.browser-site .website-header{border-bottom:1px solid var(--sep)}
body.browser-site .website-header .website-logo{font-family:var(--site-display);font-weight:750;letter-spacing:-.055em;font-size:24px;text-decoration:none;color:var(--text)}
body.browser-site .website-header #website-menu-button{border-radius:12px;font-family:var(--site-copy);font-weight:650}
body.browser-site nav :is(.browser-bot,.browser-news,.browser-exit,.browser-account,.browser-about){border-radius:14px;min-height:48px;line-height:1.4}
body.browser-site .browser-about{display:flex;align-items:center;gap:10px;width:100%;padding:12px 15px;border:1px solid var(--sep);background:var(--card);color:var(--text);font:650 14px var(--site-copy);text-decoration:none}
body.browser-site .browser-about .ico{width:21px;height:21px;flex:0 0 21px}
body.browser-site #browser-link-box{padding:20px;margin:18px 0;border:1px solid var(--sep)}
body.browser-site #browser-link-box h3{font-size:18px;margin:0 0 12px}
body.browser-site #browser-link-box .hint{font-size:14px;line-height:1.6;margin:12px 0}
body.browser-site #pane-web-lego>p,body.browser-site #pane-web-catalog>p{font-size:15px;line-height:1.6}
@media(max-width:680px){body.browser-site .btn{min-height:47px}body.browser-site .website-header .website-logo{font-size:23px}body.browser-site #browser-link-box{padding:17px}}
@media(prefers-reduced-motion:reduce){:where(body.public-site,body.browser-site) :is(button,a){scroll-behavior:auto}}

:where(body.public-site,body.browser-site){font-family:var(--site-display)}
html:lang(zh) :where(body.public-site,body.browser-site) :is(h1,h2,h3,.brand,.website-logo){letter-spacing:0}

/* Browser sections share the translation-safe controls; signed Mini App is untouched. */
body.browser-site :is(.screen,.card,.hero-card,.sheet)>*{min-width:0}
body.browser-site :is(h1,h2,h3,.btn,.chip){overflow-wrap:anywhere}
body.browser-site :is(.btn,.chip){white-space:normal;max-width:100%}
body.browser-site :is(.hero-acts,.cd-acts,.tool-acts){flex-wrap:wrap}
body.browser-site :is(.hero-acts,.cd-acts,.tool-acts) .btn{height:auto;min-height:48px;white-space:normal;overflow:visible;text-overflow:clip;padding-block:10px}
body.browser-site .cd-acts .btn span{min-width:0;white-space:normal;overflow:visible;text-overflow:clip}
body.browser-site :is(.my-top,.mail-box .tool-acts) .chip{height:auto;min-height:36px;white-space:normal;overflow:visible;padding-block:7px}
body.browser-site .tip-tabs{flex-wrap:wrap}
body.browser-site .tip-tabs button{height:auto;min-height:28px;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.45;padding-block:5px}
body.browser-site .browser-tools :is(a,button){height:auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
body.browser-site .browser-tools :is(a,button)>span{min-width:0}
:is(body.public-site,body.browser-site):is(:lang(zh),:lang(ja),:lang(ko),:lang(ar),:lang(he),:lang(th)) :is(h1,h2,h3,.btn,.eyebrow){letter-spacing:0;line-height:1.5}

/* Primary actions: quieter copper with readable text. */
body.public-site .btn.primary{background:linear-gradient(155deg,#975028,#82401f);color:#fff;border-color:#b86c42;box-shadow:inset 0 1px #ffffff1c,0 3px 12px #0003}
@media(hover:hover) and (pointer:fine){body.public-site .btn.primary:hover{background:linear-gradient(155deg,#a8582d,#914927)}}
