/* DogeDharma sit — phone-first, black and gold.
   Bottom padding stays clear for the in-app browser chrome. */

:root {
  --bg: #000;
  --gold: rgb(236, 184, 62);
  --gold-bright: #f0c85a;
  --gold-deep: #c49228;
  --gold-dim: rgba(236, 184, 62, 0.55);
  --gold-soft: rgba(236, 184, 62, 0.12);
  --gold-glow: rgba(236, 184, 62, 0.28);
  --cream: #f4efe6;
  --cream-quiet: rgba(244, 239, 230, 0.52);
  --cream-muted: rgba(244, 239, 230, 0.68);
  --hairline: rgba(236, 184, 62, 0.16);
  --hairline-strong: rgba(236, 184, 62, 0.34);
  --sit-header: 64px;
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --body: Outfit, system-ui, sans-serif;
  /* A small inset for the in-app browser home indicator. The tab labels sit on this. */
  --chrome: calc(env(safe-area-inset-bottom, 0px) + 0.55rem);
}

* { box-sizing: border-box; }

html, body.page-sit {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
}

body.page-sit {
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body.page-sit a {
  color: var(--gold);
  text-decoration: none;
}

body.page-sit h1,
body.page-sit h2,
body.page-sit h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

.app {
  width: min(100%, 28rem);
  margin: 0 auto;
  min-height: 100svh;
  /* Chrome reserve, plus the icon tab labels that sit just above it. */
  padding-bottom: calc(var(--chrome) + 5.4rem);
}

.sit-header {
  position: sticky;
  top: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.4rem;
  /* Same quiet header height as the phone site, so the logo lockup sits under the status bar. */
  min-height: calc(var(--sit-header) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 0.55rem 0;
  background: #000;
}

.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.full-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  margin-left: auto;
  padding: 0.26rem 0.5rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.full-site:hover,
.full-site:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.connect[hidden] {
  display: none;
}

.connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 0;
  padding: 0.26rem 0.62rem;
  border: 1px solid #e4be5c;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6e3a8 0%, #ecb83e 52%, #c49228 100%);
  color: #140e04;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.connect:focus-visible {
  outline: 2px solid #fff6e4;
  outline-offset: 3px;
}

/* Connected address. The same green sweep that used to sit under the header
   now rings this one chip. The cover leaves a 2.5px rim. */
.connect.is-live {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: #000;
  color: rgb(236, 184, 62);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  /* v315: never uppercase the address (0x857b…c91e, not 0X857B…C91E). */
  text-transform: none;
  box-shadow: none;
  animation: wallet-ring-glow 4s ease-in-out infinite;
}

/* v290: the remembered wallet while it reconnects. Same chip and address,
   softer, with a slow breath instead of the live green ring. */
.connect.is-live.is-restoring {
  opacity: 0.72;
  animation: wallet-restoring 1.8s ease-in-out infinite;
}
.connect.is-live.is-restoring::before,
.connect.is-live.is-restoring::after { opacity: 0.35; }
@keyframes wallet-restoring {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 0.86; }
}
@media (prefers-reduced-motion: reduce) {
  .connect.is-live.is-restoring { animation: none; }
}

.connect.is-live > * {
  position: relative;
  z-index: 1;
}

.connect.is-live::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 18rem;
  height: 18rem;
  background: conic-gradient(
    #b8ffd9,
    #7dffb0,
    #4fe3a1,
    #a6f7e0,
    #d7ffb0,
    #b8ffd9
  );
  pointer-events: none;
  animation: wallet-ring-turn 4s linear infinite;
}

.connect.is-live::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2.5px;
  border-radius: inherit;
  background: #000;
  pointer-events: none;
}

@keyframes wallet-ring-turn {
  from { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
  to { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}

@keyframes wallet-ring-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(168, 255, 210, 0.42); }
  50% { box-shadow: 0 0 12px rgba(184, 255, 217, 0.62); }
}

.wallet-chip {
  position: relative;
  flex: 0 0 auto;
}

.wallet-via {
  margin: 0.12rem 0 0;
  color: rgb(236, 184, 62);
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: right;
  max-width: 11.5rem;
}

.wallet-via[hidden] {
  display: none !important;
}

.wallet-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  min-width: 8.75rem;
  padding: 0.2rem 0;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #000;
}

.wallet-menu[hidden],
.wallet-chooser[hidden] {
  display: none !important;
}

.wallet-chooser {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(18.5rem, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(22rem, 70vh);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 16px;
  background-color: #0b0b0b;
  background-image: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.62);
}

.wallet-menu-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.42rem 0.75rem;
  border: 0;
  background: transparent;
  color: #d4af37;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
}

.wallet-menu-item:hover,
.wallet-menu-item:focus-visible {
  color: #f3ead4;
}

.wallet-chooser-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem;
}

.wallet-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(236, 184, 62, 0.35);
  background: transparent;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.wallet-choice-group {
  margin: 0;
  padding: 0.7rem 1rem 0.35rem;
  color: rgba(236, 184, 62, 0.8);
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid rgba(236, 184, 62, 0.35);
}

.wallet-chooser-note {
  margin: 0;
  padding: 0.9rem 1rem 0.3rem;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* v530: Continue with Google is the gold choice. MyDoge is the row under it. */
.wallet-choice--primary {
  min-height: 44px;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6e3a8 0%, #ecb83e 52%, #c49228 100%);
  color: #140e04;
  font-weight: 500;
}

.wallet-choice--primary .wallet-choice-mark {
  display: none;
}

.wallet-choice--quiet {
  min-height: 44px;
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.84rem;
  font-weight: 300;
}

.wallet-choice--retry {
  justify-content: center;
  min-height: 44px;
  color: #ecb83e;
  border-top: 1px solid rgba(236, 184, 62, 0.35);
}

.wallet-choice:last-child {
  border-bottom: 0;
}

.wallet-choice:hover,
.wallet-choice:focus-visible {
  background: rgba(236, 184, 62, 0.12);
  color: #fff8ea;
  outline: 2px solid #fff6e4;
  outline-offset: -3px;
}

.wallet-choice--primary:hover,
.wallet-choice--primary:focus-visible {
  background: linear-gradient(180deg, #fff1c4 0%, #f0c24e 52%, #c49228 100%);
  color: #140e04;
}

/* v545: Continue with X sits under Google at the same size and weight. */
.wallet-choice--x {
  min-height: 44px;
  justify-content: center;
  border: 1px solid #ecb83e;
  border-radius: 12px;
  background: #140e04;
  color: #f6e3a8;
  font-weight: 500;
  text-align: center;
}

.wallet-choice--x .wallet-choice-mark {
  display: none;
}

.wallet-choice--x:last-child {
  border-bottom: 1px solid #ecb83e;
}

.wallet-choice--x:hover,
.wallet-choice--x:focus-visible {
  background: #1c1406;
  color: #fff6e4;
}

/* v564: Google and X are two plain buttons. No gold fill, no flash. */
.wallet-choice--plain {
  min-height: 44px;
  justify-content: center;
  border: 1px solid rgba(244, 239, 230, 0.4);
  border-radius: 12px;
  background: transparent;
  color: #f4efe6;
  font-weight: 400;
  text-align: center;
}

.wallet-choice--plain .wallet-choice-mark {
  display: none;
}

.wallet-choice--plain:last-child {
  border-bottom: 1px solid rgba(244, 239, 230, 0.4);
}

.wallet-choice--plain:hover,
.wallet-choice--plain:focus-visible {
  background: rgba(244, 239, 230, 0.08);
  color: #fff8ea;
}

/* The kit sheet uses the same two names. Keep them plain, and keep X visible. */
#dd-wallet-root [data-dogeos-social-login="google-existing-wallet"] {
  display: inline-flex !important;
  min-height: 44px;
  border: 1px solid #d7d2cb !important;
  border-radius: 12px !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #1c1915 !important;
  animation: none !important;
}

#dd-wallet-root [data-dogeos-social-login="google-existing-wallet"] {
  order: 1;
}

/* v596: Quest sign-in shows Google and X. The kit X button stays visible. */
#dd-wallet-root [data-dogeos-social-login="x-existing-wallet"] {
  display: inline-flex !important;
  min-height: 44px;
  order: 2;
  border: 1px solid #d7d2cb !important;
  border-radius: 12px !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #1c1915 !important;
  animation: none !important;
}

.dd-social-connecting {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: calc(var(--chrome, 4.5rem) + 0.75rem);
  transform: translateX(-50%);
  width: min(100% - 1.5rem, 28rem);
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #ecb83e;
  border-radius: 12px;
  background: #000;
  color: #ecb83e;
  font-family: var(--body, Outfit, "Avenir Next", "Segoe UI", sans-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  pointer-events: none;
}

.dd-social-connecting[hidden] {
  display: none;
}

/* v550: while Connecting is up, the header sits above the wallet sheet
   so the logo and Full site stay tappable. The sheet cannot cover them. */
.sit-header.dd-connecting-escape {
  position: fixed;
  z-index: 2147483647;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  pointer-events: auto;
  background: #000;
}

.sit-header.dd-connecting-escape .brand,
.sit-header.dd-connecting-escape .full-site,
.sit-header.dd-connecting-escape a {
  pointer-events: auto;
}

.dd-social-connecting p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .dd-social-connecting p {
    animation: dd-social-connecting 1.4s ease-in-out infinite;
  }
}

@keyframes dd-social-connecting {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .dd-social-connecting p {
    animation: none;
    opacity: 1;
  }
}

.wallet-choice-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  border: 1px solid rgba(236, 184, 62, 0.7);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, rgba(246, 227, 168, 0.22), #140e04 72%);
  color: #f0d48a;
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1;
}

.wallet-choice-mark[data-letter]::before {
  content: attr(data-letter);
}

.wallet-choice-mark--social {
  color: #f6e3a8;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.wallet-choice-mark--social::before {
  content: "G";
}

.wallet-choice-mark--logo {
  overflow: hidden;
  padding: 0;
  background: #000;
}

.wallet-choice-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-choice-label {
  flex: 1 1 auto;
  min-width: 0;
}

.tabbar {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(0.4rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100% - 1rem), 28rem);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.1rem;
  padding: 0.18rem 0.28rem;
  border: 1px solid rgba(236, 184, 62, 0.62);
  border-radius: 999px;
  background: rgba(8, 6, 4, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.18),
    inset 0 0 16px rgba(236, 184, 62, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.42);
}

.tabbar a,
.tabbar button {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.12rem;
  min-height: 48px;
  padding: 0.16rem 0.08rem 0.14rem;
  border: 0;
  border-radius: 999px;
  background: none;
  transition: transform 160ms ease;
  text-align: center;
  color: rgba(236, 184, 62, 0.66);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
  overflow: visible;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tabbar a span,
.tabbar button span {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.tabbar a .tab-icon,
.tabbar button .tab-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 1.55rem;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  max-width: none;
}

.tabbar a svg,
.tabbar button svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.28rem;
  height: 1.28rem;
  flex: 0 0 auto;
}

.tabbar a:active,
.tabbar button:active {
  transform: scale(0.96);
}

body.page-sit .tabbar a[aria-current="page"] .tab-icon,
body.page-sit .tabbar button[aria-current="page"] .tab-icon {
  color: #2a1c08;
  background: linear-gradient(165deg, #f6d78a 0%, #e2b34a 46%, #c49228 100%);
  box-shadow:
    0 0 0 1px rgba(255, 236, 190, 0.4),
    0 0 12px rgba(236, 184, 62, 0.32);
}

body.page-sit .tabbar a[aria-current="page"] .tab-icon::after,
body.page-sit .tabbar button[aria-current="page"] .tab-icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 230, 0.55), transparent);
  transform: translateX(-150%);
  opacity: 0;
  animation: tab-gold-sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tab-gold-sweep {
  0% { transform: translateX(-150%); opacity: 0; }
  18% { opacity: 0.72; }
  82% { transform: translateX(250%); opacity: 0; }
  100% { transform: translateX(250%); opacity: 0; }
}

body.page-sit .tabbar a,
body.page-sit .tabbar button {
  color: rgba(236, 184, 62, 0.66);
}

body.page-sit .tabbar a[aria-current="page"],
body.page-sit .tabbar button[aria-current="page"] {
  color: rgb(236, 184, 62);
}

/* v399: four tabs. At 390px each label has a full line and a 44px tap. */
@media (max-width: 390px) {
  .tabbar {
    width: min(100% - 0.75rem, 28rem);
    gap: 0.05rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .tabbar a,
  .tabbar button {
    min-height: 48px;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    padding: 0.34rem 0.06rem 0.18rem;
  }
}

/* v386: More is a small gold sheet above the phone bar. No motion. */
.more-sheet {
  position: fixed;
  z-index: 39;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 28rem);
  height: 100%;
  pointer-events: none;
}

.more-sheet-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: calc(3.35rem + var(--chrome));
  background: rgba(0, 0, 0, 0.46);
  pointer-events: auto;
}

.more-sheet-panel {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: calc(3.45rem + var(--chrome));
  pointer-events: auto;
  border: 1px solid rgba(232, 200, 120, 0.55);
  border-radius: 18px;
  background: #0c0a08;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  color: var(--cream);
}

.more-sheet-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem 0.55rem;
}

.more-sheet-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--gold);
}

.more-back {
  flex: 0 0 auto;
}

.more-sheet-list {
  display: flex;
  flex-direction: column;
  padding: 0 0.35rem 0.45rem;
}

.more-sheet-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 0.7rem;
  border-top: 1px solid var(--hairline);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.more-sheet-list button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0 0.7rem;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
}

.more-sheet-list a svg,
.more-sheet-list button svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  color: var(--gold);
}

.more-sheet-list a:hover,
.more-sheet-list a:focus-visible,
.more-sheet-list button:hover,
.more-sheet-list button:focus-visible {
  color: #fffaf0;
}

@media (prefers-reduced-motion: reduce) {
  .more-sheet,
  .more-sheet-panel,
  .more-back {
    transition: none;
    animation: none;
  }

  .tabbar a,
  .tabbar button {
    transition: none;
  }

  body.page-sit .tabbar a[aria-current="page"] .tab-icon::after,
  body.page-sit .tabbar button[aria-current="page"] .tab-icon::after {
    animation: none;
    opacity: 0;
  }
}

.view { display: none; padding: 0.15rem 1.05rem 0; }
.view.is-on { display: block; }

.latest-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0.2rem auto 0.05rem;
  text-align: center;
}

body.page-sit .latest-quote-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 900px) {
  .latest-quote {
    width: min(100%, calc(62vh * 9 / 16));
  }

  .latest-quote-frame,
  .latest-quote-video {
    max-height: 62vh;
  }

  .latest-quote-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

.latest-quote-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(236, 184, 62, 0.78);
  border-radius: 14px;
  background: #000;
  line-height: 0;
}

.latest-quote-sound {
  position: absolute;
  right: auto;
  bottom: 0.75rem;
  left: 0.7rem;
  z-index: 2;
  align-items: center;
  gap: 0.38rem;
  min-height: 36px;
  margin: 0;
  padding: 0.35rem 0.7rem 0.35rem 0.5rem;
  border: 1px solid rgba(236, 184, 62, 0.88);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--gold);
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.latest-quote-sound:not([hidden]) {
  display: inline-flex;
}

.latest-quote-sound[hidden] {
  display: none;
}

.latest-quote-sound-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.latest-quote-sound-icon--on {
  display: none;
}

.latest-quote-sound[aria-pressed="true"] .latest-quote-sound-icon--off {
  display: none;
}

.latest-quote-sound[aria-pressed="true"] .latest-quote-sound-icon--on {
  display: block;
}

.latest-quote-sound[aria-pressed="true"] {
  color: #140f06;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 58%, var(--gold-deep) 100%);
  border-color: rgba(244, 220, 150, 0.9);
}

/* Latest-quote films are 9:16. The subject is in the top of the frame
   and the baked-in line sits above a dark foot. Keep the top of every
   film (whole head, a little sky, and the line) and crop only that foot. */
.latest-quote-frame {
  aspect-ratio: 9 / 12.5;
  height: auto;
}

.latest-quote-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  background: #000;
}

.latest-quote-caption {
  margin: 0.8rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--cream);
}

.latest-quote-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin: 0.55rem 0 0;
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.latest-quote-links a {
  color: var(--gold);
}

.latest-quote-dot {
  color: var(--gold-dim);
}

.today-follow {
  margin: 0.85rem auto 0;
  text-align: center;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--cream-quiet);
}

.today-follow a {
  color: var(--gold);
}

.sit-library {
  margin: 0;
}

