/* [project]/src/components/layout/ThemeToggle.module.css [app-client] (css) */
.ThemeToggle-module__gv9_OW__toggle {
  border-radius: var(--radius-md);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: all var(--duration-fast);
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.ThemeToggle-module__gv9_OW__toggle:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-amber);
}

.ThemeToggle-module__gv9_OW__iconWrapper {
  width: 18px;
  height: 18px;
  transition: transform .5s var(--ease-out);
  position: relative;
}

.ThemeToggle-module__gv9_OW__sun, .ThemeToggle-module__gv9_OW__moon {
  transition: all .5s var(--ease-out);
  position: absolute;
  top: 0;
  left: 0;
}

.ThemeToggle-module__gv9_OW__light .ThemeToggle-module__gv9_OW__sun {
  opacity: 1;
  color: var(--color-amber);
  transform: translateY(0);
}

.ThemeToggle-module__gv9_OW__light .ThemeToggle-module__gv9_OW__moon {
  opacity: 0;
  transform: translateY(24px);
}

.ThemeToggle-module__gv9_OW__dark .ThemeToggle-module__gv9_OW__sun {
  opacity: 0;
  transform: translateY(-24px);
}

.ThemeToggle-module__gv9_OW__dark .ThemeToggle-module__gv9_OW__moon {
  opacity: 1;
  color: var(--color-indigo-light);
  transform: translateY(0);
}

.ThemeToggle-module__gv9_OW__placeholder {
  width: 40px;
  height: 40px;
}

/* [project]/src/components/layout/Navbar.module.css [app-client] (css) */
.Navbar-module__cRh5nW__navbar {
  width: 100%;
  height: var(--navbar-height);
  z-index: var(--z-sticky);
  transition: all var(--duration-normal) var(--ease-out);
  background: none;
  position: sticky;
  top: 0;
}

.Navbar-module__cRh5nW__scrolled {
  background: var(--color-bg-card);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
}

.Navbar-module__cRh5nW__navContent {
  justify-content: space-between;
  align-items: center;
  height: 100%;
  display: flex;
}

.Navbar-module__cRh5nW__fullWidthContainer {
  width: 100%;
  padding: 0 var(--space-6);
}

.Navbar-module__cRh5nW__logo {
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  transition: opacity var(--duration-fast);
  letter-spacing: -.02em;
  flex-shrink: 0;
  font-weight: 800;
  display: flex;
}

.Navbar-module__cRh5nW__logo:hover {
  opacity: .8;
}

.Navbar-module__cRh5nW__logoIcon {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  border-radius: var(--radius-md);
  width: 36px;
  height: 36px;
  font-size: var(--text-base);
  color: var(--color-text-on-amber);
  box-shadow: 0 0 12px var(--color-amber-glow);
  justify-content: center;
  align-items: center;
  display: flex;
}

.Navbar-module__cRh5nW__logoImage {
  -o-object-fit: contain;
  object-fit: contain;
  width: auto;
  height: 30px;
}

.Navbar-module__cRh5nW__logoText {
  letter-spacing: -.01em;
}

.Navbar-module__cRh5nW__logoDot {
  color: var(--color-amber);
}

.Navbar-module__cRh5nW__navLinks {
  align-items: center;
  gap: var(--space-1);
  display: flex;
}

.Navbar-module__cRh5nW__navLink {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
  font-weight: 500;
  position: relative;
}

.Navbar-module__cRh5nW__navLink:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

.Navbar-module__cRh5nW__navLinkActive {
  font-weight: 600;
  color: var(--color-amber) !important;
}

