:root {
  --light-quote-surface: #f3f4f5;
  --light-quote-mark-color: #555b64;
}

.light-quote-mark {
  display: flex;
  width: 31px;
  height: 20px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--light-quote-mark-color);
}

.light-quote-mark::before,
.light-quote-mark::after {
  width: 8px;
  height: 17px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
  content: "";
  transform: skewX(-16deg);
}

.quote-preview {
  width: 100%;
  margin: 0 0 92px;
  padding: 76px 20px 62px;
  overflow: hidden;
  background: var(--light-quote-surface);
  color: #343948;
  text-align: center;
}

.quote-preview__inner {
  width: min(100%, 850px);
  margin: 0 auto;
}

.quote-preview__mark {
  margin: 0 auto 18px;
}

.quote-preview__item { margin: 0; }
.quote-preview__item blockquote {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #3d424e;
  font: inherit;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  line-height: 1.95;
  letter-spacing: .01em;
  text-align: center;
}
.quote-preview__source {
  color: #626975;
  font: inherit;
  font-size: clamp(.96rem, 1.3vw, 1.04rem);
  line-height: 1.8;
  text-align: center;
}
.quote-preview__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  margin-top: 27px;
  padding: 10px 22px;
  border: 1px solid #747b85;
  border-radius: 999px;
  background: #fff;
  color: #444a53 !important;
  font: inherit;
  font-size: .94rem;
  text-decoration: none !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.quote-preview__button:hover,
.quote-preview__button:focus-visible {
  border-color: #626973;
  background: #f8f9fa;
}
.quote-preview__button:focus-visible {
  outline: 2px solid rgba(98, 129, 200, .38);
  outline-offset: 3px;
}
.quote-preview--micro { margin-bottom: 24px; }

