/* Ask AIS Insights - hero + answer overlay */

:root {
  --ask-navy-1: #1a2a4a;
  --ask-navy-2: #2d4a7a;
  --ask-navy-deep: #0e1a30;
  --ask-green: #28a745;
  --ask-cyan: #4ec8f4;
}

/* ---------- HERO ---------- */

.ask-hero-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 40px 0 40px;
}

.ask-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ask-navy-1) 0%, var(--ask-navy-2) 100%);
  color: white;
  padding: 34px 40px 30px 40px;
  box-shadow: 0 10px 30px rgba(26, 42, 74, 0.28);
}

.ask-hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 200, 244, 0.35) 0%, rgba(78, 200, 244, 0) 65%);
  pointer-events: none;
  animation: ask-drift 12s ease-in-out infinite alternate;
}

@keyframes ask-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-40px, 30px, 0) scale(1.12); }
}

.ask-hero-content {
  position: relative;
  z-index: 1;
}

.ask-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 14px;
}

.ask-hero-title {
  margin: 0 0 8px 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.ask-hero-sub {
  margin: 0 0 22px 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
  max-width: 760px;
}

.ask-hero-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.ask-hero-field {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
}

.ask-hero-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 42, 74, 0.45);
  font-size: 16px;
  pointer-events: none;
}

.ask-hero-input {
  width: 100%;
  padding: 18px 20px 18px 46px;
  font-family: inherit;
  font-size: 17px;
  color: #1a2a4a;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid transparent;
  border-radius: 10px;
  outline: none;
  transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.ask-hero-input::placeholder { color: #8a97a8; }

.ask-hero-input:focus {
  background: #fff;
  border-color: var(--ask-cyan);
  box-shadow: 0 0 0 4px rgba(78, 200, 244, 0.28), 0 6px 22px rgba(0, 0, 0, 0.22);
}

.ask-hero-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  min-height: 58px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--ask-green);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.35);
}

.ask-hero-btn:hover {
  background: #22903c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.45);
}

.ask-hero-btn:active { transform: translateY(0); }

.ask-hero-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ask-hero-chips-label {
  font-size: 13px;
  opacity: 0.7;
  margin-right: 2px;
}

.ask-chip {
  font-family: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 7px 15px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.ask-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* ---------- OVERLAY ---------- */

body.ask-noscroll { overflow: hidden; }

.ask-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 18, 32, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ask-overlay.ask-open { opacity: 1; }

.ask-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1240px;
  height: 100%;
  max-height: 100%;
  background: #fbfcfd;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ask-overlay.ask-open .ask-panel { transform: none; }

.ask-head {
  position: relative;
  background: linear-gradient(135deg, var(--ask-navy-deep) 0%, var(--ask-navy-2) 100%);
  color: white;
  padding: 24px 60px 22px 32px;
  flex: 0 0 auto;
}

.ask-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
}

.ask-question {
  margin: 0;
  font-size: 23px;
  line-height: 1.32;
  font-weight: 600;
}

.ask-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.ask-close:hover { background: rgba(255, 255, 255, 0.22); }

.ask-body {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* --- trace column --- */

.ask-trace {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f2f5f8;
  border-right: 1px solid #e2e8ee;
}

.ask-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7b8794;
  padding: 18px 22px 10px 22px;
  flex: 0 0 auto;
}

.ask-steps {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 18px 22px 18px;
}

.ask-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  margin-bottom: 8px;
  background: white;
  border: 1px solid #e4eaf0;
  border-left: 3px solid var(--ask-cyan);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: ask-step-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: border-left-color 0.4s, background 0.4s;
}

@keyframes ask-step-in {
  to { opacity: 1; transform: none; }
}

.ask-step--done {
  border-left-color: #cfd8e0;
  background: #fafbfc;
}

.ask-step-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 79, 128, 0.09);
  color: #004f80;
  font-size: 12px;
}

.ask-step--done .ask-step-icon {
  background: rgba(40, 167, 69, 0.12);
  color: var(--ask-green);
}

.ask-step-text { min-width: 0; }

.ask-step-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #2b3a4a;
  line-height: 1.35;
  word-break: break-word;
}

