/* ========================================================
   GLOBAL RESETS & CSS VARIABLES
   ======================================================== */
:root {
  /* Elaine Retro OS Palette */
  --os-bg: #f4f3ea;
  --os-grid-line: rgba(116, 129, 105, 0.22);
  --os-sage: #657655;
  --os-sage-dark: #4f5d41;
  --os-sage-light: #7c8e6a;
  --os-card-bg: #fbfaf5;
  --os-border: #3b4432;
  --os-text-main: #2b3324;
  --os-text-muted: #5e6854;
  --os-accent-peach: #f1a575;
  --os-coral-close: #e76f51;
  --os-yellow-folder: #f4d06f;

  /* Daksh / Maryam Scrapbook Palette */
  --gingham-red: #8f1c24;
  --gingham-red-dark: #6e0f17;
  --gingham-red-light: #ba323b;
  --gingham-cream: #faf3ec;
  --scrapbook-card-bg: #fffdfa;
  --scrapbook-border: #3b0c11;
  --scrapbook-text: #2f070c;
  --scrapbook-subtext: #59161e;

  /* Typography */
  --font-mono: 'Space Mono', monospace;
  --font-pixel: 'VT323', monospace;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-hand: 'Patrick Hand', 'Gaegu', cursive, sans-serif;

  /* Layout */
  --header-height: 52px;
  --footer-height: 38px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--os-text-main);
  background-color: var(--os-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========================================================
   VIEW SWITCHING TRANSITIONS
   ======================================================== */
.view {
  display: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
  min-height: 100vh;
}

.view.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
}

/* ========================================================
   VIEW 1: RETRO OS DESKTOP (ELAINE STYLE)
   ======================================================== */
#desktop-view {
  background-color: var(--os-bg);
  background-image: 
    linear-gradient(to right, var(--os-grid-line) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, var(--os-grid-line) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  min-height: 100vh;
  position: relative;
}

/* Top OS Header */
.os-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background-color: rgba(244, 243, 234, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(116, 129, 105, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.os-header-left, .os-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.retro-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #2b3324;
  color: #fff;
  border: 2px solid #20261b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.retro-icon-btn:hover {
  transform: translate(-1px, -1px);
  background: #424e37;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.retro-icon-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0;
}

.os-clock {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--os-sage-dark);
  background: rgba(116, 129, 105, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(116, 129, 105, 0.3);
}

.portfolio-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.32em;
  color: var(--os-sage);
  text-transform: uppercase;
  user-select: none;
}

.pill-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 2px solid var(--os-border);
  background: var(--os-sage);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  transition: transform 0.15s, background-color 0.15s;
}

.pill-btn.highlight {
  background: var(--os-sage);
}

.pill-btn:hover {
  transform: translate(-1px, -1px);
  background: var(--os-sage-dark);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}

/* Workspace Grid: Icons & Windows */
.desktop-workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 2rem;
  padding: 1.5rem 1.5rem 3.5rem;
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
  align-items: start;
}

/* Desktop Icon Columns */
.desktop-icons-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 1rem;
}

.desktop-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  text-align: center;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.desktop-icon-item:hover, .desktop-icon-item:focus-visible {
  transform: translateY(-4px) scale(1.05);
}

.desktop-icon-item:active {
  transform: scale(0.95);
}

.icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 rgba(59, 68, 50, 0.25);
  border: 2.5px solid var(--os-border);
  transition: box-shadow 0.2s ease;
}

.desktop-icon-item:hover .icon-box {
  box-shadow: 4px 5px 0 rgba(59, 68, 50, 0.35);
}

.profile-icon-box {
  background-color: var(--os-sage);
}

.profile-icon-box .icon-letter {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fffdf8;
  line-height: 1;
}

.folder-icon-box {
  background-color: #fff9e6;
  padding: 4px;
}

.folder-svg {
  width: 44px;
  height: 38px;
}

.icon-label {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--os-sage-dark);
  margin-top: 0.5rem;
  background: rgba(244, 243, 234, 0.9);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(116, 129, 105, 0.3);
}

.icon-hint {
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: #a0252f;
  margin-top: 0.2rem;
  font-weight: 700;
}

/* Center Desktop Area */
.desktop-center-area {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  width: 100%;
}

/* Social Strip Band (Authentic to Elaine reference) */
.social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 4.25rem);
  background-color: var(--os-sage);
  padding: 0.95rem 2.5rem;
  border-radius: 12px;
  border: 2.5px solid var(--os-border);
  box-shadow: 4px 4px 0 rgba(59, 68, 50, 0.25);
  width: 100%;
  max-width: 860px;
}

.social-pill {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2.5px solid #20261b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s;
}

.social-pill:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 3px 5px 0 rgba(0,0,0,0.3);
}

.social-pill.linkedin {
  background-color: #0077b5;
  color: #fff;
}

.social-pill.github {
  background-color: #24292e;
  color: #fff;
}

.social-pill.email {
  background-color: #ea580c;
  color: #fff;
}

.social-pill.audio-silent-pill {
  background-color: #059669;
  color: #fff;
}

.social-pill.audio-silent-pill.muted {
  background-color: #475569;
  color: #cbd5e1;
}

.audio-silent-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.audio-silent-pill .audio-svg {
  display: block;
  transition: transform 0.2s ease;
}

.audio-silent-pill:hover .audio-svg {
  transform: scale(1.12);
}

.social-pill.cv-pill {
  background-color: #e63946;
  color: #fff;
}

.social-pill.contact-pill {
  background-color: #2a9d8f;
  color: #fff;
}

/* ========================================================
   RETRO OS WINDOWS (ELAINE STYLE)
   ======================================================== */
.retro-window {
  width: 100%;
  max-width: 860px;
  background-color: var(--os-card-bg);
  border: 2.5px solid var(--os-border);
  border-radius: 14px;
  box-shadow: 6px 7px 0 rgba(59, 68, 50, 0.3);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.retro-window:hover {
  box-shadow: 7px 9px 0 rgba(59, 68, 50, 0.38);
}

.window-titlebar {
  background-color: var(--os-sage);
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid var(--os-border);
  user-select: none;
}

.window-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fffdf8;
  letter-spacing: 0.05em;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.win-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid #2b3324;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s;
}

.win-btn:active {
  transform: scale(0.9);
}

