@font-face {
  font-display: swap;
  font-family: "Lingo Card Icons";
  font-style: normal;
  font-weight: 400;
  src: url("/resources/super-search/card/taroify-icons.woff2") format("woff2");
}

.learning-detail-page .learning-shell { width: min(1400px, calc(100% - 32px)); }
.learning-detail-page .learning-header,
.learning-detail-page .breadcrumbs,
.learning-detail-page .continue-card,
.learning-detail-page .related,
.learning-detail-page .learning-footer { width: min(1120px, 100%); margin-right: auto; margin-left: auto; }

.dictionary-card-page {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  min-height: 844px;
  margin: 0 auto;
  overflow: hidden;
  background: #f7edce;
  color: #432b17;
}

.card-page-frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.flutter-card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 844px;
  overflow: visible;
}

.flutter-card__scroll { padding: 132px 18px 96px; }

.flutter-card__top-actions {
  position: absolute;
  z-index: 35;
  top: 44px;
  left: 50%;
  display: flex;
  height: 76px;
  gap: 9px;
  transform: translateX(-50%);
}

.card-top-action,
.card-media-action {
  display: flex;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform .15s ease;
}

.card-control-icon {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 6px rgba(68, 42, 18, .18));
}

.card-top-action:active,
.card-media-action:active { transform: translateY(2px) scale(.96); }

.card-hero { position: relative; }

.card-media {
  position: relative;
  z-index: 3;
  width: 100%;
  aspect-ratio: 1;
  margin: 24px auto 0;
  overflow: visible;
  border: 8px solid #fff8df;
  border-radius: 34px;
  background: #e9dfbf;
  box-shadow: 0 12px 22px rgba(73, 48, 20, .19), 0 0 0 3px #b98642;
}

.card-media__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.card-paperclip-decoration {
  position: absolute;
  z-index: 8;
  top: -36px;
  right: 4px;
  width: 68px;
  pointer-events: none;
}

