.ip-app {
  --ip-bg: #f0f4f8;
  --ip-panel: #ffffff;
  --ip-ink: #0f172a;
  --ip-muted: #64748b;
  --ip-brand: #1e40af;
  --ip-brand2: #3b82f6;
  --ip-violet: #5b21b6;
  --ip-danger: #be123c;
  --ip-ok: #059669;
  --ip-border: #e2e8f0;
  --ip-radius: 14px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ip-ink);
  min-height: 100vh;
  background: linear-gradient(165deg, #eef2ff 0%, var(--ip-bg) 40%, #f8fafc 100%);
}

.ip-app--demo {
  background: #0f172a linear-gradient(160deg, #0f172a 0%, #1e1b4b 35%, #312e81 70%, #1e293b 100%);
  background-attachment: fixed;
}

.ip-app--demo .ip-main {
  max-width: min(1360px, calc(100vw - 1.25rem));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: max(6.5rem, calc(env(safe-area-inset-bottom, 0px) + 5rem));
}

.ip-app--demo .ip-top-inner {
  max-width: min(1360px, calc(100vw - 1.25rem));
}

.ip-top {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--ip-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.65rem 1rem;
}

.ip-top-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ip-top h1 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ip-brand);
}

.ip-top .sub {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: var(--ip-muted);
}

.ip-back {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ip-brand2);
  text-decoration: none;
}

.ip-back:hover {
  text-decoration: underline;
}

.ip-progress-wrap {
  flex: 1;
  min-width: 140px;
  max-width: 220px;
}

.ip-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ip-muted);
  margin-bottom: 0.25rem;
}

.ip-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ip-progress-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ip-brand), var(--ip-violet));
  transition: width 0.35s ease;
}

.ip-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.ip-intro {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.ip-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ip-violet);
}

.ip-intro h1 {
  margin: 0.5rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ip-lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ip-muted);
}

.ip-intro-list {
  margin: 1rem auto;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--ip-muted);
}

.ip-intro-list li {
  margin: 0.35rem 0;
}

.ip-tagline {
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  max-width: 28rem;
  border-radius: 0.75rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  font-size: 0.85rem;
  font-style: italic;
  color: #5b21b6;
}

.ip-flakon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 1.25rem auto;
}

.ip-flakon__cap {
  width: 28px;
  height: 14px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #94a3b8, #64748b);
}

.ip-flakon__body {
  width: 100px;
  padding: 12px 10px 14px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #f8fafc, #e0f2fe);
  border: 2px solid #93c5fd;
  border-top: none;
  text-align: center;
  font-size: 0.55rem;
  line-height: 1.35;
  color: #1e3a8a;
  box-shadow: 0 8px 24px -8px rgb(30 64 175 / 0.35);
}

.ip-flakon__logo {
  display: block;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.ip-flakon__body strong {
  display: block;
  font-size: 0.62rem;
}

.ip-flakon__sub,
.ip-flakon__lot,
.ip-flakon__skt {
  display: block;
  font-size: 0.5rem;
}

.ip-flakon__stripe {
  width: 100px;
  height: 4px;
  background: #e11d48;
  border-radius: 0 0 2px 2px;
}

.ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--ip-border);
  background: #fff;
  color: var(--ip-ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.ip-btn--primary {
  background: linear-gradient(135deg, var(--ip-brand), #4338ca);
  border-color: transparent;
  color: #fff;
}

.ip-btn--primary:hover {
  filter: brightness(1.05);
}

.ip-btn--ghost:hover {
  background: #f8fafc;
}

.ip-scene {
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: var(--ip-radius);
  padding: 0;
  overflow: visible;
  box-shadow: 0 12px 40px -16px rgb(15 23 42 / 0.12);
}

.ip-scene-stage {
  padding: 1.1rem 1.35rem 1.35rem;
}

.ip-meta {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ip-muted);
}

.ip-scene-title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ip-transition {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border-left: 4px solid var(--ip-violet);
  font-size: 0.88rem;
  font-weight: 600;
  color: #4338ca;
}

.ip-thought {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-size: 0.85rem;
  font-style: italic;
  color: #475569;
  border: 1px dashed #cbd5e1;
}

.ip-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.625rem;
  background: #fff1f2;
  border: 1px solid #fecaca;
}

.ip-alert strong {
  display: block;
  color: #9f1239;
  margin-bottom: 0.35rem;
}

.ip-alert ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: #881337;
}

.ip-agenda {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.625rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ip-agenda h4 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.ip-agenda ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip-agenda li {
  display: flex;
  gap: 0.65rem;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  color: #334155;
  border-bottom: 1px dashed #e2e8f0;
}

.ip-agenda li:last-child {
  border-bottom: none;
}

.ip-agenda li span {
  font-weight: 700;
  color: #1d4ed8;
  min-width: 3.25rem;
}

.ip-sms {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f0f9ff, #eef2ff);
  border: 1px solid #bfdbfe;
}

.ip-sms__from {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.ip-sms__body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #1e293b;
}

.ip-narrative {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
}

.ip-product-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: 0.82rem;
}

.ip-product-note h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #0369a1;
}

.ip-dialogue {
  margin: 0 0 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ip-dialogue__who {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ip-brand);
  margin-bottom: 0.25rem;
}

.ip-dialogue p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.ip-phone {
  margin: 1rem 0;
  max-width: 320px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #d1d5db;
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.2);
}

.ip-phone__bar {
  padding: 0.5rem 0.75rem;
  background: #075e54;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.ip-phone__msg {
  padding: 1rem;
  background: #e5ddd5;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #111;
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  margin: 0.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.ip-continue-wrap {
  margin-top: 1.25rem;
  text-align: center;
}

/* —— Konuşma akışı (test şıkları değil) —— */
.ip-conversation {
  margin: 0.85rem 0 0;
  padding: 0;
}

.ip-dialogue-zone {
  margin: 0.85rem 0 0;
}

.ip-replies {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #cbd5e1;
}

.ip-replies__divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4338ca;
}

.ip-replies__divider::before,
.ip-replies__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c7d2fe, transparent);
}

.ip-replies__prompt {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-style: italic;
  color: #64748b;
  line-height: 1.45;
}

.ip-replies__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ip-reply {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.35rem 0.5rem 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s;
}

.ip-reply:hover {
  transform: translateX(4px);
}

.ip-reply:hover .ip-reply__bubble {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  border-color: #93c5fd;
  box-shadow: 0 6px 20px -12px rgb(37 99 235 / 0.35);
}

