/* Confluence Trader Pro — one dark instrument panel, in Arabic and English.
   The palette is the desktop program's, warmed toward the metal it trades. */

:root {
  --ground:   #0B0D11;
  --ground-2: #0F1218;
  --panel:    #151922;
  --panel-2:  #1B202A;
  --line:     #232935;
  --line-2:   #333B4A;
  --text:     #EAEDF3;
  --text-2:   #B6BECC;
  --muted:    #838C9C;
  --brass:    #E3B55C;
  --brass-2:  #A87F2E;
  --brass-bg: #241D0E;
  --blue:     #4DA3FF;
  --blue-bg:  #10243A;
  --green:    #3BC08C;
  --red:      #E2685F;
  --r:        12px;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.28; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: clamp(30px, 5.2vw, 52px); letter-spacing: -0.015em; }
h2 { font-size: clamp(23px, 3.2vw, 32px); letter-spacing: -0.01em; }
h3 { font-size: 17px; }
p  { margin: 12px 0 0; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
small { font-size: .58em; font-weight: 500; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.lede  { color: var(--text-2); font-size: 17px; max-width: 62ch; }
.center { text-align: center; }
.center-lede { margin-inline: auto; }
.center-row { justify-content: center; }
.num   { font-family: var(--mono); font-variant-numeric: tabular-nums;
         direction: ltr; unicode-bidi: isolate; }
.pos { color: var(--green); } .neg { color: var(--red); }

/* ------------------------------------------------------------- top bar */
.topbar { position: sticky; top: 0; z-index: 40;
          background: rgba(11,13,17,.86); backdrop-filter: blur(12px);
          border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text);
         font-weight: 600; }
.brand:hover { text-decoration: none; }
.mark { width: 26px; height: 26px; color: var(--brass); flex: none; }
.brand-name b { font-weight: 700; color: var(--brass); }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 14.5px; }
.nav a { color: var(--text-2); }
.nav a:hover { color: var(--text); text-decoration: none; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.lang { color: var(--muted); font-size: 14px; border: 1px solid var(--line);
        padding: 5px 11px; border-radius: 8px; }
.lang:hover { color: var(--text); border-color: var(--line-2); text-decoration: none; }
@media (max-width: 900px) { .nav { display: none; }
                            .topbar-actions { margin-inline-start: auto; } }
@media (max-width: 520px) {
  .topbar-in { gap: 8px; height: 58px; }
  .brand-name { font-size: 14px; white-space: nowrap; }
  .lang { padding: 4px 8px; font-size: 13px; }
  .topbar-actions .btn-sm { padding: 8px 12px; font-size: 13.5px; }
  .cta-row .btn-lg { flex: 1 1 100%; }
}

/* --------------------------------------------------------------- buttons */
.btn { display: inline-block; background: var(--brass); color: #17130A;
       font: 600 15px/1.2 var(--sans); padding: 13px 24px; border: 0;
       border-radius: 10px; cursor: pointer; text-align: center;
       white-space: nowrap;
       transition: background .15s ease, transform .12s ease; }
.btn:hover { background: #F0C877; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: transparent; color: var(--text);
             box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn:disabled { opacity: .55; cursor: default; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 64px 0 60px;
        background:
          radial-gradient(760px 380px at 80% -18%, rgba(227,181,92,.13), transparent 68%),
          linear-gradient(180deg, var(--ground-2), var(--ground)); }
.hero-in { display: grid; gap: 40px; align-items: center;
           grid-template-columns: 1.05fr .95fr; }
@media (max-width: 940px) { .hero-in { grid-template-columns: 1fr; gap: 32px; } }
.kicker { font: 600 12.5px/1 var(--mono); letter-spacing: .1em;
          text-transform: uppercase; color: var(--brass); margin: 0 0 18px;
          direction: ltr; unicode-bidi: isolate; }
.lang-ar .kicker { text-align: start; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }

.hero-card { background: var(--panel); border: 1px solid var(--line);
             border-radius: 16px; padding: 22px 22px 0;
             box-shadow: 0 24px 60px rgba(0,0,0,.4); overflow: hidden; }
.hero-card-k { display: block; font-size: 13px; color: var(--muted);
               letter-spacing: .03em; }
.hero-card-v { display: block; font-size: clamp(38px, 6vw, 54px);
               font-weight: 600; color: var(--green); line-height: 1.15;
               margin-top: 2px; }
.spark { display: block; width: calc(100% + 44px); margin: 10px -22px 0;
         height: 150px; }
.hero-card-foot { display: flex; justify-content: space-between;
                  border-top: 1px solid var(--line); margin: 0 -22px;
                  padding: 12px 22px; font-size: 13px; color: var(--muted); }
.hero-card-foot b { color: var(--text); font-weight: 600; }

/* ----------------------------------------------------------------- bands */
.band { padding: 76px 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--ground-2); }
.band > .wrap > h2 + .lede { margin-top: 12px; }

.panel { background: var(--panel); border: 1px solid var(--line);
         border-radius: var(--r); padding: 22px; }
.panel h2 { font-size: 20px; }
.panel p { color: var(--text-2); }
.panel-quiet { margin-top: 26px; border-inline-start: 3px solid var(--brass-2); }
.panel-quiet h3 { color: var(--brass); }
.panel-warn { border-color: var(--brass-2); background: var(--brass-bg); }
.panel-warn h3, .panel-warn h2 { color: var(--brass); }

/* ---------------------------------------------------------------- proof */
.figures { display: grid; gap: 14px; margin-top: 30px;
           grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .figures { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr; } }
.fig { background: var(--panel); border: 1px solid var(--line);
       border-radius: var(--r); padding: 20px; display: flex;
       flex-direction: column; gap: 4px; }
.fig-v { font-size: 34px; font-weight: 600; line-height: 1.15; }
.fig-k { font-size: 14.5px; font-weight: 600; color: var(--text); }
.fig-n { font-size: 13px; color: var(--muted); }
.proof-low { margin-top: 22px; font-size: 16px; color: var(--text);
             border-inline-start: 3px solid var(--green);
             padding-inline-start: 14px; }
.basis { color: var(--muted); font-size: 13.5px; margin-top: 10px;
         max-width: 78ch; }

/* -------------------------------------------------------------- features */
.cards { display: grid; gap: 16px; margin-top: 30px;
         grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line);
        border-radius: var(--r); padding: 22px;
        transition: border-color .15s ease; }
