.case-notebook {
  min-width: 0;
  border: 1px solid rgba(226, 193, 125, .35);
  border-radius: 14px;
  background: rgba(17, 28, 39, .94);
  color: #e9f0f4;
  text-align: left;
}
.case-notebook summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.case-notebook summary::-webkit-details-marker { display: none; }
.case-notebook summary > i { color: #efd18c; }
.case-notebook summary > span { margin-left: auto; color: #efd18c; }
.case-notebook summary::after { content: "+"; color: #efd18c; }
.case-notebook[open] summary::after { content: "−"; }
.case-notebook-body { padding: 0 14px 14px; font-size: 13px; line-height: 1.6; }
.case-notebook-body ol, .case-notebook-body ul { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.case-notebook-body li { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 9px; background: rgba(255,255,255,.04); overflow-wrap: anywhere; }
.case-notebook-body li > i { margin-top: 4px; color: #efd18c; }
.case-notebook-body .is-locked { color: #aabac5; }
.case-notebook-question { color: #ffe0a3; margin: 0; }
.mystery-reveal-note { font-size: 13px; line-height: 1.6; color: #ffe0a3; }
.detective-coach {
  position: relative;
  z-index: 14;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #bea269;
  border-radius: 12px;
  background: #152736;
  color: #f4e6c3;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  font-size: 12px;
}
.detective-coach summary { cursor: pointer; display: flex; gap: 8px; padding: 10px; line-height: 1.4; list-style: none; }
.detective-coach summary::-webkit-details-marker { display: none; }
.detective-coach summary::after { content: "+"; margin-left: auto; }
.detective-coach details[open] summary::after { content: "−"; }
.detective-coach details > div { position: absolute; top: 100%; left: 0; right: 0; padding: 10px; max-height: 30dvh; overflow-y: auto; background: #152736; border: 1px solid #bea269; border-radius: 0 0 12px 12px; }
.detective-coach p { line-height: 1.5; margin: 0 0 8px; }
.detective-coach .btn { min-height: 44px; width: 100%; }
.case-notebook summary:focus-visible, .detective-coach summary:focus-visible { outline: 2px solid #ffe0a3; outline-offset: 2px; border-radius: 10px; }
