/* N6 — Codex visual edition. Original typography, content and collage retained. */
:root{--shadow:0 2px 3px #30200f19,3px 9px 15px -7px #30200f40,12px 25px 36px -18px #30200f70;--paper:#e9dcc2;--paper-2:#f7f0df}
html{scroll-padding-top:100px;scrollbar-gutter:stable}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default}
.hero::before{content:"";position:absolute;width:680px;height:820px;left:-160px;top:20px;pointer-events:none;background:radial-gradient(ellipse,#e5bd7530,transparent 65%)}
.top{box-shadow:0 1px 0 #fff8,0 5px 22px #20170d06}
.card{background:radial-gradient(ellipse at 20% 0,#fffdf3ba,transparent 70%),linear-gradient(105deg,#e4d3b14d,transparent 8%,transparent 93%,#b3a18324),linear-gradient(155deg,#f7eedb,#e8d9b8);border-color:#bba57c80;box-shadow:0 1px 0 #fff9 inset,var(--shadow)}
.card::before{opacity:.2}
.card::after{content:"";position:absolute;inset:6px;border:1px solid #9d815a28;pointer-events:none}
.print{background:linear-gradient(125deg,#fff,#f4f0e8);box-shadow:0 1px 2px #0002,3px 6px 11px -5px #35271866,15px 28px 40px -22px #2a201699}
.print picture{position:relative;box-shadow:0 0 0 1px #20180e15}
.print picture::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(128deg,#fff1,transparent 35%,#2a160507);box-shadow:inset 0 0 8px #0001}
.print::before,.print::after,.print .ec::before,.print .ec::after{filter:drop-shadow(1px 2px 1px #0005)}
.note{position:relative;border-top:4px solid #b43227;background:linear-gradient(100deg,#eee6d580,transparent 8%),linear-gradient(175deg,#fffdf6,#f2ece0);box-shadow:1px 2px 2px #0002,6px 13px 19px -9px #33261366}
.note::after{content:"";position:absolute;right:0;bottom:0;width:14px;height:14px;background:linear-gradient(135deg,#cec1aa70,#fffdf5 48%,#a6957426 50%);clip-path:polygon(100% 0,100% 100%,0 100%)}
.stand{border:1px solid #766854;background:linear-gradient(112deg,#ffffff08,transparent 28%,#fff2 29%,#fff0 34%),linear-gradient(160deg,#30302e,#101111 65%,#252523);box-shadow:inset 0 0 0 4px #141413,inset 0 0 0 5px #bda47770,var(--shadow);padding:27px 24px 24px}
.stand b{color:#e8d6ac;text-shadow:0 1px 0 #fff9,0 3px 8px #0008}
.stand::after{left:5%;right:5%;height:12px;bottom:-12px;background:linear-gradient(#ddd4c4,#8e8679 15%,#fff1da 35%,#615d55 65%,#b9b3a6 88%,#4e4942);box-shadow:2px 7px 8px #0003}
.door{border:8px solid transparent;background:linear-gradient(120deg,#343331,#101213 55%,#252928) padding-box,linear-gradient(135deg,#a89b85,#f3e9d4 12%,#5c574d 22%,#302d28 53%,#a3957a 80%,#ddd2b8) border-box;box-shadow:inset 0 0 0 2px #111,inset 0 0 38px #0007,var(--shadow)}
.door::before{background:linear-gradient(113deg,transparent 24%,#fff1 25%,#ffffff04 43%,transparent 44%)}
.record{background:repeating-radial-gradient(circle at 50%,#0a0b0b 0 1px,#292a27 1.2px 1.8px,#111211 2.2px 3.2px);box-shadow:0 2px 0 #514e44,1px 7px 5px #0005,13px 25px 35px -9px #0009,inset 0 0 0 3px #161716,inset 0 0 0 5px #35342e}
.record::before{background:conic-gradient(from 15deg,transparent,#e6d9ab0a 12deg,transparent 40deg,transparent 62deg,#eadbb733 77deg,#fff5cf59 82deg,#b4cdc51a 90deg,transparent 105deg,transparent 245deg,#d2dcdf30 260deg,#fff3 268deg,transparent 287deg);box-shadow:inset 0 0 0 10px #0002}
.record .label{background:radial-gradient(circle,#f1dcae,#ddbe82);width:36%;box-shadow:0 0 0 2px #0a0a09,0 0 0 3px #bba779,inset 0 0 0 6px #ddbf8755}
.record .label::after{background:#111;box-shadow:inset 1px 1px 2px #000,0 0 0 1px #c8b892}
.night .cap{color:#514c42}
.night{background:radial-gradient(ellipse at 20% 0,#302419,#121415 65%)}
.panel{border:4px solid transparent;background:linear-gradient(130deg,#30302c,#171817 38%,#252422) padding-box,linear-gradient(135deg,#eee6d2,#837969 14%,#e3d9c5 28%,#4f4b43 52%,#c7bda6 79%,#f9ebd3) border-box;box-shadow:inset 0 0 0 2px #080909,var(--shadow)}
.strip{background:linear-gradient(180deg,#fffaf0,#f1e7d1);box-shadow:0 1px 1px #0002}
.strip .code{box-shadow:inset 0 1px 0 #ffffff26,0 1px 1px #0002}
.plan{background:linear-gradient(120deg,#fffdf5,#eee7d6);box-shadow:inset 0 0 0 4px #fff7,var(--shadow)}
.jukebox{aspect-ratio:1/2;container-type:inline-size;isolation:isolate;filter:drop-shadow(8px 16px 13px #29190c45)}
.jb-cabinet{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:fill;pointer-events:none}
.jb-window{left:23%;right:23%;top:17%;bottom:auto;height:10.8%;border:0;border-radius:0;background:none;box-shadow:none;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:2.5cqw;line-height:1.25}
.jb-window .now{font-size:2.05cqw;letter-spacing:.23em;color:#e9b666;margin-bottom:1.4cqw}
.jb-window .big{font-size:5.1cqw;line-height:1.07;margin:0 0 1cqw;max-width:100%;text-wrap:balance;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jb-status{font-size:2.3cqw;line-height:1.2;display:block;color:#f0d6a4}
.jb-window i{width:1.35cqw;height:1.35cqw;margin-right:.8cqw;animation:none}
.jb-code-form{display:flex;width:100%;gap:1cqw;margin-top:1.5cqw;border-top:1px solid #d8bb7838;padding-top:1.3cqw}
.jb-code-form input{min-width:0;width:100%;height:7.5cqw;border:1px solid #ba9c5d70;border-radius:2px;background:#0d100fd9;color:#fff2d2;padding:0 1.5cqw;font:400 3cqw/1 var(--mono);text-transform:uppercase;box-shadow:inset 0 1px 4px #0009}
.jb-code-form input::placeholder{color:#c1b8a2;text-transform:none}
.jb-code-form input[aria-invalid=true]{border-color:#ffb791}
.jb-code-form button{flex:none;width:9cqw;border:1px solid #dbbd77;border-radius:2px;background:linear-gradient(#f0d797,#b89150);color:#221a0e;font:700 2.8cqw/1 var(--mono);box-shadow:0 2px 0 #68512e}
.jb-badge{position:absolute;top:33.5%;left:40%;width:20%;aspect-ratio:1;border:0;border-radius:50%;padding:0;background:#141414;box-shadow:inset 0 0 4px #d0af6d,0 0 0 1px #a38456;transition:filter .2s}
.jb-badge img{width:100%;height:100%;border-radius:50%}
.jb-badge:hover{filter:brightness(1.35)}
.jb-panel{position:absolute;top:49%;left:15%;right:15%;height:28.3%;padding:0;margin:0;background:none;border:0;display:flex;align-items:stretch}
.jb-panel .strips{width:100%;grid-template-rows:repeat(4,1fr);gap:1.5cqw}
.jb-panel .strip{width:100%;min-width:0;text-align:left;border:0;border-top:2px solid #a63828;border-bottom:1px solid #5f4530;border-radius:2px;padding:1.4cqw 1.5cqw;column-gap:1.4cqw;grid-template-columns:auto minmax(0,1fr) auto;box-shadow:inset 0 0 0 1px #fff7,0 2px 3px #000a;transition:transform .15s,background .15s}
.jb-panel .strip::before{top:2px;background:#ac7c4c5e}
.jb-panel .strip .code{font-size:2.35cqw;min-width:6.5cqw;padding:1.25cqw .9cqw}
.jb-panel .strip .name{font-size:3.05cqw;line-height:1.13;letter-spacing:0}
.jb-panel .strip .name small{font-size:2.8cqw;line-height:1.22;margin-top:.7cqw;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jb-panel .strip .price{font-size:2.9cqw;max-width:11cqw;white-space:normal;line-height:1.2;text-align:right;overflow-wrap:anywhere}
.jb-panel .strip:hover{transform:translateY(-1px);background:#fff9e8}
.jb-panel .strip:active{transform:translateY(1px)}
.jb-keys{position:absolute;top:81.4%;left:18%;right:18%;height:3.6%;padding:0;background:none;display:grid;grid-template-columns:1fr 2.5fr 1fr;gap:1.1cqw}
.jb-keys button{padding:0;border:1px solid #e7d4ad;border-radius:3px;background:linear-gradient(180deg,#fff9e8,#d6c7a8 60%,#aa956c);color:#292116;font:700 3cqw/1 var(--mono);box-shadow:inset 0 1px 0 #fff,0 2px 0 #675239,0 3px 4px #0009;transition:transform .12s}
.jb-keys button:first-child,.jb-keys button:last-child{font-size:6cqw}
.jb-keys button:disabled{opacity:.45}
.jb-keys button:not(:disabled):active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0003}
.jb-feedback{position:absolute;top:87%;left:18%;right:18%;margin:0;color:#ffefd5;text-shadow:0 1px 3px #000;font:400 2.65cqw/1.3 var(--mono);text-align:center}
.jb-event .jb-panel .strips{grid-template-rows:repeat(3,1fr)}
.jb-event .jb-keys{grid-template-columns:1fr}
.jb-event .jb-keys a{display:grid;place-items:center;border:1px solid #e7d4ad;border-radius:3px;background:linear-gradient(#fff9e8,#d6c7a8 60%,#aa956c);color:#292116;font:700 3cqw/1 var(--mono);text-decoration:none;box-shadow:0 2px 0 #675239}
.jb-event .jb-badge{background:#ecd7a4;padding:7px}
.jb-event .jb-badge img{object-fit:contain;border-radius:0}
.jb-event .jb-window{gap:1cqw}
.is-selecting .jb-window{animation:selection-glow .4s ease-out}
@keyframes selection-glow{0%{filter:brightness(1.6)}100%{filter:brightness(1)}}
.jb-modal-open{overflow:hidden}
.jb-detail{padding:0;border:1px solid #b39562;border-radius:5px;background:#f3e8d1;color:#292318;width:min(780px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 24px 100px #0008}
.jb-detail::backdrop{background:#15140fe0;backdrop-filter:blur(7px)}
.jb-detail[open]{display:grid;grid-template-columns:1fr}
.jb-detail.has-photo[open]{grid-template-columns:.9fr 1.1fr}
.jb-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:1px solid #c8b588;border-radius:50%;background:#faf3e5;color:#201c15;font:400 28px/1 var(--text);z-index:2;box-shadow:0 2px 9px #0002}
.jb-photo{position:relative;min-height:430px;background:#29251d}
.jb-photo[hidden]{display:none}
.jb-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.jb-photo span{position:absolute;bottom:0;left:0;right:0;padding:35px 20px 16px;background:linear-gradient(transparent,#000c);color:#fff3db;font:400 12px/1.5 var(--mono)}
.jb-ticket{padding:36px 30px 24px;background:radial-gradient(ellipse at top left,#fff9eb,#f0e3c9)}
.jb-ticket-top{display:flex;align-items:center;gap:12px;padding-right:40px;margin-bottom:25px;font:700 10px/1.4 var(--mono);letter-spacing:.1em;color:#726044}
.jb-ticket-code{display:grid;place-items:center;min-width:45px;min-height:34px;padding:8px;background:#ad3426;color:#fff8e7;font:700 15px/1 var(--mono)}
.jb-ticket h2{font:500 clamp(28px,4vw,38px)/1.1 var(--display);margin-bottom:18px;text-wrap:balance}
.jb-description{font:400 17px/1.6 var(--text)}
.jb-extra{border-top:1px solid #ad92634d;padding-top:12px;font:400 14px/1.5 var(--mono)}
.jb-breakfast{font-size:14px;line-height:1.5;color:#685d48}
.jb-ticket-bottom{border-top:1px solid #ad92638c;margin-top:22px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.jb-detail-price{font:500 29px/1.1 var(--display)}
.jb-in-menu{font:600 13px/1.4 var(--text);text-align:right}
.jb-detail-note{font:400 11px/1.5 var(--mono);color:#78674d;margin:20px 0}
.jb-detail-controls{display:flex;justify-content:space-between;gap:8px}
.jb-detail-controls button{min-height:44px;background:#ede0c5;border:1px solid #b5a17b;border-radius:2px;padding:8px 12px;color:#30261a;font:700 12px/1.3 var(--mono)}
.jb-detail-controls button:disabled{opacity:.4}
.jb-detail-controls button:not(:disabled):hover{background:#decba5}
@media(max-width:1199px){
  .scene{min-height:0;padding:30px 0 10px;display:flex;flex-direction:column;align-items:center}
  .obj{position:relative;left:auto;top:auto;width:var(--wm,100%);max-width:100%;transform:rotate(var(--rm,0deg));margin:0 0 28px}
  .wall-sign{position:relative;right:auto;top:auto;order:-1;margin-bottom:10px}
  .hide-m{display:none!important}
  .hero>.wall-sign{position:absolute;top:20px;right:-10px;opacity:.055;order:0;z-index:0;margin:0}
  .hero>.wall-sign b{font-size:220px}
  .hero>.obj:first-of-type{z-index:3}
  .jukebox{max-width:380px;margin-inline:auto}
  .hero::before{width:100%;left:0}
}
@media(max-width:600px){
  .jb-detail.has-photo[open]{grid-template-columns:1fr}
  .jb-photo{height:220px;min-height:0}
  .jb-ticket{padding:26px 22px 20px}
  .jb-code-form input{font-size:16px}
  .jb-code-form input::placeholder{font-size:11px}
  .jb-keys{height:5.2%;top:80.8%}
  .jb-keys button{min-height:38px}
  .jb-feedback{font-size:3cqw}
  .jb-window{top:16.2%;height:11.8%}
  .jb-panel .strip .name{font-size:max(12px,3.05cqw)}
  .jb-panel .strip .price{font-size:max(10px,2.9cqw)}
  .strip.big{grid-template-columns:34px minmax(0,1fr);column-gap:10px}
  .strip.big .code{grid-column:1;grid-row:1;align-self:start}
  .strip.big .name{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
  .strip.big .price{grid-column:2;grid-row:2;margin-top:9px;white-space:normal}
}
@media(max-width:900px){
  .menu-nav{display:block;left:auto;right:auto;padding:10px 0}
  .menu-nav .row{flex-wrap:nowrap;overflow-x:auto;padding:0 var(--gut) 5px;width:100%}
  .menu-nav a:not(.btn){flex:none;padding:8px 12px 8px 8px;border-bottom:0;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.is-selecting .jb-window{animation:none}.jukebox *, .stand{transition:none}}
