/* Still: neutral daylight and clear, lightly frosted glass. */
:root {
  color-scheme: dark;
  background: #283a44;
  scrollbar-gutter: stable;
}
html, body { margin: 0; padding: 0; min-height: 100%; }
body:has(#still-thoughts.still-modal-open) { overflow: hidden; }
#still-thoughts {
  --still-ink: #f1f6f7;
  --still-muted: #e0e9ec;
  --still-accent: #ddebf0;
  --still-accent-hover: #f2f7fa;
  --still-accent-ink: #2a414b;
  --still-glass: rgba(30, 47, 58, .16);
  --still-glass-raised: rgba(30, 47, 58, .2);
  --still-glass-profile: rgba(30, 47, 58, .12);
  --still-glass-small: rgba(25, 43, 55, .55);
  --still-stamp: #dce6e8;
  --still-stamp-ink: #324751;
  --still-rim: rgba(237, 247, 252, .2);
  --still-rim-light: rgba(245, 252, 255, .42);
  --still-radius: 22px;
  --still-shadow: 0 12px 32px rgba(10, 20, 29, .12),
    0 2px 8px rgba(10, 20, 29, .04),
    inset 0 1px 0 rgba(244, 251, 255, .14),
    inset 0 -1px 0 rgba(244, 251, 255, .03);
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--still-ink);
  font: 400 14px/1.6 "DM Sans", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
#still-thoughts, #still-thoughts * { box-sizing: border-box; }
#still-thoughts [hidden] { display: none !important; }
#still-thoughts button, #still-thoughts input, #still-thoughts textarea { font: inherit; }
#still-thoughts button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
#still-thoughts button:disabled { cursor: default; }
#still-thoughts ::selection { color: #fff; background: #496975; }
#still-thoughts button:focus-visible,
#still-thoughts input:focus-visible {
  outline: 2px solid var(--still-accent);
  outline-offset: 4px;
}

/* The scene stays still while the journal scrolls. It also has a no-image fallback. */
#still-thoughts .still-landscape {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 35%, #607780, transparent 68%), #283a44;
}
#still-thoughts .still-scene { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#still-thoughts .still-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 33, 45, .62), rgba(16, 33, 45, .47) 42%, rgba(16, 33, 45, .48)),
    radial-gradient(ellipse at 50% 26%, rgba(19, 37, 49, .36), transparent 75%);
}
#still-thoughts .still-home { position: relative; min-height: 100vh; min-height: 100dvh; padding: 30px 42px 48px; }
/* Full dialogs show only scenery; anchored history leaves its journal context visible. */
#still-thoughts.still-journal-hidden .still-home { visibility: hidden; }
#still-thoughts .still-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}
#still-thoughts .still-brand { display: flex; align-items: center; gap: 10px; text-shadow: 0 2px 16px rgba(8, 20, 30, .2); }
#still-thoughts .still-brand-icon { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; color: var(--still-muted); }
#still-thoughts .still-brand-name { font-family: "Newsreader", Georgia, serif; font-size: 34px; letter-spacing: -.02em; line-height: 1; }
#still-thoughts .still-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-width: 0; }
#still-thoughts .still-topline { font-size: 12px; color: var(--still-muted); letter-spacing: .015em; text-align: right; }

