/* Yusensoft home "Hizmetlerimiz": realistic Web Design / Custom Software scenes (ys-sx). */

/* ---- service rows [data-ys-svc]: two rows moved together by one shared step control ---- */
.ys-section.ys-services {
  padding-block: 2.55rem 2.6rem;
}

.ys-services .ys-cap-head {
  margin-block-end: 1.2rem;
}

.ys-svc-rows {
  /* --ys-svc-peek = gap + visible strip of the next card */
  --ys-svc-gap: 0.625rem;
  --ys-svc-peek: 2.25rem;
  display: grid;
  gap: 1rem;
}

.ys-svc-row {
  position: relative;
  min-inline-size: 0;
}

.ys-svc-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% - var(--ys-svc-peek));
  gap: var(--ys-svc-gap);
  margin: -4px;
  padding: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ys-svc-track::-webkit-scrollbar {
  display: none;
}

/* the strip of the next/previous card fades out so the row reads as "there is more" */
.ys-svc-row.has-more .ys-svc-track {
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.28), #000 var(--ys-svc-peek));
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.28), #000 var(--ys-svc-peek));
}

.ys-svc-row.is-end .ys-svc-track {
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.28), #000 var(--ys-svc-peek));
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.28), #000 var(--ys-svc-peek));
}

.ys-svc-track > .ys-cap-pane {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-inline-size: 0;
  min-block-size: 0;
  padding: 1.05rem 0.95rem 0.95rem;
  scroll-snap-align: start;
}

.ys-svc-track > .ys-cap-pane > .ys-cap-title {
  font-size: 1.25rem;
}

