/* Approved midnight desktop, silver chrome, text-only navigation. */
:root{--ink:#17213b;--cream:#e9edf2;--pink:#e7abc8;--lime:#f5dfa4;--blue:#9ba9d9;--lavender:#18233b}
html{min-height:100%;scroll-behavior:smooth}body{min-height:100svh;background:#18233b url('assets/midnight-room.webp') center bottom/cover fixed no-repeat;color:#edf0fa;display:block;font-family:'NeoDunggeunmo Code',monospace}body::before{content:'';position:fixed;inset:0;background:#101a3024;pointer-events:none;z-index:-1}button,a,input,textarea,select{touch-action:manipulation}button:disabled{opacity:.65}a:focus-visible,button:focus-visible{outline:3px solid #d6a9d8;outline-offset:4px}
header{display:block;min-height:0!important;height:auto!important;background:transparent!important;padding:16px 20px 0;position:relative;z-index:20}#menu-toggle{display:none!important}#menu{position:relative;inset:auto;transform:none;width:max-content;max-width:100%;margin:0 auto;display:flex;align-items:center;gap:clamp(6px,3.5vw,48px);padding:0 0 9px;min-width:0;background:none;border:0;box-shadow:none;overflow:visible;text-align:center}#menu a{color:#ecedf7;padding:12px 3px;text-decoration:none;white-space:nowrap;font-size:clamp(12px,1.5vw,17px)}#menu a:hover{background:none;color:#f6dca2}.nav-indicator{position:absolute;bottom:4px;left:0;height:3px;background:#d8ddeb;pointer-events:none;transition:transform .25s ease,width .25s ease,opacity .2s ease}.member-login{position:absolute;right:0;top:100%;font-size:11px;border:1px solid #a9b4cc;background:#17233d;color:#e5eaf5;width:auto;padding:5px 9px;white-space:nowrap}
#app{display:block!important;min-height:0!important;flex:none!important;width:100%;max-width:1100px;margin:auto}.midnight-brand{text-align:center;font-size:clamp(29px,6vw,70px);line-height:1.3;margin:38px 16px 36px;letter-spacing:-1px;text-shadow:3px 4px #586495;font-weight:400;color:#e9e6fb}.midnight-brand a{color:inherit;text-decoration:none}.midnight-brand a::before,.midnight-brand a::after{content:'✦';font-size:20px;color:#f6dfa1;vertical-align:middle;padding:0 20px;text-shadow:none}.page{max-width:920px;margin:0 auto 64px;padding:0 24px}.back{display:none}.window{color:#17213b;background:#e9edf2;border:2px solid #94a0b5;box-shadow:inset 2px 2px #fff,inset -2px -2px #bec6d1,7px 8px #0d152780;padding:3px;border-radius:0}.titlebar,.blue .titlebar{background:linear-gradient(100deg,#dce1e8,#b8c1ce);color:#17213b;border:0;border-bottom:1px solid #8896ac;padding:6px 9px;min-height:33px;font-size:15px}.titlebar strong{font-weight:400}.controls{display:flex!important;gap:4px}.controls span,.player .controls span{width:19px;height:19px;line-height:14px;font-size:15px;border:1px solid #65728b;background:#e7ebf0;box-shadow:inset 1px 1px white,inset -1px -1px #a5aebe;color:#19233c}.body{padding:28px}.block-button,.pink,.month-toolbar button{background:linear-gradient(#f8fafc,#d2d8e1);border:1px solid #77859e;color:#17213b;box-shadow:inset 1px 1px #fff,2px 3px #8791a8;padding:11px 18px}.page h1,.page h2{font-weight:400}.notice{color:#56657e}.fields{gap:18px}.fields input,.fields textarea,dialog input,dialog textarea,dialog select{border:1px solid #9ca9bb;background:#f5f7fa;box-shadow:inset 1px 2px #c7ced9;color:#18243e;padding:11px}.contact-icon{text-align:center}.contact-icon svg{width:82px;image-rendering:pixelated}.contact-intro{text-align:center;margin:16px 0 30px}.send-button{display:block;min-width:50%;margin:25px auto 12px}.contact-intro~.notice{text-align:center}
main:has(.desktop) .desktop{position:relative;display:block;flex:none;width:min(100%,820px);height:auto;min-height:0;aspect-ratio:1.55;margin:0 auto 38px}.desktop .shortcut{width:12%;aspect-ratio:auto;left:auto;right:auto;top:auto;height:auto;transform:none;gap:7px;color:#edf0fa;text-align:center;display:flex;flex-direction:column}.desktop .shortcut svg{width:65%;filter:drop-shadow(3px 4px #0b1328);animation:icon-bob var(--float-duration,5s) ease-in-out var(--float-delay,0s) infinite}.shortcut svg path[fill="#c8ff00"]{fill:#f5dfa4}.shortcut svg path[fill="#ff4cad"],.shortcut svg path[fill="#ef315b"]{fill:#e8a8c6}.shortcut svg path[fill="#dbc8de"]{fill:#f4dda4}.desktop .shortcut span{font-size:14px}.desktop .shortcut:hover{transform:translateY(-3px)}.desktop .live{left:4%;top:5%}.desktop .music{left:4%;top:37%}.desktop .about{left:4%;top:69%}.desktop .contact{right:4%;top:5%}.desktop .works{right:4%;top:37%}.desktop .videos{right:4%;top:69%}.desktop .player{position:absolute;left:21%;top:0;width:58%;transform:none}.player .titlebar{font-size:14px;padding:6px 9px}.player img{width:100%;aspect-ratio:1.2;object-fit:contain;background:#10182a}.player-foot{padding:12px;text-align:center;background:#e9edf2;font-size:13px}.home-calendar{width:min(calc(100% - 48px),650px);margin:0 auto 32px}.home-calendar .body{padding:12px 20px}.home-event{display:grid;grid-template-columns:65px 1fr 20px;align-items:center;gap:16px;padding:12px 0;color:#17213b;text-decoration:none;border-bottom:1px solid #b8c2d0}.home-event:last-child{border:0}.home-event>span:first-child{color:#a63e73}.home-event strong{font-weight:400}.home-bottom{width:calc(100% - 48px);max-width:960px;display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 auto 60px}.home-bottom>a{text-decoration:none}.mini-content{display:flex;align-items:center;justify-content:center;gap:24px;padding:24px}.mini-content svg{width:60px}
.weekday{background:#d3dbe7}.day.empty{background:#dce2eb}.day,.weekday,.calendar{border-color:#a4b0c4}.day{min-height:90px}.event-mark{background:#e8c2d7;color:#273047}.event-row{border-color:#b7c0ce}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:0}.member .titlebar{background:linear-gradient(100deg,#dce1e8,#b8c1ce)!important;color:#17213b!important;font-size:15px;padding:6px 9px}.member img{aspect-ratio:1;object-fit:cover}.member-info{padding:18px;text-align:center}.member h2{font-size:24px}.member p{font-size:16px}.page:has(.member-grid){max-width:850px}.cover{background:#17233e;color:#e9aecf;border:2px solid #8d9cbd;box-shadow:6px 7px #b0b9ca}.video{background:#17233e;color:#e9edf7}.play{color:#e7abc8}.exhibit-grid{gap:26px}.exhibit{min-width:0}.exhibit .titlebar{font-size:12px}.exhibit-info h2{font-size:19px}.member-tools:empty{display:none}.member-tools{margin-bottom:20px;font-size:13px}.archive-heading h2{margin:0}.work-grid,.folder-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.folder{background:none;border:0;box-shadow:none;display:flex;align-items:center;flex-direction:column;gap:12px;min-height:170px;justify-content:center;padding:24px;color:#18243e}.folder svg{width:100px;shape-rendering:crispEdges;filter:drop-shadow(3px 4px #a1aac1)}.folder:hover{background:#cdd8ec}.folder strong{font-weight:400}.folder-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:20px;font-size:14px;overflow-wrap:anywhere}.folder-crumb button{color:#24324e;background:none;border:0;text-decoration:underline;min-height:40px}.folder-back{margin-left:auto!important;border:1px solid #8c99b2!important;padding:5px 9px!important;text-decoration:none!important;background:#e9edf2!important}.work-card{min-width:0;padding:10px;text-align:left;background:#f4f6fa;color:#17213b;border:1px solid #b2bfd2;display:block}.work-card img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.work-card strong{display:block;padding:12px 3px 3px;overflow-wrap:anywhere;font-weight:400}.document-icon{aspect-ratio:1;display:grid;place-items:center;background:#18243e}.document-icon svg{width:55%}.work-detail img{width:100%;max-height:70vh;object-fit:contain;background:#19243b}.work-detail h2{margin:24px 0 12px}.work-detail p{line-height:1.9}.empty-state{text-align:center;padding:55px 10px;color:#66748a}.work-detail .actions{margin-top:24px}.work-detail button,#event-manage button,.actions button:not(.block-button){border:1px solid #8997af;background:#e5eaf3;padding:8px 14px;color:#18243e}dialog#member-editor,dialog#event-editor{background:#e9edf2;color:#17213b;border:3px ridge #d9e0ec;box-shadow:8px 9px #0a112980}footer{width:100%;max-width:1100px;margin:auto;padding:20px 24px 32px;color:#d9dfed;font-size:12px;background:none}
@media(max-width:600px){body{background-attachment:scroll;background-position:center top;background-size:auto 100%;}header{padding:8px 10px 0}#menu{width:100%;gap:0;justify-content:space-between}#menu a{font-size:11px;min-height:44px;padding:13px 4px}.midnight-brand{font-size:clamp(23px,6vw,36px);margin:29px 8px 28px;letter-spacing:-.7px}.midnight-brand a::before,.midnight-brand a::after{font-size:10px;padding:0 6px}.page{padding:0 13px;margin-bottom:40px}.body{padding:20px 14px}.titlebar{font-size:14px}.controls span{width:17px;height:17px;font-size:13px;line-height:13px}.desktop .player{left:21%;width:58%}.desktop .shortcut{width:14%;gap:4px}.desktop .shortcut svg{width:75%}.desktop .shortcut span{font-size:9px}.desktop .live,.desktop .music,.desktop .about{left:2%}.desktop .contact,.desktop .works,.desktop .videos{right:2%}.desktop .player .titlebar{font-size:9px;min-height:24px;padding:4px}.player .controls{gap:2px}.player .controls span{width:11px;height:11px;line-height:8px;font-size:9px}.player-foot{font-size:8px;padding:8px}main:has(.desktop) .desktop{width:100%;min-height:0;aspect-ratio:1.4;margin-bottom:28px}.home-calendar{width:calc(100% - 26px);margin-bottom:24px}.home-event{font-size:12px;grid-template-columns:48px 1fr 12px;gap:9px}.home-bottom{width:calc(100% - 26px);gap:12px;margin-bottom:32px}.home-bottom .titlebar{font-size:10px;min-height:25px}.home-bottom .controls{display:none!important}.mini-content{flex-direction:column;gap:10px;padding:18px 10px;font-size:11px}.mini-content svg{width:42px}.member-grid{gap:14px}.member .titlebar{font-size:12px;padding:5px}.member .controls{display:none!important}.member-info{padding:13px 6px}.member h2{font-size:19px}.member p{font-size:12px}.calendar .day{min-height:57px}.event-mark{font-size:9px;line-height:1.35}.day,.weekday{padding:4px}.event-row{font-size:12px}.event-row strong{font-size:16px}.folder-grid,.work-grid{gap:12px}.folder{min-height:150px;padding:18px 8px}.folder svg{width:80px}.folder-crumb{font-size:12px;gap:4px}.work-card{padding:7px}.work-card strong{font-size:13px}.contact-intro{font-size:13px}.exhibit-grid{grid-template-columns:1fr}.page h3{font-size:15px}footer{font-size:10px;padding:16px 14px 25px}}
body{background-position:center top;background-size:100% auto;background-attachment:scroll}body:has(.desktop){display:block}.cover{width:210px;overflow:hidden}.cover img{display:block;width:100%}.desktop .shortcut svg path[fill="#a9b6ed"]{fill:#a9b6ed}.desktop .shortcut svg path[fill="#e6a3c7"]{fill:#e6a3c7}
@media(max-width:600px){body{background-size:auto max(100%,1100px);background-position:center top}.midnight-brand{font-size:clamp(28px,7.5vw,40px)}#menu a{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.nav-indicator{transition:none}.desktop .shortcut svg{animation:none}}
/* Keep navigation on the desktop icons; account controls stay quietly in the footer. */
body > header{display:none!important}
body > footer{flex-wrap:wrap;gap:4px 12px}
footer .account-tools{flex-basis:100%;display:flex;justify-content:flex-end}
footer .account-tools:has(button[hidden]){display:none}
footer .member-login{position:static!important;min-height:44px;padding:8px 0 8px 12px;border:0;background:transparent;color:#bdc5d8;font:inherit;font-size:11px;box-shadow:none;cursor:pointer}
footer .member-login:hover{text-decoration:underline;color:#fff}
footer .member-login:focus-visible{outline:2px solid #bdc5d8;outline-offset:3px}
#calendar-tools{display:grid;justify-items:start;gap:14px;margin:0 0 24px}
#calendar-tools > p,#calendar-tools > button,#calendar-tools > details{margin:0}
#calendar-tools > details{width:100%}
#calendar-tools > details > summary{cursor:pointer;line-height:1.5}
.player img{display:block;aspect-ratio:1;object-fit:contain;background:#000}
.controls span,.player .controls span{position:relative;display:block;flex:none;border:1px solid #65728b;box-shadow:inset 1px 1px #fff,inset -1px -1px #9ca8bc,1px 1px #7c899f}
.controls span::before,.controls span::after{content:'';position:absolute;box-sizing:border-box;background:#19233c}
.controls .window-minimize::before{left:24%;right:24%;height:2px;bottom:25%}
.controls .window-maximize::before{inset:23%;border:1.5px solid #19233c;border-top-width:2px;background:transparent}
.controls .window-close::before,.controls .window-close::after{width:65%;height:2px;left:17.5%;top:calc(50% - 1px);transform:rotate(45deg)}
.controls .window-close::after{transform:rotate(-45deg)}
@media(max-width:600px){.player .controls span{width:15px;height:15px}.player .controls{gap:3px}.desktop .player .titlebar{gap:4px}.player .titlebar strong{min-width:0}}
