
  .saran-btn { position: relative; }
  .saran-badge {
    position: absolute; top: -6px; right: -6px;
    background: #FF6B35; color: white;
    font-size: 9px; font-weight: 900;
    width: 17px; height: 17px; border-radius: 50%;
    display: flex !important; align-items: center; justify-content: center;
    border: 2px solid white; box-shadow: 0 2px 6px rgba(255,107,53,0.5);
  }
  .saran-panel {
    position: fixed;
    bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
    width: min(560px, 100vw);
    max-height: 88vh;
    background: linear-gradient(180deg, #FFF9F0 0%, #FFFFFF 100%);
    border-radius: 24px 24px 0 0;
    z-index: 300;
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(.32,1.2,.56,1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.25), 0 -2px 12px rgba(0,0,0,0.1);
  }
  .saran-panel.open { transform: translateX(-50%) translateY(0); }
  .saran-panel::before {
    content: ""; display: block;
    width: 40px; height: 4px;
    background: #ddd; border-radius: 4px;
    margin: 10px auto 0; flex-shrink: 0;
  }
  .saran-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px 12px; border-bottom: 2px solid #FFF0E0; flex-shrink: 0;
  }
  .saran-panel-title { display: flex; align-items: center; gap: 12px; }
  .saran-title-icon { font-size: 32px; animation: saranBounce 2s ease-in-out infinite; }
  @keyframes saranBounce { 0%,100%{transform:translateY(0) rotate(-5deg)} 50%{transform:translateY(-5px) rotate(5deg)} }
  .saran-panel-title h2 {
    font-family: "Fredoka One", cursive; font-size: 20px;
    background: linear-gradient(135deg, #FF6B35, #FF85A1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
  }
  .saran-panel-title p { font-size: 11px; color: #999; margin-top: 2px; }
  .saran-close {
    background: #FFF0E8; border: none; color: #FF6B35;
    width: 32px; height: 32px; border-radius: 50%; font-size: 16px;
    cursor: pointer; font-weight: 700; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .saran-close:hover { background: #FF6B35; color: white; transform: rotate(90deg); }
  .saran-tabs {
    display: flex; padding: 0 20px; border-bottom: 2px solid #F5EDE0;
    flex-shrink: 0; background: white;
  }
  .saran-tab {
    flex: 1; padding: 10px 8px; background: none; border: none;
    border-bottom: 3px solid transparent; margin-bottom: -2px;
    font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 700;
    color: #aaa; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
  }
  .saran-tab.active { color: #FF6B35; border-bottom-color: #FF6B35; }
  .saran-tab:hover:not(.active) { color: #FF6B35; background: rgba(255,107,53,0.05); }
  .saran-count {
    background: #FF6B35; color: white; font-size: 9px; font-weight: 900;
    padding: 1px 6px; border-radius: 20px;
  }
  .saran-body {
    overflow-y: auto; flex: 1; padding: 16px 20px 24px;
    scrollbar-width: thin; scrollbar-color: #FFB38A transparent;
  }
  .saran-intro {
    background: linear-gradient(135deg, #FFF3E0, #FFE0CC);
    border: 1.5px solid #FFCCAA; border-radius: 14px; padding: 12px 14px;
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px;
  }
  .saran-intro-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
  .saran-intro p { font-size: 12px; color: #7A4010; line-height: 1.5; }
  .saran-form { display: flex; flex-direction: column; gap: 14px; }
  .saran-field { display: flex; flex-direction: column; gap: 5px; }
  .saran-label { font-size: 12px; font-weight: 800; color: #444; display: flex; align-items: center; gap: 5px; }
  .req { color: #FF6B35; }
  .saran-input, .saran-textarea {
    width: 100%; border: 2px solid #E8DDD5; border-radius: 12px;
    padding: 10px 14px; font-family: "Nunito", sans-serif; font-size: 13px;
    color: #333; background: white; outline: none; resize: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .saran-input:focus, .saran-textarea:focus {
    border-color: #FF6B35; box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
  }
  .saran-textarea { height: 100px; }
  .saran-field-hint { font-size: 10px; color: #aaa; }
  .saran-char-count { font-size: 10px; color: #aaa; text-align: right; }
  .star-rating { display: flex; gap: 6px; }
  .star-opt {
    font-size: 28px; cursor: pointer; color: #ddd;
    transition: all 0.15s; line-height: 1;
  }
  .star-opt.active { color: #FFB300; transform: scale(1.15); }
  .star-opt:hover { transform: scale(1.25); }
  .saran-chips { display: flex; flex-wrap: wrap; gap: 7px; }
  .chip {
    background: #F5EDE8; border: 1.5px solid #E8D5CC; border-radius: 20px;
    padding: 5px 12px; font-size: 11px; font-weight: 700; color: #888;
    cursor: pointer; transition: all 0.2s; user-select: none;
  }
  .chip.selected { background: #FF6B35; border-color: #FF6B35; color: white; }
  .chip:hover:not(.selected) { border-color: #FF6B35; color: #FF6B35; background: #FFF0EB; }
  .saran-error {
    background: #FFF0F0; border: 1.5px solid #FFCCCC; border-radius: 10px;
    padding: 10px 14px; font-size: 12px; color: #c62828;
  }
  .saran-submit {
    background: linear-gradient(135deg, #FF6B35, #FF4500); color: white; border: none;
    border-radius: 14px; padding: 13px; font-family: "Fredoka One", cursive; font-size: 16px;
    cursor: pointer; width: 100%; transition: all 0.25s;
    box-shadow: 0 4px 18px rgba(255,107,53,0.4);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .saran-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.5); }
  .saran-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
  .saran-success {
    text-align: center; padding: 24px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .saran-success .s-icon { font-size: 60px; animation: popIn 0.5s cubic-bezier(.32,1.5,.56,1); }
  @keyframes popIn { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
  .saran-success h3 {
    font-family: "Fredoka One", cursive; font-size: 22px;
    background: linear-gradient(135deg, #FF6B35, #FF85A1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  .saran-success p { font-size: 13px; color: #777; line-height: 1.5; }
  .saran-again {
    background: linear-gradient(135deg, #4ECDC4, #2FA89F); color: white; border: none;
    border-radius: 12px; padding: 10px 24px; font-family: "Fredoka One", cursive;
    font-size: 14px; cursor: pointer; margin-top: 4px; transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(78,205,196,0.4);
  }
  .saran-again:hover { transform: translateY(-2px); }
  .saran-list-meta {
    background: linear-gradient(135deg, #FFF3E0, #FFE0CC); border-radius: 14px;
    padding: 14px 16px; margin-bottom: 14px; display: none;
  }
  .saran-list-meta.show { display: block; }
  .meta-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
  .meta-stat {
    background: white; border-radius: 10px; padding: 8px 12px;
    text-align: center; flex: 1; min-width: 70px; box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  }
  .meta-stat-num {
    font-family: "Fredoka One", cursive; font-size: 22px;
    background: linear-gradient(135deg, #FF6B35, #FF85A1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block;
  }
  .meta-stat-lbl { font-size: 10px; color: #999; font-weight: 700; }
  .avg-stars { font-size: 14px; color: #FFB300; letter-spacing: 2px; }
  .saran-list { display: flex; flex-direction: column; gap: 12px; }
  .saran-empty { text-align: center; padding: 30px 16px; color: #aaa; font-size: 13px; }
  .saran-card {
    background: white; border-radius: 16px; padding: 14px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07); border-left: 4px solid #FF6B35;
    animation: slideUp 0.4s ease-out; position: relative;
  }
  @keyframes slideUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
  .saran-card.highlight { border-left-color: #FFB300; background: linear-gradient(135deg, #FFFBF0, white); }
  .card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; gap: 8px; }
  .card-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: "Fredoka One", cursive; font-size: 16px; color: white;
  }
  .card-info { flex: 1; min-width: 0; }
  .card-nama { font-size: 13px; font-weight: 800; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card-sekolah { font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card-stars { font-size: 13px; color: #FFB300; flex-shrink: 0; }
  .card-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
  .card-chip { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #FFF0EB; color: #FF6B35; border: 1px solid #FFD0BC; }
  .card-saran { font-size: 12px; color: #555; line-height: 1.6; }
  .card-time { font-size: 9px; color: #ccc; margin-top: 8px; text-align: right; }
  .card-new {
    position: absolute; top: 10px; right: 10px;
    background: #FF6B35; color: white; font-size: 8px; font-weight: 900;
    padding: 2px 6px; border-radius: 20px;
  }
  .export-btn {
    background: linear-gradient(135deg, #4ECDC4, #2FA89F); color: white;
    border: none; border-radius: 12px; padding: 8px 16px;
    font-family: "Fredoka One", cursive; font-size: 13px; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; gap: 6px;
    box-shadow: 0 3px 12px rgba(78,205,196,0.35); margin-bottom: 12px;
    width: 100%; justify-content: center;
  }
  .export-btn:hover { transform: translateY(-1px); }
  
/* ============================================================
   PANDUAN PENGGUNAAN PANEL (separate panel, slides up from bottom)
   ============================================================ */
.panduan-btn {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3) !important;
  border-color: #FFB300 !important;
  color: #BF6F00 !important;
}
.panduan-btn:hover {
  background: linear-gradient(135deg, #FFE082, #FFB300) !important;
  color: white !important;
  border-color: #E69500 !important;
}

.panduan-panel {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
  width: min(560px, 100vw);
  max-height: 88vh;
  background: linear-gradient(180deg, #FFFBF0 0%, #FFFFFF 100%);
  border-radius: 24px 24px 0 0;
  z-index: 300;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.32,1.2,.56,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.25), 0 -2px 12px rgba(0,0,0,0.1);
}
.panduan-panel.open { transform: translateX(-50%) translateY(0); }
.panduan-panel::before {
  content: ""; display: block;
  width: 40px; height: 4px;
  background: #ddd; border-radius: 4px;
  margin: 10px auto 0; flex-shrink: 0;
}
.panduan-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px 14px; border-bottom: 2px solid #FFF3D0; flex-shrink: 0;
}
.panduan-panel-title { display: flex; align-items: center; gap: 12px; }
.panduan-title-icon {
  font-size: 32px;
  animation: panduanBounce 2.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(255,179,0,0.4));
}
@keyframes panduanBounce {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-4px) rotate(3deg); }
}
.panduan-panel-title h2 {
  font-family: "Fredoka One", cursive; font-size: 20px;
  background: linear-gradient(135deg, #FF9800, #E65100);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}
.panduan-panel-title p { font-size: 11px; color: #999; margin-top: 3px; }
.panduan-body {
  overflow-y: auto; flex: 1; padding: 16px 20px 24px;
  scrollbar-width: thin; scrollbar-color: #FFD180 transparent;
}

/* ============================================================
   PANDUAN CONTENT (hero, role cards, steps)
   ============================================================ */
.panduan-hero {
  background: linear-gradient(135deg, #FFF3E0, #FFE0CC);
  border: 1.5px solid #FFCCAA;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.panduan-hero-icon {
  font-size: 36px; flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(255,107,53,0.3));
}
.panduan-hero h3 {
  font-family: "Fredoka One", cursive; font-size: 16px;
  background: linear-gradient(135deg, #FF6B35, #E65100);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.panduan-hero p { font-size: 12px; color: #7A4010; line-height: 1.55; }

.panduan-roles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 18px;
}
.role-card {
  background: white; border-radius: 14px; padding: 12px 8px;
  text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-top: 4px solid;
  transition: transform 0.2s;
}
.role-card:hover { transform: translateY(-2px); }
.role-cerdas { border-top-color: #4ECDC4; }
.role-hebat { border-top-color: #FFB300; }
.role-terampil { border-top-color: #FF6B35; }
.role-icon { font-size: 28px; margin-bottom: 4px; }
.role-name {
  font-family: "Fredoka One", cursive; font-size: 14px;
  color: #333; margin-bottom: 4px;
}
.role-cerdas .role-name { color: #2FA89F; }
.role-hebat .role-name { color: #E69500; }
.role-terampil .role-name { color: #FF6B35; }
.role-desc { font-size: 10px; color: #777; line-height: 1.4; }

.panduan-steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.panduan-steps > li {
  display: flex; gap: 12px;
  background: white; border-radius: 14px;
  padding: 14px; border-left: 4px solid #FF6B35;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  animation: stepSlide 0.5s ease-out backwards;
}
.panduan-steps > li:nth-child(1) { animation-delay: 0.05s; }
.panduan-steps > li:nth-child(2) { animation-delay: 0.10s; border-left-color: #FFB300; }
.panduan-steps > li:nth-child(3) { animation-delay: 0.15s; border-left-color: #4ECDC4; }
.panduan-steps > li:nth-child(4) { animation-delay: 0.20s; border-left-color: #FF85A1; }
.panduan-steps > li:nth-child(5) { animation-delay: 0.25s; border-left-color: #66BB6A; }
@keyframes stepSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #E65100);
  color: white; font-family: "Fredoka One", cursive;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(255,107,53,0.35);
}
.panduan-steps > li:nth-child(2) .step-num { background: linear-gradient(135deg, #FFB300, #E69500); box-shadow: 0 3px 10px rgba(255,179,0,0.35); }
.panduan-steps > li:nth-child(3) .step-num { background: linear-gradient(135deg, #4ECDC4, #2FA89F); box-shadow: 0 3px 10px rgba(78,205,196,0.35); }
.panduan-steps > li:nth-child(4) .step-num { background: linear-gradient(135deg, #FF85A1, #E91E63); box-shadow: 0 3px 10px rgba(233,30,99,0.3); }
.panduan-steps > li:nth-child(5) .step-num { background: linear-gradient(135deg, #66BB6A, #388E3C); box-shadow: 0 3px 10px rgba(102,187,106,0.35); }
.step-body { flex: 1; min-width: 0; }
.step-title {
  font-family: "Fredoka One", cursive; font-size: 14px;
  color: #333; margin-bottom: 6px; line-height: 1.3;
}
.step-body p { font-size: 12px; color: #555; line-height: 1.6; }
.step-list {
  margin-top: 8px; padding-left: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.step-list li {
  display: list-item; background: none; border: none; padding: 0;
  box-shadow: none; animation: none;
  font-size: 12px; color: #555; line-height: 1.5;
}
.step-list li::marker { color: #FF6B35; }
.step-list strong { color: #E65100; }

.panduan-tip {
  margin-top: 16px;
  background: linear-gradient(135deg, #FFFBF0, #FFF8E1);
  border: 1.5px solid #FFE082;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; gap: 10px;
  font-size: 12px; color: #6D4E00; line-height: 1.55;
}
.panduan-tip-icon { font-size: 22px; flex-shrink: 0; }
.panduan-tip strong { color: #E65100; }

@media (max-width: 460px) {
  .panduan-roles { grid-template-columns: 1fr; }
}