.win-btn.close {
  background-color: #f26a8d;
  color: #fff;
}

.win-btn.minimize {
  background-color: #f4d06f;
  color: #2b3324;
}

.window-body {
  padding: 1.5rem;
  position: relative;
}

/* Portfolio Window Body */
.portfolio-body {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.85rem 2.25rem;
}

.portfolio-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.portfolio-avatar {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--os-border);
  box-shadow: 4px 4px 0 rgba(59, 68, 50, 0.25);
  background-color: #ecebe2;
}

.avatar-status-dot {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #2ec4b6;
  border: 2.5px solid #fff;
  box-shadow: 0 0 8px rgba(46, 196, 182, 0.6);
}

.portfolio-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.greeting-sub {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--os-sage-dark);
}

.name-heading {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 700;
  color: #c05c2e;
  line-height: 1.15;
  margin: 0.15rem 0 0.4rem;
}

.role-badge-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--os-sage-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.45;
  color: #4a543f;
  margin-bottom: 1.1rem;
}

.window-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.retro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.4rem;
  border-radius: 10px;
  border: 2px solid var(--os-border);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(59, 68, 50, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s;
}

.retro-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(59, 68, 50, 0.35);
}

.retro-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(59, 68, 50, 0.35);
}

.retro-btn.primary {
  background-color: #c05c2e;
  color: #fff;
  border-color: #8b3c18;
}

.retro-btn.primary:hover {
  background-color: #a84d22;
}

.retro-btn.secondary {
  background-color: #f4d06f;
  color: #2b3324;
}

.retro-btn.secondary:hover {
  background-color: #e5bd50;
}

/* Works Window Body */
.works-body {
  padding: 0;
}

.works-accent-stripe {
  height: 8px;
  background-color: var(--os-accent-peach);
  border-bottom: 2px solid var(--os-border);
}

.window-nav-tabs {
  display: flex;
  border-bottom: 2px solid var(--os-border);
  background-color: #ecebe2;
}

.win-tab-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  background: transparent;
  border: none;
  border-right: 1.5px solid var(--os-border);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--os-text-muted);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.win-tab-btn:last-child {
  border-right: none;
}

.win-tab-btn.active {
  background-color: var(--os-card-bg);
  color: var(--os-sage-dark);
  font-weight: 800;
  box-shadow: inset 0 3px 0 var(--os-sage);
}

.tab-pane {
  display: none;
  padding: 1.6rem 2.25rem 2.25rem;
}

.tab-pane.active {
  display: block;
}

.pane-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--os-sage-dark);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem 1rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  transition: transform 0.15s;
}

.tool-card:hover {
  transform: translateY(-3px);
}

.tool-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--os-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 2px 2px 0 rgba(59, 68, 50, 0.2);
}

.tool-name {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--os-text-main);
}

/* Featured Projects Mini Cards */
.projects-list-mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-mini-card {
  background: #fff;
  border: 2px solid var(--os-border);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 3px 3px 0 rgba(59, 68, 50, 0.15);
}

.pmc-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.pmc-header h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--os-text-main);
}

.pmc-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: #eef2eb;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--os-sage);
  color: var(--os-sage-dark);
}

.project-mini-card p {
  font-size: 0.9rem;
  color: var(--os-text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.pmc-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: #f4f3ea;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(116, 129, 105, 0.4);
}

.pmc-link {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #c05c2e;
  text-decoration: none;
}

.badge-role {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: #f4d06f;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #3b4432;
}

.telemetry-info-box {
  background: #fff;
  border: 2px solid var(--os-border);
  border-radius: 10px;
  padding: 1.25rem;
}

.telemetry-info-box h4 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--os-sage-dark);
  margin-bottom: 0.75rem;
}

