/* The Focus Room (hyperfocus.life/learn/tools/focus-room/). The stage is the
   app's Hyper Mode in a tab: the void, the mission, a clock that only counts
   up, the Slip on the edge and the word to surface at the foot. Tokens only. */

.room-stage[hidden], .room-stage [hidden], .room-start[hidden] { display: none !important; }

/* ── The Threshold, at the app's pace (words fade over 0.9 s) ────────────── */
.room-threshold .threshold-word { transition-duration: 0.9s; max-width: 22ch; line-height: 1.35; }
.room-threshold .threshold-out { min-height: 44px; }
/* Off, the dark is gone from the page, not only transparent: it can't be
   reached by Tab or a screen reader (threshold.js also marks it inert). The
   visibility waits for the fade-out to finish. */
.room-threshold:not(.on) { visibility: hidden; transition: opacity 1.1s var(--ease-out), visibility 0s linear 1.1s; }
@media (prefers-reduced-motion: reduce) {
  /* The ritual keeps its time; only the movement goes. */
  .room-threshold, .room-threshold:not(.on), .room-threshold .threshold-word { transition: none; }
}

/* ── The stage ─────────────────────────────────────────────────────────── */
.room-stage {
  position: fixed; inset: 0; z-index: 9;   /* over .top (5), under the Threshold (10) as it fades */
  height: 100vh; height: 100dvh;
  box-sizing: border-box;
  /* A column: the mission and clock take the room that is left, the Slip and
     the word to surface sit under them, so nothing overlaps on a short screen. */
  display: grid; grid-template-rows: minmax(0, 1fr); grid-auto-rows: auto; justify-items: center;
  padding: calc(68px + env(safe-area-inset-top, 0px)) 16px calc(14px + env(safe-area-inset-bottom, 0px));   /* the top band is the download pill's */
  background: var(--void);
  overflow: hidden;
  outline: none;
  transition: opacity 1.2s var(--ease-out);
}
/* The way out: the void fades away before the page comes back. */
.room-stage.leaving { opacity: 0; }
/* Surfacing: the room fades out before the Echo's question fades in. */
.room-center { transition: opacity 1.2s var(--ease-out); }
.room-stage.surfacing .room-center, .room-stage.surfacing .room-slip, .room-stage.surfacing .room-surface,
.room-stage.surfacing .room-get, .room-stage.surfacing .room-left, .room-stage.surfacing .room-pop { opacity: 0; pointer-events: none; }
.room-viz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.room-center {
  position: relative; z-index: 1; align-self: center;
  width: min(88vw, 900px); margin-bottom: 3vh;
  text-align: center;
}
.room-eyebrow {
  margin: 0 0 18px; color: var(--dim);
  font-size: 11px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
}
.room-mission {
  margin: 0 0 22px; color: var(--ink);
  font-size: clamp(28px, 5.5vw, 60px); font-weight: 200; line-height: 1.18; letter-spacing: 0.01em;
  text-wrap: balance; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 0 34px rgba(5, 5, 6, 0.9);
}
.room-mission.blank { color: var(--dim); }
.room-clock {
  margin: 0; color: var(--ink); opacity: 0.8;
  font-size: clamp(18px, 2.6vw, 24px); font-weight: 300; letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}

/* ── The Slip: a slim teal edge; at the foot on a phone, the right edge when wide ─ */
.room-slip {
  position: relative; z-index: 1;
  width: min(84vw, 360px); margin: 0 0 12px;
  transition: opacity 2s var(--ease-out);
}
.room-slip-in {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line); border-left: 2px solid var(--teal); border-radius: 12px;
  background: rgba(10, 10, 13, 0.72); color: var(--ink);
  font-family: var(--disp); font-size: 16px; font-weight: 300;
  transition: border-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.room-slip-in::placeholder { color: var(--dim); }
