@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* TDS blue/grey palette. Dark surfaces are matched to the supplied app reference. */
:root {
  color-scheme: dark;
  --bg: #19181e;
  --surface: #202027;
  --raised: #2c2c36;
  --hover: #30303b;
  --line: #34343f;
  --text: #f2f4f6;
  --secondary: #b0b8c1;
  --tertiary: #8b95a1;
  --blue: #3182f6;
  --blue-hover: #4593fc;
  --blue-text: #64a8ff;
  --blue-soft: #22334d;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    sans-serif;
  font-size: 16px;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  word-break: keep-all;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.25s var(--ease),
    opacity 0.2s;
}
button:active:not(:disabled),
a.btn:active {
  transform: scale(0.97);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 4px;
}
::selection {
  background: #3182f666;
}
#main:focus {
  outline: none;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--blue);
  color: #fff;
  padding: 15px;
  z-index: 99;
  border-radius: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 76px;
  background: #19181ef2;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #ffffff05;
}
.header-inner {
  height: 100%;
  max-width: 1120px;
  padding: 0 24px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 36px;
}
.desktop-nav {
  display: flex;
  gap: 8px;
  margin-left: 25px;
}
.desktop-nav a {
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 15px;
}
.desktop-nav a:hover {
  background: var(--raised);
}
.desktop-nav a.active {
  color: var(--blue-text);
  background: #3182f612;
}
.journal-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 550;
  border-radius: 12px;
}
.journal-link:hover {
  background: var(--raised);
}
.journal-link svg {
  width: 18px;
  height: 18px;
}
.journal-link span {
  font-size: 12px;
  color: var(--blue-text);
}
.journal-link span:empty {
  display: none;
}
.page {
  max-width: 1120px;
  margin: auto;
  padding: 34px 24px 64px;
  animation: page-in 0.4s var(--ease);
}
.home-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.home-greeting p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.5;
  margin-bottom: 5px;
}
.home-greeting h1 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.greeting-icon {
  width: 48px;
  height: 48px;
}
.home-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.hero {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  min-height: 365px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 65%;
}
.eyebrow {
  display: block;
  color: var(--blue-text);
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero h2 {
  font-size: 27px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.65px;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--secondary);
  margin-top: 16px;
}
.hero-art {
  position: absolute;
  width: 225px;
  height: 245px;
  right: 13px;
  top: 32px;
  perspective: 1000px;
}
.hero-fan {
  height: 100%;
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.hero-fan img {
  position: absolute;
  width: 106px;
  height: 159px;
  left: 60px;
  top: 52px;
  border-radius: 8px;
  box-shadow: 0 10px 25px #0003;
  transition: transform 0.9s var(--ease);
}
.hero-fan .fan-left {
  transform: translate(-46px, 12px) rotate(-19deg);
  animation: fan-left-in 1.05s cubic-bezier(0.18, 0.8, 0.24, 1.04) backwards;
}
.hero-fan .fan-right {
  transform: translate(46px, 12px) rotate(19deg);
  animation: fan-right-in 1.05s cubic-bezier(0.18, 0.8, 0.24, 1.04) backwards;
}
.hero-fan .fan-center {
  transform: translateY(-3px);
  animation: fan-center-in 0.85s var(--ease) backwards;
}
.hero-cta {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.btn svg {
  width: 20px;
  height: 20px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
}
.btn-primary:disabled {
  background: #263b5b;
  color: #8195b4;
  opacity: 1;
}
.btn-light {
  background: var(--raised);
  color: var(--blue-text);
}
.btn-light:hover {
  background: var(--hover);
}
.btn-white {
  background: var(--raised);
  color: var(--text);
}
.btn-white:hover {
  background: var(--hover);
}
.btn:disabled {
  opacity: 0.5;
}
.full-width {
  width: 100%;
}
.today-preview {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.today-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.today-top .eyebrow {
  font-size: 13px;
  color: var(--tertiary);
  margin-bottom: 4px;
  font-weight: 500;
}
.today-top h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 31px;
}
.today-top > img {
  width: 62px;
  height: 62px;
}
.today-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 12px;
}
.today-score > span {
  font-size: 15px;
  color: var(--secondary);
}
.today-score > strong {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue-text);
  letter-spacing: -1.5px;
  line-height: 1.3;
}
.today-score small {
  font-size: 18px;
  letter-spacing: 0;
  margin-left: 5px;
  font-weight: 500;
}
.today-message {
  color: var(--secondary);
  font-size: 14px;
  line-height: 21px;
  margin: 4px 0 24px;
}
.today-preview .btn {
  margin-top: auto;
  min-height: 50px;
  font-size: 15px;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
}
.app-panel {
  background: var(--surface);
  border-radius: 24px;
}
.discovery {
  padding: 26px 0 12px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 26px 20px;
}
.section-head h2 {
  font-size: 22px;
  line-height: 31px;
  font-weight: 700;
}
.filters {
  display: flex;
  gap: 8px;
  margin: 0 26px 14px;
}
.filter {
  min-height: 38px;
  padding: 0 17px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 550;
  color: var(--secondary);
  background: var(--raised);
}
.filter:hover {
  background: var(--hover);
}
.filter.active {
  background: var(--blue-soft);
  color: var(--blue-text);
}
.discovery-grid {
  display: flex;
  flex-direction: column;
}
.discovery-card {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 94px;
  padding: 16px 24px;
}
.discovery-card:hover {
  background: #ffffff04;
}
.discovery-card:active {
  background: #ffffff08;
  transform: scale(0.99);
}
.service-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.service-copy {
  flex: 1;
  min-width: 0;
}
.service-copy h3 {
  font-size: 17px;
  line-height: 25.5px;
  font-weight: 600;
}
.service-copy p {
  font-size: 13px;
  line-height: 19.5px;
  color: var(--tertiary);
  margin-top: 5px;
  word-break: keep-all;
}
.service-meta {
  font-size: 12px;
  color: var(--tertiary);
  white-space: nowrap;
}
.row-chevron {
  color: #6b7684;
  flex-shrink: 0;
}
.row-chevron svg {
  width: 17px;
  height: 17px;
}
.home-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.journal-banner {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.journal-banner:hover {
  background: #24242c;
}
.banner-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.journal-banner h2 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 650;
  margin: 3px 0 6px;
}
.journal-banner p {
  font-size: 14px;
  line-height: 21px;
  color: var(--tertiary);
  word-break: keep-all;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-text);
  font-size: 14px;
  font-weight: 550;
}
.text-link svg {
  width: 16px;
  height: 16px;
}
.journal-banner .text-link {
  margin-top: 20px;
}
.intro-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 18px;
  color: var(--secondary);
}
.intro-check {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3182f618;
  color: var(--blue-text);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}
