    html {
      scroll-behavior: smooth;
    }

    body {
      background: #f5f3ee;
      overflow-x: hidden;
    }

    body.modal-open {
      overflow: hidden;
      touch-action: none;
    }

    body.modal-open .modal-panel {
      touch-action: pan-y;
    }

    button,
    a,
    input,
    select {
      touch-action: manipulation;
    }

    button,
    a {
      transition: transform 160ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, opacity 180ms ease;
    }

    button:active,
    a:active {
      transform: scale(0.97);
    }

    .font-display {
      font-weight: 800;
    }

    .mock-shadow {
      box-shadow: 0 26px 60px rgba(16, 16, 16, 0.24);
    }

    .listing-card {
      isolation: isolate;
      position: relative;
      transform: rotate(var(--ticket-rotate, 0deg)) scale(var(--ticket-scale, 1));
      transition: transform 220ms ease;
      will-change: transform;
    }


    .listing-card:hover {
      transform: rotate(var(--ticket-rotate, 0deg)) scale(calc(var(--ticket-scale, 1) + 0.005));
    }


    @property --premium-badge-angle {
      syntax: "<angle>";
      initial-value: 0deg;
      inherits: false;
    }

    .premium-badge {
      --premium-badge-angle: 0deg;
      color: #fff6d7;
      border: 1px solid transparent;
      background:
        linear-gradient(180deg, #222018 0%, #0f0f0e 54%, #252114 100%) padding-box,
        conic-gradient(from var(--premium-badge-angle),
          #ffffff 0deg,
          #9fa7c8 26deg,
          #111111 68deg,
          #f7f0d1 108deg,
          #c0791b 136deg,
          #171717 174deg,
          #f7fbff 218deg,
          #535f90 250deg,
          #111111 292deg,
          #ffec9d 330deg,
          #ffffff 360deg) border-box;
      animation: premium-badge-shimmer 7.6s linear infinite;
      z-index: 3;
    }

    .premium-badge svg {
      color: #fff6d7;
      filter: drop-shadow(0 0 3px rgba(255, 246, 215, 0.35));
    }


    .today-badge {
      color: #101010;
      background: rgba(215, 255, 23, 0.94);
      z-index: 3;
    }

    @keyframes premium-badge-shimmer {
      to {
        --premium-badge-angle: 360deg;
      }
    }
    .card-share-btn {
      backdrop-filter: blur(10px);
      z-index: 2;
    }

    .card-share-btn:hover,
    .card-share-btn:active {
      transform: none !important;
    }


    .mobile-filter-rail {
      display: flex;
      gap: 0.5rem;
      max-width: 100%;
      min-width: 0;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      padding-bottom: 0.25rem;
      scrollbar-width: none;
      width: 100%;
    }

    .mobile-filter-rail .filter-btn:not(.bg-ink) {
      background: #fff;
    }

    .mobile-filter-rail::-webkit-scrollbar {
      display: none;
    }

    .mobile-controls-panel {
      overflow: hidden;
      transition: max-height 260ms ease, opacity 220ms ease;
    }

    .controls-arrow {
      transition: transform 220ms ease;
    }

    .controls-toggle[aria-expanded="true"] .controls-arrow {
      transform: rotate(180deg);
    }

    .listing-image {
      transform: scale(1);
    }

    .ticket-card {
      display: grid;
      grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
      min-height: 215px;
      overflow: visible;
    }

    .ticket-panel {
      background: #ffffff;
    }

    .ticket-image-panel {
      position: relative;
    }

    .ticket-image-panel::before,
    .ticket-image-panel::after {
      background: #f5f3ee;
      border-radius: 999px;
      content: "";
      height: 26px;
      position: absolute;
      right: -13px;
      width: 26px;
      z-index: 3;
    }

    .ticket-image-panel::before {
      top: -13px;
    }

    .ticket-image-panel::after {
      bottom: -13px;
    }

    .ticket-main {
      background-position: 0 50%;
      background-size: 140% 140%;
      position: relative;
      transition: background-position 220ms ease;
    }

    .listing-card:hover .ticket-main {
      background-position: 100% 50%;
    }

    .ticket-main::before,
    .ticket-main::after {
      background: #f5f3ee;
      border-radius: 999px;
      content: "";
      height: 26px;
      left: -15px;
      position: absolute;
      width: 26px;
      z-index: 3;
    }

    .ticket-main::before {
      top: -13px;
    }

    .ticket-main::after {
      bottom: -13px;
    }

    .ticket-seam {
      border-left: 2px dashed rgba(16, 16, 16, 0.14);
      bottom: 16px;
      left: -1px;
      position: absolute;
      top: 16px;
      z-index: 2;
    }

    .ticket-tone-0 .ticket-main {
      --selected-pill: #6f8600;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #d7ff17 0%, #edff87 100%);
    }

    .ticket-tone-1 .ticket-main {
      --selected-pill: #9e43a4;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #f0b8f2 0%, #f5d6f6 100%);
    }

    .ticket-tone-2 .ticket-main {
      --selected-pill: #9b6500;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #ffd866 0%, #ffe79d 100%);
    }

    .ticket-tone-3 .ticket-main {
      --selected-pill: #5f7724;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #eef5df 0%, #dfff81 100%);
    }

    .reaction-selected {
      background: var(--selected-pill, #101010);
      color: var(--selected-pill-text, #ffffff);
    }


    .detail-ticket-card {
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: none;
    }

    .detail-ticket-grid {
      isolation: isolate;
    }

    .detail-ticket-image {
      position: relative;
    }

    .detail-ticket-image::before,
    .detail-ticket-image::after {
      background: #ffffff;
      border-radius: 999px;
      content: "";
      height: 28px;
      position: absolute;
      right: -14px;
      width: 28px;
      z-index: 4;
    }

    .detail-ticket-image::before {
      top: -14px;
    }

    .detail-ticket-image::after {
      bottom: -14px;
    }

    .detail-ticket-main {
      background-position: 0 50%;
      background-size: 140% 140%;
      position: relative;
    }

    .detail-ticket-main::before,
    .detail-ticket-main::after {
      background: #ffffff;
      border-radius: 999px;
      content: "";
      height: 28px;
      left: -14px;
      position: absolute;
      width: 28px;
      z-index: 4;
    }

    .detail-ticket-main::before {
      top: -14px;
    }

    .detail-ticket-main::after {
      bottom: -14px;
    }


    #closeModalMobile {
      transform: translateZ(0);
    }

    #modalTime {
      max-width: 100%;
    }

    #modalTime svg {
      flex: 0 0 auto;
    }

    #modalInstagram:empty {
      display: none;
    }

    .detail-ticket-seam {
      border-left: 2px dashed rgba(16, 16, 16, 0.16);
      bottom: 18px;
      left: -1px;
      position: absolute;
      top: 18px;
      z-index: 3;
    }

    @media (max-width: 767px) {
      .detail-ticket-card {
        max-height: calc(100vh - 2rem);
        width: min(100%, calc(100vw - 2.5rem));
      }

      #closeModalMobile {
        right: 1rem;
        top: 1rem;
      }

      .detail-ticket-image::before,
      .detail-ticket-image::after {
        display: none;
      }

      .detail-ticket-main::before {
        display: block;
        left: -14px;
        top: -14px;
      }

      .detail-ticket-main::after {
        display: block;
        left: auto;
        right: -14px;
        top: -14px;
      }

  
    #closeModalMobile {
      transform: translateZ(0);
    }

    #modalTime {
      max-width: 100%;
    }

    #modalTime svg {
      flex: 0 0 auto;
    }

    #modalInstagram:empty {
      display: none;
    }

    .detail-ticket-seam {
        border-left: 0;
        border-top: 2px dashed rgba(16, 16, 16, 0.16);
        bottom: auto;
        left: 18px;
        right: 18px;
        top: -1px;
      }
    }

    .detail-tone-0 .detail-main {
      --selected-pill: #6f8600;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #d7ff17 0%, #edff87 100%);
    }

    .detail-tone-1 .detail-main {
      --selected-pill: #9e43a4;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #f0b8f2 0%, #f5d6f6 100%);
    }

    .detail-tone-2 .detail-main {
      --selected-pill: #9b6500;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #ffd866 0%, #ffe79d 100%);
    }

    .detail-tone-3 .detail-main {
      --selected-pill: #5f7724;
      --selected-pill-text: #ffffff;
      background: linear-gradient(135deg, #eef5df 0%, #dfff81 100%);
    }

    .detail-main {
      background-position: 0 50%;
      background-size: 140% 140%;
    }

    .ticket-description {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }

    .ticket-fine-print {
      color: rgba(16, 16, 16, 0.42);
      font-family: "Doto", "Rubik", ui-sans-serif, system-ui, sans-serif;
      font-size: 0.5rem;
      font-weight: 650;
      letter-spacing: 0.14em;
      line-height: 1;
      pointer-events: none;
      text-transform: uppercase;
    }


    .qr-open-btn {
      appearance: none;
      background: transparent;
      border: 0;
      border-radius: 0;
      display: inline-flex;
      padding: 0;
      touch-action: manipulation;
    }

    .qr-open-btn:focus-visible {
      outline: 2px solid currentColor;
      outline-offset: 3px;
    }

    .qr-large {
      display: block;
      image-rendering: pixelated;
      mix-blend-mode: multiply;
      object-fit: contain;
    }

    .ticket-qr {
      display: block;
      mix-blend-mode: multiply;
      object-fit: contain;
    }

    @media (max-width: 767px) {
      .ticket-card {
        display: block;
        min-height: 0;
      }

      .ticket-image-panel {
        display: block;
        height: 185px;
        overflow: hidden;
      }

      .ticket-image-panel::before,
      .ticket-image-panel::after {
        display: none;
      }

      .ticket-image-panel,
      .ticket-image-panel .listing-image {
        border-radius: 28px 28px 0 0;
      }

      .ticket-image-panel .listing-image {
        min-height: 100%;
      }

      .ticket-main {
        border-left: 0;
        border-radius: 0 0 28px 28px;
        padding: 1.05rem;
      }

      .ticket-main::before {
        display: block;
        left: -13px;
        top: -13px;
        transform: none;
      }

      .ticket-main::after {
        display: block;
        left: auto;
        right: -13px;
        top: -13px;
      }

      .ticket-seam {
        border-left: 0;
        border-top: 2px dashed rgba(16, 16, 16, 0.14);
        bottom: auto;
        display: block;
        left: 16px;
        right: 16px;
        top: -1px;
      }

      .ticket-date {
        font-size: 0.78rem;
      }

      .ticket-qr {
        height: 1.25rem;
        width: 1.25rem;
      }


    .card-share-btn {
        height: auto;
        width: auto;
      }

  

    .mobile-controls-panel {
        max-height: 0;
        opacity: 0;
      }

      .mobile-controls-panel.is-open {
        max-height: 520px;
        opacity: 1;
      }

      .ticket-title {
        font-size: 1.45rem;
        line-height: 1;
      }

      .ticket-meta {
        font-size: 0.78rem;
      }

      .ticket-description {
        font-size: 0.9rem;
        line-height: 1.55;
      }

      .interest-btn,
      .going-btn {
        font-size: 0.82rem;
        padding: 0.62rem 0.8rem;
      }
    }

    .listing-card.is-new {
      animation: card-pop 360ms ease both;
    }

    @keyframes card-pop {
      0% {
        opacity: 0;
      }

      100% {
        opacity: 1;
      }
    }

    .float-card {
      animation: float-card 5s ease-in-out infinite;
    }

    .float-card:nth-child(2) {
      animation-delay: -1.6s;
    }

    .float-card:nth-child(3) {
      animation-delay: -3.1s;
    }

    @keyframes float-card {

      0%,
      100% {
        transform: translateY(0) rotate(var(--tw-rotate));
      }

      50% {
        transform: translateY(-12px) rotate(var(--tw-rotate));
      }
    }

    .interest-btn,
    .going-btn,
    #modalInterested,
    #modalGoing {
      touch-action: manipulation;
      user-select: none;
    }

    .interest-btn,
    .going-btn,
    .share-btn,
    .detail-btn,
    .filter-btn {
      transition: transform 160ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
    }

    .interest-btn:hover,
    .going-btn:hover,
    .share-btn:hover,
    .detail-btn:hover,
    .filter-btn:hover {
      transform: translateY(-2px);
    }

    .button-pop {
      animation: button-pop 260ms ease both;
    }

    @keyframes button-pop {
      0% {
        transform: scale(1);
      }

      45% {
        transform: scale(1.08);
      }

      100% {
        transform: scale(1);
      }
    }

    .modal-panel {
      animation: modal-in 220ms ease both;
    }

    @keyframes modal-in {
      0% {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
      }

      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .faq-panel {
      max-height: 0;
      overflow: hidden;
      transition: max-height 260ms ease, opacity 220ms ease;
      opacity: 0;
    }

    .faq-item.is-open .faq-panel {
      opacity: 1;
    }

    .faq-icon {
      transition: transform 220ms ease;
      line-height: 1;
    }

    .faq-item.is-open .faq-icon {
      transform: rotate(45deg);
    }

    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
      }

      .listing-card:hover,
      .interest-btn:hover,
      .going-btn:hover,
      .share-btn:hover,
      .detail-btn:hover,
      .filter-btn:hover {
        transform: none;
      }
    }

    @media (max-width: 767px) {
      #shareModal {
        align-items: flex-start;
        overflow-y: auto;
        padding-top: max(1rem, env(safe-area-inset-top));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
      }

      #shareModal .modal-panel {
        max-height: calc(100dvh - 2rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
      }

      .is-ios-chrome #shareModal {
        padding-top: max(5.5rem, calc(env(safe-area-inset-top) + 4rem));
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
        scroll-padding-top: max(5.5rem, calc(env(safe-area-inset-top) + 4rem));
      }

      .is-ios-chrome #shareModal .modal-panel {
        max-height: calc(100dvh - 7rem);
      }
    }
    @media (max-width: 1023px) {
      .mobile-controls-panel {
        max-height: 0;
        opacity: 0;
      }

      .mobile-controls-panel.is-open {
        max-height: 520px;
        opacity: 1;
      }
    }