/* ====== Design Tokens ====== */
:root {
    /* Dark default */
    --bg: #0d1117;
    --card: #161b22;
    --button: #2a3039;
    --text: #fff;
    --muted: #9ca3af;
    --accent: #0965ef;
    --border: #2a3039;
    --link: #ffffff;
}
/* Light mode overrides */
/* body.light-mode {
    --bg: #E0EBFE;
    --card: #ffffff;
    --button: #f1f1f1;
    --text: #0f172a;
    --muted: #677b97;
    --accent: #3ba9f3;
    --border: #f1f1f1;
    --link: #0091f3;
} */

@font-face {
    font-family: 'HACKED';
    src: url('HACKED.ttf') format('truetype');
}


/* ====== Base ====== */
* { 
    box-sizing: border-box; 
}

html, body { 
    height: 100%; 
    font-size: 62,5%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
    color: var(--text);
    font-family: monospace;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { 
    color: inherit;
    text-decoration: none; 
}

img { 
    max-width: 100%; 
    display: block; 
}

.read-blue {
    color: var(--accent);
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 24px; 
}

/* ====== Navbar ====== */
.site-nav {
    top: 0;
    z-index: 150;
    display: flex; 
    align-items: center; 
    background: var(--bg);
    padding: 12px 16px;
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin: 0 auto; 
}

.nav-btn {
    display: inline-flex; 
    align-items: center; 
    font-family: monospace;
    font-size: 20px;
    font-weight: 700;
    gap: 8px;
    padding: 12px 15px; 
    background: var(--button);
    border: 5px solid var(--border);
    border-radius: 30px; 
    background: var(--button); 
    color: var(--text);
}

.nav-btn.active {
    border-color: var(--accent);
    background: var(--button);
    color: var(--text);
    box-shadow: #0091f3 0px 2px 30px;
}

.nav-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--text);
    box-shadow: #0091f3 0px 2px 30px;
    transition: background .2s, transform .2s;
    transform: scale(1.05);
}

/* /more+ dropdown styles */
.more-dropdown {
    position: relative;
    display: inline-block;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.more-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: -4px;
    min-width: 180px;
    background: #161b22;
    border-radius: 40px;
    padding: 15px 5px 0px 15px;
    box-shadow: 0 6px 24px rgba(9,101,239,0.12);
    display: none;
    z-index: 50;
}

.more-menu.open { display: block; }
.more-menu .more-item {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    font-family: 'FiraCode', monospace;
    border-radius: 8px;
}

.more-menu .more-item:hover {
    background: #0965ef;
    color: #fff;
}

/* ====== Hamburger (mobile) ====== */
.hamburger {
    display: none; 
    position: relative; 
    width: 44px; 
    height: 44px;
    border: none; 
    background: var(--bg); 
    cursor: pointer;
}

.hamburger span {
    position: absolute; 
    left: 10px; 
    right: 10px; 
    height: 2px;
    background: var(--text); 
    transition: transform .2s, opacity .2s;
}

.hamburger span:nth-child(1){ 
    top:14px; 
}

.hamburger span:nth-child(2){ 
    top:21px; 
}

.hamburger span:nth-child(3){ 
    top:28px; 
}

.hamburger.open span:nth-child(1){ 
    transform: translateY(7px) rotate(45deg); 
}

.hamburger.open span:nth-child(2){ 
    opacity: 0; 
}

.hamburger.open span:nth-child(3){ 
    transform: translateY(-7px) rotate(-45deg); 
}

@media (max-width: 800px){
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 56px 12px auto 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
        border: 1px solid var(--border);
        background: var(--bg);
        border-radius: 40px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease, transform .15s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        margin-top: 30px;
    }


    /* index */
    #headline {
        font-size: 80px;
        margin-top: 90px;
    }

    section p {
        max-width: 650px;
    }

    /* story-lesen */
    #story-lesen-header {
        font-size: 60px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    #card-row {
        gap: 20px;
    }

    #folge-header {
        font-size: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
        font-weight: normal;
    }

    .folge-content {
        font-size: 15px;
        max-width: 550px;
    }
}

@media screen and (max-width: 800px) {    
    .welcome-episode-title p {
        font-size: 16px;
    }

}