.telemetry-info-box ul {
  padding-left: 1.25rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.telemetry-info-box li {
  margin-bottom: 0.5rem;
}

/* Bottom Taskbar */
.os-footer-bar {
  height: var(--footer-height);
  background-color: var(--os-sage);
  border-top: 2.5px solid var(--os-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fffdf8;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.taskbar-left, .taskbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.taskbar-start-badge {
  font-weight: 800;
  background: #2b3324;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #fff;
}

.taskbar-item {
  background: rgba(255,255,255,0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
}

.taskbar-item.active {
  background: rgba(255,255,255,0.3);
  font-weight: 700;
}

.badge-status {
  color: #a7f3d0;
  font-weight: 700;
}


/* ========================================================
   VIEW 2: FULL ABOUT ME PAGE (DAKSH / MARYAM SCRAPBOOK)
   ======================================================== */
#about-view {
  background-color: var(--gingham-cream);
  min-height: 100vh;
}

/* Top Scrapbook Navigation */
.scrapbook-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background-color: var(--gingham-red-dark);
  color: #fff;
  border-bottom: 3px solid var(--scrapbook-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.back-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fffdfa;
  color: var(--gingham-red-dark);
  border: 2px solid var(--scrapbook-border);
  border-radius: 20px;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
  transition: transform 0.15s, background-color 0.15s;
}

.back-pill-btn:hover {
  transform: translate(-1px, -1px);
  background-color: #f7e8df;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}

.back-pill-btn.big {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.scrapbook-nav-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heart-pixel {
  color: #ff8591;
  font-size: 1.25rem;
}

.download-resume-btn {
  background-color: #f4d06f;
  color: #2b3324;
  border: 2px solid var(--scrapbook-border);
  border-radius: 20px;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
  transition: transform 0.15s, background-color 0.15s;
}

.download-resume-btn:hover {
  transform: translate(-1px, -1px);
  background-color: #ffd875;
}

/* Scrapbook Outer Wrapper with Authentic Red Gingham Fabric Border */
.scrapbook-wrapper {
  padding: 2rem 1.25rem;
  background-color: #fbf5ee;
  background-image: 
    linear-gradient(90deg, rgba(160, 37, 47, 0.35) 50%, transparent 50%),
    linear-gradient(rgba(160, 37, 47, 0.35) 50%, transparent 50%);
  background-size: 44px 44px;
  display: flex;
  justify-content: center;
}

/* Inner Paper Sheet */
.scrapbook-page {
  max-width: 1000px;
  width: 100%;
  background-color: var(--scrapbook-card-bg);
  border: 4px solid var(--scrapbook-border);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: 10px 12px 0 rgba(59, 12, 17, 0.35);
  position: relative;
}

/* Header Strip */
.scrapbook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px dashed rgba(143, 28, 36, 0.3);
}

.single-nav-header {
  justify-content: flex-start;
  border-bottom: 2px dashed rgba(143, 28, 36, 0.25);
  padding-bottom: 0.85rem;
}

.cute-desktop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #fffaf0;
  color: #1e251a;
  border: 2px solid #1e251a;
  border-radius: 9999px;
  padding: 0.45rem 1.35rem;
  font-family: var(--font-hand), 'Patrick Hand', 'Gaegu', cursive, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2.5px 3.5px 0 #1e251a;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, background-color 0.15s ease;
  user-select: none;
}

.cute-desktop-btn:hover {
  transform: translateY(-2.5px) scale(1.04);
  box-shadow: 3.5px 5.5px 0 #1e251a;
  background-color: #ffffff;
}

.cute-desktop-btn:active {
  transform: translateY(1.5px) scale(0.97);
  box-shadow: 1px 1px 0 #1e251a;
}

.cute-desktop-arrow {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gingham-red-dark, #8f1c24);
  transition: transform 0.2s ease;
}

.cute-desktop-btn:hover .cute-desktop-arrow {
  transform: translateX(-4px);
}

.single-nav-cabinet-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.single-nav-cabinet-strip .cute-desktop-btn {
  font-size: 1.05rem;
  padding: 0.35rem 1.1rem;
}

.pixel-tag {
  font-family: var(--font-pixel);
  font-size: 1.85rem;
  color: var(--gingham-red-dark);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.editorial-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--gingham-red-dark);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 2px solid var(--scrapbook-border);
}

/* 2-Column Grid (Authentic to Daksh reference) */
.scrapbook-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* LEFT COLUMN */
.scrapbook-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Polaroid Card */
.polaroid-card {
  position: relative;
  background-color: #fff;
  border: 3.5px solid var(--scrapbook-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 6px 6px 0 rgba(59, 12, 17, 0.25);
  transform: rotate(-1.5deg);
  transition: transform 0.25s ease;
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.washi-tape.top-center {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 90px;
  height: 26px;
  background-color: rgba(244, 208, 111, 0.85);
  border: 1px dashed rgba(61, 58, 42, 0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 5;
}

.polaroid-img-container {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--scrapbook-border);
  background-color: #eedacf;
}

.scrapbook-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exclamation-sticker {
  position: absolute;
  top: 15px;
  right: -18px;
  background-color: #d90429;
  color: #fff;
  font-family: var(--font-hand);
  font-size: 2.2rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  border: 3px solid #fff;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
  transform: rotate(14deg);
}

/* Contact Sticker Badge */
.contact-sticker-badge {
  background-color: #fffdf9;
  border: 2.5px solid var(--scrapbook-border);
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 4px 4px 0 rgba(59, 12, 17, 0.2);
  transform: rotate(0.8deg);
}

.handle-line {
  margin-bottom: 0.5rem;
}

.handle-at {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gingham-red-dark);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.c-link {
  color: var(--scrapbook-text);
  text-decoration: none;
  font-weight: 700;
  word-break: break-all;
}

.c-link:hover {
  color: var(--gingham-red);
  text-decoration: underline;
}

.c-phone {
  color: var(--scrapbook-subtext);
}

/* Scrapbook General Card */
.scrapbook-card {
  background-color: #fffdf9;
  border: 3px solid var(--scrapbook-border);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 5px 6px 0 rgba(59, 12, 17, 0.2);
  position: relative;
}

.card-title-marker {
  font-family: var(--font-hand);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gingham-red-dark);
  line-height: 1.1;
  display: inline-block;
}

.card-title-marker.underline-marker {
  text-decoration: underline wavy var(--gingham-red-light) 2px;
}

.card-title-line {
  height: 3px;
  background-color: var(--scrapbook-border);
  margin: 0.4rem 0 1rem;
  border-radius: 2px;
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-accent {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #f4d06f;
  border: 1.5px solid var(--scrapbook-border);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
}

/* Skills Card */
.skills-category {
  margin-bottom: 1.15rem;
}

.skills-category:last-child {
  margin-bottom: 0;
}

.sub-skill-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gingham-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.marker-bullet-list {
  list-style: none;
  padding-left: 0;
}

.marker-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--scrapbook-text);
  line-height: 1.35;
}

.marker-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gingham-red);
  font-size: 1.3rem;
  line-height: 1;
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.lang-item {
  background-color: #fbf5ee;
  border: 1.5px solid var(--scrapbook-border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
}

.lang-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--scrapbook-text);
}

.lang-level {
  font-size: 0.75rem;
  color: var(--gingham-red);
  font-weight: 600;
}

/* RIGHT COLUMN */
.scrapbook-col-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero Title ("Hii, I'm Deepshikha") */
.scrapbook-hero-title {
  position: relative;
  display: inline-block;
}

.hero-hi {
  font-family: var(--font-hand);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gingham-red-dark);
  line-height: 0.9;
  display: block;
}

.hero-name {
  font-family: var(--font-hand);
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--gingham-red);
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(110, 15, 23, 0.15);
}

.sparkle-star {
  position: absolute;
  top: -10px;
  right: 15px;
  font-size: 3.2rem;
  color: #c05c2e;
  animation: pulse-sparkle 2.5s infinite ease-in-out;
}

@keyframes pulse-sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.15) rotate(8deg); opacity: 1; }
}

/* About Text Body */
.about-text-body {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--scrapbook-text);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.about-text-body:last-child {
  margin-bottom: 0;
}

/* Experience Timeline */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background-color: var(--gingham-red-light);
  border-radius: 2px;
}

.timeline-entry {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--gingham-red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--scrapbook-border);
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.entry-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--scrapbook-text);
}

.entry-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gingham-red);
  background-color: #f7e8df;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.entry-role {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gingham-red-dark);
  margin: 0.2rem 0 0.5rem;
}

.entry-desc {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #3f181c;
  margin-bottom: 0.75rem;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mini-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: #fbf5ee;
  border: 1px solid var(--scrapbook-border);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--scrapbook-text);
}