.card:hover { border-color: var(--line-2); }
.card h3 { color: var(--text); }
.card p { color: var(--text-2); font-size: 14.5px; }

/* --------------------------------------------------------------- pricing */
.pricebox { display: grid; gap: 0; margin-top: 30px;
            grid-template-columns: 1fr 1fr;
            background: var(--panel); border: 1px solid var(--brass-2);
            border-radius: 16px; overflow: hidden;
            box-shadow: 0 24px 60px rgba(0,0,0,.35); }
@media (max-width: 820px) { .pricebox { grid-template-columns: 1fr; } }
.price-main { padding: 30px; }
.badge { display: inline-block; background: var(--brass-bg); color: var(--brass);
         border: 1px solid var(--brass-2); border-radius: 999px;
         font-size: 12.5px; font-weight: 600; padding: 3px 14px; }
.price-amount { font-size: 56px; font-weight: 700; line-height: 1;
                margin: 16px 0 0; }
.price-amount .num { letter-spacing: -0.02em; }
.price-free { color: var(--green); font-weight: 600; margin-top: 8px; }
.price-main .btn { margin-top: 22px; }
.price-points { list-style: none; margin: 0; padding: 30px;
                background: var(--panel-2); display: grid; gap: 14px;
                align-content: start; }
.price-points li { position: relative; padding-inline-start: 28px;
                   color: var(--text-2); font-size: 14.5px; }
.price-points li::before { content: "✓"; position: absolute;
                           inset-inline-start: 0; color: var(--brass);
                           font-weight: 700; }

/* -------------------------------------------------------------- download */
.download { display: grid; gap: 22px; grid-template-columns: 1.05fr 1fr;
            margin-top: 26px; background: var(--panel);
            border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; } }
.dl-main .btn { margin-top: 20px; }
.dl-meta { margin: 0; display: grid; grid-template-columns: auto 1fr;
           gap: 9px 16px; align-content: start; font-size: 14px; }