@media screen and (max-width: 500px) {
  /* index */
    #headline {
        font-size: 40px;
        margin-top: 30px;
    }
    
    .index-text {
        margin-bottom: -30px;
    }

    section p {
        font-size: 16px;
        max-width: 280px;
    }

    #lesen {
        font-size: 20px;
    }
    /* story-lesen */
    #story-lesen-header {
        font-size: 25px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    #card-row {
        flex-direction: column; 
        gap: 30px; 
        align-items: center; 
        margin-top: 25px;
    }
    /* folge lesen */
    #folge-header {
        font-size: 10px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .folge-content {
        font-size: 15px;
        max-width: 350px;
        margin: auto;
    }
    .folge-content h2 {
        font-size: 20px;
    }

    /* whoami */
    #whoami-header {
        font-size: 55px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .content p {
        font-size: 17px;
        max-width: 280px;
    }

    /* faq */
    #faq-header {
        font-size: 55px;
        margin-top: 30px;
        margin-bottom: 30px;
        font-weight: normal;
    }
    #faq-item {
        font-size: 15px;
    }
    .faq-question h3 { 
        font-size: 20px;
        text-align: left;
    }
}

@media screen and (max-width: 320px) {
  
    /* folge lesen */
    #folge-header {
        font-size: 8px;
        margin-top: 30px;
        margin-bottom: 30px;
        font-weight: normal;
    }
    .folge-content {
        font-size: 15px;
        max-width: 290px;
        margin: auto;
    }
    .folge-content h2 {
        font-size: 20px;
    }
}

/* ====== Theme Switch ====== */
/* .mode-switch-container { 
    display: flex; 
    align-items: center; 
    margin-left: 8px; 
}

.theme-switch {
    width: 95px;
    height: 45px;
    padding: 2px;
    box-sizing: border-box;
    border-radius: 9999px; 
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #bfe9ff, #7dd3fc);
    display: inline-flex; 
    align-items: center; 
    cursor: pointer;
}

.theme-switch__knob {
    width: 35px;
    height: 35px;
    margin-left: 2px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd27a, #ffb84c);
    transition: transform .15s ease;
}

.theme-switch.dark .theme-switch__knob { 
    transform: translateX(50px);
    background: #f1f5f9;
    box-shadow: inset -4px -4px 0px rgba(0, 0, 0, .15); 
}

.theme-switch.dark { 
    background: var(--button); 
    border-color: var(--border);
} */

/* ====== Content helpers ====== */
.headline {
    font-size: 100px;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: normal;
    font-family: 'HACKED', monospace;
    background-image: url('background.png');
    background-size: 100%;
    background-repeat: repeat;
    background-position: center;
    
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

#news-headline {
    font-size: 75px;
    line-height: 1;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
    font-family: 'HACKED', monospace;
    background-image: url('background.png');
    background-size: 100%;
    background-repeat: repeat;
    background-position: center;
    
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.welcome-header {
    font-size: 100px;
    margin-top: 80px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: normal;
    font-family: 'HACKED', monospace;
    background-image: url('background.png');
    background-size: 100%;
    background-repeat: repeat;
    background-position: center;
    
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 0.1rem;
}

#folge-header {
    margin-top: 60px;
}

.folge-content p {
    max-width: 800px;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    margin: 10px auto 40px auto;
}

#folge-footer-space {
    margin-bottom: 80px;
}

.headerline {
    font-size: 80px;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    font-weight: normal;
    font-family: monospace;
    letter-spacing: 0.1rem;
}

p {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 1.2px;
    max-width: 700px;
    margin: 10px auto 70px auto;
    text-align: left;
    font-weight: 500;
    font-family: monospace;
}

