.cache-demo{width:100%;max-width:960px;margin:0 auto}.cache-figure{margin:-6px -15px 0}.cache-figure .label{font:500 12px var(--body);fill:var(--anatomy-strong)}.cache-figure .sub{font:400 10px var(--body);fill:var(--anatomy-muted)}.route{fill:none;stroke:var(--anatomy-lo);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.route[data-active]{stroke:var(--accent)}#packet{fill:var(--accent);stroke:#fff;stroke-width:1.5}#packet[data-kind="data"]{fill:#66885c}#signal{fill:none;stroke:var(--accent);stroke-width:1.4}.cache-slot{opacity:.18;transition:opacity .2s}.cache-slot[data-filled]{opacity:1}.cache-slot[data-filled] .iso-top{fill:#dfe9d9}.cache-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:8px 0 18px}.cache-controls label{font-size:12px;color:var(--anatomy-muted);display:flex;align-items:center;gap:8px}.cache-controls select,.cache-button{font:400 12px var(--body);border:1px solid var(--anatomy-faint);border-radius:4px;background:#fff;color:var(--anatomy-strong);padding:10px 13px;min-height:40px;cursor:pointer}.cache-button:hover{border-color:var(--anatomy-lo)}.cache-button.quiet{border-color:transparent;color:var(--anatomy-muted)}button:disabled,select:disabled{opacity:.45;cursor:wait}.cache-status{font-size:14px;text-align:center;min-height:28px;margin:0 0 22px}.cache-state{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--anatomy-faint);border-bottom:1px solid var(--anatomy-faint);font-size:12px;color:var(--anatomy-muted)}#contents{color:var(--anatomy-strong)}#result[data-hit="true"]{color:#66885c}#result[data-hit="false"]{color:var(--accent)}.cache-explanation{width:100%;max-width:960px;margin:22px auto 0}.cache-explanation p{font-size:14px;line-height:1.9;margin:0}.cache-explanation strong{font-weight:600;color:var(--anatomy-strong)}.cache-explanation .cache-note{font-size:12px;color:var(--anatomy-muted);margin-top:12px;max-width:840px}
@media(max-width:600px){.cache-figure{margin:12px -16px}.cache-controls{gap:6px;margin-top:16px}.cache-controls label{font-size:11px}.cache-controls select,.cache-button{font-size:11px;padding:9px}.cache-status{text-align:left;margin-top:18px;min-height:52px}.cache-state{gap:9px}.cache-explanation p{line-height:1.8}}
@media(prefers-reduced-motion:reduce){.cache-slot{transition:none}}

#packet[hidden],#signal[hidden]{display:none}
