:root{--paper:#fff;--ink:#111;--muted:#666;--line:#dedede;--surface:#f5f5f5;--font:Arial,Helvetica,"PingFang SC","Noto Sans CJK SC",sans-serif;--mono:"SFMono-Regular",Consolas,monospace}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,summary,select{-webkit-tap-highlight-color:transparent}button,a,summary,select{touch-action:manipulation}a{color:inherit;text-decoration:none}button,summary{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.42}button,a{transition:background .18s,color .18s,opacity .18s,transform .18s}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--ink);outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.shell{max-width:1440px;margin:auto;padding:0 64px}.skip{position:fixed;top:-100px;left:20px;background:var(--ink);color:var(--paper);padding:12px 20px;z-index:20}.skip:focus{top:12px}header{height:112px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:10px;font-size:27px;font-weight:700;letter-spacing:-1.4px;white-space:nowrap}.brand-code{font:12px var(--mono);letter-spacing:0;margin-left:8px;color:var(--muted)}nav{display:flex;gap:30px;align-items:center}nav a{display:flex;align-items:center;min-height:44px;font-size:14px;color:var(--muted);position:relative}nav a:hover,nav a[aria-current]{color:var(--ink)}nav a[aria-current]:after{content:"";height:3px;width:12px;position:absolute;bottom:0;left:calc(50% - 6px);background:var(--ink)}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--ink);background:var(--paper);padding:12px 20px;border-radius:3px;font-size:14px;font-weight:600}.button:hover:not(:disabled){background:var(--surface)}.wallet{min-width:145px}.hero{display:grid;grid-template-columns:1fr 470px;gap:88px;padding:68px 0 64px;align-items:start}.intro{padding-top:6px;min-width:0}.chain-label{font-size:13px;display:flex;align-items:center;gap:10px}.small-mono{font:11px/1.5 var(--mono);color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ink)}h1{font-size:clamp(36px,4.1vw,60px);letter-spacing:-2.5px;line-height:1.35;font-weight:600;margin:32px 0 20px}.lead{color:var(--muted);max-width:360px;line-height:1.9;font-size:15px;margin:0 0 24px}.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:44px;min-height:44px;font-size:14px;border-bottom:1px solid var(--ink)}.text-link:hover{opacity:.6}.wordmark{font-size:clamp(106px,13vw,180px);line-height:1;letter-spacing:-13px;font-weight:700;margin:42px 0 24px;display:flex;align-items:flex-start;gap:24px}.wordmark span{font-size:54px;font-weight:400;line-height:1.3;letter-spacing:0}.intro-foot{display:flex;justify-content:space-between;max-width:360px;color:var(--muted);font-size:11px}.workspace{background:var(--surface);padding:28px 30px 18px;min-width:0;border:1px solid var(--line);border-radius:4px;scroll-margin-top:20px}.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin-bottom:22px}.tabs{display:flex;gap:4px;padding:4px;background:var(--tabs);border-radius:4px}.tabs button{border:0;min-height:40px;flex:1;font-size:14px;color:var(--muted);background:transparent;border-radius:2px}.tabs button[aria-selected=true]{background:var(--paper);color:var(--ink);box-shadow:0 1px 3px #00000008}.tabs button:hover{color:var(--ink)}.identity{min-height:48px;border-bottom:1px solid var(--line);padding:15px 0 12px;font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.panel-heading{margin:25px 0 22px}.panel-heading h2{font-size:24px;line-height:1.4;letter-spacing:-.7px;margin:0 0 6px}.panel-heading p{font-size:12px;color:var(--muted);margin:0}label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:9px;gap:8px}label>span{color:var(--muted)}.stepper{display:flex;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:3px;min-height:60px}.stepper button{font-size:24px;border:0;background:transparent;width:54px;min-height:56px;font-weight:300}.stepper button:hover{background:var(--surface)}.stepper input{min-width:0;flex:1;border:0;background:transparent;text-align:center;font:24px var(--mono);appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.field-help{font-size:11px;color:var(--muted);margin-top:7px}.quote{margin:20px 0;font-size:12px;display:flex;flex-direction:column;gap:13px}.quote div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.quote dt{color:var(--muted)}.quote dd{margin:0;text-align:right;overflow-wrap:anywhere}.quote dd strong{font:19px var(--mono);font-weight:500}.quote label{margin:0}.primary{width:100%;color:var(--paper);background:var(--ink);min-height:52px}.primary:hover:not(:disabled){color:var(--paper);background:var(--hover-ink)}.fine{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}.workspace-bottom{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;margin-top:20px;border-top:1px solid var(--line);padding-top:6px;gap:16px}.inline-button{border:0;background:transparent;font-size:11px;padding:8px 0;min-height:36px;color:var(--muted);text-align:right}.inline-button:hover{color:var(--ink);text-decoration:underline}.referral{margin:0 0 20px}.referral summary{font-size:12px;min-height:36px;display:flex;align-items:center;gap:10px}.referral summary:before{content:"+";font:15px var(--mono)}.referral[open] summary:before{content:"−"}.referral summary span{color:var(--muted);font-size:10px}.referral input{width:100%;border:1px solid var(--line);background:var(--paper);padding:10px 12px;font:12px var(--mono);border-radius:3px}.amount-input{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--paper);border:1px solid var(--line);border-radius:3px}.amount-input input{width:100%;min-width:0;font:24px var(--mono);border:0;padding:4px 0;background:transparent}.amount-input span{font-size:12px}.check-row{align-items:flex-start;justify-content:flex-start;font-size:11px;line-height:1.8;margin:18px 0;cursor:pointer}.check-row input{margin:3px 4px 0 0;accent-color:var(--ink);width:16px;height:16px;flex-shrink:0}.check-row span{color:var(--ink)}select{border:0;border-bottom:1px solid var(--line);background:transparent;font-size:12px;padding:4px;min-height:32px;cursor:pointer}.notice{font-size:11px;line-height:1.8;color:var(--muted)}#update-oracle{width:100%;margin-top:12px;justify-content:center;font-size:12px}.reward-amount{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:32px 0 30px;font-size:12px;color:var(--muted)}.reward-amount span:first-child{width:100%;margin-bottom:4px}.reward-amount strong{font:36px/1.4 var(--mono);letter-spacing:-1.5px;color:var(--ink);max-width:100%;overflow-wrap:anywhere}.transaction-status{border:1px solid var(--ink);padding:12px;margin-top:16px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.transaction-status a{text-decoration:underline;display:block}.protocol{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;border-block:1px solid var(--line);padding:30px 0;gap:20px}.protocol>div>span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.protocol strong{font:23px/1.3 var(--mono);letter-spacing:-1px}.protocol b{font-weight:400}.protocol small{font:11px var(--font);letter-spacing:0;color:var(--muted)}.protocol .status-value{font:18px var(--font);letter-spacing:0}.mechanism{display:grid;grid-template-columns:1fr 1.35fr;gap:100px;padding:80px 0 90px;scroll-margin-top:30px}.section-intro h2{font-size:38px;font-weight:500;line-height:1.5;letter-spacing:-1.5px;margin:16px 0}.section-intro p{font-size:13px;color:var(--muted);margin-bottom:30px}.secondary{border-color:var(--line);background:transparent;font-size:12px}.rules{border-top:1px solid var(--line)}.rules details{border-bottom:1px solid var(--line)}.rules summary{list-style:none;min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px}.rules summary::-webkit-details-marker,.referral summary::-webkit-details-marker{display:none}.rules summary span{font:20px var(--mono);font-weight:300;transition:transform .18s}.rules details[open] summary span{transform:rotate(45deg)}.rules details>div{padding:0 30px 16px 0}.rules p{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 14px}.contracts-list a{display:block;font-size:12px;padding:6px 0;text-decoration:underline;overflow-wrap:anywhere}.contracts-list span{display:block;font-size:10px;font-family:var(--mono);color:var(--muted)}footer{border-top:1px solid var(--line);padding:26px 0 34px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted)}footer .brand{font-size:20px;color:var(--ink)}dialog{width:min(420px,calc(100vw - 32px));border:1px solid var(--line);border-radius:4px;padding:24px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:21px;margin:0}.icon-button{border:0;background:transparent;font-size:26px;min-width:44px;min-height:44px}dialog p{font-size:13px;color:var(--muted)}#wallet-options{display:flex;flex-direction:column;gap:10px}#wallet-options button{width:100%;text-align:left}.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}@media(min-width:1440px){.shell{padding-inline:72px}.hero{gap:110px}}@media(max-width:1100px){.shell{padding:0 32px}.hero{grid-template-columns:1fr 430px;gap:42px}.workspace{padding:24px}.mechanism{gap:60px}.wordmark{letter-spacing:-10px}h1{font-size:42px;letter-spacing:-1.5px}.brand-code{display:none}}@media(max-width:800px){.shell{padding:0 24px}header{height:auto;min-height:90px;flex-wrap:wrap;gap:0;padding:20px 0 0}header .brand{font-size:23px}.wallet{min-width:132px;padding:10px 14px;font-size:12px}nav{order:3;width:100%;justify-content:space-between;gap:16px;padding:12px 0 10px}nav a{font-size:13px;min-height:40px}.hero{grid-template-columns:1fr;gap:32px;padding:34px 0}.intro{display:grid;grid-template-columns:1fr 120px;column-gap:10px}.chain-label,h1,.lead,.text-link{grid-column:1}.chain-label{font-size:11px}h1{font-size:36px;margin:20px 0 14px}.lead{max-width:390px;font-size:13px}.text-link{width:fit-content;font-size:12px}.wordmark{grid-column:2;grid-row:1/5;align-self:center;font-size:80px;letter-spacing:-7px;gap:0;margin:0;transform:rotate(-90deg);opacity:.08;pointer-events:none}.wordmark span{display:none}.intro-foot{display:none}.workspace{max-width:560px;width:100%;justify-self:center;padding:24px}.protocol{grid-template-columns:1fr 1fr;gap:24px 16px;padding:26px 0}.protocol strong{font-size:21px}.protocol>div>span{margin-bottom:8px}.mechanism{grid-template-columns:1fr;gap:28px;padding:48px 0}.section-intro h2{font-size:30px;line-height:1.4;margin:12px 0}.section-intro h2 br{display:none}.section-intro p{margin-bottom:16px}.rules details>div{padding-right:0}footer{flex-wrap:wrap;padding:24px 0;gap:14px}footer span{order:3;width:100%}.workspace-bottom .inline-button{min-height:44px}.check-row{min-height:44px;align-items:center}.check-row input{margin-top:0}#burn-max{min-height:44px}.field-help,.fine,.notice,.identity,.panel-heading p,.quote,.rules p{font-size:12px}}@media(max-width:380px){.shell{padding-inline:16px}.workspace{padding:20px}.intro{grid-template-columns:1fr 60px}h1{font-size:32px}.wordmark{font-size:65px}.chain-label{gap:6px}.quote div{gap:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}


/* Black-and-white interface, persistent light/dark theme. */
:root{color-scheme:light;--tabs:#e9e9e9;--hover-ink:#303030;--disabled-bg:#e5e5e5;--disabled-text:#767676}
:root[data-theme="dark"]{color-scheme:dark;--paper:#101010;--ink:#f2f2f2;--muted:#aaa;--line:#363636;--surface:#191919;--tabs:#252525;--hover-ink:#d5d5d5;--disabled-bg:#303030;--disabled-text:#a0a0a0}
input,select{color:var(--ink)}input::placeholder{color:var(--muted)}select option{background:var(--paper);color:var(--ink)}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);flex-shrink:0}.theme-toggle:hover{background:var(--surface)}.theme-sun{display:none}[data-theme="dark"] .theme-sun{display:block}[data-theme="dark"] .theme-moon{display:none}
.brand-logo{width:42px;height:42px;object-fit:contain;border-radius:6px;flex-shrink:0}.brand{gap:9px}.brand-code{margin-left:3px}.wordmark{font-weight:600;letter-spacing:-12px;margin-top:52px}.workspace{box-shadow:none}.primary:disabled{background:var(--disabled-bg);border-color:var(--disabled-bg);color:var(--disabled-text);opacity:1}.tabs button[aria-selected=true]{box-shadow:none}.skip{color:var(--paper)}footer .brand-logo{width:32px;height:32px}
@media(max-width:1100px){nav{gap:22px}.header-actions{gap:10px}}
@media(max-width:800px){header{gap:0}.header-actions{gap:8px}.brand-code{display:none}.brand-logo{width:36px;height:36px}.brand{gap:6px}header .brand{font-size:22px}.wallet{min-width:122px}.wordmark{margin:0;letter-spacing:-7px}.theme-toggle{width:44px;height:44px}}
@media(max-width:380px){header .brand{font-size:20px;letter-spacing:-.8px}.brand-logo{width:30px;height:30px}.header-actions{gap:6px}.wallet{min-width:112px;padding:10px;font-size:11px;gap:8px}.wordmark{font-size:65px}}

/* Start with the brand and the controls; no separate navigation header. */
.hero{grid-template-columns:minmax(0,1fr) 470px;gap:72px;padding:56px 0 52px;align-items:start}.identity-stage{min-width:0;align-self:start}.identity-art{height:430px;position:relative;isolation:isolate;overflow:hidden}.identity-backdrop{position:absolute;inset:70px auto auto 0;font:italic 700 clamp(150px,19vw,270px)/1 Arial,sans-serif;letter-spacing:-22px;color:var(--line);opacity:.58;user-select:none}.identity-art img{position:absolute;top:12px;right:1%;width:min(76%,390px);height:auto;object-fit:contain;mix-blend-mode:multiply}.identity-signature{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:10px 16px 0 0;color:var(--muted);font-size:11px}.identity-signature>span:first-child{font-size:23px;font-weight:600;letter-spacing:-1px;color:var(--ink)}[data-theme="dark"] .identity-art img{mix-blend-mode:normal;border-radius:8px}[data-theme="dark"] .identity-backdrop{opacity:.8}.control-column{min-width:0}.control-column>.header-actions{justify-content:flex-end;margin-bottom:20px;gap:12px}.header-actions #language{max-width:136px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:3px;background:var(--paper);color:var(--ink);font-size:12px}.console-links{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:16px;font-size:12px}.console-links .inline-button,.console-links a{font-size:12px;min-height:44px;display:inline-flex;align-items:center;text-align:left;color:var(--ink)}.console-links a:hover{text-decoration:underline}.invite-note{margin:0;font-size:11px;line-height:1.8;color:var(--muted)}.mechanism .section-intro h2{font-size:36px}.workspace-top{flex-wrap:wrap}.tabs button{padding:8px 4px;font-size:13px;line-height:1.4}.button.primary{gap:10px;line-height:1.5}.quote dt{min-width:0}.quote dd{max-width:65%}.quote dd:only-child{max-width:none}
@media(min-width:1440px){.hero{gap:88px}.identity-art{height:460px}.identity-art img{width:min(76%,410px)}.identity-backdrop{font-size:285px}}
@media(max-width:1100px){.hero{grid-template-columns:minmax(0,1fr) 430px;gap:36px;padding-top:40px}.identity-art{height:340px}.identity-art img{top:25px;width:84%}.identity-backdrop{font-size:190px;letter-spacing:-18px;top:95px}.control-column>.header-actions{gap:10px}}
@media(max-width:800px){.hero{grid-template-columns:1fr;gap:24px;padding:24px 0 32px}.identity-stage{max-width:500px;width:100%;justify-self:center}.identity-art{height:220px}.identity-art img{width:210px;right:12%;top:0}.identity-backdrop{top:30px;left:6%;font-size:180px;letter-spacing:-14px}.identity-signature{margin:0 4px;font-size:10px}.identity-signature>span:first-child{font-size:20px}.control-column{max-width:560px;width:100%;justify-self:center}.control-column>.header-actions{justify-content:space-between;gap:8px;margin-bottom:16px}.header-actions #language{min-width:0;max-width:128px;flex:1}.header-actions .wallet{min-width:0;max-width:160px;gap:8px;justify-content:center;padding:10px 12px;flex:1;font-size:12px;overflow-wrap:anywhere}.workspace{max-width:none}.invite-note{font-size:12px}.mechanism .section-intro h2{font-size:30px}.tabs button{font-size:12px}.protocol strong{overflow-wrap:anywhere}}
@media(max-width:380px){.identity-art{height:200px}.identity-art img{width:190px;right:5%}.identity-backdrop{font-size:160px;left:0;top:36px}.header-actions #language{max-width:112px;padding-inline:6px;font-size:11px}.control-column>.header-actions{gap:6px}.header-actions .wallet{padding:8px;font-size:11px}.workspace{padding:18px}.quote{font-size:11px}.tabs button{font-size:11px}.workspace-top{font-size:11px}.console-links{font-size:11px}}

/* Brand and all global controls share one row at every viewport width. */
.topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;min-height:96px;padding-block:20px;border-bottom:1px solid var(--line)}.topbar-brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;font-size:25px;font-weight:700;letter-spacing:-1px;white-space:nowrap}.topbar-brand img{width:40px;height:40px;object-fit:contain;border-radius:6px}.topbar .header-actions{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;flex-shrink:0;margin:0}.topbar #language{width:128px;max-width:none;flex:none}.topbar .wallet{flex:none;max-width:none;min-width:145px;white-space:nowrap}.hero{padding-top:36px}
@media(max-width:800px){.topbar{min-height:80px;padding-block:16px;gap:12px}.topbar-brand{font-size:22px;gap:7px}.topbar-brand img{width:34px;height:34px}.topbar .header-actions{gap:8px}.topbar #language{width:112px}.topbar .wallet{min-width:128px}.hero{padding-top:24px}}
@media(max-width:560px){.topbar{min-height:72px;gap:8px;padding-block:14px}.topbar-brand{font-size:21px;gap:6px;letter-spacing:-.7px}.topbar-brand img{width:30px;height:30px}.topbar .header-actions{gap:6px}.topbar #language{width:96px;padding-inline:7px;font-size:11px;min-height:40px}.topbar .theme-toggle{width:36px;height:40px;border-radius:5px}.topbar #connect{width:40px;height:40px;min-width:40px;min-height:40px;padding:9px;font-size:0;gap:0}.topbar #connect span{display:none}.topbar #connect:before{content:"";display:block;width:20px;height:20px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 8V5H5a2 2 0 0 0 0 4h16v11H5a2 2 0 0 1-2-2V7M21 12h-6v5h6'/%3E%3Cpath d='M17 14.5h.01'/%3E%3C/g%3E%3C/svg%3E")}.topbar .wallet:hover:not(:disabled){background:var(--surface)}}
@media(max-width:380px){.topbar-brand{font-size:19px;gap:4px}.topbar-brand img{width:28px;height:28px}.topbar #language{width:88px}.topbar .header-actions{gap:4px}.topbar{gap:6px}}

/* The operation panel now follows the header without a hero illustration. */
.hero{display:block;max-width:560px;margin-inline:auto;padding:32px 0 36px}.control-column{width:100%;max-width:none}.hero .workspace{width:100%;max-width:none}
@media(max-width:800px){.hero{padding:24px 0 30px}}

/* Keep the language arrow comfortably inset from its border. */
.language-picker{position:relative;display:flex;align-items:center;flex-shrink:0}
.topbar .language-picker #language{appearance:none;-webkit-appearance:none;padding-left:10px;padding-right:30px}
.language-picker::after{content:"";position:absolute;right:16px;top:calc(50% - 4px);width:6px;height:6px;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:rotate(45deg);pointer-events:none}

/* Encapsulated dropdown; native select remains the progressive fallback. */
.language-picker[data-enhanced]{width:128px}
.language-picker[data-enhanced]::after{display:none}
.select-trigger{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px 8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:12px;text-align:left;white-space:nowrap}
.select-trigger:hover,.select-trigger[aria-expanded=true]{background:var(--surface);border-color:var(--muted)}
.select-trigger:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
.select-chevron{width:7px;height:7px;flex-shrink:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
.select-trigger[aria-expanded=true] .select-chevron{transform:translateY(2px) rotate(225deg)}
.select-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;min-width:160px;width:100%;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);box-shadow:0 8px 24px #0002;max-height:280px;overflow-y:auto}
.select-option{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;padding:8px 10px;border-radius:7px;font-size:13px;line-height:1.4;white-space:nowrap;cursor:pointer}
.select-option::after{content:"";width:12px;flex-shrink:0}
.select-option[aria-selected=true]::after{content:"✓"}
.select-option[aria-selected=true]{font-weight:600;background:var(--surface)}
.select-option.is-active,.select-option:hover{background:var(--tabs)}
@media(max-width:800px){.language-picker[data-enhanced]{width:112px}}
@media(max-width:560px){.language-picker[data-enhanced]{width:96px}.select-trigger{min-height:40px;font-size:11px}.select-option{min-height:44px}}
@media(max-width:380px){.language-picker[data-enhanced]{width:88px}}

/* Chain metrics lead the operation area in one horizontal row. */
.protocol{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;border-top:0;padding:26px 0;align-items:start}
.protocol>div{min-width:0}
.protocol>div>span{margin-bottom:10px}
.protocol strong{font-size:22px;overflow-wrap:anywhere}
.protocol .status-value{font-size:16px;line-height:1.6}
@media(max-width:800px){.protocol{gap:18px;padding:22px 0}.protocol strong{font-size:19px}.protocol .status-value{font-size:14px}}
@media(max-width:800px){.protocol{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;overflow:visible;padding:20px 0}.protocol>div>span{font-size:11px;white-space:normal}}

/* Keep the exclusive rules accordion aligned with the operation panel. */
.mechanism{display:block;max-width:560px;margin-inline:auto;padding:24px 0 48px}

/* Address rows use the full accordion width. */
.rules details>.contracts-list{width:100%;padding:0 0 16px}
.contracts-list a{display:flex;align-items:baseline;justify-content:space-between;gap:16px;width:100%;padding:12px 0;text-decoration:none}
.contracts-list a+a{border-top:1px solid var(--line)}
.contracts-list a:hover{text-decoration:underline}
.contracts-list span{font-size:11px;text-align:right;min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.contracts-list a{flex-direction:column;align-items:stretch;gap:4px}.contracts-list span{text-align:left}}

/* Quiet but visible focus for the optional referral address. */
.referral input{min-height:44px;border-radius:6px;transition:border-color .15s,box-shadow .15s}
.referral input:focus{outline:none;border-color:var(--muted);box-shadow:0 0 0 2px #00000008}
[data-theme="dark"] .referral input:focus{box-shadow:0 0 0 2px #ffffff0d}

.rules>details:last-child{border-bottom:0}

.workspace-bottom{justify-content:flex-end}

/* Wallet branding comes from the installed wallet's discovery metadata. */
#wallet-options .wallet-option{justify-content:flex-start;gap:12px;min-height:56px}
.wallet-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:6px;overflow:hidden}
.wallet-icon img{position:absolute;inset:0;width:28px;height:28px;object-fit:contain}
.wallet-icon-fallback{width:22px;height:17px;border:1.5px solid currentColor;border-radius:4px;position:relative;opacity:.65}
.wallet-icon-fallback::after{content:"";position:absolute;right:-1.5px;top:4px;width:8px;height:6px;border:1.5px solid currentColor;border-radius:2px;background:var(--paper)}

/* Matching dimensions for the language and wallet controls. */
.topbar{--control-width:128px;--control-height:44px}
.topbar .language-picker[data-enhanced],.topbar .language-picker #language{width:var(--control-width)}
.topbar .select-trigger,.topbar #connect{height:var(--control-height);min-height:var(--control-height);border-radius:8px}
.topbar #connect{width:var(--control-width);min-width:var(--control-width);max-width:var(--control-width);padding:8px 10px;justify-content:center;font-size:12px;gap:0;overflow:hidden;text-overflow:ellipsis;display:block}
.topbar #connect::before{display:none}
@media(max-width:800px){.topbar{--control-width:112px}}
@media(max-width:560px){.topbar{--control-width:88px;--control-height:40px}.topbar #connect{font-size:11px}.topbar .select-trigger{padding-inline:8px;gap:4px}}
@media(max-width:380px){.topbar{--control-width:72px}.topbar-brand{font-size:17px}.topbar-brand img{width:24px;height:24px}.topbar .theme-toggle{width:32px}.topbar .select-trigger{font-size:10px;padding-inline:6px}.topbar #connect{font-size:10px;padding-inline:6px}}

@media(min-width:561px){.topbar .language-picker[data-enhanced],.topbar .language-picker #language{width:calc(var(--control-width) - 20px)}}

@media(min-width:561px){
 .topbar .language-picker[data-enhanced],.topbar .language-picker #language{width:98px}
 .topbar .select-trigger{padding-inline:6px;gap:4px}
 .topbar #connect{width:98px;min-width:98px;max-width:98px}
}

.topbar .select-chevron{position:relative;left:-10px}

.topbar .select-trigger>span:first-child{position:relative;left:10px}

/* Fit translated wallet labels without changing the shared button dimensions. */
html[lang="en"] .topbar #connect{padding-inline:3px}
html[lang="ja"] .topbar #connect{padding-inline:3px;font-size:10px}
@media(max-width:380px){html[lang="en"] .topbar #connect,html[lang="ja"] .topbar #connect{font-size:9px;padding-inline:2px}}

/* Reduce the header by 20px while keeping its contents vertically centered. */
.topbar{min-height:76px;padding-block:10px;align-items:center}
@media(max-width:800px){.topbar{min-height:60px;padding-block:6px}}
@media(max-width:560px){.topbar{min-height:52px;padding-block:4px}}

/* Keep mobile language labels centered without a chevron. */
@media(max-width:800px){
 .topbar .language-picker .select-chevron,.topbar .language-picker::after{display:none}
 .topbar .select-trigger{justify-content:center}
 .topbar .select-trigger>span:first-child{left:0}
 .topbar .language-picker #language{padding-inline:8px;text-align:center}
}

.social-footer{display:flex;justify-content:center;padding:0 0 28px}.social-footer a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;font-size:14px;color:var(--muted)}.social-footer a:hover{color:var(--ink);text-decoration:underline}
