@font-face {
  font-family: "Pretendard Fallback";
  src: local("Apple SD Gothic Neo"), local("Malgun Gothic"), local("system-ui");
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg: #0a0d14;
  --bg-deep: #07080d;
  --panel: #11151f;
  --panel-2: #1a2030;
  --line: #2a3142;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --muted: #9aa4b8;
  --dim: #5b6478;
  --orange: #ff8c1a;
  --gold: #ffd23f;
  --blue: #3b82f6;
  --green: #7bd3b5;
  --danger: #ff5c7a;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  padding: 14px;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", "Pretendard", "Pretendard Fallback", system-ui, sans-serif;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.hanana-fans-header-mounted body {
  padding-top: calc(var(--hanana-fans-header-height, 44px) + 14px);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(255, 140, 26, 0.1), transparent 34%),
    linear-gradient(240deg, rgba(59, 130, 246, 0.09), transparent 36%),
    var(--bg);
}

body::after {
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    repeating-linear-gradient(115deg, transparent 0 24px, rgba(255, 140, 26, 0.025) 24px 25px);
  background-size: 42px 42px, 42px 42px, auto;
}

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

.app-shell {
  height: calc(100vh - 28px);
  min-height: 0;
  overflow: hidden;
}

html.hanana-fans-header-mounted .app-shell {
  height: calc(100vh - var(--hanana-fans-header-height, 44px) - 28px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.search-panel__brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(245, 247, 250, 0.82);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.search-panel__brand img,
.results-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 10px 22px rgba(255, 140, 26, 0.22));
}

.search-panel {
  position: relative;
  isolation: isolate;
  width: min(1040px, 100%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
  padding: clamp(18px, 4vw, 56px);
}

.search-panel::before {
  content: "VOD CHAT";
  position: absolute;
  right: clamp(-8px, 2vw, 26px);
  bottom: clamp(10px, 5vw, 72px);
  z-index: -1;
  color: transparent;
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: clamp(70px, 16vw, 210px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.8;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  text-shadow: 0 0 64px rgba(255, 140, 26, 0.08);
}

.search-panel h1 {
  width: min(820px, 100%);
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, #fff5c2 0%, var(--gold) 34%, #c98a1a 66%, #fff5c2 86%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 16px 34px rgba(255, 140, 26, 0.24));
  font-family: "Black Han Sans", "Pretendard", system-ui, sans-serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
}

.search-panel__lead {
  width: min(680px, 100%);
  margin: 18px 0 30px;
  color: rgba(245, 247, 250, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.58;
  word-break: keep-all;
}

.search-panel__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
  width: min(860px, 100%);
  padding: 10px;
  border: 1px solid rgba(255, 140, 26, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(17, 21, 31, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), 0 0 42px rgba(255, 140, 26, 0.08);
  backdrop-filter: blur(14px) saturate(1.1);
}

.search-panel__form .form-control {
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.82);
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  outline: none;
  padding: 0 18px;
}

.search-panel__form .form-control::placeholder {
  color: var(--dim);
}

.search-panel__form .form-control:focus {
  border-color: rgba(255, 140, 26, 0.72);
  background: rgba(7, 8, 13, 0.92);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(255, 140, 26, 0.16);
}

.btn.btn-primary {
  min-height: 58px;
  border: 1px solid rgba(255, 140, 26, 0.58);
  border-radius: 6px;
  background: var(--orange);
  color: #080b12;
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: var(--orange);
  border-color: var(--gold);
  color: #080b12;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn.btn-primary:disabled {
  opacity: 0.62;
  transform: none;
}

.search-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.search-panel__meta span,
.search-status,
.search-error {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(17, 21, 31, 0.72);
  color: var(--muted);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0 12px;
}

.search-status {
  gap: 10px;
  width: fit-content;
  margin-top: 16px;
  color: var(--gold);
  letter-spacing: 0;
}

.search-error {
  width: min(860px, 100%);
  margin-top: 14px;
  border-color: rgba(255, 92, 122, 0.42);
  color: #ffb4c2;
  letter-spacing: 0;
}

.spinner-border {
  width: 18px;
  height: 18px;
  border-width: 2px;
  color: var(--orange);
}

.results-view {
  display: none;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.app-shell.is-results .search-panel {
  display: none;
}

.app-shell.is-results .results-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.results-topbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 140, 26, 0.1), transparent 48%),
    rgba(17, 21, 31, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.results-topbar > div:not(.results-actions) {
  min-width: 0;
  flex: 1 1 auto;
}

.results-topbar .eyebrow {
  display: none;
}

.results-topbar h2,
.app-card__header h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.22;
  word-break: keep-all;
}

.results-topbar h2 {
  max-width: min(70vw, 920px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.72);
  color: var(--text);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 11px;
  white-space: nowrap;
}

.secondary-button:hover,
.secondary-button:focus {
  border-color: rgba(255, 140, 26, 0.72);
  color: var(--gold);
}

.player-toggle {
  flex: 0 0 auto;
}

.vod-workspace {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(300px, 0.74fr) minmax(540px, 1.26fr);
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(26, 32, 48, 0.96), rgba(9, 12, 18, 0.96));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.22);
}

