@layer legacy {

    /* 트릭컬 고유 포인트 컬러 및 비주얼 요소 */
    :root {
      --trickcal-pink: var(--text);
    }
    .fun-comparison-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%,320px), 1fr));
      gap: 20px;
      margin-top: 18px;
    }
    .fun-box {
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .fun-box.personal { border-top: 4px solid var(--gold); }
    .fun-box.community { border-top: 4px solid var(--trickcal-pink); }
    .fun-box-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--line);
      padding-bottom: 12px;
    }
    .fun-box-header h3 {
      font-size: 1.1rem;
      margin: 0;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .fun-box-tag {
      font-size: 0.72rem;
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 800;
    }
    .fun-box.personal .fun-box-tag { background: var(--panel-strong); color: var(--gold); }
    .fun-box.community .fun-box-tag { background: var(--panel-strong); color: var(--trickcal-pink); }
    .fun-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .fun-item-title {
      font-size: 0.95rem;
      font-weight: 750;
      color: var(--text);
    }
    .fun-item-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.55;
      margin: 0;
    }
    .timeline-wrapper {
      position: relative;
      padding-left: 32px;
      margin: 24px 0;
    }
    .timeline-wrapper::before {
      content: "";
      position: absolute;
      left: 11px;
      top: 10px;
      bottom: 10px;
      width: 2px;
      background: var(--panel-strong);
    }
    .timeline-node {
      position: relative;
      margin-bottom: 28px;
    }
    .timeline-dot {
      position: absolute;
      left: -32px;
      top: 4px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--panel-strong);
      border: 3px solid var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      color: var(--text);
    }
    .timeline-node.active .timeline-dot {
      border-color: var(--trickcal-pink);
      background: var(--trickcal-pink);
      color: var(--bg-page);
    }
    .timeline-content {
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      padding: 18px 22px;
    }
    .timeline-phase {
      font-size: 0.74rem;
      font-weight: 850;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }
    .timeline-phase.red { color: var(--coral); }
    .timeline-phase.gold { color: var(--gold); }
    .timeline-phase.pink { color: var(--trickcal-pink); }
    .timeline-title {
      font-size: 1.08rem;
      font-weight: 800;
      color: var(--text);
      margin: 0 0 8px;
    }
    .timeline-body {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }
    .paradox-box {
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-left: 5px solid var(--coral);
      border-radius: var(--radius-sm);
      padding: 22px;
      margin: 24px 0;
    }
    .paradox-box h4 {
      margin: 0 0 10px;
      font-size: 1.1rem;
      color: var(--text-sub);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .paradox-box p {
      margin: 0 0 12px;
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.65;
    }
    .rule-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%,240px), 1fr));
      gap: 16px;
      margin-top: 20px;
    }
    .rule-card {
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .rule-num {
      font-size: 0.74rem;
      font-weight: 850;
      color: var(--gold);
      letter-spacing: 0.08em;
    }
    .rule-title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--text);
      margin: 0;
    }
    .rule-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.55;
      margin: 0;
    }
    .tab-btn {
      padding: 10px 16px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--panel);
      color: var(--text-muted);
      font-weight: 700;
      font-size: 0.88rem;
      cursor: pointer;
      transition: all 180ms ease;
    }
    .tab-btn:hover {
      background: var(--panel-strong);
      color: var(--text);
    }
    .tab-btn.active {
      background: var(--trickcal-pink);
      color: var(--text-sub);
      border-color: var(--trickcal-pink);
    }
    .tab-pane {
      display: none;
    }
    .tab-pane.active {
      display: block;
    }
  
}
