      /* ─────────────── Base Page Styles ───────────────────────────────────────────────────────────────────── */
      body {
        background: url("https://fiskurplayz.gay/assets/omori_darkmode_headspace.png") no-repeat fixed;
        background-size: cover;
        color: #ffffff;
        margin: 0;
        padding: 0;
        font-family: 'Lexend', sans-serif;
      }

      a {
        text-decoration: none; /* remove underline */
        color: inherit;        /* keep colors consistent */
      }

      a:hover,
      a:focus,
      a:active {
        text-decoration: none; /* make sure underline doesn't come back */
      }


      h1 {
        text-align: center;
        font-size: 2.2em;
        margin-bottom: 40px;
      }



      /* ─────────────── Colour Modifiers ───────────────────────────────────────────────────────────────────── */
      .purpleText{
        color: #B883E0;
      }

      .greenText{
        color: #B7F684;
      }

      .purple { --title-color: rgba(138,80,196,0.4); }
      .pink { --title-color: rgba(255,79,163,0.4); }

      .rRed { --title-color: rgba(255, 89, 94,0.4); }
      .rOrange { --title-color: rgba(255, 146, 76,0.4); }
      .rYellow { --title-color: rgba(255, 202, 58,0.4); }
      .rGreen { --title-color: rgba(138, 201, 38,0.4); }
      .rBlue { --title-color: rgba(25, 130, 196,0.4); }
      .rIndigo { --title-color: rgba(106, 76, 147,0.4); }


      .smaller {
        font-size: 14px;
      }

      .italic {
        font-style: italic;
      }

      .centred {
        text-align: center;
      }

      .nomargins {
        margin:0;
      }

      /* ─────────────── Containers ─────────────────────────────────────────────────────────────────────────── */
      .container {
        max-width: 1100px;
        margin: 40px auto;
        background: color-mix(in srgb, var(--title-color, rgba(58, 52, 76, 0.9)) 100%, transparent);
        border-radius: 18px;
        box-shadow: 0 8px 32px rgba(125, 90, 170, 0.25);
        border: 1px solid rgba(125, 90, 170, 0.3);
        overflow: hidden;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        transition: transform 0.2s, box-shadow 0.2s;
        display: flex;
        flex-direction: column;
        width: 90%;
        padding: 0, 0, 0, 0;
      }

      .container.margin {
        margin: 40px auto; 
        padding: 36px 32px 48px 32px;
      }

      .container.alt {
         --title-color: rgba(51, 25, 71,0.9); 
      }

      .container-body {
        padding-bottom: 30px;
        font-size: 16px;
        border-radius: 18px;
        width: 96%;
        margin: auto;
      }

      .container-body.desc {
        margin-top: 20px;
        margin-bottom: 20px;
        padding-top: 35px;
        padding-bottom: 35px;
        background-color: color-mix(in srgb, var(--title-color, #2c2a35) 55%, transparent);
        border: 2px inset color-mix(in srgb, var(--title-color, #ff4fa3) 80%, transparent);
      }

      .container-body.difColour{
        color: color-mix(in oklch shorter hue, var(--title-color) 100%, #FCF434 100%);
      }

      .columns {
        column-count: var(--cols, 2);
        column-gap: 1.5rem;
      }

      .columns > * {
        break-inside: avoid;
        margin-top: 0;
      }



      /* ─────────────── Title Bars ─────────────────────────────────────────────────────────────────────────── */
      .title-bar {
        background: color-mix(in srgb, var(--title-color, rgba(138,80,196,0.4)) 100%, transparent);
        padding: 16px 24px;
        font-size: 22px;
        font-weight: 600;
        color: rgba(245, 246, 250, 0.82);
        border-bottom: 2px solid color-mix(in srgb, var(--title-color, #ff4fa3) 80%, transparent);
        letter-spacing: 0.5px;
        text-align: center; 
        font-family: 'Arial Rounded MT', 'Arial', sans-serif;
        font-weight: bold;
      }

      .alt-title-bar {
        background: color-mix(in srgb, var(--title-color, rgba(138,80,196,0.4)) 100%, transparent);
        padding: 16px 24px;
        border-bottom: 2px solid color-mix(in srgb, var(--title-color, #ff4fa3) 80%, transparent);
      }

      .title-bar.large {
        background: color-mix(in srgb, var(--title-color, rgba(138,80,196,0.4)) 100%, transparent);
        padding: 18px 24px;
        font-weight: 700;
        color: rgba(245, 246, 250, 0.82);
        border-bottom: 2px solid color-mix(in srgb, var(--title-color, #ff4fa3) 80%, transparent);
        letter-spacing: 0.7px;
        text-align: center;
        border-radius: 0px;
        width: 100%;
        box-sizing: border-box; 
        margin: 0 auto 24px auto; 
        font-family: 'Arial Rounded MT', 'Arial', sans-serif;
        font-weight: bold;
        font-size: 29px;
      }



      /* ─────────────── Profile / Header Elements ──────────────────────────────────────────────────────────── */
      .header {
        display: flex;
        align-items: center;
        gap: 24px;
      }

      .avatar {
        width: 128px;
        height: 128px;
        border-radius: 50%;
        border: 3px solid #fff;
        object-fit: cover;
        background: #444;
        flex-shrink: 0;
      }

      .user-info {
        flex: 1;
      }

      .username {
        font-size: 28px;
        font-weight: bold;
        letter-spacing: 1px;
        font-family: 'Arial Rounded MT', 'Arial', sans-serif;
        font-weight: bold;
      }

      .pronouns-main {
        font-size: 1.15em;
        color: #ff4fa3;
        font-weight: bold;
        margin-top: 8px;
      }


      /* ─────────────── Badges ─────────────────────────────────────────────────────────────────────────────── */
      .badges {
        margin: 18px 0 8px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }
      .badge {
        display: inline-block;
        padding: 5px 10px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 500;
        background: rgba(0,0,0,0.3);
      }
      .nonbinary {color: #6d3fc7; border: 1px solid #6d3fc7; }
      .agender {  color: #3cc47e; border: 1px solid #3cc47e; }
      .enbian {  color: #a259c4; border: 1px solid #a259c4; }
      .asexual {  color: #a3a3a3; border: 1px solid #a3a3a3; }
      .romantic {  color: #e67ec7; border: 1px solid #e67ec7; }

      .badge-list {
        margin-top: 12px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
      }



      /* ─────────────── Nav Menu ───────────────────────────────────────────────────────────────────────────── */

      #nav-toggle {
        position: fixed;
        top: 20px;
        right: 20px;
        background: #332F41;
        color: #f5f6fa;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3em;
        cursor: pointer;
        z-index: 9999;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        transition: background 0.2s ease;
      }
      #nav-toggle:hover {
        background: #444055;
      }
      #nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 260px;
        height: 100%;
        background: rgba(58, 52, 76, 0.95);
        box-shadow: -4px 0 12px rgba(0,0,0,0.4);
        transition: right 0.3s ease;
        z-index: 9998;
        padding: 30px 20px;
      }
      #nav-menu.open {
        right: 0;
      }
      #nav-menu .menu-content h2 {
        color: #ff4fa3;
        font-size: 1.3em;
        margin-bottom: 20px;
      }
        #nav-menu ul {
        list-style: none;
        padding: 0;
      }
        #nav-menu ul li {
        margin-bottom: 14px;
      }
        #nav-menu ul li a {
        color: #f5f6fa;
        text-decoration: none;
        font-size: 1.1em;
        display: inline-block;
        transition: all 0.25s ease;
        transform: translateX(0);
      }
        #nav-menu ul li a:hover {
        color: #ffe066;
        transform: translateX(6px);
      }



      /* ─────────────── Video Grid ─────────────────────────────────────────────────────────────────────────── */
      .video-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin-bottom: 40px;
        margin-top: -5px;

        margin-left: 25px;
        margin-right: 25px;
      }

      .video-grid.low {
        margin-top: 30px;
        margin-bottom: 0px;
      }

      .video-grid.desc {
        margin-top: -35px;
      }

      .video-card {
        background: #332F41;
        border-radius: 14px;
        padding: 12px;
        width: calc(33.333% - 20px);
        min-width: 280px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        text-align: center;
        box-sizing: border-box;
        transition: transform 0.2s ease;
        text-decoration: none;
        background-color: color-mix(in srgb, var(--title-color, rgba(51, 25, 71,0.5)) 100%, transparent);
      }

      .video-card:hover {
        transform: translateY(-5px);
      }

      .video-card.difColour {
        background: color-mix(in srgb, var(--title-color, rgba(51, 25, 71,0.5)) 100%, transparent);
      }

      .video-title.difColour {
        color: color-mix(in oklch shorter hue, var(--title-color) 100%, #ffffff 100%);
      }

      .video-date.difColour {
        color: color-mix(in oklch shorter hue, var(--title-color) 100%, #ffffff 100%);
      }

      .youtube-embed,
      .youtube-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
        border: none;
        object-fit: cover;
      }

      .video-title {
        margin-top: 10px;
        font-size: 1.05em;
        color: #FCF434;
        font-weight: bold;
        font-size: 15px;
        margin-bottom: 10px;
      }
      
      .video-date {
        color: #ffffff;
        font-style: italic;
        font-size: 14px;
      }


      /* ─────────────── Timeline ───────────────────────────────────────────────────────────────────────────── */
      .timeline-wrapper {
        display: flex;
        justify-content: center;
      }

      .timeline {
        position: relative;
        width: 100%;
        max-width: 700px;
        padding: 40px 20px 60px 20px;
      }

      .timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 24px; 
        width: 4px;
        background: #FCF434;
        transform: translateX(-50%);
        z-index: 0;
      }

      .timeline::after {
        content: "";
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 4px;
        background: #FCF434;
        z-index: 1;
      }

      .timeline-end-cap {
        position: absolute;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 12px solid #FCF434;
        z-index: 1;
      }

      .timeline-entry {
        position: relative;
        margin-bottom: 80px;
        text-align: center;
      }

      .timeline-date {
        background: #2c2a35;
        color: #9C59D1;
        font-weight: bold;
        font-size: 1.1em;
        padding: 6px 12px;
        border-radius: 8px;
        display: inline-block;
        margin-bottom: 14px;
      }

      .timeline-content {
        background: #332F41;
        border-radius: 14px;
        padding: 16px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
        max-width: 520px;
        margin: 0 auto;
      }

      .timeline-video {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
        border: none;
      }

      .timeline-title {
        margin-top: 10px;
        font-size: 1.1em;
        font-weight: bold;
        color: #EFEF6A;
      }

      a.video-card .timeline-title-alt {
        color: #ffffff !important;
        font-style: italic;
        margin-top: 6px;
        text-decoration: none;
      }

    

      /* ─────────────── Quote Box ──────────────────────────────────────────────────────────────────────────── */
      .quote-box {
        position: fixed;
        width: var(--w, 280px); 
        padding: 15px;

        background: rgba(58, 52, 76, 0.6);
        
        color: #f5f5f5;
        font-size: 14px;
        font-style: italic;
        line-height: 1.4;
        box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 2000;

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        top: var(--y, 50%);
        transform: translateY(-50%);
      }


      .quote-box p {
        margin: 0;
      }

      .quote-left {
        left: var(--x, 0);
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        justify-self: left;
      }

      .quote-right {
        right: var(--x, 0);
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        justify-self: right;
      }

      .quote-unfix {
        position: static;
        margin-top: 75px;
        margin-bottom: -35px;
      }


      .quote-author {
        display: block;
        margin-top: 8px;
        text-align: right;
        font-style: normal;
        opacity: 0.9;
        font-size: 13px;
      }



      /* ─────────────── Profile Elements / Misc ────────────────────────────────────────────────────────────── */
      .info-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        color: #b2b6c8;
        font-size: 1em;
      }
      .info-row i {
        margin-right: 6px;
      }

      .main-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 32px;
          margin-top: 0;
      }
      .section {
          background: rgba(0, 0, 0, 0.15);
          border-radius: 12px;
          padding: 24px 18px 18px 18px;
          min-height: 220px;
          margin-top: 40px;
      }
      
      .header + .section {
          margin-top: 0;
      }
      .section h2 {
          font-size: 1.3em;
          font-weight: 600;
          margin: 0 0 16px 0;
          letter-spacing: 1px;
      }
      .names-list, .pronouns-list, .links-list, .words-list {
          list-style: none;
          padding: 0;
          margin: 0;
      }
      .names-list li, .pronouns-list li, .links-list li, .words-list li {
          margin-bottom: 7px;
          font-size: 1.08em;
      }
      .names-list .main { color: #ff4fa3; font-weight: bold;}
      .names-list .alt { color: #ffe066;}
      .names-list .other { color: #b2b6c8;}
      .pronouns-list .main { color: #ff4fa3; font-weight: bold;}
      .pronouns-list .alt { color: #b2b6c8;}
      .links-list a {
          color: #ff4fa3;
          text-decoration: none;
          font-weight: 500;
      }
      .links-list a:hover { text-decoration: underline; }
      .words-section {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 12px;
      }
      .words-list .main { color: #ff4fa3; font-weight: bold;}
      .words-list .alt { color: #a259c4;}
      .words-list .other { color: #b2b6c8;}

      .calendar {
          color: #b2b6c8;
          font-size: 1.05em;
      }
      .flag-icon {
          height: 28px;
          width: auto;
          border-radius: 999px;
          vertical-align: middle;
          margin-right: 8px;
          object-fit: cover;
      }
      .date-pill {
          display: inline-block;
          background-color: #7f6da6;
          color: white;
          padding: 4px 10px;
          border-radius: 999px;
          font-weight: bold;
          margin-right: 8px;
      }
      .info-card{
          background: rgba(0, 0, 0, 0.15); 
          border-radius: 12px
      }

      .person-card {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 14px;
        padding: 24px;
        width: 260px;
        text-align: center;
        text-decoration: none;
        color: #f5f6fa;
        transition: transform 0.2s ease;

      .person-card {
        color: inherit;
        text-decoration: none;
      }

      }
      .person-card:hover {
        transform: translateY(-5px);
      }

      .person-card:hover .name {
        color: #FCF434;
      }

      .name {
        font-size: 1.5em;
        font-weight: bold;
        margin-bottom: 8px;
        color: #f5f6fa; /* starting color */
        transition: color 0.25s ease;
      }

      .pronouns {
        color: #9C59D1;
        font-weight: bold;
        font-size: 1.05em;
      }
      
      .card-grid {
        display: flex;
        gap: 32px;
        justify-content: center;
        flex-wrap: wrap;
      }



      /* ─────────────── 35mm Film Cards ────────────────────────────────────────────────────────────────────── */
      .film-card {
        position: relative;
        background: #111;
        border-radius: 12px;
        padding: 1rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        transform: rotate(var(--rotation)) scale(1);
      }

      .film-card.hover:hover {
        box-shadow: 0 10px 24px rgba(0,0,0,0.35);
        transform: rotate(0deg) scale(1.04); /* rotate to 0deg on hover */
      }


      /* Perforated film edges */
      .film-card::before,
      .film-card::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        z-index: 10;
        background: radial-gradient(circle, black 50%, transparent 51%) repeat-y;
        background-size: 18px 50px;
        background-position: 0 36px;
        mix-blend-mode: destination-out;
      }

      .film-card::before { left: 5px; }
      .film-card::after { right: -16px; }

      .imagebox {
        position: relative;
        width: 86%;
        aspect-ratio: 5/3;
        flex-shrink: 0;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 4px;
      }

      .imagebox img {
        width: auto;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .imagebox.text{
        background:#000; 
        height:auto;
      }

      /* ─────────────── Polaroids ──────────────────────────────────────────────────────────────────────────── */
      .auto-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center; /* centers items on each row */
        padding: 1rem;
      }

      /* each item is a fixed base width so wrapping/centering behaves */
      .auto-grid > * {
        flex: 0 0 280px;    /* don't grow, don't shrink, base width 280px */
        max-width: 280px;
        box-sizing: border-box;
      }

      .real-polaroid {
        width: 280px;
        max-width: 100%;
        padding: 16px 16px 40px 16px;
        background: #fefcf7;
        border: 1px solid #eee;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 6px 14px rgba(0,0,0,0.25);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        color: #111;
        font-family: 'Courier New', Courier, monospace;

        transform: rotate(var(--rotation)) scale(1);
        transition: transform 0.3s, box-shadow 0.3s;
      }

      .real-polaroid.hover:hover {
        box-shadow: 0 10px 24px rgba(0,0,0,0.35);
        transform: rotate(0deg) scale(1.04); /* rotate to 0deg on hover */
      }

      .real-polaroid img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 4px;
        border: 2px solid #ccc;

        filter: sepia(0.7)
                contrast(0.85)
                brightness(1.1)
                saturate(1.3)
                hue-rotate(-15deg)
                grayscale(0.05);
        display: block;
      }

      .photo-wrapper {
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 4px;
        overflow: hidden; /* clip grain */
        border: 2px solid #ccc;
      }

      .photo-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;

        /* Polaroid style + subtle grain */
        filter: sepia(0.7)
                contrast(0.85)
                brightness(1.1)
                saturate(1.3)
                hue-rotate(-15deg)
                grayscale(0.05);
      }

      .photo-wrapper img {
        will-change: filter, transform;
        transform: translateZ(0);
      }

      

      /* ─────────────── Vinyl Records ──────────────────────────────────────────────────────────────────────── */
      .vinyl-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
        justify-items: center;
        padding: 2rem;
      }

      .vinyl-card {
        position: relative;
        width: 304px;
        height: 304px;
        border-radius: 50%;
        background: #000;
        box-shadow: 0 11px 26px rgba(0,0,0,0.45);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .vinyl-card:hover {
        transform: rotate(0deg) scale(1.06);
        box-shadow: 0 16px 32px rgba(0,0,0,0.55);
      }

      .vinyl-card::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background:
          radial-gradient(circle, #000 0 60px, transparent 60px),
          repeating-radial-gradient(
            circle,
            transparent 60px,
            rgba(255,255,255,0.03) 62px,
            transparent 64px
          );
      }

      .vinyl-label {
        position: absolute;
        width: 100px;
        height: 100px;
        background: #ff4fa3;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: bold;
        font-size: 1.1em;
        text-align: center;
        z-index: 2;
        box-shadow: 0 2px 6px rgba(0,0,0,0.4);
        
        /* Setup animation but initially paused */
        animation: spin 1.2s linear infinite paused;
        transform-origin: center;
      }

      .vinyl-card:hover .vinyl-label {
        animation-play-state: running; /* start spinning on hover */
      }

      @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
      }


      .vinyl-card:hover .vinyl-label {
        animation: spin 1.2s linear infinite;
      }

      @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
      }



      /* ─────────────── Responsive Tweaks ──────────────────────────────────────────────────────────────────── */
      @media (max-width: 900px) {
          .main-grid { grid-template-columns: 1fr; gap: 18px;}
          .words-section { grid-template-columns: 1fr; }
      }

      @media (max-width: 768px) {
        html, body {
          width: 100%;
          overflow-x: hidden;
          font-size: clamp(15px, 2vw, 17px);
        }

        h1 {
          font-size: clamp(1.4em, 5vw, 2em);
          margin: 16px 0 24px;
        }

        .container {
          width: 94%;
          margin: 20px auto;
          border-radius: 0px;
          box-shadow: 0 3px 12px rgba(125, 90, 170, 0.25);
          backdrop-filter: blur(2px);
        }

        .title-bar {
          font-size: clamp(1em, 3.5vw, 1.3em);
          padding: clamp(10px, 2.5vw, 16px);
          text-align: center;
        }

        .container-body {
          padding: clamp(12px, 3vw, 24px);
          font-size: clamp(0.95em, 3vw, 1.05em);
          line-height: 1.5;
        }

        .title-bar.large {
          font-size: clamp(1.4em, 4vw, 1.7em);
          padding: clamp(12px, 2.5vw, 18px);
        }
      }


      @media (max-width: 480px) {
        .container {
          width: 96%;
          margin: 12px auto;
          border-radius: 12px;
        }

        .title-bar {
          font-size: clamp(0.95em, 4vw, 1.1em);
        }

        .container-body {
          padding: 12px;
          font-size: clamp(0.9em, 3.8vw, 1em);
        }

        .title-bar.large {
          font-size: clamp(1.2em, 5vw, 1.5em);
          padding: clamp(10px, 3vw, 16px);
        }
      }



/* This centers the inline-block element within the page */
.version-container {
    text-align: center;
    padding-bottom: 10px; /* Kept the original bottom padding requirement here */
}

.VersionNumber {
    /* The element itself only wraps the text */
    display: inline-block;
    padding: 10px 20px; /* Padding inside the black box */
    border-radius: 20px;
    
    background-color: #090909; 
    color: #999999;             
    font-size: 18px;          
    font-family: 'Maple Mono';

}

