:root{
  --bg: #eef3fb;
  --bg-2: #f8fbff;
  --card: rgba(255,255,255,.82);
  --card-solid: #ffffff;
  --text: #162033;
  --muted: #667085;
  --border: rgba(19, 47, 91, .10);
  --border-strong: rgba(19, 47, 91, .18);
  --brand: #1a4173;
  --brand-2: #2d5f9b;
  --brand-soft: rgba(26, 65, 115, .08);
  --danger-soft: rgba(198, 40, 40, .08);
  --botBubble: #ffffff;
  --userBubble: linear-gradient(135deg, #1a4173 0%, #295c98 100%);
  --shadow-lg: 0 24px 80px rgba(15, 23, 42, .12);
  --shadow-md: 0 12px 34px rgba(15, 23, 42, .10);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, .07);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*{ box-sizing:border-box; }
html,body{ height:100%; overflow-x:hidden; }
body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(38, 109, 211, .12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(26, 65, 115, .10), transparent 26%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
}

button,input{ font: inherit; }
a{ color:inherit; }
.no-scroll{ overflow:hidden; }

.app-bg-orb{
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(30px);
  opacity: .6;
  z-index: 0;
}
.app-bg-orb-1{
  width: 320px;
  height: 320px;
  background: rgba(53, 113, 196, .12);
  top: -60px;
  left: -70px;
}
.app-bg-orb-2{
  width: 360px;
  height: 360px;
  background: rgba(26, 65, 115, .10);
  right: -90px;
  bottom: -80px;
}

.fs-shell{
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  height: 100dvh;
  display:flex;
  gap:16px;
  padding:16px;
}

.fs-sidebar,
.fs-main{
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.fs-sidebar{
  width:380px;
  min-width:380px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-xl);
  padding:16px;
  display:flex;
  flex-direction:column;
  overflow:auto;
  box-shadow: var(--shadow-md);
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand-card{
  padding:14px;
  border-radius:22px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.68));
  border:1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.brand-badge{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(26,65,115,.12), rgba(26,65,115,.04));
  border:1px solid rgba(26,65,115,.12);
  box-shadow: 0 8px 18px rgba(26,65,115,.10);
  flex: 0 0 auto;
}
.brand-badge img{ width:36px; height:36px; object-fit:contain; }
.brand-title{ font-size:15px; font-weight:800; letter-spacing:.01em; }
.brand-sub{ color:var(--muted); font-size:12.5px; line-height:1.45; margin-top:3px; }
.brand-mobile .brand-badge{ width:42px; height:42px; border-radius:14px; }
.brand-mobile .brand-badge img{ width:26px; height:26px; }
.brand-mobile .brand-title{ font-size:14px; }
.brand-mobile .brand-sub{ font-size:11.5px; }

.sidebar-hero,
.suggest-card{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.75));
  border:1px solid rgba(255,255,255,.72);
  border-radius:24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-hero{
  margin-top:14px;
  padding:18px;
  background:
    radial-gradient(circle at top right, rgba(59,130,246,.13), transparent 36%),
    linear-gradient(180deg, rgba(31,79,139,.06), rgba(255,255,255,.84));
}
.sidebar-hero-title{
  font-size:16px;
  font-weight:800;
  margin-bottom:6px;
}
.sidebar-hero-text{
  color:var(--muted);
  font-size:13.5px;
  line-height:1.55;
}
.sidebar-hero-tips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.sidebar-tip{
  display:inline-flex;
  align-items:center;
  height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(26,65,115,.10);
  color:var(--brand);
  font-size:12.5px;
  font-weight:700;
}

.suggest-card{
  margin-top:14px;
  padding:18px;
}
.section-title-row{ margin-bottom:14px; }
.suggest-title{ font-size:15px; font-weight:800; }
.suggest-sub{ font-size:12.5px; color:var(--muted); margin-top:4px; }