.room-slip-in:focus { outline: none; border-color: rgba(199, 217, 209, 0.5); border-left-color: var(--teal-bright); }
.room-slip.took .room-slip-in { animation: slipTook 1.2s var(--ease-out); }
@keyframes slipTook {
  0% { box-shadow: 0 0 0 0 rgba(95, 224, 207, 0); }
  30% { box-shadow: 0 0 22px 0 rgba(95, 224, 207, 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(95, 224, 207, 0); }
}
/* Wide: the Slip rides the right edge at the foot, level with the word to
   surface — never in the band where a long mission wraps. */
@media (min-width: 900px) {
  .room-slip { position: absolute; right: 32px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: 260px; margin: 0; }
}

/* ── Hold to surface ───────────────────────────────────────────────────── */
.room-surface {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 18px; min-height: 44px;
  background: none; border: none; cursor: pointer;
  color: var(--dim);
  font-family: var(--disp); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 2s var(--ease-out), color 0.5s var(--ease-out);
}
.room-surface:hover, .room-surface.holding { color: var(--glow); }
.room-ring { display: block; }
.room-ring circle { fill: none; stroke-width: 1.4; }
.room-ring-track { stroke: var(--line-active); }
.room-ring-arc { stroke: var(--glow); transition: stroke-dashoffset 0.45s var(--ease-out); }
.room-surface.holding .room-ring-arc { transition: none; }
.room-surface-word { display: block; }

/* Escape in the room never leaves it: the way out lights up instead. */
.room-surface.nudge { color: var(--glow); }
.room-surface.nudge .room-ring-track { stroke: rgba(199, 217, 209, 0.6); }

/* A short screen (a phone on its side, a small window): smaller type, two lines. */
@media (max-height: 540px) {
  .room-mission { font-size: clamp(22px, 4.2vw, 38px); -webkit-line-clamp: 2; margin-bottom: 12px; }
  .room-eyebrow { margin-bottom: 10px; }
}
@media (max-height: 400px) {
  .room-eyebrow { display: none; }
  .room-center { margin-bottom: 0; }
  .room-mission { margin-bottom: 6px; }
}

/* The room darkens around the work; the mission and the clock never dim. */
.room-stage.quiet .room-slip, .room-stage.quiet .room-surface { opacity: 0.2; }

/* ── The Echo ──────────────────────────────────────────────────────────── */
.room-echo {
  position: absolute; z-index: 1; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(88vw, 560px);
  text-align: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.room-echo.on { opacity: 1; }
.room-echo-q {
  margin: 0 0 22px; color: var(--ink);
  font-size: clamp(22px, 3.6vw, 32px); font-weight: 200; line-height: 1.3; text-wrap: balance;
}
.room-echo-in { min-height: 64px; text-align: center; }
.room-echo-actions { justify-content: center; margin-top: 16px; }
.room-echo.on.sealing { opacity: 0.35; pointer-events: none; }

/* The seal: the line dissolves, then the session blooms into a node. */
.room-echo.on.gone { opacity: 0; transition-duration: 0.9s; }
.room-bloom {
  position: absolute; z-index: 1; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: min(64vw, 300px); text-align: center;
  opacity: 0; transition: opacity 0.9s var(--ease-out);
}
.room-bloom.on { opacity: 1; }
.room-bloom-canvas { display: block; width: 100%; aspect-ratio: 1; }
.room-bloom-line {
  margin: 6px 0 0; color: var(--dim); font-size: 14px; letter-spacing: 0.04em;
  opacity: 0; transition: opacity 1.4s var(--ease-out) 1.6s;   /* the app's rooted line: in at 1.6 s */
}
.room-bloom.on .room-bloom-line { opacity: 1; }

/* ── Pop out: the room, small, beside the work (Document Picture-in-Picture) ─ */
.room-pop {
  position: absolute; z-index: 2; top: calc(14px + env(safe-area-inset-top, 0px)); right: 18px;
  min-height: 44px; padding: 10px 14px;
  background: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  color: var(--dim); font-family: var(--disp); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), opacity 2s var(--ease-out);
}
.room-pop:disabled { cursor: default; color: var(--dim); border-color: transparent; }
.room-pop:hover, .room-pop:focus-visible { color: var(--glow); border-color: var(--line-active); }
.room-stage.quiet .room-pop, .room-stage.quiet .room-get { opacity: 0.2; }
.room-stage.quiet .room-left { opacity: 0.75; }
/* Floating: the room in the tab rests, dim, and says where it went. */
.room-stage.floating .room-center { opacity: 0.6; }
.room-float { position: relative; z-index: 1; margin: 0 0 12px; text-align: center; }
.room-float-line { margin: 0 0 2px; color: var(--dim); font-size: 14px; }

/* The small window itself: body.room-pip, styles copied in from this page. */
body.room-pip {
  margin: 0; overflow: hidden; background:
    radial-gradient(120% 90% at 50% 0%, rgba(29, 181, 165, 0.12), rgba(5, 5, 6, 0) 62%), var(--void);
  color: var(--ink);
}
.pip-room {
  box-sizing: border-box; height: 100vh;
  display: flex; flex-direction: column; justify-content: safe center; gap: 6px;
  padding: 10px 14px 12px;
}
.pip-room > * { flex: none; }   /* resized small, nothing is squashed through its glyphs */
.pip-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pip-back {
  flex: none; padding: 6px 2px; background: none; border: none; cursor: pointer;
  color: var(--dim); font-family: var(--disp); font-size: 11.5px; letter-spacing: 0.06em;
}
/* Chrome hides the focus-visible ring in these windows (crbug 40283296): plain :focus. */
.pip-back:hover, .pip-back:focus { color: var(--glow); outline: none; text-decoration: underline; text-underline-offset: 3px; }
.pip-mission {
  margin: 0; color: var(--ink); font-size: clamp(15px, 6.2vw, 22px); font-weight: 300; line-height: 1.25;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pip-mission.blank { color: var(--dim); }
.pip-clock { margin: 0; line-height: 1.15; color: var(--ink); opacity: 0.82; font-size: clamp(16px, 7vw, 26px); letter-spacing: 0.16em; font-variant-numeric: tabular-nums; }
.pip-slip input {
  width: 100%; box-sizing: border-box; min-height: 36px; padding: 7px 11px;
  border: 1px solid var(--line); border-left: 2px solid var(--teal); border-radius: 10px;
  background: rgba(10, 10, 13, 0.8); color: var(--ink); font-family: var(--disp); font-size: 14px; font-weight: 300;
}
.pip-slip input::placeholder { color: var(--dim); }
.pip-slip input:focus { outline: none; border-color: rgba(199, 217, 209, 0.5); border-left-color: var(--teal-bright); }
.pip-room.took .pip-slip input { animation: slipTook 1.2s var(--ease-out); }
@media (max-height: 190px) { .pip-mission { -webkit-line-clamp: 1; } }
@media (max-height: 150px) {
  .pip-room { gap: 4px; padding-top: 6px; padding-bottom: 6px; }
  .pip-slip { display: none; }
}

/* ── The end card, back in the page ───────────────────────────────────── */
.room-end { outline: none; scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }
@media (max-width: 640px) { .room-end { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); } }
.room-end-h {
  margin: 0 0 14px; color: var(--glow);
  font-size: 12px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
}
.article .room-end-echo { white-space: pre-line; color: var(--ink); font-size: clamp(22px, 3.4vw, 30px); font-weight: 200; line-height: 1.3; margin: 0 0 10px; overflow-wrap: anywhere; }
.article .room-end-meta { color: var(--dim); font-size: 14px; margin: 0 0 20px; overflow-wrap: anywhere; }
.room-end-left { margin: 0 0 20px; }
.room-end-left .tool-label { display: block; margin: 0 0 8px; }
.article .room-end-left li { overflow-wrap: anywhere; }
.room-again { margin-top: 16px; }

/* A taste of the Brain, on the card after a seal. */
.room-brain-block { margin: 4px 0 22px; }
.room-brain-block .tool-label { display: block; margin: 0 0 8px; }
.room-brain {
  display: block; width: 100%; height: clamp(190px, 34vw, 250px);
  border-radius: 16px; border: 1px solid var(--line); background: var(--void);
}
.article .room-brain-cap { margin: 10px 0 0; color: var(--dim); font-size: 13.5px; line-height: 1.5; }
.tool-bridge-quiet { padding: 16px 20px 12px; }

@media (prefers-reduced-motion: reduce) {
  /* The beats keep their time; only the fades go. */
  .room-stage, .room-center, .room-slip, .room-surface, .room-echo, .room-ring-arc, .room-slip-in,
  .room-bloom, .room-bloom-line, .room-pop { transition: none; }
  .pip-room.took .pip-slip input { animation: none; }
  .room-slip.took .room-slip-in { animation: none; }
}

/* ── The launcher, in the tool's console (2026-10-18) ───────────────────── */
.room-launch { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 8px 0 4px; }
.room-launch-label { color: var(--glow); font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.room-launch-input {
  width: min(100%, 560px); box-sizing: border-box; padding: 10px 6px 14px;
  background: transparent; border: none; border-bottom: 1px solid var(--line-active); border-radius: 0;
  color: var(--ink); text-align: center; font-family: var(--disp); font-size: clamp(24px, 4vw, 36px); font-weight: 200;
  transition: border-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.room-launch-input::placeholder { color: var(--dim); opacity: 0.7; }
.room-launch-input:focus { outline: none; border-bottom-color: var(--teal-bright); box-shadow: 0 14px 30px -24px rgba(95, 224, 207, 0.9); }
/* The way in: an orb that breathes, like the app's ENTER HYPER. */
.room-orb {
  position: relative; width: 138px; height: 138px; margin: 8px 0 2px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(95, 224, 207, 0.45);
  background: radial-gradient(circle at 50% 42%, rgba(216, 251, 244, 0.22), rgba(29, 181, 165, 0.16) 45%, rgba(5, 5, 6, 0.2) 72%);
  box-shadow: 0 0 60px rgba(29, 181, 165, 0.28), inset 0 0 40px rgba(29, 181, 165, 0.18);
  color: var(--ink); font-family: var(--disp); font-size: 15px; font-weight: 300; letter-spacing: 0.42em; text-indent: 0.42em; text-transform: uppercase;
  transition: box-shadow 0.8s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.8s var(--ease-out);
}
.room-orb::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(199, 217, 209, 0.16); pointer-events: none;
}
.room-orb:hover, .room-orb:focus-visible { border-color: var(--teal-bright); box-shadow: 0 0 90px rgba(29, 181, 165, 0.45), inset 0 0 50px rgba(29, 181, 165, 0.25); transform: scale(1.03); }
.room-orb:focus-visible { outline: 1px solid var(--glow); outline-offset: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .room-orb { animation: orbBreath var(--breath) ease-in-out infinite; }
  .room-orb::before { animation: orbHalo var(--breath) ease-in-out infinite; }
  @keyframes orbBreath { 0%, 100% { box-shadow: 0 0 50px rgba(29, 181, 165, 0.22), inset 0 0 36px rgba(29, 181, 165, 0.16); } 50% { box-shadow: 0 0 90px rgba(29, 181, 165, 0.4), inset 0 0 50px rgba(29, 181, 165, 0.24); } }
  @keyframes orbHalo { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.06); opacity: 1; } }
}
.room-launch-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.article .room-launch-meta li { margin: 0; color: var(--dim); font-size: 13px; letter-spacing: 0.04em; }
.article .room-launch-meta li::before { content: "·"; margin-right: 8px; color: var(--teal-bright); }
.room-launch .tool-note-line { margin: 0 !important; }

