/* ==========================================================================
   PICOTRON COLOR PALETTE
   ========================================================================== */

@font-face {
  font-family: 'Picotron';
  src: url('/fonts/picotron-v7.otf.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

.site-banner {
  display: block;
  width: 1400px;
  height: auto;
  margin: 0 auto 10px auto;
  margin-left: 50%;
  transform: translateX(-50%);
}

:root {
  --pic-00: #000000;
  --pic-01: #1d2b53;
  --pic-02: #7e2553;
  --pic-03: #008751;
  --pic-04: #ab5236;
  --pic-05: #5f574f;
  --pic-06: #c2c3c7;
  --pic-07: #fff1e8;
  --pic-08: #ff004d;
  --pic-09: #ffa300;
  --pic-10: #ffec27;
  --pic-11: #00e436;
  --pic-12: #29adff;
  --pic-13: #83769c;
  --pic-14: #ff77a8;
  --pic-15: #ffccaa;
  --pic-16: #2463b0;
  --pic-17: #00a5a1;
  --pic-18: #654688;
  --pic-19: #125359;
  --pic-20: #742f29;
  --pic-21: #452d32;
  --pic-22: #a28879;
  --pic-23: #ffacc5;
  --pic-24: #b9003e;
  --pic-25: #eb6b00;
  --pic-26: #90ec42;
  --pic-27: #00b251;
  --pic-28: #64dff6;
  --pic-29: #bd9adf;
  --pic-30: #e40dab;
  --pic-31: #ff856d;
}


/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--pic-01);
  color: var(--pic-15);
  font-family: 'Picotron', monospace;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--pic-12);
  text-decoration: none;
}

a:hover {
  color: var(--pic-14);
  text-decoration: underline;
}


/* ==========================================================================
   LAYOUT - THREE COLUMN STRUCTURE
   ========================================================================== */

.footer-text {
  color: var(--pic-16);
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  padding: 10px;
}

.footer-text p {
  margin: 5px 0;
}

.container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 15px;
  min-width: 1200px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 10px;
}

.main-content {
  flex-grow: 1;
  background: var(--pic-02);
  border: 3px solid var(--pic-23);
  padding: 20px 20px 10px 20px;
  border-radius: 8px;
  min-width: 0;
}

.footer {
  text-align: center;
  padding: 10px 20px;
  color: var(--pic-06);
  font-size: 12px;
  border-top: 2px solid var(--pic-12);
  margin-top: 20px;
}

.footer p {
  margin: 5px 0;
  text-align: center;
}

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-left {
  width: 100%;
  background: var(--pic-16);
  border: 3px solid var(--pic-28);
  padding: 15px;
  border-radius: 8px;
  flex-shrink: 0;
}

.social-bar {
  width: 100%;
  background: var(--pic-16);
  border: 3px solid var(--pic-28);
  padding: 15px;
  border-radius: 8px;
  flex-shrink: 0;
}

.social-bar h2 {
  color: var(--pic-28);
  font-size: 14px;
  border-bottom: 2px dashed var(--pic-28);
  padding-bottom: 5px;
  margin-top: 0;
}

.social-bar .social-links {
  margin-top: 10px;
}

.social-divider {
  border: none;
  border-top: 2px dashed var(--pic-28);
  margin: 12px 0;
}

.main-content {
  flex-grow: 1;
  background: var(--pic-02);
  border: 3px solid var(--pic-23);
  padding: 20px 20px 10px 20px;
  border-radius: 8px;
  min-width: 0;
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.sidebar-left h2 {
  color: var(--pic-28);
  font-size: 14px;
  border-bottom: 2px dashed var(--pic-28);
  padding-bottom: 5px;
  margin-top: 20px;
}



.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 8px 0;
}