.card-row {
    display: flex; 
    gap: 50px; 
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.card {
    background: var(--card);
    border-radius: 50px; 
    padding: 30px 35px;
    min-height: 335px;
    max-height: 380px;
    min-width: 300px;
    max-width: 350px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: monospace;
    font-size: 28px;
    color: var(--text);
    border: none;
}

.card-title {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 0.1rem;
    text-align: left;
}

.card-desc {
    font-size: 24px;
    margin-bottom: 30px;
    margin-top: 10px;
    white-space: pre-line;
}

.card-btn:hover {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 0 30px 0 var(--accent);
}

.soon-btn {
    font-family: monospace;
    font-size: 1.4rem;
    background: var(--bg);
    border: 5px solid var(--button);
    color: var(--text);
    padding: 15px 25px;
    border-radius: 22px;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    cursor: not-allowed;
    opacity: 0.8;
}

.read-free {
    display: inline-flex; 
    align-items: center; 
    position: relative;
    font-family: monospace;
    font-size: 25px;
    font-weight: 700;
    gap: 8px;
    padding: 20px 25px; 
    background: var(--bg);
    border: 5px solid var(--accent);
    border-radius: 35px; 
    color: var(--text);
    text-decoration: none; 
    margin: 0 auto 90px auto;
    box-shadow: #0965ef 0px 2px 30px;
}

.read-free:hover {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: #0965ef 0px 2px 30px;
    color: var(--text);
    transition: background .2s, transform .2s;
    transform: scale(1.05);
}

.read-time {
    color: var(--muted);
    font-size: 20px;  
    margin-bottom: 20px;
}

.read-now {
    display: inline-flex; 
    align-items: center; 
    position: relative;
    font-family: monospace;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 8px;
    padding: 20px 25px 24px 25px; 
    background: var(--bg);
    border: 5px solid var(--accent);
    border-radius: 35px;  
    color: var(--text);
    text-decoration: none; 
    margin: 0 auto 10px auto;
    box-shadow: #0965ef 0px 2px 30px;
}

.read-now:hover {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: #0965ef 0px 2px 30px;
    color: var(--text);
    transition: background .2s, transform .2s;
    transform: scale(1.05);
}

.folge-content h2 {
    font-size: 30px;
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: var(--bg);
    padding: 20px;
    border-radius: 35px;
}

.folge-content {
    background-color: #161b22;
    width: 800px;
    padding: 20px 20px 10px 20px;
    margin-top: 40px;
    border-radius: 40px;
}

.welcome-episode-title p {
    font-size: 20px;
}

/* faq */
#faq {
    text-align: center;
    padding: 2rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

#faq p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2.0rem;
    margin: 1.5rem auto;
    max-width: 60.0rem;
}

.faq-item {
    background-color: var(--card);
    padding: 1rem;
    border-radius: 2.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    position: relative;
    width: 100%;
}

.faq-item:hover {
    background-color: var(--card);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 400;
    margin-left: 2rem;
}

.arrow {
    font-size: 3rem;
    transition: transform 0.3s ease-in-out;
    margin-right: 1rem;
    color: var(--accent);
}

.arrow:hover {
    transform: scale(1.1);
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    background: linear-gradient(90deg, #005BEA, #00C6FB); /* Gradient von Blau zu Türkis */
    -webkit-background-clip: text; /* Clipped Background für den Text */
    -webkit-text-fill-color: transparent; /* Text wird transparent, um den Gradient zu zeigen */
    text-align: center; /* Zentriert den Slogan */
    background-size: 100%;
    border-radius: 20px;
    background-repeat: repeat;
    background-position: center;
}

.faq-answer {
    display: none;
    padding: 1rem;
    margin-top: 0.5rem;
    background-color: var(--bg);
    color: var(--text);
    border-radius: 1.6rem;
    text-align: left;
}

.faq-item.active .faq-answer {
    display: block;
}

/* folge */
h2 {
    font-size: 35px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    font-family: monospace;
    letter-spacing: 0.1rem;
}

/* === Folge Reader: Rail & Lesezeichen === */
:root { --rail-empty: #1e2130; }

.fol-reader-wrap {
  width: 800px;
  padding-bottom: 70px;
}

/* Rail-Abstand für den Content auf schmalen Viewports */
@media (max-width: 900px) {
  .fol-reader-wrap {
    align-self: stretch;
    width: auto;
    margin-left: 52px;
    margin-right: 10px;
  }
  .fol-reader-wrap .folge-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }
}



.fol-rail {
  position: fixed;
  left: 15px;
  top: 20px;
  bottom: 100px;
  width: 28px;
  z-index: 100;
}

.fol-seg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  border-radius: 50px;
  background: var(--rail-empty);
}

.fol-cursor {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 28px;
  border-radius: 50px;
  padding: 5px 15px;
  border: 5px solid var(--bg);
  background: #ffffff;
  z-index: 4;
  cursor: grab;
  touch-action: none;
}
.fol-cursor.dragging {
  cursor: grabbing;
  transform: translate(-50%, -50%) scaleX(1.1);
}

