#real-world,.rw-home-card{--rw:#fbbf24}body.light #real-world,body.light .rw-home-card{--rw:#92400e}.rw-home-card{border-color:var(--rw)}.rw-home-card .eyebrow,#real-world .eyebrow,#real-world em,#real-world small{color:var(--rw)}.rw-head,.rw-filters,.rw-controls,.rw-steps{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 20px}.rw-head a,.rw-link{color:var(--rw,#d97706);font-weight:650}.rw-head a[aria-current]{text-decoration:underline}.rw-hero{padding:24px 0}.rw-note{font-size:14px!important;color:var(--muted);border-left:3px solid var(--rw);padding-left:12px}.rw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rw-card,.rw-visual{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;min-width:0}.rw-card:hover{border-color:var(--rw)}.rw-card svg{aspect-ratio:16/9;background:var(--bg);border-radius:8px}.rw-card h2{font-size:21px}.rw-filters [aria-pressed=true],.rw-steps [aria-current=step]{border-color:var(--rw);color:var(--rw)}.rw-steps button{flex:1;min-width:110px}.rw-detail{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px}.rw-stage{aspect-ratio:16/9;display:grid;place-items:center;background:var(--bg);border-radius:8px}.rw-stage svg{max-height:none;width:100%;height:100%}.rw-placeholder{text-align:center;padding:24px}.rw-visual progress{width:100%;accent-color:var(--rw)}.rw-formula{font-size:clamp(20px,2.5vw,32px);color:var(--rw);font-weight:700}.rw-link{display:inline-block;margin:12px 0}@media(min-width:1100px){#cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:850px){.rw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rw-detail{grid-template-columns:1fr}}@media(max-width:520px){.rw-grid{grid-template-columns:1fr}}
.rw-stage{aspect-ratio:auto;min-height:300px;display:block;overflow:hidden;padding:8px}.rw-stage>svg,.rw-interactive svg{display:block;width:100%;height:auto;aspect-ratio:16/9}.rw-interactive svg{touch-action:none;cursor:grab}.rw-interactive svg text{fill:var(--ink);font-size:17px;font-weight:700;paint-order:stroke;stroke:var(--bg);stroke-width:3px}.rw-stage .pv3{width:100%}.rw-stage .rw-note{margin:8px}.rw-controls label{font-size:14px;white-space:nowrap}.rw-detail article{min-width:0}.rw-stage .va-formula{overflow-wrap:anywhere}.rw-card:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid var(--rw,#fbbf24);outline-offset:3px}@media(prefers-reduced-motion:reduce){#real-world *{animation:none!important;transition:none!important}}

.rw-photo{margin:0;width:100%;min-width:0}.rw-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--bg);border-radius:8px}.rw-photo figcaption{font-size:13px;color:var(--muted);padding:8px 0;overflow-wrap:anywhere}.rw-photo figcaption a{color:var(--rw);text-decoration:underline}.rw-stage .rw-photo img{max-height:520px;aspect-ratio:auto;min-height:220px}.rw-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:center}.rw-compare .rw-photo img{min-height:0;max-height:360px}.rw-card .rw-photo img{aspect-ratio:16/9;object-fit:contain}@media(max-width:650px){.rw-compare{grid-template-columns:1fr}}

/* Photo-first gallery: compact heading, full uncropped photographs. */
.rw-hero{padding:4px 0 8px}.rw-hero h1{font-size:clamp(28px,3vw,44px);margin:8px 0}.rw-hero p{margin:6px 0}.rw-filters{margin:10px 0 16px}.rw-card{padding:12px;display:flex;flex-direction:column;gap:5px}.rw-card .rw-photo img{aspect-ratio:16/10;object-fit:contain}.rw-card h2{margin:4px 0;font-size:clamp(17px,1.5vw,22px)}.rw-card p{margin:2px 0 8px}.rw-card small{margin-top:auto}.rw-photo figcaption{font-size:12px;padding:4px 0}.rw-credits{margin:20px 0;color:var(--muted);font-size:14px}.rw-credits a{color:var(--rw);text-decoration:underline}.rw-credits summary{cursor:pointer}.rw-home-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:12px 0}.rw-home-preview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px;display:block}