.chips-group{ display:flex; flex-direction:column; gap:12px; }
.group-card{
  border:1px solid rgba(26,65,115,.08);
  border-radius:20px;
  background: rgba(248, 251, 255, .74);
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.group-card:hover{
  transform: translateY(-1px);
  border-color: rgba(26,65,115,.16);
  box-shadow: 0 10px 22px rgba(20, 41, 76, .06);
}
.group-toggle{
  width:100%;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  text-align:left;
  color:var(--text);
}
.group-icon{
  width:36px;
  height:36px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--card-solid);
  border:1px solid rgba(26,65,115,.10);
  font-size:16px;
}
.group-text-wrap{ display:flex; flex-direction:column; min-width:0; }
.group-title{ font-size:14px; font-weight:800; }
.group-desc{ font-size:12.5px; color:var(--muted); margin-top:2px; }
.group-arrow{
  margin-left:auto;
  color:var(--muted);
  font-size:18px;
  transition: transform .18s ease;
}
.group-card.is-open .group-arrow{ transform: rotate(180deg); }
.group-content{
  display:none;
  padding:0 16px 16px;
}
.group-card.is-open .group-content{ display:block; }

.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  border:1px solid rgba(26,65,115,.10);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:9px 14px;
  font-size:13px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition: all .18s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.9), 0 4px 10px rgba(15,23,42,.04);
}
.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(26,65,115,.18);
  background:#f9fbff;
  box-shadow: 0 8px 18px rgba(26,65,115,.08);
}

.fs-main{
  flex:1 1 auto;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.7);
  border-radius:var(--radius-xl);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-shadow: var(--shadow-lg);
}

.fs-topbar{
  padding:16px 18px;
  border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.60));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.fs-top-left{ display:flex; align-items:center; gap:12px; min-width:0; }