.fol-bm-marker {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f6c90e;
  border: 5px solid #141824;
  cursor: pointer;
  z-index: 2;
  animation: fol-bm-spawn 0.2s ease forwards, fol-bm-pulse-sm 2s ease-in-out infinite;
}

.fol-bm-marker.active {
  width: 40px;
  height: 60px;
  border-radius: 50px;
  border: 6px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fol-bm-spawn 0.2s ease forwards, fol-bm-pulse-lg 2s ease-in-out infinite;
}

/* @keyframes fol-bm-pulse-sm {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246,201,14,0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(246,201,14,0); }
} */
@keyframes fol-bm-pulse-lg {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246,201,14,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(246,201,14,0); }
}
/* @keyframes fol-bm-spawn {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
} */

.fol-bm-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 25px;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #1e2130;
}

.fol-bm-btn {
  background: transparent;
  border: 1px solid #2a2a3e;
  border-radius: 25px;
  color: #7a7a9a;
  font-family: monospace;
  font-size: 14px;
  padding: 10px 15px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.fol-bm-btn:disabled { opacity: 0.3; cursor: default; }

.fol-bm-set {
  border-color: #f6c90e;
  color: #f6c90e;
  background: rgba(246,201,14,0.07);
  border: 3px solid #f6c90e;
}
.fol-bm-set:hover:not(:disabled) { background: rgba(246,201,14,0.18); }

.fol-bm-del {
  border-color: #f06292;
  color: #f06292;
  background: rgba(240,98,146,0.07);
  border: 3px solid #f06292;
}
.fol-bm-del:hover:not(:disabled) { background: rgba(240,98,146,0.18); }

.fol-bm-nav {
  border-color: #2a2a3e;
  color: #7a7a9a;
  border: 3px solid #2a2a3e;
}
.fol-bm-nav:hover:not(:disabled) { border-color: #4fc3f7; color: #4fc3f7; background: rgba(79,195,247,0.06); }

.fol-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  border: 3px solid #f6c90e;
  color: #f6c90e;
  font-family: monospace;
  font-size: 16px;
  padding: 15px 18px;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9998;
  transition: opacity 0.25s;
}
.fol-toast.show { opacity: 1; }

@media (max-width: 900px) {
  .fol-bm-bar {
    gap: 6px;
    padding: 8px 10px 30px 10px;
  }

  .fol-bm-btn {
    font-size: 14px;
    padding: 15px 18px;
  }
}

/* Mobile: Rail verkleinern */
@media (max-width: 600px) {
  .fol-rail {
    left: 6px;
    width: 18px;
  }
  .fol-seg {
    width: 12px;
  }
  .fol-cursor {
    width: 25px;
    height: 20px;
    border-width: 3px;
  }
  .fol-bm-marker {
    width: 20px;
    height: 20px;
    border-width: 3px;
  }
  .fol-reader-wrap {
    margin-left: 32px;
  }
  .fol-bm-marker.active {
    width: 35px;
    height: 50px;
  }
}

@media (max-width: 450px) {
    
    .fol-bm-bar {
      gap: 6px;
      padding: 8px 10px 30px 10px;
    }
  
    .fol-bm-btn {
      font-size: 9px;
      padding: 10px 10px;
    }
}

/* Footer */
footer {
    text-align: center;
}

footer .container { 
    padding: 24px 24px; 
    color: var(--muted); 
}

footer .imprint {
    color: var(--muted);
}

footer .imprint:hover {
    color: var(--accent);
}

.fck-nzs:hover {
    cursor: pointer;
    color: #d33bb7;
}

.toc { 
    position: sticky; 
    top: 72px; 
}



/* .bh-endbox {
    font-family: sans-serif;
    text-align: center;
    padding: 40px 40px;
    margin: 20px auto 40px;
    max-width: 800px;
    background: var(--card);
    border-radius: 40px;
}

.bh-endbox h2 {
    font-size: 2rem;
    margin-top: -10px;
    margin-bottom: 30px;
    color: var(--text);
    font-weight: 700;
}

.bh-endbox-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 32px;
    text-align: center;
}

.bh-endbox-btn {
    display: inline-flex; 
    align-items: center; 
    position: relative;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 700;
    gap: 8px;
    padding: 20px 25px 24px 25px; 
    background: var(--accent);
    border: 5px solid var(--accent);
    border-radius: 35px;  
    color: var(--text);
    text-decoration: none; 
    margin: 0 auto 10px auto;
}

.bh-endbox-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: #0965ef 0px 2px 30px;
    color: var(--text);
    transition: background .2s, transform .2s;
    transform: scale(1.05);
}

.bh-endbox-hint {
    margin-top: 22px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
    text-align: center;
} */

/* ====== Game: Emergency Protokoll ====== */
:root {
  --ep-luke:   #2d8cf0;
  --ep-mia:    #f06292;
  --ep-ben:    #4caf97;
  --ep-zoe:    #f0c040;
  --ep-system: #9ca3af;
  --ep-easy:   #4caf97;
  --ep-medium: #f0c040;
  --ep-hard:   #f06292;
}

body.ep-game-page {
  height: 100vh;
  overflow: hidden;
  align-items: stretch;
}

body.ep-game-page footer {
  flex-shrink: 0;
}

/* Case Header Bar */
.ep-case-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  padding: 8px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
}

