.videos-page .site-shell { max-width: 1080px; }
nav { font: 12px 'Courier New', monospace; text-align: right; line-height: 1.7; }
nav a[aria-current] { color: #242424; font-weight: bold; }
.videos-page main { text-align: left; padding: 30px 28px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.label { font: 10px 'Courier New', monospace; letter-spacing: 1px; }
.videos-page h1 { font-size: clamp(32px, 6vw, 46px); letter-spacing: -2px; }
.videos-page .intro { margin: 14px 0 24px; font-size: 13px; }
.tiny-cat { width: 92px; height: 92px; object-fit: contain; transform: rotate(5deg); border: 1px solid #ccc; }
.video-tools { display: flex; gap: 16px; align-items: end; background: #efeee7; padding: 15px; border: 1px dashed #aaa; }
.video-tools label { display: block; margin-bottom: 7px; font: 11px 'Courier New', monospace; }
.search-field { flex: 1; min-width: 0; }
input, select { border: 1px solid #888; border-radius: 0; background: white; padding: 9px; font: 13px Arial, sans-serif; height: 36px; }
input { width: 100%; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px dashed #d52c24; outline-offset: 3px; }
.list-info { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font: 11px 'Courier New', monospace; gap: 10px; }
.list-info button { border: 0; background: none; padding: 5px; color: #0000cc; text-decoration: underline; cursor: pointer; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.video-card { min-width: 0; padding: 6px; background: #fff; border: 1px solid #bbb; box-shadow: 2px 2px 0 #e1e0d8; }
.thumbnail-button { position: relative; display: block; border: 0; padding: 0; width: 100%; aspect-ratio: 16 / 9; cursor: pointer; background: #e6e5dc; overflow: hidden; }
.thumbnail-button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 34px; text-shadow: 1px 2px 3px #000; background: #0001; }
.thumbnail-button:hover .play-icon { background: #0004; }
.duration { position: absolute; bottom: 5px; right: 5px; font: 10px 'Courier New', monospace; padding: 3px 5px; background: #111e; color: #fff; }
.video-card h2 { font: bold 13px/1.45 Arial, sans-serif; margin: 10px 4px 8px; overflow-wrap: anywhere; }
.video-title { color: #0000cc; text-align: left; font: inherit; border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; }
.video-meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 4px 6px; font: 10px/1.5 'Courier New', monospace; color: #666; }
.more-row { margin: 30px 0 15px; text-align: center; }
.updated-note { text-align: center; font: 10px/1.6 'Courier New', monospace; color: #75756c; }
.notice { padding: 12px; border: 1px dashed #aaa; background: #fff9c9; font-size: 13px; line-height: 1.6; }
dialog { width: min(880px, calc(100% - 28px)); max-height: calc(100svh - 40px); padding: 16px; border: 1px solid #777; background: #fffefa; box-shadow: 6px 6px 0 #0004; }
dialog::backdrop { background: #000b; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.dialog-heading h2 { font: bold 16px/1.4 'Courier New', monospace; margin: 0; overflow-wrap: anywhere; }
#close-player { flex-shrink: 0; font: 12px Arial, sans-serif; cursor: pointer; padding: 5px 8px; }
#player-container iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #111; }
.player-note { font-size: 12px; line-height: 1.6; margin: 14px 0 0; }
[hidden] { display: none !important; }
@media (max-width: 800px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .videos-page main { padding: 24px 16px; } .videos-page header { flex-wrap: wrap; gap: 12px; } .tiny-cat { width: 65px; height: 65px; } .page-heading { align-items: start; } .video-tools { flex-wrap: wrap; padding: 12px; gap: 12px; } .search-field { flex-basis: 100%; } .video-tools select { width: 100%; } .video-grid { grid-template-columns: 1fr; gap: 18px; } .dialog-heading { gap: 8px; } .dialog-heading h2 { font-size: 13px; } }
