#horoso-ui[hidden],#horoso-entry[hidden]{display:none!important}#horoso-entry{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:75;border:1px solid #bd9d69;border-radius:5px;padding:13px 22px;background:#2d443ceF;color:#f6eace;font:18px Georgia}#horoso-ui{position:fixed;inset:0;z-index:80;color:#eee3ce;font:15px/1.5 system-ui;pointer-events:none}#horoso-ui .hr-look{position:absolute;inset:0;pointer-events:auto;touch-action:none;outline:0}#horoso-ui header{position:absolute;left:22px;right:22px;top:18px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}#horoso-ui header>div{background:#283d34df;padding:10px 20px;border-left:3px solid #c09a64}#horoso-ui h1{font:34px Georgia;margin:0}#horoso-ui small{font-size:12px;opacity:.8}#horoso-ui button,#horoso-ui a{pointer-events:auto;cursor:pointer;font:inherit;min-height:44px;border:1px solid #9c8c6f;border-radius:4px;background:#efe4ceeF;color:#23372e;padding:9px 13px;text-decoration:none}#horoso-ui button:hover,#horoso-ui a:hover{background:#fff5dc}#horoso-ui nav{position:absolute;top:104px;left:22px;display:flex;gap:6px;flex-wrap:wrap;max-width:75vw}#horoso-ui .hr-panel{position:absolute;top:165px;right:22px;bottom:85px;width:min(510px,calc(100vw - 44px));overflow:auto;background:#f0e8d8f7;color:#2b3a31;padding:22px;box-sizing:border-box;pointer-events:auto;border:1px solid #bba478;box-shadow:0 8px 45px #0004}#horoso-ui .hr-panel h2{font:28px Georgia;margin:8px 36px 16px 0}#horoso-ui .hr-panel h3{font:20px Georgia}#horoso-ui .hr-close{position:absolute;right:8px;top:8px}#horoso-ui .hr-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}#horoso-ui .hr-menu button{text-align:left;display:flex;flex-direction:column;justify-content:space-between;background:#fffaf0}#horoso-ui article{border-top:1px solid #cabd9f;padding:16px 0}#horoso-ui article img{max-width:100%;max-height:240px;object-fit:contain;display:block}#horoso-ui .hr-qr{display:block;width:180px;height:180px;image-rendering:pixelated}#horoso-ui .hr-links{display:flex;flex-wrap:wrap;gap:8px}#horoso-ui footer{position:absolute;bottom:15px;left:22px;right:22px;display:flex;align-items:center;gap:10px;background:#263a32dd;padding:8px 12px}#horoso-ui footer span{margin-right:auto}#horoso-ui .hr-touch{display:none}.horoso-inside #workshop-entry,.horoso-inside .agora-board-open,.horoso-inside #cab-knob{display:none!important}@media(max-width:700px){#horoso-ui header{top:8px;left:8px;right:8px}#horoso-ui header>div{padding:5px 12px}#horoso-ui h1{font-size:25px}#horoso-ui nav{top:80px;left:8px;max-width:96vw;gap:4px}#horoso-ui nav button{font-size:12px;padding:6px 9px}#horoso-ui .hr-panel{top:181px;bottom:155px;right:8px;width:calc(100vw - 16px);padding:15px}#horoso-ui .hr-menu{grid-template-columns:1fr}#horoso-ui footer{left:8px;right:8px;bottom:8px;padding:5px;font-size:11px}#horoso-ui footer small{display:none}#horoso-ui .hr-touch{display:flex;position:absolute;bottom:70px;left:10px;gap:4px}#horoso-ui .hr-touch button{width:48px;height:48px}}
body.horoso-inside>:not(#three-scene):not(#horoso-ui):not(script):not(style){visibility:hidden!important;pointer-events:none!important}

/* Padded links participate in layout; content never paints over its neighbours. */
#horoso-ui a{display:inline-flex;align-items:center;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere;vertical-align:middle}
#horoso-ui .hr-panel[hidden]{display:none!important}
#horoso-ui .hr-panel{display:flex;flex-direction:column;gap:14px;overflow-wrap:anywhere;scrollbar-gutter:stable}
#horoso-ui .hr-panel>*{flex-shrink:0;min-width:0;max-width:100%;box-sizing:border-box}
#horoso-ui .hr-panel>p,#horoso-ui .hr-panel>h3{margin:0}
#horoso-ui .hr-panel>h2{margin:4px 38px 4px 0}
#horoso-ui .hr-panel>a{align-self:flex-start}
#horoso-ui .hr-panel article p{margin:12px 0}
#horoso-ui .hr-panel article>a,#horoso-ui .hr-panel article>button{margin:4px 4px 4px 0}
#horoso-ui .hr-qr{height:auto;aspect-ratio:1;object-fit:contain;align-self:flex-start}
#horoso-ui .hr-menu button{overflow-wrap:anywhere}
@media(max-height:560px) and (min-width:701px){#horoso-ui .hr-panel{top:155px;bottom:65px}}
@media(max-height:560px) and (max-width:700px){#horoso-ui .hr-panel{top:138px;bottom:65px;z-index:2}#horoso-ui .hr-touch{bottom:8px}#horoso-ui footer{left:235px}#horoso-ui footer span{display:none}#horoso-ui nav{max-width:calc(100vw - 16px)}#horoso-ui nav button{min-height:38px}}

#horoso-ui nav [data-open=menu]{background:#294c3b;color:#fff4d8;border:2px solid #c2a466;font-weight:700}
@media(min-width:701px){#horoso-ui nav{max-width:calc(100vw - 44px)}}@media(min-width:701px) and (max-width:950px){#horoso-ui nav button{font-size:13px;padding:8px}}

/* Local radio: compact header control inside, contextual card outside. */
#horoso-radio[hidden]{display:none!important}
#horoso-radio{position:fixed;right:18px;bottom:160px;z-index:76;display:flex;flex-direction:column;gap:5px;padding:8px;background:#293e35ed;border:1px solid #bba478;border-radius:5px;max-width:160px;font:12px/1.4 system-ui;color:#f2e7d1}
#horoso-radio button{min-height:44px;padding:8px 12px;border:1px solid #bba478;border-radius:4px;background:#efe4ce;color:#23372e;font:inherit;cursor:pointer}
#horoso-radio a{color:#f2e7d1;text-decoration:underline;text-underline-offset:3px;min-height:24px;display:flex;align-items:center;justify-content:center}
#horoso-ui header [data-radio]{max-width:145px;font-size:14px}
@media(max-width:700px){#horoso-ui header{gap:5px}#horoso-ui header>div{padding:5px 8px;flex-shrink:0}#horoso-ui header small{font-size:9px;white-space:nowrap}#horoso-ui header [data-radio]{max-width:95px;font-size:12px;padding:6px}#horoso-ui header [data-exit]{font-size:12px;padding:6px}#horoso-radio{right:8px;bottom:160px;max-width:140px}}
