:root{--menu-height: 24px;--dock-height: 104px;--wordmark: min(58.3vw, 83vh);--title-left: calc(50vw - var(--wordmark) * .7775);--title-bottom: 6.6vh;--body-width: .586;--body-left: -.04;--body-rise: .14;--bean: calc(var(--wordmark) * var(--body-width) / .597)}@media(min-aspect-ratio:17 / 9){:root{--body-width: .52;--body-left: -.02}}.desktop{--ink: #0a0a0a;--paper: #f4f3ee;--dither: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 2px 2px;position:fixed;inset:0;z-index:5;overflow:hidden;color:var(--ink);font:12px/1.35 ui-monospace,SF Mono,Menlo,Courier New,monospace}.desktop button{font:inherit;color:inherit}.desktop [hidden]{display:none!important}.bean-wiggle{position:absolute;left:calc(var(--title-left) + var(--wordmark) * var(--body-left) - var(--bean) * .2148);bottom:calc(var(--title-bottom) + var(--wordmark) * var(--body-rise) - var(--bean) * .3506);z-index:1;pointer-events:none;animation:wiggleX 7s ease-in-out infinite alternate,wiggleY 11s ease-in-out infinite alternate,wiggleR 13s ease-in-out infinite alternate}@keyframes wiggleX{0%{translate:-6px 0}to{translate:6px 0}}@keyframes wiggleY{0%{translate:0 -5px}to{translate:0 5px}}@keyframes wiggleR{0%{rotate:-.6deg}to{rotate:.6deg}}.bean-3d-wrap{position:relative;width:var(--bean);aspect-ratio:1408 / 1340;overflow:hidden}.bean-hit{position:absolute;z-index:1;left:21.5%;top:16.6%;width:59.7%;height:46.5%;padding:0;background:none;border:0;border-radius:42%;cursor:pointer;pointer-events:auto}.bean-hit:focus-visible{outline:1px dashed var(--paper);outline-offset:2px}.bean-bubble{position:absolute;left:33%;bottom:calc(83.4% + 2px);visibility:hidden;box-shadow:2px 2px 0 var(--ink);font-weight:700;white-space:nowrap;pointer-events:auto}.bean-bubble.is-visible{visibility:visible}.bean-bubble:after{content:"";position:absolute;left:18px;bottom:-6px;width:10px;height:10px;background:inherit;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);transform:rotate(45deg)}.bean-bubble:hover,.bean-bubble:hover:after{border-color:var(--paper)}.bean-bubble:hover{box-shadow:2px 2px 0 var(--paper)}@media(hover:none),(max-width:768px),(orientation:portrait),(max-height:500px){.bean-bubble{display:none}}.wordmark{position:absolute;left:var(--title-left);bottom:var(--title-bottom);z-index:1;width:var(--wordmark);pointer-events:none}.bean-3d-wrap canvas{position:absolute;inset:0;width:100%!important;height:100%!important}.menubar{position:absolute;inset:0 0 auto;height:var(--menu-height);z-index:1000;display:flex;align-items:stretch;padding:0 6px;background:var(--paper);border-bottom:1px solid var(--ink)}.menubar-mark{display:flex;align-items:center;padding:0 10px;font-weight:700}.menu{position:relative}.menu-title,.menu-item,.menubar-eject{background:none;border:0;cursor:pointer;text-decoration:none;color:inherit}.menu-title{height:100%;padding:0 10px}.menu-title:hover,.menu-title[aria-expanded=true],.menu-item:hover,.menu-item:focus-visible,.menubar-eject:hover{background:var(--ink);color:var(--paper)}.menu-list{position:absolute;top:100%;left:0;min-width:190px;padding:2px 0;background:var(--paper);border:1px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}.menu-item{display:flex;justify-content:space-between;gap:24px;width:100%;padding:3px 12px;text-align:left}.menu-key{opacity:.6}.menubar-eject{display:flex;align-items:center;margin-left:auto;padding:0 10px}.menubar-doc{display:none;align-items:center;gap:5px;margin-left:auto;padding:0 6px;background:none;border:0;cursor:pointer}.menubar-doc .desk-icon-art{width:10px;height:13px}.menubar-doc .doc-page,.menubar-doc .doc-fold{stroke-width:3px}.menubar-doc .doc-lines{display:none}.menubar-doc:focus-visible{outline:1px dashed var(--ink);outline-offset:-3px}@media(hover:hover){.menubar-doc:hover{background:var(--ink);color:var(--paper)}.menubar-doc:hover .doc-page{fill:var(--ink);stroke:var(--paper)}.menubar-doc:hover .doc-fold{stroke:var(--paper)}}.win{position:absolute;z-index:2;background:var(--paper);border:1px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}.win-title{display:flex;align-items:center;gap:6px;height:22px;padding:0 6px;border-bottom:1px solid var(--ink);cursor:grab;touch-action:none;user-select:none}.win-title:active{cursor:grabbing}.win-stripes{flex:1;min-width:8px;height:11px;background:repeating-linear-gradient(to bottom,var(--ink) 0 1px,transparent 1px 2px)}.win:not(.is-front) .win-stripes{visibility:hidden}.win-label{max-width:70%;overflow:hidden;font-weight:700;white-space:nowrap;text-overflow:ellipsis}.win-close{flex:none;width:12px;height:12px;padding:0;background:var(--paper);border:1px solid var(--ink);cursor:pointer}.win-close:hover,.win-close:active{background:var(--ink)}.win-close:focus-visible,.lv-btn:focus-visible,.file:focus-visible,.lv-range:focus-visible,.menu-title:focus-visible,.menubar-eject:focus-visible,.lv-radio:focus-within{outline:1px dashed var(--ink);outline-offset:2px}.lv-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:32px;height:28px;padding:0 8px;background:var(--paper);border:1px solid var(--ink);border-radius:0;cursor:pointer}.lv-btn svg{width:12px;height:12px;fill:currentColor;shape-rendering:crispEdges}.lv-btn:hover,.lv-btn:active{background:var(--ink);color:var(--paper)}.lv-btn--text{height:22px;font-size:11px}.lv-range{flex:1;min-width:0;height:16px;margin:0;background:transparent;appearance:none;-webkit-appearance:none;cursor:pointer}.lv-range::-webkit-slider-runnable-track{height:8px;background:var(--dither);border:1px solid var(--ink)}.lv-range::-moz-range-track{height:6px;background:var(--dither);border:1px solid var(--ink)}.lv-range::-webkit-slider-thumb{width:10px;height:16px;margin-top:-5px;background:var(--paper);border:1px solid var(--ink);border-radius:0;-webkit-appearance:none}.lv-range::-moz-range-thumb{width:8px;height:14px;background:var(--paper);border:1px solid var(--ink);border-radius:0}.lv-radio{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.lv-radio input{width:11px;height:11px;margin:0;background:var(--paper);border:1px solid var(--ink);border-radius:50%;appearance:none;-webkit-appearance:none;cursor:pointer}.lv-radio input:checked{background:radial-gradient(circle,var(--ink) 0 3px,var(--paper) 3.5px)}.browser-status{display:flex;justify-content:space-between;align-items:center;padding:3px 8px;border-bottom:1px solid var(--ink)}.browser-views{display:flex;gap:10px}.browser-files{display:grid;grid-template-columns:repeat(5,1fr);gap:8px 2px;max-height:min(340px,44vh);padding:10px 6px;overflow-y:auto;scrollbar-color:var(--ink) var(--paper);touch-action:pan-y}.file{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:0;background:none;border:0;cursor:pointer}.file-tile{position:relative;display:block;flex:none;width:60px;height:46px;background:var(--paper);border:2px solid var(--ink)}.file-tile img{display:block;width:56px;height:42px;image-rendering:pixelated}.file-tile--image:after{content:"";position:absolute;top:-2px;right:-2px;width:13px;height:13px;background:linear-gradient(to bottom left,var(--paper) 0 calc(50% - 1px),var(--ink) calc(50% - 1px) calc(50% + 1px),var(--paper) 0);border-bottom:2px solid var(--ink);border-left:2px solid var(--ink)}.file-tile--video:before,.file-tile--video:after{content:"";position:absolute;left:0;right:0;height:5px;background:repeating-linear-gradient(90deg,var(--paper) 0 3px,var(--ink) 3px 6px)}.file-tile--video:before{top:0}.file-tile--video:after{bottom:0}.file-name{max-width:100%;padding:0 3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-no,.file-kind,.file-length{display:none}.file.is-selected .file-tile img{filter:invert(1)}.file.is-selected .file-name{background:var(--ink);color:var(--paper)}.file.is-playing .file-name:before{content:"▶ ";font-size:8px;vertical-align:1px}.browser-files[data-view=list]{display:block;padding:0}.browser-files[data-view=list] .file{display:grid;grid-template-columns:22px 1fr 1.4fr 44px;gap:8px;align-items:center;width:100%;padding:4px 8px;text-align:left;border-bottom:1px dotted var(--ink)}.browser-files[data-view=list] .file-tile{display:none}.browser-files[data-view=list] .file-no,.browser-files[data-view=list] .file-kind,.browser-files[data-view=list] .file-length{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.browser-files[data-view=list] .file-name{padding:0}.browser-files[data-view=list] .file.is-selected{background:var(--ink);color:var(--paper)}.deck-body{padding:8px}.deck-track{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;padding:5px 8px;border:1px dashed var(--ink);white-space:nowrap}.deck-title{overflow:hidden;text-overflow:ellipsis}.deck-controls{display:flex;gap:4px}.deck-play{flex:1;font-weight:700}.deck-progress{position:relative;height:10px;margin-top:8px;overflow:hidden;border:1px solid var(--ink)}.deck-progress-fill{position:absolute;inset:0 auto 0 0;width:0;background:var(--dither)}.deck-footer{display:flex;align-items:center;gap:8px;margin-top:8px}.viewer-stage{position:relative;width:100%;background:var(--paper)}.viewer-stage img,.viewer-stage video{display:block;width:100%;height:100%;object-fit:contain}.viewer-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 8px;border-top:1px solid var(--ink)}.viewer-kind{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.viewer-count,.viewer-info{flex:none;white-space:nowrap}.viewer-sound{display:flex;align-items:center;gap:8px;padding:6px 8px;border-top:1px solid var(--ink)}.viewer-time{flex:none}.info-list{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:0;padding:10px}.info-list dt{font-weight:700}.info-list dd{margin:0}.guide-body{max-height:min(66vh,560px);padding:10px 12px;overflow-y:auto;scrollbar-color:var(--ink) var(--paper);touch-action:pan-y;user-select:text;-webkit-user-select:text}.guide-body h3{margin:12px 0 4px;padding-bottom:2px;font-size:12px;border-bottom:1px solid var(--ink)}.guide-body h3:first-child{margin-top:0}.guide-body p{margin:4px 0}.guide-body ol{margin:4px 0;padding-left:20px}.guide-table{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:6px 0}.guide-table dt{font-weight:700;white-space:nowrap}.guide-table dt span{display:block;font-weight:400}.guide-table dd{margin:0}.guide-note{padding-top:8px;border-top:1px dotted var(--ink)}.guide-sources{font-size:11px}.guide-sources a{color:inherit}.desk-icons{position:absolute;top:calc(6vh + 188px);right:3.4vw;z-index:1;display:flex;flex-direction:column;align-items:center;gap:18px}.desk-icon{display:flex;flex-direction:column;align-items:center;gap:4px;width:120px;padding:0;background:none;border:0;cursor:pointer}.desk-icon-art{width:32px;height:40px;overflow:visible;shape-rendering:crispEdges}.doc-page{fill:var(--paper);stroke:var(--ink);stroke-width:2px;stroke-linejoin:miter}.doc-fold{fill:none;stroke:var(--ink);stroke-width:2px}.doc-lines{fill:none;stroke:var(--ink);stroke-width:1px;stroke-dasharray:1 1}.desk-icon-name{max-width:100%;padding:1px 4px;background:var(--paper);border:1px solid var(--ink);line-height:1.25;text-align:center;overflow-wrap:anywhere}.desk-icon-art--picture{width:40px;height:32px}.pic-frame{fill:var(--paper);stroke:var(--ink);stroke-width:2px}.pic-inner{fill:none;stroke:var(--ink);stroke-width:1px}.pic-hills,.pic-sun{fill:var(--ink)}.brain-fill{fill:var(--paper)}.brain-ink,.desk-icon.is-selected .brain-fill{fill:var(--ink)}.desk-icon.is-selected .brain-ink{fill:var(--paper)}.desk-icon.is-selected .pic-frame{fill:var(--ink);stroke:var(--paper)}.desk-icon.is-selected .pic-inner{stroke:var(--paper)}.desk-icon.is-selected .pic-hills,.desk-icon.is-selected .pic-sun{fill:var(--paper)}.desk-icon.is-selected .doc-page{fill:var(--ink);stroke:var(--paper)}.desk-icon.is-selected .doc-fold,.desk-icon.is-selected .doc-lines{stroke:var(--paper)}.desk-icon.is-selected .desk-icon-name{background:var(--ink);color:var(--paper);border-color:var(--paper)}.desk-icon:focus-visible{outline:none}.desk-icon:focus-visible .desk-icon-name{outline:1px dashed var(--paper);outline-offset:2px}@media(max-height:600px){.desk-icons{display:grid;grid-template-columns:repeat(2,120px);gap:18px 0;align-items:start}.desk-icon{grid-column:2}.desk-icon:nth-child(3){grid-column:1;grid-row:1}}.text-body{max-height:min(64vh,600px);padding:12px 14px 16px;overflow-y:auto;scrollbar-color:var(--ink) var(--paper);touch-action:pan-y;user-select:text;-webkit-user-select:text;line-height:1.55}.text-body:focus-visible{outline:1px dashed var(--ink);outline-offset:-4px}.text-head{margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid var(--ink)}.text-head h3{margin:0;font-size:12px;letter-spacing:.12em}.text-head p{margin:0}.text-source{margin-top:6px!important;font-size:11px;opacity:.7}.text-body>p{margin:0 0 1.1em}.text-body>p:last-child{margin-bottom:0}.text-body>p:last-child:after{content:" ■"}.text-loading{opacity:.6}.text-meta a{color:inherit;text-decoration:none}.text-progress{flex:1}.win--gallery:focus{outline:none}.gallery-stage{position:relative;aspect-ratio:3 / 2;max-height:min(56vh,520px);width:100%;overflow:hidden;background:var(--paper)}.gallery-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .6s steps(6,end)}.gallery-frame.is-front{opacity:1}.gallery-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:var(--dither);text-align:center}.gallery-empty>*{background:var(--paper)}.gallery-empty .desk-icon-art{width:60px;height:48px;margin-bottom:8px;background:none}.gallery-empty p{margin:0;padding:1px 6px;border:1px solid var(--ink)}.gallery-empty-note{font-size:11px;border-style:dashed!important}.gallery-text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gallery-count{flex:none}.gallery-progress{position:relative;height:6px;overflow:hidden;border-top:1px solid var(--ink)}.gallery-progress-fill{position:absolute;inset:0 auto 0 0;width:0;background:var(--dither)}.win--gallery:not(.is-playing) .gallery-progress-fill{opacity:.4}.gallery-controls{display:flex;align-items:center;gap:4px;padding:6px 8px;border-top:1px solid var(--ink)}.gallery-play{min-width:112px;font-weight:700}.gallery-speeds{display:flex;gap:10px;margin-left:auto}.gallery-controls .lv-btn:disabled{opacity:.35;cursor:default}.gallery-controls .lv-btn:disabled:hover{background:var(--paper);color:var(--ink)}.gallery-speeds input:disabled{cursor:default}.gallery-strip{position:relative;display:flex;gap:4px;padding:6px 8px 8px;overflow-x:auto;border-top:1px solid var(--ink);scrollbar-color:var(--ink) var(--paper);touch-action:pan-x}.gallery-thumb{flex:none;padding:0;background:var(--paper);border:2px solid var(--ink);cursor:pointer}.gallery-thumb img{display:block;width:56px;height:42px;image-rendering:pixelated}.gallery-thumb.is-current img{filter:invert(1)}.gallery-thumb.is-current{outline:1px solid var(--ink);outline-offset:1px}.gallery-thumb:focus-visible{outline:1px dashed var(--ink);outline-offset:2px}@media(prefers-reduced-motion:reduce){.gallery-frame{transition:none}}.win-edge{position:absolute;z-index:3;touch-action:none}.win-edge--right{top:22px;right:-5px;bottom:10px;width:8px;cursor:ew-resize}.win-edge--bottom{left:0;right:10px;bottom:-5px;height:8px;cursor:ns-resize}.win-grip{position:absolute;z-index:4;right:-1px;bottom:-1px;width:13px;height:13px;padding:0;background:linear-gradient(var(--ink),var(--ink)) 2px 2px / 6px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) 2px 2px / 1px 6px no-repeat,linear-gradient(var(--ink),var(--ink)) 4px 4px / 7px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) 4px 4px / 1px 7px no-repeat,linear-gradient(var(--ink),var(--ink)) 4px 10px / 7px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) 10px 4px / 1px 7px no-repeat,var(--paper);border:1px solid var(--ink);cursor:nwse-resize;touch-action:none}.win-grip:hover,.win.is-resizing .win-grip{filter:invert(1)}.win-grip:focus-visible{outline:1px dashed var(--ink);outline-offset:2px}.win:not(.is-front) .win-grip{opacity:.35}.win.is-resizing,.win.is-resizing *{user-select:none}.win.is-resizing video{pointer-events:none}@media(min-width:769px)and (orientation:landscape)and (min-height:501px){.win.is-sized{display:flex;flex-direction:column}.win.is-sized[hidden]{display:none}.win.is-sized .win-body{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.win.is-sized .browser-files,.win.is-sized .guide-body,.win.is-sized .text-body,.win.is-sized .info-list{flex:1;min-height:0;max-height:none;overflow-y:auto}.win.is-sized .info-list{align-content:start}.win.is-sized .deck-body{flex:1}.win.is-sized .viewer-stage{flex:1;min-height:0;max-height:none!important;aspect-ratio:auto!important}.win.is-sized .gallery-stage{flex:1;min-height:0;max-height:none;aspect-ratio:auto}}@media(max-width:768px),(orientation:portrait),(max-height:500px){:root{--wordmark: min(87vw, 62svh);--title-left: calc(50vw - var(--wordmark) / 2);--title-bottom: calc(var(--dock-height) + 14px);--body-width: .65;--body-left: -.04;--panel-bottom: calc(var(--title-bottom) + var(--wordmark) * .621 + 10px)}.win{left:8px!important;right:8px;width:auto!important;box-shadow:none}.win.is-sized{height:auto!important}.win--deck.is-sized{height:var(--dock-height)!important}.win-edge,.win-grip{display:none}.win-title{cursor:default;touch-action:auto}.win--browser{top:calc(var(--menu-height) + 8px)!important;bottom:var(--panel-bottom);display:flex;flex-direction:column}.browser-files{flex:1;min-height:0;max-height:none}.win--deck{left:0!important;right:0;top:auto!important;bottom:0;height:var(--dock-height);border-width:1px 0 0}.win--deck .win-title,.deck-progress,.deck-volume{display:none}.deck-footer{margin-top:6px;justify-content:flex-end}.deck-footer .lv-btn--text{height:20px}.deck-body{padding:6px 8px}.deck-track{margin-bottom:6px;padding:2px 8px}.win--viewer,.win--info,.win--guide,.win--text,.win--gallery{left:0!important;right:0;top:var(--menu-height)!important;bottom:var(--panel-bottom);display:flex;flex-direction:column;border-width:0}.win--browser .win-body,.win--viewer .win-body,.win--info .win-body,.win--guide .win-body,.win--text .win-body,.win--gallery .win-body{display:flex;flex:1;flex-direction:column;min-height:0}.guide-body,.text-body{flex:1;max-height:none}.gallery-stage{flex:1;min-height:0;max-height:none;aspect-ratio:auto}.desk-icons{display:none}.menubar-doc{display:flex}.menubar-doc+.menubar-eject{margin-left:0}.viewer-stage{flex:1;min-height:0;max-height:none!important;aspect-ratio:auto!important}}@media(max-width:600px)and (orientation:portrait){:root{--hero-h: calc(var(--wordmark) * .621 + 20px);--hero-bottom: calc(var(--menu-height) + var(--hero-h));--panel-bottom: var(--dock-height)}.bean-wiggle{top:calc(var(--menu-height) + 10px - var(--bean) * .158);bottom:auto}.wordmark{top:calc(var(--hero-bottom) - 10px - var(--wordmark) * .2105);bottom:auto}.win--browser{left:0!important;right:0;top:var(--hero-bottom)!important;bottom:var(--dock-height);border-width:1px 0}.browser-files{align-content:start}.browser-views .lv-radio{margin:-14px 0;padding:14px 4px}}@media(max-height:500px)and (orientation:landscape){:root{--wordmark: 34vw;--title-left: 2vw;--title-bottom: calc(var(--dock-height) + 10px);--panel-bottom: var(--dock-height)}.win--browser{left:38vw!important;bottom:calc(var(--dock-height) + 8px)}}@media(prefers-reduced-motion:reduce){.bean-wiggle{animation:none}}