.vod-player-panel {
  align-self: start;
}

.vod-player-panel.is-collapsed {
  align-self: stretch;
}

.vod-player-panel.is-collapsed .app-card__body {
  display: none;
}

.app-card__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.app-card__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px;
}

.vod-player-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.vod-player-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.vod-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chat-panel__header {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(250px, 0.72fr);
  align-items: center;
}

.chat-panel__title {
  min-width: 86px;
}

.chat-search {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto auto;
  gap: 6px;
  align-items: center;
}

.chat-search__input {
  width: 100%;
  height: 30px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.72);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  outline: none;
  padding: 0 9px;
}

.chat-search__input::placeholder {
  color: var(--dim);
}

.chat-search__input:focus {
  border-color: rgba(255, 140, 26, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 140, 26, 0.14);
}

.chat-search__button,
.chat-search__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.72);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  padding: 0 9px;
  white-space: nowrap;
}

.chat-search__button {
  cursor: pointer;
}

.chat-search__button:hover:not(:disabled),
.chat-search__button:focus:not(:disabled) {
  border-color: rgba(255, 140, 26, 0.72);
  color: var(--gold);
}

.chat-search__button:disabled {
  cursor: default;
  opacity: 0.45;
}

.chat-search__count {
  min-width: 64px;
  color: var(--muted);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
}

.chat-settings {
  position: relative;
}

.chat-settings summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.72);
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  list-style: none;
  padding: 0 10px;
  white-space: nowrap;
}

.chat-settings summary::-webkit-details-marker {
  display: none;
}

.chat-settings[open] summary {
  border-color: rgba(255, 140, 26, 0.72);
  color: var(--gold);
}

.chat-settings__option {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 11px;
}

.chat-settings__option input {
  accent-color: var(--orange);
}

.chat-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(68px, 1fr));
  gap: 6px;
  min-width: min(200px, 36%);
}

.chat-summary div {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.48);
  padding: 5px 7px;
}

.chat-summary span {
  display: block;
  color: var(--dim);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chat-summary strong {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1;
}

.chat-panel__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.chat-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.38);
}

.chat-progress {
  display: flex;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: min(360px, calc(100% - 28px));
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 140, 26, 0.34);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 140, 26, 0.12), rgba(59, 130, 246, 0.06)),
    rgba(7, 8, 13, 0.86);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  padding: 9px 10px;
}

.chat-progress__spinner {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 140, 26, 0.18);
  border-top-color: var(--orange);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

.chat-progress strong,
.chat-progress span {
  display: block;
}

.chat-progress strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.chat-progress span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: rgba(255, 140, 26, 0.07);
  margin: 0;
  color: var(--text);
  font-size: 12.5px;
  table-layout: fixed;
  vertical-align: middle;
  min-width: 900px;
}

.app-shell:not(.show-identity) .identity-col {
  display: none;
}

.app-shell:not(.show-identity) .table {
  min-width: 740px;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 140, 26, 0.24);
  background: rgba(12, 15, 23, 0.98);
  color: var(--muted);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.table > :not(caption) > * > * {
  padding: 5px 8px;
}

.table tbody td {
  height: 36px;
  border-color: rgba(255, 255, 255, 0.065);
  color: rgba(245, 247, 250, 0.88);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-message-content {
  min-width: 0;
}

.table tbody tr:hover td {
  background: rgba(255, 140, 26, 0.055);
}

.chat-row {
  height: 36px;
}

.chat-row.is-search-hit td {
  background: rgba(255, 210, 63, 0.13) !important;
}

.chat-row.is-search-hit td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}

.virtual-spacer,
.virtual-spacer:hover {
  height: auto;
}

.virtual-spacer td,
.virtual-spacer:hover td {
  border: 0 !important;
  background: transparent !important;
  font-size: 0;
  line-height: 0;
  padding: 0 !important;
}

.play-time-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: none;
}

.play-time-button:hover,
.play-time-button:focus {
  color: var(--orange);
}

.chat-emoticon {
  height: 28px;
  max-width: 80px;
  object-fit: contain;
  vertical-align: middle;
}

.chat-emoticon-signature {
  height: 20px;
  width: 20px;
}