.ep-case-header-logo {
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

.ep-case-header-logo span { color: var(--accent); }

.ep-case-header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.ep-case-header-title .ep-case-badge {
  pointer-events: auto;
}

.ep-case-badge {
  font-family: monospace;
  font-size: 11px;
  color: var(--muted);
  background: var(--button);
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 3px 12px;
  letter-spacing: 1px;
}

.ep-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf97;
  box-shadow: 0 0 8px #4caf97;
  animation: ep-blink 2s infinite;
}

@keyframes ep-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.ep-game-wrapper {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
  width: 100%;
}

/* Sidebar */
.ep-sidebar {
  width: 260px;
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  flex-shrink: 0;
}

.ep-sidebar-block {
    background-color: #222c3a;
    border-radius: 20px;
    padding: 20px;
}

.ep-sidebar-block h3 {
  font-size: 11px;
  color: var(--text);
  letter-spacing: 3px;
  margin-bottom: 10px;
  margin-top: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  font-weight: 600;
}

.ep-case-title-big {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.ep-case-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.ep-team-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ep-team-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ep-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--button);
  transition: border-color .2s, box-shadow .2s;
}

.ep-avatar-circle.luke { border-color: var(--ep-luke); box-shadow: 0 0 10px rgba(45,140,240,.3); }
.ep-avatar-circle.mia  { border-color: var(--ep-mia);  box-shadow: 0 0 10px rgba(240,98,146,.3); }
.ep-avatar-circle.ben  { border-color: var(--ep-ben);  box-shadow: 0 0 10px rgba(76,175,151,.3); }
.ep-avatar-circle.zoe  { border-color: var(--ep-zoe);  box-shadow: 0 0 10px rgba(240,192,64,.3); }

.ep-avatar-name {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* Clue list */
.ep-clue-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
  transition: color .3s;
}

.ep-clue-item.found { color: var(--text); }

.ep-clue-check {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.ep-clue-item.found .ep-clue-check { color: #4caf97; }

/* Progress */
.ep-progress-track {
  background: var(--bg);
  height: 12px;
  border-radius: 30px;
  overflow: hidden;
  margin-top: 6px;
}

.ep-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #2d8cf0);
  border-radius: 30px;
  transition: width .6s ease;
  box-shadow: 0 0 8px rgba(9,101,239,.5);
}

.ep-progress-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

/* Chat */
.ep-chat-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.ep-msgs-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.ep-new-msg-btn {
  position: absolute;
  bottom: 14px;
  right: 18px;
  background: var(--button);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 20px;
  min-height: 44px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.ep-new-msg-btn.visible { 
    opacity: 1;
    pointer-events: auto;
}

.ep-new-msg-btn:hover {
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: background .2s, transform .2s;
    transform: scale(1.05);
}

.ep-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.ep-messages::-webkit-scrollbar { width: 4px; }
.ep-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 30px; }

/* Message bubbles */
.ep-msg-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  max-width: 80%;
  animation: ep-fadeUp .3s ease;
}

@keyframes ep-fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ep-msg-row.left   { align-self: flex-start; }
.ep-msg-row.right  { align-self: flex-end; }
.ep-msg-row.center { align-self: center; max-width: 90%; }