/* Shared material: translucent tint, a directional reflection, and a fine lit edge. */
#still-thoughts .still-profile-button,
#still-thoughts .still-create,
#still-thoughts .still-thought,
#still-thoughts .still-dialog,
#still-thoughts .still-history-dialog,
#still-thoughts .still-profile-dialog,
#still-thoughts .still-auth-card {
  border: 1px solid var(--still-rim);
  border-top-color: var(--still-rim-light);
  border-left-color: rgba(237, 247, 252, .28);
  background: linear-gradient(128deg, rgba(245, 251, 255, .055), transparent 48%, rgba(245, 251, 255, .02)), var(--still-glass);
  box-shadow: var(--still-shadow);
  -webkit-backdrop-filter: blur(12px) saturate(105%) brightness(.88);
  backdrop-filter: blur(12px) saturate(105%) brightness(.88);
}
#still-thoughts .still-profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s, border-color .2s;
}
#still-thoughts .still-profile-button:hover { background-color: rgba(226, 241, 251, .1); border-color: var(--still-rim-light); }
#still-thoughts .still-main { width: min(100%, 660px); margin: clamp(54px, 9vh, 96px) auto 0; }
#still-thoughts .still-intro { margin-bottom: 30px; text-shadow: 0 2px 24px rgba(8, 20, 30, .22); }
#still-thoughts .still-intro h1 {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(36px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -.018em;
  margin: 0 0 12px;
  text-wrap: balance;
}
#still-thoughts .still-greeting-name { overflow-wrap: anywhere; }
#still-thoughts .still-intro p { color: var(--still-muted); margin: 0; font-size: 14px; }
#still-thoughts .still-create {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  min-height: 72px;
  border-radius: var(--still-radius);
  text-align: left;
  transition: background-color .2s, border-color .2s, transform .2s;
}
#still-thoughts .still-create:hover { background-color: rgba(224, 240, 251, .1); border-color: var(--still-rim-light); transform: translateY(-1px); }
#still-thoughts .still-create:active { transform: translateY(0); }
#still-thoughts .still-create-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}
#still-thoughts .still-create-label { font-size: 15px; font-weight: 500; }
#still-thoughts .still-create-note { margin-left: auto; color: var(--still-muted); font-size: 12px; }
#still-thoughts .still-list { display: grid; gap: 32px; margin: 38px 0 0; padding: 0; list-style: none; }
#still-thoughts .still-day-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 30px; color: var(--still-muted); font-size: 11px; line-height: 18px; letter-spacing: .04em; }
#still-thoughts .still-day-divider::before,
#still-thoughts .still-day-divider::after { content: ""; width: 32px; height: 1px; background: rgba(225, 242, 251, .22); }
#still-thoughts .still-day-divider time { padding: 3px 0; }
#still-thoughts .still-thought { position: relative; padding: 32px 30px 28px; border-radius: var(--still-radius); }
#still-thoughts .still-stamp {
  position: absolute;
  top: -13px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 90px);
  height: 26px;
  padding: 3px 12px;
  border: 1px solid #edf3f4;
  border-radius: 9px;
  background: var(--still-stamp);
  box-shadow: 0 2px 8px rgba(10, 20, 29, .08);
  color: var(--still-stamp-ink);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: .045em;
  white-space: nowrap;
  font-weight: 500;
}
#still-thoughts .still-stamp-dot { opacity: .6; }
#still-thoughts .still-stamp-clock { letter-spacing: .015em; }
#still-thoughts .still-history-button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; margin: -4px -5px -4px -3px; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: var(--still-stamp-ink); }
#still-thoughts .still-history-button svg { width: 14px; height: 14px; }
#still-thoughts .still-history-button:hover { background: rgba(50, 71, 81, .1); }
#still-thoughts .still-history-button:focus-visible { outline-color: var(--still-stamp-ink); outline-offset: 1px; }
#still-thoughts .still-thought-text { margin: 0; padding-right: 14px; font-size: 17px; line-height: 1.75; letter-spacing: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#still-thoughts .still-edit {
  position: absolute;
  right: 10px;
  top: 7px;
  width: 36px;
  height: 36px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--still-muted);
  transition: background .2s, color .2s;
}
#still-thoughts .still-edit:hover { background: rgba(224, 240, 248, .12); color: var(--still-ink); }
#still-thoughts .still-footer { margin: 34px 0 0; text-align: center; font-size: 12px; color: var(--still-muted); letter-spacing: .02em; }

