.header-status{gap:14px;display:flex!important;align-items:center}.wallet-connect{padding:10px 15px;border:1px solid var(--blue);border-radius:4px;color:var(--blue);font:10px var(--mono);white-space:nowrap}.wallet-connect:hover{background:var(--blue);color:var(--bg)}.holder-strip{display:grid;grid-template-columns:repeat(4,1fr);margin:26px 0 0;border:1px solid var(--line);background:var(--panel)}.holder-strip>div{padding:20px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:8px;min-width:0}.holder-strip>div:last-child{border-right:0}.metric-label{font:8px var(--mono);letter-spacing:1px;color:var(--muted)}.holder-strip strong{font-size:19px;font-weight:500;overflow-wrap:anywhere}.holder-strip small{font:8px var(--mono);color:var(--muted);line-height:1.6}.holder-strip .text-link{font-size:9px}.browser-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:top;background:#10151e}.browser-empty{position:absolute;inset:0;display:grid;place-items:center;padding:40px;text-align:center;background:var(--panel2);color:var(--muted);font:12px var(--mono)}.page-stage .read-scan{display:none}.page-stage .character-walker{left:auto!important;right:15px;bottom:38px!important;height:135px;width:86px;pointer-events:none;z-index:3}.page-stage .speech-bubble{font-size:7px;max-width:145px;min-width:110px}.page-stage .stage-note{position:absolute;left:10px;bottom:8px;z-index:4;max-width:calc(100% - 20px)}.expanded .page-stage .character-walker{height:185px;width:120px}.expanded .browser-frame{object-fit:contain}.chat-access{padding:12px 25px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);font:9px var(--mono);line-height:1.7;color:var(--muted)}.chat-access button{color:var(--blue);white-space:nowrap}.wallet-dialog{max-width:480px}.wallet-dialog>.dialog-close{position:absolute;right:12px;top:12px}.wallet-dialog h2{font-size:30px;font-weight:500;letter-spacing:-1px;margin:16px 0}.wallet-dialog p{font-size:12px;line-height:1.8;color:var(--muted)}#wallet-options{display:grid;gap:10px;margin:20px 0}.wallet-option{padding:16px;border:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;background:var(--panel2);text-align:left}.wallet-option>span:last-child{font:10px var(--mono);color:var(--blue)}.wallet-option:disabled{opacity:.5}#wallet-message{min-height:38px;color:var(--blue)}.queue-row>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.library-card p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.chat-answer a{margin-top:7px}.lab-character .thought{max-width:160px}.lab-character:not(.moving) img{animation:none!important}.source-body{white-space:pre-wrap}.source-meta{line-height:1.8}.page-stage{isolation:isolate}.character-walker img{filter:drop-shadow(0 4px 7px #0006)}
@media(max-width:1190px){.topbar{gap:15px}nav{gap:13px}.nav-link{font-size:10px}.wallet-connect{padding:9px;font-size:8px}.holder-strip>div{padding:17px}.holder-strip strong{font-size:16px}}
@media(max-width:960px){.topbar{flex-wrap:wrap;height:auto;padding-top:14px;padding-bottom:0}.topbar nav{order:3;width:100%;height:48px;justify-content:space-around}.topbar .header-status{margin-left:auto}.holder-strip{grid-template-columns:repeat(2,1fr)}.holder-strip>div:nth-child(2){border-right:0}.holder-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:720px){.topbar{display:flex;min-height:100px;padding-top:15px}.topbar .brand{font-size:21px}.topbar nav{margin-top:0;flex-basis:100%}.topbar .header-status{font-size:12px}.wallet-connect{font-size:8px;padding:9px}.holder-strip{margin-top:20px}.holder-strip>div{padding:16px 13px}.holder-strip strong{font-size:15px}.metric-label{font-size:7px}.chat-access{padding:12px 18px;align-items:flex-start}.chat-access button{font-size:8px}.page-stage .character-walker{height:110px;width:70px;right:8px}.page-stage .speech-bubble{font-size:6px}.page-stage .stage-note{font-size:6px}.browser-frame{object-fit:contain}.holder-strip small{overflow-wrap:anywhere}}

/* Wallet connection states use the same restrained visual language as the lab. */
.wallet-dialog{width:min(480px,calc(100vw - 30px));max-height:calc(100dvh - 36px);overflow-y:auto;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}
.wallet-dialog::backdrop{background:#050911b8;backdrop-filter:blur(5px)}
.wallet-dialog h2{padding-right:20px;margin-top:8px}.wallet-network{font-size:11px;color:var(--blue);margin-top:20px}
.wallet-option{align-items:center;border-radius:7px;font-family:var(--sans);text-decoration:none;width:100%;color:var(--text);transition:border-color .2s}
.wallet-option strong{font-size:14px;font-weight:600}.wallet-option small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.wallet-option>span:last-child{font-family:var(--sans);font-size:11px;white-space:nowrap}
.wallet-option:hover{border-color:var(--blue)}.wallet-install{background:var(--bg)}.wallet-option:disabled{opacity:.55;cursor:wait}
.wallet-session{padding:14px;background:var(--panel2);border:1px solid var(--line);border-radius:7px;margin-top:18px}.wallet-session strong,.wallet-session code{display:block;font-size:11px}.wallet-session code{margin-top:8px;color:var(--blue);overflow-wrap:anywhere}.wallet-session p{margin:8px 0 0}.wallet-session small{font-size:10px;color:var(--muted)}
.wallet-help{border-top:1px solid var(--line);padding-top:16px;display:grid;gap:16px}.wallet-help summary{cursor:pointer;font-size:12px;color:var(--muted)}.wallet-help details p{font-size:11px;line-height:1.7}.wallet-help details a{display:inline-block;font-size:11px;color:var(--blue);margin:10px 0}.wallet-help button{justify-self:start;font-size:11px}.wallet-help details button{display:block}
#wallet-message{font-family:var(--sans);font-size:12px;min-height:0}#disconnect-wallet{margin-top:20px;font-size:12px;color:var(--muted)}
@media(max-width:480px){.wallet-dialog{padding:23px 18px}.wallet-dialog h2{font-size:25px}.wallet-option{padding:14px}}
