@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--ink:#203b35;--muted:#546d60;--paper:#f7f4e9;--peach:#eebd88;--line:#203b3529;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',sans-serif;color-scheme:light}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#d3e4dd;color:var(--ink);font-family:var(--sans)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:3px solid #ce784d;outline-offset:5px}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}#world,#world canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}.masthead{position:fixed;z-index:4;top:max(28px,env(safe-area-inset-top));left:max(40px,env(safe-area-inset-left));right:max(40px,env(safe-area-inset-right));display:flex;align-items:center;gap:32px}.wordmark{font-family:var(--serif);font-size:35px;letter-spacing:-1.5px;color:inherit;text-decoration:none;display:flex;align-items:center}.period{color:#b2754b}.sunmark{font:34px Georgia;margin-right:12px;line-height:1}.edition{font-size:10px;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;gap:10px}.edition i{width:3px;height:3px;background:currentColor;border-radius:50%}.round-button{margin-left:auto;border:1px solid var(--line);background:#f7f4e961;width:44px;height:44px;border-radius:50%;font-size:19px;backdrop-filter:blur(10px)}.welcome{position:fixed;z-index:3;left:6.4vw;top:24vh;max-width:370px;transition:opacity .8s,transform .8s}.eyebrow{font-size:9px;font-weight:600;letter-spacing:.23em}.welcome h1{font:500 clamp(46px,5.8vw,82px)/1.08 var(--serif);letter-spacing:-.065em;margin:23px 0}.welcome h1 em{font-weight:500}.welcome p{font-size:13px;line-height:1.95;color:var(--muted);margin:0 0 30px}.primary{background:var(--ink);color:var(--paper);border-radius:40px;padding:18px 29px;font-size:12px;font-weight:500;letter-spacing:.03em;box-shadow:0 6px 18px #203b3512;transition:background .2s,transform .2s;touch-action:none}.primary:hover{background:#375b47;transform:translateY(-2px)}.primary span{margin-left:25px}.welcome-foot{display:block;font-size:9px;color:var(--muted);margin-top:20px;letter-spacing:.015em}.island-label{position:fixed;z-index:2;right:10vw;bottom:16vh;text-align:right;pointer-events:none}.island-label span{font-size:9px;letter-spacing:.2em}.island-label p{font:italic 16px var(--serif);margin:9px 0}.ambient-caption{position:fixed;bottom:max(26px,env(safe-area-inset-bottom));left:40px;right:40px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.13em;text-transform:uppercase;pointer-events:none;z-index:3}.settings,.journal{position:fixed;z-index:8;right:max(24px,env(safe-area-inset-right));top:94px;width:min(340px,calc(100vw - 36px));padding:24px;border:1px solid #ffffffa0;border-radius:18px;background:#f7f4e9ed;backdrop-filter:blur(20px);box-shadow:0 18px 70px #102c3030}.settings-heading{display:flex;align-items:center}.settings h2,.journal h2{font:500 27px var(--serif);margin:0 0 20px;letter-spacing:-1px}.settings-heading .round-button{width:32px;height:32px;margin-bottom:20px}.settings fieldset{border:0;padding:0;margin:0 0 24px}.settings legend{font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}.choices{display:flex;flex-wrap:wrap;gap:7px}.choices button,.settings-actions button,.journal button{padding:10px 12px;border-radius:8px;font-size:11px;background:#203b350a;border:1px solid var(--line)}.choices button.active{background:var(--ink);color:var(--paper)}.settings-actions{display:flex;flex-wrap:wrap;gap:8px}.settings p,.journal p{font-size:11px;line-height:1.7;color:var(--muted)}.play-controls{position:fixed;z-index:5;bottom:max(65px,calc(env(safe-area-inset-bottom) + 36px));left:40px;right:40px;display:flex;gap:18px;align-items:center}.play-copy{margin-right:auto;background:#f7f4e9d4;padding:14px 20px;border-radius:14px;backdrop-filter:blur(14px);max-width:430px}.play-copy p{font-size:12px;margin:8px 0 0;line-height:1.5}.journal-button{padding:15px 18px;border:1px solid var(--line);border-radius:30px;background:#f7f4e9c2;font-size:12px}.journal-button span{margin-left:10px}.journal ol{padding-left:20px;max-height:50vh;overflow:auto;font-size:13px;line-height:2.2}.catch-toast{position:fixed;z-index:6;left:50%;top:18%;transform:translateX(-50%);text-align:center;padding:24px 35px;border-radius:18px;background:#f7f4e9ec;min-width:270px;box-shadow:0 10px 70px #102c3020;pointer-events:none}.catch-toast h2{font:500 32px var(--serif);margin:8px}.catch-toast p{font-size:11px}.error{position:fixed;z-index:10;inset:30%;padding:25px;border-radius:20px;background:var(--paper);text-align:center}.error button{background:var(--ink);color:var(--paper);border-radius:20px;padding:10px 18px}.entered .welcome{opacity:0;transform:translateY(15px);pointer-events:none}.entered .island-label{display:none}.night{--ink:#edf0d7;--muted:#cfdbc7;--line:#d8e1d140}.night .settings,.night .journal,.night .play-copy,.night .catch-toast{background:#183b3ce8}.night .primary{background:#e7d8ad;color:#183b3c}.night .round-button,.night .journal-button{background:#173333a0}.night .choices button.active{background:#d9ddc7;color:#173b34}
@media(max-width:900px){.masthead{left:24px;right:24px}.edition{display:none}.welcome{left:6vw;top:22vh;max-width:240px}.welcome h1{font-size:58px}.island-label{right:6vw;bottom:19vh}.play-controls{left:20px;right:20px;gap:10px}.play-copy{max-width:320px}.ambient-caption{left:24px;right:24px}}
@media(max-width:600px) and (orientation:portrait){.masthead{top:max(20px,env(safe-area-inset-top));left:22px;right:22px}.wordmark{font-size:30px}.welcome{top:16vh;max-width:300px}.welcome h1{font-size:50px;margin:15px 0}.welcome p{font-size:12px;line-height:1.75;margin-bottom:18px}.welcome-foot{display:none}.welcome .primary{padding:15px 24px}.island-label{bottom:13vh}.island-label p{font-size:13px}.ambient-caption{font-size:8px;bottom:max(20px,env(safe-area-inset-bottom))}.ambient-caption #loading{display:none}.play-controls{bottom:max(56px,calc(env(safe-area-inset-bottom) + 30px));flex-wrap:wrap;gap:8px}.play-copy{flex:1 0 100%;max-width:none}.play-controls .primary{flex:1}.settings{top:82px}.catch-toast{top:16%;max-width:90vw}}
@media(max-height:540px) and (orientation:landscape){.masthead{top:12px;left:20px;right:20px}.wordmark{font-size:27px}.round-button{width:34px;height:34px}.welcome{top:23vh;left:5vw}.welcome h1{font-size:44px;margin:12px 0}.welcome p{font-size:11px;line-height:1.5;margin-bottom:16px}.welcome-foot{display:none}.welcome .primary{padding:13px 23px}.eyebrow{font-size:8px}.ambient-caption{bottom:12px}.play-controls{bottom:38px}.play-copy{padding:10px 15px;max-width:300px}.settings{top:60px;bottom:30px;overflow:auto}.island-label{bottom:20vh}.catch-toast{top:18%;padding:18px}.edition{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Rod stick (2026-10-05): the analogue control that replaced the Cast button. */
.rod{position:relative;flex:0 0 auto;width:118px;height:118px;border-radius:50%;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:grab}
.rod:active{cursor:grabbing}
.rod-ring{position:absolute;inset:0;border-radius:50%;border:1px solid var(--line);background:#f7f4e9b8;backdrop-filter:blur(12px);box-shadow:0 6px 18px #203b3512}
.rod-ring::before{content:"";position:absolute;left:50%;top:14px;bottom:14px;width:1px;background:#203b3533;transform:translateX(-50%)}
.rod-knob{position:absolute;left:50%;top:50%;width:46px;height:46px;border-radius:50%;background:var(--ink);box-shadow:0 4px 14px #203b3540;transform:translate(-50%,-50%);transition:transform .08s linear,background .2s}
.rod.pulling .rod-knob{background:#375b47}
.rod.red .rod-knob{background:#c8503a}
.rod-label{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);white-space:nowrap;font-size:10px;letter-spacing:.04em;color:var(--ink);opacity:.85}
.night .rod-ring{background:#173333a0;border-color:#f7f4e92a}.night .rod-ring::before{background:#f7f4e92a}.night .rod-knob{background:#e7d8ad}.night .rod.pulling .rod-knob{background:#f3e4b8}.night .rod-label{color:var(--paper)}
@media(max-width:600px){.rod{width:104px;height:104px}.rod-knob{width:42px;height:42px}}
