/* ============================================================
   VEXA STUDIO — schedule.css
   schedule page styles
   ============================================================ */

/* FONTS */
@font-face {
  font-family: 'Vanosky';
  src: url('/fonts/Vanosky.woff2') format('woff2'),
       url('/fonts/Vanosky.woff') format('woff'),
       url('/fonts/Vanosky.otf') format('opentype');
}
@font-face {
  font-family: 'Rollbox';
  src: url('/fonts/RollboxMedium.woff2') format('woff2'),
       url('/fonts/RollboxMedium.woff') format('woff'),
       url('/fonts/RollboxMedium.ttf') format('truetype');
}
@font-face {
  font-family: 'New Academy';
  src: url('/fonts/newacademy-webfont.woff2') format('woff2'),
       url('/fonts/newacademy-webfont.woff') format('woff');
}

/* ROOT */
:root {
  --white: #ffffff;
  --pink: #ff9dce;
  --pink-light: #ffbedd;
  --pink-hot: #fa3b9b;
  --black: #000000;
  --title: 'New Academy', serif;
  --body: 'Rollbox', monospace;
  --heading: 'Vanosky', sans-serif;

  --grad-hope: linear-gradient(90deg, #ffb8d9 0%, #ff9dce 50%, #e87ab8 100%);
  --grad-let:  linear-gradient(90deg, #e8a0f8 0%, #d070f0 50%, #b850e0 100%);
  --grad-make: linear-gradient(90deg, #ff9dce 0%, #d070f0 50%, #9050e0 100%);
  --grad-nsfw: linear-gradient(90deg, #ff6060 0%, #ff3030 50%, #cc0000 100%);
  --grad-eotm: linear-gradient(90deg, #ffd700 0%, #ffaa00 50%, #cc8800 100%);
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BODY */
body {
  min-height: 100vh;
  background: linear-gradient(145deg, #ffffff 0%, #fccadf 45%, #d7a6eb 100%);
  font-family: var(--body);
  display: flex;
  flex-direction: column;
}

/* CURSORS */
* { cursor: url('/assets/pinkcursorbig.png'), auto; }
a, button, .folder-item { cursor: url('/assets/pinkpointerbig.png'), pointer; }
input, textarea { cursor: url('/assets/pinktype.png'), text; }

/* ════════════════════════════════════
   HEADER
   ════════════════════════════════════ */
.header-block {
  text-align: center;
  padding: 5px 20px 0;
}
.site-title {
  font-family: var(--title);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1;
  text-rendering: optimizeLegibility;
}
.site-subheading {
  font-family: var(--body);
  font-size: clamp(0.65rem, 1.6vw, 1rem);
  color: var(--black);
  letter-spacing: 0.18em;
  margin-top: -20px;
  margin-bottom: 20px;
  min-height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--black);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink-cursor 0.75s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ════════════════════════════════════
   NAV
   ════════════════════════════════════ */
.nav-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 16px 0;
}
nav {
  background: var(--black);
  border: 5px solid var(--pink);
  border-radius: 2px;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 75%;
  min-height: 52px;
  overflow: visible;
}
nav a {
  font-family: var(--heading);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  padding: 0 20px;
  padding-top: 6px;
  transition: color 0.18s ease;
  white-space: nowrap;
}
nav a:hover { color: var(--pink); }
nav a.active { position: relative; overflow: visible; }
nav a.active::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: url('/assets/singlestarfast.gif') center / contain no-repeat;
  pointer-events: none;
  z-index: 100;
}

/* ════════════════════════════════════
   DESKTOP AREA
   ════════════════════════════════════ */
.desktop-area {
  flex: 1;
  padding: 32px 4% 40px;
}

.desktop-grid {
  display: grid;
  grid-template-columns: minmax(0, 650px) 280px 120px;
  gap: 32px;
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
}

.desktop-col-widget {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.desktop-col-memberships {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.desktop-col-folders {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}

/* ════════════════════════════════════
   WIN95 WINDOW BASE
   ════════════════════════════════════ */
.win-window {
  background: var(--white);
  border: 2px solid var(--black);
  box-shadow: 5px 5px 0 var(--pink), 7px 7px 0 var(--black);
}

@keyframes win-pop {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes win-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(3px); }
}

.win-schedule,
.win-popup .win-window {
  animation: win-pop 0.38s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

.win-window.is-shaking {
  animation: win-shake 0.36s ease both;
}

.win-titlebar {
  background: linear-gradient(90deg, var(--pink) 0%, #e8b0d8 50%, #c8a0d8 100%);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid var(--black);
  user-select: none;
}
.win-titlebar--hope { background: var(--grad-hope); }
.win-titlebar--let  { background: var(--grad-let);  }
.win-titlebar--make { background: var(--grad-make); }
.win-titlebar--nsfw { background: var(--grad-nsfw); }
.win-titlebar--eotm { background: var(--grad-eotm); }

.win-titlebar-icon {
  font-size: 0.95rem;
  color: var(--black);
  flex-shrink: 0;
}
.win-titlebar-label {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: var(--black);
  flex: 1;
}
.win-titlebar-btns {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.win-ctrl-btn {
  width: 16px;
  height: 14px;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: 0;
  font-size: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-family: monospace;
  padding: 0;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  transition: background 0.1s, transform 0.08s;
}
.win-ctrl-btn:hover  { background: var(--pink-light); }
.win-ctrl-btn:active { transform: scale(0.88); }

.win-window.is-shaking {
  animation: win-shake 0.36s ease both !important;
}

.win-body {
  padding: 16px;
}

/* ════════════════════════════════════
   SCHEDULE WIDGET WINDOW
   ════════════════════════════════════ */
.win-schedule {
  width: 100%;
}
.win-schedule-body {
  padding: 0 12px 0 12px;
  height: 680px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: auto;
  scrollbar-color: var(--pink) #f0d8e8;
}
.win-schedule-body > div {
  width: 100%;
  padding-bottom: 60px;
}
.win-schedule-body::-webkit-scrollbar { width: 14px; }
.win-schedule-body::-webkit-scrollbar-track { background: #f0d8e8; border-left: 2px solid #e0c0d4; }
.win-schedule-body::-webkit-scrollbar-thumb { background: var(--pink); border: 2px solid #e87ab8; }
.win-schedule-body::-webkit-scrollbar-thumb:hover { background: #e8479e; }
.win-schedule-body > div { width: 100%; }

/* ════════════════════════════════════
   FOLDER GRID
   ════════════════════════════════════ */
.folder-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  position: relative;
}

.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  position: relative;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
}
.folder-item .folder-icon,
.folder-item .folder-label {
  cursor: url('/assets/pinkpointerbig.png'), pointer;
}

/* inactive folders — no pointer, no hover lift, but look identical */
.folder-item.folder-inactive {
  cursor: url('/assets/pinkcursorbig.png'), default;
}
.folder-item.folder-inactive .folder-icon,
.folder-item.folder-inactive .folder-label {
  cursor: url('/assets/pinkcursorbig.png'), default;
}
.folder-item.folder-inactive:hover .folder-icon {
  transform: none;
}

.folder-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
  transition: transform 0.15s ease;
}
.folder-item:hover .folder-icon {
  transform: translateY(-2px);
}

.folder-label {
  font-family: var(--body);
  font-size: 0.62rem;
  color: var(--black);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

.folder-errant { position: relative; transform: none; }
.folder-errant:hover { transform: none; }

/* ════════════════════════════════════
   MEMBERSHIP WINDOWS
   ════════════════════════════════════ */
.membership-windows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform-origin: top center;
}
.membership-windows .win-window {
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1),
              opacity   0.28s ease;
}
.membership-windows.mem-closed .win-window {
  transform: scaleY(0) translateY(-30px);
  opacity: 0;
  pointer-events: none;
}
.membership-windows.mem-closed .win-window:nth-child(2) { transition-delay: 0.04s; }
.membership-windows.mem-closed .win-window:nth-child(3) { transition-delay: 0.08s; }
.membership-windows.mem-open .win-window:nth-child(1) { transition-delay: 0s; }
.membership-windows.mem-open .win-window:nth-child(2) { transition-delay: 0.07s; }
.membership-windows.mem-open .win-window:nth-child(3) { transition-delay: 0.14s; }

.win-membership { width: 100%; }
.win-membership-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.membership-price {
  font-family: var(--heading);
  font-size: 1.9rem;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1;
}
.membership-per {
  font-family: var(--body);
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.1em;
  margin-left: 3px;
}
.membership-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
}
.membership-list li {
  font-family: var(--body);
  font-size: 0.72rem;
  color: #333;
  letter-spacing: 0.04em;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.membership-list li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url('/assets/tinystar.png') center / contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}
.membership-subscribe-btn {
  display: block;
  width: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  padding: 10px 0 7px;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--pink), 5px 5px 0 var(--black);
  transition: box-shadow 0.08s, transform 0.08s;
  margin-top: 4px;
}
.membership-subscribe-btn:hover {
  box-shadow: 1px 1px 0 var(--pink), 3px 3px 0 var(--black);
  transform: translate(2px, 2px);
  color: var(--white);
}
.membership-subscribe-btn:active {
  box-shadow: none;
  transform: translate(5px, 5px);
}

/* ════════════════════════════════════
   APP DOWNLOAD WINDOW
   ════════════════════════════════════ */
.win-app {
  width: 100%;
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1),
              opacity   0.28s ease;
}
.win-app.app-closed {
  transform: scaleY(0) translateY(-30px);
  opacity: 0;
  pointer-events: none;
}
.win-app-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.win-app-label {
  font-family: var(--body);
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.app-btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.app-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px 8px;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-decoration: none;
  border: 2px solid var(--black);
  transition: box-shadow 0.08s, transform 0.08s, background 0.12s;
}
.app-download-btn--ios {
  background: var(--white);
  color: var(--black);
  box-shadow: 3px 3px 0 var(--pink), 5px 5px 0 var(--black);
}
.app-download-btn--android {
  background: var(--white);
  color: var(--black);
  box-shadow: 3px 3px 0 #c9a0e8, 5px 5px 0 var(--black);
}
.app-download-btn:hover {
  box-shadow: 1px 1px 0 var(--pink), 3px 3px 0 var(--black);
  transform: translate(2px, 2px);
  color: var(--black);
}
.app-download-btn--android:hover {
  box-shadow: 1px 1px 0 #c9a0e8, 3px 3px 0 var(--black);
}
.app-download-btn:active {
  box-shadow: none;
  transform: translate(5px, 5px);
}
.app-btn-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ════════════════════════════════════
   POPUP WINDOWS (overlay)
   ════════════════════════════════════ */
.win-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  pointer-events: none;
  align-items: center;
  justify-content: center;
}
.win-popup.active {
  display: flex;
  pointer-events: none;
}
.win-popup .win-window {
  pointer-events: all;
  width: min(520px, 90vw);
  animation: win-pop 0.32s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
.win-popup-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 70vh;
  overflow-y: auto;
}
.win-popup-label {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #333;
  text-align: center;
}

/* wider popup for class descriptions */
.win-popup--classes .win-window {
  width: min(780px, 90vw) !important;
  will-change: transform;
  cursor: auto;
}

/* all descendants get auto cursor, then we selectively override */
.win-popup--classes * {
  cursor: auto !important;
}

/* restore pointer on interactive elements */
.win-popup--classes .class-card-header,
.win-popup--classes .class-card-header *,
.win-popup--classes .chip,
.win-popup--classes .win-ctrl-btn,
.win-popup--classes .class-instructor-tag--link,
.win-popup--classes .mobile-filter-btn,
.win-popup--classes .mobile-filter-opt {
  cursor: pointer !important;
}
.win-popup--classes .classes-search {
  cursor: text !important;
}

/* blur backdrop for classes popup */
.win-popup--classes-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(200, 160, 220, 0.28);
  z-index: 595;
}
.win-popup--classes-backdrop.active {
  display: block;
}

/* ════════════════════════════════════
   CLASS DESCRIPTIONS WIDGET
   ════════════════════════════════════ */
.classes-widget-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: min(72vh, 680px);
  overflow: hidden;
}
.classes-controls {
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1.5px solid #e8d0e0;
  flex-shrink: 0;
}
.classes-search {
  width: 100%;
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid #ccc;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.classes-search:focus { border-color: var(--pink); }
.classes-search::placeholder { color: #bbb; letter-spacing: 0.08em; }

.classes-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.classes-filter-label {
  font-family: var(--body);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: #999;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 5px;
  min-width: 60px;
}
.classes-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #666;
  background: var(--white);
  border: 1.5px solid #ddd;
  padding: 6px 13px 5px;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  transition: border-color 0.12s, color 0.12s, background 0.12s, box-shadow 0.08s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--pink); color: #e8479e; }
.chip--active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 2px 2px 0 var(--pink);
}
.chip--active:hover { color: var(--pink); border-color: var(--black); }

#filter-instructor .chip--active {
  background: var(--pink);
  color: var(--black);
  border-color: var(--pink);
  box-shadow: 2px 2px 0 var(--black);
}
#filter-instructor .chip--active:hover { color: var(--black); }

.classes-results-count {
  font-family: var(--body);
  font-size: 0.62rem;
  color: #aaa;
  letter-spacing: 0.1em;
  padding: 8px 16px 4px;
  flex-shrink: 0;
}
.classes-scroll-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  scrollbar-width: auto;
  scrollbar-color: var(--pink) #f0d8e8;
}
.classes-scroll-area::-webkit-scrollbar { width: 14px; }
.classes-scroll-area::-webkit-scrollbar-track { background: #f0d8e8; border-left: 2px solid #e0c0d4; }
.classes-scroll-area::-webkit-scrollbar-thumb { background: var(--pink); border: 2px solid #e87ab8; }
.classes-scroll-area::-webkit-scrollbar-thumb:hover { background: #e8479e; }

.classes-list {
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.class-card {
  border: 1.5px solid #e0ccd8;
  background: var(--white);
  overflow: hidden;
}
.class-card.hidden { display: none; }

.class-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  user-select: none;
}
.class-card-header:hover { background: #fdf0f7; }
.class-card.is-open .class-card-header {
  background: #fdf0f7;
  border-bottom: 1.5px solid #e0ccd8;
}
.class-card-title {
  font-family: var(--heading);
  font-size: 1.1rem;
  color: var(--black);
  letter-spacing: 0.08em;
  flex: 1;
  padding-top: 0.6em;
}
.class-card-meta {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}
.class-badge {
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 3px 9px 2px;
  border: 1px solid;
  white-space: nowrap;
}
.class-badge--diff {
  color: #e8479e;
  border-color: #f0b0d0;
  background: #fff0f7;
}
.class-card-chevron {
  font-size: 0.8rem;
  color: #ccc;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.class-card.is-open .class-card-chevron {
  transform: rotate(180deg);
  color: var(--pink);
}
.class-card-body {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease;
  opacity: 0;
}
.class-card.is-open .class-card-body {
  grid-template-rows: 1fr;
  opacity: 1;
}
.class-card-body-inner {
  overflow: hidden;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.class-card-description {
  font-family: var(--body);
  font-size: 0.82rem;
  color: #444;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.class-card-prereqs {
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
}
.class-card-prereqs-label {
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: #aaa;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.class-card-prereqs-val {
  font-family: var(--body);
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.05em;
  font-style: italic;
}
.class-card-instructors {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.class-instructor-tag {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #e8479e;
  border: 1px solid #f0b0d0;
  padding: 3px 10px 2px;
  background: #fff0f7;
  text-decoration: none;
}
.classes-no-results {
  display: none;
  font-family: var(--body);
  font-size: 0.78rem;
  color: #bbb;
  letter-spacing: 0.08em;
  line-height: 2;
  text-align: center;
  padding: 32px 0;
}
.classes-no-results span { font-size: 0.65rem; color: #ccc; }
.classes-no-results.visible { display: block; color: #888; }

/* ════════════════════════════════════
   MOBILE FILTER DROPDOWNS
   (hidden on desktop, shown on mobile)
   ════════════════════════════════════ */
.mobile-filter-dropdowns {
  display: none;
}

.mobile-filter-group {
  position: relative;
}

.mobile-filter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid #ccc;
  padding: 11px 14px 9px;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  transition: border-color 0.12s;
  text-align: left;
}
.mobile-filter-btn:hover { border-color: var(--pink); }
.mobile-filter-btn.is-open { border-color: var(--pink); border-bottom-color: transparent; }

.mobile-filter-val {
  color: #e8479e;
  margin-left: 6px;
  flex: 1;
}
.mobile-filter-arrow {
  font-size: 0.55rem;
  color: #aaa;
  transition: transform 0.2s ease;
  margin-left: 8px;
}
.mobile-filter-btn.is-open .mobile-filter-arrow {
  transform: rotate(180deg);
}

.mobile-filter-panel {
  display: none;
  flex-direction: column;
  border: 1.5px solid var(--pink);
  border-top: none;
  background: var(--white);
}
.mobile-filter-panel.is-open { display: flex; }

.mobile-filter-opt {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #555;
  background: var(--white);
  border: none;
  border-bottom: 1px solid #f0e0e8;
  padding: 13px 16px 11px;
  text-align: left;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  transition: background 0.1s, color 0.1s;
}
.mobile-filter-opt:last-child { border-bottom: none; }
.mobile-filter-opt:hover { background: #fdf0f7; color: #e8479e; }
.mobile-filter-opt.mfo--active {
  background: #fff0f7;
  color: #e8479e;
}
.mobile-filter-opt.mfo--active::after { content: ' ✓'; }
.popup-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(200, 160, 220, 0.18);
  backdrop-filter: blur(2px);
  z-index: 590;
}
.popup-backdrop.active { display: block; }

/* pause cursor trail when any popup is open */
body.popup-open .cursor-star {
  display: none !important;
  pointer-events: none !important;
}

/* ════════════════════════════════════
   IMAGE GRID (NSFW)
   ════════════════════════════════════ */
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1.5px solid #ddd;
  background: #f5e6f0;
}
.nsfw-label {
  color: #cc0000;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* ════════════════════════════════════
   MOBILE SECTIONS (hidden on desktop)
   ════════════════════════════════════ */
.mobile-memberships,
.mobile-folder-grid {
  display: none;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
footer { margin-top: auto; }
.footer-inner { max-width: 100%; padding: 0 40px; }
.footer-divider { height: 1px; background: #c0c0c0; margin-bottom: 22px; }
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 28px;
}
.footer-info { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body);
  font-size: 0.78rem;
  color: #444;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.footer-icon { width: 14px; height: 14px; color: #888; flex-shrink: 0; position: relative; top: 1px; }
.footer-copy { font-family: var(--body); font-size: 0.72rem; color: #888; letter-spacing: 0.08em; white-space: nowrap; }
.footer-link { text-decoration: none; color: #444; transition: color 0.18s; }
.footer-link:hover { color: #ff69b4; }
.footer-link:hover .footer-icon { color: #ff69b4; }

/* ════════════════════════════════════
   HAMBURGER
   ════════════════════════════════════ */
.hamburger-btn { display: none; }
.mobile-nav-overlay { display: none; }

/* ════════════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════════════ */
@media (max-width: 1250px) {
  nav { width: 92%; padding: 6px 10px; min-height: 44px; }
  nav a { font-size: clamp(0.75rem, 2.5vw, 1rem); padding: 4px 10px; padding-top: 8px; }
  nav a.active::after { width: 180px; height: 180px; }
  .footer-inner { padding: 0 24px; }
  .footer-info { gap: 16px; }
  .desktop-grid {
    grid-template-columns: minmax(0, 520px) 250px 100px;
    gap: 18px;
  }
}
@media (max-width: 1050px) {
  .desktop-grid {
    grid-template-columns: minmax(0, 420px) 230px 90px;
    gap: 14px;
  }
}

/* ════════════════════════════════════
   RESPONSIVE — MOBILE
   ════════════════════════════════════ */
@media (max-width: 950px) {
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, #ffb8d9 0%, #ff9dce 50%, #e87ab8 100%);
    border: 2.5px solid var(--pink);
    border-radius: 2px;
    z-index: 3000;
    padding: 0;
  }
  .hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 1px;
    transform-origin: center;
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease, width 0.28s ease;
  }
  .hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 90px;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 2500;
    pointer-events: none;
    opacity: 0;
    clip-path: circle(0% at calc(100% - 38px) 38px);
    transition: opacity 0.3s ease, clip-path 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
    clip-path: circle(150% at calc(100% - 38px) 38px);
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0 32px;
    background: transparent;
    border: none;
    min-height: 0;
  }
  .mobile-nav-links a {
    font-family: var(--heading);
    font-size: clamp(2rem, 10vw, 3rem);
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.18s ease, transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1), opacity 0.3s ease;
  }
  .mobile-nav-overlay.open .mobile-nav-links a { opacity: 1; transform: translateY(0); }
  .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
  .mobile-nav-links a:nth-child(2) { transition-delay: 0.16s; }
  .mobile-nav-links a:nth-child(3) { transition-delay: 0.22s; }
  .mobile-nav-links a:nth-child(4) { transition-delay: 0.28s; }
  .mobile-nav-links a:nth-child(5) { transition-delay: 0.34s; }
  .mobile-nav-links a:hover,
  .mobile-nav-links a.active { color: var(--pink); }
  .mobile-nav-links a.active::after { display: none; }
  .mobile-nav-tagline {
    font-family: var(--body);
    font-size: 0.65rem;
    color: rgba(255, 157, 206, 0.4);
    letter-spacing: 0.22em;
    text-align: center;
    position: absolute;
    bottom: 28px;
    left: 0; right: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.44s;
  }
  .mobile-nav-overlay.open .mobile-nav-tagline { opacity: 1; }

  .header-block { padding: 90px 16px 0; }
  .site-subheading { margin-top: 8px; margin-bottom: 4px; }
  .nav-wrapper { display: none; }

  /* reset desktop-area padding entirely on mobile */
  .desktop-area {
    padding: 16px 0 0;
  }

  /* hide the side columns */
  .desktop-col-memberships,
  .desktop-col-folders {
    display: none;
  }

  /* turn grid into a plain block — no max-width, no margin auto */
  .desktop-grid {
    display: block;
    max-width: none;
    margin: 0;
    gap: 0;
  }

  /* widget column: full width with side padding */
  .desktop-col-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    min-width: 0;
  }

  /* schedule widget: shorter on mobile */
  .win-schedule-body {
    height: 420px;
  }

  /* app window — always visible on mobile (no toggle) */
  .win-app {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }

  /* membership windows stacked */
  .mobile-memberships {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 16px 0;
  }

  /* folder grid — no background, no border, just icons */
  .mobile-folder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 8px 28px;
  }
  .mobile-folder-grid .folder-item {
    background: none;
    border: none;
    padding: 12px 6px;
  }
  .mobile-folder-grid .folder-icon {
    width: 72px;
    height: 72px;
  }

  /* popup fix: fill full viewport as flex centering wrapper */
  .win-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto !important;
    max-width: none !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .win-popup.active {
    display: flex;
  }
  .win-popup .win-window {
    width: min(480px, calc(100vw - 32px)) !important;
    max-height: 85vh;
    overflow-y: auto;
  }

  /* class descriptions popup: large but not edge-to-edge on mobile */
  .win-popup--classes .win-window {
    width: calc(100vw - 48px) !important;
    max-height: 82vh !important;
    height: 82vh;
  }
  .classes-widget-body {
    height: 100%;
  }

  /* hide desktop chip rows, show mobile dropdowns */
  .classes-filter-row { display: none; }
  .mobile-filter-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* more breathing room inside the classes popup */
  .classes-controls {
    padding: 18px 16px 14px;
    gap: 14px;
  }
  .classes-filter-row {
    gap: 12px;
  }
  .classes-filter-chips {
    gap: 8px;
  }
  .classes-list {
    padding: 12px 16px 20px;
    gap: 10px;
  }
  .classes-results-count {
    padding: 10px 16px 6px;
  }

  /* bigger chips for touch */
  .chip {
    font-size: 0.75rem;
    padding: 9px 16px 8px;
  }

  /* bigger card headers for touch */
  .class-card-header {
    padding: 18px 16px;
  }
  .class-card-title {
    font-size: 1rem;
  }
  .classes-filter-label {
    font-size: 0.65rem;
    padding-top: 9px;
  }

  /* more breathing room between all mobile page sections */
  .desktop-col-widget {
    padding: 0 16px;
    gap: 28px;
  }
  .mobile-memberships {
    padding: 28px 16px 0;
    gap: 28px;
  }
  .mobile-folder-grid {
    padding: 28px 8px 48px;
    gap: 4px;
  }
  .mobile-folder-grid .folder-item {
    padding: 14px 6px;
  }

  /* gap between the widget section and memberships */
  .desktop-area {
    padding-bottom: 0;
  }
  .mobile-memberships + .mobile-folder-grid {
    margin-top: 8px;
  }

  .footer-inner { padding: 0 20px; }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 32px;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    width: 100%;
  }
  .footer-item {
    font-size: 0.62rem;
    white-space: normal;
    line-height: 1.5;
    gap: 6px;
    justify-content: center;
  }
  .footer-link {
    white-space: normal;
    font-size: 0.62rem;
  }
  .footer-icon {
    flex-shrink: 0;
    position: relative;
    top: 1px;
  }
  .footer-copy {
    font-size: 0.58rem;
    white-space: normal;
    color: #aaa;
    text-align: center;
  }
  .footer-divider {
    margin-bottom: 28px;
    margin-top: 12px;
  }
}