.light-quote-main {
  padding: 0 20px 88px;
  background: #fff;
  color: #303541;
}
.light-quote-header {
  width: calc(100% + 40px);
  margin: 0 -20px 66px;
  padding: 154px 20px 66px;
  background: var(--light-quote-surface);
  text-align: center;
}
.light-quote-header__inner {
  width: min(100%, 790px);
  margin: 0 auto;
}
.light-quote-header h1 {
  margin: 0 0 30px;
  color: #252a3a;
  font: inherit;
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 400;
  line-height: 1.3;
}
.light-quote-intro {
  color: #5e6673;
  font: inherit;
  font-size: clamp(1.05rem, 1.65vw, 1.18rem);
  line-height: 2;
}
.light-quote-intro p { margin: 0 0 15px; }
.light-quote-intro__echo {
  margin: 24px 0 0 !important;
  color: #444b5a;
  font-weight: 600;
}
.light-quote-experience {
  --lq-action-font-size: .92rem;
  width: min(100%, 520px);
  margin: 0 auto;
  container-type: inline-size;
}
.light-quote-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 2.6923cqw;
  background-color: #d9d7d0;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.light-quote-stage::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 177.7778%;
}
.light-quote-stage__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,28,.05), transparent 48%, rgba(20,23,28,.16));
}
.light-quote-stage__body {
  position: absolute;
  top: calc(25% + var(--lq-text-offset-y, 0%));
  right: 0;
  bottom: 15%;
  left: 0;
  box-sizing: border-box;
  min-width: 0;
  padding: 0 6%;
  text-align: center;
}
.light-quote-stage__glow {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 84.6154%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 5.7692cqw 4.8077cqw;
  filter: none;
  text-align: center;
}
.light-quote-stage__glow::before {
  position: absolute;
  z-index: -1;
  inset: -8px -12px;
  content: "";
  pointer-events: none;
}
.light-quote-stage--text-dark .light-quote-stage__glow::before {
  background-image: radial-gradient(
    ellipse at center,
    rgba(255,252,244,.34) 0%,
    rgba(255,250,240,.22) 45%,
    rgba(255,248,238,0) 100%
  );
}
.light-quote-stage__glow.is-adjusting {
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.light-quote-stage__glow.is-dragging { cursor: grabbing; }
.light-quote-stage--text-dark {
  --lq-text-protection:
    0 .35px 1.38px rgba(255,252,245,.82),
    0 .69px 2.77px rgba(255,248,238,.5);
}
.light-quote-stage--text-light {
  --lq-text-protection:
    0 .35px .69px rgba(0,0,0,.92),
    0 .69px 1.38px rgba(0,0,0,.74),
    0 1.38px 2.77px rgba(0,0,0,.42);
}
.light-quote-stage blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #20242a;
  font: inherit;
  font-size: 4.1846cqw;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .025em;
  text-align: center;
  text-shadow: var(--lq-text-protection);
  text-wrap: pretty;
}
.light-quote-stage__source {
  margin: 4.6154cqw 0 0;
  color: #20242a;
  font: inherit;
  font-size: 2.7692cqw;
  font-weight: 400;
  line-height: 1.75;
  opacity: 1;
  text-align: center;
  text-shadow: var(--lq-text-protection);
}
.light-quote-stage__source span {
  display: block;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  overflow-wrap: anywhere;
}
.light-quote-stage__source span + span { margin-top: .3846cqw; }
.light-quote-stage--text-light blockquote,
.light-quote-stage--text-light .light-quote-stage__source {
  color: #fff;
}
.light-quote-stage__footer {
  position: absolute;
  right: 8%;
  bottom: 4.3%;
  left: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7692cqw;
  color: rgba(255,255,255,.94);
  font: inherit;
  font-size: 3.2615cqw;
  line-height: 1.45;
  letter-spacing: .035em;
  text-align: center;
  text-shadow: 0 .69px 1.38px rgba(0,0,0,.78), 0 1.38px 4.85px rgba(0,0,0,.6), 0 0 9.69px rgba(0,0,0,.34);
}
@supports (width: 1cqw) {
  .light-quote-stage__glow::before {
    inset: -2.3077cqw -3.4615cqw;
  }
  .light-quote-stage--text-dark {
    --lq-text-protection:
      0 .0962cqw .3846cqw rgba(255,252,245,.82),
      0 .1923cqw .7692cqw rgba(255,248,238,.5);
  }
  .light-quote-stage--text-light {
    --lq-text-protection:
      0 .0962cqw .1923cqw rgba(0,0,0,.92),
      0 .1923cqw .3846cqw rgba(0,0,0,.74),
      0 .3846cqw .7692cqw rgba(0,0,0,.42);
  }
  .light-quote-experience .light-quote-stage__footer {
    text-shadow: 0 .1923cqw .3846cqw rgba(0,0,0,.78), 0 .3846cqw 1.3462cqw rgba(0,0,0,.6), 0 0 2.6923cqw rgba(0,0,0,.34);
  }
}
.light-quote-background-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 12px;
  margin-top: 7px;
}
.light-quote-background-control__separator {
  width: 1px;
  height: 1em;
  background: #d8dce3;
}
.light-quote-background-control button {
  max-width: 100%;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: #777e89;
  font: inherit;
  font-size: var(--lq-action-font-size);
  line-height: 1.4;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.light-quote-background-control button:hover,
.light-quote-background-control button:focus-visible {
  color: #405b95;
}
.light-quote-background-control button:focus {
  outline: none;
}
.light-quote-background-control button:focus-visible {
  outline: 2px solid rgba(98, 129, 200, .34);
  outline-offset: 2px;
  border-radius: 4px;
}
.light-quote-background-control button:disabled {
  opacity: .45;
  cursor: wait;
}
.light-quote-background-control button[hidden],
.light-quote-background-control__separator[hidden] { display: none; }
.light-quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}
.light-quote-actions button {
  padding: 10px 18px;
  border: 1px solid #cfd5df;
  border-radius: 999px;
  background: #fff;
  color: #414957;
  font: inherit;
  font-size: var(--lq-action-font-size);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.light-quote-actions button:first-child {
  border-color: #6281c8;
  background: #6281c8;
  color: #fff;
}
.light-quote-actions button:hover,
.light-quote-actions button:focus-visible {
  border-color: #6281c8;
  background: #f4f7fc;
  color: #405b95;
  transform: translateY(-1px);
}
.light-quote-actions button:first-child:hover,
.light-quote-actions button:first-child:focus-visible {
  background: #4f6dac;
  color: #fff;
}
.light-quote-actions button:focus {
  outline: none;
}
.light-quote-actions button:focus-visible {
  outline: 2px solid rgba(98, 129, 200, .42);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(98, 129, 200, .1);
}
.light-quote-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #777e89;
  font: inherit;
  font-size: .9rem;
  line-height: 1.6;
  text-align: center;
}
.light-quote-debug[hidden] { display: none; }
.light-quote-debug {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  background: #f7f8fa;
  color: #394150;
  font-size: 12px;
  text-align: left;
}
.light-quote-debug pre {
  font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  max-height: 260px;
  margin: 8px 0 0;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.light-quote-debug strong { display: block; }
.light-quote-debug button {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 12px;
  border: 1px solid #b8c0cc;
  border-radius: 4px;
  background: #fff;
  color: #303846;
  font: inherit;
}

.light-quote-image-preview[hidden] { display: none; }
.light-quote-image-preview {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 20px;
  overflow: auto;
  background: rgba(18, 22, 30, .82);
}
.light-quote-image-preview__dialog {
  width: min(100%, 430px);
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  color: #303541;
  text-align: center;
}
.light-quote-image-preview__dialog h2 {
  margin: 0 0 8px;
  font: inherit;
  font-size: 1.28rem;
  font-weight: 600;
}
.light-quote-image-preview__dialog p { margin: 0 0 16px; color: #626975; }
.light-quote-image-preview__dialog img {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto 18px;
  border-radius: 10px;
}
.light-quote-image-preview__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.light-quote-image-preview__actions [hidden] { display: none; }
.light-quote-image-preview__dialog button,
.light-quote-image-preview__dialog .light-quote-image-preview__download {
  display: inline-block;
  min-width: 104px;
  padding: 10px 22px;
  border: 1px solid #cfd5df;
  border-radius: 999px;
  background: #fff;
  color: #414957;
  font: inherit;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
}
.light-quote-image-preview__dialog .light-quote-image-preview__share {
  border-color: #6281c8;
  background: #6281c8;
  color: #fff;
}

.tag-quote-module {
  width: auto;
  max-width: none;
  margin: 64px calc(50% - 50vw) 68px;
  padding: 72px 20px 60px;
  border: 0;
  background: #f3f4f5;
  font: inherit;
  text-align: center;
}
.tag-quote-module__inner { width: min(100%, 850px); margin: 0 auto; }
.tag-quote-module__mark {
  margin: 0 auto 18px;
}
.tag-quote-module__item { margin: 0; }
.tag-quote-module__item a { color: inherit; text-decoration: none !important; }
.tag-quote-module__item blockquote { margin: 0; padding: 0; border: 0; color: #3d424e; font: inherit; font-size: clamp(1.18rem, 1.8vw, 1.42rem); line-height: 1.95; }
.tag-quote-module__items { opacity: 1; transition: opacity .24s ease; }
.tag-quote-module.is-switching .tag-quote-module__items { opacity: 0; }
.tag-quote-module__source { margin-top: 16px; }

.article-search-card--quote {
  display: block;
  padding: 28px 30px 25px;
  border: 0;
  border-radius: 0;
  background: var(--light-quote-surface);
  box-shadow: none;
  font: inherit;
}
.article-search-card--quote:hover { border-color: transparent; box-shadow: none; }
.article-search-quote-link { display: block; color: inherit; text-decoration: none !important; }
.article-search-quote-link:hover .article-search-quote-text,
.article-search-quote-link:focus-visible .article-search-quote-text { color: #405b95; }
.article-search-quote-link:focus-visible { outline: 2px solid rgba(98,129,200,.38); outline-offset: 5px; }
.article-search-quote-mark { margin: 0 0 16px; }
.article-search-quote-text { margin: 0 0 13px; color: #343842; font: inherit; font-size: 1.12rem; font-weight: 500; line-height: 1.82; }
.article-search-quote-source { margin: 0 0 15px; color: #707784; font: inherit; font-size: .94rem; line-height: 1.7; }

@media (min-width: 992px) {
  .light-quote-main { padding-top: 0; }
}

@media (min-width: 576px) {
  .light-quote-experience {
    width: min(100%, 520px, 36vh);
  }
}

@media (max-width: 575px) {
  .quote-preview { margin-bottom: 62px; padding: 60px 18px 50px; }
  .quote-preview--micro { margin-bottom: 12px; }
  .quote-preview__mark { margin-bottom: 16px; }
  .quote-preview__item blockquote { font-size: clamp(1.1rem, 5vw, 1.22rem); line-height: 1.9; }
  .quote-preview__item figcaption { font-size: .94rem; }
  .quote-preview__button { margin-top: 24px; }
  .light-quote-main { padding: 0 14px 62px; }
  .light-quote-header { width: calc(100% + 28px); margin: 0 -14px 42px; padding: 124px 18px 45px; }
  .light-quote-header h1 { margin-bottom: 24px; font-size: 2rem; }
  .light-quote-intro { font-size: 1.08rem; line-height: 1.9; }
  .light-quote-intro p { margin-bottom: 16px; }
  .light-quote-intro__echo { margin-top: 21px !important; }
  .light-quote-experience { --lq-action-font-size: .9rem; }
  .light-quote-actions { gap: 8px; margin-top: 32px; }
  .light-quote-actions button { padding: 10px 14px; }
  .article-search-card--quote { padding: 24px 20px 22px; }
  .article-search-quote-mark { margin-bottom: 14px; }
  .article-search-quote-text { font-size: 1.08rem; line-height: 1.82; }
  .tag-quote-module { margin-top: 48px; margin-bottom: 54px; padding: 58px 18px 52px; }
  .tag-quote-module__mark { margin-bottom: 16px; }
  .tag-quote-module__item blockquote { font-size: clamp(1.1rem, 5vw, 1.22rem); line-height: 1.9; }
}

@media (max-width: 350px) {
  .light-quote-actions button { flex: 1 1 calc(50% - 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .quote-preview__button,
  .light-quote-background-control button,
  .light-quote-actions button,
  .tag-quote-module__items { transition: none; }
}