.Navbar-module__cRh5nW__activeIndicator {
  background: var(--color-amber);
  border-radius: var(--radius-full);
  width: 16px;
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.Navbar-module__cRh5nW__navActions {
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.Navbar-module__cRh5nW__guestBadge {
  height: 28px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-tertiary);
  background: var(--color-bg-secondary);
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.Navbar-module__cRh5nW__menuToggle {
  flex-direction: column;
  gap: 5px;
  width: 22px;
  padding: 3px 0;
  display: none;
}

.Navbar-module__cRh5nW__menuToggle span {
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  width: 100%;
  height: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
  display: block;
}

.Navbar-module__cRh5nW__menuOpen span:first-child {
  transform: rotate(45deg)translateY(5px);
}

.Navbar-module__cRh5nW__menuOpen span:nth-child(2) {
  opacity: 0;
}

.Navbar-module__cRh5nW__menuOpen span:nth-child(3) {
  transform: rotate(-45deg)translateY(-5px);
}

.Navbar-module__cRh5nW__mobileMenu {
  padding: var(--space-4) var(--space-6) var(--space-6);
  background: var(--color-bg-card);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
  animation: Navbar-module__cRh5nW__g-fade-in-up .25s var(--ease-out);
  flex-direction: column;
  display: none;
}

.Navbar-module__cRh5nW__mobileLink {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
  font-weight: 500;
  display: block;
}

.Navbar-module__cRh5nW__mobileLink:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.Navbar-module__cRh5nW__mobileLinkActive {
  color: var(--color-amber);
  background: var(--color-amber-glow);
}

.Navbar-module__cRh5nW__mobileDivider {
  background: var(--color-border-subtle);
  height: 1px;
  margin: var(--space-3) 0;
}

.Navbar-module__cRh5nW__mobileGuest {
  margin: 0 var(--space-4) var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  color: var(--color-text-tertiary);
  background: var(--color-bg-tertiary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.Navbar-module__cRh5nW__mobileRegister {
  margin-top: var(--space-3);
  text-align: center;
}

.Navbar-module__cRh5nW__userProfileWrap {
  position: relative;
}

.Navbar-module__cRh5nW__userProfile {
  align-items: center;
  gap: var(--space-3);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast);
  padding: 3px 4px 3px 12px;
  display: flex;
}

.Navbar-module__cRh5nW__userProfile:hover {
  border-color: var(--color-border);
  background: var(--color-bg-tertiary);
}

.Navbar-module__cRh5nW__menuChevron {
  color: var(--color-text-tertiary);
  transition: transform var(--duration-fast);
}

.Navbar-module__cRh5nW__menuChevronOpen {
  transform: rotate(180deg);
}

.Navbar-module__cRh5nW__userDropdown {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  width: 260px;
  box-shadow: var(--shadow-lg);
  animation: Navbar-module__cRh5nW__g-fade-in-up .2s var(--ease-out);
  z-index: 100;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
}

.Navbar-module__cRh5nW__userDropdownHeader {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  display: flex;
}

.Navbar-module__cRh5nW__userDropdownAvatar {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  width: 36px;
  height: 36px;
  color: var(--color-text-on-amber);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.Navbar-module__cRh5nW__userDropdownName {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 600;
}

.Navbar-module__cRh5nW__userDropdownDivider {
  background: var(--color-border-subtle);
  height: 1px;
  margin: 0;
}

.Navbar-module__cRh5nW__userDropdownItem {
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast);
  background: none;
  border: none;
  text-decoration: none;
  display: flex;
}

.Navbar-module__cRh5nW__userDropdownItem:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.Navbar-module__cRh5nW__userDropdownItem svg {
  opacity: .7;
  flex-shrink: 0;
}

.Navbar-module__cRh5nW__avatar {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  width: 28px;
  height: 28px;
  color: var(--color-text-on-amber);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-xs);
  justify-content: center;
  align-items: center;
  display: flex;
}

.Navbar-module__cRh5nW__userInfo {
  flex-direction: column;
  line-height: 1.2;
  display: flex;
}

.Navbar-module__cRh5nW__userName {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 600;
}

.Navbar-module__cRh5nW__userRole {
  color: var(--color-text-tertiary);
  letter-spacing: .05em;
  font-size: 10px;
}

@media (max-width: 768px) {
  .Navbar-module__cRh5nW__navLinks, .Navbar-module__cRh5nW__navActions {
    display: none;
  }

  .Navbar-module__cRh5nW__menuToggle, .Navbar-module__cRh5nW__mobileMenu {
    display: flex;
  }
}

/* [project]/src/app/paipan/bazi/BaziClient.module.css [app-client] (css) */
:root {
  --color-wood: #22c55e;
  --color-fire: #ef4444;
  --color-earth: #d97706;
  --color-metal: #94a3b8;
  --color-water: #3b82f6;
  --color-wood-bg: #22c55e1a;
  --color-fire-bg: #ef44441a;
  --color-earth-bg: #d977061a;
  --color-metal-bg: #94a3b81a;
  --color-water-bg: #3b82f61a;
}

.BaziClient-module__73_dsa__mobileSwitch {
  display: none;
}

.BaziClient-module__73_dsa__mobileSwitchButton {
  min-width: 0;
}

.BaziClient-module__73_dsa__mobileSwitchActive {
  color: var(--color-text-inverse);
  background: var(--color-amber);
}

.BaziClient-module__73_dsa__mobileShell > aside, .BaziClient-module__73_dsa__mobileShell > main {
  min-height: 0;
}

.BaziClient-module__73_dsa__chartContainer {
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
}

.BaziClient-module__73_dsa__pillarsGrid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  display: grid;
}

.BaziClient-module__73_dsa__pillarBlock {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  flex-direction: column;
  transition: all .3s;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 12px #00000008;
}

.BaziClient-module__73_dsa__pillarBlock:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #00000014;
}

.BaziClient-module__73_dsa__pillarHeader {
  text-align: center;
  background: var(--color-bg-muted);
  color: var(--color-text-dim);
  letter-spacing: .2em;
  border-bottom: 1px solid var(--color-border-subtle);
  padding: .5rem;
  font-size: .75rem;
  font-weight: 800;
}

.BaziClient-module__73_dsa__shiShenTop {
  text-align: center;
  color: var(--color-primary);
  padding: .5rem;
  font-size: .85rem;
  font-weight: 700;
}

.BaziClient-module__73_dsa__mainChars {
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.5rem 0;
  display: flex;
}