.mini-tag.link-tag {
  background-color: #f4d06f;
  color: #2b3324;
  text-decoration: none;
}

.mini-tag.link-tag:hover {
  text-decoration: underline;
}

/* Education List */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.edu-item {
  background-color: #fbf5ee;
  border: 2px solid var(--scrapbook-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.edu-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.edu-top h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--scrapbook-text);
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gingham-red);
}

.edu-degree {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gingham-red-dark);
  margin: 0.25rem 0 0.5rem;
}

.gpa-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gpa-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: #fff;
  border: 1.5px solid var(--scrapbook-border);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  color: var(--scrapbook-text);
}

.gpa-badge.highlight {
  background: #f4d06f;
}

/* Soft Skills Cloud */
.soft-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.soft-tag {
  background: #fbf5ee;
  border: 2px solid var(--scrapbook-border);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--scrapbook-text);
}

/* Bottom Scrapbook Banner */
.scrapbook-bottom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f7e8df;
  border: 3px dashed var(--scrapbook-border);
  border-radius: 16px;
  margin-top: 1rem;
}

.banner-note p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gingham-red-dark);
  margin-bottom: 0.35rem;
}

.stamp-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #a0252f;
  letter-spacing: 0.12em;
}


/* ========================================================
   MODALS (CONTACT & RESUME)
   ======================================================== */
.retro-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(30, 36, 25, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.retro-modal-overlay.active {
  display: flex;
}

.retro-modal-box {
  background-color: var(--os-card-bg);
  border: 3px solid var(--os-border);
  border-radius: 16px;
  box-shadow: 10px 12px 0 rgba(0,0,0,0.3);
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  animation: modal-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.retro-modal-box.large {
  max-width: 850px;
  height: 85vh;
  display: flex;
  flex-direction: column;
}

@keyframes modal-pop {
  0% { transform: scale(0.9) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-content {
  padding: 1.5rem;
  overflow-y: auto;
}

.retro-modal-box.large .modal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-heading {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--os-sage-dark);
  margin-bottom: 0.4rem;
}

.modal-desc {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--os-text-muted);
  margin-bottom: 1.25rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.c-info-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 2px solid var(--os-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.ci-icon {
  font-size: 1.5rem;
}

.ci-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ci-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--os-text-muted);
}

.ci-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--os-text-main);
  word-break: break-all;
}

.copy-btn, .visit-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1.5px solid var(--os-border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.copy-btn {
  background-color: #f4d06f;
  color: #2b3324;
}

.visit-btn {
  background-color: var(--os-sage);
  color: #fff;
}

.modal-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.resume-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.resume-actions-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Formatted In-Browser Resume Sheet */
.resume-sheet-preview {
  flex: 1;
  background-color: #fff;
  border: 2.5px solid var(--os-border);
  border-radius: 12px;
  padding: 1.75rem;
  overflow-y: auto;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
  font-family: var(--font-sans);
}

.rsp-header {
  border-bottom: 2px solid var(--os-border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.rsp-header h2 {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--os-text-main);
  letter-spacing: 0.05em;
}

.rsp-sub {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--os-sage-dark);
  font-weight: 700;
  margin: 0.25rem 0;
}

.rsp-contacts {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--os-text-muted);
}

.rsp-contacts a {
  color: #c05c2e;
  text-decoration: none;
  font-weight: 700;
}

.rsp-contacts a:hover {
  text-decoration: underline;
}

.rsp-section {
  margin-bottom: 1.35rem;
}

.rsp-sec-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--os-sage-dark);
  border-bottom: 1.5px solid rgba(116, 129, 105, 0.4);
  padding-bottom: 0.25rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.08em;
}

.rsp-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #333;
}

.rsp-skills-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.rsp-skills-list strong {
  font-family: var(--font-mono);
  color: var(--os-text-main);
}

.rsp-item {
  margin-bottom: 1rem;
}

.rsp-item:last-child {
  margin-bottom: 0;
}

.rsp-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.94rem;
}

.rsp-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--os-sage-dark);
  font-weight: 700;
}

.rsp-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
}

.pdf-frame-wrapper {
  flex: 1;
  min-height: 480px;
  border: 2.5px solid var(--os-border);
  border-radius: 10px;
  overflow: hidden;
  background: #525659;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background-color: #2b3324;
  color: #fff;
  border: 2px solid var(--os-yellow-folder);
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* ========================================================
   VIEW 3: FULL WORKS & PROJECTS SHOWCASE PAGE
   ======================================================== */
.works-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background-color: var(--os-sage-dark);
  color: #fff;
  border-bottom: 3px solid var(--os-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.works-nav-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.works-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.works-main-wrapper {
  padding: 2.25rem 1.25rem 4rem;
  background-color: var(--os-bg);
  background-image: 
    linear-gradient(to right, var(--os-grid-line) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, var(--os-grid-line) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 60px);
}

.works-page-sheet {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Works Header Card */
.works-header-card {
  background-color: var(--os-card-bg);
  border: 3.5px solid var(--os-border);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 7px 8px 0 rgba(59, 68, 50, 0.28);
}

.whc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.whc-path {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--os-sage-dark);
}

.whc-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  background-color: #f4d06f;
  border: 1.5px solid var(--os-border);
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
}

.works-main-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #c05c2e;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.works-main-subtitle {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--os-text-muted);
  max-width: 850px;
  margin-bottom: 1.25rem;
}

/* Filter Bar */
.works-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 2px dashed rgba(116, 129, 105, 0.4);
}

.filter-tab-btn {
  background-color: #fff;
  border: 2px solid var(--os-border);
  border-radius: 20px;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--os-text-main);
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(59, 68, 50, 0.15);
  transition: transform 0.15s, background-color 0.15s, color 0.15s;
}

.filter-tab-btn:hover {
  transform: translateY(-2px);
  background-color: #f4f3ea;
}

.filter-tab-btn.active {
  background-color: var(--os-sage);
  color: #fff;
  border-color: #2b3324;
  box-shadow: 3px 3px 0 rgba(43, 51, 36, 0.3);
}