.ip-reply__avatar {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #4338ca);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 0.15rem;
  box-shadow: 0 4px 12px -6px rgb(30 64 175 / 0.45);
}

.ip-reply__bubble {
  flex: 1;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem 0.65rem 0.2rem 0.65rem;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #bfdbfe;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #1e293b;
}

.ip-reply__bubble q {
  quotes: none;
  font-style: normal;
}

.ip-reply__go {
  flex-shrink: 0;
  align-self: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  opacity: 0;
  transition: opacity 0.15s;
}

.ip-reply:hover .ip-reply__go {
  opacity: 1;
  color: #1d4ed8;
  background: #dbeafe;
}

.ip-scene-action {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.ip-scene-action__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e40af, #4338ca);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgb(30 64 175 / 0.5);
  transition: filter 0.15s, transform 0.12s;
}

.ip-scene-action__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.ip-scene-action__btn--submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.ip-saha-form-wrap {
  margin: 1rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.ip-saha-form__bar {
  padding: 0.55rem 0.85rem;
  background: #1e293b;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
}

.ip-saha-form {
  padding: 1rem;
}

.ip-saha-field {
  margin-bottom: 1rem;
}

.ip-saha-field h4 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.ip-saha-field__opts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ip-saha-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.84rem;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.ip-saha-opt:has(input:checked) {
  border-color: #3b82f6;
  background: #eff6ff;
}

.ip-saha-opt input {
  margin-top: 0.2rem;
  accent-color: #1d4ed8;
}

.ip-report fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.ip-report legend {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ip-report-opt {
  display: block;
  margin: 0.35rem 0;
  font-size: 0.85rem;
  cursor: pointer;
}

.ip-finale__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.ip-finale__score {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

.ip-finale__score strong {
  font-size: 1.75rem;
  color: var(--ip-brand);
}

.ip-fatal {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fff1f2;
  border: 1px solid #fecaca;
}

.ip-fatal h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #9f1239;
}

.ip-fatal p {
  margin: 0 0 0.5rem;
  color: #7f1d1d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.ip-fatal ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
}

.ip-fatal__item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: rgb(255 255 255 / 0.65);
  color: #881337;
  line-height: 1.45;
}

.ip-fatal__item i {
  color: #e11d48;
  margin-top: 0.12rem;
}

.ip-fatal-ok {
  color: var(--ip-ok);
  font-size: 0.88rem;
  font-weight: 600;
}

.ip-comp-grid {
  display: grid;
  gap: 0.65rem;
}

.ip-comp {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.ip-comp__track {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ip-comp__track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.ip-comp strong {
  font-size: 0.8rem;
  min-width: 2rem;
  text-align: right;
}

.ip-finale-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

@media print {
  .ip-top,
  .ip-finale-actions,
  .ip-fr-dock,
  #ipLiveReportWrap,
  .ip-fr-final__actions {
    display: none !important;
  }

  .ip-fr-doc {
    box-shadow: none;
    border: none;
  }
}

/* Canlı saha raporu — dock */
#ipLiveReportWrap {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
  max-width: min(360px, calc(100vw - 2rem));
}

.ip-fr-dock {
  font-family: Inter, system-ui, sans-serif;
}

.ip-fr-dock__toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e293b, #312e81);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px -12px rgb(15 23 42 / 0.55);
}

.ip-fr-dock__toggle em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.65rem;
  opacity: 0.85;
  background: rgb(255 255 255 / 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.ip-fr-dock--flash .ip-fr-dock__toggle {
  animation: ip-fr-flash 0.6s ease;
}

@keyframes ip-fr-flash {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgb(59 130 246 / 0.45);
  }
}

.ip-fr-dock__panel {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -20px rgb(15 23 42 / 0.35);
  max-height: 280px;
  overflow-y: auto;
}

.ip-fr-dock__latest-label {
  margin: 0 0 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.ip-fr-dock__more {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  color: #64748b;
}

/* Rapor belgesi */
.ip-fr-entry {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
}

.ip-fr-entry--new {
  animation: ip-fr-entry-in 0.45s ease;
  border-color: #93c5fd;
  background: #eff6ff;
}

@keyframes ip-fr-entry-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ip-fr-entry__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
  color: #64748b;
}

.ip-fr-entry__section {
  font-weight: 700;
  color: #4338ca;
}

.ip-fr-entry__title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.ip-fr-entry__lines {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.45;
  color: #334155;
}

.ip-fr-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

.ip-fr-tag {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
}

.ip-fr-entry__risk {
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #be123c;
}

.ip-fr-final__lead {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.88rem;
  color: #1e40af;
}

.ip-fr-doc {
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 48px -24px rgb(15 23 42 / 0.2);
}

.ip-fr-doc__letterhead {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #1e3a8a, #312e81);
  color: #fff;
}

.ip-fr-doc__logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ip-fr-doc__meta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.ip-fr-doc__meta dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  margin: 0;
  font-size: 0.72rem;
}

.ip-fr-doc__meta dt {
  opacity: 0.75;
  font-weight: 600;
}

.ip-fr-doc__meta dd {
  margin: 0;
  font-weight: 600;
}

.ip-fr-doc__exec,
.ip-fr-doc__summary,
.ip-fr-doc__body,
.ip-fr-doc__fatal {
  padding: 1rem 1.35rem;
  border-top: 1px solid #e2e8f0;
}

.ip-fr-doc__exec h3,
.ip-fr-doc__summary h3,
.ip-fr-doc__body h3,
.ip-fr-doc__fatal h3 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.ip-fr-doc__exec p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #334155;
}

.ip-fr-summary-grid {
  display: grid;
  gap: 0.45rem;
}

.ip-fr-summary-item {
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
}