.BaziClient-module__73_dsa__pillarChar {
  cursor: default;
  font-family: Noto Serif SC, serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.BaziClient-module__73_dsa__hiddenStems {
  background: var(--color-bg-muted);
  border-top: 1px solid var(--color-border-subtle);
  flex-direction: column;
  gap: .5rem;
  min-height: 100px;
  padding: 1rem;
  display: flex;
}

.BaziClient-module__73_dsa__hideGanItem {
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  display: flex;
}

.BaziClient-module__73_dsa__hideGanChar {
  font-size: 1rem;
  font-weight: 700;
}

.BaziClient-module__73_dsa__hideGanShiShen {
  color: var(--color-text-dim);
  font-weight: 600;
}

.BaziClient-module__73_dsa__pillarFooter {
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg-card);
  flex-direction: column;
  gap: .25rem;
  padding: .75rem;
  font-size: .7rem;
  display: flex;
}

.BaziClient-module__73_dsa__footerLabel {
  color: var(--color-text-dim);
  justify-content: space-between;
  display: flex;
}

.BaziClient-module__73_dsa__footerValue {
  color: var(--color-text-secondary);
  font-weight: 700;
}

.BaziClient-module__73_dsa__luckSection {
  width: 100%;
}

.BaziClient-module__73_dsa__sectionTitle {
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--color-text-dim);
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: .8rem;
  font-weight: 900;
  display: flex;
}

.BaziClient-module__73_dsa__sectionTitle:before, .BaziClient-module__73_dsa__sectionTitle:after {
  content: "";
  background: var(--color-border);
  flex: 1;
  height: 1px;
}

.BaziClient-module__73_dsa__daYunGrid {
  grid-template-columns: repeat(10, 1fr);
  gap: .5rem;
  width: 100%;
  display: grid;
}

.BaziClient-module__73_dsa__daYunCard {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  cursor: pointer;
  border-radius: .5rem;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: .75rem .25rem;
  transition: all .2s;
  display: flex;
}

@media (max-width: 767px) {
  .BaziClient-module__73_dsa__daYunGrid {
    gap: .25rem;
  }

  .BaziClient-module__73_dsa__daYunCard {
    border-radius: .35rem;
    padding: .4rem .1rem;
  }
}

.BaziClient-module__73_dsa__daYunCard:hover {
  background: var(--color-bg-muted);
  border-color: var(--color-primary);
}

.BaziClient-module__73_dsa__daYunActive {
  background: var(--color-primary-bg);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-glow);
}

.BaziClient-module__73_dsa__daYunShiShen {
  color: var(--color-primary);
  margin-bottom: .25rem;
  font-size: .7rem;
  font-weight: 700;
}

.BaziClient-module__73_dsa__daYunGanZhi {
  flex-direction: column;
  align-items: center;
  font-family: serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
}

.BaziClient-module__73_dsa__daYunAge {
  color: var(--color-text-dim);
  margin-top: .5rem;
  font-size: .7rem;
  font-weight: 600;
}

.BaziClient-module__73_dsa__daYunYear {
  color: var(--color-text-dim);
  font-size: .6rem;
}

.BaziClient-module__73_dsa__infoGrid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  display: grid;
}

.BaziClient-module__73_dsa__infoCard {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.BaziClient-module__73_dsa__infoRow {
  border-bottom: 1px solid var(--color-border-subtle);
  justify-content: space-between;
  padding: .5rem 0;
  font-size: .85rem;
  display: flex;
}

.BaziClient-module__73_dsa__infoRow:last-child {
  border-bottom: none;
}

.BaziClient-module__73_dsa__infoLabel {
  color: var(--color-text-dim);
  font-weight: 600;
}

.BaziClient-module__73_dsa__infoValue {
  font-weight: 700;
}

@media (max-width: 767px) {
  .BaziClient-module__73_dsa__chartContainer {
    gap: 1.5rem;
    padding: 1rem .5rem;
  }

  .BaziClient-module__73_dsa__pillarsGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: .4rem;
  }

  .BaziClient-module__73_dsa__pillarChar {
    font-size: 2rem;
  }

  .BaziClient-module__73_dsa__hiddenStems {
    min-height: 80px;
    padding: .4rem;
  }

  .BaziClient-module__73_dsa__daYunGrid {
    grid-template-columns: repeat(5, 1fr);
  }

  .BaziClient-module__73_dsa__infoGrid {
    grid-template-columns: 1fr;
  }

  .BaziClient-module__73_dsa__mobileSwitch {
    z-index: 80;
    gap: var(--space-2);
    padding: var(--space-2);
    border-bottom: 1px solid var(--color-border);
    background: color-mix(in srgb, var(--color-bg-card) 94%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    position: sticky;
    top: 0;
  }

  .BaziClient-module__73_dsa__mobileSwitchButton {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    height: 38px;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 900;
  }

  .BaziClient-module__73_dsa__mobileSwitchActive {
    border-color: var(--color-amber);
    background: var(--color-amber);
    color: var(--color-text-inverse);
    box-shadow: 0 8px 18px var(--color-amber-glow);
  }
}

.BaziClient-module__73_dsa__subSection {
  background: rgba(var(--color-bg-card), .3);
  border: 1px dashed var(--color-border);
  border-radius: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  animation: .4s ease-out BaziClient-module__73_dsa__fadeIn;
}

.BaziClient-module__73_dsa__subSectionTitle {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-text-dim);
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .8rem;
  font-weight: 800;
  display: flex;
}