/* Projects Catalog Grid */
.projects-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 600px) {
  .projects-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.project-showcase-card {
  background-color: #fff;
  border: 3px solid var(--os-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 6px 7px 0 rgba(59, 68, 50, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.project-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 10px 0 rgba(59, 68, 50, 0.32);
}

.psc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.psc-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f3ea;
  border: 2px solid var(--os-border);
  border-radius: 12px;
  box-shadow: 2px 2px 0 rgba(59, 68, 50, 0.2);
}

.psc-tags-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1.5px solid var(--os-border);
}

.tag-status.live {
  background-color: #d1fae5;
  color: #065f46;
  border-color: #059669;
}

.tag-status.github {
  background-color: #24292e;
  color: #fff;
  border-color: #000;
}

.tag-status.internship {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #d97706;
}

.tag-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--os-text-muted);
}

.psc-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--os-text-main);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.psc-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #444;
  margin-bottom: 1.15rem;
}

.psc-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tpill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  background-color: #f4f3ea;
  border: 1.5px solid rgba(59, 68, 50, 0.4);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--os-text-main);
}

.psc-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1.5px dashed rgba(116, 129, 105, 0.3);
}

.card-footer-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--os-sage-dark);
  background-color: #eef2eb;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--os-sage);
}

/* Works Bottom Banner */
.works-bottom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: var(--os-card-bg);
  border: 3px dashed var(--os-border);
  border-radius: 18px;
  padding: 1.5rem 2rem;
}

.works-bottom-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--os-text-main);
  margin-bottom: 0.25rem;
}

.works-bottom-banner p {
  font-size: 0.95rem;
  color: var(--os-text-muted);
}

.works-bottom-banner a {
  color: #c05c2e;
  font-weight: 700;
  text-decoration: underline;
}

/* Large Project Runner Modal */
.retro-modal-box.xl-runner {
  max-width: 1200px;
  width: 95vw;
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.runner-modal-body {
  flex: 1;
  width: 100%;
  height: calc(100% - 42px);
  background-color: #000;
}

.runner-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 900px) {
  .desktop-workspace {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .desktop-icons-col {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 0;
  }

  .desktop-icons-col.right-col {
    order: 3;
  }

  .desktop-center-area {
    order: 2;
  }

  .scrapbook-grid {
    grid-template-columns: 1fr;
  }

  .scrapbook-col-left {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-name {
    font-size: 3.2rem;
  }

  .hero-hi {
    font-size: 2.6rem;
  }
}

@media (max-width: 600px) {
  .portfolio-body {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-avatar-wrap {
    margin-bottom: 0.5rem;
  }

  .window-cta-row {
    justify-content: center;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .scrapbook-page {
    padding: 1.25rem;
  }

  .hero-name {
    font-size: 2.6rem;
  }

  .hero-hi {
    font-size: 2.1rem;
  }

  .portfolio-title {
    font-size: 1.25rem;
    letter-spacing: 0.18em;
  }

  .os-clock {
    display: none;
  }

  .scrapbook-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* ======================================================== */
/* GITHUB SYNC PANEL & DYNAMIC REPOSITORY CARDS             */
/* ======================================================== */
.github-sync-panel {
  background-color: #fbf9f3;
  border: 3px solid var(--os-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 4px 5px 0 rgba(59, 68, 50, 0.18);
}

.gh-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed rgba(59, 68, 50, 0.25);
}

.gh-panel-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gh-avatar-circle {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background-color: #24292e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
}

.gh-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--os-text-main);
  margin-bottom: 0.2rem;
}

.gh-subhead {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--os-text-muted);
}

.gh-user-link {
  color: #c05c2e;
  font-weight: 700;
  text-decoration: underline;
}

.gh-actions-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sync-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  border: 1.5px solid var(--os-border);
}

.sync-badge.live {
  background-color: #d1fae5;
  color: #065f46;
  border-color: #059669;
}

.sync-badge.syncing {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #d97706;
}

.spin-anim {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.github-repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.gh-loading-skeleton {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--os-text-muted);
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed rgba(59, 68, 50, 0.3);
  border-radius: 12px;
  grid-column: 1 / -1;
}

.repo-card {
  background-color: #ffffff;
  border: 2.5px solid var(--os-border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 3px 4px 0 rgba(59, 68, 50, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.repo-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 6px 0 rgba(59, 68, 50, 0.25);
}

.repo-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  gap: 0.5rem;
}

.repo-name-link {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
  text-decoration: none;
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.repo-name-link:hover {
  text-decoration: underline;
  color: #2563eb;
}

.repo-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--os-border);
  background-color: #f1f5f9;
  color: #334155;
  white-space: nowrap;
}

.repo-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4b5563;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.repo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--os-text-muted);
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(59, 68, 50, 0.2);
}

.repo-meta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.repo-lang-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}

.repo-stars, .repo-forks {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.repo-action-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--os-text-main);
  background-color: #f4d06f;
  border: 1.5px solid var(--os-border);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  text-decoration: none;
  transition: transform 0.15s;
}

.repo-action-btn:hover {
  transform: translateY(-1px);
  background-color: #ffe082;
}

/* ======================================================== */
/* CATCH THAT PIPS! GAME VIEW & RETRO CONSOLE CABINET        */
/* ======================================================== */
#game-view {
  background-color: #1a1e16;
  color: #e2e8f0;
  min-height: 100vh;
}

.game-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.75rem;
  background-color: #242b1f;
  border-bottom: 3px solid #3d4a34;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.game-nav-brand {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #f4d06f;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pip-game-wrapper {
  max-width: 900px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
}

/* Fullscreen Game Mode */
#game-view:fullscreen,
#game-view.fullscreen-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #1a1e16;
  overflow: hidden;
}

#game-view:fullscreen .pip-game-wrapper,
#game-view.fullscreen-mode .pip-game-wrapper {
  max-width: 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#game-view:fullscreen .pip-game-cabinet,
#game-view.fullscreen-mode .pip-game-cabinet {
  height: 100%;
  flex: 1;
  border-radius: 8px;
  border-width: 2.5px;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

#game-view:fullscreen .pip-screen-container,
#game-view.fullscreen-mode .pip-screen-container {
  flex: 1;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#game-view:fullscreen #view-overworld,
#game-view.fullscreen-mode #view-overworld {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game-view:fullscreen #pip-overworld-canvas,
#game-view.fullscreen-mode #pip-overworld-canvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#game-view:fullscreen #view-battle,
#game-view.fullscreen-mode #view-battle {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: none;
}