.nav-links a {
  display: block;
  padding: 5px 10px;
  background: var(--pic-01);
  border: 2px solid var(--pic-13);
  border-radius: 4px;
  color: var(--pic-29);
  font-size: 13px;
  background-repeat: no-repeat;
  background-position: 10px center;
  padding-left: 36px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.nav-links a[href*="/"] {
  background-image: url('/images/navigation/home.png');
  background-size: 18px 18px;
}
.nav-links a[href*="/pico8.html"] {
  background-image: url('/images/navigation/pico8.png');
  background-size: 19px 19px;
}
.nav-links a[href*="/picotron.html"] {
  background-image: url('/images/navigation/picotron.png');
  background-size: 18px 18px;
}
.nav-links a[href*="/blog/"] {
  background-image: url('/images/navigation/blog.png');
  background-size: 20px 16px;
}
.nav-links a[href*="/tools.html"] {
  background-image: url('/images/navigation/tools.png');
  background-size: 18px 18px;
}
.nav-links a[href*="/about.html"] {
  background-image: url('/images/navigation/about.png');
  background-size: 20px 20px;
}

.nav-links a:hover {
  background-color: var(--pic-29);
  border: 2px solid var(--pic-29);
  color: var(--pic-01);
  text-decoration: none;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li {
  margin: 8px 0;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--pic-01);
  border: 2px solid var(--pic-13);
  border-radius: 4px;
  color: var(--pic-29);
  font-size: 13px;
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 32px 24px;
  padding-left: 52px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.social-links a[href*="x.com"] { background-image: url('/images/social/x.png'); }
.social-links a[href*="youtube"] { background-image: url('/images/social/youtube.png'); }
.social-links a[href*="youtu.be"] { background-image: url('/images/social/youtube.png'); }
.social-links a[href*="itch.io"] { background-image: url('/images/social/itch.png'); }
.social-links a[href*="github"] { background-image: url('/images/social/github.png'); }
.social-links a[href*="twitch"] { background-image: url('/images/social/twitch.png'); }
.social-links a[href*="rumble"] { background-image: url('/images/social/rumble.png'); }
.social-links a[href*="kick"] { background-image: url('/images/social/kick.png'); }
.social-links a[href*="discord"] { background-image: url('/images/social/discord.png'); }
.social-links a[href*="rss.xml"] { background-image: url('/images/social/rss.png'); }

.social-links a:hover {
  background-color: var(--pic-29);
  border: 2px solid var(--pic-29);
  color: var(--pic-01);
  text-decoration: none;
}


/* ==========================================================================
   MAIN CONTENT TYPOGRAPHY
   ========================================================================== */

.main-content h1 {
  color: var(--pic-12);
  text-align: center;
  border-bottom: 3px double var(--pic-12);
  padding-bottom: 10px;
  margin-top: 0;
  text-shadow: 2px 2px var(--pic-00);
}

.main-content h2 {
  color: var(--pic-14);
  margin-top: 25px;
}

.main-content h2::before {
  content: "✽ ";
  margin-right: -15px;
}

.main-content p {
  color: var(--pic-15);
  text-align: justify;
}


/* ==========================================================================
   MARQUEE & ANNOUNCEMENTS
   ========================================================================== */

marquee {
  padding: 8px;
  font-size: 14px;
  border: 3px inset var(--pic-00);
  margin-bottom: 5px;
}

.announcement {
  padding: 10px;
  border: 3px inset var(--pic-00);
  margin-bottom: 10px;
  font-size: 14px;
}

.marquee-container {
  display: flex;
  align-items: center;
  background: var(--pic-14);
  border: 3px inset var(--pic-23);
  padding: 0px 0px 0px 0px;
  margin-bottom: 15px;
}

.marquee-container.hidden {
  display: none;
}

.marquee-gif {
  height: 36px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  margin: 0 8px;
  vertical-align: middle;
}

.marquee-container marquee {
  flex: 1;
  background: transparent;
  color: var(--pic-07);
  font-size: 24px;
  vertical-align: bottom;
  border: none;
  text-shadow: 2px 2px var(--pic-00);
}


/* ==========================================================================
   SPLASH TEXT (Minecraft-style random messages)
   ========================================================================== */

.splash-text {
  position: absolute;
  top: 80px;
  right: 50px;
  font-size: 20pt;
  font-weight: bold;
  color: white;
  text-shadow: 
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0 0 5px #000;
  transform: rotate(15deg);
  animation: splash-oscillate 2s ease-in-out infinite;
  z-index: 100;
  font-family: 'Courier New', monospace;
  pointer-events: none;
  line-height: 1.2;
  text-align: center;
}

@keyframes splash-oscillate {
  0%, 100% { transform: rotate(15deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.15); }
}


/* ==========================================================================
   GAME COMPONENTS
   ========================================================================== */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.game-card {
  background: var(--pic-01);
  border: 3px solid var(--pic-12);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.game-card h3 {
  color: var(--pic-12);
  margin: 10px 0;
  font-size: 16px;
}

.game-card p {
  font-size: 12px;
  color: var(--pic-06);
}

.game-card p.game-card-date {
  color: var(--pic-16) !important;
  font-size: 11px !important;
  margin: 8px 0 0 0;
}

.game-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 10px 1px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s, filter 0.2s;
}

.game-image:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 4px rgba(0, 0, 0, 0.4));
}

