@font-face{font-family:NightveilPixel;src:url('assets/nightveil/fonts/nightveil-fusion.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{--coal:#130e0c;--panel:#191310;--raised:#241a15;--paper:#d6c9ab;--brass:#9c8157;--gold:#d6b779;--dim:#b4a58b;--line:#4b3a2c;font-family:NightveilPixel,'Microsoft YaHei',sans-serif;background:#100c0b;color:#d6c9ab}body{font-size:20px;line-height:1.6}h1,h2,h3,h4,button,summary,a,p,span,kbd{font-weight:400}h2{font-size:36px;line-height:1.25}h3{font-size:24px}.brand{font-family:NightveilPixel!important}html{scroll-padding-top:76px}main{background:#130e0c}button{font-family:inherit}img{image-rendering:pixelated}kbd{font-family:NightveilPixel;font-size:24px;background:#342719;color:#e4c68a;padding:0 6px;border-bottom:2px solid #6d5230}
/* Native game button and source-tab sprites, trimmed only at transparent padding. */
:is(.button,.small-control,.topbar a:not(.brand),.art-tabs button,summary,.media-controls button){background:none!important;border:6px solid transparent!important;border-image:url('assets/nightveil/game-ui/ui_button_normal-trim.png') 3 fill / 6px / 0 stretch!important;box-shadow:none!important;text-shadow:none;color:#d6c9ab;padding:5px 15px;image-rendering:pixelated}
:is(.button,.small-control,.topbar a:not(.brand),.art-tabs button,summary,.media-controls button):before,:is(.button,.small-control,.topbar a:not(.brand),.art-tabs button,summary,.media-controls button):after{display:none!important}
:is(.button,.small-control,.topbar a:not(.brand),summary,.media-controls button):hover,:is(.button,.small-control,.topbar a:not(.brand),summary,.media-controls button):focus-visible{border-image-source:url('assets/nightveil/game-ui/ui_button_hover-trim.png')!important;color:#f2d295}
:is(.button,.small-control,.topbar a:not(.brand),summary,.media-controls button):active{border-image-source:url('assets/nightveil/game-ui/ui_button_pressed-trim.png')!important;translate:0 1px}
.topbar{height:56px;min-height:56px;padding:0 4%;background:#130e0cf5;border-bottom:0;box-shadow:none}.topbar nav{gap:12px}.topbar a{font-size:16px!important;line-height:1.25}.topbar .brand{font-size:20px!important;letter-spacing:0}.topbar a:not(.brand){border-width:4px!important;border-image-width:4px!important;padding:4px 12px}.topbar .return-link{border-image:none!important;background:transparent!important;color:#a79981;padding-left:0}.topbar .return-link:hover{color:#ead29d}
.title-hero{background:#070605;min-height:calc(100svh - 56px);padding-bottom:20px}.title-stage{width:min(100%,calc((100svh - 124px)*1916/1076))}.title-hero:after{content:"";position:absolute;bottom:-1px;height:60px;left:0;right:0;background:linear-gradient(transparent,#130e0c);pointer-events:none}.title-foot{z-index:1;font-size:14px;color:#9e9078;padding:12px 4%}.title-foot>span{font-size:14px}.small-control{font-size:14px;line-height:1.2}.title-enter{font-size:20px;background:#17110d;border:0;border-block:2px solid #715c3b;box-shadow:0 0 0 3px #0c0907;min-height:48px}.title-enter:hover,.title-enter:focus-visible{color:#e8c887;background:#291c13;border-color:#b38e55}.title-enter:before{content:"";width:30px;height:18px;background:url('assets/nightveil/game-ui/ui_src_bag.png') center/30px 18px no-repeat}.title-enter span{font-size:18px}
.world-intro{position:relative;background:#130e0c;padding:30px 8% 25px;text-align:center}.world-intro p{max-width:940px;margin:auto;font-size:24px;line-height:1.6;color:#c1ae90}.personal-art{position:relative;padding:20px 5% 24px;background:#130e0c;isolation:isolate}.personal-art:before,.design-section:before{content:"";position:absolute;z-index:-1;left:-105px;top:55px;width:230px;height:222px;background:url('assets/nightveil/ash/ash_tree_big_4.png') 0 0/230px 222px no-repeat;opacity:.24;image-rendering:pixelated;pointer-events:none}.personal-art:after{content:"";position:absolute;right:0;bottom:0;width:210px;height:320px;background:url('assets/nightveil/ash-buildings/house_e_walls.png') right bottom/256px 328px no-repeat;opacity:.13;z-index:-1;pointer-events:none}.art-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;gap:20px}.art-header h2{font-size:30px}.art-header p{font-size:16px!important;color:#a18e73!important;margin:0!important}
/* The complete 640×360 game inventory frame: original corners, nine-sliced long edges. */
.showcase{border-style:solid;border-color:transparent;border-width:60px 12px 44px;border-image:url('assets/nightveil/game-ui/ui_page_character.png') 60 12 44 12 / 60px 12px 44px / 0 stretch;background:#14100d;background-clip:padding-box;padding:0 12px;image-rendering:pixelated;position:relative}
.art-tabs{display:flex;justify-content:center;gap:6px;border:0;margin:0 auto 12px}.art-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 1 235px;font-size:20px;line-height:1.1;padding:6px 12px;border-width:8px 6px 4px!important;border-image:url('assets/nightveil/game-ui/ui_tab_source_normal-trim.png') 4 3 2 fill / 8px 6px 4px / 0 stretch!important;color:#a69579}.art-tabs button:hover,.art-tabs button:focus-visible{border-image-source:url('assets/nightveil/game-ui/ui_tab_source_hover-trim.png')!important;color:#f1d39e}.art-tabs [role=tab][aria-selected=true]{border-image-source:url('assets/nightveil/game-ui/ui_tab_source_selected-trim.png')!important;color:#edcf94;background:none!important;box-shadow:none}.art-tabs button:active{border-image-source:url('assets/nightveil/game-ui/ui_tab_source_pressed-trim.png')!important}.tab-icon{width:30px;height:18px;object-fit:contain;flex:none}.art-tabs [aria-selected=true]:after{display:block!important;content:"";position:absolute;bottom:0;left:35%;right:35%;height:2px;background:#ae8954;width:auto!important}
[role=tabpanel]{border:0;box-shadow:none;background:none;padding:0;min-height:0}.selected-works{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);align-items:end;gap:16px;min-height:310px;padding:4px 0 6px}.selected-work{min-width:0;display:flex;flex-direction:column;align-items:center;align-self:end}.selected-work button{padding:0;border:0;background:transparent;display:flex;align-items:center;justify-content:center;width:100%;min-height:260px}.selected-main button{min-height:310px}.selected-work img{width:calc(var(--native-width)*var(--scale));max-width:none;height:auto;object-fit:contain;image-rendering:pixelated}.selected-work button:hover img{filter:brightness(1.14)}.selected-work figcaption{font-size:20px;color:#d9c7a4;line-height:1.4;padding:6px 0}.all-works{margin:8px 0 0}.all-works summary{font-size:16px;max-width:280px;margin:auto;padding:5px 16px}.all-works .all-content{margin-top:18px;background:#16110d;border:0;border-top:1px solid #3b2c22;padding:15px}.sheet-group h3{font-size:20px;border-color:#392d23}.sheet-item span{font-size:16px;line-height:1.3}.sheet-item img{image-rendering:pixelated}.all-works[open]>summary span{rotate:45deg}.learning-note{display:block;border:0;margin:18px auto 0;padding:0;max-width:900px;text-align:center}.learning-note p{font-size:20px;line-height:1.6;margin:0;color:#aa987d}.learning-note .text-link{font-size:16px;display:inline-block;margin-top:8px;color:#b69b6d;border-color:#4f3a27}
.design-section{position:relative;isolation:isolate;background:#130e0c;border:0;padding:46px 7%;overflow:hidden}.design-section:before{top:90px;left:auto;right:-90px;transform:scaleX(-1);opacity:.15}.section-intro{margin-bottom:25px}.section-intro h2{font-size:30px}.kicker{font-size:16px;color:#9f8663}.game-case{display:grid;grid-template-columns:.85fr 1.65fr;gap:45px;align-items:center;margin-bottom:40px}.case-copy h3{font-size:28px;color:#dfc29b;margin:0 0 15px}.case-copy p{font-size:20px;color:#bead92;line-height:1.6;margin:0 0 12px}.clip-frame,.video-shell{border:6px solid transparent;outline:0;border-image:url('assets/nightveil/game-ui/ui_panel_pack-trim.png') 3 fill / 6px / 0 stretch;background:#0c0907}.clip-label,.play-label{font-size:18px;background:#1a130df0;border:1px solid #685132;box-shadow:none;padding:6px 12px}.clip-label small,.play-label small{font-size:14px}.media-caption{font-size:16px;color:#8e7b60}.media-controls{background:#14100c;padding:8px}.media-controls button{font-size:16px;min-height:34px;padding:2px 10px}.media-time{font-size:14px}.media-controls input{accent-color:#a98953}.video-section,.credits-section{background:#110d0b;border-color:#30221c;padding:38px 7%}.video-section .section-intro>p,.credits-section .section-intro>p{font-size:20px;color:#b4a086}.video-status,.download-row small{font-size:16px}.download-row p{font-size:20px}.button{font-size:20px}.credit-name{font-size:24px;color:#cfb28a}.credits-section dt{font-size:20px}.credits-section dd{font-size:18px}.credits-section .text-link{font-size:16px}footer{background:#0c0908;border-color:#30221c;font-size:16px;color:#94826b}dialog{border:8px solid transparent;outline:0;border-image:url('assets/nightveil/game-ui/ui_panel_pack-trim.png') 4 fill / 8px / 0 stretch;background:#15100d;box-shadow:0 12px 90px #000;padding:18px}.viewer-top{border-color:#4a3827}.viewer-top h2{font-size:24px}#close-viewer{border:0!important;border-image:none!important;background:url('assets/nightveil/game-ui/ui_close_page_normal-trim.png') center/44px 44px no-repeat!important;width:44px;height:44px;box-shadow:none!important;padding:0;flex:none;image-rendering:pixelated}#close-viewer:before,#close-viewer:after{display:none!important}#close-viewer:hover,#close-viewer:focus-visible{background-image:url('assets/nightveil/game-ui/ui_close_page_hover-trim.png')!important}#close-viewer:active{background-image:url('assets/nightveil/game-ui/ui_close_page_pressed-trim.png')!important}.viewer-canvas{background:#201811;margin-top:12px}.viewer-canvas img{image-rendering:pixelated}#viewer-note{font-size:16px}
@media(max-width:1350px) and (min-width:851px){#panel-underground .selected-main img{--scale:2}}
@media(max-width:850px){body{font-size:18px}.topbar{height:80px;min-height:80px;padding:6px 4%;gap:5px}.topbar .brand{font-size:18px!important}.topbar nav{gap:8px}.topbar nav a{font-size:16px!important;padding:2px 8px}.topbar .return-link{font-size:16px!important}.title-hero{min-height:calc(58svh - 80px);padding-bottom:10px}.title-stage{width:100%;margin:auto 0}.title-enter{font-size:16px;min-height:36px;height:36px;min-width:160px;padding:3px 6px;gap:6px}.title-enter:before{width:22px}.title-foot{padding:12px 4%;gap:8px}.title-foot>span{font-size:14px;flex-basis:100%}.small-control{font-size:14px;padding:2px 8px}.world-intro{padding:22px 7% 28px;text-align:left}.world-intro p{font-size:20px;line-height:1.6}.personal-art{padding:15px 8px 24px}.art-header{padding:0 12px;display:block;margin-bottom:12px}.art-header h2{font-size:28px}.art-header p{font-size:16px!important;margin-top:5px!important}.showcase{padding:0;border-width:60px 12px 44px;border-image-width:60px 12px 44px}.art-tabs{gap:0;margin-bottom:8px}.art-tabs button{font-size:16px;flex:1;padding:6px 2px;gap:2px;border-image-width:4px 3px 2px!important;border-width:4px 3px 2px!important;white-space:nowrap}.tab-icon{width:20px;height:12px}.selected-works{grid-template-columns:1fr 1fr;gap:8px;min-height:0;padding:0}.selected-main{grid-column:1/-1}.selected-work button{min-height:0;height:155px}.selected-main button{min-height:0;height:230px}.selected-work img{width:calc(var(--native-width)*var(--mobile-scale));max-width:none}.selected-work figcaption{font-size:18px;padding:5px 0}.selected-main figcaption{font-size:20px}#panel-underground .selected-main button{height:190px}.all-works summary{font-size:16px;padding:4px 12px}.all-content{padding:10px 4px!important}.sheet-item span{font-size:14px}.sheet-group h3{font-size:18px}.learning-note{padding:0 14px;margin-top:15px;text-align:left}.learning-note p{font-size:18px;line-height:1.7}.learning-note .text-link{font-size:16px}.personal-art:before{left:-155px;top:0}.personal-art:after{opacity:.1}.design-section,.video-section,.credits-section{padding:32px 5%}.section-intro h2{font-size:28px}.kicker{font-size:16px}.game-case{display:block;margin-bottom:32px}.case-copy h3{font-size:26px;margin-bottom:12px}.case-copy p{font-size:20px;line-height:1.6}.case-media{margin-top:18px}.clip-label,.play-label{font-size:16px;padding:3px 9px}.clip-label small,.play-label small{font-size:12px}.media-caption{font-size:14px}.media-controls{gap:6px;padding:6px}.media-controls button{font-size:14px;padding:2px 6px}.media-time{font-size:12px}.video-section .section-intro>p,.credits-section .section-intro>p{font-size:18px}.download-row .button{font-size:16px;padding:6px 9px}.download-row p{font-size:18px}.download-row small{font-size:14px}.credits-section dl{gap:18px}.credits-section dt{font-size:18px}.credits-section dd{font-size:16px}.credit-name{font-size:22px}footer{font-size:14px;padding:24px 5%}.viewer-top h2{font-size:20px}#viewer-note{font-size:14px}.viewer-canvas{padding:18px 8px}html{scroll-padding-top:96px}}
@media(max-width:374px){.personal-art{padding-inline:0}.showcase{border-left-width:8px;border-right-width:8px;border-image-width:60px 8px 44px}.tab-icon{display:none}.art-tabs button{font-size:16px}.selected-work img{max-width:100%;height:auto}.selected-main button{height:225px}}
@media(prefers-reduced-motion:reduce){.selected-work button:hover img{filter:none}}
.art-tabs button{position:relative}.topbar{background:#130e0c}@media(max-width:850px){.art-tabs button{min-width:0}.tab-icon{display:none}}@media(max-width:374px){.selected-works{gap:4px}}
