/* Nolan accuracy showcase; builds on nolan.css (speed-card look) */
.acc-hero { padding-bottom: 8px; }
.acc-hero .lead { max-width: 760px; margin-bottom: 1rem; }
.acc-badge { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 8px; background: #3a2a05; color: #ffd27a; font-weight: 700; font-size: .9rem; border: 1px solid #7a5a10; }
.narrow { max-width: 760px; }
.acc-wins { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 24px; }
.acc-win { background: #14141a; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.acc-win b { display: block; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.acc-win span { display: block; margin-top: 6px; font-weight: 600; }
.acc-win em { display: block; font-style: normal; margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.acc-win .vs { color: #ff3b3b; font-weight: 700; }

.acc-plots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 18px; margin-top: 24px; }
.acc-plot { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #0b0b0e; }
.acc-plot header { padding: 18px 22px 0; }
.acc-plot h3 { margin: 0; font-size: 1.15rem; }
.acc-plot header p { margin: 4px 0 0; color: #8a8a94; font-size: .9rem; }
.acc-plot svg { display: block; width: 100%; height: auto; }
.acc-plot .ax { stroke: #2a2d37; stroke-width: 1; }
.acc-plot .tick { fill: #8a8a94; font-size: 11px; font-family: inherit; }
.acc-plot .axl { fill: #8a8a94; font-size: 11px; font-family: inherit; }
.acc-plot .truth { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 5; opacity: .9; }
.acc-plot .ser { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.acc-readout { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.acc-readout div { flex: 1 1 110px; background: #14141a; padding: 10px 14px; min-width: 0; }
.acc-readout span { display: flex; align-items: center; gap: 6px; color: #8a8a94; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.acc-readout span i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.acc-readout b { display: block; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc-readout small { display: block; color: #8a8a94; font-size: .74rem; font-variant-numeric: tabular-nums; }
.acc-readout .no b { color: #ff4d4d; }
.acc-plot footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 22px 14px; color: #8a8a94; font-size: .8rem; }
.acc-plot footer button { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 4px 12px; font: inherit; font-size: .8rem; cursor: pointer; }
.acc-plot footer button:hover { border-color: var(--muted); }

.acc-tablewrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #0b0b0e; -webkit-overflow-scrolling: touch; }
.acc-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.acc-table th, .acc-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.acc-table tr:last-child td { border-bottom: 0; }
.acc-table thead th { position: sticky; top: 0; background: #14141a; font-size: .85rem; color: #c9cad2; white-space: nowrap; }
.acc-table thead th.nolan { color: #ff3b3b; }
.acc-table tbody th { text-align: left; font-weight: 600; min-width: 220px; }
.acc-table tbody th small { display: block; font-weight: 400; color: #8a8a94; font-size: .8rem; line-height: 1.35; }
.acc-table td { font-weight: 700; font-size: 1.02rem; }
.acc-table td.nolan { background: rgba(224, 18, 18, .07); }
.acc-table td.best { color: #fff; }
.acc-table td.best b { box-shadow: inset 0 -2px 0 #ff3b3b; }
.acc-table td.no { color: #ff4d4d; font-size: .8rem; letter-spacing: .02em; }
.acc-table td.no i { display: inline; font-style: normal; font-size: 1.3rem; line-height: 1; font-weight: 800; margin-right: .25em; vertical-align: -.08em; }
.acc-table td.na { color: #6c6f7c; font-weight: 400; }
.acc-table td.todo { color: #ffd27a; font-weight: 700; background: #3a2a05; }
.acc-table tr.grp th { background: #14141a; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8a8a94; text-align: left; }
.acc-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; color: var(--muted); font-size: .85rem; }
.acc-legend i { font-style: normal; font-weight: 800; margin-right: 4px; }
.acc-legend .x { color: #ff4d4d; }
.acc-legend .best { color: #ff3b3b; }
.acc-honest { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 900px; }
.acc-honest li { background: #14141a; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.acc-method p { margin: 0 0 .6rem; max-width: 900px; line-height: 1.55; }
.acc-method ul { margin: 0 0 .6rem; padding-left: 1.2rem; }
@media (max-width: 720px) {
  .acc-table th, .acc-table td { padding: 10px 8px; }
  .acc-table tbody th { min-width: 150px; font-size: .92rem; }
  .acc-plot header { padding: 14px 16px 0; }
}
.hero.acc-hero { display: block; }
.acc-badge[hidden] { display: none; }
.acc-plots { align-items: start; }
.acc-table tbody th[scope="row"] { position: sticky; left: 0; background: #0b0b0e; z-index: 1; }
@media (max-width: 720px) { .acc-table tbody th[scope="row"] { min-width: 130px; max-width: 150px; } }

.acc-caps{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-top:16px}
.acc-cap{background:var(--card,#15161b);border:1px solid rgba(255,255,255,.08);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.acc-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#1c1e26,#101116);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8a8d99;font-size:.8rem}
.acc-thumb code{font-size:.75rem;color:#ff6b6b}
.acc-capbody{padding:14px 16px 8px}
.acc-capbody h3{margin:0 0 6px;font-size:1.05rem}
.acc-capbody p{margin:0 0 8px;font-size:.9rem;line-height:1.45}
.acc-capbody .plain{color:#b9bcc8}
.acc-others{list-style:none;margin:10px 0 0;padding:0;font-size:.82rem;line-height:1.4}
.acc-others li{padding:6px 0 6px 10px;border-left:3px solid #6a6d79;margin-top:6px}
.acc-others li.v-no{border-color:#ff3b3b}.acc-others li.v-partial{border-color:#f0b429}.acc-others li.v-yes{border-color:#4cc38a}
.acc-others em{font-style:normal;font-weight:600;margin-right:4px}.acc-others small{opacity:.7}
.acc-table td.part i{color:#f0b429;font-style:normal;margin-right:4px}
.acc-table th small.try{opacity:.75}.acc-table th small.try code{font-size:.75rem}
.acc-thumb{position:relative}.acc-thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.acc-thumb video+code{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.55);padding:2px 6px;border-radius:4px}

/* paired clips */
.acc-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:#101116}
.acc-clip{position:relative;margin:0;aspect-ratio:16/9;background:#101116}
.acc-clip video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.acc-cap.paired{grid-column:1/-1}
.acc-pair.both .acc-clip.wide{grid-column:1/-1;aspect-ratio:32/9}
.acc-cellclip{margin:-4px -6px 8px}
.acc-cellclip .acc-clip{border-radius:6px;overflow:hidden}
.acc-table td.hasclip{min-width:200px;vertical-align:top}
@media (max-width:640px){.acc-pair{grid-template-columns:1fr}.acc-table td.hasclip{min-width:150px}}
@media (prefers-reduced-motion:reduce){.acc-clip video{animation:none}}

/* "how to read the clips" row at the top of the table */
.acc-table tr.intro td { padding: 0; background: #101015; border-bottom: 1px solid var(--line); }
.acc-table tr.intro canvas { display: block; max-width: 100%; }

/* cards: pairs, chips, details, placeholders */
.acc-pairs{display:grid;gap:2px;background:#101116}
.acc-pairs .acc-pair{margin:0}
.acc-clip .soon,.acc-thumb span{color:#8a8d99;font-size:.85rem}
.acc-clip.missing{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1c1e26,#101116)}
.acc-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:2px 0 10px}
.acc-chips small{flex:1 0 100%;color:#8a8d99;font-size:.74rem;text-transform:uppercase;letter-spacing:.06em}
.acc-chips .chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#101116;border:1px solid rgba(255,255,255,.1);font-size:.85rem}
.acc-chips .chip i{width:9px;height:9px;border-radius:50%}
.acc-chips .chip b{font-variant-numeric:tabular-nums}
.acc-chips .chip.no b{color:#ff4d4d}
.acc-more{margin-top:6px}
.acc-more summary,.acc-methodbox summary{cursor:pointer;color:#8a8d99;font-size:.85rem}
.acc-more summary:hover,.acc-methodbox summary:hover{color:#fff}
.acc-methodbox .acc-method{margin-top:12px}
.acc-side{background:#101116;min-width:0}
.acc-val{border-radius:0;position:relative;display:flex;align-items:center;gap:8px;min-height:42px;padding:10px 14px;background:#14141a;font-size:.85rem;color:#8a8d99}
.acc-val.other{--f0:rgba(70,30,0,.1);--f1:rgba(185,92,0,.92);--m:#ea7600}
.acc-val.nolan{--f0:rgba(70,0,0,.1);--f1:rgba(165,0,0,.92);--m:#d70000}
.acc-val.bar{color:#e4e6ee;background:linear-gradient(90deg,var(--f0),var(--f1)) 0 0/var(--p) 100% no-repeat,#14141a}
.acc-val.bar::after{content:"";position:absolute;top:0;bottom:0;width:14px;right:calc(100% - var(--p));background:var(--m)}
.acc-note{margin:3px 14px 0;font-size:.72rem;color:#8a8d99}

.acc-val.bar b{position:absolute;right:calc(100% - var(--p) + 22px);top:50%;transform:translateY(-50%);margin:0}
.acc-val.bar.lo b{right:auto;left:calc(var(--p) + 12px)}
.acc-val i{width:9px;height:9px;border-radius:50%;flex:none;align-self:center}
.acc-val b{margin-left:auto;font-size:1.05rem;color:#fff;font-variant-numeric:tabular-nums}
.acc-val.no b{color:#ff4d4d}
.acc-clip{container-type:inline-size}
.hud-bar{display:flex;align-items:center;gap:.5em;padding:.2rem .6rem;background:#101116;font-weight:700;font-size:clamp(.85rem,1.6vw,1.1rem);color:#fff;min-height:3.3em;box-sizing:border-box}
.hud-logo{height:1.7em;width:auto;flex:none}
.hud-bar.blender .hud-logo{background:#fff;border-radius:.3em;padding:0 .35em;box-sizing:content-box}
.hud-bar.blender .hud-logo{height:2.05em}
.hud-bar.nolan .hud-side{color:#d60000}.hud-bar.blender .hud-side{color:#e87d0d}
.hud-text{flex:1 1 0;min-width:0}.hud-tail{font-variant-numeric:tabular-nums}
.hud-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hud-t{position:absolute;white-space:pre;font-family:"DejaVu Sans Mono",ui-monospace,monospace;font-weight:700;text-shadow:0 0 3px #0b0c0e,0 0 3px #0b0c0e,0 0 3px #0b0c0e}
.hud-t.bg{background:rgba(11,12,14,.85);padding:.1em .3em;text-shadow:none}
.hud-slow{position:absolute;right:3%;top:16%;display:flex;align-items:center;gap:.5cqw;padding:.6cqw 1.4cqw .6cqw .8cqw;background:rgba(11,12,14,.8);border-radius:1cqw;color:#fff;font-family:inherit}
.hud-slow svg{width:5.2cqw;height:5.2cqw;flex:none}
.hud-slow b{position:absolute;left:.8cqw;top:50%;transform:translateY(-50%);width:5.2cqw;text-align:center;font-size:2.1cqw;font-weight:800}
.hud-slow span{margin-left:.5cqw;font-size:1.9cqw;font-weight:800;letter-spacing:.05em}
.hud-flash{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:.1em .45em;background:rgba(11,12,14,.8);border-radius:.15em;font-weight:800;font-size:9.9cqw;white-space:nowrap}
.hud-sup{font-size:.62em;line-height:0;margin-left:.08em}

section.acc-hero.wrap{padding-bottom:0}
#caps.wrap{padding-top:0}
.acc-div{height:3px}.acc-div.nolan{background:#ff3b3b}.acc-div.blender{background:#e87d0d}
