/* APNU DX/79. Legacy-oriented static CSS: no Grid, image assets, or downloaded fonts. */
html,body{margin:0;min-height:100%;background:#07120b;color:#a7e8a0}
body{font:15px/1.46 Menlo,Monaco,"Lucida Console","DejaVu Sans Mono",monospace;padding:14px 12px 28px;word-wrap:break-word}
*{box-sizing:border-box}
a,button{color:inherit}button{font:inherit;cursor:pointer;border:1px solid currentColor;background:transparent;padding:7px 10px;border-radius:0;text-align:left;-webkit-appearance:none;appearance:none}
a:focus,button:focus{outline:2px solid currentColor;outline-offset:2px}
.frame{max-width:1010px;margin:0 auto;border:2px solid #568253;min-height:560px;padding:13px 20px 14px;background:#07120b;position:relative}
.frame:before{content:"";display:block;position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:1px solid #26412b;pointer-events:none}
.topline,.bottomline{font-size:11px;letter-spacing:1px;overflow:hidden;padding:6px 2px;border-bottom:1px solid #568253}
.topline .right,.bottomline .right{float:right}
.wordmark{text-align:center;padding:15px 0 10px;border-bottom:1px dotted #568253}
.wordmark h1{font-size:24px;line-height:1.1;margin:0;font-weight:bold}
.rom-art{display:none;max-width:750px;margin:auto;height:auto}
.rom-ready .rom-art{display:block}
.rom-ready .wordmark h1{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wordmark p{font-size:11px;margin:7px 0 0;letter-spacing:2px}
.status{font-size:11px;padding:10px 2px 6px;min-height:34px}
#screen{min-height:385px}
.ascii{margin:8px 0 16px;line-height:1.22;white-space:pre;max-width:100%;overflow:hidden;font-size:12px}
.screen-title{font-weight:bold;border-bottom:1px solid #568253;margin:10px 0 12px;padding-bottom:7px;font-size:15px;letter-spacing:1px}
.description{margin:8px 0 14px;max-width:80ch}
.menu-options{list-style:none;margin:8px 0 15px;padding:0}
.menu-options li{margin:0 0 3px;padding:0}
.menu-options button{display:block;width:100%;border:0;padding:8px 9px;font-size:14px}
.menu-options .selected button,.menu-options button:hover{color:#07120b;background:#a7e8a0}
.option-num{display:inline-block;width:29px}
.meta{font-size:11px;opacity:.85}
.story-list{list-style:none;padding:0;margin:6px 0 15px}
.story-list li{margin:0;border-bottom:1px dotted #375b39;padding:8px 0;line-height:1.35}
.story-list a{display:block;padding:1px 6px;text-decoration:none}
.story-list .selected a,.story-list a:hover{background:#a7e8a0;color:#07120b}
.story-number{display:inline-block;width:30px;vertical-align:top}
.story-head{display:inline-block;max-width:85%;vertical-align:top}
.story-meta{display:block;padding-left:36px;font-size:10px;opacity:.8;margin-top:3px}
.subnav{border-top:1px dotted #568253;margin-top:10px;padding-top:8px;font-size:12px}
.subnav button{padding:5px 9px;margin:0 7px 6px 0}
.tty-line{border-top:1px solid #568253;padding:8px 2px 6px;min-height:35px;font-size:12px;white-space:nowrap;overflow:hidden}
.cursor{display:inline-block;background:#a7e8a0;color:#07120b;width:9px;height:13px;vertical-align:-2px;margin-left:3px}
.cursor.underline{height:2px;vertical-align:-1px;background:currentColor}
.fx .cursor{animation:dx-cursor 1s steps(1) infinite}
@keyframes dx-cursor{0%,49%{opacity:1}50%,100%{opacity:0}}
.softkeys{border-top:1px solid #568253;padding:9px 0 6px;font-size:12px;white-space:normal}
.softkeys button{display:inline-block;width:24.4%;font-size:11px;white-space:nowrap;overflow:hidden;padding:8px 5px;text-align:center;margin:0 0 3px;vertical-align:top}
.softkeys button:hover,.subnav button:hover{background:#a7e8a0;color:#07120b}
.bottomline{border-top:1px solid #568253;border-bottom:0;padding-top:11px}
.muted{opacity:.8}
.help{font-size:12px;line-height:1.7}
.help p{margin:3px 0}
#noscript{padding:12px}
body.ph-amber{background:#170f06;color:#ffd28a}body.ph-amber .frame{background:#170f06}
body.ph-amber .frame,body.ph-amber .topline,body.ph-amber .bottomline,body.ph-amber .wordmark,body.ph-amber .screen-title,body.ph-amber .subnav,body.ph-amber .tty-line,body.ph-amber .softkeys{border-color:#996a33}
body.ph-amber .frame:before{border-color:#5a3c20}
body.ph-amber .menu-options .selected button,body.ph-amber .menu-options button:hover,body.ph-amber .story-list .selected a,body.ph-amber .story-list a:hover,body.ph-amber .softkeys button:hover,body.ph-amber .subnav button:hover{background:#ffd28a;color:#170f06}
body.ph-amber .cursor{background:#ffd28a;color:#170f06}
body.ph-roland{background:#090909;color:#efefed}body.ph-roland .frame{background:#090909}
body.ph-roland .frame,body.ph-roland .topline,body.ph-roland .bottomline,body.ph-roland .wordmark,body.ph-roland .screen-title,body.ph-roland .subnav,body.ph-roland .tty-line,body.ph-roland .softkeys{border-color:#888}
body.ph-roland .frame:before{border-color:#444}
body.ph-roland .menu-options .selected button,body.ph-roland .menu-options button:hover,body.ph-roland .story-list .selected a,body.ph-roland .story-list a:hover,body.ph-roland .softkeys button:hover,body.ph-roland .subnav button:hover{background:#efefed;color:#090909}
body.ph-roland .cursor{background:#efefed;color:#090909}
body.ph-roland.inv{background:#efede5;color:#161616}body.ph-roland.inv .frame{background:#efede5}
body.ph-roland.inv .menu-options .selected button,body.ph-roland.inv .menu-options button:hover,body.ph-roland.inv .story-list .selected a,body.ph-roland.inv .story-list a:hover,body.ph-roland.inv .softkeys button:hover,body.ph-roland.inv .subnav button:hover{background:#161616;color:#efede5}
body.ph-roland.inv .cursor{background:#161616;color:#efede5}
body.ph-blue{background:#102b66;color:#e3efff}body.ph-blue .frame{background:#102b66}
body.ph-blue .frame,body.ph-blue .topline,body.ph-blue .bottomline,body.ph-blue .wordmark,body.ph-blue .screen-title,body.ph-blue .subnav,body.ph-blue .tty-line,body.ph-blue .softkeys{border-color:#91b8ee}
body.ph-blue .frame:before{border-color:#35558e}
body.ph-blue .menu-options .selected button,body.ph-blue .menu-options button:hover,body.ph-blue .story-list .selected a,body.ph-blue .story-list a:hover,body.ph-blue .softkeys button:hover,body.ph-blue .subnav button:hover{background:#e3efff;color:#102b66}
body.ph-blue .cursor{background:#e3efff;color:#102b66}
body.ph-white{background:#171b1d;color:#e7e7df}body.ph-white .frame{background:#171b1d}
body.ph-white .frame,body.ph-white .topline,body.ph-white .bottomline,body.ph-white .wordmark,body.ph-white .screen-title,body.ph-white .subnav,body.ph-white .tty-line,body.ph-white .softkeys{border-color:#909799}
body.ph-white .frame:before{border-color:#454b4e}
body.ph-white .menu-options .selected button,body.ph-white .menu-options button:hover,body.ph-white .story-list .selected a,body.ph-white .story-list a:hover,body.ph-white .softkeys button:hover,body.ph-white .subnav button:hover{background:#e7e7df;color:#171b1d}
body.ph-white .cursor{background:#e7e7df;color:#171b1d}
@media(max-width:650px){body{padding:4px;font-size:13px}.frame{padding:9px 10px;min-height:0}.topline,.bottomline{font-size:9px}.wordmark{padding:12px 0 9px}.wordmark p{font-size:9px;letter-spacing:1px}#screen{min-height:335px}.ascii{font-size:9px}.screen-title{font-size:13px}.menu-options button{font-size:12px}.story-list li{font-size:13px}.softkeys button{font-size:9px;padding:7px 2px}.right{font-size:9px}.description{font-size:12px}}
/* DX/79 operator console: two primary applications, three current headlines, quiet tools.
   Table-cell layout and inline SVG pixel glyphs keep old Safari usable without Grid/webfonts. */
.home-console{margin:10px 0 7px}
.home-instruction{font-size:12px;font-weight:bold;letter-spacing:1px;margin:5px 0 10px}
.home-live{float:right;font-size:10px;font-weight:normal;letter-spacing:0}
.home-workspace{display:table;table-layout:fixed;width:100%;border:1px solid currentColor}
.home-launchers{display:table-cell;width:39%;padding:12px;vertical-align:top;border-right:1px solid currentColor}
.home-app{display:block;width:100%;min-height:137px;padding:13px 10px 11px;margin:0 0 8px;border:1px solid currentColor;text-align:center;background:transparent;white-space:normal}
.home-app:last-child{margin-bottom:0}
.home-app-icon{display:block;width:58px;height:58px;margin:0 auto 8px}
.home-app-icon svg{width:100%;height:100%;display:block}
.home-app-copy{display:block}
.home-app-copy strong{display:block;font-size:15px;letter-spacing:.04em;line-height:1.25}
.home-app-copy>span{display:block;font-size:10px;letter-spacing:.03em;margin-top:4px}
.home-app.selected,.home-app:hover{background:#a7e8a0;color:#07120b}
.home-monitor{display:table-cell;width:61%;padding:13px 17px 12px;vertical-align:top}
.home-monitor-title{font-size:13px;letter-spacing:.08em;padding:0 0 12px;margin-bottom:11px;border-bottom:1px solid currentColor;font-weight:bold}
.home-monitor-title span{float:right;font-size:10px;font-weight:normal;letter-spacing:0}
.home-headlines{list-style:none;padding:0;margin:0}
.home-headlines li{padding:9px 0 10px;border-bottom:1px dotted currentColor;font-size:13px;line-height:1.4}
.home-headlines li:last-child{border-bottom:0}
.home-headlines a{text-decoration:none;display:block}
.home-headlines a:hover{text-decoration:underline}
.home-headlines a span{font-weight:bold;white-space:nowrap}
.home-monitor-wait{font-size:12px;margin-top:26px;line-height:1.5}
.home-hint{font-size:10px;letter-spacing:.025em;margin:9px 0 4px}
.softkeys .softkeys-major{white-space:nowrap}
.softkeys .softkeys-major button{width:49.35%;height:54px;padding:8px 6px;box-sizing:border-box;margin:0 .3% 4px 0;vertical-align:top;white-space:normal}
.softkeys .softkeys-major strong{display:block;font-size:15px;letter-spacing:.045em;line-height:1.2}
.softkeys .softkeys-major span{display:block;font-size:10px;font-weight:normal;opacity:.85;margin-top:4px}
.softkeys .softkeys-minor{text-align:right;line-height:1.5}
.softkeys .softkeys-minor button{width:auto;min-height:32px;padding:5px 11px;margin:0 0 0 4px;border:0;opacity:.75;white-space:normal;vertical-align:top;font-size:10px}
.softkeys .softkeys-minor button:hover,.softkeys .softkeys-minor button:focus{opacity:1}
body.ph-amber .home-app.selected,body.ph-amber .home-app:hover{background:#ffd28a;color:#170f06}
body.ph-roland .home-app.selected,body.ph-roland .home-app:hover{background:#efefed;color:#090909}
body.ph-roland.inv .home-app.selected,body.ph-roland.inv .home-app:hover{background:#161616;color:#efede5}
body.ph-blue .home-app.selected,body.ph-blue .home-app:hover{background:#e3efff;color:#102b66}
body.ph-white .home-app.selected,body.ph-white .home-app:hover{background:#e7e7df;color:#171b1d}
@media(max-width:650px){
 .home-live{float:none;display:block;margin-top:5px}
 .home-workspace{display:block;border:0}
 .home-launchers{display:block;width:100%;border-right:0;padding:0;white-space:nowrap}
 .home-app{display:inline-block;width:49.2%;min-height:131px;margin:0 .5% 0 0;padding:10px 3px;vertical-align:top}
 .home-app-icon{width:43px;height:43px;margin-bottom:8px}
 .home-app-copy strong{font-size:12px}
 .home-app-copy>span{font-size:9px}
 .home-monitor{display:block;width:100%;margin:8px 0 0;padding:12px;border:1px solid currentColor}
 .home-monitor-title{font-size:11px}
 .home-headlines li{font-size:12px;padding:7px 0}
 .home-hint{font-size:9px}
 .softkeys .softkeys-major button{height:48px}
 .softkeys .softkeys-major strong{font-size:11px}
 .softkeys .softkeys-major span{font-size:8px}
 .softkeys .softkeys-minor button{font-size:9px;min-height:35px}
}

@media(prefers-reduced-motion:reduce){.fx .cursor{animation:none}}

/* WarGames-style original DX/79 blue phosphor: film-reference cyan on dark CRT glass.
   Self-hosted VT323 provides squared terminal capital forms, not a screen capture or exact film ROM. */
@font-face{font-family:APNU-CRT;src:url('/fonts/VT323.ttf') format('truetype')}
body.ph-wargames{background:#030a14;color:#85c8f1;font-family:APNU-CRT,"Lucida Console",monospace;font-size:22px;line-height:1.18;letter-spacing:.025em;text-shadow:0 0 3px #2e78b8,0 0 8px #235b9b}
body.ph-wargames .frame{background:#040b18;border-color:#416b97}
body.ph-wargames .frame:before{border-color:#203d5d}
body.ph-wargames .topline,body.ph-wargames .bottomline,body.ph-wargames .wordmark,body.ph-wargames .screen-title,body.ph-wargames .subnav,body.ph-wargames .tty-line,body.ph-wargames .softkeys{border-color:#406a93}
body.ph-wargames .story-list li{border-color:#244568;font-size:21px}
body.ph-wargames .story-meta{font-size:16px}
body.ph-wargames .topline,body.ph-wargames .bottomline{font-size:16px}
body.ph-wargames .status,body.ph-wargames .tty-line{font-size:19px}
body.ph-wargames .description{font-size:21px}
body.ph-wargames .home-instruction{font-size:19px}
body.ph-wargames .home-app-copy strong{font-size:25px}
body.ph-wargames .home-app-copy>span{font-size:16px}
body.ph-wargames .home-monitor-title{font-size:23px}
body.ph-wargames .home-headlines li{font-size:20px}
body.ph-wargames .home-hint{font-size:17px}
body.ph-wargames .softkeys .softkeys-major strong{font-size:23px}
body.ph-wargames .softkeys .softkeys-major span{font-size:17px}
body.ph-wargames .softkeys .softkeys-minor button{font-size:16px}
body.ph-wargames .menu-options button{font-size:23px}
body.ph-wargames .meta{font-size:17px}
body.ph-wargames .ascii{font-size:17px}
body.ph-wargames .screen-title{font-size:24px}
body.ph-wargames .subnav{font-size:17px}
body.ph-wargames .home-app.selected,body.ph-wargames .home-app:hover,
body.ph-wargames .menu-options .selected button,body.ph-wargames .menu-options button:hover,
body.ph-wargames .story-list .selected a,body.ph-wargames .story-list a:hover,
body.ph-wargames .softkeys button:hover,body.ph-wargames .subnav button:hover{background:#85c8f1;color:#040b18;text-shadow:none}
body.ph-wargames .cursor{background:#85c8f1;color:#030a14;box-shadow:0 0 6px #70b9f8}
body.ph-wargames .rom-art svg{filter:drop-shadow(0 0 3px #3e86cd)}
@media(max-width:650px){body.ph-wargames{font-size:19px}body.ph-wargames .home-app-copy strong{font-size:19px}
body.ph-wargames .home-app-copy>span{font-size:14px}body.ph-wargames .home-monitor-title{font-size:20px}
body.ph-wargames .home-headlines li{font-size:19px}body.ph-wargames .softkeys .softkeys-major strong{font-size:19px}
body.ph-wargames .softkeys .softkeys-major span{font-size:13px}
body.ph-wargames .softkeys .softkeys-minor button{font-size:14px}
body.ph-wargames .topline,body.ph-wargames .bottomline{font-size:12px}
body.ph-wargames .story-list li{font-size:20px}
}

/* DX/79 Command Room. CSS2-era table layout, no Grid, full reader access. */
.home-instruction{font-size:15px;line-height:1.45}
.home-workspace{display:block;border:0}.home-launchers{display:block;width:100%;border:0;padding:0;font-size:0;white-space:normal}
.home-app{display:inline-block;vertical-align:top;width:49%;min-height:165px;margin:0 1% 8px 0;padding:10px 12px;text-align:left;font-size:14px;white-space:normal}
.home-app-icon{display:block;width:100%;height:95px;margin:0 0 6px}.home-app-icon svg{display:block;width:100%;height:100%;max-width:190px;margin:auto}
.home-app-copy strong{font-size:16px}.home-app-copy>span{font-size:11px}
.home-app.selected{box-shadow:inset 0 0 13px #85c8f155,0 0 5px currentColor}
.home-monitor{display:block;width:100%;min-height:0;padding:10px 14px;border:1px solid currentColor;margin-top:6px}
.home-monitor-title{padding-bottom:6px;margin-bottom:5px}.home-headlines li{font-size:12px;padding:5px 0}
.home-hint{font-size:11px;line-height:1.5}.dx-plot{fill:none;stroke:currentColor;pointer-events:none}
.dx-transmission{border:1px solid currentColor;margin:6px 0 13px;padding:10px 12px;box-shadow:inset 0 0 12px #85c8f122}
.dx-transmission-label{font-size:11px;border-bottom:1px dotted currentColor;padding-bottom:7px;letter-spacing:.06em}
.dx-transmission-row{display:table;width:100%;table-layout:fixed}.dx-transmission-art{display:table-cell;width:34%;vertical-align:middle;text-align:center}
.dx-transmission-art svg{width:100%;height:115px}.dx-transmission-art small{display:block;font-size:9px;opacity:.65}
#dx-hero-link{display:table-cell;width:66%;vertical-align:middle;padding:12px;font-family:APNU-CRT,"Lucida Console",monospace;font-size:25px;line-height:1.17;text-decoration:none;word-wrap:break-word;text-shadow:0 0 6px currentColor}
#dx-hero-link:hover{text-decoration:underline}.dx-hero-cursor{display:inline-block;width:.55em;height:1em;background:currentColor;vertical-align:-.13em;margin-left:3px}
.fx .dx-hero-cursor{animation:dx-cursor 1s steps(1) infinite}
.dx-transmission-meta{font-size:11px;opacity:.75;border-top:1px dotted currentColor;padding-top:5px}
.rom-ready .rom-art{padding:10px;background:#85c8f1}.rom-ready .rom-art svg path{fill:#030a14}
body.ph-green .rom-art{background:#a7e8a0}body.ph-green .rom-art svg path{fill:#07120b}
body.ph-amber .rom-art{background:#ffd28a}body.ph-amber .rom-art svg path{fill:#170f06}
body.ph-roland .rom-art{background:#efefed}body.ph-roland .rom-art svg path{fill:#090909}
body.ph-roland.inv .rom-art{background:#161616}body.ph-roland.inv .rom-art svg path{fill:#efede5}
body.ph-blue .rom-art{background:#e3efff}body.ph-blue .rom-art svg path{fill:#102b66}
body.ph-white .rom-art{background:#e7e7df}body.ph-white .rom-art svg path{fill:#171b1d}
@media(max-width:650px){.home-instruction{font-size:12px}.home-app{width:49%;min-height:125px;padding:6px;margin:0 1% 6px 0}.home-app-icon{height:60px}.home-app-copy strong{font-size:11px}.home-app-copy>span{font-size:9px}.dx-transmission{padding:7px}.dx-transmission-art{width:30%}.dx-transmission-art svg{height:75px}.dx-transmission-art small{font-size:7px}#dx-hero-link{width:70%;font-size:18px;padding:7px}.dx-transmission-meta{font-size:9px}}
@media(prefers-reduced-motion:reduce){.fx .dx-hero-cursor{animation:none}}

/* DX/79 long MON/ROM identity: keep ESC/R controls on their own row on narrow screens. */
@media(max-width:800px){.bottomline #mode-label,.bottomline .right{display:block;float:none;white-space:normal}.bottomline .right{margin-top:4px}}
