/* Macintosh II enclosure and classic Finder. */
:root{--ink:#000;--paper:#fff;--line:#000;--green:#fff;--mac-font:"Geneva","MS Sans Serif",Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;font-family:var(--mac-font)!important;color:#000}button,input,select,textarea,a{font-family:inherit}button,a{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px dotted #000;outline-offset:2px}.hidden{display:none!important}
body.computer-page{height:100dvh;width:100%;overflow:hidden!important;background:#272b32!important;font-size:12px;cursor:default!important}
.computer-monitor{position:fixed;inset:12px;isolation:isolate;border:3px solid #eee6d1;border-right-color:#b8ac90;border-bottom-color:#b8ac90;border-radius:10px;background:#ded3b8;box-shadow:inset 2px 2px 0 #e9e0c9,inset -2px -2px 0 #c3b697,0 2px 3px #0005;padding:clamp(28px,5.5vh,64px) clamp(26px,5vw,76px) clamp(58px,7.5vh,86px)}
.crt-surround{position:relative;height:100%;width:100%;border:7px solid;border-color:#bcad8c #f1e9d2 #f1e9d2 #c8ba9b;padding:clamp(14px,1.8vw,25px);background:#000;box-shadow:-3px -3px 0 #d4c6a7,3px 3px 0 #e5dcc4}
.mac-screen{width:100%;height:100%;position:relative;overflow:hidden;border-radius:5px 5px 8px 8px;background:#aaa;isolation:isolate}
.monitor-chin{position:absolute;left:clamp(29px,5vw,78px);right:clamp(29px,5vw,78px);bottom:20px;display:flex;align-items:center;gap:24px;height:27px}.monitor-chin button{display:flex;align-items:center;gap:16px;border:0;background:none;padding:0;color:#b9ac8e;text-shadow:1px 1px #f6eed9;font:16px Georgia,serif}.monitor-chin img{width:27px;height:27px;filter:drop-shadow(0 1px 1px #897e6470)}.monitor-model{font:12px Georgia,serif;color:#b3a486;text-shadow:1px 1px #f4ebd3;letter-spacing:.4px}.power-light{margin-left:auto;width:29px;height:7px;background:#19f800;box-shadow:0 0 3px #6bff00}
.mac-screen .desktop-bg{position:absolute!important;inset:24px 0 0!important;background:url('assets/walpaper-macinthos.jpg') center/cover!important;filter:grayscale(1)!important;opacity:.32!important;z-index:0!important}.mac-screen:before{content:"";position:absolute;inset:24px 0 0;background:repeating-conic-gradient(#888 0% 25%,#ddd 0% 50%) 0 0/2px 2px;z-index:0}
.mac-menubar{position:absolute;inset:0 0 auto;height:25px;display:flex;align-items:center;gap:0;background:#fff;border-bottom:2px solid #000;z-index:500;font-size:13px;white-space:nowrap;padding:0 12px}.mac-menubar button{height:23px;border:0;background:#fff;color:#000;padding:0 10px;font-weight:700}.mac-menubar button:hover,.mac-menubar button:focus-visible{background:#000;color:#fff}.mac-menubar nav{display:flex;height:100%}.mac-menubar .apple-menu{padding:0 10px 0 4px}.apple-menu img{width:15px;height:17px;vertical-align:middle}.apple-menu:hover img{filter:invert(1)}.network-label{margin-left:auto;font-size:10px;margin-right:14px}.mac-menubar .wallet-connect{font-size:11px;padding:0 4px}
.mac-screen .desktop{position:absolute!important;inset:25px 0 23px!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;max-width:none!important;display:block!important}
body .win98{position:absolute!important;background:#fff!important;border:1px solid #000!important;border-radius:0!important;box-shadow:1px 1px 0 #fff,2px 2px 0 #000!important;overflow:hidden;max-width:calc(100% - 8px);max-height:calc(100% - 8px);color:#000!important}
body .titlebar{height:23px!important;min-height:23px;margin:0!important;background:repeating-linear-gradient(to bottom,#fff 0 2px,#000 2px 3px,#fff 3px 4px)!important;background-clip:content-box!important;border:3px solid #fff!important;border-bottom:3px solid #fff!important;color:#000!important;display:flex!important;align-items:center;justify-content:center!important;padding:0!important;position:relative;cursor:grab;touch-action:none}.titlebar .title{background:#fff!important;padding:0 9px!important;font:700 12px/17px var(--mac-font)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 62px)}
body .controls{position:absolute;inset:0!important;display:block!important;pointer-events:none;background:none!important}.controls button{pointer-events:auto;position:absolute;top:1px!important}body .title-btn{width:13px!important;height:13px!important;min-width:0!important;line-height:9px!important;background:#fff!important;border:1px solid #000!important;border-radius:0!important;box-shadow:0 0 0 3px #fff!important;color:transparent!important;padding:0!important;font-size:0!important}.controls .close-btn,.controls .close-contract,.controls button:only-child{left:5px!important;right:auto!important}.controls .min-btn{right:5px!important;left:auto!important}.controls .min-btn:after{content:"";position:absolute;left:1px;top:1px;width:7px;height:5px;border:1px solid #000}.title-btn:hover{background:#000!important}
body .finder-window{left:12px;top:5px;width:calc(100% - 138px);height:calc(100% - 16px);display:flex;flex-direction:column;z-index:10;resize:none}.finder-close,.finder-zoom{position:absolute;top:1px;width:13px;height:13px;padding:0;border:1px solid #000;background:#fff;box-shadow:0 0 0 3px #fff}.finder-close{left:5px}.finder-zoom{right:5px}.finder-zoom:after{content:"";position:absolute;inset:1px 4px 5px 1px;border:1px solid #000}.finder-info{display:flex;justify-content:space-between;gap:10px;padding:4px 9px;border-top:1px solid #000;border-bottom:3px double #000;font-size:11px;font-weight:700;background:#fff;white-space:nowrap}.finder-content{position:relative;flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;background:#fff}.finder-bottom{display:flex;height:17px;min-height:17px;border-top:1px solid #000;background:#fff}.finder-bottom button{width:18px;border:0;border-right:1px solid #000;border-left:1px solid #000;padding:0;line-height:14px;background:#fff;font-size:13px}.finder-bottom div{flex:1;background:repeating-conic-gradient(#bbb 0 25%,#fff 0 50%) 0 0/2px 2px;border-block:2px solid #fff}.resize-grip{width:17px;text-align:center;line-height:15px}
body .desktop-icons{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-rows:minmax(76px,1fr)!important;align-content:stretch!important;align-items:center!important;justify-content:stretch!important;gap:6px 8px!important;width:100%!important;min-height:100%;padding:12px 12px 18px!important;max-width:none!important;z-index:1!important}
body .desktop-icon{display:flex!important;flex-direction:column;align-items:center;justify-content:center;width:100%!important;min-height:66px!important;padding:7px 2px!important;gap:6px!important;border:0!important;border-radius:0;background:transparent!important;text-decoration:none!important;transform:none!important}body .desktop-icon img{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;object-fit:contain!important;image-rendering:pixelated!important;filter:none!important}body .desktop-icon span{font:11px/1.25 var(--mac-font)!important;width:auto!important;max-width:100%!important;padding:1px 3px!important;background:#fff!important;color:#000!important;text-shadow:none!important;border:0!important;word-break:normal!important}body .desktop-icon:hover span,body .desktop-icon:focus-visible span{background:#000!important;color:#fff!important}
.system-icons{position:absolute;inset:4px 9px 9px auto;width:103px;display:flex;flex-direction:column;gap:15px;padding-top:5px;z-index:8}.system-icon{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;padding:2px;color:#000;font-size:11px}.system-icon img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.system-icon span{background:#fff;padding:1px 3px}.system-icon.selected span,.system-icon:hover span{background:#000;color:#fff}.trash-icon{margin-top:auto}
body .window-body{background-color:#fff!important;color:#000!important;min-height:0}.mac-panel{display:flex;flex-direction:column}.mac-panel-body{padding:20px!important;overflow:auto!important;flex:1}.mac-panel h2,.document h1{font-size:21px;line-height:1.25;letter-spacing:0;margin:8px 0 20px}.mac-panel h3,.document h2{font-size:14px;margin-top:22px}.mac-panel p,.document p{font-size:12px;line-height:1.65;color:#000}.eyebrow{font-size:10px;letter-spacing:.5px}.mac-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:27px;padding:5px 12px;background:#fff!important;border:1px solid #000;border-radius:5px;box-shadow:1px 1px 0 #000;font-size:11px;font-weight:700;text-decoration:none;color:#000}.mac-action:hover:not(:disabled){background:#000!important;color:#fff!important}.panel-actions{display:flex;flex-wrap:wrap;gap:10px}.status-card{display:grid;grid-template-columns:1fr 1fr;padding:12px;border:1px solid #000;gap:14px;margin:18px 0;font-size:11px}.status-card strong{text-align:right;overflow-wrap:anywhere}.notice{background:#fff;border:3px double #000;padding:12px;margin:18px 0;font-size:12px}.notice p{margin-bottom:0}.chart-placeholder{padding:20px;min-height:160px;border:1px solid #000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 0/2px 2px;text-align:center}.chart-placeholder img{width:32px;image-rendering:pixelated}.asset-heading{display:flex;gap:15px;align-items:center}.asset-heading img{width:44px}.asset-heading h2{margin-bottom:0}.timeline{list-style:none;padding:0}.timeline li{display:grid;grid-template-columns:48px 1fr;gap:12px;border-bottom:1px solid #aaa;padding:12px 0}.timeline h3{margin:0}.timeline b{font-size:12px}.fine-print{font-size:10px!important}
body .button,body .player-btn,body .mine-face,body .start-button,body .task-btn,body .tray-button{background:#fff!important;color:#000!important;border:1px solid #000!important;border-radius:4px!important;box-shadow:1px 1px 0 #000!important}body .button:active{background:#000!important;color:#fff!important}body .text-input,body .chat-input,body select{background:#fff!important;color:#000!important;border:1px solid #000!important;box-shadow:none!important}body .chat-toolbar,body .paint-toolbar,body .arena-topbar,body .preview-panel,body .preview-title,body .library-body,body .chat-scroll,body .style-card,body .chat-bubble,body .arena-status,body .arena-help,body .chat-statusbar,body .chat-input-row{background:#fff!important;color:#000!important;border-color:#000!important;box-shadow:none!important}.style-card.active{outline:2px solid #000!important}.chat-bubble{border:1px solid #000!important;border-radius:0!important}.info-frame{border:0!important;background:#fff!important}.library-body{grid-template-columns:minmax(0,1fr) 200px!important}.preview-box{background:#fff!important}body .status-dot{background:#000!important}
body .taskbar{position:absolute!important;inset:auto 0 0!important;bottom:0!important;width:100%!important;height:23px!important;min-height:0!important;z-index:500!important;background:#fff!important;border:0!important;border-top:1px solid #000!important;box-shadow:none!important;padding:2px 5px!important;gap:5px!important}.taskbar .start-button{height:18px!important;min-width:64px!important;font-size:10px!important;border:0!important;box-shadow:none!important;padding:0 4px!important}.start-icon{width:15px!important;height:15px!important}.taskbar .task-btn{height:18px!important;min-width:60px!important;max-width:115px!important;font-size:10px!important;box-shadow:none!important}.taskbar .task-btn-close{width:13px;font-size:10px}.taskbar-end{height:18px!important;min-height:0!important;padding:0!important;border:0!important;box-shadow:none!important;font-size:10px!important}.taskbar .tray-button{height:17px!important;width:20px!important;min-height:0!important;box-shadow:none!important;border:0!important}.tray-saver-icon{width:13px!important;height:13px!important}.start-menu{bottom:23px!important;left:0!important;width:210px!important;background:#fff!important;border:1px solid #000!important;box-shadow:2px 2px 0 #000!important}.start-menu-side{display:none!important}.start-item{color:#000!important}.start-item:hover{background:#000!important;color:#fff!important}.corner-neko,.boot-screen{display:none!important}.contract-window{position:absolute!important;top:40px!important;right:20px!important;width:min(300px,calc(100% - 24px))!important}.screensaver-panel{position:absolute!important;right:8px!important;bottom:28px!important;top:auto!important;max-width:calc(100% - 16px)!important}.screensaver-overlay{position:absolute!important;inset:25px 0 23px!important}.screensaver-main-host{position:absolute!important;inset:0!important}
body #nekoArenaArea,body .arena-area,body .mine-body,body #window-pinball .window-body,body #window-solitaire .window-body{background:url('assets/walpaper-macinthos.jpg') center/cover!important}
.document{height:auto!important;min-height:100vh;overflow:auto!important;background:#fff!important;padding:20px;font:12px var(--mac-font)}.document main{max-width:760px;margin:auto;padding:10px;background:#fff}.document li{line-height:1.7;margin:12px 0}.document footer{border-top:1px solid #000;padding-top:12px;margin-top:20px;font-size:10px}.document a{color:#000}.lb-shell{padding-bottom:20px!important}body .lb-window{position:relative!important;background:#fff!important;max-height:none!important}.lb-sub{line-height:1.5!important}
::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-track{background:repeating-conic-gradient(#aaa 0 25%,#fff 0 50%) 0 0/2px 2px;border-left:1px solid #000}::-webkit-scrollbar-thumb{background:#fff;border:1px solid #000}::-webkit-scrollbar-button{display:block;height:15px;background:#fff;border:1px solid #000}
@media(max-width:900px){.network-label{display:none}.monitor-model{display:none}.computer-monitor{padding:30px 28px 60px}.crt-surround{padding:16px}.finder-info{font-size:10px}body .desktop-icons{grid-auto-rows:minmax(74px,1fr)!important;padding:10px 8px!important;gap:3px!important}body .desktop-icon span{font-size:10px!important}}
@media(max-width:600px){.computer-monitor{inset:6px;padding:22px 13px 52px;border-width:2px;border-radius:7px}.crt-surround{border-width:4px;padding:9px}.monitor-chin{bottom:14px;left:20px;right:20px;height:22px}.monitor-chin img{width:23px;height:23px}.monitor-chin button{font-size:13px;gap:9px}.power-light{width:22px;height:6px}.mac-menubar{padding:0 3px;font-size:11px}.mac-menubar button{padding:0 5px;font-size:11px}.mac-menubar .apple-menu{padding:0 4px}.mac-menubar .wallet-connect{margin-left:auto;font-size:9px}.apple-menu img{width:12px}.mac-screen .desktop{bottom:22px!important}.system-icons{right:3px;width:64px;gap:15px}.system-icon{font-size:8px}.system-icon img{width:29px;height:29px}body .finder-window{left:4px;top:5px;width:calc(100% - 76px);height:calc(100% - 13px)}body .desktop-icons{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(77px,1fr)!important;padding:7px 2px!important}body .desktop-icon span{font-size:9px!important}body .desktop-icon img{width:29px!important;height:29px!important}.finder-info{padding:4px;font-size:9px}.finder-info span:nth-child(2){display:none}.finder-content{scrollbar-gutter:auto}.finder-content::-webkit-scrollbar{width:11px}.mac-panel-body{padding:13px!important}.mac-panel h2,.document h1{font-size:18px}.mac-panel p{font-size:11px}.titlebar .title{font-size:10px!important}.status-card{font-size:10px}.library-body{grid-template-columns:1fr!important;overflow:auto!important}.preview-panel{min-height:160px}.document{padding:10px}.taskbar-end{font-size:8px!important}.taskbar-windows{overflow-x:auto!important}.taskbar .task-btn{min-width:65px!important}.taskbar .start-button{min-width:45px!important;padding:0!important}}

body .finder-window.finder-expanded{left:4px!important;top:4px!important;width:calc(100% - 9px)!important;height:calc(100% - 9px)!important;z-index:15}

/* Classic Finder has no Windows taskbar; open/minimized apps are in View. */
.mac-screen .taskbar{display:none!important}.mac-screen .desktop{bottom:0!important}.mac-screen .screensaver-overlay{bottom:0!important}.mac-menubar .menu-active{background:#000;color:#fff}
.mac-dropdown{position:absolute;top:24px;z-index:600;min-width:165px;max-width:calc(100% - 36px);border:1px solid #000;background:#fff;box-shadow:2px 2px 0 #000;padding:4px 0}.mac-dropdown button{display:block;border:0;background:#fff;color:#000;font:12px var(--mac-font);width:100%;padding:5px 16px;text-align:left}.mac-dropdown button:hover,.mac-dropdown button:focus-visible{background:#000;color:#fff;outline:0}
.finder-content::-webkit-scrollbar-button:vertical:decrement{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M3 9 7 4l4 5Z' fill='white' stroke='black'/%3E%3C/svg%3E") center no-repeat}.finder-content::-webkit-scrollbar-button:vertical:increment{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M3 5 7 10l4-5Z' fill='white' stroke='black'/%3E%3C/svg%3E") center no-repeat}

/* Bound legacy application geometry to the CRT, including old mobile rules. */
#macScreen .win98{position:absolute!important;min-width:0!important;min-height:0!important;max-width:calc(100% - 8px)!important;max-height:calc(100% - 8px)!important;transform:none!important}
#macScreen #finderWindow{left:12px;top:5px;width:calc(100% - 138px)!important;height:calc(100% - 16px)!important}
#macScreen #finderWindow.finder-expanded{left:4px!important;top:4px!important;width:calc(100% - 9px)!important;height:calc(100% - 9px)!important}
@media(max-width:600px){#macScreen #finderWindow{left:4px;top:5px;width:calc(100% - 76px)!important;height:calc(100% - 13px)!important}}
/* Keep the public wallet address legible inside narrow Macintosh windows. */
.treasury-wallet-address { overflow-wrap: anywhere; font-family: monospace; }
