   @import url(https://fonts.bunny.net/css?family=jetbrains-mono:300,300i,400,400i);
   @import url(https://fonts.bunny.net/css?family=Outfit:300,400,500);


:root {
     body {
      font-family: 'Outfit', sans-serif;
      margin: 0;
      }
}
    a {
      color: #228be6;
      text-decoration: none;
      cursor: pointer;
    }
    a:hover {
      color: #228be6;
      text-decoration: none;
    }

    /* ===== Landing Page ===== */

    .profile {
      text-align: center;
      padding-top: 2rem;
      padding-right: 1rem;
      padding-bottom: 1rem;
      padding-left: 1rem;
    }
    .avatar {
      width: 112px;
      height: 112px;
      //border-radius: 50%;
      margin-bottom: 1rem;
    }
    .profile h1 {
      font-family: 'Jetbrains Mono', sans-serif;
      margin: 0.5rem 0;
      font-size: 1.2rem;
      color: #ff25a5;
    }
    .bio {     
      color: #aaa;
      font-size: 1rem;
    }

    .grid {
      background-color: light-dark(#f0f0f0, #090a0d);
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1rem;
      padding: 1rem;
    }
    .grid-item img {
      width: 100%;
      height: auto;
      object-fit: contain;
      border-radius: 4px;
      transition: transform 0.2s ease;
      display: block;
      background: #fff;
    }
    .grid-item img:hover {
      transform: scale(1.02);
box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
    }

    /* ===== Picture Page ===== */
    .photo-view {
      display: flex;
      flex-direction: row;
      min-height: 100vh;
    }

    .main-photo {
      flex: 3;
      background-color: light-dark(#f0f0f0, #090a0d);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .main-photo img {
      max-width: 100%;
      max-height: 100vh;
      object-fit: contain;
    }

    .meta {
      flex: 1;
      background-color: light-dark(#f0f0f0, #090a0d);
      padding: 2rem;
      height: 100vh;        /* fix sidebar height */
      overflow-y: auto;     /* sidebar scrolls independently */
      font-size: 0.95rem;
    }
    .meta .description {
      font-size: 1.1rem;
      font-weight: normal;
      margin-bottom: 1rem;
      color: #f6019d;
    }
    .meta p {
      margin: 0.5rem 0;
      color: #228be6;
    }

    /* Inline tags with tighter styling */
    .tags-inline {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      margin: 0.5rem 0;
      gap: 0.2rem;
    }
    .tags-label {
      font-size: 0.9rem;
      margin-right: 0.2rem;
    }
    .meta .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.2rem;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .meta .tags li {
      background: #d6d6d6;
      color: #228be6;
      border-radius: 3px;
      padding: 0.15rem 0.4rem;
      font-size: 0.75rem;
      line-height: 1.2;
      list-style: none;
    }

    .meta hr {
      border: none;
      border-top: 1px solid #444;
      margin: 1.5rem 0;
    }
    .meta details {
      margin-top: 1rem;
      background: #d6d6d6;
      border-radius: 6px;
      padding: 0.5rem 0.8rem;
      cursor: pointer;
    }
    .meta details summary {
      font-weight: bold;
      color: #000;
      cursor: pointer;
      outline: none;
    }
    .meta .exif {
      margin-top: 0.5rem;
      font-size: 0.85rem;
      color: #000;
    }

    /* Back Button */
    .pic-nav {
      position: fixed;
      top: 1rem;
      left: 1rem;
      background: #d6d6d6;
      color: 000;
      padding: 0.4rem 0.8rem;
      border-radius: 6px;
      font-weight: bold;
      text-decoration: none;
      z-index: 1000;
      transition: all 0.2s ease;
    }
    .pic-nav:hover {
      background: #f6019d;
      color: #fff;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 1rem;
      font-size: 0.9rem;
      color: #888;
    }
    footer img {
      display: block;
      margin: 0.5rem auto 0;
      height: 36px;
      opacity: 0.85;
    }

    /* ===== Responsive Adjustments ===== */
    @media (max-width: 768px) {
      /* Grid collapses to 1 per row */
      .grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
      }

      /* Stack photo + meta vertically */
      .photo-view {
        flex-direction: column;
      }
      .main-photo {
        flex: none;
        width: 100%;
        height: auto;
        background: #fff;
      }
      .main-photo img {
        max-height: 60vh;
      }
      .meta {
        flex: none;
        height: auto;
        padding: 1rem;
      }
    }
  