* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
    }

    * {
      -webkit-tap-highlight-color: transparent;
    }
    img {
      -webkit-user-select: none;
      user-select: none;
      -webkit-touch-callout: none;
      -webkit-user-drag: none;
      outline: none;
    }
    img::selection {
      background: transparent;
    }
    body {
      -webkit-user-select: none;
      user-select: none;
      -webkit-touch-callout: none;
    }

    body {
      min-height: 100vh;
      background-color: #101116;
      font-family: 'Philosopher', sans-serif;
      position: relative;
      overflow: hidden;
    }

    .viewport-stage {
      position: fixed;
      inset: 0;
      overflow: hidden;
    }

    .view-layer {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      will-change: clip-path;
      transform: translateZ(0);
      backface-visibility: hidden;
    }

    .edge-fx-layer {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 3;
      mask-image: none;
      -webkit-mask-image: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .view-layer.is-hidden {
      display: none;
    }

    .view-layer.marchen {
      background-color: #fdfdfe;
      background-image: linear-gradient(135deg, #ffffff 0%, #f7f8fc 50%, #fefeff 100%);
    }

    .view-layer.marchen::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(230, 236, 250, 0.3) 12%, transparent 28%),
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.85) 0%, rgba(250, 233, 247, 0.35) 15%, transparent 32%),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.8) 0%, rgba(226, 249, 253, 0.3) 10%, transparent 25%),
        radial-gradient(2px 2px at 15% 15%, rgba(190, 200, 220, 0.55) 100%, transparent),
        radial-gradient(2.5px 2.5px at 38% 18%, rgba(255, 255, 255, 0.95) 100%, transparent),
        radial-gradient(2px 2px at 68% 42%, rgba(210, 190, 225, 0.5) 100%, transparent),
        radial-gradient(3px 3px at 85% 65%, rgba(255, 255, 255, 0.9) 100%, transparent),
        radial-gradient(2px 2px at 30% 82%, rgba(190, 220, 225, 0.5) 100%, transparent),
        radial-gradient(2.5px 2.5px at 52% 88%, rgba(255, 255, 255, 0.95) 100%, transparent);
      pointer-events: none;
      filter: drop-shadow(0 0 6px rgba(240, 244, 255, 0.8));
    }

    .view-layer.crux {
      background-color: #1b1d29;
      background-image: linear-gradient(135deg, #20222f 0%, #191b26 50%, #23212f 100%);
    }

    .view-layer.crux::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 25% 35%, rgba(140, 130, 210, 0.25) 0%, transparent 28%),
        radial-gradient(circle at 75% 25%, rgba(120, 150, 220, 0.22) 0%, transparent 32%),
        radial-gradient(circle at 60% 70%, rgba(150, 110, 200, 0.2) 0%, transparent 25%),
        radial-gradient(1.5px 1.5px at 15% 15%, rgba(230, 225, 255, 0.85) 100%, transparent),
        radial-gradient(2px 2px at 38% 18%, rgba(200, 210, 255, 0.75) 100%, transparent),
        radial-gradient(1.5px 1.5px at 68% 42%, rgba(255, 235, 200, 0.55) 100%, transparent),
        radial-gradient(2.5px 2.5px at 85% 65%, rgba(220, 225, 255, 0.8) 100%, transparent),
        radial-gradient(1.5px 1.5px at 30% 82%, rgba(200, 230, 255, 0.6) 100%, transparent),
        radial-gradient(2px 2px at 52% 88%, rgba(255, 245, 220, 0.55) 100%, transparent);
      pointer-events: none;
      filter: drop-shadow(0 0 8px rgba(120, 110, 200, 0.35));
    }

    .bg-decor {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .bg-blob {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      filter: blur(70px);
      transform: translate(-50%, -50%);
      will-change: transform;
    }

    .bg-blob-1 { width: 42vmax; height: 42vmax; animation: bgBlobDrift1 26s ease-in-out infinite; }
    .bg-blob-2 { width: 46vmax; height: 46vmax; animation: bgBlobDrift2 32s ease-in-out infinite; }
    .bg-blob-3 { width: 50vmax; height: 50vmax; animation: bgBlobDrift3 38s ease-in-out infinite; }

    .view-layer.marchen .bg-blob-1 { left: 18%; top: 22%; background: rgba(232, 238, 252, 0.9); }
    .view-layer.marchen .bg-blob-2 { left: 82%; top: 78%; background: rgba(251, 233, 247, 0.85); }
    .view-layer.marchen .bg-blob-3 { left: 55%; top: 45%; background: rgba(226, 249, 253, 0.8); }

    .view-layer.crux .bg-blob-1 { left: 20%; top: 20%; background: rgba(84, 76, 140, 0.75); }
    .view-layer.crux .bg-blob-2 { left: 82%; top: 75%; background: rgba(60, 90, 150, 0.7); }
    .view-layer.crux .bg-blob-3 { left: 50%; top: 50%; background: rgba(40, 44, 68, 0.85); }

    @keyframes bgBlobDrift1 {
      0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
      50%      { transform: translate(-50%, -50%) translate(7vmax, 5vmax); }
    }

    @keyframes bgBlobDrift2 {
      0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
      50%      { transform: translate(-50%, -50%) translate(-8vmax, -6vmax); }
    }

    @keyframes bgBlobDrift3 {
      0%, 100%  { transform: translate(-50%, -50%) translate(0, 0); }
      33%       { transform: translate(-50%, -50%) translate(6vmax, -5vmax); }
      66%       { transform: translate(-50%, -50%) translate(-5vmax, 6vmax); }
    }

    .bg-ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid var(--decor-ring);
    }

    .bg-ring-a {
      width: 460px;
      height: 460px;
      top: -180px;
      left: -160px;
      animation: bgRingDriftA 24s ease-in-out infinite;
    }

    .bg-ring-giant {
      width: 1380px;
      height: 1380px;
      top: 50%;
      right: -760px;
      transform: translateY(-50%);
      animation: bgRingDriftC 60s ease-in-out infinite;
    }

    @keyframes bgRingDriftA {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      50%      { transform: translate(26px, 20px) rotate(10deg); }
    }

    @keyframes bgRingDriftB {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50%      { transform: translate(-20px, -24px) scale(1.08); }
    }

    @keyframes bgRingSpin {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

    @keyframes bgRingDriftC {
      0%, 100% { transform: translateY(-50%) rotate(0deg); }
      50%      { transform: translateY(calc(-50% - 16px)) rotate(-4deg); }
    }

    .bg-dot {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--decor-dot);
      box-shadow: 0 0 6px var(--decor-dot);
      animation: bgDotFloat 8s ease-in-out infinite;
    }

    .bg-dot-1 { top: 14%; left: 10%;  animation-duration: 7.5s; }
    .bg-dot-2 { top: 22%; left: 20%;  animation-duration: 9s;   animation-delay: 1.1s; }
    .bg-dot-3 { top: 10%; right: 14%; animation-duration: 6.8s; animation-delay: 0.4s; }
    .bg-dot-4 { bottom: 16%; right: 10%; animation-duration: 8.4s; animation-delay: 1.6s; }
    .bg-dot-5 { bottom: 22%; right: 22%; animation-duration: 7.2s; animation-delay: 0.7s; }
    .bg-dot-6 { bottom: 12%; left: 16%;  animation-duration: 9.3s; animation-delay: 0.2s; }

    @keyframes bgDotFloat {
      0%, 100% { transform: translateY(0);    opacity: 0.55; }
      50%      { transform: translateY(-14px); opacity: 1;    }
    }

    .view-layer.marchen .bg-decor {
      --decor-ring: rgba(120, 150, 220, 0.22);
      --decor-dot: rgba(150, 175, 235, 0.55);
    }

    .view-layer.crux .bg-decor {
      --decor-ring: rgba(180, 160, 255, 0.22);
      --decor-dot: rgba(195, 175, 255, 0.6);
    }

    .orbit-system {
      position: absolute;
      width: 640px;
      height: 640px;
      bottom: -300px;
      left: -240px;
      pointer-events: none;
    }

    .orbit-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px solid var(--orbit-ring);
    }

    .orbit-ring-inner {
      inset: 96px;
    }

    .orbit-spin {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      animation-name: orbitSpin;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
    }

    .orbit-outer {
      animation-duration: 34s;
    }

    .orbit-inner {
      inset: 96px;
      animation-duration: 24s;
      animation-direction: reverse;
    }

    .orbit-system.orbit-right {
      width: 1280px;
      height: 1280px;
      bottom: auto;
      left: auto;
      top: -600px;
      right: -480px;
    }

    .orbit-right .orbit-ring-inner,
    .orbit-right .orbit-inner {
      inset: 192px;
    }

    .orbit-dot {
      position: absolute;
      top: -3px;
      left: 50%;
      width: 7px;
      height: 7px;
      margin-left: -3.5px;
      border-radius: 50%;
      background: var(--decor-dot);
      box-shadow: 0 0 8px var(--decor-dot);
    }

    .orbit-dot-sm {
      width: 4px;
      height: 4px;
      margin-left: -2px;
      top: -2px;
      opacity: 0.85;
    }

    @keyframes orbitSpin {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

    .view-layer.marchen .orbit-ring {
      --orbit-ring: rgba(110, 145, 220, 0.4);
    }

    .view-layer.crux .orbit-ring {
      --orbit-ring: rgba(255, 255, 255, 0.55);
    }

    .card-container {
      display: flex;
      gap: 10px;
      padding: 40px;
      width: calc(5 * 200px + 4 * 10px + 80px);
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .card {
      --accent: 195, 205, 222;
      width: 200px;
      height: 460px;
      padding: 6px 6px 48px 6px;
      background-color: #fcfbfa;
      background-image:
        linear-gradient(to right, rgba(195, 205, 222, 0.22) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(195, 205, 222, 0.22) 1px, transparent 1px),
        linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 244, 252, 0.82) 50%, rgba(247, 243, 235, 0.88) 100%);
      background-size: 8px 8px, 8px 8px, 100% 100%;
      border: 2px solid rgba(var(--accent), 0.65);
      transform: skewX(-12deg) translateZ(0);
      border-radius: 22px 0 22px 0;
      box-shadow:
        0 14px 30px rgba(120, 110, 100, 0.18),
        0 0 0 1.5px rgba(var(--accent), 0.22),
        inset 0 0 12px rgba(255, 255, 255, 0.8);
      position: relative;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.28, 1), box-shadow 0.25s ease, border-color 0.25s ease, filter 0.42s cubic-bezier(0.22, 0.9, 0.28, 1), opacity 0.42s cubic-bezier(0.22, 0.9, 0.28, 1);
      will-change: transform, filter, opacity;
      backface-visibility: hidden;
    }

    .card:has(.ciara-bg)     { --accent: 175, 202, 245; --text-accent: 34, 88, 135; --hover-fill: 23, 64, 99; --border-accent: 43, 106, 161; }
    .card:has(.harmonia-bg)  { --accent: 182, 222, 154; --text-accent: 90, 135, 34; --hover-fill: 66, 99, 23; --border-accent: 109, 161, 43; }
    .card:has(.luci-bg)      { --accent: 240, 185, 226; --text-accent: 135, 34, 124; --hover-fill: 99, 23, 91; --border-accent: 161, 43, 149; }
    .card:has(.mashiro-bg)   { --accent: 85, 185, 215; --text-accent: 34, 126, 135; --hover-fill: 23, 93, 99; --border-accent: 43, 152, 161; }
    .card:has(.valk-bg)      { --accent: 202, 184, 255; --text-accent: 44, 34, 135; --hover-fill: 31, 23, 99; --border-accent: 55, 43, 161; }
    .card:has(.albert-bg)    { --accent: 245, 228, 172; --text-accent: 135, 96, 34; --hover-fill: 99, 70, 23; --border-accent: 161, 116, 43; }
    .card:has(.hyde-bg)      { --accent: 155, 156, 162; --text-accent: 43, 54, 80; --hover-fill: 26, 33, 50; --border-accent: 57, 70, 101; }
    .card:has(.eniel-bg)     { --accent: 232, 168, 164; --text-accent: 135, 34, 43; --hover-fill: 99, 23, 30; --border-accent: 161, 43, 54; }
    .card:has(.leyrinne-bg)  { --accent: 176, 178, 191; --text-accent: 74, 76, 82; --hover-fill: 74, 76, 82; --border-accent: 180, 182, 188; }

    .view-layer.crux .card {
      border: 2px solid rgba(var(--accent), 0.85);
      box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(var(--accent), 0.35),
        0 0 0 1.5px rgba(var(--accent), 0.35),
        inset 0 0 12px rgba(255, 255, 255, 0.85);
    }

    .card-inner {
      width: 100%;
      height: 100%;
      border-radius: 17px 0 38px 0;
      overflow: hidden;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.85);
      box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(var(--accent, 205, 218, 240), 0.3);
    }

    .card-inner.ciara-bg {
      background-color: #f4f7fe;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23e8eefc'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.harmonia-bg {
      background-color: #f6faf2;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23ecf7dd'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.luci-bg {
      background-color: #fdf5fc;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23fbe9f7'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.mashiro-bg {
      background-color: #f2fdff;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23e2f9fd'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.valk-bg {
      background-color: #faf8ff;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23ece7ff'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.albert-bg {
      background-color: #fdfbf7;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23f5eed8'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.hyde-bg {
      background-color: #e7e7eb;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23cdced4'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.eniel-bg {
      background-color: #faf3f3;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23f4dedd'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .card-inner.leyrinne-bg {
      background-color: #eceef3;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26' viewBox='0 0 16 26'%3E%3Cpolygon points='8,0 16,13 8,26 0,13' fill='%23d8dbe5'/%3E%3C/svg%3E");
      background-size: 16px 26px;
    }

    .char-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transform-origin: center center;
      pointer-events: none;
    }

    .char-img.ciara     { --tx: 4px;   --ty: 149px; --scale: 2.15; --scale-hover: 2.23; }
    .char-img.harmonia  { --tx: -1px;  --ty: 142px; --scale: 2.15; --scale-hover: 2.23; }
    .char-img.luci      { --tx: 8px;   --ty: 153px; --scale: 2.15; --scale-hover: 2.23; }
    .char-img.mashiro   { --tx: 3px;   --ty: 150px; --scale: 2.15; --scale-hover: 2.23; }
    .char-img.valk      { --tx: -13px; --ty: 158px; --scale: 2.20; --scale-hover: 2.28; }
    .char-img.albert    { --tx: -9px;  --ty: 152px; --scale: 2.15; --scale-hover: 2.23; }
    .char-img.hyde      { --tx: 16px;  --ty: 69px;  --scale: 2.35; --scale-hover: 2.43; }
    .char-img.eniel     { --tx: 14px;  --ty: 121px; --scale: 2.55; --scale-hover: 2.63; }
    .char-img.leyrinne  { --tx: -45px; --ty: 170px; --scale: 1.83; --scale-hover: 1.91; }

    .char-img {
      transform: skewX(12deg) translate(var(--tx, 0), var(--ty, 0)) scale(var(--scale-hover, 1));
    }

    .card-name-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
    }

    .card-name-bar span {
      transform: skewX(12deg);
      color: #334155;
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      white-space: nowrap;
      text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }

    .card:hover, .card.is-selected {
      transform: skewX(-12deg) translateY(-10px) translateZ(0);
      border-color: rgba(var(--accent), 1);
      box-shadow:
        0 20px 38px rgba(var(--accent), 0.28),
        0 0 22px rgba(var(--accent), 0.5);
      z-index: 10;
    }

    .select-overlay {
      position: fixed;
      inset: 0;
      z-index: 150;
      pointer-events: auto;
      overflow: hidden;
    }

    .wipe-layer {
      position: absolute;
      inset: 0;
      transform: translateY(100%);
      will-change: transform;
    }

    .wipe-layer-1 {
      background-color: rgba(var(--layer-accent), 1);
      z-index: 151;
      position: fixed !important;
      transition: transform 0.72s cubic-bezier(0.16, 0.85, 0.24, 1);
    }

    .wipe-layer-2 {
      background-color: var(--layer-bg);
      z-index: 152;
      position: fixed !important;
      transition: transform 0.72s cubic-bezier(0.16, 0.85, 0.24, 1) 0.16s;
    }

    .wipe-layer-3 {
      z-index: 153;
      position: fixed !important;
      border-radius: 0 !important;
      border: none !important;
      box-shadow: none !important;
      background-size: 36px 58px !important;
      transition: transform 0.72s cubic-bezier(0.16, 0.85, 0.24, 1) 0.32s;
    }

    .wipe-layer-diag {
      z-index: 154;
      inset: auto;
      top: 50%;
      left: 50%;
      width: 36vmax;
      position: fixed !important;
      height: 400vh;
      margin-left: calc(36vmax / -1.7);
      margin-top: -150vh;
    }

    .wipe-layer-diag-sub {
      background: rgba(var(--layer-accent), 0.45);
      border-left: 2px solid rgba(255, 255, 255, 0.55);
      border-right: 3px solid rgba(255, 255, 255, 0.8);
      transform: translate3d(-111vmax, 100vmax, 0) rotate(-50deg);
      transition: transform 0.75s cubic-bezier(0.16, 0.85, 0.24, 1) 0.06s;
    }

    .wipe-layer-diag-main {
      background-color: rgb(var(--layer-accent));
      background-image: radial-gradient(circle, rgba(255, 255, 255, 0.32) 1.5px, transparent 1.6px);
      background-size: 7px 7px;
      border-left: 4px solid rgba(255, 255, 255, 0.85);
      border-right: 4px solid rgba(255, 255, 255, 0.85);
      transform: translate3d(-115vmax, 105vmax, 0) rotate(-50deg);
      transition: transform 0.75s cubic-bezier(0.16, 0.85, 0.24, 1) 0.12s;
    }

    .wipe-layer-1.is-active,
    .wipe-layer-2.is-active,
    .wipe-layer-3.is-active {
      transform: translateY(0);
    }

    .wipe-layer-diag-sub.is-active {
      transform: translate3d(-26vmax, 12vmax, 0) rotate(-35deg);
    }

    .wipe-layer-diag-main.is-active {
      transform: translate3d(-30vmax, 17vmax, 0) rotate(-35deg);
    }

    .wipe-layer-1.is-hiding {
      transition: transform 0.42s cubic-bezier(0.4, 0, 1, 1) 0.1s;
    }

    .wipe-layer-2.is-hiding {
      transition: transform 0.42s cubic-bezier(0.4, 0, 1, 1) 0.05s;
    }

    .wipe-layer-3.is-hiding {
      transition: transform 0.42s cubic-bezier(0.4, 0, 1, 1) 0s;
    }

    .wipe-layer-diag-sub.is-hiding {
      transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1) 0.03s;
      transform: translate3d(-111vmax, 100vmax, 0) rotate(-35deg);
    }

    .wipe-layer-diag-main.is-hiding {
      transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1) 0s;
      transform: translate3d(-115vmax, 105vmax, 0) rotate(-35deg);
    }

    .select-overlay-char {
      position: fixed !important;
      left: 4%;
      bottom: 0;
      top: auto;
      height: 92vh;
      width: auto;
      object-fit: contain;
      object-position: left bottom;
      z-index: 155;
      pointer-events: none;
      transform-origin: left bottom;
      transform: translateY(100vh);
      transition: transform 0.75s cubic-bezier(0.16, 0.85, 0.24, 1) 0.12s, opacity 0.4s ease;
      will-change: transform;
    }

    .select-overlay-char.is-active {
      transform: translate(var(--char-x, 0px), var(--char-y, 0px)) scale(var(--char-scale, 1));
    }

    .select-overlay-char.is-hiding {
      transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1) 0s, opacity 0.3s ease;
    }

    .select-overlay-char-back {
      z-index: 154;
      position: fixed !important;
      left: 4%;
      bottom: 0;
      top: auto;
      height: 92vh;
      object-position: left bottom;
      transform-origin: left bottom;
      filter: url(#charSilhouetteFilter) brightness(0.68) contrast(1.1);
      opacity: 0.95;
      pointer-events: none;
      transform: translateY(100vh);
      transition: transform 0.75s cubic-bezier(0.16, 0.85, 0.24, 1) 0.12s, opacity 0.4s ease;
      will-change: transform;
    }

    .select-overlay-char-back.is-active {
      transform: translate(calc(var(--char-x, 0px) - 10px), var(--char-y, 0px)) scale(var(--char-scale, 1));
    }

    .select-overlay-char-back.is-hiding {
      transition: transform 0.4s cubic-bezier(0.4, 0, 1, 1) 0s, opacity 0.3s ease;
    }

    body.is-full-char .select-overlay-char {
      z-index: 260 !important;
      transform: translate(calc(46vw - 50%), 0px) scale(1) !important;
      transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    body.is-full-char .select-overlay-char-back {
      opacity: 0 !important;
      transition: opacity 0.3s ease !important;
    }

    .select-overlay-char.ciara     { --char-x: -39px; --char-y: 470px; --char-scale: 1.80; }
    .select-overlay-char.harmonia  { --char-x: -56px; --char-y: 454px; --char-scale: 1.80; }
    .select-overlay-char.luci      { --char-x: -40px; --char-y: 471px; --char-scale: 1.80; }
    .select-overlay-char.mashiro   { --char-x: -47px; --char-y: 472px; --char-scale: 1.80; }
    .select-overlay-char.valk      { --char-x: -65px; --char-y: 471px; --char-scale: 1.80; }
    .select-overlay-char.albert    { --char-x: -56px; --char-y: 474px; --char-scale: 1.80; }
    .select-overlay-char.hyde      { --char-x: -114px; --char-y: 388px; --char-scale: 1.80; }
    .select-overlay-char.eniel     { --char-x: -109px; --char-y: 443px; --char-scale: 1.80; }
    .select-overlay-char.leyrinne  { --char-x: -68px; --char-y: 475px; --char-scale: 1.80; }

    .select-info-panel {
      position: fixed !important;
      top: 0;
      right: 12vw;
      width: min(850px, 50vw);
      height: 100vh;
      overflow-y: auto;
      overflow-x: hidden;
      background-color: transparent;
      z-index: 160;
      padding: 8vh 3vw 10vh 3vw;
      font-family: 'Philosopher', sans-serif;
      color: rgb(var(--layer-text, 36, 88, 133));
      border-radius: 0;
      opacity: 0;
      transform: translateY(0);
      transition: opacity 0.4s ease 0.1s;
      pointer-events: auto;
      scrollbar-width: none !important;
      -ms-overflow-style: none !important;
    }

    .select-info-panel::-webkit-scrollbar {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
      background: transparent !important;
    }

    .select-info-panel.is-active {
      opacity: 1;
      transform: translateY(0);
    }

    .select-info-panel.is-hiding {
      opacity: 0 !important;
      transform: translateY(100vh) !important;
      transition: transform 0.48s cubic-bezier(0.4, 0, 1, 1), opacity 0.38s ease 0.05s !important;
    }

    body.is-full-char .select-info-panel,
    .is-full-char .select-info-panel {
      opacity: 0 !important;
      pointer-events: none !important;
    }

    body.is-full-char #selectCloseBtn,
    .is-full-char #selectCloseBtn {
      opacity: 0 !important;
      pointer-events: none !important;
    }

    .select-info-inner {
      opacity: 0;
      transform: translateX(40px);
      transition: opacity 0.5s ease 0.45s, transform 0.5s ease 0.45s;
    }

    .select-info-panel.is-active .select-info-inner {
      opacity: 1;
      transform: translateX(0);
    }

    .info-name {
      font-size: clamp(3.8rem, 7vw, 6.5rem);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 35px;
      color: rgb(var(--layer-hover-fill, 26, 73, 114));
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .select-info-panel-harmonia .info-name {
      font-size: clamp(2.1rem, 4vw, 3.9rem);
      white-space: nowrap;
    }

    .select-info-panel-albert .info-name {
      font-size: clamp(2.1rem, 4vw, 3.9rem);
      white-space: nowrap;
    }

    .select-info-panel-harmonia .select-info-inner {
      transform: translateX(3px);
    }

    .select-info-panel-harmonia.is-active .select-info-inner {
      transform: translateX(3px);
    }

    .view-full-btn {
      position: fixed;
      left: 10px;
      bottom: 10px;
      z-index: 170;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border: none;
      border-radius: 0;
      background-color: var(--diamond-color, rgb(var(--layer-accent)));
      color: #12304d;
      font-family: 'Philosopher', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 2.2px;
      text-transform: uppercase;
      cursor: pointer;
      box-shadow: none !important;
      overflow: hidden;
      transform: translateX(0);
      transition: color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    }

    .view-full-btn span {
      position: relative;
      z-index: 2;
      transition: color 0.3s ease;
    }

    .view-full-btn::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: #ffffff;
      z-index: 1;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .view-full-btn:hover::before {
      transform: scaleX(1);
    }

    .view-full-btn:hover span,
    .view-full-btn:hover {
      color: #000000 !important;
      box-shadow: none !important;
    }

    .view-full-btn.is-hiding {
      transform: translateX(calc(-100% - 25px)) !important;
      opacity: 0 !important;
      transition: transform 0.42s cubic-bezier(0.4, 0, 1, 1), opacity 0.3s ease !important;
    }

    body.is-full-char .view-full-btn,
    .is-full-char .view-full-btn {
      display: none !important;
    }

    body.is-full-char .view-full-btn {
      opacity: 0 !important;
      pointer-events: none !important;
      transform: translateY(15px) !important;
    }

    .info-stats-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 45px;
      margin-bottom: 40px;
    }

    .info-stat-row {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 13px 12px;
      font-size: 1.2rem;
      color: rgb(var(--layer-text, 36, 88, 133));
      cursor: default;
      transition: color 0.25s ease;
    }

    .info-stat-row::after,
    .info-fact-row::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -4px;
      height: 8px;
      border-left: 1.5px solid rgb(var(--layer-border, 40, 104, 156));
      border-right: 1.5px solid rgb(var(--layer-border, 40, 104, 156));
      background: linear-gradient(rgb(var(--layer-border, 40, 104, 156)), rgb(var(--layer-border, 40, 104, 156))) no-repeat center / 100% 1.5px;
      pointer-events: none;
      z-index: 2;
    }

    .info-stat-row::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgb(var(--layer-hover-fill, 26, 73, 114));
      z-index: 1;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
    }

    .info-stat-row:hover {
      color: #ffffff;
    }

    .info-stat-row:hover::before {
      transform: scaleX(1);
    }

    .info-stat-label {
      position: relative;
      z-index: 2;
      font-weight: 700;
    }

    .info-stat-value {
      position: relative;
      z-index: 2;
      font-weight: 400;
    }

    .info-facts-grid {
      display: flex;
      flex-direction: column;
      margin-bottom: 50px;
    }

    .info-fact-row {
      position: relative;
      display: flex;
      justify-content: space-between;
      padding: 14px 12px;
      font-size: 1.2rem;
      color: rgb(var(--layer-text, 36, 88, 133));
      cursor: default;
      transition: color 0.25s ease;
    }

    .info-fact-row::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgb(var(--layer-hover-fill, 26, 73, 114));
      z-index: 1;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
    }

    .info-fact-row:hover {
      color: #ffffff;
    }

    .info-fact-row:hover::before {
      transform: scaleX(1);
    }

    .info-fact-label {
      position: relative;
      z-index: 2;
      font-weight: 700;
      flex: 0 0 35%;
    }

    .info-fact-value {
      position: relative;
      z-index: 2;
      font-weight: 400;
      flex: 1;
      text-align: left;
      line-height: 1.5;
    }

    .info-owner-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .info-fact-row.info-owner-row {
      align-items: center;
      gap: 16px;
    }

    .info-fb-logo {
      position: relative;
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      border-radius: 0;
      background-color: rgb(var(--layer-accent));
      overflow: hidden;
      cursor: pointer;
      pointer-events: auto;
      margin-left: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
    }

    .info-fb-logo::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: #ffffff;
      z-index: 1;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .info-fb-logo:hover::before {
      transform: scaleX(1);
    }

    .info-fb-logo svg {
      position: relative;
      z-index: 2;
      width: 22px;
      height: 22px;
      display: block;
    }

    .info-fb-logo svg path {
      fill: #ffffff;
      transition: fill 0.28s ease;
    }

    .info-fb-logo:hover svg path {
      fill: #000000;
    }

    .info-fb-logo::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: #ffffff;
      z-index: 1;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .info-fb-logo:hover::before {
      transform: scaleX(1);
    }

    .info-fb-logo svg {
      position: relative;
      z-index: 2;
      width: 18px;
      height: 18px;
      display: block;
    }

    .info-fb-logo svg path {
      fill: #ffffff;
      transition: fill 0.3s ease;
    }

    .info-fb-logo:hover svg path {
      fill: #000000;
    }

    .info-sections {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .info-text-block {
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
    }

    .info-text-label {
      position: relative;
      font-size: 1.3rem;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: rgb(var(--layer-hover-fill, 26, 73, 114));
      padding: 6px 16px;
      z-index: 1;
    }

    .info-text-label::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgb(var(--layer-accent));
      z-index: -1;
      transform-origin: center;
      transform: scaleX(0) translateZ(0);
      transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }

    .info-text-label.in-view::before {
      transform: scaleX(1) translateZ(0);
    }

    .info-text-content {
      position: relative;
      font-size: 1.2rem;
      line-height: 1.7;
      color: rgb(var(--layer-text, 36, 88, 133));
      text-align: justify;
      padding: 8px 12px;
      cursor: default;
      transition: color 0.25s ease;
      white-space: pre-line;
    }

    .info-text-content::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgb(var(--layer-hover-fill, 26, 73, 114));
      z-index: -1;
      transform: scaleX(0) translateZ(0);
      transform-origin: center;
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }

    @media (hover: hover) and (pointer: fine) {
      .info-text-content:hover {
        color: #ffffff;
      }

      .info-text-content:hover::before {
        transform: scaleX(1) translateZ(0);
      }
    }

    .info-text-content.is-tapped {
      color: #ffffff;
    }

    .info-text-content.is-tapped::before {
      transform: scaleX(1) translateZ(0);
    }

    .full-char-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(6, 9, 14, 0.82);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 250;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
    }

    .is-full-char .full-char-backdrop {
      opacity: 1;
      pointer-events: auto;
    }

    body.is-full-char .full-char-backdrop {
      opacity: 1;
      pointer-events: auto;
    }

    .full-char-close-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 280;
      width: 48px;
      height: 48px;
      border-radius: 0;
      border: 1.5px solid #ffffff;
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
      font-size: 1.4rem;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transform: scale(0.85);
      transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
    }

    body.is-full-char .full-char-close-btn {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1);
    }

    .full-char-close-btn:hover {
      background: rgba(255, 255, 255, 0.28);
      transform: scale(1.06);
    }

    @media (max-width: 900px) {
      .select-info-panel {
        width: 100%;
        padding: 6vh 6vw;
      }
      .info-stats-grid {
        grid-template-columns: 1fr;
      }
      .info-stats-grid .info-stat-row:nth-child(2) {
        border-top: none;
      }
      .info-fact-row {
        flex-direction: column;
        gap: 6px;
      }
    }

    .card-container.is-picking .card:not(.is-selected) {
      opacity: 0.5;
      filter: blur(6px);
      transform: skewX(-12deg) scale(0.92) translateZ(0);
      pointer-events: none;
    }

    .select-close-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 210;
      width: 140px;
      height: 48px;
      border-radius: 22px 0 22px 0;
      border: 2px solid rgba(var(--btn-accent, 255, 255, 255), 0.85);
      background: rgba(var(--btn-accent, 255, 255, 255), 0.22);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: #fff;
      font-family: 'Philosopher', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      filter: blur(4px);
      pointer-events: none;
      transform: skewX(-12deg) translateX(120px) scale(0.9);
      transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease,
        filter 0.5s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
      box-shadow: none !important;
      overflow: hidden;
    }

    .select-close-btn span {
      transform: skewX(12deg);
      display: inline-block;
      position: relative;
      z-index: 2;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), letter-spacing 0.3s ease;
      text-shadow:
        -1px -1px 0 rgba(var(--btn-accent, 255, 255, 255), 0.9),
         1px -1px 0 rgba(var(--btn-accent, 255, 255, 255), 0.9),
        -1px  1px 0 rgba(var(--btn-accent, 255, 255, 255), 0.9),
         1px  1px 0 rgba(var(--btn-accent, 255, 255, 255), 0.9);
    }

    .select-close-btn::before {
      content: "";
      position: absolute;
      top: var(--my, 50%);
      left: var(--mx, 50%);
      width: 100px;
      height: 100px;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(var(--btn-accent, 255, 255, 255), 0.7) 35%, transparent 70%);
      transform: translate(-50%, -50%) scale(0);
      transition: transform 0.3s ease, opacity 0.3s ease;
      opacity: 0;
      pointer-events: none;
      mix-blend-mode: screen;
      filter: blur(8px);
      z-index: 1;
    }

    .select-close-btn::after {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      border: 1.5px solid rgba(255, 255, 255, 0.9);
      opacity: 0;
      transform: scale(0.85);
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
      pointer-events: none;
      z-index: 1;
    }

    .select-close-btn:hover::before {
      transform: translate(-50%, -50%) scale(1.6);
      opacity: 1;
    }

    .select-close-btn:hover::after {
      opacity: 1;
      transform: scale(1);
    }

    .select-close-btn:hover {
      background: rgba(var(--btn-accent, 255, 255, 255), 0.4);
      border-color: rgba(255, 255, 255, 0.95);
      transform: skewX(-12deg) translateX(0) scale(1.055);
      box-shadow: none !important;
    }

    .select-close-btn:hover span {
      letter-spacing: 3px;
    }

    .select-close-btn:active {
      transform: skewX(-12deg) translateX(0) scale(0.94);
      box-shadow: none !important;
      transition: transform 0.12s ease, box-shadow 0.12s ease;
    }

    .select-close-btn.is-visible {
      opacity: 1;
      filter: blur(0);
      pointer-events: auto;
      transform: skewX(-12deg) translateX(0) scale(1);
    }

    .select-close-btn.is-visible:hover {
      transform: skewX(-12deg) translateX(0) scale(1.055);
    }

    .select-close-btn.is-visible:active {
      transform: skewX(-12deg) translateX(0) scale(0.94);
    }

    .intro-hero {
      position: fixed;
      inset: 0;
      z-index: 130;
      pointer-events: none;
    }

    .intro-logo {
      position: fixed;
      top: 0;
      left: 0;
      width: 280px;
      height: auto;
      
      filter: none;
      opacity: 1;
      transition: opacity 0.5s ease, filter 0.25s ease;
      will-change: transform, opacity;
      
      pointer-events: auto;
      cursor: pointer;
    }

    body.is-theme-switching .intro-logo { transition: none; }

    ::view-transition-old(root),
    ::view-transition-new(root) {
      animation: none;
      mix-blend-mode: normal;
    }
    ::view-transition-old(root) { z-index: 1; }
    ::view-transition-new(root) { z-index: 2; }

    .intro-logo:hover {
      filter: drop-shadow(0 0 14px rgba(150, 130, 255, 0.45));
    }

    @media (max-width: 600px) {
      .intro-logo { width: 170px; }
    }
    @media (max-width: 420px) {
      .intro-logo { width: 148px; }
    }
    @media (max-width: 600px) and (max-height: 500px) {
      .intro-logo { width: 120px; }
    }
    
    .scroll-hint {
      position: fixed;
      left: 50%;
      bottom: 40px;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      color: rgba(40, 36, 30, 0.7);
      font-family: 'Philosopher', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      will-change: opacity;
    }

    body.theme-crux .scroll-hint {
      color: rgba(228, 222, 255, 0.75);
    }

    .scroll-hint-arrow {
      display: flex;
      animation: scrollHintBounce 1.6s ease-in-out infinite;
    }

    @keyframes scrollHintBounce {
      0%, 100% { transform: translateY(0);  opacity: 0.55; }
      50%      { transform: translateY(7px); opacity: 1;    }
    }

    .logo-switch-hint {
      position: fixed;
      top: 0;
      left: 0;
      transform: translate(calc(-72% - 50px), 0) skewX(0deg) !important;
      z-index: 98;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      color: rgba(150, 130, 255, 0.95);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.45s ease, transform 0.45s ease;
    }
     
    .logo-switch-hint-arrow {
      animation: logoHintNudge 1.4s ease-in-out infinite;
      filter: drop-shadow(0 0 6px rgba(150, 130, 255, 0.55));
    }

    body.theme-crux .logo-switch-hint {
      color: rgba(220, 210, 255, 0.95);
    }

    @keyframes logoHintNudge {
      0%, 100% { transform: translate(0, 0); opacity: 0.7; }
      50%      { transform: translate(4px, -4px); opacity: 1; }
    }

    .loading-layer {
      position: fixed;
      inset: 0;
      z-index: 500;
      overflow: hidden;
      background: #f4f1ea;
      mask-image: none;
      -webkit-mask-image: none;
      will-change: mask-image, -webkit-mask-image;
    }

    .loading-layer.is-gone {
      display: none;
    }

    .loading-content {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 40px;
      pointer-events: none;
      transition: opacity 0.4s ease, filter 0.5s ease;
    }

    .loading-content.is-fading {
      opacity: 0;
      filter: blur(6px);
    }

    .loading-logo-fill {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
    }

    .loading-logo-mask {
      position: absolute;
      top: 0;
      left: 0;
      will-change: transform;
      mask-size: 100% 100%;
      mask-repeat: no-repeat;
      mask-position: center;
      -webkit-mask-size: 100% 100%;
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: center;
    }

    .loading-logo-mask-1 {
      mask-image: url("https://lh3.googleusercontent.com/d/1UWCVw8hjEUhX99OpyAymKU7NfNT4WAMM");
      -webkit-mask-image: url("https://lh3.googleusercontent.com/d/1UWCVw8hjEUhX99OpyAymKU7NfNT4WAMM");
    }

    .loading-logo-mask-2 {
      mask-image: url("https://lh3.googleusercontent.com/d/1CEoCmSOQuzSU073LTK2-JpQ9KksRMtun");
      -webkit-mask-image: url("https://lh3.googleusercontent.com/d/1CEoCmSOQuzSU073LTK2-JpQ9KksRMtun");
    }

    .loading-logo-silhouette {
      position: absolute;
      inset: 0;
      background: rgba(40, 36, 30, 0.82);
    }

    .loading-logo-water {
      position: absolute;
      inset: 0;
      background: #100e0a;
      clip-path: inset(100% 0 0 0);
      -webkit-clip-path: inset(100% 0 0 0);
      will-change: clip-path;
    }

    .loading-caption {
      display: flex;
      align-items: baseline;
      gap: 3px;
      color: rgba(40, 36, 30, 0.82);
      font-family: 'Philosopher', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 5px;
      text-transform: uppercase;
    }

    .loading-dots {
      display: inline-flex;
      align-items: flex-end;
      gap: 3px;
      margin-left: 3px;
    }

    .loading-dots i {
      display: inline-block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;
      opacity: 0.25;
      animation: loadingDotPulse 1.2s ease-in-out infinite;
    }

    .loading-dots i:nth-child(2) { animation-delay: 0.15s; }
    .loading-dots i:nth-child(3) { animation-delay: 0.3s; }

    @keyframes loadingDotPulse {
      0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
      40%           { opacity: 1;    transform: translateY(-3px); }
    }
    
    .footer-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      height: 46px;
      z-index: 96;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 22px;
      background: rgba(248, 250, 255, 0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top: 2px solid rgba(110, 145, 220, 0.65);
      transform: translateY(100%);
      pointer-events: none;
      will-change: transform;
      font-family: 'Philosopher', sans-serif;
      font-size: 0.82rem;
      letter-spacing: 1px;
      color: rgba(30, 34, 48, 0.88);
    }

    body.theme-crux .footer-bar {
      background: rgba(27, 29, 41, 0.92);
      border-top-color: rgba(255, 255, 255, 0.75);
      color: rgba(230, 228, 245, 0.88);
    }

    body.theme-crux .footer-right {
      color: rgba(230, 228, 245, 0.7);
    }

    .footer-bar.is-up {
      pointer-events: auto;
    }

    .footer-left {
      font-weight: 700;
      letter-spacing: 2px;
    }

    .footer-right {
      color: rgba(30, 34, 48, 0.7);
      text-decoration: none;
    }

    .footer-right .footer-link {
      text-decoration: underline;
      color: inherit;
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .footer-right .footer-link:hover {
      color: #a78bfa;
    }

    .mobile-char-stage {
      display: contents;
    }

    @media (max-width: 767px) {
      .card-container.is-picking .card:not(.is-selected) {
        filter: none;
      }

      .view-layer {
        flex-direction: column;
      }

      .card-container {
        width: 100%;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        overflow: hidden;
        touch-action: none;
        padding: 24px 23vw calc(24px + 150vh);
        margin-bottom: -150vh;
        gap: 14px;
        justify-content: flex-start;
      }
      .card-container::-webkit-scrollbar { display: none; }

      .card {
        width: 54vw;
        height: auto;
        aspect-ratio: 200 / 460;
        flex: 0 0 auto;
        transform-origin: 50% 50%;
        box-shadow: none;
        transition: transform 0.32s ease, opacity 0.32s ease, filter 0.32s ease;
        will-change: transform, opacity;
      }
      .card .card-name-bar span {
        transform: skewX(12deg);
      }

      .card.is-side   { transform: skewX(-12deg) scale(0.82); opacity: 0.5; filter: blur(0.5px); }
      .card.is-far    { opacity: 0; pointer-events: none; }
      .card.is-center { transform: skewX(-12deg) scale(1); opacity: 1; filter: none; }

      .star-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        margin-bottom: -26px;
        padding: 4px 0 0;
        position: relative;
        overflow: visible;
        clip-path: none;
        z-index: 2;
        flex: 0 0 auto;
      }
      .star-dot {
        width: 12px;
        height: 12px;
        background: rgba(120, 110, 100, 0.35);
        clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
        transition: transform 0.25s ease, background 0.25s ease;
      }
      body.theme-crux .star-dot { background: rgba(220, 215, 240, 0.35); }
      .star-dot.is-active {
        transform: scale(1.4);
        background: #8b7ff0;
      }

      .orbit-system { display: none; }
      .bg-blob { filter: blur(20px); }

      .footer-bar {
        padding: 0 16px;
        gap: 10px;
        font-size: clamp(0.58rem, 3vw, 0.82rem);
        letter-spacing: 0.5px;
        white-space: nowrap;
      }
      .footer-left {
        letter-spacing: 1px;
        flex: 0 0 auto;
        text-align: left;
      }
      .footer-right {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
      }
    }

    @media (max-width: 767px) {
      body.is-char-open {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
      }
      body.is-char-open.is-full-char {
        overflow: hidden;
      }

      .select-overlay {
        position: static;
        inset: auto;
        overflow: visible;
        min-height: 100vh;
      }

      .wipe-layer-3 {
        background-position: left top !important;
      }

      .wipe-layer-1,
      .wipe-layer-2,
      .wipe-layer-3 {
        left: -8vw !important;
        width: calc(100% + 8vw) !important;
      }

      .wipe-layer-diag {
        display: none !important;
      }

      .mobile-char-stage {
        display: block;
        position: fixed !important;
        top: 10px;
        left: 0;
        width: 100%;
        height: 60vh;
        z-index: 155;
        pointer-events: none;
        overflow: visible;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        transition: opacity 0.15s ease-out;
      }

      .select-overlay-char,
      .select-overlay-char-back {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: 0 !important;
        bottom: auto !important;
        height: 100% !important;
        width: auto !important;
        max-width: none !important;
        object-fit: contain;
        object-position: center top;
        transform-origin: center top !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
      }

      .select-overlay-char {
        transform: translate(-50%, 110vh) scale(1.6);
      }
      .select-overlay-char-back {
        transform: translate(calc(-50% - 6px), 110vh) scale(1.6);
      }
      .select-overlay-char.is-active {
        transform: translateX(-50%) scale(1.6);
      }
      .select-overlay-char-back.is-active {
        transform: translateX(calc(-50% - 6px)) scale(1.6);
      }

      .select-info-panel {
        position: relative !important;
        z-index: 160 !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        margin-top: 60vh !important;
        padding: 2vh 6vw 12vh 6vw !important;
      }

      .select-info-panel .select-info-inner,
      .select-info-panel.is-active .select-info-inner {
        opacity: 1;
        transform: none;
        transition: none;
      }

      .select-info-inner > * {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
      }

      .select-info-panel.is-active .select-info-inner > * {
        opacity: 1;
        transform: translateY(0);
      }
      .select-info-panel.is-active .select-info-inner > :nth-child(1) { transition-delay: 0.55s; }
      .select-info-panel.is-active .select-info-inner > :nth-child(2) { transition-delay: 0.65s; }
      .select-info-panel.is-active .select-info-inner > :nth-child(3) { transition-delay: 0.75s; }
      .select-info-panel.is-active .select-info-inner > :nth-child(4) { transition-delay: 0.85s; }
      .select-info-panel.is-active .select-info-inner > :nth-child(5) { transition-delay: 0.95s; }

      .view-full-btn {
        animation: mobileDetailBtnRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
      }
      @keyframes mobileDetailBtnRise {
        from { opacity: 0; transform: translateY(26px); }
        to   { opacity: 1; transform: translateY(0); }
      }

      body.is-full-char .mobile-char-stage {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 100vh !important;
        z-index: 260 !important;
        opacity: 1 !important;
        pointer-events: auto;
      }

      body.is-full-char .select-overlay-char {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        bottom: auto !important;
        height: 96vh !important;
        max-height: 96vh !important;
        transform: translate(-50%, -50%) scale(1) !important;
        transition: opacity 0.45s ease !important;
        z-index: 265 !important;
      }

      body.is-full-char:not(.is-full-char-ready) .select-overlay-char {
        opacity: 0 !important;
      }

      body.is-full-char.is-full-char-ready .select-overlay-char {
        opacity: 1 !important;
      }

      body.is-full-char .select-overlay-char-back {
        display: none !important;
      }

      .info-name,
      .select-info-panel-harmonia .info-name,
      .select-info-panel-albert .info-name {
        font-size: clamp(1.7rem, 8.5vw, 2.6rem);
        white-space: normal;
        margin-bottom: 18px;
        letter-spacing: 1px;
      }

      .info-stats-grid { margin-bottom: 22px; }
      .info-facts-grid { margin-bottom: 26px; }

      .info-stat-row,
      .info-fact-row {
        font-size: 0.92rem;
        padding: 10px 8px;
      }

      .info-sections { gap: 24px; }

      .info-text-label {
        font-size: 1rem;
        letter-spacing: 1.6px;
        padding: 5px 12px;
      }

      .info-text-content {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 6px 8px;
      }

      .view-full-btn {
        left: 12px;
        bottom: 12px;
        padding: 7px 14px;
        font-size: 0.72rem;
        letter-spacing: 1.4px;
      }

      .select-close-btn {
        bottom: 12px;
        right: 12px;
        width: 96px;
        height: 38px;
        border-radius: 16px 0 16px 0;
        font-size: 0.85rem;
        letter-spacing: 1.2px;
      }
    }