/* Gabzy HQ Focus: the original views, inside the new interface.
   classic.css is the original stylesheet scoped under .cx (generated). This file maps its tokens onto
   Focus's, so both themes, the accent and the type are one system, and fits its pages into Focus's frame. */

.cx, .cx-layer {
  --bg: var(--canvas); --bg2: var(--surface-2); --card: var(--surface); --card2: var(--surface-2); --sunk: var(--surface-3);
  --ink2: var(--ink-2); --ink3: var(--ink-3);
  --rule: var(--line); --rule2: color-mix(in srgb, var(--ink) 15%, transparent);
  --accent: var(--acc); --accent-ink: var(--acc-ink); --accent-soft: var(--acc-soft);
  --accent-soft2: color-mix(in srgb, var(--acc) 16%, transparent); --accent-line: var(--acc-line);
  --water: var(--acc); --lit: color-mix(in srgb, var(--acc) 5%, transparent);
  --shadow: var(--shadow-1); --shadow2: var(--shadow-2);
  --f-ui: var(--font); --f-disp: var(--font);
  --max: 1280px; --gut: 0px; --r1: 8px; --r2: 12px; --hair: 1px; --ease: cubic-bezier(.2, .8, .2, 1);
}

/* the frame: Focus's .content already pads and centres the page */
.cx { min-height: 0; background: transparent; font-size: 15px; line-height: 1.55; transition: none; }
.cx .page { max-width: none; margin: 0; padding: 0 0 24px; }
#cx-layer { display: contents; }

/* the view's own heading, under the section's tabs */
.cx .fx-vh { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 4px 0 6px; }
.cx .fx-vh .grow { flex: 1; min-width: min(100%, 300px); }
.cx .fx-vh h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; }
.cx .fx-vh h2 em { font-style: normal; color: var(--ink-3); }
.cx .fx-vh p.fx-lead { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 74ch; text-wrap: pretty; }
.cx .fx-vh .fx-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cx .fx-how { margin-top: 8px; }
.cx .fx-how summary { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; cursor: pointer; list-style: none; }
.cx .fx-how summary::-webkit-details-marker { display: none; }
.cx .fx-how summary:hover { color: var(--ink); }
.cx .fx-how .fx-how-b { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); max-width: 72ch; }
.cx .fx-how .ph-meta { margin-top: 10px; }
.cx .fx-owner { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--ink-2); white-space: nowrap; box-shadow: var(--shadow-1); }
.cx .fx-owner:hover { border-color: var(--ink-4); color: var(--ink); }
.cx .fx-owner b { color: var(--ink); font-weight: 600; }
.cx .fx-owner .fx-ask { color: var(--acc-text); font-weight: 600; margin-left: 2px; }
.cx .fx-face { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: var(--surface-3); display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 650; color: var(--ink-2); flex: none; }
.cx .fx-face img { width: 100%; height: 100%; object-fit: cover; }

/* type: the same scale as Focus */
.cx .h1 { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.cx .h2d { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; }
.cx .sec { margin-top: 32px; }
.cx .sec-h { margin-bottom: 12px; }
.cx .label, .cx .kv dt, .cx table.t th { font-size: 12px; letter-spacing: .04em; }
.cx .t-s, .cx .t-xs, .cx .note, .cx .src, .cx .tag, .cx .st, .cx .btn.sm, .cx .btn.xs { font-size: 13.5px; }
.cx .big { font-size: 36px; font-weight: 650; }
.cx .quote { font-size: 22px; font-weight: 600; }
.cx .disp { font-weight: 650; letter-spacing: -0.02em; }

/* surfaces: Focus's panel, hairline and radius */
.cx .panel, .cx .card { border-radius: 12px; box-shadow: var(--shadow-1); border-color: var(--line); }
.cx .btn { border-radius: 8px; font-weight: 550; box-shadow: var(--shadow-1); }
.cx .btn.ghost { box-shadow: none; }
.cx .btn.pri { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.cx .btn.pri:hover { background: var(--acc-hover); border-color: var(--acc-hover); }
.cx .tag { border-radius: 999px; border-color: var(--line); }
.cx .empty { border-color: var(--line); border-radius: 12px; }
.cx .callout { border-radius: 12px; }
.cx .thumb { border-radius: 12px; }

/* sheets and players the views open: above Focus's shell */
.cx-layer .drawer { z-index: 60; border-left-color: var(--line); }
.cx-layer .scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .2s; }
.cx-layer .scrim.on { opacity: 1; pointer-events: auto; }
.cx-layer .player { z-index: 58; }
.cx-layer .lightbox { z-index: 65; }
@media (max-width: 860px) {
  .cx .fx-vh h2 { font-size: 20px; }
  .cx-layer .player { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
