/* Journal des secrets : panneau latéral listant les secrets d'une destination, à côté de
   la scène où ils se jouent (voir js/components/journal.js).
   Couleur des intitulés : --page-accent-hi, définie par la page. */

.secrets-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 28px; align-items: start; }

.journal { background: var(--panel-solid); border: 1px solid var(--line); padding: 22px 22px 18px; }
.journal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.journal-head .panel-title { margin: 0; padding: 0; border: 0; }
.journal-count { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.journal-count b { font-size: 1.1rem; color: var(--gold-hi); }
.journal-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.secret { border-bottom: 1px solid var(--line); }
.secret:last-child { border-bottom: 0; }
.secret summary { display: grid; grid-template-columns: 38px minmax(0, 1fr) 14px; align-items: center; gap: 14px; padding: 11px 0; cursor: pointer; list-style: none; }
.secret summary::-webkit-details-marker { display: none; }
.secret summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.secret details[open] summary::after { transform: rotate(-135deg); }
.secret-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); background: #141a2e; transition: border-color .4s, background .4s; }
.secret-mark img { width: 24px; height: 24px; opacity: .3; filter: grayscale(1); transition: opacity .4s, filter .4s; }
.secret.found .secret-mark { border-color: var(--exotic); background: linear-gradient(135deg, #6b5a1c, #2a2410); }
.secret.found .secret-mark img { opacity: 1; filter: none; }
.secret-head { display: grid; }
.secret-kind { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.secret.found .secret-kind { color: var(--exotic); }
.secret-name { font-size: .98rem; font-weight: 700; line-height: 1.25; color: var(--pearl); }
.secret summary:hover .secret-name { color: #fff; }
.secret-more { padding: 0 0 16px 52px; }
.secret-official { margin: 0 0 8px; font-family: var(--font-lore); font-style: italic; font-size: 1.02rem; line-height: 1.3; color: #d9d2c1; }
.secret-hint, .secret-game { margin: 0 0 8px; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.secret-game { margin-bottom: 0; color: #c3cadf; }
.secret-more b { margin-right: 4px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--page-accent-hi, var(--gold-hi)); }
.secret-game b { color: var(--gold); }

.journal-reset { margin-top: 12px; padding: 6px 0; cursor: pointer; background: none; border: 0; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.journal-reset:hover { color: #fff; }

@media (max-width: 1020px) { .secrets-layout { grid-template-columns: minmax(0, 1fr); } }
