*{box-sizing:border-box}body{margin:0;background:#e6e7e5;color:#242824;font:14px Arial,sans-serif;overflow:hidden}#scene{position:fixed;inset:0}canvas{display:block;touch-action:none}header{position:absolute;top:32px;left:38px;right:38px;display:flex;align-items:center;gap:30px;pointer-events:none}.brand{font-size:40px;letter-spacing:-4px;display:flex;align-items:center;gap:14px}.brand span{font-size:9px;line-height:1.6;letter-spacing:2px}.edition{margin-left:auto;font-size:11px;letter-spacing:3px}.edition span{margin-left:24px;color:#697169}button{border:1px solid #b8bdb7;background:#f8f9f5dc;color:#242824;font:inherit;cursor:pointer;padding:12px 18px;border-radius:3px;pointer-events:auto}button:hover{background:#fff}button:disabled{opacity:.3;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid #477350;outline-offset:4px}#full{font-size:22px;padding:5px 12px}aside{position:absolute;left:40px;top:23%;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:3px;color:#596359}h1{font-weight:400;font-size:36px;line-height:1.15;letter-spacing:-1.5px}#status{font-size:12px;color:#60695f}.views{position:absolute;bottom:143px;left:50%;transform:translateX(-50%);display:flex;gap:5px;white-space:nowrap}.views button{font-size:12px}.active{background:#29312a;color:#fff;border-color:#29312a}.active:hover{background:#364338}footer{position:absolute;bottom:30px;left:38px;right:38px;display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}.hint{font-size:11px;line-height:1.8;color:#576057}.paging{display:flex;align-items:center;gap:18px}.paging label{display:flex;gap:10px;align-items:center}#label{font-size:12px;min-width:95px;text-align:center}#jump{width:48px;border:0;border-bottom:1px solid #9ca69b;background:transparent;padding:5px;color:inherit;text-align:center;appearance:textfield}#jump::-webkit-inner-spin-button{appearance:none}.total{font-size:11px;color:#687268}#progress{width:100%;height:2px;accent-color:#354b39;cursor:pointer}#error{position:fixed;inset:40% 20%;background:#fff;padding:30px}body.reading aside{display:none}@media(max-width:700px){header{top:20px;left:20px;right:20px}.edition{font-size:9px;letter-spacing:1px}.edition span{display:none}.brand{font-size:30px}.brand span{font-size:7px}aside{left:20px;top:110px}h1{font-size:24px}.eyebrow{font-size:9px}footer{left:20px;right:20px;bottom:23px;justify-content:center;gap:15px}.hint{display:none}.views{bottom:115px}.paging{gap:10px}.paging button{padding:12px 17px}#label{min-width:80px}.views button{padding:10px 13px}}

/* Warm interior: restrained translucent controls retain contrast over concrete. */
body{background:#555b56;color:#f0eee7}header{background:linear-gradient(90deg,rgba(22,28,24,.56),rgba(22,28,24,.18));border-radius:4px;padding:12px 18px;top:20px;left:24px;right:24px;gap:18px}.brand-logo{width:47px;height:62px;object-fit:contain;filter:brightness(0) invert(1)}.edition{font-size:12px;letter-spacing:2px}.edition span{color:#dfddd3}aside{left:40px;top:23%;text-shadow:0 1px 14px #0008}.eyebrow,#status{color:#f1eee5}.eyebrow{font-size:12px}#status{max-width:210px;font-size:13px;line-height:1.5}.hint{color:#f3f1e8;text-shadow:0 1px 5px #000;font-size:12px}button{background:#edece3ed;border:1px solid #e3e4d34d;color:#272e28;font-size:14px}.views button{font-size:14px}.active{background:#334137;color:#fff;border-color:#556b57}.paging{background:#252e27d9;border-radius:4px;padding:8px 10px}.total{color:#dedfd5}#jump{color:#fff}#label{font-size:14px}#sound{font-size:12px;padding:10px 12px}#sound[aria-pressed=true]{background:#485248;color:#fff}#progress{accent-color:#c6b693}.views{bottom:147px}#model-panel{position:absolute;left:40px;bottom:210px;background:#26332df2;padding:18px;border:1px solid #b5b4a666;border-radius:4px;max-width:265px}#model-panel span{display:block;font-size:12px;letter-spacing:1px;margin-bottom:12px}#model-panel p{font-size:12px;line-height:1.5;margin:10px 0 0}#model-panel p:empty{display:none}#model-toggle{width:100%}#model-toggle[aria-pressed=true]{background:#c6b893}body.reading #model-panel{left:20px;bottom:205px}@media(max-width:700px){header{left:10px;right:10px;top:10px;padding:8px 12px;gap:10px}.brand-logo{width:35px;height:47px}.edition{font-size:10px;letter-spacing:1px}.edition span{display:none}#sound{font-size:11px;padding:9px 7px}#full{padding:6px}.views{bottom:116px;gap:3px;max-width:calc(100% - 20px)}.views button{font-size:12px;padding:10px 8px}aside{top:110px;left:20px}#model-panel,body.reading #model-panel{left:15px;bottom:176px;max-width:235px;padding:12px}.paging{gap:6px;padding:6px}#label{font-size:12px}}

/* Controls sit at the edge; the page action follows its QR in world space. */
.views{position:fixed;bottom:22px;z-index:20;gap:6px}.views button{padding:10px 16px;background:#25302ae0;border-color:#d5d6cd38;color:#f1f0e8;backdrop-filter:blur(12px)}.views button.active{background:#e6e3d7ed;color:#263027}footer{bottom:82px}#sound{width:40px;height:40px;padding:9px;display:inline-flex;align-items:center;justify-content:center}#sound svg{flex:none}#model-panel,body.reading #model-panel{position:fixed;left:0;top:0;bottom:auto;max-width:none;padding:0;border:0;background:none;transform-origin:left center;z-index:12;pointer-events:none}#model-toggle{pointer-events:auto;width:auto;padding:7px 10px;border:1px solid #445b4c;border-radius:4px;background:#26392eee;color:#faf9ee;font-size:12px;white-space:nowrap;box-shadow:0 2px 7px #0003}#model-toggle[aria-pressed=true]{background:#ded6bf;color:#29352c}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}body.immersive header,body.immersive aside,body.immersive footer,body.immersive #error{display:none!important}body.immersive .views{bottom:max(20px,env(safe-area-inset-bottom));}body.immersive .views button{opacity:.84}body.immersive .views button:hover{opacity:1}@media(max-width:700px){.views{bottom:16px;max-width:none}.views button{font-size:12px;padding:10px 12px}footer{bottom:73px}#sound{width:36px;height:36px;padding:7px}#model-panel,body.reading #model-panel{bottom:auto;padding:0;left:0;max-width:none}#model-toggle{font-size:12px;padding:7px 9px}}

/* Page-local model control also remains available in fullscreen. */
#model-toggle{font-size:11px;padding:4px 7px;min-height:24px;border-radius:3px;box-shadow:0 1px 4px #0002}body.immersive #model-panel:not([hidden]){display:block!important}body.immersive #model-panel[hidden]{display:none!important}@media(max-width:700px){#model-toggle{font-size:11px;padding:4px 7px;min-height:24px}}

/* Original studio typeface supplied by GL Estudio. */
@font-face{font-family:"GL Futura Extended";src:url("assets/fonts/futuraextended.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
body,button,input{font-family:"GL Futura Extended","Futura Extended",Futura,"Century Gothic",Arial,sans-serif}

/* Compact mobile chrome, including landscape phones. Desktop retains its layout. */
#exit-full{display:none}
@media(max-width:700px),(pointer:coarse) and (max-width:1024px){
 header{top:max(6px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));padding:5px 8px;gap:8px}
 .brand-logo{width:23px;height:31px}.edition{font-size:9px;letter-spacing:1px}
 #sound,#full{width:30px;height:30px;padding:5px;min-width:30px}#sound svg{width:18px;height:18px}#full{font-size:20px}
 aside{top:max(58px,calc(env(safe-area-inset-top) + 48px));left:14px}aside .eyebrow,aside h1{display:none}#status{font-size:10px;max-width:190px;margin:0;line-height:1.3}
 .views,body.immersive .views{bottom:max(8px,env(safe-area-inset-bottom));gap:4px;max-width:calc(100% - 16px)}
 .views button{font-size:10px;padding:6px 9px;min-height:30px}
 footer{bottom:calc(max(8px,env(safe-area-inset-bottom)) + 39px);left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));gap:4px}
 .paging{padding:3px 5px;gap:4px}.paging button{font-size:13px;padding:3px 7px;min-width:30px;min-height:30px}.paging label{gap:4px}
 #label{font-size:10px;min-width:70px}.total{font-size:9px}#jump{width:34px;padding:2px;font-size:16px}#progress{height:12px;margin:0}
 #model-toggle{font-size:9px;padding:3px 5px;min-height:24px}
 body.immersive #exit-full:not([hidden]){display:flex;align-items:center;justify-content:center;position:fixed;z-index:30;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));width:30px;height:30px;padding:0;font-size:22px;background:#25302ac9;color:#fff;border-color:#ffffff38}
}
@media(pointer:coarse) and (max-height:500px){aside{display:none}}
