:root {
  color-scheme: light;
  --cream: #f7f4ec;
  --paper: #fffefa;
  --ink: #172d40;
  --quiet: #5f686d;
  --line: #e6e1d5;
  --soft: #efede5;
  --gold: #f5cd80;
  --select: #fff0ce;
  --blue: #476782;
  --round: 1.32rem;
  --serif: Georgia, 'Times New Roman', serif;
  --bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.47;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
.covered body > * {
  display: none !important;
}
.covered {
  background: var(--cream);
}
body,
h1,
h2,
h3,
figure,
blockquote {
  margin: 0;
}
body.modal {
  overflow: hidden;
}
h1,
h2,
h3 {
  line-height: 1.15;
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}
h1 {
  font-size: clamp(1.8rem, 7.9vw, 2.25rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: 1.4rem;
  letter-spacing: -0.024em;
}
h3 {
  font-size: 1.17rem;
}
b,
strong {
  font-weight: 600;
}
small,
.muted,
.stamp {
  color: var(--quiet);
  font-size: 0.875rem;
  line-height: 1.5;
}
button,
select,
input,
textarea {
  font: inherit;
  line-height: 1.36;
  color: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
button {
  border: none;
  min-height: 44px;
  background: none;
  padding: 0.4rem 0.5rem;
}
button:active {
  opacity: 0.7;
}
button:disabled {
  cursor: default;
  opacity: 0.72;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #ad7514;
  outline-offset: 3px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.icon {
  display: inline-block;
  width: 1.32rem;
  height: 1.32rem;
  vertical-align: -0.28em;
  flex-shrink: 0;
}
.ligmo {
  width: 5rem;
  display: block;
  object-fit: contain;
}
.brand {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font: 1.25rem var(--serif);
}
.brand img {
  width: 30px;
  height: 30px;
}
#page,
#gate {
  margin: auto;
  width: min(100%, 33rem);
  padding: calc(1rem + env(safe-area-inset-top)) clamp(13px, 4.5vw, 25px) calc(7rem + var(--bottom));
  overflow-wrap: anywhere;
}
.line,
header,
.top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
header,
.top,
.apart {
  justify-content: space-between;
}
header {
  min-height: 50px;
  margin-bottom: 1.1rem;
}
header h1,
header h2 {
  flex: 1;
  min-width: 0;
}
.grow {
  flex: 1;
  min-width: 0;
  text-align: start;
  overflow-wrap: anywhere;
}
.line > label {
  min-width: 0;
  flex: 1;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.primary,
.soft,
.chip,
.link,
.subtle,
.round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
}
.round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.top .round + .round {
  margin-left: 0.38rem;
  background: var(--ink);
  color: var(--paper);
}
.soft,
.primary,
.chip {
  background: var(--soft);
  border-radius: 2rem;
  font-size: 1rem;
  padding: 0.6rem 1rem;
}
.primary {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  min-height: 50px;
}
.subtle,
.link {
  font-size: 0.93rem;
  color: var(--blue);
  font-weight: 500;
}
.subtle {
  width: 100%;
  margin-top: 0.45rem;
}
.full {
  width: 100%;
  margin-top: 0.65rem;
}
.center {
  display: flex;
  margin: auto;
}
.card {
  background: var(--paper);
  border: 1px solid #e7e3d8;
  border-radius: var(--round);
  box-shadow: 0 3px 13px #463d2610;
  margin: 0.85rem 0 1.05rem;
}
.inset,
.article {
  padding: 1.15rem;
}
.rows {
  padding: 0 1rem;
}
.row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  padding: 0.84rem 0;
  text-align: left;
}
.row + .row,
.task + .task,
.plain-list li + li {
  border-top: 1px solid var(--line);
}
.row > .icon,
.care-link span:last-child .icon {
  width: 1rem;
  color: var(--quiet);
}
.row b,
.task b {
  font-weight: 550;
}
.row small,
.task small {
  display: block;
  margin-top: 0.17rem;
}
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  background: #f3ecd9;
  color: #81561d;
  border-radius: 0.85rem;
  flex-shrink: 0;
}
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  color: var(--quiet);
  font-size: 0.93rem;
  padding: 1.25rem 0.5rem;
}
.empty img {
  width: 3.5rem;
}
.plain-list {
  padding: 0 1.1rem;
  list-style: none;
}
.plain-list li {
  padding: 0.85rem 0;
}
#tabs {
  position: fixed;
  z-index: 2;
  bottom: calc(0.72rem + var(--bottom));
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0.34rem;
  background: rgba(255, 254, 250, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  width: min(95%, 31rem);
  border-radius: 2.3rem;
  border: 1px solid white;
  box-shadow:
    0 6px 27px #40352421,
    0 1px 4px #40352412;
}
#tabs button {
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 3.52rem;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem 0;
  text-align: center;
  line-height: 1.36;
  font-size: 0.77rem;
  font-weight: 550;
  color: #3c4d5b;
}
#tabs button span {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tabs button.here {
  color: #794d13;
  background: var(--select);
  font-weight: 700;
}
#tabs .here svg {
  stroke-width: 2.3;
}
.weekday {
  text-align: center;
  font-size: 2.26rem;
  margin: 0.45rem auto -0.2rem;
}
.day-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.day-nav .round {
  background: none;
  border: none;
  color: var(--quiet);
}
label.date-choose {
  font-size: 0.94rem;
  position: relative;
  margin: 0;
  color: var(--quiet);
  padding: 0.55rem 0;
  text-align: center;
}
.date-choose input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.date-choose:focus-within {
  outline: 2px solid var(--blue);
}
.strip,
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
  text-align: center;
}
.strip button {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 0.15rem;
}
.strip span,
.calendar small {
  font-size: 0.805rem;
  color: var(--quiet);
  font-weight: 500;
}
.strip b {
  display: grid;
  place-items: center;
  width: min(100%, 2.28rem);
  aspect-ratio: 1;
  border-radius: 50%;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.strip .today b {
  border: 1px solid var(--ink);
}
.strip .picked b,
.calendar .picked {
  background: var(--ink);
  color: white;
  font-weight: 650;
}
.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  padding: 1rem 1.4rem 0.9rem;
  display: flex;
  min-height: 13.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #244150;
  color: white;
  text-align: center;
}
.quote .scene,
.quote::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.quote::before {
  content: '';
  z-index: -1;
  background: linear-gradient(180deg, #12243647, #101d2eb0 38%, #081727bf);
}
.quote-mark {
  height: 2.7rem;
  color: var(--gold);
  font: bold 4.4rem/1 var(--serif);
}
.quote blockquote {
  font: 1.31rem/1.29 var(--serif);
  letter-spacing: -0.014em;
  text-wrap: pretty;
  text-shadow: 0 1px 9px #0d1c32b3;
}
.quote .ligmo {
  position: absolute;
  top: 0.13rem;
  right: 0.45rem;
  width: 3.25rem;
}
.quote figcaption {
  font-size: 0.8rem;
  margin-top: 0.6rem;
}
.quote summary {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  padding: 0.37rem;
}
.quote summary .icon {
  width: 0.95rem;
  height: 0.95rem;
}
summary::-webkit-details-marker {
  display: none;
}
.mood {
  padding: 0.86rem 0.45rem;
}
.mood .line {
  padding: 0 0.45rem;
  flex-wrap: wrap;
}
.mood h2 {
  font-size: 1.25rem;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 1.5rem;
  background: var(--soft);
}
.seg button {
  min-height: 34px;
  font-size: 0.88rem;
  border-radius: 1.35rem;
  padding: 0.34rem 0.66rem;
}
.seg button[aria-pressed='true'] {
  background: white;
  box-shadow: 0 2px 5px #4434131c;
  font-weight: 600;
}
.weather {
  display: grid;
  grid-template-columns: 0.8fr 1.22fr 1fr 0.91fr 0.95fr;
  gap: 0;
  margin: 0.75rem -0.1rem 0.2rem;
}
.face {
  min-width: 0;
  font-size: 0.77rem;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.42rem;
  padding: 0.1rem 0;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.face img {
  background: #f1f2ee;
  border-radius: 50%;
  padding: 4px;
  width: min(96%, 2.8rem);
  height: auto;
}
.face[aria-pressed='true'] img {
  outline: 1.6px solid #a46813;
  background: var(--select);
}
.face[aria-pressed='true'] span {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.hint,
.excerpt {
  text-align: left;
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  width: 100%;
  font-size: 0.94rem;
  color: var(--quiet);
}
.hint {
  font: italic 1.03rem var(--serif);
  margin-top: 0.35rem;
}
.stamp {
  font-family: inherit;
  margin: 1.25rem 0 0.7rem;
}
.timeline {
  width: calc(100% - 0.48rem);
  margin-left: 0.48rem;
  position: relative;
  border-left: 1px solid #b8c9d1;
  text-align: left;
  padding: 0 0 1.3rem 1.24rem;
}
.timeline:before {
  position: absolute;
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--blue);
  left: -0.34rem;
  top: 0.5rem;
}
.timeline span {
  display: block;
  background: var(--paper);
  font: 1.11rem/1.45 var(--serif);
  padding: 1rem;
  margin-top: 0.4rem;
  border-radius: var(--round);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

#shade {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: end;
  background: #14243868;
  z-index: 3;
}
#sheet {
  width: min(100%, 33rem);
  max-height: 94vh;
  max-height: calc(100dvh - env(safe-area-inset-top) - 0.65rem);
  overflow: auto;
  background: var(--cream);
  border-radius: 1.65rem 1.65rem 0 0;
  overscroll-behavior: contain;
  outline: none;
  padding: 0 clamp(16px, 5vw, 24px) calc(1.35rem + var(--bottom));
  overflow-wrap: anywhere;
}
#sheet header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.85rem 0 0.7rem;
  background: inherit;
  margin: 0;
}
#sheet.paper {
  background: var(--paper);
  min-height: 85vh;
  min-height: 85dvh;
}
.paper textarea {
  background: none;
  font: 1.21rem/1.57 var(--serif);
  border: none;
  border-radius: 0;
  box-shadow: 0 1px var(--line);
  padding-left: 0;
}
.paper form > label {
  font: italic 1.08rem var(--serif);
  color: var(--quiet);
  padding-top: 0.7rem;
}
form > label,
form > .pair,
form > .line,
fieldset {
  margin: 0.75rem 0;
}
label,
legend {
  display: block;
  font-weight: 500;
  font-size: 0.935rem;
  color: var(--quiet);
  min-width: 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  line-height: 1.42;
  font-size: max(16px, 1rem);
  border: 1px solid var(--line);
  border-radius: 0.78rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.62rem;
  font-weight: 400;
  margin-top: 0.3rem;
}
input[type='date'],
input[type='time'] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 46px;
  text-align: left;
}
input::-webkit-date-and-time-value {
  text-align: left;
}
input[type='checkbox'] {
  width: 1.35rem;
  height: 1.35rem;
  min-height: auto;
  accent-color: var(--blue);
  margin: 0;
  flex-shrink: 0;
}
textarea {
  resize: vertical;
}
fieldset {
  border: none;
  min-width: 0;
  padding: 0;
}
legend {
  margin-bottom: 0.55rem;
}
.chips,
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0.88rem 0;
}
.chip {
  padding: 0.45rem 0.85rem;
  font-size: 0.91rem;
}
.chip[aria-pressed='true'] {
  background: var(--ink);
  color: white;
  font-weight: 600;
}
.presets .soft {
  flex: 1;
  min-width: 15%;
  padding: 0.55rem 0.3rem;
}
.switch {
  height: 27px;
  width: 48px;
  background: #86929b;
  border-radius: 20px;
  padding: 3px;
  display: flex;
}
.switch:after {
  content: '';
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
}
[aria-checked='true'] > .switch {
  justify-content: end;
  background: var(--blue);
}
#notice {
  position: fixed;
  bottom: calc(5.9rem + var(--bottom));
  z-index: 8;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: var(--ink);
  color: white;
  box-shadow: 0 5px 28px #252d4129;
  font-size: 0.96rem;
  padding: 0.72rem 1rem;
  border-radius: 1rem;
  width: max-content;
  max-width: min(94%, 29rem);
  pointer-events: none;
}
#notice:empty {
  display: none;
}
#notice.error {
  color: #791f1d;
  background: #fff1ed;
  border: 1px solid #bd483e;
}
#gate {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 27rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: calc(1rem + var(--bottom));
}
#gate .brand {
  font-size: 1.13rem;
  padding: 0.3rem 0;
}
.gate-panel {
  margin: auto 0;
  width: 100%;
  padding: 0.65rem 0;
}
#gate label:not(.sr) {
  text-align: start;
}
#gate .ligmo {
  margin: auto;
  width: clamp(4.25rem, 13vh, 7.3rem);
}
#gate h1 {
  margin: 0.45rem 0;
}
#gate p {
  color: var(--quiet);
  font-size: 0.94rem;
  margin: 0.55rem auto 0.95rem;
  max-width: 22rem;
  text-wrap: balance;
}
#pin {
  min-height: 40px;
  background: none;
  border: none;
  line-height: 1;
  text-align: center;
  color: #926013;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin: auto;
  width: 100%;
  padding: 0;
}
#pin::placeholder {
  font-size: 0.88rem;
  color: #7b766b;
}
.pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: clamp(1rem, 5vh, 3.3rem) auto 0.65rem;
  max-width: 21rem;
}
.pad button {
  background: #eae5d9;
  color: var(--ink);
  font-size: 1.57rem;
  border-radius: 0.95rem;
  height: clamp(46px, 8vh, 72px);
  line-height: 1;
}
.pad button.primary {
  background: var(--gold);
}
.pad .icon {
  width: 1.58rem;
  height: 1.58rem;
}
.pad button.plain {
  background: transparent;
}
.phrase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style-position: inside;
  gap: 0.4rem;
  text-align: left;
  padding: 1rem;
  border-radius: var(--round);
  background: var(--paper);
}
.phrase li::marker {
  color: var(--quiet);
  font-size: 0.81rem;
}
.task {
  display: flex;
  align-items: flex-start;
  padding: 0.45rem;
  gap: 0;
}
.task .grow {
  padding: 0.63rem 0.45rem;
}
.tick {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
}
.tick span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1.6px solid var(--blue);
  border-radius: 50%;
}
.done .tick span {
  background: var(--blue);
  color: white;
}
.done b {
  text-decoration: line-through;
}
.group {
  font-weight: 600;
}
.group .icon {
  margin-right: 0.35rem;
}
.taskgroup .card {
  margin-top: 0.2rem;
}
.category {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  background: #809aae;
  margin-right: 0.36rem;
  border-radius: 0.18rem;
}
.category.training {
  background: #a19bc0;
}
.category.supervision {
  background: #c8a3b1;
}
.category.accounts {
  background: #75aaa3;
}
.category.website {
  background: #7caabc;
}
.category.other {
  background: #adb1b4;
}
.float-space {
  height: 4.1rem;
}
.floating {
  position: fixed;
  bottom: calc(var(--bottom) + 5.8rem);
  left: 50%;
  transform: translateX(-50%);
  padding-inline: 1.45rem;
  white-space: nowrap;
  box-shadow: 0 5px 17px #132e4425;
}
.care-card {
  padding: 1rem;
}
.care-link {
  display: flex;
  text-align: start;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0;
}
.care-link h2 {
  flex: 1;
  font-size: 1.28rem;
}
.care-link span:last-child {
  font-size: 0.86rem;
  color: var(--quiet);
  white-space: nowrap;
}
.care-card small {
  display: block;
  padding: 0.36rem 0 0 3.1rem;
}
.sleep input {
  font-size: 2.1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.sleep label {
  text-align: center;
}
.choice {
  cursor: pointer;
}
.choice span {
  display: grid;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  min-height: 5.6rem;
  text-align: center;
  place-content: center;
  background: var(--paper);
  color: var(--ink);
}
.choice .icon {
  margin: auto;
}
.choice input:checked + span {
  border: 2px solid var(--ink);
  background: var(--select);
  font-weight: 650;
}
.choice input:focus-visible + span {
  outline: 3px solid #b17204;
}
.measure {
  display: grid;
  grid-template-columns: 2.4rem 1fr minmax(4rem, auto);
  align-items: center;
  gap: 0.4rem;
  font-size: 0.89rem;
  min-height: 2.18rem;
}
.measure svg {
  height: 14px;
  width: 100%;
  fill: #7693a4;
}
.measure b {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.calendar {
  margin-top: 0.7rem;
}
.calendar button {
  padding: 0.1rem 0 0.45rem;
  position: relative;
  border-radius: 1rem;
}
.dot:after {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  left: calc(50% - 2.5px);
  bottom: 0.3rem;
  background: currentColor;
  border-radius: 50%;
}
.wide,
.wide button {
  width: 100%;
}
.source-filter {
  margin: 0.7rem 0;
}
.article h2 {
  margin: 0.52rem 0;
  line-height: 1.25;
  text-wrap: pretty;
}
.article h2 .icon {
  width: 0.98rem;
}
.summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.night,
.quiet-card,
#sheet.quiet-card {
  --quiet: #c9dbe1;
  --soft: #27495a;
  --blue: #bddeda;
  --line: #ffffff29;
  color: #fffcf2;
  background: radial-gradient(ellipse at 50% 41%, #24505e, #102938 67%, #101c2b);
}
.quiet-card {
  padding: 0.7rem 1.1rem 1rem;
  border-radius: var(--round);
}
.quiet-card .tile,
.quiet-card .round,
.night .round {
  background: #ffffff15;
  color: white;
}
.quiet-card p:last-child {
  font-size: 0.87rem;
  color: var(--quiet);
  margin: 0.55rem 0 0;
}
#sheet.quiet-card header {
  background: #183849;
}
.quiet-card .primary,
.night .primary {
  background: #e0ece6;
  color: #132e3c;
}
.night #page {
  padding-block: 0;
}
.stage {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(1.2rem + env(safe-area-inset-top)) 0 calc(2rem + var(--bottom));
  font-variant-numeric: tabular-nums;
}
.stage.result {
  justify-content: center;
}
.stage h1 {
  font:
    500 1.87rem -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
.stage h1.timer-big {
  font-size: clamp(3rem, 15vw, 5rem);
  font-weight: 300;
}
.stage .visual {
  display: grid;
  place-items: center;
  width: min(62vw, 29vh, 16rem);
  aspect-ratio: 1;
  margin: 1.2rem auto;
  background: radial-gradient(circle, #d9ffde42, #6acbce21 47%, transparent 72%);
  padding: 0;
}
.visual .ligmo,
.visual .orb {
  width: 90%;
  animation: phase 0.65s ease-out both;
}
.visual.size-1 {
  --from: 0.75;
  --to: 0.91;
}
.visual.size-2 {
  --from: 0.91;
  --to: 1;
}
.visual.size-0 {
  --from: 1;
  --to: 0.75;
}
.orb {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #d7f4f4;
  background: radial-gradient(circle at 56% 36%, #fbefd9, #91c9c4 38%, #419399 69%, #276378);
  box-shadow: 0 0 2rem #72ead357;
}
@keyframes phase {
  from {
    transform: scale(var(--from));
  }
  to {
    transform: scale(var(--to));
  }
}
.phase-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
}
.phase-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8cb5c4;
}
.phase-dots i.on {
  outline: 1px solid white;
  outline-offset: 3px;
  background: white;
}
.controls {
  margin-top: 1rem;
}
.controls button {
  width: 60px;
  height: 60px;
}
.result textarea {
  margin-bottom: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 340px) {
  #tabs {
    width: 98%;
    padding-inline: 0.22rem;
  }
  #tabs button span {
    letter-spacing: -0.015em;
  }
}
@media (max-width: 360px) {
  #tabs button {
    font-size: 0.75rem;
  }
  .face {
    font-size: 0.75rem;
  }
  .mood .seg button {
    padding-inline: 0.38rem;
  }
  .mood h2 {
    font-size: 1.09rem;
  }
  .face:has(img[src$='2.svg']) span {
    hyphens: auto;
  }
  .inset {
    padding: 0.76rem;
  }
}
@media (min-width: 40rem) {
  #shade {
    align-items: center;
  }
  #sheet {
    border-radius: 1.6rem;
  }
}
