/* Diesel Pickup Forum: gauge cluster */
:root{
  --soot:#17181A;
  --panel:#1E1F22;
  --panel-2:#25262A;
  --line:#3A3C40;
  --text:#E6E4DE;
  --smoke:#B9B9B4;
  --yellow:#F5C518;
  --rust:#A4472B;
  --display:"Teko",Impact,"Arial Narrow",sans-serif;
  --body:"Hind",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--soot);color:var(--text);font-family:var(--body);font-size:1.0625rem;line-height:1.6;overflow-wrap:anywhere}
img{max-width:100%;height:auto;display:block}
a{color:var(--yellow);text-underline-offset:3px}
a:hover{color:#FFE27A}
a:focus-visible,button:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--yellow);color:var(--soot);padding:.5rem 1rem;font-weight:600;z-index:5}
.skip:focus{left:1rem;top:1rem}

/* header */
.cab{background:#111214;border-bottom:1px solid var(--line)}
.cab-in{max-width:1080px;margin:0 auto;padding:.9rem 1rem .7rem;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.5rem}
.brand img{height:44px;width:auto}
.cab-line{margin:0;flex:1 1 260px;color:var(--smoke);font-size:.95rem;line-height:1.35}
.cab-site{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1rem;font-size:.95rem}
.cab-site a{color:var(--text);text-decoration:none}
.cab-site a:hover,.cab-site a[aria-current="page"]{color:var(--yellow);text-decoration:underline}
/* the niche detail: a tach scale with a redline at the end */
.scale{height:10px;max-width:1080px;margin:0 auto;
  background:
    linear-gradient(90deg,transparent 0 86%,var(--rust) 86% 100%) bottom/100% 3px no-repeat,
    repeating-linear-gradient(90deg,var(--smoke) 0 2px,transparent 2px 40px) bottom/100% 10px no-repeat,
    repeating-linear-gradient(90deg,#5A5C60 0 1px,transparent 1px 8px) bottom/100% 5px no-repeat;
  opacity:.8}
.boards-nav{max-width:1080px;margin:0 auto;padding:0 1rem}
.boards-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 .25rem}
.boards-nav a{display:block;padding:.55rem .8rem .35rem;font-family:var(--display);font-weight:500;font-size:1.3rem;line-height:1;color:var(--smoke);text-decoration:none;border-bottom:3px solid transparent}
.boards-nav a:hover{color:var(--text)}
.boards-nav a[aria-current="page"]{color:var(--yellow);border-bottom-color:var(--yellow)}

/* layout */
.wrap{max-width:1080px;margin:0 auto;padding:1.25rem 1rem 2.5rem}
.crumbs{margin:0 0 .9rem;font-size:.9rem;color:var(--smoke)}
.crumbs > span{margin:0 .45rem;color:#6E7075}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.05;letter-spacing:.01em}
.hello{margin:0 0 1.5rem}
.hello h1{font-size:clamp(2.2rem,5vw,3.3rem);margin:0 0 .4rem;color:var(--text)}
.hello > p{max-width:68ch;margin:0;color:var(--smoke)}
.odo{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.1rem 0 0}
.odo > div{background:#0E0F10;border:2px solid var(--line);padding:.35rem .9rem .2rem;min-width:7.5rem}
.odo dt{font-size:.85rem;color:var(--smoke)}
.odo dd{margin:0;font-family:var(--display);font-weight:500;font-size:2.3rem;line-height:1;color:var(--yellow);font-variant-numeric:tabular-nums}

.box{background:var(--panel);border:2px solid var(--line);margin:0 0 1.5rem}
.box > h2{margin:0;padding:.55rem 1rem .3rem;font-size:1.45rem;color:var(--text);border-bottom:2px solid var(--line);background:var(--panel-2)}

/* boards on home */
.board-list{list-style:none;margin:0;padding:0}
.board-list > li{display:grid;grid-template-columns:1fr auto;gap:.4rem 1.5rem;padding:.9rem 1rem;border-top:1px solid var(--line)}
.board-list > li:first-child{border-top:0}
.b-name{font-family:var(--display);font-weight:500;font-size:1.55rem;line-height:1.1;text-decoration:none}
.board-list li p{margin:.15rem 0 0;color:var(--smoke);font-size:.97rem}
.board-list .b-nums{display:flex;gap:1rem;align-self:center;margin:0;white-space:nowrap}
.b-nums > span{color:var(--smoke);font-size:.9rem}
.b-nums b{display:block;font-family:var(--display);font-weight:500;font-size:1.7rem;line-height:1;color:var(--text);min-width:2ch}

/* thread rows with the activity gauge */
.run-list{list-style:none;margin:0;padding:0}
.run{display:grid;grid-template-columns:minmax(0,1fr) 160px 230px;gap:.5rem 1.25rem;align-items:center;padding:.85rem 1rem;border-top:1px solid var(--line)}
.run:first-child{border-top:0}
.run-title{font-weight:600;color:var(--text);text-decoration:none;line-height:1.35}
.run-title:hover{color:var(--yellow);text-decoration:underline}
.run-by{margin:.2rem 0 0;font-size:.88rem;color:var(--smoke)}
.run-by b{color:var(--text);font-weight:600}
.pin{display:inline-block;margin-right:.5rem;padding:.05rem .45rem 0;background:var(--yellow);color:var(--soot);font-size:.78rem;font-weight:600;vertical-align:.12em;line-height:1.5}
h1 .pin{font-family:var(--body);font-size:.95rem;vertical-align:.4em}
.run-gauge{display:flex;flex-direction:column;gap:.3rem}
.gauge{position:relative;display:block;height:10px;background:#0E0F10;border:1px solid var(--line);
  background-image:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#34363A calc(25% - 1px) 25%)}
.gauge > span{position:absolute;left:0;top:0;bottom:0;width:var(--fill,10%);background:linear-gradient(90deg,#8C7414,var(--yellow));animation:sweep .9s ease-out both}
.gauge-read{font-size:.85rem;color:var(--smoke)}
.gauge-read b{color:var(--text);font-family:var(--display);font-weight:500;font-size:1.25rem;line-height:1;margin-right:.15rem}
.run-nums{margin:0;display:flex;flex-direction:column;gap:.15rem;font-size:.85rem;color:var(--smoke)}
.run-nums > div{display:flex;gap:.4rem}
.run-nums dt{min-width:4.6rem}
.run-nums dd{margin:0;color:var(--text);overflow-wrap:normal}
.run-nums .lastby{display:block}
@keyframes sweep{from{width:0}}

.linklist{list-style:none;margin:0;padding:.4rem 1rem .8rem}
.linklist > li{padding:.45rem 0;border-top:1px solid var(--line)}
.linklist > li:first-child{border-top:0}
.linklist > li > a{font-weight:600}
.linklist > li > span{display:block;font-size:.88rem;color:var(--smoke)}
.reply-note{border:2px dashed var(--line);padding:.8rem 1rem;color:var(--smoke);margin:1.5rem 0}

/* thread page */
.thread-head{margin:0 0 1.25rem;padding-bottom:.8rem;border-bottom:2px solid var(--line)}
.thread-head h1{font-size:clamp(1.8rem,4vw,2.6rem);margin:0 0 .35rem;font-weight:500}
.thread-meta{margin:0;font-size:.92rem;color:var(--smoke)}
.thread-meta b{color:var(--text)}

.poll{border:2px solid var(--yellow);background:#1C1B14;padding:.9rem 1rem 1rem;margin:0 0 1.5rem}
.poll-q{margin:0 0 .7rem;font-family:var(--display);font-weight:500;font-size:1.45rem;line-height:1.1}
.poll-bars{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.poll-bars > li{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr) 7.5rem;gap:.75rem;align-items:center}
.poll-opt{font-size:.95rem}
.poll-bar{display:block;height:14px;background:#0E0F10;border:1px solid var(--line)}
.poll-bar > span{display:block;height:100%;background:var(--yellow)}
.poll-bar-no > span{background:var(--smoke)}
.poll-bar-dep > span{background:var(--rust)}
.poll-n{font-size:.88rem;color:var(--smoke);font-variant-numeric:tabular-nums}
.poll-foot{margin:.7rem 0 0;font-size:.85rem;color:var(--smoke)}

.posts{display:grid;gap:1.1rem}
.post{background:var(--panel);border:3px solid var(--line)}
.post.is-op{border-color:#5B5020;border-left:8px solid var(--yellow)}
.post-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;padding:.6rem 1rem .45rem;background:var(--panel-2);border-bottom:2px solid var(--line)}
.who{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .75rem}
.author-name{font-family:var(--display);font-weight:600;font-size:1.45rem;line-height:1;color:var(--yellow)}
.op-tag{display:inline-block;margin-left:.4rem;padding:0 .35rem;border:1px solid var(--yellow);font-family:var(--body);font-size:.72rem;font-weight:600;line-height:1.4;vertical-align:.3em;color:var(--yellow)}
.rank{font-size:.82rem;font-weight:600;color:var(--soot);background:var(--smoke);padding:.05rem .45rem 0;line-height:1.5}
.rank-mod{background:var(--yellow)}
.author-loc,.author-stats{font-size:.85rem;color:var(--smoke)}
.when{display:flex;gap:.75rem;align-items:baseline;font-size:.85rem;color:var(--smoke)}
.post-no{color:var(--smoke)}
.post-truck{margin:0;padding:.4rem 1rem;font-size:.9rem;color:var(--text);border-bottom:1px solid var(--line)}
.post-truck > span{display:inline-block;margin-right:.6rem;padding:0 .4rem;background:var(--rust);color:#fff;font-size:.78rem;font-weight:600;line-height:1.6}
.post-content{padding:.9rem 1rem .4rem;max-width:74ch}
.post-content p{margin:0 0 .85rem}
.post-content ul{margin:0 0 .85rem;padding-left:1.3rem}
.post-content li{margin-bottom:.4rem}
.post-content blockquote{margin:0 0 .85rem;padding:.5rem .8rem;border-left:4px solid var(--smoke);background:#151618;color:var(--smoke)}
.post-footer{display:flex;gap:.5rem;padding:.5rem 1rem .7rem;border-top:1px solid var(--line)}
.post-action{font:inherit;font-size:.85rem;color:var(--smoke);background:transparent;border:1px solid var(--line);padding:.15rem .7rem;cursor:pointer}
.post-action:hover{color:var(--text);border-color:var(--smoke)}
.post-link{margin-left:auto;font-size:.85rem;color:var(--smoke)}

.after{display:grid;grid-template-columns:2fr 1fr;gap:1.25rem;margin-top:1.5rem}
.after > .box{margin:0}
.tags{list-style:none;margin:0;padding:.8rem 1rem;display:flex;flex-wrap:wrap;gap:.4rem}
.tags > li{border:1px solid var(--line);padding:.05rem .55rem;font-size:.85rem;color:var(--smoke)}

/* static pages */
.prose{max-width:70ch}
.prose h1{font-size:clamp(2.2rem,5vw,3rem);margin:0 0 .6rem}
.prose h2{font-size:1.6rem;margin:1.8rem 0 .4rem;color:var(--yellow);font-weight:500}
.prose .lede{font-size:1.15rem;color:var(--text)}
.prose p,.prose li{color:#D6D4CE}
.prose ul{padding-left:1.3rem}
.prose li{margin-bottom:.5rem}

/* footer */
.tailgate{background:#111214;border-top:3px solid var(--line)}
.tailgate-in{max-width:1080px;margin:0 auto;padding:1.5rem 1rem 2rem;display:grid;gap:1rem}
.tg-brand{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.2rem}
.brand-sm img{height:30px}
.tg-brand p{margin:0;color:var(--smoke);font-size:.92rem}
.tg-nav{display:flex;flex-wrap:wrap;gap:.3rem 1.1rem;font-size:.95rem}
.ranks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.ranks > li{border:1px solid var(--line);padding:.2rem .6rem;font-size:.82rem;color:var(--smoke)}
.ranks > li > b{color:var(--text);margin-right:.35rem;font-weight:600}
.tg-note{margin:0;font-size:.85rem;color:var(--smoke)}

@media (max-width:820px){
  .run{grid-template-columns:minmax(0,1fr) 150px}
  .run-nums{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;gap:.2rem 1.2rem}
  .run-nums dt{min-width:0}
  .run-nums .lastby{display:inline;margin-left:.3rem}
  .after{grid-template-columns:1fr}
}
@media (max-width:560px){
  body{font-size:1rem}
  .odo{gap:.5rem}
  .odo > div{min-width:0;flex:1 1 0;padding:.3rem .6rem .15rem}
  .odo dd{font-size:1.9rem}
  .run{grid-template-columns:1fr}
  .board-list > li{grid-template-columns:1fr}
  .poll-bars > li{grid-template-columns:1fr auto;gap:.25rem .75rem}
  .poll-bar{grid-column:1 / -1;grid-row:2}
  .brand img{height:38px}
  .boards-nav a{font-size:1.15rem;padding:.5rem .55rem .3rem}
  .post-head,.post-truck,.post-content,.post-footer{padding-left:.75rem;padding-right:.75rem}
  .post.is-op{border-left-width:5px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* tall emblem logo: larger header size so the wordmark reads */
.brand img{height:64px}
@media (max-width:640px){.brand img{height:50px}}