/* Overlays leave the scenery visible. The editor carries its own stronger glass. */
#still-thoughts .still-overlay,
#still-thoughts .still-history-overlay,
#still-thoughts .still-profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 7vh, 64px) 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(12, 25, 35, .12);
}
#still-thoughts .still-dialog,
#still-thoughts .still-profile-dialog {
  --still-glass: var(--still-glass-raised);
  flex-shrink: 0;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(8, 18, 28, .18), var(--still-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(105%);
  backdrop-filter: blur(14px) saturate(105%);
}
#still-thoughts .still-dialog { width: min(100%, 720px); padding: 32px 36px 26px; min-height: 580px; display: flex; flex-direction: column; margin: auto 0; }
#still-thoughts .still-editor-head { display: flex; align-items: flex-start; gap: 15px; }
#still-thoughts .still-editor-titles { margin-right: auto; min-width: 0; }
#still-thoughts .still-editor-title,
#still-thoughts .still-profile-title { margin: 0 0 5px; font-family: "Newsreader", Georgia, serif; font-size: 32px; font-weight: 400; line-height: 1.2; letter-spacing: -.018em; }
#still-thoughts .still-editor-date { color: var(--still-muted); font-size: 11px; line-height: 1.5; }
#still-thoughts .still-editor-actions { display: flex; gap: 9px; align-items: center; padding-top: 2px; flex-shrink: 0; }
#still-thoughts .still-save,
#still-thoughts .still-profile-logout,
#still-thoughts .still-auth-submit {
  border: 1px solid rgba(245, 251, 255, .3);
  border-radius: 12px;
  background: var(--still-accent);
  color: var(--still-accent-ink);
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 3px 10px rgba(10, 20, 29, .08);
  transition: background .2s;
}
#still-thoughts .still-save { padding: 10px 16px; min-height: 40px; font-size: 12px; white-space: nowrap; }
#still-thoughts .still-save:hover,
#still-thoughts .still-profile-logout:hover,
#still-thoughts .still-auth-submit:hover { background: var(--still-accent-hover); }
#still-thoughts .still-save:disabled { background: rgba(224, 240, 248, .09); border-color: rgba(233, 246, 252, .12); color: #b6c6cc; box-shadow: none; }
#still-thoughts .still-close { display: flex; align-items: center; justify-content: center; width: 38px; height: 40px; padding: 10px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--still-muted); }
#still-thoughts .still-close:hover { background: rgba(224, 240, 248, .1); border-color: var(--still-rim); }
#still-thoughts .still-writing { margin-top: 34px; flex: 1; display: flex; }
#still-thoughts .still-textarea {
  display: block;
  width: 100%;
  min-height: 347px;
  margin: 0;
  padding: 8px 12px;
  resize: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--still-ink);
  caret-color: var(--still-accent);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0;
  overflow: hidden;
}
#still-thoughts .still-textarea::placeholder { color: var(--still-muted); opacity: 1; }
#still-thoughts .still-textarea:focus-visible { outline: none; box-shadow: inset 2px 0 0 #9fb9c6; }
#still-thoughts .still-textarea:read-only { opacity: .8; }
#still-thoughts .still-editor-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(225, 242, 251, .16); color: var(--still-muted); font-size: 11px; }
#still-thoughts .still-editor-foot em { font-family: "Newsreader", Georgia, serif; font-size: 18px; font-weight: 400; font-style: italic; }
#still-thoughts .still-keyboard { font-size: 11px; letter-spacing: .015em; white-space: nowrap; }
#still-thoughts .still-profile-overlay { z-index: 4; align-items: center; padding: 24px; }
#still-thoughts .still-profile-dialog { --still-glass: var(--still-glass-profile); --still-muted: var(--still-ink); width: min(100%, 390px); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 30px; -webkit-backdrop-filter: blur(10px) saturate(105%); backdrop-filter: blur(10px) saturate(105%); }
#still-thoughts .still-profile-details { display: grid; gap: 22px; margin: 28px 0; }
#still-thoughts .still-profile-details dt { margin: 0 0 4px; color: var(--still-muted); font-size: 11px; line-height: 1.6; }
#still-thoughts .still-profile-details dd { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
#still-thoughts .still-profile-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(225, 242, 251, .16); }
#still-thoughts .still-profile-action { min-height: 40px; padding: 10px 17px; border-radius: 12px; font-size: 12px; font-weight: 500; }
#still-thoughts .still-profile-cancel { border: 1px solid var(--still-rim); background: rgba(228, 244, 252, .035); transition: background .2s; }
#still-thoughts .still-profile-cancel:hover { background: rgba(228, 244, 252, .12); }
#still-thoughts .still-history-overlay { display: block; z-index: 4; padding: 16px; overflow: hidden; background: transparent; }
#still-thoughts .still-history-dialog {
  --still-glass: var(--still-glass-small);
  position: absolute;
  left: 16px;
  top: 16px;
  width: min(280px, calc(100% - 32px));
  height: 320px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
}
#still-thoughts .still-history-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
#still-thoughts .still-history-head h2 { margin: 0; font: 400 26px/1.2 "Newsreader", Georgia, serif; letter-spacing: -.018em; }
#still-thoughts .still-history-close { flex: 0 0 auto; width: 32px; height: 32px; padding: 7px; }
#still-thoughts .still-history-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(225, 242, 251, .35) transparent; }
#still-thoughts .still-history-list { margin: 0; padding: 0 3px; list-style: none; }
#still-thoughts .still-history-day { display: flex; align-items: center; gap: 10px; margin: 15px 0 7px; font-size: 11px; line-height: 18px; color: var(--still-muted); }
#still-thoughts .still-history-list > li:first-child .still-history-day { margin-top: 2px; }
#still-thoughts .still-history-day::before,
#still-thoughts .still-history-day::after { content: ""; flex: 1; height: 1px; background: var(--still-rim); }
#still-thoughts .still-history-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 7px; border: 0; border-radius: 9px; background: transparent; text-align: left; }
#still-thoughts .still-history-entry time { font-size: 14px; white-space: nowrap; }
#still-thoughts .still-history-entry span { font-size: 11px; color: var(--still-muted); text-align: right; }
#still-thoughts .still-history-entry:hover { background: rgba(228, 244, 252, .09); }
#still-thoughts .still-history-entry:focus-visible { outline-offset: -2px; }
#still-thoughts .still-history-entry:disabled { opacity: .6; }
#still-thoughts .still-history-status { margin: 0 0 10px; font-size: 12px; color: var(--still-muted); }
#still-thoughts .still-history-error { margin-bottom: 8px; }
#still-thoughts .still-history-retry { align-self: flex-start; margin-bottom: 8px; }
#still-thoughts .still-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 5;
  max-width: calc(100% - 40px);
  padding: 10px 18px;
  border: 1px solid var(--still-rim-light);
  border-radius: 20px;
  background: var(--still-glass-raised);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  font-size: 12px;
  box-shadow: var(--still-shadow);
  text-align: center;
}
#still-thoughts .still-accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Account screens share the scenery and glass material. */
#still-thoughts .still-auth { width: min(100%, 420px); margin: clamp(48px, 9vh, 90px) auto 0; }
#still-thoughts .still-auth-intro { text-align: center; margin-bottom: 28px; }
#still-thoughts .still-auth-intro h1 { font-family: "Newsreader", Georgia, serif; font-size: 44px; font-weight: 400; line-height: 1.17; letter-spacing: -.018em; margin: 0 0 14px; text-wrap: balance; }
#still-thoughts .still-auth-intro h1:focus { outline: none; }
#still-thoughts .still-auth-intro p { color: var(--still-muted); margin: 0 auto; max-width: 340px; }
#still-thoughts .still-auth-card { --still-glass: var(--still-glass-raised); padding: 30px; border-radius: 26px; }
#still-thoughts .still-auth-form { display: grid; gap: 20px; }
#still-thoughts .still-field { display: grid; gap: 7px; min-width: 0; }
#still-thoughts .still-field label { font-size: 12px; font-weight: 500; }
#still-thoughts .still-field input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--still-rim);
  border-radius: 12px;
  background: rgba(17, 31, 43, .18);
  color: var(--still-ink);
  font-size: 16px;
  line-height: 1.4;
  box-shadow: inset 0 2px 4px rgba(10, 20, 29, .03);
}
#still-thoughts .still-field input::placeholder { color: var(--still-muted); opacity: 1; }
#still-thoughts .still-field input:focus { border-color: var(--still-rim-light); }
#still-thoughts .still-field input:disabled { opacity: .65; }
#still-thoughts .still-field .still-code { font-size: 23px; letter-spacing: .32em; text-align: center; }
#still-thoughts .still-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#still-thoughts .still-field-hint { font-size: 11px; color: var(--still-muted); line-height: 1.6; }
#still-thoughts .still-auth-submit { min-height: 48px; padding: 12px 18px; font-size: 13px; }
#still-thoughts .still-auth-submit:disabled { opacity: .7; }
#still-thoughts .still-link { padding: 2px 0; border: 0; background: transparent; color: var(--still-accent); font-size: 12px; text-underline-offset: 4px; }
#still-thoughts .still-link:hover { text-decoration: underline; }
#still-thoughts .still-link:disabled { color: var(--still-muted); opacity: .7; text-decoration: none; }
#still-thoughts .still-auth-switch { margin: 24px 0 0; font-size: 12px; text-align: center; color: var(--still-muted); }
#still-thoughts .still-auth-switch button { margin-left: 5px; font-weight: 500; }
#still-thoughts .still-resend-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
#still-thoughts .still-auth-notice { margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--still-rim); border-radius: 12px; font-size: 12px; color: var(--still-ink); background: rgba(217, 237, 248, .06); }
#still-thoughts .still-error { margin: 0; font-size: 12px; line-height: 1.6; color: #ffdce4; overflow-wrap: anywhere; }
#still-thoughts .still-feed-error { margin-top: 28px; padding: 12px 16px; border-radius: 12px; background: var(--still-glass-small); }
#still-thoughts .still-profile-error { margin-bottom: 16px; }
#still-thoughts .still-editor-error { padding-top: 16px; }
#still-thoughts .still-loading { text-align: center; margin: 120px auto; color: var(--still-muted); }
#still-thoughts .still-empty { text-align: center; padding: 48px 12px 14px; color: var(--still-muted); }
#still-thoughts .still-empty p { margin: 0 0 8px; font-family: "Newsreader", Georgia, serif; font-size: 26px; line-height: 1.3; color: var(--still-ink); }
#still-thoughts .still-empty span { font-size: 12px; }
#still-thoughts .still-empty:not([hidden]) + .still-list { margin-top: 0; }

