:root{color-scheme:dark;--bg:#060913;--text:#edf1ff;--muted:#9ca7c0;--line:rgba(181,199,255,.17);--ice:#c7d8ff;--accent:#9eaaff;--sans:Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;--mono:"SFMono-Regular",Consolas,monospace;--serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif}
*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth;overflow-x:hidden;overflow-x:clip}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);min-height:100svh;position:relative;overflow-x:hidden;overflow-x:clip}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #e0e9ff;outline-offset:6px}button{border:0}button:disabled{cursor:default}::selection{background:#6e7ac8;color:white}
.ambient{position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,rgba(5,8,18,.85),rgba(5,8,18,.78) 52%,#060913),url('/resonance-game/assets/hero-poster.jpg') center 42%/cover;filter:blur(16px)}body:after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 20%,transparent 20%,rgba(3,5,13,.55) 85%)}
.site-header{height:94px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5;max-width:1800px;margin:auto}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand-symbol{width:32px;height:38px;fill:none;stroke:#e4eaff;stroke-width:2}.brand-symbol-fine{stroke-width:.5;opacity:.45}.brand-name{font-size:12px;line-height:1.3;font-weight:700;letter-spacing:.19em}.brand-name>span{letter-spacing:.415em}.brand-caption{font-family:var(--mono);font-size:9px;line-height:1.5;letter-spacing:.14em;color:#8c97b3;border-left:1px solid var(--line);padding-left:17px;margin-left:5px}.header-actions{display:flex;align-items:center;gap:25px}.help-button,.motion-button{background:none;padding:8px 0;min-height:44px;display:flex;align-items:center;gap:8px;color:#bbc4db;font-size:11px}.help-question{font-family:var(--mono);display:inline-grid;place-items:center;border:1px solid #626f8b;border-radius:50%;width:17px;height:17px;font-size:10px}.motion-button{font-family:var(--mono);font-size:9px;letter-spacing:.08em;gap:6px}.motion-button svg{width:17px;height:17px;stroke:#c9d4ef;stroke-width:1.5;fill:none}.motion-button .play-symbol{display:none}.motion-button.is-paused .play-symbol{display:block}.motion-button.is-paused .pause-symbol{display:none}.motion-button:hover,.help-button:hover{color:white}
.portal-main{padding:0 32px;max-width:1600px;margin:auto}.scene-heading{display:flex;align-items:center;justify-content:center;gap:10px;font-family:var(--mono);font-size:9px;letter-spacing:.19em;color:#a0acc9;margin:2px auto 34px}.live-dot{width:4px;height:4px;background:#b4caff;border-radius:50%;box-shadow:0 0 10px #abc6ff}.scene-heading-line{width:42px;height:1px;background:var(--line);margin:0 4px}.scene-heading>span:last-child{color:#76839e;font-size:8px}.scene-shell{position:relative;max-width:1120px;margin:auto}.scene{position:relative;aspect-ratio:4/3;width:min(100%,calc((100svh - 260px)*4/3));min-width:580px;max-width:1120px;margin:0 auto;isolation:isolate}.scene-poster,.hero-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.scene-poster{z-index:0}.hero-video{z-index:1;opacity:0;transition:opacity .4s}.scene.is-playing .hero-video{opacity:1}.scene-vignette{position:absolute;inset:-1px;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(6,9,19,.02) 65%,rgba(6,9,19,.08) 79%,#060913 100%),linear-gradient(90deg,rgba(6,9,19,.12),transparent 7%,transparent 93%,rgba(6,9,19,.12))}.scene:before{content:"";position:absolute;inset:-14px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,rgba(135,159,255,.1),transparent 72%);filter:blur(25px)}.scene-corner{position:absolute;z-index:4;width:12px;height:12px;pointer-events:none;opacity:.6}.corner-tl{top:0;left:0;border-top:1px solid #a5baf6;border-left:1px solid #a5baf6}.corner-tr{top:0;right:0;border-top:1px solid #a5baf6;border-right:1px solid #a5baf6}.corner-bl{bottom:12%;left:0;border-bottom:1px solid #65749c;border-left:1px solid #65749c}.corner-br{bottom:12%;right:0;border-bottom:1px solid #65749c;border-right:1px solid #65749c}.scene-side-label{position:absolute;left:-21px;top:46%;writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--mono);font-size:7px;letter-spacing:.22em;color:#5c6a88;pointer-events:none}.hotspots{position:absolute;inset:0;z-index:5;pointer-events:none}
.gate-hotspot{--size:50px;position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:auto;border:1px solid rgba(205,223,255,.55);border-radius:50%;background:radial-gradient(circle,rgba(29,40,75,.96),rgba(6,12,29,.92));box-shadow:0 0 0 5px rgba(8,16,38,.4),0 0 28px rgba(113,150,255,.21),inset 0 0 18px rgba(155,182,255,.08);transition:border-color .2s,background .2s,box-shadow .2s}.gate-hotspot:before{content:"";position:absolute;inset:-6px;border:1px solid rgba(180,207,255,.18);border-radius:50%;pointer-events:none}.gate-hotspot:after{content:"";position:absolute;left:50%;top:calc(100% + 8px);height:20px;width:1px;background:linear-gradient(#b8d1ff99,transparent);pointer-events:none}.gate-symbol{width:25px;height:25px;display:block;fill:none;stroke:#d8e6ff;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.gate-numeral{position:absolute;right:-5px;bottom:-3px;font:8px var(--mono);letter-spacing:.01em;color:#d6e3ff;background:#10182d;border:1px solid #8fa3d766;padding:3px 4px;line-height:1}.gate-label{position:absolute;left:50%;bottom:calc(100% + 17px);white-space:nowrap;transform:translate(-50%,4px);font:9px var(--mono);letter-spacing:.14em;color:#e1eaff;background:rgba(6,10,22,.95);padding:7px 10px;border:1px solid var(--line);opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;pointer-events:none}.gate-hotspot:hover,.gate-hotspot.is-highlighted,.gate-hotspot:focus-visible{border-color:#eff5ff;background:radial-gradient(circle,#2e3e70,#0a1022);box-shadow:0 0 0 6px #91b1ff13,0 0 40px #a4bfff66,inset 0 0 20px #adbdff22}.gate-hotspot:hover .gate-label,.gate-hotspot:focus-visible .gate-label{opacity:1;visibility:visible;transform:translate(-50%,0)}.gate-hotspot:hover .gate-symbol,.gate-hotspot.is-highlighted .gate-symbol{stroke:white}.portal-copy{position:relative;z-index:3;text-align:center;margin:-63px auto 0;pointer-events:none;padding:0 8px}.eyebrow{font:9px var(--mono);font-weight:400;letter-spacing:.28em;color:#9caed6;margin:0 0 13px}.portal-copy h1{font:400 24px/1.6 var(--serif);letter-spacing:.15em;margin:0;color:#e3eaff;text-shadow:0 1px 16px #000}.portal-copy h1 span{display:inline}.portal-instruction{font-size:10px;letter-spacing:.09em;line-height:1.8;color:#8f9ab6;margin:11px 0 0}
.gate-index{width:100%;max-width:1120px;margin:29px auto 0}.index-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line)}.index-heading h2{font:9px var(--mono);font-weight:400;letter-spacing:.2em;margin:0;color:#bdc9e2}.index-heading>span{font-size:9px;letter-spacing:.06em;color:#77839f}.gate-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:0}.gate-item{display:flex;align-items:center;gap:10px;padding:15px 13px;position:relative;min-width:0;min-height:68px;border-bottom:1px solid var(--line);transition:background .2s}.gate-item:after{content:"";position:absolute;width:1px;height:28px;background:var(--line);right:0;top:21px}.gate-item:last-child:after{display:none}.gate-item .gate-symbol{width:21px;height:21px;stroke:#8797bd;flex-shrink:0}.gate-item-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.gate-item-title{font:10px var(--mono);letter-spacing:.08em;white-space:nowrap;color:#bbc9e7}.gate-item-state{font-size:8px;color:#717e99;letter-spacing:.06em}.gate-item-arrow{font-size:12px;margin-left:auto;color:#576581;transition:color .2s,transform .2s}.gate-item:hover,.gate-item.is-highlighted,.gate-item:focus-visible{background:#8bafff0a}.gate-item:hover .gate-symbol,.gate-item.is-highlighted .gate-symbol{stroke:#e1e9ff}.gate-item:hover .gate-item-arrow{color:#dfe9ff;transform:translate(2px,-2px)}.gate-item:hover .gate-item-title,.gate-item.is-highlighted .gate-item-title{color:white}.site-footer{position:relative;z-index:2;max-width:1600px;margin:26px auto 0;padding:0 44px 23px;display:flex;justify-content:space-between;gap:20px;color:#69758f;font:8px var(--mono);letter-spacing:.12em}.site-footer>a{color:#a0acc7;display:inline-flex;gap:8px}.site-footer>a:hover{color:white}.no-script-gates{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;padding:30px}
.help-dialog{max-width:470px;width:calc(100% - 38px);border:1px solid #aabfff4d;background:#0b1020;color:var(--text);padding:42px 35px 30px;box-shadow:0 25px 100px #0009;border-radius:2px}.help-dialog::backdrop{background:#02040ccc;backdrop-filter:blur(8px)}.dialog-close{position:absolute;top:10px;right:12px;width:36px;height:36px;background:none;color:#9eaccb;font-size:25px;font-weight:300}.help-dialog h2{font:400 23px/1.6 var(--serif);letter-spacing:.04em;margin:0 0 20px}.help-dialog>p:not(.eyebrow){font-size:12px;line-height:1.9;color:#a5b2ce}.help-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin:22px 0}.help-details p{font-size:11px;line-height:1.8;color:#a2afcc;margin:14px 0}.help-details span{display:block;font:9px var(--mono);letter-spacing:.15em;color:#d2ddf6;margin-bottom:5px}.help-dialog .help-note{font-size:10px!important;color:#7d8ba9!important}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:15px 19px;background:#dae4ff;color:#0e1730;font-size:11px;letter-spacing:.06em;border:1px solid #e6edff;min-height:48px}.primary-button:hover{background:white}.help-dialog .primary-button{width:100%;margin-top:24px}
.gate-page-main{min-height:calc(100svh - 160px);display:grid;place-items:center;text-align:center;padding:50px 22px 65px}.gate-page-content{max-width:600px;width:100%;position:relative}.back-link{font:10px var(--mono);color:#a1aecb;letter-spacing:.1em;display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-bottom:20px}.back-link:hover{color:#fff}.gate-art{position:relative;width:170px;height:170px;margin:10px auto 31px;display:grid;place-items:center;border:1px solid #bbd1ff33;border-radius:50%;background:radial-gradient(circle,#aec6ff0b,transparent 70%);box-shadow:0 0 100px #96b1ff0c}.gate-art:before,.gate-art:after{content:"";position:absolute;border-radius:50%;border:1px solid #c6d9ff19;inset:13px}.gate-art:after{inset:-14px;border-style:dashed;transform:rotate(13deg)}.gate-art .gate-symbol{width:68px;height:68px;stroke-width:.65;filter:drop-shadow(0 0 12px #abc9ff70)}.gate-page-number{position:absolute;bottom:18px;font:8px var(--mono);letter-spacing:.25em;color:#9cafd6}.gate-page-content h1{font:400 31px/1.7 var(--serif);letter-spacing:.12em;margin:0 0 20px}.gate-page-content h1 span{display:block}.soon-badge{display:inline-block;border:1px solid #c0cfff35;font-size:10px;letter-spacing:.17em;padding:6px 13px;color:#b6c5e7;margin-bottom:21px}.gate-page-description{font-size:12px;line-height:2;color:#9baac9;letter-spacing:.04em;margin:0 auto 27px}.gate-page-content>.primary-button{max-width:270px;margin:auto}.gate-neighbors{display:flex;justify-content:center;gap:30px;margin:32px 0 0;font:9px var(--mono);color:#7f8faf;letter-spacing:.1em}.gate-neighbors a{padding:12px 8px;min-height:44px}.gate-neighbors a:hover{color:#eef2ff}.gate-page-footer{margin-top:0}
@media(min-width:1700px){.scene{width:min(100%,calc((100svh - 275px)*4/3))}.portal-copy{margin-top:-77px}.portal-copy h1{font-size:28px}}
@media(max-width:1000px){.site-header{padding:0 25px;height:86px}.portal-main{padding:0 25px}.scene{width:100%;min-width:0;max-width:900px}.gate-hotspot{--size:46px}.gate-item{padding:13px 8px;gap:7px}.gate-item .gate-symbol{width:18px;height:18px}.gate-item-arrow{display:none}.gate-item-title{font-size:9px}.site-footer{padding-left:25px;padding-right:25px}.scene-heading{margin-bottom:34px}.portal-copy{margin-top:-50px}.portal-copy h1{font-size:23px}}
@media(max-width:640px){.site-header{height:80px;padding:0 20px}.brand{gap:9px}.brand-symbol{width:25px;height:33px}.brand-name{font-size:9px}.brand-caption{font-size:7px;padding-left:10px;margin-left:0}.header-actions{gap:14px}.help-button{gap:0}.help-button>span:last-child{display:none}.help-question{width:18px;height:18px}.motion-button{padding-right:0}.motion-label{display:none}.motion-button svg{width:20px;height:20px}.portal-main{padding:0 15px}.scene-heading{font-size:7px;letter-spacing:.18em;margin:9px auto 38px;gap:8px}.scene-heading>span:last-child{font-size:7px}.scene-heading-line{width:25px}.scene-shell{margin:auto}.scene{width:100%;aspect-ratio:4/3;min-width:0}.scene-side-label{display:none}.scene-corner{width:8px;height:8px}.gate-hotspot{--size:44px;left:var(--mx);top:var(--my);box-shadow:0 0 0 4px #08102677,0 0 18px #7196ff44}.gate-hotspot:before{inset:-4px}.gate-hotspot:after{height:12px;top:calc(100% + 6px)}.gate-hotspot>.gate-symbol{width:22px;height:22px}.gate-numeral{font-size:7px;padding:3px}.gate-label{display:none}.scene-vignette{background:linear-gradient(180deg,transparent 70%,#060913 100%)}.portal-copy{margin:2px auto 0;padding:0 0}.portal-copy .eyebrow{font-size:8px;letter-spacing:.23em;margin-bottom:13px}.portal-copy h1{font-size:22px;letter-spacing:.08em;line-height:1.75}.portal-copy h1 span{display:block}.portal-instruction{font-size:10px;letter-spacing:0;margin-top:12px}.gate-index{margin-top:30px}.index-heading{padding-bottom:12px;gap:8px}.index-heading h2{font-size:8px;letter-spacing:.16em}.index-heading>span{font-size:8px;letter-spacing:0}.gate-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.gate-item{flex-direction:column;gap:9px;padding:16px 4px 14px;min-height:94px;text-align:center}.gate-item:after{height:38px;top:23px}.gate-item:nth-child(4):after,.gate-item:last-child:after{display:none}.gate-item .gate-symbol{width:22px;height:22px}.gate-item-copy{gap:6px}.gate-item-title{font-size:9px;letter-spacing:.08em}.gate-item-state{font-size:8px}.gate-item:nth-child(n+5){border-bottom-color:transparent}.site-footer{margin-top:25px;padding:0 20px 25px;font-size:7px;letter-spacing:.06em}.help-dialog{padding:43px 26px 26px}.help-dialog h2{font-size:21px}.gate-page-main{padding-top:25px;min-height:calc(100svh - 140px)}.gate-art{width:145px;height:145px;margin-bottom:26px}.gate-art .gate-symbol{width:58px;height:58px}.gate-page-content h1{font-size:26px;letter-spacing:.08em}.gate-page-description{font-size:11px}.back-link{margin-bottom:12px}.gate-neighbors{margin-top:20px}.gate-page-footer{margin-top:0}}
@media(max-width:360px){.brand-caption{display:none}.portal-copy h1{font-size:20px}.gate-hotspot{--size:42px}.gate-hotspot:before{inset:-3px}.portal-main{padding:0 12px}.gate-numeral{right:-4px}.portal-instruction{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
