
    @media (prefers-color-scheme: dark) {
      :root {
        --blur: rgba(19, 23, 31, 0.5);
      }
    }

    @media (prefers-color-scheme: light) {
        :root {
            --blur: rgba(255, 255, 255, 0.5);
        }
    }

    html::-webkit-scrollbar {
      display: none;
    }

    body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    a{
      text-decoration: none;
    }
    #app {
      max-width: 1400px;
      margin: 0 auto;
      padding: 50px 15px;
      box-sizing: border-box;
    }

    @media (min-width: 600px) {
      #app { padding: 50px 30px; }
    }
    @media (min-width: 1200px) {
      #app { padding: 50px 80px; }
    }
    @media (min-width: 1600px) {
      #app { padding: 50px 120px; }
    }

    .topbar { 
      display: flex; 
      align-items: center; 
      gap: 18px; 
      margin-bottom: 18px; 
      flex-wrap: wrap; 
      position: sticky;
      top: 1rem;
      z-index: 99;
    }

        .filters {
            display: flex;
            gap: 0.3rem;
            align-items: center;
            overflow-x: auto;
            white-space: nowrap;
            flex-wrap: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .filters::-webkit-scrollbar {
            display: none;
        }

        .filter-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 8px;
            background: transparent;
            border: 1px dashed rgba(128,128,128,.3);
            color: inherit;
            cursor: pointer;
            user-select: none;
            transition: all .3s ease;
            font-weight: 400;
            font-size: 0.95rem;
            backdrop-filter: saturate(130%) blur(10px);
            -webkit-backdrop-filter: saturate(130%) blur(10px);
            background: var(--blur);
            flex-shrink: 0;
        }

    .filter-label:hover { border: 1px dashed rgb(128,128,128); }
    .filter-label.active {
      border: 1px solid rgba(128,128,128,.8);
      font-weight: 600;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1rem;
      margin-top: 8px;
    }

    @media (max-width: 1200px) {
      .gallery { grid-template-columns: repeat(4, 1fr); }
    }
    @media (max-width: 900px) {
      .gallery { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 600px) {
      .gallery { grid-template-columns: repeat(2, 1fr); }
    }

    .card {
      position: relative;
      border-radius: 0.3rem;
      overflow: hidden;
      background: linear-gradient(180deg, #0b1220 0%, #071021 100%);
      aspect-ratio: 2 / 3;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: all 0.4s cubic-bezier(.2,.9,.2,1);
    }

    .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transform-origin: center center;
      transition: all 0.45s cubic-bezier(.2,.9,.2,1);
    }

    .overlay { position: absolute; inset: 0; pointer-events: none; }
    .overlay::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.6) 100%);
      opacity: 0;
      transform: translateY(50px);
      transition: all 360ms cubic-bezier(.2,.9,.2,1);
    }
    .overlay::after {
      content: "";
      position: absolute;
      inset: 0;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 100%);
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 100%);
      opacity: 0;
      transform: translateY(50px);
      transition: all .6s ease;
      pointer-events: none;
    }
    
    .title-wrap {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 14px 12px;
      filter: blur(5px);
      opacity: 0;
      transition: all .5s ease;
    }
    .title-wrap .rate-number{
      opacity: .8;
      font-size: 1rem;
      margin-top: 0.5rem;
    }
    
    .title {
      margin: 0;
      font-weight: 700;
      font-size: 0.95rem;
      line-height: 1.1;
      text-shadow: 0 6px 18px rgba(2,6,23,0.6);
      color: #ffffff;
      margin-top: 5px;
    }
    
    .title small {
      font-weight: normal;
      opacity: .6;
    }

    .card:hover img { transform: scale(1); }
    .card:hover .overlay::before,
    .card:hover .overlay::after {
      opacity: 1;
      transform: translateY(0);
    }
    .card:hover .title-wrap {
      opacity: 1;
      filter: blur(0);
    }

    @media (max-width: 420px) {
      .filter-label { padding: 10px 14px; font-size: 0.92rem; }
    }

    .loading {
      text-align: center;
      padding: 2rem;
      opacity: 0.7;
    }

    .modal-overlay {
      position: fixed; 
      inset: 0;
      display: flex; 
      align-items: center; 
      justify-content: center;
      z-index: 2000;
    }

    .modal-content {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      background: var(--pico-card-background-color);
      padding: 16px;
      border-radius: 16px;
      width: min(1000px, 92%);
      max-width: 1000px;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
      border: 2px solid rgba(200, 200, 200, 0.3);
      box-shadow: 0 10px 70px rgba(2,6,23,0.6);
    }

    .modal-content h2 {
      margin-top: 1rem;
      margin-bottom: 0;
    }
    
    .modal-content p {
      margin-bottom: 0;
    }

    .modal-image {
      width: 36%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      border-radius: 6px;
      visibility: hidden;
    }

    .modal-text {
      width: 64%;
      padding-left: 16px;
      box-sizing: border-box;
      margin-bottom: 1rem;
    }
    .modal-text .says{
      padding-right: 1rem;
      margin-top: 1rem;
      opacity: .8;
    }
    .modal-text .subname{
      padding-right: 1rem;
      opacity: .8;
      font-size: 1.3rem;
    }

    .close-btn {
      position: absolute;
      right: 6px;
      top: 6px;
      border: none;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
      border-radius: 8px;
      padding: 0.5rem;
    }

    .hero-image {
      position: fixed;
      z-index: 3000;
      transition: all 0.48s cubic-bezier(.2,.9,.2,1);
      will-change: transform, width, height, left, top;
      object-fit: cover;
      border-radius: 8px;
      pointer-events: none;
    }

    .rate-number{
      opacity: 1;
      color:rgb(255, 193, 7);
      font-weight: bold;
      font-size: 1.3rem;
    }

    .meta {
      font-size: 0.8rem;
      border: 1px solid rgb(200, 200, 200);
      padding-left: .5rem;
      padding-right: .5rem;
      border-radius: 16px;
      opacity: .5;
      margin-top: 1rem;
      width: fit-content; 
    }

    @media (max-width: 420px) {
      .hero-image { display: none; }
      .modal-image { display: none; }
      .modal-text { width: 100%; }
      .meta { margin-top: 1rem; }
    }
    @media (min-width: 800px) {
      .search{ position: absolute;bottom: 1rem; }
      .says{ margin-right: 3rem; }
    }
    .search { line-height: 1; }
    .search span{ font-size: .5rem; font-weight: bold; opacity: .3; font-style: italic; }
      .search a{ font-size: 0.8rem; opacity: .8;}

    .reveal-enter-active,
    .reveal-leave-active {
      overflow: hidden;
      transition: clip-path 0.5s ease, opacity 0.5s ease;
    }

    .reveal-enter-from {
      clip-path: inset(0 100% 0 0);
      opacity: 0.6;
    }

    .reveal-enter-to {
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }

    .reveal-leave-from {
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }

    .reveal-leave-to {
      clip-path: inset(0 100% 0 0);
      opacity: 0.6;
    }