.card-header { padding: 28px 24px 26px; }
.card-type-label {
  margin: 0;
  color: #3f5b1f;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .08em;
}
.card-header__headline {
  display: flex;
  min-height: 114px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card-header__title {
  margin: 0;
  color: #543117;
  font: 950 64px/1.15 ui-serif, "Songti SC", STSong, serif;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 0 #fff6d9;
}
.card-header__title.is-long { font-size: 46px; }

.card-header__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.meta-chip {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  border: 2px dashed #d4b67e;
  border-radius: 20px;
  background: #fff2cf;
  color: #6b4825;
  font-size: 20px;
  font-weight: 750;
  line-height: 48px;
}
.meta-chip--blue,
.meta-chip--teal { border-color: #9fc7cd; background: #e4f3f2; color: #356f73; }
.meta-chip--purple { border-color: #c9b4e9; background: #eee5fb; color: #6541a0; }
.meta-chip--green { border-color: #b9ce94; background: #edf4dd; color: #53732f; }

.card-action-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin-top: 20px;
}
.card-tool-action {
  position: relative;
  display: flex;
  width: 84px;
  height: 88px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform .15s ease;
}
.card-tool-action__icon {
  display: block;
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 5px 5px rgba(62, 38, 15, .16));
}
.card-tool-action:active { transform: translateY(2px) scale(.97); }

.card-info-panel { display: grid; gap: 42px; padding: 0 24px 120px; }
.flutter-section {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 26px 28px;
  border: 3px dashed #d8bd85;
  border-radius: 32px;
  background: rgba(255, 249, 229, .95);
  box-shadow: 0 8px 18px rgba(72, 48, 20, .1);
}
.flutter-section__title {
  display: flex;
  width: fit-content;
  max-width: calc(100% - 4px);
  min-height: 54px;
  align-items: center;
  gap: 10px;
  margin: -28px 0 22px -6px;
  padding: 0 20px;
  border: 3px dashed rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: #738f2d;
  color: #fffaf0;
  box-shadow: 0 6px 11px rgba(58, 42, 19, .14);
}
.flutter-section__title-text { font-size: 25px; font-weight: 900; line-height: 1.2; }
.flutter-section--blue .flutter-section__title,
.flutter-section--cyan .flutter-section__title { background: #4f8eb1; }
.flutter-section--orange .flutter-section__title { background: #d68b29; }
.flutter-section--purple .flutter-section__title,
.flutter-section--indigo .flutter-section__title { background: #8060ad; }
.flutter-section--red .flutter-section__title { background: #b96552; }

.van-icon { display: inline-block; font: 400 22px/1 "Lingo Card Icons"; }
.van-icon-notes-o::before { content: "\e6f2"; }
.van-icon-cluster-o::before { content: "\e693"; }
.van-icon-records-o::before { content: "\e72a"; }
.van-icon-comment-o::before { content: "\e698"; }
.van-icon-bulb-o::before { content: "\e67b"; }
.van-icon-label-o::before { content: "\e6dd"; }
.van-icon-apps-o::before { content: "\e665"; }
.van-icon-friends-o::before { content: "\e6c2"; }
.van-icon-exchange::before { content: "\e6af"; }
.van-icon-info-o::before { content: "\e6d1"; }
.van-icon-description-o::before { content: "\e6a3"; }
.van-icon-flag-o::before { content: "\e6ba"; }
.van-icon-warning-o::before { content: "\e743"; }
.van-icon-edit::before { content: "\e6a8"; }

.definition-list,
.example-list,
.bilingual-list,
.phrase-list,
.mistake-list { display: flex; flex-direction: column; gap: 14px; }
.definition-row,
.example-row,
.bilingual-block,
.phrase-row,
.mistake-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 0 0 14px;
  border-bottom: 2px dashed #dfcfaa;
}
.definition-row:last-child,
.example-row:last-child,
.bilingual-block:last-child,
.phrase-row:last-child,
.mistake-row:last-child { padding-bottom: 0; border-bottom: 0; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.content-chip {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 14px;
  border: 2px solid #efd0aa;
  border-radius: 16px;
  background: #fff0de;
  color: #6d4727;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.38;
  text-align: left;
}
.content-chip--en { border-color: #c7d8ee; background: #eef4ff; color: #53657d; font-size: 19px; font-weight: 600; }
.content-chip--pinyin { border-color: #b6d6bc; background: #edf7ef; color: #4f7657; font-size: 18px; }
.mistake-row__wrong { border-color: #e6b0a6; background: #fff0ed; color: #9c3e33; }
.mistake-row__correct { border-color: #acd0a8; background: #edf8e9; color: #46733d; }

.public-answer {
  margin: 38px 24px 0;
  padding: 18px 20px;
  border: 2px dashed #d8bd85;
  border-radius: 22px;
  background: rgba(255, 249, 229, .95);
}
.public-answer p { margin: 8px 0 0; line-height: 1.7; }

@media (min-width: 760px) {
  .dictionary-card-page {
    width: min(100%, 1320px);
    border-radius: 40px;
    box-shadow: 0 24px 70px rgba(45, 34, 19, .25);
  }

  .flutter-card__scroll { padding: 148px clamp(44px, 5.5vw, 78px) 110px; }
  .flutter-card__top-actions {
    top: 32px;
    left: clamp(48px, 5.5vw, 78px);
    height: 88px;
    gap: 12px;
    transform: none;
  }
  .card-top-action,
  .card-media-action { width: 88px; height: 88px; flex-basis: 88px; }

  .card-hero {
    display: grid;
    width: min(100%, 1160px);
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: center;
    margin: 0 auto;
  }
  .card-media { width: min(100%, 500px); margin: 0 auto; }
  .card-paperclip-decoration { top: -30px; right: auto; left: 52px; width: 74px; }

  .card-header { min-width: 0; padding: 0; }
  .card-type-label { font-size: 15px; letter-spacing: .1em; }
  .card-header__headline {
    min-height: 0;
    justify-content: flex-start;
    margin-top: 12px;
    text-align: left;
  }
  .card-header__title { font-size: clamp(72px, 7.5vw, 112px); line-height: .98; letter-spacing: -2px; }
  .card-header__title.is-long { font-size: clamp(48px, 5.5vw, 80px); }
  .card-header__metadata { max-width: 600px; justify-content: flex-start; margin-top: 30px; }
  .meta-chip { min-height: 48px; padding: 0 15px; font-size: 18px; line-height: 44px; }
  .card-action-row { justify-content: flex-start; margin-top: 28px; }
  .card-tool-action { width: 88px; height: 92px; }
  .card-tool-action__icon { width: 84px; height: 84px; }
  .flutter-card--english .card-tool-action:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: -2px;
    border-left: 3px dashed #4f9ebd;
  }

  .card-info-panel {
    width: min(100%, 1160px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 34px;
    align-items: start;
    margin: 112px auto 0;
    padding: 0;
  }
  .flutter-section { align-self: start; padding-right: 28px; padding-left: 28px; }
  .flutter-section__title-text { font-size: 23px; }
  .content-chip { font-size: 18px; }
  .content-chip--en { font-size: 17px; }
  .content-chip--pinyin { font-size: 16px; }
  .public-answer { width: min(100%, 760px); margin: 56px auto 0; padding: 22px 26px; }
}

@media (max-width: 759px) {
  .learning-detail-page .learning-shell { width: min(100% - 20px, 430px); }
  .learning-detail-page .learning-header,
  .learning-detail-page .breadcrumbs,
  .learning-detail-page .continue-card,
  .learning-detail-page .related,
  .learning-detail-page .learning-footer { width: 100%; }
}

@media (max-width: 470px) {
  .dictionary-card-page { width: 100%; }
  .card-header__title { font-size: 56px; }
}

@media (max-width: 350px) {
  .flutter-card__top-actions { gap: 6px; }
  .card-top-action,
  .card-media-action { width: 68px; height: 68px; flex-basis: 68px; }
  .flutter-card__scroll { padding-top: 122px; }
}

@media (prefers-reduced-motion: reduce) {
  .card-top-action,
  .card-media-action,
  .card-tool-action { transition: none; }
}