.ip-fr-summary-item strong {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.ip-fr-summary-item--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.ip-fr-summary-item--warn {
  background: #fff1f2;
  border-color: #fecaca;
}

.ip-fr-doc__body .ip-fr-entry {
  background: #fff;
}

.ip-fr-doc__foot {
  padding: 0.75rem 1.35rem;
  background: #f8fafc;
  font-size: 0.65rem;
  color: #64748b;
  text-align: center;
}

.ip-fr-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.ip-fr-error {
  margin: 1rem 0;
  padding: 1.25rem;
  text-align: center;
  border-radius: 0.75rem;
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #9f1239;
}

.ip-fr-error p {
  margin: 0 0 1rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ip-finale__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* —— Konum bandı —— */
.ip-loc {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.ip-loc__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.ip-loc--sky {
  background: #eff6ff;
  color: #1e40af;
}
.ip-loc--sky .ip-loc__icon {
  background: #dbeafe;
  color: #1d4ed8;
}
.ip-loc--rose {
  background: #fff1f2;
  color: #9f1239;
}
.ip-loc--rose .ip-loc__icon {
  background: #fecdd3;
  color: #be123c;
}
.ip-loc--blue {
  background: #eff6ff;
  color: #1e3a8a;
}
.ip-loc--blue .ip-loc__icon {
  background: #bfdbfe;
}
.ip-loc--amber {
  background: #fffbeb;
  color: #92400e;
}
.ip-loc--amber .ip-loc__icon {
  background: #fde68a;
}
.ip-loc--violet {
  background: #f5f3ff;
  color: #5b21b6;
}
.ip-loc--violet .ip-loc__icon {
  background: #ddd6fe;
}
.ip-loc--slate {
  background: #f8fafc;
  color: #334155;
}
.ip-loc--slate .ip-loc__icon {
  background: #e2e8f0;
}
.ip-loc--emerald {
  background: #ecfdf5;
  color: #047857;
}
.ip-loc--emerald .ip-loc__icon {
  background: #a7f3d0;
}
.ip-loc--indigo {
  background: #eef2ff;
  color: #3730a3;
}
.ip-loc--indigo .ip-loc__icon {
  background: #c7d2fe;
}

/* —— Telefon + sahne ızgarası —— */
.ip-scene--with-phone .ip-scene-title {
  margin-bottom: 0.65rem;
}

.ip-scene-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 0.5rem;
}

.ip-scene-grid__phone {
  position: sticky;
  top: 5rem;
}

.ip-device-wrap {
  position: relative;
}

.ip-device-wrap__alert-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-size: 0.68rem;
  font-weight: 700;
  color: #be123c;
  animation: ip-pulse-band 1.2s ease-in-out infinite;
}

.ip-device-wrap__caption {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: var(--ip-muted);
  text-align: center;
  line-height: 1.45;
}

.ip-device-wrap--ring .ip-device {
  animation: ip-phone-ring 0.45s ease-in-out infinite;
}

.ip-device-wrap--vibrate .ip-device__shell {
  animation: ip-phone-vibrate 0.12s linear infinite;
}

@keyframes ip-phone-ring {
  0%,
  100% {
    transform: rotate(-1.5deg);
  }
  50% {
    transform: rotate(1.5deg);
  }
}

@keyframes ip-phone-vibrate {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}

@keyframes ip-pulse-band {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

.ip-device {
  margin: 0 auto;
  max-width: 240px;
}

.ip-device__shell {
  border-radius: 2rem;
  padding: 0.45rem;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.08),
    0 20px 50px -12px rgb(0 0 0 / 0.45),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.ip-device__island {
  width: 72px;
  height: 22px;
  margin: 0 auto 0.35rem;
  border-radius: 999px;
  background: #000;
}

.ip-device__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.65rem 0.25rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
}

.ip-device__status-icons {
  display: flex;
  gap: 0.25rem;
  font-size: 0.55rem;
  opacity: 0.9;
}

.ip-device__screen {
  position: relative;
  min-height: 340px;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #0f172a;
}

.ip-device__screen--field-app {
  color: #fff;
}

.ip-screen-wallpaper {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #1e3a8a 0%, #312e81 50%, #0f172a 100%);
  opacity: 0.95;
}

.ip-screen-wallpaper--app::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgb(59 130 246 / 0.35), transparent 55%);
}

.ip-lock-time {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 0;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 200;
  letter-spacing: -0.04em;
}

.ip-lock-date {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.ip-push {
  position: relative;
  z-index: 2;
  margin: 0 0.65rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.92);
  color: #0f172a;
  box-shadow: 0 8px 24px -6px rgb(0 0 0 / 0.35);
  animation: ip-push-in 0.5s ease-out;
}

.ip-push--critical {
  border: 2px solid #f43f5e;
  animation: ip-push-in 0.5s ease-out, ip-push-glow 1.5s ease-in-out infinite;
}

@keyframes ip-push-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ip-push-glow {
  0%,
  100% {
    box-shadow: 0 8px 24px -6px rgb(244 63 94 / 0.35);
  }
  50% {
    box-shadow: 0 8px 28px -4px rgb(244 63 94 / 0.55);
  }
}

.ip-push__row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.ip-push__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, #1e40af, #4338ca);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.ip-push__meta {
  flex: 1;
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: #64748b;
}

.ip-push__app {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ip-push__title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #9f1239;
  margin-bottom: 0.2rem;
}

.ip-push__body {
  font-size: 0.68rem;
  line-height: 1.4;
  color: #334155;
}

.ip-push__list {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
  font-size: 0.62rem;
  color: #475569;
}

.ip-device__bar {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0 0.15rem;
}

.ip-device__bar span {
  width: 28%;
  height: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.35);
}

/* WhatsApp ekranı */
.ip-device__screen--whatsapp {
  display: flex;
  flex-direction: column;
  background: #0b141a;
  min-height: 360px;
}

.ip-wa-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.55rem;
  background: #1f2c34;
  color: #e9edef;
  font-size: 0.68rem;
}

.ip-wa-back {
  opacity: 0.8;
  font-size: 0.65rem;
}

.ip-wa-avatar {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--av-color, #64748b);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-wa-contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ip-wa-contact strong {
  font-size: 0.72rem;
}

.ip-wa-contact span {
  font-size: 0.58rem;
  opacity: 0.7;
}

.ip-wa-actions {
  display: flex;
  gap: 0.5rem;
  opacity: 0.85;
}

.ip-wa-chat {
  flex: 1;
  padding: 0.65rem;
  background: #0b141a url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%230b141a'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23182229' stroke-width='0.5'/%3E%3C/svg%3E");
  overflow-y: auto;
}

.ip-wa-bubble {
  max-width: 88%;
  margin-bottom: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem 0.5rem 0.5rem 0.15rem;
  background: #1f2c34;
  color: #e9edef;
  font-size: 0.68rem;
  line-height: 1.45;
}

.ip-wa-bubble--new {
  animation: ip-wa-pop 0.4s ease-out;
  box-shadow: 0 0 0 2px rgb(37 211 102 / 0.35);
}

@keyframes ip-wa-pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ip-wa-bubble p {
  margin: 0;
}

.ip-wa-time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.55rem;
  opacity: 0.65;
  text-align: right;
}

.ip-wa-time .fa-check-double {
  color: #53bdeb;
  margin-left: 0.15rem;
}