.dl-meta dt { color: var(--muted); }
.dl-meta dd { margin: 0; }
.sha { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; }
.sha code { font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
            background: var(--ground); border: 1px solid var(--line);
            border-radius: 8px; padding: 9px 10px; overflow-x: auto;
            white-space: nowrap; direction: ltr; flex: 1; }
.copy { background: transparent; border: 1px solid var(--line-2); color: var(--text-2);
        border-radius: 8px; padding: 8px 13px; font: 500 13px var(--sans);
        cursor: pointer; flex: none; }
.copy:hover { color: var(--text); border-color: var(--brass-2); }
.warnline { color: var(--brass); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 26px 0 0;
         display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.steps-head { grid-column: 1 / -1; font-weight: 700; font-size: 17px;
              color: var(--text); }
.steps li:not(.steps-head) { counter-increment: s; background: var(--panel);
        border: 1px solid var(--line); border-radius: var(--r);
        padding: 18px; font-size: 14.5px; color: var(--text-2); }
.steps li:not(.steps-head)::before { content: counter(s); display: grid;
        place-items: center; width: 26px; height: 26px; border-radius: 50%;
        background: var(--brass-bg); color: var(--brass);
        border: 1px solid var(--brass-2);
        font: 600 12px/1 var(--mono); margin-bottom: 12px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- faq */
.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none;
               display: flex; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--brass);
                       font-family: var(--mono); flex: none; }
.faq[open] summary::before { content: "−"; }
.faq p { color: var(--text-2); padding-inline-start: 24px; }
.faq-more { display: flex; gap: 16px; align-items: center; margin-top: 26px;
            flex-wrap: wrap; }

/* ---------------------------------------------------------------- closer */
.closer { padding: 84px 0; border-top: 1px solid var(--line);
          background:
            radial-gradient(620px 300px at 50% 0%, rgba(227,181,92,.12), transparent 70%),
            var(--ground-2); }
.closer .cta-row { margin-top: 26px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; background: var(--ground); }
.foot-in { display: flex; gap: 20px; flex-wrap: wrap;
           justify-content: space-between; align-items: center; }
.foot-brand { font-weight: 600; }
.foot-links { display: flex; gap: 18px; font-size: 14px; }
.foot-links a { color: var(--text-2); }

/* ============================== chat ==================================== */
.chat-fab { position: fixed; inset-block-end: 22px; inset-inline-end: 22px;
            width: 58px; height: 58px; border-radius: 50%; border: 0;
            background: var(--brass); color: #17130A; cursor: pointer;
            box-shadow: 0 12px 30px rgba(0,0,0,.5); z-index: 50;
            display: grid; place-items: center; }
.chat-fab svg { width: 27px; height: 27px; }
.chat-fab:hover { background: #F0C877; }
.fab-badge { position: absolute; top: -3px; inset-inline-end: -3px;
             min-width: 21px; height: 21px; border-radius: 11px;
             background: var(--red); color: #fff; font: 600 12px/21px var(--mono);
             text-align: center; padding: 0 5px; }

.chat-panel { position: fixed; inset-block-end: 92px; inset-inline-end: 22px;
              width: min(384px, calc(100vw - 32px)); height: min(580px, calc(100vh - 130px));
              background: var(--panel); border: 1px solid var(--line-2);
              border-radius: 16px; overflow: hidden; z-index: 50;
              box-shadow: 0 26px 70px rgba(0,0,0,.6);
              display: flex; flex-direction: column; }
.chat-full { margin-top: 24px; height: min(640px, calc(100vh - 260px));
             background: var(--panel); border: 1px solid var(--line);
             border-radius: 16px; overflow: hidden; display: flex;
             flex-direction: column; }
[hidden] { display: none !important; }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px;
             background: var(--panel-2); border-bottom: 1px solid var(--line); }
.chat-av { width: 38px; height: 38px; border-radius: 50%; flex: none;
           background: var(--brass-bg); color: var(--brass); display: grid;
           place-items: center; font: 600 15px var(--mono);
           border: 1px solid var(--brass-2); }
.chat-who { flex: 1; min-width: 0; }
.chat-who b { display: block; font-size: 14.5px; }
.chat-state { font-size: 12.5px; color: var(--muted); }
.chat-state.on { color: var(--green); }
.chat-close { background: none; border: 0; color: var(--muted); cursor: pointer;
              font-size: 22px; line-height: 1; padding: 4px 6px; }