.text-mode {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  color: rgba(245, 247, 250, 0.86);
  font-size: 13px;
  line-height: 1.7;
}

.load-state,
.error-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.84);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  padding: 10px 12px;
}

.load-state {
  display: none !important;
}

.error-state {
  border-color: rgba(255, 92, 122, 0.42);
  color: #ffb4c2;
}

.chat-table-wrap::-webkit-scrollbar,
.app-card__body::-webkit-scrollbar,
.search-panel::-webkit-scrollbar,
.text-mode::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.chat-table-wrap::-webkit-scrollbar-track,
.app-card__body::-webkit-scrollbar-track,
.search-panel::-webkit-scrollbar-track,
.text-mode::-webkit-scrollbar-track {
  background: rgba(7, 8, 13, 0.45);
}

.chat-table-wrap::-webkit-scrollbar-thumb,
.app-card__body::-webkit-scrollbar-thumb,
.search-panel::-webkit-scrollbar-thumb,
.text-mode::-webkit-scrollbar-thumb {
  border: 2px solid rgba(7, 8, 13, 0.45);
  border-radius: 8px;
  background: rgba(154, 164, 184, 0.34);
}

@media (max-width: 760px) {
  body {
    padding: 10px;
  }

  html.hanana-fans-header-mounted body {
    padding-top: calc(var(--hanana-fans-header-height, 44px) + 10px);
  }

  .app-shell {
    height: calc(100vh - 20px);
  }

  html.hanana-fans-header-mounted .app-shell {
    height: calc(100vh - var(--hanana-fans-header-height, 44px) - 20px);
  }

  .search-panel {
    padding: 16px 0;
  }

  .search-panel__form {
    grid-template-columns: 1fr;
  }

  .results-topbar {
    align-items: center;
    flex-direction: row;
  }

  .results-actions {
    width: auto;
  }

  .results-topbar h2 {
    max-width: 100%;
    white-space: normal;
  }

  .vod-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
  }

  .chat-panel__header {
    grid-template-columns: 1fr;
  }

  .chat-summary {
    width: 100%;
    min-width: 0;
  }

  .chat-search {
    grid-template-columns: minmax(130px, 1fr) auto auto auto;
  }

  .chat-settings__option {
    right: 0;
  }

  .vod-player-panel.is-collapsed .app-card__header {
    border-bottom: 0;
  }

  .chat-panel__body {
    padding: 0;
  }

  .chat-table-wrap {
    border-radius: 0 0 6px 6px;
    overflow-x: hidden;
  }

  .table,
  .app-shell:not(.show-identity) .table {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 12.5px;
  }

  .table tbody {
    display: block;
    width: 100%;
  }

  .table thead {
    display: none;
  }

  .table > :not(caption) > * > * {
    padding: 6px 8px;
  }

  .table tbody td {
    height: 58px;
    border: 0;
    line-height: 1.38;
    white-space: normal;
    vertical-align: top;
  }

  .chat-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    width: 100%;
    height: 58px;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .chat-row td {
    display: block;
  }

  .app-shell.show-identity .table tbody td {
    height: 70px;
  }

  .app-shell.show-identity .chat-row {
    height: 70px;
  }

  .table tbody td:first-child,
  .app-shell.show-identity .table tbody td:nth-child(3) {
    display: none;
  }

  .virtual-spacer td,
  .virtual-spacer:hover td {
    display: table-cell !important;
  }

  .table tbody td:nth-child(2) {
    width: auto;
  }

  .chat-row.is-search-hit td:nth-child(2) {
    box-shadow: inset 3px 0 0 var(--gold);
  }

  .play-time-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 28px;
    border: 1px solid rgba(255, 210, 63, 0.28);
    border-radius: 6px;
    background: rgba(255, 210, 63, 0.08);
    font-size: 11px;
    line-height: 1;
  }

  .chat-message-cell {
    width: 100%;
    min-width: 0;
    padding-left: 2px !important;
  }

  .app-shell.show-identity .chat-message-cell::before {
    content: attr(data-nickname);
    display: block;
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .chat-message-content {
    display: -webkit-box;
    max-height: 38px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .app-shell.show-identity .chat-message-content {
    max-height: 34px;
  }

  .chat-emoticon {
    height: 24px;
    max-width: 72px;
  }
}

@media (max-width: 560px) {
  .results-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-actions {
    width: 100%;
  }

  .secondary-button {
    flex: 1;
  }

  .chat-settings {
    flex: 1;
  }

  .chat-settings summary {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .search-panel h1 {
    font-size: 50px;
  }

  .search-panel__lead {
    font-size: 16px;
  }

  .table {
    font-size: 12px;
  }
}