/* Text outside a glass panel needs the brighter ink over the photographic scene. */
#still-thoughts .still-topline,
#still-thoughts .still-intro p,
#still-thoughts .still-footer,
#still-thoughts .still-day-divider,
#still-thoughts .still-auth-intro p,
#still-thoughts .still-auth-switch,
#still-thoughts .still-auth-switch .still-link,
#still-thoughts .still-retry,
#still-thoughts .still-loading,
#still-thoughts .still-empty { color: var(--still-ink); text-shadow: 0 1px 12px rgba(8, 20, 30, .2); }

@media (min-width: 1200px) {
  #still-thoughts .still-home { padding: 32px 56px 54px; }
  #still-thoughts .still-main { width: min(100%, 680px); }
}
@media (min-width: 900px) and (min-height: 760px) {
  #still-thoughts .still-dialog { min-height: clamp(580px, 75dvh, 720px); }
}
@media (max-width: 650px) {
  #still-thoughts .still-home { padding: 24px 22px 36px; }
  #still-thoughts .still-topbar { gap: 16px; }
  #still-thoughts .still-top-actions { gap: 12px; }
  #still-thoughts .still-topline { max-width: 140px; font-size: 11px; line-height: 1.45; }
  #still-thoughts .still-brand-name { font-size: 31px; }
  #still-thoughts .still-main { margin-top: 58px; }
  #still-thoughts .still-intro h1 { font-size: 36px; }
  #still-thoughts .still-create { padding: 16px 18px; gap: 12px; }
  #still-thoughts .still-create-note { display: none; }
  #still-thoughts .still-thought { padding: 30px 24px 24px; }
  #still-thoughts .still-thought-text { padding-right: 12px; }
  #still-thoughts .still-overlay { padding: 24px 18px; }
  #still-thoughts .still-dialog { padding: 26px 26px 22px; min-height: 560px; border-radius: 24px; }
  #still-thoughts .still-editor-head { flex-wrap: wrap; gap: 16px; }
  #still-thoughts .still-editor-title { font-size: 29px; }
  #still-thoughts .still-editor-foot { gap: 10px; }
  #still-thoughts .still-editor-foot em { font-size: 17px; }
  #still-thoughts .still-keyboard { display: none; }
  #still-thoughts .still-profile-overlay { padding: 24px 20px; }
  #still-thoughts .still-auth { margin-top: 50px; }
  #still-thoughts .still-auth-intro h1 { font-size: 36px; }
}
@media (max-width: 400px) {
  #still-thoughts .still-home { padding: 22px 18px 32px; }
  #still-thoughts .still-brand { gap: 7px; }
  #still-thoughts .still-topline { max-width: 108px; font-size: 10px; }
  #still-thoughts .still-main { margin-top: 48px; }
  #still-thoughts .still-intro p { font-size: 13px; }
  #still-thoughts .still-stamp { left: 18px; gap: 6px; padding: 3px 9px; max-width: calc(100% - 70px); font-size: 10px; }
  #still-thoughts .still-thought { padding: 30px 20px 23px; }
  #still-thoughts .still-overlay { padding: 18px 12px; }
  #still-thoughts .still-dialog { padding: 24px 22px 20px; }
  #still-thoughts .still-editor-titles { width: 100%; }
  #still-thoughts .still-editor-actions { width: 100%; justify-content: space-between; }
  #still-thoughts .still-writing { margin-top: 26px; }
  #still-thoughts .still-profile-dialog { padding: 26px; }
  #still-thoughts .still-auth-card { padding: 26px 22px; }
  #still-thoughts .still-auth-intro p { font-size: 13px; }
}
@media (pointer: coarse) {
  #still-thoughts .still-edit { width: 44px; height: 44px; top: 2px; right: 5px; padding: 14px; }
  #still-thoughts .still-close { width: 44px; height: 44px; }
  #still-thoughts .still-history-button::after { content: ""; position: absolute; inset: -10px; }
  #still-thoughts .still-save, #still-thoughts .still-profile-action { min-height: 44px; }
  #still-thoughts .still-link { min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  #still-thoughts button { transition: none; }
  #still-thoughts .still-create:hover { transform: none; }
}
/* Readable solid surfaces when transparency is unwanted or unavailable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #still-thoughts { --still-glass: #2d3e49; --still-glass-raised: #2d3e49; --still-glass-profile: #2d3e49; --still-glass-small: #293d49; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  #still-thoughts { --still-glass: #24343e; --still-glass-raised: #24343e; --still-glass-profile: #24343e; --still-glass-small: #24343e; --still-muted: #e1edf2; --still-rim: #a5becb; }
  #still-thoughts .still-landscape { background: #283a44; }
  #still-thoughts .still-scene { display: none; }
  #still-thoughts .still-profile-button,
  #still-thoughts .still-create,
  #still-thoughts .still-thought,
  #still-thoughts .still-dialog,
  #still-thoughts .still-history-dialog,
  #still-thoughts .still-profile-dialog,
  #still-thoughts .still-auth-card,
  #still-thoughts .still-stamp,
  #still-thoughts .still-toast,
  #still-thoughts .still-overlay,
  #still-thoughts .still-history-overlay,
  #still-thoughts .still-profile-overlay { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  #still-thoughts .still-landscape { display: none; }
  #still-thoughts .still-overlay,
  #still-thoughts .still-profile-overlay,
  #still-thoughts .still-dialog,
  #still-thoughts .still-history-dialog,
  #still-thoughts .still-profile-dialog,
  #still-thoughts .still-stamp,
  #still-thoughts .still-toast { background: Canvas; }
  #still-thoughts button:focus-visible,
  #still-thoughts input:focus-visible,
  #still-thoughts .still-textarea:focus-visible { outline-color: Highlight; }
  #still-thoughts .still-textarea:focus-visible { outline: 2px solid Highlight; outline-offset: 4px; }
}
