
.dreams .vista-intro{padding-top:30px;padding-bottom:32px}.dream-moon{font-size:30px;color:#ffffffba;width:44px;text-align:center}.dreams .dream-settings{padding:22px;margin-bottom:20px}.dream-settings>label:first-child{display:block;font-size:12px;color:var(--muted);margin-bottom:12px}
.dreams select{width:100%;font:inherit;color:inherit;background:#0002;border:1px solid #ffffff42;border-radius:14px;padding:12px;min-height:46px}.dreams select option{color:#17171b;background:#f8f8fa}
.dream-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;font-size:15px}.dream-switch small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.dream-switch input{appearance:none;width:46px;height:28px;flex:none;background:#ffffff30;border-radius:18px;position:relative;border:1px solid #ffffff38}.dream-switch input:before{content:"";position:absolute;width:22px;height:22px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0002;transition:transform .15s}.dream-switch input:checked{background:#ffffff70}.dream-switch input:checked:before{transform:translateX(18px)}.dream-switch input:disabled{opacity:.4}
.dream-card{padding:24px}.dream-date{font:11px/1.5 -apple-system,BlinkMacSystemFont,sans-serif;color:var(--muted);letter-spacing:.04em}.dream-card h2{font-size:21px;line-height:1.5;font-weight:550;margin:12px 0}.dream-mood{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.dream-text{font:14px/1.95 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:22px 0;color:var(--ink)}.dreams .vista-empty{padding:28px 24px}.dreams .vista-glass{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);background:#ffffff08}.dreams.rv-optics-ready .vista-glass{backdrop-filter:none;-webkit-backdrop-filter:none;background:transparent}.dreams .vista-tabs{margin-top:8px}

.dream-calendar{padding:16px 14px;margin:14px 0 22px}
.dream-calendar-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;text-align:center}
.dream-calendar-header h2,.dream-timeline>h2{font-size:17px;font-weight:600;margin:0}
.dream-calendar-header button,.dream-day{border:0;background:transparent;color:inherit;font:inherit;min-height:44px;cursor:pointer;border-radius:16px}
.dream-calendar-header button{font-size:26px}
.dream-week,.dream-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}
.dream-week{font-size:12px;color:var(--muted);margin:12px 0 4px}
.dream-day{position:relative;padding:0 0 4px;font-variant-numeric:tabular-nums}
.dream-day-outside{opacity:.45}.dream-day[aria-pressed="true"]{background:#ffffff27;box-shadow:inset 0 0 0 1px #ffffff72}
.dream-day[aria-current="date"]{font-weight:700}
.dream-day-marked::after{content:"";position:absolute;left:calc(50% - 2px);bottom:5px;width:4px;height:4px;border-radius:50%;background:#ffd2df}
.dream-timeline>h2{margin:0 0 14px;padding-inline:6px}
.dream-episode{margin:16px 0}
.dream-episode h3,.dream-episode h4{margin:0 0 6px;font-size:15px;font-weight:600}
.dream-episode .dream-text{margin:4px 0 10px}
.dream-scenes{list-style:none;border-left:1px solid #ffffff38;padding:0 0 0 11px;margin:6px 0 0}
.dream-scene+.dream-scene{margin-top:12px}.dream-scene h4{margin-top:3px}
.dream-calendar button:focus-visible{outline:2px solid #ffd2df;outline-offset:-2px}
@media(max-width:380px){.dream-card{padding:16px}}

.dreams .dream-title-card {padding:0;border-radius:17px;overflow:hidden}
.dream-title {
 display:block;width:100%;min-height:52px;padding:13px 16px;
 border:0;background:#ffffff14;color:inherit;text-align:start;
 font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;
}
.dream-title:focus-visible {outline:2px solid #ffd2df;outline-offset:-3px}
.dream-reader {
 box-sizing:border-box;width:min(calc(100% - 32px),480px);max-width:none;
 max-height:min(76dvh,calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 36px));
 padding:0;border:1px solid #ffffff52;border-radius:24px;overflow:hidden;
 color:var(--ink);background:rgb(26 34 42 / .82);box-shadow:inset 0 1px #ffffff38,0 18px 52px #0005;
 backdrop-filter:blur(20px) saturate(128%);-webkit-backdrop-filter:blur(20px) saturate(128%);
}
.dream-reader[open] {display:flex;flex-direction:column}
.dream-reader::backdrop {background:#09111a44}
.dream-reader-header {display:flex;align-items:flex-start;gap:12px;padding:14px 14px 10px 20px;border-bottom:1px solid #ffffff25}
.dream-reader-header h2 {flex:1;min-width:0;align-self:center;margin:0;font-size:19px;line-height:1.4;overflow-wrap:anywhere}
.dream-reader-header button {
 flex:none;width:44px;height:44px;border:0;border-radius:50%;background:#ffffff14;
 color:inherit;font:24px/1 sans-serif;cursor:pointer;
}
.dream-reader-body {min-height:0;padding:16px 20px 20px;overflow:auto;overscroll-behavior:contain}
.dream-reader-body > .dream-episode:first-child {margin-top:0}
.dream-reader-body .dream-mood + .dream-mood {margin-top:7px}
.dream-reader-body .vista-entry-actions {margin-top:18px}