.sit-library .sits {
  margin-top: 0.95rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.sit-title {
  font-size: clamp(2.25rem, 5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0.85rem 0 0.9rem;
}

.lede {
  margin: 0 0 0.28rem;
  max-width: 22rem;
  color: var(--cream-quiet);
  font-size: 0.95rem;
  line-height: 1.35;
}

.timer {
  margin: 0.1rem 0 0.45rem;
  text-align: center;
}

.timer-digits {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 3.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--cream);
}

.timer-state {
  min-height: 1.4rem;
  margin: 0.15rem 0 0.45rem;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}

body.page-sit a.btn-gold,
body.page-sit button.btn-gold,
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #0a0800;
  box-shadow:
    0 0 0 1px rgba(236, 184, 62, 0.2),
    0 10px 36px var(--gold-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.sit-quiet-links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.05rem 0 0.2rem;
  padding: 0;
}

.sit-quiet-link {
  margin: 0;
  padding: 0.08rem 0.04rem;
  border: 0;
  background: transparent;
  color: rgba(236, 184, 62, 0.92);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(236, 184, 62, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.sit-quiet-link:hover,
.sit-quiet-link:focus-visible {
  color: #f6e7b8;
  text-decoration-color: rgba(246, 231, 184, 0.75);
}

.sit-quiet-link:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

/* v204: the pair now sits under Latest from DogeDharma, just above the path. */
.sit-quiet-row {
  width: 100%;
  margin: 1.1rem 0 0.75rem;
  text-align: center;
}

.sit-quiet-row > .sit-quiet-links {
  margin: 0;
}

.sit-quiet-row > .start-here {
  margin: 1.25rem 0 0.35rem;
  text-align: left;
}

/* The pair under Latest from DogeDharma. Gold, tappable, shorter than the 48px primary. */
.sit-quiet-links > .sit-quiet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 22rem);
  min-height: 40px;
  padding: 0.28rem 1rem;
  border: 1px solid #E8C878;
  border-radius: 999px;
  background: #000;
  box-shadow: none;
  color: #E8C878;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  gap: 0.45rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-decoration: none;
}

.sit-quiet-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sit-quiet-icon--solid {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.sit-quiet-icon--solid path {
  fill: currentColor;
  stroke: none;
}

.sit-quiet-links > .sit-quiet-link .sit-quiet-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  shape-rendering: geometricPrecision;
  filter: none;
}

.sit-quiet-mark {
  fill: currentColor;
  stroke: none;
}

.sit-quiet-links > .sit-quiet-link:hover,
.sit-quiet-links > .sit-quiet-link:focus-visible {
  color: #F6E7B8;
  border-color: #F6E7B8;
  background: #000;
  box-shadow: none;
  text-decoration: none;
}

.sit-quiet-dot {
  display: none;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: rgba(236, 184, 62, 0.82);
  box-shadow: 0 0 5px rgba(236, 184, 62, 0.35);
}

.start-here {
  margin: 1.25rem 0 0.35rem;
  text-align: left;
}

.start-here-back,
.library-back-line {
  margin: 0 0 0.85rem;
  text-align: center;
}

.start-here-sit {
  border-top: 0;
  padding-top: 0.1rem;
}

.start-here-gym {
  margin: 1.2rem auto 0;
  max-width: 20rem;
  text-align: center;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.35;
}

.start-here .level-why-line {
  margin-top: 0.85rem;
  text-align: center;
}

#all-sits,
#start-here {
  scroll-margin-top: calc(var(--sit-header) + 10px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream-muted);
  border-color: var(--hairline-strong);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

body.page-sit a.btn-gold[disabled],
body.page-sit button.btn-gold[disabled],
.btn-gold[disabled],
.btn-gold[aria-disabled="true"] {
  opacity: 1;
  color: #140e04;
  background: linear-gradient(180deg, #d7b15a 0%, #c49a32 55%, #a67c22 100%);
  cursor: not-allowed;
}

.sits, .tips { margin: 0.12rem 0 0; }
#view-sit > .tips { margin-top: calc(0.28rem + 8px); }

.sits-sub {
  margin: 0 0 0.35rem;
  color: var(--cream-quiet);
  font-size: 0.95rem;
}

.sit-audio { display: none; }

.sit-row.is-playing .play {
  border-color: var(--gold-dim);
  background: var(--gold-soft);
}

.sit-row, .tip {
  padding: 0.38rem 0;
  border-top: 1px solid var(--hairline);
}

.sit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sit-name, .tip h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 400;
}

.sit-name a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(236, 184, 62, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.sit-name a:hover,
.sit-name a:focus-visible {
  color: var(--gold);
}

.sit-row > div:not(.sit-actions) {
  min-width: 0;
  flex: 1 1 auto;
}

.sit-line {
  margin: 0.18rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.sit-meta, .tip p, .fine, .status {
  margin: 0.15rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.tip-index {
  margin: 0;
  color: var(--gold-dim);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.play {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.panel {
  margin-top: 0.4rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hairline);
}

.status-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
}

.status-list span { color: var(--cream-quiet); }
.status-list strong {
  font-weight: 400;
  text-align: right;
  color: var(--cream);
}

.faucet {
  margin: 0.8rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.claim-need .faucet {
  margin: 0;
}

.note {
  margin: 0.8rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.note .go-stamp-kept { color: #a99e84; } /* v290: quiet kept-state line */
.note a {
  color: #d4af37;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

.badges {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.badge {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--hairline);
}

.seal {
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--body);
  font-style: normal;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 1;
  font-size: 1.7rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(236, 184, 62, 0.16), transparent 62%);
}

.badge.is-locked .seal {
  color: rgba(244, 239, 230, 0.35);
  border-color: rgba(236, 184, 62, 0.2);
  background: transparent;
}

.badge h3 { font-size: 1.45rem; }
.badge p { margin: 0.2rem 0 0; color: var(--cream-quiet); font-size: 0.92rem; }

.kindness-btn {
  width: 100%;
  margin-top: 0.4rem;
  min-height: 3.4rem;
  font-size: 0.78rem;
}

.link-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.link-stack .btn { width: 100%; }

.plain-url {
  margin: 0.35rem 0 0;
  color: var(--gold-dim);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* v345: footer style A. Spaced uppercase gold links, quiet gold dots,
   a hairline gold rule above. Two rows on phones, one row on wide screens. */
.sit-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  max-width: 40rem;
  margin: 1.6rem auto 0.4rem;
  padding: 1.4rem 1.05rem 0;
  background: linear-gradient(90deg, transparent, rgba(232, 200, 120, 0.42), transparent) top center / 80% 1px no-repeat;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
}

.sit-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.sit-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem 0 0.4rem;
  color: #e8c878;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.sit-footer-links a:hover,
.sit-footer-links a:focus-visible { color: #f4dc9a; }

.sit-footer-links a:focus-visible { outline: 1px solid rgba(232, 200, 120, 0.6); outline-offset: 2px; }

.sit-footer-row > a:not([hidden]) ~ a::before {
  content: "·" / "";
  display: inline-block;
  margin: 0 1.05rem 0 0.8rem;
  color: rgba(232, 200, 120, 0.55);
  letter-spacing: 0;
}

@media (min-width: 640px) {
  .sit-footer-links { flex-direction: row; justify-content: center; max-width: 52rem; font-size: 0.74rem; letter-spacing: 0.2em; }
  .sit-footer-row { flex-wrap: nowrap; }
  .sit-footer-row + .sit-footer-row > a:not([hidden])::before {
    content: "·" / "";
    display: inline-block;
    margin: 0 1.05rem 0 0.8rem;
    color: rgba(232, 200, 120, 0.55);
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sit-footer-links a { transition: none; }
}

.footer-journal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0 0.35rem;
}

body.page-sit a.footer-journal-link {
  gap: 0.55rem;
  min-height: 48px;
  color: #0a0800;
  text-decoration: none;
}

body.page-sit a.footer-journal-link:hover,
body.page-sit a.footer-journal-link:focus-visible {
  color: #0a0800;
}

body.page-sit a.footer-journal-link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* Share a good deed sits first. On a phone the two gold buttons share one
   width and stack. From 769px they share one width side by side. */
.sit-deeds-action {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.sit-deeds-action .btn {
  width: auto;
  max-width: calc(100% - 1.25rem);
  min-height: 48px;
  padding: 0.95rem 2.35rem;
  text-decoration: none;
}

@media (min-width: 769px) {
  .footer-journal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
    align-items: stretch;
    width: min(100% - 2.1rem, 28rem);
    margin-inline: auto;
  }

  .sit-deeds-action .btn,
  body.page-sit .footer-journal > a.footer-journal-link {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding-inline: 0.85rem;
  }

  .footer-journal > .footer-quiet-links {
    grid-column: 1 / -1;
  }
}

.sit-deeds-action .btn:hover,
.sit-deeds-action .btn:focus-visible {
  color: #0a0800;
}

/* On a phone the two footer gold buttons share one width so they stack. */
@media (max-width: 768px) {
  .footer-journal {
    width: min(15.75rem, calc(100% - 2.1rem));
    margin-inline: auto;
    align-items: stretch;
  }

  body.page-sit a.footer-journal-link,
  .sit-deeds-action .btn {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
}

.footer-journal-mark {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.footer-quiet-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-quiet);
}

body.page-sit .footer-quiet-links a {
  color: var(--cream-muted);
}

body.page-sit .footer-quiet-links a:hover,
body.page-sit .footer-quiet-links a:focus-visible {
  color: var(--gold);
}

.footer-quiet-dot {
  color: rgba(244, 239, 230, 0.28);
  letter-spacing: 0;
}

.colophon {
  margin: 1.6rem 1.05rem 0;
  color: var(--cream-quiet);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
}

.sit-end-faq {
  margin: 1.15rem 1.05rem 0;
  text-align: center;
}

.sit-end-faq a {
  color: rgba(212, 175, 55, 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.sit-end-faq a:hover,
.sit-end-faq a:focus-visible {
  color: var(--gold);
}

.sit-more {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.remind-card {
  margin: 0.15rem auto 0.35rem;
  padding: 0.15rem 0 0.2rem;
  border: 0;
  background: none;
  text-align: center;
}

.remind-card[hidden] {
  display: none;
}

.remind-fields {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 22rem);
  margin: 0.35rem auto 0;
}

.remind-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0;
  padding: 0.35rem 0.35rem 0.35rem 1.05rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 100%);
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.remind-time input[type="time"] {
  color-scheme: dark;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  padding: 0.45rem 0.85rem;
  font: inherit;
  letter-spacing: 0.04em;
}

.remind-time input[type="time"]:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.remind-card p,
.remind-times {
  width: min(100%, 22rem);
  margin: 0.8rem auto 0;
  color: var(--gold-dim);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.remind-card p.remind-home {
  width: min(100%, 22rem);
  margin: 0.45rem auto 0;
  color: var(--cream-quiet);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.remind-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.15rem;
}

.remind-actions .sit-fold {
  margin-top: 0.85rem;
}

.remind-card .remind-status:empty { display: none; }

.remind-card .remind-status {
  margin: 0.7rem auto 0;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
}

.disclaimer {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--cream-quiet);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.sit-end {
  margin-top: 1.35rem;
  padding-top: 0.2rem;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 0.6rem;
  scroll-margin-bottom: calc(var(--chrome) + 3.4rem);
}

/* Quiet on-chain badges. Closed until asked. The stamp ladder stays the streak. */
.chain-streaks.sit-end {
  margin-top: 2.6rem;
  padding-top: 0;
  border-top: 0;
  text-align: center;
}

.chain-streaks-fold {
  margin: 0 auto;
  max-width: 22rem;
}

/* Author display rules would otherwise keep these rows visible while closed. */
.chain-streaks-fold:not([open]) > :not(summary) {
  display: none;
}

.chain-streaks-fold summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  margin: 0;
  padding: 0.15rem 0.2rem;
  list-style: none;
  cursor: pointer;
  color: var(--cream-muted);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.chain-streaks-fold summary::-webkit-details-marker,
.chain-streaks-fold summary::marker {
  display: none;
  content: "";
}

.chain-streaks-fold summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid rgba(236, 184, 62, 0.75);
  border-bottom: 1px solid rgba(236, 184, 62, 0.75);
  transform: rotate(45deg) translateY(-0.12rem);
  flex: 0 0 auto;
}

.chain-streaks-fold[open] summary::after {
  transform: rotate(-135deg) translateY(-0.05rem);
}

.chain-streaks-fold summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.chain-streaks-note,
.chain-streaks-count {
  margin: 0.85rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
  line-height: 1.45;
}

.chain-streaks-count {
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

.chain-streaks .badges {
  margin-top: 1.15rem;
  text-align: left;
}

.soon-card,
.shop-card {
  margin-top: 0.2rem;
  padding: 1.15rem 1.05rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

.soon-card h2,
.lane-title {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0.15rem 0 0.55rem;
}

.soon-card p,
.shop-card p,
.yt-card p {
  margin: 0.2rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.shop-card .btn { margin-top: 0.9rem; width: 100%; }

.kids-block { margin-top: 1.15rem; }

.lane-label {
  margin: 0.85rem 0 0.4rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.yt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0.7rem 0.55rem;
  padding-top: 1.4rem;
}

.yt-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0.35rem 0 0;
}

.yt-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
}

.yt-thumb,
.yt-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
  border: 0;
}

.yt-open.is-short,
.yt-thumb.is-short,
.yt-frame.is-short {
  aspect-ratio: 9 / 16;
}

.yt-open.is-wide,
.yt-thumb.is-wide,
.yt-frame.is-wide {
  aspect-ratio: 16 / 9;
}

.yt-open.is-fallback {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 38%, rgba(236, 184, 62, 0.18), transparent 62%),
    #000;
  border: 1px solid var(--hairline);
}

.yt-open.is-fallback.is-short { aspect-ratio: 9 / 16; }
.yt-open.is-fallback.is-wide { aspect-ratio: 16 / 9; }

.yt-open.is-fallback .yt-thumb { display: none; }

.yt-fallback {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 0.7rem 0.55rem 1.7rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.1;
  text-align: left;
}

.yt-play {
  position: absolute;
  left: 0.45rem;
  bottom: 0.4rem;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sdk-line[data-empty="true"] { display: none; }

button,
.tabbar a,
.full-site,
.play,
.connect,
.cal-nav,
.yt-open {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.signature {
  margin: 1.4rem 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
}

.breath-wrap {
  display: grid;
  place-items: center;
  margin: 0.8rem 0 0.4rem;
}

.breath-ring {
  width: 11.5rem;
  height: 11.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
}

.breath-ring span {
  width: 7.2rem;
  height: 7.2rem;
  border: 1px solid #d4af37;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.32), transparent 70%);
}

.breath-ring.is-breathing span {
  animation: breath 8s ease-in-out infinite;
}

@keyframes breath {
  0%, 100% { transform: scale(0.86); opacity: 0.72; }
  50% { transform: scale(1); opacity: 1; }
}

.practice { margin-top: 1.2rem; }

.practice-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  list-style: none;
}

.practice-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  border: 1px solid var(--hairline);
  text-align: center;
}

.practice-stats strong {
  color: #d4af37;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.practice-stats span {
  margin-top: 0.25rem;
  color: var(--cream-quiet);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.cal-label {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.35rem;
}

.cal-nav {
  min-width: 48px;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  margin-top: 0.35rem;
}

.cal-dow,
.cal-day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: var(--cream-quiet);
  font-size: 0.72rem;
}

.cal-day {
  position: relative;
}

.cal-dow {
  aspect-ratio: auto;
  min-height: 1.4rem;
  color: var(--gold-dim);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-day.is-empty { visibility: hidden; }

.cal-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.75);
  border-radius: 50%;
}

.cal-day.is-sat {
  color: #f6e7b2;
  font-weight: 500;
  background: transparent;
  border-radius: 50%;
  box-shadow: none;
}

.cal-day.is-sat.is-today {
  box-shadow: none;
}

.cal-coin-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(42px, 88%);
  height: min(42px, 88%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #100e0a;
  box-shadow:
    0 0 0 1px rgba(255, 236, 190, 0.78),
    0 0 7px rgba(212, 175, 55, 0.42);
  pointer-events: none;
}

.cal-day.is-sat.is-today .cal-coin-wrap {
  box-shadow:
    0 0 0 1.5px #fff6d4,
    0 0 0 3px rgba(212, 175, 55, 0.5),
    0 0 12px rgba(243, 226, 168, 0.88);
}

.cal-day.is-sat .cal-coin,
.cal-day.is-sat .cal-coin img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.cal-day.is-sat .cal-coin {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
}

.cal-day.is-sat .cal-num {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  min-width: 1.05em;
  padding: 0 0.22em;
  border-radius: 999px;
  background: rgba(8, 6, 2, 0.74);
  color: #f6e7b2;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .cal-coin-wrap,
  .cal-day.is-sat .cal-coin,
  .cal-day.is-sat .cal-coin img,
  .cal-day.is-sat .cal-num {
    animation: none;
    transition: none;
  }
}

.cal-day.is-mend {
  color: #d4af37;
  background: transparent;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #d4af37;
}

/* v344: Stamp today moved to the finish screen (Collect today's stamp). */

.journey,
.journey .practice,
.journey .stamp-path {
  scroll-margin-top: calc(var(--sit-header) + 8px);
}

.journey-title {
  margin: 0.35rem 0 1.05rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.95rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #f3e2a8;
}

.journey-title .path-road-words {
  display: block;
}

.journey .practice {
  margin-top: 0.15rem;
}

.journey .practice-stats {
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.journey .practice-stats li {
  min-height: 3.2rem;
}

.journey .practice-stats strong {
  font-size: 1.65rem;
}

.journey .stamp-path {
  margin-top: 0.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(236, 184, 62, 0.22);
}

.journey .stamp-path-kicker {
  display: none;
}

.stamp-path {
  margin: 0.2rem 0 0.85rem;
}

.stamp-path-title {
  margin: 0 0 0.2rem;
  font-size: 1.7rem;
}

.stamp-path-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0.1rem 0 0.15rem;
}

.stamp-path-list::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 23px;
  z-index: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(#d4af37, rgba(212, 175, 55, 0.28));
}

.stamp-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 48px;
  margin: 0.2rem 0;
  padding: 0.15rem 0;
}

.stamp-step:nth-child(even) {
  margin-left: 1.35rem;
}

.stamp-step .seal {
  position: relative;
  width: 48px;
  height: 48px;
  z-index: 1;
  overflow: visible;
  font-size: 1.15rem;
  background-color: #000;
}

.stamp-step.is-locked .seal {
  color: rgba(244, 239, 230, 0.35);
  border-color: rgba(212, 175, 55, 0.28);
  background: #000;
}

.stamp-step.is-progress .seal {
  color: #d4af37;
  border-color: #d4af37;
  background-color: #000;
  background-image: radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.35), #000 70%);
}

.stamp-step.is-mint .seal,
.stamp-step.is-coming .seal,
.stamp-step.is-minted .seal {
  color: #140e04;
  border-color: #d4af37;
  background: radial-gradient(circle at 50% 42%, #f3e2a8, #d4af37 58%, #8d6b1c 100%);
}

.stamp-onchain {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.12rem;
}

.stamp-tick {
  width: 0.55rem;
  height: 0.32rem;
  margin-bottom: 0.16rem;
  border-left: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
  transform: rotate(-45deg);
}

.stamp-name {
  display: block;
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.05;
}

.stamp-state,
.stamp-note {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.92rem;
}

.stamp-state { color: var(--cream-quiet); }

.stamp-step.is-mint .stamp-state,
.stamp-step.is-coming .stamp-state,
.stamp-step.is-progress .stamp-state,
.stamp-step.is-minted .stamp-state {
  color: #d4af37;
}

.stamp-step.is-minted .stamp-state,
.stamp-onchain .stamp-state {
  margin-top: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.stamp-note {
  color: var(--cream-quiet);
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
}

.stamp-path-note {
  margin: 0.45rem 0 0;
  max-width: 22rem;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.stamp-path-brand { margin-top: 0.55rem; }

.milestones { margin-top: 0.85rem; }

.milestone {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--hairline);
}

.milestone h3 { font-size: 1.35rem; }

.milestone p {
  margin: 0.15rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.milestone .btn { margin-top: 0.55rem; }

.milestone.is-locked .seal {
  color: rgba(244, 239, 230, 0.35);
  border-color: rgba(212, 175, 55, 0.22);
  background: transparent;
}

.milestone:not(.is-locked) .seal {
  color: #140e04;
  border-color: #d4af37;
  background: radial-gradient(circle at 50% 42%, #f3e2a8, #d4af37 58%, #8d6b1c 100%);
}

.pets-milestone {
  margin-top: 1.25rem;
  padding: 1.05rem 1rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

.pets-milestone[hidden] { display: none; }

.pets-headline {
  text-wrap: balance;
}

.pets-body {
  margin: 0.35rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.pets-body:empty { display: none; }

.pets-count {
  margin: 0.55rem 0 0.4rem;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.pets-count strong {
  color: #d4af37;
  font-weight: 400;
}

.pets-meter {
  height: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #000;
}

.pets-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8d6b1c, #d4af37);
}

.pets-reached,
.pets-note {
  margin: 0.7rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.pets-reached { color: var(--cream); }

.claim-fx {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  pointer-events: none;
}

.claim-fx[hidden] { display: none; }

.claim-fx-ring,
.claim-fx-seal {
  grid-area: 1 / 1;
}

.claim-fx-ring {
  width: 8.5rem;
  height: 8.5rem;
  border: 2px solid #d4af37;
  border-radius: 50%;
  opacity: 0;
}

.claim-fx-seal {
  width: 8.2rem;
  height: 8.2rem;
  display: grid;
  place-items: center;
  border: 3px solid #d4af37;
  border-radius: 50%;
  color: #d4af37;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.42), #000 68%);
  font-family: var(--display);
  font-size: 1.7rem;
  opacity: 0;
}

/* v344: brief (1.4s) and fading out, so the ring never stays over the text. */
.claim-fx.is-on {
  animation: claim-fx-fade 1.4s ease-in-out forwards;
}

@keyframes claim-fx-fade {
  0% { opacity: 0; }
  15% { opacity: 1; }
  65% { opacity: 1; }
  100% { opacity: 0; }
}

.claim-fx.is-on .claim-fx-ring {
  animation: claim-ring 1.4s ease-out forwards;
}

.claim-fx.is-on .claim-fx-seal {
  animation: claim-stamp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes claim-ring {
  0% { transform: scale(0.35); opacity: 0.95; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes claim-stamp {
  0% { transform: scale(1.7) rotate(-12deg); opacity: 0; }
  42% { transform: scale(1.06) rotate(-2deg); opacity: 1; }
  58% { transform: scale(0.9) rotate(1deg); opacity: 1; }
  74% { transform: scale(1) rotate(0deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.walk-sit {
  margin: 0.85rem 0 0.35rem;
  padding: 1rem 0.95rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px));
}

.walk-pictures {
  margin: 0.55rem 0 0.15rem;
}

.walk-picture {
  display: block;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #000;
  line-height: 0;
  overflow: hidden;
}

.walk-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.walk-picture img.is-desk-photo {
  object-fit: cover;
  object-position: center 18%;
}

.walk-lengths,
.walk-actions {
  display: flex;
  gap: 0.55rem;
  margin: 0.75rem 0 0.35rem;
}

.walk-lengths .btn,
.walk-actions .btn,
.walk-modes .btn,
.walk-stamp,
.walk-foot .btn {
  min-height: 48px;
  min-width: 48px;
}

.walk-lengths .btn,
.walk-actions .btn {
  flex: 1;
}

.walk-modes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.55rem 0;
}

.walk-modes .btn,
.walk-stamp {
  width: 100%;
}

.walk-caption {
  margin: 0.35rem 0 0.15rem;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.25;
}

.walk-sit .timer-digits {
  margin: 0.15rem 0 0.2rem;
}

.walk-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 0.2rem;
}

.walk-seal {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #140e04;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  font-family: var(--body);
  font-style: normal;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 1.15rem;
  line-height: 1;
}

.walk-badge p {
  margin: 0;
  color: var(--cream);
}

.walk-foot {
  margin-top: 0.85rem;
}

.walk-care {
  margin: 0.7rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.builders {
  margin: 0.85rem 0 0.35rem;
  padding: 1rem 0.95rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px));
}

.builders-modes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.65rem 0 0.2rem;
}

.builders-voice {
  display: flex;
  gap: 0.35rem;
  margin: 0.75rem 0 0.15rem;
}

.builders-voice .btn {
  flex: 1 1 0;
  min-height: 48px;
  min-width: 48px;
}

.builders-modes .btn,
.builders-ship,
.builders-back,
.builders .walk-actions .btn {
  width: 100%;
  min-height: 48px;
  min-width: 48px;
}

.builders .walk-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.builders .walk-actions .btn {
  flex: 1;
  width: auto;
}

.builders-term {
  margin: 0.35rem 0 0.15rem;
  color: var(--gold);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.builders-phase {
  margin: 0.1rem 0 0.15rem;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.builders-ring {
  width: 9.5rem;
  height: 9.5rem;
}

.builders-ring span {
  width: 6rem;
  height: 6rem;
}

.builders-ring.is-live span {
  animation: builders-breath 14s linear infinite;
}

.builders-ring.is-arriving span {
  animation: none;
  transform: scale(0.82);
  opacity: 0.75;
  transition: transform 4s ease-in-out, opacity 4s ease-in-out;
}

.builders-ring.is-arriving.is-arrive-in span {
  transform: scale(1);
  opacity: 1;
  transition-duration: 4s;
}

.builders-ring.is-arriving.is-arrive-out span {
  transform: scale(0.82);
  opacity: 0.75;
  transition-duration: 5.5s;
}

.build-skip-row {
  margin: 0.2rem 0 0;
  text-align: center;
}

.build-skip {
  margin: 0;
  padding: 0.15rem 0.2rem;
  border: 0;
  background: none;
  color: rgba(236, 184, 62, 0.72);
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.build-skip:hover,
.build-skip:focus-visible {
  color: var(--gold-bright);
}

@keyframes builders-breath {
  0% { transform: scale(0.82); opacity: 0.75; }
  28.5% { transform: scale(1); opacity: 1; }
  57% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.82); opacity: 0.75; }
}

.builders-eyes {
  margin: 0.35rem 0 0.15rem;
  color: var(--cream);
  font-size: 0.98rem;
}

.builders-nudge {
  margin: 0.7rem 0 0.95rem;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.6;
}

.builders-seal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.builders-seal-mark {
  width: 4.6rem;
  height: 4.6rem;
  flex: 0 0 4.6rem;
  display: grid;
  place-items: center;
  padding: 0.35rem;
  border-radius: 50%;
  text-align: center;
  color: #140e04;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.05;
}

.builders-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.builders-seal p {
  margin: 0.1rem 0 0;
}

.builders .walk-care {
  margin-top: 0.45rem;
}

.builders .signature {
  margin-top: 0.45rem;
}

.coach {
  margin: 0.85rem 0 0.35rem;
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px));
}

.coach-panel {
  padding: 1rem 0.95rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

.coach-panel .lane-title {
  margin: 0 0 0.2rem;
  font-size: 1.55rem;
}

.coach .signature {
  margin: 0.4rem 0 0;
}

.coach-journal-link {
  width: 100%;
  margin-top: 0.65rem;
}

.coach-panel > [data-coach-stage] > .coach-journal-link:first-child,
.coach > .coach-journal-link {
  margin-top: 0;
}

.coach-hear {
  min-height: 48px;
  min-width: 48px;
}

.coach-caption,
.coach-reply {
  margin: 0.25rem 0 0.35rem;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.25;
}

.coach-question {
  margin: 0.1rem 0 0.4rem;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.coach-field {
  display: block;
  color: var(--cream-quiet);
  font-size: 0.85rem;
}

.coach-field textarea {
  display: block;
  width: 100%;
  min-height: 3.4rem;
  margin-top: 0.25rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--hairline);
  background: #000;
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.4;
  resize: vertical;
}

.coach-count {
  margin: 0.15rem 0 0.3rem;
  color: var(--cream-quiet);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.coach-voice {
  margin: 0.1rem 0 0.55rem;
}

.coach-voice .btn {
  width: 100%;
}

.coach-voice-status {
  margin: 0.35rem 0 0;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.coach-voice-status[hidden] {
  display: none;
}

[data-coach-voice-record][aria-pressed="true"] {
  border-color: rgba(236, 184, 62, 0.85);
  color: var(--gold);
}

.coach-voice-play {
  width: 100%;
  margin-top: 0.45rem;
}

.coach-actions {
  display: flex;
  gap: 0.55rem;
}

.coach-actions .btn,
.coach-item .btn,
.coach-hear,
.coach-journal-link {
  min-height: 48px;
  min-width: 48px;
}

.coach-actions .btn {
  flex: 1;
}

.coach-privacy {
  margin: 0.4rem 0 0;
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.4;
}

button.journal-private {
  display: block;
  width: 100%;
  max-width: 18rem;
  margin: 0.15rem auto 0.35rem;
  padding: 0.15rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button.journal-private:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.72);
  outline-offset: 3px;
}

button.journal-private[hidden] {
  display: none !important;
}

.journal-safe {
  width: min(18.75rem, calc(100vw - 2.5rem));
  max-width: calc(100vw - 2.5rem);
  margin: auto;
  padding: 1.2rem 1.15rem 1.05rem;
  border: 1px solid rgba(236, 184, 62, 0.72);
  border-radius: 16px;
  background: #000;
  color: var(--cream);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.journal-safe::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

.journal-safe-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.journal-safe-body {
  margin: 0.7rem 0 0;
  color: rgba(244, 239, 230, 0.88);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
}

.journal-safe-body + .journal-safe-body {
  margin-top: 0.55rem;
}

.journal-safe-stamps {
  margin: 0.85rem 0 1rem;
  color: rgba(244, 239, 230, 0.72);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
}

.journal-safe-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(236, 184, 62);
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.journal-safe-link:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.72);
  outline-offset: 3px;
}

.journal-safe .btn {
  width: 100%;
}

.backup-entry {
  margin: 0.15rem 0 0.75rem;
  text-align: center;
}

.backup-open,
.backup-choice,
.backup-back,
.backup-close {
  border: 0;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.backup-open {
  display: inline;
  margin: 0;
  padding: 0.55rem 0.35rem;
  font-size: 0.82rem;
}

.backup-open:focus-visible,
.backup-choice:focus-visible,
.backup-back:focus-visible,
.backup-close:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.72);
  outline-offset: 3px;
}

.backup-card {
  width: min(19.5rem, calc(100vw - 2.25rem));
  max-width: calc(100vw - 2.25rem);
  margin: auto;
  padding: 1.15rem 1.1rem 0.85rem;
  border: 1px solid rgba(236, 184, 62, 0.72);
  border-radius: 16px;
  background: #000;
  color: var(--cream);
  color-scheme: dark;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.backup-card::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

.backup-card[hidden] {
  display: none;
}

.backup-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.backup-lead,
.backup-warn,
.backup-status {
  margin: 0.7rem 0 0;
  color: rgba(244, 239, 230, 0.88);
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
}

.backup-warn {
  margin-top: 0.75rem;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.78rem;
}

.backup-choice {
  display: block;
  width: 100%;
  margin: 0.15rem 0;
  padding: 0.45rem 0.2rem;
  font-size: 0.95rem;
  text-align: center;
}

.backup-field {
  display: block;
  margin: 0.75rem 0 0;
  color: rgba(244, 239, 230, 0.78);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  text-align: left;
}

.backup-card input {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 10px;
  background: #000;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.95rem;
}

.backup-card input[type="file"] {
  padding: 0.4rem 0;
  border: 0;
  font-size: 0.82rem;
}

.backup-card .btn {
  width: 100%;
  margin-top: 0.9rem;
}

.backup-back,
.backup-close {
  display: block;
  width: 100%;
  margin: 0.45rem 0 0;
  padding: 0.4rem 0.2rem;
  font-size: 0.82rem;
  text-align: center;
}

.backup-status:empty {
  display: none;
}

.coach-care {
  margin: 0.25rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.88rem;
  line-height: 1.35;
}

.coach-care a {
  text-decoration: underline;
  text-decoration-color: rgba(236, 184, 62, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.coach-item {
  margin-top: 0.45rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--hairline);
}

.coach-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 48px;
}

.coach-date {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coach-item-q {
  margin: 0.15rem 0 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.2;
}

.coach-item-a {
  margin: 0.1rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.coach-item .btn {
  flex: 0 0 auto;
}

.coach-empty {
  margin: 0.85rem 0 0.15rem;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .coach,
  .coach *,
  .builders-ring.is-live span,
  .builders-ring.is-arriving span {
    animation: none !important;
    transition: none !important;
  }
  .breath-ring.is-breathing span,
  .gas-ring.is-breathing .gas-doge,
  .breathe-chest,
  .dare-kobe.is-spinning img,
  /* v344: no Stamp overlay at all with reduced motion */
  .claim-fx,
  .claim-fx.is-on { display: none !important; animation: none; }
}

.day-home,
.breathe,
.bell {
  margin-top: 1.15rem;
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top));
}

.day-home {
  padding: 1.05rem 1rem 0.95rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

.day-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.75rem 0;
}

.day-actions .btn,
.breathe > div > .btn,
.bell > div > .btn {
  width: 100%;
}

.day-toggle { margin-top: 0.2rem; }

.breathe-stage {
  position: relative;
  width: min(100%, 16rem);
  margin: 0.7rem auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #000;
}

.breathe-still,
.breathe-chest {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.breathe-chest {
  clip-path: inset(42% 20% 16% 20% round 46%);
  transform-origin: 50% 88%;
}

.breathe-cue {
  margin: 0.4rem 0 0.8rem;
  color: #d4af37;
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  text-align: center;
}

.breathe.is-eyes {
  background: #000;
}

.breathe.is-eyes .breathe-stage {
  opacity: 0.12;
}

.breathe.is-eyes .breathe-cue {
  opacity: 1;
}

.bell.is-dark {
  background: #000;
  padding-bottom: 0.4rem;
}

.bell-clock {
  margin: 1rem 0 1.2rem;
  color: #d4af37;
  font-family: var(--display);
  font-size: 4.4rem;
  line-height: 1;
  text-align: center;
}

.bell-label {
  margin: 0.45rem 0 0.25rem;
}

.bell-row {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 0.15rem;
}

.bell-row .btn,
.bell-row input {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0.35rem 0.2rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
}

.bell-row input {
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--cream);
  font-family: var(--body);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.bell-row input.is-on {
  border-color: transparent;
  color: #140e04;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
}

.bell-row-wrap {
  flex-wrap: wrap;
}

.bell-row-wrap .btn {
  flex: 1 1 28%;
}

.bell-row + .bell-row {
  margin-top: 0.35rem;
}

.bell-more {
  margin: 0.7rem 0 0.9rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 0.2rem 0 0.5rem;
}

.bell-more > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: #d4af37;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bell-more > summary::-webkit-details-marker { display: none; }

.bell-more > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1rem;
}

.bell-more[open] > summary::after { content: "\2212"; }

.bell-more > summary:focus-visible,
.bell-slider input:focus-visible,
.bell-check input:focus-visible {
  outline: 1px solid #e8c878;
  outline-offset: 3px;
}

.bell-slider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--cream);
  font-size: 0.78rem;
}

.bell-slider span { flex: 0 0 8.2rem; }

.bell-slider input[type="range"] {
  flex: 1 1 auto;
  accent-color: #d4af37;
}

.bell-toggles {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.bell-check {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--cream);
  font-size: 0.78rem;
}

.bell-check input {
  width: 20px;
  height: 20px;
  accent-color: #d4af37;
}

.bell-mute {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.62rem;
}

.bell-mute[aria-pressed="true"] {
  border-color: #e8c878;
  color: #e8c878;
}

.bell-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bell-kind {
  color: #e8c878;
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  .bell,
  .bell * {
    transition: none !important;
    animation: none !important;
  }
}

.kinder-note,
.kinder-copy {
  margin: 0.45rem 0 0.7rem;
  color: var(--cream-quiet);
  font-size: 0.92rem;
}

.kinder-copy {
  color: #d4af37;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
}

#mend-yesterday { width: 100%; }

.local-keeps {
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0 0.8rem;
  padding: 0;
  list-style: none;
}

.local-keeps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.7rem;
  align-items: center;
  min-height: 48px;
}

.keep-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  color: rgba(244, 239, 230, 0.45);
  background: #000;
}

.local-keeps .keep-name,
.local-keeps [data-keep-state] {
  display: block;
}

.local-keeps .keep-name {
  font-family: var(--display);
  font-size: 1.2rem;
}

.local-keeps [data-keep-state] {
  color: var(--cream-quiet);
  font-size: 0.85rem;
}

.local-keeps li.is-on .keep-mark {
  color: #140e04;
  border-color: #d4af37;
  background: radial-gradient(circle at 50% 42%, #f3e2a8, #d4af37 58%, #8d6b1c);
}

.local-keeps li.is-on [data-keep-state] { color: #d4af37; }

.sit-title { margin-top: 0.85rem; }

.day-home { margin: 0.85rem 0 0.15rem; }

.day-home .btn {
  width: 100%;
  margin-top: 0.85rem;
}

.sit-now.is-live {
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

body.page-sit .kind-tip,
body.page-sit .kind-tip-sheet-card {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

body.page-sit .kind-tip .btn,
body.page-sit .kind-tip-sheet .btn,
body.page-sit .kind-tip-uri {
  border-radius: 999px;
}

.day-toggle { margin-top: 0.85rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d4af37;
  font-family: var(--body);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.quiet-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 1.15rem 0;
  color: var(--cream);
  font-size: 1.05rem;
}

.sit-fold {
  width: min(100%, 22rem);
  margin: 0.95rem auto;
  padding: 0.92rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
  text-decoration: none;
  color: #0a0800;
}

.signature + .sit-fold {
  margin-top: 1.45rem;
}

.sit-fold:hover,
.sit-fold:focus-visible {
  color: #0a0800;
}

/* Your DogeDharma path sits full width under the library. The opened view follows. */
.sit-folds {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0.42rem auto 0.35rem;
}

.signature + .sit-folds {
  margin-top: 1.85rem;
}

.sit-folds > .tips,
.sit-folds > .sits,
.sit-folds > .journey,
.sit-folds > .practice,
.sit-folds > .stamp-path {
  align-self: stretch;
  width: 100%;
  margin: 0.85rem 0 0.2rem;
}

body.page-sit .sit-folds > button.path-pill {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 4.55rem;
  margin: 0;
  padding: 0.62rem 0.85rem 0.88rem;
  overflow: hidden;
  border: 1px solid rgba(226, 179, 74, 0.88);
  border-radius: 999px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  text-transform: none;
  color: #f0d48a;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 243, 196, 0.08);
}

body.page-sit .sit-folds > button.path-pill:hover,
body.page-sit .sit-folds > button.path-pill:focus-visible {
  color: #f6e7b8;
  background: #000;
  border-color: #f3e2a8;
}

body.page-sit .sit-folds > button.path-pill:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

body.page-sit .sit-folds > button.path-pill[aria-expanded="true"] {
  color: #f6e7b8;
  background: #000;
  border-color: #f3e2a8;
  box-shadow:
    inset 0 0 0 1px rgba(255, 243, 196, 0.16),
    0 0 0 1px rgba(226, 179, 74, 0.28);
}

.path-pill-coin {
  position: absolute;
  z-index: 1;
  left: 0.48rem;
  top: 46%;
  width: 1.72rem;
  height: 1.72rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.path-pill-coin.is-dim {
  opacity: 0.4;
}

.path-pill-coin .foil-coin {
  width: 1.72rem;
  height: 1.72rem;
  margin: 0;
}

.path-pill-coin .foil-coin.is-earned svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.path-pill-coin .foil-glint,
.path-pill-coin .foil-coin.is-rare.is-earned::before {
  display: none;
}

.path-pill-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
  max-width: 100%;
  padding: 0 1.85rem;
}

.path-road-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.path-road-scene {
  position: relative;
  display: block;
  width: 100%;
  height: 1.28rem;
  margin: 0.12rem 0 0.08rem;
}

.path-road {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.path-road-fill {
  fill: rgba(236, 184, 62, 0.07);
  stroke: none;
}

.path-road-edge,
.path-road-dash {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.path-road-edge {
  stroke: rgba(236, 184, 62, 0.58);
  stroke-width: 1;
}

.path-road-near {
  stroke: rgba(243, 226, 168, 0.72);
  stroke-width: 1.15;
}

.path-road-dash {
  stroke: rgba(243, 226, 168, 0.42);
  stroke-width: 0.9;
  stroke-dasharray: 2.2 3.6;
}

/* v234: small gold paw prints walk the road, left and right, each one
   appearing and fading in turn. Bright gold with only a faint soft edge. */
.path-steps {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.path-step {
  position: absolute;
  left: calc(8% + var(--i) * 12.5%);
  width: 0.56rem;
  height: 0.56rem;
  margin-left: -0.28rem;
  opacity: 0;
  animation: path-step-walk 6.3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.6s);
}

.path-step-l { top: 30%; }
.path-step-r { top: 58%; }

.path-step-paw {
  display: block;
  width: 100%;
  height: 100%;
  fill: #f6dc8e;
  transform: rotate(90deg);
  filter: drop-shadow(0 0 1.5px rgba(236, 184, 62, 0.45));
}

.path-step-l .path-step-paw { transform: rotate(80deg); }
.path-step-r .path-step-paw { transform: rotate(100deg); }

@keyframes path-step-walk {
  0% { opacity: 0; }
  5% { opacity: 1; }
  22% { opacity: 0.85; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

.path-pill-title {
  font-size: 1.14rem;
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.15;
  color: #f3e2a8;
}

.path-pill-sub {
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: rgba(232, 214, 170, 0.72);
}

.path-pill-meter {
  position: absolute;
  z-index: 1;
  left: 14%;
  right: 14%;
  bottom: 0.3rem;
  height: 4px;
  pointer-events: none;
}

.path-pill-meter svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.path-thread-track {
  stroke: rgba(156, 107, 30, 0.45);
  stroke-width: 0.42;
  stroke-linecap: round;
}

.path-thread-fill {
  stroke: #e8c56a;
  stroke-width: 0.72;
  stroke-linecap: round;
  filter: drop-shadow(0 0 0.35px rgba(255, 236, 190, 0.85));
}

.path-thread-shine {
  stroke: #fff8ee;
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  animation: path-shimmer 7.5s linear infinite;
}

@keyframes path-shimmer {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}

.sit-folds .sit-fold-dot {
  display: none;
}

.sit-folds .sit-fold-stat {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: none;
  color: rgba(28, 20, 6, 0.58);
}

.sit-fold-dot {
  margin: 0 0.28rem;
}

.builders-ship,
.builders-deeds {
  width: min(100%, 22rem);
  margin-right: auto;
  margin-left: auto;
  text-decoration: none;
}

.builders-deeds {
  margin-top: 0.75rem;
}

.quiet-dot { color: #d4af37; }

.sit-now { display: block; margin: 0.4rem 0 1rem; }
.sit-now.is-live { display: block; }

@property --tool-edge {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.tool-scroll {
  position: relative;
  margin: 0.85rem -0.4rem 0.3rem;
}

.tool-scroll-hint {
  position: relative;
  display: block;
  width: 100%;
  min-height: 1.05rem;
  margin: 0 0 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(236, 184, 62, 0.4);
  cursor: pointer;
  line-height: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tool-scroll.is-hinting .tool-scroll-hint {
  opacity: 1;
}

.tool-scroll-hint[hidden] {
  display: none;
}

.tool-scroll-hint:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 2px;
  border-radius: 6px;
}

.tool-scroll-marks {
  position: absolute;
  top: 0.12rem;
  left: calc(100% - 0.35rem - 3.15rem);
  display: block;
  width: 3.15rem;
  height: 0.68rem;
  transform: rotate(0deg);
  transform-origin: center center;
  transition: left 0.36s ease, transform 0.36s ease;
}

.tool-scroll.is-pointing-left .tool-scroll-marks {
  left: 0.35rem;
  transform: rotate(180deg);
}

.tool-scroll-chevrons {
  display: block;
  width: 3.15rem;
  height: 0.68rem;
}

.tool-scroll-chevrons-dim {
  color: rgba(236, 184, 62, 0.5);
}

.tool-scroll-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 32%, #000 50%, rgba(0, 0, 0, 0.28) 68%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 32%, #000 50%, rgba(0, 0, 0, 0.28) 68%, transparent 100%);
  -webkit-mask-size: 62% 100%;
  mask-size: 62% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: -80% 0;
  mask-position: -80% 0;
  animation: tool-chevron-sweep 2.8s linear infinite;
}

.tool-scroll-chevrons-lit {
  position: absolute;
  inset: 0;
  color: #fff8ec;
  filter: drop-shadow(0 0 2.5px rgba(255, 226, 160, 0.9));
}

@keyframes tool-chevron-sweep {
  from {
    -webkit-mask-position: -80% 0;
    mask-position: -80% 0;
  }
  to {
    -webkit-mask-position: 180% 0;
    mask-position: 180% 0;
  }
}

.tool-row {
  display: flex;
  align-items: stretch;
  gap: 0.08rem;
  /* Familiar tools still fit. Newer ones scroll sideways in the same row. */
  --tool-edge: 0px;
  margin: 0;
  padding-bottom: 0.2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - var(--tool-edge)), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - var(--tool-edge)), transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: --tool-edge 0.4s ease;
}

.tool-scroll.is-hinting .tool-row {
  --tool-edge: 2.7rem;
}

.tool-scroll.is-pointing-left .tool-row {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--tool-edge), #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--tool-edge), #000 100%);
}

.tool-row::-webkit-scrollbar { display: none; }

.tool-tab {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  width: 4.7rem;
  min-width: 4.7rem;
  scroll-snap-align: start;
  height: auto;
  overflow: visible;
  padding: 0.42rem 0.16rem 0.48rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.tool-tab svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  flex: 0 0 auto;
}

.tool-label {
  flex: 0 0 auto;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.tool-hint {
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
  font-family: var(--body);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
  color: rgba(244, 239, 230, 0.88);
  white-space: normal;
  text-wrap: balance;
  overflow: visible;
}

.tool-tab.is-on .tool-hint {
  color: var(--cream);
}

/* Wraps so the full name stays in the row on a narrow phone. */
.tool-tab[data-tool-tab="break"] .tool-label,
.tool-tab[data-tool-tab="tip"] .tool-label {
  max-width: 6.4em;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
}

.tool-tab:hover,
.tool-tab:focus-visible {
  color: var(--gold-bright);
}

.tool-tab.is-on {
  color: var(--gold-bright);
  background: rgba(236, 184, 62, 0.16);
  box-shadow: inset 0 -2px 0 var(--gold-bright);
}

.tool-panel {
  margin: 0.35rem 0 1.2rem;
  padding-top: 0.2rem;
}

.tool-panel .signature { display: none; }

.tool-close { margin-bottom: 0.4rem; }

.tool-panel .breathe,
.tool-panel .bell,
.tool-panel .walk-sit,
.tool-panel .builders,
.tool-panel .tool-card,
.tool-panel .coach,
.tool-panel .kind-tip {
  margin-top: 0.2rem;
}

.tool-card {
  margin: 0.85rem 0 0.35rem;
  padding: 1rem 0.95rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 55%, #050505 100%);
}

.tool-card .btn {
  width: 100%;
}

.garden-bed {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.05rem;
  min-height: 4.2rem;
  margin: 0.85rem 0 0.35rem;
  padding: 0.35rem 0.1rem 0.2rem;
}

.lotus {
  width: 2.45rem;
  height: 2.15rem;
  display: block;
  overflow: visible;
  color: var(--gold-bright);
}

.lotus path {
  fill: rgba(236, 184, 62, 0.34);
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.dare-kobe {
  width: 9.25rem;
  height: 9.25rem;
  margin: 0.45rem auto 0.2rem;
  overflow: hidden;
  border-radius: 12px;
}

.dare-kobe img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 12px;
}

.dare-kobe.is-spinning img {
  animation: kobe-happy-spin 0.85s ease-in-out 1;
}

@keyframes kobe-happy-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shelter-kicker {
  margin: 0.85rem 0 0.15rem;
  color: var(--cream-quiet);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shelter-count {
  margin: 0.1rem 0 0.75rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
}

.shelter-community {
  margin: 0.15rem 0 0;
  color: var(--cream);
  font-size: 1.05rem;
}

.shelter-bar {
  height: 0.35rem;
  margin: 0 0 0.7rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  overflow: hidden;
}

.shelter-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

.gas-ring > span,
.gas-ring > .gas-doge {
  grid-area: 1 / 1;
}

.gas-doge {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: cover;
  border-radius: 50%;
}

/* 4s in, 2s hold, 6s out. The sit Breathe ring keeps its own timing. */
.gas-ring.is-breathing > span,
.gas-ring.is-breathing > .gas-doge {
  animation: gas-breath 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes gas-breath {
  0% { transform: scale(0.88); opacity: 0.78; }
  33.333% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.88); opacity: 0.78; }
}

.gas-caption {
  margin: 0.15rem 0 0;
  text-align: center;
  color: var(--cream);
}

.gas-host:empty {
  display: none;
}

.gas-live {
  margin: 0.65rem 0 0.2rem;
}

#mend-yesterday {
  width: auto;
  margin: 0.2rem 0 0.6rem;
}

/* Local Sit Stamps. foil- names stay clear of the homepage stamp layer. */
.sit-now:has([data-foil-done]:not([hidden])) .timer-digits,
.sit-now:has([data-foil-done]:not([hidden])) .timer-state {
  display: none;
}

.foil-card {
  margin: 0.15rem 0 0.9rem;
  padding: 1.35rem 1.05rem 1.05rem;
  border: 1px solid rgba(212, 175, 55, 0.78);
  border-radius: 18px;
  background: #050505;
  text-align: center;
}

.foil-card-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.72rem;
  line-height: 1.15;
  color: #e6c56a;
}

.foil-caption {
  margin: 0.75rem 0 0;
  color: rgba(230, 197, 106, 0.9);
  font-family: var(--body);
  font-size: 0.92rem;
  letter-spacing: 0.045em;
}

.foil-motto {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12rem;
  color: #d4af37;
}

.foil-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.foil-info {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 50%;
  background: #000;
  color: #d4af37;
  font-family: var(--display);
  font-size: 0.82rem;
  line-height: 1.15rem;
  cursor: pointer;
}

.foil-tip {
  margin: 0.7rem auto 0;
  max-width: 20rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #000;
  color: #e6c56a;
  text-align: left;
}

.foil-tip[hidden] {
  display: none !important;
}

.foil-tip p {
  margin: 0;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.foil-tip-wallet {
  display: inline-block;
  margin-top: 0.55rem;
  color: #d4af37;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: transparent;
}

.foil-tip-wallet:hover,
.foil-tip-wallet:focus-visible {
  text-decoration: underline;
}

.stamp-free {
  margin: 0.2rem 0 0.15rem;
  text-align: center;
  color: #d4af37;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: 0.015em;
}

.foil-streak {
  margin: 0.35rem 0 0;
  text-align: center;
  color: rgba(230, 197, 106, 0.72);
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.unstamped-note {
  margin: 0.35rem 0 0.7rem;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  color: rgba(236, 226, 208, 0.78);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.foil-explorer {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.foil-explorer[hidden] {
  display: none !important;
}

.foil-coin {
  position: relative;
  width: 9.4rem;
  height: 9.4rem;
  margin: 0.95rem auto 0.15rem;
  border-radius: 50%;
  background: transparent;
}

.foil-coin.is-earned svg {
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.22));
}

.foil-coin.is-quiet svg {
  filter: drop-shadow(0 1px 0 rgba(255, 236, 210, 0.04));
}

.foil-coin svg {
  display: block;
  width: 100%;
  height: 100%;
}

.stamp-face {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.stamp-face img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
  /* v461: Android Chrome was painting the alt and skipping the bitmap
     inside this circle, so the finish screen showed a clipped line
     ("Sun. Peace gro…") and no coin. A layer paints the art. Transparent
     color keeps a failed decode from spilling that alt across the screen. */
  color: transparent;
  font-size: 0;
  transform: translateZ(0);
}

.foil-coin.is-quiet .stamp-face img {
  filter: grayscale(0.72) brightness(0.72) contrast(1.08);
}

.stamp-lock {
  display: none;
}

.foil-coin.is-quiet .stamp-lock {
  display: block;
  position: absolute;
  z-index: 4;
  top: 14.6%;
  left: 85.4%;
  width: 15%;
  height: 15%;
  min-width: 10px;
  min-height: 10px;
  max-width: 16px;
  max-height: 16px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  color: rgb(236, 184, 62);
  background: #070707;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(236, 184, 62);
  pointer-events: none;
}

.stamp-lock svg {
  width: 100%;
  height: 100%;
}

.foil-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* v427: the stamp is a still image. It fades in once. It does not spin or flip. */
.foil-coin.is-arrive {
  animation: foil-arrive 400ms ease both;
}

@keyframes foil-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

.foil-coin.is-rare.is-earned::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 216, 115, 0.38) 0%, rgba(226, 179, 74, 0.12) 42%, rgba(226, 179, 74, 0) 68%);
  opacity: 0.72;
}

.foil-coin.is-lacquer.is-rare.is-earned::before {
  background: radial-gradient(circle, rgba(255, 216, 115, 0.2) 0%, rgba(20, 20, 20, 0) 64%);
}

.foil-coin.is-rose.is-rare.is-earned::before {
  background: radial-gradient(circle, rgba(230, 184, 162, 0.42) 0%, rgba(142, 90, 71, 0.14) 42%, rgba(142, 90, 71, 0) 68%);
}

.foil-coin.is-mala.is-rare.is-earned::before {
  background: radial-gradient(circle, rgba(244, 246, 248, 0.32) 0%, rgba(255, 216, 115, 0.16) 40%, rgba(255, 216, 115, 0) 70%);
}

.foil-glint {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.foil-glint::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 26%;
  background: linear-gradient(
    90deg,
    rgba(255, 250, 236, 0) 0%,
    rgba(255, 248, 230, 0.04) 38%,
    rgba(255, 250, 236, 0.22) 50%,
    rgba(255, 248, 230, 0.04) 62%,
    rgba(255, 250, 236, 0) 100%
  );
  transform: translateX(-180%) rotate(18deg);
}

.foil-coin.is-glint .foil-glint::before {
  animation: foil-glint 2.8s ease-out 1 both;
}

.foil-coin.is-glint-rare .foil-glint::before {
  animation-duration: 3.6s;
  width: 28%;
}

.foil-coin.is-glint-mala .foil-glint::before {
  width: 18%;
  animation-duration: 4.4s;
  background: linear-gradient(
    90deg,
    rgba(244, 246, 248, 0) 0%,
    rgba(255, 248, 230, 0.03) 40%,
    rgba(255, 250, 236, 0.16) 50%,
    rgba(255, 248, 230, 0.03) 60%,
    rgba(244, 246, 248, 0) 100%
  );
}

.foil-slot .foil-coin {
  width: 4.7rem;
  height: 4.7rem;
  margin: 0 auto;
}

.foil-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem 0.45rem;
  max-width: 18.5rem;
  margin: 0.9rem auto 0;
}

.foil-special-label {
  margin: 2.5rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  color: #e6c56a;
}

.foil-special-label::before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 1px;
  margin: 0 auto 0.7rem;
  background: rgba(212, 175, 55, 0.55);
}

.foil-slot .foil-legend {
  display: none;
}

.foil-special {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.7rem;
  row-gap: 0.85rem;
  max-width: 18.2rem;
  margin: 0.15rem auto 0;
}

.foil-special .foil-slot {
  flex: 0 0 5.5rem;
  width: 5.5rem;
}

.foil-special .foil-coin {
  width: 5.15rem;
  height: 5.15rem;
}

.foil-goal {
  margin: 0.18rem 0 0;
  text-align: center;
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(214, 196, 160, 0.66);
}

.foil-keep {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.foil-keep[hidden] {
  display: none !important;
}

.foil-atlas .lane-title,
.foil-atlas .sits-sub {
  text-align: center;
}

.tool-panel .foil-atlas {
  margin-top: 0.2rem;
  padding: 0.45rem 1.05rem 1.35rem;
  scroll-margin-bottom: calc(var(--chrome) + 5.8rem);
}

@keyframes foil-glint {
  0% { transform: translateX(-180%) rotate(18deg); }
  100% { transform: translateX(430%) rotate(18deg); }
}

@keyframes foil-halo {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

@media (prefers-reduced-motion: no-preference) {
  .foil-coin.is-rare.is-earned::before {
    animation: foil-halo 6s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foil-coin.is-arrive,
  .foil-coin.is-rare.is-earned::before,
  .foil-coin.is-glint .foil-glint::before,
  .foil-coin.is-glint-rare .foil-glint::before,
  .foil-coin.is-glint-mala .foil-glint::before {
    animation: none;
  }

  .foil-coin.is-arrive { opacity: 1; }
}

/* v141 — quieter home, earned stamp, DogeOS strip, stamp ladder, day toggle. */
.sit-invite {
  max-width: 20.5rem;
  margin: 0.55rem auto 0.65rem;
  text-align: center;
  text-wrap: balance;
  color: rgba(232, 214, 170, 0.78);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.library-tips-line {
  margin: 0.2rem 0 0.75rem;
}

.library-tips {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.55rem;
  margin: 0;
  padding: 0.55rem 1rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

/* Soft gold rim. A quiet highlight orbits the perimeter.
   0deg and 360deg are the same colour, and the turn is one full circle,
   so the loop has no rest and no jump. */
.library-tips::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  width: 160%;
  aspect-ratio: 1;
  background: conic-gradient(
    from 0deg,
    rgba(196, 146, 40, 0.55) 0deg,
    rgba(255, 236, 190, 0.92) 16deg,
    rgba(232, 197, 106, 0.5) 38deg,
    rgba(168, 122, 36, 0.38) 72deg,
    rgba(196, 146, 40, 0.42) 180deg,
    rgba(196, 146, 40, 0.55) 360deg
  );
  transform: translate(-50%, -50%) rotate(0deg);
  animation: tips-orbit 7s linear infinite;
}

.library-tips::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: #050505;
}

.library-tips:hover,
.library-tips:focus-visible {
  color: #f6e7b8;
}

.library-tips:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

@keyframes tips-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .library-tips::before {
    animation: none;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(243, 221, 154, 0.95), rgba(196, 146, 40, 0.82));
  }

  .path-step {
    animation: none;
    opacity: 0.85;
  }

  .path-thread-shine {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    opacity: 0.4;
  }

  .tool-scroll-light {
    animation: none;
    display: none;
  }

  .tool-scroll-marks {
    transition: none;
  }

  .tool-scroll-chevrons-dim {
    color: rgba(236, 184, 62, 0.46);
  }
}

.sit-library .tips {
  margin: 0.2rem 0 0.85rem;
}

.level-path {
  margin: 1.35rem 0 0.4rem;
}

.level-intro {
  margin: 0.4rem 0 0;
  text-align: center;
}

.level-intro-line {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--cream);
}

.level-intro-sub {
  margin: 0.45rem 0 0;
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.level-why-line {
  margin: 0.7rem 0 0;
}

.level-why {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: rgba(236, 184, 62, 0.45);
  text-underline-offset: 0.18em;
}

.level-suggest {
  margin: 1.6rem 0 0;
  padding: 1.15rem 0 0.2rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.level-suggest-line {
  margin: 0 auto;
  max-width: 22rem;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cream);
}

.level-suggest-line em {
  font-style: italic;
  color: var(--gold);
}

.level-suggest-card {
  margin: 0.85rem 0 0;
  text-align: left;
}

.level-suggest-note {
  margin: 0.75rem 0 0;
  color: var(--cream-quiet);
  font-size: 0.82rem;
  line-height: 1.45;
}

body.page-sit .level-types-title {
  margin: 1.85rem 0 0;
  text-align: center;
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.level-types-meaning {
  margin: 0.8rem auto 0;
  max-width: 16.5rem;
  text-align: center;
  color: rgba(244, 239, 230, 0.8);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
}

.theme-chooser[hidden],
.theme-page[hidden] {
  display: none;
}

.level-path[data-theme-open="1"] > .level-intro,
.level-path[data-theme-open="1"] > .level-suggest {
  display: none;
}

.theme-page {
  margin-top: 0.35rem;
}

.theme-page-back {
  margin: 0.1rem 0 1.7rem;
  text-align: center;
}

/* v205: All categories is a real button, flat 1px gold line like the Start here pair. */
.theme-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 40px;
  margin: 0;
  padding: 0.28rem 1.25rem;
  border: 1px solid #E8C878;
  border-radius: 999px;
  background: #000;
  box-shadow: none;
  color: #E8C878;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.theme-back-btn:hover,
.theme-back-btn:focus-visible {
  color: #F6E7B8;
  border-color: #F6E7B8;
  background: #000;
  box-shadow: none;
  text-decoration: none;
}

.theme-back-btn:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

.theme-page-title {
  margin: 0;
  text-align: center;
  color: var(--cream);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.theme-page-meaning {
  margin-top: 0.75rem;
}

.theme-page-empty {
  margin: 2.4rem auto 0;
  max-width: 16rem;
  text-align: center;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.22rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.theme-page-empty[hidden] {
  display: none;
}

/* v222: category buttons are drawn from /sit/categories.js. Phone: two columns of
   rounded black cards, 52px tall, larger thin-line gold icons. Desktop: one pill row
   that scrolls sideways if it ever overflows. Flat 1px gold line, no glow. */
.level-themes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
  max-width: none;
  margin: 1.15rem 0 0;
  padding: 0;
  box-sizing: border-box;
}

.level-theme {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  min-width: 0;
  margin: 0;
  min-height: 4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 200, 120, 0.7);
  border-radius: 14px;
  background: #070705;
  color: rgba(243, 226, 168, 0.94);
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.level-theme[hidden] {
  display: none;
}

.level-theme > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.level-theme-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: #E8C878;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 760px) {
  .level-themes {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.55rem;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 0.15rem 0.1rem;
  }

  .level-themes::-webkit-scrollbar {
    display: none;
  }

  .level-theme {
    flex: 0 0 auto;
    min-height: 2.6rem;
    padding: 0.45rem 0.95rem 0.45rem 0.75rem;
    gap: 0.5rem;
    border-radius: 999px;
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .level-theme-icon {
    width: 20px;
    height: 20px;
  }

  .level-theme-soon-note {
    display: inline;
    margin: 0 0 0 0.45rem;
  }
}

.level-theme-soon {
  border-style: solid;
  border-color: #E8C878;
  color: rgba(243, 226, 168, 0.78);
  cursor: default;
}

.level-theme-soon .level-theme-icon {
  stroke: rgba(232, 200, 120, 0.85);
}

.level-theme-soon-note {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: #E8C878;
}

.level-theme-soon:hover,
.level-theme-soon:focus-visible {
  border-color: #E8C878;
  color: rgba(243, 226, 168, 0.78);
}

.level-theme-icon-solid {
  fill: currentColor;
  stroke: none;
}

.level-theme[aria-pressed="true"] .level-theme-icon {
  stroke: #1a1404;
}

.level-theme[aria-pressed="true"] {
  color: #1a1404;
  background: linear-gradient(180deg, #f6e2a4 0%, #e2b44a 55%, #c49228 100%);
  border-color: #f8ecc4;
  box-shadow: none;
}

.level-theme:hover,
.level-theme:focus-visible {
  border-color: #f3e2a8;
  color: #f8ecc4;
}

.level-theme[aria-pressed="true"]:hover,
.level-theme[aria-pressed="true"]:focus-visible {
  color: #1a1404;
}

.level-theme:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 3px;
}

/* v210: the mood row reads as buttons. Each tab is a black tile with a flat 1px #E8C878
   line, a 30px thin-line gold icon and a small-caps label; the open one is filled gold with
   black icon and text. No glow, blur or shadow. Tiles wrap centred in rows of three. */
.mood-tabs-label {
  margin: 1.25rem 0 0.7rem;
  color: #E8C878;
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.mood-tabs-label:has(+ .mood-tabs[data-mood-count="0"]) {
  display: none;
}

.mood-tabs {
  --mood-gap: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--mood-gap);
  max-width: 21rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.mood-tab[hidden] {
  display: none;
}

.mood-tabs[data-mood-count="0"] {
  display: none;
}

.mood-tab {
  position: relative;
  flex: 0 0 calc((100% - 2 * var(--mood-gap)) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  box-sizing: border-box;
  min-width: 0;
  min-height: 4.6rem;
  margin: 0;
  padding: 0.6rem 0.3rem 0.55rem;
  border: 1px solid #E8C878;
  border-radius: 14px;
  background: #000;
  box-shadow: none;
  color: #E8C878;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease, color 0.18s ease;
}

/* Four open moods sit two by two rather than three and one. */
.mood-tabs[data-mood-count="4"] {
  max-width: 14.5rem;
}

.mood-tabs[data-mood-count="4"] .mood-tab {
  flex-basis: calc((100% - var(--mood-gap)) / 2);
}

.mood-tab-icon {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
  filter: none;
}

.mood-tab span {
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.mood-tab[aria-selected="true"] {
  background: #E8C878;
  color: #000;
}

@media (hover: hover) {
  .mood-tab:not([aria-selected="true"]):hover {
    color: #F6E7B8;
    border-color: #F6E7B8;
  }
}

.mood-tab:focus-visible {
  outline: 1px solid #E8C878;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .mood-tab {
    transition: none;
  }
}

.mood-panel {
  margin: 1.25rem 0 0;
}

.mood-panel[hidden] {
  display: none;
}

.mood-panel .level-name {
  color: var(--gold);
}

.mood-panel .level-feel {
  font-family: var(--display);
  font-style: italic;
  color: rgba(244, 239, 230, 0.86);
}

.mood-empty {
  margin: 0.8rem 0 0;
  color: var(--cream-quiet);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
}

.mood-empty[hidden] {
  display: none;
}

.mood-panel .sit-row {
  position: relative;
  margin: 0.7rem 0 0;
  padding: 0.85rem 0.75rem 0.85rem 1rem;
  border: 1px solid rgba(236, 184, 62, 0.42);
  border-radius: 16px;
  background: #000;
}

.mood-panel .sit-name {
  color: var(--cream);
  font-size: 1.42rem;
  line-height: 1.15;
}

.mood-panel .sit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  margin-top: 0.28rem;
}

.mood-panel .sit-duration {
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mood-panel .sit-subtitle {
  color: rgba(244, 239, 230, 0.72);
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.mood-panel .play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(236, 184, 62, 0.88);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
}

.mood-panel .play svg {
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.mood-panel .sit-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.level-block {
  margin: 2rem 0 0;
}

.level-block[hidden] {
  display: none;
}

.level-name {
  margin: 0;
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1.15;
}

.level-feel {
  margin: 0.35rem 0 0.55rem;
  color: var(--cream-quiet);
  font-size: 0.9rem;
  line-height: 1.45;
}

.level-cards .sit-row:first-child {
  border-top: 0;
}

.level-free {
  margin: 2rem 0 0.35rem;
  text-align: center;
  color: var(--cream-quiet);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.sit-box-soon,
.sit-box-nudge {
  margin: 0.7rem auto 0;
  max-width: 18rem;
  color: var(--cream-quiet);
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
}

.day-phase {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 8px 0;
}

.day-phase button {
  position: relative;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0 0.72rem;
  border: 1px solid rgba(236, 184, 62, 0.78);
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 30px;
  text-transform: uppercase;
  cursor: pointer;
}

.day-phase button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  bottom: -8px;
}

.day-phase button:first-child {
  border-radius: 999px 0 0 999px;
}

.day-phase button:last-child {
  margin-left: -1px;
  border-radius: 0 999px 999px 0;
}

.day-phase button[aria-pressed="true"] {
  background: linear-gradient(180deg, #f3dd9a 0%, #e4be5c 100%);
  color: #1a1408;
  border-color: #e4be5c;
  z-index: 1;
}

.phase-tiles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.9rem;
  width: 100%;
  margin: 0 auto 0.85rem;
}

.phase-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.38rem;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  opacity: 0.58;
}

.phase-tile[aria-pressed="true"] {
  opacity: 1;
}

.phase-art {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 14px;
  line-height: 0;
  background: #000;
}

.phase-tile[aria-pressed="true"] .phase-art {
  border-color: rgb(236, 184, 62);
  box-shadow: 0 0 0 1px rgba(236, 184, 62, 0.28);
}

.phase-tile:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 3px;
  border-radius: 16px;
}

.phase-sky {
  display: block;
  width: 100%;
  height: auto;
}

.phase-label {
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: none;
  color: var(--gold);
}

.day-home .lane-title {
  margin: 0;
  text-align: center;
}

.day-home .day-length {
  margin: 0.42rem 0 0;
  color: rgba(212, 175, 55, 0.78);
  letter-spacing: 0.28em;
  text-align: center;
}

.day-home .btn {
  width: 100%;
  margin-top: 0.85rem;
}

.dogeos-strip-wrap {
  display: flex;
  justify-content: center;
  margin: 0.15rem 1rem 0.05rem;
}

.dogeos-strip-wrap[hidden] {
  display: none !important;
}

.dogeos-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  margin: 0;
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(236, 184, 62, 0.72);
  border-radius: 999px;
  background: #000;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
}

.dogeos-strip.is-connected {
  cursor: default;
}

.dogeos-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(236, 184, 62, 0.85);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.72rem;
  line-height: 1;
}

.dogeos-live {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgb(236, 184, 62);
  box-shadow: 0 0 0 3px rgba(236, 184, 62, 0.16);
}

.dogeos-action {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.dogeos-strip.is-connected .dogeos-action {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.72rem;
}

@media (prefers-reduced-motion: reduce) {
  .connect.is-live {
    animation: none;
    box-shadow: 0 0 8px rgba(168, 255, 210, 0.45);
  }

  .connect.is-live::before {
    animation: none;
    transform: translate3d(-50%, -50%, 0);
  }

  .phase-tile,
  .phase-art {
    transition: none;
  }
}

.wallet-chip[hidden] {
  display: none !important;
}

body.is-earned-open #view-sit > :not(#earned-screen) {
  display: none !important;
}

.earned-screen {
  padding: 0.85rem 0 1.2rem;
  text-align: center;
}

.earned-kicker {
  margin: 0.2rem 0 0.85rem;
  color: rgba(244, 239, 230, 0.82);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.earned-kicker em {
  color: rgb(236, 184, 62);
  font-style: italic;
  font-weight: 400;
}

.earned-card {
  margin: 0;
  padding: 1.25rem 1rem 1.05rem;
  border: 1px solid rgba(236, 184, 62, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(212, 168, 64, 0.18), transparent 58%),
    #070705;
}

.earned-date {
  margin: 0;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.earned-title {
  margin: 0.55rem auto 0.2rem;
  max-width: 12rem;
  color: var(--cream);
  font-size: clamp(1.85rem, 7vw, 2.25rem);
  font-weight: 400;
  line-height: 1.08;
}

.earned-coin .foil-coin {
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin: 0.55rem auto 0.35rem;
}

.earned-week {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  margin: 0.35rem 0 0.35rem;
}

.earned-dot {
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid rgba(236, 184, 62, 0.7);
  border-radius: 50%;
  background: transparent;
}

.earned-dot.is-on {
  background: rgb(236, 184, 62);
  border-color: rgb(236, 184, 62);
}

.earned-day {
  margin: 0.15rem 0 0.15rem;
  color: rgba(236, 184, 62, 0.78);
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.earned-actions {
  margin-top: 0.95rem;
}

.earned-primary {
  width: 100%;
  min-height: 3.2rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.earned-note {
  margin: 0.55rem 0 0;
  color: rgba(244, 239, 230, 0.55);
  font-size: 0.82rem;
}

.earned-optional {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.earned-status:empty {
  display: none;
}

.earned-status {
  margin: 0.7rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.82rem;
}

.earned-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0.85rem 0 0;
  padding: 0.2rem 0.4rem;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 230, 0.72);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.pure-sit .sit-title {
  margin: 0.05rem 0 0.35rem;
  text-align: center;
}

.pure-sit .sit-voice {
  display: flex;
  width: fit-content;
  margin: 0.15rem auto 0.7rem;
}

.pure-sit .day-home {
  margin-top: 0.05rem;
  padding: 0.7rem 0.85rem 0.65rem;
}

.pure-sit .day-home .phase-tiles {
  margin-bottom: 0.7rem;
}

.pure-sit .day-home .day-length {
  margin-top: 0.2rem;
}

.pure-sit .day-home .timer-digits {
  font-size: 3.15rem;
}

.pure-sit .day-home .timer-state {
  margin-bottom: 0.28rem;
  font-size: 1.05rem;
}

.pure-sit .day-home .sit-now {
  margin: 0.15rem 0 0;
}

.pure-sit .day-home .sit-now.is-live {
  padding: 0;
  border: 0;
  background: none;
}

.day-home .sit-now .btn {
  width: auto;
  margin-top: 0;
}

.timer-audio {
  margin: 0.45rem 0 0;
  color: rgba(236, 184, 62, 0.78);
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.forever-layer {
  margin: 2.4rem 0 0.2rem;
  padding: 1.15rem 0 0.1rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.forever-claim-title {
  margin: 0.15rem 0 0.85rem;
  font-size: clamp(1.9rem, 7vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.forever-layer .sit-end {
  border-top: 0;
  text-align: center;
}

.forever-layer .lede {
  max-width: 18rem;
  margin: 0 auto;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.stamp-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.45rem auto 0;
  padding: 0.2rem 0.15rem;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 230, 0.58);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.stamp-details-toggle:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.85);
  outline-offset: 4px;
  border-radius: 2px;
}

.stamp-details-chevron {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid rgba(236, 184, 62, 0.75);
  border-bottom: 1px solid rgba(236, 184, 62, 0.75);
  transform: rotate(45deg) translateY(-0.1rem);
  flex: 0 0 auto;
}

.stamp-details-toggle[aria-expanded="true"] .stamp-details-chevron {
  transform: rotate(-135deg) translateY(-0.04rem);
}

@media (prefers-reduced-motion: reduce) {
  .stamp-details-chevron {
    transition: none;
  }
}

.stamp-details {
  max-width: 22rem;
  margin: 1.15rem auto 0;
  text-align: center;
}

.stamp-details[hidden] {
  display: none;
}

.stamp-details-copy,
.stamp-details-need {
  margin: 0 auto;
  max-width: 20rem;
  color: var(--cream-quiet);
  font-size: 0.88rem;
  line-height: 1.5;
}

.stamp-details-need {
  margin-top: 0.7rem;
}

.stamp-details .status-list {
  margin: 1.15rem 0 0.1rem;
  text-align: left;
}

.forever-layer.is-wallet {
  margin-top: 2.6rem;
  padding: 1.5rem 0 0.2rem;
}

.forever-layer.is-wallet #view-streaks {
  display: none;
}

.forever-layer.is-wallet .sit-claim-legacy {
  margin-top: 0;
  padding-top: 0;
}

.forever-layer button#claim-sit.btn {
  margin-top: 0.75rem;
}

.forever-layer.is-wallet #claim-sit {
  margin-top: 0.75rem;
}

.forever-layer.is-wallet .claim-why,
.forever-layer.is-wallet .sdk-line,
.forever-layer.is-wallet .claim-tx {
  margin-top: 0.95rem;
}

.stamp-path-kicker {
  margin: 0.35rem 0 0.45rem;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stamp-path-title {
  max-width: 16rem;
  margin: 0 0 0.95rem;
  color: var(--cream);
  font-size: clamp(1.85rem, 7vw, 2.3rem);
  line-height: 1.08;
}

.stamp-path-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.82rem;
}

.stamp-path-bar {
  height: 2px;
  margin: 0.45rem 0 0.85rem;
  background: rgba(236, 184, 62, 0.22);
}

.stamp-path-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: rgb(236, 184, 62);
}

.stamp-path-list.is-ladder::before {
  left: 25px;
  top: 1.7rem;
  bottom: 1.7rem;
  background: linear-gradient(rgb(236, 184, 62), rgba(236, 184, 62, 0.28));
}

.stamp-ladder {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 64px;
  margin: 0;
  padding: 0.28rem 0;
}

.stamp-ladder-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #000;
  border-radius: 50%;
}

.stamp-ladder-mark .foil-coin {
  width: 48px;
  height: 48px;
  margin: 0;
}

.stamp-ladder-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(236, 184, 62, 0.62);
  border-radius: 50%;
  background: #000;
  color: rgb(236, 184, 62);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
}

.stamp-ladder-name {
  display: block;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.05;
}

.stamp-ladder.is-current .stamp-ladder-name,
.stamp-ladder.is-earned .stamp-ladder-name {
  color: #f4efe6;
}

.stamp-ladder-rule {
  display: block;
  margin-top: 0.12rem;
  color: rgba(244, 239, 230, 0.55);
  font-family: var(--body);
  font-size: 0.78rem;
  line-height: 1.25;
}

.stamp-ladder-side {
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stamp-path-note {
  margin: 1rem auto 0.35rem;
  max-width: 18rem;
  text-align: center;
  color: rgba(244, 239, 230, 0.55);
  font-size: 0.78rem;
}

/* Collect Sit Stamp. A quiet gold outline until the stamp is ready,
   then the same solid gold as the house buttons. Today's coin sits
   on the left: dim while locked, full when ready, with a short fade. */
button#claim-sit.btn,
button#claim-sit.btn[disabled],
button#claim-sit.btn[aria-disabled="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  margin-top: 0.75rem;
  padding: 0.15rem 0.95rem 0.15rem 0.35rem;
  overflow: visible;
  opacity: 1;
  color: rgba(236, 184, 62, 0.75);
  background: transparent;
  border: 1px solid rgba(236, 184, 62, 0.75);
  box-shadow: 0 0 14px rgba(236, 184, 62, 0.16);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
  cursor: not-allowed;
}

button#claim-sit.btn:not(:disabled),
button#claim-sit.btn.is-collecting {
  color: #0a0800;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(236, 184, 62, 0.2),
    0 10px 36px var(--gold-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

button#claim-sit.btn.is-collecting {
  cursor: progress;
}

button#claim-sit.btn:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 3px;
}

button#claim-sit.btn.is-collected,
button#claim-sit.btn.is-collected[disabled],
button#claim-sit.btn.is-collected.is-collecting,
button#claim-sit.btn.is-collected:not(:disabled) {
  color: rgba(236, 184, 62, 0.92);
  background: transparent;
  border: 1px solid rgba(236, 184, 62, 0.72);
  box-shadow: none;
  cursor: default;
  letter-spacing: 0.08em;
}

button#claim-sit.btn.is-collected .claim-coin {
  display: none;
}

button#claim-sit .stamp-lotus {
  display: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

button#claim-sit.is-collected .stamp-lotus {
  display: block;
}

button#claim-sit .stamp-lotus svg {
  display: block;
  width: 18px;
  height: 18px;
}

.claim-why.is-tomorrow {
  color: rgba(244, 239, 230, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.claim-tx.is-quiet {
  margin-top: 0.28rem;
  font-size: 0.72rem;
}

.claim-tx.is-quiet a {
  color: rgba(236, 184, 62, 0.82);
}

button#claim-sit .claim-coin {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(236, 184, 62, 0.9);
  pointer-events: none;
}

button#claim-sit.btn:not(:disabled) .claim-coin,
button#claim-sit.btn.is-collecting .claim-coin {
  box-shadow: 0 0 0 1px #4a320c;
}

button#claim-sit .claim-coin .foil-coin {
  width: 32px;
  height: 32px;
  margin: 0;
}

button#claim-sit .stamp-lock,
button#claim-sit .foil-coin.is-rare.is-earned::before,
.claim-coin-fly.is-rare.is-earned::before {
  display: none !important;
  animation: none !important;
}

button#claim-sit .claim-sit-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

button#claim-sit.is-coin-locked .claim-coin {
  opacity: 0.62;
  filter: saturate(0.72) brightness(0.86);
}

button#claim-sit.is-sitting .claim-coin,
button#claim-sit.is-sitting .foil-coin {
  animation: none !important;
}

.claim-coin-fly {
  pointer-events: none;
  z-index: 40;
  overflow: visible;
}

@media (prefers-reduced-motion: no-preference) {
  button#claim-sit.is-coin-fade .claim-coin {
    animation: claim-coin-fade 400ms ease 1 both;
  }
}

@keyframes claim-coin-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}

.claim-why {
  margin: 0.4rem auto 0.15rem;
  max-width: 20rem;
  color: rgba(244, 239, 230, 0.86);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.claim-why[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .earned-screen[data-finish],
  .earned-screen[data-finish] .earned-later { transition: none !important; }
  .nt-card { transition: none; }
  button#claim-sit .foil-coin,
  button#claim-sit .claim-coin,
  .claim-coin-fly,
  .kobe-helper-tail,
  .bf-orb-ring,
  .bf-orb-core,
  .bf-flame,
  .bf-sun-glow,
  .bf-lotus,
  .bf-rain span {
    animation: none !important;
  }

  .bf-orb-ring,
  .bf-orb-core {
    transform: none !important;
  }

  .bf-mandala,
  .bf-orb[data-breath] .bf-mandala {
    transition: none;
    opacity: 0.5;
  }

  .bf-rain span {
    top: 28%;
    opacity: 0.55;
  }

  .bf-skip,
  .tip-details summary,
  .sit-menu-link,
  .stamp-quiet-line,
  .stamp-seal,
  .stamp-seal-go,
  .stamp-seal-logo-wrap::after,
  .stamp-seal-skip {
    transition: none !important;
    animation: none;
  }

  .sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link,
  .sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit,
  .sit-now.is-live .actions:has(#pause-sit:not([hidden])) #end-sit {
    transition: none;
  }

  body.is-earned-open #earned-keep {
    animation: none;
    background-image: none;
  }

  .daily-kind-line,
  .daily-kind-line.is-in { animation: none; opacity: 1; }

  body.page-sit .claim-pending,
  body.page-sit button.claim-pending-btn {
    transition: none;
    animation: none;
  }
}

.v1-lotus-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  width: min(19rem, calc(100% - 1.7rem));
  margin: 0.45rem auto 0.15rem;
  padding: 0.65rem 1.7rem 0.65rem 0.75rem;
  border: 1px solid rgba(236, 184, 62, 0.72);
  border-radius: 16px;
  background: #000;
  color: rgba(244, 239, 230, 0.9);
  box-shadow: inset 0 1px 0 rgba(236, 184, 62, 0.16);
}