.ask-step-detail {
  font-size: 12px;
  color: #7b8794;
  margin-top: 3px;
  line-height: 1.4;
  word-break: break-word;
}

.ask-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #6b7280;
}

.ask-pulse-dots { display: inline-flex; gap: 5px; }

.ask-pulse-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ask-navy-2);
  animation: ask-bounce 1.1s infinite ease-in-out;
}

.ask-pulse-dots i:nth-child(2) { animation-delay: 0.16s; }
.ask-pulse-dots i:nth-child(3) { animation-delay: 0.32s; }

@keyframes ask-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}

/* --- main column --- */

.ask-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow-y: auto;
  padding: 22px 30px 40px 30px;
}

.ask-papers-wrap { margin-bottom: 22px; }

.ask-papers-wrap .ask-section-label { padding: 0 0 10px 0; }

.ask-papers {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px 2px;
  scroll-behavior: smooth;
}

.ask-paper {
  flex: 0 0 230px;
  background: white;
  border: 1px solid #dfe6ed;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(24px);
  animation: ask-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: box-shadow 0.3s, border-color 0.3s;
}

@keyframes ask-card-in {
  to { opacity: 1; transform: none; }
}

.ask-paper--flash {
  border-color: var(--ask-cyan);
  box-shadow: 0 0 0 3px rgba(78, 200, 244, 0.35);
}

.ask-paper-thumb {
  aspect-ratio: 21 / 9;
  background: #eef2f6;
  overflow: hidden;
}

.ask-paper-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ask-paper-body {
  padding: 10px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 auto;
}

.ask-track {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #004f80;
  background: rgba(0, 79, 128, 0.09);
  border-radius: 4px;
  padding: 3px 7px;
}

.ask-paper-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #22303f;
}

.ask-paper-page {
  font-size: 11.5px;
  color: var(--ask-green);
  font-weight: 600;
}

.ask-paper audio {
  width: 100%;
  height: 32px;
  margin-top: auto;
  filter: none;
}

/* --- answer --- */

.ask-answer {
  font-size: 16px;
  line-height: 1.65;
  color: #2b3a4a;
  max-width: 820px;
}

.ask-answer h2, .ask-answer h3, .ask-answer h4, .ask-answer h5, .ask-answer h6 {
  color: #004f80;
  margin: 24px 0 9px 0;
  line-height: 1.3;
}

.ask-answer > *:first-child { margin-top: 0; }
.ask-answer h2 { font-size: 22px; }
.ask-answer h3 { font-size: 19px; }
.ask-answer h4 { font-size: 16.5px; }
.ask-answer h5, .ask-answer h6 { font-size: 15px; }
.ask-answer p { margin: 0 0 14px 0; }
.ask-answer ul, .ask-answer ol { margin: 0 0 14px 0; padding-left: 22px; }
.ask-answer li { margin-bottom: 6px; }
.ask-answer code {
  background: #eef2f6;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 14px;
}
.ask-answer blockquote {
  margin: 0 0 14px 0;
  padding: 8px 16px;
  border-left: 3px solid #cfd8e0;
  color: #55636f;
}

.ask-answer .ask-caret {
  display: inline-block;
  width: 8px;
  height: 17px;
  vertical-align: -3px;
  background: var(--ask-navy-2);
  margin-left: 2px;
  animation: ask-blink 1s steps(2, start) infinite;
}

@keyframes ask-blink { 50% { opacity: 0; } }

.ask-cite {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #004f80;
  background: rgba(0, 79, 128, 0.08);
  border: 1px solid rgba(0, 79, 128, 0.18);
  border-radius: 20px;
  padding: 1px 9px;
  margin: 0 1px;
  cursor: pointer;
  vertical-align: baseline;
  transition: background 0.2s, color 0.2s;
}

