@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#29483e;background:#e8eee7;font-synthesis:none;--ink:#29483e;--green:#315b49;--muted:#819087;--cream:#faf9f0;--line:#dce2d7}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{display:grid;place-items:center;background:radial-gradient(ellipse at 18% 13%,#faf9f0,transparent 50%),radial-gradient(ellipse at 84% 80%,#d0dfd6,transparent 60%),#e8eee7}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,[tabindex]:focus-visible{outline:3px solid #bf9546;outline-offset:3px}button{border:0}button:disabled{opacity:.3;cursor:default}.app{width:min(100%,460px);height:100dvh;max-height:960px;position:relative;display:flex;flex-direction:column;overflow:hidden;background:#f7f8ee}.header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:19px 25px 12px;z-index:2}.brand{display:flex;gap:10px;align-items:center}.brand svg{width:31px;height:33px;stroke:var(--green);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.brand h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:26px;line-height:1.15;letter-spacing:.2em;font-weight:600;margin:0 0 5px}.brand span{font-size:9px;letter-spacing:.16em;color:#718076}.icon-button{border:1px solid #cdd7ca;border-radius:50%;width:30px;height:30px;background:transparent;font-family:Georgia,serif;font-size:17px}.preview-wrap{flex-shrink:0;padding:6px 23px 0;z-index:3}.preview{display:block;position:relative;width:100%;text-align:left;background:rgba(255,255,250,.94);border:1px solid #e1e4d5;border-radius:18px;padding:16px 19px 14px;box-shadow:0 5px 15px #46634c06;min-height:112px}.preview-meta{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.04em;color:#738379}.record-tag{font-size:8px;letter-spacing:.12em;padding:3px 6px;background:#eef0e7;border-radius:4px;color:#7b866e;white-space:nowrap}.record-tag.own{color:#466950;background:#e5eee2}.preview-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:11px 0 8px}.preview-line>span:first-child{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:18.4px;letter-spacing:.05em;line-height:1.6875;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.preview-arrow{font-size:22px;font-weight:300;color:#9ba891}.preview-sub{font-size:9px;color:#919b8a;letter-spacing:.06em}.map-caption{margin-top:12px;display:flex;justify-content:space-between;font-size:9px;color:#7d8d7b;letter-spacing:.06em}.map-caption>span:first-child{display:flex;align-items:center;gap:6px}.map-caption i{height:5px;width:5px;border-radius:50%;background:#a4b78e}.map{position:relative;flex:1;min-height:140px;isolation:isolate;user-select:none;-webkit-user-select:none}.landscape,#trail{position:absolute;inset:0;width:100%;height:100%}.landscape{object-fit:fill;pointer-events:none}#trail{touch-action:none;z-index:2;overflow:visible;cursor:grab}#trail.dragging{cursor:grabbing}.road-edge{fill:none;stroke:#a9ac7d;stroke-opacity:.3;stroke-width:23;stroke-linecap:round;stroke-linejoin:round}.road{fill:none;stroke:#f5edcc;stroke-width:19;stroke-linecap:round;stroke-linejoin:round}.road-progress{fill:none;stroke:#c3b97d;stroke-width:2;stroke-opacity:.6;stroke-linecap:round}.marker-halo{fill:#fffdf3;fill-opacity:.52}.marker-ring{fill:#fbf9e8;stroke:#b58c3d;stroke-width:2}.marker-center{fill:#b58c3d}.trail-start{fill:#718665;font:8px -apple-system,sans-serif}.milestone-label{font:9px -apple-system,sans-serif;fill:#698168;letter-spacing:.04em;paint-order:stroke;stroke:#f0f3e4;stroke-width:4px;stroke-linejoin:round}.mountain-label{position:absolute;left:0;right:0;top:7%;text-align:center;pointer-events:none;z-index:1}.mountain-label span{display:block;font-size:7px;letter-spacing:.23em;color:#879b8c;margin-bottom:7px}.mountain-label strong{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:12px;letter-spacing:.2em;font-weight:500;color:#728e7f}.gesture-hint{position:absolute;bottom:0;left:50%;transform:translateX(-50%);padding:8px 13px;background:#fafbf0ce;border:1px solid #e9eddc;border-radius:22px;display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.04em;white-space:nowrap;pointer-events:none;z-index:4;transition:opacity .25s}.gesture-hint.hidden{opacity:0}.controls{flex-shrink:0;z-index:4;padding:14px 23px max(12px,env(safe-area-inset-bottom));background:linear-gradient(#f6f8ee, #faf9f1)}.scope-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.segmented{display:flex;gap:3px;padding:3px;border-radius:10px;background:#e9eee2}.segmented button{min-width:58px;font-size:11px;background:transparent;padding:9px 12px;border-radius:7px;color:#7b8977}.segmented .active{color:#355540;background:#fffef7;box-shadow:0 1px 4px #2b4e3c12}.calendar-button{display:flex;align-items:center;gap:7px;font-size:11px;background:transparent;padding:9px 0}.calendar-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}.step-row{display:flex;align-items:center;justify-content:center;height:36px;position:relative;gap:7px}.step-button{background:transparent;font-size:22px;font-weight:300;line-height:1;width:36px;height:32px}.period-label{font-size:10px;letter-spacing:.06em;background:none;min-width:125px;color:#74836f}.step-help{position:absolute;right:0;font-size:8px;color:#9aa28c;pointer-events:none}.write-button,.save-button{border-radius:12px;background:var(--green);color:#fffdf0;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;height:49px;font-size:12px;letter-spacing:.06em}.write-button svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.button-plus{position:absolute;right:42px;font-size:19px;font-weight:200;color:#cbd7c8}.storage-note{display:flex;justify-content:space-between;margin-top:10px;font-size:8px;letter-spacing:.04em;color:#8c9787}.tiny-dot{display:inline-block;width:4px;height:4px;background:#91a67e;border-radius:50%;vertical-align:2px;margin-left:3px}.sheet{padding:9px 25px 26px;border:0;color:var(--ink);background:#fafaf2;width:min(100%,460px);max-width:460px;max-height:92dvh;border-radius:25px 25px 0 0;margin:auto auto 0;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 -15px 80px #263b3a20}.sheet::backdrop{background:#203a304a;backdrop-filter:blur(3px)}.sheet-handle{width:34px;height:4px;border-radius:4px;background:#d7decf;margin:0 auto 12px}.sheet-top{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.eyebrow{font-size:9px;letter-spacing:.18em;color:#99a487}.close-button{width:33px;height:33px;border:1px solid #dde3d5;border-radius:50%;background:none;font-size:22px;font-weight:300;line-height:1}.sheet h2{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:27px;letter-spacing:.08em;font-weight:500;line-height:1.6;margin:9px 0}.sheet-date{font-size:12px;color:#7c8e7b;margin:0 0 27px}.field-label{display:block;font-size:12px;font-weight:500;margin:22px 0 9px}.field-label span{font-size:9px;color:#9aa18e;float:right;font-weight:400}.sheet input,.sheet textarea,.sheet select{width:100%;border:1px solid #dce3d4;border-radius:10px;background:#fffef7;color:#344d3f;font-size:16px;padding:13px;outline:none;line-height:1.75}.sheet input:focus,.sheet textarea:focus,.sheet select:focus{border-color:#7e9b74;box-shadow:0 0 0 3px #879d7414}.sheet textarea{resize:vertical;min-height:90px}.sheet input::placeholder,.sheet textarea::placeholder{font-size:12px;color:#a0aa96}.field-hint{font-size:9px;color:#929c87;line-height:1.7;margin:7px 0}.form-error{font-size:12px;color:#a94e3a;line-height:1.6;min-height:1px}.save-button{margin-top:23px;justify-content:space-between;padding:0 19px}.save-button span{font-size:20px}.sheet-footnote{font-size:10px;text-align:center;line-height:1.8;color:#919b87;margin:14px 0 0}.sheet-description{font-size:12px;line-height:1.9;color:#7e8b75}.select-row{display:flex;gap:12px;margin:24px 0 15px}.select-row label{flex:1;font-size:11px}.select-row select{margin-top:7px}.help-item{display:flex;gap:17px;margin-top:23px}.help-item>b{font-family:Georgia,serif;font-size:22px;color:#b0b994;font-weight:400}.help-item h3{font-size:13px;font-weight:500;margin:1px 0 8px}.help-item p,.demo-notice p{font-size:11px;line-height:1.9;color:#84907b;margin:0}.demo-notice{background:#eef1e5;padding:17px;border-radius:13px;margin-top:24px}.demo-notice strong{display:block;font-size:11px;font-weight:500;margin-bottom:9px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,12px);padding:13px 20px;max-width:90%;border-radius:14px;box-shadow:0 4px 20px #273d3420;background:#284c40;color:#fffdf0;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:12px;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:600px){.app{height:calc(100dvh - 48px);max-height:890px;border:1px solid #d7dfd1;border-radius:28px;box-shadow:0 18px 90px #304e3b17}.sheet{margin:auto;border-radius:24px;max-height:90dvh}.compact-sheet{max-height:85dvh}.header{padding-top:23px}}
@media(max-height:740px){.header{padding-top:12px;padding-bottom:6px}.brand h1{font-size:23px}.preview{min-height:98px;padding:12px 16px}.preview-line{margin:8px 0 5px}.preview-line>span:first-child{font-size:16.8px}.map-caption{margin-top:7px}.controls{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.write-button{height:44px}.storage-note{margin-top:7px}.gesture-hint{font-size:8px;padding:5px 10px}.step-row{height:31px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media(max-height:500px) and (min-width:500px){.app{width:100%;max-width:900px;height:100dvh;max-height:none;display:grid;grid-template-columns:260px 1fr;grid-template-rows:65px 1fr 153px;border:0;border-radius:0}.header{grid-column:1;padding:10px 18px 5px}.preview-wrap{grid-column:1;padding:3px 16px 0}.preview{min-height:90px;padding:11px 13px}.preview-line>span:first-child{font-size:16px}.preview-meta{font-size:10px}.map-caption{font-size:7px;gap:4px}.map-caption>span:last-child{display:none}.map{grid-column:2;grid-row:1/4;height:100%;min-height:0}.controls{grid-column:1;grid-row:3;padding:7px 16px 9px}.segmented button{min-width:43px;padding:8px 9px;font-size:10px}.scope-row{gap:6px}.calendar-button{font-size:10px;gap:4px}.calendar-button svg{width:14px}.write-button{height:42px;font-size:11px}.button-plus{right:auto;position:static}.step-help{display:none}.storage-note{font-size:7px}.gesture-hint{bottom:10px}.sheet{max-height:96dvh}}

/* The memory card stays fixed while its text and the trail marker update together. */
.header{padding:13px 23px 10px}.brand h1{font-size:24px}.brand span{font-size:8px}
.preview-wrap{padding:0 20px}.preview{display:flex;flex-direction:column;height:clamp(198px,26dvh,226px);min-height:0;padding:13px 16px 11px;contain:layout paint;border-radius:17px;box-shadow:0 6px 18px #46634c05}
.preview-meta{font-size:10px;min-height:16px}.preview-line{margin:6px 0 10px;flex-shrink:0}.preview-line>span:first-child{font-size:16.8px;line-height:1.625}.preview-arrow{font-size:19px}.preview-copy{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow:hidden}.preview-section{display:grid;grid-template-columns:64px minmax(0,1fr);gap:7px;align-items:start}.copy-label{font-size:8px;letter-spacing:.01em;line-height:1.8;color:#8a967f;padding-top:2px;white-space:nowrap}.preview-body,.preview-tomorrow{font-size:13.8px;line-height:1.375;letter-spacing:.015em;color:#5c6f5f;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3;overflow-wrap:anywhere}.preview-tomorrow{-webkit-line-clamp:2;color:#74836a}.tomorrow-section{border-top:1px solid #e9ecdf;padding-top:7px}.preview-sub{font-size:8px;flex-shrink:0;margin-top:8px;align-self:flex-end}.map-caption{margin:8px 1px 0;font-size:8px;height:13px}.map{min-height:100px}.road-edge{stroke-width:19;stroke:#8e956d;stroke-opacity:.28}.road{stroke-width:15;stroke:#eee6c5}.road-progress{stroke:#bda969;stroke-width:1.5;stroke-opacity:.85}.day-marks{stroke:#a29460}.summit-flag{stroke:#af8b49;stroke-width:1.8;stroke-linejoin:round;fill:#d7bc7d}#today-marker{fill:#7e8659;stroke:#f6f3df;stroke-width:1.4}#today-marker text{stroke:none;fill:#6b7a54;font:9px -apple-system,sans-serif;paint-order:stroke;stroke:#f1f1dc;stroke-width:3px}.trail-start{font-size:9px}.dream-marker{position:absolute;top:4px;right:18px;z-index:5;max-width:56%;text-align:left;background:#faf9edeb;border:1px solid #e2e5cd;border-radius:11px;padding:9px 11px;box-shadow:0 3px 15px #51644708}.dream-caption{display:flex;gap:7px;align-items:center;font-size:7px;letter-spacing:.06em;color:#97a080;line-height:1.4}.dream-caption>span{font-size:13px;margin-left:auto;color:#a2a98a}.dream-marker strong{display:block;font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:14.4px;line-height:1.33333333;font-weight:500;letter-spacing:.025em;margin-top:3px;overflow-wrap:anywhere;white-space:pre-wrap}.dream-marker.has-dream{background:#fffbedf5;border-color:#d6d8b8}.future-caption{position:absolute;top:9%;left:7%;color:#849379;font-size:9px;font-family:"Hiragino Mincho ProN","Yu Mincho",serif;letter-spacing:.12em;pointer-events:none}.gesture-hint{bottom:4px;font-size:8px;padding:5px 10px}.controls{padding:10px 20px max(10px,env(safe-area-inset-bottom))}.segmented button{padding:8px 12px}.write-button{height:45px}.step-row{height:32px}.storage-note{min-height:14px;align-items:center;margin-top:8px}.text-button{padding:2px 0;background:none;color:#89947d;font-size:8px;text-decoration:underline;text-underline-offset:3px}.text-button[hidden]{display:none}.section-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:7px}.section-tools>span{font-size:8px;color:#929c87}.section-tools button{font-size:9px;border:1px solid #dde3d2;background:#eff2e7;border-radius:6px;padding:6px 7px}#entry-body{min-height:240px;font-size:16px;line-height:1.9}.sheet .field-label{margin-top:19px}.sheet-date{margin-bottom:18px}.reset-preserve{background:#edf1e3;border:1px solid #dce4cc;border-radius:12px;padding:16px;margin-top:20px}.reset-preserve strong{font-size:13px;font-weight:500;line-height:1.8}.reset-preserve p{font-size:11px;line-height:1.9;color:#839076;margin-bottom:0}.cancel-button{width:100%;background:none;font-size:12px;color:#8a957f;padding:17px;margin-top:4px}.toast{white-space:normal;text-align:center;width:max-content;line-height:1.6}
@media(min-width:600px) and (min-height:501px){.header{padding-top:17px}.preview{height:218px}.app{max-height:930px}}
@media(max-height:740px) and (min-height:501px), (max-height:500px) and (max-width:499px){.header{padding:10px 20px 7px}.brand h1{font-size:22px}.brand span{font-size:7px}.preview{height:184px;padding:11px 14px 9px}.preview-line{margin:5px 0 7px}.preview-line>span:first-child{font-size:16px}.preview-body,.preview-tomorrow{font-size:12.6px;line-height:1.33333333}.preview-copy{gap:6px}.preview-section{grid-template-columns:60px 1fr}.copy-label{font-size:7px}.tomorrow-section{padding-top:5px}.preview-sub{margin-top:5px}.controls{padding-top:7px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.write-button{height:42px}.storage-note{margin-top:6px}.dream-marker{padding:7px 9px;right:14px;max-width:57%}.dream-marker strong{font-size:12px}.dream-caption{font-size:6px}.future-caption{font-size:8px}}
@media(max-height:620px) and (min-height:501px), (max-height:500px) and (max-width:499px){.preview{height:164px}.preview-body{-webkit-line-clamp:2}.preview-tomorrow{-webkit-line-clamp:1}.preview-sub{font-size:7px}.preview-line>span:first-child{font-size:14.4px}.map-caption{font-size:7px;margin-top:5px;height:11px}.header{padding-top:8px}.brand span{display:none}.brand h1{margin:0}.controls{padding-top:5px}.step-row{height:28px}.write-button{height:39px}.segmented button{padding:7px 10px;min-width:50px}.future-caption{top:12%}}
@media(max-height:500px) and (min-width:500px){.app{grid-template-columns:280px 1fr;grid-template-rows:49px 1fr 129px}.header{padding:7px 16px 4px}.brand h1{font-size:21px;margin:0}.brand span{display:none}.preview-wrap{padding:0 14px}.preview{height:100%;max-height:200px;min-height:0;padding:10px 12px}.preview-line>span:first-child{font-size:14.4px}.preview-line{margin:4px 0 7px}.preview-section{grid-template-columns:56px 1fr;gap:5px}.preview-body,.preview-tomorrow{font-size:12px;line-height:1.33333333}.preview-body{-webkit-line-clamp:2}.preview-tomorrow{-webkit-line-clamp:1}.copy-label{font-size:7px}.preview-copy{gap:5px}.preview-sub{display:none}.map-caption{display:none}.controls{padding:7px 14px 5px}.segmented button{padding:6px 9px}.write-button{height:36px}.step-row{height:26px}.storage-note{margin-top:4px}.dream-marker{right:10px;max-width:65%;padding:6px 9px}.dream-marker strong{font-size:12px}.future-caption{font-size:7px}.gesture-hint{bottom:8px}}

.landscape,#trail{top:0;height:100%}.dream-marker{max-width:78%}

/* Keep the dream at the summit, with the diary between the summit and trail. */
.app{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}
.header{grid-column:1;grid-row:1;z-index:6}
.map{grid-column:1;grid-row:2;position:relative;min-height:0;height:auto;isolation:isolate}
.controls{grid-column:1;grid-row:3}
.preview-wrap{position:absolute;top:23.5%;left:0;right:24px;padding:0 18px;z-index:5}
.preview{height:218px;background:rgba(255,255,250,.94)}
.map-caption{height:13px;margin-top:6px}
.landscape,.summit-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.summit-layer{z-index:1}
#trail{inset:0;width:100%;height:100%;z-index:2}
.dream-marker{top:8px;right:18px;max-width:78%;z-index:4}
.future-caption{top:7%;left:7%}
.gesture-hint{z-index:4}
@media(min-width:600px) and (min-height:501px){.preview{height:218px}}
@media(max-height:740px) and (min-height:501px), (max-height:500px) and (max-width:499px){.preview{height:190px}.preview-wrap{padding:0 15px;right:18px}.dream-marker{right:15px}}
@media(max-height:620px) and (min-height:501px), (max-height:500px) and (max-width:499px){.preview{height:148px}.preview-wrap{padding:0 14px;right:10px}.map-caption{height:11px;margin-top:4px}.dream-marker{max-width:86%;top:5px;right:14px}.future-caption{font-size:7px}}
@media(max-height:500px) and (min-width:500px){.app{grid-template-columns:280px minmax(0,1fr);grid-template-rows:49px minmax(0,1fr) 129px}.header{grid-column:1;grid-row:1}.map{grid-column:2;grid-row:1/4}.preview-wrap{grid-column:1;grid-row:2;position:relative;inset:auto;padding:0 14px}.preview{height:100%;max-height:200px}.controls{grid-column:1;grid-row:3}.dream-marker{top:7px;right:10px}.map-caption{display:none}}

@media(max-height:500px) and (max-width:499px){.preview{height:126px;padding:9px 12px 7px}.preview-line{margin:3px 0 5px}.preview-body{-webkit-line-clamp:1}.preview-sub{display:none}}

/* Preserve the written text, including spaces, line breaks and optional headings. */
.preview-copy .preview-body{white-space:pre-wrap;-webkit-line-clamp:5;flex-shrink:0;max-height:100%}
.entry-date-field{display:flex;align-items:center;gap:12px;font-size:12px;color:#7c8e7b;margin:0 0 18px}
.sheet .entry-date-field input{width:auto;max-width:100%;padding:7px 10px}


/* A hand-set dream milestone stays independent from diary selection. */
.map{isolation:auto}
.preview-wrap{transition:transform 450ms ease}
.preview{touch-action:none}
.dream-marker{z-index:8}
.dream-marker.long-dream{max-width:62%}
.dream-caption>span#dream-progress-label{flex-shrink:0;min-width:36px;text-align:center;margin-left:auto;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:9px;line-height:1.2;letter-spacing:0;color:#71845f;background:#eaf0de;border-radius:4px;padding:2px 5px}
.dream-caption>span.dream-edit{margin-left:0}
#dream-traveler{position:absolute;left:0;top:0;width:36px;height:48px;z-index:7;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
#dream-traveler>svg{display:block;width:36px;height:48px;overflow:visible}
.dream-progress-controls{display:flex;align-items:center;gap:16px}
.sheet #dream-progress-range{flex:1;min-width:0;width:100%;height:36px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;accent-color:#547D62;cursor:pointer}
.dream-progress-number{display:flex;align-items:center;gap:7px;flex-shrink:0;color:#829078;font-size:13px}
.sheet #dream-progress-input{width:79px;min-width:0;padding:8px 9px;text-align:center;font-size:16px;line-height:1.5}
@media(prefers-reduced-motion:reduce){.preview-wrap,.dream-marker{transition:none}}


/* One road, with a movable current location and direct date controls. */
#road{fill:none;stroke:none;pointer-events:none}
#road-edge{fill:#8e956d;fill-opacity:.28;stroke:none}
#road-surface{fill:#eee6c5;stroke:none}
#dream-traveler::before{content:"";position:absolute;inset:-8px;border-radius:12px;background:transparent;pointer-events:auto}
#dream-traveler>svg{pointer-events:none}
#dream-traveler.dragging{cursor:grabbing}
.registration-label{display:flex;align-items:center;gap:7px;min-width:0;color:#8b9781;font-size:9px;letter-spacing:.03em;white-space:nowrap}
.registration-label time{color:#6f826a;font-size:10px;letter-spacing:.04em}
.compact-record-control{display:flex;align-items:center;gap:9px;min-height:30px;padding:1px 9px;margin:2px 0 4px;border:1px solid #dde4d1;border-radius:8px;background:#eff3e7}
.compact-record-control[hidden]{display:none}
.compact-record-control label{flex-shrink:0;font-size:8px;line-height:1.3;color:#7d8b72}
#record-scrubber{flex:1;min-width:0;width:100%;height:26px;margin:0;padding:0;border:0;background:transparent;accent-color:#718b60;cursor:pointer;touch-action:pan-y}
@media(max-height:500px) and (min-width:500px){.registration-label{gap:5px;font-size:8px}.registration-label time{font-size:9px}.compact-record-control{gap:6px;padding-left:7px;padding-right:7px;margin:0 0 2px}.compact-record-control label{font-size:7px}}
@media(max-height:500px) and (min-width:500px){.app:has(#compact-record-control:not([hidden])){grid-template-rows:49px minmax(0,1fr) 161px}}
/* A narrow-footprint aid must never resize the road during a drag. */
@media(min-height:501px), (max-width:499px){
  .controls{position:relative}
  .compact-record-control{position:absolute;bottom:100%;left:20px;right:20px;margin:0 0 4px}
  .app:has(#compact-record-control:not([hidden])) .gesture-hint{visibility:hidden}
}

/* An unwritten day keeps the same card, with no generated copy or symbols. */
.preview.blank .preview-arrow{visibility:hidden}
.record-tag[hidden]{display:none}


/* The current-location mark stays above the moving diary while browsing. */
#current-location{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;overflow:visible}
#current-location-label{position:absolute;left:0;top:0;z-index:6;pointer-events:none;white-space:nowrap;font-size:9px;line-height:1.3;letter-spacing:.02em;color:#765b3d;padding:3px 6px;border:1px solid #d9d9bc;border-radius:6px;background:#fbfaedee}
#road-progress{stroke:#8b613d;stroke-width:3;stroke-opacity:1;opacity:1}
