/* Yusensoft home "Çalışma Standardı": left card scene - demo corporate site, responsive switch, pre-launch checks.
   Markup is the final (no-JS / reduced motion) frame; ys-trust-scene.js resets it and plays the loop. */

.ys-ready.ys-ts {
  grid-template-columns: minmax(0, 1fr);
  --ts-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ts-ok: #1f9d55;
}

.ys-ts-stage {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-inline-size: 0;
  /* original scene height: keeps the card's outer size identical at every width */
  min-block-size: 226.734px;
  container: tss / inline-size;
  transition: opacity 0.4s ease;
}

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

.ys-ts-win,
.ys-ts-panel {
  --ts-phone: 184px;
}

/* ---------- browser window -> phone ---------- */

.ys-ts-win {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  inline-size: 100%;
  border: 1px solid color-mix(in srgb, var(--ys-navy-800) 14%, #fff);
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.08);
  transition:
    inline-size 0.7s var(--ts-ease),
    transform 0.7s var(--ts-ease),
    border-radius 0.7s var(--ts-ease),
    border-width 0.7s var(--ts-ease),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.ys-ts.is-mobile .ys-ts-win {
  inline-size: var(--ts-phone);
  border: 5px solid #0f1b2d;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(16, 33, 58, 0.18);
}

.ys-ts.is-mobile[data-ph="2"] .ys-ts-win {
  transform: translateX(calc((100cqw - var(--ts-phone)) / 2));
}

.ys-ts-vp {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(50% + var(--ts-phone) / 2 + 14px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 9px;
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 6px 16px rgba(16, 33, 58, 0.07);
  color: #10213a;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-6px, -50%);
  transition: opacity 0.35s ease, transform 0.45s var(--ts-ease), visibility 0s linear 0.45s;
  --ts-phone: 184px;
}

.ys-ts-vp small {
  color: #5b6b80;
  font-size: 10px;
}

.ys-ts-vp b {
  font-size: 12px;
  font-weight: 750;
}

.ys-ts.is-mobile[data-ph="2"]:not(.is-menu) .ys-ts-vp {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition-delay: 0.45s, 0.45s, 0s;
}

.ys-ts-bar {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  block-size: 26px;
  padding: 0 9px;
  background-color: #10213a;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  line-height: 1;
  transition: block-size 0.5s var(--ts-ease), background-color 0.5s ease, color 0.5s ease;
}

.ys-ts-lights {
  display: flex;
  gap: 4px;
}

.ys-ts-lights i {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.24);
}

.ys-ts-lights i:first-child {
  background-color: color-mix(in srgb, var(--ys-orange-500) 70%, #fff);
}

.ys-ts-url {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  min-inline-size: 0;
  block-size: 17px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ts-url .bi {
  color: #6fd697;
  font-size: 9px;
}

.ys-ts-dev {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
}

.ys-ts-dev i {
  display: grid;
  place-items: center;
  inline-size: 20px;
  block-size: 15px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.ys-ts-dev i.is-on {
  background-color: var(--ys-orange-500);
  color: #fff;
}

.ys-ts-dev i.is-press {
  transform: scale(0.86);
}

.ys-ts-sbar {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  font-size: 10px;
}

.ys-ts-sbar span {
  display: flex;
  gap: 3px;
  font-size: 9px;
}

.ys-ts-load {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 2px;
  background-color: var(--ys-orange-500);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.ys-ts-load.is-run {
  opacity: 1;
  transform: scaleX(1);
  transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.4, 1), opacity 0.3s ease 0.8s;
}

.ys-ts-load.is-run.is-done {
  opacity: 0;
}

.ys-ts.is-mobile .ys-ts-bar {
  block-size: 20px;
  background-color: #fff;
  color: #0f1b2d;
}

.ys-ts.is-mobile .ys-ts-lights,
.ys-ts.is-mobile .ys-ts-url,
.ys-ts.is-mobile .ys-ts-dev {
  display: none;
}

.ys-ts.is-mobile .ys-ts-sbar {
  display: flex;
  font-weight: 700;
}

/* ---------- demo site ---------- */

.ys-ts-view {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-block-size: 0;
  overflow: hidden;
  background-color: #fff;
  color: #10213a;
  font-size: 10.5px;
  line-height: 1.45;
  container: tsv / inline-size;
}

.ys-ts-nav {
  position: relative;
  z-index: 3;
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  block-size: 34px;
  padding: 0 14px;
  border-block-end: 1px solid #edf1f6;
  background-color: #fff;
}

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

.ys-ts-logo svg {
  flex: none;
  inline-size: 18px;
  block-size: 18px;
}

.ys-ts-logo svg rect {
  fill: var(--ys-navy-800);
}

.ys-ts-logo svg path {
  fill: var(--ys-orange-500);
}

.ys-ts-logo b {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ys-ts-logo small {
  color: #6b7a90;
  font-size: 10px;
  font-weight: 600;
}

.ys-ts-links {
  display: flex;
  gap: 14px;
  margin-inline-start: auto;
  color: #42526b;
  font-weight: 600;
  white-space: nowrap;
}

.ys-ts-links span {
  position: relative;
  transition: color 0.25s ease;
}

.ys-ts-links span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -4px;
  block-size: 2px;
  border-radius: 2px;
  background-color: var(--ys-orange-500);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ys-ts-links span.is-hover {
  color: var(--ys-navy-950, #0b1a2e);
}

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

.ys-ts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  block-size: 22px;
  padding: 0 10px;
  border-radius: 6px;
  background-color: var(--ys-orange-500);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.ys-ts-btn.is-ghost {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.ys-ts-btn.is-hover,
.ys-ts-btn.is-press {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ys-orange-500) 24%, transparent);
}

.ys-ts-btn.is-press {
  transform: scale(0.95);
}

.ys-ts-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  inline-size: 24px;
  block-size: 22px;
  margin-inline-start: auto;
  padding: 0 5px;
  border-radius: 6px;
  background-color: #f1f4f8;
  transition: transform 0.2s ease;
}

.ys-ts-burger i {
  display: block;
  block-size: 2px;
  border-radius: 2px;
  background-color: #10213a;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ys-ts-burger.is-press {
  transform: scale(0.9);
}

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

.ys-ts-scroll {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  overflow: hidden;
}

.ys-ts-page {
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 1s cubic-bezier(0.45, 0.05, 0.25, 1);
}

.ys-ts-hero {
  position: relative;
  display: flex;
  align-items: center;
  block-size: 150px;
  padding: 0 18px;
  overflow: hidden;
  background-color: #0f1b2d;
  color: #fff;
}

.ys-ts-hero img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.ys-ts-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 20, 37, 0.94) 0%, rgba(9, 20, 37, 0.74) 46%, rgba(9, 20, 37, 0.12) 100%);
}

.ys-ts-hero-copy {
  position: relative;
  z-index: 1;
  max-inline-size: 62%;
}

.ys-ts-hero-copy > * {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.ys-ts-hero-copy small {
  display: block;
  color: #ffb27a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-ts-h1 {
  position: relative;
  display: block;
  margin: 4px 0 5px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  outline: 1.5px dashed transparent;
  outline-offset: 3px;
  transition: outline-color 0.3s ease;
}

.ys-ts-hero-copy p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.84);
}

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

