@layer reset,base,components,responsive;
/* Selfetti: bright editorial cards, a cosmic first impression, quiet reading surfaces. */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  p,
  ul {
    margin: 0;
  }
  button,
  input,
  textarea,
  select {
    font: inherit;
  }
  button,
  a,
  input,
  textarea,
  select {
    -webkit-tap-highlight-color: transparent;
  }
  img,
  svg {
    max-width: 100%;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    cursor: not-allowed;
  }
  a {
    color: inherit;
  }
  button:disabled {
    opacity: 0.48;
  }
  [hidden] {
    display: none !important;
  }
}
@layer base {
  :root {
    --ink: #242331;
    --muted: #686570;
    --paper: #fbfaf6;
    --purple: #6646c8;
    --deep: #342159;
    --line: #ddd9e3;
    --lime: #e2f39d;
    --radius: 20px;
    color-scheme: light;
    font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
  }
  body {
    font-size: 17px;
    line-height: 1.65;
  }
  a {
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
  a:hover {
    color: var(--purple);
  }
  button {
    border: 0;
    background: transparent;
    color: inherit;
  }
  button,
  input,
  textarea,
  select {
    border-radius: 10px;
  }
  button {
    line-height: 1.4;
  }
  input,
  textarea,
  select {
    font-size: 16px;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #bdb8c6;
    background: white;
    color: var(--ink);
  }
  textarea {
    resize: vertical;
    min-height: 110px;
  }
  input[type="checkbox"],
  input[type="radio"] {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    accent-color: var(--purple);
  }
  input[type="date"] {
    max-width: 360px;
  }
  label {
    display: block;
    font-weight: 600;
    line-height: 1.5;
  }
  label input,
  label textarea,
  label select {
    margin-top: 8px;
  }
  form {
    display: grid;
    gap: 20px;
  }
  form .button {
    justify-self: start;
  }
  fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  legend {
    font-weight: 600;
    margin-bottom: 18px;
  }
  h1,
  h2,
  h3 {
    line-height: 1.15;
    letter-spacing: -0.045em;
    font-weight: 650;
  }
  h1 {
    font-size: clamp(38px, 5.3vw, 64px);
  }
  h2 {
    font-size: clamp(27px, 3.1vw, 38px);
  }
  h3 {
    font-size: 23px;
  }
  p {
    color: var(--muted);
  }
  p + p {
    margin-top: 16px;
  }
  ul {
    padding-left: 24px;
  }
  main {
    max-width: 1200px;
    padding: 0 38px 64px;
    margin: auto;
    min-height: 65vh;
  }
  main > section {
    margin-bottom: 72px;
  }
  section:target {
    scroll-margin-top: 110px;
  }
  :focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 4px;
  }
  ::selection {
    background: #e2f39d;
    color: var(--ink);
  }
  details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }
  summary {
    font-weight: 600;
    cursor: pointer;
    line-height: 1.5;
  }
  details p {
    margin-top: 14px;
  }
  .skip-link {
    position: absolute;
    left: 20px;
    top: -80px;
    padding: 12px 20px;
    background: white;
    z-index: 20;
  }
  .skip-link:focus {
    top: 12px;
  }
  button,
  a,
  input,
  select {
    touch-action: manipulation;
  }
}
@layer components {
  .site-header {
    max-width: 1360px;
    margin: auto;
    padding: 25px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-size: 31px;
    font-weight: 750;
    letter-spacing: -1.4px;
  }
  .brand svg {
    width: 30px;
    height: 30px;
    color: var(--purple);
  }
  .site-header nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 15px;
    font-weight: 550;
  }
  .site-header nav a {
    text-decoration: none;
  }
  .site-header nav a[aria-current="page"] {
    color: var(--purple);
  }
  .language-link,
  .lang-link {
    font-size: 14px;
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 6px 12px;
  }
  .eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.13em;
    font-weight: 700;
    line-height: 1.5;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--purple);
    color: white;
    border: 1px solid var(--purple);
    border-radius: 12px;
    padding: 15px 22px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    min-height: 50px;
    transition:
      background 0.16s,
      transform 0.16s;
  }
  .button:hover {
    background: #5538b3;
    color: white;
    transform: translateY(-1px);
  }
  .button.secondary {
    background: transparent;
    border-color: #c8bedc;
    color: var(--deep);
  }
  .button.secondary:hover {
    background: #f0eaf9;
  }
  .button.light {
    background: var(--lime);
    color: var(--deep);
    border-color: var(--lime);
  }
  .text-button {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 10px 4px;
  }
  .text-button:hover {
    color: var(--purple);
  }
  .text-button.small {
    font-size: 12px;
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
  }
  .fine {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
  }
  .small-pill {
    white-space: nowrap;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 7px 13px;
  }
  .home-hero {
    padding-top: 77px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    min-height: 570px;
  }
  .home-hero h1 {
    font-size: clamp(58px, 7.5vw, 94px);
    line-height: 1.02;
    margin: 23px 0 25px;
    letter-spacing: -0.065em;
  }
  .home-hero h1 em {
    font-style: normal;
    color: var(--purple);
  }
  .hero-copy {
    max-width: 470px;
    margin-bottom: 28px;
    font-size: 18px;
  }
  .home-hero .fine {
    margin-top: 15px;
  }
  .hero-result {
    background: #e7def6;
    border: 1px solid #d4c3e7;
    border-radius: 25px;
    padding: 30px 30px 22px;
    position: relative;
    transform: rotate(3deg);
    max-width: 405px;
    min-height: 420px;
    box-shadow: 9px 12px 0 #efece1;
    margin: 10px auto;
  }
  .hero-result > .result-emblem {
    font-size: 110px;
    line-height: 1.3;
    margin: 13px 0 14px;
    color: #6646b6;
  }
  .hero-result h2 {
    font-size: 38px;
    margin-bottom: 13px;
  }
  .hero-result p {
    color: #534369;
    font-size: 17px;
    max-width: 280px;
  }
  .mini-brand {
    display: block;
    margin-top: 30px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.7px;
  }
  .result-sticker {
    background: var(--lime);
    position: absolute;
    right: -29px;
    top: 133px;
    padding: 23px 16px;
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
    font-weight: 650;
    line-height: 1.35;
    transform: rotate(10deg);
    width: 123px;
    height: 105px;
    display: grid;
    place-content: center;
    box-shadow: 0 2px 0 #cad981;
  }
  .section-heading {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    max-width: 680px;
    margin-top: 13px;
  }
  .test-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .test-card {
    display: flex;
    flex-direction: column;
    background: var(--tile, #e5dcf4);
    border: 1px solid #0000000c;
    border-radius: var(--radius);
    padding: 25px;
    text-decoration: none;
    transition:
      transform 0.17s,
      box-shadow 0.17s;
    min-height: 330px;
  }
  .test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px #2721380a;
    color: var(--ink);
  }
  .card-number {
    font-size: 10px;
    letter-spacing: 0.13em;
    font-weight: 700;
  }
  .card-symbol {
    font-size: 70px;
    line-height: 1.1;
    margin: 23px 0;
    color: #3d3554;
  }
  .test-card h3,
  .test-card h2 {
    font-size: 27px;
    margin-bottom: 11px;
  }
  .test-card p {
    font-size: 14px;
    color: #534c5d;
    line-height: 1.6;
    flex: 1;
  }
  .card-link {
    display: flex;
    justify-content: space-between;
    margin-top: 27px;
    font-size: 13px;
    font-weight: 650;
  }
  .duo-banner {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 30px;
    border-radius: var(--radius);
    background: var(--deep);
    padding: 40px;
    color: #faf7ff;
    margin-top: 50px;
  }
  .duo-symbol {
    font-size: 66px;
    line-height: 1;
    color: #d2c0f6;
    letter-spacing: -10px;
  }
  .duo-banner h2 {
    margin: 12px 0 15px;
    font-size: 33px;
  }
  .duo-banner p {
    color: #d6cbe8;
    font-size: 15px;
    max-width: 470px;
  }
  .duo-banner .eyebrow {
    color: #d2c0f6;
  }
  .ritual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .ritual-card {
    display: flex;
    gap: 22px;
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
    text-decoration: none;
  }
  .ritual-card > span {
    font-size: 57px;
    color: var(--purple);
  }
  .ritual-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .ritual-card p {
    font-size: 14px;
  }
  .ritual-card > b {
    margin-left: auto;
  }
  .home-context {
    max-width: 790px;
  }
  .home-context h2 {
    font-size: 30px;
  }
  .article-block h2,
  .article-block h3 {
    margin-bottom: 20px;
  }
  .article-block p {
    margin-bottom: 20px;
  }
  .article-block > .eyebrow {
    margin-bottom: 15px;
  }
  .article-block {
    margin: 56px auto;
  }
  .reading-width {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
  }
  .reading-width .related {
    margin: 30px 0;
  }
  .related {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    margin-top: 24px;
  }
  .page-intro {
    text-align: center;
    max-width: 800px;
    margin: 66px auto 36px;
  }
  .page-intro h1 {
    margin: 18px 0 23px;
  }
  .page-intro p {
    font-size: 18px;
  }
  .panel {
    padding: 32px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .panel h2,
  .panel h3 {
    margin-bottom: 16px;
  }
  .panel p {
    margin-bottom: 20px;
  }
  .panel + .panel {
    margin-top: 20px;
  }
  .article-page {
    margin-top: 65px;
  }
  .article-page h1 {
    margin: 17px 0 27px;
  }
  .article-page .lede {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .article-page section {
    margin: 38px 0;
  }
  .article-page section h2 {
    font-size: 29px;
    margin-bottom: 18px;
  }
  .article-page li {
    margin-top: 12px;
  }
  .tool-head {
    padding-top: 65px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
    align-items: start;
  }
  .quiz-intro {
    position: sticky;
    top: 25px;
  }
  .quiz-intro h1 {
    font-size: clamp(35px, 3.8vw, 49px);
    margin: 19px 0 23px;
  }
  .quiz-intro p {
    font-size: 16px;
  }
  .quiz-panel {
    padding: 29px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    scroll-margin-top: 22px;
    min-width: 0;
  }
  .quiz-meta {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
  }
  progress {
    width: 100%;
    height: 5px;
    border: 0;
    background: #eee9f3;
    display: block;
    margin: 17px 0 31px;
    border-radius: 3px;
    overflow: hidden;
  }
  progress::-webkit-progress-bar {
    background: #eee9f3;
  }
  progress::-webkit-progress-value {
    background: var(--purple);
  }
  progress::-moz-progress-bar {
    background: var(--purple);
  }
  .quiz-panel legend {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.025em;
    margin-bottom: 25px;
  }
  .answers {
    display: grid;
    gap: 11px;
  }
  .answers label {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    position: relative;
  }
  .answers label:hover {
    border-color: #a997ce;
  }
  .answers label.selected,
  .answers label:has(input:checked) {
    background: #f2ebfc;
    border-color: var(--purple);
  }
  .answers input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
  }
  .answers label:has(input:focus-visible) {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
  }
  .choice-dot {
    width: 18px;
    height: 18px;
    border: 1px solid #aaa0b6;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .selected .choice-dot,
  input:checked + .choice-dot {
    border: 5px solid var(--purple);
  }
  .quiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 25px 0 17px;
  }
  .quiz-actions .button:only-child {
    margin-left: auto;
  }
  .result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }
  .result-top .eyebrow {
    font-size: 9px;
  }
  .result-card {
    background: var(--tile);
    border-radius: 15px;
    padding: 23px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .result-emblem {
    font-size: 64px;
    line-height: 1.1;
    flex-shrink: 0;
  }
  .result-card h2 {
    font-size: 31px;
    margin-bottom: 10px;
  }
  .result-line {
    font-size: 15px;
    color: #423950;
  }
  .result-detail {
    font-size: 17px;
    color: var(--ink);
    margin: 26px 0;
  }
  .result-columns {
    display: grid;
    gap: 20px;
  }
  .result-columns h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  .result-columns p {
    font-size: 15px;
  }
  .action-card {
    background: #f1f4e4;
    padding: 20px;
    border-radius: 14px;
  }
  .action-card .eyebrow {
    margin-bottom: 10px;
  }
  .evidence {
    font-size: 14px;
  }
  .evidence ul {
    list-style: none;
    padding: 0;
    margin: 19px 0;
  }
  .evidence li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 3px solid #e6dcf6;
    padding: 4px 0 4px 14px;
    margin: 15px 0;
  }
  .evidence li b {
    font-size: 12px;
    color: var(--purple);
  }
  .dimension-list {
    display: grid;
    gap: 22px;
    margin: 25px 0;
  }
  .dimension-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
  }
  .dimension-title span {
    color: var(--muted);
  }
  .dimension-track {
    position: relative;
    height: 5px;
    background: linear-gradient(90deg, #ddd4f0, #ece6ef, #ddd4f0);
    margin: 13px 0;
  }
  .dimension-track i {
    position: absolute;
    transform: translate(-50%, -4px);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--purple);
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--purple);
  }
  .dimension-ends {
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
  }
  .result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
  }
  .result-actions .button {
    font-size: 14px;
    padding: 12px 17px;
    gap: 12px;
  }
  .ai-section {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 23px;
    margin: 25px 0;
  }
  .ai-section h3 {
    font-size: 23px;
    margin: 10px 0 12px;
  }
  .ai-section p {
    font-size: 14px;
    margin-bottom: 17px;
  }
  .ai-section .eyebrow {
    font-size: 9px;
  }
  .ai-section .button {
    font-size: 13px;
    padding: 10px 15px;
    min-height: 44px;
  }
  #ai-output:not(:empty) {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 20px;
  }
  #ai-output h3 {
    font-size: 22px;
  }
  #ai-output h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .result-feedback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin: 23px 0;
  }
  .result-feedback span {
    width: 100%;
  }
  .result-feedback button {
    border: 1px solid var(--line);
    padding: 7px 12px;
    border-radius: 20px;
  }
  .result-feedback button:hover {
    background: #f3eefd;
  }
  .pair-heading {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 24px 0;
  }
  .pair-dimension {
    border-top: 1px solid var(--line);
    padding: 23px 0;
  }
  .pair-dimension h3 {
    font-size: 21px;
    margin-bottom: 12px;
  }
  .pair-dimension p {
    font-size: 15px;
  }
  .pair-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
    font-size: 13px;
  }
  .pair-row progress {
    margin: 0;
    flex: 1;
  }
  .pair-card {
    margin-top: 25px;
    padding: 23px;
    background: #f6f2fc;
    border-radius: 15px;
  }
  .pair-card h2 {
    font-size: 28px;
    margin: 12px 0 20px;
  }
  .pair-card h3 {
    font-size: 20px;
    margin: 17px 0 10px;
  }
  .pair-card p {
    font-size: 15px;
  }
  .tarot-tool {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  .card-back,
  .tarot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    aspect-ratio: 2/3;
    max-width: 245px;
    width: 100%;
    border: 1px solid #c5b3e4;
    border-radius: 16px;
    background: var(--deep);
    color: #eee5c1;
    outline: 1px solid #c5b3e4;
    outline-offset: -11px;
    padding: 34px;
    font-size: 64px;
  }
  .card-back span,
  .tarot-card span {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .tarot-card h2 {
    font-size: 26px;
    text-align: center;
    color: #eee5c1;
  }
  .tarot-tool .button {
    margin: 23px 0 15px;
  }
  .tarot-tool h2 {
    font-size: 31px;
  }
  .tarot-tool p {
    font-size: 16px;
  }
  .zodiac-symbol {
    font-size: 60px;
  }
  #zodiac-result:not(:empty) {
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
  }
  #zodiac-result h2 {
    margin-bottom: 15px;
  }
  .notice {
    background: #f1ecf7;
    border-radius: 14px;
    padding: 20px;
    font-size: 14px;
    margin: 20px 0;
  }
  .offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .offer {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 25px;
    background: white;
    display: flex;
    flex-direction: column;
  }
  .offer h2 {
    font-size: 25px;
    margin: 16px 0;
  }
  .offer p {
    font-size: 15px;
  }
  .offer .price {
    font-size: 36px;
    color: var(--ink);
    letter-spacing: -0.05em;
    margin: 18px 0;
  }
  .offer .button {
    margin-top: auto;
  }
  .offer .interest-status {
    font-size: 12px;
    margin-top: 15px;
  }
  .community-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  .community-tabs,
  .tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }
  .community-tabs button,
  .tabs button {
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 30px;
  }
  .community-tabs button.active,
  .tabs button.active,
  .community-tabs [aria-selected="true"] {
    background: var(--deep);
    color: white;
  }
  .toolbar-actions {
    display: flex;
    gap: 13px;
    align-items: center;
  }
  .empty-state {
    text-align: center;
    max-width: 650px;
    margin: 25px auto 60px;
    padding: 40px 23px;
    background: #f2edf8;
    border-radius: 22px;
  }
  .empty-state h2 {
    font-size: 29px;
    margin-bottom: 15px;
  }
  .empty-state p {
    font-size: 15px;
    margin-bottom: 23px;
  }
  .topic-grid,
  .member-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .topic-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: white;
    padding: 26px;
    transition: border-color 0.15s;
  }
  .topic-card:hover {
    border-color: var(--purple);
    color: var(--ink);
  }
  .topic-card h2,
  .topic-card h3 {
    font-size: 25px;
    line-height: 1.25;
    margin: 13px 0;
  }
  .topic-card p {
    font-size: 15px;
  }
  .topic-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: var(--muted);
    margin-top: 20px;
  }
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0;
  }
  .chips span,
  .tag {
    font-size: 11px;
    background: #f2edf8;
    padding: 5px 9px;
    border-radius: 20px;
  }
  .user-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .topic-body {
    margin: 25px 0;
    font-size: 18px;
    color: var(--ink);
  }
  .topic-page {
    max-width: 820px;
    margin: 60px auto;
  }
  .topic-page h1 {
    margin: 20px 0 26px;
  }
  .topic-page > .fine {
    margin-bottom: 22px;
  }
  .topic-tools,
  .comment-tools {
    display: flex;
    gap: 15px;
    font-size: 12px;
  }
  .topic-tools {
    margin: 20px 0;
  }
  #topic-comments {
    margin-top: 40px;
  }
  #topic-comments > h2 {
    margin-bottom: 25px;
  }
  .comment {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }
  .comment > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
  }
  .comment p {
    margin: 12px 0;
    color: var(--ink);
    font-size: 16px;
  }
  .comment-tools button {
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 5px 0;
  }
  .poll {
    background: #f5f0fc;
    border-radius: 18px;
    padding: 26px;
    margin: 30px 0;
  }
  .poll h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .poll-option {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid #d0c7df;
    background: white;
    text-align: left;
    padding: 13px 17px;
    margin-bottom: 9px;
  }
  .poll-option i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #e6dcf9;
    pointer-events: none;
  }
  .poll-option span,
  .poll-option b {
    position: relative;
  }
  .poll-option.selected {
    border: 2px solid var(--purple);
    padding: 12px 16px;
  }
  .poll-option.selected span::before {
    content: "✓ ";
    color: var(--purple);
  }
  .poll .fine {
    margin-top: 15px;
  }
  .member {
    margin: 0 !important;
  }
  .member h2 {
    font-size: 25px;
  }
  .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8dff7;
    color: var(--deep);
    font-size: 20px;
    font-weight: 600;
    display: inline-grid;
    place-content: center;
    margin-bottom: 14px;
  }
  .thread-card {
    display: flex;
    align-items: center;
    gap: 17px;
    border: 1px solid var(--line);
    background: white;
    padding: 20px;
    width: 100%;
    text-align: left;
    margin-bottom: 14px;
  }
  .thread-card .avatar {
    margin: 0;
  }
  .thread-card small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
  }
  .thread-card > span:last-child {
    margin-left: auto;
  }
  .messages {
    display: grid;
    gap: 16px;
    max-height: 330px;
    overflow: auto;
    padding: 10px 0;
    margin-bottom: 23px;
  }
  .message {
    background: #f2eef6;
    border-radius: 13px;
    padding: 15px;
    max-width: 92%;
    justify-self: start;
    font-size: 14px;
  }
  .message.mine {
    background: #e7e0f6;
    justify-self: end;
  }
  .message b {
    font-size: 11px;
  }
  .message p {
    margin: 7px 0 0;
    color: var(--ink);
  }
  .share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font-size: 14px;
  }
  #account-panel {
    margin: 40px 0;
  }
  .check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.55;
  }
  .check input {
    margin-top: 2px;
  }
  .check + .check {
    margin-top: 12px;
  }
  dialog {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 38px 30px 30px;
    max-width: 600px;
    width: calc(100% - 28px);
    max-height: 90dvh;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 30px 100px #231d4430;
  }
  dialog::backdrop {
    background: #231d446b;
    backdrop-filter: blur(3px);
  }
  .modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 32px;
    height: 32px;
    font-size: 25px;
  }
  .modal-close:hover {
    background: #eee5fa;
  }
  #modal-body h2 {
    font-size: 30px;
    margin: 10px 0 22px;
  }
  #modal-body p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  #modal-body form label {
    font-size: 14px;
  }
  #modal-body legend {
    font-size: 16px;
  }
  #modal-body .button {
    margin-right: 10px;
  }
  #modal-body > .button {
    margin-top: 20px;
  }
  .site-footer {
    max-width: 1284px;
    margin: auto;
    padding: 40px 38px 45px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
  }
  .site-footer .brand {
    font-size: 26px;
  }
  .site-footer p {
    font-size: 12px;
    margin-top: 10px;
  }
  .site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    align-items: center;
    max-width: 540px;
    font-size: 12px;
  }
  .site-footer nav a {
    text-decoration: none;
  }
  .site-footer button {
    font-size: 12px;
    text-align: left;
    padding: 0;
  }
  .consent-bar,
  #consent {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 760px;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 50px #30254324;
    z-index: 8;
    font-size: 13px;
  }
  .consent-bar p,
  #consent p {
    font-size: 12px;
    margin-top: 5px;
  }
  .consent-bar .button,
  #consent .button {
    font-size: 13px;
    padding: 10px 17px;
    min-height: 42px;
  }
  .consent-bar .text-button,
  #consent .text-button {
    white-space: nowrap;
  }
  #toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-width: min(600px, 90vw);
    border-radius: 12px;
    padding: 15px 23px;
    background: var(--deep);
    color: white;
    z-index: 30;
    font-size: 14px;
    box-shadow: 0 5px 30px #0002;
    transition: 0.18s;
  }
  #toast.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
  }
  .admin-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0;
  }
  .admin-metrics .panel {
    margin: 0;
  }
  .admin-metrics b {
    font-size: 35px;
  }
  .admin-metrics p {
    font-size: 13px;
  }
  .table-scroll {
    overflow-x: auto;
    margin: 20px 0 40px;
  }
  table {
    border-collapse: collapse;
    min-width: 500px;
    width: 100%;
    font-size: 13px;
    text-align: left;
  }
  th,
  td {
    padding: 13px;
    border-bottom: 1px solid var(--line);
  }
  th {
    background: #eee7f7;
  }
  #admin-panel h2 {
    font-size: 29px;
    margin: 28px 0 20px;
  }
  #admin-panel .panel button {
    border: 1px solid var(--line);
    padding: 9px 14px;
    margin: 12px 10px 0 0;
    font-size: 13px;
  }
  .share-page {
    max-width: 800px;
    margin: 60px auto;
  }
  .share-page .result-card {
    padding: 35px;
    margin: 30px 0;
  }
  .share-page > h1 {
    margin: 20px 0;
  }
  .noscript {
    padding: 18px;
    background: #fff3c9;
    font-size: 14px;
    border-radius: 12px;
    margin: 20px 0;
  }
}
@layer responsive {
  @media (min-width: 1350px) {
    .home-hero {
      gap: 100px;
    }
  }
  @media (max-width: 950px) {
    .site-header {
      padding: 22px 30px;
      gap: 15px;
    }
    .site-header nav {
      gap: 18px;
      font-size: 13px;
    }
    main {
      padding: 0 30px 45px;
    }
    .home-hero {
      gap: 40px;
    }
    .hero-result {
      max-width: 335px;
      padding: 26px;
      min-height: 390px;
    }
    .hero-result h2 {
      font-size: 31px;
    }
    .result-sticker {
      right: -15px;
      width: 106px;
      height: 96px;
      font-size: 12px;
    }
    .duo-banner {
      grid-template-columns: 75px 1fr;
      gap: 25px;
    }
    .duo-banner .button {
      grid-column: 2;
      justify-self: start;
    }
    .duo-symbol {
      font-size: 50px;
    }
    .test-card {
      padding: 20px;
    }
    .tool-head {
      gap: 30px;
      grid-template-columns: 0.8fr 1.2fr;
    }
    .quiz-panel {
      padding: 23px;
    }
    .offer-grid {
      gap: 12px;
    }
    .offer {
      padding: 20px;
    }
  }
  @media (max-width: 700px) {
    body {
      font-size: 16px;
    }
    .site-header {
      padding: 17px 20px;
      flex-wrap: wrap;
      gap: 15px;
    }
    .brand {
      font-size: 28px;
    }
    .brand svg {
      width: 26px;
    }
    .site-header nav {
      order: 3;
      width: 100%;
      justify-content: space-between;
      gap: 9px;
      font-size: 13px;
    }
    .site-header > .language-link,
    .site-header > .lang-link {
      margin-left: auto;
    }
    main {
      padding: 0 20px 35px;
    }
    main > section {
      margin-bottom: 45px;
    }
    .home-hero {
      padding-top: 40px;
      grid-template-columns: 1fr;
      gap: 35px;
    }
    .home-hero h1 {
      font-size: 64px;
      margin: 18px 0 22px;
    }
    .hero-copy {
      font-size: 17px;
      max-width: 440px;
    }
    .home-hero .eyebrow {
      font-size: 10px;
    }
    .hero-result {
      width: calc(100% - 38px);
      max-width: 390px;
      min-height: 350px;
      margin: 15px auto 30px;
    }
    .hero-result > .result-emblem {
      font-size: 80px;
      margin: 6px 0 15px;
    }
    .hero-result h2 {
      font-size: 34px;
    }
    .result-sticker {
      top: 100px;
      right: -18px;
    }
    .section-heading {
      align-items: start;
      flex-direction: column;
      gap: 17px;
    }
    .section-heading h2 {
      font-size: 29px;
      margin-top: 10px;
    }
    .test-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .test-card {
      min-height: 0;
      display: grid;
      grid-template-columns: 1fr 75px;
      gap: 9px 20px;
      padding: 25px;
    }
    .card-number {
      grid-column: 1;
    }
    .card-symbol {
      grid-column: 2;
      grid-row: 1/4;
      align-self: center;
      justify-self: center;
      margin: 0;
      font-size: 64px;
    }
    .test-card h3,
    .test-card h2 {
      grid-column: 1;
      font-size: 27px;
      margin: 0;
    }
    .test-card p {
      grid-column: 1;
    }
    .card-link {
      grid-column: 1/-1;
      margin-top: 17px;
    }
    .test-card > .eyebrow {
      grid-column: 1;
    }
    .duo-banner {
      padding: 28px;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 30px;
    }
    .duo-symbol {
      font-size: 45px;
    }
    .duo-banner h2 {
      font-size: 30px;
    }
    .duo-banner .button {
      grid-column: 1;
    }
    .ritual-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .ritual-card {
      padding: 25px 0;
    }
    .ritual-card + .ritual-card {
      border-top: 0;
    }
    .ritual-card h2 {
      font-size: 22px;
    }
    .ritual-card > span {
      font-size: 48px;
    }
    .article-block {
      margin: 38px auto;
    }
    .article-block h2 {
      font-size: 28px;
    }
    .page-intro {
      margin: 40px auto 30px;
      text-align: left;
    }
    .page-intro h1 {
      font-size: 39px;
      line-height: 1.15;
    }
    .page-intro p {
      font-size: 17px;
    }
    .panel {
      padding: 24px;
    }
    .tool-head {
      display: block;
      padding-top: 38px;
    }
    .quiz-intro {
      position: static;
      margin-bottom: 30px;
    }
    .quiz-intro h1 {
      font-size: 40px;
      max-width: 500px;
    }
    .quiz-panel {
      padding: 22px 19px;
    }
    .quiz-panel legend {
      font-size: 23px;
    }
    .quiz-meta {
      font-size: 10px;
    }
    .answers label {
      padding: 15px 13px;
    }
    .result-card {
      padding: 20px;
      gap: 17px;
    }
    .result-card h2 {
      font-size: 29px;
    }
    .result-emblem {
      font-size: 54px;
    }
    .result-line {
      font-size: 13px;
    }
    .result-actions .button {
      flex: 1;
      min-width: 180px;
    }
    .result-top {
      align-items: flex-start;
    }
    .result-top .text-button {
      font-size: 11px;
      padding-top: 0;
    }
    .ai-section {
      padding: 20px;
    }
    .article-page {
      margin-top: 40px;
    }
    .article-page h1 {
      font-size: 38px;
    }
    .article-page .lede {
      font-size: 18px;
    }
    .article-page section h2 {
      font-size: 27px;
    }
    .tarot-tool {
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
    }
    .card-back,
    .tarot-card {
      max-width: 190px;
      margin: auto;
    }
    .tarot-tool h2 {
      font-size: 28px;
    }
    .tarot-tool .button {
      width: 100%;
    }
    .offer-grid,
    .topic-grid,
    .member-grid {
      grid-template-columns: 1fr;
    }
    .offer {
      padding: 26px;
    }
    .offer .button {
      margin-top: 24px;
    }
    .community-toolbar {
      gap: 19px;
    }
    .community-tabs,
    .tabs {
      width: 100%;
      justify-content: space-between;
      gap: 0;
    }
    .community-tabs button,
    .tabs button {
      font-size: 12px;
      padding: 9px 12px;
    }
    .toolbar-actions {
      width: 100%;
      justify-content: space-between;
    }
    .topic-page {
      margin-top: 38px;
    }
    .topic-page h1 {
      font-size: 36px;
    }
    .topic-card h2 {
      font-size: 24px;
    }
    .empty-state {
      padding: 32px 22px;
    }
    .empty-state h2 {
      font-size: 26px;
    }
    .poll {
      padding: 22px 18px;
    }
    .site-footer {
      padding: 30px 20px 140px;
      gap: 28px;
    }
    .site-footer nav {
      width: 100%;
      gap: 15px 22px;
    }
    .consent-bar,
    #consent {
      bottom: 10px;
      padding: 16px;
      flex-wrap: wrap;
      gap: 10px 18px;
    }
    .consent-bar > div,
    #consent > div {
      width: 100%;
    }
    .consent-bar .button,
    #consent .button {
      min-height: 36px;
    }
    .consent-bar .text-button,
    #consent .text-button {
      padding: 6px;
    }
    .admin-metrics {
      grid-template-columns: 1fr;
    }
    .admin-metrics .panel {
      padding: 20px;
      display: flex;
      gap: 25px;
      align-items: center;
    }
    .admin-metrics p {
      margin: 0;
    }
    .share-page {
      margin: 40px auto;
    }
    .share-page .result-card {
      padding: 25px;
    }
    dialog {
      padding: 37px 23px 26px;
    }
    #modal-body h2 {
      font-size: 27px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}

