/* V9.9.7 | Compact, product-first Demo Center. Scope stays inside /experience. */
body.nw981-demo-body .nw993-demo-page{
  width:min(940px,calc(100% - 40px));
  margin-inline:auto;
  padding:30px 0 66px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
body.nw981-demo-body .nw993-demo-intro{
  padding:22px 26px 24px;
  margin:0;
  border:1px solid #1c343d;
  border-radius:16px;
  background:linear-gradient(120deg,#0c171d,#071218);
}
body.nw981-demo-body .nw993-demo-intro h1{
  margin:9px 0 7px;
  font-size:clamp(27px,3vw,39px);
  line-height:1.12;
  letter-spacing:-.035em;
}
body.nw981-demo-body .nw993-demo-intro>p{
  max-width:720px;
  font-size:12px;
  line-height:1.65;
  color:#91a6ae;
}
body.nw981-demo-body .nw993-demo-topline{gap:8px}
body.nw981-demo-body .nw993-demo-status{font-size:9px}
.nw997-demo-switch{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.nw997-demo-switch button{
  min-width:0;min-height:70px;
  display:flex;align-items:center;gap:13px;
  padding:13px 17px;
  border:1px solid #1c343d;
  border-radius:12px;
  background:#09161b;
  color:#e8f3f5;
  text-align:left;
  cursor:pointer;
  transition:border-color .16s, background .16s;
}
.nw997-demo-switch button:hover,
.nw997-demo-switch button:focus-visible{border-color:#49f38b;outline-offset:3px}
.nw997-demo-switch button[aria-selected="true"]{background:#0b261d;border-color:#24ec70;box-shadow:inset 0 0 0 1px #24ec702b}
.nw997-tab-icon{
  display:grid;place-items:center;
  width:36px;height:36px;
  flex:none;
  color:#24ec70;
  font-size:20px;
  border:1px solid #1d5941;
  border-radius:9px;
  background:#0a201a;
}
.nw997-demo-switch strong{display:block;font-size:14px;line-height:1.3;letter-spacing:-.01em}
.nw997-demo-switch small{display:block;margin-top:4px;color:#91a6ae;font-size:10px;line-height:1.4}
.nw997-demo-panel[hidden]{display:none!important}
.nw997-demo-panel{margin:0;scroll-margin-top:110px}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card,
body.nw981-demo-body .nw994-notify-demo{
  width:100%;max-width:none;border-radius:16px;
  border:1px solid #1c343d;
  box-shadow:none;
  margin:0;
}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card>header,
body.nw981-demo-body .nw994-demo-head{
  padding:14px 20px;
  min-height:66px;
  align-items:center;
  background:#0b171d;
}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card>header h3,
body.nw981-demo-body .nw994-demo-head h3{font-size:19px;margin:4px 0 0;letter-spacing:-.02em}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card>header small,
body.nw981-demo-body .nw994-demo-head small{font-size:9px;letter-spacing:.08em}
.nw996-demo-body{display:block;min-width:0}
.nw996-demo-main{padding:14px;min-width:0;border:0;background:#081216}
body.nw981-demo-body #rpchat-demo .nw-rp-live-demo,
body.nw981-demo-body #notify-demo .nw996-demo-main{border-radius:11px;box-shadow:none}
body.nw981-demo-body #rpchat-demo .nw992-stage,
body.nw981-demo-body #rpchat-demo .nw-rp-live-viewport{
  width:100%;max-width:none;
  aspect-ratio:16 / 7.4!important;
  max-height:442px;
  min-height:0!important;
  height:auto!important;
}
body.nw981-demo-body #rpchat-demo .nw992-chat{
  top:5%;left:4%;height:88%;
  width:var(--nw992-chat-width,48%);
  max-width:520px;
  min-width:0;
  gap:7px;
  font-size:clamp(11px,1.1vw,14px);
}
body.nw981-demo-body #rpchat-demo .nw992-bubble{padding:7px 10px;gap:5px}
body.nw981-demo-body #rpchat-demo .nw992-composer{min-height:39px}
body.nw981-demo-body #rpchat-demo .nw992-composer button{height:28px;width:30px;font-size:16px}
body.nw981-demo-body #rpchat-demo .nw992-emoji{min-height:130px;max-height:53%;padding:9px}
body.nw981-demo-body #rpchat-demo .nw992-emoji-grid button{font-size:20px}
body.nw981-demo-body #rpchat-demo .nw992-settings{
  inset:4.5% auto 4.5% 5%;width:min(530px,65%);
}
body.nw981-demo-body #rpchat-demo .nw-rp-live-banner{padding:10px 13px}
body.nw981-demo-body #rpchat-demo .nw-rp-live-banner strong{font-size:10px}
body.nw981-demo-body #rpchat-demo .nw992-actions,
body.nw981-demo-body #notify-demo .nw994-notify-controls{
  padding:12px 14px;
  display:flex;flex-wrap:wrap;gap:7px;
  border-top:1px solid #1c343d;
}
body.nw981-demo-body #rpchat-demo .nw992-actions button,
body.nw981-demo-body #rpchat-demo .nw992-actions a,
body.nw981-demo-body #notify-demo .nw994-notify-button-row button,
body.nw981-demo-body #notify-demo .nw994-notify-button-row a{
  width:auto;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 11px;
  min-height:34px;
  border-radius:7px;
  font-size:10px;
}
body.nw981-demo-body #notify-demo .nw994-notify-controls{display:block}
body.nw981-demo-body #notify-demo .nw994-notify-button-row{display:flex;flex-wrap:wrap;gap:7px}
body.nw981-demo-body #notify-demo .nw994-notify-button-row+ .nw994-notify-button-row{margin-top:7px}
body.nw981-demo-body #rpchat-demo .nw-rp-live-help,
body.nw981-demo-body #notify-demo .nw994-notify-controls>p{
  display:none;
}
body.nw981-demo-body .nw994-notify-section{display:block;margin:0}
body.nw981-demo-body .nw994-notify-section[hidden]{display:none!important}
body.nw981-demo-body .nw994-notify-section-heading{display:none}
body.nw981-demo-body .nw994-notify-scene{
  aspect-ratio:16 / 7.4;
  width:100%;max-height:442px;min-height:0;
}
body.nw981-demo-body .nw994-toasts{top:5%;right:4%;width:min(290px,35%);gap:7px}
body.nw981-demo-body .nw994-notify-card{padding:10px 12px 14px;border-radius:10px}
body.nw981-demo-body .nw994-notify-icon{width:34px;height:34px;flex-basis:34px;font-size:18px}
body.nw981-demo-body .nw994-notify-panel{
  inset:5% auto 5% 5%;width:min(450px,62%);
}
body.nw981-demo-body .nw994-notify-panel>header{padding:11px 13px}
body.nw981-demo-body .nw994-notify-panel>header strong{font-size:16px}
body.nw981-demo-body .nw994-notify-history,
body.nw981-demo-body .nw994-notify-settings{padding:10px 13px}
body.nw981-demo-body .nw994-notify-tabs{padding:7px}
body.nw981-demo-body .nw994-notify-panel footer{padding:7px 10px}
body.nw981-demo-body .nw993-demo-disclaimer{
  margin:0;padding:0 4px;
  font-size:11px;line-height:1.6;color:#7f98a0;
}
@media(max-width:700px){
  body.nw981-demo-body .nw993-demo-page{width:calc(100% - 24px);padding-top:22px;gap:14px}
  body.nw981-demo-body .nw993-demo-intro{padding:17px}
  body.nw981-demo-body .nw993-demo-intro h1{font-size:30px}
  .nw997-demo-switch{gap:8px;margin-top:16px}
  .nw997-demo-switch button{padding:9px;min-height:60px;gap:8px}
  .nw997-tab-icon{width:29px;height:29px;font-size:16px}
  .nw997-demo-switch strong{font-size:12px}
  .nw997-demo-switch small{font-size:9px}
  .nw996-demo-main{padding:9px}
  body.nw981-demo-body #rpchat-demo .nw992-stage,
  body.nw981-demo-body #rpchat-demo .nw-rp-live-viewport{
    aspect-ratio:4 / 4.4!important;
    max-height:none;
    min-height:340px!important;
  }
  body.nw981-demo-body #rpchat-demo .nw992-chat{left:6%;top:7%;width:87%;height:85%;font-size:11px}
  body.nw981-demo-body #rpchat-demo .nw992-settings{inset:4% 3%;width:auto}
  body.nw981-demo-body .nw994-notify-scene{aspect-ratio:4 / 4.4;max-height:none;min-height:340px}
  body.nw981-demo-body .nw994-toasts{left:5%;right:auto;width:90%;max-height:48%}
  body.nw981-demo-body .nw994-notify-panel{inset:4% 3%;width:auto}
}
@media(max-width:390px){
  .nw997-demo-switch{grid-template-columns:1fr}
  .nw997-demo-switch button{min-height:54px}
}
@media(prefers-reduced-motion:reduce){
  .nw997-demo-switch button{transition:none}
}
