*{box-sizing:border-box}body{margin:0;background:#151619;color:#eee;font:16px 'Microsoft JhengHei',sans-serif}header,main{padding:24px 5%}header{border-bottom:1px solid #534735}h1{color:#e1c28e;font-size:25px}button,input,select{font:inherit;padding:9px 14px;border:1px solid #66583f;border-radius:5px;background:#252629;color:#eee}button{cursor:pointer}button:hover{background:#55462f}nav{display:flex;gap:8px;flex-wrap:wrap}.stats{display:flex;gap:35px;flex-wrap:wrap;margin:20px 0;color:#e1c28e}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:12px;border-bottom:1px solid #393939}td:nth-child(2),td:nth-child(3){text-align:right}tr.sold td:not(:last-child){text-decoration:line-through;color:#888}.room{padding:35px 4% 80px;background:radial-gradient(ellipse at 50% 0,#4b4439,#171719 70%);perspective:1200px;position:relative;overflow:hidden}.room:after{content:'';position:absolute;bottom:0;left:0;right:0;height:65px;background:repeating-linear-gradient(100deg,#302922 0 80px,#201b17 81px 83px);transform:perspective(180px) rotateX(25deg);pointer-events:none}.cabinets{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.cabinet{border:12px solid #222;box-shadow:12px 12px 20px #0009,inset 0 0 20px #000;background:linear-gradient(100deg,#171717,#36332d 45%,#181818);position:relative}.cabinet:after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,#fff08 21%,transparent 35%);pointer-events:none}.shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;min-height:170px;padding:12px 6px 8px;border-top:3px solid #ffe0a1;border-bottom:9px solid #687477;box-shadow:inset 0 12px 24px -12px #ffdb91}.figure{cursor:pointer;text-align:center;min-width:0;font-size:12px;align-self:end}.figure img,.placeholder{width:100%;height:115px;object-fit:contain}.placeholder{display:grid;place-items:center;color:#9c9280;font-size:32px;background:radial-gradient(ellipse at bottom,#64543b44,transparent 70%)}.figure span{display:block;overflow-wrap:anywhere}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:20px}.gallery .figure{background:#252629;padding:12px}.gallery .figure img,.gallery .placeholder{height:160px}dialog{background:#222;color:#eee;border:1px solid #9b8052;border-radius:10px;width:min(460px,95%)}dialog label{display:block;margin:12px 0}dialog input,dialog select{width:100%}dialog::backdrop{background:#0009}#notice{color:#e1c28e}small{color:#aaa}.thumb{width:54px;height:64px;object-fit:contain;background:#292929;border-radius:5px}.sort{border:0;background:transparent;padding:4px;color:#e1c28e}td:nth-child(2),td:nth-child(3){text-align:left}dialog{max-height:90vh;overflow:auto}dialog label[hidden]{display:none}
.toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.toolbar label{display:flex;align-items:center;gap:6px}.toolbar input[type=color]{width:45px;padding:3px;height:36px}.toolbar input[type=range]{width:95px}.room{padding:45px 5% 100px;min-height:400px;overflow:auto;touch-action:none}.cabinets{transform-style:preserve-3d;transition:transform .12s;position:relative;z-index:1}.cabinet{transform-style:preserve-3d;transition:box-shadow .5s}.cabinet:after{display:none}.shelf{border-top-color:color-mix(in srgb,var(--led) calc(var(--brightness)*100%),#171717);box-shadow:inset 0 18px 30px -18px color-mix(in srgb,var(--led) calc(var(--brightness)*100%),transparent)}.door{position:absolute;inset:0;border:2px solid #a7b8b966;background:linear-gradient(115deg,transparent 15%,#ffffff14 16%,#ffffff04 32%,transparent 33%);transform-origin:left;transition:transform .75s;pointer-events:none;z-index:2}.door.open{transform:rotateY(-105deg)}.handle{position:absolute;right:2px;top:44%;width:10px;height:55px;padding:0;background:#b4a17b;pointer-events:auto}.figure{transition:filter .2s,transform .2s}.figure:hover{transform:translateY(-4px);filter:brightness(1.15)}.emptySlot{display:grid;place-items:center;color:#666;min-height:100px;border:1px dashed #555}.room[data-material=wood] .cabinet{border-color:#65452e;background:#38271e}.room[data-material=white] .cabinet{border-color:#ddd;background:#777}.room[data-material=metal] .cabinet{border-color:#77818a;background:#333c42}.room[data-floor=stone]:after{background:linear-gradient(120deg,#666,#222,#888)}.room[data-floor=tile]:after{background:repeating-conic-gradient(#444 0 25%,#242424 0 50%) 0/60px 60px}.focuscab{box-shadow:0 0 30px #e1c28e}.spot{background:radial-gradient(ellipse at top,#c8aa6755,#111 70%);padding:20px;text-align:center}.spot img{max-width:100%;max-height:65vh;object-fit:contain;filter:drop-shadow(0 12px 12px #000)}#inspectDlg{width:min(760px,95%)}#displayArea:fullscreen{background:#151619;padding:20px;overflow:auto}

#inspectDlg{position:fixed;padding-top:42px}.inspectClose{position:absolute;right:10px;top:8px;font-size:24px;line-height:1;padding:5px 10px;z-index:3}
@property --pulse {syntax:'<number>';inherits:true;initial-value:1}
@property --hue {syntax:'<angle>';inherits:true;initial-value:0deg}
.room[data-effect=breathe]{animation:breath 3s ease-in-out infinite;--effective:calc(var(--brightness)*var(--pulse))}
.room[data-effect=rgb]{animation:rgbcycle 8s linear infinite;--active-led:hsl(var(--hue) 100% 65%)}
.shelf{border-top-color:color-mix(in srgb,var(--active-led,var(--led)) calc(var(--effective,var(--brightness))*100%),#171717);box-shadow:inset 0 18px 30px -18px color-mix(in srgb,var(--active-led,var(--led)) calc(var(--effective,var(--brightness))*100%),transparent)}
@keyframes breath{0%,100%{--pulse:1}50%{--pulse:.15}}@keyframes rgbcycle{from{--hue:0deg}to{--hue:360deg}}
 .compacttools{gap:10px;padding:8px;background:#1d1e20;border:1px solid #38342e;border-radius:9px}.toolgroup{display:flex;align-items:center;gap:4px;padding-right:10px;border-right:1px solid #45413a}.toolgroup:last-child{border:0;padding-right:0}.compacttools .toolicon,.toolmenu summary{display:flex;align-items:center;justify-content:center;gap:6px;height:36px;min-width:36px;padding:7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#c9c4bb;cursor:pointer}.compacttools .toolicon:hover,.toolmenu summary:hover,.toolmenu[open] summary{background:#373129;color:#f1d6a1}.compacttools [aria-pressed=true]{color:#f0cb82;background:#40372a}.toolmenu{position:relative}.toolmenu summary{list-style:none;font-size:13px}.toolmenu summary::-webkit-details-marker{display:none}.toolpanel{position:absolute;top:42px;left:0;z-index:20;min-width:205px;padding:12px;background:#252629;border:1px solid #66583f;border-radius:8px;box-shadow:0 8px 24px #0008;display:grid;gap:10px}.toolpanel label{justify-content:space-between;font-size:13px}.toolpanel select{padding:5px 8px;font-size:13px}#zoomReadout{font-size:12px;min-width:40px;text-align:center;color:#bcb5a8}.inspectTitle{padding-right:32px;overflow-wrap:anywhere;margin-bottom:5px}.inspectSubtitle{color:#aaa;font-size:14px;margin:0 0 16px;overflow-wrap:anywhere}.inspectPurchaseDate{font-size:13px;color:#a9a9ad;margin:4px 0 16px;text-align:center}#saveIcon{display:inline-flex;vertical-align:middle;margin-left:8px;color:#c7b48c}#saveIcon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#saveIcon[data-state=busy] svg{animation:saveSpin .8s linear infinite}#saveIcon[data-state=error]{color:#f1a36c}@keyframes saveSpin{to{transform:rotate(360deg)}}#inspectDlg{width:min(760px,94vw);height:min(680px,86dvh);max-height:86dvh;overflow:hidden;padding:clamp(12px,2.5vh,24px)}#inspectBody{height:100%;min-height:0;display:flex;flex-direction:column;gap:clamp(8px,1.5vh,16px)}#inspectBody .inspectTitle{margin:0;padding-right:42px;font-size:clamp(14px,2.5vh,23px);line-height:1.2;max-height:3.6em;overflow:hidden}#inspectBody .inspectSubtitle{margin:0;font-size:clamp(11px,1.8vh,14px);line-height:1.2;max-height:2.4em;overflow:hidden}#inspectBody .spot{flex:1;min-height:0;padding:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}#inspectBody .spot img{width:86%;height:86%;max-height:100%;object-fit:contain}#inspectBody .inspectMeta{display:flex;align-items:center;justify-content:center;gap:8px 16px;flex-wrap:wrap;flex-shrink:0}#inspectBody .inspectPurchaseDate{margin:0}#inspectBody .inspectMeta button{padding:5px 10px;font-size:13px}#inspectBody .inspectMeta strong{color:#e1c28e}
#inspectDlg{width:min(650px,92vw);height:min(680px,86dvh);padding:clamp(16px,3vh,28px)}
#inspectBody{gap:clamp(10px,1.8vh,18px)}
#inspectBody .inspectTitle{line-height:1.35;flex-shrink:0}
#inspectBody .inspectSubtitle{line-height:1.4;flex-shrink:0}
#inspectBody .spot{padding:clamp(10px,2vh,20px);border-radius:4px;background:radial-gradient(ellipse at top,#c8aa6755,#111 70%)}
#inspectBody .spot img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 12px 12px #000)}
#dlg{position:fixed}#dlg h2{padding-right:44px}#dlg .editClose{position:absolute;right:10px;top:8px;font-size:24px;line-height:1;padding:5px 10px;z-index:3}
#switchMode{margin-left:12px;font-size:12px}#animeNav{display:none}body.immersive{background:#10111d;color:#f4f1ff;font-family:system-ui,sans-serif}body.immersive header{background:#161729ed;border-bottom:1px solid #7672ad;position:sticky;top:0;z-index:20}body.immersive header h1{font-style:italic;letter-spacing:.08em;color:#e5e0ff}body.immersive header nav{display:none}body.immersive #animeNav{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0}body.immersive button{border-color:#66618b;background:#25253b;color:#f3efff}body.immersive button:hover{background:#49416d}body.immersive #animeNav button.active{background:#d9ff75;color:#171c22;border-color:#d9ff75;transform:skew(-5deg)}body.immersive main{max-width:1500px;margin:auto}body.immersive #stats{display:none}body.immersive[data-page=ledger] #stats,body.immersive[data-page=sold] #stats{display:flex}body.immersive[data-page=home] #searchbar{display:none}body.immersive dialog{background:#191a2a;border-color:#7972aa;color:#f4efff}body.immersive #inspectBody .spot{background:radial-gradient(ellipse at top,#a798ff55,#10111d 75%)}.animeHero{min-height:420px;display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden;border:1px solid #67618d;background:radial-gradient(ellipse at 75% 35%,#554d83,#202039 45%,#11121e 80%);border-radius:6px;isolation:isolate}.animeHero:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(125deg,transparent 0 45px,#c9bfff0c 46px 47px);mask-image:linear-gradient(90deg,transparent,black)}.heroCopy{padding:clamp(24px,5vw,76px);align-self:center}.heroCopy h2{font-size:clamp(30px,5vw,70px);line-height:1.05;margin:20px 0;color:white;overflow-wrap:anywhere;font-style:italic}.animeKicker{color:#d9ff75;font-size:12px;letter-spacing:.2em;font-weight:800}.heroArt{display:grid;place-items:center;min-height:360px;position:relative}.heroArt img{width:90%;height:420px;object-fit:contain;filter:drop-shadow(0 25px 25px #0009);animation:arrive .45s ease both}.animeEmpty{font-size:80px;color:#a49ac5;opacity:.5}.heroIndex{position:absolute;right:20px;bottom:15px;font-size:12px;letter-spacing:.2em}.archiveHead{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px;gap:12px}.archiveHead h2{font-size:24px;margin:0}.animeGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:15px}.animeCard{position:relative;text-align:left;overflow:hidden;padding:0!important;border-radius:6px!important;transition:transform .2s,box-shadow .2s;min-width:0}.animeCard:hover{transform:translateY(-5px);box-shadow:0 10px 30px #9b87ff33}.animeCard .art{height:220px;display:grid;place-items:center;background:radial-gradient(ellipse at top,#585078,#191a2b 75%);overflow:hidden}.animeCard img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.animeCard:hover img{transform:scale(1.06)}.animeCard .info{padding:13px;display:grid;gap:5px}.animeCard .info strong{overflow-wrap:anywhere}.animeCard small{color:#bcb5d5}.animeCard .serial{position:absolute;top:9px;left:9px;background:#d9ff75;color:#171c22;padding:3px 7px;font-size:11px;font-weight:bold}.animeTools{display:flex;gap:8px;flex-wrap:wrap}.animeRoomIntro{padding:16px 20px;background:linear-gradient(110deg,#292740,#161725);border-left:4px solid #d9ff75;margin-bottom:12px}body.immersive #scene{background:radial-gradient(ellipse at 50% 20%,#51466d,#181827 65%)!important;border:1px solid #71668c}body.immersive .cabinet{border-color:#a7a0c3!important;box-shadow:0 15px 35px #0009,inset 0 0 22px #8c7db344!important}body.immersive .shelf{border-color:#8c81ad!important}@keyframes arrive{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:none}}@media(max-width:650px){.animeHero{grid-template-columns:1fr}.heroArt img{height:280px}.heroArt{min-height:280px}.animeGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.animeHero *, .animeCard *{animation:none!important;transition:none!important}}

body.immersive{background:#111;color:#f6f4e9;font-family:system-ui,sans-serif}body.immersive header{background:#171717;border-bottom:4px solid #e5ff35}body.immersive header h1{color:#f5f5ed;font-weight:950}body.immersive #animeNav{gap:5px}body.immersive #animeNav button{border:0;border-radius:0;transform:skew(-9deg);font-weight:900;background:#292929}body.immersive #animeNav button.active{background:#e5ff35;color:#111;transform:skew(-9deg)}body.immersive main{max-width:none;padding:16px 3vw}body.immersive button{border-radius:2px;background:#252525;border-color:#777;color:#fff;font-weight:750}body.immersive button:hover{background:#e5ff35;color:#111}body.immersive .animeHero{border:0;border-radius:0;min-height: min(660px,72vh);grid-template-columns:42% 58%;background:linear-gradient(116deg,#171717 0 42%,transparent 42%),repeating-linear-gradient(135deg,#deded0 0 2px,#eae9dd 2px 10px);color:white}body.immersive .animeHero:before{z-index:0;inset:0;background:radial-gradient(circle,#1115 1px,transparent 1.5px);background-size:7px 7px;mask-image:none;opacity:.5}body.immersive .heroCopy{position:relative;z-index:2;padding:4vw}body.immersive .heroCopy h2{font-size:clamp(36px,6vw,96px);font-weight:1000;letter-spacing:-.07em;text-shadow:5px 5px #000;line-height:.99}body.immersive .animeKicker{color:#e5ff35;background:#111;padding:5px 9px;display:inline-block;transform:skew(-8deg)}body.immersive .heroArt{isolation:isolate;min-height:460px}body.immersive .heroArt:before{content:'ARCHIVE';position:absolute;z-index:-1;font-size:clamp(60px,13vw,220px);font-weight:1000;font-style:italic;letter-spacing:-.09em;color:#17171718;transform:rotate(-12deg)}body.immersive .heroArt:after{content:'';position:absolute;z-index:-1;width:70%;height:85%;background:#e5ff35;clip-path:polygon(18% 0,100% 9%,83% 100%,0 88%)}body.immersive .heroArt img{height:min(60vh,620px);width:94%;filter:drop-shadow(12px 16px 0 #1115);animation:streetIn .38s cubic-bezier(.2,.8,.2,1) both}body.immersive .heroIndex{background:#111;color:#e5ff35;padding:8px 16px;transform:skew(-8deg)}body.immersive .animeTools button{clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);border:0;background:#e5ff35;color:#111;padding:12px 18px}body.immersive .archiveHead h2{font-size:32px;font-style:italic;font-weight:950}body.immersive .animeCard{border:0;border-radius:0!important;background:#252525}body.immersive .animeCard .art{background:repeating-linear-gradient(135deg,#353535 0 12px,#303030 12px 24px)}body.immersive .animeCard .serial{background:#e5ff35;transform:skew(-8deg)}body.immersive .animeCard small{color:#ddd}body.immersive .animeGrid{gap:9px}body.immersive .selectStrip{display:flex;gap:8px;overflow-x:auto;padding:12px 4px 18px}body.immersive .selectStrip button{flex:0 0 108px;padding:0;overflow:hidden;border:2px solid #555;transform:skew(-4deg);background:#292929}body.immersive .selectStrip button.chosen{border-color:#e5ff35;box-shadow:0 0 0 2px #e5ff35}body.immersive .selectStrip img{width:100%;height:100px;object-fit:contain}body.immersive .selectStrip .animeEmpty{display:grid;height:100px;place-items:center;font-size:32px}body.immersive .selectStrip small{display:block;padding:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.immersive dialog{background:#1d1d1d;border:2px solid #e5ff35}body.immersive #inspectBody .spot{background:radial-gradient(ellipse at top,#e5ff3540,#101010 75%)}body.immersive #scene{background:repeating-linear-gradient(135deg,#171717 0 32px,#202020 32px 64px)!important;border:2px solid #777}body.immersive .animeRoomIntro{background:#222;border-left:8px solid #e5ff35}body.immersive .cabinet{border-color:#8b8b80!important;box-shadow:0 15px 35px #000,inset 0 0 22px #e5ff3522!important}@keyframes streetIn{from{opacity:0;transform:translateX(45px) skew(-4deg)}to{opacity:1;transform:none}}@media(max-width:700px){body.immersive .animeHero{grid-template-columns:1fr;background:#222}body.immersive .heroArt{min-height:260px}body.immersive .heroArt img{height:300px}}@media(prefers-reduced-motion:reduce){body.immersive .heroArt img{animation:none}}

body.immersive{background:#101010;color:#f4f3e9;--acid:#e2ff36}body.immersive header{background:#101010;border-bottom:3px solid var(--acid);box-shadow:0 8px 0 #0004}body.immersive header h1{font-size:22px;letter-spacing:-.04em}body.immersive #animeNav{align-items:center;gap:7px}body.immersive #animeNav button{padding:10px 13px;font-weight:850}body.immersive #animeNav button.active{box-shadow:4px 4px 0 #777}body.immersive main{padding:12px 2vw 25px}body.immersive .animeHero{min-height:clamp(360px,65vh,720px);grid-template-columns:40% 60%;background:#d9ddd2 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAwIDY1MCI+PGRlZnM+PHBhdHRlcm4gaWQ9ImRvdHMiIHdpZHRoPSI5IiBoZWlnaHQ9IjkiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxjaXJjbGUgY3g9IjIiIGN5PSIyIiByPSIxLjYiIGZpbGw9IiMxNjE2MTYiLz48L3BhdHRlcm4+PHBhdHRlcm4gaWQ9InN0cmlwZSIgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoMzUpIj48cmVjdCB3aWR0aD0iMTMiIGhlaWdodD0iMzAiIGZpbGw9IiMxNzE3MTciLz48L3BhdHRlcm4+PC9kZWZzPjxwYXRoIGZpbGw9IiNkOWRkZDIiIGQ9Ik0wIDBoMTAwMHY2NTBIMHoiLz48cGF0aCBmaWxsPSIjZTJmZjM2IiBkPSJNMzU1IDBIMTAwMFYzOTBMNTgwIDY1MEgxNzB6Ii8+PHBhdGggZmlsbD0idXJsKCNkb3RzKSIgb3BhY2l0eT0iLjM1IiBkPSJNNjUwIDBoMzUwdjY1MEg0MjB6Ii8+PHBhdGggZmlsbD0iIzE5MTkxOSIgZD0iTTAgMGgzOTBMMTcwIDY1MEgwek0xMDAwIDQ3NXYxNzVINDYweiIvPjxwYXRoIGZpbGw9InVybCgjc3RyaXBlKSIgZD0iTTgyMCAwaDE4MHY1Mkg3OTV6TTAgNTgyaDM1MGwtMjAgNjhIMHoiLz48ZyBmaWxsPSJub25lIiBzdHJva2U9IiMxNzE3MTciIHN0cm9rZS13aWR0aD0iNSI+PGNpcmNsZSBjeD0iNzIwIiBjeT0iMjkwIiByPSIyMjUiIHN0cm9rZS1kYXNoYXJyYXk9IjU1IDE0IDUgMTQiLz48Y2lyY2xlIGN4PSI3MjAiIGN5PSIyOTAiIHI9IjE5NSIgc3Ryb2tlLXdpZHRoPSIxIi8+PHBhdGggZD0iTTkwMCAxMDBsLTkwIDEwMG05NS01NS05MCAxMDBNMzIwIDU3MGwxMTAtNTVtLTcwIDc1IDExMC01NSIvPjwvZz48ZyBmaWxsPSIjMTcxNzE3Ij48cGF0aCBkPSJNOTIwIDgwbDEyIDMwIDMyIDktMzIgMTItMTIgMzAtMTItMzAtMzItMTIgMzItOXpNNDgwIDgwbDggMjAgMjAgOC0yMCA4LTggMjAtOC0yMC0yMC04IDIwLTh6Ii8+PHRleHQgeD0iNTQwIiB5PSI4MCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtd2VpZ2h0PSI5MDAiIGZvbnQtc3R5bGU9Iml0YWxpYyIgZm9udC1zaXplPSIzOCI+RklHVVJFIC8gRklMRTwvdGV4dD48dGV4dCB4PSI1NzAiIHk9IjYxMCIgZm9udC1mYW1pbHk9Im1vbm9zcGFjZSIgZm9udC1zaXplPSIxOCIgZmlsbD0iI2UyZmYzNiI+UEVSU09OQUwgQVJDSElWRSAvLyAwMzI8L3RleHQ+PC9nPjwvc3ZnPg==") center/cover;isolation:isolate;overflow:hidden}body.immersive .animeHero:before{inset:0 auto 0 0;width:52%;background:#151515;clip-path:polygon(0 0,100% 0,70% 100%,0 100%);opacity:1;z-index:0}body.immersive .heroArt:before{content:'';display:none}body.immersive .heroArt:after{display:none}body.immersive .heroArt{min-height:0;align-self:stretch;z-index:1;transform:translate(var(--px,0px),var(--py,0px));transition:transform .16s ease-out}body.immersive .heroArt img{height:clamp(300px,56vh,690px);width:94%;filter:drop-shadow(8px 12px 1px #1117);animation:figureEntry .55s cubic-bezier(.16,1,.3,1) both}body.immersive .heroCopy{padding:32px 3vw;animation:copyEntry .35s ease-out both}body.immersive .heroCopy h2{font-size:clamp(32px,5.5vw,84px);line-height:1.05;letter-spacing:-.055em;overflow-wrap:anywhere;text-shadow:3px 4px #000}body.immersive .heroCopy p{font-weight:750;color:#e7e5d9;max-width:90%}body.immersive .animeKicker{letter-spacing:.12em;border-left:5px solid var(--acid)}body.immersive .heroIndex{bottom:22px;right:20px;border-left:5px solid var(--acid)}body.immersive .animeTools button{box-shadow:3px 4px 0 #777;padding:10px 14px}body.immersive .archiveHead{margin:16px 0 10px}body.immersive .archiveHead h2{font-size:26px}body.immersive .selectStrip button{border:0;border-bottom:4px solid #555;flex-basis:105px;position:relative}body.immersive .selectStrip button.chosen{border-color:var(--acid);background:#525b20;box-shadow:inset 0 0 0 2px var(--acid)}body.immersive .selectStrip button.chosen:before{content:'SELECTED';position:absolute;top:0;left:0;background:var(--acid);color:#111;font-size:9px;font-weight:950;padding:3px;z-index:1}body.immersive .animeCard .art{background:radial-gradient(circle at 50% 45%,#666 0,#292929 70%)}body.immersive .animeCard .info{border-top:3px solid #e2ff36}body.immersive .animeCard:hover{transform:translateY(-4px) rotate(-1deg);box-shadow:5px 5px 0 var(--acid)}body.immersive .animeRoomIntro{background:linear-gradient(105deg,#262626 65%,#e2ff36 65%);border-left:8px solid var(--acid)}body.immersive #scene{background:radial-gradient(ellipse at 50% 0%,#5b5541,#242424 55%,#141414)!important}body.immersive .cutControl{position:absolute;top:12px;right:12px;z-index:5;display:flex;gap:5px}body.immersive .cutControl button{background:#151515;color:#fff;font-size:12px;border:1px solid #aaa;padding:7px 10px}body.immersive .cutControl button:hover{background:var(--acid);color:#111}body.immersive .animeEmpty{color:#111;opacity:.65;font-size:clamp(60px,15vw,180px)}#soundToggle{display:none}body.immersive #soundToggle{display:inline-block;margin-left:8px;font-size:12px}#gameWipe{position:fixed;inset:0;pointer-events:none;z-index:100;background:repeating-linear-gradient(120deg,#e2ff36 0 30px,#171717 30px 60px);transform:translateX(-120%) skew(-12deg);display:none}body.immersive #gameWipe.run{display:block;animation:wipe .42s ease-in-out both}#gameToast{position:fixed;right:22px;bottom:24px;z-index:101;background:#151515;color:#e2ff36;border-left:6px solid #e2ff36;padding:14px 20px;font-weight:900;box-shadow:5px 5px #0008;display:none}body.immersive #gameToast.show{display:block;animation:copyEntry .22s both}@keyframes figureEntry{from{opacity:0;transform:translateX(65px) scale(.94) rotate(-3deg)}to{opacity:1;transform:none}}@keyframes copyEntry{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}@keyframes wipe{0%{transform:translateX(-130%) skew(-12deg)}45%{transform:translateX(0) skew(-12deg)}100%{transform:translateX(130%) skew(-12deg)}}@media(max-width:700px){body.immersive .animeHero{grid-template-columns:1fr;background-position:65% center}body.immersive .animeHero:before{width:100%;height:48%;clip-path:polygon(0 0,100% 0,100% 82%,0 100%)}body.immersive .heroCopy{padding:22px 18px}body.immersive .heroArt img{height:300px}}@media(prefers-reduced-motion:reduce){body.immersive *,body.immersive *:before,body.immersive *:after{animation:none!important;transition:none!important}#gameWipe{display:none!important}}

.editPreview{display:none} .editFooter{display:contents}
body.immersive #dlg{width:min(900px,94vw);max-width:94vw;max-height:90dvh;padding:24px 28px;background:linear-gradient(145deg,#1a2a41,#101827);border:1px solid #8dadd866!important;outline:none!important;border-radius:8px;box-shadow:0 24px 80px #0009;color:#e8edf5;overflow:auto;scrollbar-width:none}
body.immersive #dlg::-webkit-scrollbar,body.immersive #dlg *::-webkit-scrollbar{display:none}
body.immersive #dlg::backdrop{background:#030812b8;backdrop-filter:blur(5px)}
body.immersive #form{display:grid;grid-template-columns:minmax(140px,0.9fr) minmax(0,1fr) minmax(0,1fr);gap:12px 16px;align-items:start;margin:0}
body.immersive #form h2{grid-column:1/-1;margin:0 42px 5px 0;padding:0 0 14px;border-bottom:1px solid #8dadd833;font-size:24px;color:#dcc89d}
body.immersive #form h2:before{content:'✧ COLLECTION PROFILE';display:block;font-size:10px;letter-spacing:.18em;color:#8dadd8;margin-bottom:6px}
body.immersive .editPreview{display:flex;flex-direction:column;gap:10px;grid-column:1;grid-row:2/span 6;align-self:start;text-align:center;color:#8dadd8}
body.immersive .editImage{aspect-ratio:3/4;display:grid;place-items:center;overflow:hidden;border:1px solid #8dadd844;border-radius:4px;background:radial-gradient(ellipse,#324965,#111a29);color:#8dadd8}
body.immersive .editImage img{width:100%;height:100%;object-fit:contain;min-height:0}body.immersive .editImage span{font-size:32px}body.immersive .editImage small{display:block;font-size:12px}
body.immersive #form label{display:block;margin:0;min-width:0;font-size:13px;color:#a9bbd4}body.immersive #form label[hidden]{display:none!important}
body.immersive #form label:has(#work),body.immersive #form label:has(#n){grid-column:2/4}
body.immersive #form label input,body.immersive #form label select{box-sizing:border-box;width:100%;margin-top:6px;padding:9px 10px;min-height:38px;background:#101b2c;color:#e8edf5;border:1px solid #8dadd844;border-radius:4px;font-size:15px;color-scheme:dark}
body.immersive #form label input:focus,body.immersive #form label select:focus{outline:1px solid #dcc89d;border-color:#dcc89d}
body.immersive #form .editFile{display:none}body.immersive #form .editFooter{display:flex;grid-column:1/-1;justify-content:flex-end;gap:10px;align-items:center;border-top:1px solid #8dadd833;padding-top:14px;margin-top:4px;position:sticky;bottom:0;background:#152134}
body.immersive #form .editFooter button{min-width:90px}body.immersive #form .editFooter button[type=submit]{background:#dcc89d!important;color:#101827!important;border-color:#dcc89d!important}body.immersive #form #del{order:-1;margin-right:auto;color:#dca1a7}body.immersive #form #del[hidden]{display:none}
body.immersive #dlg .editClose{top:15px;right:15px;color:#dcc89d;background:#19263f;border:1px solid #8dadd844}
body.immersive .assetGroup{margin:18px 0 24px}body.immersive .assetMonth{display:flex;align-items:center;gap:12px;margin-bottom:10px;color:#dcc89d}body.immersive .assetMonth i{height:1px;background:#8dadd833;flex:1}body.immersive .assetMonth small{color:#9fb2cc;font-size:12px;text-align:right}
body.immersive .assetGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;align-items:stretch}body.immersive .assetCard{min-width:0;background:linear-gradient(125deg,#1d2d44,#142032);border:1px solid #8dadd837;border-left:2px solid #8dadd880;border-radius:4px;padding:14px;display:flex;flex-direction:column;gap:10px;transition:border-color .18s,background .18s}body.immersive .assetCard:hover{border-color:#dcc89d99}
body.immersive .assetTop{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}body.immersive .assetPhoto{width:76px;height:96px;flex:none;padding:0;overflow:hidden;border:1px solid #8dadd844;background:#0e1725;display:grid;place-items:center}body.immersive .assetPhoto img{width:100%;height:100%;object-fit:contain}body.immersive .assetIdentity{flex:1;min-width:0;overflow-wrap:anywhere}body.immersive .assetIdentity small{color:#8dadd8;font-size:11px;letter-spacing:.06em}body.immersive .assetIdentity h3{font-size:16px;color:#e8edf5;margin:5px 0;font-weight:500;line-height:1.35}body.immersive .assetIdentity p{font-size:12px;color:#a1b3ce;margin:4px 0}body.immersive .assetEdit{padding:6px;flex:none;color:#dcc89d}
body.immersive .assetDates{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;color:#9fb2cc;border-top:1px solid #8dadd82b;padding-top:8px}body.immersive .assetValues{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}body.immersive .assetValues div{display:flex;flex-direction:column;gap:3px;min-width:0}body.immersive .assetValues small{font-size:11px;color:#9fb2cc}body.immersive .assetValues strong{font-size:18px;font-weight:500;color:#dcc89d;font-variant-numeric:tabular-nums}body.immersive .assetValues .gain strong{color:#8ec7ae}body.immersive .assetValues .loss strong{color:#dca1a7}
body.immersive .recordShell{max-width:1450px;margin-inline:auto}body.immersive[data-page=ledger],body.immersive[data-page=sold]{scrollbar-width:none}body.immersive[data-page=ledger]::-webkit-scrollbar,body.immersive[data-page=sold]::-webkit-scrollbar{display:none}
@media(min-width:1250px){body.immersive .assetGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){body.immersive #dlg{padding:18px}body.immersive #form{grid-template-columns:repeat(2,minmax(0,1fr))}body.immersive .editPreview{grid-column:1/-1;grid-row:auto;max-width:140px;justify-self:center}body.immersive #form label:has(#work),body.immersive #form label:has(#n){grid-column:1/-1}body.immersive #form .editFooter button{min-width:0}body.immersive .assetGrid{grid-template-columns:1fr}}

body.immersive dialog[open].closing41{animation:dialogDown41 90ms ease-in both!important;pointer-events:none;will-change:opacity,translate}body.immersive dialog[open].closing41::backdrop{animation:fade41 90ms ease-in reverse both} @keyframes dialogDown41{from{opacity:1;translate:0 0}to{opacity:0;translate:0 18px}}

body.immersive .archiveHead47{justify-content:flex-start;column-gap:24px}
body.immersive .archiveHead47 .archiveTools{justify-content:flex-start}
body.immersive[data-page=archive] .archiveIndex{scrollbar-width:thin;scrollbar-color:#bca77d #172538;padding-right:5px}
body.immersive[data-page=archive] .archiveIndex::-webkit-scrollbar{display:block;width:7px}
body.immersive[data-page=archive] .archiveIndex::-webkit-scrollbar-track{background:#172538;border-radius:8px}
body.immersive[data-page=archive] .archiveIndex::-webkit-scrollbar-thumb{background:#bca77d;border-radius:8px;border:1px solid #172538;min-height:24px}
body.immersive[data-page=archive] .archiveIndex::-webkit-scrollbar-thumb:hover{background:#dcc89d}
