      :root {
        --gold: #d4af37;
        --gold-light: #f5e17a;
        --cream: #faf8f5;
        --cream-dark: #f0ebe3;
        --gold: #b8956c;
        --gold-light: #d4a574;
        --text: #e8e0d5;
        --text-dim: #7a7060;
        --dark: #0f0918;
      }
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      body {
        background: linear-gradient(180deg, #14102a 0, #1e1638 44%, #181230 100%);
        color: var(--text);
        font-family: "Noto Serif TC", "Noto Serif SC", "Noto Serif JP", "Noto Serif KR", "Noto Serif", serif;
        min-height: 100vh;
        overflow-x: hidden;
        cursor:
          url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='4' fill='%23c9a84c' opacity='0.8'/%3E%3C/svg%3E")
            10 10,
          auto;
      }
      body::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image:
          radial-gradient(1px 1px at 10% 15%, rgba(212, 175, 55, 0.62) 0, transparent 100%),
          radial-gradient(1px 1px at 25% 45%, rgba(212, 175, 55, 0.48) 0, transparent 100%),
          radial-gradient(1.5px 1.5px at 40% 8%, rgba(255, 255, 255, 0.48) 0, transparent 100%),
          radial-gradient(1px 1px at 55% 70%, rgba(212, 175, 55, 0.42) 0, transparent 100%),
          radial-gradient(1px 1px at 70% 25%, rgba(255, 255, 255, 0.34) 0, transparent 100%),
          radial-gradient(1.5px 1.5px at 85% 55%, rgba(212, 175, 55, 0.46) 0, transparent 100%),
          radial-gradient(1px 1px at 15% 80%, rgba(255, 255, 255, 0.3) 0, transparent 100%),
          radial-gradient(1px 1px at 90% 10%, rgba(212, 175, 55, 0.4) 0, transparent 100%),
          radial-gradient(1px 1px at 60% 90%, rgba(255, 255, 255, 0.26) 0, transparent 100%),
          radial-gradient(1px 1px at 35% 60%, rgba(212, 175, 55, 0.36) 0, transparent 100%),
          radial-gradient(1px 1px at 75% 75%, rgba(255, 255, 255, 0.24) 0, transparent 100%),
          radial-gradient(1px 1px at 5% 50%, rgba(212, 175, 55, 0.3) 0, transparent 100%),
          linear-gradient(
            125deg,
            transparent 0,
            rgba(255, 255, 255, 0.04) 18%,
            transparent 36%,
            rgba(205, 173, 255, 0.03) 58%,
            transparent 76%
          ),
          linear-gradient(62deg, transparent 0, rgba(170, 130, 255, 0.06) 34%, transparent 66%),
          radial-gradient(circle at 22% 32%, rgba(255, 240, 210, 0.04) 0, transparent 22%),
          radial-gradient(circle at 78% 18%, rgba(188, 156, 255, 0.06) 0, transparent 18%),
          radial-gradient(circle at 68% 78%, rgba(255, 223, 153, 0.032) 0, transparent 20%);
        pointer-events: none;
        z-index: 0;
        animation: twinkle 4.5s ease-in-out infinite alternate;
      }
      @keyframes twinkle {
        0% {
          opacity: 0.7;
        }
        100% {
          opacity: 1;
        }
      }
      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background:
          radial-gradient(ellipse at 50% 0, rgba(84, 54, 138, 0.25) 0, transparent 60%),
          radial-gradient(ellipse at 100% 100%, rgba(98, 64, 160, 0.14) 0, transparent 50%),
          radial-gradient(ellipse at 0 100%, rgba(72, 48, 116, 0.16) 0, transparent 50%),
          radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.06) 0, transparent 22%),
          radial-gradient(circle at 78% 18%, rgba(190, 160, 255, 0.07) 0, transparent 18%),
          linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.022) 0,
            transparent 18%,
            transparent 82%,
            rgba(255, 255, 255, 0.014) 100%
          );
        pointer-events: none;
        z-index: 0;
      }
      .container {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
        padding: 40px 20px 80px;
      }
      #step3 .container {
        padding-bottom: 40px;
      }
      .header {
        text-align: center;
        margin-bottom: 20px;
        animation: fadeDown 1s ease;
      }
      .header .eye {
        font-size: 48px;
        display: block;
        margin-bottom: 10px;
        animation: float 3s ease-in-out infinite;
      }
      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-8px);
        }
      }
      .header h1 {
        font-family: "Cinzel Decorative", serif;
        font-size: clamp(24px, 5vw, 42px);
        background: linear-gradient(135deg, var(--gold) 0, var(--gold-light) 50%, var(--gold) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: 3px;
        text-shadow: none;
        margin-bottom: 8px;
      }
      .header .subtitle {
        color: var(--text-dim);
        font-style: italic;
        font-size: 14px;
        letter-spacing: 4px;
        font-family: "IM Fell English", serif;
      }
      .divider {
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 20px 0;
      }
      .divider::after,
      .divider::before {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .divider span {
        color: var(--gold);
        font-size: 18px;
      }
      .step {
        display: none;
        animation: fadeIn 0.6s ease;
      }
      .step.active {
        display: block;
      }
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      @keyframes fadeDown {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .panel {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.95) 0, rgba(18, 12, 16, 0.95) 100%);
        border: 1px solid rgba(212, 175, 55, 0.5);
        border-radius: 12px;
        padding: 35px;
        margin-bottom: 25px;
        box-shadow:
          0 0 20px rgba(212, 175, 55, 0.35),
          0 0 60px rgba(212, 175, 55, 0.35),
          inset 0 0 60px rgba(74, 26, 94, 0.15);
        position: relative;
        overflow: hidden;
      }
      .panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .panel-title {
        font-family: "Cinzel Decorative", serif;
        color: #f5e7a1;
        font-size: 22px;
        letter-spacing: 3px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #fff3c4 0, #f5e17a 22%, #d4af37 52%, #fff1b8 78%, #b8891f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
        filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.14));
      }
      .panel-title::before {
        content: "✦";
        color: var(--gold);
      }
      .form-group {
        margin-bottom: 22px;
      }
      label {
        display: block;
        color: var(--text-dim);
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 8px;
        text-transform: uppercase;
      }
      #step1 .form-group > label,
      #step3 .form-group > label,
      #step1 .form-group > label > span:first-child,
      #step3 .form-group > label > span:first-child {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 2.2px;
        color: var(--text);
      }
      input[type="text"],
      textarea {
        width: 100%;
        background: rgba(10, 6, 8, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 6px;
        padding: 14px 18px;
        color: var(--text);
        font-family: inherit;
        font-size: 15px;
        transition:
          border-color 0.3s,
          box-shadow 0.3s;
        outline: 0;
      }
      input[type="text"]:focus,
      textarea:focus {
        border-color: var(--gold);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
      }
      textarea {
        resize: vertical;
        min-height: 100px;
      }
      .deck-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 10px;
      }
      .deck-card {
        background: rgba(10, 6, 8, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 10px;
        padding: 20px 15px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
      }
      .deck-card:hover {
        border-color: var(--gold);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
      }
      .deck-card.selected {
        border-color: var(--gold);
        background: rgba(212, 175, 55, 0.35);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
      }
      .deck-card.selected::before {
        content: "✓";
        position: absolute;
        top: 8px;
        right: 12px;
        color: var(--gold);
        font-size: 14px;
      }
      .deck-icon {
        font-size: 36px;
        margin-bottom: 10px;
        display: block;
      }
      .deck-name {
        font-family: "Cinzel Decorative", serif;
        font-size: 12px;
        color: var(--gold);
        letter-spacing: 1px;
        margin-bottom: 6px;
      }
      .deck-desc {
        font-size: 11px;
        color: var(--text-dim);
        line-height: 1.5;
      }
      .btn {
        background: linear-gradient(135deg, #3a2008 0, #5a3010 50%, #3a2008 100%);
        border: 1px solid var(--gold);
        color: var(--gold);
        padding: 14px 35px;
        border-radius: 6px;
        font-family: "Cinzel Decorative", serif;
        font-size: 13px;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
      }
      .btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent 30%, rgba(212, 175, 55, 0.35) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.5s;
      }
      .btn:hover::before {
        transform: translateX(100%);
      }
      .btn:hover {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.41);
        transform: translateY(-1px);
      }
      .btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: none;
      }
      .btn-row {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 25px;
        flex-wrap: wrap;
      }
      .btn-secondary {
        background: 0 0;
        border-color: rgba(212, 175, 55, 0.55);
        color: var(--text-dim);
      }
      .spread-info {
        background: rgba(74, 26, 94, 0.15);
        border: 1px solid rgba(74, 26, 94, 0.4);
        border-radius: 8px;
        padding: 18px 22px;
        margin: 20px 0;
        font-size: 13px;
        color: var(--text-dim);
        line-height: 1.8;
      }
      .spread-info strong {
        color: var(--gold-light);
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        letter-spacing: 1px;
      }
      .card-spread {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        padding: 30px 0;
      }
      .card-slot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }
      .card-slot-label {
        font-size: 11px;
        color: var(--text-dim);
        letter-spacing: 1px;
        text-align: center;
        max-width: 80px;
      }
      .card {
        width: 110px;
        height: 180px;
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.55);
        background: linear-gradient(135deg, #1a0f20 0, #0d0812 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        cursor: pointer;
        transition: all 0.4s;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
      }
      .card::before {
        content: "";
        position: absolute;
        inset: 3px;
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 5px;
      }
      .card:not(.revealed):hover {
        transform: translateY(-5px) scale(1.05);
        border-color: var(--gold);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
      }
      .card.revealed {
        animation: revealCard 0.6s ease forwards;
        cursor: default;
      }
      .card-face {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 6px;
        gap: 4px;
      }
      .card-face-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        display: block;
      }
      .card-face-symbol {
        font-size: 32px;
        line-height: 1;
      }
      .card-face-name {
        font-size: 10px;
        color: var(--gold);
        text-align: center;
        font-family: inherit;
        letter-spacing: 0.5px;
        line-height: 1.3;
        word-break: break-all;
      }
      .card-face-energy {
        font-size: 8px;
        color: var(--text-dim);
        text-align: center;
        line-height: 1.3;
        font-style: italic;
      }
      .card-face-reversed {
        font-size: 9px;
        color: #e05050;
        letter-spacing: 1px;
        border: 1px solid rgba(224, 80, 80, 0.3);
        padding: 1px 6px;
        border-radius: 3px;
      }
      .card-face-num {
        font-size: 9px;
        color: rgba(212, 175, 55, 0.55);
        font-family: "Cinzel Decorative", serif;
      }
      @keyframes revealCard {
        0% {
          transform: rotateY(0);
        }
        50% {
          transform: rotateY(90deg);
          background: rgba(212, 175, 55, 0.35);
        }
        100% {
          transform: rotateY(0);
        }
      }
      .card .card-back-pattern {
        position: absolute;
        inset: 0;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: inherit;
      }
      .card .card-back-pattern img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
        opacity: 1;
      }
      .card .card-number {
        position: absolute;
        bottom: 6px;
        width: 100%;
        text-align: center;
        font-size: 9px;
        color: var(--gold);
        letter-spacing: 1px;
      }
      .card-name-display {
        font-size: 11px;
        color: var(--gold-light);
        text-align: center;
        max-width: 90px;
        line-height: 1.4;
        min-height: 30px;
      }
      .progress {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 30px;
      }
      .progress-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        transition: all 0.3s;
      }
      .progress-dot.active {
        background: var(--gold);
        box-shadow: 0 0 8px var(--gold);
        width: 24px;
        border-radius: 4px;
      }
      .progress-dot.done {
        background: rgba(212, 175, 55, 0.55);
      }
      .spread-section-title {
        font-size: 10px;
        letter-spacing: 3px;
        color: var(--text-dim);
        text-transform: uppercase;
        padding: 4px 0 8px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.48);
        margin-bottom: 10px;
      }
      .reading-container {
        background: linear-gradient(180deg, rgba(11, 7, 12, 0.95), rgba(17, 10, 20, 0.92));
        border: 1px solid rgba(212, 175, 55, 0.38);
        border-radius: 24px;
        padding: 24px 18px 20px;
        margin-top: 20px;
        position: relative;
        overflow: hidden;
        box-shadow:
          0 24px 70px rgba(0, 0, 0, 0.32),
          inset 0 1px 0 rgba(255, 255, 255, 0.03);
      }
      .reading-container:before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 35%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%);
        pointer-events: none;
      }
      .reading-header {
        position: relative;
        font-family: "Cinzel Decorative", serif;
        color: var(--gold);
        font-size: 14px;
        letter-spacing: 3px;
        margin-bottom: 12px;
        text-align: center;
      }
      .reading-text {
        position: relative;
        font-family: "Noto Sans TC", sans-serif;
        font-size: 15px;
        line-height: 1.9;
        color: var(--text);
        white-space: normal;
      }
      .reading-cursor {
        display: inline-block;
        width: 2px;
        height: 18px;
        background: var(--gold);
        animation: blink 0.7s ease-in-out infinite;
        vertical-align: middle;
        margin-left: 2px;
      }
      @keyframes blink {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0;
        }
      }
      .loading-runes {
        text-align: center;
        padding: 30px;
        color: var(--gold);
        font-size: 24px;
        animation: pulse 1.5s ease-in-out infinite;
        letter-spacing: 10px;
      }
      @keyframes pulse {
        0%,
        100% {
          opacity: 0.3;
        }
        50% {
          opacity: 1;
        }
      }
      .reading-chat-shell {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 14px;
      }
      .reading-chat-intro {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 2px;
        color: rgba(245, 225, 122, 0.92);
        font-size: 11px;
        letter-spacing: 2px;
        text-transform: uppercase;
      }
      .reading-chat-intro:before,
      .reading-chat-intro:after {
        content: "";
        flex: 1;
        height: 1px;
        max-width: 72px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
      }
      .reading-chat-thread {
        display: flex;
        flex-direction: column;
        gap: 14px;
      }
      .reading-bubble-row {
        display: flex;
        gap: 10px;
        align-items: flex-end;
      }
      .reading-bubble-row.reader {
        justify-content: flex-start;
      }
      .reading-bubble-row.user {
        justify-content: flex-end;
      }
      .reading-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 1px solid rgba(214, 184, 255, 0.58);
        box-shadow:
          0 0 0 3px rgba(164, 118, 255, 0.1),
          0 10px 24px rgba(0, 0, 0, 0.28);
        background: linear-gradient(135deg, #24152f, #0f0b16);
      }
      .reading-avatar-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
        font-size: 20px;
      }
      .reading-bubble-stack {
        display: flex;
        flex-direction: column;
        gap: 4px;
        max-width: min(88%, 520px);
      }
      .reading-bubble-name {
        font-size: 11px;
        letter-spacing: 1.6px;
        color: rgba(226, 210, 255, 0.82);
        padding: 0 6px;
        text-shadow: 0 0 14px rgba(160, 110, 255, 0.12);
      }
      .reading-bubble {
        position: relative;
        padding: 14px 16px;
        border-radius: 20px;
        line-height: 1.9;
        font-size: 15px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        white-space: pre-wrap;
        word-break: break-word;
      }
      .reading-bubble.reader {
        background: linear-gradient(
          180deg,
          rgba(67, 43, 105, 0.94) 0,
          rgba(46, 29, 79, 0.97) 56%,
          rgba(27, 17, 52, 0.98) 100%
        );
        border: 1px solid rgba(196, 164, 255, 0.34);
        color: #f7f1ff;
        border-top-left-radius: 8px;
        box-shadow:
          0 18px 34px rgba(20, 10, 38, 0.34),
          inset 0 1px 0 rgba(255, 255, 255, 0.08),
          inset 0 -1px 0 rgba(170, 130, 255, 0.08);
      }
      .reading-bubble.reader::before {
        content: "";
        position: absolute;
        top: 0;
        left: 14px;
        right: 14px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(237, 226, 255, 0.55), transparent);
      }
      .reading-bubble.user {
        background: linear-gradient(180deg, rgba(86, 31, 57, 0.92), rgba(52, 18, 37, 0.96));
        border: 1px solid rgba(255, 158, 199, 0.26);
        color: #fff3fa;
        border-bottom-right-radius: 8px;
      }
      .reading-bubble.tip {
        background: linear-gradient(180deg, rgba(48, 33, 79, 0.92), rgba(24, 16, 44, 0.96));
        border: 1px dashed rgba(196, 164, 255, 0.34);
        color: rgba(242, 233, 255, 0.9);
        font-size: 13px;
      }
      .reading-bubble.loading {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(230, 216, 255, 0.94);
      }
      .reading-dots {
        display: inline-flex;
        gap: 5px;
      }
      .reading-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(245, 225, 122, 0.92);
        animation: readingDot 1.1s infinite ease-in-out;
      }
      .reading-dots span:nth-child(2) {
        animation-delay: 0.16s;
      }
      .reading-dots span:nth-child(3) {
        animation-delay: 0.32s;
      }
      @keyframes readingDot {
        0%,
        80%,
        100% {
          opacity: 0.25;
          transform: translateY(0);
        }
        40% {
          opacity: 1;
          transform: translateY(-3px);
        }
      }
      .reading-segment {
        opacity: 0;
        transform: translateY(10px);
        transition:
          opacity 0.35s ease,
          transform 0.35s ease;
      }
      .reading-segment.visible {
        opacity: 1;
        transform: translateY(0);
      }
      @media (max-width: 600px) {
        .reading-container {
          padding: 18px 12px 16px;
          border-radius: 20px;
        }
        .reading-bubble-row {
          gap: 8px;
        }
        .reading-avatar {
          width: 38px;
          height: 38px;
        }
        .reading-bubble-stack {
          max-width: calc(100% - 46px);
        }
        .reading-bubble {
          font-size: 14px;
          padding: 12px 13px;
          border-radius: 18px;
        }
        .reading-bubble-name {
          font-size: 10px;
          padding: 0 4px;
        }
      }
      .card-summary {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 25px;
        flex-wrap: nowrap;
      }
      .card-summary-item {
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 8px;
        padding: 10px 8px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
        min-width: 0;
      }
      .card-summary-item .card-img-wrap {
        width: 100%;
        aspect-ratio: 2/3;
        height: auto;
        border-radius: 6px;
        overflow: hidden;
        border: 1px solid rgba(212, 175, 55, 0.55);
        flex-shrink: 0;
        background: linear-gradient(160deg, #0d0a18 0, #1a1030 100%);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .card-summary-item .card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .card-summary-item .card-img-wrap.reversed img {
        transform: rotate(180deg);
      }
      .card-summary-item .card-img-placeholder {
        font-size: 28px;
      }
      @media (max-width: 600px) {
        .card-summary {
          gap: 8px;
          flex-wrap: wrap;
        }
        .card-summary-item {
          padding: 8px 5px;
          gap: 4px;
          border-radius: 7px;
          flex: 0 1 calc(33.333% - 8px);
          min-width: 76px;
          max-width: 110px;
        }
        .card-summary-item .card-img-wrap {
          border-radius: 5px;
        }
      }
      .card-summary-item .pos {
        font-size: 10px;
        color: var(--text-dim);
        letter-spacing: 1px;
      }
      .card-summary-item .name {
        font-size: 12px;
        color: var(--gold-light);
        font-weight: 600;
        line-height: 1.3;
      }
      .card-summary-item .reversed {
        font-size: 10px;
        color: #e05050;
        border: 1px solid rgba(224, 80, 80, 0.3);
        padding: 1px 6px;
        border-radius: 3px;
      }
      .error-msg {
        color: #c05050;
        text-align: center;
        padding: 15px;
        font-size: 14px;
        border: 1px solid rgba(192, 80, 80, 0.3);
        border-radius: 8px;
        margin-top: 15px;
      }
      .corner-deco {
        position: fixed;
        width: 60px;
        height: 60px;
        opacity: 0.15;
        pointer-events: none;
        z-index: 0;
      }
      .corner-deco.tl {
        top: 15px;
        left: 15px;
      }
      .corner-deco.tr {
        top: 15px;
        right: 15px;
        transform: scaleX(-1);
      }
      .corner-deco.bl {
        bottom: 15px;
        left: 15px;
        transform: scaleY(-1);
      }
      .corner-deco.br {
        bottom: 15px;
        right: 15px;
        transform: scale(-1);
      }
      @media (max-width: 600px) {
        .deck-grid {
          grid-template-columns: 1fr;
        }
        .card {
          width: 85px;
          height: 140px;
          font-size: 20px;
        }
        .panel {
          padding: 20px;
        }
      }
      .history-item {
        background: rgba(10, 6, 8, 0.6);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 16px;
        cursor: pointer;
        transition: all 0.3s;
      }
      .history-item:hover {
        border-color: rgba(212, 175, 55, 0.55);
      }
      .history-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 8px;
      }
      .history-date {
        font-size: 11px;
        color: var(--text-dim);
        letter-spacing: 1px;
      }
      .history-deck {
        font-size: 11px;
        color: var(--gold);
        border: 1px solid rgba(212, 175, 55, 0.55);
        padding: 2px 10px;
        border-radius: 20px;
      }
      .history-question {
        font-size: 15px;
        color: var(--text);
        margin-bottom: 10px;
        line-height: 1.5;
      }
      .history-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
      }
      .history-card-tag {
        font-size: 11px;
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--text-dim);
        padding: 3px 10px;
        border-radius: 4px;
      }
      .history-reading {
        font-size: 13px;
        color: var(--text-dim);
        line-height: 1.7;
        max-height: 80px;
        overflow: hidden;
        position: relative;
        font-family: "IM Fell English", serif;
      }
      .history-reading.expanded {
        max-height: none;
      }
      .history-reading::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(transparent, rgba(10, 6, 8, 0.9));
      }
      .history-reading.expanded::after {
        display: none;
      }
      .history-expand {
        font-size: 11px;
        color: var(--gold);
        cursor: pointer;
        margin-top: 6px;
        display: block;
        letter-spacing: 1px;
      }
      .history-empty {
        text-align: center;
        color: var(--text-dim);
        padding: 40px;
        font-style: italic;
      }
      .history-loading {
        text-align: center;
        color: var(--gold);
        padding: 30px;
        font-size: 20px;
        letter-spacing: 8px;
        animation: pulse 1.5s ease-in-out infinite;
      }
      #auth-screen {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: var(--dark);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      #auth-screen.hidden {
        display: none;
      }
      .auth-box {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.98) 0, rgba(18, 12, 16, 0.98) 100%);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 16px;
        padding: 45px 40px;
        width: 100%;
        max-width: 420px;
        margin: 20px;
        position: relative;
        box-shadow: 0 0 60px rgba(74, 26, 94, 0.3);
      }
      .auth-box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .auth-title {
        font-family: "Cinzel Decorative", serif;
        color: #f5e7a1;
        font-size: 24px;
        text-align: center;
        margin-bottom: 8px;
        letter-spacing: 2px;
        background: linear-gradient(135deg, #fff3c4 0, #f5e17a 22%, #d4af37 52%, #fff1b8 78%, #b8891f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
        filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.14));
      }
      .auth-subtitle {
        text-align: center;
        color: var(--text-dim);
        font-size: 13px;
        margin-bottom: 30px;
        font-style: italic;
      }
      .guest-hero-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 26px;
        line-height: 1.55;
        letter-spacing: 2px;
        margin-bottom: 12px;
        text-align: center;
        color: #f5e7a1;
        background: linear-gradient(135deg, #fff3c4 0, #f5e17a 22%, #d4af37 52%, #fff1b8 78%, #b8891f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.16));
      }
      .section-hero-title {
        font-family: "Cinzel Decorative", serif;
        font-size: clamp(24px, 5.2vw, 34px);
        line-height: 1.35;
        letter-spacing: 3px;
        text-align: center;
        margin-bottom: 8px;
        color: #f5e7a1;
        background: linear-gradient(135deg, #fff3c4 0, #f5e17a 20%, #d4af37 48%, #fff1b8 76%, #b8891f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
        filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.14));
      }
      .section-hero-title-lg {
        font-size: clamp(26px, 5.6vw, 38px);
      }
      .section-hero-subtitle {
        font-family: "IM Fell English", serif;
        font-style: italic;
        font-size: 14px;
        color: rgba(230, 214, 176, 0.88);
        letter-spacing: 4px;
        text-align: center;
        text-transform: none;
        text-shadow: 0 0 14px rgba(212, 175, 55, 0.08);
      }
      .auth-tabs {
        display: flex;
        margin-bottom: 25px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.55);
      }
      .auth-tab {
        flex: 1;
        padding: 10px;
        text-align: center;
        cursor: pointer;
        color: var(--text-dim);
        font-size: 13px;
        letter-spacing: 1px;
        transition: all 0.3s;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
      }
      .auth-tab.active {
        color: var(--gold);
        border-bottom-color: var(--gold);
      }
      .auth-form {
        display: none;
      }
      .auth-form.active {
        display: block;
      }
      .auth-input {
        width: 100%;
        background: rgba(10, 6, 8, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 6px;
        padding: 12px 16px;
        color: var(--text);
        font-family: "Noto Serif TC", serif;
        font-size: 14px;
        margin-bottom: 14px;
        outline: 0;
        transition: border-color 0.3s;
      }
      .auth-input:focus {
        border-color: var(--gold);
      }
      .auth-btn {
        width: 100%;
        background: linear-gradient(135deg, #3a2008 0, #5a3010 50%, #3a2008 100%);
        border: 1px solid var(--gold);
        color: var(--gold);
        padding: 13px;
        border-radius: 6px;
        font-family: "Cinzel Decorative", serif;
        font-size: 12px;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s;
        margin-bottom: 12px;
      }
      .auth-btn:hover {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.41);
      }
      .auth-divider {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 16px 0;
        color: var(--text-dim);
        font-size: 12px;
      }
      .auth-divider::after,
      .auth-divider::before {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(212, 175, 55, 0.35);
      }
      .google-btn {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--text);
        padding: 12px;
        border-radius: 6px;
        font-family: "Noto Serif TC", serif;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
      }
      .google-btn:hover {
        background: rgba(255, 255, 255, 0.1);
      }
      .auth-error {
        color: #e05050;
        font-size: 12px;
        text-align: center;
        margin-bottom: 10px;
        min-height: 18px;
      }
      .auth-success {
        color: #50c050;
        font-size: 12px;
        text-align: center;
        margin-bottom: 10px;
        min-height: 18px;
      }
      .forgot-link {
        text-align: right;
        margin-top: -8px;
        margin-bottom: 14px;
      }
      .forgot-link a {
        color: var(--text-dim);
        font-size: 12px;
        cursor: pointer;
        text-decoration: underline;
      }
      #user-bar {
        display: none;
        background: rgba(10, 6, 8, 0.95);
        border-bottom: 2px solid rgba(212, 175, 55, 0.44);
        padding: 0 16px;
        height: 52px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        align-items: center;
        justify-content: space-between;
        font-size: 13px;
        backdrop-filter: blur(8px);
      }
      #user-bar.visible {
        display: flex;
      }
      .topbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-family: "Cinzel Decorative", serif;
        font-size: 16px;
        background: linear-gradient(135deg, #fff 0, var(--gold-light) 50%, #fff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.55));
        letter-spacing: 1px;
        pointer-events: none;
      }
      .balance-float {
        position: fixed;
        top: 62px;
        right: 14px;
        z-index: 55;
      }
      @media (max-width: 420px) {
        .balance-float {
          top: 58px;
          right: 12px;
          padding: 8px 12px;
          font-size: 13px;
        }
      }
      .hamburger-btn {
        width: 36px;
        height: 36px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        background: 0 0;
        border: none;
        padding: 4px;
        flex-shrink: 0;
      }
      .hamburger-btn span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--gold);
        border-radius: 2px;
        transition: all 0.3s;
      }
      #sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 199;
        background: rgba(0, 0, 0, 0.6);
      }
      #sidebar-overlay.open {
        display: block;
      }
      #sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        bottom: 0;
        width: 280px;
        z-index: 200;
        background: linear-gradient(160deg, #0e0a1e, #120d10);
        border-right: 1px solid rgba(212, 175, 55, 0.55);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
      }
      #sidebar.open {
        left: 0;
      }
      .sidebar-header {
        padding: 20px 20px 16px;
        border-bottom: 2px solid rgba(212, 175, 55, 0.44);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
      }
      .sidebar-brand {
        font-family: "Cinzel Decorative", serif;
        font-size: 18px;
        background: linear-gradient(135deg, #fff 0, var(--gold-light) 60%, #fff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
      .sidebar-close {
        background: 0 0;
        border: none;
        color: var(--text-dim);
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
        padding: 4px;
      }
      .sidebar-nav {
        flex: 1;
        padding: 12px 0;
      }
      .sidebar-section {
        font-size: 9px;
        letter-spacing: 3px;
        color: rgba(212, 175, 55, 0.55);
        padding: 14px 20px 6px;
        text-transform: uppercase;
      }
      .sidebar-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 20px;
        cursor: pointer;
        transition: background 0.2s;
        border: none;
        background: 0 0;
        width: 100%;
        text-align: left;
        color: var(--text-dim);
        font-family: "Noto Serif TC", serif;
        font-size: 13px;
        border-left: 3px solid transparent;
      }
      .sidebar-item:hover {
        background: rgba(212, 175, 55, 0.35);
        color: var(--gold);
        border-left-color: rgba(212, 175, 55, 0.55);
      }
      .sidebar-item-icon {
        font-size: 18px;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
      }
      .sidebar-item-text {
        flex: 1;
      }
      .sidebar-item-name {
        font-size: 13px;
        color: inherit;
      }
      .sidebar-item-sub {
        font-size: 10px;
        color: rgba(154, 138, 106, 0.5);
        margin-top: 2px;
      }
      .sidebar-divider {
        height: 1px;
        background: rgba(212, 175, 55, 0.35);
        margin: 8px 20px;
      }
      .sidebar-footer {
        padding: 16px 20px;
        border-top: 1px solid rgba(212, 175, 55, 0.48);
        font-size: 10px;
        color: rgba(154, 138, 106, 0.4);
        text-align: center;
        letter-spacing: 1px;
      }
      #learn-screen {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 150;
        background: var(--dark);
        overflow-y: auto;
      }
      #learn-screen.open {
        display: block;
      }
      .page-topbar {
        position: sticky;
        top: 0;
        z-index: 10;
        background: linear-gradient(180deg, rgba(16, 10, 29, 0.96), rgba(23, 15, 42, 0.96));
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding: 0 16px;
        height: 52px;
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .page-topbar.overlay-topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 20;
      }
      .page-back-btn {
        background: 0 0;
        border: none;
        color: var(--gold);
        font-size: 20px;
        cursor: pointer;
        padding: 4px 8px 4px 0;
        line-height: 1;
      }
      .page-topbar-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 13px;
        color: var(--gold);
        letter-spacing: 1px;
      }
      .learn-tabs {
        display: flex;
        gap: 0;
        border-bottom: 2px solid rgba(212, 175, 55, 0.44);
        padding: 0 16px;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .learn-tab {
        padding: 12px 18px;
        cursor: pointer;
        font-size: 12px;
        color: var(--text-dim);
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        transition: all 0.2s;
        background: 0 0;
        border-top: none;
        border-left: none;
        border-right: none;
        font-family: "Noto Serif TC", serif;
      }
      .learn-tab.active {
        color: var(--gold);
        border-bottom-color: var(--gold);
      }
      .learn-content {
        padding: 16px 16px 100px;
        max-width: 640px;
        margin: 0 auto;
      }
      .learn-category-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-top: 8px;
      }
      .learn-category-card {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.97), rgba(14, 10, 18, 0.97));
        border: 1px solid rgba(212, 175, 55, 0.45);
        border-radius: 14px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.25s;
        position: relative;
      }
      .learn-category-card:hover {
        border-color: rgba(212, 175, 55, 0.8);
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
      }
      .learn-category-cover {
        width: 100%;
        aspect-ratio: 2/3;
        object-fit: cover;
        display: block;
        opacity: 0.85;
      }
      .learn-category-cover-placeholder {
        width: 100%;
        aspect-ratio: 2/3;
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.4), rgba(26, 17, 24, 0.9));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
      }
      .learn-category-footer {
        padding: 10px 12px 12px;
        background: linear-gradient(0deg, rgba(10, 6, 8, 0.98), rgba(26, 17, 24, 0.85));
      }
      .learn-category-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 11px;
        color: var(--gold);
        letter-spacing: 1px;
        margin-bottom: 3px;
      }
      .learn-category-count {
        font-size: 10px;
        color: var(--text-dim);
      }
      .learn-category-arrow {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(212, 175, 55, 0.15);
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: var(--gold);
      }
      .learn-back-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: 0 0;
        border: none;
        color: var(--gold);
        font-size: 13px;
        cursor: pointer;
        padding: 0;
        margin-bottom: 16px;
        font-family: "Noto Serif TC", serif;
        letter-spacing: 1px;
      }
      .learn-back-btn:hover {
        opacity: 0.75;
      }
      .learn-section-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 13px;
        color: var(--gold);
        letter-spacing: 2px;
        margin-bottom: 16px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
      }
      .learn-card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }
      .learn-card-thumb {
        background: rgba(15, 8, 12, 0.9);
        border: 1px solid rgba(212, 175, 55, 0.35);
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.22s;
      }
      .learn-card-thumb:hover {
        border-color: rgba(212, 175, 55, 0.75);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.12);
      }
      .learn-card-thumb-img {
        width: 100%;
        aspect-ratio: 2/3;
        object-fit: cover;
        display: block;
      }
      .learn-card-thumb-placeholder {
        width: 100%;
        aspect-ratio: 2/3;
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.35), rgba(26, 17, 24, 0.9));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
      }
      .learn-card-thumb-label {
        padding: 7px 6px 8px;
        text-align: center;
      }
      .learn-card-thumb-name {
        font-size: 11px;
        color: var(--text);
        line-height: 1.3;
        margin-bottom: 2px;
      }
      .learn-card-thumb-num {
        font-size: 9px;
        color: rgba(212, 175, 55, 0.55);
        letter-spacing: 1px;
      }
      .learn-detail-wrap {
        animation: fadeIn 0.35s ease;
      }
      .learn-detail-hero {
        display: flex;
        gap: 18px;
        margin-bottom: 22px;
        align-items: flex-start;
      }
      .learn-detail-img-wrap {
        flex-shrink: 0;
        width: 130px;
      }
      .learn-detail-img {
        width: 130px;
        height: 210px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.5);
        box-shadow: 0 4px 24px rgba(212, 175, 55, 0.15);
        display: block;
      }
      .learn-detail-img-placeholder {
        width: 130px;
        height: 210px;
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.5);
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.4), rgba(14, 10, 18, 0.9));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
      }
      .learn-detail-meta {
        flex: 1;
        min-width: 0;
        padding-top: 4px;
      }
      .learn-detail-num {
        font-family: "Cinzel Decorative", serif;
        font-size: 10px;
        color: rgba(212, 175, 55, 0.55);
        letter-spacing: 2px;
        margin-bottom: 6px;
      }
      .learn-detail-name {
        font-size: 20px;
        color: var(--text);
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3;
      }
      .learn-detail-keywords {
        font-size: 11px;
        color: var(--gold);
        letter-spacing: 1px;
        line-height: 1.7;
        margin-bottom: 10px;
      }
      .learn-detail-suit {
        font-size: 10px;
        color: rgba(154, 138, 106, 0.6);
        margin-bottom: 10px;
      }
      .learn-detail-energy {
        font-size: 12px;
        color: var(--text-dim);
        line-height: 1.7;
        background: rgba(212, 175, 55, 0.06);
        border-radius: 8px;
        padding: 10px 12px;
      }
      .learn-detail-body {
        font-size: 13px;
        color: var(--text-dim);
        line-height: 1.95;
        white-space: pre-line;
      }
      .learn-detail-body p {
        margin-top: 12px;
      }
      .learn-detail-reversed {
        margin-top: 16px;
        padding: 12px 14px;
        background: rgba(107, 26, 42, 0.15);
        border-left: 2px solid rgba(201, 76, 76, 0.45);
        border-radius: 0 8px 8px 0;
        font-size: 12px;
        color: rgba(220, 150, 150, 0.85);
        line-height: 1.8;
      }
      .learn-detail-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
        margin: 20px 0;
      }
      .card-learn-item {
        background: rgba(15, 8, 12, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 12px;
        padding: 16px 18px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .card-learn-item:hover {
        border-color: var(--gold);
        background: rgba(212, 175, 55, 0.06);
      }
      .card-learn-img {
        width: 36px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
        border: 1px solid rgba(212, 175, 55, 0.55);
      }
      .card-learn-img-placeholder {
        width: 36px;
        height: 60px;
        border-radius: 4px;
        background: rgba(212, 175, 55, 0.35);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        border: 1px solid rgba(212, 175, 55, 0.55);
      }
      .card-learn-body {
        flex: 1;
        min-width: 0;
      }
      .card-learn-name {
        font-size: 13px;
        color: var(--text);
        margin-bottom: 3px;
      }
      .card-learn-energy {
        font-size: 11px;
        color: var(--text-dim);
        line-height: 1.5;
      }
      .card-learn-meaning {
        display: none;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(212, 175, 55, 0.48);
        font-size: 12px;
        color: var(--text-dim);
        line-height: 1.8;
      }
      .card-learn-item.expanded .card-learn-meaning {
        display: block;
      }
      .user-info {
        color: var(--text-dim);
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .user-avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 1px solid rgba(212, 175, 55, 0.55);
        object-fit: cover;
      }
      .user-avatar-placeholder {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 1px solid rgba(212, 175, 55, 0.55);
        background: rgba(212, 175, 55, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
      }
      .logout-btn {
        background: 0 0;
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--text-dim);
        padding: 5px 14px;
        border-radius: 12px;
        font-size: 12px;
        cursor: pointer;
        font-family: "Noto Serif TC", serif;
        transition: all 0.3s;
      }
      .logout-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
      }
      body.logged-in .container {
        margin-top: 55px;
      }
      #user-bar.visible ~ .container {
        margin-top: 55px;
      }
      body.logged-in #oracle-screen .container,
      body.logged-in #spreads-screen .container {
        margin-top: 0;
      }
      #user-bar.visible ~ #oracle-screen .container,
      #user-bar.visible ~ #spreads-screen .container {
        margin-top: 0;
      }
      .seo-content-wrap {
        position: relative;
        z-index: 1;
        max-width: 980px;
        margin: 0 auto;
        padding: 0 20px 90px;
      }
      .seo-shell {
        background: linear-gradient(180deg, rgba(26, 17, 24, 0.86) 0, rgba(12, 8, 12, 0.92) 100%);
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 28px;
        padding: 38px 24px;
        box-shadow:
          0 22px 60px rgba(0, 0, 0, 0.32),
          inset 0 1px 0 rgba(255, 255, 255, 0.04);
      }
      .seo-kicker {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        color: var(--gold);
        font-size: 12px;
        letter-spacing: 3px;
        text-transform: uppercase;
      }
      .seo-kicker::after,
      .seo-kicker::before {
        content: "";
        width: 28px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
      }
      .seo-title {
        color: var(--gold-light);
        font-family: "Cinzel Decorative", serif;
        font-size: clamp(24px, 4vw, 40px);
        line-height: 1.35;
        margin-bottom: 14px;
      }
      .seo-lead {
        max-width: 760px;
        color: var(--text-dim);
        font-size: 15px;
        line-height: 1.95;
        margin-bottom: 24px;
      }
      .seo-jump-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
      }
      .seo-inline-links a,
      .seo-jump-links a,
      .seo-link-card {
        color: var(--text);
        text-decoration: none;
        border: 1px solid rgba(212, 175, 55, 0.22);
        background: rgba(255, 255, 255, 0.03);
        transition:
          transform 0.25s,
          border-color 0.25s,
          color 0.25s,
          background 0.25s;
      }
      .seo-jump-links a {
        border-radius: 999px;
        padding: 9px 14px;
        font-size: 12px;
        letter-spacing: 1px;
      }
      .seo-inline-links a:hover,
      .seo-jump-links a:hover,
      .seo-link-card:hover {
        transform: translateY(-2px);
        border-color: rgba(212, 175, 55, 0.65);
        color: var(--gold-light);
        background: rgba(212, 175, 55, 0.06);
      }
      .intent-grid,
      .seo-link-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
      }
      .intent-card,
      .seo-link-card {
        border-radius: 20px;
        padding: 20px 18px;
      }
      .intent-card {
        background: linear-gradient(180deg, rgba(26, 17, 24, 0.82) 0, rgba(14, 10, 16, 0.98) 100%);
        border: 1px solid rgba(212, 175, 55, 0.22);
      }
      .faq-heading,
      .intent-card h3,
      .resource-heading {
        color: var(--gold);
        font-family: "Cinzel Decorative", serif;
        letter-spacing: 2px;
      }
      .intent-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
      }
      .faq-item p,
      .intent-card li,
      .intent-card p,
      .seo-link-card p {
        color: var(--text-dim);
        font-size: 14px;
        line-height: 1.85;
      }
      .intent-card ul {
        margin: 14px 0 0 18px;
      }
      .intent-card li + li {
        margin-top: 6px;
      }
      .seo-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
      }
      .seo-actions a {
        color: var(--gold-light);
        text-decoration: none;
        font-size: 13px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.35);
        padding-bottom: 2px;
      }
      .faq-block,
      .resource-block {
        margin-top: 34px;
      }
      .faq-heading,
      .resource-heading {
        font-size: 18px;
        margin-bottom: 14px;
      }
      .resource-copy {
        color: var(--text-dim);
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 16px;
      }
      .seo-link-card {
        display: block;
      }
      .seo-link-card strong {
        display: block;
        color: var(--gold-light);
        font-size: 14px;
        margin-bottom: 8px;
      }
      .faq-list {
        display: grid;
        gap: 12px;
      }
      .faq-item {
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.02);
        padding: 16px 18px;
      }
      .faq-item summary {
        cursor: pointer;
        list-style: none;
        color: var(--gold-light);
        font-size: 15px;
        line-height: 1.6;
      }
      .faq-item summary::-webkit-details-marker {
        display: none;
      }
      .faq-item summary::after {
        content: "+";
        float: right;
        color: var(--gold);
        font-size: 18px;
        line-height: 1;
        margin-left: 12px;
      }
      .faq-item[open] summary::after {
        content: "−";
      }
      .faq-item p {
        margin-top: 12px;
      }
      .seo-inline-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
      }
      .seo-inline-links a {
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 12px;
      }
      #chat-widget {
        display: none !important;
      }
      .chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-height: 200px;
        max-height: 280px;
      }
      .chat-msg {
        max-width: 80%;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 1.5;
      }
      .chat-msg.user {
        align-self: flex-end;
        background: rgba(74, 26, 94, 0.6);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--text);
      }
      .chat-msg.admin {
        align-self: flex-start;
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--text);
      }
      .chat-msg-time {
        font-size: 9px;
        color: var(--text-dim);
        margin-top: 3px;
        text-align: right;
      }
      .chat-msg.admin .chat-msg-time {
        text-align: left;
      }
      .chat-empty {
        text-align: center;
        color: var(--text-dim);
        font-size: 12px;
        padding: 20px;
        font-style: italic;
      }
      .chat-input-area {
        padding: 10px 12px;
        border-top: 1px solid rgba(212, 175, 55, 0.55);
        display: flex;
        gap: 8px;
      }
      .chat-input {
        flex: 1;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 6px;
        padding: 8px 12px;
        color: var(--text);
        font-family: "Noto Serif TC", serif;
        font-size: 12px;
        outline: 0;
      }
      .chat-input:focus {
        border-color: var(--gold);
      }
      .chat-send {
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--gold);
        width: 34px;
        height: 34px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .chat-send:hover {
        background: rgba(212, 175, 55, 0.41);
      }
      .balance-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: var(--gold);
        border: 1px solid rgba(212, 175, 55, 0.55);
        padding: 4px 12px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s;
      }
      .balance-bar:hover {
        background: rgba(212, 175, 55, 0.35);
      }
      .shop-modal-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.75);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow-y: auto;
        padding: 20px 0;
      }
      .shop-modal-overlay.hidden {
        display: none;
      }
      .shop-modal {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.99), rgba(18, 12, 16, 0.99));
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 16px;
        padding: 28px 22px 18px;
        width: min(100%, 560px);
        max-height: min(78vh, 760px);
        margin: auto 20px;
        position: relative;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
      }
      .shop-modal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .shop-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 16px;
        color: var(--gold);
        text-align: center;
        margin-bottom: 6px;
        letter-spacing: 2px;
      }
      .shop-subtitle {
        text-align: center;
        color: var(--text-dim);
        font-size: 12px;
        margin-bottom: 14px;
      }
      .shop-close {
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--gold);
        font-size: 16px;
        cursor: pointer;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        z-index: 10;
      }
      .shop-close:hover {
        background: rgba(212, 175, 55, 0.35);
      }
      .shop-plans {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
        max-height: calc(78vh - 150px);
        overflow-y: auto;
        padding-right: 4px;
      }
      .shop-plan {
        cursor: pointer;
        padding: 18px 20px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        transition: all 0.2s;
        position: relative;
        border: 1px solid rgba(212, 175, 55, 0.55);
        background: rgba(212, 175, 55, 0.18);
      }
      .shop-plan:hover {
        border-color: var(--gold);
        transform: translateY(-1px);
      }
      .shop-plan--featured {
        border-width: 2px;
      }
      .shop-plan--standard {
        background: rgba(212, 175, 55, 0.12);
      }
      .shop-plan--premium {
        background: rgba(212, 175, 55, 0.18);
      }
      .shop-plan-info {
        min-width: 0;
        flex: 1;
      }
      .shop-plan-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
      }
      .shop-plan-desc {
        font-size: 11px;
        color: var(--text-dim);
        margin-top: 4px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .shop-plan-pricebox {
        text-align: right;
        flex-shrink: 0;
        min-width: 110px;
      }
      .shop-plan-price {
        font-size: 20px;
        font-weight: 700;
        color: var(--gold);
        line-height: 1.1;
      }
      .shop-plan-badge {
        position: absolute;
        top: -10px;
        left: 16px;
        background: var(--gold);
        color: #1a0808;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 10px;
        border-radius: 10px;
        letter-spacing: 1px;
      }
      .shop-note {
        text-align: center;
        font-size: 11px;
        color: var(--text-dim);
        margin-top: 14px;
        line-height: 1.6;
      }
      @media (max-width: 480px) {
        .shop-modal-overlay {
          padding: 10px 0;
        }
        .shop-modal {
          width: calc(100% - 28px);
          max-height: calc(100vh - 100px);
          margin: auto 14px;
          padding: 16px 12px 14px;
          border-radius: 14px;
        }
        .shop-title {
          font-size: 15px;
          letter-spacing: 1px;
        }
        .shop-subtitle {
          margin-bottom: 10px;
          font-size: 11px;
        }
        .shop-plans {
          gap: 10px;
          margin-top: 10px;
          max-height: calc(100vh - 250px);
          padding-right: 2px;
        }
        .shop-plan {
          padding: 13px 12px;
          gap: 10px;
          align-items: flex-start;
        }
        .shop-plan-title {
          font-size: 15px;
        }
        .shop-plan-desc {
          font-size: 10px;
          letter-spacing: 0;
        }
        .shop-plan-pricebox {
          min-width: 84px;
        }
        .shop-plan-price {
          font-size: 17px;
        }
        .shop-plan-badge {
          top: -9px;
          left: 12px;
          font-size: 9px;
          padding: 2px 8px;
        }
      }
      stripe-pricing-table {
        display: block;
        width: 100%;
      }
      #bottom-nav {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 80;
        background: 0 0;
        border: none;
        padding: 0 16px 16px;
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
        pointer-events: none;
      }
      #bottom-nav.visible {
        display: flex;
        justify-content: center;
      }
      .bnav-inner {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 10px 14px;
        gap: 10px;
        align-items: center;
        justify-content: space-around;
        background: linear-gradient(180deg, rgba(16, 10, 29, 0.92), rgba(23, 15, 42, 0.94));
        border: 1px solid rgba(212, 175, 55, 0.12);
        border-radius: 32px;
        backdrop-filter: blur(24px) saturate(160%);
        -webkit-backdrop-filter: blur(24px) saturate(160%);
        box-shadow:
          0 12px 36px rgba(0, 0, 0, 0.4),
          0 4px 12px rgba(0, 0, 0, 0.24),
          inset 0 1px 0 rgba(255, 255, 255, 0.03);
        pointer-events: auto;
      }
      .bnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 6px 10px;
        min-height: 56px;
        cursor: pointer;
        position: relative;
        border: none;
        background: 0 0;
        border-radius: 24px;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
      }
      .bnav-item.active {
        background: linear-gradient(180deg, rgba(100, 180, 255, 0.48) 0, rgba(80, 150, 220, 0.36) 100%);
        border-radius: 26px;
        box-shadow: 0 8px 20px rgba(100, 180, 255, 0.28);
      }
      .bnav-item:active {
        opacity: 0.75;
      }
      .bnav-item::before {
        display: none;
      }
      .bnav-icon {
        font-size: 28px;
        margin-bottom: 4px;
        transition: all 0.2s ease;
        opacity: 0.48;
        line-height: 1;
        filter: none;
      }
      .bnav-item.active .bnav-icon {
        font-size: 32px;
        opacity: 1;
        transform: scale(1.04);
      }
      .bnav-label {
        font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Serif TC", sans-serif;
        font-size: 10px;
        color: rgba(200, 184, 136, 0.38);
        letter-spacing: 0.2px;
        transition: all 0.2s ease;
        font-weight: 500;
        line-height: 1.2;
      }
      .bnav-item.active .bnav-label {
        color: #e8f4ff;
        font-weight: 600;
      }
      .bnav-center-wrap {
        display: none;
      }
      .bnav-item.active .bnav-center-wrap {
        display: none;
      }
      body.nav-visible .container {
        padding-bottom: 120px;
      }
      body.nav-visible {
        padding-bottom: 0;
      }
      @media (max-width: 480px) {
        #bottom-nav {
          padding: 10px 12px 14px;
          padding-bottom: max(14px, env(safe-area-inset-bottom, 0px));
        }
        .bnav-inner {
          padding: 8px 10px;
          gap: 8px;
          border-radius: 28px;
        }
        .bnav-item {
          padding: 6px 4px 8px;
          min-height: 52px;
        }
        .bnav-icon {
          font-size: 26px;
          margin-bottom: 2px;
        }
        .bnav-item.active .bnav-icon {
          font-size: 30px;
        }
        .bnav-label {
          font-size: 9px;
        }
        body.nav-visible .container {
          padding-bottom: 110px;
        }
      }
      #user-screen {
        display: none;
        position: relative;
        z-index: 1;
        opacity: 0;
        transform: translateY(18px);
      }
      #user-screen.active {
        display: block;
        animation: fadeIn 0.45s ease forwards;
      }
      #user-screen.active .user-page-profile,
      #user-screen.active .chat-entry-card,
      #user-screen.active .user-section-title,
      #user-screen.active .recharge-btn,
      #user-screen.active #invite-redeem-status,
      #user-screen.active #invite-redeem-input,
      #user-screen.active #invite-redeem-error,
      #user-screen.active #invite-redeem-success {
        animation: fadeIn 0.55s ease forwards;
      }
      body:not(.logged-in) #user-logged-in-content {
        display: none !important;
      }
      body.logged-in #user-guest-login {
        display: none !important;
      }
      .user-page-profile {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.95), rgba(18, 12, 16, 0.95));
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 18px;
        position: relative;
        overflow: hidden;
        display: flex;
        gap: 16px;
        align-items: center;
      }
      .user-page-profile::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .user-big-av {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.7), rgba(107, 26, 42, 0.7));
        border: 2px solid rgba(212, 175, 55, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        flex-shrink: 0;
        overflow: hidden;
      }
      .user-big-av img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
      }
      .user-page-info {
        flex: 1;
      }
      .user-page-name {
        font-family: "Cinzel Decorative", serif;
        font-size: 15px;
        color: var(--gold);
        letter-spacing: 1px;
        margin-bottom: 4px;
      }
      .user-page-email {
        font-size: 12px;
        color: var(--text-dim);
        margin-bottom: 8px;
      }
      .user-page-balance {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 20px;
        padding: 4px 14px;
        font-size: 13px;
        color: var(--gold);
        cursor: pointer;
        transition: all 0.3s;
      }
      .user-page-balance:hover {
        background: rgba(212, 175, 55, 0.35);
      }
      .user-section-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 14px;
        color: #f5e7a1;
        letter-spacing: 3px;
        margin: 20px 0 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #fff3c4 0, #f5e17a 22%, #d4af37 52%, #fff1b8 78%, #b8891f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 18px rgba(212, 175, 55, 0.14);
        filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.1));
      }
      .user-section-title::before {
        content: "✦";
      }
      .user-section-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(212, 175, 55, 0.35);
      }
      .chat-entry-card {
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.25), rgba(107, 26, 42, 0.25));
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 10px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s;
        margin-bottom: 18px;
      }
      .chat-entry-card:hover {
        border-color: rgba(212, 175, 55, 0.55);
      }
      .chat-entry-left {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .chat-entry-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(212, 175, 55, 0.35);
        border: 1px solid rgba(212, 175, 55, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
      }
      .chat-entry-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 11px;
        color: var(--gold);
        letter-spacing: 1px;
        margin-bottom: 2px;
      }
      .chat-entry-sub {
        font-size: 11px;
        color: var(--text-dim);
      }
      .chat-entry-arrow {
        font-size: 20px;
        color: var(--text-dim);
      }
      .recharge-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 8px;
      }
      @media (max-width: 480px) {
        .recharge-row {
          grid-template-columns: repeat(3, 1fr);
          gap: 8px;
        }
      }
      .recharge-opt {
        background: rgba(10, 6, 8, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 10px;
        padding: 14px 8px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
      }
      .recharge-opt:hover {
        border-color: var(--gold);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
      }
      .recharge-opt.popular {
        border-color: rgba(212, 175, 55, 0.55);
        background: rgba(212, 175, 55, 0.35);
      }
      .recharge-popular-badge {
        position: absolute;
        top: -9px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, #3a2008, #5a3010);
        border: 1px solid var(--gold);
        color: var(--gold);
        font-size: 8px;
        padding: 2px 8px;
        border-radius: 10px;
        letter-spacing: 1px;
        white-space: nowrap;
        font-family: "Cinzel Decorative", serif;
      }
      .recharge-stars {
        font-size: 22px;
        display: block;
        margin-bottom: 5px;
      }
      .recharge-coins {
        font-family: "Cinzel Decorative", serif;
        font-size: 11px;
        color: var(--gold);
        margin-bottom: 2px;
      }
      .recharge-price {
        font-size: 12px;
        color: var(--text-dim);
      }
      .user-history-item {
        background: rgba(10, 6, 8, 0.6);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 10px;
        padding: 14px 16px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s;
      }
      .user-history-item:hover {
        border-color: rgba(212, 175, 55, 0.55);
      }
      .uhi-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        flex-wrap: wrap;
        gap: 6px;
      }
      .uhi-deck {
        font-size: 11px;
        color: var(--gold);
        border: 1px solid rgba(212, 175, 55, 0.55);
        padding: 2px 10px;
        border-radius: 12px;
      }
      .uhi-date {
        font-size: 10px;
        color: var(--text-dim);
      }
      .uhi-q {
        font-size: 13px;
        color: var(--text);
        line-height: 1.5;
        margin-bottom: 8px;
      }
      .uhi-reading {
        font-size: 12px;
        color: var(--text-dim);
        font-family: "IM Fell English", serif;
        line-height: 1.7;
        max-height: 60px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.4s ease;
      }
      .uhi-reading.open {
        max-height: none;
      }
      .uhi-reading::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 24px;
        background: linear-gradient(transparent, rgba(10, 6, 8, 0.85));
      }
      .uhi-reading.open::after {
        display: none;
      }
      .uhi-expand {
        font-size: 11px;
        color: var(--gold);
        cursor: pointer;
        margin-top: 4px;
        display: inline-block;
        letter-spacing: 0.5px;
      }
      .user-logout-btn {
        background: 0 0;
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--text-dim);
        padding: 12px;
        border-radius: 18px;
        font-family: "Noto Serif TC", serif;
        font-size: 13px;
        width: 100%;
        cursor: pointer;
        margin-top: 20px;
        margin-bottom: 8px;
        letter-spacing: 1px;
        transition: all 0.3s;
      }
      .user-logout-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
      }
      .recharge-btn {
        width: 100%;
        background: linear-gradient(135deg, #3a2008, #5a3010, #3a2008);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--gold);
        padding: 14px 20px;
        border-radius: 10px;
        font-family: "Cinzel Decorative", serif;
        font-size: 13px;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 16px;
      }
      .recharge-btn:hover {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
        transform: translateY(-1px);
      }
      .recharge-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.75);
        align-items: center;
        justify-content: center;
        padding: 20px;
      }
      .recharge-modal-overlay.open {
        display: flex;
      }
      .recharge-modal {
        background: linear-gradient(160deg, #0e0818, #1a1030);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 20px;
        padding: 36px 28px;
        max-width: 400px;
        width: 100%;
        position: relative;
        box-shadow: 0 0 60px rgba(74, 26, 94, 0.3);
      }
      .recharge-modal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .recharge-modal-close {
        position: absolute;
        top: 16px;
        right: 20px;
        background: 0 0;
        border: none;
        color: var(--text-dim);
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
      }
      .recharge-modal-title {
        text-align: center;
        font-family: "Cinzel Decorative", serif;
        font-size: 15px;
        color: var(--gold);
        letter-spacing: 2px;
        margin-bottom: 8px;
      }
      .recharge-modal-sub {
        text-align: center;
        font-size: 12px;
        color: var(--text-dim);
        margin-bottom: 24px;
      }
      .recharge-modal-opt {
        background: rgba(10, 6, 8, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 12px;
        padding: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s;
        margin-bottom: 10px;
      }
      .recharge-modal-opt:hover {
        border-color: var(--gold);
        box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
        transform: translateX(4px);
      }
      .recharge-modal-opt.popular {
        border-color: var(--gold);
        background: rgba(212, 175, 55, 0.08);
      }
      .rmo-left {
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .rmo-icon {
        font-size: 24px;
      }
      .rmo-coins {
        font-family: "Cinzel Decorative", serif;
        font-size: 14px;
        color: var(--gold);
        letter-spacing: 1px;
      }
      .rmo-price {
        font-size: 13px;
        color: var(--text-dim);
      }
      .rmo-badge {
        background: linear-gradient(135deg, #3a2008, #5a3010);
        border: 1px solid var(--gold);
        color: var(--gold);
        font-size: 9px;
        padding: 3px 10px;
        border-radius: 12px;
        font-family: "Cinzel Decorative", serif;
        letter-spacing: 1px;
      }
      .rmo-arrow {
        color: var(--text-dim);
        font-size: 18px;
      }
      .history-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.8);
        align-items: flex-start;
        justify-content: center;
        padding: 40px 16px;
      }
      .history-modal-overlay.open {
        display: flex;
      }
      .history-modal {
        background: linear-gradient(160deg, #08050f 0, #120820 40%, #0e0818 100%);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 20px;
        max-width: 480px;
        width: 100%;
        max-height: 80vh;
        position: relative;
        overflow: hidden;
        box-shadow:
          0 0 80px rgba(74, 26, 94, 0.4),
          0 0 30px rgba(212, 175, 55, 0.15);
      }
      .history-modal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 5%;
        right: 5%;
        height: 1px;
        z-index: 1;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .history-modal-header {
        padding: 24px 24px 16px;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 2;
        background: linear-gradient(180deg, #08050f 0, #08050fdd 100%);
      }
      .history-modal-close {
        position: absolute;
        top: 16px;
        right: 20px;
        background: 0 0;
        border: none;
        color: var(--text-dim);
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
      }
      .history-modal-icon {
        font-size: 36px;
        margin-bottom: 8px;
      }
      .history-modal-title {
        font-family: "Cinzel Decorative", serif;
        font-size: 15px;
        color: var(--gold);
        letter-spacing: 2px;
        margin-bottom: 4px;
      }
      .history-modal-sub {
        font-size: 11px;
        color: var(--text-dim);
        font-family: "IM Fell English", serif;
        font-style: italic;
        letter-spacing: 2px;
      }
      .history-modal-body {
        padding: 0 20px 24px;
        overflow-y: auto;
        max-height: calc(80vh - 100px);
      }
      .hm-item {
        background: linear-gradient(160deg, rgba(28, 18, 40, 0.96), rgba(14, 9, 24, 0.98));
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 18px;
        padding: 18px 18px 16px;
        margin-bottom: 16px;
        transition: all 0.3s;
        box-shadow:
          0 10px 28px rgba(0, 0, 0, 0.28),
          inset 0 1px 0 rgba(255, 255, 255, 0.03);
        position: relative;
        overflow: hidden;
      }
      .hm-item:before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(245, 225, 122, 0.55), transparent);
        opacity: 0.9;
      }
      .hm-item:hover {
        transform: translateY(-1px);
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow:
          0 14px 34px rgba(0, 0, 0, 0.34),
          0 0 0 1px rgba(212, 175, 55, 0.04),
          inset 0 1px 0 rgba(255, 255, 255, 0.04);
      }
      .hm-item:hover {
        border-color: rgba(212, 175, 55, 0.55);
      }
      .hm-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 8px;
      }
      .hm-deck {
        font-size: 13px;
        color: var(--gold);
        border: 1px solid rgba(212, 175, 55, 0.38);
        padding: 4px 12px;
        border-radius: 999px;
        background: rgba(212, 175, 55, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        letter-spacing: 0.6px;
      }
      .hm-date {
        font-size: 12px;
        color: rgba(200, 185, 208, 0.72);
        letter-spacing: 0.3px;
      }
      .hm-question {
        font-size: 15px;
        color: #f3e8ff;
        line-height: 1.8;
        margin-bottom: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(212, 175, 55, 0.08);
      }
      .hm-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
      }
      .hm-card-tag {
        font-size: 12px;
        color: #d8c8dd;
        border: 1px solid rgba(212, 175, 55, 0.18);
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(212, 175, 55, 0.05);
      }
      .hm-reading {
        font-size: 14px;
        color: #d5c7dc;
        line-height: 2;
        max-height: 92px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.4s ease;
        padding: 14px 14px 0;
        border-top: 1px solid rgba(212, 175, 55, 0.12);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
      }
      .hm-reading.expanded {
        max-height: none;
        padding-bottom: 6px;
      }
      .hm-reading:not(.expanded)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 24px;
        background: linear-gradient(transparent, rgba(15, 10, 20, 0.9));
      }
      .hm-expand {
        font-size: 13px;
        color: var(--gold);
        cursor: pointer;
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        letter-spacing: 0.5px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(212, 175, 55, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.16);
      }
      .hm-empty {
        text-align: center;
        color: var(--text-dim);
        font-style: italic;
        padding: 40px 20px;
        font-size: 13px;
        line-height: 2;
      }
      .hm-loading {
        text-align: center;
        color: var(--gold);
        font-size: 20px;
        padding: 40px;
        letter-spacing: 8px;
        animation: blink 0.7s ease-in-out infinite;
      }
      .chat-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.8);
        align-items: center;
        justify-content: center;
        padding: 20px;
      }
      .chat-modal-overlay.open {
        display: flex;
      }
      .chat-modal {
        background: linear-gradient(160deg, #08050f 0, #120820 40%, #0e0818 100%);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 20px;
        max-width: 480px;
        width: 100%;
        height: 70vh;
        max-height: 560px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow:
          0 0 80px rgba(74, 26, 94, 0.4),
          0 0 30px rgba(212, 175, 55, 0.15);
      }
      .chat-modal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 5%;
        right: 5%;
        height: 1px;
        z-index: 1;
        background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e17a 50%, #d4af37 80%, transparent);
      }
      .chat-modal-header {
        padding: 16px 20px;
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.5), rgba(107, 26, 42, 0.5));
        border-bottom: 1px solid rgba(212, 175, 55, 0.35);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
      }
      .chat-modal-close {
        background: 0 0;
        border: none;
        color: var(--text-dim);
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
      }
      .chat-modal-messages {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .chat-modal-input-area {
        padding: 12px 16px;
        border-top: 1px solid rgba(212, 175, 55, 0.35);
        display: flex;
        gap: 8px;
        flex-shrink: 0;
      }
      .chat-modal-input {
        flex: 1;
        background: rgba(10, 6, 8, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 8px;
        padding: 10px 14px;
        color: var(--text);
        font-family: "Noto Serif TC", serif;
        font-size: 13px;
        outline: 0;
      }
      .chat-modal-input:focus {
        border-color: var(--gold);
      }
      .chat-modal-send {
        background: rgba(212, 175, 55, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--gold);
        width: 38px;
        height: 38px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .chat-modal-send:hover {
        background: rgba(212, 175, 55, 0.15);
      }
      @media (max-width: 600px) {
        .seo-content-wrap {
          padding: 0 16px 72px !important;
        }
        .seo-shell {
          padding: 28px 18px !important;
          border-radius: 22px !important;
        }
        .seo-title {
          font-size: 24px !important;
        }
        .faq-item p,
        .intent-card li,
        .intent-card p,
        .seo-lead,
        .seo-link-card p {
          font-size: 13px !important;
        }
      }
      #oracle-screen {
        display: none;
        position: relative;
        z-index: 1;
        animation: fadeIn 0.6s ease;
      }
      #oracle-screen.active {
        display: block;
      }
      .oracle-topic-btn {
        padding: 7px 14px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 12px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        background: 0 0;
        color: var(--text-dim);
        transition: all 0.25s;
        font-family: "Noto Serif TC", serif;
        white-space: nowrap;
        user-select: none;
      }
      .oracle-topic-btn:hover {
        border-color: rgba(212, 175, 55, 0.55);
        color: var(--gold);
      }
      .oracle-topic-btn.active {
        background: rgba(212, 175, 55, 0.15);
        border-color: var(--gold);
        color: var(--gold);
      }
      .oracle-card-count-btn {
        padding: 8px 20px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 12px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        background: 0 0;
        color: var(--text-dim);
        transition: all 0.25s;
        font-family: "Noto Serif TC", serif;
        user-select: none;
      }
      .oracle-card-count-btn.active {
        background: rgba(212, 175, 55, 0.15);
        border-color: var(--gold);
        color: var(--gold);
      }
      .oracle-spread-card {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.95), rgba(18, 12, 16, 0.95));
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 14px;
        padding: 16px 14px;
        display: flex;
        align-items: center;
        gap: 14px;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
      }
      .oracle-spread-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
      }
      .oracle-spread-card:hover {
        border-color: rgba(212, 175, 55, 0.55);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
        transform: translateY(-2px);
      }
      .oracle-spread-icon {
        font-size: 28px;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.08);
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.15);
      }
      .oracle-spread-body {
        flex: 1;
        min-width: 0;
      }
      .oracle-spread-name {
        font-family: "Cinzel Decorative", serif;
        font-size: 13px;
        color: var(--gold);
        letter-spacing: 1px;
        margin-bottom: 4px;
      }
      .oracle-spread-desc {
        font-size: 11px;
        color: var(--text-dim);
        line-height: 1.6;
        margin-bottom: 6px;
      }
      .oracle-spread-tags {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }
      .oracle-spread-tags span {
        font-size: 10px;
        color: rgba(212, 175, 55, 0.6);
        border: 1px solid rgba(212, 175, 55, 0.2);
        padding: 1px 8px;
        border-radius: 8px;
      }
      .oracle-spread-arrow {
        font-size: 22px;
        color: rgba(212, 175, 55, 0.5);
        flex-shrink: 0;
      }
      #spreads-screen {
        display: none;
        position: relative;
        z-index: 1;
        animation: fadeIn 0.6s ease;
      }
      #spreads-screen.active {
        display: block;
      }
      .spread-cat-btn {
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 12px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        background: 0 0;
        color: var(--text-dim);
        transition: all 0.25s;
        font-family: "Noto Serif TC", serif;
        white-space: nowrap;
      }
      .spread-cat-btn:hover {
        border-color: rgba(212, 175, 55, 0.55);
        color: var(--gold);
      }
      .spread-cat-btn.active {
        background: rgba(212, 175, 55, 0.15);
        border-color: var(--gold);
        color: var(--gold);
      }
      .spread-lib-card {
        background: linear-gradient(135deg, rgba(26, 17, 24, 0.95), rgba(18, 12, 16, 0.95));
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 14px;
        padding: 22px 20px;
        margin-bottom: 16px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s;
      }
      .spread-lib-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
      }
      .spread-lib-card:hover {
        border-color: rgba(212, 175, 55, 0.55);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
      }
      .spread-lib-card-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 12px;
      }
      .spread-lib-card-icon {
        font-size: 32px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.08);
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.15);
        flex-shrink: 0;
      }
      .spread-lib-card-meta {
        flex: 1;
        min-width: 0;
      }
      .spread-lib-card-name {
        font-family: "Cinzel Decorative", serif;
        font-size: 18px;
        font-weight: 800;
        color: #f7e7a3;
        letter-spacing: 1.4px;
        line-height: 1.35;
        margin-bottom: 6px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
      }
      .spread-lib-card-count {
        font-size: 11px;
        color: rgba(212, 175, 55, 0.6);
        border: 1px solid rgba(212, 175, 55, 0.25);
        padding: 1px 10px;
        border-radius: 10px;
        display: inline-block;
      }
      .spread-lib-card-suitable {
        font-size: 12px;
        color: var(--text-dim);
        margin-bottom: 10px;
        line-height: 1.6;
      }
      .spread-lib-card-desc {
        font-size: 12px;
        color: rgba(200, 184, 136, 0.6);
        line-height: 1.7;
        margin-bottom: 14px;
      }
      .spread-lib-card-layout {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        padding: 16px 8px;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
        margin-bottom: 14px;
        min-height: 60px;
      }
      .spread-mini-card {
        width: 28px;
        height: 40px;
        border-radius: 4px;
        border: 1px solid rgba(212, 175, 55, 0.4);
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.3), rgba(26, 17, 24, 0.8));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        color: rgba(212, 175, 55, 0.7);
        font-family: "Cinzel Decorative", serif;
      }
      .spread-lib-card-btn {
        width: 100%;
        padding: 12px 14px;
        background: linear-gradient(
          135deg,
          rgba(36, 20, 6, 0.98),
          rgba(92, 54, 11, 0.96) 42%,
          rgba(212, 175, 55, 0.22) 100%
        );
        border: 1px solid rgba(245, 225, 122, 0.86);
        color: #fff3c4;
        border-radius: 14px;
        font-family: "Cinzel Decorative", serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        cursor: pointer;
        transition:
          transform 0.18s ease,
          box-shadow 0.18s ease,
          border-color 0.18s ease,
          filter 0.18s ease;
        box-shadow:
          0 0 0 1px rgba(255, 248, 210, 0.08) inset,
          0 10px 24px rgba(0, 0, 0, 0.24),
          0 0 20px rgba(212, 175, 55, 0.16);
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
        position: relative;
        overflow: hidden;
      }
      .spread-lib-card-btn:hover {
        transform: translateY(-1px);
        box-shadow:
          0 0 0 1px rgba(255, 248, 210, 0.12) inset,
          0 14px 28px rgba(0, 0, 0, 0.28),
          0 0 26px rgba(212, 175, 55, 0.24);
        filter: brightness(1.04);
      }
      .spread-detail-layout-area {
        position: relative;
        padding: 30px 10px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 12px;
        margin: 16px 0;
        min-height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .spread-detail-pos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin: 4px;
      }
      .spread-detail-pos-card {
        width: 44px;
        height: 64px;
        border-radius: 6px;
        border: 1px solid rgba(212, 175, 55, 0.5);
        background: linear-gradient(135deg, rgba(74, 26, 94, 0.3), rgba(26, 17, 24, 0.8));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: var(--gold);
        font-family: "Cinzel Decorative", serif;
      }
      .spread-detail-pos-label {
        font-size: 10px;
        color: var(--text-dim);
        text-align: center;
        max-width: 60px;
        line-height: 1.3;
      }
      .shuffle-overlay {
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(5, 3, 8, 0.97);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        animation: fadeIn 0.3s ease;
        overflow: hidden;
      }
      .shuffle-stage {
        position: relative;
        width: 280px;
        height: 260px;
      }
      .shuffle-c {
        position: absolute;
        width: 60px;
        height: 90px;
        border-radius: 8px;
        border: 1px solid rgba(212, 175, 55, 0.4);
        background: linear-gradient(135deg, #1a0f20, #0d0812);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        left: 110px;
        top: 85px;
        will-change: transform;
      }
      .shuffle-c img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
      }
      .shuffle-c.scatter {
        transition: all 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
      }
      .shuffle-c.reform {
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .shuffle-cta {
        margin-top: 30px;
        max-width: 360px;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition:
          opacity 0.55s ease,
          transform 0.55s ease;
        pointer-events: none;
        padding: 0 18px;
      }
      .shuffle-cta.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
      .shuffle-guide {
        font-size: 13.5px;
        color: rgba(230, 220, 200, 0.85);
        line-height: 1.95;
        letter-spacing: 1.2px;
        margin-bottom: 22px;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.08);
      }
      .shuffle-guide .shuffle-guide-accent {
        color: rgba(245, 225, 122, 0.95);
        font-weight: 600;
        letter-spacing: 1.5px;
      }
      .shuffle-btn {
        display: inline-block;
        padding: 13px 36px;
        border-radius: 999px;
        border: 1px solid rgba(212, 175, 55, 0.65);
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
        color: #f5e17a;
        font-family: "Cinzel Decorative", serif;
        font-size: 13px;
        letter-spacing: 3.5px;
        cursor: pointer;
        transition: all 0.28s ease;
        box-shadow: 0 0 0 rgba(212, 175, 55, 0);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
      }
      .shuffle-btn:hover {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(212, 175, 55, 0.08));
        box-shadow: 0 0 24px rgba(212, 175, 55, 0.32);
        transform: translateY(-1px);
        border-color: rgba(245, 225, 122, 0.85);
      }
      .shuffle-btn:active {
        transform: translateY(0);
        box-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
      }
      @keyframes shufflePulse {
        0%,
        100% {
          box-shadow: 0 0 0 rgba(212, 175, 55, 0);
        }
        50% {
          box-shadow: 0 0 22px rgba(212, 175, 55, 0.38);
        }
      }
      .shuffle-cta.show .shuffle-btn {
        animation: shufflePulse 2.4s ease-in-out infinite;
      }
      .pick-zone {
        position: relative;
        touch-action: none;
        -webkit-user-select: none;
        user-select: none;
        min-height: 240px;
        overflow: hidden;
      }
      .fan-pivot {
        display: none;
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        transition: transform 0.3s ease;
      }
      .fc {
        position: absolute;
        border-radius: 6px;
        border: 1px solid rgba(212, 175, 55, 0.25);
        background: #0e0a14;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
        cursor: pointer;
        overflow: hidden;
        will-change: transform;
        transition:
          filter 0.12s,
          box-shadow 0.12s;
      }
      .fc img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
        pointer-events: none;
        display: block;
      }
      .fc:hover:not(.gone) {
        filter: brightness(1.3);
        box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
        z-index: 999 !important;
      }
      .fc.gone {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
      }
      .row-pool {
        display: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 16px 8px 12px;
        gap: 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: rgba(212, 175, 55, 0.2) transparent;
        -webkit-overflow-scrolling: touch;
      }
      .row-pool::-webkit-scrollbar {
        height: 4px;
      }
      .row-pool::-webkit-scrollbar-track {
        background: 0 0;
      }
      .row-pool::-webkit-scrollbar-thumb {
        background: rgba(212, 175, 55, 0.2);
        border-radius: 2px;
      }
      .rpc {
        flex-shrink: 0;
        width: 56px;
        height: 84px;
        border-radius: 7px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        background: #0e0a14;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
        cursor: pointer;
        overflow: hidden;
        transition:
          transform 0.2s,
          box-shadow 0.2s,
          opacity 0.3s;
        scroll-snap-align: center;
      }
      .rpc img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
        pointer-events: none;
        display: block;
      }
      .rpc:hover:not(.gone) {
        transform: translateY(-6px) scale(1.05);
        box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3);
        border-color: var(--gold);
      }
      .rpc.gone {
        opacity: 0.15;
        pointer-events: none;
        transform: scale(0.92);
      }
      @media (max-width: 600px) {
        .fan-pivot {
          display: block;
        }
        .row-pool {
          display: none !important;
        }
        .pick-zone {
          cursor: grab;
          min-height: 230px;
        }
        .pick-zone:active {
          cursor: grabbing;
        }
        .fc {
          pointer-events: none;
        }
      }
      @media (min-width: 601px) {
        .fan-pivot {
          display: none !important;
        }
        .row-pool {
          display: flex !important;
        }
        .pick-zone {
          min-height: auto;
        }
        .rpc {
          width: 60px;
          height: 90px;
        }
      }
      .spread-layout-area {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px 0;
        min-height: 120px;
      }
      .spread-slot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
      }
      .spread-slot-card {
        width: 50px;
        height: 75px;
        border-radius: 8px;
        border: 2px dashed rgba(212, 175, 55, 0.25);
        background: rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: rgba(212, 175, 55, 0.3);
        font-family: "Cinzel Decorative", serif;
        transition: all 0.5s;
        position: relative;
        overflow: hidden;
      }
      .spread-slot-card.filled {
        border-style: solid;
        border-color: rgba(212, 175, 55, 0.5);
        background: linear-gradient(135deg, #1a0f20, #0d0812);
        animation: cardLand 0.5s ease;
      }
      .spread-slot-card.flipped {
        animation: flipCard 0.8s ease forwards;
      }
      @keyframes cardLand {
        0% {
          transform: scale(0.6);
          opacity: 0;
        }
        60% {
          transform: scale(1.08);
          opacity: 1;
        }
        100% {
          transform: scale(1);
          opacity: 1;
        }
      }
      @keyframes flipCard {
        0% {
          transform: rotateY(0);
        }
        50% {
          transform: rotateY(90deg);
        }
        100% {
          transform: rotateY(0);
        }
      }
      @media (max-width: 420px) {
        .spread-slot-card {
          width: 46px;
          height: 68px;
          border-radius: 6px;
        }
        .spread-slot-label {
          font-size: 9px;
          max-width: 52px;
        }
        .spread-slot-name {
          font-size: 9px;
          max-width: 52px;
        }
        .draw-pool-card {
          width: 46px;
          height: 68px;
        }
        .spread-mini-card {
          width: 22px;
          height: 32px;
          font-size: 8px;
        }
        .spread-detail-pos-card {
          width: 36px;
          height: 52px;
          font-size: 11px;
        }
        .spread-lib-card {
          padding: 16px 14px;
        }
        .spread-lib-card-name {
          font-size: 12px;
        }
      }
      @media (min-width: 421px) and (max-width: 600px) {
        .spread-slot-card {
          width: 52px;
          height: 78px;
        }
        .draw-pool-card {
          width: 50px;
          height: 74px;
        }
      }
      @media (min-width: 601px) {
        .spread-slot-card {
          width: 58px;
          height: 86px;
        }
        .draw-pool-card {
          width: 60px;
          height: 88px;
        }
        .spread-detail-pos-card {
          width: 50px;
          height: 72px;
        }
      }
      .spread-slot-label {
        font-size: 10px;
        color: var(--text-dim);
        text-align: center;
        max-width: 70px;
        letter-spacing: 0.5px;
      }
      .spread-slot-name {
        font-size: 10px;
        color: var(--gold-light);
        text-align: center;
        max-width: 75px;
        min-height: 14px;
        line-height: 1.3;
      }
      .reading-wait-hint {
        margin-top: 10px;
        text-align: center;
        font-size: 12px;
        line-height: 1.9;
        color: rgba(245, 225, 122, 0.9);
        letter-spacing: 0.8px;
        text-shadow: 0 0 12px rgba(212, 175, 55, 0.18);
      }
      .reading-wait-sub {
        display: block;
        font-size: 11px;
        color: var(--text-dim);
        letter-spacing: 0.6px;
      }
      .btn,
      .recharge-modal-opt,
      .shop-plan,
      .spread-lib-card-btn {
        border-radius: 18px !important;
      }
      .chat-send {
        border-radius: 12px !important;
      }
      @keyframes memberGlow {
        0%,
        100% {
          box-shadow:
            0 0 16px rgba(212, 175, 55, 0.25),
            0 0 32px rgba(212, 175, 55, 0.08),
            0 6px 24px rgba(0, 0, 0, 0.4);
        }
        50% {
          box-shadow:
            0 0 28px rgba(212, 175, 55, 0.55),
            0 0 56px rgba(212, 175, 55, 0.2),
            0 6px 24px rgba(0, 0, 0, 0.4);
        }
      }
      @keyframes shimmer {
        0%,
        100% {
          opacity: 0.6;
        }
        50% {
          opacity: 1;
        }
      }
      .step1-intro {
        color: var(--text-dim);
        font-size: 15px;
        line-height: 1.95;
        letter-spacing: 0.5px;
        margin: 6px 2px 20px;
        text-align: center;
      }
      .step1-intro p {
        margin: 0 0 10px;
      }
      .step1-intro b {
        color: var(--gold);
        font-weight: 600;
      }
      .intro-fan {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 210px;
        margin: 10px 0 22px;
        perspective: 600px;
      }
      .intro-fan .intro-img {
        position: absolute;
        width: 115px;
        height: auto;
        border-radius: 10px;
        border: 1px solid rgba(245, 225, 122, 0.45);
        box-shadow:
          0 10px 30px rgba(0, 0, 0, 0.45),
          0 0 24px rgba(212, 175, 55, 0.28);
        transition:
          transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
          box-shadow 0.4s ease;
      }
      .intro-fan .intro-img:nth-child(1) {
        transform: translateX(-54px) translateY(8px) rotate(-12deg);
        z-index: 1;
      }
      .intro-fan .intro-img:nth-child(2) {
        transform: translateX(0) translateY(-6px) rotate(0);
        z-index: 3;
      }
      .intro-fan .intro-img:nth-child(3) {
        transform: translateX(54px) translateY(8px) rotate(12deg);
        z-index: 2;
      }
      .intro-fan:hover .intro-img:nth-child(1) {
        transform: translateX(-78px) translateY(0) rotate(-18deg);
        box-shadow:
          0 14px 38px rgba(0, 0, 0, 0.5),
          0 0 34px rgba(212, 175, 55, 0.4);
      }
      .intro-fan:hover .intro-img:nth-child(2) {
        transform: translateX(0) translateY(-14px) rotate(0);
        box-shadow:
          0 14px 38px rgba(0, 0, 0, 0.5),
          0 0 34px rgba(212, 175, 55, 0.4);
      }
      .intro-fan:hover .intro-img:nth-child(3) {
        transform: translateX(78px) translateY(0) rotate(18deg);
        box-shadow:
          0 14px 38px rgba(0, 0, 0, 0.5),
          0 0 34px rgba(212, 175, 55, 0.4);
      }
      @media (max-width: 400px) {
        .intro-fan {
          height: 180px;
        }
        .intro-fan .intro-img {
          width: 95px;
        }
        .intro-fan .intro-img:nth-child(1) {
          transform: translateX(-42px) translateY(6px) rotate(-12deg);
        }
        .intro-fan .intro-img:nth-child(3) {
          transform: translateX(42px) translateY(6px) rotate(12deg);
        }
      }
      html[lang="zh-Hant"] body,
      html[lang="zh-Hant"] input,
      html[lang="zh-Hant"] textarea,
      html[lang="zh-Hant"] button,
      html[lang="zh-Hant"] select {
        font-family: "Noto Serif TC", "Noto Serif SC", serif;
      }
      html[lang="zh-Hans"] body,
      html[lang="zh-Hans"] input,
      html[lang="zh-Hans"] textarea,
      html[lang="zh-Hans"] button,
      html[lang="zh-Hans"] select {
        font-family: "Noto Serif SC", "Noto Serif TC", serif;
      }
      html[lang="ja"] body,
      html[lang="ja"] input,
      html[lang="ja"] textarea,
      html[lang="ja"] button,
      html[lang="ja"] select {
        font-family: "Noto Serif JP", "Noto Serif TC", serif;
      }
      html[lang="ko"] body,
      html[lang="ko"] input,
      html[lang="ko"] textarea,
      html[lang="ko"] button,
      html[lang="ko"] select {
        font-family: "Noto Serif KR", "Noto Serif TC", serif;
      }
      html[lang="en"] body,
      html[lang="en"] input,
      html[lang="en"] textarea,
      html[lang="en"] button,
      html[lang="en"] select {
        font-family: "Noto Serif", "Noto Serif TC", Georgia, serif;
      }
      #lang-switcher {
        position: relative;
        margin: 14px auto 4px;
        padding: 12px 14px;
        max-width: 360px;
        background: linear-gradient(
          135deg,
          rgba(36, 20, 6, 0.55),
          rgba(92, 54, 11, 0.3) 55%,
          rgba(212, 175, 55, 0.1) 100%
        );
        border: 1px solid rgba(245, 225, 122, 0.32);
        border-radius: 14px;
        box-shadow:
          0 6px 18px rgba(0, 0, 0, 0.3),
          0 0 14px rgba(212, 175, 55, 0.12);
        font-family: "Noto Serif TC", serif;
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: space-between;
      }
      #lang-switcher::before {
        content: "語言 · Language";
        font-size: 11px;
        letter-spacing: 2px;
        color: rgba(245, 225, 122, 0.78);
        text-transform: uppercase;
        flex: 1 1 auto;
      }
      #lang-switch-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 11px;
        background: linear-gradient(135deg, rgba(36, 20, 6, 0.88), rgba(78, 48, 12, 0.82));
        border: 1px solid rgba(245, 225, 122, 0.5);
        color: #f5e7a1;
        border-radius: 999px;
        cursor: pointer;
        font-size: 12px;
        letter-spacing: 1px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow:
          0 4px 14px rgba(0, 0, 0, 0.35),
          0 0 10px rgba(212, 175, 55, 0.18);
        transition: all 0.25s ease;
        font-family: inherit;
      }
      #lang-switch-btn:hover {
        transform: translateY(-1px);
        box-shadow:
          0 6px 18px rgba(0, 0, 0, 0.45),
          0 0 16px rgba(212, 175, 55, 0.28);
        border-color: rgba(245, 225, 122, 0.75);
      }
      #lang-switch-btn .lang-switch-globe {
        font-size: 14px;
        line-height: 1;
      }
      #lang-switch-btn .lang-switch-code {
        font-weight: 600;
        letter-spacing: 0.8px;
      }
      #lang-switch-btn .lang-switch-caret {
        font-size: 8px;
        opacity: 0.75;
        margin-left: 2px;
      }
      #lang-dropdown {
        display: none;
        position: absolute;
        bottom: calc(100% + 8px);
        right: 0;
        min-width: 156px;
        background: linear-gradient(160deg, rgba(18, 12, 32, 0.98), rgba(26, 16, 48, 0.98));
        border: 1px solid rgba(245, 225, 122, 0.35);
        border-radius: 12px;
        padding: 6px;
        box-shadow:
          0 14px 34px rgba(0, 0, 0, 0.5),
          0 0 22px rgba(212, 175, 55, 0.14);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        animation: fadeIn 0.2s ease;
      }
      .lang-dropdown-item {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        background: transparent;
        border: none;
        color: #ddd1e6;
        font-size: 13px;
        letter-spacing: 0.5px;
        cursor: pointer;
        border-radius: 8px;
        text-align: left;
        font-family: inherit;
        transition:
          background 0.18s ease,
          color 0.18s ease;
      }
      .lang-dropdown-item:hover {
        background: rgba(245, 225, 122, 0.12);
        color: #f5e7a1;
      }
      .lang-dropdown-item.active {
        background: rgba(245, 225, 122, 0.18);
        color: #f5e7a1;
      }
      .lang-dropdown-item .lang-check {
        margin-left: auto;
        color: #f5e7a1;
        opacity: 0;
      }
      .lang-dropdown-item.active .lang-check {
        opacity: 1;
      }
      .intro-reader-lead {
        display: block;
      }
      @media (max-width: 400px) {
        #lang-switcher {
          padding: 10px 12px;
          gap: 8px;
          margin-top: 10px;
        }
        #lang-switch-btn {
          padding: 5px 9px;
          font-size: 11px;
        }
        #lang-switcher::before {
          font-size: 10px;
          letter-spacing: 1px;
        }
      }
      .intro-reader {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 18px auto 6px;
        padding: 12px 14px;
        max-width: 360px;
        background: linear-gradient(
          135deg,
          rgba(36, 20, 6, 0.55),
          rgba(92, 54, 11, 0.35) 55%,
          rgba(212, 175, 55, 0.12) 100%
        );
        border: 1px solid rgba(245, 225, 122, 0.32);
        border-radius: 14px;
        box-shadow:
          0 6px 18px rgba(0, 0, 0, 0.35),
          0 0 14px rgba(212, 175, 55, 0.14);
      }
      .intro-reader .intro-reader-avatar {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        object-fit: cover;
        flex: 0 0 58px;
        border: 1.5px solid rgba(245, 225, 122, 0.55);
        box-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
      }
      .intro-reader .intro-reader-text {
        flex: 1;
        text-align: left;
        color: #e8dcc0;
        font-size: 14px;
        line-height: 1.7;
        letter-spacing: 0.5px;
      }
      .intro-reader .intro-reader-text b {
        color: #f5e17a;
        font-weight: 600;
        letter-spacing: 1px;
      }
      .intro-reader .intro-reader-sub {
        display: block;
        margin-top: 4px;
        font-size: 12px;
        color: rgba(232, 220, 192, 0.68);
        letter-spacing: 0.4px;
      }
      @media (max-width: 400px) {
        .intro-reader {
          gap: 12px;
          padding: 10px 12px;
        }
        .intro-reader .intro-reader-avatar {
          width: 52px;
          height: 52px;
          flex: 0 0 52px;
        }
        .intro-reader .intro-reader-text {
          font-size: 13px;
        }
      }
      body[data-deck="tarot"] #step1-intro-lenormand {
        display: none !important;
      }
      body[data-deck="tarot"] #step1-intro-oracle {
        display: none !important;
      }
      body[data-deck="lenormand"] #step1-intro-tarot {
        display: none !important;
      }
      body[data-deck="lenormand"] #step1-intro-lenormand {
        display: block !important;
      }
      body[data-deck="lenormand"] #step1-intro-oracle {
        display: none !important;
      }
      body[data-deck="oracle"] #step1-intro-tarot {
        display: none !important;
      }
      body[data-deck="oracle"] #step1-intro-lenormand {
        display: none !important;
      }
      body[data-deck="oracle"] #step1-intro-oracle {
        display: block !important;
      }
      .step3-oracle-only {
        display: none;
      }
      body[data-deck="oracle"] .step3-oracle-only {
        display: block;
      }

      .shop-plan {
        background: linear-gradient(135deg, rgba(30, 22, 17, 0.98), rgba(18, 13, 11, 0.99)) !important;
        border: 1px solid rgba(194, 152, 98, 0.34) !important;
        border-radius: 16px !important;
        transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow:
          inset 0 1px 0 rgba(255, 245, 228, 0.04),
          0 14px 30px rgba(0, 0, 0, 0.26) !important;
      }
      .shop-plan::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(243, 223, 181, 0.34), transparent);
      }
      .shop-plan:hover {
        border-color: rgba(239, 201, 143, 0.78) !important;
        transform: translateY(-2px) !important;
        box-shadow:
          inset 0 1px 0 rgba(255, 245, 228, 0.08),
          0 20px 40px rgba(87, 53, 25, 0.36) !important;
      }
      .shop-plan--standard {
        background: linear-gradient(135deg, rgba(26, 19, 16, 0.98), rgba(17, 12, 10, 0.99)) !important;
      }
      .shop-plan--premium {
        background: linear-gradient(135deg, rgba(39, 28, 19, 0.99), rgba(25, 18, 12, 0.99)) !important;
        border-color: rgba(212, 168, 96, 0.46) !important;
      }
      .shop-plan--featured {
        border-width: 1.5px !important;
        box-shadow:
          inset 0 1px 0 rgba(255, 245, 228, 0.1),
          0 24px 46px rgba(101, 62, 26, 0.4) !important;
      }
      .shop-plan-title {
        color: #f4e7cd !important;
      }
      .shop-plan-desc {
        color: rgba(223, 201, 174, 0.68) !important;
      }
      .shop-plan-price {
        color: #f1d08b !important;
        text-shadow: 0 0 14px rgba(212, 175, 55, 0.12);
      }
      .shop-plan-badge {
        background: linear-gradient(135deg, #f5e4bf, #d8a15a, #f5e4bf) !important;
        color: #24150a !important;
        box-shadow: 0 6px 14px rgba(149, 96, 42, 0.26) !important;
      }

      .header h1 {
        background-image: linear-gradient(135deg, #fff7d6 0, #ffe9a3 34%, #fff1be 66%, #d6ab58 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 18px rgba(255, 234, 168, 0.18);
        filter: drop-shadow(0 0 10px rgba(255, 223, 140, 0.22));
      }
      .header .subtitle {
        color: #f4ead1;
        text-shadow:
          0 0 12px rgba(255, 238, 188, 0.16),
          0 1px 6px rgba(0, 0, 0, 0.32);
      }

      .seo-entry-links {
        margin: 26px auto 92px;
        padding: 18px 16px 20px;
        max-width: 640px;
        border-top: 1px solid rgba(212, 175, 55, 0.22);
        border-bottom: 1px solid rgba(212, 175, 55, 0.14);
        text-align: center;
      }
      .seo-entry-title {
        color: rgba(245, 225, 122, 0.82);
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
      }
      .seo-entry-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
      }
      .seo-entry-grid a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 7px 12px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 999px;
        color: rgba(238, 226, 203, 0.78);
        background: rgba(255, 255, 255, 0.025);
        font-size: 12px;
        line-height: 1.35;
        text-decoration: none;
      }
      .seo-entry-grid a:hover,
      .seo-entry-grid a:focus-visible {
        color: #fff2bf;
        border-color: rgba(245, 225, 122, 0.48);
        background: rgba(212, 175, 55, 0.08);
        outline: none;
      }
      @media (max-width: 520px) {
        .seo-entry-links {
          margin-bottom: 82px;
          padding-left: 10px;
          padding-right: 10px;
        }
        .seo-entry-grid {
          gap: 7px;
        }
        .seo-entry-grid a {
          font-size: 11px;
          padding: 7px 10px;
        }
      }

      #member-usage-modal {
        backdrop-filter: blur(10px);
      }
      #member-usage-modal .mum-sheet {
        position: relative;
        width: min(560px, 100%);
        padding: 26px 24px 22px;
        border-radius: 28px;
        border: 1px solid rgba(235, 207, 126, 0.24);
        background: linear-gradient(180deg, rgba(24, 17, 14, 0.98) 0%, rgba(14, 10, 10, 0.99) 100%);
        box-shadow:
          0 28px 80px rgba(0, 0, 0, 0.52),
          0 0 0 1px rgba(255, 255, 255, 0.02) inset;
        overflow: hidden;
      }
      #member-usage-modal .mum-sheet::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 14% 10%, rgba(255, 244, 223, 0.07) 0, transparent 26%),
          radial-gradient(circle at 84% 14%, rgba(255, 190, 92, 0.11) 0, transparent 24%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
        pointer-events: none;
      }
      #member-usage-modal .mum-topline {
        position: absolute;
        top: 0;
        left: 8%;
        right: 8%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(245, 225, 122, 0.96) 50%, transparent);
      }
      #member-usage-modal .mum-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid rgba(245, 225, 122, 0.18);
        background: rgba(255, 255, 255, 0.05);
        color: rgba(245, 225, 122, 0.78);
        font-size: 18px;
        cursor: pointer;
        line-height: 1;
        z-index: 2;
      }
      #member-usage-modal .mum-header {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
      }
      #member-usage-modal .mum-overline {
        font-family: "Cinzel Decorative", serif;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 1.4px;
        text-align: center;
        color: rgba(219, 188, 107, 0.92);
        padding: 0 28px;
      }
      #member-usage-modal .mum-plan-row {
        display: flex;
        align-items: center;
        gap: 14px;
      }
      #member-usage-modal .mum-orb {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
        color: #f7e39a;
        background: linear-gradient(135deg, rgba(255, 221, 128, 0.14), rgba(123, 87, 35, 0.42));
        border: 1px solid rgba(245, 214, 132, 0.26);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.16);
      }
      #member-usage-modal .mum-plan-copy {
        min-width: 0;
      }
      #member-usage-modal .mum-plan-title {
        font-family: "Noto Serif TC", serif;
        font-size: 17px;
        font-weight: 700;
        color: #fff4e4;
        letter-spacing: 0.4px;
        margin-bottom: 4px;
      }
      #member-usage-modal .mum-expire {
        font-size: 12px;
        color: rgba(231, 215, 196, 0.66);
        line-height: 1.5;
      }
      #member-usage-modal .mum-meter-list {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 16px;
      }
      #member-usage-modal .mum-meter-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      #member-usage-modal .mum-meter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }
      #member-usage-modal .mum-meter-label {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        color: #f7efe6;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.2px;
      }
      #member-usage-modal .mum-meter-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
      }
      #member-usage-modal .mum-meter-value {
        flex-shrink: 0;
        font-family: "Cinzel Decorative", serif;
        font-size: 17px;
        font-weight: 700;
        color: #f7e08d;
        letter-spacing: 0.2px;
        text-align: right;
        white-space: nowrap;
      }
      #member-usage-modal .mum-meter-track {
        position: relative;
        height: 12px;
        border-radius: 999px;
        background: rgba(102, 83, 57, 0.28);
        overflow: hidden;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      }
      #member-usage-modal .mum-meter-fill {
        height: 100%;
        width: 0;
        border-radius: 999px;
        transition:
          width 0.35s ease,
          opacity 0.35s ease,
          filter 0.35s ease;
      }
      #member-usage-modal .mum-meter-fill--reading {
        background: linear-gradient(90deg, #8a5a12 0%, #f2c76b 100%);
      }
      #member-usage-modal .mum-meter-fill--followup {
        background: linear-gradient(90deg, #8e3e22 0%, #e79264 100%);
      }
      #member-usage-modal .mum-meter-fill--stars {
        background: linear-gradient(90deg, #1d6f59 0%, #7fe0bd 100%);
      }
      #member-usage-modal .mum-meter-fill.is-empty {
        opacity: 0.28;
        filter: saturate(0.65);
      }
      #member-usage-modal .mum-note {
        margin-top: 18px;
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(245, 225, 122, 0.1);
        background: rgba(255, 255, 255, 0.04);
        font-size: 11px;
        color: rgba(236, 224, 210, 0.72);
        line-height: 1.75;
        text-align: center;
      }
      #member-usage-modal .mum-manage {
        text-align: center;
        margin-top: 16px;
      }
      #member-usage-modal .mum-manage a {
        font-size: 11px;
        color: rgba(212, 175, 55, 0.52);
        letter-spacing: 1px;
        text-decoration: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.25);
        padding-bottom: 1px;
        transition: color 0.2s;
      }
      #member-usage-modal .mum-manage a:hover {
        color: rgba(245, 225, 122, 0.85);
      }
      @media (max-width: 640px) {
        #member-usage-modal {
          padding: 16px;
        }
        #member-usage-modal .mum-sheet {
          padding: 22px 18px 18px;
          border-radius: 24px;
        }
        #member-usage-modal .mum-overline {
          font-size: 14px;
          padding: 0 24px;
        }
        #member-usage-modal .mum-orb {
          width: 42px;
          height: 42px;
          font-size: 18px;
        }
        #member-usage-modal .mum-plan-title {
          font-size: 16px;
        }
        #member-usage-modal .mum-expire {
          font-size: 11px;
        }
        #member-usage-modal .mum-meter-label {
          font-size: 14px;
        }
        #member-usage-modal .mum-meter-value {
          font-size: 15px;
        }
        #member-usage-modal .mum-meter-track {
          height: 11px;
        }
      }

      #bottom-nav .bnav-inner {
        display: flex;
        align-items: stretch;
      }
      #bottom-nav .bnav-item {
        flex: 1 1 0;
        min-width: 0;
        padding-left: 2px;
        padding-right: 2px;
      }
      #bottom-nav .bnav-label {
        font-size: 10.5px;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
      }
      @media (max-width: 420px) {
        #bottom-nav .bnav-label {
          font-size: 9.5px;
          letter-spacing: 0;
        }
      }
      @media (max-width: 360px) {
        #bottom-nav .bnav-label {
          font-size: 8.8px;
        }
      }

      body[data-deck="tarot"] {
        --deck-accent: var(--gold, #d4af37);
        --deck-accent-soft: rgba(212, 175, 55, 0.18);
        --deck-accent-border: rgba(212, 175, 55, 0.42);
      }
      body[data-deck="lenormand"] {
        --deck-accent: #dca562;
        --deck-accent-soft: rgba(184, 115, 51, 0.2);
        --deck-accent-border: rgba(220, 155, 90, 0.5);
      }
      body[data-deck="lenormand"] #step1-title,
      body[data-deck="lenormand"] #spread-select-title,
      body[data-deck="lenormand"] #spread-title,
      body[data-deck="lenormand"] #step4-title {
        color: #dca562;
      }
      body[data-deck="lenormand"] #bnav-lenormand.active .bnav-label,
      body[data-deck="lenormand"] #bnav-lenormand.active .bnav-icon {
        color: #dca562;
        filter: drop-shadow(0 0 8px rgba(220, 155, 90, 0.35));
      }
      body[data-deck="tarot"] #bnav-divination.active .bnav-label {
        color: var(--gold, #d4af37);
      }

      body[data-deck="lenormand"] .panel {
        border-color: rgba(220, 155, 90, 0.32);
      }
      body[data-deck="lenormand"] .spread-tag {
        border-color: rgba(220, 155, 90, 0.35);
        color: #dca562;
      }