/* Chat bubble avatars */
.ep-msg-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 4px;
}
.ep-msg-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.ep-msg-avatar.luke    .ep-msg-avatar-circle { background: #2d8cf0; }
.ep-msg-avatar.mia     .ep-msg-avatar-circle { background: #f06292; }
.ep-msg-avatar.ben     .ep-msg-avatar-circle { background: #4caf97; }
.ep-msg-avatar.zoe     .ep-msg-avatar-circle { background: #f0c040; color: #1a1a2e; }
.ep-msg-avatar.sandra  .ep-msg-avatar-circle { background: #e8923a; }
.ep-msg-avatar-name {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  font-family: monospace;
  white-space: nowrap;
}

/* Hide old sender label (replaced by avatar) */
.ep-msg-sender { display: none; }

.ep-bubble {
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 14px;
  line-height: 1.65;
  font-family: monospace;
}

.ep-msg-row.luke   .ep-bubble { background: var(--card); border: 2px solid rgba(59, 140, 226, 0.8);  border-radius: 20px 20px 20px 20px; color: var(--text); }
.ep-msg-row.mia    .ep-bubble { background: var(--card); border: 2px solid rgba(240,98,146,.8);   border-radius: 20px 20px 20px 20px; color: var(--text); }
.ep-msg-row.ben    .ep-bubble { background: var(--card); border: 2px solid rgba(76,175,151,.8);   border-radius: 20px 20px 20px 20px; color: var(--text); }
.ep-msg-row.zoe    .ep-bubble { background: var(--card); border: 2px solid rgba(240,192,64,.8);   border-radius: 20px 20px 20px 20px; color: var(--text); }
.ep-msg-row.sandra .ep-bubble { background: var(--card); border: 2px solid rgba(232,146,58,.8);   border-radius: 20px 20px 20px 20px; color: var(--text); }

.ep-msg-row.player .ep-bubble {
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 20px 20px 20px 20px;
  color: #fff;
  box-shadow: 0 2px 20px rgba(9,101,239,.3);
}

.ep-msg-row.system-msg { align-self: center; max-width: 90%; }
.ep-msg-row.system-msg .ep-bubble {
  background: var(--button);
  border: 2px solid var(--border);
  border-radius: 30px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;
}

.ep-hl  { color: var(--accent); font-weight: 700; }
.ep-red { color: #f04848; }
.ep-grn { color: #4caf97; }

/* Typing indicator */
.ep-typing-row {
  align-self: flex-start;
  max-width: 75%;
}

.ep-typing-bubble {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 30px 30px 30px 30px;
  padding: 12px 15px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.ep-typing-bubble span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  animation: ep-bounce 1.3s infinite;
}

.ep-typing-bubble span:nth-child(2) { animation-delay: .15s; }
.ep-typing-bubble span:nth-child(3) { animation-delay: .30s; }

@keyframes ep-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

/* ── Reaction System ──────────────────────────────────────────────────────── */
.ep-msg-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.ep-msg-row.left  .ep-msg-bubble-wrap { align-items: flex-start; }
.ep-msg-row.right .ep-msg-bubble-wrap { align-items: flex-end; }

/* Picker floats above the bubble (order: -1 in flex) */
.ep-reaction-picker {
  order: -1;
  display: flex;
  gap: 3px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: 30px;
  width: fit-content;
  border: 1.5px solid transparent;
  background: var(--card);
  transition: max-height 0.2s ease, opacity 0.15s, padding 0.15s,
              border-color 0.15s, margin 0.15s, box-shadow 0.15s;
}
.ep-reaction-picker.open {
  max-height: 56px;
  opacity: 1;
  padding: 5px 10px;
  border-color: var(--border);
  margin-bottom: 5px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.22);
}
.ep-reaction-emoji-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 2px;
  border-radius: 6px;
  line-height: 1;
  transition: transform 0.1s;
}
.ep-reaction-emoji-btn:hover { transform: scale(1.3); }

/* Reaction row – holds badges + trigger */
.ep-reaction-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 0;
  margin-top: 2px;
}

.ep-reaction-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ep-reaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 20px;
  cursor: default;
  user-select: none;
}
.ep-reaction-badge.player-reacted { border-color: var(--accent); cursor: pointer; }
.ep-reaction-count { font-size: 13px; color: var(--muted); }
.ep-reaction-badge.pop { animation: rxPop 0.35s ease; }
@keyframes rxPop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.18); }
  100% { transform: scale(1); opacity: 1; }
}