.v1-lotus-note[hidden] {
  display: none !important;
}

.v1-lotus-note-copy {
  margin: 0;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.v1-lotus-note-copy em {
  color: rgb(236, 184, 62);
  font-style: normal;
}

.v1-lotus-note-close {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(236, 184, 62, 0.66);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.v1-lotus-note-close:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.72);
  outline-offset: 2px;
}

.footer-care {
  max-width: 18.5rem;
  margin: 1.15rem auto 0;
  color: var(--cream-quiet);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
}

.footer-care a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(236, 184, 62, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.footer-care a:hover,
.footer-care a:focus-visible {
  text-decoration-color: var(--gold);
}

.footer-care a:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.55);
  outline-offset: 3px;
}

.sit-box[hidden] {
  display: none !important;
}

.sit-box {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.sit-box-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.sit-box-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: calc(1.4rem + env(safe-area-inset-top, 0px)) 1.35rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: #000;
  text-align: center;
}

.sit-box-close {
  position: absolute;
  top: calc(0.7rem + env(safe-area-inset-top, 0px));
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.sit-box-close:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.72);
  outline-offset: 3px;
}

.sit-box-title {
  max-width: 16rem;
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 2.35rem);
  line-height: 1.12;
}

.sit-box-line {
  margin: 0.55rem 0 0;
  color: rgba(236, 184, 62, 0.78);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sit-box-digits {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 14vw, 4.4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--cream);
}