.ys-ts-hero.is-seo .ys-ts-h1 {
  outline-color: #ffb27a;
}

.ys-ts-hero.is-seo .ys-ts-h1::after {
  content: "H1";
  position: absolute;
  inset-block-start: -9px;
  inset-inline-end: -6px;
  padding: 1px 5px;
  border-radius: 4px;
  background-color: var(--ys-orange-500);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.ys-ts-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block-end: 1px solid #edf1f6;
  background-color: #edf1f6;
}

.ys-ts-stats span {
  padding: 9px 14px;
  background-color: #fff;
}

.ys-ts-stats b {
  display: block;
  color: var(--ys-navy-800);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.ys-ts-stats small {
  display: block;
  color: #6b7a90;
  font-size: 10px;
}

.ys-ts-svc {
  padding: 14px;
}

.ys-ts-head small {
  display: block;
  color: var(--ys-orange-600);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-ts-head strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
}

.ys-ts-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 9px;
}

.ys-ts-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e7ecf3;
  border-radius: 8px;
  background-color: #fff;
  outline: 1.5px dashed transparent;
  outline-offset: -1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease;
}

.ys-ts-card.is-hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(16, 33, 58, 0.12);
}

.ys-ts-ph {
  display: block;
  block-size: 62px;
  overflow: hidden;
  background-color: #dfe6ef;
}

.ys-ts-ph img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.ys-ts-card figcaption {
  padding: 7px 8px 0;
}