.BaziClient-module__73_dsa__subSectionTitle:after {
  content: "";
  background: var(--color-border);
  flex: 1;
  height: 1px;
}

.BaziClient-module__73_dsa__liuNianGrid {
  grid-template-columns: repeat(10, 1fr);
  gap: .5rem;
  width: 100%;
  display: grid;
}

@media (max-width: 767px) {
  .BaziClient-module__73_dsa__liuNianGrid {
    gap: .25rem;
  }
}

.BaziClient-module__73_dsa__liuNianCard {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  cursor: pointer;
  border-radius: .5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: .75rem .25rem;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .BaziClient-module__73_dsa__liuNianCard {
    border-radius: .35rem;
    padding: .4rem .1rem;
  }
}

.BaziClient-module__73_dsa__liuNianCard:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #0000000d;
}

.BaziClient-module__73_dsa__liuNianActive {
  background: var(--color-primary-bg) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px var(--color-primary-glow) !important;
}

.BaziClient-module__73_dsa__liuNianAge {
  color: var(--color-text-dim);
  font-size: .7rem;
  font-weight: 700;
}

.BaziClient-module__73_dsa__liuNianGanZhi {
  gap: .25rem;
  margin: .25rem 0;
  font-family: serif;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
}

.BaziClient-module__73_dsa__liuNianShiShen {
  color: var(--color-primary);
  opacity: .85;
  font-size: .65rem;
  font-weight: 600;
}

.BaziClient-module__73_dsa__liuNianYear {
  color: var(--color-text-dim);
  font-size: .6rem;
}

@media (max-width: 767px) {
  .BaziClient-module__73_dsa__daYunShiShen, .BaziClient-module__73_dsa__liuNianShiShen {
    font-size: .55rem !important;
  }

  .BaziClient-module__73_dsa__daYunGanZhi, .BaziClient-module__73_dsa__liuNianGanZhi {
    margin: .15rem 0 !important;
    font-size: 1rem !important;
  }

  .BaziClient-module__73_dsa__daYunAge, .BaziClient-module__73_dsa__daYunYear, .BaziClient-module__73_dsa__liuNianAge, .BaziClient-module__73_dsa__liuNianYear {
    font-size: .45rem !important;
  }
}

.BaziClient-module__73_dsa__liuYueGrid {
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
  display: grid;
}

@media (max-width: 767px) {
  .BaziClient-module__73_dsa__liuYueGrid {
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
  }
}

.BaziClient-module__73_dsa__liuYueCard {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  flex-direction: column;
  align-items: center;
  padding: .75rem .5rem;
  transition: all .2s;
  display: flex;
}

.BaziClient-module__73_dsa__liuYueCard:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px #00000008;
}

.BaziClient-module__73_dsa__liuYueName {
  color: var(--color-text-dim);
  font-size: .7rem;
  font-weight: 800;
}

.BaziClient-module__73_dsa__liuYueGanZhi {
  gap: .15rem;
  margin: .15rem 0;
  font-family: serif;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
}

.BaziClient-module__73_dsa__liuYueShiShen {
  color: var(--color-text-dim);
  font-size: .6rem;
  font-weight: 600;
}

.BaziClient-module__73_dsa__liuYueActive {
  background: var(--color-primary-bg) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px var(--color-primary-glow) !important;
}

.BaziClient-module__73_dsa__chatResizer:hover:after {
  background: var(--color-amber);
}

@keyframes BaziClient-module__73_dsa__fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* [project]/src/components/AIChatRoom/AIChatDrawer.module.css [app-client] (css) */
.AIChatDrawer-module__ABCN4W__professionalToolbar {
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
  z-index: 20;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  display: flex;
  position: relative;
}

.AIChatDrawer-module__ABCN4W__toolbarLeft {
  flex: 1;
  min-width: 0;
}