.intro-note strong {
  font-size: 15px;
  font-weight: 550;
  line-height: 24px;
}
.intro-note p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--tertiary);
  margin-top: 7px;
}
.site-footer {
  max-width: 1072px;
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 1px solid #ffffff08;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.site-footer .brand-logo {
  height: 30px;
}
.site-footer p {
  font-size: 12px;
  color: var(--tertiary);
  line-height: 1.8;
  margin: 8px 0;
}
.footer-right {
  text-align: right;
  color: #737d89;
  font-size: 11px;
}
.footer-right button {
  font-size: 13px;
  color: var(--secondary);
  padding: 5px 0;
  margin-left: 18px;
}
.mobile-nav {
  display: none;
}

/* Reading flow */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 20px;
  color: var(--secondary);
  font-size: 14px;
}
.back-link svg {
  width: 20px;
  height: 20px;
}
.flow-page {
  max-width: 720px;
}
.flow-intro {
  margin: 12px 0 30px;
}
.flow-intro .eyebrow {
  color: var(--blue-text);
  font-size: 14px;
  margin-bottom: 10px;
}
.flow-intro h1 {
  font-size: 30px;
  line-height: 40px;
  letter-spacing: -0.6px;
  font-weight: 700;
}
.flow-intro p {
  font-size: 16px;
  line-height: 25px;
  color: var(--secondary);
  margin-top: 14px;
  word-break: keep-all;
}
.steps {
  display: flex;
  gap: 7px;
  max-width: 112px;
  margin-bottom: 24px;
}
.steps span {
  height: 4px;
  width: 30px;
  border-radius: 4px;
  background: var(--line);
}
.steps span.active {
  background: var(--blue);
}
.setup-panel {
  padding: 30px;
  background: var(--surface);
  border-radius: 24px;
}
.field-label {
  display: block;
  font-size: 17px;
  line-height: 25.5px;
  font-weight: 650;
  margin-bottom: 14px;
}
.field-label span {
  font-size: 13px;
  font-weight: 450;
  color: var(--tertiary);
  margin-left: 5px;
}
.topic-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.topic-option {
  min-height: 90px;
  border-radius: 16px;
  background: var(--raised);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 550;
}
.topic-option:hover {
  background: var(--hover);
}
.topic-option.active {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue-text);
}
.topic-symbol {
  font-size: 27px;
  line-height: 29px;
  font-weight: 500;
}
.spread-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}
.spread-option {
  text-align: left;
  padding: 18px;
  background: var(--raised);
  border-radius: 16px;
  border: 1px solid transparent;
}
.spread-option.active {
  background: var(--blue-soft);
  border-color: var(--blue);
}
.spread-option strong {
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 650;
}
.spread-option small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--secondary);
  margin-top: 7px;
  word-break: keep-all;
}
.question-input,
.date-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid transparent;
  background: var(--raised);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
}
.question-input::placeholder {
  color: var(--tertiary);
}
.input-note {
  font-size: 13px;
  line-height: 21px;
  color: var(--tertiary);
  margin: 12px 0 24px;
  word-break: keep-all;
}
.reading-hint {
  font-size: 13px;
  color: var(--tertiary);
  line-height: 21px;
  text-align: center;
  margin: 18px 0 0;
}
.pick-page {
  max-width: 1040px;
}
.pick-page .flow-intro {
  text-align: center;
}
.pick-page .steps {
  margin-left: auto;
  margin-right: auto;
}
.selection-count {
  display: inline-flex;
  background: var(--blue-soft);
  color: var(--blue-text);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
}
.question-summary {
  font-size: 15px;
  line-height: 24px;
  color: var(--secondary);
  text-align: center;
  max-width: 600px;
  word-break: break-word;
  margin: 0 auto 26px;
}
.deck {
  max-width: 910px;
  margin: 42px auto 24px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  perspective: 1400px;
}
.tarot-pick {
  position: relative;
  aspect-ratio: 2/3;
  padding: 0;
  border-radius: 12px;
  animation: deal 0.6s var(--ease) backwards;
  animation-delay: calc(var(--i) * 65ms);
  transition:
    transform 0.52s cubic-bezier(0.18, 0.86, 0.3, 1.13),
    opacity 0.5s,
    filter 0.5s;
}
.tarot-pick:hover:not(:disabled) {
  transform: translateY(-14px);
}
.tarot-pick.selected {
  transform: translateY(-14px);
  animation: none;
}
.tarot-pick.selected:after {
  content: "✓";
  position: absolute;
  bottom: -13px;
  left: calc(50% - 13px);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--bg);
  font-size: 13px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.25, 0.7, 0.2, 1);
}
/* Keep chosen cards face down until the large result reveal. */
.selected .flip-inner {
  transform: translateZ(0);
}
.card-side {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 7px 17px #0002;
}
.card-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-front {
  transform: rotateY(180deg);
  background: var(--surface);
}
.card-front-name {
  position: absolute;
  left: 7%;
  bottom: 4%;
  width: 86%;
  font-size: 10px;
  padding: 4px 0;
  text-align: center;
  background: #202027;
  color: var(--secondary);
}
.deck.complete .tarot-pick:not(.selected) {
  opacity: 0.38;
  transform: translateY(7px) scale(0.95);
  filter: saturate(0.6);
}
.deck.shuffling .tarot-pick {
  animation: shuffle 0.5s ease both;
  animation-delay: calc(var(--i) * 35ms);
}
.shuffle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px;
  margin: auto;
  color: var(--secondary);
  font-size: 14px;
}
.shuffle-btn svg {
  width: 18px;
  height: 18px;
}
.shuffle-btn:disabled {
  opacity: 0.4;
}
.pick-actions {
  max-width: 430px;
  margin: 28px auto 0;
}
.pick-actions p {
  color: var(--tertiary);
  font-size: 13px;
  line-height: 21px;
  text-align: center;
  margin-top: 15px;
}
#reveal-button.ready {
  animation: ready-pulse 0.5s cubic-bezier(0.18, 0.86, 0.3, 1.1);
}
.result-page {
  max-width: 900px;
  animation: none;
}
.result-header {
  text-align: center;
  margin: 10px 0 28px;
  animation: page-in 0.5s var(--ease);
}
.result-header h1 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
}
.result-header p {
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  margin-top: 12px;
}
.result-grid {
  display: grid;
  gap: 20px;
}
.result-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 30px;
  align-items: center;
}
.result-card-image {
  position: relative;
  filter: drop-shadow(0 8px 12px #0002);
}
.result-card-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.result-name {
  position: absolute;
  bottom: 6%;
  left: 8%;
  width: 84%;
  background: #202027;
  color: var(--secondary);
  text-align: center;
  font-size: 10px;
  padding: 4px 0;
}
.result-card > div:last-child {
  animation: page-in 0.6s var(--ease) backwards;
  animation-delay: calc(var(--i) * 100ms + 150ms);
}
.result-position {
  font-size: 13px;
  color: var(--blue-text);
  margin-bottom: 7px;
  font-weight: 600;
}
.result-card h2 {
  font-size: 24px;
  line-height: 33px;
  font-weight: 700;
}
.english {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--tertiary);
  margin-top: 4px;
}
.result-card h3 {
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  margin: 17px 0 12px;
}
.result-card p {
  font-size: 15px;
  line-height: 25px;
  color: var(--secondary);
  word-break: keep-all;
}
.result-card .advice {
  background: var(--raised);
  border-radius: 14px;
  padding: 15px 17px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 23px;
}
.advice strong {
  display: block;
  font-size: 13px;
  color: var(--blue-text);
  font-weight: 600;
  margin-bottom: 5px;
}
.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.result-actions .btn {
  min-width: 170px;
}
.result-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--tertiary);
  line-height: 22px;
  margin-top: 20px;
}

