.history-vault{color:#382b45;}
.history-cover{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:30px;background:#ece2c9;border:2px solid #382b45;box-shadow:5px 6px 0 #baa484;}
.history-cover h2{font:850 clamp(32px,5vw,52px)/1.1 Bitter,serif;margin:12px 0;}.history-cover p{line-height:1.6;}.history-cover .primary{margin-top:10px;min-width:230px;}
.vault-seal{border:double 7px #8c7454;outline:1px solid #8c7454;outline-offset:6px;width:185px;min-height:185px;flex:none;display:flex;flex-direction:column;justify-content:center;text-align:center;background:#efc157;color:#382b45;border-radius:50%;}
.vault-seal>span{font-size:10px;font-weight:800;letter-spacing:.12em;}.vault-seal strong{font:800 64px Bitter,serif;}.vault-seal small{font-size:20px;}
.history-small{font-size:13px;line-height:1.6;color:#67553f;}.history-modes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0;}.history-modes button{text-align:left;}.history-modes small{display:block;font-weight:400;margin-top:5px;}
.history-top{display:flex;justify-content:space-between;align-items:center;gap:10px;}.history-top .panel-kicker{text-align:center;}.history-play{max-width:900px;}
.vault-path{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0;}.vault-path span{display:grid;place-items:center;min-width:34px;height:34px;border:1px solid #b39b79;background:#ede4d2;font-size:13px;}.vault-path .current{outline:2px solid #382b45;outline-offset:2px;background:#efc157;}.vault-path .done{background:#526945;color:#fff9ec;}.vault-path .retry{background:#edd6ae;}
.history-clue{background:#fffaf0;border:2px solid #927953;padding:30px;box-shadow:5px 6px 0 #dfd0b7;}.history-clue h2{font:750 clamp(23px,3vw,32px)/1.4 Bitter,serif;margin:20px 0 26px;}.history-clue h3{font:750 25px/1.4 Bitter,serif;}.history-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;}.history-choices button{display:flex;align-items:center;gap:14px;min-height:72px;text-align:left;white-space:normal;line-height:1.4;}.history-choices button>span{border:1px solid #b39b79;display:grid;place-items:center;width:26px;height:26px;flex:none;font-size:11px;}
.history-feedback{margin:18px 0;padding:20px;border-left:5px solid #9f6834;background:#f3e5cc;}.history-feedback.correct{border-color:#526945;}.history-feedback h3{margin:8px 0 14px;}.history-feedback p{line-height:1.6;}.memory-clue{font-weight:650;color:#4c6048;line-height:1.5;border-top:1px solid #cbbb9c;padding-top:12px;}
.history-date-entry{display:flex;gap:14px;margin-top:10px;}.history-date-entry input{min-width:0;width:170px;background:#f9f0dc;border:2px solid #927953;border-radius:2px;padding:14px;font:750 24px Bitter,serif;color:#382b45;}.history-date-entry button{flex:1;}#history-date-form label{font-weight:700;}
.history-timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:24px;}.history-timeline div{border-top:3px solid #ac9676;background:#eee5d2;padding:10px 5px;text-align:center;}.history-timeline .current{background:#f5dea6;border-color:#382b45;}.history-timeline strong{font-size:13px;}.history-timeline span{display:block;font-size:11px;line-height:1.4;margin-top:8px;}
.history-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;margin:18px 0;}.history-mini{padding:18px;border:1px solid #b39b79;border-top:5px solid #b39b79;background:#fffaf0;text-align:left;}.history-mini.found{border-top-color:#d69b28;}.history-mini h3{font:750 20px/1.35 Bitter,serif;}.history-mini p{font-size:13px;line-height:1.6;}.history-mini .panel-kicker{font-size:10px;}
.history-result{text-align:center;}.history-result h2{font:800 clamp(26px,4vw,38px) Bitter,serif;}.history-score{font:800 68px Bitter,serif;color:#526945;margin:20px 0 5px;}.history-score small{font-size:28px;color:#67553f;}.history-result>.pill{display:inline-block;white-space:normal;}.history-vault a{color:#554166;}
@media(max-width:650px){.history-cover{padding:22px;}.vault-seal{display:none;}.history-cover .primary{width:100%;min-width:0;}.history-cover>div{width:100%;}.history-modes{gap:9px;}.history-modes button{font-size:13px;padding:14px 10px;}.history-top .panel-kicker{font-size:10px;}.history-top button{padding:10px;font-size:12px;}.history-clue{padding:18px;}.history-choices{grid-template-columns:1fr;gap:10px;}.history-choices button{min-height:56px;}.history-date-entry{gap:8px;}.history-date-entry input{width:120px;}.history-date-entry button{font-size:13px;padding:12px;}.history-timeline strong{font-size:10px;}.history-timeline span{font-size:10px;}.history-timeline{gap:3px;}}
.latin-word-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:16px 0;}.latin-word-list>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #cbbb9c;padding:12px 4px;}.latin-word-list strong{font-family:Bitter,serif;}.latin-word-list span{color:#67553f;}@media(max-width:500px){.latin-word-list{grid-template-columns:1fr;}}
@media(max-width:650px){.history-clue h2{font-size:21px;line-height:1.35;margin:12px 0 18px;}.vault-path{margin:18px 0;}.history-timeline{margin-bottom:18px;}}