.ask-cite:hover { background: #004f80; color: white; }
.ask-cite:hover i { color: white; }
.ask-cite i { font-size: 10px; opacity: 0.8; }

.ask-cite--invalid {
  color: #a1663a;
  background: rgba(214, 158, 46, 0.12);
  border-color: rgba(214, 158, 46, 0.4);
}

.ask-error {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fdecea;
  border: 1px solid #f5c2bd;
  color: #8c2f24;
  font-size: 15px;
  line-height: 1.5;
}

/* --- footer --- */

.ask-foot {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 14px 22px;
  background: white;
  border-top: 1px solid #e2e8ee;
}

.ask-again-input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  color: #2b3a4a;
  background: #f4f7fa;
  border: 2px solid #e2e8ee;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ask-again-input:focus {
  background: white;
  border-color: var(--ask-cyan);
  box-shadow: 0 0 0 3px rgba(78, 200, 244, 0.22);
}

.ask-again-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: var(--ask-navy-2);
  border: none;
  border-radius: 9px;
  padding: 0 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.ask-again-btn:hover { background: #1f3760; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .ask-hero-wrap { padding: 16px 15px 0 15px; }
  .ask-hero { padding: 26px 22px; border-radius: 12px; }
  .ask-hero-title { font-size: 25px; }
  .ask-hero-btn { width: 100%; justify-content: center; }

  .ask-overlay { padding: 0; }
  .ask-panel { border-radius: 0; max-height: none; }
  .ask-head { padding: 20px 56px 18px 20px; }
  .ask-question { font-size: 19px; }

  .ask-body { flex-direction: column; overflow-y: auto; }
  .ask-trace {
    flex: 0 0 auto;
    max-height: 210px;
    border-right: none;
    border-bottom: 1px solid #e2e8ee;
  }
  .ask-main { overflow: visible; padding: 18px 18px 32px 18px; }
  .ask-paper { flex-basis: 190px; }
}

/* ---------- paper card: meta line, actions, links ---------- */