#game-view:fullscreen .pip-battle-stage,
#game-view.fullscreen-mode .pip-battle-stage {
  flex: 1;
  min-height: 280px;
}

.pip-game-cabinet {
  background-color: #2b3324;
  border: 4px solid #4a5a3c;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cabinet-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f251a;
  padding: 0.65rem 1.25rem;
  border-bottom: 2px solid #3e4c32;
}

.cabinet-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.pip-dot.red { background-color: #ef4444; }
.pip-dot.yellow { background-color: #eab308; }
.pip-dot.green { background-color: #22c55e; }

.cabinet-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #a3e635;
  letter-spacing: 0.08em;
}

.cabinet-mode-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  background-color: #dc2626;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Battle Stage (Classic creature-taming stage arena) */
.pip-battle-stage {
  background: radial-gradient(circle at 50% 40%, #1e281d 0%, #0d120c 100%);
  padding: 1.75rem 1.5rem;
  position: relative;
  border-bottom: 4px solid #1a1e16;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pip-battle-stage::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  opacity: 0.4;
}

.pip-stage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.pip-stage-row.enemy-row {
  flex-direction: row;
}

.pip-stage-row.player-row {
  flex-direction: row;
}

/* Status Cards (Creature & Player HUD) */
.pip-status-card {
  background-color: #f8fafc;
  border: 3px solid #1e293b;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #0f172a;
  min-width: 250px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
}

.psc-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.psc-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.psc-level {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

.psc-type-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.psc-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
}

.type-glitch { background-color: #dc2626; }
.type-code { background-color: #2563eb; }
.type-trainer { background-color: #059669; }
.type-cs { background-color: #7c3aed; }

.psc-status-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background-color: #fef08a;
  color: #854d0e;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}

.psc-hp-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.psc-hp-label {
  font-size: 0.75rem;
  font-weight: 900;
  color: #b45309;
}

.psc-hp-track {
  flex: 1;
  height: 10px;
  background-color: #cbd5e1;
  border: 1.5px solid #1e293b;
  border-radius: 5px;
  overflow: hidden;
}

.psc-hp-fill {
  height: 100%;
  background-color: #22c55e;
  transition: width 0.4s ease, background-color 0.4s ease;
}

.psc-hp-numbers {
  text-align: right;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}

.psc-exp-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed #cbd5e1;
}

.psc-exp-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #4338ca;
}

.psc-exp-track {
  flex: 1;
  height: 6px;
  background-color: #e2e8f0;
  border: 1px solid #1e293b;
  border-radius: 3px;
  overflow: hidden;
}

.psc-exp-fill {
  height: 100%;
  background-color: #3b82f6;
}

/* Pedestals & Sprites */
.pip-sprite-pedestal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 170px;
}

.pedestal-shadow {
  width: 140px;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.4) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.enemy-pedestal .pedestal-shadow {
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.45) 0%, rgba(0,0,0,0) 70%);
}

.pip-creature-sprite {
  position: relative;
  z-index: 2;
  animation: creature-hover 2.4s ease-in-out infinite alternate;
}

@keyframes creature-hover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.enemy-speech-balloon {
  position: absolute;
  top: -45px;
  right: -20px;
  background-color: #ffffff;
  color: #0f172a;
  border: 2px solid #1e293b;
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  max-width: 220px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  z-index: 10;
  pointer-events: none;
}

.enemy-speech-balloon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-right: 2px solid #1e293b;
  border-bottom: 2px solid #1e293b;
  transform: rotate(45deg);
}

/* Player Trainer Sprite Card (Using User's Profile Picture) */
.player-trainer-sprite-card {
  position: relative;
  z-index: 2;
  animation: trainer-bob 2.8s ease-in-out infinite alternate;
}

@keyframes trainer-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.trainer-avatar-frame {
  width: 130px;
  height: 180px;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.trainer-pfp-img {
  max-width: 100%;
  max-height: 165px;
  object-fit: contain;
  image-rendering: pixelated;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.trainer-badge-pill {
  position: relative;
  margin-top: -6px;
  background-color: rgba(15, 23, 42, 0.92);
  color: #a3e635;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  border: 1.5px solid #f4d06f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Interactive Console (Bottom Half) */
.pip-interactive-console {
  background-color: #0f172a;
  border-top: 3px solid #334155;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pip-dialogue-section {
  background-color: #020617;
  border: 3px solid #38bdf8;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  min-height: 100px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dialogue-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.dialogue-prompt-icon {
  color: #38bdf8;
  font-size: 1.1rem;
  line-height: 1.4;
  animation: prompt-blink 0.9s infinite;
}

@keyframes prompt-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.dialogue-text-stream {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1.5;
  color: #f8fafc;
  flex: 1;
  word-break: break-word;
}

/* Submenu Panel (Moves, Items, Actions) */
.pip-submenu-panel {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(56, 189, 248, 0.4);
}

.submenu-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: #38bdf8;
}

.submenu-back-btn {
  background: none;
  border: 1px solid #64748b;
  color: #94a3b8;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
}

.submenu-back-btn:hover {
  background-color: #334155;
  color: #fff;
}

.submenu-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.submenu-item-btn {
  background-color: #1e293b;
  border: 2px solid #475569;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.15s;
}

.submenu-item-btn:hover {
  background-color: #334155;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.2);
}

.sub-item-name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: #facc15;
  margin-bottom: 0.15rem;
}

.sub-item-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Bullet Hell Dodging Arena (Undertale Engine) */
.pip-dodging-section {
  background-color: #000;
  border: 4px solid #ffffff;
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.dodge-header-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ef4444;
}

.dodge-timer-badge {
  background-color: #b91c1c;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.dodge-canvas-frame {
  background-color: #000;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
}

#pip-dodge-canvas {
  display: block;
  background-color: #000;
  max-width: 100%;
  height: auto;
}

/* Mobile Touch D-Pad */
.pip-touch-dpad {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.dpad-mid-row {
  display: flex;
  gap: 1.25rem;
}

.dpad-btn {
  width: 44px;
  height: 44px;
  background-color: #1e293b;
  border: 2px solid #64748b;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.dpad-btn:active {
  background-color: #38bdf8;
  color: #000;
}

/* 4 Big Action Command Buttons */
.pip-action-command-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pip-cmd-btn {
  border-radius: 12px;
  border: 3px solid var(--os-border);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.4);
}

.pip-cmd-btn:hover {
  transform: translateY(-3px);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.5);
}