@layer components {
  .beta {
    font-size: 8px;
    letter-spacing: 0.1em;
    background: #eee7fa;
    color: var(--purple);
    padding: 3px 5px;
    border-radius: 4px;
    margin-top: -17px;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-top > span {
    font-size: 12px;
    color: var(--muted);
  }
  .site-footer > .fine {
    width: 100%;
    max-width: 750px;
  }
  .site-footer nav.footer-links {
    gap: 17px 23px;
  }
  .shared-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding-top: 60px;
    min-height: 570px;
  }
  .shared-page h1 {
    font-size: 38px;
  }
  .shared-page h2 {
    margin: 18px 0 24px;
  }
  .shared-page .button {
    margin: 24px 0;
  }
  .shared-page .hero-result {
    background: var(--tile, #e7def6);
  }
  .shared-page .text-link {
    display: block;
    max-width: max-content;
  }
  .pair-reading {
    margin-top: 30px;
  }
  .pair-reading > h2 {
    font-size: 29px;
    margin: 15px 0;
  }
  .pair-reading > p {
    font-size: 15px;
  }
  .pair-insight {
    border-top: 1px solid var(--line);
    padding: 23px 0;
  }
  .pair-insight h3 {
    font-size: 21px;
    margin: 13px 0;
  }
  .pair-insight p {
    font-size: 14px;
  }
  .pair-bars {
    margin-top: 15px;
  }
  .pair-bars > div {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 12px;
  }
  .pair-bars > div > span {
    width: 48px;
  }
  .pair-bars progress {
    margin: 8px 0;
    flex: 1;
  }
  .pair-bars small {
    font-size: 10px;
    color: var(--muted);
  }
  .muted {
    color: var(--muted);
  }
  .drawn-card {
    border: 1px solid #b5a0d4;
    border-radius: 16px;
    background: var(--deep);
    color: #efe4c4;
    aspect-ratio: 2/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 30px 23px;
    outline: 1px solid #b5a0d4;
    outline-offset: -11px;
    text-align: center;
    max-width: 245px;
  }
  .drawn-card h2 {
    font-size: 25px;
  }
  .drawn-card > span:last-child {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .tarot-symbol {
    font-size: 90px;
    line-height: 1;
  }
  .community-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
  }
  .topic-card .button {
    margin-top: 22px;
    width: 100%;
  }
  .source-tag {
    display: inline-block;
    margin-top: 17px;
    font-size: 10px;
    color: var(--muted);
  }
  .offer.panel {
    margin: 0;
  }
  .price > span {
    font-size: 12px;
    letter-spacing: 0;
  }
  .article-page > h2 {
    font-size: 28px;
    margin: 34px 0 20px;
  }
  .article-page > .fine {
    margin-bottom: 25px;
  }
}
@layer responsive {
  @media (max-width: 700px) {
    .shared-page {
      grid-template-columns: 1fr;
      gap: 38px;
      padding-top: 30px;
    }
    .shared-page .hero-result {
      min-height: 340px;
    }
    .shared-page h2 {
      font-size: 33px;
    }
    .drawn-card {
      max-width: 195px;
      margin: auto;
    }
    .site-header .language-link {
      margin-left: auto;
    }
    .home-context h2 {
      font-size: 28px;
    }
    .community-status {
      align-items: start;
    }
  }
}