.ask-paper-meta {
  font-size: 11px;
  color: #7b88a0;
  margin: 3px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ask-paper-title a {
  color: inherit;
  text-decoration: none;
}
.ask-paper-title a:hover { color: var(--ais-blue, #004f80); text-decoration: underline; }
.ask-paper-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.ask-paper-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ais-blue, #004f80);
  text-decoration: none;
  padding: 5px 9px;
  border: 1px solid #d6e2ee;
  border-radius: 16px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ask-paper-read:hover { background: #eef4fb; border-color: var(--ais-blue, #004f80); }
a.ask-paper-page--link { cursor: pointer; }
a.ask-paper-page--link:hover { text-decoration: underline; }

/* ---------- custom podcast player ---------- */

.ask-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ask-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #0f4c81, #1d6fb0);
  color: white;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 3px 8px rgba(15, 76, 129, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ask-play:hover { transform: scale(1.08); box-shadow: 0 5px 12px rgba(15, 76, 129, 0.45); }
.ask-play:active { transform: scale(0.96); }
.ask-play i { margin-left: 1px; }
.ask-player--on .ask-play i { margin-left: 0; }
.ask-eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.ask-player--on .ask-eq { display: inline-flex; }
.ask-eq i {
  width: 3px;
  background: var(--ais-green, #3f9d4e);
  border-radius: 2px;
  animation: ask-eq-bounce 0.9s ease-in-out infinite;
}
.ask-eq i:nth-child(1) { height: 6px; animation-delay: 0s; }
.ask-eq i:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.ask-eq i:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.ask-eq i:nth-child(4) { height: 11px; animation-delay: 0.45s; }
@keyframes ask-eq-bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
.ask-play-label {
  font-size: 11px;
  color: #63718a;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- thinking animation: the reading book ---------- */

.ask-book-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 54px 0 44px;
  animation: ask-book-in 0.45s ease both;
}
@keyframes ask-book-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.ask-book {
  position: relative;
  width: 128px;
  height: 88px;
  perspective: 700px;
  filter: drop-shadow(0 16px 20px rgba(16, 42, 78, 0.22));
  animation: ask-book-float 3.2s ease-in-out infinite;
}
@keyframes ask-book-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.ask-book-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(135deg, #123c6b, #1d5a94);
}
.ask-book-cover--l { left: 0; border-radius: 10px 2px 2px 10px; transform: rotateY(6deg); transform-origin: right center; }
.ask-book-cover--r { right: 0; border-radius: 2px 10px 10px 2px; transform: rotateY(-6deg); transform-origin: left center; }
/* Paper uses a VERTICAL gradient: it is mirror-symmetric under the Y-rotation,
   so a page front, its backface and the static sheets are pixel-identical. */
.ask-book-sheet {
  position: absolute;
  top: 5px;
  bottom: 5px;
  background: linear-gradient(180deg, #fdfeff, #f1f4f9);
  box-shadow: inset 0 0 0 1px rgba(16, 42, 78, 0.05);
}
.ask-book-sheet--l { left: 5px; right: 50%; border-radius: 8px 2px 2px 8px; }
.ask-book-sheet--r { left: 50%; right: 5px; border-radius: 2px 8px 8px 2px; }
.ask-book-page {
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 5px;
  /* exactly the right sheet's footprint at 0deg and the left sheet's at 180deg */
  width: calc(50% - 5px);
  background: linear-gradient(180deg, #fdfeff, #f1f4f9);
  border-radius: 2px 8px 8px 2px;
  transform-origin: left center;
  box-shadow: inset 0 0 0 1px rgba(16, 42, 78, 0.05);
  animation: ask-book-flip 2.7s cubic-bezier(0.5, 0.05, 0.45, 0.95) infinite;
  backface-visibility: visible;
}
.ask-book-page--1 { animation-delay: 0s; }
.ask-book-page--2 { animation-delay: 0.9s; }
.ask-book-page--3 { animation-delay: 1.8s; }
/* The page is fully opaque for the whole visible flip. It fades in/out only while
   lying flat on the right/left stack, pixel-aligned over an identical-looking sheet —
   so neither the loop restart nor the fades are visible mid-air. */
@keyframes ask-book-flip {
  0% { transform: rotateY(0deg); opacity: 0; }
  4% { transform: rotateY(-2deg); opacity: 1; }
  50% { transform: rotateY(-178deg); opacity: 1; }
  54% { transform: rotateY(-180deg); opacity: 0; }
  100% { transform: rotateY(-180deg); opacity: 0; }
}
.ask-book-caption {
  font-size: 13.5px;
  font-weight: 600;
  color: #4a5a74;
  letter-spacing: 0.2px;
  text-align: center;
  animation: ask-caption-pulse 2s ease-in-out infinite;
}
@keyframes ask-caption-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ---------- compact hero (homepage declutter) ---------- */

.ask-hero-wrap { padding: 16px 40px 0 40px; }
.ask-hero { padding: 24px 32px 20px 32px; }
.ask-hero-badge { margin-bottom: 10px; font-size: 11px; }
.ask-hero-title { font-size: 26px; }
.ask-hero-sub { margin-bottom: 16px; font-size: 14px; }
.ask-hero-chips {
  flex-wrap: nowrap;
  overflow-x: auto;
  /* headroom so the hover lift (translateY(-1px) + border) is not clipped by the scroll container */
  padding: 4px 0 6px 0;
  scrollbar-width: thin;
}
.ask-hero-chips .ask-chip { flex: 0 0 auto; white-space: nowrap; }

.ask-hero-lang {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}
.ask-hero-lang select {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}
.ask-hero-lang select option { color: #223; }
@media (max-width: 640px) {
  .ask-hero-lang { position: static; margin-bottom: 10px; }
}

/* ---------- expanded card while its episode is playing ---------- */

.ask-paper {
  transition: box-shadow 0.3s, border-color 0.3s, flex-basis 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ask-paper-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.ask-paper--playing {
  flex-basis: 340px;
  border-color: var(--ais-blue, #004f80);
  box-shadow: 0 8px 24px rgba(0, 79, 128, 0.18);
}
.ask-paper--playing .ask-paper-more {
  max-height: 260px;
  opacity: 1;
  margin-top: 2px;
}
.ask-paper-authors {
  font-size: 11px;
  font-weight: 600;
  color: #3d4c66;
  line-height: 1.4;
}
.ask-paper-about {
  margin: 6px 0 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #55637c;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ask-paper-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ais-blue, #004f80);
  text-decoration: none;
}
.ask-paper-open:hover { text-decoration: underline; }
.ask-paper-open i { font-size: 10px; }