.topbar-copy{ min-width:0; }
.fs-h1{ font-size:15px; font-weight:800; letter-spacing:.01em; }
.fs-h2{ color:var(--muted); font-size:13px; margin-top:4px; }
.fs-actions{ display:flex; align-items:center; gap:10px; }
.top-action-circle{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--brand);
  display:grid;
  place-items:center;
  box-shadow: var(--shadow-sm);
}
.btn-reset-soft{
  border:1px solid rgba(198, 40, 40, .12);
  background: var(--danger-soft);
  color:#8d2430;
  border-radius:999px;
  padding:8px 14px;
  font-weight:700;
}
.btn-reset-soft:hover{ background: rgba(198, 40, 40, .12); color:#7a1f2a; }

.fs-chat{
  flex:1 1 auto;
  padding:20px 20px 16px;
  overflow:auto;
  background:
    radial-gradient(circle at top right, rgba(58,123,213,.05), transparent 34%),
    linear-gradient(180deg, rgba(251,253,255,.94), rgba(245,248,252,.96));
}

.msg{
  width:100%;
  margin:14px 0;
  display:flex;
  animation: msgIn .22s ease;
}
.msg.bot{ justify-content:flex-start; }
.msg.user{ justify-content:flex-end; }
@keyframes msgIn{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}

.message-wrap{
  display:flex;
  gap:12px;
  align-items:flex-end;
  max-width:min(78%, 860px);
}
.msg.user .message-wrap{
  flex-direction: row-reverse;
}
.message-avatar{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(26,65,115,.10);
  box-shadow: 0 8px 18px rgba(26,65,115,.10);
}
.message-avatar.bot-avatar{
  background: linear-gradient(135deg, #ffffff, #eef5ff);
}
.message-avatar.user-avatar{
  background: linear-gradient(135deg, #1a4173, #2b5d96);
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.message-avatar img{
  width:22px;
  height:22px;
  object-fit:contain;
}
.message-main{ min-width:0; }
.message-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 4px 6px;
}
.msg.user .message-meta{ justify-content:flex-end; }
.meta-name{
  font-size:12px;
  font-weight:800;
  color:#39465d;
}
.meta-time{
  font-size:11.5px;
  color:#8b96a8;
}

.bubble{
  max-width:100%;
  padding:14px 16px;
  border-radius:20px;
  font-size:14px;
  line-height:1.6;
  word-break: break-word;
}
.msg.bot .bubble{
  background:var(--botBubble);
  color:var(--text);
  border:1px solid rgba(26,65,115,.08);
  border-bottom-left-radius:8px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
}
.msg.user .bubble{
  background:var(--userBubble);
  color:#fff;
  border-bottom-right-radius:8px;
  box-shadow: 0 16px 32px rgba(26,65,115,.18);
}

.chat-link{
  color:#0d6efd;
  text-decoration: underline;
  word-break: break-all;
}
.msg.user .chat-link{ color:#dbeafe; }

.msg.bot .bubble h1,
.msg.bot .bubble h2,
.msg.bot .bubble h3{ margin:0 0 10px; font-weight:900; line-height:1.4; }
.msg.bot .bubble h1,
.msg.bot .bubble .doc-h1{ font-size:16px; }
.msg.bot .bubble h2,
.msg.bot .bubble .doc-h2{ font-size:15px; }
.msg.bot .bubble h3{ font-size:14px; }
.msg.bot .bubble p,
.msg.bot .bubble .doc-p{ margin:0 0 10px; }
.msg.bot .bubble p:last-child,
.msg.bot .bubble .doc-p:last-child{ margin-bottom:0; }
.msg.bot .bubble .ul,
.msg.bot .bubble .ol,
.msg.bot .bubble .doc-ul{ margin:8px 0 12px; padding-left:18px; }
.msg.bot .bubble .ul-li,
.msg.bot .bubble .ol-li,
.msg.bot .bubble .doc-li{ margin:6px 0; }
.msg.bot .bubble .ol{ list-style:none; padding-left:0; }
.msg.bot .bubble .ol-li{ display:flex; gap:8px; align-items:flex-start; }
.msg.bot .bubble .ol-n{ min-width:22px; font-weight:800; color:#111827; }
.msg.bot .bubble .note{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid rgba(26,65,115,.10);
  border-radius:16px;
  background:#f8fbff;
}
.msg.bot .bubble .doc-hr{
  border:none;
  border-top:1px solid rgba(26,65,115,.10);
  margin:14px 0;
}

.inline-followups{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:4px 0 16px 50px;
}
.inline-followups .chip{
  background:rgba(255,255,255,.95);
  padding:10px 14px;
}

.msg-followups{ margin-top:2px; }
.followup-wrap{
  margin-left:50px;
  max-width:min(74%, 820px);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chat-suggest-chip{
  background:#fff;
  border:1px solid rgba(26,65,115,.10);
  padding:9px 14px;
  font-size:13px;
}
.chat-suggest-chip:hover{ background:#f7fbff; }

.typing-row{
  display:flex;
  justify-content:flex-start;
  margin:14px 0;
}
.typing-bubble{
  margin-left:50px;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(26,65,115,.08);
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:120px;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  color:#43526b;
  font-size:13px;
}
.dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#c4c7cc;
  animation:bounce 1.1s infinite ease-in-out;
}
.dot:nth-child(2){ animation-delay:.15s; }
.dot:nth-child(3){ animation-delay:.30s; }
@keyframes bounce{
  0%,80%,100%{ transform:translateY(0); opacity:.55; }
  40%{ transform:translateY(-5px); opacity:1; }
}

.fs-compose{
  padding:14px 18px calc(18px + var(--safe-bottom));
  border-top:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.96));
}
.compose-helper-row{ margin-bottom:10px; }
.compose-helper-pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(26,65,115,.07);
  color:#49617e;
  font-size:12.5px;
  font-weight:600;
}
.quick-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.compose-card{
  padding:12px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.98));
  border:1px solid rgba(26,65,115,.10);
  box-shadow: var(--shadow-sm);
}
.compose-row{ display:flex; gap:12px; align-items:center; }
.compose-input-wrap{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  height:54px;
  border-radius:999px;
  border:1px solid rgba(26,65,115,.10);
  background:#f8fbff;
  padding:0 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.compose-input-wrap:focus-within{
  background:#fff;
  border-color:rgba(26,65,115,.22);
  box-shadow: 0 0 0 4px rgba(26,65,115,.08);
}
.compose-icon{ color:#7f8ca3; display:grid; place-items:center; }
.compose-input{
  flex:1;
  height:100%;
  border:0;
  padding:0;
  outline:none;
  font-size:14px;
  background:transparent;
  color:var(--text);
}
.compose-input::placeholder{ color:#8b96a8; }
.compose-send{
  width:54px;
  height:54px;
  border-radius:18px;
  border:0;
  background: linear-gradient(135deg, #1a4173 0%, #2d5f9b 100%);
  display:grid;
  place-items:center;
  color:#fff;
  box-shadow: 0 16px 28px rgba(26,65,115,.24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.compose-send:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 30px rgba(26,65,115,.28);
}
.compose-send:disabled{ opacity:.68; transform:none; cursor:not-allowed; }
.typing{ font-size:12px; color:var(--muted); margin-top:8px; }

.redirect-popup{
  position:fixed;
  inset:0;
  background:rgba(7, 14, 29, .52);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:18px;
}
.redirect-box{
  background:#fff;
  padding:24px;
  border-radius:22px;
  width:min(92vw, 420px);
  text-align:center;
  box-shadow: var(--shadow-lg);
}
.redirect-title{ font-weight:800; font-size:20px; margin-bottom:10px; }
.redirect-desc{ font-size:14px; margin-bottom:12px; color:#445066; word-break:break-all; }
.redirect-countdown{ margin-bottom:18px; color:#c62828; font-weight:700; }
.redirect-actions{ display:flex; gap:10px; justify-content:center; }
.btn-cancel,.btn-go{
  border:none;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
}
.btn-cancel{ background:#e5e7eb; color:#374151; }
.btn-go{ background:var(--brand); color:#fff; }

.fs-drawer{
  position:fixed;
  inset:0;
  z-index:1000;
  pointer-events:none;
}
.fs-drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  transition:opacity .18s ease;
}
.fs-drawer-panel{
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:min(92vw, 420px);
  background:#fff;
  border-right:1px solid var(--border);
  transform:translateX(-102%);
  transition:transform .2s ease;
  display:flex;
  flex-direction:column;
}
.fs-drawer.is-open{ pointer-events:auto; }
.fs-drawer.is-open .fs-drawer-backdrop{ opacity:1; }
.fs-drawer.is-open .fs-drawer-panel{ transform:translateX(0); }
.fs-drawer-header{
  padding:14px;
  padding-top:calc(14px + var(--safe-top));
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.fs-drawer-body{ padding:14px; overflow:auto; background:#f8fbff; }
.sidebar-hero-mobile{ margin-top:0; }
.hint{ color:var(--muted); font-size:12.5px; line-height:1.5; }

.intro-screen{
  position:fixed;
  inset:0;
  z-index:2000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  background:
    radial-gradient(circle at top, rgba(61,122,210,.16), transparent 35%),
    linear-gradient(180deg, rgba(247,250,255,.96), rgba(234,241,250,.94));
  backdrop-filter: blur(12px);
}
.intro-screen.is-open{ display:flex; }
.intro-card{
  width:min(620px, 94vw);
  max-width:100%;
  max-height:calc(100dvh - 36px);
  overflow:auto;
  background: rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.74);
  border-radius:32px;
  padding:28px 24px;
  text-align:center;
  box-shadow: var(--shadow-lg);
}
.intro-badge{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  padding:0 14px;
  border-radius:999px;
  background:rgba(26,65,115,.08);
  color:var(--brand);
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.intro-logo-shell{
  display:flex;
  justify-content:center;
  margin:18px 0 12px;
}
.intro-logo{
  width: 220px;
  height: 220px;
  border-radius:28px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(235,243,255,.95));
  box-shadow: 0 20px 32px rgba(26,65,115,.12);
}
.intro-logo img{width: 200px;height: 200px;object-fit:contain;}
.intro-title{ font-weight:900; font-size:28px; margin:6px 0 8px; }
.intro-desc{
  font-size:15px;
  line-height:1.7;
  color:#46556d;
  margin:0 auto;
  max-width:48ch;
}
.intro-feature-list{
  display:grid;
  gap:10px;
  margin:20px auto 0;
  max-width:500px;
  text-align:left;
}
.intro-feature-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border-radius:18px;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(26,65,115,.08);
}
.intro-feature-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--brand);
  margin-top:7px;
  flex:0 0 auto;
}
.intro-sample-title{
  margin:20px 0 10px;
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}
.intro-samples{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.intro-chip{ background:#fff; }
.intro-sub{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin:18px 0 14px;
}
.intro-btn{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:18px;
  background: linear-gradient(135deg, #1a4173 0%, #2d5f9b 100%);
  color:#fff;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow: 0 16px 32px rgba(26,65,115,.20);
}

@media (max-width: 1200px){
  .fs-sidebar{ width:344px; min-width:344px; }
  .message-wrap,
  .followup-wrap{ max-width:84%; }
}

@media (max-width: 992px){
  .fs-shell{ padding:0; gap:0; }
  .fs-sidebar-desktop{ display:none; }
  .fs-main{
    border-radius:0;
    border-left:0;
    border-right:0;
    border-top:0;
    height:100dvh;
  }
  .fs-topbar{
    position:sticky;
    top:0;
    z-index:20;
    padding-top:calc(12px + var(--safe-top));
  }
  .fs-chat{ padding:16px 14px 12px; }
  .message-wrap,
  .followup-wrap{ max-width:92%; }
  .followup-wrap,
  .inline-followups,
  .typing-bubble{ margin-left:50px; }
  .fs-compose{
    position:sticky;
    bottom:0;
    z-index:25;
    padding:12px 14px calc(14px + var(--safe-bottom));
    background:rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
  }
  .inline-followups .chip {
    white-space: unset;
    text-align: left;
  }
  .quick-chips{
    display:grid;
    grid-auto-flow:column;
    grid-template-rows:repeat(2, auto);
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .quick-chips::-webkit-scrollbar{ display:none; }
  .topbar-copy{ display:none !important; }
}

@media (max-width: 768px){
  .msg{ margin:12px 0; }
  .message-wrap,
  .followup-wrap{ max-width:100%; }
  .message-avatar{ width:34px; height:34px; min-width:34px; border-radius:12px; }
  .bubble{ font-size:13.5px; line-height:1.55; padding:13px 14px; }
  .followup-wrap,
  .inline-followups,
  .typing-bubble{ margin-left:46px; }
  .compose-helper-pill{ width:100%; justify-content:center; text-align:center; min-height:36px; }
  .compose-card{ padding:10px; border-radius:18px; }
  .compose-input-wrap{ height:50px; padding:0 14px; }
  .compose-send{ width:50px; height:50px; border-radius:16px; }
  .intro-card{ padding:24px 18px; border-radius:26px; }
  .intro-title{ font-size:23px; }
  .intro-desc{ font-size:14px; }
  .chips{ flex-wrap:wrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:4px; }
  .chips::-webkit-scrollbar{ display:none; }
  .chip{ white-space:nowrap; }
}

@media (max-width: 520px){
  .intro-screen{
    align-items:flex-start;
    justify-content:stretch;
    padding:12px;
  }
  .intro-card{
    width:100%;
    max-height:none;
    min-height:calc(100dvh - 24px);
    border-radius:24px;
    padding:20px 14px;
  }
  .intro-logo{
    width:160px;
    height:160px;
    border-radius:22px;
  }
  .intro-logo img{
    width:138px;
    height:138px;
  }
  .intro-feature-list{
    gap:8px;
    margin-top:16px;
  }
  .intro-feature-item{
    padding:10px 12px;
    border-radius:16px;
  }
  .intro-btn{
    position:sticky;
    bottom:0;
  }
  .fs-topbar{ padding-left:12px; padding-right:12px; }
  .fs-chat{ padding-left:12px; padding-right:12px; }
  .fs-compose{ padding-left:12px; padding-right:12px; }
  .message-meta{ margin-left:2px; margin-right:2px; }
  .meta-name{ font-size:11.5px; }
  .meta-time{ font-size:11px; }
  .typing-bubble{ font-size:12px; }
  .redirect-actions{ flex-direction:column; }
}