.AIChatDrawer-module__ABCN4W__personaSelector {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  max-width: fit-content;
  padding: 4px 10px;
  transition: all .2s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__personaSelector:hover {
  border-color: var(--color-amber);
  background: var(--color-bg-tertiary);
}

.AIChatDrawer-module__ABCN4W__avatarWrapper {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.AIChatDrawer-module__ABCN4W__avatarImg {
  -o-object-fit: cover;
  object-fit: cover;
  border: 1.5px solid var(--color-amber-glow);
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.AIChatDrawer-module__ABCN4W__avatarPlaceholder {
  background: var(--color-bg-tertiary);
  width: 100%;
  height: 100%;
  color: var(--color-amber);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__emojiAvatar {
  background: color-mix(in srgb, var(--color-amber) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-amber) 25%, transparent);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 16px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__selectGroup {
  align-items: center;
  gap: 4px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__personaSelect {
  appearance: none;
  color: var(--color-text-primary);
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.AIChatDrawer-module__ABCN4W__chevron {
  color: var(--color-text-tertiary);
  opacity: .6;
}

.AIChatDrawer-module__ABCN4W__toolbarRight {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__modelSelectBox {
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-subtle);
  height: 28px;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  max-width: 170px;
  padding: 0 8px;
  transition: all .2s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__modelSelectBox:hover {
  border-color: var(--color-amber);
  background: color-mix(in srgb, var(--color-amber) 10%, var(--color-bg-tertiary));
}

.AIChatDrawer-module__ABCN4W__modelSelectLabel {
  letter-spacing: .06em;
  color: var(--color-amber);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.AIChatDrawer-module__ABCN4W__compactSelect {
  appearance: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  text-overflow: ellipsis;
  background: none;
  border: none;
  outline: none;
  min-width: 0;
  max-width: 108px;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__compactSelect:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.AIChatDrawer-module__ABCN4W__aiAssistantWrap {
  flex-shrink: 0;
  position: relative;
}

.AIChatDrawer-module__ABCN4W__aiAssistantBtn {
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-subtle);
  height: 28px;
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 800;
  transition: all .2s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__aiAssistantBtn:hover {
  border-color: var(--color-amber);
  background: color-mix(in srgb, var(--color-amber) 10%, var(--color-bg-tertiary));
  color: var(--color-amber);
}

.AIChatDrawer-module__ABCN4W__aiAssistantBtn:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.AIChatDrawer-module__ABCN4W__aiAssistantBtn svg:first-child {
  color: var(--color-amber);
}

.AIChatDrawer-module__ABCN4W__aiMenuChevron {
  color: var(--color-text-tertiary);
  opacity: .5;
  flex-shrink: 0;
  transition: transform .2s;
}

.AIChatDrawer-module__ABCN4W__aiMenuChevronOpen {
  transform: rotate(180deg);
}

.AIChatDrawer-module__ABCN4W__aiMenuDropdown {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  z-index: 2147483647;
  border-radius: 8px;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  max-width: 280px;
  padding: 4px;
  display: flex;
  position: fixed;
  box-shadow: 0 8px 24px #00000040;
}

.AIChatDrawer-module__ABCN4W__aiMenuItem {
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 8px;
  transition: background .15s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__aiMenuItem:hover {
  background: var(--color-bg-tertiary);
}

.AIChatDrawer-module__ABCN4W__aiMenuItemActive {
  background: color-mix(in srgb, var(--color-amber) 8%, var(--color-bg-card));
}

.AIChatDrawer-module__ABCN4W__aiMenuItemIcon {
  background: var(--color-bg-secondary);
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  display: flex;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__aiMenuItemIcon img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.AIChatDrawer-module__ABCN4W__aiMenuEmoji {
  font-size: 16px;
  line-height: 1;
}

.AIChatDrawer-module__ABCN4W__aiMenuItemName {
  color: var(--color-text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__aiMenuItemActive .AIChatDrawer-module__ABCN4W__aiMenuItemName {
  color: var(--color-amber);
}

.AIChatDrawer-module__ABCN4W__aiMenuItemLabel {
  color: var(--color-text-tertiary);
  opacity: .5;
  background: var(--color-bg-secondary);
  border-radius: 3px;
  flex-shrink: 0;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 600;
}

.AIChatDrawer-module__ABCN4W__aiMenuItemDisabled {
  opacity: .6;
  cursor: default;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__actionGroup {
  align-items: center;
  gap: 2px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__iconBtn {
  width: 28px;
  height: 28px;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  transition: all .2s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__iconBtn:hover:not(:disabled) {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.AIChatDrawer-module__ABCN4W__toast {
  z-index: 2000;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #0000000d;
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  animation: .3s ease-out AIChatDrawer-module__ABCN4W__slideInDown;
  display: flex;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px #00000026;
}

@keyframes AIChatDrawer-module__ABCN4W__slideInDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

.AIChatDrawer-module__ABCN4W__toast.AIChatDrawer-module__ABCN4W__info {
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
}

.AIChatDrawer-module__ABCN4W__toast.AIChatDrawer-module__ABCN4W__success {
  color: #27ae60;
  border-left: 3px solid #27ae60;
}

.AIChatDrawer-module__ABCN4W__toast.AIChatDrawer-module__ABCN4W__error {
  color: #e74c3c;
  border-left: 3px solid #e74c3c;
}

.AIChatDrawer-module__ABCN4W__messageList {
  background: var(--color-bg-primary);
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-height: 0;
  padding: 12px 10px;
  display: flex;
  overflow-y: auto;
}

.AIChatDrawer-module__ABCN4W__messageItem {
  gap: 8px;
  width: 100%;
  min-width: 0;
  animation: .3s ease-out AIChatDrawer-module__ABCN4W__slideInLeft;
  display: flex;
}

@keyframes AIChatDrawer-module__ABCN4W__slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.AIChatDrawer-module__ABCN4W__aiMessage {
  align-self: flex-start;
}

.AIChatDrawer-module__ABCN4W__userMessage {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.AIChatDrawer-module__ABCN4W__assistantAvatar {
  background: var(--color-bg-tertiary);
  width: 28px;
  height: 28px;
  color: var(--color-amber);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__assistantAvatar img {
  -o-object-fit: cover;
  object-fit: cover;
  border: 1.5px solid var(--color-amber-glow);
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.AIChatDrawer-module__ABCN4W__messageBubble {
  overflow-wrap: break-word;
  word-break: break-word;
  background-color: #f8f4ff;
  border: 1px solid #8e44ad26;
  border-radius: 12px;
  width: fit-content;
  min-width: 120px;
  max-width: calc(100% - 44px);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  box-shadow: 0 2px 12px #0000000a;
  color: #2c3e50 !important;
}

.AIChatDrawer-module__ABCN4W__userMessage .AIChatDrawer-module__ABCN4W__messageBubble {
  background-color: #fff9e6;
  border: 1px solid #d4af3733;
  border-radius: 12px 12px 4px;
  color: #5d4037 !important;
}

.AIChatDrawer-module__ABCN4W__userMessage .AIChatDrawer-module__ABCN4W__messageBubble p {
  margin-bottom: 0;
}

.AIChatDrawer-module__ABCN4W__aiMessage .AIChatDrawer-module__ABCN4W__messageBubble {
  border-radius: 12px 12px 12px 4px;
}

.AIChatDrawer-module__ABCN4W__bubbleBranding {
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #8e44ad4d;
  margin-bottom: 15px;
  padding-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  display: none;
  color: #8e44ad !important;
}

.AIChatDrawer-module__ABCN4W__isCapturing .AIChatDrawer-module__ABCN4W__bubbleBranding {
  display: block;
}

.AIChatDrawer-module__ABCN4W__bubbleActions {
  z-index: 10;
  border-top: 1px dashed #0000001a;
  gap: 12px;
  margin-top: 15px;
  padding-top: 10px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__iconActionBtn {
  background: var(--color-primary);
  cursor: pointer;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
  display: flex;
  box-shadow: 0 2px 6px #8e44ad4d;
  color: #fff !important;
}

.AIChatDrawer-module__ABCN4W__iconActionBtn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #8e44ad66;
}

.AIChatDrawer-module__ABCN4W__isSpeaking {
  animation: 1.5s infinite AIChatDrawer-module__ABCN4W__voicePulse;
  background: #c1121f !important;
  box-shadow: 0 4px 15px #c1121f66 !important;
}

@keyframes AIChatDrawer-module__ABCN4W__voicePulse {
  0% {
    opacity: 1;
    transform: scale(1)translateY(-2px);
  }

  50% {
    opacity: .7;
    transform: scale(.95)translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1)translateY(-2px);
  }
}

.AIChatDrawer-module__ABCN4W__isCapturing {
  color: #000 !important;
  box-shadow: none !important;
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 40px !important;
}

.AIChatDrawer-module__ABCN4W__isCapturing * {
  color: #000 !important;
}

.AIChatDrawer-module__ABCN4W__isCapturing .AIChatDrawer-module__ABCN4W__tagAuspicious, .AIChatDrawer-module__ABCN4W__isCapturing .AIChatDrawer-module__ABCN4W__tagInauspicious, .AIChatDrawer-module__ABCN4W__isCapturing .AIChatDrawer-module__ABCN4W__tagShishen, .AIChatDrawer-module__ABCN4W__isCapturing .AIChatDrawer-module__ABCN4W__metaphysicalTag {
  background: none !important;
  border: 1px solid #ccc !important;
  padding: 2px 6px !important;
}

.AIChatDrawer-module__ABCN4W__isCapturing .AIChatDrawer-module__ABCN4W__bubbleActions {
  display: none !important;
}

.AIChatDrawer-module__ABCN4W__messageBubble h1, .AIChatDrawer-module__ABCN4W__messageBubble h2, .AIChatDrawer-module__ABCN4W__messageBubble h3 {
  color: #1a1a1a;
  margin: 1.2em 0 .6em;
  font-weight: 600;
}

.AIChatDrawer-module__ABCN4W__messageBubble h2 {
  border-bottom: 2px solid #8e44ad1a;
  padding-bottom: 2px;
  font-size: 1.15rem;
  display: inline-block;
}

.AIChatDrawer-module__ABCN4W__messageBubble p {
  margin-bottom: .8em;
}

.AIChatDrawer-module__ABCN4W__messageBubble table {
  border-collapse: collapse;
  table-layout: auto;
  border: 1px solid #00000014;
  width: 100%;
  margin: 1em 0;
  font-size: 13px;
}

.AIChatDrawer-module__ABCN4W__messageBubble th, .AIChatDrawer-module__ABCN4W__messageBubble td {
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  padding: 6px 8px;
}

.AIChatDrawer-module__ABCN4W__messageBubble th {
  text-align: left;
  background: #8e44ad0d;
  padding: 8px;
}

.AIChatDrawer-module__ABCN4W__messageBubble td {
  border-top: 1px solid #0000000d;
  padding: 8px;
}

.AIChatDrawer-module__ABCN4W__messageBubble .AIChatDrawer-module__ABCN4W__katex-display {
  margin: .6em 0;
  padding: 8px 4px;
  overflow: auto hidden;
}

.AIChatDrawer-module__ABCN4W__messageBubble .AIChatDrawer-module__ABCN4W__katex-display > .AIChatDrawer-module__ABCN4W__katex {
  padding: 0;
}

.AIChatDrawer-module__ABCN4W__messageBubble .AIChatDrawer-module__ABCN4W__katex {
  font-size: .95em;
}

.AIChatDrawer-module__ABCN4W__messageBubble strong {
  color: #1a1a1a;
  font-weight: 700;
}

.AIChatDrawer-module__ABCN4W__tagAuspicious {
  color: #fff;
  text-shadow: 0 1px 2px #0003;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 4px;
  margin: 0 2px;
  padding: 2px 8px;
  font-weight: 800;
  animation: 2s ease-in-out infinite AIChatDrawer-module__ABCN4W__pulseGold;
  display: inline-block;
  box-shadow: 0 2px 4px #e74c3c33;
}

.AIChatDrawer-module__ABCN4W__tagInauspicious {
  color: #ecf0f1;
  background: #34495e;
  border-radius: 4px;
  margin: 0 2px;
  padding: 2px 8px;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 2px 4px #0000001a;
}

@keyframes AIChatDrawer-module__ABCN4W__pulseGold {
  0% {
    box-shadow: 0 0 #e74c3c66;
  }

  70% {
    box-shadow: 0 0 0 6px #e74c3c00;
  }

  100% {
    box-shadow: 0 0 #e74c3c00;
  }
}

.AIChatDrawer-module__ABCN4W__metaphysicalTag {
  border: 1px solid #0000000d;
  border-radius: 4px;
  margin: 0 2px;
  padding: 1px 6px;
  font-size: .95em;
  font-weight: 700;
  display: inline-block;
}

.AIChatDrawer-module__ABCN4W__tagShishen {
  color: #fff;
  background: linear-gradient(135deg, #6c5ce7 0%, #5f50a8 100%);
  border-radius: 4px;
  margin: 0 2px;
  padding: 2px 8px;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 2px 4px #6c5ce740;
}

.AIChatDrawer-module__ABCN4W__professionalQuote {
  background: rgba(var(--color-primary-rgb), .03);
  border-radius: 0 12px 12px 0;
  gap: 15px;
  margin: 1.5em 0;
  padding: 12px 20px;
  display: flex;
  position: relative;
}

.AIChatDrawer-module__ABCN4W__quoteBar {
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
  width: 4px;
}

.AIChatDrawer-module__ABCN4W__tableWrapper {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin: 1.5em 0;
  overflow-x: auto;
}

.AIChatDrawer-module__ABCN4W__proTable {
  border-collapse: collapse;
  background: #fff;
  width: 100%;
}

.AIChatDrawer-module__ABCN4W__proTable th {
  text-align: left;
  color: #444;
  border-bottom: 2px solid var(--color-border);
  background: #f8f9fa;
  padding: 12px;
  font-weight: 600;
}

.AIChatDrawer-module__ABCN4W__proTable td {
  color: #333;
  border-bottom: 1px solid #f1f1f1;
  padding: 12px;
}

.AIChatDrawer-module__ABCN4W__inputArea {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
  padding: 12px 16px;
}

.AIChatDrawer-module__ABCN4W__suggestions {
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 2px;
  display: flex;
  overflow-x: auto;
}

.AIChatDrawer-module__ABCN4W__suggestions::-webkit-scrollbar {
  display: none;
}

.AIChatDrawer-module__ABCN4W__suggestionChip {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  white-space: nowrap;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  transition: all .2s;
}

.AIChatDrawer-module__ABCN4W__suggestionChip:hover:not(:disabled) {
  border-color: var(--color-amber);
  color: var(--color-amber);
  background: var(--color-amber-glow);
}

.AIChatDrawer-module__ABCN4W__inputWrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  position: relative;
  box-shadow: inset 0 1px 2px #0000000d;
}

.AIChatDrawer-module__ABCN4W__inputMain {
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__inputWrapper:focus-within {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 2px var(--color-amber-glow);
}

.AIChatDrawer-module__ABCN4W__input {
  color: var(--color-text-primary);
  resize: none;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  min-height: 20px;
  max-height: 150px;
  padding: 2px 0;
  font-size: 14px;
  line-height: 1.5;
}

.AIChatDrawer-module__ABCN4W__sendBtn {
  background: var(--color-amber);
  color: #000;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 1px;
  transition: all .2s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__sendBtn:hover:not(:disabled) {
  opacity: .9;
  transform: scale(1.05);
}

.AIChatDrawer-module__ABCN4W__attachmentGallery {
  scrollbar-width: none;
  gap: 10px;
  padding: 4px 0 12px;
  display: flex;
  overflow-x: auto;
}

.AIChatDrawer-module__ABCN4W__attachmentGallery::-webkit-scrollbar {
  display: none;
}

.AIChatDrawer-module__ABCN4W__attachmentItem {
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-tertiary);
  width: 60px;
  height: 60px;
  animation: AIChatDrawer-module__ABCN4W__slideUp .3s var(--ease-out);
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__attachmentPreview {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.AIChatDrawer-module__ABCN4W__fileIcon {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 4px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__fileExt {
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
}

.AIChatDrawer-module__ABCN4W__attachmentRemove {
  color: #fff;
  cursor: pointer;
  z-index: 2;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0009;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 2px;
  right: 2px;
}

.AIChatDrawer-module__ABCN4W__attachmentRemove:hover {
  background: var(--color-red);
}

.AIChatDrawer-module__ABCN4W__inputActions {
  align-items: center;
  gap: 4px;
  margin-right: 4px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__attachBtn {
  width: 30px;
  height: 30px;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  transition: all .2s;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__attachBtn:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-amber);
}

@keyframes AIChatDrawer-module__ABCN4W__slideUp {
  from {
    opacity: 0;
    transform: translateY(10px)scale(.9);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.AIChatDrawer-module__ABCN4W__messageAttachments {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__msgAttachmentItem {
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-tertiary);
  border-radius: 6px;
  max-width: 140px;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__msgAttachmentImg {
  cursor: zoom-in;
  width: 100%;
  height: auto;
  transition: opacity .2s;
  display: block;
}

.AIChatDrawer-module__ABCN4W__msgAttachmentImg:hover {
  opacity: .9;
}

.AIChatDrawer-module__ABCN4W__msgAttachmentFile {
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 12px;
  text-decoration: none;
  display: flex;
}

.AIChatDrawer-module__ABCN4W__msgAttachmentFile:hover {
  color: var(--color-amber);
}

.AIChatDrawer-module__ABCN4W__msgAttachmentFile span {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 80px;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__drawer, .AIChatDrawer-module__ABCN4W__embeddedPanel {
  background: var(--color-bg-card);
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.AIChatDrawer-module__ABCN4W__drawer {
  width: var(--drawer-base-width, 480px);
  z-index: 1000;
  min-width: 360px;
  max-width: 85vw;
  height: 100vh;
  transition: width .4s var(--ease-out);
  position: fixed;
  top: 0;
  right: 0;
  box-shadow: -10px 0 30px #0000004d;
}

.AIChatDrawer-module__ABCN4W__drawer:not(.AIChatDrawer-module__ABCN4W__drawerOpen) {
  right: calc(-1 * var(--drawer-base-width, 480px));
}

.AIChatDrawer-module__ABCN4W__drawer.AIChatDrawer-module__ABCN4W__drawerOpen {
  width: calc(var(--drawer-base-width, 480px) + var(--left-panel-saved, 0px));
}

.AIChatDrawer-module__ABCN4W__fab {
  background: var(--color-amber);
  color: #000;
  width: 50px;
  height: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
}

.AIChatDrawer-module__ABCN4W__loadingSpinner {
  color: var(--primary);
  margin-right: 8px;
  animation: 2s linear infinite AIChatDrawer-module__ABCN4W__spin;
  display: inline-block;
}

@keyframes AIChatDrawer-module__ABCN4W__spin {
  100% {
    transform: rotate(360deg);
  }
}

.AIChatDrawer-module__ABCN4W__thinkingCard {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  border-radius: 12px;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 12px 20px;
  font-size: 13px;
  animation: 2s ease-in-out infinite AIChatDrawer-module__ABCN4W__pulse;
  display: flex;
}

@keyframes AIChatDrawer-module__ABCN4W__pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .6;
  }
}

.AIChatDrawer-module__ABCN4W__resizer {
  cursor: col-resize;
  z-index: 30;
  background: none;
  width: 4px;
  height: 100%;
  transition: background .2s;
  position: absolute;
  top: 0;
  left: 0;
}

.AIChatDrawer-module__ABCN4W__resizer:hover {
  background: var(--color-amber);
}

.AIChatDrawer-module__ABCN4W__isResizing {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.AIChatDrawer-module__ABCN4W__isResizing .AIChatDrawer-module__ABCN4W__resizer {
  background: var(--color-amber);
}

.AIChatDrawer-module__ABCN4W__modelIcon {
  color: var(--color-text-tertiary);
}

.AIChatDrawer-module__ABCN4W__sseStreamingCursor {
  background: var(--color-amber);
  vertical-align: text-bottom;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  animation: .8s step-end infinite AIChatDrawer-module__ABCN4W__blink;
  display: inline-block;
}

@keyframes AIChatDrawer-module__ABCN4W__blink {
  50% {
    opacity: 0;
  }
}

/*# sourceMappingURL=src_1mfonm9._.css.map*/