:root{font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;color:#533b2b;background:#e3c196}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}button,a,label{font:inherit}button{cursor:pointer}.app{height:100dvh;width:100%;display:flex;background:#dbc5a5}.scene{position:relative;flex:1;min-width:0;min-height:0;isolation:isolate;overflow:hidden;background:#e3c196}#world{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#world:active{cursor:grabbing}.brand{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;pointer-events:none}.brand-title{font-size:19px;letter-spacing:-.055em;font-weight:540;color:#f3e8d4;line-height:1}.brand-dot{color:#a27753}.brand-tag{font-size:9px;letter-spacing:.055em;color:#e4dbcc;line-height:1.4}.scene-label{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.15em;font-weight:700;color:#fbe5c2;pointer-events:none}.scene-divider{opacity:.42}.live-dot{width:6px;height:6px;background:#c3d4ab;border-radius:50%}.scene-tools{position:absolute;z-index:4;right:clamp(15px,3vw,36px);bottom:clamp(12px,2.7vh,26px);display:flex;gap:7px;background:#f7ecdacb;padding:7px;border-radius:99px;box-shadow:0 6px 30px #70503128;backdrop-filter:blur(12px)}.scene-tools button{background:#fffdf86e;border:0;border-radius:99px;min-width:36px;height:36px;padding:0 11px;color:#73523b;font-size:17px}.scene-tools button:hover{background:#fffdf8}.scene-tools #clock{font-size:12px}.settings{position:absolute;z-index:5;right:clamp(15px,3vw,36px);bottom:calc(clamp(12px,2.7vh,26px) + 61px);width:min(335px,calc(100vw - 30px));max-height:calc(100dvh - 105px);overflow-y:auto;background:#fff8ebf2;border:1px solid #fff9ef9e;box-shadow:0 12px 40px #593b325c;border-radius:18px;padding:19px;backdrop-filter:blur(20px)}.settings[hidden]{display:none}.settings-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.settings-head strong{font-size:14px}.settings-head button{border:0;background:none;font-size:24px;color:#8a715e}.settings-note{font-size:12px;line-height:1.7;color:#806b59;margin:5px 0 14px}.controls,.backup-tools,.nav-controls{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.settings button:not(.settings-head button),.backup-tools label{border:1px solid #e0cbb1;background:#fffdf8;color:#76543c;border-radius:11px;padding:9px 11px;font-size:12px}.settings button[aria-pressed=true]{background:#876a4e;color:#fff}.backup-tools input{display:none}.settings details{border-top:1px solid #e4d3be;padding-top:11px;margin-top:15px}.settings summary{font-size:12px;cursor:pointer;font-weight:700}.mode-link{display:block;font-size:12px;color:#806147;text-decoration:none;padding:10px 0;border-top:1px solid #e7d9c7}.build{font-size:10px;color:#b19e89}.ambient-status{font-size:11px;line-height:1.45;color:#fce4c7;pointer-events:none}.widget-mode .brand,.widget-mode .scene-label,.widget-mode .scene-tools,.widget-mode .settings,.widget-mode .ambient-status{display:none!important}body[data-mode=puck]{background:radial-gradient(ellipse at 50% 20%,#fff9ec,#e5d6bd);overflow:auto}body[data-mode=puck] .app{height:auto;min-height:100dvh;background:transparent;align-items:center;justify-content:center;padding:80px 12px;flex-direction:column}body[data-mode=puck] .scene{flex:none;width:min(440px,calc(100vw - 24px));aspect-ratio:1;border-radius:50%;filter:drop-shadow(0 13px 18px #7962463d);overflow:visible}body[data-mode=puck] #world{border-radius:50%}body[data-mode=puck] .scene-label,body[data-mode=puck] .ambient-status{display:none}body[data-mode=puck] .scene-tools{bottom:-60px;right:50%;transform:translateX(50%)}body[data-mode=puck] .settings{bottom:-8px;right:0;transform:translateY(100%)}@media(max-width:650px){.scene-tools{right:12px;bottom:13px}.settings{right:12px;bottom:72px}}@media(max-height:380px){.scene-tools{bottom:10px}}
/* v0.9: Responsive interactive clock and countdown; independent of world scale. */
.timepiece{position:absolute;z-index:6;top:clamp(18px,4vh,38px);left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:11px;max-width:calc(100% - 22px);white-space:nowrap;color:#74543b;font-variant-numeric:tabular-nums}
.timepiece[hidden]{display:none!important}
.time-btn{border:0;color:inherit;cursor:pointer;font-family:inherit;line-height:1;touch-action:manipulation}
.time-primary{font-weight:520;font-size:var(--minutopia-clock-px,clamp(24px,2.75vw,36px));letter-spacing:-.05em;background:transparent;padding:0 5px;text-shadow:0 1px 0 #fff4}
.clock-face:hover,.clock-face:focus-visible{opacity:.74}
.timepiece[data-timer-mode="setup"],.timepiece[data-timer-mode="running"],.timepiece[data-timer-mode="paused"]{background:#fff4e2d9;border:1px solid #fff8e9cf;box-shadow:0 4px 22px #6b4b3022;border-radius:20px;padding:6px 10px;backdrop-filter:blur(7px)}
.time-side{display:flex;flex-direction:column;gap:4px}
.time-side .time-btn{font-size:var(--minutopia-side-px,12px);font-weight:650;min-width:clamp(30px,calc(var(--minutopia-clock-px,32px)*.85),54px);min-height:clamp(22px,calc(var(--minutopia-clock-px,32px)*.57),34px);border-radius:7px;background:#e9d1af94}
.time-side .time-btn:hover{background:#dcc09c}
.time-icon{font-size:clamp(17px,calc(var(--minutopia-clock-px,32px)*.53),32px);font-weight:600;min-width:clamp(35px,calc(var(--minutopia-clock-px,32px)*1.12),62px);min-height:clamp(37px,calc(var(--minutopia-clock-px,32px)*1.12),62px);border-radius:11px;background:#e9d1af94}
.time-icon:hover{background:#dfc19a}
.time-current{font-size:var(--minutopia-current-px,clamp(24px,2.7vw,36px));font-weight:540;min-width:94px;text-align:center;letter-spacing:-.04em}
.puck-pan{display:none}
@media(max-width:600px){
 html.widget-mode body[data-mode=panorama] .timepiece{top:16px}
 .timepiece[data-timer-mode="setup"],.timepiece[data-timer-mode="running"],.timepiece[data-timer-mode="paused"]{gap:7px;padding:5px 6px}
 .time-current{min-width:74px}
}
body[data-mode=puck] .timepiece{top:18%;max-width:72%}
body[data-mode=puck] .time-primary{font-size:var(--minutopia-clock-px,clamp(20px,5.6vw,29px))}
body[data-mode=puck] .time-current{font-size:var(--minutopia-current-px,clamp(19px,5vw,28px));min-width:62px}
body[data-mode=puck] .time-side .time-btn{min-width:26px;min-height:22px;font-size:11px}
body[data-mode=puck] .time-icon{min-width:26px;min-height:31px;font-size:16px}
body[data-mode=puck] .timepiece[data-timer-mode="setup"],body[data-mode=puck] .timepiece[data-timer-mode="running"],body[data-mode=puck] .timepiece[data-timer-mode="paused"]{top:16%;gap:3px;padding:3px 4px;max-width:84%;border-radius:12px}
body[data-mode=puck] .puck-pan{display:block;position:absolute;inset:0;z-index:5;pointer-events:none}
body[data-mode=puck] .puck-pan button{pointer-events:auto;position:absolute;width:33px;height:33px;border:1px solid #e1c6a16e;border-radius:50%;background:#fff3d6af;color:#775a43;font-size:13px;opacity:.72;cursor:pointer;touch-action:manipulation}
body[data-mode=puck] .puck-pan button:hover,body[data-mode=puck] .puck-pan button:focus-visible{opacity:1;background:#fff5df}
body[data-mode=puck] .puck-pan [data-pan="up"]{top:4px;left:50%;transform:translateX(-50%)}
body[data-mode=puck] .puck-pan [data-pan="down"]{bottom:4px;left:50%;transform:translateX(-50%)}
body[data-mode=puck] .puck-pan [data-pan="left"]{left:4px;top:50%;transform:translateY(-50%)}
body[data-mode=puck] .puck-pan [data-pan="right"]{right:4px;top:50%;transform:translateY(-50%)}
.widget-mode .puck-pan{display:none!important}
@media(max-width:360px){body[data-mode=puck] .timepiece{top:18%}body[data-mode=puck] .puck-pan button{width:27px;height:27px;font-size:11px}}

/* v0.9.2: Settings always take priority over the clock. */
.settings{z-index:10}
.settings-head{position:sticky;top:-19px;z-index:1;margin:-19px -19px 7px;padding:14px 19px 7px;background:#fff8eb}
.scene.settings-open .timepiece{visibility:hidden;pointer-events:none}
.scene-tools [hidden],.controls [hidden]{display:none!important}
.mini-placeholder{display:none;align-items:center;justify-content:center;flex-direction:column;gap:17px;
  width:100%;height:100%;text-align:center;color:#74533d;padding:24px}
.mini-placeholder:not([hidden]){display:flex}
.mini-placeholder strong{font-size:22px;font-weight:550}
.mini-placeholder p{margin:0;line-height:1.6;max-width:300px;color:#806b59;font-size:14px}
.mini-placeholder button{background:#fff8eb;border:1px solid #d8bea0;color:#684b35;
  padding:11px 17px;border-radius:99px;cursor:pointer}
.mini-placeholder button:hover{background:#fffdf7}

/* v0.9.4: Small, explicit exit from countdown setup. Visible on all devices. */
.timepiece[data-timer-mode=setup] .time-cancel{
  position:absolute;right:-11px;top:-12px;z-index:2;
  width:28px;height:28px;min-width:28px;padding:0;border:1px solid #cfb293;
  border-radius:50%;background:#fff8e9;color:#705039;font-size:19px;line-height:1;
  box-shadow:0 2px 9px #6b4b302b;display:flex;align-items:center;justify-content:center;
}
.timepiece .time-cancel:hover,.timepiece .time-cancel:focus-visible{background:#ffffff;outline-offset:2px}
body[data-mode=puck] .timepiece .time-cancel{width:25px;height:25px;min-width:25px;top:-11px;right:-10px;font-size:17px}

/* v0.9.5: accessible two-row timer and distinct coloured states. */
.timepiece[data-timer-mode=setup]{flex-direction:column;gap:5px;padding:8px 10px;border-radius:17px}
.timer-row{display:flex;align-items:center;justify-content:center;gap:5px;width:100%}
.timer-adjust-row .timer-preview{font-size:var(--minutopia-current-px,32px);font-weight:550;line-height:1;min-width:3.8ch;text-align:center;margin:0 5px;font-variant-numeric:tabular-nums}
.timepiece .timer-adjust{font-size:clamp(10px,calc(var(--minutopia-clock-px,30px)*.35),17px);font-weight:650;background:#e5cba8;color:#684b36;border-radius:8px;padding:0 6px;min-width:clamp(29px,calc(var(--minutopia-clock-px,30px)*.82),43px);height:clamp(25px,calc(var(--minutopia-clock-px,30px)*.83),38px)}
.timer-action-row{gap:10px}
.timepiece .timer-cancel,.timepiece .timer-start{font-size:19px;font-weight:650;border-radius:12px;min-width:53px;height:31px;padding:0 12px}
.timepiece .timer-cancel{background:#f9f1e5;color:#795946;border:1px solid #dfc4a6}
.timepiece .timer-start{background:#557e72;color:#fff;border:1px solid #527466}
.timepiece .timer-cancel:hover,.timepiece .timer-start:hover{filter:brightness(1.08)}
.timepiece[data-timer-mode=running]{background:#557e72;color:#fff;border-color:#4c756a;border-radius:999px;box-shadow:0 5px 20px #46655d39}
.timepiece[data-timer-mode=paused]{background:#81765f;color:#fff;border-color:#746850;border-radius:999px}
.timepiece[data-timer-mode=done]{background:#b56f58;color:#fff;border:1px solid #a5624e;border-radius:999px;padding:8px 21px;box-shadow:0 5px 20px #9558443b}
.timepiece[data-timer-mode=running] .time-icon,.timepiece[data-timer-mode=paused] .time-icon{background:#ffffff25;color:white}
.timepiece[data-timer-mode=done] .time-primary{color:white;text-shadow:none}
.timer-settings{border-top:1px solid #e4d3be;margin:9px 0;padding-top:10px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.timer-settings label{font-size:12px;color:#76543c;font-weight:650}
.timer-settings input{font-size:13px;color:#76543c;border:1px solid #dfcbb0;border-radius:9px;padding:7px 8px;background:#fffdf8;max-width:83px}
.timer-settings span{font-size:11px;color:#95816c}
body[data-mode=puck] .timer-adjust-row{gap:2px}
body[data-mode=puck] .timepiece[data-timer-mode=setup]{top:14%;max-width:91%;padding:5px 6px;gap:3px}
body[data-mode=puck] .timer-adjust-row .timer-preview{margin:0 2px}
body[data-mode=puck] .timepiece .timer-adjust{min-width:24px;height:24px;padding:0 3px}
body[data-mode=puck] .timepiece .timer-cancel,body[data-mode=puck] .timepiece .timer-start{height:27px;min-width:44px;font-size:16px}

/* v0.9.9: one-touch short-break setup. Start is inert at 0:00. */
.timepiece .timer-zero{
  font-size:21px;font-weight:600;border:1px solid #d7c3a5;
  border-radius:12px;min-width:42px;height:31px;padding:0 10px;
  color:#6b5a45;background:#f5e8d6;
}
.timepiece .timer-zero:hover{background:#fff9ed}
.timepiece .timer-start:disabled{opacity:.38;cursor:not-allowed;filter:none}
body[data-mode=puck] .timepiece .timer-zero{
  min-width:36px;height:27px;padding:0 6px;font-size:18px;
}


/* All worlds share the observer controls and clock geometry. */
.world-switch{display:flex;gap:7px;padding:10px 0 5px;margin-bottom:5px}
.world-switch a{flex:1;text-align:center;text-decoration:none;font-size:12px;color:#76543c;background:#fffdf8;border:1px solid #e0cbb1;border-radius:11px;padding:10px 7px}
.world-switch a[aria-current=page]{background:#876a4e;color:#fff;border-color:#876a4e}

.scene .timepiece[data-timer-mode=clock]{background:#f4ebd5cc;padding:5px 12px;border-radius:999px;backdrop-filter:blur(6px)}

.scene select{font:inherit;font-size:12px;max-width:165px;border:1px solid #cfbda5;border-radius:8px;padding:7px;color:#684b35;background:#fffaf0}
.scene[data-ambience=night] .timepiece[data-timer-mode=clock]{background:#102133d9;color:#f0dfbd}

/* Shared, explicit observation controls. */
.scene-tools{gap:5px;padding:5px;background:#edf0e6d9;border:1px solid #ffffff70;box-shadow:0 4px 18px #203c4724;backdrop-filter:blur(8px)}
.scene-tools button{display:grid;place-items:center;min-width:40px;height:40px;padding:8px;background:transparent;color:#425968;border-radius:50%}
.scene-tools button:hover,.scene-tools button:focus-visible{background:#ffffffb8;outline-offset:3px}
.scene-tools svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.scene[data-world=crossing] #world{cursor:default;touch-action:manipulation}
.scene[data-ambience=night] .scene-tools{background:#162a40db;border-color:#40566b80}
.scene[data-ambience=night] .scene-tools button{color:#d5dce3}
body[data-mode=puck] .scene-tools{bottom:13px;right:31px;transform:none;gap:2px;padding:3px;z-index:6}
body[data-mode=puck] .scene-tools button{min-width:30px;height:30px;padding:5px}
body[data-mode=puck] .scene-tools svg{width:18px;height:18px}
body[data-mode=puck] .scene[data-world=crossing] .timepiece{top:12%;max-width:65%}

/* Widget controls appear on hover, keyboard focus, or a touch tap. */
.widget-mode .scene-tools{display:flex!important;opacity:0;pointer-events:none;transition:opacity .15s}
.widget-mode .scene:hover .scene-tools,.widget-mode .scene:focus-within .scene-tools,.widget-mode .scene.show-tools .scene-tools{opacity:1;pointer-events:auto}
.widget-mode .settings:not([hidden]){display:block!important}

/* v1.6: One compact bottom caption; the clock alone occupies the top. */

/* Atmosphere keeps the shared clock/tools, with a quiet map palette. */
.scene[data-world=atmosphere]{background:#294b60}
.scene[data-world=atmosphere] #world{cursor:default;touch-action:manipulation}
.scene[data-world=atmosphere] .timepiece[data-timer-mode=clock]{background:#183145b3;color:#f2ead5}
.scene[data-world=atmosphere] .brand-dot{color:#9bbbc1}
.world-switch{flex-wrap:wrap}
.world-switch a{font-size:11px;min-width:75px}
body[data-mode=puck] .scene[data-world=atmosphere] .timepiece{top:12%;max-width:65%}

/* v1.9.4: quiet, optional web sound controls. */
#sound-toggle .sound-waves{display:none}
#sound-toggle[aria-pressed=true] .sound-waves{display:initial}
#sound-toggle[aria-pressed=true] .sound-slash{display:none}
.ambient-controls>label{display:block;font-size:12px;margin:12px 0 6px;color:#76543c}
.ambient-controls select{width:100%;max-width:100%;padding:9px 10px;border:1px solid #e0cbb1;border-radius:10px;background:#fffdf8;color:#76543c;font:inherit;font-size:12px}
.ambient-volume-row{display:flex;justify-content:space-between;align-items:center;margin:12px 0 3px;font-size:12px;color:#76543c}
.ambient-controls input[type=range]{display:block;width:100%;min-height:32px;margin:0 0 6px;accent-color:#876a4e}
.ambient-controls .settings-note{margin:10px 0 2px}

.ambient-controls .ambient-horns{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.5;margin:12px 0;color:#76543c}
.ambient-controls .ambient-horns[hidden]{display:none}
.ambient-horns input{accent-color:#876a4e}
.ambient-credits{display:inline-block;margin-top:9px;font-size:11px;color:#806b59}
#sound-toggle[aria-busy=true]{opacity:.65}
/* v1.9.6: branding belongs in Settings; a quiet local notes drawer. */
.settings-brand{display:grid;gap:7px;padding:5px 0 13px}
.settings-brand .brand-title{font-size:25px;color:#425968}
.settings-brand .brand-dot{color:#7f9f9b}
.settings-brand .brand-tag{font-size:10px;color:#806b59;letter-spacing:.035em}
.world-status{font-size:11px;border-bottom:1px solid #e4d3be;padding-bottom:12px}
.notes-panel{position:absolute;z-index:10;right:clamp(15px,3vw,36px);bottom:calc(clamp(12px,2.7vh,26px) + 61px);width:min(360px,calc(100% - 24px));max-height:calc(100% - 100px);padding:18px;overflow:auto;background:#fff8ebf5;border:1px solid #fff9efb0;border-radius:18px;box-shadow:0 12px 40px #293a4238;backdrop-filter:blur(20px);color:#425968;font-size:13px;overscroll-behavior:contain}
.notes-panel[hidden],.notes-panel [hidden],.pinned-note[hidden]{display:none!important}
.notes-panel button,.notes-panel input,.notes-panel textarea{font:inherit;color:inherit}
.notes-panel button{border:1px solid #dfd9cd;border-radius:10px;padding:8px 10px;background:#fffdf8;touch-action:manipulation}
.notes-panel button:hover{background:#f0eadf}
.notes-panel button:disabled{opacity:.45;cursor:default}
.notes-panel :focus-visible,.pinned-note :focus-visible{outline:2px solid #668782;outline-offset:2px}
.notes-head{position:sticky;top:-18px;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#fff8eb;margin:-18px -18px 12px;padding:11px 13px 7px 18px}
.notes-head strong{font-size:14px;font-weight:600}
.notes-head #notes-close{border:0;background:transparent;padding:3px;font-size:25px;width:36px;min-height:36px;color:#806b59}
.notes-action{display:flex;justify-content:flex-end;margin-bottom:10px}
.note-card{border:1px solid #e7decb;border-radius:12px;background:#fffdf6;margin:10px 0;overflow:hidden}
.note-card-head{display:flex;align-items:center;gap:2px;padding:5px 6px 0 12px}
.note-card-head>span{flex:1;color:#8a8476;font-size:11px}
.notes-panel .notes-icon,.pinned-note .notes-icon{display:grid;place-items:center;width:30px;min-width:30px;height:30px;padding:6px;background:transparent;border:0;border-radius:8px;color:#8a8476}
.notes-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.notes-panel .notes-icon[aria-pressed=true]{background:#e3ebe5;color:#354f4b}
.note-card textarea{display:block;width:100%;min-height:98px;max-height:340px;padding:9px 12px 12px;border:0;border-radius:0 0 12px 12px;background:transparent;resize:vertical;line-height:1.6;overflow-wrap:anywhere}
.note-card textarea::placeholder,.todo-form input::placeholder{color:#aaa28f}
.todo-form{display:flex;gap:6px;margin-bottom:14px}
.todo-form input{flex:1;min-width:0;padding:9px 10px;border:1px solid #dfd9cd;border-radius:10px;background:#fffdf8}
.todos-list{list-style:none;padding:0;margin:0}
.todo-row{display:grid;grid-template-columns:21px minmax(0,1fr) 28px 28px;align-items:center;gap:3px;padding:6px 0;border-bottom:1px solid #ebe5d9}
.todo-row>input[type=checkbox],.pinned-content>input{width:17px;height:17px;margin:0;accent-color:#668782}
.todo-row .todo-text{min-width:0;width:100%;padding:7px 3px;border:0;background:transparent;font-size:13px}
.todo-row.is-done .todo-text{text-decoration:line-through;color:#969488}
.notes-panel details{border-top:1px solid #e2dccf;padding-top:12px;margin-top:16px}
.notes-panel summary{cursor:pointer;font-size:12px;font-weight:600}
.notes-backups p{font-size:11px;line-height:1.6;color:#827b6b;margin:10px 0}
.notes-backup-tools{display:flex;gap:6px;flex-wrap:wrap}
.notes-panel .notes-backup-tools button{font-size:11px;padding:8px}
#notes-import-review{padding-top:4px}
.notes-empty{font-size:12px;line-height:1.7;color:#948a76;margin:18px 4px}
.notes-feedback{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-height:23px;margin-top:14px;font-size:10px;line-height:1.6;color:#8a8476}
.notes-feedback[data-error=true]{color:#984b38}
.notes-panel #notes-undo{border:0;background:transparent;text-decoration:underline;padding:2px;font-size:11px}
.scene.notes-open .timepiece,.scene.notes-open .pinned-note,.scene.settings-open .pinned-note{visibility:hidden;pointer-events:none}
.pinned-note{position:absolute;z-index:4;top:85px;left:clamp(15px,3vw,36px);width:min(260px,calc(100% - 30px));max-height:calc(100% - 160px);padding:10px 7px 10px 12px;display:flex;align-items:flex-start;gap:4px;border:1px solid #fff9e8a6;border-radius:12px;background:#fff8e8de;backdrop-filter:blur(10px);box-shadow:0 5px 20px #293a421c;color:#53615a;font-size:12px}
.pinned-content{display:flex;align-items:flex-start;gap:8px;flex:1;min-width:0;padding-top:5px;overflow:hidden}
.pinned-note .pinned-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;min-width:0;max-height:calc(100dvh - 190px);padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;cursor:pointer}
.pinned-note .notes-icon:hover{background:#e3ebe5}
@media(max-width:650px){.notes-panel{right:12px;bottom:72px;max-height:calc(100% - 85px)}}
@media(max-height:380px){.notes-panel{bottom:60px;max-height:calc(100% - 72px)}.pinned-note{top:66px}}
/* v1.9.7: centred observer dock, with direct notes and task entrances. */
body[data-mode=panorama] .scene-tools{left:50%;right:auto;transform:translateX(-50%);max-width:calc(100% - 20px);width:max-content}
body[data-mode=panorama] .settings,body[data-mode=panorama] .notes-panel{left:50%;right:auto;transform:translateX(-50%)}
@media(max-width:420px){body[data-mode=panorama] .scene-tools{gap:3px}body[data-mode=panorama] .scene-tools button{min-width:36px;width:36px;height:36px;padding:7px}}
@media(max-width:320px){body[data-mode=panorama] .scene-tools{gap:2px;padding:4px}body[data-mode=panorama] .scene-tools button{min-width:28px;width:28px;height:30px;padding:5px}}
/* v1.9.8: quiet archived-note previews; restore before editing. */
.note-card.is-archived{background:#f3efe5;border-color:#e3ddcf}
.note-card.is-archived textarea{color:#7e8076;resize:none;min-height:76px}
/* Hold the speaker for a small, direct volume control. */
#sound-toggle{touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.volume-popover{position:absolute;z-index:11;left:50%;bottom:calc(clamp(12px,2.7vh,26px) + 61px);transform:translateX(-50%);width:min(240px,calc(100% - 24px));padding:10px 14px 12px;border-radius:15px;border:1px solid #fff9efb0;background:#fff8ebf5;box-shadow:0 8px 28px #293a4238;backdrop-filter:blur(20px);color:#425968;font-size:12px}
.volume-popover[hidden]{display:none!important}
.quick-volume-head{display:flex;align-items:center;gap:10px}
.quick-volume-head label{flex:1;font-size:12px;font-weight:600}
.quick-volume-head output{font-size:11px;font-variant-numeric:tabular-nums;color:#827b6b}
.quick-volume-head button{width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:#827b6b;font-size:23px;cursor:pointer}
.volume-popover input{display:block;width:100%;height:34px;margin:4px 0 0;accent-color:#668782}
.volume-popover :focus-visible{outline:2px solid #668782;outline-offset:2px}
@media(max-width:650px){.volume-popover{bottom:72px}}
@media(max-height:380px){.volume-popover{bottom:60px}}
