/* ocean-mini.css — the "mini ocean" cards (js/ocean-mini.js), 2026-10-28.
   Scoped .om-*; Tailwind is prebuilt so nothing here relies on new utility classes. */
.om-sec { margin: 1.625rem 0 0; display: none; }
.om-sec--on { display: block; }
.om-sec[hidden] { display: none; }
.om-sec > h2 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6875rem; letter-spacing: .18em;
               text-transform: uppercase; color: #38bdf8; margin: 0 0 0.625rem; font-weight: 700; }
.om-sec-sub { font-size: 0.8125rem; line-height: 1.5; color: #a8a29e; margin: -0.25rem 0 0.75rem; max-width: 38.75rem; }

.om-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.875rem; }
@media (min-width: 760px) { .om-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.om-card { --om-ink: #f5f5f4; --om-muted: #b4aea9; --om-dim: #8a847e; --om-line: rgba(255, 255, 255, .1);
           display: flex; flex-direction: column; min-width: 0; overflow: hidden; color: var(--om-ink);
           border: 1px solid var(--om-line); border-radius: 1.125rem; background: linear-gradient(180deg, #16120f, #0f0d0b);
           box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.om-card[hidden] { display: none; }
.om-card--wait:not(.om-card--sst):not(.om-card--waves) { min-height: 22.5rem; }

/* One card alone on a wide screen: picture left, numbers right. */
@media (min-width: 760px) {
  .om-row--1 .om-card { flex-direction: row; align-items: stretch; }
  .om-row--1 .om-pic { flex: 0 0 52%; width: 52%; }
  .om-row--1 .om-body { flex: 1 1 auto; justify-content: center; }
}

/* ── picture ───────────────────────────────────────────────── */
.om-pic { position: relative; display: block; width: 100%; background: #1c1f23; overflow: hidden; text-decoration: none; cursor: pointer;
          aspect-ratio: 1.12; }
.om-pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;           /* soft vignette so the labels sit on calm edges */
                 background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%),
                             linear-gradient(180deg, rgba(8, 10, 14, .55) 0%, rgba(8, 10, 14, 0) 22%); }
.om-pic:not(.om-pic--ready) { background: linear-gradient(100deg, #1c1f23 30%, #272b31 50%, #1c1f23 70%); background-size: 220% 100%;
                              animation: om-shim 1.5s linear infinite; }
.om-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .35s ease; }
.om-pic--ready .om-cv { opacity: 1; }
.om-pic:focus-visible { outline: 2px solid #38bdf8; outline-offset: -2px; }
.om-tag { position: absolute; z-index: 2; left: 0.75rem; top: 0.6875rem; font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
          letter-spacing: .16em; text-transform: uppercase; color: #7dd3fc; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.om-pill { position: absolute; z-index: 2; right: 0.625rem; top: 0.5rem; padding: 0.25rem 0.5625rem; border-radius: 999px; font: 600 0.6875rem/1.2 system-ui, sans-serif;
           color: #e7e5e4; background: rgba(12, 10, 9, .6); border: 1px solid rgba(255, 255, 255, .14);
           -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.om-pill:empty { display: none; }
.om-pill--old { color: #fca5a5; }
.om-warn { color: #fca5a5; }

/* ── numbers ───────────────────────────────────────────────── */
.om-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.875rem 1rem 1rem; min-width: 0; }
.om-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem 0.75rem; }
.om-big { font: 800 2.75rem/1 system-ui, -apple-system, Segoe UI, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.om-big small { font-size: 1.25rem; font-weight: 700; color: var(--om-muted); letter-spacing: 0; }
.om-chip { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 0.6875rem; border-radius: 999px; font: 650 12.5px/1 system-ui, sans-serif;
           color: #e0f2fe; background: rgba(56, 189, 248, .13); border: 1px solid rgba(56, 189, 248, .4); white-space: nowrap; }
.om-chip--warm { color: #fed7aa; background: rgba(249, 115, 22, .14); border-color: rgba(249, 115, 22, .5); }
.om-chip--cold { color: #bae6fd; background: rgba(56, 189, 248, .13); border-color: rgba(56, 189, 248, .45); }
.om-sub { font-size: 0.8125rem; line-height: 1.4; color: var(--om-muted); margin-top: -0.125rem; }
.om-line { font-size: 13.5px; line-height: 1.45; color: #d6d3d1; }
.om-line b { color: var(--om-ink); font-weight: 650; }
.om-line--head { color: #e7e5e4; }
.om-note { margin: 0; padding: 0.5625rem 0.6875rem; border-radius: 0.625rem; font-size: 0.8125rem; line-height: 1.5; color: #d6d3d1;
           background: rgba(249, 115, 22, .08); border: 1px solid rgba(249, 115, 22, .25); }
.om-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0.125rem 0 0; }
.om-pair > div { padding: 0.5rem 0.625rem; border-radius: 0.625rem; background: rgba(255, 255, 255, .04); border: 1px solid var(--om-line); min-width: 0; }
.om-pair dt { font: 600 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--om-dim); margin-bottom: 0.3125rem; }
.om-pair dd { margin: 0; font-size: 13.5px; line-height: 1.3; color: #e7e5e4; overflow-wrap: anywhere; }
.om-pair dd b { font-size: 0.9375rem; font-variant-numeric: tabular-nums; }

/* ── legend + link ─────────────────────────────────────────── */
.om-legend { margin-top: 0.25rem; }
.om-legend-bar { height: 0.5rem; border-radius: 0.3125rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.om-legend-ticks { position: relative; height: 1rem; margin: 0.1875rem 0.5625rem 0 0; font: 600 10.5px/1rem system-ui, sans-serif; color: var(--om-dim); font-variant-numeric: tabular-nums; }
.om-legend-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.om-legend-ticks span:first-child { transform: none; }
.om-legend-ticks span:last-child { transform: translateX(-85%); }
.om-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; align-self: flex-start; min-height: 2.75rem; padding: 0 1.125rem;
          margin-top: 0.125rem; border-radius: 999px; border: 1px solid #38bdf8; background: rgba(56, 189, 248, .14); color: #7dd3fc;
          font: 650 0.875rem/1 system-ui, sans-serif; text-decoration: none; }
.om-cta:hover { background: rgba(56, 189, 248, .26); }
.om-cta:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }

/* ── skeletons ─────────────────────────────────────────────── */
.om-sk { display: block; border-radius: 0.5rem; background: linear-gradient(100deg, rgba(255, 255, 255, .07) 30%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .07) 70%);
         background-size: 220% 100%; animation: om-shim 1.5s linear infinite; }
.om-sk--big { height: 2.75rem; width: 46%; }
.om-sk--l { height: 0.875rem; width: 62%; }
@keyframes om-shim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .om-sk, .om-pic:not(.om-pic--ready) { animation: none; } .om-cv { transition: none; } }
details.om-note > summary { cursor: pointer; font-weight: 650; color: #fdba74; list-style-position: inside; }
details.om-note > p { margin: 0.375rem 0 0; }