/* Daily fortune and saved readings */
.daily-page {
  max-width: 960px;
}
.daily-hero {
  display: grid;
  grid-template-columns: 1fr 185px;
  gap: 30px;
  align-items: center;
  min-height: 250px;
  padding: 34px;
  background: var(--surface);
  border-radius: 24px;
}
.daily-hero .eyebrow {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 500;
}
.daily-hero h1 {
  font-size: 29px;
  line-height: 39px;
  font-weight: 700;
}
.daily-hero p {
  font-size: 16px;
  line-height: 26px;
  color: var(--secondary);
  margin-top: 13px;
  max-width: 470px;
}
.score-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.score-orb small {
  font-size: 13px;
  color: var(--secondary);
}
.score-orb strong {
  font-size: 78px;
  font-weight: 700;
  color: var(--blue-text);
  line-height: 1.25;
  letter-spacing: -2.5px;
  font-variant-numeric: tabular-nums;
}
.score-orb span {
  font-size: 12px;
  color: var(--tertiary);
  margin-top: 2px;
}
.birth-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  margin: 20px 0;
}
.birth-form label {
  flex: 1;
  font-size: 15px;
  font-weight: 550;
}
.birth-form label small {
  display: block;
  font-size: 12px;
  line-height: 19px;
  color: var(--tertiary);
  font-weight: 400;
  margin-top: 6px;
}
.date-input {
  max-width: 170px;
  font-size: 14px;
  min-height: 48px;
  padding: 10px 13px;
}
.birth-form .btn {
  font-size: 14px;
  min-height: 48px;
}
.daily-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
}
.white-panel {
  padding: 28px;
  background: var(--surface);
  border-radius: 24px;
}
.white-panel h2 {
  font-size: 20px;
  line-height: 29px;
  font-weight: 700;
  margin-bottom: 25px;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
}
.score-row > span {
  width: 44px;
  font-size: 14px;
  color: var(--secondary);
  flex-shrink: 0;
}
.score-track {
  height: 6px;
  flex: 1;
  background: var(--raised);
  border-radius: 5px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 5px;
  transform-origin: left;
  animation: grow 0.9s var(--ease) backwards;
  animation-delay: calc(var(--i) * 80ms);
}
.score-row b {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-text);
  min-width: 20px;
}
.lucky-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lucky-item {
  padding: 17px 8px;
  background: var(--raised);
  border-radius: 16px;
  text-align: center;
}
.lucky-item > span {
  font-size: 13px;
  color: var(--secondary);
}
.lucky-item strong {
  display: block;
  font-size: 30px;
  font-weight: 650;
  color: var(--blue-text);
  line-height: 1.3;
  margin: 9px auto;
}
.color-swatch {
  height: 29px;
  width: 29px;
  border-radius: 50%;
  margin: 14px auto;
  box-shadow: inset 0 0 0 1px #ffffff18;
}
.lucky-item small {
  font-size: 12px;
  color: var(--tertiary);
  line-height: 19px;
  display: block;
}
.daily-action {
  background: var(--raised);
  border-radius: 14px;
  padding: 16px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 23px;
  margin-top: 14px;
}
.cookie-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border-radius: 22px;
  padding: 24px;
  margin-top: 20px;
}
.cookie-icon {
  color: #ffd158;
  font-size: 33px;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.cookie-panel h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 26px;
  margin-bottom: 6px;
}
.cookie-panel p {
  font-size: 14px;
  line-height: 23px;
  color: var(--secondary);
}
.cookie-panel .btn {
  background: var(--raised);
  color: var(--blue-text);
  min-height: 46px;
  font-size: 14px;
  margin-left: auto;
}
.journal-head {
  margin: 7px 0 30px;
}
.journal-head h1 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
}
.journal-head p {
  font-size: 16px;
  line-height: 26px;
  color: var(--secondary);
  margin-top: 12px;
}
.journal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.saved-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--surface);
  border-radius: 22px;
}
.saved-thumb {
  width: 58px;
  border-radius: 6px;
  flex-shrink: 0;
}
.saved-orb {
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-text);
  border-radius: 18px;
  width: 64px;
  height: 64px;
  font-size: 29px;
  flex-shrink: 0;
}
.saved-item h3 {
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  margin: 7px 0 11px;
}
.saved-item small {
  font-size: 12px;
  color: var(--tertiary);
}
.saved-item .text-link {
  font-size: 14px;
}
.delete-saved {
  position: absolute;
  right: 10px;
  top: 8px;
  padding: 7px;
  font-size: 23px;
  color: var(--tertiary);
  min-width: 40px;
  min-height: 40px;
}
.empty-state {
  text-align: center;
  background: var(--surface);
  border-radius: 24px;
  padding: 55px 24px;
}
.empty-state img {
  height: 104px;
  width: 78px;
  object-fit: contain;
  margin: 0 auto 25px;
}
.empty-state h2 {
  font-size: 24px;
  line-height: 33px;
  font-weight: 700;
}
.empty-state p {
  font-size: 16px;
  color: var(--secondary);
  line-height: 26px;
  margin: 14px 0 26px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 22px);
  padding: 16px 22px;
  background: #3a3a44f2;
  color: var(--text);
  box-shadow: 0 8px 30px #0003;
  border-radius: 16px;
  max-width: calc(100% - 32px);
  width: max-content;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  max-width: 470px;
  width: calc(100% - 40px);
  border: 0;
  border-radius: 24px;
  padding: 34px;
  background: var(--raised);
  color: var(--text);
  box-shadow: 0 25px 70px #0005;
}
dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 8px;
  padding: 8px;
  font-size: 26px;
  color: var(--secondary);
}
dialog h2 {
  font-size: 26px;
  line-height: 35px;
  font-weight: 700;
  margin: 8px 0 20px;
}
dialog p {
  font-size: 16px;
  line-height: 27px;
  color: var(--secondary);
  margin-bottom: 16px;
}
.note-box {
  font-size: 14px;
  line-height: 24px;
  color: var(--secondary);
  background: var(--surface);
  border-radius: 14px;
  padding: 17px;
}
.share-text {
  width: 100%;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 14px;
  line-height: 24px;
}
.confetti {
  position: fixed;
  width: 7px;
  height: 12px;
  pointer-events: none;
  z-index: 40;
  top: 35%;
  left: 50%;
  border-radius: 2px;
  animation: confetti 1.4s ease-out forwards;
}
.fade-in {
  animation: page-in 0.4s var(--ease);
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fan-left-in {
  from {
    opacity: 0;
    transform: translate(0, 27px) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: translate(-46px, 12px) rotate(-19deg);
  }
}
@keyframes fan-right-in {
  from {
    opacity: 0;
    transform: translate(0, 27px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translate(46px, 12px) rotate(19deg);
  }
}
@keyframes fan-center-in {
  from {
    opacity: 0;
    transform: translateY(33px);
  }
  to {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@keyframes deal {
  from {
    opacity: 0;
    transform: translateX(calc((3 - var(--i)) * 50px)) translateY(22px)
      rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0);
  }
}
@keyframes shuffle {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  50% {
    transform: translateX(calc((3 - var(--i)) * 65px)) translateY(-15px)
      rotate(calc(var(--i) * 3deg));
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes ready-pulse {
  0% {
    transform: scale(0.98);
  }
  65% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes confetti {
  to {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}
::view-transition-group(root) {
  animation-duration: 0.3s;
}
::view-transition-group(drawn-card-0),
::view-transition-group(drawn-card-1),
::view-transition-group(drawn-card-2) {
  animation-duration: 0.7s;
  animation-timing-function: var(--ease);
}
::view-transition-old(drawn-card-0),
::view-transition-old(drawn-card-1),
::view-transition-old(drawn-card-2),
::view-transition-new(drawn-card-0),
::view-transition-new(drawn-card-1),
::view-transition-new(drawn-card-2) {
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .home-top,
  .home-bottom {
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
  }
  .hero {
    padding: 26px;
    min-height: 357px;
  }
  .hero h2 {
    font-size: 24px;
    line-height: 34px;
  }
  .hero-copy {
    width: 76%;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-art {
    width: 170px;
    height: 215px;
    right: 0;
    top: 73px;
    transform: scale(0.8);
    transform-origin: right top;
  }
  .hero-fan img {
    left: 32px;
  }
  .hero-cta {
    left: 26px;
    right: 26px;
  }
  .today-preview {
    padding: 26px;
  }
  .today-score {
    margin-top: 20px;
  }
  .today-score > span {
    font-size: 13px;
  }
  .today-score > strong {
    font-size: 44px;
  }
  .section-head h2 {
    font-size: 20px;
  }
  .service-meta {
    display: none;
  }
  .discovery-card {
    gap: 13px;
    padding: 15px 21px;
  }
  .service-icon {
    width: 46px;
    height: 46px;
  }
  .service-copy h3 {
    font-size: 16px;
  }
  .service-copy p {
    font-size: 12px;
  }
  .journal-banner {
    padding: 25px 21px;
    gap: 12px;
  }
  .banner-icon {
    width: 41px;
    height: 41px;
  }
  .journal-banner h2 {
    font-size: 17px;
  }
  .journal-banner p {
    font-size: 13px;
  }
  .site-footer {
    margin: 0 24px;
  }
  .deck {
    gap: 8px;
  }
  .card-front-name {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }
  .site-header {
    height: 64px;
  }
  .header-inner {
    padding: 0 22px;
  }
  .brand-logo {
    height: 32px;
  }
  .desktop-nav {
    display: none;
  }
  .journal-link {
    font-size: 13px;
    padding: 9px 0 9px 10px;
    color: var(--secondary);
  }
  .journal-link svg {
    width: 18px;
    height: 18px;
  }
  .page {
    padding: 25px 20px 44px;
  }
  .home-greeting {
    margin-bottom: 23px;
  }
  .home-greeting h1 {
    font-size: 26px;
    line-height: 35px;
  }
  .home-greeting p {
    font-size: 14px;
    margin-bottom: 3px;
  }
  .greeting-icon {
    width: 42px;
    height: 42px;
  }
  .home-top {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .hero {
    min-height: 380px;
    border-radius: 24px;
    padding: 26px 24px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 13px;
    margin-bottom: 9px;
  }
  .hero h2 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.55px;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 22px;
    margin-top: 12px;
    max-width: 58%;
  }
  .hero-art {
    width: 185px;
    height: 193px;
    right: 4px;
    top: 110px;
    transform: scale(0.82);
    transform-origin: right center;
  }
  .hero-fan img {
    left: 40px;
    top: 30px;
    width: 100px;
    height: 150px;
  }
  .hero-cta {
    left: 24px;
    right: 24px;
    bottom: 24px;
    min-height: 52px;
  }
  .btn {
    font-size: 16px;
    min-height: 54px;
    border-radius: 15px;
    padding: 0 18px;
  }
  .today-preview {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 0 15px;
    padding: 24px;
    border-radius: 24px;
    position: relative;
  }
  .today-top {
    gap: 0;
  }
  .today-top > img {
    display: none;
  }
  .today-top .eyebrow {
    font-size: 12px;
    margin-bottom: 3px;
  }
  .today-top h2 {
    font-size: 20px;
    line-height: 29px;
  }
  .today-score {
    grid-column: 2;
    grid-row: 1/3;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    gap: 3px;
  }
  .today-score > span {
    font-size: 11px;
    color: var(--tertiary);
  }
  .today-score > strong {
    font-size: 39px;
    line-height: 1.2;
  }
  .today-score small {
    font-size: 15px;
  }
  .today-message {
    font-size: 13px;
    margin: 8px 0 0;
    line-height: 20px;
  }
  .today-preview .btn {
    grid-column: 1/-1;
    margin-top: 20px;
    font-size: 15px;
    min-height: 48px;
    border-radius: 13px;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .discovery {
    padding: 25px 0 10px;
    border-radius: 24px;
  }
  .section-head {
    margin: 0 24px 18px;
  }
  .section-head h2 {
    font-size: 21px;
    line-height: 30px;
  }
  .filters {
    margin: 0 24px 12px;
    gap: 8px;
  }
  .filter {
    font-size: 14px;
    min-height: 36px;
    padding: 0 16px;
  }
  .discovery-card {
    padding: 16px 21px;
    gap: 13px;
    min-height: 94px;
  }
  .service-icon {
    width: 48px;
    height: 48px;
  }
  .service-copy h3 {
    font-size: 16px;
    line-height: 24px;
  }
  .service-copy p {
    font-size: 13px;
    line-height: 20px;
    margin-top: 4px;
  }
  .row-chevron svg {
    width: 15px;
    height: 15px;
  }
  .service-meta {
    display: none;
  }
  .home-side {
    gap: 13px;
  }
  .journal-banner {
    padding: 25px 24px;
    gap: 17px;
    align-items: center;
    border-radius: 24px;
  }
  .banner-icon {
    width: 48px;
    height: 48px;
  }
  .journal-banner h2 {
    font-size: 17px;
    line-height: 25px;
    margin: 0 0 5px;
  }
  .journal-banner p {
    font-size: 13px;
    line-height: 20px;
  }
  .journal-banner .text-link {
    margin-top: 11px;
    font-size: 13px;
  }
  .intro-note {
    padding: 18px 10px 0;
    gap: 12px;
  }
  .intro-note strong {
    font-size: 14px;
  }
  .intro-note p {
    font-size: 12px;
    margin-top: 5px;
  }
  .site-footer {
    display: block;
    margin: 0 22px;
    padding: 28px 0 calc(100px + env(safe-area-inset-bottom));
    border-top: 1px solid #ffffff06;
  }
  .site-footer .brand {
    font-size: 19px;
  }
  .site-footer p {
    font-size: 11px;
  }
  .footer-right {
    text-align: left;
    margin-top: 20px;
    font-size: 10px;
  }
  .footer-right button {
    font-size: 12px;
    margin-left: 0;
    margin-right: 18px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    background: #202027f7;
    backdrop-filter: blur(16px);
    border-top: 1px solid #ffffff06;
    padding: 10px 10px max(12px, env(safe-area-inset-bottom));
    height: calc(72px + env(safe-area-inset-bottom));
    z-index: 35;
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    color: var(--tertiary);
    min-width: 66px;
  }
  .mobile-nav svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }
  .mobile-nav a.active {
    color: var(--blue-text);
    font-weight: 600;
  }
  .mobile-nav a.active svg {
    fill: #3182f616;
  }
  .back-link {
    font-size: 14px;
    margin-bottom: 17px;
    padding: 6px 0;
  }
  .steps {
    margin-bottom: 24px;
  }
  .flow-intro {
    margin: 4px 0 27px;
  }
  .flow-intro h1 {
    font-size: 28px;
    line-height: 37px;
    letter-spacing: -0.7px;
  }
  .flow-intro p {
    font-size: 15px;
    line-height: 23px;
    margin-top: 13px;
  }
  .flow-intro .eyebrow {
    font-size: 13px;
    margin-bottom: 9px;
  }
  .setup-panel {
    padding: 24px 20px;
    border-radius: 24px;
  }
  .field-label {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 13px;
  }
  .field-label span {
    font-size: 12px;
  }
  .topic-options {
    gap: 8px;
    margin-bottom: 27px;
  }
  .topic-option {
    min-height: 82px;
    border-radius: 14px;
    font-size: 14px;
    gap: 8px;
  }
  .topic-symbol {
    font-size: 25px;
    line-height: 28px;
  }
  .spread-options {
    gap: 10px;
    margin-bottom: 27px;
  }
  .spread-option {
    padding: 17px 13px;
    border-radius: 14px;
  }
  .spread-option strong {
    font-size: 14px;
    line-height: 22px;
  }
  .spread-option small {
    font-size: 12px;
    line-height: 19px;
  }
  .question-input {
    min-height: 53px;
    font-size: 14px;
    padding: 13px;
  }
  .input-note {
    font-size: 12px;
    line-height: 20px;
    margin: 10px 0 24px;
  }
  .reading-hint {
    font-size: 12px;
    line-height: 20px;
    margin: 17px 12px 0;
  }
  .pick-page .flow-intro h1 {
    font-size: 27px;
    line-height: 37px;
  }
  .selection-count {
    font-size: 13px;
    margin-top: 17px;
    padding: 7px 14px;
  }
  .deck {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 9px;
    max-width: 390px;
    margin: 35px auto 20px;
    padding: 0 6px;
  }
  .tarot-pick:nth-child(5) {
    grid-column: 1;
    margin-left: 45%;
    margin-right: -45%;
  }
  .tarot-pick:nth-child(6),
  .tarot-pick:nth-child(7) {
    margin-left: 45%;
    margin-right: -45%;
  }
  .tarot-pick:hover:not(:disabled),
  .tarot-pick.selected {
    transform: translateY(-9px);
  }
  .card-front-name {
    font-size: 7px;
    padding: 2px 0;
  }
  .tarot-pick.selected:after {
    width: 23px;
    height: 23px;
    left: calc(50% - 11.5px);
    font-size: 12px;
    bottom: -11px;
  }
  .shuffle-btn {
    font-size: 13px;
  }
  .pick-actions {
    margin-top: 22px;
  }
  .pick-actions p {
    font-size: 12px;
    line-height: 20px;
  }
  .question-summary {
    font-size: 14px;
    line-height: 23px;
  }
  .result-header {
    margin: 5px 0 24px;
  }
  .result-header h1 {
    font-size: 28px;
    line-height: 37px;
  }
  .result-header p {
    font-size: 14px;
    line-height: 23px;
    margin-top: 10px;
  }
  .result-header .eyebrow {
    font-size: 13px;
  }
  .result-grid {
    gap: 16px;
  }
  .result-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 27px 24px;
    border-radius: 24px;
  }
  .result-card-image {
    width: 137px;
    margin: auto;
  }
  .result-position {
    text-align: center;
    font-size: 13px;
  }
  .result-card h2 {
    text-align: center;
    font-size: 24px;
    line-height: 33px;
  }
  .result-card .english {
    text-align: center;
    font-size: 10px;
  }
  .result-card h3 {
    font-size: 16px;
    line-height: 25px;
    margin: 24px 0 12px;
  }
  .result-card p {
    font-size: 15px;
    line-height: 25px;
  }
  .result-card .advice {
    font-size: 14px;
    line-height: 23px;
    padding: 15px;
    margin-top: 19px;
  }
  .advice strong {
    font-size: 12px;
  }
  .result-actions {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 23px;
  }
  .result-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    font-size: 14px;
    gap: 8px;
  }
  .result-actions svg {
    width: 18px;
    height: 18px;
  }
  .result-footnote {
    font-size: 12px;
    line-height: 21px;
    margin-top: 18px;
  }
  .daily-hero {
    grid-template-columns: 1fr 83px;
    gap: 12px;
    padding: 26px 24px;
    min-height: 245px;
    border-radius: 24px;
  }
  .daily-hero .eyebrow {
    font-size: 12px;
    line-height: 19px;
    margin-bottom: 12px;
  }
  .daily-hero h1 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.6px;
  }
  .daily-hero p {
    font-size: 13px;
    line-height: 22px;
    margin-top: 12px;
  }
  .score-orb strong {
    font-size: 48px;
    letter-spacing: -1.5px;
  }
  .score-orb small {
    font-size: 9px;
    white-space: nowrap;
  }
  .score-orb span {
    font-size: 10px;
  }
  .birth-form {
    flex-wrap: wrap;
    gap: 9px;
    padding: 20px;
    border-radius: 20px;
    margin: 16px 0 20px;
  }
  .birth-form label {
    flex: 1 1 100%;
    font-size: 14px;
    margin-bottom: 5px;
  }
  .birth-form label small {
    font-size: 11px;
    margin-top: 5px;
  }
  .date-input {
    min-width: 0;
    max-width: none;
    flex: 1;
    min-height: 46px;
    font-size: 14px;
    padding: 10px;
  }
  .birth-form .btn {
    min-height: 46px;
    font-size: 13px;
    padding: 0 15px;
    border-radius: 12px;
  }
  .daily-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .white-panel {
    padding: 25px 24px;
    border-radius: 24px;
  }
  .white-panel h2 {
    font-size: 20px;
    line-height: 29px;
    margin-bottom: 24px;
  }
  .score-row {
    margin: 22px 0;
    gap: 14px;
  }
  .score-row > span {
    font-size: 14px;
  }
  .lucky-item {
    padding: 18px 8px;
  }
  .lucky-item small {
    font-size: 11px;
  }
  .daily-action {
    font-size: 14px;
    line-height: 23px;
  }
  .cookie-panel {
    padding: 23px 22px;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    border-radius: 22px;
  }
  .cookie-panel > div:nth-child(2) {
    flex: 1;
  }
  .cookie-icon {
    width: 31px;
    font-size: 29px;
  }
  .cookie-panel h3 {
    font-size: 16px;
    line-height: 25px;
  }
  .cookie-panel p {
    font-size: 13px;
    line-height: 22px;
  }
  .cookie-panel .btn {
    width: 100%;
    margin-top: 5px;
    font-size: 14px;
    min-height: 46px;
    border-radius: 13px;
  }
  .journal-head h1 {
    font-size: 28px;
    line-height: 37px;
  }
  .journal-head p {
    font-size: 14px;
    line-height: 24px;
  }
  .journal-head .eyebrow {
    font-size: 13px;
  }
  .journal-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .saved-item {
    padding: 24px 20px;
    gap: 17px;
  }
  .saved-item h3 {
    font-size: 16px;
    line-height: 25px;
  }
  .saved-item small {
    font-size: 11px;
  }
  .saved-item .text-link {
    font-size: 13px;
  }
  .empty-state {
    padding: 44px 24px;
  }
  .empty-state h2 {
    font-size: 22px;
    line-height: 31px;
  }
  .empty-state p {
    font-size: 14px;
    line-height: 24px;
  }
  .empty-state .btn {
    font-size: 15px;
  }
  .toast {
    bottom: calc(87px + env(safe-area-inset-bottom));
    font-size: 13px;
    padding: 15px 19px;
    border-radius: 15px;
  }
  dialog {
    padding: 29px 25px;
    border-radius: 24px;
  }
  dialog h2 {
    font-size: 24px;
    line-height: 33px;
  }
  dialog p {
    font-size: 15px;
    line-height: 25px;
  }
  .note-box {
    font-size: 13px;
    line-height: 22px;
  }
}
@media (max-width: 365px) {
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner {
    padding: 0 20px;
  }
  .home-greeting h1 {
    font-size: 25px;
  }
  .hero {
    padding-left: 21px;
    padding-right: 21px;
    min-height: 384px;
  }
  .hero h2 {
    font-size: 22px;
    line-height: 31px;
  }
  .hero-copy > p {
    font-size: 13px;
    max-width: 62%;
  }
  .hero-art {
    right: -8px;
    top: 117px;
    transform: scale(0.7);
  }
  .hero-cta {
    left: 21px;
    right: 21px;
  }
  .today-preview {
    padding: 22px;
    grid-template-columns: 1fr 77px;
    gap: 0 10px;
  }
  .today-score strong {
    font-size: 35px;
  }
  .today-score > span {
    font-size: 10px;
  }
  .today-message {
    font-size: 12px;
  }
  .section-head {
    margin-left: 21px;
    margin-right: 21px;
  }
  .section-head h2 {
    font-size: 20px;
  }
  .filters {
    margin-left: 21px;
    gap: 7px;
  }
  .filter {
    padding: 0 14px;
    font-size: 13px;
  }
  .discovery-card {
    padding-left: 17px;
    padding-right: 17px;
    gap: 10px;
  }
  .service-icon {
    width: 40px;
    height: 40px;
  }
  .service-copy h3 {
    font-size: 15px;
  }
  .service-copy p {
    font-size: 12px;
  }
  .journal-banner {
    padding-left: 21px;
    padding-right: 21px;
    gap: 12px;
  }
  .banner-icon {
    width: 42px;
    height: 42px;
  }
  .journal-banner h2 {
    font-size: 16px;
  }
  .journal-banner p {
    font-size: 12px;
  }
  .setup-panel {
    padding: 23px 16px;
  }
  .topic-options {
    gap: 6px;
  }
  .topic-option {
    font-size: 13px;
  }
  .spread-option {
    padding: 15px 11px;
  }
  .spread-option strong {
    font-size: 13px;
  }
  .spread-option small {
    font-size: 11px;
  }
  .field-label {
    font-size: 15px;
  }
  .daily-hero {
    padding: 24px 20px;
    grid-template-columns: 1fr 71px;
  }
  .daily-hero h1 {
    font-size: 22px;
    line-height: 31px;
  }
  .daily-hero p {
    font-size: 12px;
    line-height: 21px;
  }
  .score-orb strong {
    font-size: 43px;
  }
  .score-orb small {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-fan img {
    animation: none !important;
  }
  .confetti {
    display: none;
  }
  ::view-transition-group(*) {
    animation: none !important;
  }
}

::view-transition {
  pointer-events: none;
}