/* Reactor tooltip */
.ep-reaction-tooltip {
  position: absolute;
  background: #1a1d2e;
  color: #e0e0e0;
  font-size: 11px;
  font-family: monospace;
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -100%);
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.1);
}
.ep-reaction-tooltip.visible { opacity: 1; }

/* Trigger – the "+" pill */
.ep-reaction-trigger {
  background: var(--button);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 20px;
  line-height: 1.4;
  cursor: pointer;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.ep-msg-bubble-wrap:hover .ep-reaction-trigger,
.ep-reaction-trigger:focus { opacity: 1; }
@media (hover: none) { .ep-reaction-trigger { opacity: 0.45; } }
.ep-reaction-trigger:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ep-typing-name {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

/* Choice area */
.ep-choice-area {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  flex-shrink: 0;
}

.ep-choice-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.ep-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ep-choice-btn {
  background: var(--button);
  border: 2px solid var(--border);
  border-radius: 30px;
  color: var(--text);
  font-family: monospace;
  font-size: 13px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-align: left;
}

.ep-choice-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 20px rgba(9,101,239,.4);
  transform: scale(1.03);
}

/* End screen */
.ep-end-card {
  background: var(--card);
  border-radius: 30px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(9,101,239,.2);
  padding: 24px 28px;
  text-align: center;
  margin: 10px 0;
  animation: ep-fadeUp .4s ease;
}

.ep-end-card h2 {
  font-size: 22px;
  font-family: monospace;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.ep-end-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 6px 0;
  max-width: 100%;
  text-align: center;
}

.ep-restart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  background: var(--bg);
  border: 3px solid var(--accent);
  border-radius: 30px;
  color: var(--text);
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 2px 20px rgba(9,101,239,.3);
  transition: background .2s, transform .2s;
}

.ep-restart-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 2px 30px rgba(9,101,239,.5);
}

/* Sidebar drawer toggle button – hidden on desktop, shown on mobile */
.ep-sidebar-toggle-btn {
  display: none;
  background: var(--button);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-family: monospace;
  font-size: 12px;
  padding: 12px 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* Backdrop for mobile drawer */
.ep-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 299;
}

@media (max-width: 767px) {
  .ep-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    z-index: 300;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .ep-sidebar.ep-sidebar-open {
    left: 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  }
  .ep-sidebar-backdrop.ep-sidebar-open {
    display: block;
  }
  .ep-sidebar-toggle-btn {
    display: block;
  }
  .ep-msg-row { max-width: 90%; }
  body.ep-game-page .site-nav { justify-content: center; }
  body.ep-game-page footer { display: none; }
}

@media (max-width: 400px) {
  .ep-btn-label { display: none; }
  .ep-case-header { padding: 8px 10px; gap: 8px; }
  .ep-case-header-logo { font-size: 13px; }
  .ep-messages { padding: 16px 12px; }
  .ep-choice-area { padding: 12px 12px; }
}

/* NERDIKON – glossary term links */
.nerdikon-term {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: pointer;
}
/* On blue player bubbles, switch to warm yellow — high contrast, color-blind safe */
.ep-msg-row.right .nerdikon-term {
  color: #FFD166;
  text-decoration-color: #FFD166;
}

/* NERDIKON popup overlay */
.nerdikon-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.55);
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 24px;
}
.nerdikon-overlay.open {
  display: flex;
}
.nerdikon-popup {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 30px;
  width: 100%;
  max-width: 640px;
  max-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ep-fadeUp 0.2s ease;
}
.nerdikon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nerdikon-title {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}
.nerdikon-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: color .15s;
}
.nerdikon-close:hover { color: var(--text); }
.nerdikon-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}
.nerdikon-def {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 18px;
}
.nerdikon-related-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: monospace;
}
.nerdikon-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nerdikon-pill {
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--text);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px;
  font-family: monospace;
  cursor: pointer;
  text-decoration: underline;
  transition: background .15s;
}
.nerdikon-pill:hover { background: var(--accent); color: #fff; }
.nerdikon-pill.inactive {
  border-color: var(--border);
  color: var(--muted);
  cursor: default;
}
.nerdikon-pill.inactive:hover { background: var(--button); color: var(--muted); }

.sib-form input[type="text"],
.sib-form input[type="email"],
.sib-form input[type="tel"],
.sib-form textarea {
  background-color: #05070a !important; /* passend zu deinem Darkmode */
  color: #f5f5f5 !important;
  border: 1px solid #444 !important;
  padding: 5px !important;
  padding-left: 15px !important;
  border-radius: 14px !important;
}

.sib-form input::placeholder,
.sib-form textarea::placeholder {
  color: #888888 !important;
}

/* ====== Case Hub: faelle.html ====== */
.ep-hub-wrap {
  width: 100%;
  max-width: 1100px;
  padding: 20px 24px 48px;
}

.ep-hub-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.ep-hub-system-bubble {
  background: var(--card);
  border-radius: 30px;
  padding: 15px 20px;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 1px;
  font-family: monospace;
  text-align: center;
  margin-bottom: 12px;
}

.ep-hub-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 600px;
}

