/* Screen: home. */

.hello {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hello svg.av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--surface);
}

.chev {
  transform: scaleX(-1);
  color: var(--ink-soft);
  margin-inline-start: auto;
}

.tip {
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 20px;
  background: var(--surface);
  border: none;
}

.tip svg {
  margin-top: 4px;
  color: #b57a1e;
}

:root:not([data-theme="dark"]) .tip svg {
  color: #b57a1e;
}

:root[data-theme="dark"] .tip svg {
  color: var(--accent);
}

.hero2 {
  position: relative;
  border-radius: 30px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 20px 18px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 18px 30px -18px rgba(24, 33, 74, 0.7);
}

.hero2::before {
  content: "";
  position: absolute;
  left: -50px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero2::after {
  content: "";
  position: absolute;
  left: 70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero2 > * {
  position: relative;
  z-index: 1;
}

.hero2 .hrow {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.hero2 .hrow > div {
  flex: 1;
  padding-bottom: 6px;
}

.hero2 h2 {
  font-size: 25px;
  line-height: 1.3;
  color: inherit;
}

.hero2 p {
  font-size: 13.5px;
  opacity: 0.85;
  margin-top: 6px;
  line-height: 1.6;
}

.hero2 .fig {
  width: 92px;
  height: 112px;
  flex-shrink: 0;
  margin-bottom: -14px;
}

.ask-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: 6px;
  font-size: 15px;
  text-align: right;
  min-height: 54px;
}

.ask-pill .am {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #18214a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ask-pill .as {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.q {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 2px 0;
}

.q .qi {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.q.hot .qi {
  background: var(--accent);
  color: #18214a;
}

.sect {
  font-size: 18px;
  margin-top: 4px;
}

.hscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 2px 18px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.hscroll::-webkit-scrollbar {
  display: none;
}

.tcard {
  flex: 0 0 136px;
  scroll-snap-align: start;
  border: none;
  border-radius: 24px;
  background: var(--surface);
  padding: 14px 12px 16px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.tcard small {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.tcard .ti {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--ink);
}

.tcard .ti svg.ill {
  width: 32px;
  height: 32px;
}

.lawmini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 24px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.lawmini svg.av {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-soft);
  flex-shrink: 0;
}

.lawmini b {
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

.lawmini small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.teaser {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  text-align: right;
  background: var(--primary-soft);
  border-radius: 24px;
  padding: 14px 16px;
  color: var(--ink);
}

.teaser .tag {
  display: inline-block;
  font-size: 11.5px;
  border-radius: 999px;
  padding: 1px 10px;
  background: var(--surface);
  margin-bottom: 6px;
}

.teaser b {
  display: block;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
}

.teaser small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
}
