<?php require __DIR__.'/lib.php'; try{reader_id();$diag='';}catch(Throwable $e){$diag=$e->getMessage();}
?><!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><title>The Being — System Test</title><link rel="stylesheet" href="assets/styles.css?v=1"></head><body>
<header class="top"><button id="homeBtn" class="brand">THE BEING</button><div id="crumb" class="crumb"></div><nav><button id="mapBtn" class="hidden">Map</button><button id="libBtn">Library</button></nav></header>
<?php if($diag):?><div class="fatal"><?=htmlspecialchars($diag)?></div><?php endif;?>
<main id="app"><div class="loading">Opening…</div></main>
<div id="modal" class="modal hidden"><div id="modalCard" class="modal-card"></div></div>
<div id="transition" class="transition hidden"><div id="transitionTitle"></div></div>
<script src="assets/app.js?v=1"></script></body></html>