.sit-box-play {
  min-width: 9.5rem;
  margin-top: 1.15rem;
}

.sit-box-voice {
  margin: 1.15rem 0 0;
}

.sit-box-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  max-width: 20rem;
}

.sit-box-tool {
  min-height: 36px;
  margin: 0;
  padding: 0 0.95rem;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 999px;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.sit-box-tool[aria-pressed="true"] {
  background: linear-gradient(180deg, #f3dd9a 0%, #e4be5c 100%);
  color: #1a1408;
  border-color: #e4be5c;
}

.sit-box-tool:focus-visible,
.sit-box-play:focus-visible,
.sit-box-sound-row button:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 3px;
}

#sit-box-sound {
  white-space: nowrap;
}

.sit-box-sound-row {
  flex: 1 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0.45rem 0 0;
}

.sit-box-sound-row[hidden] {
  display: none !important;
}

.sit-sound-picks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.38rem;
}

.sit-sound-pick {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  min-width: 3.55rem;
  margin: 0;
  padding: 0.42rem 0.42rem 0.34rem;
  border: 1px solid rgba(226, 179, 74, 0.78);
  border-radius: 999px;
  background: #070705;
  color: rgba(243, 226, 168, 0.92);
  font-family: Outfit, var(--body), system-ui, sans-serif;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.sit-sound-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sit-sound-pick[aria-pressed="true"] {
  color: #1a1404;
  background: linear-gradient(180deg, #f6e2a4 0%, #e2b44a 55%, #c49228 100%);
  border-color: #f8ecc4;
  box-shadow: none;
}

.sit-sound-pick:hover,
.sit-sound-pick:focus-visible {
  border-color: #f3e2a8;
  color: #f8ecc4;
}

.sit-sound-pick[aria-pressed="true"]:hover,
.sit-sound-pick[aria-pressed="true"]:focus-visible {
  color: #1a1404;
}

.sit-sound-volume {
  display: flex;
  align-items: center;
  width: min(100%, 15.5rem);
  margin: 0.05rem 0 0;
}

.sit-sound-volume input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.sit-sound-volume input[type="range"]:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 3px;
}

.sit-sound-volume input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(226, 179, 74, 0.55);
  border-radius: 999px;
}

.sit-sound-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #e2b44a;
}

.sit-sound-volume input[type="range"]::-moz-range-track {
  height: 2px;
  background: rgba(226, 179, 74, 0.55);
  border: 0;
  border-radius: 999px;
}

.sit-sound-volume input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #e2b44a;
}

.sit-box-voice button:disabled,
.sit-box-voice button[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
}

body.is-sit-box {
  overflow: hidden;
}

