.igc-shell .wgreet__title {
  font-size: 32px;
}

.igc-panel {
  padding: 16px;
  border-radius: 18px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  box-shadow: var(--tile-shadow);
}

.igc-panel.is-step-entering .igc-kicker,
.igc-panel.is-step-entering .igc-title,
.igc-panel.is-step-entering .igc-copy,
.igc-panel.is-step-entering .igc-stage,
.igc-panel.is-step-entering .igc-actions,
.igc-panel.is-step-entering .igc-status {
  animation: igcStepIn 320ms cubic-bezier(.2,.7,.2,1) both;
}

.igc-panel.is-step-entering .igc-title { animation-delay: 24ms; }
.igc-panel.is-step-entering .igc-copy { animation-delay: 48ms; }
.igc-panel.is-step-entering .igc-stage { animation-delay: 72ms; }
.igc-panel.is-step-entering .igc-actions { animation-delay: 104ms; }
.igc-panel.is-step-entering .igc-status { animation-delay: 128ms; }

@keyframes igcStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.igc-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--w-red);
  text-transform: uppercase;
}

.igc-title {
  margin: 8px 0 0;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--w-ink);
  word-break: keep-all;
}

.igc-copy {
  margin: 9px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--w-mute);
  word-break: keep-all;
}

.igc-copy strong {
  color: var(--w-ink);
}

.igc-stage {
  margin-top: 14px;
}

.igc-field {
  margin-top: 14px;
}

.igc-field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--w-mute);
  text-transform: uppercase;
}

.igc-input {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border-radius: 13px;
  border: 1px solid var(--w-rule);
  background: #fff;
  color: var(--w-ink);
  font: inherit;
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}

.igc-input:focus {
  outline: none;
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.12);
}

.igc-input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.igc-input-row .igc-input {
  flex: 1 1 auto;
  min-width: 0;
}

.igc-input-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.igc-paste,
.igc-clear {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(175,35,28,0.22);
  border-radius: 13px;
  background: #fff;
  color: var(--w-red);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
  word-break: keep-all;
  cursor: pointer;
}

.igc-clear {
  border-color: rgba(20,16,14,0.14);
  color: var(--w-mute);
}

.igc-paste:disabled,
.igc-clear:disabled {
  opacity: 0.56;
  cursor: wait;
}

.igc-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.igc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  word-break: keep-all;
  cursor: pointer;
}

.igc-btn--primary {
  background: var(--w-red);
  color: #fff;
}

.igc-btn--dark {
  background: var(--w-espresso);
  color: #fff;
}

.igc-btn--secondary {
  background: #fff;
  color: var(--w-ink);
  border: 1px solid var(--w-rule);
}

.igc-btn--text {
  background: transparent;
  color: var(--w-mute);
}

.igc-btn:disabled {
  opacity: 0.54;
  cursor: wait;
}

.igc-status {
  min-height: 18px;
  margin: 11px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--w-mute);
  word-break: keep-all;
}

.igc-status.is-error {
  color: var(--w-red);
}

.igc-status.is-ok {
  color: #1f8a5b;
}

.igc-info {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 14px;
  background: var(--w-red-soft);
  color: var(--w-red-ink);
  font-size: 12.5px;
  line-height: 1.55;
  word-break: keep-all;
}

.igc-safe {
  width: 100%;
  max-width: none;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--w-espresso);
  color: rgba(255,255,255,0.9);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: loose;
}

.igc-safe strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.igc-safe span {
  display: block;
}

.igc-channel {
  margin-top: 14px;
  border: 1px solid var(--w-rule);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}

.igc-choice {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--w-rule);
  border-radius: 16px;
  background: #fff;
  color: var(--w-ink);
  text-align: left;
  cursor: pointer;
}

.igc-choice:first-child {
  margin-top: 0;
}

.igc-choice::after {
  content: ">";
  color: rgba(20,16,14,0.34);
  font-size: 18px;
  line-height: 1;
}

.igc-choice strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.igc-choice span {
  display: block;
  margin-top: 4px;
  color: var(--w-mute);
  font-size: 11.5px;
  line-height: 1.35;
  word-break: break-all;
}

.igc-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 12px 14px;
}

.igc-row + .igc-row {
  border-top: 1px solid var(--w-rule);
}

.igc-row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--w-mute);
  text-transform: uppercase;
}

.igc-row dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--w-ink);
  word-break: break-all;
}

.igc-shot {
  margin-top: 15px;
  border-radius: 18px;
  border: 1px solid #2E2722;
  background: var(--w-espresso);
  overflow: hidden;
  box-shadow: 0 18px 34px -24px rgba(28,18,14,0.58);
}

.igc-shot img {
  width: 100%;
  display: block;
}

.igc-shot__placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    var(--w-espresso);
  color: rgba(255,255,255,0.74);
  font-size: 12px;
  font-weight: 850;
}

.igc-shot__cap {
  padding: 10px 12px;
  color: rgba(255,255,255,0.72);
  font-size: 11.5px;
  line-height: 1.45;
  word-break: keep-all;
}

.igc-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.igc-list li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--w-rule);
  font-size: 13px;
  line-height: 1.5;
  color: var(--w-ink);
  word-break: keep-all;
}

.igc-list li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--w-red);
}

.igc-stepper {
  margin-top: 14px;
}

.igc-stepper__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.igc-stepper__count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--w-red);
}

.igc-stepper__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.igc-stepper__dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--w-rule);
}

.igc-stepper__dots span.is-active {
  width: 22px;
  background: var(--w-red);
}

.igc-step {
  min-height: 0;
}

.igc-step__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: var(--w-ink);
  word-break: keep-all;
}

.igc-step__copy {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--w-mute);
  word-break: keep-all;
}

.igc-step__copy strong {
  color: var(--w-ink);
}

.igc-stepper__nav {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.igc-mini {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--w-mute);
  line-height: 1.55;
  word-break: keep-all;
}

.igc-footer-note {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px dashed rgba(33,21,18,0.22);
  color: var(--w-mute);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: loose;
}

@media (max-width: 380px) {
  .igc-shell .wgreet__title {
    font-size: 29px;
  }

  .igc-title {
    font-size: 21px;
  }

  .igc-row {
    grid-template-columns: 64px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .igc-panel.is-step-entering .igc-kicker,
  .igc-panel.is-step-entering .igc-title,
  .igc-panel.is-step-entering .igc-copy,
  .igc-panel.is-step-entering .igc-stage,
  .igc-panel.is-step-entering .igc-actions,
  .igc-panel.is-step-entering .igc-status {
    animation: none;
  }
}

:root[data-theme="dark"] .igc-kicker,
:root[data-theme="dark"] .igc-paste,
:root[data-theme="dark"] .igc-status.is-error,
:root[data-theme="dark"] .igc-stepper__count {
  color: var(--w-red-text);
}

:root[data-theme="dark"] .igc-input,
:root[data-theme="dark"] .igc-paste,
:root[data-theme="dark"] .igc-clear,
:root[data-theme="dark"] .igc-btn--secondary,
:root[data-theme="dark"] .igc-channel,
:root[data-theme="dark"] .igc-choice,
:root[data-theme="dark"] .igc-list li {
  background: var(--w-card);
  border-color: var(--w-rule);
}

:root[data-theme="dark"] .igc-choice::after {
  color: rgba(255,255,255,0.34);
}

:root[data-theme="dark"] .igc-info {
  background: var(--w-red-soft);
  color: var(--w-red-text);
}

:root[data-theme="dark"] .igc-safe {
  background: var(--w-espresso);
}