.ep-hub-chat-line {
  display: flex;
  gap: 10px;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
}

.ep-hub-chat-line .ep-hub-who {
  font-weight: 700;
  flex-shrink: 0;
  width: 50px;
}

.ep-hub-chat-line.luke .ep-hub-who { color: var(--ep-luke); }
.ep-hub-chat-line.mia  .ep-hub-who { color: var(--ep-mia); }

/* Card grid */
.ep-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .ep-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ep-card-grid { grid-template-columns: 1fr; }
  .ep-hub-wrap  { padding: 16px 16px 40px; }
}

/* Card */
.ep-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 25px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}

.ep-card.playable {
  cursor: pointer;
}

.ep-card.playable:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 30px rgba(9,101,239,.2);
  transform: translateY(-3px);
}

.ep-card.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Card top row */
.ep-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-card-number {
  font-size: 11px;
  color: var(--muted);
  font-family: monospace;
  letter-spacing: 1px;
}

/* Status badges */
.ep-badge {
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 30px;
  border: 2px solid;
  letter-spacing: 1px;
}

.ep-badge.new {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(9,101,239,.1);
}

.ep-badge.played {
  color: var(--ep-easy);
  border-color: var(--ep-easy);
  background: rgba(76,175,151,.1);
}

.ep-badge.soon {
  color: var(--muted);
  border-color: var(--border);
  background: transparent;
}

/* Card content */
.ep-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  font-family: monospace;
  line-height: 1.3;
  margin: 0;
}

.ep-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Pills */
.ep-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ep-pill {
  font-size: 12px;
  font-family: monospace;
  padding: 3px 12px;
  border-radius: 30px;
  background: var(--button);
  color: var(--muted);
  border-left: 3px solid var(--border);
}

.ep-pill.accent { border-left-color: var(--accent); }
.ep-pill.green  { border-left-color: var(--ep-easy); }
.ep-pill.yellow { border-left-color: var(--ep-medium); }
.ep-pill.pink   { border-left-color: var(--ep-hard); }

/* Card footer row */
.ep-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.ep-difficulty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: monospace;
}

.ep-difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ep-difficulty-dot.easy   { background: var(--ep-easy); }
.ep-difficulty-dot.medium { background: var(--ep-medium); }
.ep-difficulty-dot.hard   { background: var(--ep-hard); }

.ep-card-time {
  font-size: 12px;
  color: var(--muted);
  font-family: monospace;
}

/* Back link on protokoll.html */
.ep-back-link {
  font-family: monospace;
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background-color: var(--button);
  border-radius: 30px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.ep-back-link:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* Tutorial Card (faelle.html banner) */
.ep-tutorial-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 3px solid var(--accent);
  border-radius: 25px;
  padding: 20px 28px;
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 20px rgba(9,101,239,.12);
  transition: box-shadow .2s, transform .2s;
}

.ep-tutorial-card:hover {
  box-shadow: 0 4px 40px rgba(9,101,239,.25);
  transform: translateY(-2px);
}

.ep-tutorial-card-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ep-tutorial-label {
  font-size: 11px;
  color: var(--text);
  font-family: monospace;
  letter-spacing: 2px;
  font-weight: 700;
}

.ep-tutorial-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  font-family: monospace;
}

.ep-tutorial-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 500px;
}

.ep-tutorial-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.ep-tutorial-avatars {
  display: flex;
  gap: 6px;
  font-size: 22px;
}

.ep-tutorial-cta {
  font-family: monospace;
  font-size: 13px;
  color: var(--text);
  padding: 15px 25px;
  background-color: var(--accent);
  border-radius: 25px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .ep-tutorial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .ep-tutorial-card-right { align-items: flex-start; }
}