.ip-wa-typing {
  display: flex;
  gap: 0.2rem;
  padding: 0.35rem 0.5rem;
  margin-top: 0.25rem;
}

.ip-wa-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8696a0;
  animation: ip-typing 1s ease-in-out infinite;
}

.ip-wa-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.ip-wa-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes ip-typing {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.ip-wa-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background: #1f2c34;
  color: #8696a0;
  font-size: 0.65rem;
}

.ip-wa-footer span {
  flex: 1;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: #2a3942;
}

/* SMS ekranı */
.ip-device__screen--sms {
  display: flex;
  flex-direction: column;
  background: #f2f2f7;
  min-height: 360px;
  color: #000;
}

.ip-sms-app-header {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.65rem;
  background: #f2f2f7;
  border-bottom: 1px solid #d1d5db;
  font-size: 0.68rem;
  font-weight: 600;
  color: #007aff;
}

.ip-sms-thread-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.65rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.ip-sms-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--av-color, #4338ca);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.ip-sms-thread {
  flex: 1;
  padding: 0.75rem;
}

.ip-sms-bubble {
  max-width: 90%;
  padding: 0.55rem 0.7rem;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: #e5e5ea;
  font-size: 0.72rem;
  line-height: 1.5;
  animation: ip-wa-pop 0.45s ease-out;
}

.ip-sms-bubble p {
  margin: 0;
}

.ip-sms-time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.58rem;
  color: #6b7280;
}

/* Diyalog balonları */
.ip-dialogues {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 0.5rem;
}

.ip-dialogues .ip-dialogue {
  animation: ip-dialogue-in 0.45s ease-out backwards;
}

.ip-dialogues .ip-dialogue:nth-child(1) {
  animation-delay: 0.05s;
}
.ip-dialogues .ip-dialogue:nth-child(2) {
  animation-delay: 0.2s;
}
.ip-dialogues .ip-dialogue:nth-child(3) {
  animation-delay: 0.35s;
}

@keyframes ip-dialogue-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ip-scene-grid__body .ip-dialogues {
  margin-top: 0;
}

.ip-dialogue {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.ip-dialogue__avatar {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--av-color, #64748b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px -4px rgb(0 0 0 / 0.2);
}

.ip-dialogue__bubble {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem 0.65rem 0.65rem 0.2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ip-dialogue__who {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ip-brand);
  margin-bottom: 0.2rem;
}

.ip-dialogue__bubble p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.ip-conversation .ip-dialogues {
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ip-narrative-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #f0f9ff, #faf5ff);
  border: 1px solid #bfdbfe;
}

.ip-narrative-card__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: #fff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px -6px rgb(29 78 216 / 0.35);
}

.ip-narrative-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
}

.ip-scene--crisis .ip-narrative-card {
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
  border-color: #fecaca;
}

.ip-scene--crisis .ip-narrative-card__icon {
  color: #be123c;
}

/* Gün zaman çizelgesi */
.ip-dayline {
  padding: 0.75rem 1rem 0.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--ip-border);
}

.ip-dayline__head {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.ip-dayline__track {
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.ip-dayline__fill {
  height: 100%;
  background: linear-gradient(90deg, #1e40af, #7c3aed);
  transition: width 0.4s ease;
}

.ip-dayline__nodes {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.ip-dayline__node {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.6rem;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.ip-dayline__node em {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 700;
  color: #64748b;
}

.ip-dayline__node b {
  font-size: 0.48rem;
  font-weight: 600;
  color: #94a3b8;
}

.ip-dayline__node--done {
  opacity: 0.7;
}

.ip-dayline__node--active {
  opacity: 1;
}

.ip-dayline__node--active em {
  color: #1d4ed8;
}

.ip-dayline__node--active b {
  color: #4338ca;
  font-weight: 800;
}

/* Sahne hero */
.ip-hero {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--ip-border);
}

.ip-hero--compact {
  min-height: 120px;
}

.ip-hero--mood-critical {
  animation: ip-hero-pulse 2.5s ease-in-out infinite;
}

@keyframes ip-hero-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgb(244 63 94 / 0);
  }
  50% {
    box-shadow: inset 0 -40px 60px -40px rgb(244 63 94 / 0.25);
  }
}

.ip-hero__env {
  position: absolute;
  inset: 0;
}

.ip-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(15 23 42 / 0.15) 0%,
    rgb(15 23 42 / 0.55) 55%,
    rgb(15 23 42 / 0.82) 100%
  );
  z-index: 1;
}

.ip-hero__content {
  position: relative;
  z-index: 2;
  padding: 1rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  color: #fff;
}

.ip-hero__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.35);
}

.ip-hero--compact .ip-hero__title {
  font-size: 1.05rem;
}

.ip-hero__meta {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.72rem;
  opacity: 0.9;
}

.ip-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ip-hero__alert-band {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-bottom: 0.45rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgb(190 18 60 / 0.9);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: ip-alert-flash 1.2s ease-in-out infinite;
}

@keyframes ip-alert-flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}

.ip-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.ip-hero-chip {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.18);
  border: 1px solid rgb(255 255 255 / 0.25);
}

.ip-hero-chip--alert {
  background: rgb(254 226 226 / 0.95);
  color: #9f1239;
  border-color: #fecaca;
}

.ip-vitals {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 110px;
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  background: rgb(0 0 0 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.15);
  z-index: 3;
}

.ip-vitals__label {
  font-size: 0.5rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.15rem;
}

.ip-vitals__wave {
  width: 100%;
  height: 22px;
  color: #f87171;
  animation: ip-vitals-scroll 2s linear infinite;
}

@keyframes ip-vitals-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-8px);
  }
}

.ip-vitals__bpm {
  font-size: 0.62rem;
  font-weight: 800;
  color: #fca5a5;
}

