/* Desert Grognards - Chronicles page (Garage look). */
.chr{max-width:1180px;margin:0 auto;padding:26px 20px 40px;color:#1a1410}
.chr-head{position:relative;background:var(--old-paper,#e3d7bf);border:6px solid #111;padding:22px 26px 18px;transform:rotate(-.6deg);box-shadow:8px 10px 0 rgba(0,0,0,.45)}
.chr-head h1{margin:0;font:900 clamp(34px,6vw,64px)/1 Impact,"Arial Narrow Bold",sans-serif;letter-spacing:3px;color:var(--rust,#8b3a2b);text-shadow:3px 3px 0 #111}
.chr-head p{margin:8px 0 0;font-weight:700}
.chr-tape{position:absolute;width:110px;height:28px;background:#d8d4b8;opacity:.92;box-shadow:1px 2px 3px rgba(0,0,0,.35);border-left:2px dotted #a8a488;border-right:2px dotted #a8a488}
.chr-label{margin:30px 0 4px;color:#e3d7bf;font:900 13px system-ui,sans-serif;letter-spacing:3px;text-transform:uppercase}
.chr-label span{opacity:.6;letter-spacing:1px;text-transform:none;font-weight:700}
/* crew strip */
.chr-crewwrap{position:relative}
.chr-crew{display:flex;gap:14px;overflow-x:auto;padding:16px 46px 16px 4px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8b3a2b transparent}
.chr-crew::-webkit-scrollbar{height:8px}.chr-crew::-webkit-scrollbar-thumb{background:#8b3a2b;border-radius:4px}
.chr-host{all:unset;box-sizing:border-box;position:relative;flex:0 0 150px;background:#f1e8d4;padding:8px 8px 10px;box-shadow:3px 4px 0 rgba(0,0,0,.5);cursor:pointer;text-align:center;border:2px solid transparent;scroll-snap-align:start;transition:transform .12s}
.chr-host:nth-child(odd){transform:rotate(-2deg)}.chr-host:nth-child(even){transform:rotate(1.6deg)}
.chr-host:hover,.chr-host:focus-visible{transform:rotate(0) scale(1.05);border-color:#8b3a2b;outline:none}
.chr-host img,.chr-host .ph{display:block;width:100%;height:118px;object-fit:cover;border:1px solid #bba;background:#c9b99a}
.chr-host b{display:block;margin-top:6px;font:700 14px/1.2 "Comic Sans MS","Marker Felt",sans-serif}
.chr-host small{display:block;font:800 10px system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#8b3a2b}
.chr-host small.cast{color:#7a6a4f}
.chr-pin{position:absolute;top:-10px;left:50%;margin-left:-11px;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#f87171,#991b1b);box-shadow:1px 2px 2px rgba(0,0,0,.5);z-index:2}
.chr-divider{flex:0 0 auto;align-self:stretch;display:flex;align-items:center;padding:0 4px}
.chr-divider span{writing-mode:vertical-rl;transform:rotate(180deg);font:900 11px system-ui,sans-serif;letter-spacing:3px;text-transform:uppercase;color:#c9b99a;border-left:2px dashed #5a4d3e;padding-left:8px}
.chr-arrow{position:absolute;top:50%;margin-top:-22px;width:44px;height:44px;border-radius:50%;border:3px solid #e3d7bf;background:#1d1813;color:#e3d7bf;font:900 20px system-ui;cursor:pointer;z-index:5;box-shadow:2px 3px 0 #000}
.chr-arrow.l{left:-10px}.chr-arrow.r{right:-10px}
.chr-arrow[disabled]{opacity:.25;cursor:default}
/* filters */
.chr-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 22px}
.chr-chip{all:unset;cursor:pointer;padding:6px 14px;background:#d8d4b8;font:800 12px system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;box-shadow:2px 2px 0 #000}
.chr-chip:nth-child(3n){transform:rotate(-2deg)}.chr-chip:nth-child(3n+1){transform:rotate(1.5deg)}
.chr-chip[aria-pressed=true]{background:#8b3a2b;color:#fff}
.chr-chip:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.chr-chip .n{opacity:.6;margin-left:4px}
.chr-filters select{margin-left:auto;font:700 12px system-ui,sans-serif;padding:6px 8px;background:#1d1813;color:#e3d7bf;border:1px solid #5a4d3e;border-radius:4px}
/* feed */
.chr-feed{display:grid;gap:26px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.chr-post{position:relative;background:#e3d7bf;padding:12px 12px 14px;box-shadow:6px 8px 0 rgba(0,0,0,.45);transition:transform .15s;cursor:pointer}
.chr-post:nth-child(3n+1){transform:rotate(-1deg)}.chr-post:nth-child(3n+2){transform:rotate(.8deg)}
.chr-post:hover,.chr-post:focus-within{transform:rotate(0) translateY(-4px)}
.chr-post.big{grid-column:1/-1;display:grid;grid-template-columns:1.35fr 1fr;gap:18px;transform:rotate(-.4deg)}
.chr-cover{position:relative;height:200px;border:3px solid #111;overflow:hidden;background:#1d1813}
.chr-post.big .chr-cover{height:100%;min-height:300px}
.chr-video{grid-column:1/-1;display:grid;gap:26px}
.chr-video-item{width:100%;max-width:960px;justify-self:center;background:#e3d7bf;padding:12px 12px 14px;box-shadow:6px 8px 0 rgba(0,0,0,.45);transform:rotate(.3deg)}
.chr-video-item h3{margin:6px 0 10px;font:900 28px/1.1 Impact,"Arial Narrow Bold",sans-serif;letter-spacing:1px}
.chr-video-item h3 a{color:inherit;text-decoration:none}.chr-video-item h3 a:hover{text-decoration:underline}
.chr-video-frame{position:relative;aspect-ratio:16/9;border:3px solid #111;background:#1d1813}
.chr-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.chr-video-item p{margin:10px 0 0;font:600 14px system-ui,sans-serif;color:#2a2219}.chr-video-item p a{color:#8b3a2b;font-weight:800}
.chr-cover img{width:100%;height:100%;object-fit:cover;display:block}
.chr-kind{position:absolute;top:10px;left:10px;max-width:calc(100% - 120px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 10px;font:900 10px system-ui,sans-serif;letter-spacing:1.5px;text-transform:uppercase;background:#111;color:#e3d7bf;z-index:2}
.chr-post h3{margin:12px 0 4px;font:900 22px/1.1 Impact,"Arial Narrow Bold",sans-serif;letter-spacing:1px}
.chr-post.big h3{font-size:34px}
.chr-post h3 a{text-decoration:none;color:inherit}
.chr-post h3 a::after{content:"";position:absolute;inset:0}
.chr-meta{font:700 11px system-ui,sans-serif;color:#5a4d3e;text-transform:uppercase;letter-spacing:1px}
.chr-by{display:flex;gap:10px;align-items:center;margin:10px 0 6px;padding:8px;background:#f1e8d4;border-left:4px solid #8b3a2b}
.chr-by img,.chr-by .ph{flex:0 0 40px;width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #111;background:#c9b99a}
.chr-by q{font-style:italic;font-size:13px}
.chr-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chr-tags span{font:800 10px system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;padding:2px 8px;border:2px solid #111}
.chr-score{display:flex;justify-content:space-between;align-items:center;margin:8px 0;padding:8px 10px;background:#111;color:#e3d7bf;font:900 16px Impact,sans-serif;letter-spacing:1px}
.chr-score em{color:#fde68a;font-style:normal;font-size:22px}
.chr-empty{grid-column:1/-1;text-align:center;padding:40px;background:#e3d7bf;font-weight:700}
/* placeholder art */
.ph{display:grid;place-items:center;text-align:center;color:#e3d7bf;font:900 13px system-ui,sans-serif;letter-spacing:2px;text-transform:uppercase;padding:10px;
  background:repeating-linear-gradient(45deg,#2a231c 0 12px,#332a21 12px 24px)}
.chr-cover .ph{width:100%;height:100%;font:900 26px Impact,sans-serif}
/* reader and article overlay */
.chr-over{position:fixed;inset:0;z-index:95;background:#0d0a08;display:flex;flex-direction:column}
.chr-over[hidden]{display:none}
.chr-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;color:#e3d7bf;font:700 13px system-ui,sans-serif;background:#1d1813;border-bottom:3px solid #000}
.chr-bar b{font:900 16px Impact,sans-serif;letter-spacing:1px;text-transform:uppercase;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chr-btn{all:unset;cursor:pointer;padding:7px 12px;background:#e3d7bf;color:#111;font:900 12px system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;box-shadow:2px 2px 0 #000;white-space:nowrap}
.chr-btn:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.chr-btn[disabled]{opacity:.35;cursor:default}
.chr-btn.rust{background:#8b3a2b;color:#fff}
.chr-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto;touch-action:pan-y pinch-zoom}
.chr-page{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 10px 40px rgba(0,0,0,.6);background:#f1e8d4;cursor:zoom-in}
.chr-stage.zoom{align-items:flex-start;justify-content:flex-start}
.chr-stage.zoom .chr-page{max-width:none;max-height:none;width:160%;cursor:zoom-out}
.chr-stage .ph.page{background:repeating-linear-gradient(45deg,#2a231c 0 12px,#332a21 12px 24px);color:#e3d7bf;box-shadow:none;width:min(560px,90vw);max-width:none;max-height:none;aspect-ratio:2/3;flex:0 0 auto;font:900 28px Impact,sans-serif;border:4px solid #111}
.chr-stage.all{flex-direction:column;justify-content:flex-start;gap:16px}
.chr-stage.all .chr-page{max-height:none;width:min(900px,100%);cursor:default}
.chr-foot{display:flex;justify-content:center;gap:10px;padding:10px;background:#1d1813;border-top:3px solid #000}
.chr-art{max-width:760px;margin:0 auto;background:#e3d7bf;padding:26px;border:6px solid #111;box-shadow:8px 10px 0 rgba(0,0,0,.5)}
.chr-art h2{margin:0 0 6px;font:900 38px/1.05 Impact,sans-serif;letter-spacing:1px;color:#8b3a2b}
.chr-art p{font-size:16px;line-height:1.6}
.chr-art .chr-cover{height:auto;max-height:420px;margin:12px 0}
.chr-art .chr-cover .ph{height:260px}
.chr-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.chr-links a{text-decoration:none}
/* character card */
.chr-card{position:relative;width:100%;max-width:560px;margin:auto;background:#e3d7bf;border:6px solid #111;padding:20px;transform:rotate(-1deg);box-shadow:10px 12px 0 rgba(0,0,0,.5)}
.chr-card .row{display:grid;grid-template-columns:150px 1fr;gap:16px}
.chr-card .face{width:100%;max-width:150px;height:170px;box-sizing:border-box;object-fit:cover;border:3px solid #111}
.chr-card h2{margin:0;font:900 34px/1 Impact,sans-serif;letter-spacing:2px;color:#8b3a2b}
.chr-card .job{font:800 11px system-ui,sans-serif;letter-spacing:2px;text-transform:uppercase;margin:6px 0 10px}
.chr-card .hosts{margin-top:12px;padding:8px 10px;background:#f1e8d4;border-left:4px solid #8b3a2b;font-size:13px}
.chr-card ul{margin:6px 0 0;padding-left:18px}
.chr-card ul button{all:unset;cursor:pointer;text-decoration:underline}
.chr-card .x{position:absolute;top:8px;right:8px}
@media(max-width:720px){
  .chr-post.big{grid-template-columns:1fr}.chr-post.big .chr-cover{min-height:220px}
  .chr-filters select{margin-left:0}
  .chr-arrow{display:none}.chr-crew{padding-right:20px}
  .chr-card .row{grid-template-columns:1fr}
  .chr-art{padding:16px}
}
