/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BACKGROUND ── */
body {
  min-height: 100vh;
  font-family: 'VT323', monospace;
  color: #fff0f5;
  background-color: #1a0010;
  background-image:
    linear-gradient(rgba(255,45,120,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,45,120,.13) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

a {
  color: #ff85b3;
  text-decoration: underline;
}
a:hover {
  color: #1a0010;
  background: #ff2d78;
  box-shadow: -2px 2px 0 4px #ff2d78;
}

.button a {
  color:#e8c0cc;
  text-decoration: underline;
}




/* ── THREE-COLUMN LAYOUT ── */
.site-wrapper {
  display: grid;
  grid-template-columns: 160px 1fr 206px;
  grid-template-rows: auto;
  grid-template-areas: "left main right";
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.sidebar-left  { grid-area: left;  align-self: flex-start; max-height: calc(100vh - 3rem);}
.main-content  { grid-area: main; }
.sidebar-right { grid-area: right; align-self: flex-start; max-height: calc(100vh - 3rem);}

/* ── SIDEBAR SHARED ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow: hidden;
}

.sidebar-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ff2d78;
  margin-bottom: .6rem;
  font-family: "Pixelify Sans";
}

.sidebar-box {
  border: 1px solid #ff2d7855;
  padding: .75rem;
  background: #1f0012;
}

.sidebar-box-scroll {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.updates-scroll {
  overflow-y: auto;
  max-height: 160px;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.updates-scroll::-webkit-scrollbar {
  width: 3px;
}
.updates-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.updates-scroll::-webkit-scrollbar-thumb {
  background: #ff2d7855;
}

.todo-scroll {
  overflow-y: auto;
  max-height: 169px;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.todo-scroll::-webkit-scrollbar {
  width: 3px;
}
.todo-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.todo-scroll::-webkit-scrollbar-thumb {
  background: #ff2d7855;
}

/* ── NAV (left sidebar) ── */
nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
nav a {
  text-decoration: underline;
  font-size: .72rem;
  color: #ff85b3;
  letter-spacing: .1em;
  padding: .16rem .1rem;
  border-left: 2px solid transparent;
}
nav a:hover {
  color: #e8c0cc;
  border-left-color: #e8c0cc;
}

/* ── STATUS ── */
.status {
  font-size: .69rem;
  color: #e8c0cc;
  line-height: 1rem;
}
.status orn {
  font-size: .75rem;
  color: #ffaa55;
  text-transform: uppercase;
}
.status ts {
  color: #ff85b3;
  display: block;
}

ul {
  margin-left: 1rem;
  list-style-type: circle;
}

/* ── BLINKIES ── */
.blinkies {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.blinkies img {
  display: block;
  max-width: 100%;
  height: auto;
}
.blinkie-wrap {
  position: relative;
  display: inline-block;
}
span.blinkie-wrap {
  position: relative;
  display: inline-block;
}
.blinkie-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  right: -33px;
  background: #1f0012;
  border: 1px solid #ff2d78;
  color: #ff85b3;
  font-size: .6rem;
  letter-spacing: .08em;
  white-space: pre;
  padding: .15rem .4rem;
  z-index: 10;
  text-align: center;
}
.blinkie-wrap:hover .blinkie-tip {
  display: block;
}

.featured {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.featured img {
  display: block;
  max-width: 100%;
  height: auto;
}
.featured-wrap {
  position: relative;
  display: inline-block;
}
span.featured-wrap {
  position: relative;
  display: inline-block;
}
.featured-wrap:hover .blinkie-tip {
  display: block;
}

/* ── MAIN CONTENT ── */
header {
  text-align: center;
  padding: 1rem 0 0.6rem;
}

.site-title {
  font-weight: bold;
  font-size: 3.5rem;
  letter-spacing: .69rem;
  color: #ff2d78;
  font-family: "Pixelify Sans";
}
.site-title a {
    text-decoration: none;
}
.tagline {
  margin-top: .3rem;
  font-size: .78rem;
  color: #ffaa55;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: "Pixelify Sans";
}

.divider {
  margin: 1rem auto;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff2d78, #ff6a00, transparent);
}
/*--- glow (from https://loveberry.nekoweb.org/resources/text) --*/
.glowtext {
-webkit-background-clip: text;
-webkit-text-fill-color: #e8c0cc;
-webkit-animation: glow 3.0s ease infinite;
animation: glow 3.0s ease infinite;
font-size:2em;
font-weight:bold;
font-family: Pixelify Sans;
}

.glowtext a {
  text-decoration: none;
}
.glowtext :hover {
  color: white;
  background: transparent;
  box-shadow: none;
}

@keyframes glow {
0% { text-shadow: 0 0 15px #ff2d78; 
-webkit-text-stroke-width: 2px;
-webkit-text-stroke-color: #ff2d78; }
50% { text-shadow: none; -webkit-text-stroke-width: 0px;-webkit-text-stroke-color: transparent; }
100% { text-shadow: 0 0 15px #ff2d78; -webkit-text-stroke-width: 2px;-webkit-text-stroke-color: #ff2d78; }
}

@-webkit-keyframes glow {
0% { text-shadow: 0 0 25px #ff2d78; }
50% { text-shadow: none; }
100% { text-shadow: 0 0 25px #ff2d78; }
}

/* --- TAGS --- */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: .2rem;
  align-self: center;
}

.tag-btn {
  font-weight: 300;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffaa55;
  border: 1px solid #ff6a0055;
  padding: .2rem .55rem;
  cursor: pointer;
}
.tag-btn:hover  { border-color: #ff6a00; color: #ff6a00; }
.tag-btn.active { background: #ff6a00; color: #1a0010; border-color: #ff6a00; }
.post.hidden    { display: none; }

    .media-tabs {
      display: flex;
      gap: 4px;
      margin-bottom: 1.2rem;
    }
    .media-tab {
      font-family: 'Share Tech Mono', monospace;
      font-size: .7rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: #ffaa55;
      border: 1px solid #ff6a0055;
      padding: .25rem .7rem;
      cursor: pointer;
    }
    .media-tab:hover  { border-color: #ff6a00; color: #ff6a00; }
    .media-tab.active { background: #ff6a00; color: #1a0010; border-color: #ff6a00; }

    .media-section { display: none; }
    .media-section.active { display: block; }

    /* ── POEMS ── */
    .poems { display: flex; flex-direction: column; gap: 1.2rem; }

    .poem {
      border: 1px solid #ff2d78;
      background: #2a0018;
      border-radius: 4px;
      padding: 1.2rem 1.4rem;
    }
    .poem:nth-child(even) { border-color: #ff6a00; background: #2a1000; }

    .poem h2 {
      font-size: 1.4rem;
      color: #fff;
      margin-bottom: .4rem;
      font-family: "Pixelify Sans";
    }
    .poem-meta {
      font-size: .65rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      margin-bottom: .8rem;
    }
    .poem:nth-child(odd)  .poem-meta { color: #ff85b3; }
    .poem:nth-child(even) .poem-meta { color: #ffaa55; }

    .poem-text {
      font-size: .8rem;
      line-height: 1.9;
      color: #e8c0cc;
      white-space: pre-line;
      text-indent: 0;
    }
/* ── POSTS ── */
.posts {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.recipe {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1.2rem 1.4rem;
  border: 1px solid;
  background: #2a0018; 
  border-color: #ff2d78;
  max-height: 80vh;
}

.post {
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  border: 1px solid;
}

.food {
  gap: 1em;
  display: flex;
  flex-direction: row;
  border-radius: 4px;
  object-fit: contain
}

.ing {
  overflow-y: auto;
  flex: 1;
}

.ing::-webkit-scrollbar {
  width: 3px;
}
.ing::-webkit-scrollbar-track {
  background: transparent;
}
.ing::-webkit-scrollbar-thumb {
  background: #ff6a00;
}

.rec {
  overflow-y: auto;
  flex: 2;
  gap: .4rem;
}

.rec::-webkit-scrollbar {
  width: 3px;
}
.rec::-webkit-scrollbar-track {
  background: transparent;
}
.rec::-webkit-scrollbar-thumb {
  background: #ff2d78;
}

.post:nth-child(odd)  { background: #2a0018; border-color: #ff2d78; }
.post:nth-child(even) { background: #2a1000; border-color: #ff6a00; }

.post-meta {
  letter-spacing: .06em;
  margin-top: .4rem;
  text-align: right;
  text-transform: uppercase;
}
.post:nth-child(odd)  .post-meta { color: #ff85b3; }
.post:nth-child(even) .post-meta { color: #ffaa55; }

.post h2 {
  font-size: 1.2rem;
  letter-spacing: .06em;
  margin-bottom: .6rem;
  text-align: left;
  color: #e8c0cc;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Pixelify Sans";
}

.food h2 {
  font-size: 1.2rem;
  letter-spacing: .06em;
  margin-bottom: .6rem;
  text-align: left;
  color: #e8c0cc;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Pixelify Sans";
}

.post h3 {
  text-align: center;
  margin-bottom: .6rem;
  font-family: "Pixelify Sans";
}
.post p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e8c0cc;
  text-indent: 1.5rem;
  font-weight:300;
}

.food p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e8c0cc;
  text-indent: 1.5rem;
  font-weight:300;
}

.food ol {
  list-style-type: lower-roman;
}
.post orn {
  color: #ffaa55;
  font-weight: 600;
}

.center { 
  display: flex; 
  justify-content: center; 
  align-items: center; }
  
.abtbtn { 
  align-content: center; 
  justify-content: center; 
  gap: .5rem
}

.button {
  display: inline-block;
  margin: .8rem auto 0;
  text-align: center;
  width: fit-content;
  font-size: .7rem;
  color: #e8c0cc;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .2rem .6rem;
  border: 1px solid;
  font-family: "Pixelify Sans";
}
.post:nth-child(odd)  .button { color: #ff2d78; border-color: #ff2d78; }
.post:nth-child(even) .button { color: #ffaa55; border-color: #ff6a00; }
.post:nth-child(odd)  .button:hover { background: #ff2d78; color: #1a0010; }
.post:nth-child(even) .button:hover { background: #ff6a00; color: #1a0010; }

    .dumps { display: flex; flex-direction: column; gap: 1.4rem; }

    .dump {
      border: 1px solid #ff2d78;
      background: #2a0018;
      border-radius: 4px;
      overflow: hidden;
    }
    .dump:nth-child(even) { border-color: #ff6a00; background: #2a1000; }

    .dump-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: .75rem 1rem;
      cursor: pointer;
      user-select: none;
    }
    .dump-header h2 {
      font-size: 1.4rem;
      color: #fff;
      font-family: "Pixelify Sans";
    }
    .dump-header .dump-meta {
      font-size: .65rem;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
    .dump:nth-child(odd)  .dump-meta { color: #ff85b3; }
    .dump:nth-child(even) .dump-meta { color: #ffaa55; }

    .dump-header .toggle {
      font-size: .7rem;
      letter-spacing: .1em;
      color: #ff85b3;
    }
    .dump:nth-child(even) .toggle { color: #ffaa55; }

    .dump-grid {
      display: none;
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      gap: 3px;
      padding: 0 .75rem .75rem;
    }
    .dump-grid.open { display: grid; }

    .dump-grid img {
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
      cursor: pointer;
      opacity: .85;
      transition: opacity .15s;
    }
    .dump-grid img:hover { opacity: 1; }

    /* ── LIGHTBOX ── */
    .lightbox {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(10,0,8,.92);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      padding: 2rem;
    }
    .lightbox.open { display: flex; }

    .lightbox img {
      max-height: 80vh;
      max-width: 60vw;
      object-fit: contain;
      border: 1px solid #ff2d7855;
    }
    .lightbox-info {
      max-width: 220px;
      display: flex;
      flex-direction: column;
      gap: .6rem;
    }
    .lightbox-caption {
      font-size: .82rem;
      color: #e8c0cc;
      line-height: 1.6;
    }
    .lightbox-close {
      font-size: .7rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #ff85b3;
      cursor: pointer;
      border: 1px solid #ff2d7855;
      padding: .2rem .6rem;
      width: fit-content;
    }
    .lightbox-close:hover { background: #ff2d78; color: #1a0010; }
    .lightbox-nav {
      display: flex;
      gap: .4rem;
    }
    .lightbox-nav button {
      font-size: .7rem;
      letter-spacing: .1em;
      color: #ff85b3;
      background: transparent;
      border: 1px solid #ff2d7855;
      padding: .2rem .5rem;
      cursor: pointer;
    }
    .lightbox-nav button:hover { background: #ff2d78; color: #1a0010; border-color: #ff2d78; }
    
.about {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
}
/* ── TABS ── */
.media-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 1.2rem;
  justify-content: center;
}
.media-tab {
  font-family: 'Pixelify Sans', monospace;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffaa55;
  border: 1px solid #ff6a0055;
  padding: .25rem .7rem;
  cursor: pointer;
}
.media-tab:hover  { border-color: #ff6a00; color: #ff6a00; }
.media-tab.active { background: #ff6a00; color: #1a0010; border-color: #ff6a00; }

.media-section         { display: none; }
.media-section.active  { display: block; }

/* ── POEMS ── */
.poems {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.poem {
  border: 1px solid #ff2d78;
  background: #2a0018;
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
}
.poem:nth-child(even) { border-color: #ff6a00; background: #2a1000; }

.poem-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  cursor: pointer;
  user-select: none;
}
.poem h2 {
  font-family: 'Pixelify Sans', monospace;
  font-size: 1.4rem;
  color: #fff;
}
.poem-meta {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.poem:nth-child(odd)  .poem-meta { color: #ff85b3; }
.poem:nth-child(even) .poem-meta { color: #ffaa55; }
.poem .toggle { font-size: .7rem; color: #ff85b3; }
.poem:nth-child(even) .toggle { color: #ffaa55; }

.poem-text {
  display: none;
  margin-top: .8rem;
  font-size: .8rem;
  line-height: 1.9;
  color: #e8c0cc;
  white-space: pre-line;
  text-indent: 0;
}

/* ── ART ── */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
}
.art-item {
  border: 1px solid #ff2d7855;
  background: #1f0012;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.art-item:nth-child(even) { border-color: #ff6a0055; }
.art-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  opacity: .85;
  transition: opacity .15s;
}
.art-item:hover img { opacity: 1; }
.art-caption {
  font-size: .65rem;
  color: #e8c0cc;
  padding: .4rem .5rem;
  letter-spacing: .05em;
  line-height: 1.4;
}
.art-date {
  font-size: .6rem;
  color: #ff85b3;
  display: block;
  margin-top: .15rem;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,0,8,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 80vh;
  max-width: 60vw;
  object-fit: contain;
  border: 1px solid #ff2d7855;
}
.lightbox-info {
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.lightbox-caption { font-size: .82rem; color: #e8c0cc; line-height: 1.6; }
.lightbox-close {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff85b3;
  cursor: pointer;
  border: 1px solid #ff2d7855;
  padding: .2rem .6rem;
  width: fit-content;
}
.lightbox-close:hover { background: #ff2d78; color: #1a0010; }

/* ── FOOTER ── */
footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .7rem;
  letter-spacing: .1em;
  color: #ff2d7866;
}
footer a { color: #ff85b3; text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* ── MOBILE ── */
@media (max-width: 900px) {
  .site-wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav"
      "main";
  }
  .sidebar { display: none; }

  .mobile-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: .75rem 1rem;
    background: #1f0012;
    border-bottom: 1px solid #ff2d7855;
    grid-area: nav;
}

  }
  .mobile-nav a {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ff85b3;
    padding: .2rem .5rem;
    border: 1px solid #ff2d7855;
    text-decoration: none;
  }
  .mobile-nav a:hover {
    background: #ff2d78;
    color: #1a0010;
    box-shadow: none;
  }
}

/* hide mobile nav on desktop */
.mobile-nav { display: none; }