.ip-hero__cast {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.ip-hero-char {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  animation: ip-char-in 0.5s ease-out backwards;
  animation-delay: calc(var(--char-i, 0) * 0.12s);
}

@keyframes ip-char-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ip-hero-char__fig {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--av-color, #64748b);
  border: 2px solid rgb(255 255 255 / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.4);
}

.ip-hero-char__name {
  font-size: 0.55rem;
  font-weight: 700;
  opacity: 0.85;
}

/* Koridor ortamı */
.ip-env-corridor {
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 40%, #64748b 100%);
}

.ip-corridor__vanish {
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: 42%;
  height: 45%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.ip-corridor__floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: repeating-linear-gradient(
    90deg,
    #475569 0,
    #475569 24px,
    #64748b 24px,
    #64748b 48px
  );
  opacity: 0.5;
}

.ip-corridor__sign {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.65rem;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 0.25rem;
  z-index: 1;
}

.ip-corridor__lights span {
  position: absolute;
  top: 12%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: ip-beacon 1s ease-in-out infinite;
}

.ip-corridor__lights span:nth-child(1) {
  left: 18%;
}
.ip-corridor__lights span:nth-child(2) {
  left: 50%;
  animation-delay: 0.35s;
}
.ip-corridor__lights span:nth-child(3) {
  right: 18%;
  animation-delay: 0.7s;
}

@keyframes ip-beacon {
  0%,
  100% {
    opacity: 0.35;
    box-shadow: 0 0 0 0 rgb(239 68 68 / 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px 4px rgb(239 68 68 / 0.6);
  }
}

.ip-corridor__door {
  position: absolute;
  bottom: 28%;
  width: 14%;
  height: 38%;
  background: #334155;
  border: 2px solid #1e293b;
  border-radius: 2px 2px 0 0;
}

.ip-corridor__door--l {
  left: 8%;
}
.ip-corridor__door--r {
  right: 8%;
}

/* Otopark */
.ip-env-parking {
  background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 45%, #94a3b8 100%);
}

.ip-parking__building {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: 55%;
  height: 48%;
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #1e40af;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.25);
}

.ip-parking__building small {
  font-size: 0.45rem;
  font-weight: 600;
  color: #64748b;
}

.ip-parking__car {
  position: absolute;
  bottom: 22%;
  left: 22%;
  width: 38%;
  height: 18%;
  background: #334155;
  border-radius: 0.5rem 0.5rem 0.2rem 0.2rem;
}

.ip-parking__car::before {
  content: '';
  position: absolute;
  top: -28%;
  left: 8%;
  right: 8%;
  height: 55%;
  background: #475569;
  border-radius: 0.35rem 0.35rem 0 0;
}

.ip-parking__lines {
  position: absolute;
  bottom: 12%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: repeating-linear-gradient(90deg, #fff 0 20px, transparent 20px 40px);
  opacity: 0.6;
}

/* İlaç hazırlama / lot */
.ip-env-pharmacy {
  background: linear-gradient(165deg, #0c1929 0%, #132f4c 45%, #1e3a5f 100%);
}

.ip-pharmacy__room {
  position: absolute;
  inset: 0;
}

.ip-pharmacy__lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.12), transparent);
  pointer-events: none;
}

.ip-pharmacy__lights span {
  position: absolute;
  top: 12%;
  width: 55%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgb(186 230 253 / 0.5), transparent);
  border-radius: 999px;
}

.ip-pharmacy__lights span:nth-child(1) {
  left: 8%;
}
.ip-pharmacy__lights span:nth-child(2) {
  left: 32%;
  opacity: 0.85;
}
.ip-pharmacy__lights span:nth-child(3) {
  right: 8%;
  width: 40%;
}

.ip-pharmacy__sign {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgb(15 23 42 / 0.65);
  border: 1px solid rgb(148 163 184 / 0.35);
  color: #bae6fd;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ip-pharmacy__sign i {
  margin-right: 0.25rem;
  opacity: 0.9;
}

.ip-pharmacy__fridge {
  position: absolute;
  left: 6%;
  top: 18%;
  width: 28%;
  height: 42%;
  border-radius: 0.35rem;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
  border: 2px solid #64748b;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.15), 0 8px 24px -8px rgb(0 0 0 / 0.45);
}

.ip-pharmacy__fridge-glass {
  position: absolute;
  inset: 8% 6% 22%;
  border-radius: 0.2rem;
  background: linear-gradient(135deg, rgb(186 230 253 / 0.25), rgb(59 130 246 / 0.08));
  border: 1px solid rgb(255 255 255 / 0.2);
}

.ip-pharmacy__fridge-shelves {
  position: absolute;
  inset: 14% 10% 28%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0.15rem;
}

.ip-pharmacy__vial {
  display: block;
  width: 42%;
  height: 18%;
  margin: 0 auto;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, #f0f9ff, #7dd3fc);
  border: 1px solid #38bdf8;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}

.ip-pharmacy__vial::before {
  content: '';
  display: block;
  width: 55%;
  height: 22%;
  margin: -22% auto 0;
  background: #94a3b8;
  border-radius: 2px 2px 0 0;
}

.ip-pharmacy__vial--alt {
  opacity: 0.75;
  transform: scale(0.92);
}

.ip-pharmacy__fridge-temp {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.48rem;
  font-weight: 700;
  color: #1e3a8a;
}

.ip-pharmacy__rack {
  position: absolute;
  left: 36%;
  top: 22%;
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ip-pharmacy__box {
  padding: 0.35rem 0.45rem;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 1px solid #94a3b8;
  box-shadow: 0 4px 10px -4px rgb(0 0 0 / 0.35);
  font-size: 0.42rem;
  line-height: 1.25;
  color: #1e3a8a;
}

.ip-pharmacy__box span {
  display: block;
  font-weight: 800;
  font-size: 0.46rem;
}

.ip-pharmacy__box em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-family: ui-monospace, monospace;
  font-size: 0.4rem;
  color: #475569;
}

.ip-pharmacy__box--active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgb(59 130 246 / 0.45), 0 6px 14px -6px rgb(37 99 235 / 0.5);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.ip-pharmacy__box--active em {
  color: #1d4ed8;
  font-weight: 700;
}

.ip-pharmacy__box--small {
  height: 0.55rem;
  padding: 0;
  opacity: 0.5;
}

.ip-pharmacy__bench {
  position: absolute;
  bottom: 14%;
  left: 8%;
  right: 34%;
  height: 26%;
  border-radius: 0.4rem;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border: 1px solid #64748b;
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 0.2);
}

.ip-pharmacy__tray {
  position: absolute;
  left: 8%;
  top: 18%;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
}

.ip-pharmacy__flakon-used {
  width: 22px;
  height: 48px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
  border: 1px solid #64748b;
  opacity: 0.85;
}

.ip-pharmacy__flakon-used::before {
  content: '';
  display: block;
  width: 12px;
  height: 8px;
  margin: -8px auto 0;
  background: #64748b;
  border-radius: 2px 2px 0 0;
}

.ip-pharmacy__label-slip {
  padding: 0.25rem 0.35rem;
  border-radius: 0.2rem;
  background: #fff;
  border: 1px dashed #f59e0b;
  font-size: 0.38rem;
  color: #92400e;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
}