.pip-cmd-btn:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.cmd-icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.cmd-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.cmd-sub {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.85;
}

.btn-battle {
  background-color: #ef4444;
  color: #fff;
  border-color: #991b1b;
}

.btn-commune {
  background-color: #3b82f6;
  color: #fff;
  border-color: #1e40af;
}

.btn-bag {
  background-color: #f59e0b;
  color: #1e293b;
  border-color: #b45309;
}

.btn-catch {
  background-color: #10b981;
  color: #fff;
  border-color: #047857;
}

/* Cabinet Footer Bar */
.cabinet-footer-bar {
  background-color: #1f251a;
  border-top: 2px solid #3e4c32;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
}

/* Capsule Throw & Shake Animation */
@keyframes capsule-wobble {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-25deg); }
  50% { transform: rotate(25deg); }
  75% { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}

.wobble-capsule {
  display: inline-block;
  animation: capsule-wobble 0.6s ease-in-out infinite;
}

.arena-shake {
  animation: arena-hit 0.3s ease;
}

@keyframes arena-hit {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-8px, 4px); }
  40% { transform: translate(8px, -4px); }
  60% { transform: translate(-5px, 2px); }
  80% { transform: translate(5px, -2px); }
}

@media (max-width: 768px) {
  .pip-stage-row {
    flex-direction: column;
    align-items: center;
  }

  .pip-stage-row.enemy-row {
    flex-direction: column-reverse;
  }

  .pip-status-card {
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }

  .pip-action-command-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .pip-touch-dpad {
    display: flex;
  }

  .github-repos-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================== */
/* UNIQUE GAME-LIKE DESKTOP LOGOS & TRAINER QUEST HUD       */
/* ======================================================== */
.custom-game-icon-box {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f4f3ea 100%);
  border: 2.5px solid var(--os-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 4px 0 rgba(59, 68, 50, 0.25);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.desktop-icon-item:hover .custom-game-icon-box {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 5px 8px 0 rgba(59, 68, 50, 0.35);
}

.game-icon-img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.pulse-capsule {
  animation: capsule-idle-glow 2.5s ease-in-out infinite;
}

@keyframes capsule-idle-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.4)); }
  50% { filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8)); transform: scale(1.03); }
}

.btn-micro-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.35rem;
  vertical-align: middle;
  object-fit: contain;
}

.music-btn {
  background-color: #2b3324;
  color: #a3e635;
  border-color: #4a5a3c;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}

.music-btn.active {
  background-color: #3f6212;
  color: #facc15;
  box-shadow: 0 0 10px rgba(163, 230, 53, 0.5);
}

/* Desktop Trainer Quest HUD Bar */
.desktop-trainer-hud-bar {
  background-color: #2b3324;
  border-bottom: 2.5px solid var(--os-border);
  color: #fffdf8;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.dth-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dth-badge {
  background-color: #ef4444;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.dth-name {
  font-weight: 800;
  color: #f4d06f;
  letter-spacing: 0.04em;
}

.dth-level {
  font-weight: 800;
  color: #a3e635;
}

.dth-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
}

.dth-quest-star {
  color: #facc15;
  font-size: 0.95rem;
  animation: star-spin 3s linear infinite;
}

@keyframes star-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.dth-quest-text {
  font-size: 0.78rem;
}

.dth-quest-text strong {
  color: #fb923c;
}

.dth-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dth-exp-pill, .dth-dex-pill {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
}

.dth-exp-pill {
  color: #93c5fd;
}

.dth-dex-pill {
  color: #fde047;
}

@media (max-width: 900px) {
  .desktop-trainer-hud-bar {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }
  .dth-center {
    display: none;
  }
}

/* ======================================================== */
/* WORKS PAGE SCRAPBOOK & GINGHAM ZINE AESTHETIC            */
/* ======================================================== */
#works-view {
  background-color: var(--gingham-cream);
  min-height: 100vh;
}

.works-scrapbook-wrapper {
  padding: 2.5rem 1.25rem;
}

.works-scrapbook-page {
  position: relative;
  background-color: var(--scrapbook-card-bg);
  background-image: 
    linear-gradient(rgba(116, 129, 105, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 129, 105, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}

.works-scrapbook-intro {
  background-color: #ffffff;
  border: 3px solid var(--scrapbook-border);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 6px 7px 0 rgba(59, 12, 17, 0.25);
}

.works-intro-tagline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stamp-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  background-color: #fef08a;
  color: #854d0e;
  border: 2px dashed #ca8a04;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  display: inline-block;
  transform: rotate(-2deg);
}

.sync-count-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  border: 1px solid #7dd3fc;
}

.works-title-marker {
  font-size: 2.2rem;
  color: var(--gingham-red-dark);
  margin-bottom: 0.35rem;
}

.works-scrapbook-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 1.25rem;
}

.scrapbook-filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.scrapbook-filter-bar .filter-tab-btn {
  background-color: #fffdfa;
  border: 2px solid var(--scrapbook-border);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(59, 12, 17, 0.2);
  transition: all 0.15s;
}

.scrapbook-filter-bar .filter-tab-btn.active {
  background-color: var(--gingham-red);
  color: #ffffff;
  border-color: var(--gingham-red-dark);
  box-shadow: 3px 3px 0 rgba(59, 12, 17, 0.35);
  transform: translateY(-2px);
}

.scrapbook-bulletin-card {
  position: relative;
  background-color: #fffefb;
  border: 3.5px solid var(--scrapbook-border);
  box-shadow: 6px 7px 0 rgba(59, 12, 17, 0.22);
}

.scrapbook-repo-grid .repo-card {
  border: 2.5px solid var(--scrapbook-border);
  background-color: #fffdf8;
  box-shadow: 4px 4px 0 rgba(59, 12, 17, 0.18);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scrapbook-repo-grid .repo-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 6px 8px 0 rgba(59, 12, 17, 0.28);
}

/* Scrapbook Project Showcase Cards (Polaroid/Zine Style) */
.project-showcase-card {
  background-color: #ffffff;
  border: 3.5px solid var(--scrapbook-border);
  border-radius: 18px;
  box-shadow: 6px 8px 0 rgba(59, 12, 17, 0.25);
  position: relative;
}