.game-card-ribbon {
  --f: 8px;
  --r: 12px;
  --t: 5px;
  
  position: absolute;
  top: var(--t);
  right: -11px;
  padding: 0 10px var(--f) calc(10px + var(--r));
  font-size: 16px;
  font-weight: bold;
  color: black;
  text-align: center;
  text-transform: uppercase;
  clip-path: 
    polygon(0 0, 100% 0, 100% calc(100% - var(--f)), 
            calc(100% - var(--f)) 100%, 
            calc(100% - var(--f)) calc(100% - var(--f)), 
            0 calc(100% - var(--f)), 
            var(--r) calc(50% - var(--f)/2));
  box-shadow: 0 calc(-1 * var(--f)) 0 inset rgba(0,0,0,0.2);
}

.game-card-ribbon.wip {
  background: var(--pic-09);
}

.game-card-ribbon.released {
  background: var(--pic-11);
}

.game-card-ribbon.new {
  background: var(--pic-08);
}

.game-card-ribbon.alpha {
  background: var(--pic-09);
}

.game-card-ribbon.beta {
  background: var(--pic-10);
}

.game-card-ribbon.hiatus {
  background: var(--pic-06);
}

.game-card-ribbon.tinkering {
  background: var(--pic-14);
}

.game-card-ribbon.teachy {
  background: var(--pic-12);
}

.game-card-ribbon.abandoned {
  background: var(--pic-13);
}


/* ==========================================================================
   BLOG COMPONENTS
   ========================================================================== */

.blog-entry {
  background: var(--pic-01);
  border: 2px solid var(--pic-12);
  padding: 15px;
  margin: 15px 0;
  border-radius: 4px;
}

.blog-entry h3 {
  color: var(--pic-12);
  margin-top: 0;
}

.blog-date {
  color: var(--pic-14);
  font-size: 12px;
}

hr.divider {
  border: none;
  border-top: 2px dashed var(--pic-12);
  margin: 20px 0;
}


/* ==========================================================================
   FOOTER & BADGES
   ========================================================================== */

.footer {
  text-align: center;
  padding: 10px 20px;
  color: var(--pic-06);
  font-size: 12px;
  border-top: 2px solid var(--pic-12);
  margin-top: 20px;
}

.footer p {
  margin: 5px 0;
  text-align: center;
}

.badge-with-links {
  display: inline-flex;
  align-items: center;
  padding: 5px 6px 2px 8px;
  background: var(--pic-05);
  border: 2px solid var(--pic-06);
  border-radius: 5px;
  color: var(--pic-07);
  font-size: 12px;
  margin: 3px;
}

.badge-text {
  margin-right: 6px;
}

.badge-link {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: -3px;
  vertical-align: middle;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: transform 0.1s;
}

.badge-link:hover {
  transform: scale(1.15);
}

.badge-link img {
  width: 100%;
  height: 100%;
  display: block;
}

.counter {
  text-align: center;
  font-size: 10px;
  color: var(--pic-06);
  margin-top: 15px;
}

.counter img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  height: 18px;
  width: auto;
}

.counter a {
  display: inline-block;
}


/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Horizontal scrollbar between 901px and 1200px */
@media (min-width: 901px) and (max-width: 1200px) {
  body {
    overflow-x: auto;
  }
  .container {
    min-width: 1200px;
  }
}

