/* Functional compass: the needle moves independently of the brass body. */
.choice-wheel{padding:0;border:0;background:transparent url('./assets/compass.png') center/contain no-repeat;box-shadow:none;width:90%;height:90%}.wheel-face{background:none!important;box-shadow:none;overflow:visible}.wheel-pointer,.wheel-hub{display:none}.wheel-face:before{content:'';position:absolute;width:12%;height:56%;left:44%;top:22%;background:linear-gradient(to bottom,#8b4937 0 50%,#7b8278 50%);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);filter:drop-shadow(1px 3px 2px #0005)}.wheel-face:after{content:'';position:absolute;width:8%;height:8%;left:46%;top:46%;border-radius:50%;background:radial-gradient(circle at 30% 30%,#efe5bd,#a28952);box-shadow:0 1px 3px #0005}.wheel-option{display:none}.wheel-preview{position:relative}.wheel-legend{list-style:none;margin:0;padding:0;display:flex;gap:7px 14px;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.8}.wheel-preview .choice-wheel{width:100%;height:100%}.wheel-workbench{gap:80px}.tool-intro{margin:45px 0}.collectible--wheel{background:none}
.compass-caption{display:none;position:absolute;transform:translate(-50%,-50%);font-size:11px;background:var(--paper);padding:3px 6px;border-radius:3px;max-width:95px;line-height:1.4;z-index:2;text-align:center}.wheel-preview .compass-caption{display:block}.wheel-preview{margin:25px auto}.wheel-preview .choice-wheel{width:90%;height:90%}
.wheel-preview{width:100%;aspect-ratio:1}.compass-caption{width:max-content;max-width:90px}.wheel-preview .choice-wheel{height:auto;aspect-ratio:1}.wheel-preview .wheel-face{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:650px){.wheel-preview{width:min(270px,100%)}}
:root{--paper:#f8f7f4;--ink:#343832;--muted:#90928a}body{background:var(--paper)}.site-header{height:90px;padding:24px 5%}.wordmark{font-size:32px}.header-context{font-size:10px;letter-spacing:.17em}.personal-intro{padding:34px 24px 22px;text-align:center}.personal-intro .eyebrow{font-size:9px;letter-spacing:.2em}.personal-intro h1{font-size:21px;font-weight:400;margin:12px 0}.personal-intro h1 span{font-size:32px}.personal-intro>p:last-child{font-size:12px;color:var(--muted);margin-top:8px}.category-nav{height:62px;background:none;position:relative;z-index:20;gap:30px}.category-nav button{font-size:12px}.gallery-shell{position:relative;height:440px;isolation:isolate}.collection-stage{height:300px;overflow:visible;clip-path:inset(-10px 0 -200px)}.collection-slot{top:45%;cursor:grab}.collection-slot.is-selected{touch-action:none}.collection-slot:not(.is-selected){filter:saturate(.55)}.object-caption{display:none}.collectible{filter:drop-shadow(0 18px 15px #35352914)}.selection-info{min-height:100px;padding:13px 20px 18px;background:none}.selection-label{font-size:9px;letter-spacing:.2em}.selection-title{font-size:23px;margin:8px 0}.selection-description{font-size:12px}.home-footer{padding:14px 5%}.site-note{border:0;padding:24px 5%;font-size:9px}.explore-hint{font-size:10px}.stage-receiver{position:absolute;top:286px;left:50%;width:300px;transform:translateX(-50%);height:85px;z-index:15;pointer-events:none}.interaction-hint{position:absolute;top:393px;left:15px;right:15px;text-align:center;font-size:11px;letter-spacing:.03em;color:var(--muted);transition:color .3s}.is-handling .interaction-hint{color:#627b61}.gallery-shell[data-object=stories] .stage-receiver,.gallery-shell[data-object=wheel] .stage-receiver{display:none}.gallery-shell[data-object=stories] .collection-stage,.gallery-shell[data-object=wheel] .collection-stage{height:380px}.gallery-shell.is-handling .collection-slot:not(.is-selected){opacity:.1!important;transition:opacity .5s}.collectible--ticket,.collectible--disc,.collectible--notebook{background:none!important;position:relative;display:flex;align-items:center;justify-content:center;overflow:visible;transform:none;transition:none}.ticket-paper{width:92%;height:47%;background:linear-gradient(115deg,#f5f1e5,#e8e5d9);color:#4b5549;box-shadow:0 1px 1px #fff inset,0 2px 2px #5a5b3925,0 10px 20px #42432b10;border-radius:5px;transform:rotate(-5deg);padding:15px 19px;text-align:left;position:relative;border-right:2px dashed #babbac}.ticket-airline{font:9px monospace;letter-spacing:.1em;border-bottom:1px solid #c9ccbd;padding-bottom:9px}.ticket-airline span{float:right;font-size:7px}.ticket-route{font:24px Georgia,serif;letter-spacing:.05em;margin:10px 0}.ticket-route>span{font-size:18px;color:#8e9b83;margin:0 12px}.ticket-fields{display:flex;gap:27px;font:6px monospace;color:#878d7e}.ticket-fields b{display:block;font-size:9px;margin-top:4px;color:#485441}.ticket-barcode{height:17px;width:78%;margin-top:12px;background:repeating-linear-gradient(90deg,#4e5649 0 1px,transparent 1px 3px,#4e5649 3px 5px,transparent 5px 6px,#4e5649 6px 7px,transparent 7px 10px)}.ticket-paper>small{position:absolute;bottom:13px;right:6px;writing-mode:vertical-rl;font:5px monospace}.silver-disc{width:68%;height:68%;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 2px,#ffffff19 2px 3px),conic-gradient(from 35deg,#c4c9c5,#f1eff0,#b9c8d0,#d0c7db,#edf0d9,#b7bebc,#e2e5e0,#c4c9c5);box-shadow:inset 0 0 0 2px #c8ccc4,inset 0 0 0 6px #ffffff66,0 14px 15px #33372d14;position:relative}.silver-disc:after{content:'';position:absolute;inset:41%;border-radius:50%;background:var(--paper);border:7px solid #c3c9c888;box-shadow:0 0 0 1px #a3aba766}.silver-disc>span{position:absolute;top:23%;left:0;right:0;font:8px monospace;letter-spacing:.07em;color:#666c63}.silver-disc>small{position:absolute;bottom:22%;left:0;right:0;font:5px monospace;color:#767c73}.reader-machine{height:100%;border-radius:6px 6px 9px 9px;background:linear-gradient(#e2dfd1,#c4c3b5 20%,#d6d5c7 23%,#bbbcae 100%);box-shadow:inset 0 2px 2px #fff9,inset 1px 0 2px #fff9,inset -2px -2px 3px #73796b88,0 12px 15px #353b2916;border:1px solid #aeb09e;padding:9px 12px;position:relative}.reader-vents{height:8px;margin:0 7px 7px;background:repeating-linear-gradient(100deg,#676e6022 0 2px,transparent 2px 5px);transform:skewX(-12deg)}.reader-slot{height:5px;background:#30372e;border-radius:3px;border-bottom:1px solid #f5f3e2;box-shadow:inset 0 2px 2px #111;position:relative;z-index:3}.reader-face{position:relative;height:43px;display:flex;align-items:center;gap:9px}.reader-name{position:absolute;bottom:0;left:0;font:5px monospace;letter-spacing:.09em;color:#6b7163}.reader-display{margin:auto;background:#292f27;color:#a1b19a;border:3px solid #afb4a1;box-shadow:inset 0 0 6px #0006;font:9px monospace;letter-spacing:.1em;padding:6px 13px;min-width:140px;text-align:center;transition:color .3s}.reader-led{width:4px;height:4px;background:#818770;border-radius:50%;box-shadow:inset 0 1px 2px #454c3a}.reader-eject{font-size:10px;color:#767d6e}.is-near .reader-led,.is-reading .reader-led{background:#a0cf87;box-shadow:0 0 7px #8cb278}.is-near .reader-display{color:#c4e4ad}.is-reading .reader-display{color:#d4e6ad}.ingestion{overflow:hidden;z-index:2;pointer-events:none}.ingestion .collectible{filter:none}.gallery-shell[data-object=cinema] .reader-machine{background:linear-gradient(#dadcd7,#bcc0b8);border-color:#a7afa3}.gallery-shell[data-object=cinema] .reader-display{font-size:8px;background:#353c33}.diary-front{position:absolute;inset:0;background:url('./assets/fred-diary.png') center/contain no-repeat;transform-origin:24% 50%;backface-visibility:hidden;transition:transform 1.1s cubic-bezier(.22,.75,.2,1)}.diary-leaves{position:absolute;inset:10% 23%;background:#eee8d8;box-shadow:3px 3px #d2cbb8,5px 5px #64705a;padding:25px 16px;text-align:left;border-radius:2px;opacity:0;transition:opacity .2s}.diary-leaves>span,.diary-leaves>small{font:6px monospace;letter-spacing:.1em;color:#939581}.diary-leaves p{font:16px/2.2 Georgia,serif;margin:32px 0}.diary-leaves:before{content:'';position:absolute;top:0;right:100%;width:100%;height:100%;background:linear-gradient(90deg,#f2eddf 80%,#ddd8c8);box-shadow:-3px 3px #d2cbb8;border-radius:3px 0 0 3px;transform-origin:right;transform:rotateY(90deg);transition:transform 1.1s}.collectible--notebook{perspective:1200px}.journal-unfolding .diary-front{transform:rotateY(-165deg)}.journal-unfolding .diary-leaves{opacity:1}.journal-unfolding .diary-leaves:before{transform:rotateY(0)}.detail-view[data-module=stories]{max-width:1000px}.detail-view[data-module=stories] .detail-intro{background:linear-gradient(90deg,#f0ecdf 49.5%,#dcd6c5 50%,#f6f2e7 50.5%);padding:45px;margin-top:35px;box-shadow:0 6px 0 #ded8c7,0 20px 40px #383b2410;min-height:350px}.detail-view[data-module=stories] .detail-cover{display:none}.detail-view[data-module=stories] .detail-copy{margin-left:53%;width:47%}.hub-entrance{position:fixed;inset:0;z-index:150;background:var(--paper);display:grid;place-content:center;text-align:center;pointer-events:none}.hub-entrance strong{font-size:54px;font-weight:500;letter-spacing:-.06em}.hub-entrance strong span{color:var(--accent)}.hub-entrance small{margin-top:18px;letter-spacing:.2em;font-size:10px}
@media(max-width:650px){.site-header{height:74px;padding:20px}.header-context{font-size:8px}.personal-intro{padding:24px 20px 16px}.personal-intro h1{font-size:19px}.personal-intro h1 span{font-size:29px}.personal-intro .eyebrow{font-size:8px}.category-nav{height:57px;gap:23px}.gallery-shell{height:400px}.collection-stage{height:270px}.stage-receiver{top:260px;width:260px;height:80px}.interaction-hint{top:362px;font-size:10px}.gallery-shell[data-object=stories] .collection-stage,.gallery-shell[data-object=wheel] .collection-stage{height:350px}.ticket-paper{padding:12px 14px}.ticket-route{font-size:21px;margin:8px 0}.ticket-airline{font-size:7px;padding-bottom:6px}.ticket-airline span{font-size:5px}.ticket-fields{gap:22px}.ticket-barcode{margin-top:7px;height:13px}.selection-title{font-size:21px}.site-note{padding:24px 20px}.home-footer{padding:14px 20px}.explore-hint{font-size:8px}.detail-view[data-module=stories] .detail-intro{padding:25px 15px;min-height:280px}.detail-view[data-module=stories] .detail-copy{margin-left:40%;width:60%}.diary-leaves p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.diary-front,.diary-leaves,.diary-leaves:before{transition:none}.hub-entrance{display:none}}
.ticket-route{white-space:nowrap;font-size:21px;letter-spacing:0;line-height:1}.ticket-route>span{margin:0 7px;font-size:14px}.ticket-paper{padding:12px 15px}.ticket-airline{padding-bottom:7px;font-size:7px}.ticket-airline span{font-size:6px}.ticket-fields{gap:24px}.ticket-barcode{margin-top:8px;height:13px}.ingestion{z-index:25}.selection-info{position:relative}.collection-slot .collectible--ticket{--tilt-x:0;--tilt-y:0}
.detail-view[data-module=stories]{margin-inline:auto}.detail-view[data-module=stories] .detail-intro{display:block;width:100%;box-sizing:border-box}.detail-view[data-module=stories] .detail-copy{box-sizing:border-box;margin-left:54%;width:46%;padding:10px 12px}.detail-view[data-module=stories] .detail-copy h1{font-size:32px;line-height:1.5}.detail-view[data-module=stories] .detail-intro:before{content:'THE EVERYDAY ARCHIVE\A\A\A\A\A\A\A\A FRED’S HUB';white-space:pre;position:absolute;left:8%;top:55px;font:9px/1.8 monospace;letter-spacing:.12em;color:#a09f8b}.detail-view[data-module=stories] .detail-intro{position:relative}
@media(max-width:650px){.detail-view[data-module=stories] .detail-copy{margin-left:51%;width:49%;padding:10px 4px}.detail-view[data-module=stories] .detail-copy h1{font-size:22px}.detail-view[data-module=stories] .detail-copy>p{font-size:11px}.detail-view[data-module=stories] .detail-intro:before{font-size:6px;left:5%}}
/* v0.11 — one object, one name, one collection menu. */
.site-header{position:relative;height:110px;padding:30px 5%;z-index:60}.site-header>span{min-width:44px}.wordmark{font-size:34px}.home-view{padding-top:clamp(10px,5svh,65px);min-height:calc(100svh - 110px)}.gallery-shell{height:470px;max-width:1600px;margin:auto}.collection-stage{height:330px}.stage-receiver{top:320px}.selection-info{min-height:0;padding:10px 20px 55px}.selection-title{font-size:15px;font-weight:400;letter-spacing:.08em;color:#73776c;margin:0}.interaction-hint.sr-only{position:absolute;top:auto;left:auto;right:auto;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.module-menu-toggle{width:44px;height:44px;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;justify-self:end}.module-menu-toggle>span{display:block;width:20px;height:1px;background:var(--ink);transition:transform .25s}.module-menu-toggle[aria-expanded=true]>span:first-child{transform:translateY(3.5px) rotate(45deg)}.module-menu-toggle[aria-expanded=true]>span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.module-menu{position:absolute;right:5%;top:90px;width:360px;max-width:calc(100vw - 32px);max-height:calc(100svh - 115px);overflow:auto;background:#f6f5f0f5;backdrop-filter:blur(20px);border:1px solid #e8e7df;box-shadow:0 18px 60px #363a2910;border-radius:10px;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.module-menu[hidden]{display:none}.module-thumbnail{padding:8px 8px 15px;border-radius:6px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;color:#73776c;transition:background .2s,color .2s}.module-thumbnail:hover,.module-thumbnail:focus-visible{background:#eeede5;color:#31372d}.module-thumbnail-image{display:block;width:130px;height:130px;pointer-events:none}.module-thumbnail-image .collectible{width:100%;height:100%;filter:drop-shadow(0 5px 5px #3332)}.module-thumbnail-image .ticket-paper{font-size:3px;padding:6px}.module-thumbnail-image .ticket-airline{font-size:4px;padding-bottom:3px}.module-thumbnail-image .ticket-airline span,.module-thumbnail-image .ticket-fields,.module-thumbnail-image .ticket-paper>small{display:none}.module-thumbnail-image .ticket-route{font-size:12px;margin:6px 0}.module-thumbnail-image .ticket-route span{font-size:8px;margin:0 3px}.module-thumbnail-image .ticket-barcode{height:8px;margin-top:4px}.module-thumbnail-image .silver-disc>span{font-size:4px}.module-thumbnail-image .silver-disc>small{font-size:3px}
/* A top-down external optical drive. The bottom edge is the occlusion plane. */
.gallery-shell[data-object=cinema]{height:510px}.gallery-shell[data-object=cinema] .collection-stage{height:450px}.gallery-shell[data-object=cinema] .collection-slot.is-selected{top:73%}.gallery-shell .stage-receiver[data-module=cinema]{top:35px;width:280px;height:210px}.optical-drive{position:relative;width:100%;height:100%}.drive-casing{position:absolute;inset:0;border-radius:8px 8px 4px 4px;background:repeating-linear-gradient(90deg,#ffffff03 0 1px,transparent 1px 3px),linear-gradient(120deg,#4b4e49,#2f332f 46%,#424640);box-shadow:inset 0 1px 2px #a4a79c,inset 0 -3px 1px #181e18,inset 2px 0 2px #777b6d,0 5px 0 #21271f,0 16px 25px #2b32271c;z-index:3}.drive-casing:after{content:'';position:absolute;inset:10px;border:1px solid #ffffff07;border-radius:3px}.drive-light{position:absolute;bottom:14px;right:17px;width:9px;height:3px;background:#91a97a;border-radius:3px;box-shadow:0 0 4px #8fc57055;transition:box-shadow .2s,background .2s}.drive-tray{position:absolute;width:89%;height:145px;top:92%;left:5.5%;background:radial-gradient(circle at 50% 0,#434a40 0 60%,#30372d 61%);border:2px solid #4c5447;border-bottom:6px solid #30372d;border-radius:0 0 5px 5px;box-shadow:0 10px 15px #26312318;z-index:1;transition:transform 2.1s cubic-bezier(.22,.75,.2,1);transform-origin:top}.drive-cable{position:absolute;width:80px;height:95px;right:95%;top:-40px;border:5px solid #555c50;border-right:0;border-bottom:0;border-radius:40px 0 0 0;rotate:10deg;filter:drop-shadow(2px 3px 2px #0001);z-index:-1}.optical-drive .reader-slot{position:absolute;top:100%;left:3%;width:94%;height:3px;background:#141a12;border:0;z-index:4;box-shadow:none}.is-near .drive-light,.is-reading .drive-light{background:#b5e99b;box-shadow:0 0 12px 3px #92c87588}.is-reading .drive-tray{transform:scaleY(.02)}.gallery-shell[data-object=cinema] .collection-slot.is-selected{z-index:16!important}.ingestion{z-index:25}
/* The scanning light is legible without explanatory text. */
.reader-led{width:8px;height:8px;background:#79906a;transition:background .2s,box-shadow .2s}.scanner-glow{position:absolute;left:7%;right:7%;top:23px;height:6px;border-radius:50%;background:#8be780;opacity:0;filter:blur(5px);transition:opacity .2s}.is-near .scanner-glow,.is-reading .scanner-glow{opacity:.95;box-shadow:0 0 22px 6px #7dc96b77}.is-near .reader-led,.is-reading .reader-led{background:#c9ffae;box-shadow:0 0 12px 4px #8bc06e88}.is-near .reader-machine .reader-slot,.is-reading .reader-machine .reader-slot{background:#7faf69;box-shadow:0 0 9px #8fd66e99}.is-reading .reader-display{color:#c8f9ae;font-size:13px}.reader-display{font-size:8px;letter-spacing:.18em}
@media(max-width:650px){.site-header{height:90px;padding:23px 22px}.home-view{min-height:calc(100svh - 90px);padding-top:20px}.module-menu{right:16px;top:76px;width:320px}.module-thumbnail-image{width:115px;height:115px}.gallery-shell{height:425px}.collection-stage{height:300px}.stage-receiver{top:288px;width:250px}.selection-info{padding-bottom:30px}.selection-title{font-size:13px}.gallery-shell[data-object=cinema]{height:450px}.gallery-shell[data-object=cinema] .collection-stage{height:390px}.gallery-shell .stage-receiver[data-module=cinema]{width:220px;height:176px;top:30px}.drive-tray{height:115px}.drive-cable{width:50px;height:70px;top:-25px}.gallery-shell[data-object=cinema] .collection-slot.is-selected{top:74%}.drive-casing{border-radius:6px}.scanner-glow{top:23px}}
@media(prefers-reduced-motion:reduce){.drive-tray,.module-menu-toggle>span{transition:none}}
.gallery-shell{width:100%}.collection-stage{width:100%}.module-menu{scrollbar-width:thin}.module-thumbnail{min-height:0}.module-thumbnail-image{flex:none}
.gallery-shell[data-object=cinema] .collection-stage{z-index:16}.gallery-shell[data-object=cinema] .collection-slot.is-selected{top:75%}.drive-tray{height:180px}
@media(max-width:650px){.gallery-shell[data-object=cinema] .collection-slot.is-selected{top:78%}.drive-tray{height:165px}}
.drive-cable{left:25px;right:auto;top:-65px;width:60px;height:65px;border:5px solid #555c50;border-left:0;border-bottom:0;border-radius:0 30px 0 0;rotate:0deg}
@media(max-width:650px){.drive-cable{left:20px;top:-40px;width:40px;height:40px}}
/* v0.12: a stable stage, compact slot drive, and a genuine left-to-right swipe. */
.gallery-shell,.gallery-shell[data-object=cinema]{height:480px}.collection-stage,.gallery-shell[data-object=cinema] .collection-stage,.gallery-shell[data-object=stories] .collection-stage,.gallery-shell[data-object=wheel] .collection-stage{height:420px;z-index:16}.collection-slot{transition:opacity .18s}.gallery-shell[data-object=travel] .collection-slot.is-selected .collectible--ticket{translate:clamp(-85px,-18vw,-55px) 0}.receiver-outgoing{position:absolute;pointer-events:none;z-index:14}.gallery-shell .stage-receiver[data-module=travel]{top:244px;left:calc(50% + 60px);width:190px;height:60px;z-index:15}.swipe-reader{height:100%;width:100%;border-radius:7px;background:linear-gradient(140deg,#dadcd3,#bdc3b6);border:1px solid #a7b09e;box-shadow:inset 0 1px 1px #fff,0 3px 0 #929e88,0 13px 20px #32422b15;position:relative}.swipe-channel{position:absolute;left:8%;right:8%;height:6px;top:22px;border-radius:3px;background:#444e3d;box-shadow:inset 0 2px 3px #20251d,0 1px #edf0e5}.swipe-light{position:absolute;top:8px;left:12px;right:12px;height:4px;border-radius:5px;background:#84927a;transition:background .12s,box-shadow .12s}.swipe-mark{position:absolute;bottom:5px;right:12px;font-size:14px;line-height:1;color:#68755d}.is-near .swipe-light{background:#c8deb0;box-shadow:0 0 8px #bad99788}.is-reading .swipe-light{background:#c8ff9b;box-shadow:0 0 12px 4px #a3ec6da0}.is-failed .swipe-light{background:#ff796b;box-shadow:0 0 14px 4px #ee62518c}.is-failed .swipe-channel{background:#75433b}.gallery-shell .stage-receiver[data-module=cinema]{width:225px;height:153px;top:54px}.drive-casing{border-radius:9px 9px 5px 5px;background:repeating-linear-gradient(90deg,#ffffff0b 0 1px,transparent 1px 4px),linear-gradient(130deg,#e0e2dd,#bfc6bd 45%,#d4d8d0);box-shadow:inset 0 1px 1px #fff,inset 0 -2px 2px #879482,inset 1px 0 #ecf0e6,0 4px 0 #8c9886,0 14px 20px #3b483419}.drive-casing:after{inset:7px;border-color:#ffffff21}.drive-light{width:12px;height:2px;bottom:12px;right:14px;background:#8ca27c}.optical-drive .reader-slot{top:100%;left:7%;width:86%;background:#505c47;height:3px}.drive-cable,.drive-tray{display:none}
@media(max-width:650px){.gallery-shell,.gallery-shell[data-object=cinema]{height:450px}.collection-stage,.gallery-shell[data-object=cinema] .collection-stage,.gallery-shell[data-object=stories] .collection-stage,.gallery-shell[data-object=wheel] .collection-stage{height:390px}.gallery-shell .stage-receiver[data-module=travel]{top:223px;left:calc(50% + 40px);width:160px;height:58px}.gallery-shell .stage-receiver[data-module=cinema]{width:200px;height:137px;top:54px}}
.collection-stage .collectible--ticket{translate:clamp(-85px,-18vw,-55px) 0}
.collectible--disc .silver-disc{width:min(68%,190px);height:auto;aspect-ratio:1}
@media(max-width:650px){.gallery-shell .stage-receiver[data-module=cinema]{width:210px}}
/* v0.13: objects physically enter behind the front lip, never float over it. */
:root{--paper:#f8f5f2;--ink:#363931;--muted:#929287}
.gallery-shell .stage-receiver{z-index:22!important;pointer-events:none}.collection-stage{z-index:16!important}.collection-stage .collectible--ticket,.gallery-shell[data-object=travel] .collection-slot.is-selected .collectible--ticket{translate:none}.ticket-paper{transform:rotate(calc(-3deg * (1 - var(--seated,0))));transition:transform .16s;background:linear-gradient(115deg,#f6f2e7,#e9e6da);border-right-color:#b8bdb0}.ticket-route{font-family:monospace;font-size:20px;letter-spacing:.08em}.ticket-airline{color:#647376}.ticket-fields{color:#8e978c}.gallery-shell .stage-receiver[data-module=travel]{left:50%;top:300px;width:310px;height:100px}.gate-reader{position:relative;width:100%;height:100%;filter:drop-shadow(0 13px 12px #3e42241b)}.gate-back{position:absolute;inset:-9px 5px 0;border-radius:10px;background:linear-gradient(#dedbc2,#bcb9a0)}.gate-slot{position:absolute;top:0;left:3%;right:3%;height:4px;background:#555643;border-radius:50%;box-shadow:0 -2px 3px #30372355;z-index:2}.gate-front{position:absolute;inset:3px 0 0;background:repeating-linear-gradient(25deg,transparent 0 5px,#fefce709 5px 6px),linear-gradient(130deg,#dfdac1,#bfbda8);border:1px solid #b3b098;border-radius:5px 5px 8px 8px;box-shadow:inset 0 2px 2px #fff9,inset -2px -2px 3px #797e6766;z-index:3}.gate-front:before{content:'';position:absolute;top:23px;left:10px;right:10px;height:16px;border:1px solid #8a907255;box-shadow:0 1px #fff5}.gate-vents{position:absolute;top:5px;left:12px;right:12px;height:9px;background:repeating-linear-gradient(105deg,#6e705d88 0 2px,transparent 2px 6px);opacity:.65}.gate-display{position:absolute;bottom:11px;left:27%;width:47%;height:35px;background:#252a21;border:4px solid #858b75;box-shadow:inset 0 0 9px #000b,0 1px #fff7;font:11px/27px monospace;text-align:center;letter-spacing:.16em;color:#9caa89;text-shadow:0 0 4px currentColor}.gate-light{position:absolute;bottom:24px;right:17px;width:9px;height:9px;border-radius:50%;background:#85896f;border:2px solid #5c654d;transition:background .1s,box-shadow .1s}.stage-receiver[data-state=reading] .gate-light{background:#ffdc67;box-shadow:0 0 16px 7px #ffd45f80}.stage-receiver[data-state=reading] .gate-display{color:#f1ce62}.stage-receiver[data-state=error] .gate-display{color:#ff7966}.stage-receiver[data-state=error] .gate-light{background:#ff8d76;box-shadow:0 0 17px 7px #ec775080}.stage-receiver[data-state=success] .gate-display{color:#bef192}.stage-receiver[data-state=success] .gate-light{background:#c7ffa5;box-shadow:0 0 17px 7px #a0d77b88}.gallery-shell .stage-receiver[data-module=cinema]{height:199px;top:34px;width:225px}.stage-receiver[data-state=reading] .drive-light,.stage-receiver[data-state=success] .drive-light{background:#c4e4a0;box-shadow:0 0 9px 3px #aac78388}.drive-casing{background:repeating-linear-gradient(90deg,#ffffff0a 0 1px,transparent 1px 4px),linear-gradient(130deg,#deded4,#c1c7b9 45%,#d7dbcf)}.fred-curtain{position:fixed;inset:0;z-index:140;background:var(--paper);display:grid;place-items:center;pointer-events:none}.fred-curtain strong{font:500 40px/1 Arial,sans-serif;letter-spacing:-.07em}.fred-curtain span{color:var(--accent)}.receiver-outgoing{z-index:21}
@media(max-width:650px){.gallery-shell .stage-receiver[data-module=travel]{left:50%;top:280px;width:270px;height:88px}.gate-display{height:31px;line-height:23px;font-size:9px;bottom:8px}.gate-light{bottom:20px}.gate-front:before{height:12px;top:20px}.gallery-shell .stage-receiver[data-module=cinema]{top:26px;width:210px;height:188px}.fred-curtain strong{font-size:32px}}
.ticket-paper .ticket-barcode{position:absolute;bottom:12px;left:15px;right:22px;width:auto;height:15px;margin:0}.module-thumbnail-image .ticket-paper .ticket-barcode{left:6px;right:9px;bottom:6px;height:7px}.ticket-paper .ticket-fields{margin-top:15px}.module-thumbnail-image .ticket-paper .ticket-fields{margin-top:0}.gate-front:after{content:'';position:absolute;right:0;bottom:0;width:70px;height:60px;background:radial-gradient(ellipse at 70% 50%,var(--lamp-glow,transparent),transparent 72%);pointer-events:none}.stage-receiver[data-state=reading]{--lamp-glow:#ffd14b80}.stage-receiver[data-state=error]{--lamp-glow:#ff735970}.stage-receiver[data-state=success]{--lamp-glow:#b2ef7f88}

/* v0.14: physical scenes travel together; no independent fade clocks. */
.gallery-shell .stage-receiver[data-module]{display:block;transition:none;transform-origin:50% 50%}
.collection-stage .collection-slot{transition:none}
.gallery-shell{overflow-x:clip}
.collection-stage .ticket-paper,.collection-stage .silver-disc{pointer-events:auto}
/* Dark module pages (catalog theme:'dark'): only the shared chrome is re-coloured here; the module styles its own content. */
[data-theme=dark] body{background:#100e0c;color:#ece4d6}
[data-theme=dark] .wordmark,[data-theme=dark] .back-link{color:#ece4d6}
[data-theme=dark] .module-menu-toggle>span{background:#ece4d6}
[data-theme=dark] .skip-link:focus{background:#100e0c;color:#ece4d6}
.detail-view[data-module=cinema]{padding:0;display:flex;flex-direction:column}
.detail-view[data-module=cinema] .detail-toolbar{margin:0;padding:0 5%}
/* Cinema keeps only a hand-drawn arrow; the link text stays for screen readers. */
.detail-view[data-module=cinema] .back-link{font-size:0;width:44px;justify-content:center;opacity:.8;transition:opacity .2s,transform .3s}
.detail-view[data-module=cinema] .back-link:hover{opacity:1;transform:translateX(-3px)}
.detail-view[data-module=cinema] .back-link:before{content:'';width:26px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24.2 8.4c-6.6-.5-13.4-.3-20.4.1'/%3E%3Cpath d='M9.4 2.6C7.3 4.5 5.4 6.3 3.4 8.6c2 1.8 4 3.5 6.2 5.2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24.2 8.4c-6.6-.5-13.4-.3-20.4.1'/%3E%3Cpath d='M9.4 2.6C7.3 4.5 5.4 6.3 3.4 8.6c2 1.8 4 3.5 6.2 5.2'/%3E%3C/svg%3E") center/contain no-repeat}
/* On dark pages the keyboard focus ring is a faint gold hairline instead of the red outline. */
[data-theme=dark] a:focus-visible,[data-theme=dark] button:focus-visible{outline:1px solid #d2a05273;outline-offset:6px;border-radius:6px}
/* Pointer and touch users never see focus rings; keyboard users still do (see main.js). */
[data-input=pointer] :focus-visible{outline:none!important}
