/* SharkTank - brand colors from the logo and banner: deep navy, white, one orange.
   Teal only means "deal" and red only means "no deal". */
:root {
  --abyss: #13233a;
  --deep: #182b46;
  --deep-2: #1d3252;
  --raise: #213958;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #ffffff;
  --muted: #9fb0c4;
  --soft: #c9d4e1;
  --aqua: #ff7a45;
  --teal: #22b39c;
  --amber: #ff5a1f;
  --coral: #f0475a;
  --sand: #8a4b12;
  --gold: #f5a524;
  --display: "Segoe UI Variable Display", "SF Pro Rounded", ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 30px -14px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 16px/1.55 var(--body);
  background: var(--abyss);
}
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1260px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.1; margin: 0 0 .45em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.035em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 800; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(19, 35, 58, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; flex: none; white-space: nowrap; align-items: center; gap: 10px; text-decoration: none; font: 800 22px var(--display); letter-spacing: -.03em; }
.logo b { color: var(--amber); font-weight: inherit; }
nav.main { display: flex; gap: 2px; margin-left: 8px; }
nav.main a { text-decoration: none; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s, background .15s; }
nav.main a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
nav.main a.on { color: #ffffff; background: rgba(255, 90, 31, .18); box-shadow: inset 0 -2px 0 var(--amber); }
.top-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.capill { background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted); }
.capill:hover { color: var(--text); }
.demo-bar { background: #fff4e6; color: #8a4b12; text-align: center; font-weight: 600; padding: 8px 16px; font-size: 13.5px; border-bottom: 1px solid rgba(255, 90, 31, .2); }

/* ---------------------------------------------------------------- buttons: little extruded voxels */
.btn {
  --b: var(--amber); --s: #c2410c; --t: #ffffff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--b); color: var(--t); font: 700 15.5px var(--display); padding: 12px 20px; border-radius: 11px;
  box-shadow: 0 4px 0 var(--s), 0 10px 20px -8px rgba(0, 0, 0, .45); transform: translateY(0); transition: transform .08s, box-shadow .08s, filter .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 5px 0 var(--s), 0 12px 24px rgba(0, 0, 0, .28); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--s), 0 4px 10px rgba(0, 0, 0, .25); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.deal { --b: var(--teal); --s: #127a69; --t: #fff; }
.btn.danger { --b: var(--coral); --s: #a8293a; --t: #fff; }
.btn.ghost { --b: transparent; --s: transparent; --t: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn.sm { font-size: 14px; padding: 8px 14px; border-radius: 9px; }
.btn.wide { width: 100%; }
.link { color: #ff7a45; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; font: inherit; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- panels */
.plate-box { background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; box-shadow: var(--shadow); }
.plate-box.light { background: var(--deep); border-color: rgba(255, 90, 31, .45); box-shadow: inset 0 3px 0 var(--amber), var(--shadow); }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.head h3, .head h2 { margin: 0; }
.empty { color: var(--muted); padding: 10px 0; }

/* ---------------------------------------------------------------- studio */
.studio-wrap { padding-top: 22px; width: min(1480px, 100% - 32px); }
.studio-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); background: var(--deep); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.stage { position: relative; overflow: hidden; background: #13233a; user-select: none; touch-action: pan-y; }
.stage-cv { display: block; width: 100%; height: 100%; }
.bubbles, .fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; left: 0; top: 0; max-width: min(320px, calc(100% - 20px)); overflow-wrap: anywhere; background: #ffffff; color: #13233a; border: 1px solid rgba(19,35,58,.08); font-size: 13.5px; line-height: 1.4; padding: 9px 13px; border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); animation: pop .25s ease-out; }
.bubble::after { content: ""; position: absolute; left: var(--tail, 50%); bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #ffffff; }
.bubble b { font-family: var(--display); margin-right: 4px; }
.bubble.quiet { opacity: .9; }
.bubble.founder-b { background: #ffe1d2; }
.bubble.founder-b::after { border-top-color: #ffe1d2; }
@keyframes pop { from { transform: scale(.75); opacity: 0; } }
.stamp { position: absolute; left: 50%; top: 21%; max-width: calc(100% - 24px); transform: translate(-50%, -50%) scale(.5); opacity: 0; pointer-events: none; text-align: center; padding: 16px 34px 18px; border-radius: 18px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; border: 3px solid #ffffff; }
.stamp.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stamp b { display: block; font: 900 clamp(30px, 5.5vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.stamp span { display: block; font-weight: 600; margin-top: 6px; }
.stamp.deal { background: var(--teal); color: #fff; box-shadow: 0 6px 0 #127a69, 0 24px 50px -10px rgba(0, 0, 0, .6); }
.stamp.nodeal { background: var(--coral); color: #fff; box-shadow: 0 6px 0 #a8293a, 0 24px 50px -10px rgba(0, 0, 0, .6); }
.fx .cube { position: absolute; top: -20px; width: var(--s); height: var(--s); background: var(--c); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .22), inset 2px 2px 0 rgba(255, 255, 255, .3); animation: drop var(--d) cubic-bezier(.3, .1, .6, 1) forwards; }
@keyframes drop { to { transform: translate(var(--x), 680px) rotate(var(--r)); } }
.fx .react { position: absolute; bottom: 8px; font-size: 30px; animation: rise 2.6s ease-out forwards; filter: drop-shadow(0 4px 6px rgba(19, 35, 58, .3)); }
@keyframes rise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translate(0, -20px) scale(1.1); } 100% { transform: translate(var(--x), -300px) scale(1); opacity: 0; } }

/* lower third */
.chyron { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: stretch; border-top: 3px solid var(--amber); background: var(--deep); }
.chy-main { display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-width: 0; }
.chy-img { width: 50px; height: 50px; border-radius: 12px; background: var(--amber); flex: none; overflow: hidden; display: grid; place-items: center; font: 800 16px var(--display); color: #ffffff; box-shadow: 0 0 0 1px var(--line); }
.chy-img img { width: 100%; height: 100%; object-fit: cover; }
.chy-text { min-width: 0; }
.chy-text b { font: 800 20px/1.15 var(--display); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.02em; }
.chy-text span { color: var(--muted); font-size: 14px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 6px; box-shadow: 0 0 0 0 rgba(255, 107, 90, .6); animation: live 1.6s infinite; vertical-align: 1px; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255, 107, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 90, 0); } }
.reacts { display: flex; align-items: center; gap: 4px; padding: 0 14px; border-left: 1px solid var(--line); }
.reacts button { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--raise); font-size: 20px; cursor: pointer; transition: transform .1s, background .15s; }
.reacts button:hover { background: rgba(255, 90, 31, .22); transform: translateY(-2px); }
.reacts button:active { transform: scale(.9); }
.chy-clock { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 10px 20px; border-left: 1px solid var(--line); min-width: 168px; }
.chy-clock small { font-weight: 600; font-size: 12.5px; color: var(--muted); }
.digits { display: flex; gap: 4px; margin-top: 4px; }
.digits i { font: 800 28px/1 var(--mono); font-style: normal; color: #ff7a45; background: #0c1729; padding: 6px 7px 5px; border-radius: 8px; min-width: 30px; text-align: center; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35), 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.digits i.colon { background: none; box-shadow: none; padding: 6px 0; min-width: 0; }
.chyron[data-phase="OFFERS"] .digits i { color: #ffffff; }

/* studio grid */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; margin: 24px auto 48px; }
.panel-col { display: grid; gap: 22px; align-content: start; }
.steps { display: flex; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.steps li { font-weight: 600; font-size: 13px; padding: 6px 12px; color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; }
.steps li:first-child { border-left: 0; }
.steps li.done { color: var(--text); }
.steps li.on { background: var(--amber); color: #fff; }
.presenter { display: flex; align-items: center; gap: 14px; }
.presenter img { width: 64px; height: 64px; border-radius: 16px; background: var(--raise); flex: none; }
.presenter h2 { overflow-wrap: anywhere; }
.pitch-desc { margin: 14px 0 0; max-width: 68ch; font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: 13px; font-weight: 600; background: var(--raise); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.tag b { color: var(--text); font-weight: 700; }
.tag.y { background: rgba(255, 90, 31, .16); border-color: rgba(255, 90, 31, .45); color: #ff9a70; }
.crowd { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.crowd-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.crowd-q b { font-family: var(--display); font-size: 16px; }
.meter { height: 10px; border-radius: 6px; background: rgba(240, 71, 90, .8); overflow: hidden; display: flex; }
.meter i { display: block; height: 100%; background: var(--teal); transition: width .5s; }
.meter-l { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

.sharks-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.shark-card { background: var(--deep-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-height: 230px; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s, background .15s; position: relative; }
.shark-card:hover { border-color: color-mix(in srgb, var(--sc) 70%, transparent); transform: translateY(-2px); background: var(--raise); box-shadow: var(--shadow); }
.shark-card .pf { width: 100%; aspect-ratio: 1; border-radius: 12px; background: radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--sc) 40%, #213958), #182b46 75%); display: grid; place-items: end center; overflow: hidden; }
.shark-card .pf img { width: 92%; image-rendering: auto; }
.shark-card h4 { margin: 4px 0 0; font-size: 15px; }
.shark-card .role { font-size: 12px; color: var(--muted); margin-top: -4px; }
.shark-card .line { font-size: 13.5px; flex: 1; margin: 2px 0 0; color: var(--soft); }
.score-row { display: flex; align-items: center; gap: 8px; font: 800 15px var(--display); }
.bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sc, var(--aqua)); transition: width .6s; border-radius: 4px; }
.offer-tag { font: 800 17px var(--display); }
.offer-tag.out { color: var(--coral); font-size: 14px; }
.offer-tag.in { color: var(--teal); }
.shark-card.won { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal), 0 10px 30px rgba(34, 179, 156, .3); }
.shark-card .btn { margin-top: 8px; }
.founder-note { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: rgba(34, 179, 156, .12); border: 1px solid rgba(34, 179, 156, .4); font-size: 14px; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.list li:first-child { border-top: 0; }
.list .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini { width: 32px; height: 32px; border-radius: 9px; background: var(--amber); color: #ffffff; display: grid; place-items: center; font: 800 12px var(--display); flex: none; overflow: hidden; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini.pfm { background: var(--raise); }
.res { font: 700 12px var(--display); padding: 3px 9px; border-radius: 7px; }
.res.DEAL { background: rgba(34, 179, 156, .18); color: #4fd8c0; }
.res.NO_DEAL { background: rgba(240, 71, 90, .18); color: #ff8592; }
.res.NO_OFFERS, .res.SKIPPED { background: rgba(255, 255, 255, .08); color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; font-size: 14px; color: var(--muted); }
.kv b { font-family: var(--display); text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.big-num { font: 800 38px/1.05 var(--display); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.big-num small { font-size: 18px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.gauge { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 14px 0 6px; }
.gauge i { display: block; height: 100%; background: var(--amber); }
.board td, .board th { padding: 9px 6px; text-align: left; font-size: 14px; border-top: 1px solid var(--line); }
.board th { color: var(--muted); font-weight: 600; font-size: 12.5px; border-top: 0; }
.board { width: 100%; border-collapse: collapse; }
.board td.r, .board th.r { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- pages */
.page { margin: 40px auto 64px; }
.page-head { max-width: 760px; margin-bottom: 30px; }
.page-head p { color: var(--muted); font-size: 18px; margin: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
label.field small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=url], input[type=password], textarea { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: #0f1d31; color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #6f8299; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(255, 90, 31, .25); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.count { float: right; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.drop { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--line-2); border-radius: 14px; padding: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--amber); background: rgba(255, 90, 31, .08); }
.drop .preview { width: 72px; height: 72px; border-radius: 12px; background: var(--raise); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: 12px; flex: none; }
.drop .preview img { width: 100%; height: 100%; object-fit: cover; }
.rehearse { overflow-wrap: anywhere; }
.rehearse .rh-sharks { display: grid; gap: 10px; }
.rh { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--deep-2); transition: background .3s; }
.rh img { width: 46px; height: 46px; border-radius: 10px; background: var(--raise); }
.rh p { margin: 0; font-size: 13.5px; color: var(--soft); }
.rh b { font-family: var(--display); font-size: 14px; }
.rh .sc { font: 800 20px var(--display); text-align: right; }
.rh .sc.in { color: var(--teal); } .rh .sc.out { color: var(--coral); }
.rh-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 16px; }
.rh-bars div { font-size: 13px; color: var(--muted); }
.rh-bars b { display: block; font: 800 22px var(--display); color: var(--text); }
.tips { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tips li { font-size: 13.5px; padding-left: 20px; position: relative; color: var(--soft); }
.tips li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; background: var(--amber); border-radius: 2px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.flow li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.flow li::before { counter-increment: s; content: counter(s); width: 38px; height: 38px; border-radius: 11px; background: var(--amber); border: 0; color: #fff; box-shadow: 0 3px 0 #c2410c; display: grid; place-items: center; font: 800 17px var(--display); }
.flow b { font-family: var(--display); display: block; font-size: 17px; margin-top: 2px; }
.flow span { color: var(--muted); font-size: 15px; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.coin-card { display: flex; flex-direction: column; gap: 14px; }
.coin-top { display: flex; gap: 12px; align-items: center; }
.coin-top .mini { width: 52px; height: 52px; font-size: 16px; border-radius: 13px; }
.coin-top b { font: 800 19px var(--display); display: block; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notice { background: rgba(255, 90, 31, .12); border: 1px solid rgba(255, 90, 31, .4); padding: 11px 14px; border-radius: 12px; font-size: 14px; color: #ffc2a8; }
.addr { font: 12.5px ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; word-break: break-all; color: var(--muted); }
.sharks-bios { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.faq { max-width: 820px; }
.faq h3 { margin-top: 30px; }
.faq p { color: var(--soft); }

/* modal + toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #ffffff; color: #13233a; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-bg { position: fixed; inset: 0; background: rgba(6, 12, 22, .65); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(500px, 100%); background: var(--deep); border: 1px solid var(--line-2); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: pop .25s; max-height: calc(100vh - 32px); overflow: auto; }
.modal .x { float: right; background: var(--raise); border: 0; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 18px; color: var(--muted); }
.profile-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.profile-top img { width: 104px; height: 104px; border-radius: 18px; background: radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--sc) 40%, #213958), #182b46 75%); }
.weights { display: grid; gap: 8px; margin: 14px 0; }
.weights div { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); }
.steplist div { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-weight: 600; color: var(--muted); }
.steplist i { width: 22px; height: 22px; border-radius: 7px; background: var(--raise); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.steplist .on { color: var(--text); } .steplist .on i { background: var(--amber); color: #fff; }
.steplist .ok { color: #4fd8c0; } .steplist .ok i { background: var(--teal); color: #fff; }
.steplist .bad { color: #ff8592; } .steplist .bad i { background: var(--coral); color: #fff; }

footer { position: relative; padding: 44px 0 30px; margin-top: 30px; background: #0f1d31; }
/* the banner's wave, as the edge of the footer */
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='18' viewBox='0 0 140 18'%3E%3Cpath d='M0 9 Q35 -2 70 9 T140 9' fill='none' stroke='%23ff5a1f' stroke-width='4'/%3E%3C/svg%3E") repeat-x center / 140px 18px; }
.foot { display: grid; gap: 10px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font: 800 19px var(--display); letter-spacing: -.02em; }
.foot-brand b { color: var(--amber); font-weight: inherit; }
.foot-note { color: var(--muted); font-size: 13px; max-width: 80ch; margin: 0; }
.foot-links { display: flex; gap: 18px; font-size: 14px; }

@media (max-width: 1100px) {
  .capill { display: none; }
  nav.main a { padding: 8px 10px; }
  .studio-grid { grid-template-columns: 1fr; }
  .sharks-row { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 900px) and (min-width: 761px) {
  nav.main a[data-r="how"] { display: none; }
}
@media (max-width: 760px) {
  .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: #13233a; }
  nav.main { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(15, 29, 49, .97); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); margin: 0; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  nav.main a { font-size: 13px; padding: 8px 10px; }
  nav.main a[data-r="how"] { display: none; }
  body { padding-bottom: 66px; }
  .capill { display: none; }
  .two, .row2 { grid-template-columns: minmax(0, 1fr); }
  .chyron { grid-template-columns: 1fr auto; }
  .reacts { grid-column: 1 / -1; order: 3; border-left: 0; border-top: 1px solid var(--line); padding: 8px 12px; justify-content: space-between; }
  .chy-clock { min-width: 0; padding: 10px 14px; }
  .digits i { font-size: 22px; min-width: 24px; }
  .chy-text b { white-space: normal; font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .chy-img { width: 42px; height: 42px; }
  .bubble { font-size: 12px; max-width: 64%; }
  .studio-frame { border-radius: 18px; }
  .wrap { width: min(1260px, 100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* captions: who is speaking in the studio, readable, never over the set's sign */
.captions { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); opacity: 0; width: min(680px, calc(100% - 24px)); display: flex; gap: 14px; align-items: center; background: rgba(19, 35, 58, .96); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 10px 16px 10px 10px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .6); transition: opacity .25s, transform .25s; pointer-events: none; }
.captions.show { opacity: 1; transform: translate(-50%, 0); animation: capin .3s ease-out; }
@keyframes capin { from { transform: translate(-50%, 10px); opacity: 0; } }
.captions img { width: 52px; height: 52px; border-radius: 14px; background: var(--raise); flex: none; }
.captions b { display: block; font: 800 14px var(--display); letter-spacing: -.01em; }
.captions p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.4; color: #ffffff; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.captions.out { border-left: 5px solid var(--coral); }
.captions.in { border-left: 5px solid var(--teal); }
.captions.founder { border-left: 5px solid var(--amber); }
.captions.quiet p { color: var(--muted); }
@media (max-width: 760px) {
  .captions { bottom: 8px; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; }
  .captions img { width: 40px; height: 40px; border-radius: 10px; }
  .captions p { font-size: 13px; -webkit-line-clamp: 2; }
}

/* shown for the moment the studio is being built, then fades out */
.stage-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: 14px; background: #13233a; transition: opacity .35s ease-out, visibility .35s; pointer-events: none; }
.stage-load img { animation: breathe 1.4s ease-in-out infinite; }
.stage.ready .stage-load { opacity: 0; visibility: hidden; }
.stage-cv { opacity: 0; transition: opacity .35s ease-out; }
.stage.ready .stage-cv { opacity: 1; }
@keyframes breathe { 50% { transform: scale(.92); opacity: .7; } }

/* X link: a small round icon in the header and footer (only shown when an X link is set in the admin page) */
.xbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; transition: background .15s, border-color .15s; flex: none; }
.xbtn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.xbtn[hidden] { display: none; }
.foot-links { align-items: center; }
.admin-box input { font-size: 15px; }
#adminLogin { max-width: 440px; }
.admin h4 { font-size: 15px; }