@media (min-width: 900px) {
  .sit-box {
    align-items: center;
    padding: 2rem 1rem;
  }

  .sit-box-panel {
    width: min(100%, 26rem);
    min-height: 0;
    padding: 2.3rem 1.7rem 1.85rem;
    border: 1px solid rgba(236, 184, 62, 0.42);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(22, 18, 10, 0.98) 0%, #050505 72%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  }

  .sit-box-close {
    top: 0.65rem;
  }
}

/* v178 — the 30-day note. Black and gold, in the flow, one quiet action. */
.tip p.gym-kicker,
.gym-welcome p.gym-kicker,
.gym-return p.gym-kicker {
  margin: 0 0 0.65rem;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tip-pin {
  margin: 0 0 1.15rem;
  padding: 1.25rem 1.15rem 1.3rem;
  border: 1px solid rgba(236, 184, 62, 0.42);
  border-radius: 2px;
  background: #000;
}

.tip-pin-open,
.gym-return-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.tip-pin-open:focus-visible,
.gym-return-open:focus-visible,
.gym-x:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

.gym-writeup {
  margin-top: 1.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(236, 184, 62, 0.22);
}

.gym-writeup p {
  margin: 0 0 1.35rem;
  color: rgba(244, 239, 230, 0.9);
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.gym-writeup p:first-child {
  color: #f4efe6;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.gym-writeup p:last-child {
  margin-bottom: 0;
}

.gym-welcome {
  margin: 0.85rem 0 1.15rem;
}

.gym-welcome-card,
.gym-return {
  position: relative;
  padding: 1.4rem 2.7rem 1.3rem 1.25rem;
  border: 1px solid rgba(236, 184, 62, 0.4);
  background: #050505;
}

.gym-welcome-line {
  margin: 0;
  max-width: 18rem;
  color: #f4efe6;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.gym-welcome .btn {
  width: 100%;
  margin-top: 1.2rem;
}

.gym-x {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.gym-day {
  margin: 0 0 0.4rem;
  color: rgba(236, 184, 62, 0.72);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
}

.gym-return {
  margin: 1.05rem 0 0.35rem;
  padding-top: 1.5rem;
}

.gym-return-line {
  margin: 0.9rem 0 0;
  color: rgba(236, 184, 62, 0.92);
  font-family: var(--display);
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}

.stamp-ladder-echo {
  display: block;
  margin-top: 0.28rem;
  color: rgba(236, 184, 62, 0.78);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}

/* v188 — first-visit hello. A chip under the title, then a card in the flow. */
.sit-intro {
  display: flex;
  justify-content: center;
  margin: 0.55rem 0 0.35rem;
}

.sit-intro-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  margin: 0;
  padding: 0.28rem 0.9rem 0.28rem 0.72rem;
  border: 1px solid rgba(236, 184, 62, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(246, 227, 168, 0.14), rgba(236, 184, 62, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.16);
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.2;
  cursor: pointer;
}

.sit-intro-bubble::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgb(236, 184, 62);
  box-shadow: 0 0 0 3px rgba(236, 184, 62, 0.14);
  flex: 0 0 auto;
}

.sit-intro-bubble:hover,
.sit-intro-bubble:focus-visible {
  color: #f6e7b8;
  border-color: rgba(246, 231, 184, 0.85);
}

.sit-intro-bubble:focus-visible,
.sit-intro-x:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

.sit-intro-card {
  position: relative;
  width: 100%;
  margin: 0.15rem 0 0.45rem;
  padding: 1.85rem 1.45rem 1.55rem;
  border: 1px solid rgba(236, 184, 62, 0.38);
  background: #050505;
  text-align: center;
}

.sit-intro-x {
  position: absolute;
  top: 0.28rem;
  right: 0.28rem;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.sit-intro-kicker {
  margin: 0 0 0.55rem;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sit-intro-title {
  margin: 0 0 0.9rem;
  color: #f4efe6;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.sit-intro-copy {
  margin: 0 auto 1.55rem;
  max-width: 17.5rem;
  color: rgba(244, 239, 230, 0.84);
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.sit-intro-start {
  min-width: 11.5rem;
}

/* v190 — Kobe sits in the corner. A tap asks where things are. He is not a popup. */
.kobe-helper {
  position: fixed;
  z-index: 42;
  right: max(0.7rem, calc(50vw - 14rem + 0.7rem));
  bottom: calc(var(--chrome) + 4.35rem);
  width: 4.6rem;
  pointer-events: none;
}

.kobe-helper[hidden] {
  display: none !important;
}

.kobe-helper.is-sitting {
  display: none !important;
}

.kobe-helper-seal,
.kobe-helper-hide,
.kobe-helper-card,
.kobe-helper-card button,
.kobe-helper-card input,
.kobe-helper-card a {
  pointer-events: auto;
}

.kobe-helper-seal {
  position: relative;
  display: block;
  width: 3.45rem;
  height: 3.45rem;
  margin-left: auto;
  padding: 0;
  border: 2px solid rgb(236, 184, 62);
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 0 0 3px #000,
    0 0 0 4px rgba(236, 184, 62, 0.72);
  overflow: visible;
  cursor: pointer;
}

.kobe-helper-face {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.kobe-helper-seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.kobe-helper-tail {
  position: absolute;
  left: -0.42rem;
  bottom: 0.05rem;
  width: 1.15rem;
  height: 1.15rem;
  color: rgb(236, 184, 62);
  transform-origin: 78% 82%;
  animation: kobe-wag 1.7s ease-in-out infinite;
  pointer-events: none;
}

.kobe-helper.is-open .kobe-helper-tail {
  animation: none;
}

@keyframes kobe-wag {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(18deg); }
}

.kobe-helper-hide {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  z-index: 1;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 50%;
  background: #000;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.kobe-helper-seal:focus-visible,
.kobe-helper-hide:focus-visible,
.kobe-helper-card button:focus-visible,
.kobe-helper-card input:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.85);
  outline-offset: 3px;
}

.kobe-helper-card {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.55rem);
  width: min(18rem, calc(100vw - 1.35rem));
  max-height: min(22rem, 46vh);
  overflow: auto;
  padding: 0.8rem 0.85rem 0.7rem;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 16px;
  background: #000;
  color: var(--cream);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.kobe-helper-card[hidden] {
  display: none;
}

.kobe-helper-kicker {
  margin: 0;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kobe-helper-who {
  margin: 0.2rem 0 0.45rem;
  color: rgb(236, 184, 62);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.25;
}

.kobe-helper-lead,
.kobe-helper-answer {
  margin: 0;
  color: rgba(244, 239, 230, 0.88);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.4;
}

.kobe-helper-answer {
  margin-top: 0.65rem;
}

.kobe-helper-answer a {
  color: rgb(236, 184, 62);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.kobe-helper-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.kobe-helper-picks button,
.kobe-helper-send,
.kobe-helper-go {
  min-height: 2.5rem;
  border: 1px solid rgba(236, 184, 62, 0.45);
  border-radius: 999px;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.kobe-helper-picks button {
  padding: 0.2rem 0.7rem;
}

.kobe-helper-field {
  display: block;
  margin: 0.7rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 300;
}

.kobe-helper-card input {
  display: block;
  width: 100%;
  margin-top: 0.28rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(236, 184, 62, 0.45);
  border-radius: 10px;
  background: #000;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.92rem;
}

.kobe-helper-send,
.kobe-helper-go {
  width: 100%;
  margin-top: 0.55rem;
}

.kobe-helper-quiet {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.35rem;
}

.kobe-helper-quiet button {
  min-height: 2.75rem;
  margin: 0;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: transparent;
  color: rgb(236, 184, 62);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

/* v251: the Breathe first switch is gone. Every Begin sit and library Play opens with the breath. */
.breathe-first-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050403;
  color: var(--cream);
}

/* v250: the breath dissolves into the sit underneath (no done state). */
.breathe-first-layer.is-dissolving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 3s ease-in-out;
}

/* prefers-reduced-motion: breathe-first.js adds .is-still, and the swap is instant. */
.breathe-first-layer.is-still.is-dissolving {
  transition: none;
}

.breathe-first-layer[hidden] {
  display: none !important;
}

.breathe-first-layer.is-focus {
  background-color: #050403;
  background-image:
    radial-gradient(ellipse at 50% 38%, #161208 0%, #0a0907 48%, #050403 100%);
}

html.is-breathe-layer,
body.is-breathe-layer {
  overflow: hidden;
}

.bf-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 24rem);
  padding: calc(2.2rem + env(safe-area-inset-top, 0px)) 1.75rem calc(2rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.bf-kicker {
  margin: 0;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236, 184, 62, 0.8);
}

.bf-orb {
  position: relative;
  width: min(70vw, 17.5rem);
  height: min(70vw, 17.5rem);
  margin: 1.65rem 0 0.85rem;
  display: grid;
  place-items: center;
}

.bf-orb-ring,
.bf-orb-core {
  position: absolute;
  border-radius: 50%;
  transform-origin: center;
}

.bf-orb-ring {
  inset: 0;
  border: 1px solid #E8C878;
}

.bf-orb-core {
  inset: 14%;
  border: 1px solid rgba(232, 200, 120, 0.4);
  background: rgba(232, 200, 120, 0.08);
}

/* v237: a fine gold mandala inside the breath circle. Thin lines, no glow; it
   brightens a little on the in-breath and dims on the out-breath. */
.bf-mandala {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  fill: none;
  stroke: #E8C878;
  stroke-width: 0.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.42;
  transition: opacity 2.4s ease-in-out;
  pointer-events: none;
}

.bf-mandala-dot {
  stroke-dasharray: 0.4 2.2;
}

.bf-orb[data-breath="in"] .bf-mandala {
  opacity: 0.62;
}

.bf-orb[data-breath="out"] .bf-mandala,
.bf-orb[data-breath="rest"] .bf-mandala {
  opacity: 0.38;
}

.bf-cue {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
  color: #f4efe6;
}

.bf-remain {
  margin: 0.15rem 0 0;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: rgba(244, 239, 230, 0.46);
}

.bf-skip {
  /* v253: a soft, visible pill, centred near the bottom. Thin gold outline, cream text, translucent dark fill. Crisp, no glow. */
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid rgba(232, 200, 120, 0.55);
  border-radius: 999px;
  background: rgba(14, 11, 8, 0.55);
  color: rgba(244, 233, 210, 0.85);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.bf-skip:hover {
  border-color: rgba(232, 200, 120, 0.85);
  color: #f4e9d2;
  background: rgba(14, 11, 8, 0.7);
}

.bf-skip:focus-visible,
.bf-quiet:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 3px;
}

.bf-eyes {
  margin: 0;
  max-width: 16rem;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.75rem, 6.4vw, 2.2rem);
  line-height: 1.35;
  color: #f4efe6;
}

.bf-eyes:focus {
  outline: none;
}

.bf-art {
  position: relative;
  width: min(78vw, 16rem);
  height: 15rem;
  margin: 0 0 0.85rem;
  display: grid;
  place-items: center;
}

.bf-art [data-art] {
  display: none;
}

.bf-art[data-show="candle"] [data-art="candle"],
.bf-art[data-show="sunrise"] [data-art="sunrise"],
.bf-art[data-show="lotus"] [data-art="lotus"],
.bf-art[data-show="rain"] [data-art="rain"] {
  display: block;
}

.bf-candle {
  position: relative;
  width: 8rem;
  height: 13.5rem;
}

.bf-flame {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 2.05rem;
  height: 5.5rem;
  margin-left: -1.025rem;
  border-radius: 50% 50% 48% 48% / 62% 62% 38% 38%;
  background:
    radial-gradient(circle at 50% 74%, #fffaf0 0 10%, transparent 12%),
    linear-gradient(180deg, rgba(255, 248, 230, 0.15) 0%, #f6e2a8 30%, #f0c85a 62%, #c47a28 100%);
  box-shadow:
    0 0 22px rgba(240, 200, 90, 0.55),
    0 0 70px rgba(236, 184, 62, 0.28);
  animation: bf-flame 4.8s ease-in-out infinite;
}

.bf-wick {
  position: absolute;
  left: 50%;
  top: 5.55rem;
  width: 1.5px;
  height: 1.05rem;
  margin-left: -0.75px;
  background: #1c150c;
}

.bf-wax {
  position: absolute;
  left: 50%;
  top: 6.45rem;
  width: 1.7rem;
  height: 4.15rem;
  margin-left: -0.85rem;
  border-radius: 0.15rem 0.15rem 0.35rem 0.35rem;
  background: linear-gradient(90deg, #8d6a2e 0%, #f3e2b0 42%, #e4c98a 58%, #8d6a2e 100%);
}

.bf-dish {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  width: 4.6rem;
  height: 0.7rem;
  margin-left: -2.3rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(236, 184, 62, 0.5), rgba(236, 184, 62, 0.04) 72%);
}

.bf-sunrise {
  position: relative;
  width: min(78vw, 16rem);
  height: 12.5rem;
}

.bf-sun-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 13.5rem;
  height: 13.5rem;
  margin: -6.75rem 0 0 -6.75rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 184, 62, 0.34) 0%, rgba(236, 184, 62, 0) 68%);
  animation: bf-glow 8s ease-in-out infinite;
}

.bf-sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 7.25rem;
  height: 7.25rem;
  margin: -3.625rem 0 0 -3.625rem;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fff8ea 0%, #f6e2a8 26%, #f0c85a 54%, #c49228 82%, #8d6420 100%);
  box-shadow: 0 0 36px rgba(236, 184, 62, 0.32);
}

.bf-horizon {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 214, 140, 0.9) 18%, rgba(243, 214, 140, 0.9) 82%, transparent);
}

.bf-lotus {
  width: min(72vw, 13.5rem);
  height: auto;
  animation: bf-glow 8s ease-in-out infinite;
}

.bf-rain {
  position: relative;
  width: min(72vw, 13rem);
  height: 13rem;
  overflow: hidden;
}

.bf-rain span {
  position: absolute;
  top: -30%;
  width: 1px;
  height: 2.8rem;
  background: linear-gradient(180deg, transparent, rgba(236, 184, 62, 0.72), transparent);
  animation: bf-fall 9.5s linear infinite;
}

.bf-rain span:nth-child(1) { left: 8%; animation-duration: 8.6s; animation-delay: -1.2s; }
.bf-rain span:nth-child(2) { left: 20%; height: 2.2rem; animation-duration: 10.4s; animation-delay: -4.1s; }
.bf-rain span:nth-child(3) { left: 33%; animation-duration: 9.2s; animation-delay: -6.2s; }
.bf-rain span:nth-child(4) { left: 46%; height: 3.3rem; animation-duration: 11s; animation-delay: -2.4s; }
.bf-rain span:nth-child(5) { left: 58%; animation-duration: 8.8s; animation-delay: -7.1s; }
.bf-rain span:nth-child(6) { left: 70%; height: 2.4rem; animation-duration: 10.6s; animation-delay: -3.3s; }
.bf-rain span:nth-child(7) { left: 82%; animation-duration: 9.4s; animation-delay: -5.4s; }
.bf-rain span:nth-child(8) { left: 92%; height: 2rem; animation-duration: 8.2s; animation-delay: -8s; }

.bf-focus-name {
  margin: 0.85rem 0 0;
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 184, 62, 0.82);
}

.bf-focus-clock {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--cream);
}

.bf-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  margin-top: 1.5rem;
}

.bf-quiet {
  min-height: 44px;
  margin: 0;
  padding: 0.4rem 0.15rem;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 230, 0.55);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.bf-quiet-let {
  color: rgb(236, 184, 62);
}

@keyframes bf-flame {
  0%, 100% { opacity: 0.86; }
  50% { opacity: 1; }
}

@keyframes bf-glow {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes bf-fall {
  0% { transform: translateY(0); opacity: 0; }
  14% { opacity: 0.8; }
  100% { transform: translateY(16rem); opacity: 0; }
}

/* Phone MyDoge connect sheet (v211). Black and gold, one flat 1px #E8C878 line, no glow. */
.mydoge-sheet[hidden] {
  display: none !important;
}

.mydoge-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.72);
}

.mydoge-card {
  position: relative;
  width: min(100%, 24rem);
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #E8C878;
  border-radius: 18px;
  background: #000;
  box-shadow: none;
  color: #f4efe6;
  text-align: center;
}

.mydoge-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #E8C878;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.mydoge-title {
  margin: 0.2rem 0 0.5rem;
  padding: 0 2.25rem;
  outline: none;
  color: #E8C878;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}

.mydoge-status {
  margin: 0 auto 0.95rem;
  max-width: 19rem;
  padding: 0 0.5rem;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.45;
}

.mydoge-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
  border: 1px solid #E8C878;
  border-radius: 999px;
  background: #000;
  box-shadow: none;
  color: #E8C878;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mydoge-open[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
}

.mydoge-btn:focus-visible,
.mydoge-text:focus-visible,
.mydoge-close:focus-visible {
  outline: 2px solid #fff6e4;
  outline-offset: 2px;
}

.mydoge-text {
  display: block;
  margin: 0.45rem 0 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  color: #E8C878;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mydoge-text[hidden],
.mydoge-qr-box[hidden] {
  display: none !important;
}

.mydoge-other {
  margin-top: 0.7rem;
}

.mydoge-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.1rem;
  margin-top: 0.35rem;
}

.mydoge-qr-box {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(232, 200, 120, 0.35);
}

.mydoge-qr-note {
  margin: 0 0 0.6rem;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 300;
}

.mydoge-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 0.85rem;
  border: 1px solid #E8C878;
  border-radius: 10px;
  overflow: hidden;
  background: #E8C878;
}

.mydoge-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* v213 daily check-in: info only, gold line, no glow */
.sit-checkin {
  margin: 18px auto 28px;
  max-width: 34rem;
  padding: 22px 22px 20px;
  border: 1px solid #E8C878;
  border-radius: 14px;
  background: #000;
  box-shadow: none;
  text-align: left;
  /* v468: sticky header plus the safe area, and a small gap under it. */
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px) + 12px);
}
.sit-checkin .sit-checkin-title {
  margin: 0;
  padding-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #E8C878;
}
.sit-checkin p {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 236, 214, 0.86);
}
.sit-checkin p.sit-checkin-close {
  margin: 14px 0 0;
  color: #E8C878;
}

/* v217 calmer /sit: four tools on one line, more room around Start here,
   the library and the path card. */
.tool-tab[data-off-row] {
  display: none !important;
}
.sit-quiet-row {
  margin: 1.75rem 0 1.5rem;
}
.sit-quiet-row > .sit-quiet-links {
  gap: 1.1rem;
}
.sit-folds > .path-pill {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}
/* Four tools fit one 390px line: no scroll, no arrows. */
.tool-row {
  justify-content: space-around;
}
.tool-scroll-hint {
  display: none !important;
}

/* v218 check-in: hide it, or bring it back. Quiet gold text, no glow. */
.sit-checkin[hidden],
.sit-checkin-show-line[hidden] {
  display: none !important;
}
.sit-checkin .sit-checkin-hide-line {
  margin: 16px 0 0;
  text-align: right;
}
.sit-checkin-link {
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(232, 200, 120, 0.78);
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 120, 0.35);
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.sit-checkin-link:hover,
.sit-checkin-link:focus-visible {
  color: #E8C878;
}
.sit-checkin-show-line {
  margin: 6px 0 18px;
  text-align: center;
}
.sit-checkin-show-line .sit-checkin-link {
  color: rgba(232, 200, 120, 0.6);
  font-size: 0.75rem;
}

/* v224: the meditation volume is always on screen in the sit player: a gold mute
   toggle beside a slim gold slider with a 24px thumb. Black and gold, no glow. */
.sit-box-volume {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 20rem;
  margin: 1rem auto 0;
  box-sizing: border-box;
  padding: 0 0.25rem;
}

.sit-box-volume .sit-box-mute {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
}

.sit-vol-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sit-vol-x { display: none; }
.sit-box-mute[data-off="1"] .sit-vol-x { display: inline; }
.sit-box-mute[data-off="1"] .sit-vol-wave { display: none; }

.sit-box-volume-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sit-box-volume-range {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  --vol: 100%;
}

.sit-box-volume-range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #E8C878 0 var(--vol), rgba(232, 200, 120, 0.25) var(--vol) 100%);
}

.sit-box-volume-range::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(232, 200, 120, 0.25);
}

.sit-box-volume-range::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: #E8C878;
}

.sit-box-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -10.5px;
  border: 1px solid #E8C878;
  border-radius: 50%;
  background: #070705;
  box-shadow: none;
}

.sit-box-volume-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 1px solid #E8C878;
  border-radius: 50%;
  background: #070705;
  box-shadow: none;
}

.sit-box-volume-range:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 2px;
}

/* v226 Kindness: one quiet line to the wall after a check-in. */
.kindness-wall {
  margin: 1.1rem 0 0;
  text-align: center;
}
.kindness-wall a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  color: #E8C878;
  font-size: 0.92rem;
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 120, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}
.kindness-wall[hidden],
.sit-deeds-action[hidden] {
  display: none !important;
}

/* v227 Why stamps?: a quiet link in the check-in box and above My stamps,
   and one small black-and-gold dialog, flat and crisp. */
.sit-checkin p.sit-checkin-promise {
  margin: 12px 0 0;
}
.why-stamps-line {
  margin: 0.4rem 0 0.9rem;
  text-align: center;
}
.why-stamps-link {
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(232, 200, 120, 0.82);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 120, 0.38);
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.why-stamps-link:hover,
.why-stamps-link:focus-visible {
  color: #E8C878;
}
.why-stamps {
  width: min(calc(100vw - 2rem), 26rem);
  max-height: calc(100vh - 3rem);
  margin: auto;
  padding: 24px 22px 18px;
  border: 1px solid #E8C878;
  border-radius: 14px;
  background: #000;
  box-shadow: none;
  color: rgba(245, 236, 214, 0.88);
}
.why-stamps::backdrop {
  background: rgba(0, 0, 0, 0.72);
}
.why-stamps-title {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #E8C878;
  outline: none;
}
.why-stamps p {
  margin: 0 0 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
}
.why-stamps p.why-stamps-close-line {
  margin: 6px 0 0;
  text-align: right;
}
.why-stamps-close {
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: #E8C878;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 120, 0.4);
  text-underline-offset: 0.22em;
  cursor: pointer;
}

/* v228 Why stamps? shine: the house gold lettering (the /meditation ledger
   gradient, #efd594 to #d4a843) with the foil glint's #fff8ee beam
   sweeping through the letters every 3.6s. Text-clip only: crisp, no shadow,
   no blur. Only with motion allowed; reduced motion keeps the plain static
   gold above. Paused while the dialog is open. */
@media (prefers-reduced-motion: no-preference) {
  .why-stamps-link,
  .why-stamps-link:hover,
  .why-stamps-link:focus-visible {
    background-image: linear-gradient(100deg,
      #e3c06a 0%, #e8c878 38%, #fff8ee 48%, #f3dfa6 52%, #e8c878 62%, #d4a843 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-decoration-color: rgba(232, 200, 120, 0.42);
    animation: why-stamps-shine 3.6s linear infinite;
  }
  html.why-stamps-open .why-stamps-link {
    animation-play-state: paused;
  }
}
@keyframes why-stamps-shine {
  0% { background-position: 100% 0; }
  32% { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}

/* v247: no Sound toggle; the four sound chips sit on one row with the ambient level
   under them, always visible. The chosen chip is the gold one. */
.sit-box-tools {
  width: 100%;
  max-width: 21rem;
}
.sit-box-tools > .sit-box-sound-row {
  margin: 0;
}
.sit-box-sound-row .sit-sound-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  width: 100%;
}
.sit-box-sound-row .sit-sound-pick {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 0.2rem 0.34rem;
  border-radius: 14px;
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: none;
}
.sit-box-sound-row .sit-sound-volume {
  width: 100%;
}

/* v246: the sit's sound controls (volume + mute, Sound picker) shown in the main card
   while a Morning/Evening sit is under way, the same pieces the library player uses. */
.sit-main-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 1rem auto 0;
}
.sit-main-tools[hidden] {
  display: none;
}
.sit-main-tools > .sit-box-volume {
  width: 100%;
  max-width: 20rem;
}

/* v243: /sit main view. Begin sit is the solid gold primary action at full width;
   Set reminder to sit is outlined gold; New to meditation and the library sit side by
   side as two equal tiles (icon above label, about 2/3 the path card's height). */
body.page-sit .sit-now .actions {
  display: flex;
  width: 100%;
}
body.page-sit button#begin-sit {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 100%;
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #0a0800;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
body.page-sit button#begin-sit[hidden] {
  display: none;
}
body.page-sit button.btn-gold[data-remind-toggle] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid #e8c878;
  color: #e8c878;
  box-shadow: none;
}
body.page-sit button.btn-gold[data-remind-toggle]:hover,
body.page-sit button.btn-gold[data-remind-toggle]:focus-visible {
  background: rgba(232, 200, 120, 0.08);
  color: #f3dc9c;
}
body.page-sit .sit-quiet-row > .sit-quiet-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
}
body.page-sit .sit-quiet-row > .sit-quiet-links > .sit-quiet-dot {
  display: none;
}
body.page-sit .sit-quiet-row > .sit-quiet-links > .sit-quiet-link {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  height: 3.5rem;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 1px solid #e8c878;
  border-radius: 14px;
  background: #000;
  color: #e8c878;
  font-size: 0.74rem;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
  text-align: center;
  box-shadow: none;
}
body.page-sit .sit-quiet-row > .sit-quiet-links > .sit-quiet-link .sit-quiet-icon {
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  flex: none;
}

/* v392: header Connect wallet and Menu keep their painted size. The border box
   is 44px so the tap target meets the phone minimum. The gold pill is the
   same 32px gradient, drawn 6px down. Menu is 44px wide with 2px of
   vertical padding so the 22px icon stays centred. */
