/* Exploded view (widgets/exploded/exploded.js). The render and its stage stay white in both themes. */
.ex { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; background: var(--tile-bg); }
.ex__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.ex__head { display: flex; flex-direction: column; gap: 2px; }
.ex__crumb { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ex__title { font-size: 15px; font-weight: 300; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.ex__title b { font-size: clamp(16px, 2.4cqw, 27px); font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-right: 8px; }
.ex__switch { display: flex; padding: 3px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.ex__switch button { padding: 6px 14px; border: 0; border-radius: 100px; background: none; color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ex__switch button.is-on { background: var(--ink); color: var(--bg); }
.ex__switch button:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ex__stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; border-radius: 14px; background: #fff; overflow: hidden; }
.ex__fig { position: relative; }
.ex__fig.is-in { animation: ex-in .6s cubic-bezier(.2,.8,.2,1); }
@keyframes ex-in { from { opacity: 0; transform: translateX(3%); } }
.ex__fig > img { width: 100%; height: 100%; object-fit: contain; }
.ex__dots { position: absolute; inset: 0; }
.ex__dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.ex__dot i { position: absolute; inset: 7px; border-radius: 50%; background: #d11c24; box-shadow: 0 0 0 2px #fff; transition: transform .25s ease; }
.ex__dot::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: rgba(209,28,36,.35); animation: ex-pulse 2s ease-out infinite; }
.ex__dot.is-on i { transform: scale(1.45); }
/* Touch screens: the open dot carries a small bold × and closes its card when tapped. */
@media (hover: none) {
  .ex__dot i::after { content: '×'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 10px/1 var(--font); opacity: 0; transition: opacity .2s ease; }
  .ex__dot.is-on i::after { opacity: 1; }
}
.ex__dot:focus-visible { outline: none; }
.ex__dot:focus-visible i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111; }
@keyframes ex-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.ex__card { position: absolute; left: 0; top: 0; z-index: 2; display: flex; gap: 12px; width: min(360px, calc(100% - 12px)); padding: 10px; border-radius: 14px; background: #1c1d21; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.ex__card.is-on { opacity: 1; }
.ex__card > img { display: none; flex: none; width: 92px; height: 92px; border-radius: 10px; object-fit: cover; background: #fff; }
.ex__card.has-img > img { display: block; }
.ex__card b { display: block; margin: 2px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.ex__card p { margin: 0; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.82); }
@media (prefers-reduced-motion: reduce) { .ex__fig.is-in { animation: none; } .ex__dot::before { animation: none; } }