.ys-svc-track > .ys-cap-pane > .ys-cap-text {
  max-inline-size: none;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ys-svc-track > .ys-cap-pane > .ys-sx {
  flex: 0 0 auto;
  align-self: stretch;
  block-size: auto;
  margin-block-start: auto;
}

.ys-svc-track > .ys-cap-pane > .ys-cap-tags {
  margin-block-end: 0.2rem;
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .ys-svc-track .ys-sx { aspect-ratio: 16 / 10; }
}

@media (min-width: 768px) {
  .ys-svc-rows {
    --ys-svc-gap: 1rem;
    --ys-svc-peek: 3.25rem;
  }

  .ys-svc-track {
    grid-auto-columns: calc((100% - var(--ys-svc-gap) - var(--ys-svc-peek)) / 2);
  }

  .ys-svc-track > .ys-cap-pane {
    padding: 1.1rem 1rem 1rem;
  }

  .ys-svc-track > .ys-cap-pane > .ys-cap-title {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .ys-svc-track .ys-sx { aspect-ratio: 10 / 8.4; }
}

@media (min-width: 1024px) {
  .ys-section.ys-services {
    padding-block: 2.6rem 2.65rem;
  }

  .ys-svc-rows {
    --ys-svc-gap: 1.25rem;
    gap: 1.1rem;
  }

  .ys-svc-track > .ys-cap-pane {
    padding: 1.15rem 1.15rem 1.1rem;
  }

  .ys-svc-track > .ys-cap-pane > .ys-cap-title {
    font-size: 1.4rem;
  }

  .ys-svc-track .ys-sx { aspect-ratio: 16 / 10; }
}

/* wide cards: tags share the title line, scene keeps its approved 16:9 window */
@media (min-width: 1280px) {
  .ys-svc-track > .ys-cap-pane {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    align-content: stretch;
    gap: 0.5rem 1rem;
  }

  .ys-svc-track > .ys-cap-pane > .ys-cap-title {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .ys-svc-track > .ys-cap-pane > .ys-cap-tags {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    flex-wrap: nowrap;
    margin: 0;
  }

  .ys-svc-track > .ys-cap-pane > .ys-cap-text {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ys-svc-track > .ys-cap-pane > .ys-sx {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: end;
    margin: 0.35rem 0 0;
  }

  .ys-svc-track .ys-sx { aspect-ratio: 16 / 9; }
}

/* edge arrows sit on the faded strip of the hidden neighbour card */
.ys-svc-edge {
  position: absolute;
  inset-block-start: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  inline-size: 2.6rem;
  block-size: 2.6rem;
  margin-block-start: -1.3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background-color: rgba(8, 26, 51, 0.9);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.75);
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ys-svc-edge[hidden] {
  display: none;
}

.ys-svc-edge.is-next {
  inset-inline-end: calc((var(--ys-svc-peek) - var(--ys-svc-gap)) / 2 - 1.3rem);
}

.ys-svc-edge.is-prev {
  inset-inline-start: calc((var(--ys-svc-peek) - var(--ys-svc-gap)) / 2 - 1.3rem);
}

.ys-svc-edge:hover {
  border-color: var(--ys-orange-500, #e67a2e);
  background-color: var(--ys-orange-500, #e67a2e);
}

.ys-svc-edge.is-off {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.ys-svc-edge.is-hint {
  animation: ys-svc-nudge 1.4s ease-in-out 2;
}

@keyframes ys-svc-nudge {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(5px); border-color: var(--ys-orange-500, #e67a2e); }
  60% { transform: translateX(0); }
}

/* shared control: back | "Diğer 2 Hizmeti Göster" (exactly centred) | position */
.ys-svc-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem 0.75rem;
  margin-block-start: 1.15rem;
}

.ys-svc-nav[hidden] {
  display: none;
}

.ys-svc-back {
  grid-column: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.ys-svc-back.is-off {
  visibility: hidden;
}

.ys-svc-more {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-block-size: 2.9rem;
  padding: 0 1.3rem 0 1.5rem;
  border: 1.5px solid var(--ys-orange-500, #e67a2e);
  border-radius: 999px;
  background-color: rgba(230, 122, 46, 0.1);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ys-svc-more > i {
  color: var(--ys-orange-500, #e67a2e);
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.ys-svc-more:hover,
.ys-svc-back:hover {
  border-color: var(--ys-orange-500, #e67a2e);
  background-color: rgba(230, 122, 46, 0.2);
}

.ys-svc-more:hover:not(.is-reset) > i {
  transform: translateX(3px);
}

.ys-svc-more:focus-visible,
.ys-svc-back:focus-visible {
  outline: 2px solid var(--ys-orange-500, #e67a2e);
  outline-offset: 3px;
}

.ys-svc-meta {
  grid-column: 3;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-inline-size: 0;
  color: rgba(248, 250, 252, 0.66);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.ys-svc-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ys-svc-dots i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: inline-size 0.3s ease, background-color 0.3s ease;
}

.ys-svc-dots i.is-on {
  inline-size: 22px;
  background-color: var(--ys-orange-500, #e67a2e);
}

.ys-svc-step {
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ys-svc-step::after {
  content: "";
  display: inline-block;
  inline-size: 1px;
  block-size: 0.85rem;
  margin-inline-start: 0.6rem;
  background-color: rgba(255, 255, 255, 0.2);
  vertical-align: -0.12rem;
}

.ys-svc-seen {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 991.98px) {
  .ys-svc-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

/* primary section CTA */
.ys-services .ys-cap-foot {
  margin-block-start: 1.25rem;
  padding-block-start: 1.15rem;
}

.ys-services .ys-cap-foot-cta {
  gap: 0.55rem;
  min-block-size: 3.1rem;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 0.56rem;
  background-color: var(--ys-orange-500, #e67a2e);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 12px 26px -14px rgba(230, 122, 46, 0.85);
}

.ys-services a.ys-cap-foot-cta:hover,
.ys-services a.ys-cap-foot-cta:focus-visible {
  background-color: color-mix(in srgb, var(--ys-orange-500, #e67a2e) 86%, #000);
  color: #fff;
}

@media (max-width: 575.98px) {
  .ys-services .ys-cap-foot-cta {
    justify-content: center;
    inline-size: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ys-svc-dots i,
  .ys-svc-edge,
  .ys-svc-more,
  .ys-svc-more > i,
  .ys-svc-back { transition: none; }
  .ys-svc-edge.is-hint { animation: none; }
}

/* ---- scene shell ---- */
.ys-sx {
  position: relative;
  container: sx / inline-size;
  min-inline-size: 0;
  aspect-ratio: 10 / 8.4;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.85rem;
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(230, 122, 46, 0.2), transparent 55%),
    radial-gradient(90% 80% at -5% 112%, rgba(56, 120, 220, 0.2), transparent 60%),
    linear-gradient(180deg, #0d2342, #081a33);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: start;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

.ys-sx::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent);
}

.ys-sx small {
  font-size: 10px;
}

@media (min-width: 576px) {
  .ys-sx { aspect-ratio: 16 / 8.8; }
}

@media (min-width: 768px) {
  .ys-sx { aspect-ratio: 16 / 7.6; }
}

@media (min-width: 1024px) {
  .ys-sx { aspect-ratio: 16 / 10; }
}

@media (min-width: 1200px) {
  .ys-sx { aspect-ratio: 16 / 9.2; }
}

.ys-sx-stage {
  position: absolute;
  inset: 14px 16px 0;
  transition: opacity 0.35s ease;
}

.ys-sx-stage.is-reset {
  opacity: 0;
}

.ys-sx-win {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 48px -12px rgba(0, 0, 0, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx-win::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background-color: rgba(8, 26, 51, 0);
  pointer-events: none;
  transition: background-color 0.6s ease;
}

/* ---- pointer ---- */
.ys-sx-cursor {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 20;
  inline-size: 15px;
  block-size: 21px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(70%, 70%, 0);
  transition: transform 0.7s cubic-bezier(0.45, 0.05, 0.25, 1), opacity 0.25s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.ys-sx-cursor.is-on {
  opacity: 1;
}

.ys-sx-cursor svg {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  fill: #fff;
  stroke: #0b1220;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.ys-sx-cursor::after {
  content: "";
  position: absolute;
  inset-block-start: -9px;
  inset-inline-start: -9px;
  inline-size: 20px;
  block-size: 20px;
  border: 2px solid rgba(230, 122, 46, 0.95);
  border-radius: 50%;
  opacity: 0;
}

.ys-sx-cursor.is-click::after {
  animation: ys-sx-ring 0.45s ease-out;
}

.ys-sx-cursor.is-touch svg {
  visibility: hidden;
}

.ys-sx-cursor.is-touch::before {
  content: "";
  position: absolute;
  inset-block-start: -10px;
  inset-inline-start: -10px;
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.3);
}

@keyframes ys-sx-ring {
  0% { opacity: 1; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* =========================================================
   WEB DESIGN SCENE
   ========================================================= */
.ys-sx-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  block-size: 28px;
  padding-inline: 10px;
  background-color: #eef0f3;
  border-block-end: 1px solid #dfe3e8;
}

.ys-sx-lights {
  display: flex;
  gap: 5px;
}

.ys-sx-lights i {
  inline-size: 9px;
  block-size: 9px;
  border-radius: 50%;
  background-color: #ff5f57;
}

.ys-sx-lights i:nth-child(2) { background-color: #febc2e; }
.ys-sx-lights i:nth-child(3) { background-color: #28c840; }

.ys-sx-url {
  flex: 0 1 15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-inline-size: 0;
  block-size: 18px;
  margin-inline: auto;
  padding-inline: 8px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #fff;
  color: #4b5563;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-sx-url i {
  color: #16a34a;
  font-size: 10px;
}

.ys-sx-seg {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 6px;
  background-color: #e2e6eb;
}

.ys-sx-seg i {
  display: grid;
  place-items: center;
  inline-size: 20px;
  block-size: 16px;
  border-radius: 4px;
  color: #6b7280;
  font-size: 10px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.ys-sx-seg i.is-on {
  background-color: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.18);
}

.ys-sx-view {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  overflow: hidden;
  container: sxv / size;
  background-color: #f7f4ef;
  color: #1f2328;
}

.ys-sx-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  block-size: 36px;
  padding-inline: 16px;
  color: #fff;
  transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.ys-sx-view.is-scrolled .ys-sx-nav {
  background-color: rgba(247, 244, 239, 0.97);
  color: #1f2328;
  box-shadow: 0 1px 0 rgba(31, 35, 40, 0.08), 0 6px 14px rgba(31, 35, 40, 0.06);
}

.ys-sx-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ys-sx-logo svg {
  inline-size: 15px;
  block-size: 15px;
  fill: currentColor;
}

.ys-sx-logo b {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ys-sx-logo small {
  padding-inline-start: 6px;
  border-inline-start: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.ys-sx-links {
  display: flex;
  gap: 14px;
  margin-inline-start: auto;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-sx-links span {
  position: relative;
  opacity: 0.92;
}

.ys-sx-links span::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  block-size: 1.5px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ys-sx-links span.is-hover::after {
  transform: scaleX(1);
}

.ys-sx-navcta {
  padding: 5px 10px;
  border-radius: 999px;
  background-color: #b07a4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-sx-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  inline-size: 22px;
  block-size: 22px;
  margin-inline-start: auto;
}

.ys-sx-burger i {
  display: block;
  inline-size: 16px;
  block-size: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.ys-sx-view.is-menu .ys-sx-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ys-sx-view.is-menu .ys-sx-burger i:nth-child(2) { opacity: 0; }
.ys-sx-view.is-menu .ys-sx-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.ys-sx-page {
  position: absolute;
  inset: 0 0 auto;
  transform: translate3d(0, 0, 0);
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.ys-sx-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  block-size: 84cqh;
  min-block-size: 150px;
  overflow: hidden;
  color: #fff;
}

.ys-sx-hero img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: 60% 40%;
}

.ys-sx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.5) 0%, rgba(10, 14, 20, 0.05) 32%, rgba(10, 14, 20, 0.35) 62%, rgba(10, 14, 20, 0.82) 100%);
}

.ys-sx-hero-copy {
  position: relative;
  z-index: 1;
  max-inline-size: 72%;
  padding: 0 18px 20px;
}

.ys-sx-hero-copy > * {
  display: block;
}

.ys-sx-hero-copy small {
  color: #f3d9c2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ys-sx-hero-copy strong {
  margin-block: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 4.3cqw, 25px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.ys-sx-hero-copy p {
  max-inline-size: 34ch;
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.9;
}

.ys-sx-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ys-sx-btn {
  display: inline-flex;
  align-items: center;
  block-size: 24px;
  padding-inline: 11px;
  border-radius: 999px;
  background-color: #b07a4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-sx-btn.is-ghost {
  background-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.ys-sx-btn.is-pulse {
  animation: ys-sx-pulse 1.1s ease 2;
}

@keyframes ys-sx-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(176, 122, 79, 0.6); }
  60% { box-shadow: 0 0 0 8px rgba(176, 122, 79, 0); }
}

.ys-sx-pager {
  position: absolute;
  inset: auto 16px 22px auto;
  z-index: 1;
  display: flex;
  gap: 4px;
}

.ys-sx-pager i {
  inline-size: 14px;
  block-size: 2px;
  background-color: rgba(255, 255, 255, 0.45);
}

.ys-sx-pager i.is-on {
  inline-size: 22px;
  background-color: #fff;
}

.ys-sx-work {
  padding: 46px 18px 18px;
}

.ys-sx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-block-end: 12px;
}

.ys-sx-head small,
.ys-sx-band small {
  display: block;
  color: #b07a4f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ys-sx-head strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
}

.ys-sx-filters {
  display: flex;
  gap: 4px;
}

.ys-sx-filters span {
  padding: 4px 9px;
  border-radius: 999px;
  background-color: #ece6dd;
  color: #57606a;
  font-size: 10px;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
}

.ys-sx-filters span.is-on {
  background-color: #1f2328;
  color: #fff;
}

.ys-sx-filters span.is-pressed,
.ys-sx-links span.is-pressed {
  transform: scale(0.95);
}

.ys-sx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ys-sx-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(31, 35, 40, 0.06), 0 8px 18px -10px rgba(31, 35, 40, 0.28);
}

.ys-sx-card.is-out {
  display: none;
}

.ys-sx-ph {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e7e1d8;
}

.ys-sx-ph img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx-card.is-hover .ys-sx-ph img {
  transform: scale(1.07);
}

.ys-sx-card figcaption {
  padding: 8px 10px 10px;
}

.ys-sx-card figcaption b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

.ys-sx-card figcaption span {
  color: #6b7280;
  font-size: 10px;
}

.ys-sx-card em {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.94);
  color: #1f2328;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ys-sx-card.is-hover em {
  opacity: 1;
  transform: none;
}

.ys-sx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 4px 18px 0;
  padding-block: 14px;
  border-block: 1px solid #e5ded3;
  text-align: center;
}

.ys-sx-stats b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.ys-sx-stats small {
  color: #6b7280;
  font-size: 10px;
}

.ys-sx-quote {
  padding: 18px 18px 4px;
  text-align: center;
}

.ys-sx-quote p {
  max-inline-size: 40ch;
  margin: 0 auto 10px;
  color: #2b3036;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.ys-sx-quote > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.ys-sx-quote i {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  background-color: #d9c3ad;
  color: #5a3e28;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-sx-quote small {
  color: #6b7280;
}

.ys-sx-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 18px 0;
  padding: 16px 18px;
  border-radius: 10px;
  background-color: #1f2328;
  color: #fff;
}

.ys-sx-band small {
  color: #d8b38f;
}

.ys-sx-band strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.ys-sx-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: 18px;
  padding: 14px 18px 18px;
  border-block-start: 1px solid #e5ded3;
  color: #6b7280;
  font-size: 10px;
}

.ys-sx-foot .ys-sx-logo {
  color: #1f2328;
}

.ys-sx-mmenu {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 48px 16px 16px;
  background-color: #1f2328;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  transform: translate3d(0, -101%, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx-mmenu span.is-on,
.ys-sx-mmenu span.is-pressed {
  color: #fff;
}

.ys-sx-mmenu .ys-sx-btn {
  margin-block-start: 6px;
  font-family: Manrope, system-ui, sans-serif;
}

.ys-sx-view.is-menu .ys-sx-mmenu {
  transform: none;
}

.ys-sx-view.is-menu .ys-sx-nav {
  background-color: transparent;
  color: #fff;
  box-shadow: none;
}

/* tablet-width site */
@container sxv (max-width: 479px) {
  .ys-sx-links span:nth-child(n + 3) { display: none; }
  .ys-sx-hero-copy { max-inline-size: 88%; }
  .ys-sx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-sx-quote p { font-size: 12px; }
}

/* phone-width site */
@container sxv (max-width: 339px) {
  .ys-sx-nav { gap: 8px; block-size: 34px; padding-inline: 12px; }
  .ys-sx-links,
  .ys-sx-navcta,
  .ys-sx-logo small,
  .ys-sx-pager,
  .ys-sx-btn.is-ghost { display: none; }
  .ys-sx-burger { display: flex; }
  .ys-sx-hero { block-size: 80cqh; }
  .ys-sx-hero-copy { max-inline-size: 100%; padding: 0 12px 14px; }
  .ys-sx-hero-copy strong { font-size: 16px; }
  .ys-sx-work { padding: 44px 12px 12px; }
  .ys-sx-head { flex-direction: column; align-items: flex-start; }
  .ys-sx-grid { grid-template-columns: minmax(0, 1fr); }
  .ys-sx-ph { aspect-ratio: 16 / 10; }
  .ys-sx-stats { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-inline: 12px; padding-block: 10px; text-align: start; }
  .ys-sx-stats span { display: flex; align-items: baseline; gap: 8px; }
  .ys-sx-stats b { flex: 0 0 44px; font-size: 18px; }
  .ys-sx-quote { padding-inline: 12px; }
  .ys-sx-band { flex-direction: column; align-items: flex-start; margin-inline: 12px; padding: 14px; }
  .ys-sx-foot { flex-wrap: wrap; padding-inline: 12px; }
}

/* phone device (responsive demo) */
.ys-sx-phone {
  position: absolute;
  inset-block-end: -22px;
  inset-inline-end: 7%;
  z-index: 10;
  display: none;
  block-size: min(312px, calc(100% + 8px));
  aspect-ratio: 9 / 17.6;
  padding: 6px;
  border-radius: 24px;
  background: linear-gradient(145deg, #2c3546, #0e131b 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 30px 50px -14px rgba(0, 0, 0, 0.7),
    0 10px 20px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 115%, 0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.has-phone .ys-sx-phone {
  display: block;
}

.ys-sx-stage.is-mobile .ys-sx-phone,
.ys-sx.is-static .ys-sx-phone {
  transform: none;
}

.ys-sx-stage.is-mobile .ys-sx-win {
  transform: translate3d(-18px, 0, 0);
}

.ys-sx-stage.is-mobile .ys-sx-win::after {
  background-color: rgba(8, 26, 51, 0.42);
}

.ys-sx-notch {
  position: absolute;
  inset-block-start: 11px;
  inset-inline-start: 50%;
  z-index: 5;
  inline-size: 38px;
  block-size: 9px;
  margin-inline-start: -19px;
  border-radius: 6px;
  background-color: #0b0f15;
}

.ys-sx-phone-screen {
  position: relative;
  block-size: 100%;
  overflow: hidden;
  border-radius: 18px;
  background-color: #f7f4ef;
}

.ys-sx-phone-screen > .ys-sx-view {
  position: absolute;
  inset: 0;
}

.ys-sx-phone-screen .ys-sx-nav {
  padding-block-start: 6px;
  block-size: 40px;
}

/* hero intro (only once JS drives the scene) */
.ys-sx.is-live .ys-sx-hero-copy > * {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-sx-hero.is-in .ys-sx-hero-copy > * {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-sx-hero.is-in .ys-sx-hero-copy > :nth-child(2) { transition-delay: 0.1s; }
.ys-sx.is-live .ys-sx-hero.is-in .ys-sx-hero-copy > :nth-child(3) { transition-delay: 0.2s; }
.ys-sx.is-live .ys-sx-hero.is-in .ys-sx-hero-copy > :nth-child(4) { transition-delay: 0.3s; }

.ys-sx.is-playing .ys-sx-win .ys-sx-hero img {
  animation: ys-sx-kb 16s ease-in-out infinite alternate;
}

@keyframes ys-sx-kb {
  to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
}

/* =========================================================
   CUSTOM SOFTWARE SCENE
   ========================================================= */
.ys-sx-appwin {
  flex-direction: row;
  background-color: #0e1d33;
  color: #e6edf7;
}

.ys-sx-side {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
  background-color: #0a172b;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
}

.ys-sx-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 6px;
  font-size: 11.5px;
  font-weight: 800;
}

.ys-sx-brand i {
  color: #e67a2e;
  font-size: 15px;
}

.ys-sx-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ys-sx-mi {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  block-size: 26px;
  padding-inline: 8px;
  border-radius: 7px;
  color: #8fa1ba;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.ys-sx-mi > i {
  inline-size: 14px;
  font-size: 12px;
}

.ys-sx-mi b {
  font-weight: 600;
}

.ys-sx-mi em {
  display: grid;
  place-items: center;
  min-inline-size: 18px;
  block-size: 16px;
  margin-inline-start: auto;
  padding-inline: 4px;
  border-radius: 8px;
  background-color: rgba(230, 122, 46, 0.2);
  color: #ffb37a;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-sx-mi em.is-bump {
  animation: ys-sx-bump 0.6s ease;
}

.ys-sx-mi.is-on {
  color: #fff;
}

.ys-sx-mi.is-pressed {
  color: #fff;
}

.ys-sx-mi-ind {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 26px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(230, 122, 46, 0.24), rgba(230, 122, 46, 0.07));
  box-shadow: inset 2px 0 0 #e67a2e;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx-me {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-block-start: auto;
  padding-inline: 4px;
  font-size: 10.5px;
}

.ys-sx-me i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f29a55, #c85f18);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-sx-me b {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.ys-sx-me small {
  color: #8fa1ba;
  font-size: 10px;
  font-weight: 500;
}

.ys-sx-main {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-inline-size: 0;
  padding: 10px 12px 0;
  overflow: hidden;
}

.ys-sx-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-inline-size: 0;
}

.ys-sx-ttl {
  min-inline-size: 0;
  white-space: nowrap;
}

.ys-sx-ttl b {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.ys-sx-ttl small {
  color: #8fa1ba;
  font-size: 10px;
}

.ys-sx-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-inline-size: 0;
  block-size: 26px;
  margin-inline-start: auto;
  padding-inline: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #7f91aa;
  font-size: 10px;
  white-space: nowrap;
}

.ys-sx-search span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ys-sx-new {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  block-size: 26px;
  padding-inline: 10px;
  border-radius: 7px;
  background-color: #e67a2e;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(230, 122, 46, 0.85);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ys-sx-new.is-pressed,
.ys-sx-save.is-pressed {
  transform: translateY(1px) scale(0.97);
  filter: brightness(0.9);
}

.ys-sx-views {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  container: sxviews / size;
}

.ys-sx-v {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.5s;
}

.ys-sx-v.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.ys-sx-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ys-sx-kpis article {
  min-inline-size: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  white-space: nowrap;
}

.ys-sx-kpis span {
  display: block;
  overflow: hidden;
  color: #8fa1ba;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.ys-sx-kpis b {
  display: block;
  margin-block: 2px 1px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
}

.ys-sx-kpis b.is-bump {
  animation: ys-sx-bump 0.7s ease;
}

.ys-sx-kpis em {
  color: #8fa1ba;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.ys-sx-kpis em.is-up {
  color: #4ade80;
}

@keyframes ys-sx-bump {
  0%, 100% { color: inherit; }
  30% { color: #ffb37a; }
}

.ys-sx-dgrid,
.ys-sx-rgrid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 8px;
  min-block-size: 0;
}

.ys-sx-rgrid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.ys-sx-panel {
  display: flex;
  flex-direction: column;
  min-block-size: 0;
  min-inline-size: 0;
  padding: 8px 10px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-block-end: 0;
  border-radius: 9px 9px 0 0;
  background-color: rgba(255, 255, 255, 0.035);
}

.ys-sx-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 4px;
  white-space: nowrap;
}

.ys-sx-panel > header b {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.ys-sx-panel > header small {
  overflow: hidden;
  color: #8fa1ba;
  font-size: 10px;
  text-overflow: ellipsis;
}

.ys-sx-panel > header small.is-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #86efac;
}

.ys-sx-panel > header small.is-live::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

.ys-sx-tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 86px;
  align-items: center;
  gap: 8px;
  min-block-size: 31px;
  overflow: hidden;
  border-block-start: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px;
}

.ys-sx-tr.is-th {
  min-block-size: 20px;
  border-block-start: 0;
  color: #7f91aa;
  font-size: 10px;
  font-weight: 700;
}

.ys-sx-tr > span:first-child {
  min-inline-size: 0;
}

.ys-sx-tr > span:first-child b {
  display: block;
  overflow: hidden;
  color: #e6edf7;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-sx-tr > span:first-child small {
  display: block;
  color: #7f91aa;
  font-size: 10px;
  line-height: 1.2;
}

.ys-sx-tr > span:nth-child(2) {
  color: #cbd5e1;
  font-weight: 700;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.ys-sx-tr > span:nth-child(3) {
  justify-self: end;
}

.ys-sx-st {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  block-size: 18px;
  padding-inline: 7px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.ys-sx-st::before {
  content: "";
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background-color: currentColor;
}

.ys-sx-st.is-prep { background-color: rgba(250, 204, 21, 0.14); color: #fcd34d; }
.ys-sx-st.is-ship { background-color: rgba(96, 165, 250, 0.16); color: #93c5fd; }
.ys-sx-st.is-done { background-color: rgba(74, 222, 128, 0.14); color: #86efac; }
.ys-sx-st.is-wait { background-color: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.ys-sx-st.is-new { background-color: rgba(230, 122, 46, 0.22); color: #ffb37a; }

.ys-sx-st.is-flip {
  animation: ys-sx-flip 0.5s ease;
}

@keyframes ys-sx-flip {
  0% { transform: scale(1); }
  40% { transform: scale(0.86); }
  100% { transform: scale(1); }
}

.ys-sx-tr.is-enter {
  animation: ys-sx-row-in 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ys-sx-tr.is-leave {
  animation: ys-sx-row-out 0.45s ease both;
}

@keyframes ys-sx-row-in {
  0% { max-block-size: 0; min-block-size: 0; opacity: 0; background-color: rgba(230, 122, 46, 0.24); }
  18% { max-block-size: 40px; min-block-size: 31px; opacity: 1; background-color: rgba(230, 122, 46, 0.24); }
  70% { background-color: rgba(230, 122, 46, 0.14); }
  100% { max-block-size: 40px; min-block-size: 31px; opacity: 1; background-color: rgba(230, 122, 46, 0); }
}

@keyframes ys-sx-row-out {
  from { max-block-size: 40px; opacity: 1; }
  to { max-block-size: 0; min-block-size: 0; opacity: 0; }
}

.ys-sx-plot {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 50px;
  margin-block-start: 6px;
}

.ys-sx-plot svg {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  overflow: visible;
}

.ys-sx-gridl line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ys-sx-line {
  fill: none;
  stroke: #e67a2e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ys-sx-area {
  fill: url(#ysSxArea);
}

.ys-sx-dot {
  position: absolute;
  inset-inline-start: 100%;
  inline-size: 9px;
  block-size: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background-color: #e67a2e;
  box-shadow: 0 0 0 3px rgba(230, 122, 46, 0.25);
}

.ys-sx-dot b {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-end: -4px;
  padding: 3px 6px;
  border-radius: 5px;
  background-color: #f8fafc;
  color: #0e1d33;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-sx-days {
  display: flex;
  justify-content: space-between;
  padding-block: 4px 6px;
  color: #7f91aa;
  font-size: 10px;
}

/* reports */
.ys-sx-barwrap {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-block-size: 0;
  padding-block-end: 6px;
}

.ys-sx-barwrap > span {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-inline-size: 0;
}

.ys-sx-barwrap b {
  color: #e6edf7;
  font-size: 10px;
  font-weight: 700;
  transition: opacity 0.4s ease;
  transition-delay: calc(var(--i, 0) * 70ms + 0.35s);
}

.ys-sx-barwrap i {
  display: block;
  inline-size: 100%;
  max-inline-size: 26px;
  block-size: calc(var(--h, 1) * (100cqh - 92px));
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(147, 197, 253, 0.55), rgba(96, 165, 250, 0.18));
  transform-origin: bottom;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.ys-sx-barwrap .is-now i {
  background: linear-gradient(180deg, #f29a55, rgba(230, 122, 46, 0.35));
}

.ys-sx-barwrap small {
  color: #7f91aa;
  font-size: 10px;
}

.ys-sx-donut .ys-sx-ring {
  position: relative;
  inline-size: min(100%, 92px, 52cqh);
  aspect-ratio: 1;
  margin: 2px auto 8px;
}

.ys-sx-ring svg {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  transform: rotate(-90deg);
}

.ys-sx-ring circle {
  fill: none;
  stroke-width: 5.5;
}

.ys-sx-track {
  stroke: rgba(255, 255, 255, 0.07);
}

.ys-sx-arc {
  transition: stroke-dasharray 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.ys-sx-arc.is-a { stroke: #e67a2e; stroke-dasharray: 58 42; stroke-dashoffset: 0; }
.ys-sx-arc.is-b { stroke: #60a5fa; stroke-dasharray: 27 73; stroke-dashoffset: -58; }
.ys-sx-arc.is-c { stroke: #a78bfa; stroke-dasharray: 15 85; stroke-dashoffset: -85; }

.ys-sx-ring > b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

.ys-sx-donut ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-sx-donut li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 10.5px;
}

.ys-sx-donut li i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 2px;
  background-color: #e67a2e;
}

.ys-sx-donut li i.is-b { background-color: #60a5fa; }
.ys-sx-donut li i.is-c { background-color: #a78bfa; }

.ys-sx-donut li b {
  margin-inline-start: auto;
  color: #fff;
}

/* new-order drawer */
.ys-sx-drawer {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  inline-size: 46%;
  min-inline-size: 190px;
  padding: 12px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #11223b;
  box-shadow: -18px 0 30px -12px rgba(0, 0, 0, 0.6);
  transform: translate3d(105%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx-drawer.is-open {
  transform: none;
}

.ys-sx-drawer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ys-sx-drawer > header b {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.ys-sx-drawer > header i {
  color: #8fa1ba;
  font-size: 11px;
}

.ys-sx-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ys-sx-field > small {
  color: #8fa1ba;
  font-size: 10px;
  font-weight: 700;
}

.ys-sx-input {
  display: flex;
  align-items: center;
  gap: 1px;
  block-size: 28px;
  padding-inline: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background-color: #0b1a2f;
  color: #e6edf7;
  font-size: 10.5px;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ys-sx-input.is-focus {
  border-color: #e67a2e;
  box-shadow: 0 0 0 3px rgba(230, 122, 46, 0.18);
}

.ys-sx-input.is-select {
  justify-content: space-between;
  color: #8fa1ba;
}

.ys-sx-input.is-select.has-val {
  color: #e6edf7;
}

.ys-sx-caret {
  inline-size: 1px;
  block-size: 12px;
  background-color: #e6edf7;
  opacity: 0;
}

.ys-sx-input.is-focus .ys-sx-caret {
  animation: ys-sx-blink 1s steps(1, end) infinite;
}

@keyframes ys-sx-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.ys-sx-opts {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-block-start: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: #16294a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.ys-sx-opts.is-open {
  opacity: 1;
  transform: none;
}

.ys-sx-opts span {
  padding: 5px 8px;
  border-radius: 5px;
  color: #cbd5e1;
  font-size: 10.5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ys-sx-opts span.is-hl {
  background-color: rgba(230, 122, 46, 0.22);
  color: #fff;
}

.ys-sx-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  block-size: 30px;
  margin-block: auto 12px;
  border-radius: 8px;
  background-color: #e67a2e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ys-sx-spin {
  display: none;
  inline-size: 11px;
  block-size: 11px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-block-start-color: #fff;
  border-radius: 50%;
  animation: ys-sx-rot 0.7s linear infinite;
}

.ys-sx-save.is-busy .ys-sx-spin {
  display: block;
}

@keyframes ys-sx-rot {
  to { transform: rotate(360deg); }
}

.ys-sx-toast {
  position: absolute;
  inset-block-end: 14px;
  inset-inline: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  inline-size: max-content;
  max-inline-size: calc(100% - 24px);
  margin-inline: auto;
  padding: 7px 12px;
  border-radius: 9px;
  background-color: #f8fafc;
  color: #0e1d33;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.ys-sx-toast i {
  color: #16a34a;
  font-size: 12px;
}

.ys-sx-toast.is-on {
  opacity: 1;
  transform: none;
}

/* dashboard intro (only once JS drives the scene) */
.ys-sx.is-live .ys-sx-v .ys-sx-kpis article,
.ys-sx.is-live .ys-sx-v .ys-sx-panel {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-sx-v.is-in .ys-sx-kpis article,
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-panel {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-sx-v.is-in .ys-sx-kpis article:nth-child(2) { transition-delay: 0.08s; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-kpis article:nth-child(3) { transition-delay: 0.16s; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-panel { transition-delay: 0.22s; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-panel + .ys-sx-panel { transition-delay: 0.3s; }

.ys-sx.is-live .ys-sx-plot svg {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.ys-sx.is-live .ys-sx-plot .ys-sx-dot {
  opacity: 0;
  transition: opacity 0.3s ease 1.5s, top 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-sx-v.is-in .ys-sx-plot svg {
  clip-path: inset(0 0 0 0);
}

.ys-sx.is-live .ys-sx-v.is-in .ys-sx-plot .ys-sx-dot {
  opacity: 1;
}

.ys-sx.is-live .ys-sx-v .ys-sx-barwrap i { transform: scaleY(0); }
.ys-sx.is-live .ys-sx-v .ys-sx-barwrap b { opacity: 0; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-barwrap i { transform: none; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-barwrap b { opacity: 1; }
.ys-sx.is-live .ys-sx-v .ys-sx-arc { stroke-dasharray: 0 100; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-arc.is-a { stroke-dasharray: 58 42; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-arc.is-b { stroke-dasharray: 27 73; }
.ys-sx.is-live .ys-sx-v.is-in .ys-sx-arc.is-c { stroke-dasharray: 15 85; }

/* compact app (narrow desktop cards) */
@container sx (max-width: 520px) {
  .ys-sx-side { flex-basis: 46px; align-items: center; padding: 10px 6px; }
  .ys-sx-brand { padding: 0; }
  .ys-sx-brand b,
  .ys-sx-mi b,
  .ys-sx-mi em,
  .ys-sx-me b,
  .ys-sx-search { display: none; }
  .ys-sx-mi { justify-content: center; inline-size: 32px; padding: 0; }
  .ys-sx-mi > i { inline-size: auto; font-size: 13px; }
  .ys-sx-menu { inline-size: 32px; }
  .ys-sx-me { padding: 0; }
  .ys-sx-new { margin-inline-start: auto; }
}

/* phone-width scenes */
@container sx (max-width: 459px) {
  .ys-sx-stage { inset: 10px 10px 0; }
  .ys-sx-seg,
  .ys-sx-phone { display: none !important; }
  .ys-sx-url { flex-basis: auto; margin-inline-end: 0; }
  .ys-sx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-sx-kpis .is-opt,
  .ys-sx-chart,
  .ys-sx-donut,
  .ys-sx-ttl small { display: none; }
  .ys-sx-dgrid,
  .ys-sx-rgrid { grid-template-columns: minmax(0, 1fr); }
  .ys-sx-tr { grid-template-columns: minmax(0, 1fr) auto; }
  .ys-sx-tr > span:nth-child(2) { display: none; }
  .ys-sx-drawer {
    inset: auto 0 0;
    gap: 7px;
    inline-size: auto;
    min-inline-size: 0;
    block-size: auto;
    max-block-size: 100%;
    padding: 10px 12px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
    border-inline-start: 0;
    border-radius: 12px 12px 0 0;
    transform: translate3d(0, 105%, 0);
  }
  .ys-sx-drawer .ys-sx-input { block-size: 26px; }
  .ys-sx-drawer .ys-sx-save { block-size: 28px; margin-block: 4px 2px; }
}

/* =========================================================
   SHARED (new scenes)
   ========================================================= */
:is(.ys-sx-wa, .ys-sx-ec, .ys-sx-se, .ys-sx-so, .ys-sx-lg, .ys-sx-hs) .is-pressed {
  filter: brightness(0.9);
}

:is(.ys-sx-wa, .ys-sx-ec, .ys-sx-se, .ys-sx-so, .ys-sx-lg, .ys-sx-hs) .is-bump {
  animation: ys-v2-bump 0.45s ease;
}

@keyframes ys-v2-bump {
  0%, 100% { transform: none; }
  40% { transform: scale(1.22); }
}

@keyframes ys-v2-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* =========================================================
   WEB-BASED PROJECTS SCENE (client project portal)
   ========================================================= */
.ys-wa-win {
  background-color: #f5f7fb;
  color: #1e293b;
}

.ys-wa-app {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  min-block-size: 0;
}

.ys-wa-rail {
  flex: 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding-block: 10px;
  background-color: #1e2a4a;
  color: #8796b8;
  font-size: 13px;
}

.ys-wa-logo {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  margin-block-end: 2px;
  border-radius: 7px;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.ys-wa-rail i.is-on {
  padding: 3px 6px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ys-wa-main {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow: hidden;
}

.ys-wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px 7px;
}

.ys-wa-ttl {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  margin-inline-end: auto;
}

.ys-wa-ttl small {
  color: #64748b;
  font-weight: 600;
}

.ys-wa-ttl b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-wa-prog {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-weight: 700;
}

.ys-wa-bar {
  inline-size: 64px;
  block-size: 6px;
  overflow: hidden;
  border-radius: 99px;
  background-color: #e2e8f0;
}

.ys-wa-bar i {
  display: block;
  block-size: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-wa-prog b {
  min-inline-size: 28px;
  color: #1e293b;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ys-wa-team {
  display: flex;
  padding-inline-start: 6px;
}

.ys-wa-team i,
.ys-wa-av {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  background-color: #f59e0b;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ys-wa-team i {
  margin-inline-start: -6px;
  border: 2px solid #f5f7fb;
}

.ys-wa-team i:nth-child(2),
.ys-wa-av.is-2 { background-color: #8b5cf6; }
.ys-wa-team i:nth-child(3),
.ys-wa-av.is-3 { background-color: #0ea5e9; }

.ys-wa-bell {
  position: relative;
  color: #475569;
  font-size: 14px;
}

.ys-wa-bell em {
  position: absolute;
  inset-block-start: -5px;
  inset-inline-end: -8px;
  min-inline-size: 15px;
  padding-inline: 3px;
  border-radius: 99px;
  background-color: #ef4444;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

.ys-wa-tabs {
  display: flex;
  gap: 16px;
  padding-inline: 14px;
  border-block-end: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}

.ys-wa-tabs span {
  padding-block: 5px;
  transition: color 0.25s ease, box-shadow 0.25s ease;
}

.ys-wa-tabs span.is-on {
  color: #4f46e5;
  box-shadow: inset 0 -2px #4f46e5;
}

.ys-wa-views {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
}

.ys-wa-board,
.ys-wa-time {
  position: absolute;
  inset: 0;
  display: none;
  padding: 10px 12px;
  overflow: hidden;
}

.ys-wa-board.is-on {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.ys-wa-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-inline-size: 0;
  padding: 7px;
  border-radius: 9px;
  background-color: #e9edf4;
}

.ys-wa-col > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #334155;
  font-size: 10.5px;
  font-weight: 800;
}

.ys-wa-col > header em {
  padding-inline: 6px;
  border-radius: 99px;
  background-color: #fff;
  color: #64748b;
  font-size: 10px;
  font-style: normal;
}

.ys-wa-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-block-size: 40px;
}

.ys-wa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 8px;
  border-radius: 7px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  transition: transform 0.9s cubic-bezier(0.45, 0.05, 0.25, 1), box-shadow 0.3s ease;
}

.ys-wa-card > b {
  color: #1e293b;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}

.ys-wa-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.ys-wa-card footer span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ys-wa-card footer em {
  font-style: normal;
}

.ys-wa-card .ys-wa-av {
  inline-size: 20px;
  block-size: 20px;
}

.ys-wa-fd { display: none !important; }
.ys-wa-card.is-done .ys-wa-fo { display: none !important; }
.ys-wa-card.is-done .ys-wa-fd { display: flex !important; }

.ys-wa-card.is-done footer span {
  color: #16a34a;
}

.ys-wa-lbl {
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: 4px;
  background-color: #e0e7ff;
  color: #4338ca;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.ys-wa-lbl.is-b { background-color: #fce7f3; color: #be185d; }
.ys-wa-lbl.is-c { background-color: #dcfce7; color: #15803d; }

.ys-wa-card.is-lift {
  z-index: 5;
  box-shadow: 0 16px 28px -8px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.45);
}

.ys-wa-card.is-drop {
  animation: ys-wa-drop 0.5s ease;
}

@keyframes ys-wa-drop {
  0% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.7); }
  100% { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04); }
}

.ys-wa-ph {
  border: 1.5px dashed #a5b4fc;
  border-radius: 7px;
  background-color: rgba(99, 102, 241, 0.06);
}

.ys-wa-ping {
  position: absolute;
  inset-block-start: -11px;
  inset-inline-end: -4px;
  z-index: 3;
  padding: 3px 7px;
  border-radius: 6px;
  background-color: #1e293b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.ys-wa-ping.is-on {
  opacity: 1;
  transform: none;
}

.ys-wa-detail {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 7px;
  inline-size: 46%;
  min-inline-size: 190px;
  padding: 12px;
  border-inline-start: 1px solid #e2e8f0;
  background-color: #fff;
  box-shadow: -16px 0 30px -14px rgba(15, 23, 42, 0.35);
  transform: translate3d(104%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-wa-detail.is-open {
  transform: none;
}

.ys-wa-detail > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ys-wa-detail .bi-x-lg {
  color: #94a3b8;
  font-size: 11px;
}

.ys-wa-dt {
  font-size: 12.5px;
  font-weight: 800;
}

.ys-wa-detail dl {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5px 10px;
  margin: 0;
  font-size: 10.5px;
}

.ys-wa-detail dt {
  color: #64748b;
  font-weight: 600;
}

.ys-wa-detail dd {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-weight: 700;
}

.ys-wa-pill {
  padding: 1px 7px;
  border-radius: 99px;
  background-color: #fef3c7;
  color: #b45309;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ys-wa-pill.is-done {
  background-color: #dcfce7;
  color: #15803d;
}

.ys-wa-ck {
  margin-block-start: 2px;
  color: #64748b;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ys-wa-chk {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 10.5px;
  font-weight: 600;
}

.ys-wa-chk li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  transition: color 0.3s ease;
}

.ys-wa-chk li i {
  display: grid;
  place-items: center;
  flex: 0 0 13px;
  block-size: 13px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.ys-wa-chk li.is-on {
  color: #94a3b8;
  text-decoration: line-through;
}

.ys-wa-chk li.is-on i {
  border-color: #22c55e;
  background-color: #22c55e;
}

.ys-wa-chk li.is-on i::after {
  content: "";
  inline-size: 6px;
  block-size: 3px;
  border-block-end: 2px solid #fff;
  border-inline-start: 2px solid #fff;
  transform: translate(0, -1px) rotate(-45deg);
}

/* timeline */
.ys-wa-time {
  --lw: 118px;
}

.ys-wa-time.is-on {
  display: grid;
  align-content: start;
  gap: 7px;
}

.ys-wa-gh,
.ys-wa-gr {
  display: grid;
  grid-template-columns: var(--lw) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.ys-wa-gh {
  grid-template-columns: var(--lw) repeat(4, minmax(0, 1fr));
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
}

.ys-wa-gh span + span {
  margin-inline-start: -10px;
}

.ys-wa-gr b {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-wa-gr > span {
  position: relative;
  block-size: 18px;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #e2e8f0 calc(25% - 1px) 25%);
}

.ys-wa-gr > span > i {
  position: absolute;
  inset-block: 3px;
  inset-inline-start: calc(var(--s) * 100%);
  inline-size: calc(var(--w) * 100%);
  border-radius: 4px;
  background-color: #6366f1;
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-wa-gr > span > i.is-done { background-color: #22c55e; }
.ys-wa-gr > span > i.is-next { background-color: #f59e0b; }

.ys-wa-ms {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 2px;
  color: #b45309;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  transform: translateY(-50%);
}

.ys-wa-today {
  position: absolute;
  inset-block: 24px 8px;
  inset-inline-start: calc(12px + var(--lw) + 10px + (100% - var(--lw) - 34px) * var(--t));
  inline-size: 2px;
  border-radius: 2px;
  background-color: #ef4444;
}

.ys-wa-today small {
  position: absolute;
  inset-block-end: 100%;
  inset-inline-start: 50%;
  padding: 0 5px;
  border-radius: 4px;
  background-color: #ef4444;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  transform: translate(-50%, -2px);
}

/* intros (JS-driven only) */
.ys-sx.is-live .ys-wa-board .ys-wa-col {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-wa-board.is-in .ys-wa-col {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-wa-board.is-in .ys-wa-col:nth-child(2) { transition-delay: 0.1s; }
.ys-sx.is-live .ys-wa-board.is-in .ys-wa-col:nth-child(3) { transition-delay: 0.2s; }

.ys-sx.is-live .ys-wa-time .ys-wa-gr > span > i {
  transform: scaleX(0);
}

.ys-sx.is-live .ys-wa-time.is-in .ys-wa-gr > span > i {
  transform: none;
}

.ys-sx.is-live .ys-wa-time.is-in .ys-wa-gr:nth-child(3) > span > i { transition-delay: 0.12s; }
.ys-sx.is-live .ys-wa-time.is-in .ys-wa-gr:nth-child(4) > span > i { transition-delay: 0.24s; }
.ys-sx.is-live .ys-wa-time.is-in .ys-wa-gr:nth-child(5) > span > i { transition-delay: 0.36s; }
.ys-sx.is-live .ys-wa-time.is-in .ys-wa-gr:nth-child(6) > span > i { transition-delay: 0.48s; }

/* =========================================================
   E-COMMERCE SCENE (product -> cart -> checkout)
   ========================================================= */
.ys-ec-win {
  color: #111827;
}

.ys-ec-site {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-block-size: 0;
  overflow: hidden;
  background-color: #fff;
}

.ys-ec-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  block-size: 34px;
  padding-inline: 14px;
  border-block-end: 1px solid #f0f0f0;
}

.ys-ec-logo {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ys-ec-logo i {
  color: #c8613f;
  font-style: normal;
}

.ys-ec-links {
  display: flex;
  gap: 12px;
  color: #4b5563;
  font-size: 10.5px;
  font-weight: 600;
}

.ys-ec-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  color: #374151;
  font-size: 12px;
}

.ys-ec-cart {
  position: relative;
  display: flex;
}

.ys-ec-cart em {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -9px;
  min-inline-size: 15px;
  padding-inline: 3px;
  border-radius: 99px;
  background-color: #111827;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

.ys-ec-views {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
}

.ys-ec-views::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background-color: rgba(17, 24, 39, 0);
  pointer-events: none;
  transition: background-color 0.4s ease;
}

.ys-ec-site.is-mini .ys-ec-views::after {
  background-color: rgba(17, 24, 39, 0.28);
}

.ys-ec-pdp,
.ys-ec-co {
  position: absolute;
  inset: 0;
  display: none;
  padding: 12px 16px;
}

.ys-ec-pdp.is-on {
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr);
  gap: 16px;
}

.ys-ec-gal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-block-size: 0;
}

.ys-ec-main {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f1f1f1;
}

.ys-ec-main img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transform-origin: 34% 66%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.ys-ec-main.is-zoom img {
  transform: scale(1.9);
}

.ys-ec-hp {
  transition: filter 0.5s ease;
}

.ys-ec-site[data-color="2"] .ys-ec-hp { filter: hue-rotate(185deg) saturate(0.85); }
.ys-ec-site[data-color="3"] .ys-ec-hp { filter: hue-rotate(75deg) saturate(0.5); }

.ys-ec-tag {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  background-color: #c8613f;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-ec-thumbs {
  display: flex;
  gap: 6px;
}

.ys-ec-thumbs > i {
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  overflow: hidden;
  border-radius: 7px;
  background-color: #f1f1f1;
  outline: 1.5px solid transparent;
  outline-offset: 1px;
  transition: outline-color 0.3s ease;
}

.ys-ec-thumbs > i.is-on {
  outline-color: #111827;
}

.ys-ec-thumbs img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.ys-ec-thumbs img.is-zoom {
  transform: scale(1.9);
  transform-origin: 34% 66%;
}

.ys-ec-thumbs b {
  color: #6b7280;
  font-size: 10px;
}

.ys-ec-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-inline-size: 0;
}

.ys-ec-crumb {
  color: #9ca3af;
  font-weight: 600;
}

.ys-ec-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ys-ec-rate {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-ec-rate i {
  color: #f59e0b;
  font-style: normal;
  letter-spacing: 1px;
}

.ys-ec-rate small {
  color: #9ca3af;
  font-weight: 500;
}

.ys-ec-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ys-ec-price b {
  font-size: 18px;
  font-weight: 800;
}

.ys-ec-price s {
  color: #9ca3af;
  font-size: 11px;
}

.ys-ec-opt {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ys-ec-opt small {
  color: #6b7280;
  font-size: 10.5px;
}

.ys-ec-opt small b {
  color: #111827;
}

.ys-ec-sw {
  display: flex;
  gap: 8px;
  padding-inline-start: 2px;
}

.ys-ec-sw i {
  inline-size: 18px;
  block-size: 18px;
  border-radius: 50%;
  background-color: var(--c);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent;
  transition: box-shadow 0.3s ease;
}

.ys-ec-sw i.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #111827;
}

.ys-ec-buy {
  display: flex;
  gap: 8px;
}

.ys-ec-qty {
  display: flex;
  align-items: center;
  gap: 9px;
  block-size: 30px;
  padding-inline: 9px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 11px;
}

.ys-ec-qty b {
  min-inline-size: 8px;
  font-size: 11.5px;
  text-align: center;
}

.ys-ec-add {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-inline-size: 0;
  block-size: 30px;
  border-radius: 8px;
  background-color: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.ys-ec-add .bi-check-lg { display: none; }
.ys-ec-add.is-busy .ys-sx-spin { display: block; }
.ys-ec-add.is-done { background-color: #15803d; }
.ys-ec-add.is-done .bi-check-lg { display: inline; }

.ys-ec-perks {
  display: flex;
  gap: 10px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ec-perks span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* mini cart */
.ys-ec-mini {
  position: absolute;
  inset-block: 34px 0;
  inset-inline-end: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 9px;
  inline-size: 44%;
  min-inline-size: 200px;
  padding: 12px;
  border-inline-start: 1px solid #eee;
  background-color: #fff;
  box-shadow: -18px 0 30px -14px rgba(0, 0, 0, 0.3);
  transform: translate3d(105%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-ec-site.is-mini .ys-ec-mini {
  transform: none;
}

.ys-ec-mini > header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ys-ec-mini > header b {
  font-size: 12px;
  font-weight: 800;
}

.ys-ec-mini > header small {
  color: #6b7280;
}

.ys-ec-mini > header i {
  margin-inline-start: auto;
  color: #9ca3af;
  font-size: 11px;
}

.ys-ec-li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ys-ec-thumb {
  flex: 0 0 38px;
  block-size: 38px;
  overflow: hidden;
  border-radius: 7px;
  background-color: #f1f1f1;
}

.ys-ec-thumb img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.ys-ec-li > span {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-inline-size: 0;
}

.ys-ec-li > span b {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ec-li > span small {
  color: #6b7280;
}

.ys-ec-li > em {
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.ys-ec-row {
  display: flex;
  justify-content: space-between;
  color: #6b7280;
  font-size: 10.5px;
}

.ys-ec-row b { color: #111827; }
.ys-ec-row b.is-free { color: #15803d; }

.ys-ec-row.is-total {
  padding-block-start: 7px;
  border-block-start: 1px solid #f0f0f0;
  color: #111827;
  font-weight: 800;
}

.ys-ec-row.is-total b {
  font-size: 13px;
}

.ys-ec-go,
.ys-ec-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  block-size: 30px;
  margin-block-start: auto;
  border-radius: 8px;
  background-color: #c8613f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-ec-pay { background-color: #111827; }
.ys-ec-pay.is-busy .ys-sx-spin { display: block; }

.ys-ec-fly {
  position: absolute;
  z-index: 9;
  display: none;
  overflow: hidden;
  border-radius: 10px;
  pointer-events: none;
}

.ys-ec-fly.is-on { display: block; }

.ys-ec-fly img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

/* checkout */
.ys-ec-co.is-on {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.ys-ec-steps {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9ca3af;
  font-size: 10.5px;
  font-weight: 700;
}

.ys-ec-steps li {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.ys-ec-steps li:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  block-size: 1px;
  margin-inline-start: 4px;
  background-color: #e5e7eb;
}

.ys-ec-steps li > i {
  display: grid;
  place-items: center;
  flex: 0 0 16px;
  block-size: 16px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: 10px;
  font-style: normal;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ys-ec-steps li.is-on { color: #111827; }
.ys-ec-steps li.is-on > i { background-color: #111827; color: #fff; }
.ys-ec-steps li.is-done { color: #15803d; }
.ys-ec-steps li.is-done > i { background-color: #dcfce7; color: #15803d; }

.ys-ec-cogrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  gap: 14px;
  min-block-size: 0;
}

.ys-ec-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-inline-size: 0;
}

.ys-ec-f {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-inline-size: 0;
}

.ys-ec-f small {
  color: #6b7280;
  font-weight: 700;
}

.ys-ec-in {
  display: flex;
  align-items: center;
  gap: 6px;
  block-size: 28px;
  padding-inline: 9px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-ec-in i { color: #6b7280; }

.ys-ec-in.is-focus {
  border-color: #c8613f;
  box-shadow: 0 0 0 3px rgba(200, 97, 63, 0.15);
}

.ys-ec-caret {
  display: none;
  inline-size: 1.5px;
  block-size: 13px;
  margin-inline-start: -5px;
  background-color: #c8613f;
}

.ys-ec-in.is-focus .ys-ec-caret {
  display: block;
  animation: ys-v2-blink 1s steps(1, end) infinite;
}

.ys-ec-f2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ys-ec-secure {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #15803d;
  font-size: 10px;
  font-weight: 700;
}

.ys-ec-sum {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-inline-size: 0;
  padding: 10px;
  border-radius: 10px;
  background-color: #f9fafb;
}

.ys-ec-sumt {
  font-size: 11.5px;
  font-weight: 800;
}

.ys-ec-ok {
  position: absolute;
  inset: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ys-ec-co.is-ok .ys-ec-ok {
  opacity: 1;
  visibility: visible;
}

.ys-ec-ok svg {
  inline-size: 52px;
  block-size: 52px;
}

.ys-ec-ok circle {
  fill: #dcfce7;
  stroke: #22c55e;
  stroke-width: 2;
}

.ys-ec-ok path {
  fill: none;
  stroke: #15803d;
  stroke-width: 3.5;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 0.6s ease 0.25s;
}

.ys-ec-co.is-ok .ys-ec-ok path {
  stroke-dashoffset: 0;
}

.ys-ec-ok b {
  font-size: 14px;
  font-weight: 800;
}

.ys-ec-ok small {
  color: #6b7280;
  font-size: 10.5px;
}

.ys-sx.is-live .ys-ec-pdp > *,
.ys-sx.is-live .ys-ec-co > :not(.ys-ec-ok) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-ec-pdp.is-in > *,
.ys-sx.is-live .ys-ec-co.is-in > :not(.ys-ec-ok) {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-ec-pdp.is-in > :nth-child(2),
.ys-sx.is-live .ys-ec-co.is-in > :nth-child(2) { transition-delay: 0.12s; }

/* =========================================================
   SEO & AI VISIBILITY SCENE
   ========================================================= */
.ys-se-win {
  background-color: #f6f8fc;
  color: #0f172a;
}

.ys-se-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  block-size: 34px;
  padding-inline: 14px;
  border-block-end: 1px solid #e8edf5;
  background-color: #fff;
}

.ys-se-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.ys-se-brand i {
  color: #2563eb;
  font-size: 13px;
}

.ys-se-dom,
.ys-se-range {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-se-dom {
  margin-inline-start: auto;
}

.ys-se-tabs {
  flex: 0 0 auto;
  display: flex;
  gap: 16px;
  padding-inline: 14px;
  border-block-end: 1px solid #e8edf5;
  background-color: #fff;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}

.ys-se-tabs span {
  padding-block: 6px;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease;
}

.ys-se-tabs span.is-on {
  color: #2563eb;
  box-shadow: inset 0 -2px #2563eb;
}

.ys-se-views {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
}

.ys-se-perf,
.ys-se-serp,
.ys-se-ai {
  position: absolute;
  inset: 0;
  display: none;
  padding: 10px 12px;
  overflow: hidden;
}

.ys-se-perf.is-on {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 9px;
}

.ys-se-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ys-se-kpis article {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-inline-size: 0;
  padding: 7px 9px;
  border-radius: 9px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #e8edf5;
}

.ys-se-kpis article > span:first-child {
  overflow: hidden;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-se-kpis article > b {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ys-se-kpis em {
  color: #16a34a;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.ys-se-gauge {
  position: relative;
  inline-size: 36px;
  block-size: 36px;
}

.ys-se-gauge svg {
  inline-size: 100%;
  block-size: 100%;
  transform: rotate(-90deg);
}

.ys-se-gauge circle {
  fill: none;
  stroke-width: 4.5;
}

.ys-se-gt { stroke: #e2e8f0; }

.ys-se-ga {
  stroke: #2563eb;
  stroke-linecap: round;
  transition: stroke-dasharray 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-se-gauge b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
}

.ys-se-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 9px;
  min-block-size: 0;
}

.ys-se-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-inline-size: 0;
  min-block-size: 0;
  padding: 8px 10px;
  overflow: hidden;
  border-radius: 9px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #e8edf5;
}

.ys-se-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ys-se-panel > header b {
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-se-panel > header small {
  color: #94a3b8;
  font-weight: 700;
}

.ys-se-leg {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-se-leg i {
  inline-size: 8px;
  block-size: 3px;
  border-radius: 2px;
  background-color: #2563eb;
}

.ys-se-leg i.is-b {
  margin-inline-start: 5px;
  background-color: #a855f7;
}

.ys-se-plot {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
}

.ys-se-plot svg {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
}

.ys-se-gl line {
  stroke: #eef2f7;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ys-se-imp,
.ys-se-clk {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ys-se-imp { stroke: #a855f7; }
.ys-se-clk { stroke: #2563eb; stroke-width: 2.4; }

.ys-se-tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  border-block-start: 1px solid #f1f5f9;
  font-size: 10.5px;
}

.ys-se-tr > span {
  overflow: hidden;
  color: #334155;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-se-tr > b {
  display: grid;
  place-items: center;
  min-inline-size: 22px;
  block-size: 18px;
  padding-inline: 4px;
  border-radius: 5px;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}

.ys-se-tr > em {
  color: #16a34a;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-align: end;
}

.ys-se-tr.is-up > b {
  animation: ys-se-flash 0.9s ease;
}

@keyframes ys-se-flash {
  0% { background-color: #bbf7d0; color: #15803d; }
  100% { background-color: #eff6ff; color: #1d4ed8; }
}

/* search results */
.ys-se-serp.is-on {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #fff;
}

.ys-se-q {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  block-size: 30px;
  padding-inline: 12px 4px;
  border-radius: 99px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #dfe3eb, 0 2px 6px rgba(15, 23, 42, 0.06);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-se-q .bi-search { color: #94a3b8; }

.ys-se-caret {
  display: none;
  inline-size: 1.5px;
  block-size: 13px;
  margin-inline-start: -7px;
  background-color: #2563eb;
}

.ys-se-serp.is-typing .ys-se-caret {
  display: block;
  animation: ys-v2-blink 1s steps(1, end) infinite;
}

.ys-se-cmp {
  display: flex;
  margin-inline-start: auto;
  padding: 2px;
  border-radius: 99px;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.ys-se-cmp span {
  padding: 2px 9px;
  border-radius: 99px;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ys-se-cmp span.is-on {
  background-color: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
}

.ys-se-res {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-block-size: 0;
}

.ys-se-r {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-inline-size: 0;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, opacity 0.35s ease, transform 0.4s ease;
}

.ys-se-src {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
}

.ys-se-src i {
  display: grid;
  place-items: center;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: #334155;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-se-r.is-ours .ys-se-src i {
  background-color: #e67a2e;
  color: #fff;
}

.ys-se-r > b {
  overflow: hidden;
  color: #1a4fd6;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-se-r > p {
  margin: 0;
  overflow: hidden;
  color: #475569;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-se-rich {
  display: none;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.ys-se-rich i {
  color: #f59e0b;
  font-style: normal;
}

.ys-se-r.is-top {
  background-color: #eff6ff;
  box-shadow: 0 0 0 1px #bfdbfe;
}

.ys-se-r.is-top .ys-se-rich { display: flex; }

/* AI answer */
.ys-se-ai.is-on {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background-color: #fff;
}

.ys-se-ask {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  align-self: flex-end;
  gap: 7px;
  max-inline-size: 86%;
}

.ys-se-ask > span {
  padding: 7px 10px;
  border-radius: 12px 12px 2px 12px;
  background-color: #2563eb;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
}

.ys-se-av {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  block-size: 22px;
  border-radius: 50%;
  background-color: #0f172a;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-se-ans {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 12px;
  background-color: #f8fafc;
  box-shadow: 0 0 0 1px #e8edf5;
}

.ys-se-bot {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7c3aed;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ys-se-ans p {
  min-block-size: 3em;
  margin: 0;
  color: #1e293b;
  font-size: 11px;
  line-height: 1.5;
}

.ys-se-ans p b { color: #1d4ed8; }

.ys-se-cite {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  transition: opacity 0.4s ease;
}

.ys-se-cite span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 3px;
  border-radius: 99px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
}

.ys-se-cite i {
  display: grid;
  place-items: center;
  inline-size: 15px;
  block-size: 15px;
  border-radius: 50%;
  background-color: #e2e8f0;
  font-size: 10px;
  font-style: normal;
}

.ys-se-cite span.is-ours {
  box-shadow: 0 0 0 1.5px #2563eb;
  color: #1d4ed8;
}

.ys-se-cite span.is-pulse {
  animation: ys-se-pulse 0.9s ease 2;
}

@keyframes ys-se-pulse {
  0%, 100% { box-shadow: 0 0 0 1.5px #2563eb; }
  50% { box-shadow: 0 0 0 1.5px #2563eb, 0 0 0 5px rgba(37, 99, 235, 0.2); }
}

.ys-sx.is-live .ys-se-ai:not(.is-done) .ys-se-cite {
  opacity: 0;
}

.ys-sx.is-live .ys-se-perf .ys-se-kpis article,
.ys-sx.is-live .ys-se-perf .ys-se-panel {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-se-perf.is-in .ys-se-kpis article,
.ys-sx.is-live .ys-se-perf.is-in .ys-se-panel {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-se-perf.is-in .ys-se-kpis article:nth-child(2) { transition-delay: 0.06s; }
.ys-sx.is-live .ys-se-perf.is-in .ys-se-kpis article:nth-child(3) { transition-delay: 0.12s; }
.ys-sx.is-live .ys-se-perf.is-in .ys-se-kpis article:nth-child(4) { transition-delay: 0.18s; }
.ys-sx.is-live .ys-se-perf.is-in .ys-se-panel { transition-delay: 0.24s; }
.ys-sx.is-live .ys-se-perf.is-in .ys-se-panel + .ys-se-panel { transition-delay: 0.32s; }

.ys-sx.is-live .ys-se-plot svg {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.ys-sx.is-live .ys-se-perf.is-in .ys-se-plot svg {
  clip-path: inset(0 0 0 0);
}

.ys-sx.is-live .ys-se-res:not(.is-in) .ys-se-r {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
}

.ys-sx.is-live .ys-se-res.is-in .ys-se-r:nth-child(2) { transition-delay: 0.1s; }
.ys-sx.is-live .ys-se-res.is-in .ys-se-r:nth-child(3) { transition-delay: 0.2s; }

/* =========================================================
   SOCIAL MEDIA SCENE (content calendar -> compose -> publish)
   ========================================================= */
.ys-so-win {
  background-color: #fbfaf8;
  color: #1f2937;
}

.ys-so-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  block-size: 36px;
  padding-inline: 12px;
  border-block-end: 1px solid #efeae4;
  background-color: #fff;
}

.ys-so-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-so-brand i { color: #db2777; }

.ys-so-acc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px 2px 2px;
  border-radius: 99px;
  background-color: #f6f1eb;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-so-av {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  block-size: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b45309, #e67a2e);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-so-week {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-inline-start: auto;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-so-week i {
  color: #94a3b8;
  font-size: 10px;
}

.ys-so-new {
  display: flex;
  align-items: center;
  gap: 5px;
  block-size: 24px;
  padding-inline: 10px;
  border-radius: 7px;
  background-color: #db2777;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-so-body {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  min-block-size: 0;
  padding: 10px 12px;
}

.ys-so-cal {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  min-block-size: 0;
}

.ys-so-day {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-inline-size: 0;
  padding: 6px 5px;
  border-radius: 9px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #efeae4;
}

.ys-so-day > header {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-inline: 1px;
}

.ys-so-day > header small {
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.ys-so-day > header b {
  font-size: 13px;
  font-weight: 800;
}

.ys-so-day.is-target {
  background-color: #fff8fb;
  box-shadow: 0 0 0 1px #f9a8d4;
}

.ys-so-chip {
  --cc: #db2777;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1px 4px;
  min-inline-size: 0;
  padding: 5px 6px 5px 5px;
  border-inline-start: 3px solid var(--cc);
  border-radius: 6px;
  background-color: #fdf2f8;
  font-size: 10px;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-so-chip.is-li { --cc: #0a66c2; background-color: #eff6ff; }
.ys-so-chip.is-fb { --cc: #1877f2; background-color: #eef4ff; }

.ys-so-chip > i {
  color: var(--cc);
  font-size: 10px;
}

.ys-so-chip > b {
  color: #334155;
  font-size: 10px;
  font-weight: 800;
}

.ys-so-chip > span {
  display: -webkit-box;
  grid-column: 1 / -1;
  overflow: hidden;
  color: #475569;
  font-weight: 600;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ys-so-chip.is-live {
  padding-inline-end: 14px;
}

.ys-so-chip.is-live::after {
  content: "";
  position: absolute;
  inset-block-start: 6px;
  inset-inline-end: 5px;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
  animation: ys-so-live 1.4s ease infinite;
}

@keyframes ys-so-live {
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.08); }
}

.ys-so-chip.is-pop {
  animation: ys-so-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes ys-so-pop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.06); }
  100% { transform: none; }
}

.ys-so-prev {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-inline-size: 0;
  min-block-size: 0;
  padding: 8px;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #efeae4, 0 8px 20px -12px rgba(0, 0, 0, 0.2);
}

.ys-so-prev > header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ys-so-prev > header span {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-inline-size: 0;
}

.ys-so-prev > header b {
  font-size: 10.5px;
  font-weight: 800;
}

.ys-so-prev > header small {
  overflow: hidden;
  color: #16a34a;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-so-prev .bi-three-dots {
  color: #94a3b8;
  font-size: 11px;
}

.ys-so-img {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 7px;
  background-color: #f1ece6;
}

.ys-so-img img,
.ys-so-drop img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.ys-so-prev > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #334155;
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ys-so-met {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 4px 6px;
  padding-block-start: 6px;
  border-block-start: 1px solid #f3efe9;
  font-size: 10px;
  font-weight: 800;
}

.ys-so-met > span {
  display: flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.ys-so-met .bi-heart-fill { color: #e11d48; }

.ys-so-met .ys-so-reach {
  grid-column: 1 / -1;
  justify-content: space-between;
}

.ys-so-reach small {
  color: #94a3b8;
  font-weight: 700;
}

.ys-so-prev > * {
  transition: opacity 0.4s ease;
}

.ys-sx.is-live .ys-so-prev:not(.is-on) > * {
  opacity: 0;
}

.ys-sx.is-live .ys-so-prev:not(.is-on)::before {
  content: "Önizleme";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 700;
}

/* compose modal */
.ys-so-modal {
  position: absolute;
  inset-block-start: 50px;
  inset-inline: 9%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 0 0 999px rgba(31, 41, 55, 0.28), 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s ease;
}

.ys-so-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ys-so-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ys-so-modal > header b {
  font-size: 12px;
  font-weight: 800;
}

.ys-so-modal > header i {
  color: #94a3b8;
  font-size: 11px;
}

.ys-so-mgrid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
}

.ys-so-drop {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1.5px dashed #e5d9cc;
  border-radius: 9px;
  background-color: #fcfaf7;
  color: #a8a29e;
  font-size: 16px;
}

.ys-so-drop small {
  font-weight: 700;
}

.ys-so-drop img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.ys-so-drop.has-img img {
  opacity: 1;
  transform: none;
}

.ys-so-mform {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-inline-size: 0;
}

.ys-so-cap {
  display: block;
  min-block-size: 44px;
  padding: 6px 8px;
  border: 1px solid #e7e0d8;
  border-radius: 8px;
  color: #1f2937;
  font-size: 10.5px;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-so-cap.is-focus {
  border-color: #db2777;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}

.ys-so-caret {
  display: none;
  inline-size: 1.5px;
  block-size: 12px;
  margin-inline-start: 1px;
  background-color: #db2777;
  vertical-align: -2px;
}

.ys-so-cap.is-focus .ys-so-caret {
  display: inline-block;
  animation: ys-v2-blink 1s steps(1, end) infinite;
}

.ys-so-ch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ys-so-ch i {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 7px;
  background-color: #f3f0ec;
  color: #a8a29e;
  font-size: 12px;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ys-so-ch i.is-on {
  background-color: #fdf2f8;
  color: #db2777;
  box-shadow: inset 0 0 0 1.5px #db2777;
}

.ys-so-ch i.bi-facebook.is-on {
  background-color: #eef4ff;
  color: #1877f2;
  box-shadow: inset 0 0 0 1.5px #1877f2;
}

.ys-so-ch i.bi-linkedin.is-on {
  background-color: #eff6ff;
  color: #0a66c2;
  box-shadow: inset 0 0 0 1.5px #0a66c2;
}

.ys-so-ch small {
  margin-inline-start: 2px;
  color: #94a3b8;
  font-weight: 700;
}

.ys-so-when {
  display: flex;
  align-items: center;
  gap: 6px;
  block-size: 26px;
  padding-inline: 8px;
  border: 1px solid #e7e0d8;
  border-radius: 8px;
  color: #6b7280;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-so-when.is-set {
  animation: ys-so-set 0.7s ease;
}

@keyframes ys-so-set {
  0% { border-color: #db2777; box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15); color: #1f2937; }
  100% { border-color: #e7e0d8; box-shadow: none; color: #1f2937; }
}

.ys-so-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: 28px;
  border-radius: 8px;
  background-color: #db2777;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.ys-sx.is-live .ys-so-cal .ys-so-day {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-so-cal.is-in .ys-so-day {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-so-cal.is-in .ys-so-day:nth-child(2) { transition-delay: 0.06s; }
.ys-sx.is-live .ys-so-cal.is-in .ys-so-day:nth-child(3) { transition-delay: 0.12s; }
.ys-sx.is-live .ys-so-cal.is-in .ys-so-day:nth-child(4) { transition-delay: 0.18s; }
.ys-sx.is-live .ys-so-cal.is-in .ys-so-day:nth-child(5) { transition-delay: 0.24s; }

.ys-sx.is-live .ys-so-chip.is-pre {
  opacity: 0;
  transform: scale(0.85);
}

/* =========================================================
   LOGO DESIGN SCENE (vector workspace -> brand guide)
   ========================================================= */
.ys-lg-win {
  background-color: #1e1f24;
  color: #e5e7eb;
}

.ys-lg-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  block-size: 32px;
  padding-inline: 12px;
  border-block-end: 1px solid #34353c;
  background-color: #2a2b31;
  font-size: 10.5px;
}

.ys-lg-top > b {
  color: #d1d5db;
  font-weight: 700;
  white-space: nowrap;
}

.ys-lg-tabs {
  display: flex;
  gap: 3px;
  margin-inline: auto;
  padding: 2px;
  border-radius: 7px;
  background-color: #1e1f24;
}

.ys-lg-tabs span {
  padding: 3px 10px;
  border-radius: 5px;
  color: #9ca3af;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ys-lg-tabs span.is-on {
  background-color: #3b3c44;
  color: #fff;
}

.ys-lg-zoom {
  color: #9ca3af;
  font-weight: 700;
}

.ys-lg-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 126px;
  min-block-size: 0;
}

.ys-lg-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-block: 9px;
  border-inline-end: 1px solid #34353c;
  background-color: #26272d;
}

.ys-lg-tools i {
  display: grid;
  place-items: center;
  inline-size: 26px;
  block-size: 26px;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 13px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ys-lg-tools i.is-on {
  background-color: #e67a2e;
  color: #fff;
}

.ys-lg-views {
  position: relative;
  min-inline-size: 0;
  background-color: #18191d;
  background-image: radial-gradient(#2c2d33 1px, transparent 1px);
  background-size: 14px 14px;
}

.ys-lg-canvas,
.ys-lg-brand {
  position: absolute;
  inset: 0;
  display: none;
  padding: 14px;
}

.ys-lg-canvas.is-on {
  display: grid;
}

.ys-lg-board {
  position: relative;
  display: grid;
  place-items: center;
  min-block-size: 0;
  border-radius: 6px;
  background-color: #fdfbf7;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.ys-lg-svg {
  inline-size: 100%;
  block-size: 100%;
  overflow: visible;
}

.ys-lg-guides {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ys-lg-guides.is-on { opacity: 0.7; }

.ys-lg-shape {
  fill: var(--fill, #e67a2e);
  fill-opacity: 0;
  stroke: #3b82f6;
  stroke-width: 1.4;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: fill-opacity 0.6s ease, fill 0.5s ease, stroke-opacity 0.5s ease;
}

.ys-lg-shape.is-blank { stroke-dashoffset: 100; }

.ys-lg-shape.is-draw {
  transition: stroke-dashoffset 3s linear, fill-opacity 0.6s ease, fill 0.5s ease, stroke-opacity 0.5s ease;
}

.ys-lg-shape.is-filled {
  fill-opacity: 1;
  stroke-opacity: 0;
}

.ys-lg-inner {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.8s ease;
}

.ys-lg-inner.is-on { stroke-dashoffset: 0; }

.ys-lg-hdl line {
  stroke: #3b82f6;
  stroke-width: 0.8;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ys-lg-hdl rect {
  fill: #fff;
  stroke: #3b82f6;
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s ease;
}

.ys-lg-hdl.is-on rect {
  opacity: 1;
  transition-delay: calc(var(--d) * 0.62s);
}

.ys-lg-hdl.is-on line {
  opacity: 0.8;
  transition-delay: 1s;
}

.ys-lg-hdl rect.is-hit {
  animation: ys-lg-hit 0.4s ease;
}

@keyframes ys-lg-hit {
  50% { transform: scale(1.7); }
}

.ys-lg-word {
  fill: #12355b;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  transition: letter-spacing 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.ys-lg-word.is-on { opacity: 1; }
.ys-lg-word.is-wide { letter-spacing: 0.12em; }

.ys-lg-tag {
  fill: #e67a2e;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ys-lg-tag.is-on { opacity: 1; }

.ys-lg-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-inline-size: 0;
  padding: 10px;
  border-inline-start: 1px solid #34353c;
  background-color: #26272d;
  font-size: 10.5px;
}

.ys-lg-panel > small {
  margin-block-start: 3px;
  color: #9ca3af;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ys-lg-panel ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-lg-panel li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 5px;
  color: #d1d5db;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ys-lg-panel li i {
  color: #9ca3af;
  font-size: 10px;
}

.ys-lg-panel li.is-on {
  background-color: rgba(230, 122, 46, 0.2);
  color: #fff;
}

.ys-lg-panel li.is-dim { opacity: 0.5; }

.ys-lg-sw {
  display: flex;
  gap: 6px;
}

.ys-lg-sw i {
  inline-size: 20px;
  block-size: 20px;
  border-radius: 5px;
  background-color: var(--c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.25s ease;
}

.ys-lg-sw i.is-on {
  box-shadow: 0 0 0 2px #26272d, 0 0 0 3.5px #fff;
}

.ys-lg-hex {
  padding: 3px 6px;
  border-radius: 5px;
  background-color: #1e1f24;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
}

.ys-lg-range {
  position: relative;
  display: block;
  block-size: 4px;
  margin-block: 6px 2px;
  border-radius: 99px;
  background-color: #3b3c44;
}

.ys-lg-range i {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(var(--v) * 100%);
  inline-size: 12px;
  block-size: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: inset-inline-start 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-lg-ls {
  color: #e5e7eb;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

/* brand guide */
.ys-lg-brand.is-on {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ys-lg-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-block-size: 0;
  padding: 8px 8px 18px;
  overflow: hidden;
  border-radius: 9px;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-lg-tile > small {
  position: absolute;
  inset-block-end: 5px;
  inset-inline-start: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.ys-lg-card {
  --lg-in: #12355b;
  background-color: #12355b;
  color: #e67a2e;
}

.ys-lg-card svg {
  inline-size: 24px;
  block-size: 26px;
}

.ys-lg-card b {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ys-lg-tl {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ys-lg-icon {
  background-color: #2a2b31;
}

.ys-lg-icon > span {
  --lg-in: #e67a2e;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e67a2e, #c2561a);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(230, 122, 46, 0.6);
}

.ys-lg-icon svg {
  inline-size: 22px;
  block-size: 24px;
}

.ys-lg-cup {
  background-color: #f3ece3;
}

.ys-lg-cup > small { color: #8a7a68; }

.ys-lg-cupb {
  --lg-in: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  inline-size: 52px;
  block-size: 58px;
  padding-block-start: 9px;
  border-radius: 4px 4px 12px 12px;
  background-color: #fff;
  color: #e67a2e;
  box-shadow: 0 6px 14px -6px rgba(18, 53, 91, 0.35);
}

.ys-lg-cupb svg {
  inline-size: 18px;
  block-size: 20px;
}

.ys-lg-cupb b {
  color: #12355b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ys-lg-pal {
  align-items: stretch;
  gap: 5px;
  padding: 10px 10px 20px;
  background-color: #2a2b31;
}

.ys-lg-pal > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.ys-lg-pal > span i {
  flex: 0 0 16px;
  block-size: 16px;
  border-radius: 4px;
  background-color: var(--c);
}

.ys-sx.is-live .ys-lg-brand .ys-lg-tile {
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.98);
}

.ys-sx.is-live .ys-lg-brand.is-in .ys-lg-tile {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-lg-brand.is-in .ys-lg-tile:nth-child(2) { transition-delay: 0.1s; }
.ys-sx.is-live .ys-lg-brand.is-in .ys-lg-tile:nth-child(3) { transition-delay: 0.2s; }
.ys-sx.is-live .ys-lg-brand.is-in .ys-lg-tile:nth-child(4) { transition-delay: 0.3s; }

/* =========================================================
   HOSTING / DOMAIN SCENE (domain search -> DNS -> server)
   ========================================================= */
.ys-hs-win {
  background-color: #0c1a2e;
  color: #dbe5f3;
}

.ys-hs-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  block-size: 34px;
  padding-inline: 12px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #0f2038;
}

.ys-hs-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-hs-brand i { color: #38bdf8; }

.ys-hs-tabs {
  display: flex;
  align-self: stretch;
  gap: 12px;
  color: #7f93ad;
  font-size: 10.5px;
  font-weight: 700;
}

.ys-hs-tabs span {
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease;
}

.ys-hs-tabs span.is-on {
  color: #fff;
  box-shadow: inset 0 -2px #38bdf8;
}

.ys-hs-st {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  color: #86efac;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-hs-st i {
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.ys-hs-views {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
}

.ys-hs-dom,
.ys-hs-srv {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
}

.ys-hs-dom.is-on { display: block; }

.ys-hs-left {
  position: absolute;
  inset: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: inset-inline-end 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.ys-hs-dom.is-dns .ys-hs-left {
  inset-inline-end: calc(44% + 10px);
}

.ys-hs-search {
  display: flex;
  align-items: center;
  gap: 7px;
  block-size: 32px;
  padding-inline: 10px 4px;
  border-radius: 8px;
  background-color: #132844;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: box-shadow 0.25s ease;
}

.ys-hs-search.is-focus {
  box-shadow: inset 0 0 0 1.5px #38bdf8;
}

.ys-hs-search .bi-search { color: #7f93ad; }

.ys-hs-caret {
  display: none;
  inline-size: 1.5px;
  block-size: 13px;
  margin-inline-start: -6px;
  background-color: #38bdf8;
}

.ys-hs-search.is-focus .ys-hs-caret {
  display: block;
  animation: ys-v2-blink 1s steps(1, end) infinite;
}

.ys-hs-go {
  display: flex;
  align-items: center;
  block-size: 24px;
  margin-inline-start: auto;
  padding-inline: 11px;
  border-radius: 6px;
  background-color: #0ea5e9;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  transition: opacity 0.2s ease;
}

.ys-hs-go.is-busy { opacity: 0.6; }

.ys-hs-res {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ys-hs-r {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 10px;
  border-radius: 8px;
  background-color: #10233d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-size: 11px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ys-hs-r > b {
  flex: 1 1 auto;
  min-inline-size: 0;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-hs-r > b span { color: #38bdf8; }

.ys-hs-r > em {
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.ys-hs-r > em.is-ok { background-color: rgba(34, 197, 94, 0.14); color: #4ade80; }
.ys-hs-r > em.is-no { background-color: rgba(148, 163, 184, 0.14); color: #94a3b8; }

.ys-hs-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-inline-size: 64px;
  block-size: 22px;
  padding-inline: 9px;
  border-radius: 6px;
  background-color: #e67a2e;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.ys-hs-add.is-off {
  background-color: transparent;
  color: #7f93ad;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ys-hs-add .ys-sx-spin {
  inline-size: 9px;
  block-size: 9px;
}

.ys-hs-add.is-busy .ys-sx-spin { display: block; }
.ys-hs-add.is-done { background-color: #16a34a; }

.ys-hs-dns {
  position: absolute;
  inset-block: 10px;
  inset-inline-end: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  inline-size: 44%;
  padding: 9px 10px;
  border-radius: 9px;
  background-color: #10233d;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.25);
  opacity: 0;
  transform: translate3d(110%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.ys-hs-dom.is-dns .ys-hs-dns {
  opacity: 1;
  transform: none;
}

.ys-hs-dns > header {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-block-end: 2px;
}

.ys-hs-dns > header b {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.ys-hs-dns > header small {
  color: #7f93ad;
  font-weight: 600;
}

.ys-hs-dr {
  display: grid;
  grid-template-columns: 38px 28px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 5px;
  padding-block: 5px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.06);
  color: #c7d3e3;
  font-size: 10px;
}

.ys-hs-dr > i {
  color: #38bdf8;
  font-style: normal;
  font-weight: 800;
}

.ys-hs-dr > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-hs-dr > em {
  color: #4ade80;
  font-size: 10px;
  font-style: normal;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-hs-dr.is-ok > em {
  opacity: 1;
  transform: none;
}

.ys-hs-prop {
  margin-block-start: auto;
  color: #7f93ad;
  font-weight: 700;
}

/* server */
.ys-hs-srv.is-on {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 9px;
  padding: 10px 12px;
}

.ys-hs-card,
.ys-hs-traffic,
.ys-hs-svc,
.ys-hs-log {
  min-inline-size: 0;
  border-radius: 9px;
  background-color: #10233d;
}

.ys-hs-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 9px 10px;
}

.ys-hs-card > header,
.ys-hs-traffic > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ys-hs-card > header span {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}

.ys-hs-card > header b,
.ys-hs-traffic > header b {
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.ys-hs-card > header small,
.ys-hs-traffic > header small {
  overflow: hidden;
  color: #7f93ad;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-hs-up {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4ade80;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.ys-hs-up i {
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background-color: #22c55e;
}

.ys-hs-gauges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ys-hs-g {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ys-hs-g svg {
  inline-size: 46px;
  block-size: 46px;
  transform: rotate(-90deg);
}

.ys-hs-g circle {
  fill: none;
  stroke: #1d3556;
  stroke-width: 4;
}

.ys-hs-g circle.is-v {
  stroke: #38bdf8;
  stroke-linecap: round;
  transition: stroke-dasharray 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-hs-g:nth-child(2) circle.is-v { stroke: #a78bfa; }
.ys-hs-g:nth-child(3) circle.is-v { stroke: #f59e0b; }

.ys-hs-g b {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  display: grid;
  place-items: center;
  block-size: 46px;
  color: #fff;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.ys-hs-g small {
  color: #7f93ad;
  font-weight: 700;
}

.ys-hs-traffic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
}

.ys-hs-bars {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  min-block-size: 40px;
}

.ys-hs-bars i {
  flex: 1 1 0;
  block-size: calc(var(--h) * 100%);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(#38bdf8, rgba(14, 165, 233, 0.35));
  transform-origin: bottom;
  animation: ys-hs-bar 1.6s ease-in-out infinite alternate;
}

.ys-hs-bars i:nth-child(3n) { animation-duration: 1.9s; animation-delay: -0.6s; }
.ys-hs-bars i:nth-child(3n + 1) { animation-duration: 1.3s; animation-delay: -0.3s; }
.ys-hs-bars i:nth-child(4n) { animation-delay: -1.1s; }

@keyframes ys-hs-bar {
  to { transform: scaleY(0.6); }
}

.ys-hs-svc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 9px 10px;
  list-style: none;
  font-size: 10.5px;
}

.ys-hs-svc li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-inline-size: 0;
}

.ys-hs-svc li > .bi {
  color: #4ade80;
  font-size: 10.5px;
}

.ys-hs-svc li > span:not(.ys-hs-pb) {
  flex: 1 1 auto;
  min-inline-size: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-hs-svc li > em {
  color: #7f93ad;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.ys-hs-svc li .ys-sx-spin {
  inline-size: 10px;
  block-size: 10px;
  border-color: rgba(56, 189, 248, 0.3);
  border-block-start-color: #38bdf8;
}

.ys-hs-svc li.is-busy .ys-sx-spin { display: block; }
.ys-hs-svc li.is-busy > .bi { display: none; }
.ys-hs-svc li[data-k]:not(.is-ok):not(.is-busy) > .bi { color: #475569; }
.ys-hs-svc li.is-ok > em { color: #4ade80; }

.ys-hs-addon {
  flex: 0 0 auto;
  padding: 1px 6px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 99px;
  color: #fbbf24;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.ys-hs-svc li > .ys-hs-addon ~ .ys-hs-pb {
  display: none;
}

.ys-hs-pb {
  flex: 0 0 44px;
  block-size: 4px;
  overflow: hidden;
  border-radius: 99px;
  background-color: #1d3556;
}

.ys-hs-pb i {
  display: block;
  block-size: 100%;
  background-color: #38bdf8;
  transition: width 2s linear;
}

.ys-hs-log {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 8px 10px;
  overflow: hidden;
  background-color: #071321;
  color: #9fb3c8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.ys-hs-log span {
  display: flex;
  gap: 7px;
}

.ys-hs-log b { color: #38bdf8; }

.ys-hs-log span.is-new {
  animation: ys-hs-line 0.5s ease;
}

@keyframes ys-hs-line {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
}

.ys-sx.is-live .ys-hs-dom:not(.is-in) .ys-hs-left {
  opacity: 0;
}

.ys-sx.is-live .ys-hs-r:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 5px, 0);
}

.ys-sx.is-live .ys-hs-srv > * {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ys-sx.is-live .ys-hs-srv.is-in > * {
  opacity: 1;
  transform: none;
}

.ys-sx.is-live .ys-hs-srv.is-in > :nth-child(2) { transition-delay: 0.08s; }
.ys-sx.is-live .ys-hs-srv.is-in > :nth-child(3) { transition-delay: 0.16s; }
.ys-sx.is-live .ys-hs-srv.is-in > :nth-child(4) { transition-delay: 0.24s; }

/* ---- new scenes: phone-width cards ---- */
@container sx (max-width: 459px) {
  .ys-wa-rail,
  .ys-wa-team,
  .ys-wa-prog small,
  .ys-wa-col.is-todo,
  .ys-wa-tabs span:nth-child(3) { display: none; }
  .ys-wa-head { gap: 9px; padding: 8px 10px 6px; }
  .ys-wa-tabs { padding-inline: 10px; }
  .ys-wa-bar { inline-size: 40px; }
  .ys-wa-board,
  .ys-wa-time { padding: 8px 10px; }
  .ys-wa-board.is-on { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ys-wa-detail { inline-size: 80%; min-inline-size: 0; }
  .ys-wa-time { --lw: 84px; }
  .ys-wa-today { inset-inline-start: calc(10px + var(--lw) + 10px + (100% - var(--lw) - 30px) * var(--t)); }

  .ys-ec-links,
  .ys-ec-thumbs,
  .ys-ec-perks,
  .ys-ec-crumb,
  .ys-ec-rate small,
  .ys-ec-icons .bi-heart { display: none; }
  .ys-ec-nav { gap: 10px; padding-inline: 10px; }
  .ys-ec-pdp,
  .ys-ec-co { padding: 10px; }
  .ys-ec-pdp.is-on { grid-template-columns: 40% minmax(0, 1fr); gap: 10px; }
  .ys-ec-title { font-size: 12px; }
  .ys-ec-price b { font-size: 15px; }
  .ys-ec-qty { gap: 6px; padding-inline: 6px; }
  .ys-ec-buy { gap: 6px; }
  .ys-ec-mini {
    inset: auto 0 0;
    inline-size: auto;
    min-inline-size: 0;
    border-inline-start: 0;
    border-radius: 12px 12px 0 0;
    transform: translate3d(0, 105%, 0);
  }
  .ys-ec-steps li:not(:last-child)::after { display: none; }
  .ys-ec-steps { justify-content: space-between; }
  .ys-ec-steps li { flex: 0 0 auto; }
  .ys-ec-cogrid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ys-ec-form > .ys-ec-f:first-child,
  .ys-ec-secure,
  .ys-ec-sumt,
  .ys-ec-sum .ys-ec-li,
  .ys-ec-sum .ys-ec-row:not(.is-total) { display: none; }
  .ys-ec-sum { flex-direction: row; align-items: center; gap: 10px; padding: 7px 9px; }
  .ys-ec-sum .ys-ec-row.is-total { flex: 1 1 auto; gap: 8px; padding: 0; border: 0; }
  .ys-ec-pay { flex: 1 1 auto; margin: 0; padding-inline: 8px; }

  .ys-se-range,
  .ys-se-kpis .is-opt,
  .ys-se-chart,
  .ys-se-r > p,
  .ys-se-cite span:nth-child(3),
  .ys-se-av { display: none; }
  .ys-se-top,
  .ys-se-tabs { padding-inline: 10px; }
  .ys-se-tabs { gap: 12px; }
  .ys-se-perf,
  .ys-se-serp,
  .ys-se-ai { padding: 8px 10px; }
  .ys-se-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ys-se-kpis article { padding: 6px 7px; }
  .ys-se-kpis article > b { font-size: 14px; }
  .ys-se-grid { grid-template-columns: minmax(0, 1fr); }
  .ys-se-ask { max-inline-size: 92%; }
  .ys-se-ans p { font-size: 10.5px; }
  .ys-se-cmp span { padding-inline: 7px; }

  .ys-so-acc,
  .ys-so-week,
  .ys-so-day.is-x { display: none; }
  .ys-so-new { margin-inline-start: auto; }
  .ys-so-body { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; }
  .ys-so-cal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ys-so-prev {
    position: absolute;
    inset: 8px 10px;
    z-index: 4;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-content: start;
    gap: 7px 10px;
    transform: translate3d(110%, 0, 0);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .ys-so-body.is-prev .ys-so-prev { transform: none; }
  .ys-so-prev > header { grid-column: 1 / -1; }
  .ys-so-prev .ys-so-img { grid-row: 2 / 4; }
  .ys-so-prev > p { -webkit-line-clamp: 3; }
  .ys-so-met { align-self: start; }
  .ys-so-modal { inset-block-start: 42px; inset-inline: 8px; }
  .ys-so-mgrid { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }

  .ys-lg-tools,
  .ys-lg-panel,
  .ys-lg-top > b,
  .ys-lg-zoom { display: none; }
  .ys-lg-body { grid-template-columns: minmax(0, 1fr); }
  .ys-lg-tabs { margin-inline: auto 0; }
  .ys-lg-canvas,
  .ys-lg-brand { padding: 10px; }
  .ys-lg-brand.is-on { gap: 8px; }

  .ys-hs-st,
  .ys-hs-tabs span:nth-child(3),
  .ys-hs-traffic,
  .ys-hs-log { display: none; }
  .ys-hs-top { gap: 12px; padding-inline: 10px; }
  .ys-hs-left { inset: 8px 10px; }
  .ys-hs-dom.is-dns .ys-hs-left { inset-inline-end: 10px; opacity: 0; }
  .ys-hs-dns { inset-block: 8px; inset-inline: 10px; inline-size: auto; }
  .ys-hs-srv.is-on { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 10px; }
  .ys-hs-g svg { inline-size: 40px; block-size: 40px; }
  .ys-hs-g b { block-size: 40px; }
}

/* lighter on phones */
@media (max-width: 575.98px) {
  .ys-sx.is-playing .ys-sx-win .ys-sx-hero img {
    animation: none;
  }

  .ys-sx-win {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 24px -10px rgba(0, 0, 0, 0.5);
  }
}

.ys-sx:not(.is-playing) *,
.ys-sx:not(.is-playing) *::before,
.ys-sx:not(.is-playing) *::after {
  animation-play-state: paused !important;
}

.ys-sx.is-snap *,
.ys-sx.is-snap *::before,
.ys-sx.is-snap *::after {
  transition: none !important;
}

.ys-sx.is-static *,
.ys-sx.is-static *::before,
.ys-sx.is-static *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ys-sx *,
  .ys-sx *::before,
  .ys-sx *::after {
    animation: none !important;
    transition: none !important;
  }

  .ys-sx-cursor {
    display: none;
  }
}