.project-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 9px 12px 0 rgba(59, 12, 17, 0.35);
}

/* ======================================================== */
/* CATCH THAT PIP! GAME LOGO, FLAMECHAR & BATTLE STYLING     */
/* ======================================================== */
.pip-logo-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.pip-arcade-logo-img {
  max-width: 580px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.nav-mini-pip {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Species Switcher Pills */
.pip-species-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #161b12;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #3d4a34;
}

.switcher-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
}

.pip-switch-btn {
  background: none;
  border: 1px solid #475569;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.pip-switch-btn:hover {
  background-color: #334155;
  color: #fff;
}

.pip-switch-btn.active {
  background-color: #ea580c;
  color: #ffffff;
  border-color: #f97316;
  font-weight: 800;
  box-shadow: 0 0 6px rgba(234, 88, 12, 0.6);
}

.pip-mascot-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
  animation: pip-float 2.6s ease-in-out infinite alternate;
}

@keyframes pip-float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

.type-fire {
  background-color: #ea580c;
}

/* ========================================================
   POKEMON OPEN WORLD & SCREEN CONTAINER STYLES
   ======================================================== */
.cabinet-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cabinet-ctrl-pill {
  background-color: #2b3324;
  color: #e2e8f0;
  border: 1.5px solid #4a5a3c;
  border-radius: 14px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cabinet-ctrl-pill:hover {
  background-color: #3e4c32;
  color: #fff;
  border-color: #a3e635;
}

.cabinet-ctrl-pill.highlight {
  background-color: #4a5a3c;
  color: #a3e635;
  border-color: #a3e635;
}

.pip-screen-container {
  position: relative;
  background-color: #0b0f08;
  overflow: hidden;
  border-bottom: 3px solid #1f251a;
  min-height: 380px;
}

.pip-screen-view {
  display: none;
  width: 100%;
  position: relative;
}

.pip-screen-view.active {
  display: block;
}

/* 2D Open World Canvas */
#pip-overworld-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: #1a2216;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Overworld HUD */
.ow-hud-overlay {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.ow-zone-pill, .ow-stats-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 2px solid #38bdf8;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #f8fafc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  display: flex;
  gap: 0.75rem;
}

.ow-stats-pill strong {
  color: #a3e635;
}

/* Overworld In-Game Dialogue Box */
.ow-dialogue-box {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 3px solid #facc15;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ow-speaker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ow-message {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.45;
  color: #f8fafc;
}

.ow-prompt {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  animation: prompt-blink 0.8s infinite;
}

/* Flash Transition & Encounter Overlay */
.ow-flash-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ow-flash-overlay.flashing {
  animation: encounter-flash 0.6s ease-in-out;
}

.encounter-trainer-popup {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
}

.ow-flash-overlay.flashing .encounter-trainer-popup {
  display: flex;
  animation: encounter-popup-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.encounter-trainer-img {
  height: 180px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.encounter-alert-text {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.15rem;
  color: #dc2626;
  background: #ffffff;
  border: 2.5px solid #1e251a;
  border-radius: 8px;
  padding: 0.35rem 1rem;
  margin-top: 0.5rem;
  box-shadow: 4px 4px 0 #1e251a;
  letter-spacing: 0.08em;
}

@keyframes encounter-popup-in {
  0% { transform: scale(0.5) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes encounter-flash {
  0% { opacity: 0; }
  20% { opacity: 0.95; }
  40% { opacity: 0.1; }
  60% { opacity: 0.95; }
  80% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* Pip-Dex Modal View */
.pip-dex-container {
  padding: 1.25rem;
  background-color: #0f172a;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dex-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #334155;
  padding-bottom: 0.75rem;
}

.dex-header-bar h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #facc15;
  letter-spacing: 0.05em;
  margin: 0;
}

.dex-close-btn {
  background: #334155;
  border: 1px solid #64748b;
  color: #f8fafc;
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
}

.dex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.dex-card {
  background-color: #1e293b;
  border: 2px solid #334155;
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.15s ease;
}

.dex-card.caught {
  border-color: #22c55e;
  background: linear-gradient(180deg, #1e293b 0%, #143521 100%);
}

.dex-card-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.dex-card-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #94a3b8;
}

.dex-card-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #f8fafc;
}

.dex-card-types {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.dex-card-status {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.dex-card-status.caught {
  background: #15803d;
  color: #dcfce7;
}

.dex-card-status.wild {
  background: #334155;
  color: #94a3b8;
}

.dex-trainer-card {
  background-color: #1e293b;
  border: 2px solid #475569;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dtc-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dtc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #facc15;
  object-fit: cover;
}

.dtc-left h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #f8fafc;
  margin: 0;
}

.dtc-left p {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0.15rem 0 0;
}

.dtc-badges-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge-item {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #facc15;
}

/* Handheld Controls Deck */
.pip-handheld-controls {
  background-color: #1f251a;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 3px solid #3e4c32;
}

.handheld-dpad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.handheld-dpad .dpad-mid-row {
  display: flex;
  gap: 3px;
}

.handheld-dpad .dpad-btn {
  width: 38px;
  height: 38px;
  background-color: #181d14;
  border: 2px solid #3e4c32;
  border-radius: 6px;
  color: #a3e635;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  transition: transform 0.1s;
}

.handheld-dpad .dpad-btn:active {
  transform: translate(1px, 1px);
  background-color: #3e4c32;
}

.handheld-middle-lore {
  flex: 1;
  text-align: center;
}

.lore-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.4;
  display: inline-block;
  background: rgba(0,0,0,0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}

.handheld-action-keys {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.action-round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 3px 0 rgba(0,0,0,0.5);
  transition: transform 0.1s;
}

.action-round-btn:active {
  transform: translate(1px, 2px);
}

.action-round-btn.btn-b {
  background-color: #eab308;
  color: #1c1917;
  border: 3px solid #a16207;
}

.action-round-btn.btn-a {
  background-color: #ef4444;
  color: #fff;
  border: 3px solid #991b1b;
}

@media (max-width: 768px) {
  .pip-handheld-controls {
    flex-direction: column;
    gap: 1rem;
  }
  .dex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



