.cc {
  --cc-night: #030913;
  --cc-indigo: #071426;
  --cc-indigo-2: #0c1d32;
  --cc-copper: #9c6945;
  --cc-copper-light: #cf9a65;
  --cc-gold: #d9be7b;
  --cc-ivory: #f1e5ca;
  --cc-muted: #aeb7c1;
  --cc-line: rgba(207, 154, 101, .34);
  --cc-blue-line: rgba(122, 161, 193, .22);
  color: var(--cc-ivory);
  background:
    radial-gradient(circle at 50% 20%, rgba(25, 62, 94, .3), transparent 38rem),
    linear-gradient(180deg, #030914, #050a12 60%, #02060c);
  border: 1px solid rgba(207, 154, 101, .28);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
  margin: 1.4rem 0 2.5rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.cc::before {
  background-image:
    radial-gradient(circle, rgba(226, 206, 153, .22) 0 1px, transparent 1.4px),
    linear-gradient(90deg, transparent 49.8%, rgba(164, 116, 72, .05) 50%, transparent 50.2%);
  background-size: 47px 47px, 100% 100%;
  content: "";
  inset: 0;
  opacity: .32;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.cc *, .cc *::before, .cc *::after { box-sizing: border-box; }
.cc [hidden] { display: none !important; }
.cc button, .cc textarea, .cc input { font: inherit; }
.cc button { color: inherit; }

.cc-hero {
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.cc-hero > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% center;
  position: absolute;
  width: 100%;
}

.cc-hero-shade {
  background:
    linear-gradient(90deg, rgba(1, 6, 13, .98) 0%, rgba(2, 8, 16, .91) 32%, rgba(2, 8, 16, .25) 68%, rgba(2, 8, 16, .12)),
    linear-gradient(0deg, #030914 0%, transparent 30%);
  inset: 0;
  position: absolute;
}

.cc-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(2rem, 6vw, 5.5rem);
  position: relative;
  width: min(58%, 680px);
  z-index: 1;
}

.cc-kicker {
  color: var(--cc-gold);
  display: block;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  margin-bottom: .85rem;
  text-transform: uppercase;
}

.cc h2, .cc h3, .cc p { margin-top: 0; }

.cc-hero-copy h2,
.cc-heading h2,
.cc-loading h2,
.cc-reading-head h2 {
  color: #fff8e9;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.03em;
}

.cc-hero-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .98;
  margin-bottom: 1.3rem;
  text-wrap: balance;
}

.cc-hero-copy > p {
  color: #d6d7d6;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 620px;
}

.cc-hero-seals {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.cc-hero-seals span {
  align-items: center;
  background: rgba(4, 13, 25, .7);
  border: 1px solid rgba(207, 154, 101, .42);
  border-radius: 999px;
  color: #d8d1c5;
  display: inline-flex;
  font-size: .77rem;
  font-weight: 750;
  gap: .55rem;
  letter-spacing: .11em;
  padding: .55rem .85rem;
  text-transform: uppercase;
}

.cc-hero-seals i {
  color: var(--cc-gold);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-style: normal;
}

.cc-shell { padding: clamp(2rem, 5vw, 4.8rem); }
.cc-start, .cc-choose, .cc-reading { max-width: 1080px; margin: 0 auto; }

.cc-heading, .cc-reading-head { margin: 0 auto 2rem; max-width: 780px; text-align: center; }
.cc-heading h2, .cc-loading h2, .cc-reading-head h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.05; margin-bottom: .9rem; }
.cc-heading > p, .cc-loading > p, .cc-reading-head > p { color: var(--cc-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 0; }

.cc-form {
  background: linear-gradient(145deg, rgba(14, 30, 49, .88), rgba(4, 10, 19, .92));
  border: 1px solid var(--cc-line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 45px rgba(0, 0, 0, .24);
  margin: 0 auto;
  max-width: 940px;
  padding: clamp(1.15rem, 3vw, 2rem);
}

.cc-form fieldset { border: 0; margin: 0; padding: 0; }
.cc-form legend, .cc-question-label > span {
  color: var(--cc-gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  margin-bottom: .85rem;
  text-transform: uppercase;
}

.cc-topics { display: grid; gap: .75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cc-topics label { cursor: pointer; min-width: 0; position: relative; }
.cc-topics input { opacity: 0; pointer-events: none; position: absolute; }
.cc-topics label > span {
  align-items: center;
  background: rgba(2, 8, 16, .68);
  border: 1px solid var(--cc-blue-line);
  border-radius: 15px;
  display: grid;
  gap: .12rem .65rem;
  grid-template-columns: 2rem 1fr;
  min-height: 76px;
  padding: .8rem;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.cc-topics label > span i {
  align-items: center;
  border: 1px solid rgba(217, 190, 123, .45);
  border-radius: 50%;
  color: var(--cc-gold);
  display: flex;
  font-style: normal;
  grid-row: 1 / span 2;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.cc-topics strong { color: #f6ebd3; font-size: .91rem; }
.cc-topics small { color: #8f9dad; font-size: .72rem; line-height: 1.3; }
.cc-topics input:checked + span { background: rgba(121, 78, 45, .25); border-color: var(--cc-copper-light); transform: translateY(-2px); }
.cc-topics input:focus-visible + span { outline: 2px solid #f0d28d; outline-offset: 3px; }

.cc-question-label { align-items: baseline; display: flex; justify-content: space-between; margin: 1.55rem 0 .65rem; }
.cc-question-label > span { margin: 0; }
.cc-question-label small { color: #8492a0; font-size: .75rem; }
.cc-question {
  background: rgba(1, 6, 12, .72);
  border: 1px solid var(--cc-blue-line);
  border-radius: 13px;
  color: #f1e8d8;
  line-height: 1.5;
  min-height: 74px;
  padding: .9rem 1rem;
  resize: vertical;
  width: 100%;
}
.cc-question::placeholder { color: #657382; }
.cc-question:focus { border-color: var(--cc-copper-light); box-shadow: 0 0 0 3px rgba(207, 154, 101, .11); outline: 0; }

.cc-begin, .cc-share, .cc-again {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 850;
  gap: .6rem;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 48px;
  padding: .75rem 1.3rem;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.cc-begin {
  background: linear-gradient(135deg, #d4b36e, #a7653f);
  border: 0;
  box-shadow: 0 10px 30px rgba(150, 91, 53, .22);
  color: #09101a;
  margin: 1.25rem auto 0;
  min-width: min(100%, 300px);
}
.cc-begin:hover, .cc-share:hover:not(:disabled), .cc-again:hover { transform: translateY(-2px); }
.cc button:focus-visible { outline: 2px solid #f0d28d; outline-offset: 3px; }

.cc-loading { margin: 0 auto; max-width: 700px; padding: clamp(2rem, 6vw, 5rem) 0; text-align: center; }
.cc-loader { height: 180px; margin: 0 auto 1.5rem; position: relative; width: 180px; }
.cc-loader i { border: 1px solid var(--cc-copper); border-radius: 50%; inset: 10px; position: absolute; }
.cc-loader i:nth-child(2) { border-style: dashed; inset: 29px; animation: cc-spin 5s linear infinite reverse; }
.cc-loader i:nth-child(3) { border-color: var(--cc-gold); border-left-color: transparent; inset: 48px; animation: cc-spin 2.3s linear infinite; }
.cc-loader i:first-child { animation: cc-spin 8s linear infinite; }
.cc-loader b { align-items: center; color: var(--cc-gold); display: flex; font-size: 1.6rem; inset: 60px; justify-content: center; position: absolute; }
@keyframes cc-spin { to { transform: rotate(360deg); } }

.cc-deck {
  align-items: end;
  display: grid;
  gap: clamp(.4rem, 1.2vw, .8rem);
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1000px;
}

.cc-card-choice { background: none; border: 0; cursor: pointer; min-width: 0; padding: 0; transition: transform .28s ease, opacity .28s ease, filter .28s ease; }
.cc-card-choice > span { aspect-ratio: 2 / 3; border-radius: 8px; box-shadow: 0 9px 22px rgba(0, 0, 0, .36); display: block; overflow: hidden; position: relative; }
.cc-card-choice img { display: block; height: 100%; object-fit: cover; width: 100%; }
.cc-card-choice i { align-items: center; background: rgba(4, 10, 18, .82); border: 1px solid rgba(217, 190, 123, .55); border-radius: 50%; bottom: .5rem; color: var(--cc-gold); display: flex; font-size: .66rem; font-style: normal; height: 1.55rem; justify-content: center; position: absolute; right: .5rem; width: 1.55rem; }
.cc-card-choice:hover { transform: translateY(-9px); }
.cc-card-choice.is-chosen { filter: drop-shadow(0 0 12px rgba(219, 189, 119, .5)); transform: translateY(-13px) scale(1.04); }
.cc-card-choice.is-dimmed { filter: grayscale(.65); opacity: .22; transform: scale(.96); }
.cc-choose-status { color: var(--cc-gold); font-size: .88rem; font-weight: 700; letter-spacing: .06em; min-height: 1.5rem; padding-top: 1.3rem; text-align: center; }

.cc-reading-head { margin-bottom: 1.3rem; }
.cc-reading-focus { word-break: break-word; }
.cc-chamber { align-items: center; display: flex; flex-direction: column; margin: 0 auto 1.4rem; min-height: 550px; padding-top: 45px; position: relative; }
.cc-orbit { height: 500px; left: 50%; position: absolute; top: 8px; transform: translateX(-50%); width: 500px; }
.cc-orbit i { border: 1px solid rgba(195, 137, 88, .42); border-radius: 50%; inset: 0; position: absolute; }
.cc-orbit i::before, .cc-orbit i::after { background: var(--cc-copper-light); border-radius: 50%; content: ""; height: 7px; left: 50%; position: absolute; top: -4px; width: 7px; }
.cc-orbit i:nth-child(1) { animation: cc-spin 32s linear infinite; }
.cc-orbit i:nth-child(2) { border-style: dashed; inset: 31px; animation: cc-spin 24s linear infinite reverse; }
.cc-orbit i:nth-child(3) { border-color: rgba(217, 190, 123, .55); inset: 62px; animation: cc-spin 18s linear infinite; }
.cc-orbit i:nth-child(2)::after { left: auto; right: -4px; top: 50%; }
.cc-selected-card {
  aspect-ratio: 2 / 3;
  background: #07101c;
  border: 1px solid #d4b573;
  border-radius: 13px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .55), 0 0 0 7px rgba(6, 15, 26, .92), 0 0 0 8px rgba(185, 125, 75, .33);
  overflow: hidden;
  position: relative;
  width: 280px;
  z-index: 2;
}
.cc-selected-card img { display: block; height: 100%; object-fit: cover; width: 100%; }
.cc-selected-card span { align-items: center; background: rgba(3, 8, 15, .86); border: 1px solid rgba(217, 190, 123, .6); border-radius: 50%; color: var(--cc-gold); display: flex; font-family: Georgia, serif; font-size: .76rem; height: 2.2rem; justify-content: center; left: .75rem; position: absolute; top: .75rem; width: 2.2rem; }
.cc-card-meta { align-items: center; background: rgba(3, 10, 19, .92); border: 1px solid var(--cc-line); border-radius: 999px; bottom: 5px; display: flex; gap: .75rem; max-width: calc(100% - 2rem); padding: .55rem 1rem; position: absolute; z-index: 3; }
.cc-card-meta span { color: var(--cc-gold); font-family: Georgia, serif; }
.cc-card-meta strong { color: #f4e9d4; font-size: .8rem; }
.cc-card-meta small { color: #94a6b7; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

.cc-seal-progress { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin: 1.4rem auto .9rem; max-width: 940px; }
.cc-seal-progress p { color: var(--cc-muted); margin: 0; }
.cc-seal-progress strong { color: var(--cc-gold); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cc-seal-buttons { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto 1.4rem; max-width: 940px; }
.cc-seal-buttons button {
  align-items: center;
  background: linear-gradient(145deg, rgba(14, 31, 49, .95), rgba(3, 9, 17, .95));
  border: 1px solid var(--cc-blue-line);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  gap: .9rem;
  min-height: 82px;
  padding: .85rem 1rem;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.cc-seal-buttons button:hover { border-color: var(--cc-copper-light); transform: translateY(-2px); }
.cc-seal-buttons button > i { align-items: center; border: 1px solid rgba(217, 190, 123, .5); border-radius: 50%; color: var(--cc-gold); display: flex; flex: 0 0 2.8rem; font-family: Georgia, serif; font-size: 1.35rem; font-style: normal; height: 2.8rem; justify-content: center; }
.cc-seal-buttons button span { display: flex; flex-direction: column; gap: .12rem; }
.cc-seal-buttons button small { color: #8496a7; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.cc-seal-buttons button strong { color: #f2e6cf; font-size: .96rem; }
.cc-seal-buttons button.is-open { background: linear-gradient(145deg, rgba(121, 77, 45, .34), rgba(8, 19, 31, .95)); border-color: var(--cc-copper-light); }
.cc-seal-buttons button.is-open small::after { content: " ✓"; color: var(--cc-gold); }

.cc-interpretations { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto 1.2rem; max-width: 940px; }
.cc-interpretation {
  animation: cc-rise .5s ease both;
  background: linear-gradient(165deg, rgba(13, 28, 44, .92), rgba(3, 9, 16, .94));
  border: 1px solid var(--cc-blue-line);
  border-radius: 18px;
  display: flex;
  gap: .85rem;
  min-width: 0;
  padding: 1.1rem;
}
@keyframes cc-rise { from { opacity: 0; transform: translateY(14px); } }
.cc-interpretation-token { align-items: center; border: 1px solid var(--cc-line); border-radius: 50%; color: var(--cc-gold); display: flex; flex: 0 0 3rem; font-family: Georgia, serif; font-size: 1.2rem; height: 3rem; justify-content: center; }
.cc-interpretation-copy { min-width: 0; }
.cc-interpretation-copy > small { color: #7f94a7; display: block; font-size: .6rem; letter-spacing: .09em; line-height: 1.4; margin-bottom: .4rem; text-transform: uppercase; }
.cc-interpretation-copy h3 { color: #f4ead9; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; line-height: 1.15; margin-bottom: .4rem; }
.cc-interpretation-copy > strong { color: var(--cc-gold); display: block; font-size: .74rem; line-height: 1.4; margin-bottom: .7rem; }
.cc-interpretation-copy > strong i { color: #688096; font-style: normal; }
.cc-interpretation-copy p { color: #c6ced2; font-size: .86rem; line-height: 1.62; margin-bottom: .75rem; }
.cc-interpretation-copy p:last-child { margin-bottom: 0; }
.cc-correspondence { border-top: 1px solid rgba(122, 161, 193, .16); color: #9fb1bf !important; font-size: .79rem !important; padding-top: .7rem; }

.cc-formula {
  align-items: flex-start;
  background: linear-gradient(120deg, rgba(119, 74, 42, .28), rgba(8, 19, 31, .94));
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  display: flex;
  gap: 1rem;
  margin: 0 auto;
  max-width: 940px;
  padding: 1.2rem;
  transition: opacity .25s ease, border-color .25s ease;
}
.cc-formula.is-locked { opacity: .52; }
.cc-formula.is-complete { border-color: rgba(217, 190, 123, .65); box-shadow: 0 15px 40px rgba(0, 0, 0, .22); }
.cc-formula-mark { align-items: center; border: 1px solid var(--cc-copper-light); border-radius: 50%; color: var(--cc-gold); display: flex; flex: 0 0 3.3rem; height: 3.3rem; justify-content: center; }
.cc-formula > div:nth-child(2) { min-width: 0; }
.cc-formula small { color: var(--cc-gold); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .15em; margin-bottom: .45rem; text-transform: uppercase; }
.cc-formula p { color: #f6ead4; font-family: Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.35rem); font-style: italic; line-height: 1.45; margin-bottom: 0; }
.cc-topic-result { border-top: 1px solid rgba(217, 190, 123, .16); color: #b9c3ca; display: block; font-size: .84rem; line-height: 1.55; margin-top: .8rem; padding-top: .8rem; }
.cc-topic-result b { color: var(--cc-gold); display: block; font-size: .65rem; letter-spacing: .1em; margin-bottom: .3rem; text-transform: uppercase; }

.cc-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.4rem; }
.cc-share { background: linear-gradient(135deg, #d5b671, #a96943); border: 0; color: #07101a; }
.cc-share:disabled { cursor: not-allowed; opacity: .38; }
.cc-again { background: rgba(5, 14, 24, .82); border: 1px solid var(--cc-line); color: #e9dec9; }
.cc-share-status { color: var(--cc-gold); font-size: .8rem; min-height: 1.2rem; padding-top: .6rem; text-align: center; }
.cc-disclaimer { color: #697784; font-size: .72rem; margin-bottom: 0; text-align: center; }

@media (max-width: 880px) {
  .cc-hero-copy { width: 68%; }
  .cc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-deck { gap: .65rem; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 650px; }
  .cc-card-choice:nth-child(n+5) { transform: translateX(52%); }
  .cc-card-choice:nth-child(n+5):hover { transform: translateX(52%) translateY(-8px); }
  .cc-card-choice:nth-child(n+5).is-chosen { transform: translateX(52%) translateY(-11px) scale(1.04); }
  .cc-card-choice:nth-child(n+5).is-dimmed { transform: translateX(52%) scale(.96); }
  .cc-interpretations { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cc { border-radius: 17px; margin-inline: -.35rem; }
  .cc-hero { min-height: 560px; }
  .cc-hero > img { object-position: 66% center; }
  .cc-hero-shade { background: linear-gradient(0deg, #030914 0%, rgba(2, 8, 16, .83) 47%, rgba(2, 8, 16, .35) 100%); }
  .cc-hero-copy { justify-content: flex-end; min-height: 560px; padding: 2rem 1.25rem 2.4rem; text-align: center; width: 100%; }
  .cc-hero-copy h2 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .cc-hero-copy > p { font-size: .96rem; line-height: 1.58; }
  .cc-hero-seals { justify-content: center; }
  .cc-hero-seals span { font-size: .65rem; padding: .45rem .65rem; }
  .cc-shell { padding: 2.1rem .85rem 2.6rem; }
  .cc-heading h2, .cc-loading h2, .cc-reading-head h2 { font-size: 2.12rem; }
  .cc-form { padding: 1rem; }
  .cc-topics { gap: .55rem; }
  .cc-topics label > span { gap: .08rem .48rem; grid-template-columns: 1.75rem 1fr; min-height: 68px; padding: .65rem; }
  .cc-topics label > span i { height: 1.75rem; width: 1.75rem; }
  .cc-topics strong { font-size: .82rem; }
  .cc-topics small { font-size: .63rem; }
  .cc-question-label { align-items: flex-start; flex-direction: column; gap: .22rem; }
  .cc-deck { gap: .45rem; }
  .cc-card-choice > span { border-radius: 5px; }
  .cc-card-choice i { bottom: .3rem; height: 1.3rem; right: .3rem; width: 1.3rem; }
  .cc-chamber { min-height: 455px; padding-top: 45px; }
  .cc-orbit { height: 385px; width: 385px; }
  .cc-orbit i:nth-child(2) { inset: 24px; }
  .cc-orbit i:nth-child(3) { inset: 48px; }
  .cc-selected-card { border-radius: 10px; width: 220px; }
  .cc-card-meta { bottom: 0; gap: .48rem; padding: .5rem .7rem; }
  .cc-card-meta strong { font-size: .68rem; }
  .cc-card-meta small { font-size: .58rem; }
  .cc-seal-progress { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .cc-seal-progress p { font-size: .88rem; }
  .cc-seal-buttons { grid-template-columns: 1fr; }
  .cc-seal-buttons button { min-height: 70px; }
  .cc-interpretation { padding: .95rem; }
  .cc-interpretation-token { flex-basis: 2.65rem; font-size: 1rem; height: 2.65rem; }
  .cc-formula { display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); padding: 1rem; }
  .cc-formula-mark { flex-basis: 2.7rem; height: 2.7rem; }
  .cc-topic-result { grid-column: 1 / -1; margin-top: 0; }
  .cc-actions { align-items: stretch; flex-direction: column; }
  .cc-actions button { width: 100%; }
}

@media (max-width: 410px) {
  .cc-orbit { height: 340px; width: 340px; }
  .cc-selected-card { width: 195px; }
  .cc-chamber { min-height: 420px; }
  .cc-card-meta { max-width: 98%; }
}

@media (prefers-reduced-motion: reduce) {
  .cc *, .cc *::before, .cc *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