@media (max-width: 768px) {
  body.page-sit .sit-header .sit-menu-toggle {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 2px 0;
  }

  body.page-sit .sit-header .connect:not(.is-live) {
    position: relative;
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    padding: 0 calc(0.62rem + 1px);
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.page-sit .sit-header .connect:not(.is-live)::before {
    content: "";
    position: absolute;
    z-index: 0;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 6px;
    height: 32px;
    border: 1px solid #e4be5c;
    border-radius: 999px;
    background: linear-gradient(180deg, #f6e3a8 0%, #ecb83e 52%, #c49228 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    pointer-events: none;
  }

  body.page-sit .sit-header .connect:not(.is-live) .connect-label {
    position: relative;
    z-index: 1;
  }
}

/* v236 House of Kindness lines: quiet, muted gold, flat. */
.sit-welcome {
  margin: -0.35rem auto 0.9rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(232, 200, 120, 0.78);
}
.earned-closing {
  margin: 1.4rem auto 0;
  max-width: 22rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(232, 200, 120, 0.78);
}

/* v240 Why stamps? hardening: the rules above were swallowed by a missing
   brace before v226, so live phones showed the UA white button and white
   dialog. These set every native default explicitly, so the link and the
   dialog stay black and gold under any color-scheme or UA sheet. */
button.why-stamps-link {
  -webkit-appearance: none;
  appearance: none;
  display: inline;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background: transparent;
  color: #E8C878;
  -webkit-text-fill-color: #E8C878;
  font: inherit;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: inherit;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 120, 0.42);
  text-underline-offset: 0.22em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  button.why-stamps-link,
  button.why-stamps-link:hover,
  button.why-stamps-link:focus-visible {
    background-color: transparent;
    background-image: linear-gradient(100deg,
      #e3c06a 0%, #e8c878 38%, #fff8ee 48%, #f3dfa6 52%, #e8c878 62%, #d4a843 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: why-stamps-shine 3.6s linear infinite;
  }
  html.why-stamps-open button.why-stamps-link {
    animation-play-state: paused;
  }
}
dialog.why-stamps {
  color-scheme: dark;
  width: min(calc(100vw - 2rem), 26rem);
  max-height: calc(100vh - 3rem);
  margin: auto;
  padding: 24px 22px 18px;
  border: 1px solid #E8C878;
  border-radius: 14px;
  background-color: #0b0b0b;
  background: #0b0b0b;
  color: #f5ecd6;
}
dialog.why-stamps::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
}
dialog.why-stamps .why-stamps-title {
  color: #E8C878;
  font-family: "Cormorant Garamond", Georgia, serif;
}
dialog.why-stamps p {
  color: #f5ecd6;
}
dialog.why-stamps button.why-stamps-close {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 7px 18px;
  border: 1px solid #E8C878;
  border-radius: 999px;
  background-color: transparent;
  background: transparent;
  color: #E8C878;
  -webkit-text-fill-color: #E8C878;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
dialog.why-stamps button.why-stamps-close:focus-visible {
  outline: 1px solid #fff8ee;
  outline-offset: 2px;
}


/* v257 Breathe tool: patterns, length, switches. Crisp black and gold. */
.breathe-label {
  margin: 0.9rem 0 0.35rem;
  color: rgba(244, 236, 216, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.breathe-pick { display: grid; gap: 0.45rem; }
.breathe-pick-2 { grid-template-columns: 1fr 1fr; }
.breathe-pick-3 { grid-template-columns: repeat(3, 1fr); }
.breathe-opt,
.breathe-switch {
  min-height: 44px;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(232, 200, 120, 0.55);
  border-radius: 10px;
  background: #000;
  color: #f4ecd8;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
}
.breathe-opt small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(244, 236, 216, 0.62);
  font-size: 0.72rem;
}
.breathe-opt.is-on,
.breathe-opt[aria-pressed="true"] {
  background: #e8c878;
  border-color: #e8c878;
  color: #000;
}
.breathe-opt.is-on small,
.breathe-opt[aria-pressed="true"] small { color: rgba(0, 0, 0, 0.7); }
.breathe-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 0.3rem;
}
.breathe-switch { flex: 1 1 auto; font-size: 0.85rem; border-radius: 999px; }
.breathe-switch[aria-pressed="true"] { border-color: #e8c878; color: #e8c878; background: rgba(232, 200, 120, 0.1); }
.breathe-switch[aria-pressed="true"]::before { content: "\2713\00a0"; }
.breathe-switches-run { justify-content: center; }
.breathe-switches-run .breathe-switch { flex: 0 0 auto; padding-inline: 1.2rem; }
.breathe-note { margin: 0.2rem 0 0.7rem; color: rgba(244, 236, 216, 0.6); font-size: 0.8rem; }
.breathe-opt:focus-visible,
.breathe-switch:focus-visible,
.lib-len-btn:focus-visible,
.lib-chip:focus-visible,
.lib-play:focus-visible { outline: 2px solid #e8c878; outline-offset: 2px; }

/* v257 Meditation library: pick a length, one list, optional moment chips. */
.lib-len { margin: 0.6rem 0 1.1rem; }
.lib-len-title,
.lib-moment-title {
  margin: 0 0 0.45rem;
  color: rgba(244, 236, 216, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lib-len-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.lib-len-btn {
  min-height: 48px;
  border: 1px solid rgba(232, 200, 120, 0.6);
  border-radius: 10px;
  background: #000;
  color: #f4ecd8;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
}
.lib-len-btn small { display: block; font-size: 0.7rem; color: rgba(244, 236, 216, 0.6); }
.lib-len-btn[aria-pressed="true"] { background: #e8c878; border-color: #e8c878; color: #000; }
.lib-len-btn[aria-pressed="true"] small { color: rgba(0, 0, 0, 0.65); }
.lib-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.lib-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(232, 200, 120, 0.28);
  border-radius: 12px;
  background: #050505;
}
.lib-card[hidden] { display: none; }
.lib-tag {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(232, 200, 120, 0.5);
  border-radius: 999px;
  color: #e8c878;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lib-name { margin: 0; color: #f4ecd8; font-family: var(--display); font-size: 1.1rem; line-height: 1.2; }
.lib-card .sit-line { margin: 0.3rem 0 0; color: rgba(244, 236, 216, 0.66); font-size: 0.86rem; font-weight: 300; line-height: 1.45; }
.lib-meta { margin: 0.15rem 0 0; color: rgba(244, 236, 216, 0.6); font-size: 0.8rem; }
.lib-play {
  min-width: 64px;
  min-height: 44px;
  border: 1px solid #e8c878;
  border-radius: 999px;
  background: #e8c878;
  color: #000;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.lib-moment { position: relative; margin: 1.1rem 0 1.4rem; }
.lib-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0.15rem 0;
  -webkit-overflow-scrolling: touch;
}
.lib-chips::-webkit-scrollbar { display: none; }
.lib-chip-row { display: flex; align-items: center; gap: 0.45rem; }
.lib-chip-row .lib-chips { flex: 1 1 auto; min-width: 0; }
.lib-chip[data-lib-overflow] { display: none; }
.lib-more { flex: 0 0 auto; min-width: 44px; min-height: 44px; }
.lib-chip {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid #f3dc9a;
  border-radius: 999px;
  background: #000;
  color: #f8e7a8;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.lib-chip[aria-pressed="true"] { border-color: #e8c878; color: #000; background: #e8c878; }
.lib-chip[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.lib-empty { color: #f6edd3; font-size: 1.05rem; line-height: 1.4; }

/* v261: always-open "Write today's note" at the top of the Journal.
   Black and gold, thin outline, flat and crisp. */
.journal-today {
  margin: 0.9rem 0 1.1rem;
  padding: 0.9rem;
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  background: #000;
}
.journal-today-label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.3;
}
.journal-today-prompt {
  margin: 0 0 0.5rem;
  color: var(--cream-muted);
  font-style: italic;
  font-size: 0.92rem;
}
.journal-today-text {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 7.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: #0b0b0b;
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}
.journal-today-text::placeholder {
  color: var(--cream-quiet);
}
.journal-today-text:focus {
  outline: none;
}
.journal-today-text:focus-visible,
.journal-today-save:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}
.journal-today-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.6rem;
}
.journal-today-status {
  flex: 1 1 auto;
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.85rem;
}
.journal-today-save {
  flex: 0 0 auto;
  min-width: 6.5rem;
  min-height: 44px;
}
.journal-past-title {
  margin: 1.1rem 0 0.3rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* v269: after-sit finish screen. Crisp black and gold, flat. */
body.is-earned-open #begin-sit,
body.is-earned-open #go-stamp,
body.is-earned-open #claim-sit,
body.is-earned-open .foil-keep {
  display: none !important;
}
.earned-screen[data-finish] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 70vh;
  padding: 2.2rem 1.1rem 2rem;
  overflow-x: clip;
  background: #000;
  text-align: center;
  opacity: 1;
  transition: opacity 700ms ease;
}
.earned-screen[data-finish].is-entering { opacity: 0; }
.earned-screen[data-finish] .earned-title {
  margin: 0.6rem auto 0.4rem;
  max-width: none;
  color: #d4af37;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 400;
  outline: none;
}
.earned-thanks {
  margin: 0 auto;
  max-width: 20rem;
  color: rgba(244, 239, 230, 0.86);
  font-family: "Cormorant Garamond", var(--display), serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
}
.earned-screen[data-finish] .earned-coin .foil-coin {
  width: min(180px, 60%);
  margin: 1.2rem auto 0.4rem;
}
.earned-keepsake {
  margin: 0.4rem 0 0;
  color: #d4af37;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.earned-later {
  margin-top: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}
.earned-screen.is-ready .earned-later {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease, visibility 0s;
}
.earned-screen.is-still,
.earned-screen.is-still .earned-later { transition: none !important; }
.earned-kind {
  margin: 0;
  color: var(--cream, #f4efe6);
  font-size: 1rem;
}
.earned-good {
  margin: 0.55rem auto 0;
  min-height: 44px;
  padding: 0.3rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 999px;
  background: transparent;
  color: #d4af37;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.earned-good[hidden] { display: none; }
.earned-good:disabled { opacity: 0.6; cursor: default; }
.earned-stamp { margin-top: 1.6rem; }
.earned-screen[data-finish] .earned-primary {
  width: 100%;
  max-width: 22rem;
  min-height: 3.2rem;
  border: 1px solid #d4af37;
  border-radius: 999px;
  background: #d4af37;
  color: #000;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.earned-screen[data-finish] .earned-primary.is-kept {
  background: transparent;
  color: #d4af37;
  cursor: default;
}
.earned-screen[data-finish] .earned-primary.is-kept::before { content: "\2713\00a0"; }
.earned-screen[data-finish] .earned-note {
  margin: 0.55rem auto 0;
  max-width: 20rem;
  color: rgba(244, 239, 230, 0.6);
  font-size: 0.82rem;
}
.earned-screen[data-finish] .earned-note[hidden] { display: none; }
.earned-exits {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.earned-exit {
  flex: 1 1 0;
  max-width: 10.5rem;
  min-height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: #000;
  color: #d4af37;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.earned-exit[hidden] { display: none; }
.earned-screen[data-finish] button:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 3px;
}
/* v260/v266: Days of practice coin (layout P3). Crisp black and gold, flat, static (nothing to reduce for reduced motion).
   Smaller coin on the left, thin gold divider, the streak on the right; the week row and stats sit full width below. */
.practice-stats.days-coin { display: block; margin: 0.6rem 0 0.9rem; }
.days-coin .coin-head { display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.days-coin .coin-seal { position: relative; flex: none; width: 176px; height: 176px; margin: 0; }
.days-coin .coin-art { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #d9b25a; }
.days-coin .coin-rim-text { fill: #d9b25a; stroke: none; font-family: Georgia, serif; font-size: 10.2px; letter-spacing: 2.6px; }
/* DogeDharma and Kobe: the square art keeps both full heads inside 94% of its radius; at 64% of the coin it sits well inside the dotted inner ring (r 68 of 100). Nothing is drawn over it. */
.days-coin .coin-logo { position: absolute; left: 19.5%; top: 19.5%; width: 61%; height: 61%; pointer-events: none; }
.days-coin .coin-tally { margin: 0; padding: 0.2rem 0 0.2rem 1rem; border-left: 1px solid rgba(217, 178, 90, 0.45); text-align: left; }
.days-coin .coin-tally strong { display: block; color: #e2bb5e; font-family: var(--display); font-size: 4.2rem; font-weight: 400; line-height: 1; }
.days-coin .coin-tally span { display: block; margin-top: 0.3rem; color: #efe6d2; font-family: Georgia, serif; font-size: 0.78rem; letter-spacing: 0.18em; line-height: 1.5; text-transform: uppercase; }
.days-coin .coin-week { display: flex; justify-content: space-between; margin: 1.5rem 0.2rem 0; padding: 0; list-style: none; }
.days-coin .coin-day { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; min-height: 0; border: 0; color: #8d846f; font-size: 0.7rem; }
.days-coin .coin-mark { position: relative; display: block; width: 36px; height: 36px; border-radius: 50%; }
.days-coin .coin-real, .days-coin .coin-stamp { display: block; width: 100%; height: 100%; border-radius: 50%; color: transparent; transform: translateZ(0); }
.days-coin .coin-logo { color: transparent; transform: translateZ(0); background-repeat: no-repeat; background-position: center; background-size: cover; }
.days-coin .coin-empty { display: block; box-sizing: border-box; width: 100%; height: 100%; border: 1px solid rgba(217, 178, 90, 0.3); border-radius: 50%; }
.days-coin .coin-fill { fill: #d9b25a; }
.days-coin .coin-inner { fill: none; stroke: #0b0a08; stroke-width: 0.5; }
.days-coin .coin-star { fill: #0b0a08; }
.days-coin .is-today .coin-mark { outline: 1px solid #d9b25a; outline-offset: 2px; }
.days-coin .is-today { color: #efe6d2; }
.days-coin .coin-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.3rem; margin: 1.4rem 0 0; padding: 0; list-style: none; color: #a99e84; font-size: 0.82rem; }
.days-coin .coin-foot li { display: block; min-height: 0; border: 0; }
.days-coin .coin-foot strong { margin-right: 0.25rem; color: #efe6d2; font-family: var(--display); font-size: 1.15rem; font-weight: 400; }

/* v274 simpler opening screen ------------------------------------------- */
.sit-header { position: sticky; }
.sit-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.sit-menu-icon {
  fill: none;
  stroke: #d4af37;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.sit-menu-toggle[aria-expanded="true"] .sit-menu-icon { stroke: var(--gold-bright, #f3d27a); }
.sit-menu {
  position: absolute;
  top: 100%;
  right: 0.55rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  min-width: 12rem;
  padding: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  background: #000;
}
.sit-menu[hidden] { display: none !important; }
.sit-menu .full-site { margin-left: 0; font-size: 0.66rem; min-height: 36px; }
.sit-header .wallet-chip { margin-left: auto; }
.sit-header .wallet-chip:not([hidden]) + .sit-menu-toggle { margin-left: 0.35rem; }
.sit-menu .i18n-picker { position: relative; align-self: center; justify-content: center; margin: 0 auto; }

.phase-one {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0 auto 0.6rem;
}
/* v274: the single time-of-day card fills the same width as Begin sit. */
.phase-one .phase-art {
  display: block;
  width: 100%;
  max-width: none;
  /* Landscape band like live Soft Sit — slightly taller so cover keeps sun/moon/hills. */
  height: min(42vw, 26dvh, 11.5rem);
  max-height: 26dvh;
  border-color: rgba(236, 184, 62, 0.7);
  border-radius: 14px;
  overflow: hidden;
}
.phase-one .phase-art[hidden] { display: none; }
.phase-one .phase-art svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phase-one .phase-art {
  background: #070910;
}
.phase-one .phase-art img,
.phase-art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Day 1: landscape art fills the Soft Sit band. Keep live gold chrome.
   Cover fills the region; object-position keeps sun/moon/hill crest in frame. */
.day-home .phase-one .phase-art {
  border-color: rgba(236, 184, 62, 0.7);
  border-radius: 14px;
  box-shadow: none;
  background: #070910;
  width: 100%;
  margin: 0 0 0.55rem;
  height: min(42vw, 26dvh, 11.5rem);
  max-height: 26dvh;
  overflow: hidden;
}
.day-home .phase-one .phase-art img,
.day-home .phase-art-img {
  object-fit: cover;
  object-position: center center;
  background: #070910;
}
.day-home .lane-title .day-length[hidden] { display: none; }
.phase-one .phase-sky-morning { object-position: center 78%; }
.phase-one .phase-sky-midday { object-position: center 28%; }
.phase-one .phase-sky-night { object-position: center 50%; }
#sit-now .breath-guide {
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px) + 12px);
  scroll-margin-bottom: calc(var(--chrome) + 4.6rem);
}
/* v274: switch is a soft pill like Skip to sit. Thin gold outline, cream text, translucent dark fill. */
.phase-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid rgba(232, 200, 120, 0.55);
  border-radius: 999px;
  background: rgba(14, 11, 8, 0.55);
  color: rgba(244, 233, 210, 0.85);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.phase-switch:hover {
  border-color: rgba(232, 200, 120, 0.85);
  color: #f4e9d2;
  background: rgba(14, 11, 8, 0.7);
}
.phase-switch:focus-visible {
  outline: 1px solid rgba(243, 226, 168, 0.9);
  outline-offset: 3px;
}
.sit-name-line { margin: 0 0 0.35rem; text-align: center; }
/* v587 box: Day card title hierarchy — phase Meditation primary, sit name secondary. */
.day-home .sit-name-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.day-home .sit-name-line [data-day-chip] {
  display: block;
}
.day-home .sit-name-line .day-sit-name {
  display: block;
  margin: 0;
  color: rgba(244, 233, 210, 0.78);
  font-family: var(--body);
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: none;
}
.sit-name-line .day-length { font: inherit; letter-spacing: 0; text-transform: none; opacity: 0.78; }
.sit-now.is-idle .timer-digits,
.sit-now.is-idle .timer-audio,
.sit-now.is-idle .timer-state { display: none; }
.sit-howto-line { margin: 0.35rem 0 0; text-align: center; }
.sit-howto-link {
  min-height: 28px;
  padding: 0.1rem 0.4rem;
  border: 0;
  background: transparent;
  color: rgba(232, 200, 120, 0.72);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sit-howto-link:hover,
.sit-howto-link:focus-visible { color: var(--gold); }

/* v280: every plain-text Back on /sit is a real button, the same soft pill
   as Skip to sit: thin gold outline, cream text, dark fill, 44px tall. */
.back-pill,
.backup-back.back-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0 1.25rem;
  border: 1px solid rgba(232, 200, 120, 0.55);
  border-radius: 999px;
  background: rgba(14, 11, 8, 0.55);
  color: rgba(244, 233, 210, 0.85);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.backup-back.back-pill {
  display: flex;
  margin: 0.6rem auto 0;
}
.back-pill:hover {
  border-color: rgba(232, 200, 120, 0.85);
  color: #f4e9d2;
  background: rgba(14, 11, 8, 0.7);
}
.back-pill:focus-visible,
.backup-back.back-pill:focus-visible {
  outline: 2px solid rgba(243, 226, 168, 0.95);
  outline-offset: 3px;
}

/* v280: the gym line moves from the tips panel to the finish screen, a soft
   line under Sit complete. */
.earned-gym {
  max-width: 20rem;
  margin: 0.35rem auto 0.6rem;
  text-align: center;
  text-wrap: balance;
  color: rgba(232, 214, 170, 0.72);
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.45;
}

/* v280: the language globe lives in the /sit header, left of the wallet pill.
   Fine gold line art, 44px tap target, meridians drift slowly; still under
   prefers-reduced-motion. The language code is hidden to keep the header
   from overflowing at 390px. */
.sit-lang { display: flex; align-items: center; margin-left: auto; flex: 0 0 auto; }
.sit-lang .i18n-picker { position: relative; display: flex; align-items: center; }
.sit-lang .i18n-globe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e8c878;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sit-lang .i18n-code { display: none; }
.sit-lang .i18n-globe:focus-visible { outline: 2px solid rgba(243, 226, 168, 0.95); outline-offset: 0; }
.sit-lang .i18n-fine-globe { display: block; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .sit-lang .i18n-meridians { animation: dd-globe-drift 24s linear infinite; }
}
@keyframes dd-globe-drift { from { transform: translateX(0); } to { transform: translateX(-18px); } }
.sit-lang .i18n-menu { position: absolute; top: calc(100% + 4px); right: 0; left: auto; z-index: 40; }
.sit-header .sit-lang + .wallet-chip { margin-left: 0.15rem; }

/* v282: Midday slot. A soft line under Midday Sit, and slow clouds drifting
   across the high sun (only when motion is welcome). */
.day-subline {
  max-width: 19rem;
  margin: 0.2rem auto 0;
  text-align: center;
  color: rgba(232, 214, 170, 0.66);
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.4;
}
@media (prefers-reduced-motion: no-preference) {
  .phase-sky-midday .noon-cloud { animation: dd-noon-drift 38s ease-in-out infinite alternate; }
  .phase-sky-midday .noon-cloud-b { animation-duration: 46s; animation-delay: -12s; }
  .phase-sky-midday .noon-cloud-c { animation-duration: 54s; animation-delay: -30s; }
}
@keyframes dd-noon-drift { from { transform: translateX(-4px); } to { transform: translateX(5px); } }

/* v430: a short black-and-gold pause before the wallet confirm. */
.stamp-seal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2.4rem 1.5rem 2.6rem;
  background:
    radial-gradient(ellipse at 50% 38%, #0c0b09 0%, #050403 54%, #120e09 100%);
  text-align: center;
}
.stamp-seal[hidden] { display: none !important; }
.stamp-seal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(22rem, 100%);
  gap: 36px;
}
.stamp-seal-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  border: 1px solid rgba(214, 178, 96, 0.82);
  outline: 1px solid rgba(214, 178, 96, 0.34);
  outline-offset: 6px;
  background: #050403;
  overflow: hidden;
}
.stamp-seal-logo-wrap::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  width: calc(100% - 56px);
  height: 100px;
  background-image: linear-gradient(118deg, rgba(255, 206, 110, 0) 44%, rgba(255, 214, 130, 0.45) 48%, rgba(255, 236, 186, 0.9) 50%, rgba(255, 214, 130, 0.45) 52%, rgba(255, 206, 110, 0) 56%);
  background-size: 260% 220%;
  background-repeat: no-repeat;
  background-position: 140% -40%;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
@media (prefers-reduced-motion: no-preference) {
  .stamp-seal-logo-wrap::after {
    animation: stamp-seal-sweep 7.5s ease-in-out infinite;
  }
}
.stamp-seal-logo {
  position: relative;
  z-index: 1;
  display: block;
  height: 100px;
  width: auto;
}
@keyframes stamp-seal-sweep {
  0%, 64% { background-position: 140% -40%; opacity: 0; }
  74% { opacity: 0.7; }
  100% { background-position: -40% 140%; opacity: 0; }
}
.stamp-seal-title {
  margin: 0;
  max-width: 16.75rem;
  color: #fff1c2;
  font-family: var(--display), Georgia, serif;
  font-size: clamp(1.48rem, 6.4vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.3;
  text-wrap: balance;
}
.stamp-seal-line {
  margin: 0;
  max-width: 18.5rem;
  color: #f7f1e4;
  font-size: 1.2rem;
  line-height: 1.6;
}
.stamp-seal-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #0b0b0b;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 650;
  cursor: pointer;
}
.stamp-seal-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0.35rem 1rem;
  border: 0;
  background: transparent;
  color: rgba(247, 241, 228, 0.92);
  font: inherit;
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.stamp-seal-go:focus-visible,
.stamp-seal-skip:focus-visible {
  outline: 2px solid #ffe08a;
  outline-offset: 3px;
}

/* v468: the opening "How it works" link stays quiet text. A slow gold light
   crosses the letters about every 5s. No border, no pill. The player pill
   is a later rule and keeps its own fill. Motion off leaves the static gold. */
@media (prefers-reduced-motion: no-preference) {
  .sit-now:not(.is-live) .sit-howto-link {
    font-weight: 300;
    background-color: transparent;
    background-image: linear-gradient(100deg,
      rgba(232, 200, 120, 0.72) 0%,
      rgba(232, 200, 120, 0.72) 42%,
      #fff8ee 50%,
      rgba(232, 200, 120, 0.72) 58%,
      rgba(232, 200, 120, 0.72) 100%);
    background-size: 240% 100%;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-decoration-color: rgba(232, 200, 120, 0.55);
    animation: sit-howto-shimmer 5.2s ease-in-out infinite;
  }
}
@keyframes sit-howto-shimmer {
  0%, 14% { background-position: 100% 50%; }
  46%, 100% { background-position: 0% 50%; }
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link {
  animation: none;
  background-image: none;
  color: #f6e3a8;
  -webkit-text-fill-color: #f6e3a8;
}

/* v468: a return from Meditate together can name one library row. */
#all-sits .is-return-pick {
  outline: 1px solid rgba(232, 200, 120, 0.85);
  outline-offset: 4px;
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px) + 12px);
}

/* v490: the kind line fades in only when motion is welcome. Kept above the v283 tail. */
@media (prefers-reduced-motion: no-preference) {
  .daily-kind-line.is-in { animation: daily-kind-in 0.7s ease both; }
}
@keyframes daily-kind-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* v283: night card. Many fine gold and cream stars, a faint Milky Way, a few
   that twinkle slowly and a rare slow shooting star (about every 52s). The
   morning card gets its last fading stars and a slow breathing sun halo.
   All motion is off unless the visitor welcomes motion. */
@media (prefers-reduced-motion: no-preference) {
  .phase-sky-night .tw { animation: dd-twinkle 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .phase-sky-night .tw1 { animation-duration: 7s; animation-delay: -2.2s; }
  .phase-sky-night .tw2 { animation-duration: 9s; animation-delay: -4.6s; }
  .phase-sky-night .night-shoot { animation: dd-shoot 52s ease-out infinite; animation-delay: 8s; }
  .phase-sky-morning .dawn-halo { animation: dd-dawn-breathe 18s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .phase-sky-morning .dawn-stars { animation: dd-dawn-fade 12s ease-in-out infinite alternate; }
  body.is-earned-open #earned-keep { background-image: linear-gradient(105deg, rgba(255, 244, 214, 0) 0%, rgba(255, 244, 214, 0) 38%, rgba(255, 244, 214, 0.34) 50%, rgba(255, 244, 214, 0) 62%, rgba(255, 244, 214, 0) 100%); background-color: #000; background-size: 220% 100%; background-repeat: no-repeat; animation: earned-home-shimmer 5.6s ease-in-out infinite; }
}
@keyframes dd-twinkle { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.3; } }
@keyframes dd-shoot {
  0%, 95% { opacity: 0; stroke-dasharray: 0 18; }
  96.5% { opacity: 0.85; stroke-dasharray: 18 0; }
  98.5% { opacity: 0; stroke-dasharray: 18 0; }
  100% { opacity: 0; }
}
@keyframes dd-dawn-breathe { 0%, 100% { opacity: 0.45; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.08); } }
@keyframes dd-dawn-fade { from { opacity: 0.9; } to { opacity: 0.35; } }

/* v284 (Guruji's review): one quiet daily line under the sit name, and Kobe
   steps aside while the opening card is on screen. */
.day-home .day-daily { margin: 0.2rem auto 0.4rem; max-width: 22rem; text-align: center; color: rgba(244, 239, 230, 0.52); font-size: 0.82rem; line-height: 1.4; }
html.dd-opening-view .kobe-helper { display: none !important; }

/* v286: today's stamp kept folds the block into one quiet line. */
#view-stamp.is-kept > :not(.stamp-kept-line) { display: none !important; }
.stamp-kept-line { margin: 0.4rem auto; text-align: center; color: rgba(244, 239, 230, 0.66); font-size: 0.9rem; line-height: 1.5; }
.stamp-kept-line .stamp-kept-tx { display: inline-block; margin-left: 0.6rem; color: #e8c878; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }
/* v345: Good Deeds (one deeds link) and House blog live in the footer row. */
.sit-footer-links a[hidden] { display: none; }

/* v293: "New to meditation" is a calm view. Back, One Kind Breath with a solid
   gold Play as the single primary action, the gym line and Why 30 days?.
   Nothing else competes while it is open. */
body.is-newto .sit-folds,
body.is-newto [data-tool-row],
body.is-newto #keep-forever,
body.is-newto .kobe-helper,
body.is-newto [data-remind-toggle],
body.is-newto #meditation-reminders {
  display: none !important;
}

body.is-newto .start-here {
  margin: 1.75rem 0 3.5rem;
  /* the footer waits below the fold, so nothing competes on a phone */
  min-height: calc(100svh - var(--sit-header, 5rem) - 7rem);
}

body.is-newto .start-here-back {
  margin-bottom: 1.6rem;
}

body.is-newto .start-here-sit {
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 0;
}

body.is-newto .start-here-sit .play {
  min-width: 4.6rem;
  min-height: 3rem;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6e3a8 0%, #ecb83e 52%, #c49228 100%);
  color: #140e04;
  font-weight: 600;
}

body.is-newto .start-here-gym {
  margin-top: 2.4rem;
}

body.is-newto .start-here .level-why-line {
  margin-top: 1.1rem;
}

/* v413: New to meditation is a short list of beginner track cards.
   The whole card is the play control. Time of day stays off this screen. */
.nt-title {
  margin: 0 auto 1.25rem;
  max-width: 22rem;
  text-align: center;
  color: var(--gold, #e8c878);
  font-family: var(--display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.7rem, 6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.nt-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 26rem;
  padding: 0;
}
.nt-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0.9rem 0.7rem 0.9rem 1.05rem;
  border: 1px solid rgba(232, 200, 120, 0.38);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(236, 184, 62, 0.1), transparent 62%),
    linear-gradient(180deg, #14110c 0%, #0b0906 100%);
  color: #f6ecd6;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.nt-card-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.nt-card-name {
  color: #f6ecd6;
  font-family: var(--display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.2;
}
.nt-card-meta {
  color: rgba(232, 200, 120, 0.78);
  font-family: var(--body, Outfit, sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.nt-card-line {
  margin-top: 0.28rem;
  color: rgba(244, 239, 230, 0.62);
  font-family: var(--body, Outfit, sans-serif);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
}
.nt-card-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid rgba(240, 210, 130, 0.9);
  border-radius: 50%;
  background: rgba(232, 200, 120, 0.14);
  color: #f3d58a;
}
/* v576b: the play glyph was a 12px speck that read as a dot; now a clear 22px solid gold triangle. */
.nt-card-play svg {
  display: block;
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: #f3d58a;
}
.nt-card-play svg path { fill: #f3d58a; }
.nt-card:hover { border-color: rgba(232, 200, 120, 0.72); }
.nt-card:focus-visible {
  outline: 2px solid #e8c878;
  outline-offset: 3px;
}

/* v298: New to meditation offers three sits. Your First Sit stays the one
   big gold pick; two quiet gold text lines sit under it. */
/* v302: the .start-more pills live in tool-coins.css (layered after sit.css). */
body.is-newto .start-here-sit { padding-bottom: 0.6rem; }

/* v297: before the first sit the tally steps aside and the coin shows alone. */
.coin-tally[hidden] { display: none !important; }

/* v297: Kobe is about 30% smaller and tucks in just above the bottom nav,
   in the right-hand corner. The seal keeps a 44px+ tap target. He still
   steps aside during a sit, the breath, the bell and on the finish screen. */
.kobe-helper {
  right: max(0.35rem, calc(50vw - 14rem + 0.35rem));
  bottom: calc(var(--chrome) + 3.3rem);
  width: 3.2rem;
}
.kobe-helper-seal {
  width: 2.45rem;
  height: 2.45rem;
  min-width: 44px;
  min-height: 44px;
  border-width: 1.5px;
}
.kobe-helper-seal::after { content: ""; position: absolute; inset: -0.3rem; border-radius: 50%; }
.kobe-helper-tail { left: -0.3rem; width: 0.8rem; height: 0.8rem; }
.kobe-helper-hide { top: -0.35rem; right: -0.35rem; width: 1.2rem; height: 1.2rem; font-size: 0.66rem; }
.kobe-helper-hide::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
/* v395: on a phone the × on Videos is a 44px target. The gold circle stays 1.2rem. */
@media (max-width: 768px) {
  .kobe-helper-hide {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    top: calc(-0.35rem - (44px - 1.2rem) / 2);
    right: calc(-0.35rem - (44px - 1.2rem) / 2);
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
  }
  .kobe-helper-hide::before {
    width: 0;
    height: 0;
  }
  .kobe-helper-hide::after {
    content: "×";
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(236, 184, 62, 0.55);
    border-radius: 50%;
    background: #000;
    color: rgb(236, 184, 62);
    font-family: var(--body);
    font-size: 0.66rem;
    line-height: 1;
    pointer-events: none;
  }
}
.kobe-helper { transition: opacity 0.25s ease; }
.kobe-helper.is-tucked { opacity: 0; }
.kobe-helper.is-tucked .kobe-helper-seal,
.kobe-helper.is-tucked .kobe-helper-hide { pointer-events: none; }

/* v315: wallet menu items are 44px tall; Copy address confirms with Copied. */
.wallet-menu-item { min-height: 44px; }
.wallet-copied { display: block; padding: 0 0.75rem 0.3rem; color: #f3d27a; font-size: 0.68rem; letter-spacing: 0.04em; }
.wallet-copied[hidden] { display: none; }

/* v326: with the ambient Sound row off, its empty tools strip takes no room. */
.sit-box-tools:has(> .sit-box-sound-row[hidden]:only-child) { display: none; }
.sit-box-volume[hidden], .sit-main-tools[hidden] { display: none !important; }

/* v332: a simpler end screen. Coin, "You came back." in sentence case, the kind line, then Back home and Meditate again. The heading stays for screen readers only. */
.earned-screen[data-finish] .earned-sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.earned-screen[data-finish] .earned-keepsake {
  margin: 0.6rem auto 0;
  max-width: 100%;
  padding-inline: 0.35rem;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  font-size: 1.15rem;
  letter-spacing: normal;
  text-transform: none;
}
.earned-screen[data-finish] .earned-fruit,
.earned-screen[data-finish] .earned-kind,
.earned-screen[data-finish] .kids-share,
.earned-screen[data-finish] .finish-stamp,
.earned-screen[data-finish] .finish-stamp-line {
  max-width: min(22rem, 100%);
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.earned-screen[data-finish] .earned-coin {
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
  overflow: hidden;
}
.earned-screen[data-finish] .earned-coin .foil-coin {
  width: min(200px, 62vw);
  height: min(200px, 62vw);
  aspect-ratio: 1;
  max-width: 100%;
}

/* v322: after the third breath the circle settles to still: a slow, soft dim with no motion. */
.bf-orb .bf-orb-ring,
.bf-orb .bf-orb-core { transition: opacity 2.4s ease-in-out; }
.bf-orb[data-still="1"] .bf-orb-ring,
.bf-orb[data-still="1"] .bf-orb-core { opacity: 0.8; }

/* v337: breathing guide for the six re-recorded meditations (sit/breath-guide.js). */
.breath-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem auto 0.25rem;
  pointer-events: none;
}
.breath-guide[hidden] { display: none; }
.breath-guide-orb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 184, 62, 0.26) 0%, rgba(236, 184, 62, 0.1) 58%, rgba(236, 184, 62, 0) 72%);
  border: 1px solid rgba(236, 184, 62, 0.22);
  transform: scale(0.62);
  transform-origin: center;
  will-change: transform;
}
.breath-guide-word {
  min-height: 1.2em;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  transition: opacity 0.8s ease;
}
.breath-guide[data-phase="rest"] .breath-guide-word { opacity: 0; }
/* Reduced motion: breath-guide.js keeps the circle still and only fades it (data-still). */
.breath-guide[data-still] .breath-guide-orb { transform: none !important; transition: opacity 1.2s ease; }
.breath-guide[data-still][data-phase="rest"] .breath-guide-orb,
.breath-guide[data-still][data-phase="out"] .breath-guide-orb { opacity: 0.6; }

/* v341: the library's empty state: one soft line and a calm reset (44px tap target). */
.lib-reset-line { margin: 0.25rem 0 1rem; text-align: center; }
.lib-reset {
  min-height: 44px;
  min-width: 44px;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lib-reset[hidden] { display: none; }
.lib-reset:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lib-reset-line:has(> .lib-reset[hidden]) { display: none; }

/* v342: a length a picked moment has nothing in steps aside. */
.lib-len-btn[hidden] { display: none; }

/* v344: one stamp flow on the finish screen, and a quiet line under 'You came back.' */
.earned-fruit {
  margin: 0.45rem auto 0;
  max-width: 22rem;
  color: rgba(232, 200, 120, 0.78);
  font-family: var(--display, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.finish-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 1.15rem auto 1.1rem;
  max-width: 21rem;
}
.finish-stamp-btn {
  min-height: 48px;
  min-width: 14rem;
  padding: 0.55rem 1.6rem;
  border: 1px solid #d4af37;
  border-radius: 999px;
  background: linear-gradient(180deg, #e8c878, #c9a227);
  color: #0b0b0b;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.finish-stamp-btn.is-kept {
  background: #000;
  color: #e8c878;
  border-color: rgba(232, 200, 120, 0.45);
  cursor: default;
}
.finish-stamp[data-state="kept-local-wallet"] .finish-stamp-btn { cursor: pointer; }
.finish-stamp-btn:disabled { opacity: 1; }
.finish-stamp[data-state="keeping"] .finish-stamp-btn,
.finish-stamp[data-state="confirming"] .finish-stamp-btn { opacity: 0.8; }
.finish-stamp-line {
  margin: 0.2rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.86rem;
  text-align: center;
}
.finish-stamp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 0;
  background: none;
  color: #d4af37;
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
  text-underline-offset: 4px;
  cursor: pointer;
}
.finish-stamp-line[hidden],
.finish-stamp-link[hidden],
.finish-stamp-headline[hidden],
.finish-stamp-soft[hidden],
.finish-stamp-btn[hidden] { display: none; }
.finish-stamp-headline {
  margin: 0.1rem 0 0.45rem;
  max-width: 22rem;
  text-align: center;
  font-family: var(--display, "Cormorant Garamond", serif);
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(244, 239, 230, 0.92);
  text-wrap: balance;
}
.finish-stamp-soft {
  margin: 0.4rem 0 0;
  max-width: 20rem;
  text-align: center;
  color: rgba(244, 239, 230, 0.58);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.finish-stamp[data-state="failed"] .finish-stamp-line,
.finish-stamp[data-state="kept-chain"] .finish-stamp-line,
.finish-stamp[data-state="kept-local"] .finish-stamp-line {
  margin: 0.15rem 0 0.2rem;
  max-width: 22rem;
  font-family: var(--display, "Cormorant Garamond", serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(244, 239, 230, 0.92);
  text-wrap: balance;
}
#finish-stamp-tx {
  margin-top: 0.15rem;
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.84rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-decoration-color: rgba(244, 239, 230, 0.28);
}
body.is-earned-open .finish-stamp-headline,
body.is-earned-open .finish-stamp[data-state="failed"] .finish-stamp-line,
body.is-earned-open .finish-stamp[data-state="kept-chain"] .finish-stamp-line,
body.is-earned-open .finish-stamp[data-state="kept-local"] .finish-stamp-line {
  font-size: 1.12rem;
  line-height: 1.3;
}
body.is-earned-open .finish-stamp {
  gap: 0.2rem;
}
/* v461: one Try again, the gold button. The underlined link stays in the DOM and stays off. */
#finish-stamp-retry { display: none !important; }
.finish-stamp-link:focus-visible,
.finish-stamp-btn:focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; }
.cal-day.is-stamped { outline: 1px solid rgba(232, 200, 120, 0.85); outline-offset: 1px; }
/* motion only when the visitor has not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .finish-stamp-btn { transition: background 0.4s ease, color 0.4s ease; }
}

/* v490: daily kind line under the stamp confirmation, and under the folded kept line.
   Light italic, smaller than the fruit line, muted cream-gold. Motion is a short fade. */
.daily-kind-line {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: min(22rem, 100%);
  margin: 0.35rem auto 0;
  padding: 0 0.35rem;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.84rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(236, 214, 176, 0.74);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.stamp-kept-line .daily-kind-line {
  margin-top: 0.45rem;
  font-size: 0.82rem;
}
body.is-earned-open .finish-stamp .daily-kind-line {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.3;
}
@media (max-width: 390px) {
  .daily-kind-line {
    font-size: 0.8rem;
    padding-inline: 0.2rem;
  }
  body.is-earned-open .finish-stamp .daily-kind-line {
    font-size: 0.76rem;
  }
}

/* v348: kids findability. Quieter than the meditation cards: no art, thin dim gold line. */
.kids-find {
  display: flex; align-items: center; gap: 0.85rem;
  min-height: 44px; margin: 1.1rem 0 0.4rem; padding: 0.85rem 1.05rem;
  border: 1px solid rgba(236, 184, 62, 0.28); border-radius: 18px;
  background: linear-gradient(180deg, rgba(236, 184, 62, 0.05), rgba(0, 0, 0, 0));
  color: var(--cream); text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) { .kids-find { transition: border-color 0.25s ease; } }
.kids-find:hover, .kids-find:focus-visible { border-color: var(--gold-dim); }
.kids-find:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.kids-find-icon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(236, 184, 62, 0.35); }
.kids-find-icon svg { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.kids-find-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.1rem; }
.kids-find-title { font-family: var(--display); font-size: 1.2rem; color: var(--gold); letter-spacing: 0.02em; line-height: 1.2; }
.kids-find-line { font-size: 0.86rem; color: var(--cream-quiet); line-height: 1.35; }
.kids-find-arrow { color: var(--gold-dim); font-size: 1.05rem; }
#view-sit:has(#all-sits:not([hidden])) .kids-find,
#view-sit:has(#start-here:not([hidden])) .kids-find,
#view-sit:has(#earned-screen:not([hidden])) .kids-find { display: none; }
.little-ones { scroll-margin-top: 84px; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(236, 184, 62, 0.18); }
.little-ones-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.55rem; color: var(--gold); letter-spacing: 0.02em; }
.little-ones-line { margin: 0.3rem 0 0; color: var(--cream-muted); font-size: 0.95rem; }
.little-ones .kids-block { margin-top: 0.9rem; }
.kids-share { margin: -0.2rem 0 0.6rem; text-align: center; }
.kids-share[hidden], .kids-share-link[hidden] { display: none; }
.kids-share-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 0.5rem;
  color: var(--gold); font-size: 0.88rem; text-decoration: none;
}
.kids-share-link:hover, .kids-share-link:focus-visible { color: var(--gold-bright); }

/* v357/v365: meditations in Punjabi, Polish and Hindi. Each language's rows show only in that language; English never shows them. */
.ls-only { display: none; }
html[data-lang="pa"] .ls-only[data-ls="pa"],
html[data-lang="pl"] .ls-only[data-ls="pl"],
html[data-lang="hi"] .ls-only[data-ls="hi"],
html[data-lang="es"] .ls-only[data-ls="es"],
html[data-lang="fr"] .ls-only[data-ls="fr"],
html[data-lang="ko"] .ls-only[data-ls="ko"],
html[data-lang="zh-Hans"] .ls-only[data-ls="zh"],
html[data-lang="el"] .ls-only[data-ls="el"],
html[data-lang="it"] .ls-only[data-ls="it"],
html[data-lang="ja"] .ls-only[data-ls="ja"],
html[data-lang="pt"] .ls-only[data-ls="pt"],
html[data-lang="de"] .ls-only[data-ls="de"],
html[data-lang="id"] .ls-only[data-ls="id"],
html[data-lang="vi"] .ls-only[data-ls="vi"] { display: block; }
html:is([data-lang="pa"], [data-lang="pl"], [data-lang="hi"], [data-lang="es"], [data-lang="fr"], [data-lang="ko"], [data-lang="zh-Hans"], [data-lang="el"], [data-lang="it"], [data-lang="ja"], [data-lang="pt"], [data-lang="de"], [data-lang="id"], [data-lang="vi"]):not(.ls-show-en) #all-sits > :not(.ls-lib):not(.library-back-line) { display: none !important; }
html:is([data-lang="pa"], [data-lang="pl"], [data-lang="hi"], [data-lang="es"], [data-lang="fr"], [data-lang="ko"], [data-lang="zh-Hans"], [data-lang="el"], [data-lang="it"], [data-lang="ja"], [data-lang="pt"], [data-lang="de"], [data-lang="id"], [data-lang="vi"]) #start-here > .start-here-sit,
html:is([data-lang="pa"], [data-lang="pl"], [data-lang="hi"], [data-lang="es"], [data-lang="fr"], [data-lang="ko"], [data-lang="zh-Hans"], [data-lang="el"], [data-lang="it"], [data-lang="ja"], [data-lang="pt"], [data-lang="de"], [data-lang="id"], [data-lang="vi"]) #start-here > .start-first-line,
html:is([data-lang="pa"], [data-lang="pl"], [data-lang="hi"], [data-lang="es"], [data-lang="fr"], [data-lang="ko"], [data-lang="zh-Hans"], [data-lang="el"], [data-lang="it"], [data-lang="ja"], [data-lang="pt"], [data-lang="de"], [data-lang="id"], [data-lang="vi"]) #start-here > .start-more { display: none; }
.ls-lib { margin: 0 auto 2rem; max-width: 36rem; padding: 0 clamp(1.1rem, 5vw, 1.6rem); box-sizing: border-box; }
.ls-lib-title { margin: 0 0 1.1rem; text-align: center; font-family: var(--font-display, "Cormorant Garamond", serif); font-weight: 400; font-size: 1.5rem; color: var(--gold, #e8c878); letter-spacing: 0.01em; }
.ls-en { display: block; margin-top: 0.2rem; font-family: var(--font-body, "Outfit", sans-serif); font-size: 0.74rem; font-weight: 300; letter-spacing: 0.06em; color: rgba(245, 236, 215, 0.62); }
.ls-lib-title .ls-en { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ls-name { font-weight: 400; line-height: 1.45; }
[lang="pa"] .ls-name, .ls-name:lang(pa), .ls-lib-title:lang(pa) { font-family: "Noto Sans Gurmukhi", var(--font-body, sans-serif); }
[lang="hi"] .ls-name, .ls-name:lang(hi), .ls-lib-title:lang(hi) { font-family: "Noto Sans Devanagari", var(--font-body, sans-serif); }
[lang="el"] .ls-name, .ls-name:lang(el), .ls-lib-title:lang(el) { font-family: "Noto Sans", var(--font-body, sans-serif); }
[lang="ja"] .ls-name, .ls-name:lang(ja), .ls-lib-title:lang(ja) { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", var(--font-body, sans-serif); }
.ls-list { display: grid; gap: 0.75rem; }
.ls-lib .ls-row { padding-left: 0.35rem; padding-right: 0.35rem; }
.ls-lib .ls-row .play { min-width: 44px; min-height: 44px; }
/* v445: on a phone the localized Play word (Reproducir, Wiedergeben, Reproduzir)
   plus the Together ring cannot share the title's row. The words take the full
   width. Together and Play sit on the next row, still at least 44px. */
@media (max-width: 430px) {
  .ls-lib .ls-row {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 0.55rem;
  }
  .ls-lib .ls-row > div:not(.sit-actions) {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .ls-lib .ls-row > .sit-actions {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .ls-lib .ls-row .play {
    letter-spacing: 0.06em;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.ls-start-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 0.6rem; max-width: 26rem; }
.ls-start-sit { min-height: 44px; width: 100%; text-align: left; }
.ls-start-text { display: inline-flex; flex-direction: column; }
.ls-more { margin: 1.25rem 0 0; text-align: center; }
.ls-more-en { min-height: 44px; min-width: 44px; padding: 0.5rem 1rem; background: none; border: 0; color: var(--gold, #e8c878); font: inherit; font-size: 0.92rem; cursor: pointer; }
.ls-more-en .ls-en { display: inline; margin-left: 0.4rem; }
.ls-more-en:focus-visible { outline: 1px solid var(--gold, #e8c878); outline-offset: 3px; border-radius: 999px; }
/* These languages play native audio, so the "Audio in English" notes step aside. */
html:is([data-lang="pa"], [data-lang="pl"], [data-lang="hi"], [data-lang="es"], [data-lang="fr"], [data-lang="ko"], [data-lang="zh-Hans"], [data-lang="el"], [data-lang="it"], [data-lang="ja"], [data-lang="pt"], [data-lang="de"], [data-lang="id"], [data-lang="vi"]) #all-sits .i18n-audio-note,
html:is([data-lang="pa"], [data-lang="pl"], [data-lang="hi"], [data-lang="es"], [data-lang="fr"], [data-lang="ko"], [data-lang="zh-Hans"], [data-lang="el"], [data-lang="it"], [data-lang="ja"], [data-lang="pt"], [data-lang="de"], [data-lang="id"], [data-lang="vi"]) .day-home .i18n-audio-note { display: none; }
.lane-title.is-native-title { font-family: "Noto Sans Gurmukhi", "Noto Sans Devanagari", "Noto Sans KR", "Noto Sans SC", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", var(--font-display, serif); }

/* v387: one centred column. The title, then the gold Collect pill, then Stamp details.
   Source order stays title, details, pill. Flex order paints the pill between them.
   Greek is the widest title. The column sits inside .view's 1.05rem side padding,
   so a 360px phone has about 326px for the line. At 11.5px in Outfit/Noto the
   Greek line is about 315px. Wider screens grow it to 0.9rem inside the 28rem column. */
#view-stamp {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#view-stamp > * { order: 5; }
#view-stamp > .stamp-quiet-line { order: 1; }
#view-stamp > #claim-sit { order: 2; align-self: center; }
#view-stamp > .stamp-details-toggle { order: 3; align-self: center; }
#view-stamp > #stamp-details { order: 4; }
body.page-sit h2.stamp-quiet-line {
  width: 100%;
  max-width: none;
  margin: 0.1rem auto 0;
  color: rgba(244, 239, 230, 0.78);
  font-family: Outfit, "Noto Sans", "Noto Sans Gurmukhi", "Noto Sans Devanagari", "Noto Sans KR", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(11.5px, 2.55vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.stamp-details-toggle { min-height: 44px; margin-top: 0.35rem; }
.tip-details {
  max-width: 20rem;
  margin: 0.15rem auto 0;
  text-align: center;
}
.tip-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.45rem;
  color: rgba(244, 239, 230, 0.58);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.tip-details summary::-webkit-details-marker { display: none; }
.tip-details summary:focus-visible {
  outline: 1px solid rgba(236, 184, 62, 0.85);
  outline-offset: 4px;
  border-radius: 2px;
}
.tip-details p {
  margin: 0.15rem auto 0.35rem;
  max-width: 18rem;
  color: var(--cream-quiet);
  font-size: 0.88rem;
  line-height: 1.5;
}
.sit-menu-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.2rem;
  color: #e8c878;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.sit-menu-link:hover,
.sit-menu-link:focus-visible { color: #f4dc9a; }
.sit-menu-version {
  margin: 0.1rem 0 0;
  color: rgba(232, 200, 120, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-align: center;
}
body.page-sit .footer-quiet-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
}
@media (max-width: 899px) {
  .sit-footer-links { display: none; }
}

/* v389: phone tap targets. Text size stays; the hit area grows with padding and min-height.
   Header Connect wallet and Menu are earlier in this file: painted size unchanged, 44px tap height. */
@media (max-width: 768px) {
  body.page-sit .day-phase {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.page-sit .day-phase button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 44px;
    padding: 0 0.72rem;
    line-height: 1.2;
  }

  body.page-sit .day-phase button::before {
    top: 0;
    bottom: 0;
  }

  body.page-sit .sit-howto-link {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.7rem;
  }

  body.page-sit .stamp-details-toggle {
    box-sizing: border-box;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
  }

  body.page-sit .footer-quiet-links a,
  body.page-sit .sit-end-faq a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.4rem;
  }

  body.page-sit .footer-care a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 0.15rem;
  }
}

/* Card control beside Play. On every /sit/ visit, including the dApp. */
.sit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-width: max-content;
  max-width: 100%;
}

.sit-row > .sit-actions {
  flex: 0 0 auto;
}

.sit-together {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6d37a;
  cursor: pointer;
  flex: 0 0 auto;
  gap: 1px;
}

.sit-actions .lib-play,
.sit-actions .play {
  flex: 0 0 auto;
}

html.together-on .lib-card > div:not(.sit-actions),
html.together-on .sit-row > div:not(.sit-actions) {
  min-width: 0;
}

html.together-on .lib-name,
html.together-on .sit-name {
  overflow-wrap: break-word;
}

.sit-together-ring {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #f6d37a;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}

.sit-together svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
}

.sit-together-word {
  display: block;
  margin: 0;
  color: #f6d37a;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}

.sit-together:hover,
.sit-together:focus-visible {
  color: #ffe7a8;
}

.sit-together:hover .sit-together-ring,
.sit-together:focus-visible .sit-together-ring {
  border-color: #ffe7a8;
}

.sit-together:hover .sit-together-word,
.sit-together:focus-visible .sit-together-word {
  color: #ffe7a8;
}

body.page-sit a.sit-together-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin-top: 0.15rem;
  padding: 0.45rem 0.7rem;
  color: #f6d37a;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(246, 211, 122, 0.45);
  text-underline-offset: 0.22em;
  background: transparent;
}

.sit-together-link[hidden] {
  display: none !important;
}

.sit-together-link:focus-visible {
  outline: 3px solid #ffe7a8;
  outline-offset: 3px;
}

/* v466: during a sit, How it works is a thin gold outline. Pause and Let it go
   share that border with a soft light-gold fill. Two equal pills, then
   Let it go centered. Light weight, 44px tap. */
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 0.5rem;
  row-gap: 0.65rem;
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) > .sit-headphones,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) > .i18n-audio-note,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) > #begin-sit {
  grid-column: 1 / -1;
  justify-self: center;
  width: max-content;
  max-width: 100%;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) > .sit-howto-line {
  grid-column: 1;
  display: flex;
  min-width: 0;
  margin: 0;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) > #pause-sit {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) > #end-sit {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(13.25rem, 78%);
  height: auto;
  margin: 0.1rem 0 0;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #end-sit {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(232, 200, 120, 0.72);
  border-radius: 999px;
  color: #f6e3a8;
  -webkit-text-fill-color: #f6e3a8;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link {
  width: 100%;
  height: 100%;
  background: transparent;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #end-sit {
  background: rgba(232, 200, 120, 0.18);
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit {
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link,
  .sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit,
  .sit-now.is-live .actions:has(#pause-sit:not([hidden])) #end-sit {
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  }
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link:hover,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) .sit-howto-link:focus-visible {
  border-color: rgba(246, 227, 168, 0.95);
  color: #fff6df;
  -webkit-text-fill-color: #fff6df;
  background: transparent;
}
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit:hover,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #end-sit:hover,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #pause-sit:focus-visible,
.sit-now.is-live .actions:has(#pause-sit:not([hidden])) #end-sit:focus-visible {
  border-color: rgba(246, 227, 168, 0.95);
  color: #fff6df;
  -webkit-text-fill-color: #fff6df;
  background: rgba(232, 200, 120, 0.26);
}

/* v466: the finish screen fits one phone, above the tab bar. */
body.is-earned-open {
  height: 100dvh;
  overflow: hidden;
}
body.is-earned-open .app {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  padding-bottom: calc(48px + var(--chrome) + 0.35rem);
  overflow: hidden;
}
body.is-earned-open .sit-header { flex: 0 0 auto; }
/* Journal, colophon, and care lines sit in the app column and steal the
   space the finish stack needs. They return when the screen closes. */
body.is-earned-open .footer-journal,
body.is-earned-open .colophon,
body.is-earned-open .sit-end-faq,
body.is-earned-open .footer-care,
body.is-earned-open .sit-footer-links {
  display: none !important;
}
body.is-earned-open main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
body.is-earned-open #view-sit.is-on {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
body.is-earned-open .earned-screen[data-finish] {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: 0.15rem 0.15rem 0.2rem;
  overflow: hidden;
  line-height: 1.25;
}
body.is-earned-open .earned-screen[data-finish] .earned-coin {
  flex: 0 1 auto;
  width: 100%;
  margin: 0;
}
body.is-earned-open .earned-screen[data-finish] .earned-coin .foil-coin {
  width: min(176px, 44vw, 24dvh);
  height: min(176px, 44vw, 24dvh);
  margin: 0 auto;
}
body.is-earned-open .earned-screen[data-finish] .earned-keepsake {
  margin: 0.35rem auto 0;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.2;
}
body.is-earned-open .earned-fruit {
  margin: 0.15rem auto 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
}
body.is-earned-open .earned-screen[data-finish] .earned-later {
  margin-top: 0.35rem;
}
body.is-earned-open .earned-kind {
  margin: 0.28rem auto 0;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.3;
}
body.is-earned-open .kids-share { margin: 0.05rem 0 0; }
body.is-earned-open .kids-share-link {
  min-height: 44px;
  font-weight: 300;
  line-height: 1.2;
}
body.is-earned-open .finish-stamp {
  gap: 0.28rem;
  margin: 0.35rem auto 0.15rem;
}
body.is-earned-open .finish-stamp-btn {
  min-height: 44px;
  min-width: min(14rem, 100%);
  padding: 0.3rem 1.3rem;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.15;
}
body.is-earned-open .finish-stamp-link {
  min-height: 44px;
  font-weight: 300;
  line-height: 1.15;
}
body.is-earned-open .earned-exits {
  width: min(100%, 22rem);
  gap: 0.55rem;
  margin-top: 0.35rem;
}
body.is-earned-open .earned-exit {
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.15;
}
@keyframes earned-home-shimmer {
  0% { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}
/* v474: /sit list cards. The text block spans the whole row, the actions wrap under it,
   and titles wrap only between words (library cards: see library-v263.css). */
.mood-panel .sit-row { flex-wrap: wrap; }
.mood-panel .sit-row > div:not(.sit-actions) { flex: 1 1 100%; width: auto; min-width: 0; }
.mood-panel .sit-row > .sit-actions,
.mood-panel .sit-row > .play { margin-left: auto; }
.lib-name, .sit-name,
html.together-on .lib-name,
html.together-on .sit-name {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}
.mood-panel .sit-line {
  color: rgba(244, 236, 216, 0.66);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.45;
}

/* v504: in-app browsers get a short prompt instead of a Google popup. */
.wallet-browser {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem 0.75rem;
}

.wallet-browser-note,
.wallet-google-retry {
  margin: 0 0 0.35rem;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
}

body.page-sit a.wallet-browser-open,
body.page-sit a.wallet-browser-open:hover,
body.page-sit a.wallet-browser-open:focus,
body.page-sit a.wallet-browser-open:visited,
.wallet-browser-open {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #111;
  -webkit-text-fill-color: #111;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.wallet-browser-copy {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
}

.wallet-google-retry {
  margin: 0;
  padding: 0.9rem 1rem;
  color: #fff8ea;
}

button.wallet-google-retry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0.35rem 0 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #111;
  border-radius: 12px;
  background: #f0c85a;
  color: #111;
  -webkit-text-fill-color: #111;
  font: 300 1rem/1.2 Outfit, "Avenir Next", "Segoe UI", sans-serif;
  cursor: pointer;
}

/* A finished meditation with no wallet. Dark text on bright gold. */
body.page-sit .claim-pending {
  margin: 0.75rem 0.75rem 0;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.85);
  border-radius: 16px;
  background: #0b0b0b;
  text-align: center;
}

body.page-sit .claim-pending[hidden] {
  display: none !important;
}

body.page-sit .claim-pending-line {
  margin: 0 0 0.7rem;
  color: #f4efe6;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.35;
}

body.page-sit button.claim-pending-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid #111;
  border-radius: 12px;
  background: #f0c85a;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
}

#keep-forever > .stamp-path {
  margin: 0.9rem 0 0.35rem;
  text-align: left;
  scroll-margin-top: calc(var(--sit-header) + 10px);
}

#keep-forever > .stamp-path .stamp-path-kicker,
#keep-forever > .stamp-path .stamp-path-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 420px) {
  .stamp-ladder {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 0.45rem;
  }
  .stamp-ladder-name { font-size: 1.05rem; }
  .stamp-ladder-side { letter-spacing: 0.06em; }
}

/* v539: milestone labels stay left of the fixed Kobe seal.
   Stamp details and Days kept on-chain stay readable, and they no longer match. */
#keep-forever > .stamp-path .stamp-ladder {
  padding-right: 3.6rem;
}

body.page-sit .stamp-details-toggle {
  margin-top: 0.85rem;
  gap: 0.32rem;
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.page-sit .stamp-details-chevron {
  width: 0.32rem;
  height: 0.32rem;
  border-right-color: rgba(244, 239, 230, 0.38);
  border-bottom-color: rgba(244, 239, 230, 0.38);
}

body.page-sit #keep-forever .chain-streaks.sit-end {
  margin-top: 1.35rem;
}

body.page-sit #keep-forever .chain-streaks-fold summary {
  min-height: 0;
  padding: 0.35rem 0.2rem 0.15rem;
  gap: 0;
  color: rgba(244, 239, 230, 0.5);
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 230, 0.28);
  text-underline-offset: 0.22em;
}

body.page-sit #keep-forever .chain-streaks-fold summary::after {
  content: none;
}

/* v604: the phone column stays 28rem. At 1280 and wider the sit app
   uses a wider column, larger secondary type, and the same house links
   as /house, /little-ones, and /pets. Nothing in this block applies
   under 1280, including a 390-wide phone. */
.sit-house-nav {
  display: none;
}

@media (min-width: 1280px) {
  .app,
  .tabbar,
  .more-sheet {
    width: min(100% - 4rem, 52rem);
  }

  .sit-header {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.15rem;
    padding-right: 1.15rem;
    padding-left: 1.15rem;
    border-bottom: 1px solid rgba(236, 184, 62, 0.16);
  }

  .sit-house-nav {
    display: flex;
    flex: 1 0 100%;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem 1.15rem;
    order: 5;
    margin: 0;
    padding: 0.15rem 0 0.55rem;
  }

  .sit-house-nav a {
    position: relative;
    color: rgba(244, 239, 230, 0.82);
    font-family: var(--body);
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0;
  }

  .sit-house-nav a[href="/pets/"] {
    letter-spacing: 0.06em;
  }

  .sit-house-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgb(236, 184, 62);
    transform: scaleX(0);
    transform-origin: center;
  }

  .sit-house-nav a:hover,
  .sit-house-nav a:focus-visible,
  .sit-house-nav a[aria-current="page"] {
    color: #f4efe6;
  }

  .sit-house-nav a:hover::after,
  .sit-house-nav a:focus-visible::after,
  .sit-house-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .sit-house-nav a:focus-visible {
    outline: 2px solid rgb(236, 184, 62);
    outline-offset: 3px;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
  }

  .full-site,
  .sit-menu .full-site {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .timer-audio {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .day-home .day-daily {
    max-width: 36rem;
    color: rgba(244, 239, 230, 0.82);
    font-size: 1.05rem;
  }

  .footer-care {
    max-width: 36rem;
    color: rgba(244, 239, 230, 0.82);
    font-size: 0.95rem;
  }

  .footer-care a {
    text-decoration-color: rgb(236, 184, 62);
  }

  .sit-end-faq a,
  .sit-line,
  .play,
  .sit-menu-version,
  .tip-index,
  .level-theme-soon-note {
    font-size: 0.92rem;
  }

  .sit-line,
  .lede,
  .note {
    color: rgba(244, 239, 230, 0.82);
  }

  .lede {
    max-width: 40rem;
    font-size: 1.08rem;
  }

  .note {
    font-size: 1.02rem;
  }

  .start-here-gym {
    max-width: 36rem;
    font-size: 1.45rem;
  }

  .tabbar a,
  .tabbar button,
  body.page-sit .tabbar a,
  body.page-sit .tabbar button {
    font-size: 0.78rem;
  }

  body.page-sit .stamp-details-toggle,
  body.page-sit #keep-forever .chain-streaks-fold summary {
    font-size: 0.92rem;
    color: rgba(244, 239, 230, 0.82);
  }

  body.page-sit .latest-quote-kicker {
    font-size: 0.78rem;
  }

  /* Day 1 art stays 16:9 and uncropped, but the frame is no taller
     than 42vh and no wider than the 52rem header column. */
  body.page-sit .day-home,
  body.page-sit .sit-quiet-row {
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
  }

  body.page-sit .day-home .phase-one .phase-art {
    width: min(100%, calc(40vh * 16 / 9));
    max-height: 40vh;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
  }

  body.page-sit .day-home {
    padding-top: 0.45rem;
    padding-bottom: 0.2rem;
  }

  body.page-sit .day-home .phase-one {
    gap: 0.35rem;
    margin-bottom: 0.15rem;
  }

  body.page-sit .day-home .phase-one .phase-art img,
  body.page-sit .day-home .phase-art-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  /* Sticky header and fixed tab bar stay off the title, the art, and Begin. */
  html:has(body.page-sit) {
    scroll-padding-top: 8.75rem;
    scroll-padding-bottom: calc(var(--chrome) + 7.25rem);
  }

  body.page-sit .sit-title,
  body.page-sit .day-home,
  body.page-sit .sit-quiet-row {
    scroll-margin-top: 8.75rem;
  }

  body.page-sit .app {
    padding-bottom: calc(var(--chrome) + 7.25rem);
  }

  body.page-sit .pure-sit {
    padding-top: 0.2rem;
  }

  body.page-sit .day-home .sit-name-line,
  body.page-sit .day-home .day-daily,
  body.page-sit .day-home .sit-now,
  body.page-sit .start-here .nt-title,
  body.page-sit .start-here .start-here-gym,
  body.page-sit .start-here .level-why-line,
  body.page-sit .lede,
  body.page-sit .note {
    max-width: 70ch;
    margin-inline: auto;
  }
}

/* v606: two daily cards across the wide stage. Higher specificity than
   sit-after.css, which caps the pair at 28rem and is moved after sit.css. */
@media (min-width: 1440px) {
  body.page-sit .view .sit-quiet-row > .sit-quiet-links.mc-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }
}

/* v608: Tip jar lives at the top of More, not on the tool row. */
body.page-sit .tool-tab[data-tool-tab="tip"] {
  display: none !important;
}

.pets-door {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.pets-door-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 7.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(236, 184, 62, 0.45);
  border-radius: 16px;
  background: #0c0a08;
  color: var(--cream);
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.pets-door-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pets-door-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.pets-door-line {
  color: var(--cream-muted, rgba(244, 239, 228, 0.72));
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .pets-door {
    grid-template-columns: 1fr 1fr;
  }
}

.house-page .house-back {
  margin: 0.15rem 0 0.85rem;
}

.house-page h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 1.15rem 0 0.35rem;
  color: var(--cream);
}

.house-page p {
  max-width: 70ch;
  margin: 0 0 0.75rem;
}

.house-page a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.house-page .house-promise {
  color: var(--gold);
}

.more-sheet-panel {
  bottom: calc(4.2rem + env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 6.4rem - env(safe-area-inset-bottom, 0px));
  overflow: auto;
}

.more-sheet-backdrop {
  bottom: calc(4.05rem + env(safe-area-inset-bottom, 0px));
}

/* v615: journal log book. Ivory pages, gold hairline, on the black sit ground. */
.journal-log-open,
.journal-log-back,
.journal-log-month-chip,
.journal-log-row {
  font-family: var(--body);
  cursor: pointer;
}
.journal-log-open {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0.2rem 0 0.35rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #f7f1e4;
  color: #3a2806;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.journal-log-open-line {
  margin: 0 0 1rem;
  color: var(--cream-muted);
  font-size: 0.92rem;
}
.journal-log-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font-size: 0.98rem;
  text-decoration: underline;
  text-decoration-color: rgba(236, 184, 62, 0.45);
  text-underline-offset: 0.22em;
}
.journal-log-lead,
.journal-log-empty,
.journal-log-signed,
.journal-log-note-body,
.journal-log-note-reply,
.journal-log-note-voice {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.55;
}
.journal-log-empty,
.journal-log-signed {
  margin: 0.6rem 0 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(196, 146, 40, 0.45);
  border-radius: 16px;
  background: #f7f1e4;
  color: #3a2806;
}
.journal-log-months {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.2rem 0 0.4rem;
}
.journal-log-months:empty { display: none; }
.journal-log-month-chip {
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(236, 184, 62, 0.55);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-bright);
  font-size: 0.92rem;
}
.journal-log-month,
#journal-log-title,
.journal-log-note {
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px) + 16px);
}
.journal-log-month {
  margin: 1.15rem 0 0.45rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}
.journal-log-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  min-height: 44px;
  margin: 0 0 0.55rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(196, 146, 40, 0.5);
  border-radius: 14px;
  background: #f7f1e4;
  color: #2a2118;
  text-align: left;
}
.journal-log-row-date {
  color: #8a6420;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.journal-log-row-preview {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.35;
  color: #2a2118;
}
.journal-log-note-date {
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.journal-log-note-reply {
  color: var(--cream-muted);
  font-style: italic;
}
.journal-log-open:focus-visible,
.journal-log-back:focus-visible,
.journal-log-month-chip:focus-visible,
.journal-log-row:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
.journal-log[hidden],
.journal-log-note[hidden],
.journal-log-empty[hidden],
.journal-log-signed[hidden],
.journal-log-note-reply[hidden],
.journal-log-note-voice[hidden] {
  display: none !important;
}

/* v615 polish: the privacy line stays whole, the action row sits clear of
   Past notes, and the journal ends above the glass pill. The pill itself
   is unchanged. */
[data-coach-stage="journal"] {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px) + 1.5rem);
}
[data-coach-stage="journal"] .journal-privacy {
  display: block;
  width: 100%;
  margin: 1rem 0 0.85rem;
  padding: 0.2rem 0;
  overflow: visible;
  height: auto;
  max-height: none;
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px) + 16px);
}
[data-coach-stage="journal"] button.journal-private,
[data-coach-stage="journal"] [data-journal-lock-note] {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0.15rem 0;
  overflow: visible;
  white-space: normal;
  overflow-wrap: break-word;
  text-overflow: clip;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--cream);
}
[data-coach-stage="journal"] .coach-actions {
  margin: 0.5rem 0 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(236, 184, 62, 0.38);
}
[data-coach-stage="journal"] .journal-past-title {
  margin-top: 24px;
}
[data-coach-stage="journal"] .coach-empty {
  margin-top: 24px;
}
.journal-log,
.journal-log-note,
.journal-log-back,
[data-coach-stage="journal"] .coach-care,
[data-coach-stage="journal"] .signature {
  scroll-margin-top: calc(var(--sit-header) + env(safe-area-inset-top, 0px) + 16px);
  scroll-margin-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px) + 1.5rem);
}
body.is-journal-open .kobe-helper {
  display: none !important;
}
body.is-journal-note [data-remind-toggle],
body.is-journal-note #meditation-reminders,
body.is-journal-note #keep-forever,
body.is-journal-note .pets-milestone,
body.is-journal-note .sit-footer-links,
body.is-journal-note .footer-journal,
body.is-journal-note .colophon,
body.is-journal-note .sit-end-faq,
body.is-journal-note .footer-care {
  display: none !important;
}
/* v614: Soft Sit home bottom. One tight stamp block, then one quiet
   Privacy · Terms · Languages line, then the motto, About · FAQ, and
   the crisis line with short gaps. CACHE stays dogedharma-v613.
   The glass tab pill is unchanged. */
body.page-sit #keep-forever.forever-layer {
  margin: 0.7rem 0 0;
  padding: 0.45rem 0 0;
}

body.page-sit #keep-forever > #view-stamp.sit-end,
body.page-sit #keep-forever > .chain-streaks.sit-end {
  margin-top: 0;
  padding-top: 0;
}

body.page-sit #keep-forever h2.stamp-quiet-line {
  margin: 0 auto;
}

body.page-sit #keep-forever .stamp-details-toggle {
  margin-top: 0.05rem;
  min-height: 1.65rem;
  padding: 0.12rem 0.45rem 0.02rem;
}

body.page-sit #keep-forever .claim-why {
  margin: 0.12rem auto 0;
}

body.page-sit #keep-forever .chain-streaks-fold summary {
  min-height: 1.55rem;
  padding: 0.18rem 0.2rem 0.02rem;
}

body.page-sit .footer-journal {
  width: 100%;
  max-width: none;
  margin: 0.55rem auto 0;
  gap: 0;
}

body.page-sit .footer-quiet-links {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.12rem 0.28rem;
  width: 100%;
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

body.page-sit .footer-quiet-links a {
  min-height: 1.7rem;
  padding: 0.08rem 0.08rem;
  white-space: nowrap;
}

body.page-sit .colophon {
  margin: 0.4rem 1.05rem 0;
}

body.page-sit .sit-end-faq {
  margin: 0.15rem 1.05rem 0;
}

body.page-sit .sit-end-faq a {
  min-height: 1.5rem;
  padding: 0.08rem 0.2rem;
}

body.page-sit .footer-care {
  margin: 0.28rem auto 0;
  line-height: 1.4;
}

body.page-sit .footer-care a {
  display: inline;
  min-height: 0;
  padding: 0;
}

/* v615: Soft Sit home footer drops the stamp block. Today's stamp,
   Stamp details, the claim and kept lines, and Days kept on-chain
   stay in the page for claim state, and they do not paint on the home.
   #stamps still opens the stamp path. The finish screen is separate.
   CACHE stays dogedharma-v613. The glass tab pill is unchanged. */
body.page-sit #view-stamp,
body.page-sit #keep-forever > #view-streaks {
  display: none !important;
}

body.page-sit #keep-forever.forever-layer {
  margin: 0;
  padding: 0;
  border-top: 0;
}

