/* Same brand and scene; readable, ordinary document scrolling for the archive. */
.history-site-header { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; width: min(1080px,100%); margin: 0 auto; padding: 28px 32px 20px; }
.history-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #f4fbff; }
.history-brand img { width: 45px; height: 54px; object-fit: contain; filter: drop-shadow(0 2px 6px #072252); }
.history-brand > span { text-align: center; text-shadow: 0 2px 6px #062357; }
.history-brand b { display: block; font-size: 23px; letter-spacing: .13em; white-space: nowrap; }
.history-brand small { display: block; font-size: 7px; letter-spacing: .26em; margin-top: 5px; }
.return-top { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; flex: none; text-decoration: none; font-size: 14px; color: #e3f6fc; text-shadow: 0 1px 5px #072252; text-underline-offset: 5px; }
.return-top:hover { text-decoration: underline; }
.history-main { flex: 1; width: min(1080px,100%); margin: 0 auto; padding: 20px 32px 64px; }
.history-sheet { padding: 34px 36px 24px; border-radius: 24px; border: 1px solid rgb(212 243 255 / .42); background: linear-gradient(140deg,rgb(7 34 77 / .96),rgb(4 26 68 / .96)); box-shadow: 0 18px 45px rgb(0 17 55 / .2),inset 0 1px 0 rgb(255 255 255 / .05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.history-eyebrow { color: #a3dfed; font-size: 12px; letter-spacing: .14em; }
.history-page-heading h1 { display: flex; align-items: center; gap: 12px; color: #f4fbff; font-size: 31px; font-weight: 600; letter-spacing: .07em; line-height: 1.4; margin: 10px 0; }
.history-page-heading h1 svg { width: 27px; height: 27px; color: #a3e3f2; flex: none; }
.history-page-heading p { font-size: 14px; color: #d7eaf7; line-height: 1.9; margin: 0; }
.history-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; align-items: center; margin: 26px 0 21px; padding-bottom: 18px; border-bottom: 1px solid rgb(210 239 255 / .22); }
.history-filter { display: flex; align-items: center; flex: 0 1 320px; min-width: 0; height: 44px; gap: 8px; border-radius: 25px; padding: 0 14px; background: #f4fbff; color: #244c67; }
.history-filter svg { width: 18px; height: 18px; flex: none; }
.history-filter input { width: 100%; min-width: 0; height: 100%; background: transparent; border: none; outline: none; font-size: 16px; color: #142c48; color-scheme: light; }
.history-filter input::placeholder { color: #527087; opacity: 1; }
.history-filter:focus-within { outline: 2px solid #a9f0fc; outline-offset: 3px; }
.history-tools-right { display: flex; align-items: center; gap: 20px; }
.history-count { color: #e3f6fc; font-size: 13px; }
.history-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.history-card { position: relative; border: 1px solid rgb(183 227 248 / .22); border-radius: 12px; background: rgb(176 223 247 / .045); min-width: 0; }
.history-card:hover { background: rgb(176 223 247 / .09); border-color: rgb(183 227 248 / .48); }
.history-card-link { display: flex; flex-direction: column; gap: 9px; align-items: center; text-decoration: none; padding: 22px 8px 16px; color: #f4fbff; }
.history-card-glyph { font-size: 39px; line-height: 1.4; }
.history-card-meta { font-size: 12px; color: #dbedf6; white-space: nowrap; }
.history-card-date { font-size: 10px; color: #b8d3e4; }
.history-remove { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 32px; height: 32px; background: transparent; border: 0; border-radius: 8px; font-size: 18px; color: #c1d9e7; z-index: 1; }
.history-remove:hover { color: #fff; background: rgb(171 224 248 / .14); }
.history-empty { padding: 48px 10px; text-align: center; color: #e0f1fa; line-height: 2; font-size: 15px; }
.history-empty a { display: inline-block; margin-top: 16px; color: #bbf2ff; text-underline-offset: 6px; }
.history-privacy { font-size: 12px; line-height: 1.9; color: #c0d7e7; margin: 27px 0 0; padding-top: 18px; border-top: 1px solid rgb(210 239 255 / .16); }
.history-save-note { font-size: 13px; line-height: 1.9; padding: 12px; color: #ffedc3; border: 1px solid rgb(255 224 158 / .3); }
.history-load-more { display: block; min-height: 44px; width: min(320px,100%); margin: 24px auto 0; padding: 10px 18px; background: rgb(143 219 242 / .11); border: 1px solid rgb(183 227 248 / .3); color: #e1f5ff; border-radius: 24px; font-size: 14px; }
.history-load-more:hover { background: rgb(143 219 242 / .2); }
@media(max-width:800px) { .history-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } .history-sheet { padding: 25px 24px; } }
@media(max-width:600px) {
 .history-site-header { padding: max(20px,env(safe-area-inset-top)) 20px 8px; gap: 12px; }
 .history-brand { gap: 8px; } .history-brand img { width: 34px; height: 41px; }
 .history-brand b { font-size: 17px; letter-spacing: .07em; } .history-brand small { font-size: 5px; }
 .return-top { font-size: 12px; gap: 5px; }
 .history-main { padding: 22px 16px 40px; }
 .history-sheet { padding: 24px 18px 20px; border-radius: 19px; }
 .history-page-heading h1 { font-size: 26px; } .history-page-heading p { font-size: 13px; }
 .history-toolbar { margin-top: 20px; gap: 12px; }
 .history-filter { flex-basis: 100%; } .history-tools-right { width: 100%; justify-content: space-between; }
 .history-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
 .history-card-link { padding: 24px 5px 13px; gap: 7px; }
 .history-card-glyph { font-size: 34px; } .history-card-meta { font-size: 10px; }
 .history-card-date { font-size: 9px; } .history-remove { width: 30px; height: 30px; }
 .history-privacy { font-size: 11px; }
}
@media(max-width:350px) {
 .history-site-header { padding-inline: 16px; gap: 8px; }
 .history-brand b { font-size: 15px; letter-spacing: .04em; }
 .history-brand img { width: 28px; height: 35px; }
 .return-top { font-size: 11px; }
 .history-sheet { padding-inline: 14px; }
 .history-grid { gap: 8px; } .history-card-glyph { font-size: 31px; }
}