.ip-pharmacy__label-slip strong {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.42rem;
  color: #b45309;
}

.ip-pharmacy__receipt {
  position: absolute;
  right: 8%;
  bottom: 18%;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  background: #fff;
  font-size: 0.38rem;
  font-weight: 700;
  color: #475569;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}

.ip-pharmacy__receipt i {
  margin-right: 0.2rem;
  color: #64748b;
}

.ip-pharmacy__terminal {
  position: absolute;
  right: 5%;
  top: 20%;
  width: 30%;
}

.ip-pharmacy__terminal-head {
  padding: 0.25rem 0.4rem;
  border-radius: 0.3rem 0.3rem 0 0;
  background: #1e293b;
  color: #7dd3fc;
  font-size: 0.42rem;
  font-weight: 800;
  text-align: center;
}

.ip-pharmacy__terminal-head i {
  margin-right: 0.2rem;
}

.ip-pharmacy__terminal-screen {
  padding: 0.45rem 0.4rem 0.5rem;
  border-radius: 0 0 0.35rem 0.35rem;
  background: linear-gradient(180deg, #0f172a, #1e293b);
  border: 2px solid #334155;
  border-top: none;
  text-align: center;
}

.ip-pharmacy__terminal-lot {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.52rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.04em;
}

.ip-pharmacy__terminal-status {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.36rem;
  color: #94a3b8;
}

.ip-pharmacy__barcode {
  margin: 0.35rem auto 0;
  width: 70%;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    #f8fafc 0 2px,
    transparent 2px 4px,
    #f8fafc 4px 5px,
    transparent 5px 8px
  );
  opacity: 0.85;
}

.ip-pharmacy__quarantine {
  position: absolute;
  bottom: 8%;
  right: 6%;
  padding: 0.22rem 0.45rem;
  border-radius: 0.3rem;
  background: rgb(190 18 60 / 0.2);
  border: 1px dashed #fb7185;
  color: #fecdd3;
  font-size: 0.4rem;
  font-weight: 700;
}

.ip-pharmacy__quarantine i {
  margin-right: 0.2rem;
}

.ip-hero--env-pharmacy .ip-hero__shade {
  background: linear-gradient(
    180deg,
    rgb(15 23 42 / 0.05) 0%,
    rgb(15 23 42 / 0.35) 50%,
    rgb(15 23 42 / 0.88) 100%
  );
}

/* Flakon */
.ip-env-vial {
  background: radial-gradient(circle at 50% 30%, #1e3a8a, #0f172a);
}

.ip-env-vial__flakon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
}

.ip-env-vial__cap {
  width: 36px;
  height: 16px;
  margin: 0 auto;
  background: #94a3b8;
  border-radius: 4px 4px 0 0;
}

.ip-env-vial__body {
  padding: 14px 10px;
  background: linear-gradient(180deg, #f0f9ff, #bae6fd);
  border: 2px solid #60a5fa;
  border-top: none;
  border-radius: 0 0 8px 8px;
  text-align: center;
  font-size: 0.55rem;
  color: #1e3a8a;
  line-height: 1.35;
}

.ip-env-vial__body strong {
  display: block;
  font-size: 0.62rem;
}

.ip-env-vial__dot {
  position: absolute;
  top: 42%;
  right: 28%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgb(239 68 68 / 0.35);
  animation: ip-dot-pulse 1s ease-in-out infinite;
}

@keyframes ip-dot-pulse {
  50% {
    transform: scale(1.15);
  }
}

.ip-env-vial__glass {
  position: absolute;
  right: 18%;
  top: 30%;
  width: 50px;
  height: 50px;
  border: 3px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
}

/* Koridor / ofis / toplantı — kısaltılmış */
.ip-env-hallway {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.ip-hallway__window {
  position: absolute;
  right: 15%;
  top: 20%;
  width: 28%;
  height: 35%;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
  border: 3px solid #fff;
  border-radius: 0.2rem;
}

.ip-env-consult {
  background: linear-gradient(165deg, #1e1b4b 0%, #312e81 40%, #1e293b 100%);
}

.ip-consult__room {
  position: absolute;
  inset: 0;
}

.ip-consult__window {
  position: absolute;
  top: 10%;
  left: 8%;
  width: 38%;
  height: 32%;
  border-radius: 0.2rem;
  background: linear-gradient(180deg, rgb(186 230 253 / 0.35), rgb(59 130 246 / 0.12));
  border: 2px solid rgb(255 255 255 / 0.15);
  box-shadow: inset 0 0 24px rgb(255 255 255 / 0.08);
}

.ip-consult__window::after {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border-left: 1px solid rgb(255 255 255 / 0.2);
}

.ip-consult__bookshelf {
  position: absolute;
  top: 14%;
  right: 10%;
  width: 22%;
  height: 28%;
  border-radius: 0.2rem;
  background: linear-gradient(180deg, #4c1d95, #312e81);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.4);
}

.ip-consult__bookshelf::before,
.ip-consult__bookshelf::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgb(255 255 255 / 0.15);
}

.ip-consult__bookshelf::before {
  top: 38%;
}
.ip-consult__bookshelf::after {
  top: 68%;
}

.ip-consult__desk {
  position: absolute;
  bottom: 22%;
  left: 12%;
  right: 14%;
  height: 22%;
  border-radius: 0.35rem 0.35rem 0.1rem 0.1rem;
  background: linear-gradient(180deg, #64748b, #475569);
  border: 1px solid #334155;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5);
}

.ip-consult__monitor {
  position: absolute;
  left: 10%;
  top: -38%;
  width: 42%;
  height: 55%;
  padding: 0.35rem 0.4rem;
  border-radius: 0.25rem;
  background: #0f172a;
  border: 2px solid #334155;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.35);
}

.ip-consult__monitor-tag {
  display: block;
  font-size: 0.42rem;
  font-weight: 800;
  color: #a5b4fc;
  margin-bottom: 0.25rem;
}

.ip-consult__monitor-tag i {
  margin-right: 0.15rem;
}

.ip-consult__monitor-line {
  display: block;
  height: 3px;
  margin-bottom: 0.2rem;
  border-radius: 999px;
  background: rgb(148 163 184 / 0.35);
}

.ip-consult__monitor-line:last-child {
  width: 70%;
}

.ip-consult__folder {
  position: absolute;
  right: 12%;
  top: 18%;
  padding: 0.3rem 0.45rem;
  border-radius: 0.25rem;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.42rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
}

.ip-consult__folder i {
  margin-right: 0.15rem;
}

.ip-consult__chair {
  position: absolute;
  bottom: 18%;
  left: 42%;
  width: 16%;
  height: 20%;
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #475569, #334155);
}

.ip-consult__badge {
  position: absolute;
  bottom: 10%;
  right: 8%;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: rgb(245 158 11 / 0.2);
  border: 1px solid #fbbf24;
  color: #fde68a;
  font-size: 0.4rem;
  font-weight: 700;
}

.ip-consult__badge i {
  margin-right: 0.2rem;
}

.ip-hero--env-consult .ip-hero__shade {
  background: linear-gradient(
    180deg,
    rgb(15 23 42 / 0.08) 0%,
    rgb(15 23 42 / 0.4) 45%,
    rgb(15 23 42 / 0.9) 100%
  );
}

.ip-env-nurses {
  background: linear-gradient(180deg, #ecfdf5, #d1fae5);
}

.ip-nurses__station {
  position: absolute;
  bottom: 22%;
  left: 25%;
  right: 25%;
  height: 28%;
  background: #fff;
  border-radius: 0.35rem;
  border: 1px solid #a7f3d0;
}

.ip-env-ward {
  background: linear-gradient(180deg, #dbeafe, #bfdbfe);
}

.ip-ward__avatars span {
  position: absolute;
  bottom: 30%;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #64748b;
  border: 2px solid #fff;
}

.ip-ward__avatars span:nth-child(1) {
  left: 25%;
}
.ip-ward__avatars span:nth-child(2) {
  left: 38%;
  background: #3b82f6;
}
.ip-ward__avatars span:nth-child(3) {
  left: 51%;
  background: #8b5cf6;
}
.ip-ward__avatars span:nth-child(4) {
  left: 64%;
}

.ip-env-car {
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

.ip-car__dash {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: #334155;
  border-radius: 0.5rem 0.5rem 0 0;
}

.ip-car__phone-ping {
  position: absolute;
  bottom: 48%;
  right: 28%;
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  animation: ip-dot-pulse 0.8s ease-in-out infinite;
}

.ip-env-tablet {
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
}

.ip-tablet__device {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  padding: 0.65rem;
  background: #1e293b;
  border-radius: 0.5rem;
}

.ip-tablet__row {
  height: 6px;
  margin: 0.35rem 0;
  background: #334155;
  border-radius: 2px;
}

.ip-tablet__row--active {
  background: #3b82f6;
}

.ip-env-office {
  background: linear-gradient(180deg, #312e81, #1e1b4b);
}

.ip-office__logo {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 0.9);
}

.ip-env-meeting {
  background: linear-gradient(180deg, #4338ca, #312e81);
}

.ip-meeting__table {
  position: absolute;
  bottom: 22%;
  left: 15%;
  right: 15%;
  height: 20%;
  background: #6366f1;
  border-radius: 0.5rem;
  opacity: 0.7;
}

.ip-meeting__screen {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.6rem;
  background: #1e293b;
  color: #a5b4fc;
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 0.25rem;
}

@media (max-width: 720px) {
  .ip-hero {
    min-height: 170px;
  }

  .ip-hero__title {
    font-size: 1.1rem;
  }

  .ip-vitals {
    width: 90px;
    right: 0.65rem;
  }

  .ip-dayline__node b {
    display: none;
  }

  .ip-scene-grid {
    grid-template-columns: 1fr;
  }

  .ip-scene-grid__phone {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

  .ip-scene-grid__body {
    order: 2;
  }

  .ip-cinema {
    grid-template-columns: 1fr;
  }

  .ip-cinema__visual {
    min-height: 200px;
    position: relative;
    top: auto;
    max-height: none;
    border-radius: var(--ip-radius) var(--ip-radius) 0 0;
  }

  .ip-cinema__visual .ip-hero {
    min-height: 200px;
  }

  .ip-cinema__play {
    max-height: none;
    overflow: visible;
    border-radius: 0 0 var(--ip-radius) var(--ip-radius);
  }

  .ip-companion-phone {
    display: none;
  }
}

/* —— Kurumsal demo: üst bar —— */
.ip-top-brands {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.25rem 0 0.15rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ip-top-brand--inc {
  color: #4338ca;
}
.ip-top-brand--sebs {
  color: #64748b;
}
.ip-top-brand--sep {
  color: #cbd5e1;
  font-weight: 400;
}

.ip-app--demo .ip-top {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgb(255 255 255 / 0.08);
  color: #fff;
}

.ip-app--demo .ip-top h1,
.ip-app--demo .ip-top .sub,
.ip-app--demo .ip-progress-label {
  color: #e2e8f0;
}

.ip-app--demo .ip-back {
  color: #93c5fd;
}

/* —— Sinematik intro —— */
.ip-intro-cinema {
  position: relative;
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-radius: var(--ip-radius);
  overflow: hidden;
}

.ip-intro-cinema__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgb(59 130 246 / 0.35), transparent),
    linear-gradient(180deg, #1e3a8a 0%, #0f172a 70%);
}

.ip-intro-cinema__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Cpath fill='%2394a3b8' opacity='0.25' d='M0 120 L80 40 L160 80 L240 20 L320 70 L400 30 L400 120 Z'/%3E%3C/svg%3E")
    bottom center / cover no-repeat;
}

.ip-intro-cinema__content {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  text-align: center;
  color: #fff;
}

.ip-intro-cinema__brands {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ip-brand-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ip-brand-pill--sebs {
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.2);
}

.ip-brand-pill--inc {
  background: linear-gradient(135deg, #4338ca, #1d4ed8);
}

.ip-intro-cinema h1 {
  margin: 0.5rem 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ip-intro-cinema__lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgb(226 232 240 / 0.9);
}

.ip-role-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto 1.25rem;
  max-width: 20rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.15);
}

.ip-role-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ip-role-card strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.ip-role-card p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.ip-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  color: #cbd5e1;
}

.ip-trust-row li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ip-intro-cinema__disclaimer {
  margin: 0 0 1.25rem;
  font-size: 0.68rem;
  color: #94a3b8;
}

.ip-intro-cinema__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.ip-btn-cinema {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px -8px rgb(59 130 246 / 0.55);
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}

.ip-btn-cinema:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.ip-btn-cinema--ghost {
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.3);
  box-shadow: none;
}

.ip-intro-cinema__quote {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: #a5b4fc;
  border: none;
}

/* —— Sinematik sahne düzeni —— */
.ip-cinema {
  display: grid;
  grid-template-columns: minmax(380px, 44%) 1fr;
  align-items: start;
  gap: 0;
  border-radius: var(--ip-radius);
  overflow: visible;
  box-shadow: 0 24px 64px -24px rgb(0 0 0 / 0.45);
  animation: ip-cinema-enter 0.55s ease-out;
}

@keyframes ip-cinema-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ip-cinema__visual {
  position: relative;
  min-height: 480px;
  background: #0f172a;
  border-radius: var(--ip-radius) 0 0 var(--ip-radius);
  overflow: hidden;
}

.ip-cinema__visual .ip-hero {
  min-height: 480px;
  height: 100%;
  border-bottom: none;
}

.ip-cinema__visual:has(.ip-companion-phone) .ip-hero__content {
  padding-right: min(46%, 11rem);
  padding-bottom: 1rem;
}

.ip-cinema__play {
  background: var(--ip-panel);
  border-radius: 0 var(--ip-radius) var(--ip-radius) 0;
  min-width: 0;
}

.ip-cinema__play .ip-scene {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Masaüstü: sol VR/görsel sabit, diyalog paneli kaydırılabilir */
@media (min-width: 721px) {
  .ip-cinema__visual {
    position: sticky;
    top: 5.25rem;
    max-height: calc(100dvh - 5.75rem);
    min-height: min(480px, calc(100dvh - 5.75rem));
  }

  .ip-cinema__visual .ip-hero {
    min-height: min(480px, calc(100dvh - 5.75rem));
  }

  .ip-cinema__play {
    max-height: calc(100dvh - 5.75rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-bottom: 1.5rem;
  }

  .ip-cinema__play .ip-scene-stage {
    padding-bottom: 2rem;
  }

  .ip-cinema__play .ip-replies {
    scroll-margin-bottom: 1rem;
  }
}

.ip-cinema--phone-focus .ip-cinema__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, #0f172a, #1e3a8a);
}

.ip-visual-phone-focus .ip-device {
  max-width: min(280px, 88%);
  width: 100%;
}

.ip-visual-phone-focus .ip-device-wrap--ring .ip-device {
  animation: ip-phone-ring 0.45s ease-in-out infinite;
}

.ip-companion-phone {
  position: absolute;
  bottom: 1.15rem;
  right: 1.15rem;
  z-index: 4;
  width: min(200px, 46%);
  max-width: 200px;
  pointer-events: none;
}

.ip-companion-phone .ip-device {
  max-width: 100%;
  margin: 0;
}

.ip-companion-phone__label {
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: #e2e8f0;
  text-align: right;
  border-radius: 999px;
  background: rgb(15 23 42 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.12);
}

/* Küçük köşe telefonu — doğru en-boy, sıkıştırılmış değil */
.ip-device-wrap--compact .ip-device__shell {
  padding: 0.35rem;
  border-radius: 1.5rem;
}

.ip-device-wrap--compact .ip-device__island {
  width: 58px;
  height: 18px;
  margin-bottom: 0.25rem;
}

.ip-device-wrap--compact .ip-device__status {
  font-size: 0.55rem;
  padding: 0 0.5rem 0.2rem;
}

.ip-device-wrap--compact .ip-device__screen {
  min-height: 210px;
  border-radius: 1.1rem;
}

.ip-device-wrap--compact .ip-lock-time {
  font-size: 1.65rem;
  padding-top: 0.85rem;
}

.ip-device-wrap--compact .ip-lock-date {
  font-size: 0.58rem;
  margin-bottom: 0.45rem;
}

.ip-device-wrap--compact .ip-push {
  margin: 0 0.45rem 0.55rem;
  padding: 0.55rem 0.6rem;
}

.ip-device-wrap--compact .ip-push__title {
  font-size: 0.62rem;
}

.ip-device-wrap--compact .ip-push__body {
  font-size: 0.55rem;
  line-height: 1.35;
}

.ip-device-wrap--compact .ip-wa-chat,
.ip-device-wrap--compact .ip-sms-thread {
  max-height: 120px;
}

.ip-device-wrap--compact .ip-device-wrap__alert-band {
  font-size: 0.55rem;
  padding: 0.25rem 0.45rem;
}

.ip-scene-grid__phone .ip-device {
  max-width: min(300px, 100%);
  margin: 0 auto;
}

.ip-scene-grid__phone .ip-device__screen {
  min-height: 300px;
}

.ip-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ip-atmosphere__pulse {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgb(239 68 68 / 0.15);
  animation: ip-atmo-pulse 2s ease-in-out infinite;
}

.ip-atmosphere__pulse--2 {
  left: auto;
  right: 15%;
  animation-delay: 1s;
}

@keyframes ip-atmo-pulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* —— An kaydı (seçim sonrası) —— */
.ip-moment {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.ip-moment.ip-moment--show {
  display: flex;
  pointer-events: auto;
}

.ip-moment[hidden] {
  display: none !important;
}

.ip-moment__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.ip-moment--show .ip-moment__backdrop {
  opacity: 1;
}

.ip-moment__card {
  position: relative;
  max-width: 22rem;
  width: 100%;
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 64px -16px rgb(0 0 0 / 0.4);
  text-align: center;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.ip-moment--show .ip-moment__card {
  transform: scale(1);
  opacity: 1;
}

.ip-moment__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 800;
}

.ip-moment__card h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1rem;
  color: #0f172a;
}

.ip-moment__card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #475569;
}

.ip-moment__bar {
  height: 4px;
  margin: 1rem 0 0.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ip-moment__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 1.2s linear;
}

.ip-moment__skip {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* —— Premium finale —— */
.ip-finale-wrap {
  background: var(--ip-panel);
  border-radius: var(--ip-radius);
  padding: 1.5rem;
  box-shadow: 0 24px 64px -24px rgb(0 0 0 / 0.35);
}

.ip-finale-premium__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.ip-finale-premium__brand {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #4338ca;
}

.ip-finale-premium__score-ring {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: conic-gradient(
    #3b82f6 calc(var(--score, 70) * 1%),
    #e2e8f0 0
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ip-finale-premium__score-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.ip-finale-premium__score-val {
  position: relative;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1d4ed8;
  line-height: 1;
}

.ip-finale-premium__score-max {
  position: relative;
  font-size: 0.65rem;
  color: #64748b;
}

.ip-finale-premium__titles h2 {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
}

.ip-finale-premium__sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--ip-muted);
}

.ip-finale-premium__note {
  margin: 1rem 0 0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}