@media (max-width: 900px) {
  body {
    overflow-x: auto;
  }
  .container {
    grid-template-columns: 1fr;
    min-width: auto;
  }
  .sidebar-column {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-left,
  .social-bar {
    flex: 1;
    min-width: 280px;
  }
}


/* ==========================================================================
   PICO-8 GAMES PAGE - EMBEDDED MODE (for reference, currently unused)
   ========================================================================== */

.pico8-gallery-embed {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.pico8-game-card-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 730px;
  background: var(--pic-01);
  border: 4px solid var(--pic-12);
  border-radius: 12px;
  padding: 30px 20px;
  overflow: hidden;
}

.pico8-game-card-embed h3 {
  color: var(--pic-12);
  margin: 0 0 10px 0;
  font-size: 20px;
  align-self: center;
}

.pico8-game-card-embed p {
  color: var(--pic-14);
  font-size: 18px;
  margin: 0 0 15px 0;
  text-align: justify;
  max-width: 680px;
  width: 100%;
}

.pico8-frame-wrapper-embed {
  display: inline-block;
  width: 680px;
  height: 610px;
  border: 5px solid var(--pic-00);
  background: var(--pic-05);
  border-radius: 10px 10px 40px 10px;
  overflow: hidden;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.pico8-frame-embed {
  width: 670px;
  height: 600px;
  aspect-ratio: 1;
  display: block;
  background: linear-gradient(to top left, var(--pic-05), var(--pic-22)) border-box;
  border: 5px solid transparent;
  border-radius: 5px 5px 35px 5px;
  overflow: hidden;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}


/* ==========================================================================
   PICO-8 GAMES PAGE - GRID GALLERY MODE
   ========================================================================== */

.pico8-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 210px);
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.pico8-game-card {
  background: var(--pic-01);
  border: 3px solid var(--pic-12);
  border-radius: 8px;
  padding: 20px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 210px;
  position: relative;
}

.pico8-card-ribbon {
  --f: 8px;
  --r: 12px;
  --t: 5px;
  
  position: absolute;
  top: var(--t);
  right: -11px;
  padding: 0 10px var(--f) calc(10px + var(--r));
  font-size: 16px;
  font-weight: bold;
  color: black;
  text-align: center;
  text-transform: uppercase;
  clip-path: 
    polygon(0 0, 100% 0, 100% calc(100% - var(--f)), 
            calc(100% - var(--f)) 100%, 
            calc(100% - var(--f)) calc(100% - var(--f)), 
            0 calc(100% - var(--f)), 
            var(--r) calc(50% - var(--f)/2));
  box-shadow: 0 calc(-1 * var(--f)) 0 inset rgba(0,0,0,0.2);
}

.pico8-card-ribbon.released {
  background: var(--pic-11);
}

.pico8-card-ribbon.new {
  background: var(--pic-08);
}

.pico8-card-ribbon.alpha {
  background: var(--pic-09);
}

.pico8-card-ribbon.beta {
  background: var(--pic-10);
}

.pico8-card-ribbon.hiatus {
  background: var(--pic-06);
}

.pico8-card-ribbon.tinkering {
  background: var(--pic-14);
}

.pico8-card-ribbon.teachy {
  background: var(--pic-12);
}

.pico8-card-ribbon.abandoned {
  background: var(--pic-13);
}

.pico8-card-header {
  flex: 0 0 auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pico8-card-header h3 {
  color: var(--pic-12);
  margin: 0;
  font-size: clamp(10px, 2.5vw, 16px);
  line-height: 1.2;
  text-align: center;
}

.pico8-card-image {
  flex: 0 0 205px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pico8-game-image {
  width: 160px;
  height: 205px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s, filter 0.2s;
}

.pico8-game-image:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.pico8-card-description {
  flex: 1 0 auto;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 4px;
}

.pico8-card-description p {
  font-size: clamp(10px, 1.8vw, 12px);
  color: var(--pic-06);
  margin: 4px 0 0 0;
  line-height: 1.4;
  text-align: left;
}

.pico8-game-card p.pico8-card-date {
  color: var(--pic-16) !important;
  font-size: 10px !important;
  text-align: center;
  margin: 4px 0;
}

.pico8-game-card {
  position: relative;
}

/* Responsive PICO-8 game cards on mobile */
@media (max-width: 900px) {
  .pico8-game-card {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
  .pico8-frame-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .pico8-frame {
    width: 100%;
    height: 100%;
  }
}


/* ==========================================================================
   PICOTRON GAMES PAGE - EMBEDDED MODE (for reference, currently unused)
   ========================================================================== */

.picotron-gallery-embed {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.picotron-game-card-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 600px;
  background: var(--pic-01);
  border: 4px solid var(--pic-12);
  border-radius: 12px;
  padding: 2% 0px 5% 0px;
  overflow: hidden;
}

.picotron-game-card-embed h3 {
  color: var(--pic-12);
  margin: 0 0 10px 0;
  font-size: 20px;
  align-self: center;
}

.picotron-game-card-embed p {
  color: var(--pic-14);
  font-size: 18px;
  text-align: justify;
  width: 95%;
}

.picotron-frame-wrapper-embed {
  display: flex;
  justify-content: left;
  padding-right: 0px;
  width: 95%;
  height: auto;
  aspect-ratio: 16/9;
  border: 5px solid var(--pic-00);
  border-radius: 10px 10px 40px 10px;
  overflow: hidden;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.picotron-frame-embed {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to top left, var(--pic-05), var(--pic-22)) border-box;
  border: 5px solid transparent;
  border-radius: 5px 5px 35px 5px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}


/* ==========================================================================
   PICOTRON GAMES PAGE - GRID GALLERY MODE
   ========================================================================== */

.picotron-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 550px);
  gap: 30px;
  margin-top: 20px;
  justify-content: center;
}

.picotron-game-card {
  background: var(--pic-01);
  border: 3px solid var(--pic-12);
  border-radius: 8px;
  padding: 25px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 550px;
  position: relative;
}

.picotron-card-header {
  flex: 0 0 auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.picotron-card-header h3 {
  color: var(--pic-12);
  margin: 0;
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.2;
  text-align: center;
}

.picotron-card-image {
  flex: 0 0 384px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.picotron-game-image {
  width: 512px;
  height: 384px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s, filter 0.2s;
}

.picotron-game-image:hover {
  transform: scale(1.03) translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.picotron-card-description {
  flex: 1 0 auto;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 4px;
}

.picotron-card-description p {
  font-size: clamp(11px, 1.8vw, 14px);
  color: var(--pic-06);
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.picotron-game-card p.picotron-card-date {
  color: var(--pic-16) !important;
  font-size: 11px !important;
  text-align: center;
  margin: 4px 0;
}

.picotron-card-ribbon {
  --f: 8px;
  --r: 12px;
  --t: 5px;
  
  position: absolute;
  top: var(--t);
  right: -11px;
  padding: 0 10px var(--f) calc(10px + var(--r));
  font-size: 16px;
  font-weight: bold;
  color: black;
  text-align: center;
  text-transform: uppercase;
  clip-path: 
    polygon(0 0, 100% 0, 100% calc(100% - var(--f)), 
            calc(100% - var(--f)) 100%, 
            calc(100% - var(--f)) calc(100% - var(--f)), 
            0 calc(100% - var(--f)), 
            var(--r) calc(50% - var(--f)/2));
  box-shadow: 0 calc(-1 * var(--f)) 0 inset rgba(0,0,0,0.2);
}

.picotron-card-ribbon.released {
  background: var(--pic-11);
}

.picotron-card-ribbon.new {
  background: var(--pic-08);
}

.picotron-card-ribbon.alpha {
  background: var(--pic-09);
}

.picotron-card-ribbon.beta {
  background: var(--pic-10);
}

.picotron-card-ribbon.hiatus {
  background: var(--pic-06);
}

.picotron-card-ribbon.tinkering {
  background: var(--pic-14);
}

.picotron-card-ribbon.teachy {
  background: var(--pic-12);
}

.picotron-card-ribbon.abandoned {
  background: var(--pic-13);
}