.chat-close:hover { color: var(--text); }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex;
            flex-direction: column; gap: 6px;
            background: linear-gradient(180deg, var(--ground-2), var(--ground)); }
.daysep { align-self: center; margin: 10px 0 4px; font-size: 12px;
          color: var(--muted); background: var(--panel-2); padding: 3px 12px;
          border-radius: 10px; }

.bub { max-width: 78%; padding: 9px 12px 6px; border-radius: 14px;
       font-size: 14.5px; line-height: 1.6; position: relative;
       white-space: pre-wrap; overflow-wrap: anywhere; }
.bub.them { align-self: flex-start; background: var(--panel-2);
            border: 1px solid var(--line); border-start-start-radius: 4px; }
.bub.me   { align-self: flex-end; background: var(--blue-bg);
            border: 1px solid #24486E; border-start-end-radius: 4px; }
.bub.sys  { align-self: center; background: var(--brass-bg); color: var(--brass);
            border: 1px solid var(--brass-2); font-size: 13.5px; max-width: 92%; }
.bub img { display: block; max-width: 100%; border-radius: 8px; margin: 2px 0 4px;
           cursor: zoom-in; }
.meta { display: flex; align-items: center; gap: 5px; justify-content: flex-end;
        margin-top: 2px; font-size: 11px; color: var(--muted); }
.meta time { font-family: var(--mono); }
.tick { width: 16px; height: 11px; flex: none; }
.tick path, .tick circle { fill: none; stroke: var(--muted); stroke-width: 2;
             stroke-linecap: round; stroke-linejoin: round; }
.tick.read path { stroke: var(--blue); }
.tick.pending path, .tick.pending circle { stroke: var(--line-2); }

.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px;
          background: var(--panel-2); border: 1px solid var(--line);
          border-radius: 14px; border-start-start-radius: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
            animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.chat-note { padding: 8px 14px; font-size: 12.5px; color: var(--brass);
             background: var(--brass-bg); border-top: 1px solid var(--brass-2); }
.chat-intro { padding: 16px; border-top: 1px solid var(--line);
              background: var(--panel); display: grid; gap: 10px; }
input, textarea, select {
  background: var(--ground); color: var(--text); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 11px 13px; font: 400 15px var(--sans);
  width: 100%; }
input:focus, textarea:focus { border-color: var(--brass-2); outline: none; }
.chat-intro input { padding: 10px 12px; font-size: 14px; }
.chat-bar { display: flex; align-items: end; gap: 8px; padding: 10px 12px;
            border-top: 1px solid var(--line); background: var(--panel); }
.chat-bar textarea { resize: none; max-height: 120px; min-height: 44px;
                     padding: 11px 12px; font-size: 15px; }
.iconbtn { flex: none; width: 44px; height: 44px; border-radius: 10px;
           border: 1px solid var(--line-2); background: var(--ground);
           color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.iconbtn:hover { color: var(--brass); border-color: var(--brass-2); }
.iconbtn svg { width: 19px; height: 19px; }
.send { background: var(--brass); color: #17130A; border-color: var(--brass); }
.send:hover { background: #F0C877; color: #17130A; }
.preview { display: flex; gap: 10px; align-items: center; padding: 8px 12px;
           border-top: 1px solid var(--line); background: var(--panel-2); }
.preview img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.preview button { margin-inline-start: auto; }
.chat-err { color: var(--red); font-size: 13px; padding: 6px 14px; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 90;
            display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

@media (max-width: 520px) {
  .chat-panel { inset: 0; width: 100%; height: 100%; height: 100dvh;
                border-radius: 0; }
  .chat-fab { inset-block-end: 16px; inset-inline-end: 16px; }
  .chat-full { height: calc(100dvh - 240px); min-height: 420px; }
}

/* ------------------------------------------------------- the results board
   A trading-terminal panel: the number, the curve, the two ends. No axis
   clutter - the shape and the two endpoints are the whole story. */
.board { margin-top: 30px; background: var(--panel);
         border: 1px solid var(--line); border-radius: 16px;
         overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.board-head { padding: 22px 26px 6px; display: flex; align-items: baseline;
              gap: 14px; flex-wrap: wrap; }
.board-v { font-family: var(--mono); font-size: clamp(42px, 7vw, 68px);
           font-weight: 600; line-height: 1; letter-spacing: -0.02em;
           direction: ltr; unicode-bidi: isolate; }
.board-k { color: var(--muted); font-size: 15px; }
.bigchart { display: block; width: 100%; height: clamp(180px, 26vw, 300px); }
.bigchart .grid line { stroke: var(--line); stroke-width: 1;
                       stroke-dasharray: 2 6; }
.board-foot { display: flex; justify-content: space-between;
              border-top: 1px solid var(--line); padding: 13px 26px;
              font-size: 13.5px; color: var(--muted); }
.board-foot b { color: var(--text); font-weight: 600; }

.fig-wide { grid-column: span 2; }
@media (max-width: 520px) { .fig-wide { grid-column: span 1; } }

/* ---------------------------------------------------------- the gallery
   Screenshots in a window frame: it reads as software, not as a stock photo. */
.shots { display: grid; gap: 20px; margin-top: 30px;
         grid-template-columns: 1fr 1fr; }
.shot-lead { grid-column: 1 / -1; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.frame { background: var(--panel-2); border: 1px solid var(--line-2);
         border-radius: 12px; overflow: hidden;
         box-shadow: 0 18px 44px rgba(0,0,0,.42); }
.frame .dots { display: flex; gap: 6px; padding: 9px 12px;
               background: var(--panel); border-bottom: 1px solid var(--line); }
.frame .dots i { width: 9px; height: 9px; border-radius: 50%;
                 background: var(--line-2); }
.frame img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px;
                   line-height: 1.65; }
.shot figcaption b { color: var(--text); display: block; font-size: 15px; }

/* the gate: nobody writes to support without a name and a number */
.intro-why { margin: 0 0 4px; font-size: 13px; color: var(--muted);
             line-height: 1.6; }
.intro-bad { margin: 0; font-size: 13px; color: var(--red); }

/* one-tap questions, each answered instantly by the server */
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 12px 0;
         background: var(--panel); }
.chip { background: var(--ground); color: var(--text-2);
        border: 1px solid var(--line-2); border-radius: 999px;
        padding: 7px 14px; font: 500 13px var(--sans); cursor: pointer; }
.chip:hover { color: var(--brass); border-color: var(--brass-2); }

/* ------------------------------------------------------- how you subscribe
   Four steps, all of them ending in the chat. The point of the page. */
.buysteps { counter-reset: b; list-style: none; padding: 0; margin: 30px 0 0;
            display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .buysteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .buysteps { grid-template-columns: 1fr; } }
.buysteps li { counter-increment: b; background: var(--panel);
               border: 1px solid var(--line); border-radius: var(--r);
               padding: 20px; display: grid; gap: 6px; align-content: start; }
.buysteps li::before { content: counter(b); display: grid; place-items: center;
        width: 30px; height: 30px; border-radius: 50%;
        background: var(--brass); color: #17130A;
        font: 700 14px/1 var(--mono); margin-bottom: 6px; }
.buysteps b { font-size: 15.5px; }
.buysteps span { color: var(--text-2); font-size: 14px; line-height: 1.65; }
.buy-cta { margin-top: 26px; }
.via-chat { color: var(--brass); font-size: 13.5px; margin-top: 6px; }

/* the floating button says what it is for */
.chat-fab { width: auto; height: 56px; border-radius: 28px; gap: 10px;
            padding: 0 20px 0 18px; grid-auto-flow: column;
            font: 600 15px var(--sans); }
.fab-text { white-space: nowrap; }
@media (max-width: 620px) {
  .chat-fab { width: 58px; padding: 0; }
  .fab-text { display: none; }
}
.chat-panel.gated, .chat-full.gated { height: auto; }
.chat-panel.gated .chat-log, .chat-full.gated .chat-log { display: none; }
.chat-full.gated { max-width: 460px; }
@media (max-width: 520px) {
  .chat-panel.gated { inset: auto 0 0 0; height: auto; border-radius: 16px 16px 0 0; }
}