.ys-ts-card figcaption b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.ys-ts-card figcaption span {
  display: block;
  color: #6b7a90;
  font-size: 10px;
}

.ys-ts-card em {
  display: block;
  padding: 4px 8px 8px;
  color: var(--ys-orange-600);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.ys-ts-card em .bi {
  display: inline-block;
  transition: transform 0.3s ease;
}

.ys-ts-card.is-hover em .bi {
  transform: translateX(3px);
}

.ys-ts-edit {
  position: absolute;
  inset-block-start: 5px;
  inset-inline-end: 5px;
  display: grid;
  place-items: center;
  inline-size: 18px;
  block-size: 18px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(16, 33, 58, 0.2);
  color: var(--ys-orange-600);
  font-size: 9px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ys-ts-svc.is-cms .ys-ts-card {
  outline-color: var(--ys-orange-500);
}

.ys-ts-svc.is-cms .ys-ts-edit {
  opacity: 1;
  transform: none;
}

.ys-ts-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10213a 0%, #17325a 100%);
  color: #fff;
}

.ys-ts-band small {
  display: block;
  color: #ffb27a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ys-ts-band strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ys-ts-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-block-start: 1px solid #edf1f6;
  color: #6b7a90;
  font-size: 10px;
}

.ys-ts-foot .ys-ts-logo {
  margin-inline-end: auto;
  color: #10213a;
}

.ys-ts-foot .ys-ts-logo b {
  font-size: 11px;
}

.ys-ts-mmenu {
  position: absolute;
  inset-block-start: 32px;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 4px 12px 12px;
  background-color: #fff;
  box-shadow: 0 12px 18px rgba(16, 33, 58, 0.14);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.ys-ts-mmenu span {
  padding: 6px 0;
  border-block-end: 1px solid #eef2f7;
  transition: color 0.2s ease;
}

.ys-ts-mmenu span.is-on,
.ys-ts-mmenu span.is-press {
  color: var(--ys-orange-600);
}

.ys-ts-mmenu .ys-ts-btn {
  margin-block-start: 9px;
  border: 0;
  color: #fff;
}

.ys-ts.is-menu .ys-ts-mmenu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* compact desktop (narrow card) */
@container tsv (max-width: 519px) {
  .ys-ts-nav { gap: 10px; padding: 0 10px; }
  .ys-ts-logo small,
  .ys-ts-links span:first-child,
  .ys-ts-navcta { display: none; }
  .ys-ts-links { gap: 11px; }
  .ys-ts-hero { padding: 0 12px; }
  .ys-ts-hero-copy { max-inline-size: 80%; }
  .ys-ts-h1 { font-size: 15px; }
  .ys-ts-stats span { padding: 8px 10px; }
  .ys-ts-svc { padding: 12px 10px; }
  .ys-ts-cards { gap: 6px; }
  .ys-ts-ph { block-size: 50px; }
  .ys-ts-card figcaption span { display: none; }
  .ys-ts-band { margin-inline: 10px; }
}

/* phone */
@container tsv (max-width: 299px) {
  .ys-ts-nav { block-size: 32px; }
  .ys-ts-links { display: none; }
  .ys-ts-burger { display: flex; }
  .ys-ts-hero { display: block; block-size: auto; padding: 0; background-color: #fff; color: #10213a; }
  .ys-ts-hero::after { display: none; }
  .ys-ts-hero img { position: relative; display: block; block-size: 78px; }
  .ys-ts-hero-copy { max-inline-size: none; padding: 10px 10px 12px; }
  .ys-ts-hero-copy small { color: var(--ys-orange-600); }
  .ys-ts-h1 { font-size: 14px; }
  .ys-ts-hero-copy p { color: #5b6a80; }
  .ys-ts-btns { flex-direction: column; }
  .ys-ts-btn.is-ghost { background-color: #fff; box-shadow: inset 0 0 0 1px #cfd8e3; color: #10213a; }
  .ys-ts-stats { grid-template-columns: minmax(0, 1fr); }
  .ys-ts-stats span { display: flex; align-items: baseline; gap: 6px; padding: 6px 10px; }
  .ys-ts-stats b { font-size: 13px; }
  .ys-ts-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ys-ts-ph { block-size: 66px; }
  .ys-ts-card figcaption span { display: block; }
  .ys-ts-band { flex-direction: column; align-items: stretch; gap: 8px; margin: 0 10px 12px; }
  .ys-ts-foot { flex-direction: column; align-items: flex-start; gap: 2px; padding-inline: 10px; }
  .ys-ts-foot .ys-ts-logo { margin-inline-end: 0; }
}

/* ---------- pre-launch check panel ---------- */

.ys-ts-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  inline-size: calc(100% - var(--ts-phone) - 12px);
  padding: 10px;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.08);
  color: #10213a;
  font-size: 10.5px;
  line-height: 1.35;
  container: tsp / inline-size;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ts-ease),
    visibility 0s linear 0.55s,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.ys-ts[data-ph="3"] .ys-ts-panel,
.ys-ts[data-ph="4"] .ys-ts-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.ys-ts[data-ph="4"] .ys-ts-panel {
  border-color: color-mix(in srgb, var(--ts-ok) 35%, #fff);
  box-shadow: 0 10px 26px rgba(31, 157, 85, 0.13);
}

.ys-ts-phead {
  display: grid;
  padding-block-end: 8px;
  border-block-end: 1px solid #eef2f7;
}

.ys-ts-ptop {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-inline-size: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ys-ts-ptop.is-ready,
.ys-ts[data-ph="4"] .ys-ts-ptop:not(.is-ready) {
  opacity: 0;
  transform: translateY(4px);
}

.ys-ts[data-ph="4"] .ys-ts-ptop.is-ready {
  opacity: 1;
  transform: none;
}

.ys-ts-pico {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 8px;
  background-color: color-mix(in srgb, var(--ys-orange-500) 14%, #fff);
  color: var(--ys-orange-600);
  font-size: 14px;
}

.ys-ts-ptop.is-ready .ys-ts-pico {
  background-color: color-mix(in srgb, var(--ts-ok) 14%, #fff);
  color: var(--ts-ok);
  font-size: 16px;
}

.ys-ts.is-live[data-ph="4"] .ys-ts-ptop.is-ready .ys-ts-pico {
  animation: ys-ts-bump 0.5s ease 0.2s;
}

.ys-ts-pttl {
  flex: 1 1 auto;
  min-inline-size: 0;
}

.ys-ts-pttl b {
  display: block;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.ys-ts-ptop.is-ready .ys-ts-pttl b {
  color: #157a42;
  font-size: 13px;
}

.ys-ts-pttl small {
  display: block;
  overflow: hidden;
  color: #6b7a90;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ts-pn {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #f1f4f8;
  color: var(--ys-navy-800);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}

.ys-ts-pn.is-bump {
  animation: ys-ts-bump 0.35s ease;
}

.ys-ts-ptop.is-ready .ys-ts-pn {
  background-color: color-mix(in srgb, var(--ts-ok) 14%, #fff);
  color: #157a42;
}

.ys-ts-checks {
  flex: 1 1 auto;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-ts-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-inline-size: 0;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #f7f9fc;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ys-ts-checks li[data-st="run"] {
  border-color: color-mix(in srgb, var(--ys-orange-500) 30%, #fff);
  background-color: color-mix(in srgb, var(--ys-orange-500) 6%, #fff);
}

.ys-ts-checks li[data-st="ok"] {
  background-color: color-mix(in srgb, var(--ts-ok) 6%, #fff);
}

.ys-ts-st {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 18px;
  block-size: 18px;
  border: 1.5px solid #cbd4df;
  border-radius: 50%;
  color: transparent;
  font-size: 11px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.ys-ts-checks li[data-st="run"] .ys-ts-st {
  border-color: color-mix(in srgb, var(--ys-orange-500) 25%, #fff);
  border-block-start-color: var(--ys-orange-500);
  animation: ys-ts-spin 0.8s linear infinite;
}

.ys-ts-checks li[data-st="ok"] .ys-ts-st {
  border-color: var(--ts-ok);
  background-color: var(--ts-ok);
  color: #fff;
}

.ys-ts-ql {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex: 1 1 auto;
  min-inline-size: 0;
}

.ys-ts-ql b {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
}

.ys-ts-ql small {
  min-inline-size: 0;
  overflow: hidden;
  color: #6b7a90;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-ts-checks em {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.ys-ts-checks em span {
  display: none;
}

.ys-ts-checks li[data-st="wait"] em { background-color: #eef2f7; color: #6b7a90; }
.ys-ts-checks li[data-st="run"] em { background-color: color-mix(in srgb, var(--ys-orange-500) 14%, #fff); color: #b8541a; }
.ys-ts-checks li[data-st="ok"] em { background-color: color-mix(in srgb, var(--ts-ok) 13%, #fff); color: #157a42; }
.ys-ts-checks li[data-st="wait"] em .is-wait,
.ys-ts-checks li[data-st="run"] em .is-run,
.ys-ts-checks li[data-st="ok"] em .is-ok { display: inline; }

@container tsp (max-width: 339px) {
  .ys-ts-ql small { display: none; }
}

@container tsp (max-width: 239px) {
  .ys-ts-panel { gap: 6px; }
  .ys-ts-pttl small,
  .ys-ts-checks em { display: none; }
  .ys-ts-pico { inline-size: 24px; block-size: 24px; font-size: 12px; }
  .ys-ts-pttl b { font-size: 11px; }
  .ys-ts-ptop.is-ready .ys-ts-pttl b { font-size: 11.5px; }
  .ys-ts-pn { padding: 1px 6px; font-size: 10px; }
  .ys-ts-checks li { gap: 7px; padding: 0 7px; }
}

/* narrow card: smaller phone, wider panel share */
@container tss (max-width: 459px) {
  .ys-ts-win,
  .ys-ts-panel,
  .ys-ts-vp { --ts-phone: 150px; }
  .ys-ts-panel { padding: 8px; }
  .ys-ts-vp { inset-inline-start: calc(50% + var(--ts-phone) / 2 + 8px); padding: 5px 7px; }
  .ys-ts-vp small { display: none; }
}

/* ---------- cursor ---------- */

.ys-ts-cursor {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 6;
  inline-size: 14px;
  block-size: 20px;
  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.35));
}

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

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

.ys-ts-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-ts-cursor.is-click::after {
  animation: ys-ts-ring 0.45s ease-out;
}

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

.ys-ts-cursor.is-touch::before {
  content: "";
  position: absolute;
  inset-block-start: -8px;
  inset-inline-start: -8px;
  inline-size: 18px;
  block-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background-color: rgba(16, 33, 58, 0.28);
}

/* ---------- live loop states (set by ys-trust-scene.js) ---------- */

.ys-ts.is-live .ys-ts-hero:not(.is-in) .ys-ts-hero-copy > * {
  opacity: 0;
  transform: translateY(8px);
}

.ys-ts.is-live .ys-ts-hero:not(.is-in) img {
  transform: scale(1.06);
}

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

.ys-ts.is-live .ys-ts-page {
  will-change: transform;
}

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

.ys-ts.is-snap *,
.ys-ts.is-snap *::before,
.ys-ts.is-snap *::after {
  transition: none !important;
  animation: none !important;
}

/* Hazırlık -> Kontrol -> Yayın follows the loop (overrides the one-shot reveal in yusensoft.css) */
html.ys-js:not(.ys-reduce) .ys-trust-hero .ys-ready.ys-ts.is-live .ys-ready-step {
  animation: none;
  opacity: 0.45;
  color: #8a96a8;
  transition: opacity 0.4s ease, color 0.4s ease;
}

html.ys-js:not(.ys-reduce) .ys-trust-hero .ys-ready.ys-ts.is-live .ys-ready-step i {
  animation: none;
  background-color: color-mix(in srgb, var(--ys-navy-800) 16%, #fff);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

html.ys-js:not(.ys-reduce) .ys-trust-hero .ys-ready.ys-ts.is-live .ys-ready-step.is-on {
  opacity: 1;
  color: var(--ys-navy-800);
}

html.ys-js:not(.ys-reduce) .ys-trust-hero .ys-ready.ys-ts.is-live .ys-ready-step.is-on i {
  background-color: var(--ys-orange-500);
}

html.ys-js:not(.ys-reduce) .ys-trust-hero .ys-ready.ys-ts.is-live .ys-ready-step.is-cur i {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ys-orange-500) 24%, transparent);
}

html.ys-js:not(.ys-reduce) .ys-trust-hero .ys-ready.ys-ts.is-live .ys-ready-rail i {
  animation: none;
  transform: scaleX(var(--f, 0));
  transition: transform 0.6s var(--ts-ease);
}

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

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

@keyframes ys-ts-bump {
  50% { transform: scale(1.14); }
}

html.ys-reduce .ys-ts *,
html.ys-reduce .ys-ts *::before,
html.ys-reduce .ys-ts *::after {
  transition: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ys-ts *,
  .ys-ts *::before,
  .ys-ts *::after {
    transition: none !important;
    animation: none !important;
  }
}
