:root{--ink:#2b1a0e;--leather:#3a2414;--leather2:#24150b;--gold:#c9a24a;--gold2:#e8cf8a;--parch:#f3e7cc;--parch2:#e6d3a8;--rust:#8a3b1c}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);font:19px/1.6 "EB Garamond",Georgia,serif;
 background:radial-gradient(ellipse at top,#fbf3df,var(--parch) 60%,var(--parch2));min-height:100vh}
a{color:var(--rust)} a.xref{text-decoration:none;border-bottom:1px dotted var(--rust)} a.xref:hover{color:#5a1f08}
.masthead{background:linear-gradient(var(--leather),var(--leather2));color:var(--gold2);text-align:center;
 padding:26px 10px 0;border-bottom:4px double var(--gold);box-shadow:0 4px 18px #0006}
.brand{font:2.6rem "Rye",serif;color:var(--gold);text-decoration:none;text-shadow:0 2px 0 #000}
.tagline{font-style:italic;color:var(--parch2);opacity:.85}
nav{margin-top:14px;padding:10px;border-top:1px solid #c9a24a55}
nav a{color:var(--gold2);text-decoration:none;margin:0 18px;font:600 .95rem "Playfair Display";letter-spacing:.15em;text-transform:uppercase}
nav a:hover{color:#fff}
main{max-width:1100px;margin:34px auto;padding:34px 44px;background:#fbf4e2cc;border:1px solid var(--parch2);
 box-shadow:0 0 0 6px #fbf4e2,0 0 0 7px var(--gold),0 10px 40px #5a3a1a33}
h1{font:600 2.6rem "Playfair Display",serif;margin:.1em 0 0;color:var(--leather)}
h1 .yr,.yr{color:#8b6a35;font-weight:400}
h2{font:600 1.45rem "Playfair Display";color:var(--leather);border-bottom:1px solid var(--gold);padding-bottom:4px;margin-top:1.6em}
h2 small{font:italic .9rem "EB Garamond";color:#8b6a35}
.rule{color:var(--gold);letter-spacing:.6em;margin:4px 0 18px}
.lede{font-size:1.15rem}.lede::first-letter{font:3.2rem/0.9 "Rye";float:left;margin:6px 8px 0 0;color:var(--rust)}
.crumbs{font-size:.9rem;color:#8b6a35;margin-bottom:8px}
.sources{font-size:.85rem;word-break:break-all}
.infobox{float:right;width:320px;margin:0 0 20px 32px;padding:14px;color:var(--parch);
 background:linear-gradient(160deg,#6b4423,#3d2412 70%,#2a180b);border:2px solid var(--gold);
 box-shadow:inset 0 0 0 4px #3d2412,inset 0 0 0 5px var(--gold2),0 8px 24px #3a241466;border-radius:3px}
.ib-title{font:1.35rem "Rye";color:var(--gold2);text-align:center;margin-bottom:10px}
.frame{margin:0;padding:10px;background:linear-gradient(135deg,#b8893a,#7a5420,#d9b25c,#7a5420);border-radius:2px;box-shadow:0 4px 10px #0008}
.frame img{display:block;width:100%;filter:sepia(.35) saturate(1.1) contrast(1.05);border:1px solid #2a180b}
.frame figcaption{font-size:.72rem;text-align:center;margin-top:6px}.frame figcaption a{color:#2a180b}
.ph{aspect-ratio:2/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
 background:radial-gradient(circle,#8a6230,#4a2e14);color:var(--gold2);font:italic 1.1rem "Playfair Display";text-align:center;border:1px solid #2a180b}
.ph .star{font-size:2.6rem;color:var(--gold)}
.infobox table{width:100%;margin-top:12px;border-collapse:collapse;font-size:.95rem}
.infobox th{text-align:left;vertical-align:top;color:var(--gold);font:600 .78rem "Playfair Display";letter-spacing:.1em;text-transform:uppercase;padding:6px 8px 6px 0;width:38%}
.infobox td{padding:6px 0;border-top:1px solid #c9a24a33}.infobox th{border-top:1px solid #c9a24a33}
.infobox a{color:var(--gold2)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:22px}
.card{text-decoration:none;color:var(--ink);text-align:center;transition:transform .2s}.card:hover{transform:translateY(-4px)}
.thumb{padding:7px;background:linear-gradient(135deg,#b8893a,#7a5420,#d9b25c);box-shadow:0 4px 12px #3a241455}
.thumb img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;filter:sepia(.35)}
.cap{font:600 1rem "Playfair Display";margin-top:8px}.cap .yr{display:block;font:italic .9rem "EB Garamond"}
.hero{text-align:center}.hero p{font-style:italic;font-size:1.2rem}
footer{text-align:center;color:#8b6a35;font-size:.85rem;padding:20px}
@media(max-width:760px){.infobox{float:none;width:auto;margin:0 0 20px}main{padding:20px}}
.entry{display:flow-root}
.missing{color:#8b6a35;border-bottom:1px dashed #8b6a35;font-style:italic;cursor:help}.infobox .missing{color:#d9b98a}
.body{font-size:1.08rem}.body>p:first-child::first-letter{font:3.2rem/0.9 "Rye";float:left;margin:6px 8px 0 0;color:var(--rust)}
.body h3{font:600 1.15rem "Playfair Display";color:var(--rust);margin-bottom:.2em}
blockquote{margin:1.2em 0;padding:.6em 1.2em;border-left:4px solid var(--gold);background:#efe0bd88;font-style:italic}
blockquote p{margin:.3em 0}
/* headings stop beside the infobox instead of running underneath it */
.entry h2,.entry h3{overflow:hidden}
.missing{color:#7a5a2c;border-bottom-color:#a8844c}
.count{font-style:italic;color:#8b6a35;margin-top:-8px}
.jump{position:sticky;top:0;z-index:2;background:#fbf4e2;padding:10px 0;border-bottom:1px solid var(--gold);margin-bottom:10px;text-align:center}
.jump a{font:600 .9rem "Playfair Display";color:var(--rust);text-decoration:none;margin:0 8px}
.columns{columns:3 260px;column-gap:36px;padding:0;list-style:none;margin:0}
.columns li{break-inside:avoid;padding:3px 0;border-bottom:1px dotted #d9c49a;display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.columns li a{color:var(--ink);text-decoration:none;font-weight:600}.columns li a:hover{color:var(--rust)}
.columns .meta{font-size:.82rem;color:#8b6a35;font-style:italic;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}
.columns .pic{color:var(--gold);font-size:.75rem}
.group h2{scroll-margin-top:60px}
.more{text-align:right;font-style:italic}
/* film list v2: title on one line, year and director underneath */
.columns li{display:block;padding:6px 0}
.columns .meta{display:block;text-align:left;max-width:100%;white-space:nowrap}
.columns .pic{margin-left:4px}
.group h2,.jump a{font-variant:normal;text-transform:none}
.infobox .sub{margin-bottom:2px}.infobox .sub b{color:var(--gold2);font-weight:600}
.infobox small{opacity:.75}
.capt{display:block;font-style:italic;font-size:.85rem;margin-bottom:2px}
.note{font-style:italic;color:#8b6a35;font-size:.92rem;margin-top:-4px}
.filmo{columns:2 260px;column-gap:36px;list-style:none;padding:0}
.filmo li{break-inside:avoid;padding:3px 0;border-bottom:1px dotted #d9c49a}
.filmo .fy{display:inline-block;width:3.2em;color:#8b6a35;font-style:italic;font-size:.9rem}
.filmo .unpub{color:#6b5638}
.body h3 small,.entry h3 small{font:italic .85rem "EB Garamond";color:#8b6a35}
.sources li{margin:3px 0}.sources .site{font-size:.78rem;color:#8b6a35;font-style:italic;margin-left:6px}
.sources{word-break:normal;font-size:.95rem}
.topics{margin:4px 0 16px;padding:10px 14px;background:#efe0bd88;border-left:4px solid var(--gold)}
.topics span{font-style:italic;color:#8b6a35;margin-right:6px}.topics a{font:600 1rem "Playfair Display";color:var(--rust);margin-right:14px}
.sources{font-size:1rem}.sources .site{font-size:.85rem}
/* ---- lightbox ---- */
.zoomable{cursor:zoom-in}
.lb{position:fixed;inset:0;z-index:100;display:none;background:radial-gradient(ellipse at center,rgba(42,24,11,.92),rgba(12,7,3,.97))}
.lb.open{display:block;animation:lbfade .25s ease}
@keyframes lbfade{from{opacity:0}to{opacity:1}}
.lb-stage{position:absolute;inset:40px 40px 120px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.lb-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;touch-action:none;user-select:none;
 border:8px solid transparent;border-image:linear-gradient(135deg,#d9b25c,#7a5420,#e8cf8a,#7a5420) 1;box-shadow:0 0 0 1px #2a180b,0 20px 60px #000c;filter:sepia(.15);transition:transform .08s linear;background:#2a180b}
.lb-bar{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);display:flex;gap:10px}
.lb-bar button{width:44px;height:44px;border-radius:50%;border:1px solid var(--gold);background:#3a2414;color:var(--gold2);font:1.3rem "Playfair Display";cursor:pointer;box-shadow:0 4px 12px #0008}
.lb-bar button:hover{background:#5a3a1e;color:#fff}
.lb-cap{position:absolute;left:0;right:0;bottom:78px;text-align:center;color:var(--gold2);font:italic 1rem "Playfair Display";pointer-events:none}
/* ---- films list / poster toggle ---- */
.view-grid{display:none}
body.show-grid .view-grid{display:grid}
body.show-grid .view-list{display:none}
.posters{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:18px;margin-top:8px}
.posters .cap{font-size:.88rem;line-height:1.25}
.view-toggle{display:inline-flex;margin-left:18px;vertical-align:middle;border:1px solid var(--gold);border-radius:3px;overflow:hidden}
.view-toggle button{border:0;background:transparent;color:var(--rust);font:600 .82rem "Playfair Display";padding:4px 10px;cursor:pointer}
.view-toggle button.on{background:var(--leather);color:var(--gold2)}
.thumb .ph{aspect-ratio:2/3}
/* ---- people drop-down in the menu ---- */
.dd{position:relative;display:inline-block}
.dd-menu{display:none;position:absolute;left:50%;transform:translateX(-50%);top:100%;z-index:5;min-width:190px;padding:8px 0;
 background:var(--leather2);border:1px solid var(--gold);box-shadow:0 8px 20px #0009;text-align:left}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{display:block}
.dd-menu a{display:block;margin:0;padding:6px 16px;font-size:.8rem}
.dd-menu a:hover{background:#3a2414}
/* ---- credits ---- */
.credit{display:block;font-size:.72rem;opacity:.85}.credit a{color:inherit}
.frame figcaption .credit{color:#2a180b}
/* ---- lightbox gallery ---- */
.lb-cap small{display:block;font:.8rem "EB Garamond";color:#c9b48a;margin-top:2px}
.lb-nav{display:none;position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;
 border:1px solid var(--gold);background:#3a2414cc;color:var(--gold2);font:2rem/1 "Playfair Display";cursor:pointer}
.lb.multi .lb-nav{display:block}.lb-prev{left:22px}.lb-next{right:22px}.lb-nav:hover{background:#5a3a1e}
.lb-stage{inset:40px 90px 130px}
/* ---- gallery ---- */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:22px;clear:both}
.gal{margin:0;padding:8px;background:linear-gradient(135deg,#b8893a,#7a5420,#d9b25c,#7a5420);box-shadow:0 4px 12px #3a241455}
.gal img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;filter:sepia(.25);border:1px solid #2a180b}
.gal figcaption{background:#fbf4e2;margin:6px -8px -8px;padding:6px 8px;font-size:.85rem;text-align:center}
.gal .capt{font-style:italic}.gal .credit{color:#8b6a35}
/* ---- cast ---- */
.cast-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:20px 10px;margin:6px 0 10px}
.cast-card{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--ink)}
a.cast-card:hover .cast-photo{transform:translateY(-3px)}
.cast-photo{width:92px;height:92px;border-radius:50%;padding:5px;background:linear-gradient(135deg,#d9b25c,#7a5420,#e8cf8a,#7a5420);
 box-shadow:0 4px 12px #3a241466;transition:transform .2s}
.cast-photo img,.silhouette{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:top;border:2px solid #2a180b;filter:sepia(.3)}
.silhouette{background:#4a2e14 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23c9a24a' opacity='.55'%3E%3Cellipse cx='50' cy='30' rx='34' ry='7'/%3E%3Cpath d='M36 30 Q38 12 50 12 Q62 12 64 30Z'/%3E%3Ccircle cx='50' cy='42' r='13'/%3E%3Cpath d='M22 100 Q24 62 50 60 Q76 62 78 100Z'/%3E%3C/g%3E%3C/svg%3E") center/cover}
.cast-name{font:600 .95rem "Playfair Display";margin-top:8px;line-height:1.2}
a.cast-card .cast-name{color:var(--rust)}
.role{font-style:italic;font-size:.85rem;color:#8b6a35;line-height:1.2}
.more-cast summary{cursor:pointer;display:inline-block;list-style:none;margin:4px 0 8px;padding:6px 16px;border:1px solid var(--gold);
 border-radius:20px;font:600 .9rem "Playfair Display";color:var(--rust);background:#fbf4e2}
.more-cast summary::-webkit-details-marker{display:none}
.more-cast summary::before{content:"▸ "}.more-cast[open] summary::before{content:"▾ "}
.more-cast[open] summary{font-size:0}.more-cast[open] summary::after{content:"Show less";font-size:.9rem}
.more-cast[open] summary::before{font-size:.9rem}
.depicts{display:block;font-size:.78rem;font-style:italic;margin-top:2px}
.lb-links{position:absolute;left:0;right:0;top:12px;text-align:center;z-index:2}
.lb-links a{display:inline-block;margin:0 5px;padding:6px 14px;border-radius:18px;border:1px solid var(--gold);
 background:linear-gradient(#e8cf8a,#b8893a);color:#2a180b;font:600 .82rem "Playfair Display";text-decoration:none;box-shadow:0 3px 10px #0008}
.lb-links a:hover{background:linear-gradient(#f3e0a8,#c9a24a)}
.lb-stage{top:62px}
/* ---- genre filter bar ---- */
.genre-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:4px 0 14px}
.genre-bar .label{font:italic .95rem "EB Garamond";color:#8b6a35;margin-right:2px}
.pill{display:inline-block;padding:5px 14px;border-radius:20px;border:1px solid var(--gold);background:#fbf4e2;
 color:var(--rust);font:600 .88rem "Playfair Display";text-decoration:none;transition:all .15s}
.pill small{font:italic .82rem "EB Garamond";opacity:.8;margin-left:2px}
.pill:hover{background:#f3e3bb}
.pill.on{background:linear-gradient(#e8cf8a,#b8893a);color:#2a180b;border-color:#8a6420;box-shadow:0 2px 8px #7a542055}
.abouts{margin-left:auto}.about{display:none;font-style:italic;color:var(--rust);font-size:.95rem}
.lb-cap{pointer-events:auto}.lb-cap a{color:var(--gold2)}
.pill.empty{opacity:.45;border-style:dashed}
.frame figcaption{color:#2a180b}.frame .capt{font-style:italic;font-size:.82rem}
.frame figcaption a,.frame .depicts a{color:#3a1a08;border-bottom-color:#3a1a08}
/* ---- IMDb ---- */
.infobox .star{color:#f0c040}.infobox a.imdb{color:var(--parch);text-decoration:none;border:0}
.votes{display:block;font-size:.8rem;opacity:.75}
.note-row{padding-top:4px!important}.imdb-note{font-size:.72rem;line-height:1.35;opacity:.7;font-style:italic}
.imdb-note a{color:inherit}
/* ---- content advice ---- */
.advice{margin:6px 0 22px;padding:14px 18px 12px;background:#f6ecd3;border:1px solid #b9855a;border-left:5px solid #a4552e;
 border-radius:3px;box-shadow:0 2px 8px #7a542022;font-size:.95rem;overflow:hidden}
.advice-title{font:600 1rem "Playfair Display";color:#8a3b1c;letter-spacing:.04em;margin-bottom:6px}
.advice ul{list-style:none;margin:0;padding:0}
.advice li{display:flex;align-items:center;gap:10px;padding:4px 0;border-bottom:1px dotted #d9c49a;flex-wrap:wrap}
.advice .cat{min-width:190px;font-weight:600;color:var(--leather)}
.badge{display:inline-block;padding:2px 11px;border-radius:12px;font:600 .8rem "Playfair Display";border:1px solid}
.lv-none{background:#efe6cf;color:#5b4a2c;border-color:#c9b48a}
.lv-mild{background:#f3e3b5;color:#6a4b10;border-color:#c9a24a}
.lv-moderate{background:#e9a35c;color:#3a1a00;border-color:#b0661f}
.lv-strong{background:#a8322a;color:#fff6ea;border-color:#7a1e18}
.lv-unknown{background:transparent;color:#6b5638;border:1px dashed #a08a62;font-style:italic}
.advice .hint{font-size:.85rem;color:#8b6a35;font-style:italic}
.advice-notes{margin:8px 0 4px;font-style:italic}
.certs{font-size:.88rem;margin-top:4px}.cert{display:inline-block;margin-right:12px}
.advice-src{font-size:.8rem;color:#8b6a35;margin-top:4px}.advice-src a{color:var(--rust)}
.advice-notes{margin:6px 0;font-size:.9rem;line-height:1.45}
/* ---- review scores ---- */
.infobox a.score{color:var(--parch);text-decoration:none;border:0;display:inline-flex;align-items:center;gap:6px}
.rt-icon{font-size:1.05rem;line-height:1}
.mc-box{display:inline-block;min-width:30px;padding:2px 5px;text-align:center;border-radius:4px;font:700 .9rem "Playfair Display";color:#fff}
.mc-good{background:#4c8a2e}.mc-mixed{background:#c99a1c;color:#2a180b}.mc-bad{background:#a8322a}
.votes-inline{font-size:.8rem;opacity:.7}
.date-note{display:block;font-size:.75rem;font-style:italic;opacity:.72;line-height:1.35;margin-top:2px}
/* ---- search ---- */
.search{position:relative;width:min(520px,90%);margin:14px auto 4px}
#wiki-search{width:100%;padding:9px 18px 9px 40px;border-radius:22px;border:1px solid var(--gold);
 background:#f6ecd3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6420' stroke-width='2.4'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='M15 15l6 6'/%3E%3C/svg%3E") 14px center/17px no-repeat;
 font:1rem "EB Garamond",serif;color:var(--ink);box-shadow:inset 0 2px 5px #7a542033,0 0 0 3px #3a2414;outline:none}
#wiki-search:focus{border-color:#e8cf8a;box-shadow:inset 0 2px 5px #7a542033,0 0 0 3px #c9a24a66}
.search-list{display:none;position:absolute;z-index:50;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px 0;list-style:none;
 background:#fbf4e2;border:1px solid var(--gold);border-radius:8px;box-shadow:0 12px 30px #000a;text-align:left}
.search-list.open{display:block}
.search-list li{display:flex;align-items:center;gap:10px;padding:6px 12px;cursor:pointer;color:var(--ink)}
.search-list li.active,.search-list li:hover{background:#efe0bd}
.search-list img,.search-list .noimg{width:30px;height:40px;object-fit:cover;border:1px solid #b8893a;border-radius:2px;flex:none;filter:sepia(.25)}
.search-list .noimg{display:flex;align-items:center;justify-content:center;background:#4a2e14;color:var(--gold);font-size:.8rem}
.s-title{flex:1;font:600 .98rem "Playfair Display";line-height:1.2}
.s-title mark{background:none;color:var(--rust);text-decoration:underline;text-decoration-color:var(--gold)}
.s-meta{font-style:italic;font-size:.85rem;color:#8b6a35}
.s-cat{font:600 .68rem "Playfair Display";letter-spacing:.08em;text-transform:uppercase;color:#fbf4e2;background:var(--leather);padding:2px 7px;border-radius:9px}
.gal .role{display:block;font-style:italic;font-size:.8rem;color:#8b6a35}.gal a.capt{color:var(--rust);text-decoration:none;font-weight:600;font-style:normal;display:block}
.gallery{clear:none}
.gal{display:flex;flex-direction:column}.gal figcaption{flex:1}
/* ---- search button + results page ---- */
#wiki-search{padding-right:48px}
#wiki-search-go{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;
 border:1px solid #8a6420;background:linear-gradient(#e8cf8a,#b8893a);color:#2a180b;cursor:pointer;display:flex;align-items:center;justify-content:center}
#wiki-search-go:hover{background:linear-gradient(#f3e0a8,#c9a24a)}
.search-list .s-all{justify-content:center;font-style:italic;color:var(--rust);border-top:1px dotted #d9c49a;margin-top:4px}
.results-page .count b{color:var(--rust)}
.result{display:flex;gap:16px;padding:14px 4px;border-bottom:1px dotted #d9c49a;text-decoration:none;color:var(--ink)}
.result:hover{background:#f3e7cc66}
.result img,.result .noimg{width:62px;height:84px;object-fit:cover;flex:none;border:3px solid #b8893a;box-shadow:0 2px 6px #3a241455;filter:sepia(.25)}
.result .noimg{display:flex;align-items:center;justify-content:center;background:#4a2e14;color:var(--gold);font-size:1.3rem}
.r-body{display:flex;flex-direction:column;gap:3px}
.r-title{font:600 1.15rem "Playfair Display";color:var(--rust)}
.r-meta{font-style:italic;color:#8b6a35;font-size:.9rem}
.r-snip{font-size:.95rem;line-height:1.45}
.result mark{background:#f0d98c;color:inherit;padding:0 1px;border-radius:2px}
.more-wrap{text-align:center;margin-top:18px}
.no-results{text-align:center;padding:30px 0}.no-results .star{font-size:2.4rem;color:var(--gold)}
.no-results .tries .pill{margin:4px}
[hidden]{display:none!important}

/* Gold "Legend" badge (index cards, entry title, search) */
.legend-badge{display:inline-block;margin-left:.4em;padding:.05em .55em;border:1px solid #b8923a;border-radius:999px;background:linear-gradient(#f3dc94,#c99a3e);color:#3b2412;font:600 .62rem/1.5 "Playfair Display",Georgia,serif;letter-spacing:.12em;text-transform:uppercase;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 2px rgba(60,35,10,.3)}
.card .cap .legend-badge{display:table;margin:.3em auto 0}
.legend-title{margin:-.4em 0 .6em}.legend-title .legend-badge{margin:0;font-size:.75rem}
.legend-badge{align-self:flex-start;flex:none;width:auto}.r-body .legend-badge{margin:.15em 0 .2em}

/* Fair-use posters: native small size, own page only */
figure.fair-use{margin:0 auto 1em;text-align:center;max-width:300px}
figure.fair-use img{display:block;margin:0 auto;max-width:min(300px,100%);height:auto;border:3px solid #c99a3e;box-shadow:0 2px 6px rgba(40,20,5,.4)}
figure.fair-use figcaption{font-size:.78rem;color:#e9d7a8;margin-top:.35em;line-height:1.35}
figure.fair-use.beside img{max-width:150px}
.fu-note{font-size:.68rem;opacity:.85}.fu-note a,.poster-link a{color:#f0cf7a}
.poster-link{text-align:center;margin:.2em 0 .8em;font-size:.85rem}
footer a{color:inherit;text-decoration:underline}
.contact-page{max-width:720px}.placeholder-note{background:#f3dc94;padding:.1em .4em;border:1px dashed #b8923a;font-style:italic}

/* Section intros and empty ("coming soon") sections */
.cat-intro{font-style:italic;color:#6b4a22;margin:.2em 0 .4em}
.coming-soon{text-align:center;padding:2.5em 1em;border:1px dashed #c99a3e;border-radius:6px;background:rgba(243,220,148,.15)}
.coming-soon .icon{font-size:2.6rem;display:block}

/* Title row: page title left, List/Posters toggle right */
.title-row{display:flex;align-items:center;justify-content:space-between;gap:.6em 1em;flex-wrap:wrap}
.title-row h1{margin-bottom:0}
.title-row .view-toggle{margin-left:auto;flex:none}
@media (max-width:560px){.title-row .view-toggle{margin-left:0}}

/* ===== App (only visible when served by app/run.py and signed in) ===== */
.user-bar{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 16px;margin:8px auto 0;font:600 .78rem "Playfair Display",Georgia,serif;letter-spacing:.06em}
.user-bar a{color:var(--gold2);text-decoration:none}.user-bar a:hover{text-decoration:underline}
.user-bar .who{color:#f3dc94}
.count-dot{display:inline-block;min-width:1.3em;padding:0 .3em;border-radius:999px;background:#a33a1f;color:#fff;font-size:.7rem;text-align:center}
.my-panel{border:1px solid var(--gold);border-radius:6px;background:linear-gradient(#fbf3df,#f3e4bf);padding:10px 14px;margin:0 0 18px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.4)}
.my-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:4px 0}
.my-label{font:600 .72rem "Playfair Display",Georgia,serif;letter-spacing:.12em;text-transform:uppercase;color:#7a5a2a;min-width:7.5em}
.my-toggle{border:1px solid var(--gold);background:#fffaf0;color:var(--rust);border-radius:999px;padding:3px 12px;font:600 .82rem "Playfair Display",Georgia,serif;cursor:pointer}
.my-toggle.on{background:var(--leather);color:var(--gold2);border-color:var(--leather)}
.my-rating{display:inline-flex;border:1px solid var(--gold);border-radius:4px;overflow:hidden}
.my-rating button{border:0;border-right:1px solid rgba(201,154,62,.4);background:#fffaf0;color:#7a5a2a;width:26px;height:26px;font:600 .78rem Georgia,serif;cursor:pointer}
.my-rating button:last-child{border-right:0}
.my-rating button.on{background:linear-gradient(#f3dc94,#c99a3e);color:#3b2412}
.my-clear{border:0;background:none;color:#9a7a4a;cursor:pointer}
.my-row.notes textarea{flex:1 1 260px;min-height:2.4em;border:1px solid #d8c08a;border-radius:4px;background:#fffdf7;padding:6px 8px;font:inherit;font-size:.92rem}
.my-status{font-style:italic;color:#6b7a2a;font-size:.85rem}
.btn-gold{border:1px solid #b8923a;border-radius:4px;background:linear-gradient(#f3dc94,#c99a3e);color:#3b2412;font:600 .85rem "Playfair Display",Georgia,serif;padding:6px 14px;cursor:pointer;box-shadow:0 1px 2px rgba(60,35,10,.3)}
.btn-gold:hover{filter:brightness(1.05)}
.btn-plain{border:1px solid #c9a96a;border-radius:4px;background:#fffaf0;color:var(--rust);font:600 .85rem "Playfair Display",Georgia,serif;padding:6px 14px;cursor:pointer}
.my-badges{display:inline-flex;gap:3px;margin-left:6px;vertical-align:middle}
.card .my-badges{display:flex;justify-content:center;margin:3px 0 0}
.mb{font-style:normal;display:inline-block;min-width:1.35em;height:1.35em;line-height:1.35em;text-align:center;border-radius:999px;font-size:.68rem;font-weight:700}
.mb.watched{background:#5d6b2a;color:#fff}.mb.owned{background:var(--leather);color:var(--gold2)}
.mb.wishlist{background:#fff;color:#a33a1f;border:1px solid #a33a1f}.mb.rating{background:linear-gradient(#f3dc94,#c99a3e);color:#3b2412;padding:0 .3em}
.my-chips{margin-top:6px}.my-chips .lbl{font:italic .85rem Georgia,serif;color:#8b6a35;margin-right:4px}
.coll-hide,.coll-empty{display:none!important}
.pencil{border:0;background:none;color:#b8923a;cursor:pointer;font-size:.8em;padding:0 .25em;vertical-align:middle;opacity:.75}
.pencil:hover{opacity:1;color:var(--rust)}
.infobox th .pencil{font-size:.85rem;color:#e9c46a}
.infobox figure{position:relative}.infobox figure>.pencil{position:absolute;top:6px;right:6px;z-index:2;background:rgba(43,24,12,.75);border-radius:50%;width:26px;height:26px;color:#f3dc94;opacity:.9}
.edit-modal{position:fixed;inset:0;background:rgba(25,14,6,.7);display:none;align-items:center;justify-content:center;z-index:1000;padding:16px}
.edit-modal.open{display:flex}
.em-box{position:relative;background:#fbf3df;border:2px solid var(--gold);border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.5);padding:20px 24px;width:min(640px,100%);max-height:92vh;overflow:auto}
.em-box h2{margin:0 0 4px}.em-page{margin:0 0 10px;color:#8b6a35;font-style:italic}
.em-box label,.app-form label{display:block;margin:10px 0;font:600 .8rem "Playfair Display",Georgia,serif;color:#5a3d1a;letter-spacing:.04em}
.em-box label small,.app-form label small{font:italic 400 .8rem Georgia,serif;color:#8b6a35;margin-left:.4em}
.em-box input,.em-box textarea,.app-form input,.app-form textarea,.app-form select{display:block;width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #d8c08a;border-radius:4px;background:#fffdf7;padding:7px 9px;font:400 .95rem Georgia,serif;color:#2b1a0c}
.em-old{margin:4px 0 0;max-height:140px;overflow:auto;background:#f1e6c8;border:1px dashed #c9a96a;border-radius:4px;padding:7px 9px;font:400 .82rem/1.4 Menlo,Consolas,monospace;white-space:pre-wrap}
.em-new,.app-form textarea.mono{font-family:Menlo,Consolas,monospace!important;font-size:.84rem!important}
.em-close{position:absolute;top:8px;right:10px;border:0;background:none;font-size:1.2rem;color:#7a5a2a;cursor:pointer}
.em-actions{display:flex;align-items:center;gap:12px;margin-top:8px}.em-status{font-style:italic;color:#5d6b2a}
.app-page .app-form{margin-top:8px}
.app-form{max-width:720px}.app-form.narrow{max-width:360px}
.app-form fieldset.img-row{border:1px solid #d8c08a;border-radius:6px;padding:4px 12px 10px;margin:8px 0;background:#fffaf0}
.app-form fieldset legend{font:600 .75rem "Playfair Display",Georgia,serif;color:#8b6a35;letter-spacing:.1em;text-transform:uppercase}
.app-msg{font-style:italic}.app-msg.error{color:#a33a1f}.app-msg.ok{color:#4f5d22}
.app-table{width:100%;border-collapse:collapse;margin:8px 0 18px;font-size:.9rem}
.app-table th{text-align:left;font:600 .72rem "Playfair Display",Georgia,serif;letter-spacing:.1em;text-transform:uppercase;color:#7a5a2a;border-bottom:2px solid var(--gold);padding:6px}
.app-table td{border-bottom:1px solid #e6d3a6;padding:6px;vertical-align:top}.app-table td.num{text-align:center}
.app-table td.notes{color:#6b4a22;font-style:italic;max-width:280px}
.app-table .my-badge{display:inline-block;margin:0 4px 2px 0;padding:0 8px;border-radius:999px;font-size:.75rem;background:#f3e4bf;border:1px solid #d8c08a}
.app-table .my-badge.watched{background:#5d6b2a;color:#fff;border-color:#5d6b2a}.app-table .my-badge.owned{background:var(--leather);color:var(--gold2)}
details summary{cursor:pointer;font:600 .95rem "Playfair Display",Georgia,serif;color:var(--rust);margin:8px 0}
.review-card{border:1px solid #d8c08a;border-radius:6px;background:#fffaf0;padding:12px 16px;margin:14px 0}
.review-card h3{margin:0 0 4px;font-size:1.05rem}.review-card .meta{margin:0 0 8px;color:#7a5a2a;font-size:.88rem}
.diff{font:400 .82rem/1.45 Menlo,Consolas,monospace;border:1px solid #e0cc9c;border-radius:4px;overflow:auto;max-height:340px;background:#fffdf7}
.diff div{padding:1px 8px;white-space:pre-wrap}.d-del{background:#f7dcd3;color:#7d2412}.d-add{background:#e3ecc8;color:#3d4a12}.d-same{color:#8b7a5a}
.review-actions{display:flex;gap:10px;margin-top:10px}

.signin-grid{display:grid;grid-template-columns:minmax(0,360px) minmax(0,340px);gap:28px 56px;align-items:start}
@media (max-width:760px){.signin-grid{grid-template-columns:1fr}}
.signin-grid h2{margin-top:0}
.oauth-btn{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:9px 14px;border:1px solid #c9a96a;border-radius:6px;background:#fffdf7;color:#2b1a0c;text-decoration:none;font:600 .9rem "Playfair Display",Georgia,serif;box-shadow:0 1px 2px rgba(60,35,10,.15)}
a.oauth-btn:hover{border-color:var(--rust);background:#fff}
.oauth-btn.off{opacity:.5;cursor:not-allowed;filter:grayscale(1)}
.oauth-btn small{margin-left:auto;font:italic 400 .75rem Georgia,serif;color:#7a5a2a}
.oauth-btn .logo{width:20px;height:20px;border-radius:4px;flex:none;display:inline-flex;align-items:center;justify-content:center;font:700 .8rem Arial,sans-serif;color:#fff}
.logo.google{background:conic-gradient(#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0)}
.logo.microsoft{background:linear-gradient(90deg,#f25022 50%,#7fba00 50%) top/100% 50% no-repeat,linear-gradient(90deg,#00a4ef 50%,#ffb900 50%) bottom/100% 50% no-repeat}
.logo.x{background:#000}.logo.x::after{content:"𝕏";font-size:.85rem}
.import-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.import-card{border:1px solid #d8c08a;border-radius:8px;background:#fffaf0;padding:6px 16px 16px;max-width:none}
.import-card h2{margin:.4em 0 .2em}.import-card .cat{font:italic 400 .8rem Georgia,serif;color:#8b6a35}
.import-card .note{font-size:.85rem;min-height:4.2em}
.diff.words{font:400 .95rem/1.6 "EB Garamond",Georgia,serif;padding:8px 12px;white-space:pre-wrap}
.diff del{background:#f7dcd3;color:#7d2412;text-decoration:line-through}.diff ins{background:#d9e8b4;color:#2f3c0c;text-decoration:none;font-weight:600}

/* ---- TV episodes, seasons, Old West extras ---- */
.ep-nav { display:flex; justify-content:space-between; gap:1rem; align-items:center; margin:1.2rem 0;
  padding:.6rem .9rem; background:#3b2516; border:1px solid #b8892f; border-radius:6px; font-family:Georgia,serif; }
.ep-nav a { color:#f1d48a; text-decoration:none; font-size:.95rem; }
.ep-nav a:hover { color:#fff3c8; text-decoration:underline; }
.ep-nav .all { font-variant:small-caps; letter-spacing:.05em; opacity:.85; white-space:nowrap; }
.ep-nav .next { text-align:right; }
.ep-sub { font-style:italic; color:#7a5a36; margin-top:-.3rem; }
.guests { columns:2; } .guests .role, .tv-credits .role { color:#8a6a44; font-style:italic; font-size:.9em; }
details.season { border:1px solid #d9c39a; border-radius:6px; margin:.4rem 0; background:#fbf3e1; }
details.season summary { cursor:pointer; padding:.45rem .8rem; font-family:Georgia,serif; color:#3b2516; font-weight:bold; }
details.season summary small { font-weight:normal; color:#8a6a44; margin-left:.4rem; }
details.season[open] summary { border-bottom:1px solid #d9c39a; }
ol.episodes { list-style:none; margin:0; padding:.4rem .8rem; columns:2; }
ol.episodes li { break-inside:avoid; padding:.15rem 0; }
.epn { display:inline-block; min-width:3.2em; color:#b8892f; font-variant-numeric:tabular-nums; }
.air { color:#8a6a44; font-size:.85em; margin-left:.4rem; }
.ep-links { font-size:.85em; margin:.1rem 0 .3rem 3.5em; color:#8a6a44; }
.map-link { color:#f1d48a; }
ul.nearby .dist { color:#8a6a44; font-size:.85em; }
.sub-icon { font-size:.9em; }
@media (max-width:700px){ ol.episodes, .guests { columns:1; } }

/* horse in a cast list */
.horseshoe { width:100%; height:100%; border-radius:50%; background:#3b2516; display:flex; align-items:center; justify-content:center; }
.horseshoe::before { content:"U"; font:bold 2.6rem Georgia,serif; color:#d4a84a; transform:rotate(180deg); text-shadow:0 1px 0 #000; }
.horse-card .role { font-style:italic; }

/* logos / wordmarks: small, under the infobox title only */
.ib-logo { text-align:center; margin:.3rem auto .6rem; }
.ib-logo img { max-width:180px; max-height:60px; width:auto; height:auto; background:#f6ead0; padding:6px 10px; border-radius:4px; }
.ib-logo-credit { font-size:.65rem; color:#c9b28a; margin-top:.2rem; }
.ib-logo-credit a { color:#e0c78f; }

/* ---- TheFrontierWiki logo ---- */
.masthead .brand { display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; }
.brand-logo img { width:40px; height:40px; display:block; filter:drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.hero-logo img { width:300px; max-width:62vw; height:auto; display:block; margin:0 auto .4rem;
  filter:drop-shadow(0 6px 14px rgba(43,26,16,.35)); }
.hero-name { font-family:Rye, Georgia, serif; font-size:2.6rem; color:#3b2516; text-align:center;
  letter-spacing:.02em; line-height:1.1; text-shadow:0 1px 0 #f6e3b4; margin-bottom:.3rem; }
@media (max-width:600px) {
  .brand-logo img { width:30px; height:30px; }
  .masthead .brand { gap:.4rem; }
  .brand-name { font-size:.9em; }
  .hero-name { font-size:1.9rem; }
  .hero-logo img { max-width:55vw; }
}
/* keep two-word menu items (Old West) on one line on phones */
.masthead nav a { white-space:nowrap; }
.masthead nav { display:flex; flex-wrap:wrap; justify-content:center; row-gap:.35rem; }
@media (max-width:600px) { .masthead nav a { margin:0 9px; font-size:.8rem; letter-spacing:.1em; } }
.masthead nav { align-items:baseline; }

/* ---- People index: prominent first, rest behind an expander ---- */
.card .credits { display:block; font-size:.75rem; color:#8a6a44; font-style:italic; margin-top:.15rem; }
details.more-people { margin:1rem 0 .5rem; border:1px solid #d9c39a; border-radius:6px; background:#fbf3e1; }
details.more-people > summary { cursor:pointer; padding:.6rem .9rem; font-family:"Playfair Display",Georgia,serif;
  font-weight:600; color:#7a2e12; list-style:none; }
details.more-people > summary::before { content:"▸ "; color:#b8892f; }
details.more-people[open] > summary::before { content:"▾ "; }
details.more-people > summary small { font-weight:normal; color:#8a6a44; font-style:italic; }
ul.people-az { padding:.3rem 1rem .8rem 1.4rem; margin:0; font-size:.95rem; }
ul.people-az li { break-inside:avoid; padding:.08rem 0; }
ul.people-az .meta { color:#8a6a44; font-size:.8em; font-style:italic; }
@media (max-width:600px) { ul.people-az { columns:1; } }
@media (max-width:600px) {
  .grid { grid-template-columns:repeat(3, minmax(0,1fr)) !important; gap:10px !important; }
  .grid .card .cap { font-size:.75rem; }
  nav.jump a { white-space:nowrap; }
}
nav.jump { display:flex; flex-wrap:wrap; justify-content:center; gap:.2rem .1rem; }

/* ---- A-Z Index ---- */
.az-page { padding-right:2.2rem; }
.az-top { position:sticky; top:0; z-index:20; display:flex; flex-wrap:wrap; justify-content:center; gap:2px;
  background:#2b1a10; padding:.45rem .4rem; border-radius:6px; box-shadow:0 2px 6px rgba(0,0,0,.25); margin:.6rem 0; }
.az-top a, .az-top span { font:600 .9rem "Playfair Display",Georgia,serif; color:#f1d48a; text-decoration:none;
  min-width:1.7rem; text-align:center; padding:.15rem .25rem; border-radius:3px; }
.az-top a:hover { background:#b8892f; color:#2b1a10; }
.az-top .off, .az-side .off { color:#7d6a52; opacity:.55; cursor:default; }
.az-side { position:fixed; right:4px; top:50%; transform:translateY(-50%); z-index:30; display:flex; flex-direction:column;
  background:rgba(43,26,16,.88); border-radius:14px; padding:.35rem .15rem; }
.az-side a, .az-side span { font:600 .68rem/1.25 Georgia,serif; color:#f1d48a; text-decoration:none; text-align:center;
  padding:.05rem .3rem; }
.az-side a:hover { color:#fff; }
.az-controls { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin:.5rem 0 1rem; }
#az-filter { flex:1 1 220px; padding:.45rem .7rem; border:1px solid #b8892f; border-radius:20px; background:#fffaf0; font:inherit; }
.az-chips { display:flex; flex-wrap:wrap; gap:.3rem; }
.az-chips button { font:600 .78rem "Playfair Display",Georgia,serif; border:1px solid #c9a24a; background:#fbf3e1; color:#7a2e12;
  border-radius:14px; padding:.2rem .6rem; cursor:pointer; }
.az-chips button.on { background:#b8892f; color:#fff; border-color:#b8892f; }
#az-count { font-size:.85rem; color:#8a6a44; font-style:italic; }
.az-letter { scroll-margin-top:3.5rem; }
.az-letter h2 { font-family:Rye,Georgia,serif; color:#7a2e12; border-bottom:1px solid #d9c39a; margin:1.2rem 0 .4rem; }
.az-list { list-style:none; margin:0; padding:0; }
.az-list li { padding:.22rem 0; border-bottom:1px dotted #e3d2ad; line-height:1.45; }
.az-list li > a, .az-list li > b { font-weight:600; }
.az-list li > b { color:#3b2516; }
.az-list i { font-style:normal; font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; border-radius:8px;
  padding:.05rem .4rem; margin:0 .35rem; vertical-align:1px; background:#efe0bd; color:#6b4a26; }
.az-list [data-c=f] i::after { content:"Film"; }   .az-list [data-c=p] i::after { content:"Person"; }
.az-list [data-c=t] i::after { content:"TV"; }     .az-list [data-c=b] i::after { content:"Book"; }
.az-list [data-c=o] i::after { content:"Old West"; } .az-list [data-c=g] i::after { content:"Gun"; }
.az-list [data-c=h] i::after { content:"Horse"; }  .az-list [data-c=y] i::after { content:"History"; }
.az-list [data-c=n] i::after { content:"Genre"; }
.az-list [data-c=w] i { background:#3b2516; color:#f1d48a; }
.az-list [data-c=w] i::after { content:"Term"; }
.hero-az a { font-family:"Playfair Display",Georgia,serif; font-weight:600; color:#7a2e12; }
@media (max-width:600px) {
  .az-page { padding-right:1.7rem; }
  .az-top { flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; padding:.4rem .3rem; margin-right:-.2rem; }
  .az-top::-webkit-scrollbar { display:none; }
  .az-top a, .az-top span { flex:0 0 auto; min-width:1.6rem; font-size:.95rem; }
  .az-side { right:1px; padding:.2rem 0; border-radius:9px; }
  .az-side a, .az-side span { font-size:.56rem; line-height:1.18; padding:0 .16rem; }
  .az-side a[href="#az-0-9"], .az-side span:first-child { font-size:.46rem; }
}
nav.az-top a, nav.az-side a { margin:0; letter-spacing:0; text-transform:none; }
@media (max-width:600px) { .az-page { padding-right:2.3rem; } nav.az-top { margin-right:0; } }

/* ---- Editor-only "needs more sources" markers (site/claim_flags.json) ----
   Hidden from visitors; wiki.js adds .editor-mode to <html> for editors. */
.ns-tag, .editor-only, .editor-badge { display:none; }
.editor-mode .needs-sources { background:linear-gradient(transparent 55%, #f6dc8f 55%); border-bottom:1px dashed #b5651d; }
.editor-mode .ns-tag { display:inline; font:600 .62rem/1 "Playfair Display",Georgia,serif; color:#9a3412;
  margin-left:.2em; cursor:help; white-space:nowrap; vertical-align:super; }
.editor-mode .editor-only { display:block; }
.editor-mode .src-count { margin:1.2rem 0 0; padding:.3rem .7rem; display:inline-block; font-size:.85rem;
  color:#6b4a26; background:#f3e6c4; border:1px dashed #c9a24a; border-radius:4px; }
.editor-mode .editor-badge { display:block; position:fixed; left:8px; bottom:8px; z-index:50; font:600 .72rem Georgia,serif;
  background:#7a2e12; color:#fff; padding:.3rem .6rem; border-radius:12px; opacity:.85; }
.editor-badge a { color:#f1d48a; margin-left:.4rem; }

/* ---- Film series box (site/film_series.json) ---- */
.film-series { clear:both; margin:1.8rem 0 1.2rem; border:2px solid #b8892f; border-radius:6px; background:#fbf3e1;
  box-shadow:0 2px 6px rgba(43,26,16,.15); overflow:hidden; max-width:46rem; }
.film-series .shead { background:#2b1a10; color:#f1d48a; font:600 1rem "Playfair Display",Georgia,serif; padding:.55rem .9rem;
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:.3rem; align-items:baseline; }
.film-series .shead b { color:#fff; }
.film-series .spos { font:italic .82rem Georgia,serif; color:#d8bf86; }
.film-series .sstep { display:flex; justify-content:space-between; gap:.6rem; padding:.5rem .9rem; border-bottom:1px dashed #d9c39a;
  font:600 .88rem "Playfair Display",Georgia,serif; }
.film-series .sstep a { color:#7a2e12; text-decoration:none; }
.film-series .sstep a:hover { text-decoration:underline; }
.film-series .sstep .off { color:#b9a684; }
.film-series .snext { text-align:right; margin-left:auto; }
.film-series .slist { list-style:none; margin:0; padding:.4rem .9rem .5rem; columns:2; column-gap:1.6rem; }
.film-series .slist li { break-inside:avoid; padding:.18rem 0; line-height:1.35; }
.film-series .sn { display:inline-block; min-width:1.5rem; color:#b8892f; font:600 .8rem Georgia,serif; }
.film-series .sy { color:#8a6a44; font-size:.85rem; }
.film-series li.cur { background:linear-gradient(90deg, #f1d48a55, transparent); border-radius:3px; }
.film-series li.cur strong { color:#2b1a10; }
.film-series .slabel { font-size:.66rem; text-transform:uppercase; letter-spacing:.06em; background:#efe0bd; color:#6b4a26;
  border-radius:8px; padding:.05rem .4rem; }
.film-series .snote { margin:0; padding:.45rem .9rem .6rem; font:italic .85rem Georgia,serif; color:#6b4a26; border-top:1px dashed #d9c39a; }
@media (max-width:600px) {
  .film-series .slist { columns:1; }
  .film-series .sstep { flex-direction:column; gap:.3rem; }
  .film-series .snext { text-align:left; margin-left:0; }
}
.film-series .slist a { color:#7a2e12; text-decoration:none; border-bottom:1px dotted #c9a24a; }
.film-series .slist a:hover { color:#b5651d; border-bottom-style:solid; }
.film-series .slist.short { columns:1; }

/* Western Art: poem / lyric block, tags, a person's works, A-Z label */
.verse { clear:none; max-width:34rem; margin:1rem 0 1.4rem; padding:1.1rem 1.6rem 1rem 1.8rem; background:#fbf3e1;
  border-left:4px double var(--gold); border-radius:0 4px 4px 0; box-shadow:0 2px 8px #5a3a1a1f;
  font-style:italic; font-size:1.08rem; line-height:1.55; }
.verse p { margin:0 0 1em; } .verse p:last-child { margin-bottom:0; }
.art-tags { margin:1.4rem 0 .6rem; display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; }
.art-tags .label { font:600 .78rem "Playfair Display"; letter-spacing:.12em; text-transform:uppercase; color:#8b6a35; margin-right:.3rem; }
.art-tags .tag { font-size:.85rem; padding:1px 10px; border:1px solid var(--gold); border-radius:999px; background:#fbf3e1; }
ul.art-works .meta, ul.related .meta { color:#8b6a35; font-size:.9rem; margin-left:.5em; }
.az-list [data-c=a] i::after { content:"Art"; }
@media (max-width:600px) { .verse { padding:.9rem 1rem .8rem 1.1rem; font-size:1rem; } }
.depiction-note { font-style:italic; font-size:.92rem; color:#6b4f2a; border-left:3px solid var(--gold); padding:2px 0 2px 10px; margin:.8rem 0 1rem; }
.verse-source { font-size:.85rem; color:#8b6a35; margin:-.6rem 0 1.2rem; }
.lyrics-link { margin:1rem 0; }
.frame.art-ph .ph { aspect-ratio:4/3; }
.title-note { font-style:italic; font-size:.9rem; color:#6b4f2a; margin:.2rem 0 0; }
.content-note { font-size:.85rem; font-style:italic; color:#8b6a35; margin:.3rem 0 .5rem; }   /* art content_note, above verbatim text */
.text-removed { font-size:.92rem; color:#6b4f2a; border:1px dashed var(--gold); border-radius:4px; padding:6px 12px; margin:1rem 0; }
.text-removed span { display:block; font-size:.82rem; font-style:italic; margin-top:2px; }
.editor-mode p.judah-note { display:block; }
p.judah-note { background:#fff4d6; border:1px dashed var(--rust); border-left:4px solid var(--rust); padding:6px 12px; font-size:.9rem; border-radius:3px; }

/* True Grit Rating box */
.true-grit { display:flow-root; margin:4px 0 24px; padding:14px 18px 10px; background:#fbf3e1; border:2px solid #b8892f;
  border-radius:6px; box-shadow:inset 0 0 0 3px #fbf3e1, inset 0 0 0 4px #e3c98a, 0 3px 10px #5a3a1a22; }
.true-grit .tg-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap;
  border-bottom:1px solid var(--gold); padding-bottom:4px; margin-bottom:6px; }
.true-grit h2 { font:1.35rem "Rye",serif; color:var(--rust); border:0; margin:0; padding:0; }
.true-grit .tg-how { font-size:.85rem; }
.true-grit h3 { font:600 .78rem "Playfair Display"; letter-spacing:.12em; text-transform:uppercase; color:#8b6a35; margin:10px 0 4px; }
.tg-score { display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.tg-num { font:2rem/1 "Rye",serif; color:var(--leather); }
.tg-of { color:#8b6a35; font-size:.9rem; }
.tg-label { font:600 1.05rem "Playfair Display"; color:var(--leather); margin-left:4px; }
.tg-unknown { font-size:.8rem; font-style:italic; color:#8b6a35; margin-left:auto; }
.tg-gauge { display:grid; grid-template-columns:repeat(6,1fr); gap:3px; margin:6px 0 2px; }
.tg-cell { text-align:center; font-size:.72rem; line-height:1.6; color:#fff8; border-radius:2px; }
.tg-c0{background:#4f7a3a}.tg-c1{background:#7d8f3b}.tg-c2{background:#b49137}
.tg-c3{background:#b8702f}.tg-c4{background:#9c4a26}.tg-c5{background:#7a2e16}
.tg-cell { opacity:.35; } .tg-cell.on { opacity:1; color:#fff; font-weight:700; outline:2px solid var(--leather); outline-offset:1px; }
.tg-ends { display:flex; justify-content:space-between; font-size:.72rem; color:#8b6a35; font-style:italic; }
.tg-checks, .tg-content { list-style:none; margin:4px 0 0; padding:0; }
.tg-checks li, .tg-content li { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:4px 0;
  border-bottom:1px dotted #d9c49a; font-size:.95rem; line-height:1.3; }
.tg-q { flex:1; } .tg-a { white-space:nowrap; }
.tg-note { display:block; font-size:.8rem; font-style:italic; color:#6b4f2a; margin-top:2px; white-space:normal; }
p.tg-note { margin:2px 0 0; }
.tg-badge, .tg-level { display:inline-block; min-width:5.2em; text-align:center; font:600 .75rem "Playfair Display";
  letter-spacing:.06em; text-transform:uppercase; padding:1px 8px; border-radius:999px; border:1px solid; }
.tg-yes { color:#fff; background:#9c4a26; border-color:#7a2e16; }
.tg-no { color:#2f5320; background:#e3edd2; border-color:#7d9a5a; }
.tg-unknown.tg-badge, .tg-badge.tg-unknown { color:#6b5a40; background:#efe6d2; border-color:#c9b48a; font-style:normal; margin:0; }
.tg-l0 { color:#2f5320; background:#e3edd2; border-color:#7d9a5a; } .tg-l1 { color:#5c4a12; background:#f3e7b9; border-color:#c9a24a; }
.tg-l2 { color:#fff; background:#b8702f; border-color:#8a4f1c; } .tg-l3 { color:#fff; background:#7a2e16; border-color:#5a1f08; }
.tg-ref { font-size:.72rem; margin-left:4px; text-decoration:none; vertical-align:super; }
.tg-side { display:flex; flex-wrap:wrap; gap:4px 28px; } .tg-side > * { flex:1 1 220px; }
.tg-side h3 { flex-basis:100%; }
.tg-stars { font-size:1.35rem; letter-spacing:.08em; } .tg-stars .on { color:#c9a24a; text-shadow:0 1px 0 #7a5420; }
.tg-stars .off { color:#e1d3ae; } .tg-stars .tg-of { font-size:.85rem; letter-spacing:0; margin-left:6px; }
.tg-srch { font:600 .72rem "Playfair Display"; letter-spacing:.12em; text-transform:uppercase; color:#8b6a35; margin-top:10px; }
.tg-sources { font-size:.78rem; margin:2px 0 4px; padding-left:1.6em; word-break:break-word; columns:2; column-gap:24px; }
.tg-meta { font-size:.75rem; color:#8b6a35; font-style:italic; margin:4px 0 0; text-align:right; }
.tg-legend { list-style:none; padding:0; } .tg-legend b { display:inline-block; width:1.6em; color:var(--rust); }
@media (max-width:600px) {
  .true-grit { padding:12px 12px 8px; }
  .tg-checks li, .tg-content li { flex-direction:column; align-items:flex-start; gap:3px; }
  .tg-sources { columns:1; } .tg-meta { text-align:left; }
}
.tg-a { min-width:7.4em; text-align:left; }
@media (max-width:600px) { .tg-a { min-width:0; } }
.tg-prov { font:600 .7rem "Playfair Display"; letter-spacing:.1em; text-transform:uppercase; color:#7a5420;
  background:#f3e2b3; border:1px dashed #b8892f; border-radius:3px; padding:1px 7px; margin-right:auto; cursor:help; }
.true-grit .tg-head h2 { margin-right:4px; }
.tg-prov-line { font-size:.8rem; font-style:italic; color:#8b6a35; margin:0 0 4px; }
.tg-quote { display:block; font-size:.84rem; font-style:italic; color:#4a3220; margin-top:3px; white-space:normal; }
.tg-quote a { font-style:normal; font-size:.76rem; margin-left:6px; }
.tg-quote a::before { content:"— "; color:#8b6a35; }
/* True Grit v2: Modern messaging */
.tg-mlevel { display:inline-block; font:600 1.05rem "Playfair Display"; padding:1px 12px; border-radius:4px; border:1px solid; }
.tg-m-none { color:#2f5320; background:#e3edd2; border-color:#7d9a5a; }
.tg-m-none_found, .tg-m-not_known { color:#6b5a40; background:#efe6d2; border-color:#c9b48a; font-style:italic; }
.tg-m-some { color:#7a4a12; background:#f6dfb0; border-color:#c48a2c; }
.tg-m-heavy { color:#fff; background:#9c4a26; border-color:#7a2e16; }
.tg-legacy { display:inline-block; margin-left:6px; font:600 .62rem "Playfair Display"; letter-spacing:.1em; text-transform:uppercase;
  color:#7a5420; border:1px dashed #b8892f; border-radius:3px; padding:0 5px; vertical-align:middle; cursor:help; }
.tg-unchecked { font-size:.8rem; font-style:italic; color:#8b6a35; margin:4px 0 0; }
.tg-side h3 { margin-top:10px; }
/* True Grit: collapsed <details> with a one-line summary */
details.true-grit { padding:0; }
details.true-grit > summary.tg-sum { list-style:none; cursor:pointer; display:flex; align-items:center; gap:8px 10px;
  flex-wrap:wrap; padding:9px 14px; user-select:none; }
details.true-grit > summary::-webkit-details-marker { display:none; }
details.true-grit > summary:focus-visible { outline:2px solid var(--rust); outline-offset:2px; }
.tg-sum-title { font:1.12rem "Rye",serif; color:var(--rust); white-space:nowrap; }
.tg-chips { display:flex; flex-wrap:wrap; align-items:center; gap:5px 6px; flex:1; min-width:0; }
.tg-chip { display:inline-flex; align-items:center; gap:3px; font:600 .74rem "Playfair Display"; letter-spacing:.02em;
  padding:2px 8px; border-radius:999px; border:1px solid #c9b48a; background:#f6edd8; color:var(--leather); white-space:nowrap; }
.tg-chip-score { color:#fff; border-color:#0003; }
.tg-chip-score.tg-c0, .tg-chip-score.tg-c1 { color:#fff; } .tg-chip-score.tg-c2 { color:#2b1a0e; }
.tg-chip-stars { font-size:.82rem; letter-spacing:.04em; padding:1px 7px; }
.tg-chip-stars .on { color:#c9a24a; } .tg-chip-stars .off { color:#dccba3; }
.tg-chip-content { gap:4px; padding:1px 3px; background:transparent; border:0; }
.tg-mini { font:600 .68rem "Playfair Display"; padding:1px 6px; border-radius:3px; border:1px solid; white-space:nowrap; }
.tg-sum .tg-prov { margin:0; }
.tg-partly { font:600 .66rem "Playfair Display"; letter-spacing:.08em; text-transform:uppercase; color:#6b5a40;
  background:#f6efdf; border:1px solid #d3c19a; border-radius:3px; padding:1px 6px; cursor:help; white-space:nowrap; }
.tg-sum .tg-partly { margin:0; } .tg-overall h3 .tg-partly { vertical-align:middle; }
.tg-steps .tg-cap { color:#6b5a40; font-style:italic; cursor:help; }
.tg-chev { margin-left:auto; width:22px; height:22px; flex:0 0 22px; border-radius:50%; border:1px solid var(--gold);
  background:#fbf3e1; position:relative; transition:transform .2s; }
.tg-chev::before { content:""; position:absolute; left:6px; top:5px; width:7px; height:7px; border:solid var(--rust);
  border-width:0 2px 2px 0; transform:rotate(45deg); }
details[open] > summary .tg-chev { transform:rotate(180deg); }
details[open] > summary.tg-sum { border-bottom:1px solid var(--gold); }
.tg-body { padding:6px 18px 10px; }
.tg-body .tg-head { border:0; margin:0; padding:0; justify-content:space-between; }
.tg-body .tg-prov-line { margin:0; }
.tg-certs { font-size:.82rem; margin:6px 0 0; } .tg-certs .cert { margin-right:10px; }
@media (max-width:600px) {
  details.true-grit > summary.tg-sum { padding:8px 10px; }
  .tg-sum-title { flex:1 0 auto; }
  .tg-chips { order:3; flex-basis:100%; }
  .tg-chev { order:2; }
  .tg-body { padding:6px 12px 8px; }
}
.tg-aud { margin:6px 0 8px; font-size:.95rem; }
.tg-aud-star { color:#c9a24a; }
.tg-aud-credit { display:block; font-size:.74rem; color:#7a6a55; font-style:italic; }
.tg-chip-aud { background:#fff8e6; }
/* summary: fit one line in the main column on desktop */
.tg-sum-title { font-size:1rem; }
details.true-grit > summary.tg-sum { gap:6px 8px; padding:8px 12px; }
.tg-chips { gap:4px; }
.tg-chip { font-size:.66rem; padding:1px 6px; letter-spacing:0; }
.tg-chip-stars { font-size:.74rem; padding:0 5px; letter-spacing:0; }
.tg-mini { font-size:.62rem; padding:1px 4px; }
.tg-chip-content { gap:3px; padding:0; }
.tg-chip-score { color:#fff; border-color:transparent; }
.tg-chip-score.tg-c0{background:#4f7a3a}.tg-chip-score.tg-c1{background:#7d8f3b}
.tg-chip-score.tg-c2{background:#b49137;color:#2b1a0e}.tg-chip-score.tg-c3{background:#b8702f}
.tg-chip-score.tg-c4{background:#9c4a26}.tg-chip-score.tg-c5{background:#7a2e16}
.tg-sum-title { font-size:.95rem; }
details.true-grit > summary.tg-sum { gap:4px 7px; padding:7px 10px; }
.tg-chips { gap:3px; flex-wrap:wrap; }
.tg-chip { font-size:.62rem; padding:1px 5px; }
.tg-mini { font-size:.6rem; padding:1px 3px; }
.tg-chev { width:20px; height:20px; flex-basis:20px; } .tg-chev::before { left:5px; top:4px; }
.tg-sec-meta { margin:4px 0 0; }
/* True Grit overall score: sheriff's star badge */
.tg-badge-svg { flex:0 0 auto; display:block; filter:drop-shadow(0 1px 1px #0005); }
.tg-badge-prov { opacity:.75; filter:grayscale(.35); }
details.true-grit > summary.tg-sum { flex-wrap:nowrap; }
.tg-sum .tg-sum-title { white-space:nowrap; }
.tg-overall { display:flex; gap:16px; align-items:flex-start; padding:8px 0 10px; border-bottom:1px dashed var(--gold); margin-bottom:8px; }
.tg-overall h3 { margin:2px 0 4px; }
.tg-steps { list-style:none; margin:4px 0 0; padding:0; max-width:380px; font-size:.9rem; }
.tg-steps li { display:flex; justify-content:space-between; gap:12px; padding:2px 0; border-bottom:1px dotted #d8c7a2; }
.tg-steps b { font-variant-numeric:tabular-nums; }
.tg-steps .tg-minus { color:#9c2a16; } .tg-steps .tg-plus { color:#3c6b2a; }
.tg-steps .tg-total { border-bottom:0; border-top:2px solid var(--leather); font-weight:700; margin-top:2px; }
@media (max-width:600px) {
  details.true-grit > summary.tg-sum { flex-wrap:wrap; }
  .tg-overall { flex-direction:column; align-items:center; }
  .tg-steps { max-width:none; width:100%; }
}
/* Coal (below 40) and Diamond (100) badges */
.tg-band-coal { filter:drop-shadow(0 1px 1.5px #0008); }
.tg-band-diamond { filter:drop-shadow(0 0 3px #bfe6ffcc) drop-shadow(0 1px 1px #0004); }
.tg-badge-svg.tg-badge-prov { opacity:.72; filter:grayscale(.45); }
.tg-glint { opacity:0; }
@media (prefers-reduced-motion: no-preference) {
  .tg-band-diamond:not(.tg-badge-prov) .tg-glint { opacity:1; transform-box:view-box; transform-origin:50% 50%; animation:tg-shimmer 4.5s ease-in-out infinite; }
  @keyframes tg-shimmer {
    0% { transform:translateX(0) rotate(20deg); }
    55%, 100% { transform:translateX(180px) rotate(20deg); }
  }
}
/* True Grit Rating v3 layout (2026-10-17 21:44): sections, letter boxes, pills */
.tg-secs { display:block; }
.tg-sec { padding:10px 0 8px; border-top:1px solid #e2cf9f; }
.tg-body > .tg-secs > .tg-sec:first-child { border-top:0; padding-top:4px; }
.tg-overall { border-bottom:1px solid var(--gold); }
.true-grit .tg-sec h3 { margin:0 0 6px; }
.tg-h-sub { text-transform:none; letter-spacing:0; font-weight:400; font-style:italic; color:#7a5f30; }
.tg-lead { margin:0 0 6px; font-size:.88rem; color:#4a3220; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.tg-lead .tg-mlevel { font-size:.85rem; padding:0 10px; }
.tg-rows, .tg-crows, .tg-others { list-style:none; margin:0; padding:0; }
.tg-row { display:grid; grid-template-columns:minmax(10em,15em) 6.4em 1fr; gap:4px 12px; align-items:baseline;
  padding:5px 0; border-bottom:1px dotted #d8c7a2; font-size:.9rem; }
.tg-row:last-child, .tg-crow:last-child { border-bottom:0; }
.tg-rname { font-weight:600; color:#3a2614; }
.tg-rnote { font-size:.82rem; color:#5a4226; line-height:1.4; }
.tg-pill { display:inline-block; justify-self:start; min-width:5.4em; text-align:center; font:600 .74rem "Playfair Display";
  padding:1px 8px; border-radius:999px; border:1px solid; }
.tg-p-yes { color:#fff; background:#9c4a26; border-color:#7a2e16; }
.tg-p-no { color:#2f5320; background:#e3edd2; border-color:#7d9a5a; }
.tg-p-unknown { color:#4a4540; background:#ebe6dc; border:1px dashed #8a8378; }
.tg-refs { white-space:nowrap; margin-left:4px; }
.tg-refs .tg-ref { vertical-align:baseline; font-size:.74rem; margin-left:2px; }
.tg-more { margin:6px 0 0; font-size:.8rem; color:#6b5a40; }
.tg-more > summary { cursor:pointer; color:#7a5f30; font-style:italic; width:max-content; max-width:100%; }
.tg-more-n { color:#6f5f48; }
.tg-others li { display:flex; flex-wrap:wrap; gap:2px 8px; align-items:baseline; padding:3px 0 3px 10px; border-left:2px solid #e2cf9f; margin:3px 0; }
.tg-others .tg-rname { font-weight:400; color:#5a4a36; }
.tg-others .tg-rnote { flex-basis:100%; font-size:.76rem; color:#7a6a55; }
.tg-otag { font-size:.72rem; padding:0 6px; border-radius:999px; border:1px solid; font-style:normal; }
.tg-stars-line { margin:0; display:flex; align-items:center; gap:8px; }
.tg-snote { display:block; margin:2px 0 0; font-size:.82rem; color:#5a4226; font-style:normal; }
/* letter boxes: None green, Mild pale amber, Moderate orange, Strong dark red, Not known grey dashed (all WCAG AA) */
.tg-lbox { display:inline-flex; align-items:center; justify-content:center; width:1.45em; height:1.45em; box-sizing:border-box;
  font:700 .74rem/1 "Playfair Display",Georgia,serif; border-radius:3px; border:1px solid transparent; flex:0 0 auto; }
.tg-lv-none { background:#2f6b2a; color:#fff; border-color:#22501e; }
.tg-lv-mild { background:#f6d77a; color:#3d2c00; border-color:#c9a24a; }
.tg-lv-moderate, .tg-lv-present { background:#b4500c; color:#fff; border-color:#8a3c08; }
.tg-lv-strong { background:#8b1a1a; color:#fff; border-color:#5e1010; }
.tg-lv-unknown { background:#e6e1d6; color:#4a4540; border:1px dashed #6f6a60; }
.tg-lbox-blank { visibility:hidden; }
.tg-chip-content { display:inline-flex; gap:3px; align-items:center; }
.tg-chip-content .tg-lbox { font-size:.66rem; }
.tg-crow { display:grid; grid-template-columns:1.6em minmax(8em,11em) 5.6em 1fr; gap:4px 10px; align-items:center;
  padding:5px 0; border-bottom:1px dotted #d8c7a2; font-size:.9rem; }
.tg-crow .tg-lbox { font-size:.8rem; }
.tg-lword { font-weight:600; font-size:.85rem; color:#3a2614; }
.tg-key { display:flex; flex-wrap:wrap; gap:4px 12px; margin:8px 0 0; font-size:.72rem; color:#6b5a40; }
.tg-key-i { display:inline-flex; align-items:center; gap:4px; }
.tg-lbox-key { width:.95em; height:.95em; border-radius:2px; }
.tg-aud { margin:0; }
.tg-sec-src h3 { color:#8b6a35; }
.tg-sec-src .tg-sources { margin:0; font-size:.76rem; color:#6b5a40; }
.tg-small { border-top:1px solid #e2cf9f; margin-top:6px; padding-top:6px; font-size:.72rem; line-height:1.45; color:#6f5f48; }
.tg-small p { margin:0 0 2px; }
.tg-small .tg-how { font-size:.78rem; }
@media (max-width:600px) {
  .tg-row { grid-template-columns:1fr auto; }
  .tg-row .tg-rnote { grid-column:1 / -1; }
  .tg-crow { grid-template-columns:1.6em 1fr auto; }
  .tg-crow .tg-rnote { grid-column:2 / -1; }
  .tg-crow .tg-rnote:empty { display:none; }
  .tg-sec-src .tg-sources { columns:1; }
}
.tg-key-page { font-size:.9rem; gap:6px 16px; } .tg-key-page .tg-lbox { font-size:.8rem; }
.tg-others-common { margin:4px 0 2px; font-size:.76rem; color:#6f5f48; font-style:italic; }

/* True Grit: full note behind a small "more" toggle (Classic Western checks) */
.tg-nmore{display:inline}
.tg-nmore > summary{display:inline;cursor:pointer;font-size:.85em;text-decoration:underline;color:inherit;opacity:.75;list-style:none}
.tg-nmore > summary::-webkit-details-marker{display:none}
.tg-nmore[open] > summary{display:none}
.tg-nmore[open] > span{display:block;margin-top:.25em}
.search-list img.noimg-fpp,.result img.noimg-fpp{filter:none;background:#1a1030}   /* Dusk no-picture art in search (UK image hide, 27 Oct 2026) */

/* Contact page form (12 Nov 2026) */
.contact-form{max-width:34rem;margin:1.2rem 0;padding:1rem 1.2rem;border:1px solid rgba(107,74,43,.35);border-radius:8px}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;box-sizing:border-box;padding:.5rem;font:inherit}
.contact-form .cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact-address{line-height:1.5}

/* ===== Design preview additions (layered on top of the live style.css) ===== */
/* 5. accessibility */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:#fff;color:#2b1a0e;padding:8px 14px;font-weight:600}
.skip:focus{left:8px;top:8px}
:focus-visible{outline:3px solid #8a3b1c;outline-offset:2px}
.masthead :focus-visible,.infobox :focus-visible{outline-color:#f0d9a0}
#wiki-search:focus-visible{outline:3px solid #f0d9a0;outline-offset:2px}
main:focus{outline:none}
.infobox th{color:#ecd08f}                    /* was #c9a24a: 3.5:1, now 5.6:1 */
.infobox .missing{color:#f0d9a0}
.crumbs,.count,.note,.filmo .fy,.sources .site,h2 small,footer,.columns .meta,.body h3 small,.entry h3 small,
.imdb-note,.votes,.missing{color:#6e5126}     /* was #8b6a35: ~4.1:1 on parchment, now 6:1 */
.infobox .imdb-note,.infobox .votes{color:#f3e7cc}
/* 2. sourcing */
.sourcing{margin:10px 0 14px;padding:8px 12px;background:#efe0bd;border-left:4px solid #8a3b1c;font-size:.95rem}
sup.fn{font-size:.72em;line-height:0;margin-left:1px}
sup.fn a{text-decoration:none;color:#8a3b1c;font-weight:600}
.sources li:target{background:#f6e3a8;outline:2px solid #c9a24a}
.backrefs{font-size:.8rem;margin-left:8px;color:#5f4520}.backrefs a{text-decoration:none;margin-left:3px}
mark.claim-flag{background:#f6dcc9;border-bottom:2px dashed #8a3b1c;padding:0 2px;color:inherit}
.claim-tag{display:inline-block;margin:0 4px;padding:0 6px;font:600 .72rem/1.6 Georgia,serif;background:#8a3b1c;color:#fff;border-radius:3px;vertical-align:1px}
/* 7. rating strip in plain words */
.tg-chips .tg-plain{display:inline-block;margin:2px 4px 2px 0;padding:1px 8px;border:1px solid #c9a24a;border-radius:10px;font-size:.82rem;background:#fbf4e2;color:#2b1a0e;white-space:nowrap}
.tg-help{margin:4px 0 0;font-size:.9rem}
/* 4. On this page */
.sourcing,.toc{display:flow-root}
.toc{font-size:.92rem;padding:8px 12px;margin:0 0 14px;background:#fbf4e2;border:1px solid #e6d3a8;border-left:4px solid #c9a24a}
.toc a{text-decoration:none;white-space:nowrap}
.entry h2[id]{scroll-margin-top:70px}
/* "On this page" is not sticky (Judah, 30 Oct 2026) */
/* 1. mobile: title + first paragraph before the fact box; fact box collapsed */
.ib-toggle{display:none}
@media(max-width:760px){
 .entry{display:flex;flex-direction:column}
 .entry>*{order:5}
 .entry>h1,.entry>.rule,.entry>.legend-title{order:0}
 .entry>.body{display:contents}
 .entry>.body>*{order:4}
 .entry>.body>p:first-of-type{order:1}
 .entry>aside.infobox{order:2}
 .entry>details.true-grit,.entry>.tg-help,.entry>.sourcing,.entry>.toc{order:3}
 .ib-collapsible:not(.expanded) .ib-extra{display:none}
 .ib-collapsible .frame{max-width:260px;margin:0 auto}
 .ib-toggle{display:block;width:100%;margin-top:10px;padding:8px;background:#c9a24a;color:#24150b;border:0;border-radius:3px;font:600 1rem Georgia,serif;cursor:pointer}
}
/* 6. home */
.start-here h2{margin-top:.6em}
.start-here .grid{grid-template-columns:repeat(4,1fr)}@media(max-width:600px){.start-here .grid{grid-template-columns:repeat(2,1fr)}}

/* AUTO-GENERATED by gen_dark.py - do not hand edit */
html[data-theme="dark"] body{color:var(--text);background:var(--surface-2)}
html[data-theme="dark"] a{color:var(--link)}
html[data-theme="dark"] a.xref:hover{color:var(--link)}
html[data-theme="dark"] main{background:var(--surface-2);border:1px solid var(--border)}
html[data-theme="dark"] h1{color:var(--text)}
html[data-theme="dark"] h1 .yr,html[data-theme="dark"] .yr{color:var(--muted)}
html[data-theme="dark"] h2{color:var(--text)}
html[data-theme="dark"] h2 small{color:var(--muted)}
html[data-theme="dark"] .lede::first-letter{color:var(--rust-text)}
html[data-theme="dark"] .crumbs{color:var(--muted)}
html[data-theme="dark"] .frame{background:var(--surface-2)}
html[data-theme="dark"] .frame figcaption a{color:var(--link)}
html[data-theme="dark"] .card{color:var(--text)}
html[data-theme="dark"] .thumb{background:var(--surface-2)}
html[data-theme="dark"] footer{color:var(--muted)}
html[data-theme="dark"] .missing{color:var(--muted)}
html[data-theme="dark"] .body>p:first-child::first-letter{color:var(--rust-text)}
html[data-theme="dark"] .body h3{color:var(--rust-text)}
html[data-theme="dark"] blockquote{background:var(--surface-2)}
html[data-theme="dark"] .missing{color:var(--muted)}
html[data-theme="dark"] .count{color:var(--muted)}
html[data-theme="dark"] .jump{background:var(--surface-2)}
html[data-theme="dark"] .jump a{color:var(--link)}
html[data-theme="dark"] .columns li{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .columns li a{color:var(--link)}
html[data-theme="dark"] .columns li a:hover{color:var(--link)}
html[data-theme="dark"] .columns .meta{color:var(--muted)}
html[data-theme="dark"] .note{color:var(--muted)}
html[data-theme="dark"] .filmo li{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .filmo .fy{color:var(--muted)}
html[data-theme="dark"] .filmo .unpub{color:var(--muted)}
html[data-theme="dark"] .body h3 small,html[data-theme="dark"] .entry h3 small{color:var(--muted)}
html[data-theme="dark"] .sources .site{color:var(--muted)}
html[data-theme="dark"] .topics{background:var(--surface-2)}
html[data-theme="dark"] .topics span{color:var(--muted)}
html[data-theme="dark"] .topics a{color:var(--link)}
html[data-theme="dark"] .lb-stage img{border-image:linear-gradient(135deg,var(--border),#7a5420,var(--border),#7a5420) 1}
html[data-theme="dark"] .view-toggle button{color:var(--rust-text)}
html[data-theme="dark"] .frame figcaption .credit{color:var(--text)}
html[data-theme="dark"] .gal{background:var(--surface-2)}
html[data-theme="dark"] .gal figcaption{background:var(--surface-2)}
html[data-theme="dark"] .gal .credit{color:var(--muted)}
html[data-theme="dark"] .cast-card{color:var(--text)}
html[data-theme="dark"] .cast-photo{background:var(--surface-2)}
html[data-theme="dark"] a.cast-card .cast-name{color:var(--link)}
html[data-theme="dark"] .role{color:var(--muted)}
html[data-theme="dark"] .more-cast summary{color:var(--rust-text);background:var(--surface-2)}
html[data-theme="dark"] .lb-links a{background:var(--surface-2);color:var(--link)}
html[data-theme="dark"] .lb-links a:hover{background:var(--surface-3)}
html[data-theme="dark"] .genre-bar .label{color:var(--muted)}
html[data-theme="dark"] .pill{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .pill:hover{background:var(--surface-3)}
html[data-theme="dark"] .about{color:var(--rust-text)}
html[data-theme="dark"] .frame figcaption{color:var(--text)}
html[data-theme="dark"] .frame figcaption a,html[data-theme="dark"] .frame .depicts a{color:var(--link)}
html[data-theme="dark"] .advice{background:var(--surface-2)}
html[data-theme="dark"] .advice-title{color:var(--rust-text)}
html[data-theme="dark"] .advice li{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .advice .cat{color:var(--text)}
html[data-theme="dark"] .lv-none{background:var(--surface-2);color:var(--muted);border-color:var(--border)}
html[data-theme="dark"] .lv-mild{background:var(--surface-2);color:var(--muted)}
html[data-theme="dark"] .lv-moderate{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .lv-unknown{color:var(--muted)}
html[data-theme="dark"] .advice .hint{color:var(--muted)}
html[data-theme="dark"] .advice-src{color:var(--muted)}
html[data-theme="dark"] .advice-src a{color:var(--link)}
html[data-theme="dark"] .mc-mixed{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] #wiki-search{color:var(--text)}
html[data-theme="dark"] #wiki-search:focus{border-color:var(--border)}
html[data-theme="dark"] .search-list{background:var(--surface-2)}
html[data-theme="dark"] .search-list li{color:var(--text)}
html[data-theme="dark"] .search-list li.active,html[data-theme="dark"] .search-list li:hover{background:var(--surface-3)}
html[data-theme="dark"] .s-title mark{color:var(--rust-text)}
html[data-theme="dark"] .s-meta{color:var(--muted)}
html[data-theme="dark"] .gal .role{color:var(--muted)}
html[data-theme="dark"] .gal a.capt{color:var(--link)}
html[data-theme="dark"] .search-list .s-all{color:var(--rust-text);border-top:1px dotted var(--border)}
html[data-theme="dark"] .results-page .count b{color:var(--rust-text)}
html[data-theme="dark"] .result{border-bottom:1px dotted var(--border);color:var(--text)}
html[data-theme="dark"] .result:hover{background:var(--surface-3)}
html[data-theme="dark"] .r-title{color:var(--rust-text)}
html[data-theme="dark"] .r-meta{color:var(--muted)}
html[data-theme="dark"] .result mark{background:var(--surface-2)}
html[data-theme="dark"] .placeholder-note{background:var(--surface-2)}
html[data-theme="dark"] .cat-intro{color:var(--muted)}
html[data-theme="dark"] .my-panel{background:var(--surface-2)}
html[data-theme="dark"] .my-label{color:var(--muted)}
html[data-theme="dark"] .my-toggle{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .my-rating button{background:var(--surface-2);color:var(--muted)}
html[data-theme="dark"] .my-rating button.on{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .my-clear{color:var(--muted)}
html[data-theme="dark"] .my-row.notes textarea{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] .my-status{color:var(--muted)}
html[data-theme="dark"] .btn-gold{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .btn-plain{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .mb.wishlist{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .mb.rating{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .my-chips .lbl{color:var(--muted)}
html[data-theme="dark"] .pencil:hover{color:var(--rust-text)}
html[data-theme="dark"] .em-box{background:var(--surface-2)}
html[data-theme="dark"] .em-page{color:var(--muted)}
html[data-theme="dark"] .em-box label,html[data-theme="dark"] .app-form label{color:var(--muted)}
html[data-theme="dark"] .em-box label small,html[data-theme="dark"] .app-form label small{color:var(--muted)}
html[data-theme="dark"] .em-box input,html[data-theme="dark"] .em-box textarea,html[data-theme="dark"] .app-form input,html[data-theme="dark"] .app-form textarea,html[data-theme="dark"] .app-form select{border:1px solid var(--border);background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .em-old{background:var(--surface-2)}
html[data-theme="dark"] .em-close{color:var(--muted)}
html[data-theme="dark"] .em-status{color:var(--muted)}
html[data-theme="dark"] .app-form fieldset.img-row{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] .app-form fieldset legend{color:var(--muted)}
html[data-theme="dark"] .app-msg.error{color:var(--rust-text)}
html[data-theme="dark"] .app-msg.ok{color:var(--muted)}
html[data-theme="dark"] .app-table th{color:var(--muted)}
html[data-theme="dark"] .app-table td{border-bottom:1px solid var(--border)}
html[data-theme="dark"] .app-table td.notes{color:var(--muted)}
html[data-theme="dark"] .app-table .my-badge{background:var(--surface-2);border:1px solid var(--border)}
html[data-theme="dark"] details summary{color:var(--rust-text)}
html[data-theme="dark"] .review-card{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] .review-card .meta{color:var(--muted)}
html[data-theme="dark"] .diff{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] .d-del{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .d-add{background:var(--surface-2);color:var(--muted)}
html[data-theme="dark"] .d-same{color:var(--muted)}
html[data-theme="dark"] .oauth-btn{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] a.oauth-btn:hover{background:var(--surface-3)}
html[data-theme="dark"] .oauth-btn small{color:var(--muted)}
html[data-theme="dark"] .logo.google{background:var(--surface-2)}
html[data-theme="dark"] .logo.microsoft{background:var(--surface-2)}
html[data-theme="dark"] .import-card{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] .import-card .cat{color:var(--muted)}
html[data-theme="dark"] .diff del{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .diff ins{background:var(--surface-2);color:var(--muted)}
html[data-theme="dark"] .ep-sub{color:var(--muted)}
html[data-theme="dark"] .guests .role,html[data-theme="dark"] .tv-credits .role{color:var(--muted)}
html[data-theme="dark"] details.season{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] details.season summary{color:var(--text)}
html[data-theme="dark"] details.season summary small{color:var(--muted)}
html[data-theme="dark"] details.season[open] summary{border-bottom:1px solid var(--border)}
html[data-theme="dark"] .air{color:var(--muted)}
html[data-theme="dark"] .ep-links{color:var(--muted)}
html[data-theme="dark"] ul.nearby .dist{color:var(--muted)}
html[data-theme="dark"] .ib-logo img{background:var(--surface-2)}
html[data-theme="dark"] .hero-name{color:var(--text)}
html[data-theme="dark"] .card .credits{color:var(--muted)}
html[data-theme="dark"] details.more-people{border:1px solid var(--border);background:var(--surface-2)}
html[data-theme="dark"] details.more-people > summary{color:var(--rust-text)}
html[data-theme="dark"] details.more-people > summary small{color:var(--muted)}
html[data-theme="dark"] ul.people-az .meta{color:var(--muted)}
html[data-theme="dark"] .az-top a:hover{background:var(--surface-3);color:var(--link)}
html[data-theme="dark"] .az-top .off,html[data-theme="dark"] .az-side .off{color:var(--muted)}
html[data-theme="dark"] #az-filter{background:var(--surface-2)}
html[data-theme="dark"] .az-chips button{background:var(--surface-2);color:var(--rust-text)}
html[data-theme="dark"] .az-chips button.on{background:var(--surface-2)}
html[data-theme="dark"] #az-count{color:var(--muted)}
html[data-theme="dark"] .az-letter h2{color:var(--rust-text);border-bottom:1px solid var(--border)}
html[data-theme="dark"] .az-list li{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .az-list li > b{color:var(--text)}
html[data-theme="dark"] .az-list i{background:var(--surface-2);color:var(--muted)}
html[data-theme="dark"] .hero-az a{color:var(--link)}
html[data-theme="dark"] .editor-mode .needs-sources{background:var(--surface-2)}
html[data-theme="dark"] .editor-mode .ns-tag{color:var(--rust-text)}
html[data-theme="dark"] .editor-mode .src-count{color:var(--muted);background:var(--surface-2)}
html[data-theme="dark"] .film-series{background:var(--surface-2)}
html[data-theme="dark"] .film-series .sstep{border-bottom:1px dashed var(--border)}
html[data-theme="dark"] .film-series .sstep a{color:var(--link)}
html[data-theme="dark"] .film-series .sy{color:var(--muted)}
html[data-theme="dark"] .film-series li.cur{background:var(--surface-3)}
html[data-theme="dark"] .film-series li.cur strong{color:var(--text)}
html[data-theme="dark"] .film-series .slabel{background:var(--surface-2);color:var(--muted)}
html[data-theme="dark"] .film-series .snote{color:var(--muted);border-top:1px dashed var(--border)}
html[data-theme="dark"] .film-series .slist a{color:var(--link)}
html[data-theme="dark"] .film-series .slist a:hover{color:var(--link)}
html[data-theme="dark"] .verse{background:var(--surface-2)}
html[data-theme="dark"] .art-tags .label{color:var(--muted)}
html[data-theme="dark"] .art-tags .tag{background:var(--surface-2)}
html[data-theme="dark"] ul.art-works .meta,html[data-theme="dark"] ul.related .meta{color:var(--muted)}
html[data-theme="dark"] .depiction-note{color:var(--muted)}
html[data-theme="dark"] .verse-source{color:var(--muted)}
html[data-theme="dark"] .title-note{color:var(--muted)}
html[data-theme="dark"] .content-note{color:var(--muted)}
html[data-theme="dark"] .text-removed{color:var(--muted)}
html[data-theme="dark"] p.judah-note{background:var(--surface-2)}
html[data-theme="dark"] .true-grit{background:var(--surface-2)}
html[data-theme="dark"] .true-grit h2{color:var(--rust-text)}
html[data-theme="dark"] .true-grit h3{color:var(--muted)}
html[data-theme="dark"] .tg-num{color:var(--text)}
html[data-theme="dark"] .tg-of{color:var(--muted)}
html[data-theme="dark"] .tg-label{color:var(--text)}
html[data-theme="dark"] .tg-unknown{color:var(--muted)}
html[data-theme="dark"] .tg-ends{color:var(--muted)}
html[data-theme="dark"] .tg-checks li,html[data-theme="dark"] .tg-content li{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .tg-note{color:var(--muted)}
html[data-theme="dark"] .tg-srch{color:var(--muted)}
html[data-theme="dark"] .tg-meta{color:var(--muted)}
html[data-theme="dark"] .tg-legend b{color:var(--rust-text)}
html[data-theme="dark"] .tg-prov{color:var(--muted);background:var(--surface-2)}
html[data-theme="dark"] .tg-prov-line{color:var(--muted)}
html[data-theme="dark"] .tg-quote{color:var(--muted)}
html[data-theme="dark"] .tg-quote a::before{color:var(--link)}
html[data-theme="dark"] .tg-legacy{color:var(--muted)}
html[data-theme="dark"] .tg-unchecked{color:var(--muted)}
html[data-theme="dark"] .tg-sum-title{color:var(--rust-text)}
html[data-theme="dark"] .tg-chip{border:1px solid var(--border);background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .tg-partly{color:var(--muted);background:var(--surface-2);border:1px solid var(--border)}
html[data-theme="dark"] .tg-steps .tg-cap{color:var(--muted)}
html[data-theme="dark"] .tg-chev{background:var(--surface-2)}
html[data-theme="dark"] .tg-aud-credit{color:var(--muted)}
html[data-theme="dark"] .tg-chip-aud{background:var(--surface-2)}
html[data-theme="dark"] .tg-steps li{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .tg-steps .tg-minus{color:var(--rust-text)}
html[data-theme="dark"] .tg-steps .tg-plus{color:var(--muted)}
html[data-theme="dark"] .tg-sec{border-top:1px solid var(--border)}
html[data-theme="dark"] .tg-h-sub{color:var(--muted)}
html[data-theme="dark"] .tg-lead{color:var(--muted)}
html[data-theme="dark"] .tg-row{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .tg-rname{color:var(--text)}
html[data-theme="dark"] .tg-rnote{color:var(--muted)}
html[data-theme="dark"] .tg-more{color:var(--muted)}
html[data-theme="dark"] .tg-more > summary{color:var(--muted)}
html[data-theme="dark"] .tg-more-n{color:var(--muted)}
html[data-theme="dark"] .tg-others li{border-left:2px solid var(--border)}
html[data-theme="dark"] .tg-others .tg-rname{color:var(--muted)}
html[data-theme="dark"] .tg-others .tg-rnote{color:var(--muted)}
html[data-theme="dark"] .tg-snote{color:var(--muted)}
html[data-theme="dark"] .tg-crow{border-bottom:1px dotted var(--border)}
html[data-theme="dark"] .tg-lword{color:var(--text)}
html[data-theme="dark"] .tg-key{color:var(--muted)}
html[data-theme="dark"] .tg-sec-src h3{color:var(--muted)}
html[data-theme="dark"] .tg-sec-src .tg-sources{color:var(--muted)}
html[data-theme="dark"] .tg-small{border-top:1px solid var(--border);color:var(--muted)}
html[data-theme="dark"] .tg-others-common{color:var(--muted)}
html[data-theme="dark"] .crumbs,html[data-theme="dark"] .count,html[data-theme="dark"] .note,html[data-theme="dark"] .filmo .fy,html[data-theme="dark"] .sources .site,html[data-theme="dark"] h2 small,html[data-theme="dark"] footer,html[data-theme="dark"] .columns .meta,html[data-theme="dark"] .body h3 small,html[data-theme="dark"] .entry h3 small,html[data-theme="dark"] .imdb-note,html[data-theme="dark"] .votes,html[data-theme="dark"] .missing{color:var(--muted)}
html[data-theme="dark"] .sourcing{background:var(--surface-2)}
html[data-theme="dark"] sup.fn a{color:var(--link)}
html[data-theme="dark"] .sources li:target{background:var(--surface-3)}
html[data-theme="dark"] .backrefs{color:var(--muted)}
html[data-theme="dark"] mark.claim-flag{background:var(--surface-2)}
html[data-theme="dark"] .tg-chips .tg-plain{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .toc{background:var(--surface-2);border:1px solid var(--border)}

/* ===== Theme tokens ("night on the trail") =====
   Port: copy the :root + [data-theme=dark] blocks, dark-auto.css and the
   inline <head> script into the real build. */
:root{
  --bg:#f3e7cc; --surface:#fbf4e2; --surface-2:#fbf4e2; --surface-3:#efe0bd;
  --text:#2b1a0e; --muted:#6e5126; --heading:#3a2414; --link:#8a3b1c; --rust-text:#8a3b1c;
  --accent:#c9a24a; --border:#e6d3a8; --img-dim:none;
}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#1a1512;        /* page */
  --surface:#221b16;   /* main column */
  --surface-2:#2c231d; /* cards, fact box, panels */
  --surface-3:#3a2e25; /* hover / highlighted */
  --text:#ece3d3;      /* parchment text */
  --muted:#c2b196;     /* secondary text */
  --heading:#f0dcb0;   /* headings */
  --link:#f2b77c;      /* links (always underlined in dark) */
  --rust-text:#ec9a74; /* rust accents as text */
  --accent:#d8b46a;    /* brass */
  --border:#4d3d30;
  --img-dim:brightness(.9);
}
html[data-theme="dark"] body{background:var(--bg);color:var(--text)}
html[data-theme="dark"] main{background:var(--surface);border-color:var(--border);box-shadow:0 0 0 1px #0006,0 10px 40px #0008}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] .body h3,html[data-theme="dark"] .true-grit h2{color:var(--heading)}
html[data-theme="dark"] h2{border-bottom-color:#6b5530}
html[data-theme="dark"] main a:not(.card):not(.cast-card):not(.pill):not(.result):not(.fcard){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
html[data-theme="dark"] main a.xref{border-bottom:0}
html[data-theme="dark"] .masthead{background:linear-gradient(#221a14,#140f0c);border-bottom:1px solid #3a2e25}
html[data-theme="dark"] #wiki-search{background:var(--surface-2);color:var(--text);border-color:#6b5530}
html[data-theme="dark"] #wiki-search::placeholder{color:var(--muted)}
html[data-theme="dark"] .search-list{border-color:var(--border)}
/* fact box: warm raised surface instead of the brown gradient */
html[data-theme="dark"] .infobox{background:linear-gradient(160deg,#33281f,#271f19);border:1px solid var(--border);color:var(--text);box-shadow:0 6px 20px #0008}
html[data-theme="dark"] .infobox th{color:#ecd08f}
html[data-theme="dark"] .infobox a{color:var(--link)}
/* picture frames: muted brass instead of bright gold */
html[data-theme="dark"] .frame,html[data-theme="dark"] .thumb{background:linear-gradient(135deg,#7a5f30,#4a3920,#8a6c38,#4a3920)}
html[data-theme="dark"] .frame figcaption{color:var(--text);background:#1a1512cc;padding:3px 6px;border-radius:2px}
html[data-theme="dark"] .frame figcaption a,html[data-theme="dark"] .frame figcaption .credit{color:var(--link)}
/* images: stills/photos dimmed slightly; posters keep full colour */
html[data-theme="dark"] .frame img,html[data-theme="dark"] .gal img,html[data-theme="dark"] .cast-photo img{filter:sepia(.25) var(--img-dim)}
html[data-theme="dark"] figure.fair-use img,html[data-theme="dark"] .thumb img,html[data-theme="dark"] .pv-poster img{filter:none}
html[data-theme="dark"] .card{color:var(--text)}
html[data-theme="dark"] blockquote,html[data-theme="dark"] .topics{background:var(--surface-2)}
html[data-theme="dark"] .pill{color:var(--text);border-color:#6b5530}
html[data-theme="dark"] .pill.on{color:#2a180b}
/* preview additions */
html[data-theme="dark"] .sourcing{background:var(--surface-2);border-left-color:#c76a45}
html[data-theme="dark"] .toc{background:var(--surface-2);border-color:var(--border);border-left-color:var(--accent)}
html[data-theme="dark"] mark.claim-flag{background:#4a2c1f;color:var(--text);border-bottom-color:#e08a62}
html[data-theme="dark"] .claim-tag{background:#a4482a;color:#fff}
html[data-theme="dark"] sup.fn-demo a{border-color:var(--link)}
html[data-theme="dark"] .tg-chips .tg-plain{border-color:#6b5530}
html[data-theme="dark"] .true-grit{border-color:#6b5530}
html[data-theme="dark"] .tg-stars .off{color:#5a4a3a}
html[data-theme="dark"] :focus-visible{outline-color:var(--accent)}
html[data-theme="dark"] footer{color:var(--muted)}
html[data-theme="dark"] .film-series .shead{background:#140f0c}

/* ===== Theme toggle (header) ===== */
.theme-toggle{position:absolute;top:10px;right:12px;width:42px;height:42px;border-radius:50%;
  border:1px solid #c9a24a99;background:#0003;color:#e8cf8a;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.theme-toggle:hover{background:#0005}
.theme-toggle svg{width:20px;height:20px}
.theme-toggle .i-sun{display:none}
html[data-theme="dark"] .theme-toggle .i-sun{display:block}
html[data-theme="dark"] .theme-toggle .i-moon{display:none}
.masthead{position:relative}
html[data-theme="dark"] .pv-banner a{color:#fff}
html[data-theme="dark"] .skip{background:var(--surface-2);color:var(--text)}
html[data-theme="dark"] .pill.on{background:linear-gradient(#e8cf8a,#b8893a);color:#2a180b}
html[data-theme="dark"] .pill.on small{color:#2a180b}
html[data-theme="dark"] .legend-badge{background:linear-gradient(#f3dc94,#c99a3e);color:#3b2412}
html[data-theme="dark"] .tg-stars .off{color:#9c8a70}
html[data-theme="dark"] .film-series .sn{color:#d4a64e}

@font-face{font-family:"Source Sans 3";src:url(fonts/sans.woff2) format("woff2");font-weight:400 700;font-display:swap}@font-face{font-family:"EB Garamond";src:url(fonts/sans.woff2) format("woff2");font-weight:400 700;font-display:swap}@font-face{font-family:"Rye";src:url(fonts/rye.woff2) format("woff2");font-display:swap}@font-face{font-family:"Playfair Display";src:url(fonts/rye.woff2) format("woff2");font-display:swap}

/* ===== Modernisation layer (preview only). Uses the theme tokens from dark.css ===== */
:root{--radius:12px;--shadow:0 1px 2px #2b1a0e14,0 6px 18px #2b1a0e1a;--shadow-up:0 2px 4px #2b1a0e1f,0 14px 30px #2b1a0e2e;
  --bg:#f6efe2;--surface:#fffaf2;--surface-2:#fbf4e6;--chip:#2b1a0e;--chip-text:#fbf4e2}
html[data-theme="dark"]{--shadow:0 1px 2px #0006,0 6px 18px #0005;--shadow-up:0 2px 4px #0008,0 16px 34px #0009;--chip:#120e0b;--chip-text:#f0dcb0}
html{font-synthesis-weight:none}
/* --- 3. type + 4. calmer textures --- */
body{font-family:"EB Garamond",system-ui,sans-serif;background:var(--bg)!important;background-image:none!important;line-height:1.65}
.body{font-size:1.06rem}
main{background:var(--surface)!important;background-image:none!important;border:0!important;border-radius:16px;box-shadow:var(--shadow)!important;padding:40px 48px!important;margin-top:22px!important}
@media(max-width:760px){main{padding:18px 16px!important;border-radius:0;margin-top:0!important;box-shadow:none!important}}
h1{font-size:clamp(1.9rem,4.4vw,2.9rem);line-height:1.12;letter-spacing:.01em;font-weight:400}
h2{font-weight:400;letter-spacing:.01em;margin-top:1.8em}
.body p{margin:0 0 1.05em}
.rule{opacity:.55}
.thumb{padding:0!important;background:none!important;box-shadow:none!important;border-radius:10px;overflow:hidden}
.thumb img{filter:none!important;height:auto!important}
.frame{background:none!important;padding:0!important;border:1px solid var(--accent)!important;border-radius:10px;overflow:hidden;box-shadow:none!important}
.masthead{background-image:linear-gradient(#2a190e,#1d120a)!important;padding-bottom:10px}
html[data-theme="dark"] .masthead{background-image:linear-gradient(#120d0a,#0e0a08)!important}
.masthead .brand{font-size:2.2rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* --- 1. image-led hero headers --- */
.hero-head{position:relative;margin:-40px -48px 28px;border-radius:16px 16px 0 0;overflow:hidden;min-height:380px;display:flex;flex-direction:column;justify-content:flex-end;background:#1a120c;color:#fbf4e2}
.hero-head.no-img{min-height:0;padding-top:24px}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%}
.hero-films .hero-img{object-position:center 50%}
.hero-text .crumbs{font-size:.95rem!important;opacity:1}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0d080526 0%,#0d080566 35%,#0d0805d9 68%,#0d0805f7 100%)}
@media(min-width:761px){.hero-portrait .hero-text{max-width:58%}}
.hero-portrait{background:linear-gradient(120deg,#2a190e,#120b07)}
.hero-portrait .hero-img{left:auto;width:min(42%,380px);object-position:center 20%;-webkit-mask-image:linear-gradient(90deg,#0000,#000 35%);mask-image:linear-gradient(90deg,#0000,#000 35%)}
.hero-portrait .hero-shade{background:linear-gradient(180deg,#0000 40%,#0d0805b3 100%)}
@media(max-width:760px){.hero-portrait .hero-img{width:100%;-webkit-mask-image:none;mask-image:none;object-position:center 15%}.hero-portrait .hero-shade{background:linear-gradient(180deg,#0d080526 0%,#0d080566 35%,#0d0805d9 68%,#0d0805f7 100%)}}
.hero-text{position:relative;padding:24px 48px 18px;max-width:900px}
.hero-text h1{color:#fff8ea!important;text-shadow:0 2px 12px #000a;margin:.1em 0 .15em}
.hero-text h1 .yr{color:#ecd08f!important}
.hero-text .crumbs,.hero-text .crumbs a{color:#ecd8b4!important;font-size:.9rem}
.hero-text .crumbs a{text-decoration:underline}
.hero-facts{margin:0;color:#efe2c8;font-size:1rem}
.hero-facts span+span:before{content:""}
.hero-tg{display:inline-flex;align-items:center;gap:10px;margin-top:12px;padding:6px 14px 6px 6px;border-radius:40px;background:#000a;color:#fbf4e2!important;text-decoration:none!important;backdrop-filter:blur(4px)}
.hero-tg b{display:block;font-weight:600;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:#ecd08f}
.hero-tg span{font-size:.95rem;line-height:1.25}
.hero-credit{position:relative;margin:0;padding:6px 48px 10px;font-size:.78rem;color:#d9c9ac;background:#0d0805}
.hero-credit a{color:#f2c992!important}
.hero-credit *{color:inherit;font-size:inherit}
@media(max-width:760px){.hero-head{margin:-18px -16px 18px;border-radius:0;min-height:300px}.hero-text{padding:18px 16px 12px}.hero-credit{padding:6px 16px 8px}}
/* --- 2. poster cards --- */
.mc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px}
.mc-row{display:grid;grid-auto-flow:column;grid-auto-columns:150px;gap:16px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.mc-row>*{scroll-snap-align:start}
.mcard{display:flex;flex-direction:column;text-decoration:none!important;color:var(--text)!important;border-radius:var(--radius);background:var(--surface-2);box-shadow:var(--shadow);overflow:hidden}
.mc-img{position:relative;display:block;aspect-ratio:2/3;background:var(--surface-3)}
.mc-img img{width:100%;height:100%;object-fit:cover;display:block}
.mc-noimg{display:flex;height:100%;align-items:center;justify-content:center;color:var(--accent);font-size:2rem}
.mc-body{display:flex;flex-direction:column;gap:2px;padding:9px 11px 11px}
.mc-title{font-weight:600;line-height:1.25;font-size:.95rem}
.mc-sub{font-size:.85rem;color:var(--muted)}
.mc-why{font-size:.78rem;color:var(--rust-text);line-height:1.3}
.mc-note{color:var(--muted);font-size:.92rem;margin:-.4em 0 .9em}
.tgm-defs{position:absolute;width:0;height:0;overflow:hidden}
.tg-mini{position:absolute;top:7px;right:7px;width:44px;height:44px;z-index:1;overflow:visible;filter:drop-shadow(0 1px 2px #000c) drop-shadow(0 0 1px #000);pointer-events:auto}
svg.tg-mini{padding:0!important;border:0!important;background:none!important;border-radius:0!important;font:inherit;box-shadow:none}
.tg-mini:not(.tg-star) text{font-family:Rye,Georgia,serif}
.tg-mini .tgm-prov{stroke:#fff4d8;stroke-width:3;stroke-dasharray:7 5}
@media(max-width:760px){.tg-mini{width:38px;height:38px}}
/* film list grid */
.grid.posters{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px}
.grid.posters .card{background:var(--surface-2);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;text-align:left}
.grid.posters .thumb{position:relative;border-radius:0}
.grid.posters .cap{padding:8px 10px 10px;font-size:.92rem;line-height:1.3}
.grid.posters .cap .yr{display:inline-block;margin-left:4px;padding:0 7px;border-radius:10px;background:var(--surface-3);color:var(--muted);font-size:.8rem}
@media(max-width:600px){.mc-grid,.grid.posters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.mc-row{grid-auto-columns:42vw}}
/* --- 5. search centrepiece --- */
.home-search{text-align:center;padding:34px 12px 30px;margin:-40px -48px 30px;border-radius:16px 16px 0 0;background:radial-gradient(120% 140% at 50% 0%,#5a3a1f,#24160c 70%);color:#fbf4e2}
.home-search h1{color:#fff3da!important;margin:0 0 .25em}
.hs-sub{color:#e8d9bd;max-width:620px;margin:0 auto 18px}
.home-search .search{width:min(680px,100%)!important;margin:0 auto!important}
.home-search #wiki-search{font-size:1.2rem!important;padding:16px 56px 16px 20px!important;border-radius:40px!important;box-shadow:0 8px 30px #0007!important}
.home-search #wiki-search-go{border-radius:50%!important}
.hs-hint{margin:16px 0 0;color:#e8d9bd;font-size:.92rem}
.hs-hint a,.random-btn{color:#ffd9a3!important;text-decoration:underline}
.random-btn{background:none;border:0;font:inherit;cursor:pointer;padding:0}
kbd{display:inline-block;padding:0 6px;border:1px solid #ffffff55;border-bottom-width:2px;border-radius:5px;font:600 .8rem "EB Garamond",sans-serif;background:#ffffff14}
.search-list img{width:36px!important;height:48px!important;border-radius:4px!important;filter:none!important}
@media(max-width:760px){.home-search{margin:-18px -16px 22px;border-radius:0;padding:26px 14px}}
/* --- 6. wander --- */
.otd{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:18px 22px;margin:30px 0}
.otd h2{margin-top:0}
.otd-card{display:flex;gap:16px;align-items:baseline;flex-wrap:wrap}
.otd-date{font:1.5rem "Rye",serif;color:var(--rust-text)}
.otd-card a{font-size:1.15rem;font-weight:600}
.otd-more{margin:.6em 0 0;padding-left:1.1em;color:var(--muted)}
.collection{margin:30px 0}
.liked{margin:34px 0 10px}
/* --- 7. True Grit chart --- */
.liked,.sourcing,.toc{display:flow-root}
/* S V L content blocks in the rating strip */
.tg-chips .tg-svl{display:inline-flex;align-items:center;gap:3px;margin:2px 4px 2px 0;padding:1px 6px 1px 8px;border:1px solid #c9a24a;border-radius:10px;background:#fbf4e2;vertical-align:middle;white-space:nowrap}
.tg-svl-k{font-size:.78rem;color:#5a4226;margin-right:3px}
.tg-svl .tg-lbox{font-size:.72rem;width:1.55em;height:1.55em;cursor:help}
html[data-theme="dark"] .tg-chips .tg-svl{background:var(--surface-2);border-color:#6b5530}
html[data-theme="dark"] .tg-svl-k{color:var(--muted)}
html[data-theme="dark"] .tg-svl .tg-lbox{box-shadow:0 0 0 1px #ffffff59}
/* --- 9. bottom nav --- */
.bottom-nav,.soon{display:none}
@media(max-width:760px){
 .bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:50;background:#1d120af2;backdrop-filter:blur(8px);border-top:1px solid #c9a24a55;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
 .bottom-nav a,.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:48px;justify-content:center;color:#f0dcb0!important;text-decoration:none!important;background:none;border:0;font:600 .72rem "EB Garamond",sans-serif;cursor:pointer}
 .bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
 body{padding-bottom:76px}
 .soon:not([hidden]){display:block;position:fixed;left:12px;right:12px;bottom:84px;z-index:51;padding:14px 16px;border-radius:12px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-up);border:1px solid var(--border)}
 .soon button{margin-left:8px;padding:4px 14px;border-radius:20px;border:1px solid var(--border);background:var(--surface-3);color:var(--text);font:inherit}
 .theme-toggle{top:8px!important;right:8px!important;width:38px!important;height:38px!important}
 .masthead .brand{font-size:1.6rem;padding-right:40px}
}
/* --- 8. motion (only when the reader hasn't asked for less) --- */
.read-progress{position:fixed;top:0;left:0;right:0;height:4px;z-index:60;transform-origin:0 50%;transform:scaleX(var(--p,0));background:linear-gradient(90deg,#c9a24a,#a4482a)}
@media (prefers-reduced-motion:no-preference){
 .mcard,.grid.posters .card{transition:transform .22s ease,box-shadow .22s ease}
 .mcard:hover,.mcard:focus-visible,.grid.posters .card:hover,.grid.posters .card:focus-visible{transform:translateY(-5px);box-shadow:var(--shadow-up)}
 .mc-img img,.grid.posters .thumb img{transition:transform .4s ease}
 .mcard:hover .mc-img img,.grid.posters .card:hover .thumb img{transform:scale(1.04)}
 .hero-text,.home-search>*{animation:fw-up .6s ease both}
 @supports (animation-timeline:view()){.fade{animation:fw-rise linear both;animation-timeline:view();animation-range:entry 0% entry 30%}}
 @supports (animation-timeline:scroll()){.read-progress{animation:fw-grow linear both;animation-timeline:scroll(root)}}
}
@media (prefers-reduced-motion:reduce){.read-progress{display:none}*{scroll-behavior:auto!important}}
@keyframes fw-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes fw-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* --- 10. dark-mode touches for new parts --- */
html[data-theme="dark"] .home-search{background:radial-gradient(120% 140% at 50% 0%,#3a2716,#140d08 70%)}
html[data-theme="dark"] .mcard,html[data-theme="dark"] .grid.posters .card{border:1px solid var(--border)}
html[data-theme="dark"] .hero-img,html[data-theme="dark"] .mc-img img{filter:none}
html[data-theme="dark"] main a.mcard{text-decoration:none!important}
/* rating strip directly under the hero on phones too */
@media(max-width:760px){.tg-chips .tg-plain,.tg-chips .tg-svl{font-size:.78rem}}
/* --- gallery lightbox: caption in its own bar below the picture, never on top of it --- */
.lb.open{display:flex;flex-direction:column;align-items:stretch;background:radial-gradient(ellipse at center,#24150bfa,#0c0703fd)}
.lb .lb-links{position:static;order:0;flex:none;padding:12px 8px 4px}
.lb .lb-stage{position:relative;inset:auto;order:1;flex:1 1 auto;min-height:0;margin:8px 90px 0}
.lb .lb-stage img{max-width:100%;max-height:100%}
.lb .lb-cap{position:static;order:2;flex:none;align-self:center;box-sizing:border-box;width:min(900px,calc(100vw - 24px));max-height:26vh;overflow:auto;
 margin:12px 0 0;padding:10px 16px;background:#140c06;border:1px solid #c9a24a66;border-radius:10px;color:#f0dcb0;line-height:1.4;font-size:1rem;pointer-events:auto;overflow-wrap:anywhere}
.lb .lb-cap small{color:#d9c8a4}
.lb .lb-cap a{color:#f2b77c}
.lb .lb-cap:empty{display:none}
.lb .lb-bar{position:static;transform:none;order:3;flex:none;align-self:center;padding:10px 0 14px}
@media(max-width:760px){
 .lb .lb-stage{margin:6px 8px 0}
 .lb .lb-cap{max-height:30vh;font-size:.92rem;padding:8px 12px}
 .lb .lb-nav{top:auto;bottom:14px;transform:none;width:44px;height:44px}
 .lb .lb-prev{left:12px}.lb .lb-next{right:12px}
}
/* ---- Pro / badges mock-up (preview only) ---- */
.go-pro{position:absolute;top:16px;right:64px;font:600 .85rem/1 "EB Garamond",Georgia,serif;letter-spacing:.04em;text-transform:uppercase;color:#f3e2b8!important;text-decoration:none!important;border:1px solid #c9a24a99;border-radius:999px;padding:7px 12px;background:#0003}
.go-pro:hover{background:#c9a24a33}
.masthead nav a.nav-pro{display:none;color:#f2b77c!important}
#mock-coffee{margin-top:8px}
.soon a{color:inherit;text-decoration:underline}
.mock-flag{border:2px dashed #b5692a;background:#b5692a1a;color:var(--text);border-radius:10px;padding:10px 14px;margin:0 0 22px;font-size:.95rem}
.ex-tag{display:inline-block;vertical-align:middle;font:600 .72rem/1 "EB Garamond",Georgia,serif;text-transform:uppercase;letter-spacing:.06em;color:#8a3b1c;border:1px solid currentColor;border-radius:999px;padding:4px 8px;margin-left:6px}
html[data-theme="dark"] .ex-tag{color:#ec9a74}
.pro-page{max-width:960px;margin:0 auto;padding:4px 0 30px}
.pro-page h1{font-family:Rye,serif;color:var(--heading);font-size:clamp(1.7rem,4vw,2.4rem);margin:.1em 0 .4em;line-height:1.15}
.pro-page h2{font-family:Rye,serif;color:var(--heading);margin:1.7em 0 .5em}
.pro-page section{margin-bottom:10px}
.pro-hero{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:22px 24px}
.pro-lede{font-size:1.15rem}
.pt-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px}
.pro-table{width:100%;border-collapse:collapse;background:var(--surface);font-size:1rem;margin:0}
.pro-table th,.pro-table td{padding:10px 14px;border-bottom:1px solid var(--border);text-align:center;vertical-align:middle}
.pro-table tbody th{text-align:left;font-weight:400}
.pro-table thead th{background:var(--surface-3);font-weight:700;color:var(--heading)}
.pro-table thead th:first-child{text-align:left}
.pro-table .pt-pro{background:#c9a24a;color:#2b1a0e}
.pro-table tr:last-child>*{border-bottom:0}
.pro-table td:last-child{background:#c9a24a14}
.pt-yes{color:#3f7a3a;font-weight:700;font-size:1.15rem}
html[data-theme="dark"] .pt-yes{color:#8fd08a}
.pt-no{color:var(--muted)}
.pt-fn{display:block;font-size:.75rem;color:var(--muted)}
.pro-table .bdg-sm{width:28px;height:28px;vertical-align:middle;margin-left:4px}
.price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.price-card{position:relative;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:20px;display:flex;flex-direction:column}
.price-card h3{margin:0 0 6px;color:var(--heading)}
.price{font-size:1.05rem;margin:0 0 8px}.price span{font-family:Rye,serif;font-size:2rem;color:var(--heading)}
.price-later{font-family:Rye,serif;font-size:1.3rem;color:var(--muted)}
.price-best{border:2px solid #c9a24a;box-shadow:0 6px 22px #c9a24a33}
.best-tag{position:absolute;top:-12px;left:18px;background:#c9a24a;color:#2b1a0e;font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;padding:4px 10px;border-radius:999px}
.price-api{background:transparent;border-style:dashed}
.pro-btn{margin-top:auto;display:block;width:100%;text-align:center;font:600 1rem/1.2 "EB Garamond",Georgia,serif;padding:11px 14px;border-radius:10px;border:1px solid #8a3b1c;background:transparent;color:var(--link);cursor:pointer;text-decoration:none!important}
.pro-btn-main{background:#8a3b1c;color:#fff8ec;border-color:#8a3b1c}
.pro-btn:hover{filter:brightness(1.1)}
.pro-btn-ghost{border-style:dashed}
.mock-pay{margin:14px 0 0;padding:9px 12px;border-radius:8px;background:var(--surface-3);color:var(--text);font-size:.93rem}
.flash{animation:fl 1.2s ease}
@keyframes fl{0%,30%{background:#e0a53c;color:#2b1a0e}100%{}}
.coffee{margin-top:26px;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:6px 22px 16px}
.coffee h2{margin-top:.8em}
.coffee-btn{display:inline-flex;align-items:center;gap:8px;font:700 1.05rem/1 "EB Garamond",Georgia,serif;background:#ffdd57;color:#2b1a0e;border:0;border-radius:999px;padding:12px 20px;cursor:pointer;box-shadow:0 2px 0 #b8942a}
.coffee-btn svg{width:22px;height:22px;fill:none;stroke:#2b1a0e;stroke-width:2}
.coffee-btn svg path:first-child{fill:#fff}
.conduct ul{padding-left:1.2em}.conduct li{margin:.35em 0}
.pro-faq details{border:1px solid var(--border);border-radius:10px;margin:8px 0;background:var(--surface);padding:0 14px}
.pro-faq summary{cursor:pointer;padding:12px 0;font-weight:600;color:var(--heading)}
.pro-faq details p{margin:0 0 12px}
/* badges */
.bdg-defs{position:absolute;width:0;height:0;overflow:hidden}
.pf-av{display:inline-grid;place-items:center;width:72px;height:72px;border-radius:50%;flex:none;font:700 1.5rem/1 Rye,serif;color:#fff8ec;background:hsl(var(--h) 45% 38%);border:3px solid #c9a24a}
.pf-card{display:flex;gap:20px;align-items:center;flex-wrap:wrap;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:20px}
.pf-card h1{margin:0;font-size:clamp(1.5rem,3.5vw,2rem)}
.pf-id{flex:1 1 260px}.pf-id .mc-note{margin:.3em 0 .6em}
.pf-row{display:flex;gap:6px;flex-wrap:wrap}
.pf-stats{display:flex;gap:12px;margin:0}
.pf-stats div{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:8px 14px;text-align:center;min-width:86px}
.pf-stats dt{font-size:.78rem;color:var(--muted)}.pf-stats dd{margin:0;font:1.5rem Rye,serif;color:var(--heading)}
.bdg-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.bdg-card{display:flex;gap:14px;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px}
.bdg-card h3{margin:2px 0 4px;font-size:1.1rem;color:var(--heading)}
.bdg-state{margin:0;font-size:.93rem}
.bdg-card.is-locked{background:transparent;border-style:dashed}
.bdg-card.is-locked h3,.bdg-card.is-locked .bdg-state{color:var(--muted)}
.bdg-prog{height:8px;border-radius:99px;background:var(--surface-3);margin:8px 0 2px;overflow:hidden}.bdg-prog span{display:block;height:100%;background:#c9a24a}
.bdg-pt{margin:0;font-size:.8rem;color:var(--muted)}
.top-contrib{margin:30px 0}
.top-contrib ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.top-contrib li{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:10px 12px}
.top-contrib li a{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--heading);font-weight:600;min-width:0}
.top-contrib .pf-av{width:42px;height:42px;font-size:.95rem;border-width:2px}
.tc-n{display:flex;flex-direction:column;line-height:1.2}.tc-n small{font-weight:400;color:var(--muted)}
.tc-b{display:flex;gap:2px;flex:none}.tc-b .bdg-sm{width:30px;height:30px}
@media(max-width:760px){
 .go-pro{display:none}.masthead nav a.nav-pro{display:inline-block}
 .price-grid{grid-template-columns:1fr}.price-best{order:-1}
 .top-contrib ul{grid-template-columns:1fr}
 .pro-table th,.pro-table td{padding:8px 8px;font-size:.92rem}
 .pro-hero,.pf-card{padding:16px}
 .pf-stats{width:100%}.pf-stats div{flex:1;min-width:0;padding:8px 6px}
}

/* ---- badges v2: enamel pins with shimmer + tilt (transform/opacity only) ---- */
.bdg-w{position:relative;display:inline-block;flex:none;width:72px;height:72px;border-radius:50%;outline-offset:3px;
 transform:perspective(320px) rotateX(0) rotateY(0) translateY(0);transition:transform .25s ease;-webkit-tap-highlight-color:transparent}
.bdg-w svg{position:relative;z-index:1;display:block;width:100%;height:100%;overflow:visible}
.bdg-w::after{content:"";position:absolute;left:12%;right:12%;bottom:-6%;height:14%;border-radius:50%;background:radial-gradient(closest-side,#0006,#0000);opacity:0;transition:opacity .25s ease;z-index:0}
.bdg-w.bdg-sm{width:30px;height:30px}
.bdg-sheen{transform:translateX(0) skewX(-18deg);opacity:0}
.bdg-w:hover,.bdg-w:focus-visible,.bdg-card:hover .bdg-w,.bdg-card:focus-within .bdg-w,.top-contrib li:hover .bdg-w,.top-contrib li:focus-within .bdg-w,.bdg-w.tap{
 transform:perspective(320px) rotateX(var(--rx,7deg)) rotateY(var(--ry,-9deg)) translateY(-3px) scale(1.05)}
.bdg-w:hover::after,.bdg-w:focus-visible::after,.bdg-card:hover .bdg-w::after,.bdg-card:focus-within .bdg-w::after,.top-contrib li:hover .bdg-w::after,.bdg-w.tap::after{opacity:1}
.bdg-w:hover .bdg-sheen,.bdg-w:focus-visible .bdg-sheen,.bdg-card:hover .bdg-sheen,.bdg-card:focus-within .bdg-sheen,.top-contrib li:hover .bdg-sheen,.top-contrib li:focus-within .bdg-sheen,.bdg-w.tap .bdg-sheen{animation:bdg-shine .9s ease-out 1}
@keyframes bdg-shine{0%{transform:translateX(0) skewX(-18deg);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateX(108px) skewX(-18deg);opacity:0}}
.bdg-w.is-locked svg{filter:grayscale(1) contrast(.85);opacity:.5}
html[data-theme="dark"] .bdg-w.is-locked svg{opacity:.6}
.bdg-w.is-locked:hover,.bdg-w.is-locked:focus-visible,.bdg-card:hover .bdg-w.is-locked,.bdg-card:focus-within .bdg-w.is-locked,.bdg-w.is-locked.tap{transform:translateY(-3px)}
html[data-theme="dark"] .bdg-w::after{background:radial-gradient(closest-side,#000a,#0000)}
.pf-row{gap:8px}
@media(prefers-reduced-motion:reduce){.bdg-w,.bdg-w::after{transition:none!important;transform:none!important}.bdg-sheen{animation:none!important}}
/* ---- account / sign-in (mock-up) ---- */
.hdr-acct{position:absolute;top:13px;right:64px;display:flex;align-items:center;gap:8px;z-index:5}
.hdr-acct .go-pro{position:static;display:inline-flex;align-items:center;gap:6px;color:#1d1408!important;background:linear-gradient(#f1d38a,#c9a24a);border-color:#e7c26b;font-weight:700}
.hdr-acct .go-pro:hover{background:linear-gradient(#f6dea3,#d3ad55)}
.hdr-acct svg{width:15px;height:15px;flex:none}
.hdr-acct .go-pro svg{fill:currentColor}
.acct-in,.acct-join{display:inline-flex;align-items:center;gap:6px;font:600 .85rem/1 "EB Garamond",Georgia,serif;letter-spacing:.04em;text-transform:uppercase;text-decoration:none!important;border-radius:999px;padding:7px 12px;color:#f3e2b8!important}
.acct-in{border:1px solid #f3e2b866;background:#0003}
.acct-in svg{fill:none;stroke:currentColor;stroke-width:2}
.acct-join{border:1px solid transparent;color:#f3e2b8cc!important}
.acct-in:hover,.acct-join:hover{background:#ffffff1a}
.acct-user{display:none;position:relative}
html[data-demo] .acct-in,html[data-demo] .acct-join{display:none}
html[data-demo] .acct-user{display:inline-block}
html[data-demo="pro"] .hdr-acct .go-pro{display:none}
.acct-av{display:flex;align-items:center;gap:6px;background:none;border:0;padding:0;cursor:pointer;color:inherit}
.acct-av .av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font:700 .9rem/1 system-ui,sans-serif;color:#fff;background:linear-gradient(135deg,#a8552e,#6b2f1a);border:2px solid #f3e2b8aa}
.acct-av:focus-visible .av{outline:3px solid #f1d38a;outline-offset:2px}
.pro-chip{display:none;font:800 .62rem/1 system-ui,sans-serif;letter-spacing:.08em;color:#1d1408;background:linear-gradient(#f1d38a,#c9a24a);border-radius:4px;padding:3px 5px}
html[data-demo="pro"] .pro-chip{display:inline-block}
.acct-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:220px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 30px #0004;padding:6px;display:flex;flex-direction:column;text-align:left;z-index:30}
.acct-menu[hidden]{display:none}
.acct-menu a{padding:9px 12px;border-radius:7px;color:var(--text)!important;text-decoration:none!important;font:500 .98rem/1.2 system-ui,sans-serif}
.acct-menu a:hover,.acct-menu a:focus-visible{background:var(--surface-2)}
.am-head{padding:8px 12px 10px;border-bottom:1px solid var(--border);margin-bottom:4px;font:700 1rem/1.2 system-ui,sans-serif;color:var(--heading)}
.am-head small{display:block;font-weight:400;font-size:.78rem;color:var(--muted);margin-top:3px}
.acct-menu .am-pro{color:var(--rust-text)!important;font-weight:700}
.am-pro .when-pro{display:none}html[data-demo="pro"] .am-pro .when-pro{display:inline}html[data-demo="pro"] .am-pro .when-free{display:none}
.am-out{border-top:1px solid var(--border);margin-top:4px;border-radius:0 0 7px 7px!important}
.pro-tag{display:inline-block;font:800 .62rem/1 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#1d1408;background:linear-gradient(#f1d38a,#c9a24a);border-radius:4px;padding:3px 5px;vertical-align:.15em}
/* Pro hints on film pages */
.pro-hint{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 18px;padding:10px 12px;border:1px dashed var(--border);border-radius:10px;background:var(--surface-2);font-family:system-ui,sans-serif;font-size:.9rem}
.ph-lead{font-weight:700;color:var(--heading);margin-right:4px}
.ph-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--muted)!important;text-decoration:none!important;font:500 .85rem/1 system-ui,sans-serif}
.ph-chip:hover{color:var(--text)!important;border-color:var(--accent)}
.ph-chip svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2}
.ph-chip svg rect{fill:currentColor;stroke:none}
.ph-more{margin-left:auto;font-weight:600;color:var(--link)}
.ph-save{margin-left:8px;vertical-align:middle}
/* mock sign-in page */
.si-wrap{max-width:860px;margin:0 auto}
.si-soon{font-size:1.1rem}
.si-opts{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:420px;margin:18px auto 24px}
.si-optnote{text-align:center;margin:2px 0 0}
/* Official "Sign in with Google" button (developers.google.com/identity/branding-guidelines): light #FFF / 1px #747775 / text #1F1F1F, dark #131314 / #8E918F / #E3E3E3, Google Sans Medium 14/20, 40px tall, 12px | 20px G | 10px | text | 12px, 4px corners */
.gsi-btn,.msi-btn{box-sizing:border-box;width:260px;max-width:100%;display:flex;align-items:center;margin:0;cursor:not-allowed;-webkit-appearance:none;appearance:none;text-align:left;white-space:nowrap}
.gsi-btn{height:40px;padding:0 11px;gap:10px;background:#fff;border:1px solid #747775;border-radius:4px;color:#1f1f1f;font:500 14px/20px "Google Sans","Google Sans Text",Roboto,Arial,sans-serif;letter-spacing:.25px}
.gsi-btn .gsi-g{flex:0 0 20px;width:20px;height:20px}
/* Official "Sign in with Microsoft" button (learn.microsoft.com Microsoft identity platform branding): light #FFF / 1px #8C8C8C / text #5E5E5E, dark #2F2F2F / text #FFF, Segoe UI Semibold 15px, 41px tall, 12px | 21px logo | 12px | text | 12px, square corners */
.msi-btn{height:41px;padding:0 12px;gap:12px;background:#fff;border:1px solid #8c8c8c;border-radius:0;color:#5e5e5e;font:600 15px/1 "Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",Arial,sans-serif}
.msi-btn .msi-logo{flex:0 0 21px;width:21px;height:21px}
.gsi-btn:focus-visible,.msi-btn:focus-visible{outline:2px solid var(--link);outline-offset:2px}
html[data-theme="dark"] .gsi-btn{background:#131314;border-color:#8e918f;color:#e3e3e3}
html[data-theme="dark"] .msi-btn{background:#2f2f2f;border-color:#2f2f2f;color:#fff}
.si-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.si-card{border:1px solid var(--border);border-radius:12px;padding:16px 18px;background:var(--surface)}
.si-card h2{margin-top:0}
.si-pro{border-color:#c9a24a;box-shadow:0 0 0 1px #c9a24a55}
.si-foot{text-align:center;margin-top:18px}
@media (max-width:1100px){.acct-join{display:none}}
@media (max-width:980px){.acct-in span,.hdr-acct .go-pro span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.acct-in,.hdr-acct .go-pro{padding:8px}}
@media (max-width:760px){
 .hdr-acct{right:auto;left:8px;top:8px}
 .hdr-acct .go-pro{display:none}
 .acct-in{width:38px;height:38px;justify-content:center;padding:0}
 .acct-in svg{width:18px;height:18px}
 .acct-av .av{width:34px;height:34px}
 .acct-menu{right:auto;left:0}
 html[data-demo] .masthead nav a.nav-in{display:none}
 .si-grid{grid-template-columns:1fr}
 .ph-more{margin-left:0}
}
@media (max-width:760px){.masthead .brand{padding:0 40px!important;max-width:100%;box-sizing:border-box}}
@media (max-width:380px){.masthead .brand{font-size:1.4rem!important}}
html[data-demo="pro"] .masthead nav a.nav-gopro{display:none!important}
@media (max-width:760px){.acct-av{position:relative}.acct-av .pro-chip{position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);font-size:.5rem;padding:2px 3px}}
/* True Grit summary: one line like the real site (desktop); title row + one chip row on phones */
details.tg-oneline>summary.tg-sum{flex-wrap:nowrap;padding:8px 12px;gap:8px;min-height:0}
details.tg-oneline .tg-chips{flex-wrap:wrap;gap:4px 5px;min-width:0}
details.tg-oneline .tg-chips>*{flex:0 0 auto;white-space:nowrap}
details.tg-oneline .tg-chip,details.tg-oneline .tg-partly,details.tg-oneline .tg-lbox{font-family:"Source Sans 3",system-ui,sans-serif}
details.tg-oneline .tg-chips .tg-svl{border:0;background:none;padding:0;margin:0;gap:3px}
details.tg-oneline .tg-svl .tg-lbox{width:1.45em;height:1.45em;font-size:.64rem}
details.tg-oneline .tg-partly{padding:1px 5px;letter-spacing:.03em;font-size:.6rem}
details.tg-oneline .tg-chip{font-size:.7rem;padding:1px 5px;letter-spacing:0}
details.tg-oneline .tg-chip-stars{font-size:.7rem;padding:0 4px;letter-spacing:0}
html[data-theme="dark"] details.tg-oneline .tg-chips .tg-svl{background:none}
html[data-theme="dark"] details.tg-oneline .tg-chip-stars .off{color:#6b5a40}
@media(max-width:1100px){
 details.tg-oneline>summary.tg-sum{flex-wrap:wrap;gap:6px 8px}
 details.tg-oneline .tg-sum-title{flex:1 0 auto}
 details.tg-oneline .tg-chips{order:3;flex-basis:100%;gap:4px 3px}
}
@media(max-width:1100px){
 details.tg-oneline .tg-chips{gap:3px}
 details.tg-oneline .tg-chips .tg-svl{gap:2px}
 details.tg-oneline .tg-chip{font-size:.6rem;padding:1px 3px}
 details.tg-oneline .tg-chip-stars{font-size:.6rem;padding:0 3px}
 details.tg-oneline .tg-svl .tg-lbox{font-size:.56rem}
 details.tg-oneline .tg-partly{font-size:.52rem;padding:1px 3px;letter-spacing:0}
}
/* declutter (bak9): Track this film beside hero credits; What's this? under the rating title; sourcing inside dropdown */
.hero-foot{position:relative;display:flex;align-items:center;gap:16px;background:#0d0805;padding-right:48px}
.hero-foot>.hero-credit{flex:1 1 auto;min-width:0}
.hero-foot:not(:has(.hero-credit)){padding:8px 48px}
.pro-hint.ph-hero{flex:0 1 auto;margin:6px 0;padding:6px 10px;gap:5px;border:1px solid rgba(242,201,146,.28);background:rgba(255,255,255,.04);font-size:.78rem;max-width:400px}
.ph-hero .ph-lead{color:#f3e6cc;margin-right:2px;white-space:nowrap}
.ph-hero .ph-chip{padding:3px 7px;font-size:.72rem;border-color:rgba(242,201,146,.3);background:rgba(255,255,255,.06);color:#e6d6b8!important}
.ph-hero .ph-chip:hover{color:#fff!important;border-color:#f2c992}
.ph-hero .ph-more{color:#f2c992!important;font-size:.72rem;margin-left:auto}
.ph-hero .pro-tag{font-size:.6rem}
@media(max-width:1100px){.hero-foot{flex-direction:column;align-items:stretch;gap:0;padding-right:0}
 .pro-hint.ph-hero{max-width:none;margin:0 48px 10px}}
@media(max-width:760px){.pro-hint.ph-hero{margin:0 16px 10px}.hero-foot:not(:has(.hero-credit)){padding:8px 0}}
.hero-foot .hero-credit{background:none}
details.tg-oneline .tg-tw{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1;min-width:0}
details.tg-oneline .tg-what{font:500 .66rem/1.2 "Source Sans 3",system-ui,sans-serif;color:var(--link);text-decoration:underline;text-underline-offset:2px;margin-top:2px;white-space:nowrap}
details.tg-oneline .tg-what:hover{color:var(--accent)}
@media(max-width:1100px){details.tg-oneline .tg-tw{flex:1 0 auto}}
.tg-body .tg-sourcing{margin:12px 0 10px;font-size:.88rem}
/* burger menu (bak10) */
.hdr-row{display:flex;align-items:center;gap:8px;width:min(520px,90%);margin:14px auto 4px}
.hdr-row>.search{flex:1 1 auto;width:auto!important;margin:0!important;min-width:0}
.nav-toggle{display:none}
.nav-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.nav-toggle .b-close,.nav-toggle[aria-expanded="true"] .b-open{display:none}
.nav-toggle[aria-expanded="true"] .b-close{display:inline}
@media(max-width:1024px){
 html.nav-js .nav-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px;border:1px solid #c9a24a88;background:#ffffff10;color:#f2c992;cursor:pointer}
 html.nav-js .nav-toggle:hover,html.nav-js .nav-toggle[aria-expanded="true"]{background:#c9a24a2e;border-color:#e7c26b}
 html.nav-js .nav-toggle:focus-visible{outline:3px solid #f0d9a0;outline-offset:2px}
 html.nav-js .masthead nav#site-nav{display:none}
 html.nav-js .masthead nav#site-nav.open{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:min(520px,90%);box-sizing:border-box;margin:8px auto 2px;padding:8px;border:1px solid #c9a24a55;border-radius:14px;background:#140c07;box-shadow:0 12px 28px #0008}
 html[data-theme="dark"].nav-js .masthead nav#site-nav.open{background:#0b0806;border-color:#c9a24a44}
 html.nav-js .masthead nav#site-nav.open>a,html.nav-js .masthead nav#site-nav.open>.dd>a{display:flex!important;align-items:center;min-height:44px;margin:0!important;padding:0 12px;border-radius:9px;font-size:.92rem!important;letter-spacing:.08em;box-sizing:border-box}
 html.nav-js .masthead nav#site-nav.open>.dd{display:block;margin:0}
 html.nav-js .masthead nav#site-nav.open .dd-menu{display:none!important}
 html.nav-js .masthead nav#site-nav.open a:hover{background:#c9a24a22}
 html.nav-js .masthead nav#site-nav.open a:focus-visible{outline:2px solid #f0d9a0;outline-offset:-2px}
 html.nav-js .masthead nav#site-nav.open a.nav-pro{justify-content:center;border:1px solid #c9a24a66;margin-top:4px!important}
 html.nav-js .masthead nav#site-nav.open a.nav-gopro{background:linear-gradient(#f1d38a,#c9a24a);color:#1d1408!important;border-color:#e7c26b}
}
@media(max-width:1024px) and (prefers-reduced-motion:no-preference){html.nav-js .masthead nav#site-nav.open{animation:navIn .18s ease-out}}
@keyframes navIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(max-width:1024px){html[data-demo].nav-js .masthead nav#site-nav.open>a.nav-in,html[data-demo="pro"].nav-js .masthead nav#site-nav.open>a.nav-gopro{display:none!important}}
@media(max-width:1024px){html.nav-js .masthead nav#site-nav.open>a.nav-gopro{grid-column:1}html.nav-js .masthead nav#site-nav.open>a.nav-in{grid-column:2}}

/* ===== fix12 (bak12): declutter, slimmer header, readable chips, swipe rows ===== */
@keyframes fw-rise{from{transform:translateY(14px)}to{transform:none}}
/* header */
.pv-banner{font:600 .84rem/1.3 "Source Sans 3",system-ui,sans-serif!important;padding:5px 10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){.masthead .tagline{display:none}.hdr-row{margin-top:10px}}
.acct-in{min-height:36px;box-sizing:border-box}
@media(max-width:760px){.acct-in{width:44px;height:44px}.hdr-acct{top:6px;left:6px}.acct-av{min-width:44px;min-height:44px;justify-content:center}
 .theme-toggle{width:44px!important;height:44px!important;top:6px!important;right:6px!important}}
/* bottom bar: normal case everywhere */
.bottom-nav a,.bottom-nav button{text-transform:none!important;letter-spacing:.01em!important;font:600 .75rem "Source Sans 3",system-ui,sans-serif!important;margin:0!important}
/* bigger invisible tap areas (no visual change) */
.tg-what,.ph-chip,.ph-more,.hero-credit a,.row-more{position:relative}
.ph-chip::after,.ph-more::after,.hero-credit a::after,.row-more::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:44px;transform:translate(-50%,-50%)}
/* strip + chip text >= 12px */
details.tg-oneline .tg-chip,details.tg-oneline .tg-chip-stars,details.tg-oneline .tg-partly{font-size:12px!important;letter-spacing:0!important}
details.tg-oneline .tg-partly{text-transform:none;font-family:"Source Sans 3",system-ui,sans-serif;font-weight:600}
details.tg-oneline .tg-svl .tg-lbox{font-size:12px!important;width:1.55em!important;height:1.55em!important}
details.tg-oneline .tg-what{font-size:12px}
details.tg-oneline .tg-chips{gap:4px!important}
.tg-chip-stars .off,details.tg-oneline .tg-chip-stars .off{color:#8f7a50}
html[data-theme="dark"] details.tg-oneline .tg-chip-stars .off,html[data-theme="dark"] .tg-chip-stars .off{color:#8d7a5c}
.ph-hero .ph-chip,.ph-hero .ph-more,.ph-hero .ph-lead{font-size:12px}
.pro-tag,.ph-hero .pro-tag{font-size:11px}
/* faint text */
.hero-credit,.hero-credit .credit{opacity:1;color:#e6d8bd}
.hero-credit{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.8rem}
.hero-credit a{color:#f6cf98!important}
.credit{opacity:1}
.film-series .sy{color:#6e5126}
html[data-theme="dark"] .film-series .sy{color:var(--muted)}
.mc-sub{color:var(--muted);opacity:1}
/* hero badge: link to the rating near the end */
.hero-tg{transition:background .2s ease,box-shadow .2s ease,transform .2s ease}
.hero-tg:hover{background:#000c;box-shadow:0 0 0 1px #ecd08f99}
.hero-tg:focus-visible{outline:3px solid #f1d38a;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){.hero-tg:hover{transform:translateY(-1px)}}
.hero-tg b:after{content:" ↓";font-weight:400}
details.true-grit{scroll-margin-top:16px}
details.true-grit.tg-flash{box-shadow:0 0 0 4px #c9a24a88}
/* home swipe rows */
.row-wrap{position:relative}
.row-more{font:600 .95rem "Source Sans 3",system-ui,sans-serif;margin-left:12px;vertical-align:middle;white-space:nowrap}
.collection h2,.start-here h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.mc-row{scroll-padding-left:2px;overscroll-behavior-x:contain;scrollbar-width:none}
.mc-row::-webkit-scrollbar{display:none}
.row-arrow{display:none}
@media(min-width:761px) and (hover:hover){
 .row-arrow{display:grid;place-items:center;position:absolute;top:calc(50% - 40px);z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--heading);box-shadow:var(--shadow);cursor:pointer;font:700 1.2rem/1 system-ui}
 .row-arrow.prev{left:-18px}.row-arrow.next{right:-18px}
 .row-arrow:hover{background:var(--surface-3)}
 .row-arrow:focus-visible{outline:3px solid var(--link);outline-offset:2px}
 .row-arrow[disabled]{opacity:0;pointer-events:none}
}
.start-here{margin-top:8px}
.explore .mc-img{aspect-ratio:4/5}
/* films list: sticky one-line decade bar + collapsible decades + compact phone cards */
nav.jump{position:sticky;top:0;z-index:20;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto;scroll-snap-type:x proximity;
 scrollbar-width:none;background:var(--surface)!important;padding:8px 2px!important;margin:0 0 12px!important;border-bottom:1px solid var(--border)!important;text-align:left}
nav.jump::-webkit-scrollbar{display:none}
nav.jump a{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;margin:0!important;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);font:600 .95rem "Source Sans 3",system-ui,sans-serif!important;color:var(--link)!important}
nav.jump a:hover{border-color:var(--accent)}
@media(min-width:1000px){nav.jump{justify-content:center!important}}
details.dec{border-bottom:1px solid var(--border)}
details.dec>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:48px}
details.dec>summary::-webkit-details-marker{display:none}
details.dec>summary h2{margin:.4em 0!important;flex:1}
details.dec>summary:after{content:"";width:10px;height:10px;border-right:2px solid var(--link);border-bottom:2px solid var(--link);transform:rotate(45deg);margin:0 10px 6px}
details.dec[open]>summary:after{transform:rotate(-135deg);margin-bottom:0}
details.dec>summary:focus-visible{outline:2px solid var(--link);outline-offset:2px}
section.group{margin:0!important}
@media(max-width:600px){
 .grid.posters{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .grid.posters .cap{padding:5px 6px 7px;font-size:.78rem;line-height:1.2}
 .grid.posters .cap .yr{display:block;margin:2px 0 0;padding:0;background:none;font-size:.72rem}
 .grid.posters .tg-mini{width:32px;height:32px;top:4px;right:4px}
 .mc-row{grid-auto-columns:38vw}
}
.user-bar{display:none!important} /* fix12: the header account button already covers sign-in */
.pro-tag,.ph-hero .pro-tag{font-size:12px}
.pf-av{background:hsl(var(--h) 45% 29%)}
.sprev.off{color:#6e5a3a!important;opacity:1!important}
html[data-theme="dark"] .sprev.off{color:#a8987c!important}
details.tg-oneline .tg-what{display:inline-block;padding:6px 4px;margin:-6px -4px;line-height:1.1}
.hero-tg b:after{content:" ↓"/""}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.genre-bar .pill small{color:#6e5126;opacity:1}html[data-theme="dark"] .genre-bar .pill small{color:var(--muted)}
/* ===== hero13: film hero cases (still / blurred poster / no image) ===== */
.hero-head.hero-case-poster,.hero-head.hero-case-none{min-height:300px;padding-top:0}
.hero-bd{position:absolute;left:-60px;top:-60px;width:calc(100% + 120px);height:calc(100% + 120px);object-fit:cover;filter:blur(30px) brightness(.42) saturate(1.15);pointer-events:none}
.hero-case-poster .hero-shade{background:linear-gradient(180deg,#0d080533 0%,#0d080566 45%,#0d0805e6 100%)}
.hero-tex{position:absolute;inset:0;pointer-events:none;
 background:
  radial-gradient(ellipse 70% 90% at 85% 0%,#7a4a2266 0%,#0000 60%),
  radial-gradient(ellipse 60% 70% at 0% 100%,#4a2a1255 0%,#0000 70%),
  repeating-linear-gradient(115deg,#ffffff05 0 2px,#0000 2px 9px),
  linear-gradient(160deg,#3a2414 0%,#22150c 55%,#140c07 100%)}
.hero-case-none .hero-tex:after{content:"✦";position:absolute;right:6%;top:50%;transform:translateY(-60%);font:9rem/1 serif;color:#ecd08f14}
.hero-case-none .hero-shade{background:linear-gradient(180deg,#0000 50%,#0d080599 100%)}
@media(max-width:760px){.hero-head.hero-case-poster,.hero-head.hero-case-none{min-height:240px}.hero-case-none .hero-tex:after{font-size:6rem;right:4%}}
.hero-bd{filter:blur(28px) brightness(.58) saturate(1.2)}
@media(max-width:760px){.hero-case-poster .hero-credit{white-space:normal}}
figure.frame img{height:auto}

/* preview-port extras (build-only) */
p.lede.no-dropcap::first-letter,.body>p.no-dropcap:first-child::first-letter,
html[data-theme] p.lede.no-dropcap::first-letter,html[data-theme] .body>p.no-dropcap:first-child::first-letter{font:inherit;float:none;margin:0;color:inherit}
figure.frame img{height:auto}
/* phone order: the strip stays just above Sources (handover); a direct-child lede leads */
@media(max-width:760px){
 .entry>details.true-grit,.entry>.tg-help{order:5}
 .entry>p.lede{order:1}
}

/* search box: keep typed/placeholder text clear of the magnifier icon (Judah, 26 Oct).
   The home hero box set padding-left:20px!important while the icon sits at 14px, so the
   text ran over it; dark mode's background shorthand also dropped the icon, leaving a gap. */
#wiki-search{background-position:14px center!important;background-size:17px!important;background-repeat:no-repeat!important;padding-left:44px!important;text-overflow:ellipsis}
.home-search #wiki-search{background-position:18px center!important;background-size:20px!important;padding-left:50px!important}
html[data-theme="dark"] #wiki-search{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='2.4'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='M15 15l6 6'/%3E%3C/svg%3E")}
@media(max-width:400px){#wiki-search{padding-left:40px!important}.home-search #wiki-search{background-position:16px center!important;padding-left:46px!important}}

/* poster_candidate: link-only line where the poster would go (never an image).
   Colours inherit from the fact box so it reads on the dark-wood box (light theme) and in dark mode. */
.poster-cand{margin:.3em 0 .8em;padding:.45em .6em;font-size:.8rem;line-height:1.35;text-align:center;color:inherit;opacity:.82;border:1px dashed currentColor;border-radius:6px;background:transparent}
.poster-cand a{text-decoration:underline;text-underline-offset:2px}

/* True Grit star badges v3 (site port: .st -> .tg-star, .pv -> .tg-pv; + .lg 92px breakdown size) — approved 26 Oct 2026. Site fonts only (Source Sans 3 900 for numerals, Rye for coal).
   Markup: <svg class="tg-star {xl|md|sm} {diamond|gold|silver|bronze|coal} [gem] [prov]" viewBox="0 0 100 100">…</svg>  (see markup-examples.html) */

/* sizes: hero xl 72 (64 phone) · strip md 48 · cards sm 40 (36 phone) */
.tg-star{flex:0 0 auto;display:block;overflow:visible}
.tg-star.xl{width:72px;height:72px}.tg-star.lg{width:92px;height:92px}.tg-star.md{width:48px;height:48px}.tg-star.sm{width:40px;height:40px}
@media(max-width:760px){.tg-star.sm{width:36px;height:36px}.tg-star.xl{width:64px;height:64px}}
.tg-star{filter:drop-shadow(0 1px 1.2px #0008)}

/* "Provisional" label, shown next to hero + strip badges (cards rely on the matte finish + aria-label) */
.tg-pv{display:inline-block;font:700 12px/1 "Source Sans 3",sans-serif;padding:3px 6px;border-radius:6px;border:1px dashed currentColor;margin-left:6px;vertical-align:1px}

/* ---- Diamond: hover/focus light sweep across facets + 4 twinkling sparkles (~1 s) ---- */
.tg-star.gem .sweep{opacity:0}.tg-star.gem .sp{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(0)}
.tg-star.gem .sps{filter:drop-shadow(0 0 1.5px #bfe9ff)}
@keyframes tgSweep{0%{opacity:0;transform:rotate(20deg) translateX(-30px)}15%{opacity:1}85%{opacity:.9}100%{opacity:0;transform:rotate(20deg) translateX(105px)}}
@keyframes tgTwinkle{0%,100%{opacity:0;transform:scale(0) rotate(0)}45%{opacity:1;transform:scale(1) rotate(45deg)}}
.tg-star.gem .sweep{transform-box:view-box;transform-origin:50px 50px}
@media (prefers-reduced-motion:no-preference){
 @media (hover:hover){.tg-star.gem:hover .sweep,a:hover .tg-star.gem .sweep,a:focus-visible .tg-star.gem .sweep{animation:tgSweep 1s ease-out}
  .tg-star.gem:hover .sp,a:hover .tg-star.gem .sp,a:focus-visible .tg-star.gem .sp{animation:tgTwinkle .7s ease-in-out both}}
 .tg-star.gem.play .sweep{animation:tgSweep 1s ease-out}.tg-star.gem.play .sp{animation:tgTwinkle .7s ease-in-out both}
 .tg-star.gem .s1{animation-delay:.1s!important}.tg-star.gem .s2{animation-delay:.3s!important}.tg-star.gem .s3{animation-delay:.45s!important}.tg-star.gem .s4{animation-delay:.2s!important}}
@media (prefers-reduced-motion:reduce){.tg-star.gem .s1,.tg-star.gem .s2{opacity:.95;transform:scale(.85) rotate(45deg)}}
.tg-star.gem.still .s1,.tg-star.gem.still .s2{opacity:.95;transform:scale(.85) rotate(45deg)}

/* ---- Gold shine / faint Silver shine (single sweep, no sparkles; never on provisional) + 3D pointer tilt ---- */
/* 3D tilt for metal tiers (coal stays flat). JS writes --rx/--ry/--sx/--sy; CSS eases back on leave. */
.tg-star:not(.coal){--rx:0deg;--ry:0deg;--pp:120px;transform:perspective(var(--pp)) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sc,1));
 filter:drop-shadow(var(--sx,0px) var(--sy,1px) var(--sb,1.2px) var(--shc,#0008));transition:transform .6s cubic-bezier(.2,.9,.25,1),filter .6s ease}
.tg-star.md{--pp:110px}.tg-star.lg{--pp:230px}.tg-star.xl{--pp:160px}.tg-star.big{--pp:460px}   /* 180-200px showcase size; pick ~2.5x badge width */
.tg-star.tilting{--sc:1.06;--sb:calc(var(--pp)/60);--shc:#0006;transition:transform .1s linear,filter .1s linear}
.tg-star.gold .sheen,.tg-star.silver .sheen{opacity:0;transform-box:view-box;transform-origin:50px 50px}
@keyframes tgSheen{0%{opacity:0;transform:rotate(22deg) translateX(-30px)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:rotate(22deg) translateX(110px)}}
@keyframes tgWobble{0%{transform:perspective(var(--pp))}25%{transform:perspective(var(--pp)) rotateX(-4deg) rotateY(9deg)}55%{transform:perspective(var(--pp)) rotateX(3deg) rotateY(-6deg)}80%{transform:perspective(var(--pp)) rotateY(2deg)}100%{transform:perspective(var(--pp))}}
@media (prefers-reduced-motion:no-preference){
 @media (hover:hover){.tg-star.gold:hover .sheen,a:hover .tg-star.gold .sheen,a:focus-visible .tg-star.gold .sheen,.tg-star.silver:hover .sheen,a:hover .tg-star.silver .sheen,a:focus-visible .tg-star.silver .sheen{animation:tgSheen .9s cubic-bezier(.4,0,.3,1)}}
 .tg-star.gold.play .sheen,.tg-star.silver.play .sheen{animation:tgSheen .9s cubic-bezier(.4,0,.3,1)}
 a:focus-visible .tg-star:not(.coal),.tg-star:not(.coal):focus-visible{--rx:7deg;--ry:-9deg;--sc:1.04;--sx:2px;--sy:3px}
 .tg-star.wob{animation:tgWobble .7s ease-out}}
@media (prefers-reduced-motion:reduce){.tg-star:not(.coal){transform:none;transition:none}}

/* ---- site integration ---- */
.tg3-defs{position:absolute;width:0;height:0;overflow:hidden}
svg.tg-star{padding:0;border:0;background:none;border-radius:0;box-shadow:none;font:inherit}
svg.tg-star.tg-mini{width:40px;height:40px}
@media(max-width:760px){svg.tg-star.tg-mini{width:36px;height:36px}}
@media(max-width:600px){.grid.posters svg.tg-star.tg-mini{width:32px;height:32px}}
.hero-tg .tg-pv{color:#fbf4e2;font-size:11px}
.hero-tg .tg-star{margin:-4px 0}
.tg-guide-tiers{display:flex;flex-wrap:wrap;gap:14px 22px;margin:10px 0 14px;padding:0;list-style:none}
.tg-guide-tiers li{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.85rem;text-align:center;min-width:64px}

/* ===== Site footer (26 Oct 2026) — site/footer.py builds the markup ===== */
footer.site-foot{margin:40px 0 0;padding:30px 20px 16px;background:#2b1a10;background:linear-gradient(180deg,#2b1a10 0%,#1f130b 100%);
 color:#e9d6ad;border-top:3px solid #c9a24a;text-align:left;font:17px/1.4 "Source Sans 3",system-ui,sans-serif}
.site-foot .sf-inner{max-width:1100px;margin:0 auto}
.site-foot .sf-cols{display:grid;grid-template-columns:2fr 1.3fr 1.3fr;gap:10px 36px}
.site-foot h2.sf-h{font:1.05rem/1.2 Rye,"Playfair Display",serif;color:#f0d9a0;margin:0 0 4px;padding:0 0 6px;border:0;border-bottom:1px solid #c9a24a55;letter-spacing:.03em}
.site-foot ul{list-style:none;margin:0;padding:0}
.site-foot .sf-explore ul{columns:2;column-gap:28px}
.site-foot li{margin:0;padding:0;break-inside:avoid}
.site-foot a{display:flex;align-items:center;min-height:44px;color:#f3e2bb!important;text-decoration:none!important}
.site-foot a:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:3px}
.site-foot a:focus-visible{outline:3px solid #f0d9a0;outline-offset:2px;border-radius:3px}
.site-foot .sf-bottom{margin-top:16px;padding-top:6px;border-top:1px solid #c9a24a55;display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;color:#dcc699;font-size:.9rem}
.site-foot .sf-copy{font-family:Rye,"Playfair Display",serif;color:#f0d9a0;min-height:44px;display:inline-flex;align-items:center}
.site-foot .sf-bottom a{display:inline-flex;text-decoration:underline!important;text-underline-offset:3px}
html[data-theme="dark"] footer.site-foot{background:#120d0a;border-top-color:#6b5530;color:#d9c8a8}
html[data-theme="dark"] .site-foot h2.sf-h{color:#f0dcb0;border-bottom-color:#6b553088}
html[data-theme="dark"] .site-foot a{color:#f2c894!important}
html[data-theme="dark"] .site-foot a:hover{color:#ffe1b8!important}
html[data-theme="dark"] .site-foot .sf-bottom{border-top-color:#6b553088;color:#c9b896}
@media(max-width:760px){
 footer.site-foot{margin-top:28px;padding:24px 18px 12px}
 .site-foot .sf-cols{grid-template-columns:1fr 1fr;gap:14px 24px}
 .site-foot .sf-explore{grid-column:1/-1}
 .site-foot .sf-bottom{flex-direction:column;align-items:flex-start;gap:0}
 .site-foot .sf-note{padding:4px 0}
}
@media(max-width:400px){
 .site-foot .sf-cols{grid-template-columns:1fr}
}
@media print{footer.site-foot{background:none;color:#000;border-top:1px solid #999}.site-foot a{color:#000!important}}
/* ===== Standalone pages (content/pages) and draft legal notices (/privacy/, /cookies/) ===== */
.draft-banner{margin:0 0 18px;padding:12px 16px;border:2px dashed #8a3b1c;border-radius:10px;background:#fff1d6;color:#3a2414;font:16px/1.45 "Source Sans 3",system-ui,sans-serif}
.draft-banner strong{color:#8a3b1c;font-size:1.05em}
mark.draft-mark{padding:1px 5px;border-radius:4px;font:600 .85em/1.3 "Source Sans 3",system-ui,sans-serif;box-decoration-break:clone;-webkit-box-decoration-break:clone}
mark.draft-placeholder{background:#ffe08a;color:#3a2414;outline:1px solid #b8860b}
mark.draft-check{background:#f6c9c0;color:#5a1a0c;outline:1px solid #a33a22}
.notice-table{overflow-x:auto;margin:0 0 1em;-webkit-overflow-scrolling:touch}
.notice-table table{border-collapse:collapse;width:100%;min-width:520px;font-size:.92rem}
.notice-table th,.notice-table td{border:1px solid var(--border,#e6d3a8);padding:8px 10px;text-align:left;vertical-align:top}
.notice-table th{background:var(--surface-3,#efe0bd);color:var(--heading,#3a2414)}
.site-page code{font-size:.9em;padding:0 4px;border-radius:4px;background:var(--surface-3,#efe0bd)}
html[data-theme="dark"] .draft-banner{background:#3a2316;color:#f3e2bb;border-color:#ec9a74}
html[data-theme="dark"] .draft-banner strong{color:#ec9a74}
html[data-theme="dark"] mark.draft-placeholder{background:#ffd76a;color:#1a1208}
html[data-theme="dark"] mark.draft-check{background:#f3b3a5;color:#3a0e05}
/* Footer links: plain readable sans (override older theme `footer a` caps styling) */
footer.site-foot .sf-col a,footer.site-foot .sf-bottom a{font-family:"Source Sans 3",system-ui,sans-serif;text-transform:none;letter-spacing:normal;font-size:1rem;font-weight:600}
footer.site-foot .sf-bottom a{font-size:.9rem}

/* SEO & AEO template blocks (Oct 2026): direct answer, Q&A, guns on screen,
   filming locations, reverse links, certificates. Theme variables only. */
.direct-answer{margin:.2rem 0 1rem;padding:.7rem .9rem;border-left:4px solid var(--accent);background:var(--surface-2);
  border-radius:0 var(--radius,6px) var(--radius,6px) 0;color:var(--text);font-size:1.02rem;line-height:1.5}
.tg-body .tg-direct-answer{margin:.2rem 0 .8rem;font-size:.95rem}
.faq-item{margin:0 0 1rem}
.faq .faq-q{margin:.6rem 0 .25rem;font-size:1.05rem;color:var(--heading)}
.faq .faq-a{margin:0 0 .25rem}
.faq-src,.seo-src,.src-date,.src-note{color:var(--muted);font-size:.85rem}
.seo-list{padding-left:1.2rem}
.seo-list li{margin:.3rem 0;line-height:1.45}
.gs-gun,.fl-name{font-weight:600}
.gs-note,.fl-note,.fl-where{color:var(--muted)}
.ib-certs .cert{white-space:nowrap;margin-right:.4rem}

/* Mobile flex layout (preview-port.css orders .entry children): the direct answer comes first, just before the lead paragraph. */
.entry>p.direct-answer{order:1}
.gs-conf{color:var(--muted);font-size:.85em;font-style:italic;white-space:nowrap}
/* AEO sources and Legend label (27 Oct): the Sources line sits inside the direct-answer <p> so the mobile order rule above still holds. */
.direct-answer .da-src{display:block;margin-top:.45rem;line-height:1.4}
.direct-answer .da-src .seo-src{font-size:.82rem}
.aeo-legend{display:inline-block;margin-right:.35rem;padding:0 .45rem;border:1px dashed var(--muted);border-radius:999px;color:var(--muted);
  font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.6;vertical-align:.1em}
.tg-anchor{display:inline-block;width:0;height:0;overflow:hidden}
/* "Needs further sources" tag, data keys sources_lacking* (27 Oct, Judah's rule): public inline tag after a claim + one muted page note under the title.
   Tap/focus shows the note (.sl-pop, added by modern.js); desktop hover also shows the title tooltip. */
.sl-page-note{margin:.35rem 0 .2rem;padding:.3rem .65rem;border-left:3px solid var(--muted);color:var(--muted);
  font-size:.86rem;font-style:italic;line-height:1.45;background:var(--surface-2);border-radius:0 var(--radius,6px) var(--radius,6px) 0}
.sl-tag{display:inline-block;margin:0 .1rem 0 .2rem;padding:.08rem .38rem;border:1px dashed var(--muted);border-radius:999px;
  color:var(--rust-text,var(--muted));font:600 .66rem/1.3 "Playfair Display",Georgia,serif;letter-spacing:.04em;
  font-variant:small-caps;white-space:nowrap;cursor:help;vertical-align:.45em}
.sl-tag:hover,.sl-tag[aria-expanded="true"]{background:var(--surface-2);border-style:solid}
.sl-tag:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.sl-pop{display:block;margin:.3rem 0 .4rem;padding:.4rem .6rem;max-width:36rem;border:1px solid var(--muted);border-radius:var(--radius,6px);
  background:var(--surface-2);color:var(--text);font-size:.85rem;font-style:normal;line-height:1.4}
@media (pointer:coarse){.sl-tag{padding:.18rem .5rem;font-size:.72rem}}
/* Mobile flex layout: keep the page note directly under the title (h1/.legend-title/.rule are order 0). */
.entry>.sl-page-note{order:0}

/* TheFrontierWiki: no-poster placeholder "Dusk · Close rider" (rider G2). Approved 26 Oct 2026.
   Namespaced .fpp-* (the site already uses .ph for the old "Portrait forthcoming" box, so don't reuse that).
   Needs: placeholder-symbols.svg pasted once per page, plus the site's existing Rye and Source Sans 3 @font-face rules.
   One markup scales from ~120px cards to the ~260px side box: the box is 2:3 and text is sized in cqw. */
.fpp{position:relative;display:block;width:100%;aspect-ratio:2/3;container-type:inline-size;overflow:hidden;isolation:isolate;
  background:#2a1730;color:#fbe8c4;line-height:1}
.fpp--tv{background:#0f1733}
.fpp>.fpp-bg{position:absolute;inset:0;width:100%;height:100%;z-index:-1;display:block}
/* layout lives on .fpp-in: cqw on the container itself would resolve against the page, not the poster */
.fpp>.fpp-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:11cqw 8cqw 6cqw;box-sizing:border-box}
.fpp-t{display:block;font-family:Rye,Georgia,serif;font-weight:400;line-height:1.02;text-transform:uppercase;text-wrap:balance;overflow-wrap:break-word;
  text-shadow:0 .6cqw 2cqw #0009;max-width:100%}
.fpp-k,.fpp-soon{display:block;font-family:"Source Sans 3",system-ui,sans-serif;font-weight:700;text-transform:uppercase;line-height:1.1}
.fpp-k{font-size:max(8.5px,5.6cqw);margin-top:3.5cqw;letter-spacing:.14em;color:#f3c98a}
.fpp--tv .fpp-k{color:#c9d3f2}
.fpp-soon{margin-top:auto;font-size:max(9px,5.2cqw);font-weight:600;letter-spacing:.12em;color:#e8d5b4;opacity:.9}
.fpp--tv .fpp-soon{color:#cfd6ee}
@container (min-width:171px){.fpp-soon{white-space:nowrap}}
@container (max-width:170px){.fpp-soon{letter-spacing:.03em}.fpp-k{letter-spacing:.06em}}
/* side infobox: cap the width and round it like the existing poster frame */
.fpp--side{max-width:260px;margin:0 auto;border-radius:6px;box-shadow:var(--shadow,0 6px 18px #2b1a0e1a)}
/* dark mode: the artwork is already a dusk/night scene, so it is identical in both themes; only add a hairline so it doesn't merge into dark surfaces */
html[data-theme="dark"] .fpp--side{box-shadow:0 0 0 1px var(--border,#4d3d30),0 6px 18px #0005}
/* card hover: match the site's poster zoom (modern.css scales .mc-img img / .thumb img) */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .mc-img .fpp-bg,.thumb .fpp-bg{transition:transform .4s ease}
  .mcard:hover .fpp-bg,.grid.posters .card:hover .fpp-bg{transform:scale(1.04)}
}

/* Generated placeholder posters (our own art, 27 Oct 2026; notes/generated-posters.md). Infobox + cards only, never the hero.
   The art is already graded per decade, so no sepia/dim filter; the <picture> fills the box like a poster <img>. */
picture.gen-pic{display:block;width:100%;height:100%}
.gen-pic img{filter:none!important}
.frame.gen-poster{max-width:300px;margin-left:auto;margin-right:auto}
.frame.gen-poster picture.gen-pic{height:auto}
.frame.gen-poster img{width:100%;height:auto;aspect-ratio:2/3}
.frame .gen-cap,html[data-theme] .frame .gen-cap{font-size:.78rem;font-style:italic;text-align:center;padding:6px 8px;margin:0;
  color:inherit!important;background:none!important;opacity:.9}   /* the infobox's own text colour: readable on its dark panel in both themes */

/* Card-fix 27 Oct 2026 (UX/UI Designer): keep the True Grit star off poster titles on cards.
   Dusk placeholder: title starts below the star (about 44px extra top padding at card size). */
.thumb:has(.tg-mini) .fpp--card>.fpp-in,.mc-img:has(.tg-mini) .fpp--card>.fpp-in{padding-top:calc(11cqw + 44px)}
@media(max-width:600px){.thumb:has(.tg-mini) .fpp--card>.fpp-in,.mc-img:has(.tg-mini) .fpp--card>.fpp-in{padding-top:calc(8cqw + 36px)}}
/* Generated poster: its title is part of the artwork and runs edge to edge at the top, so the star
   moves to the bottom-right corner (just above the PLACEHOLDER strip), smaller, on a small dark disc */
.thumb:has(.gen-pic) svg.tg-mini,.mc-img:has(.gen-pic) svg.tg-mini,
.grid.posters .thumb:has(.gen-pic) svg.tg-star.tg-mini{top:auto;bottom:calc(9% + 2px);right:3px;width:32px;height:32px;box-sizing:border-box;
  padding:3px!important;border-radius:50%!important;background:rgba(18,10,6,.72)!important;box-shadow:0 0 0 1px #0006!important}
@media(max-width:600px){.grid.posters .thumb:has(.gen-pic) svg.tg-star.tg-mini,.mc-img:has(.gen-pic) svg.tg-mini{top:auto;bottom:calc(9% + 2px);right:3px;width:28px;height:28px;padding:2px!important}}
/* Designer fix 31 Oct 2026: never break a title mid-word (sizes already fit the longest word, see placeholder._fs) */
.fpp-t{overflow-wrap:normal;word-break:normal;hyphens:manual}
/* QA 1 Nov 2026: the plain "… forthcoming" infobox box (no image, no Dusk/generated poster) is a slim strip, not a 2:3 poster */
.frame.placeholder.ph-sm{max-width:100%}
.frame.placeholder.ph-sm .ph{aspect-ratio:auto;flex-direction:row;gap:8px;min-height:0;padding:12px 14px;font-size:.85rem;font-style:italic}
.frame.placeholder.ph-sm .ph .star{font-size:1.1rem}

/* Frontier folk section (people/frontier-folk/*), 28 Oct 2026. Page type archetype/frontier-folk. */
.ff-kicker{margin:.2rem 0 .4rem;color:var(--muted);font-size:.95rem}
.ff-callout{margin:.4rem 0 1rem;padding:.55rem .8rem;border:1px solid var(--muted);border-radius:6px;background:var(--surface-2)}
.ff-page .ff-subtype{margin:1rem 0 1.4rem;clear:none}
.ff-page .ff-subtype>h3{margin-bottom:.35rem}
.ff-photo{margin:.6rem 0 .9rem;max-width:520px}
.ff-photo img{display:block;width:100%;height:auto;border-radius:4px;border:1px solid var(--muted);background:var(--surface-2)}
.ff-photo figcaption{margin-top:.35rem;font-size:.85rem;line-height:1.4}
.ff-photo figcaption .capt p{margin:0}
.ff-photo figcaption .ff-credit{display:block;margin-top:.2rem;color:var(--muted);font-size:.78rem;overflow-wrap:anywhere}
.ff-needphoto{margin:.6rem 0 .9rem;max-width:520px;padding:.7rem .9rem;border:2px dashed var(--muted);border-radius:6px;
  color:var(--muted);background:var(--surface-2);font-size:.9rem}
.ff-needphoto p{margin:0}
.sl-box{margin:1rem 0;padding:.7rem .9rem;border-left:4px solid var(--accent);border-radius:4px;background:var(--surface-2);font-size:.92rem}
.sl-box p:first-child{margin-top:0}.sl-box ul{margin-bottom:0}
.sl-note{color:var(--muted)}
.ff-films-wrap{overflow-x:auto;margin:.5rem 0 .3rem}
.ff-films{width:100%;border-collapse:collapse;font-size:.9rem}
.ff-films th,.ff-films td{padding:.4rem .5rem;border-bottom:1px solid var(--muted);text-align:left;vertical-align:top}
.ff-films th{white-space:nowrap}
.ff-films td:first-child{color:var(--muted);width:2rem}
.ff-films-note{font-size:.8rem;color:var(--muted)}
.ff-box .ff-qh{margin:.4rem 0;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.78rem}
.ff-box ul{padding-left:1.1rem;margin:.2rem 0}
.ff-sources li{margin:.25rem 0;font-size:.88rem}
.ff-back{font-size:.95rem}
@media (max-width:700px){.ff-photo,.ff-needphoto{max-width:none}.ff-films{font-size:.85rem}
  .ff-films th:nth-child(4),.ff-films td:nth-child(4){min-width:14rem}}

/* Original illustrations section on entry pages (site/illustrations_build.py, 28 Oct 2026) */
.illus{clear:both;margin:34px 0 10px}
.illus-intro{margin:0 0 16px}
.illus-explore{display:flex;align-items:center;gap:18px;margin:0 0 22px;padding:12px;border:1px solid var(--border,#d9c79f);
 border-radius:var(--radius,12px);background:var(--surface-2,#fbf4e6);box-shadow:var(--shadow);text-decoration:none!important;color:var(--text,inherit)!important}
.illus-explore:hover,.illus-explore:focus-visible{box-shadow:var(--shadow-up)}
.illus-explore img{flex:0 0 46%;max-width:46%;height:auto;border-radius:8px;display:block}
.illus-explore-text{display:flex;flex-direction:column;gap:6px;line-height:1.45}
.illus-explore-text strong{font-size:1.15rem;color:var(--heading,inherit)}
.illus-btn{align-self:flex-start;margin-top:4px;padding:7px 14px;border-radius:999px;background:var(--rust,#8a3b1c);color:#fff;font-weight:600;font-size:.95rem}
.illus-plates{display:flex;flex-direction:column;gap:24px}
.illus-plate{margin:0}
.illus-plate img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid var(--border,#d9c79f)}
.illus-plate figcaption{margin-top:6px;font-size:.92rem;line-height:1.45;color:var(--muted,inherit)}
.illus-plate .capt{font-style:italic;display:inline}
.illus-plate .illus-view{display:inline}
.illus-view{font-weight:600}.illus-view::before{content:"· "}
.illus-plate .credit{display:block}
.illus-links{display:block}
.illus-own{font-size:.85rem;color:var(--muted,inherit);margin-top:14px}
@media (max-width:640px){.illus-explore{flex-direction:column;align-items:stretch}.illus-explore img{max-width:100%;flex:none}}
/* "Explore this train" button under the page title (Judah, 29 Oct 2026); any page whose set has an explorer */
.illus-top{margin:6px 0 14px}
.entry>.illus-top{order:0}   /* mobile flex layout: keep it with the title, above the infobox */
.illus-top-btn{display:inline-flex;align-items:center;gap:14px;min-height:48px;padding:10px 20px 10px 16px;border-radius:var(--radius,12px);
 background:#8a3b1c;background:linear-gradient(180deg,#9a4524,#7a3116);color:#fff!important;text-decoration:none!important;
 border:2px solid var(--accent,#c9a24a);box-shadow:var(--shadow,0 2px 6px rgba(43,26,14,.25)),inset 0 1px 0 rgba(255,255,255,.18);
 transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.illus-top-btn:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:var(--shadow-up,0 6px 14px rgba(43,26,14,.3))}
.illus-top-btn:focus-visible{outline:3px solid var(--heading,#3a2414);outline-offset:3px}
.illus-top-btn:active{transform:none}
.illus-top-icon{flex:none;color:#f3d48a}
.illus-top-text{display:flex;flex-direction:column;line-height:1.2;text-align:left}
.illus-top-label{font-family:Rye,serif;font-size:1.15rem;letter-spacing:.02em;color:#fff}
.illus-top-sub{font-size:.85rem;color:#f6e6c4;margin-top:2px}
.illus-top-arrow{font-size:1.6rem;line-height:1;margin-left:4px;color:#f3d48a}
@media (prefers-reduced-motion:reduce){.illus-top-btn{transition:none}.illus-top-btn:hover{transform:none}}
@media (max-width:640px){.illus-top-btn{display:flex;width:100%;box-sizing:border-box;min-height:56px}.illus-top-text{flex:1}}
/* "Explore in 3D": secondary button next to "Explore this train", and in #illustrations (Judah, 30 Oct 2026) */
.illus-top{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px 12px}
.illus-top-btn-2{background:transparent;color:var(--heading,#3a2414)!important;border:2px solid #9a4524;
 box-shadow:var(--shadow,0 2px 6px rgba(43,26,14,.18))}
.illus-top-btn-2 .illus-top-icon,.illus-top-btn-2 .illus-top-arrow{color:#9a4524}
.illus-top-btn-2 .illus-top-label{color:#7a3116}
.illus-top-btn-2 .illus-top-sub{color:var(--muted,#6b5440)}
.illus-top-btn-2:hover{background:rgba(154,69,36,.07);filter:none}
.illus-3d-link{margin:-8px 0 22px}
html[data-theme="dark"] .illus-top-btn-2{color:#f6e6c4!important;border-color:#c9a24a;background:rgba(201,162,74,.06)}
html[data-theme="dark"] .illus-top-btn-2 .illus-top-icon,html[data-theme="dark"] .illus-top-btn-2 .illus-top-arrow{color:#f3d48a}
html[data-theme="dark"] .illus-top-btn-2 .illus-top-label{color:#f3d48a}
html[data-theme="dark"] .illus-top-btn-2 .illus-top-sub{color:#e6d3ae}
html[data-theme="dark"] .illus-top-btn-2:hover{background:rgba(201,162,74,.14)}
@media (max-width:640px){.illus-top{flex-direction:column}}

.tgc{--paper:#efe0bd;--paper2:#e6d2a6;--ink:#2a1a0c;--ink2:#5a4126;--rule:#7a5530;--red:#a3261b;--red2:#c9452f;--green:#2f6b2c;--green2:#4c8f3c;--unk:#7d6a4f;--bg:#2b1d12;--brass:#b08a3e}.tgc,.tgc *{box-sizing:border-box}.tgc .ticket{position:relative;display:grid;grid-template-columns:250px 22px 1fr;filter:drop-shadow(0 14px 22px #0009) drop-shadow(0 2px 2px #0007)}.tgc .paper{background-color:var(--paper);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .24  0 0 0 0 .1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='f'><feTurbulence type='turbulence' baseFrequency='.004 .03' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .1  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>"),
 radial-gradient(ellipse at 12% 18%,#fff6dc80 0,#0000 40%),radial-gradient(ellipse at 85% 80%,#b0874a40 0,#0000 45%),
 radial-gradient(ellipse at 60% 30%,#c9a26a26 0,#0000 30%),radial-gradient(circle at 95% 5%,#8a5a2a38 0,#0000 18%),
 linear-gradient(180deg,#f3e6c6,#e7d2a5)}.tgc .stub{position:relative;padding:22px 18px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;
 -webkit-mask:radial-gradient(circle 14px at 0 0,#0000 98%,#000) top left/100% 51% no-repeat,radial-gradient(circle 14px at 0 100%,#0000 98%,#000) bottom left/100% 51% no-repeat;
 mask:radial-gradient(circle 14px at 0 0,#0000 98%,#000) top left/100% 51% no-repeat,radial-gradient(circle 14px at 0 100%,#0000 98%,#000) bottom left/100% 51% no-repeat}.tgc .perf{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .24  0 0 0 0 .1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),linear-gradient(90deg,var(--paper2),var(--paper) 45%,var(--paper2));
 -webkit-mask:radial-gradient(circle 5px at 50% 50%,#0000 96%,#000) 0 0/22px 18px;mask:radial-gradient(circle 5px at 50% 50%,#0000 96%,#000) 0 0/22px 18px}.tgc .main{position:relative;padding:26px 46px 26px 30px;
 -webkit-mask:linear-gradient(#000 0 0) left/calc(100% - 12px) 100% no-repeat,conic-gradient(from -135deg at right,#0000,#000 1deg 89deg,#0000 90deg) right/12px 18px repeat-y;
 mask:linear-gradient(#000 0 0) left/calc(100% - 12px) 100% no-repeat,conic-gradient(from -135deg at right,#0000,#000 1deg 89deg,#0000 90deg) right/12px 18px repeat-y}.tgc .frame{position:absolute;inset:10px 22px 10px 12px;border:3px double var(--rule);pointer-events:none;border-radius:3px}.tgc .frame:before{content:"";position:absolute;inset:4px;border:1px solid #7a553077}.tgc .orn{position:absolute;width:22px;height:22px;color:var(--rule);font:20px/22px Georgia,serif;text-align:center;background:var(--paper)}.tgc .orn.tl{top:-12px;left:-12px}.tgc .orn.tr{top:-12px;right:-12px}.tgc .orn.bl{bottom:-12px;left:-12px}.tgc .orn.br{bottom:-12px;right:-12px}.tgc .stub .frame{inset:10px 10px 10px 10px}.tgc .admit{font:22px/1 Rye,Georgia,serif;letter-spacing:.06em;color:var(--red);margin-top:6px}.tgc .admit small{display:block;font:700 10px/1.2 "Source Sans 3";letter-spacing:.3em;color:var(--ink2);margin-top:5px}.tgc .badgebox{margin:12px 0 2px;position:relative}.tgc .badgebox .tg-star.lg{width:132px;height:132px}.tgc .score{font:46px/1 Rye,Georgia,serif;margin:4px 0 0}.tgc .score small{font-size:18px;color:var(--ink2)}.tgc .bandname{font:700 13px/1 "Source Sans 3";letter-spacing:.28em;text-transform:uppercase;margin-top:6px}.tgc .bandname .tg-pv{letter-spacing:0;text-transform:none;color:var(--ink2)}.tgc .barcode{height:26px;width:150px;margin-top:8px;opacity:.75;background:repeating-linear-gradient(90deg,var(--ink) 0 2px,#0000 2px 4px,var(--ink) 4px 5px,#0000 5px 8px,var(--ink) 8px 11px,#0000 11px 12px)}.tgc .kicker{font:700 11px/1 "Source Sans 3";letter-spacing:.32em;color:var(--ink2);text-transform:uppercase}.tgc .kicker:before,.tgc .kicker:after{content:" \2605 ";color:var(--red)}.tgc .tname{font:44px/1.02 Rye,Georgia,serif;margin:8px 0 4px;color:var(--ink);text-shadow:1px 1px 0 #fff6,0 0 1px #2a1a0c55}.tgc .facts{font:600 15px/1.3 Georgia,"Times New Roman",serif;font-style:italic;color:var(--ink2)}.tgc .rule2{height:6px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);margin:0 0 14px}.tgc .stamp{position:absolute;right:64px;top:40px;z-index:3;pointer-events:none;transform:rotate(-12deg);
 font:30px/1 Rye,Georgia,serif;letter-spacing:.08em;padding:8px 16px 6px;border:4px double currentColor;border-radius:8px;text-transform:uppercase;opacity:.82;
 -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .24  0 0 0 0 .1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0/120px,linear-gradient(#000 0 0);-webkit-mask-composite:source-over;mix-blend-mode:multiply}.tgc .stamp small{display:block;font:800 10px/1.2 "Source Sans 3";letter-spacing:.28em;text-align:center;margin-top:3px}.tgc .stamp.diamond{color:#1d4f86}.tgc .stamp.gold{color:#8a5a00}.tgc .stamp.silver{color:#4f5866}.tgc .stamp.bronze{color:#7a3f1a}.tgc .stamp.coal{color:#222}.tgc .stamp.go{animation:stampIn .55s cubic-bezier(.2,1.4,.4,1) both}@keyframes stampIn{0%{opacity:0;transform:rotate(-24deg) scale(2.6)}60%{opacity:.95;transform:rotate(-10deg) scale(.94)}80%{transform:rotate(-13deg) scale(1.03)}100%{opacity:.82;transform:rotate(-12deg) scale(1)}}.tgc .capstamp{position:relative;margin:12px auto 0;transform:rotate(-4deg);z-index:3;font:800 12px/1.15 "Source Sans 3";letter-spacing:.14em;text-transform:uppercase;color:var(--red);border:2px solid currentColor;padding:4px 8px;border-radius:4px;opacity:.85;max-width:230px;text-align:center;mix-blend-mode:multiply}.tgc .capstamp.go{animation:stampIn .5s .35s cubic-bezier(.2,1.4,.4,1) both}.tgc .cats{display:flex;flex-direction:column;gap:12px;margin-top:10px}.tgc .cat{position:relative;border:1.5px solid var(--rule);background:#fff8e330;border-radius:4px;padding:0;box-shadow:inset 0 0 0 3px #efe0bd,inset 0 0 0 4px #7a553055}.tgc .cathead{all:unset;box-sizing:border-box;display:grid;grid-template-columns:auto 1fr auto;gap:4px 12px;align-items:center;width:100%;padding:12px 14px 10px;cursor:pointer}.tgc .cathead:focus-visible{outline:2px solid var(--red);outline-offset:-4px}.tgc .roman{grid-row:1/3;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font:17px/1 Rye,Georgia,serif;color:var(--paper);background:var(--ink);box-shadow:0 0 0 2px var(--paper),0 0 0 3.5px var(--ink)}.tgc .cname{grid-column:2;font:21px/1 Rye,Georgia,serif;letter-spacing:.03em}.tgc .csub{grid-column:2;grid-row:2;font:600 12.5px/1.25 "Source Sans 3";color:var(--ink2)}.tgc .cpts{grid-column:3;grid-row:1/3;text-align:right;font:30px/1 Rye,Georgia,serif}.tgc .cpts small{display:block;font:700 10px/1.2 "Source Sans 3";letter-spacing:.18em;color:var(--ink2);text-transform:uppercase;margin-top:3px}.tgc .pos{color:var(--green)}.tgc .neg{color:var(--red)}.tgc .zero{color:var(--ink2)}.tgc .vis{padding:0 14px 10px}.tgc .more{display:block;font:700 11px/1 "Source Sans 3";letter-spacing:.18em;text-transform:uppercase;color:var(--ink2);text-align:center;padding:0 0 10px}.tgc .more:after{content:" \25BE";}.tgc .cat.open .more:after{content:" \25B4"}.tgc .punches{display:flex;flex-wrap:wrap;gap:9px;padding:10px 12px;border-top:1px dashed var(--rule);border-bottom:1px dashed var(--rule);background:repeating-linear-gradient(0deg,#0000 0 17px,#7a553018 17px 18px)}.tgc .hole{all:unset;cursor:pointer;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:900 15px/1 "Source Sans 3";position:relative;transition:transform .15s}.tgc .hole:hover,.tgc .hole:focus-visible{transform:scale(1.18)}.tgc .hole:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.tgc .hole.pass{background:radial-gradient(circle at 35% 30%,#7fbf66,var(--green) 70%);color:#f4fbe9;box-shadow:0 1px 0 #fff8,inset 0 -2px 3px #0004}.tgc .hole.plus{background:radial-gradient(circle at 35% 30%,#8fd273,#2a7a22 70%);color:#fff;box-shadow:0 0 0 2px #2f6b2c55,0 1px 0 #fff8,inset 0 -2px 3px #0004}.tgc .hole.cost{background:radial-gradient(circle,#2b1d12 0 55%,#1a110a 56% 60%,var(--red) 61%);color:#ffb3a3;box-shadow:0 0 0 2px var(--red2)}.tgc .hole.cost:after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px dashed #a3261b88}.tgc .hole.unk{background:#0000;border:2px dashed var(--unk);color:var(--unk)}.tgc .hole.info{background:#d9c49a;border:2px solid var(--unk);color:var(--ink2)}.tgc .hole .pv{position:absolute;bottom:-14px;left:50%;transform:translateX(-50%);font:800 10px/1 "Source Sans 3";white-space:nowrap}.tgc .legendmini{font:600 11.5px/1.2 "Source Sans 3";color:var(--ink2);margin-top:8px;display:flex;gap:12px;flex-wrap:wrap}.tgc .checks{display:none;padding:4px 14px 14px}.tgc .cat.open .checks{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}.tgc .chk{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;padding:8px 6px;border-bottom:1px dotted var(--rule)}.tgc .chk .hole{width:26px;height:26px;font-size:13px}.tgc .chk .lab{font:700 14.5px/1.25 "Source Sans 3"}.tgc .chk .why{font:400 13px/1.35 Georgia,serif;color:var(--ink2);margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tgc .chk .p{font:20px/1 Rye,Georgia,serif;min-width:40px;text-align:right}.tgc .tally{margin-top:18px;border-top:2px solid var(--rule);padding-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font:700 14px/1 "Source Sans 3"}.tgc .tally .tk{padding:6px 9px;border:1px solid var(--rule);border-radius:3px;background:#fff8e355;white-space:nowrap}.tgc .tally .eq{font:20px/1 Rye,serif}.tgc .tally .fin{font:22px/1 Rye,serif;padding:5px 10px;background:var(--ink);color:var(--paper);border-radius:3px}.tgc .tnotes{font:italic 600 13.5px/1.4 Georgia,serif;color:var(--red);margin-top:8px}.tgc .legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;font:600 13px/1.2 "Source Sans 3";color:var(--ink2);align-items:center}.tgc .legend .hole{width:20px;height:20px;font-size:11px;cursor:default;vertical-align:middle;margin-right:5px;display:inline-grid}.tgc .foot{margin-top:10px;font:600 12px/1.4 "Source Sans 3";color:var(--ink2)}.tgc-tip{position:fixed;z-index:50;max-width:340px;background:#fbf2dc;color:var(--ink);border:2px solid var(--ink);border-radius:4px;padding:10px 12px 10px;box-shadow:4px 5px 0 #0007;font:14px/1.4 "Source Sans 3";display:none}.tgc-tip.on{display:block;animation:tipIn .15s ease-out}@keyframes tipIn{from{opacity:0;transform:translateY(4px)}}.tgc-tip .desc,.tgc .chk .desc{font:italic 600 12.5px/1.35 "Source Sans 3";color:var(--ink);margin:0 0 4px;background:#7a553018;padding:3px 6px;border-left:3px solid var(--rule)}.tgc-tip h4{margin:0 0 4px;font:17px/1.15 Rye,Georgia,serif}.tgc-tip .st{font:800 11px/1 "Source Sans 3";letter-spacing:.14em;text-transform:uppercase;margin-bottom:6px}.tgc-tip .src{margin-top:8px;border-top:1px dashed var(--rule);padding-top:6px;font-size:12.5px;color:var(--ink2)}.tgc-tip .src a{color:var(--red);font-weight:700}.tgc-tip q{display:block;font:italic 12.5px/1.35 Georgia,serif;margin-top:2px}.tgc-tip .x{position:absolute;top:4px;right:8px;border:0;background:none;font:900 18px/1 sans-serif;cursor:pointer;color:var(--ink2)}@media (max-width:820px){.tgc .ticket{grid-template-columns:1fr;grid-template-rows:auto 22px auto}.tgc .stub{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"b a" "b s" "b n";text-align:left;gap:2px 14px;align-items:center;padding:20px 22px;
  -webkit-mask:radial-gradient(circle 14px at 0 100%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 14px at 100% 100%,#0000 98%,#000) right/51% 100% no-repeat;
  mask:radial-gradient(circle 14px at 0 100%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 14px at 100% 100%,#0000 98%,#000) right/51% 100% no-repeat}.tgc .stub .admit{grid-area:a}.tgc .stub .badgebox{grid-area:b;margin:0}.tgc .stub .scorebox{grid-area:s}.tgc .stub .serialbox{grid-area:n}.tgc .badgebox .tg-star.lg{width:92px;height:92px}.tgc .stub .serialbox{margin-top:8px}.tgc .score{font-size:36px}.tgc .barcode{display:none}.tgc .perf{-webkit-mask-size:18px 22px;mask-size:18px 22px}.tgc .main{padding:22px 18px 20px;-webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 12px) no-repeat,conic-gradient(from 45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/18px 12px repeat-x;
  mask:linear-gradient(#000 0 0) top/100% calc(100% - 12px) no-repeat,conic-gradient(from 45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/18px 12px repeat-x}.tgc .frame{inset:8px 8px 18px 8px}.tgc .tname{font-size:32px}.tgc .stamp{position:relative;right:auto;top:auto;display:inline-block;margin:10px 0 4px 6px;font-size:20px;padding:6px 10px 4px}.tgc .capstamp{transform:rotate(-2deg);display:block;margin:8px 0 10px;max-width:none;font-size:11px}.tgc .cat.open .checks{grid-template-columns:1fr}}/* True Grit rating ticket pop-up (display only; Judah approved 28 Oct 2026 19:45 GMT).
   Card styles: Mechanism Builder's prototype (/tmp/tgv2/make_card.py), scoped under .tgc.
   Today's scoring only: no v2 values, toggle, gauges or film switcher. */
.tgc{color:var(--ink);font:16px/1.45 "Source Sans 3",system-ui,sans-serif;text-align:left}
.tgc h2.tname{border:0;padding:0;background:none;text-transform:none;letter-spacing:0}
.tgc h2.tname:before,.tgc h2.tname:after{content:none}
.tgc .stamp{font-size:26px}
.tgc .tgc-pv{display:inline-block;margin-top:6px;font:800 11px/1 "Source Sans 3",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--ink2);border:1.5px solid var(--ink2);padding:4px 7px;border-radius:3px}
.tgc .tgc-needs{margin-top:8px;font:700 12px/1.3 "Source Sans 3",sans-serif;color:var(--ink2);max-width:210px}
.tgc .badgebox svg{width:132px;height:132px}
.tgc .chk .why{-webkit-line-clamp:4}
.tgc .chk .src{font:600 12px/1.35 "Source Sans 3",sans-serif;color:var(--ink2);margin-top:3px}
.tgc .chk .src a,.tgc-tip .src a{color:var(--red);font-weight:700}
.tgc .cpts small{font-size:10px}
.tgc .tnotes p{margin:0 0 3px}
.tgc .tgc-how{color:var(--red);font-weight:700}
.tgc .svlrow{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 0}
.tgc .svlrow .tg-lbox{font-size:.8rem}
.tgc .sr-only,.hero-tg .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:820px){.tgc .badgebox svg{width:92px;height:92px}.tgc .tgc-needs{max-width:none}}
/* hero trigger: badge + hint, and the S V L blocks stay on the hero (Judah, 19:46 GMT) */
.hero-tg .tg-badgecol{display:flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 auto}
.hero-tg .tg-hint{font:700 10.5px/1 "Source Sans 3",sans-serif;letter-spacing:.06em;color:#ecd08f;white-space:nowrap;text-transform:uppercase;opacity:.95}
.hero-tg{cursor:pointer}
.hero-tg b:after{content:" \2197"!important;content:" \2197"/""!important}
.hero-tg .hero-svl{display:flex!important;align-items:center;gap:4px;margin-top:5px;font-size:.78rem}
.hero-tg .hero-svl .tg-lbox{font-size:.74rem;width:1.7em;height:1.7em;box-shadow:0 0 0 1px #ffffff59;font-family:"Source Sans 3",system-ui,sans-serif;font-weight:800}
.hero-tg .hero-svl .tg-lbox.tg-lv-unknown{background:#3a2a1a!important;color:#f3e4bf!important;border:1px dashed #d8b46a!important;opacity:1!important}
.hero-tg .hero-svl-k{color:#e9d7b0;font-size:.74rem;letter-spacing:.04em;margin-right:2px}
/* modal shell */
.tgm[hidden]{display:none!important}
.tgm{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center}
.tgm-backdrop{position:absolute;inset:0;background:#120b06c4;backdrop-filter:blur(3px);animation:tgFade .2s ease-out}
.tgm-panel{position:relative;width:min(1180px,96vw);max-height:94vh;overflow:auto;overscroll-behavior:contain;border-radius:14px;background:#2b1d12 radial-gradient(ellipse at 50% 0,#4a3220 0,#2b1d12 70%);box-shadow:0 30px 80px #000c;animation:tgPop .28s cubic-bezier(.2,1.2,.4,1)}
.tgm-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px 6px;background:linear-gradient(#2b1d12 70%,#2b1d1200)}
.tgm .tgm-title{margin:0;border:0;padding:0;text-decoration:none;background:none;font:18px/1.1 Rye,Georgia,serif;color:#ecd08f;text-transform:none;letter-spacing:0}
.tgm .tgm-title:before,.tgm .tgm-title:after{content:none}
.tgm-x{flex:0 0 auto;width:40px;height:40px;border-radius:50%;border:2px solid #b08a3e;background:#1d130b;color:#f3e2bb;font:700 22px/1 "Source Sans 3",sans-serif;cursor:pointer;display:grid;place-items:center;padding:0}
.tgm-x:hover{background:#3a2716}.tgm-x:focus-visible{outline:3px solid #f1d38a;outline-offset:2px}
.tgm-handle{display:none}
.tgm-body{padding:0 10px 18px}
.tgm-load{color:#e9d7b0;text-align:center;padding:60px 0;font:600 15px "Source Sans 3",sans-serif}
@keyframes tgFade{from{opacity:0}}
@keyframes tgPop{from{opacity:0;transform:translateY(14px) scale(.97)}}
@keyframes tgUp{from{transform:translateY(100%)}}
html.tgm-lock,html.tgm-lock body{overflow:hidden}
@media (max-width:639.98px){
 .tgm{align-items:flex-end}
 .tgm-panel{width:100vw;height:100%;max-height:none;border-radius:16px 16px 0 0;animation:tgUp .32s cubic-bezier(.2,.9,.3,1)}
 .tgm-panel.dragging{transition:none}
 .tgm-panel.snap{transition:transform .2s ease}
 .tgm-handle{display:block;width:44px;height:5px;border-radius:3px;background:#b08a3e;margin:8px auto 0;cursor:grab;touch-action:none}
 .tgm-top{padding:6px 10px 6px;touch-action:none}
 .tgm .tgm-title{font-size:15px}
 .tgm-body{padding:0 4px 24px}
 .tgc .stamp{font-size:20px}
}
@media (prefers-reduced-motion:reduce){.tgm-panel,.tgm-backdrop,.tgc .stamp.go,.tgc .capstamp.go{animation:none}}
.tgc .headx{border-bottom:2px solid var(--rule);padding:0 150px 10px 0;margin:6px 0 4px}
.tgc .checks .desc{font:italic 600 12.5px/1.35 "Source Sans 3",sans-serif;color:var(--ink);margin:0 0 4px;background:#7a553018;padding:3px 6px;border-left:3px solid var(--rule)}
@media (max-width:820px){.tgc .headx{padding-right:0}}
.tgc .checks .tgc-rule{grid-column:1/-1}.tgc .chk .p .tgc-cap{font-size:12px}

/* Source confidence on history sections (editorial handbook 2.6). Judah, 30 Oct 18:00 GMT: a small circled "?"
   after the heading instead of a High/Medium/Low pill; tap/click (modern.js), hover or keyboard focus opens a popover
   with the level and its meaning. Colours: ? icon #7a4e0c on #fbf4e2 (7.0:1); popover #2b1a0e on #fffaf0 (15:1);
   dark: #e9c272 on #241a12 (9.6:1), popover #f3e6cc on #2e231a (12:1). */
.conf{position:relative;display:inline-block;margin:0 0 0 .4rem;vertical-align:.2em;line-height:1;font:400 1rem/1.45 "Source Sans 3",system-ui,sans-serif;letter-spacing:0;text-transform:none;font-variant:normal}
.conf-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;margin:0;border:1.5px solid #7a4e0c;border-radius:50%;
  background:#fbf4e2;color:#7a4e0c;font:700 13px/1 "Source Sans 3",system-ui,sans-serif;cursor:pointer;position:relative}
.conf-btn::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}  /* 44px tap target */
.conf-btn:hover,.conf-btn[aria-expanded="true"]{background:#7a4e0c;color:#fbf4e2}
.conf-btn:focus-visible{outline:2px solid #c9a24a;outline-offset:2px}
.conf-pop{display:none;position:absolute;z-index:20;left:-8px;top:calc(100% + 8px);width:max-content;max-width:min(300px,80vw);padding:.6rem .75rem;
  background:#fffaf0;color:#2b1a0e;border:1px solid #c9a24a;border-left:4px solid #7a4e0c;border-radius:6px;box-shadow:0 6px 18px #2b1a0e33;
  font-size:.9rem;line-height:1.4;font-weight:400;white-space:normal;text-align:left}
.conf-pop b{font-weight:700}
.conf-pop a{display:inline-block;margin-top:.25rem;color:#7a3e0c;text-decoration:underline}
.conf-btn:focus-visible+.conf-pop,.conf-btn[aria-expanded="true"]+.conf-pop{display:block}
@media (hover:hover){.conf:hover .conf-pop{display:block}}
.conf.conf-closed .conf-pop{display:none!important}   /* Esc closes it even while the mouse is over it */
html[data-theme="dark"] .conf-btn{background:#241a12;color:#e9c272;border-color:#e9c272}
html[data-theme="dark"] .conf-btn:hover,html[data-theme="dark"] .conf-btn[aria-expanded="true"]{background:#e9c272;color:#241a12}
html[data-theme="dark"] .conf-pop{background:#2e231a;color:#f3e6cc;border-color:#6b5434;border-left-color:#e9c272;box-shadow:0 6px 18px #0009}
html[data-theme="dark"] .conf-pop a{color:#f2c992}
@media (max-width:560px){.conf-pop{position:fixed;left:12px;right:12px;top:auto;bottom:76px;width:auto;max-width:none}}  /* above the bottom nav */
@media (pointer:coarse){.conf-btn{width:26px;height:26px;font-size:15px}}
@media (forced-colors:active){.conf-btn,.conf-pop{border-color:CanvasText;forced-color-adjust:auto}}
/* explainer page */
.conf-icon{display:inline-flex;align-items:center;justify-content:center;width:1.25em;height:1.25em;border:1.5px solid currentColor;border-radius:50%;font-weight:700;font-size:.85em;vertical-align:.08em}
.conf-def{margin:.6rem 0 1rem;padding:.2rem 0 .2rem .8rem;border-left:3px solid var(--border,#e6d3a8);scroll-margin-top:70px}
.conf-def p{margin:.25rem 0}

/* ===== film hero v2 (Judah, 30 Oct 2026): poster right, blurred poster backdrop, genre chips, scores; Quick facts box ===== */
.hero-v2 .hero-text{max-width:900px}
.hero-v2 .hero-text.hp{display:grid;max-width:none;column-gap:32px;grid-template-columns:minmax(0,1fr) 220px;
 grid-template-rows:repeat(6,auto) 1fr;
 grid-template-areas:"crumbs poster" "title poster" "meta poster" "genres poster" "tg poster" "scores poster" ". poster"}
.hero-v2 .hero-text.hp>.crumbs{grid-area:crumbs}
.hero-v2 .hero-text.hp>h1{grid-area:title}
.hero-v2 .hero-text.hp>.hero-meta{grid-area:meta}
.hero-v2 .hero-text.hp>.hero-genres{grid-area:genres}
.hero-v2 .hero-text.hp>.hero-tg{grid-area:tg;justify-self:start}
.hero-v2 .hero-text.hp>.hero-scores{grid-area:scores}
.hero-v2 .hero-text.hp>.hero-poster{grid-area:poster;align-self:start}
.hero-poster{margin:0;line-height:0}
.hero-poster picture{display:block}
.hero-poster img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:6px;
 border:1px solid #ecd08f66;box-shadow:0 10px 28px #000c;filter:none!important;cursor:zoom-in}
.hero-v2 .hero-bd-poster{object-fit:cover;object-position:center;filter:blur(26px) brightness(.45) saturate(1.1)}
.hero-v2.hero-case-poster .hero-shade{background:linear-gradient(180deg,#0d080559 0%,#0d080573 40%,#0d0805d9 80%,#0d0805f2 100%)}
.hero-v2.hero-case-poster{min-height:0;padding-top:28px}
/* runtime + genre chips */
.hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:.15em 0 0;color:#efe2c8;font-size:1rem}
.hero-run{white-space:nowrap}
.hero-run+.hero-dir:before{content:"·";margin-right:8px;color:#ecd08f}
.hero-dir a{color:#fbf4e2!important;text-decoration:underline;text-decoration-color:#ecd08f99;text-underline-offset:2px}
.hero-dir a:hover,.hero-dir a:focus-visible{text-decoration-color:#ecd08f}
.hero-genres{display:flex;flex-wrap:wrap;gap:6px 8px;margin:8px 0 0}
.genre-chip{display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border:1px solid #ecd08fa6;border-radius:3px;
 background:#0d080599;color:#fbf4e2!important;font:600 .8rem/1.2 "Source Sans 3",system-ui,sans-serif;letter-spacing:.03em;
 text-decoration:none!important;box-sizing:border-box}
a.genre-chip:hover,a.genre-chip:focus-visible{background:#ecd08f;color:#1a120c!important;border-color:#ecd08f}
a.genre-chip:focus-visible,.hs:focus-visible{outline:2px solid #fbf4e2;outline-offset:2px}
/* review scores under the rating: plain-text rectangles, no logos (Judah, 30 Oct 21:27 GMT).
   Contrast: black on #f5c518 13:1; white on #1d7a35 5.4:1; white on #c4271f 5.8:1. The hero is dark in both themes. */
.hero-scores{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hs{display:inline-flex;align-items:baseline;gap:6px;min-height:32px;box-sizing:border-box;padding:6px 10px;border-radius:4px;
 border:1px solid #0000004d;text-decoration:none!important;font:700 .92rem/1.2 "Source Sans 3",system-ui,sans-serif;box-shadow:0 1px 3px #0006}
.hs-imdb{background:#f5c518;color:#000!important}
.hs-mc{background:#1d7a35;color:#fff!important}
.hs-rt{background:#c4271f;color:#fff!important}
.hs:hover{filter:brightness(1.08);box-shadow:0 0 0 2px #fbf4e2cc}
.hs-name{font-weight:600}
.hs-v{font-weight:800}
.hs-v small{font-weight:600;margin-left:1px}
/* Quick facts box (the film infobox, every row shown) */
.quick-facts .ib-title{font-size:1.15rem;letter-spacing:.02em}
.quick-facts .qf-note{margin:10px 0 0;font-size:.74rem;line-height:1.45;color:#eadcbe}
.quick-facts .qf-note a{color:var(--gold2)}
.quick-facts .poster-link{margin:0 0 6px;font-size:.85rem;text-align:center}
@media(max-width:760px){
 .hero-v2 .hero-text.hp{column-gap:14px;grid-template-columns:minmax(0,1fr) 108px;
  grid-template-rows:repeat(4,auto) 1fr auto auto;
  grid-template-areas:"crumbs poster" "title poster" "meta poster" "genres poster" ". poster" "tg tg" "scores scores"}
 .hero-v2 .hero-text.hp>.hero-poster{align-self:start}
 .hero-v2 .hero-text.hp>h1{font-size:1.7rem;line-height:1.15}
 .hero-v2.hero-case-poster{padding-top:14px}
 .hero-poster img{border-radius:4px}
 .entry>aside.quick-facts{order:0}
 .hero-scores{gap:6px}
 .hs{gap:4px;padding:5px 8px;font-size:.84rem;min-height:30px}
}
@media(forced-colors:active){.genre-chip,.hs{border:1px solid CanvasText}}
/* ===== fix-3010b (Judah, 30 Oct 21:27 GMT) ===== */
/* 8. breadcrumb, title, runtime/director line and genre chips sit top-left in every film hero */
.hero-head.hero-v2{justify-content:flex-start}
.hero-v2.hero-case-still .hero-shade,.hero-v2.hero-case-none .hero-shade{background:linear-gradient(180deg,#0d0805e6 0%,#0d0805b3 45%,#0d080580 75%,#0d0805b3 100%)}
/* 7. no UK-clear poster: the Dusk placeholder fills the poster slot; a real still (if any) is the backdrop */
.hero-poster-fpp .fpp{max-width:none;margin:0;border-radius:6px;box-shadow:0 10px 28px #000c;outline:1px solid #ecd08f66;outline-offset:-1px}
.hero-v2.hero-ph-still .hero-img{object-position:center 40%}
.hero-v2.hero-ph-still .hero-shade{background:linear-gradient(90deg,#0d0805f2 0%,#0d0805d9 50%,#0d0805a6 100%)}
@media(max-width:760px){
 .hero-poster-fpp .fpp{border-radius:4px}
 .hero-v2.hero-ph-still .hero-shade{background:linear-gradient(180deg,#0d0805e0 0%,#0d0805cc 60%,#0d0805f2 100%)}
}
/* fix-3010b: on phones the text column beside the poster is narrow, so runtime and director sit on their own lines
   (no stray "·" leading the second line) */
@media(max-width:760px){.hero-meta{flex-direction:column;align-items:flex-start;gap:2px}.hero-run+.hero-dir:before{content:none}}

/* ---- Top-menu drop-downs (generalised from Old West to every .dd, 1 Nov 2026 QA) + Old West: categories drop-down, category strip, wide Trains cards (30 Oct 2026) ---- */
.dd .dd-btn{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:28px;height:28px;margin:0 0 0 -4px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.dd .dd-btn[hidden]{display:none}
.dd .dd-btn svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.dd .dd-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.dd .dd-btn:hover{background:#c9a24a22}
.dd .dd-btn:focus-visible{outline:2px solid #f0d9a0;outline-offset:1px}
.dd.dd-open .dd-menu{display:block}
.dd .dd-menu{min-width:220px;max-height:min(70vh,560px);overflow:auto}
.dd .dd-menu a:focus-visible{outline:2px solid #f0d9a0;outline-offset:-2px}
@media(max-width:1024px){
 html.nav-js .masthead nav#site-nav.open>.dd{display:flex;flex-wrap:wrap;align-items:center;grid-column:1/-1}
 html.nav-js .masthead nav#site-nav.open>.dd>a{flex:1 1 auto}
 html.nav-js .masthead nav#site-nav.open>.dd>.dd-btn{width:44px;height:44px;margin:0;border:1px solid #c9a24a55;border-radius:9px}
 html.nav-js .masthead nav#site-nav.open .dd.dd-open .dd-menu{display:grid!important;position:static;transform:none;flex:1 1 100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;min-width:0;width:100%;box-sizing:border-box;left:auto;max-height:none;margin:4px 0 2px;padding:4px;box-shadow:none;border:1px solid #c9a24a33;border-radius:10px;background:#ffffff08}
 html.nav-js .masthead nav#site-nav.open .dd.dd-open .dd-menu a{display:flex;align-items:center;min-height:44px;padding:4px 8px;border-radius:8px;font-size:.8rem;white-space:normal;line-height:1.2;overflow-wrap:normal;word-break:normal;hyphens:manual;letter-spacing:.06em}
}
.ow-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:4px auto 18px;max-width:900px}
.ow-cats a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 14px;border:1px solid var(--gold,#c9a24a);border-radius:999px;font-size:.9rem;text-decoration:none;background:var(--surface-2,transparent)}
.ow-cats a:hover,.ow-cats a:focus-visible{background:#c9a24a2e}
html[data-theme="dark"] .ow-cats a{border-color:#c9a24a88}
/* Trains page: wide landscape cards, 2 per row on desktop, 1 on phones */
.grid.posters.wide-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
.grid.posters.wide-cards .thumb img,.grid.posters.wide-cards .thumb .ph,.grid.posters.wide-cards .thumb svg{aspect-ratio:16/9!important;width:100%;height:auto!important;object-fit:cover}
.grid.posters.wide-cards .thumb-plate{background:#f3ead6!important;display:flex;align-items:center;justify-content:center}
.grid.posters.wide-cards .thumb-plate img.illus-card-img{object-fit:contain;padding:10px 12px;box-sizing:border-box}
html[data-theme="dark"] .grid.posters.wide-cards .thumb-plate{background:#e9dcc0!important}
.grid.posters.wide-cards .cap{font-size:1rem!important;padding:10px 14px 12px!important}
@media(max-width:700px){.grid.posters.wide-cards{grid-template-columns:1fr!important;gap:14px!important}}
/* fix-3010b: "Stagecoaches" broke as STAGECOACH/ES in the phone menu (overflow-wrap:anywhere); whole words only now,
   slightly tighter letter-spacing so the longest single word fits a half-width column down to 320px screens */
@media(max-width:360px){html.nav-js .masthead nav#site-nav.open .dd.dd-open .dd-menu a{font-size:.72rem;letter-spacing:.04em;padding:4px 6px}}
.ow-cats a{white-space:nowrap}

/* QA 1 Nov 2026: drop-downs sit above every sticky page bar (nav.jump/.az-top 20, .f3-bar 30, .to-top 45, .bottom-nav 50);
   no ancestor makes a stacking context, so the menu's own z-index is enough. With JS (html.dd-js, navdd.js) the menu
   follows .dd-open only, so hover, click and aria-expanded never disagree. */
.dd-menu{z-index:60}
html.dd-js .dd:hover .dd-menu,html.dd-js .dd:focus-within .dd-menu{display:none}
html.dd-js .dd.dd-open .dd-menu{display:block}

/* Back to top button (theme/totop.js), site-wide (Judah, 30 Oct 2026 21:27 GMT) */
.to-top{position:fixed;right:18px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:45;display:inline-flex;align-items:center;gap:6px;
 min-width:48px;min-height:48px;padding:0 16px 0 12px;box-sizing:border-box;border:1px solid #c9a24a;border-radius:999px;
 background:#1d120af2;color:#f6e3b4;font:700 .9rem/1 "Source Sans 3",system-ui,sans-serif;letter-spacing:.02em;cursor:pointer;
 box-shadow:0 4px 14px #0006;opacity:0;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,background .2s ease}
.to-top.on{opacity:1;transform:none}
.to-top[hidden]{display:none}
.to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.to-top:hover{background:#3a2412}
.to-top:focus-visible{outline:3px solid #f1d38a;outline-offset:3px}
html[data-theme="dark"] .to-top{background:#2a1c10f2;border-color:#ecd08f99}
@media(max-width:760px){   /* above the phone bottom bar (~62px + safe area); icon only */
 .to-top{right:12px;bottom:calc(74px + env(safe-area-inset-bottom));padding:0;justify-content:center;width:48px}
 .to-top-t{display:none}
}
@media print{.to-top{display:none!important}}
@media(prefers-reduced-motion:reduce){.to-top{transition:none}}
@media(forced-colors:active){.to-top{border:1px solid ButtonText}}

/* Front page (index.html), built from the approved mockup (/workspace/wf/frontpage/mockup/, 30 Oct 2026).
   Markup: modern_port.home() and fp_*; behaviour: theme/frontpage.js. The dark theme keeps .fcard un-underlined
   via the :not(.fcard) exclusion in dark.css. */
main.fp-home>section h2,main.fp-home .fp-two>section h2{font-family:Rye,serif;color:var(--heading)}
.fp-featured,.fp-trend,.fp-top{margin:34px 0}
.fp-h3{font:700 .8rem "Source Sans 3",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:1.1em 0 .4em;border-bottom:1px dashed var(--border);padding-bottom:4px}
/* Featured */
.f-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}
.fcard{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);color:var(--text);text-decoration:none;transition:transform .15s,box-shadow .15s}
.fcard:hover{transform:translateY(-2px);box-shadow:var(--shadow-up)}
.fcard:hover .f-title{text-decoration:underline}
.f-img{display:block;aspect-ratio:4/3;background:#2a1a10;overflow:hidden}
.f-img img{width:100%;height:100%;object-fit:cover;display:block}
.fcard--poster{flex-direction:row;grid-row:span 1}
.fcard--poster .f-img{aspect-ratio:auto;flex:0 0 46%;background:radial-gradient(circle at 50% 30%,#4a2c18,#1b100a)}
.fcard--poster .f-img img{object-fit:contain;padding:10px}
.f-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;flex:1}
.f-kick{font:700 .74rem "Source Sans 3",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.11em;color:var(--rust-text)}
.f-title{font:1.45rem/1.15 Rye,serif;color:var(--heading)}
.fcard--poster .f-title{font-size:1.9rem}
.f-sum{font-size:.98rem;line-height:1.45}
.f-why{font-size:.92rem;color:var(--text);background:var(--surface-2);border-left:3px solid var(--accent);padding:6px 9px;border-radius:0 6px 6px 0}
.f-credit{margin-top:auto;font-size:.76rem;color:var(--muted)}
/* Two columns: On this day | New */
.fp-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}
.fp-two>section{margin:0;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:18px 22px}
.fp-two h2{margin-top:0}
.otd-today{margin:-.3em 0 .2em}
.otd-big{font:1.7rem Rye,serif;color:var(--rust-text)}
.otd-list,.new-list{list-style:none;margin:0;padding:0}
.otd-list li{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;padding:6px 0;border-bottom:1px solid var(--border)}
.otd-list li:last-child{border-bottom:0}
.otd-list .otd-date{font-size:1.05rem;min-width:4.2em}
.otd-y{font-size:.82rem;color:var(--muted);min-width:9.5em}
.otd-list a{font-weight:600}
.otd-hook{flex-basis:100%;font-size:.9rem;color:var(--muted);padding-left:0;margin-top:-2px}
.otd-list li .otd-y+a+.otd-hook{padding-left:0}
.otd-list li .otd-date~.otd-hook{flex-basis:auto;padding-left:0}
.otd-more{padding-left:0;font-size:.9rem}
.new-news{background:var(--surface);border:1px dashed var(--accent);border-radius:8px;padding:8px 10px;font-size:.93rem;margin:0 0 10px}
.new-day{margin:12px 0 4px}
.new-date{font:1.05rem Rye,serif;color:var(--rust-text);border-bottom:1px dashed var(--border);padding-bottom:3px;margin-bottom:4px}
.new-date span{font:600 .82rem "Source Sans 3",system-ui,sans-serif;color:var(--muted);margin-left:6px}
.new-list li{display:flex;gap:9px;align-items:baseline;padding:4px 0}
.new-list a{font-weight:600}
.chip-cat{flex:0 0 auto;display:inline-block;min-width:4.9em;text-align:center;font:700 .68rem "Source Sans 3",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em;padding:2px 6px;border-radius:999px;background:var(--surface-3);color:var(--text);border:1px solid var(--border)}
.cat-history{background:#f3dfc8;color:#6b2a0e;border-color:#d9b48c}
.cat-films{background:#e7e0f3;color:#3d2a66;border-color:#c5b6e0}
.cat-guns{background:#dfe6ea;color:#24343d;border-color:#b6c4cc}
.cat-old-west{background:#efe6c9;color:#5a4710;border-color:#d6c48c}
.cat-site{background:#7a2e14;color:#fff7ea;border-color:#7a2e14}
html[data-theme="dark"] .cat-history{background:#4a2617;color:#ffd9bd;border-color:#6b3a22}
html[data-theme="dark"] .cat-films{background:#2f2645;color:#ddd0ff;border-color:#4a3d6a}
html[data-theme="dark"] .cat-guns{background:#26323a;color:#d3e3ec;border-color:#3d4f5a}
html[data-theme="dark"] .cat-old-west{background:#3d351a;color:#f2e2a8;border-color:#5a4e26}
html[data-theme="dark"] .cat-site{background:#c8653a;color:#1b100a;border-color:#c8653a}
/* Trending */
.soon-chip{font:700 .72rem "Source Sans 3",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.1em;padding:3px 9px;border-radius:999px;background:var(--surface-3);color:var(--muted);border:1px solid var(--border);vertical-align:middle;margin-left:8px}
.trend-slot{border:2px dashed var(--border);border-radius:var(--radius);padding:18px 20px;background:var(--surface-2)}
.trend-slot p{margin:0 0 .4em}
.trend-ghost{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:12px}
.trend-ghost span{display:block;height:84px;border-radius:8px;background:repeating-linear-gradient(135deg,var(--surface-3) 0 10px,transparent 10px 20px);border:1px solid var(--border);opacity:.7}
@media (max-width:900px){.f-grid{grid-template-columns:1fr 1fr}.fcard--poster{grid-column:1/-1}}
@media (max-width:760px){
 .f-grid,.fp-two{grid-template-columns:1fr}
 .fcard--poster{flex-direction:column}.fcard--poster .f-img{aspect-ratio:4/3;flex:none}
 .fp-two>section{padding:14px 14px}
 .otd-list li .otd-y+a+.otd-hook{padding-left:0}
 .otd-y{min-width:0}
 .trend-ghost{grid-template-columns:repeat(3,1fr)}
}

/* real build additions */
html[data-theme="dark"] a.fcard{color:var(--text)}
.fcard:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.f-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:3rem;color:#e2a33a}
.f-img>.fpp-frame,.f-img>.gen-poster,.f-img>span{height:100%}
.otd-hook a{font-weight:400}
.otd-list li[hidden]{display:none}
.cat-people{background:#e3ecdc;color:#2c4220;border-color:#bccdae}
.cat-horses{background:#f0e1d6;color:#5b3218;border-color:#d8b9a0}
.cat-books{background:#e8e3d6;color:#463d24;border-color:#cdc3a6}
.cat-tv{background:#dde7f0;color:#1f3a52;border-color:#b2c6d8}
.cat-art{background:#f1dde6;color:#5a2440;border-color:#d8b2c4}
html[data-theme="dark"] .cat-people{background:#26331f;color:#d4ecc4;border-color:#3d5232}
html[data-theme="dark"] .cat-horses{background:#3d2a1d;color:#f3d6bf;border-color:#5a3f2c}
html[data-theme="dark"] .cat-books{background:#35301f;color:#ece0bd;border-color:#504830}
html[data-theme="dark"] .cat-tv{background:#1f2e3d;color:#cfe2f4;border-color:#34495e}
html[data-theme="dark"] .cat-art{background:#3d2030;color:#f4cfe0;border-color:#5a3346}

/* Featured this week slider (Judah, 31 Oct 2026; IMDb-style). Markup: modern_port.fp_slider(); behaviour: frontpage.js.
   No JS: .fs-slides is a static grid of all picks and .fs-side and the controls stay hidden. JS adds .fs-on. */
.fs-side[hidden],.fs-list li[hidden],.fs-pp[hidden],.fs-prog[hidden],.fs-clock[hidden]{display:none}
.fs-slides{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.fs-slide{display:flex;min-width:0}
.fs-slide>.fcard{flex:1;min-width:0}
.fp-slider.fs-on .fs-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:stretch}
.fp-slider.fs-on .fs-slides{grid-template-columns:1fr;gap:0}
.fp-slider.fs-on .fs-slide{grid-area:1/1;visibility:hidden;opacity:0;transition:opacity .45s ease,visibility 0s linear .45s}
.fp-slider.fs-on .fs-slide.is-active{visibility:visible;opacity:1;transition:opacity .45s ease}
.fp-slider.fs-on .fs-slide>.fcard{flex-direction:row;min-height:400px}
.fp-slider.fs-on .fs-slide .f-img{flex:0 0 44%;aspect-ratio:auto;min-height:100%;background:radial-gradient(circle at 50% 30%,#4a2c18,#1b100a)}
.fp-slider.fs-on .fs-slide .fcard--poster .f-img img{object-fit:contain;padding:12px}
.fp-slider.fs-on .fs-slide .f-body{padding:22px 24px;gap:10px;justify-content:center}
.fp-slider.fs-on .fs-slide .f-title{font-size:2.2rem}
.fp-slider.fs-on .fs-slide .f-sum{font-size:1.05rem;line-height:1.5}
.fs-side{display:flex;flex-direction:column;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px}
.fs-side-h{font:1.15rem Rye,serif;color:var(--rust-text);margin:0 0 8px;border-bottom:1px dashed var(--border);padding-bottom:6px}
.fs-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;flex:1}
.fs-up{display:flex;gap:12px;align-items:center;width:100%;text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px;cursor:pointer;font:inherit;transition:border-color .15s,transform .15s}
.fs-up:hover .fs-up-t{text-decoration:underline}
.fs-up-img{flex:0 0 64px;height:86px;border-radius:6px;overflow:hidden;background:radial-gradient(circle at 50% 30%,#4a2c18,#1b100a);display:block}
.fs-up-img>*{width:100%;height:100%;display:block}
.fs-up-img img{width:100%;height:100%;object-fit:cover;display:block}
.fs-up-img .gen-poster,.fs-up-img .fpp-frame{transform-origin:0 0}
.fs-up-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.fs-up .f-kick{font-size:.66rem}
.fs-up-t{font:1.02rem/1.2 Rye,serif;color:var(--heading)}
/* photos (history, guns, horses) are landscape: picture across the top instead of a side column */
.fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster){flex-direction:column}
.fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-img{flex:0 0 auto;height:250px;min-height:0}
.fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-img img{object-position:50% 40%}
.fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-body{padding:16px 24px 18px;justify-content:flex-start}
.fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-title{font-size:1.9rem}
.fs-list li{flex:1;display:flex}
.fs-list li>.fs-up{flex:1}
@media (max-width:900px){.fp-slider.fs-on .fs-wrap{grid-template-columns:minmax(0,1fr) 240px}}
@media (max-width:760px){
 .fs-slides{grid-template-columns:1fr}
 .fp-slider.fs-on .fs-wrap{display:block}
 .fp-slider.fs-on .fs-side{display:none}
 .fp-slider.fs-on .fs-slide>.fcard{flex-direction:column;min-height:0}
 .fp-slider.fs-on .fs-slide .f-img{flex:none;height:260px;min-height:0}
 .fp-slider.fs-on .fs-slide .f-body{padding:14px 16px 16px}
 .fp-slider.fs-on .fs-slide .f-title{font-size:1.6rem}
}
@media (prefers-reduced-motion:reduce){.fp-slider .fs-slide,.fp-slider.fs-on .fs-slide,.fp-slider.fs-on .fs-slide.is-active,.fs-up{transition:none}.fs-up:hover{transform:none}}
/* search hero removed (Judah, 31 Oct 2026): Featured this week starts right below the menus */
.fp-home>.fp-featured:first-of-type{margin-top:0}
.fp-home>.fp-featured:first-of-type>h2:first-child{margin-top:0}
/* squish the Featured slider (Judah, 31 Oct 2026 21:03 GMT): less padding, shorter slide, tighter Up next */
.fp-featured{margin-bottom:22px}
.fp-featured>h2{margin-bottom:.25em}
.fp-featured>.mc-note{margin:0 0 .6em}
.fp-slider.fs-on .fs-wrap{gap:14px}
@media (min-width:761px){
 .fp-slider.fs-on .fs-slide>.fcard{min-height:320px}
 .fp-slider.fs-on .fs-slide .f-img{flex-basis:38%}
 .fp-slider.fs-on .fs-slide .fcard--poster .f-img img{padding:8px}
 .fp-slider.fs-on .fs-slide .f-body{padding:16px 20px;gap:7px}
 .fp-slider.fs-on .fs-slide .f-title{font-size:1.9rem;line-height:1.1}
 .fp-slider.fs-on .fs-slide .f-sum{font-size:1rem;line-height:1.42}
 .fp-slider.fs-on .fs-slide .f-why{padding:5px 9px;line-height:1.4}
 .fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-img{height:190px}
 .fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-body{padding:12px 20px 14px}
 .fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-title{font-size:1.65rem}
}
.fs-side{padding:10px 12px}
.fs-side-h{margin:0 0 6px;padding-bottom:4px;font-size:1.05rem}
.fs-list{gap:7px}
.fs-up{gap:10px;padding:6px}
.fs-up-img{flex-basis:52px;height:70px}
.fs-up-txt{gap:1px}
.fs-up-t{font-size:.95rem;line-height:1.15}
.fs-slides{gap:14px}
@media (max-width:760px){
 .fp-slider.fs-on .fs-slide .f-img{height:210px}
 .fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-img{height:180px}
 .fp-slider.fs-on .fs-slide .f-body{padding:12px 14px 14px;gap:6px}
 .fp-slider.fs-on .fs-slide .f-title,.fp-slider.fs-on .fs-slide>.fcard:not(.fcard--poster) .f-title{font-size:1.45rem}
 .fp-slider.fs-on .fs-slide .f-sum{font-size:.98rem}
}
/* level Up next with the main slide (Judah, 31 Oct 2026 21:37 GMT): side column is exactly the slide's height, tops and bottoms aligned */
@media (min-width:761px){
 .fp-slider.fs-on .fs-side{contain:size;min-height:0;overflow:hidden;box-sizing:border-box;padding:8px 10px}
 .fp-slider.fs-on .fs-side-h{flex:none;margin:0 0 6px;padding-bottom:3px;font-size:1rem;line-height:1.2}
 .fp-slider.fs-on .fs-list{flex:1 1 0;min-height:0;gap:6px}
 .fp-slider.fs-on .fs-list li{flex:1 1 0;min-height:0}
 .fp-slider.fs-on .fs-up{min-height:0;overflow:hidden;padding:5px 6px;gap:9px}
 .fp-slider.fs-on .fs-up-img{flex:0 0 auto;height:100%;max-height:72px;aspect-ratio:3/4;width:auto}
 .fp-slider.fs-on .fs-up-txt{gap:1px;min-width:0}
 .fp-slider.fs-on .fs-up .f-kick{font-size:.62rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .fp-slider.fs-on .fs-up-t{font-size:.92rem;line-height:1.15;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
}
/* slider controls (Judah, 31 Oct 2026 21:49 GMT): round pause/play icon top right of the main slide, the next Up next item
   fills left to right over the 5 s run (bar under the slide on mobile), cards lift on hover/focus. Arrows, dots and Pause row gone. */
.fp-slider.fs-on .fs-main{position:relative;min-width:0}
.fs-pp{position:absolute;top:10px;right:10px;z-index:3;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;
 background:rgba(27,16,10,.62);color:#f6e7c8;border:1px solid rgba(246,231,200,.45);box-shadow:0 2px 8px rgba(0,0,0,.25);transition:background .15s,transform .15s,border-color .15s}
.fs-pp svg{width:16px;height:16px;fill:currentColor}
.fs-pp .fs-pp-play,.fs-pp[aria-pressed="true"] .fs-pp-pause{display:none}
.fs-pp[aria-pressed="true"] .fs-pp-play{display:block}
.fs-pp:hover{background:rgba(27,16,10,.85);border-color:var(--accent);transform:scale(1.06)}
.fs-pp:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
html[data-theme="dark"] .fs-pp{background:rgba(10,6,3,.7)}
.fs-clock{position:absolute;width:1px;height:1px;overflow:hidden;visibility:hidden;pointer-events:none}
@keyframes fs-clock{from{opacity:0}to{opacity:0}}
@keyframes fs-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.fp-slider.fs-tick .fs-clock{animation:fs-clock 5s linear forwards}
/* Up next: the item that comes in next fills with a light warm wash */
.fs-up{position:relative;overflow:hidden;transition:border-color .2s,transform .2s,box-shadow .2s,background-color .2s}
.fs-up>.fs-up-img,.fs-up>.fs-up-txt{position:relative;z-index:1}
.fs-up::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 14%,transparent),color-mix(in srgb,var(--accent) 30%,transparent));transform:scaleX(0);transform-origin:0 50%;pointer-events:none}
.fs-up.is-next{border-color:color-mix(in srgb,var(--accent) 55%,var(--border))}
.fp-slider.fs-tick .fs-up.is-next::before{animation:fs-fill 5s linear forwards}
/* mobile: thin bar along the bottom of the main slide instead */
.fs-prog{display:none}
@media (max-width:760px){
 .fp-slider.fs-on .fs-prog{display:block;position:absolute;left:1px;right:1px;bottom:1px;height:4px;z-index:2;overflow:hidden;border-radius:0 0 var(--radius) var(--radius);background:color-mix(in srgb,var(--accent) 18%,transparent);pointer-events:none}
 .fs-prog::before{content:"";position:absolute;inset:0;background:var(--accent);opacity:.85;transform:scaleX(0);transform-origin:0 50%}
 .fp-slider.fs-tick .fs-prog::before{animation:fs-fill 5s linear forwards}
}
/* everything stops together: hover, focus, the pause icon, a hidden tab */
.fp-slider.fs-tick:not(.fs-run) .fs-clock,.fp-slider.fs-tick:not(.fs-run) .fs-up.is-next::before,.fp-slider.fs-tick:not(.fs-run) .fs-prog::before{animation-play-state:paused}
/* hover / keyboard focus: cards lift a little and brighten */
.fs-up:hover,.fs-up:focus-visible{transform:translateY(-2px);border-color:var(--accent);box-shadow:0 6px 16px rgba(60,30,10,.18);background-color:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.fs-up:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
html[data-theme="dark"] .fs-up:hover,html[data-theme="dark"] .fs-up:focus-visible{box-shadow:0 6px 16px rgba(0,0,0,.45)}
.fp-slider.fs-on .fs-slide>.fcard{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.fp-slider.fs-on .fs-slide>.fcard:hover,.fp-slider.fs-on .fs-slide>.fcard:focus-visible{transform:translateY(-2px);box-shadow:var(--shadow-up);border-color:color-mix(in srgb,var(--accent) 60%,var(--border))}
.fp-slider.fs-on .fs-slide>.fcard:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
 .fp-slider .fs-up.is-next::before,.fp-slider.fs-tick .fs-up.is-next::before{animation:none;transform:scaleX(1);opacity:.75}
 .fp-slider .fs-prog::before,.fp-slider.fs-tick .fs-prog::before{animation:none;transform:scaleX(0)}
 .fs-up,.fs-pp,.fp-slider.fs-on .fs-slide>.fcard{transition:none}
 .fs-up:hover,.fs-up:focus-visible,.fs-pp:hover,.fp-slider.fs-on .fs-slide>.fcard:hover,.fp-slider.fs-on .fs-slide>.fcard:focus-visible{transform:none}
}

/* ---- Gallery cards (1 Nov 2026) ------------------------------------------------
   One card size and style for every picture gallery: the "Gallery" section on film,
   TV, people, guns, horses, history and Old West/Trains pages, and the "In the films" /
   "Appears in" strip on people pages. Markup: build.py gallery()/appearances()
   (.gallery > figure.gal > img.zoomable + figcaption). Look follows the films_v4 /
   front-page .fcard: surface card, 1px border, 12px radius, soft shadow, slight lift.
   Picture: fixed 4:3 frame. Landscape/square = cover, focal point a little above
   centre (faces); portrait (.gal-tall, set by modern_port.mark_tall_gallery) = the
   whole picture on a dark mat. The lightbox (wiki.js) always opens data-full, uncropped. */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:1fr;gap:20px;clear:both;margin:0 0 1.2em}
.gal{display:flex;flex-direction:column;margin:0;padding:0;background:var(--surface-2);border:1px solid var(--border);
 border-radius:var(--radius,12px);overflow:hidden;box-shadow:var(--shadow);min-width:0;transition:transform .15s,box-shadow .15s}
.gal:hover,.gal:focus-within{transform:translateY(-2px);box-shadow:var(--shadow-up)}
.gal img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 30%;
 border:0;border-radius:0;margin:0;background:radial-gradient(circle at 50% 30%,#4a2c18,#1b100a);filter:none;cursor:zoom-in}
html[data-theme="dark"] .gal img{filter:var(--img-dim);border:0}
.gal.gal-tall img{object-fit:contain;object-position:50% 50%;padding:8px;box-sizing:border-box}
.gal figcaption,html[data-theme="dark"] .gal figcaption{flex:1;display:flex;flex-direction:column;gap:3px;margin:0;padding:10px 12px 12px;
 background:none;font-size:.85rem;line-height:1.35;text-align:left;color:var(--text)}
.gal .capt,.gal .depicts,.gal .role,.gal .credit{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.gal .capt{-webkit-line-clamp:2;font-style:normal;font-weight:600;font-family:"Playfair Display",serif;font-size:.92rem;line-height:1.3}
.gal a.capt,html[data-theme="dark"] .gal a.capt{color:var(--link);text-decoration:none;font-weight:600}
.gal a.capt:hover{text-decoration:underline}
.gal .depicts{-webkit-line-clamp:1;font-size:.8rem;color:var(--muted)}
.gal .role,html[data-theme="dark"] .gal .role{-webkit-line-clamp:1;font-style:italic;font-size:.8rem;color:var(--muted)}
.gal .credit,html[data-theme="dark"] .gal .credit{-webkit-line-clamp:2;margin-top:auto;padding-top:4px;font-size:.72rem;opacity:1;color:var(--muted)}
.gal .credit a,.gal .depicts a{color:inherit}
@media (max-width:600px){
 .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .gal figcaption{padding:8px 9px 10px;font-size:.8rem}
 .gal .capt{font-size:.85rem}
 .gal.gal-tall img{padding:5px}
}
@media (prefers-reduced-motion:reduce){.gal{transition:none}.gal:hover,.gal:focus-within{transform:none}}

/* QA fixes, 1 Nov 2026 (Builder). Loaded last in out/style.css (build.py write_modern_assets). */

/* True Grit ★ marks (values stars on the True Grit card, the one-line chips, IMDb audience ★): >= 4.5:1 in both themes.
   Filled = earned, outline = not earned, so on/off no longer rely on a pale colour. Tier badge colours are untouched.
   Light: #805d10 on the cream cards (#f6edd8 … #fff8e6) = 5.16–5.68:1.  Dark: #c9a24a on #2c231d = 6.41:1. */
html .tg-stars .on,html .tg-chip-stars .on,html details.tg-oneline .tg-chip-stars .on,html .tg-aud-star{color:#805d10;text-shadow:none}
html .tg-stars .off,html .tg-chip-stars .off,html details.tg-oneline .tg-chip-stars .off{color:transparent;-webkit-text-stroke:1px #805d10;paint-order:stroke}
html[data-theme="dark"] .tg-stars .on,html[data-theme="dark"] .tg-chip-stars .on,html[data-theme="dark"] details.tg-oneline .tg-chip-stars .on,html[data-theme="dark"] .tg-aud-star{color:#c9a24a}
html[data-theme="dark"] .tg-stars .off,html[data-theme="dark"] .tg-chip-stars .off,html[data-theme="dark"] details.tg-oneline .tg-chip-stars .off{color:transparent;-webkit-text-stroke:1px #c9a24a}
@media (forced-colors:active){.tg-stars .off,.tg-chip-stars .off{color:GrayText;-webkit-text-stroke:0}}

/* Branded 404 page (out/404.html) */
.nf-page{max-width:640px;margin:0 auto;text-align:center;padding:8px 0 24px}
.nf-page .cat-intro{font-size:1.05rem}
.nf-search{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:18px auto 10px;max-width:480px}
.nf-search .nf-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nf-search input{flex:1 1 220px;min-height:42px;padding:6px 14px;border:1px solid var(--border,#c9a24a);border-radius:999px;background:var(--surface,#fff);color:var(--text,#2a180b);font:inherit}
.nf-search button{min-height:42px;cursor:pointer}
.nf-home{margin-top:18px}
