/* ReD-Pot interactive demo additions (on top of the console's app.css) */

/* Match marketing-site scroll: smooth + thin dark scrollbars */
html{scroll-behavior:smooth;color-scheme:dark}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
*{scrollbar-width:thin;scrollbar-color:#3a3a42 transparent}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#3a3a42;border-radius:999px;border:2px solid transparent;background-clip:padding-box}
*::-webkit-scrollbar-thumb:hover{background:#5a5a64;border:2px solid transparent;background-clip:padding-box}
*::-webkit-scrollbar-corner{background:transparent}

.demo-ribbon{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:8px 22px;font-size:13px;color:var(--text);
  background:linear-gradient(90deg,#2a0b0e,#16090b 45%,#0e0e11);border-bottom:1px solid #4a1a1f}
.demo-pill{background:var(--red);color:#fff;font-weight:700;font-size:11px;letter-spacing:.6px;text-transform:uppercase;
  padding:3px 9px;border-radius:999px}
.demo-txt{color:#d6d6db}
.demo-cta{margin-left:auto;display:flex;gap:8px}
.demo-cta .btn{padding:5px 12px;font-size:13px}
.top{top:0}
.ee-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 22px;background:#0e0e11;border-bottom:1px solid var(--line)}
.ee-title{display:inline-flex;align-items:center;gap:6px;color:#f3c26b;font-weight:700;font-size:12px;letter-spacing:.6px;
  text-transform:uppercase;margin-right:4px}
.ee-title svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
.ee-btn{position:relative;display:inline-flex;align-items:center;gap:7px;background:#141418;color:#9a9aa3;
  border:1px dashed #3a3a42;border-radius:7px;padding:5px 10px;font-weight:600;font-size:13px;cursor:not-allowed}
.ee-btn svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ee-btn:hover{color:#d0d0d6;border-color:#6b5426}
.ee-tag{font-size:9.5px;font-weight:800;letter-spacing:.5px;color:#1a1206;background:#f3c26b;border-radius:4px;padding:1px 4px}
.ee-btn[data-tip]:hover::after{content:attr(data-tip);position:absolute;left:0;top:calc(100% + 7px);z-index:60;width:max-content;
  max-width:280px;white-space:normal;background:#1d1d22;color:var(--text);border:1px solid var(--line2);border-radius:7px;
  padding:7px 10px;font-weight:400;font-size:12.5px;line-height:1.4;box-shadow:0 8px 24px #000a;pointer-events:none}
.ee-inline{display:inline-flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.ee-inline.toolbar{margin:4px 0 0;display:flex}
.ee-row{display:flex;margin:0 0 14px}
.demo-ro,.demo-ro:hover{opacity:.45;cursor:not-allowed!important;border-color:var(--line2)!important}
.demo-note{color:var(--muted);font-size:12px;margin:6px 0 10px}
body.wall .demo-ribbon,body.wall .ee-strip{display:none!important}
@media (max-width:720px){
  .demo-ribbon,.ee-strip{padding-left:16px;padding-right:16px}
  .demo-cta{margin-left:0}
  .ee-inline{margin-left:0}
}
@media (max-width:720px){
  .ee-strip{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .ee-strip::-webkit-scrollbar{display:none}
  .ee-strip .ee-btn,.ee-title{flex:none}
  .ee-strip .ee-btn[data-tip]:hover::after{display:none}
}