/* ── The app, one glance away, at the top of the room ──────────────────── */
.room-get {
  position: absolute; z-index: 3; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  transition: opacity 2s var(--ease-out);
}
.room-get-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 10px;
  border-radius: 999px; border: 1px solid rgba(199, 217, 209, 0.14); background: rgba(10, 10, 13, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--dim); font-family: var(--disp); font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.room-get-logo { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(29, 181, 165, 0.6)); }
.room-get:hover .room-get-btn, .room-get.open .room-get-btn, .room-get-btn:focus-visible { color: var(--ink); border-color: rgba(95, 224, 207, 0.45); }
/* The badges: on hover (with no gap to cross), on focus, or after a tap. */
.room-get-pop {
  /* Out of flow: no invisible hover zone under the pill, and its own panel. */
  position: absolute; top: 100%; left: 50%; translate: -50% 0; width: max-content; max-width: calc(100vw - 40px);
  padding-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
/* Open after a click or tap (.open, which aria-expanded follows), or on a
   mouse hover unless just closed (.shut). Never by focus alone, or Escape and
   a second click couldn't close it. */
.room-get.open .room-get-pop, .room-get-pop:focus-within { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) {
  .room-get:not(.shut):hover .room-get-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.room-get-pop::before {
  content: ""; position: absolute; z-index: -1; inset: 4px -14px -10px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(10, 10, 13, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.room-get-pop .store-row { flex-wrap: nowrap; gap: 10px; width: max-content; container-type: normal; order: 0; margin: 0; }
.room-get-pop .store-badge img { height: 40px; }
.room-get-note { margin: 0; color: var(--dim); font-size: 11.5px; }
@media (max-width: 520px) {
  .room-get-btn { font-size: 9.5px; letter-spacing: 0.1em; padding-right: 12px; }
}
@media (max-width: 360px) { .room-get-btn { white-space: normal; max-width: calc(100vw - 24px); text-align: left; } }
/* A narrow desktop window: pop-out tucks under the pill's right edge. */
@media (max-width: 720px) { .room-pop { top: calc(66px + env(safe-area-inset-top, 0px)); right: 10px; } }

/* ── Thoughts set down: on the right, as teal embers ───────────────────── */
.room-left { position: relative; z-index: 1; width: min(84vw, 360px); margin: 0 0 10px; transition: opacity 2s var(--ease-out); }
.room-left-h { margin: 0 0 6px; color: var(--glow); font-size: 10.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.room-left-list {
  list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 92px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--teal-deep) transparent;
}
.room-left-list:focus-visible { outline: none; }
/* The mask on the list would clip its own ring: draw it on the parent. */
.room-left:has(> .room-left-list:focus-visible) { outline: 1px solid var(--glow); outline-offset: 6px; border-radius: 10px; }
.room-left-item { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; color: var(--ink); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.room-left-text { opacity: 0.86; }
.ember {
  flex: none; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-1px);
  background: var(--teal-bright); box-shadow: 0 0 8px rgba(95, 224, 207, 0.9), 0 0 18px rgba(29, 181, 165, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .ember { animation: emberGlow 3.8s ease-in-out infinite; }
  .room-left-item:nth-child(3n + 2) .ember { animation-delay: -1.3s; }
  .room-left-item:nth-child(3n) .ember { animation-delay: -2.4s; }
  .room-left-item.fresh { animation: emberIn 1.4s var(--ease-out); }
  @keyframes emberGlow { 0%, 100% { opacity: 0.65; box-shadow: 0 0 6px rgba(95, 224, 207, 0.7), 0 0 12px rgba(29, 181, 165, 0.4); } 50% { opacity: 1; box-shadow: 0 0 10px rgba(95, 224, 207, 1), 0 0 22px rgba(29, 181, 165, 0.7); } }
  @keyframes emberIn { from { opacity: 0; } to { opacity: 1; } }   /* no movement: a transform would flash a scrollbar */
}
@media (min-width: 900px) {
  /* Wide: a column on the right, over the Slip, scrolling when it fills. */
  .room-left {
    position: absolute; right: 32px; width: 260px; margin: 0;
    top: calc(84px + env(safe-area-inset-top, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .room-left-list { max-height: none; flex: 0 1 auto; min-height: 0; }
}

/* Wide screens: the mission never runs under the thoughts column. */
@media (min-width: 900px) {
  .room-left, .room-slip { right: 24px; width: 220px; }
  .room-center { width: min(900px, calc(100vw - 2 * (24px + 220px + 20px))); }
}
@media (min-width: 900px) and (min-height: 541px) { .room-mission { font-size: clamp(28px, 4.2vw, 60px); } }
@media (min-width: 1280px) {
  .room-left, .room-slip { right: 32px; width: 260px; }
  .room-center { width: min(900px, calc(100vw - 2 * (32px + 260px + 20px))); }
}
/* Short and narrow (a phone on its side): one line of embers, no heading. */
@media (max-height: 540px) and (max-width: 899px) {
  .room-left-h { display: none; }
  .room-left-list { max-height: 28px; padding-top: 0; -webkit-mask-image: none; mask-image: none; }
}

/* ── The small window's mark ───────────────────────────────────────────── */
.pip-get {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 4px 6px 4px 0;
  background: none; border: none; cursor: pointer;
  color: var(--dim); font-family: var(--disp); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.pip-logo { width: 20px; height: 20px; flex: none; filter: drop-shadow(0 0 6px rgba(29, 181, 165, 0.6)); }
.pip-get:hover, .pip-get:focus { color: var(--glow); outline: none; }
.pip-get span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 280px) { .pip-get span { display: none; } }
.pip-get:focus span { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .room-get, .room-get-pop, .room-left { transition: none; }
}
/* The oldest thoughts fade out at the top of the list as it scrolls. */
.room-left-list { padding-top: 12px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }

/* ── Thoughts can be reworded or taken back (2026-11-01) ───────────────── */
.room-left-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.room-left-top .room-left-h { margin-bottom: 6px; }
.room-left-undo { font-size: 12px; }
.room-left-item { align-items: center; }
.room-left-item .ember { transform: none; }
.room-left-text { flex: 1; min-width: 0; }
.room-left-acts { flex: none; display: inline-flex; gap: 2px; opacity: 0; transition: opacity 0.4s var(--ease-out); }
.room-left-item:hover .room-left-acts, .room-left-item:focus-within .room-left-acts { opacity: 1; }
/* Touch screens have no hover: the two buttons stay, quietly. */
@media (hover: none) { .room-left-acts { opacity: 0.6; } }
.room-left-act {
  display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0;
  background: none; border: 1px solid transparent; border-radius: 9px; cursor: pointer; color: var(--dim);
}
.room-left-act .ico { width: 15px; height: 15px; }
.room-left-act:hover, .room-left-act:focus-visible { color: var(--ink); border-color: var(--line); outline: none; }
.room-left-edit {
  flex: 1; min-width: 0; padding: 5px 8px; box-sizing: border-box;
  background: var(--surface); border: 1px solid rgba(199, 217, 209, 0.45); border-radius: 8px;
  color: var(--ink); font-family: var(--disp); font-size: 14px;
}
.room-left-edit:focus { outline: none; border-color: var(--glow); }
@media (prefers-reduced-motion: reduce) { .room-left-acts { transition: none; } }
@media (max-height: 540px) and (max-width: 899px) { .room-left-list { max-height: 38px; } }
