:root { font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif; color: #263d3d; background: #dbe7e4; font-synthesis: none; }
* { box-sizing: border-box; }
html, body, #app, #scene { width: 100%; height: 100%; margin: 0; overflow: hidden; }
#scene canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.interface { position: absolute; inset: 0; pointer-events: none; }
.interface[hidden] { display: none; }
.masthead { position: absolute; top: 38px; left: 44px; display: flex; align-items: flex-start; gap: 18px; }
.place-mark { display: grid; gap: 4px; width: 28px; padding-top: 8px; transform: rotate(-10deg); }
.place-mark span { display: block; height: 2px; background: #508783; border-radius: 50%; }
.place-mark span:nth-child(2) { width: 22px; margin-left: 4px; }
.place-mark span:nth-child(3) { width: 16px; margin-left: 8px; }
.location { font-size: 10px; font-weight: 700; letter-spacing: .11em; margin: 0 0 8px; color: #66807d; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(28px, 3.1vw, 43px); letter-spacing: -.045em; line-height: 1; margin: 0; color: #243f40; }
.subtitle { font-family: Georgia, serif; font-style: italic; font-size: 14px; color: #68817b; margin: 8px 0 0; }
.side-note { position: absolute; right: 42px; top: 45px; display: grid; gap: 5px; text-align: right; color: #758f89; font-size: 10px; letter-spacing: .09em; }
.controls { position: absolute; bottom: 30px; left: 44px; right: 44px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.instructions { display: flex; gap: 18px; color: #6f8580; font-size: 11px; }
.instructions b { color: #395c59; font-weight: 700; }
.actions { display: flex; align-items: center; gap: 15px; pointer-events: auto; }
button { font: inherit; cursor: pointer; }
.actions button, #copy { color: #325651; border: 1px solid rgba(65, 106, 98, .26); background: rgba(244, 249, 245, .74); border-radius: 100px; padding: 10px 15px; font-size: 11px; font-weight: 700; backdrop-filter: blur(10px); }
.actions button:hover, #copy:hover { background: #fff; }
button:focus-visible, summary:focus-visible { outline: 3px solid #447f78; outline-offset: 3px; }
kbd { font: 10px inherit; border: 1px solid #a1b3a9; border-radius: 3px; padding: 1px 4px; margin: 0 2px; }
.hide-hint { color: #738a83; font-size: 10px; white-space: nowrap; }
dialog { width: min(560px, calc(100vw - 32px)); max-height: min(780px, calc(100vh - 32px)); overflow: auto; padding: 30px 34px 36px; border: 1px solid rgba(68, 111, 102, .2); border-radius: 4px; background: #f4f7f2; color: #39534e; box-shadow: 0 30px 90px #26443e33; }
dialog::backdrop { background: rgba(23, 48, 48, .36); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; }
.close { border: 0; background: transparent; color: #45655e; font-size: 28px; line-height: 1; padding: 0; }
h2 { color: #284947; font-size: 39px; line-height: 1.04; letter-spacing: -.04em; margin: 18px 0; }
h2 em { font-weight: normal; color: #688e80; }
dialog p { font-size: 14px; line-height: 1.65; }
.model { color: #6a7d75; }
details { border-top: 1px solid #cbd9d1; margin-top: 24px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
.prompt-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.prompt-head p { font-size: 11px; color: #758981; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, monospace; color: #526b63; max-height: 320px; overflow: auto; background: #e9f0ea; padding: 18px; }
#error { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); padding: 20px; background: #f4f7f2; }
@media (max-width: 700px) { .masthead { top: 24px; left: 22px; gap: 10px; } .side-note { top: 28px; right: 20px; } .controls { left: 20px; right: 20px; bottom: 20px; } .instructions { display: none; } .actions { width: 100%; gap: 8px; justify-content: space-between; } .actions button { padding: 10px 12px; } .hide-hint { font-size: 9px; } }