body.page-sit #keep-forever:has(> #stamp-path:not([hidden])) {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid var(--hairline);
}

/* Quiet journal page. The writing surface matches the approved plum page.
   Save, storage, and the opening card are unchanged. */
.journal-log-open[hidden],
.journal-log-open-line[hidden] {
  display: none !important;
}

[data-coach-stage="journal"] {
  position: relative;
  color: #f6f1e6;
}

.journal-quiet-sr,
[data-coach-stage="journal"] .journal-today-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.journal-quiet {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 1.35rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.journal-quiet-bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 44px;
}

.journal-quiet-back,
.journal-quiet-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e4c98a;
  cursor: pointer;
}

.journal-quiet-more {
  list-style: none;
}

.journal-quiet-more::-webkit-details-marker {
  display: none;
}

.journal-quiet-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  color: #e4c98a;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.journal-quiet-mark,
.journal-quiet-lotus svg {
  display: block;
  color: #e4c98a;
}

body.page-sit [data-coach-stage="journal"] h2.journal-quiet-title {
  margin: 2.85rem 0 0;
  color: #f6f1e6;
  font-family: var(--display);
  font-size: clamp(3rem, 12.5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-align: left;
}

.journal-quiet-date,
.journal-quiet-invite,
[data-coach-stage="journal"] .journal-today-prompt {
  margin: 0.85rem 0 0;
  color: #e4c98a;
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
}

.journal-quiet-invite {
  margin-top: 1.55rem;
}

[data-coach-stage="journal"] .journal-today-prompt:not([hidden]) + .journal-quiet-invite {
  display: none;
}

[data-coach-stage="journal"] .journal-today {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

[data-coach-stage="journal"] .journal-today-text {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: max(16rem, 28vh);
  margin: 0.9rem 0 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(228, 201, 138, 0.72);
  border-radius: 14px;
  background: #3a2840;
  color: #f6f1e6;
  caret-color: #f6f1e6;
  color-scheme: dark;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.65;
  resize: vertical;
}

[data-coach-stage="journal"] .journal-today-text::placeholder {
  color: rgba(246, 241, 230, 0.62);
}

[data-coach-stage="journal"] .journal-today-text:focus {
  outline: none;
}

[data-coach-stage="journal"] .journal-today-text:focus-visible,
[data-coach-stage="journal"] .journal-today-save:focus-visible,
[data-coach-stage="journal"] .journal-quiet-back:focus-visible,
[data-coach-stage="journal"] .journal-quiet-more:focus-visible,
[data-coach-stage="journal"] .journal-past-row:focus-visible,
[data-coach-stage="journal"] .journal-quiet-more-panel button:focus-visible,
[data-coach-stage="journal"] .journal-log-back:focus-visible,
[data-coach-stage="journal"] .journal-log-row:focus-visible {
  outline: 2px solid #f6f1e6;
  outline-offset: 3px;
}

[data-coach-stage="journal"] .journal-today-text:disabled {
  opacity: 1;
  color: #f6f1e6;
  -webkit-text-fill-color: rgba(246, 241, 230, 0.72);
  background: #3a2840;
  cursor: text;
}

[data-coach-stage="journal"] .journal-today-text:focus-visible {
  border-color: #f3e6c8;
}

[data-coach-stage="journal"] .journal-today-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

[data-coach-stage="journal"] .journal-today-status {
  flex: 1 1 auto;
  margin: 0;
  color: #f6f1e6;
  font-family: var(--display);
  font-size: 1.05rem;
}

[data-coach-stage="journal"] .journal-today-status:empty {
  display: none;
}

body.page-sit [data-coach-stage="journal"] button.journal-today-save {
  flex: 0 0 auto;
  min-width: 6.5rem;
  min-height: 44px;
  padding: 0.35rem 1.45rem;
  border: 1px solid #e4c98a;
  border-radius: 999px;
  background: transparent;
  color: #f3e6c8;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: none;
  box-shadow: none;
}

body.page-sit [data-coach-stage="journal"] button.journal-today-save:disabled,
body.page-sit [data-coach-stage="journal"] button.journal-today-save[disabled] {
  opacity: 0.45;
  background: transparent;
  color: #f3e6c8;
  cursor: not-allowed;
}

.journal-quiet-rule {
  height: 1px;
  margin: 1.35rem 0 0.35rem;
  background: rgba(228, 201, 138, 0.85);
}

.journal-past-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0.55rem 0.1rem;
  border: 0;
  background: transparent;
  color: #f6f1e6;
  font-family: var(--display);
  font-size: 1.35rem;
  text-align: left;
  cursor: pointer;
}

.journal-past-mark,
.journal-past-go {
  display: inline-flex;
  flex: 0 0 auto;
  color: #e4c98a;
}

.journal-past-label {
  flex: 1 1 auto;
}

.journal-quiet-lotus {
  margin: auto 0 0.35rem;
  padding-top: 1.6rem;
  text-align: center;
}

.journal-quiet-menu {
  position: absolute;
  top: calc(0.7rem + env(safe-area-inset-top, 0px));
  right: 1.15rem;
  z-index: 4;
}

.journal-quiet-more-panel {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  max-height: min(24rem, 70dvh);
  overflow: auto;
  padding: 0.35rem 0;
  border: 1px solid rgba(228, 201, 138, 0.55);
  border-radius: 14px;
  background: #321c2e;
}

[data-coach-stage="journal"] .journal-quiet-more-panel .journal-privacy,
[data-coach-stage="journal"] .journal-quiet-more-panel .backup-entry,
[data-coach-stage="journal"] .journal-quiet-more-panel .coach-actions {
  margin: 0;
  padding: 0;
  border: 0;
}

[data-coach-stage="journal"] .journal-quiet-more-panel .coach-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

[data-coach-stage="journal"] .journal-quiet-more-panel .backup-entry {
  text-align: left;
}

[data-coach-stage="journal"] .journal-quiet-more-panel button.journal-private,
[data-coach-stage="journal"] .journal-quiet-more-panel .backup-open,
[data-coach-stage="journal"] .journal-quiet-more-panel .coach-actions .btn,
[data-coach-stage="journal"] .journal-quiet-more-panel [data-journal-lock-note] {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 44px;
  margin: 0;
  padding: 0.65rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6f1e6;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
}

[data-coach-stage="journal"] .journal-quiet-more-panel .backup-open,
[data-coach-stage="journal"] .journal-quiet-more-panel button.journal-private {
  color: #e4c98a;
}

[data-coach-stage="journal"] .journal-log,
[data-coach-stage="journal"] .journal-log-note {
  min-height: 100dvh;
  padding: calc(1.15rem + env(safe-area-inset-top, 0px)) 1.35rem calc(2rem + env(safe-area-inset-bottom, 0px));
}

[data-coach-stage="journal"] .journal-log-back {
  color: #e4c98a;
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
}

[data-coach-stage="journal"] #journal-log-title,
[data-coach-stage="journal"] .journal-log-note .lane-title {
  margin-top: 0.35rem;
  color: #f6f1e6;
  font-size: clamp(2rem, 8vw, 2.8rem);
}

[data-coach-stage="journal"] .journal-log-lead,
[data-coach-stage="journal"] .journal-log-note-body,
[data-coach-stage="journal"] .journal-log-note-reply,
[data-coach-stage="journal"] .coach-item-a,
[data-coach-stage="journal"] .coach-empty {
  color: #f6f1e6;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.5;
}

[data-coach-stage="journal"] .journal-past-title,
[data-coach-stage="journal"] .journal-log-month,
[data-coach-stage="journal"] .journal-log-note-date,
[data-coach-stage="journal"] .coach-date,
[data-coach-stage="journal"] .coach-item-q {
  color: #e4c98a;
  font-family: var(--display);
  letter-spacing: 0.01em;
  text-transform: none;
}

[data-coach-stage="journal"] .journal-log-row,
[data-coach-stage="journal"] .journal-log-empty,
[data-coach-stage="journal"] .journal-log-signed,
[data-coach-stage="journal"] .coach-item {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(228, 201, 138, 0.4);
  background: transparent;
  color: #f6f1e6;
}

[data-coach-stage="journal"] .journal-log-row-date {
  color: #e4c98a;
}

[data-coach-stage="journal"] .journal-log-row-preview {
  color: #f6f1e6;
  font-family: var(--display);
}

[data-coach-stage="journal"] .journal-log-month-chip {
  border-color: rgba(228, 201, 138, 0.55);
  color: #e4c98a;
  background: transparent;
}

[data-coach-stage="journal"] .journal-log .coach-item .btn,
[data-coach-stage="journal"] .journal-log-note .btn {
  min-height: 44px;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: transparent;
  color: #e4c98a;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) {
  background-color: #2a1c2c;
  background-image:
    radial-gradient(ellipse at 50% -8%, rgba(64, 42, 56, 0.28), transparent 52%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='%23e4d2b4' fill-opacity='0.028'%3E%3Ccircle cx='8' cy='14' r='0.4'/%3E%3Ccircle cx='34' cy='22' r='0.35'/%3E%3Ccircle cx='62' cy='11' r='0.4'/%3E%3Ccircle cx='78' cy='40' r='0.3'/%3E%3Ccircle cx='21' cy='48' r='0.35'/%3E%3Ccircle cx='51' cy='57' r='0.4'/%3E%3Ccircle cx='88' cy='66' r='0.3'/%3E%3Ccircle cx='14' cy='79' r='0.35'/%3E%3Ccircle cx='43' cy='84' r='0.3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 96px 96px;
}

html:has(body.is-journal-open):has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) {
  background-color: #2a1c2c;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .app {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
  background: transparent;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) #view-sit {
  padding: 0;
  background: transparent;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) #view-sit > :not(.tool-panel) {
  display: none !important;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .sit-header,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .tabbar,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .kobe-helper,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .sit-footer-links,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .colophon,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .footer-journal,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .footer-care,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .sit-end-faq,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .tool-close {
  display: none !important;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .tool-panel,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .coach,
body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) .coach-panel {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.is-journal-open:has([data-coach-panel]:not([hidden]) [data-coach-stage="journal"]:not([hidden])) [data-coach-stage="journal"] {
  width: min(44rem, 100%);
  margin: 0 auto;
  padding-bottom: 0;
}

@media (min-width: 900px) {
  .journal-quiet,
  [data-coach-stage="journal"] .journal-log,
  [data-coach-stage="journal"] .journal-log-note {
    padding-left: 2.6rem;
    padding-right: 2.6rem;
  }

  .journal-quiet-menu {
    right: 2.2rem;
  }

  [data-coach-stage="journal"] .journal-today-text {
    min-height: max(18rem, 32vh);
    font-size: 1.6rem;
  }

  body.page-sit [data-coach-stage="journal"] h2.journal-quiet-title {
    margin-top: 3.6rem;
    font-size: 4.6rem;
  }
}

body.page-sit dialog.journal-safe {
  box-sizing: border-box;
  width: min(20.5rem, calc(100vw - 1.75rem));
  max-height: calc(100dvh - 1.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  padding: 1.9rem 1.55rem 1.65rem;
}

body.page-sit dialog.journal-safe .journal-safe-body {
  margin-top: 1.2rem;
}

body.page-sit dialog.journal-safe .btn {
  margin-top: 1.55rem;
  min-height: 48px;
}
