.store-hero h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 1rem 0;
}
.store-hero .btn {
  margin-top: 0.5rem;
}
.store-pilot {
  margin-bottom: 1rem;
}
.store-shots {
  display: flex;
  gap: 1rem;
  overflow: auto;
  padding: 0.75rem 0;
}
.store-shots figure {
  margin: 0;
  flex: 0 0 150px;
}
.store-shots img {
  display: block;
  width: 150px;
  aspect-ratio: 440/956;
  object-fit: contain;
  border: 1px solid var(--line, #303542);
  border-radius: 16px;
}
.store-shots figcaption {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.5rem;
}
.store-details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem 0;
}
.store-details[open] summary {
  margin-bottom: 1rem;
}
.store-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.7;
}
.store-check input {
  width: 20px;
  height: 20px;
  flex: none;
}
.store-steps {
  list-style: none;
  padding: 0;
}
.store-steps li {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  align-items: center;
}
.store-steps .done {
  color: #7be4af;
}
.store-error {
  padding: 1rem;
}
.store-details .lbl {
  margin-top: 0.8rem;
}
.subtabs {
  overflow-x: auto;
}
.subtabs a {
  flex-shrink: 0;
}
.store-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.store-entry small {
  display: block;
  color: var(--mute);
  margin-top: 0.5rem;
}
.store-entry .ic {
  width: 24px;
  height: 24px;
  flex: none;
}
.store-checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.store-checklist > li {
  border: 1px solid var(--line, #303542);
  border-inline-start: 4px solid var(--line, #303542);
  border-radius: 12px;
  padding: 0.8rem;
}
.store-checklist > li.pass {
  border-inline-start-color: #38b77a;
}
.store-checklist > li.guide {
  border-inline-start-color: #d99a27;
}
.store-checklist > li.refuse {
  border-inline-start-color: #d45b64;
}
.store-check-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.store-check-head span {
  flex: none;
  font-size: 0.82rem;
}
.store-checklist p {
  margin: 0.4rem 0 0;
  color: var(--mute);
}
.store-guide {
  margin: 0.65rem 0 0;
  padding-inline-start: 1.4rem;
}
.store-guide li + li {
  margin-top: 0.3rem;
}
.store-qualification-form {
  margin-top: 1rem;
}
.store-key-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.75rem;
}
.store-key-file {
  grid-column: 1 / -1;
}
.seller-consent {
  border: 1px solid var(--line, #303542);
  border-radius: 12px;
  padding: 0.8rem;
}
.store-buy {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line, #303542);
}
.subtabs:has([data-sub="app-store"]) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .subtabs:has([data-sub="app-store"]) {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .subtabs:has([data-sub="app-store"]) a {
    flex: 0 0 76px;
  }
  .store-key-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-key-file {
    grid-column: auto;
  }
  .store-check-head {
    display: grid;
    gap: 0.25rem;
  }
}
/* Stage 5: store details, content answers and review contact (one column on phones). */
.store-fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-inline-size: 0;
  display: grid;
  gap: 10px;
}
.store-fieldset legend {
  font-weight: 700;
  margin-block-end: 6px;
  padding: 0;
}
.store-fieldset select,
.store-fieldset input,
.store-fieldset textarea {
  max-inline-size: 100%;
}
/* Stage 8: guides C0–C9, copy rows, drawn illustrations and «أين وصلت؟». */
.store-guide-box {
  border: 1px solid var(--line, #303542);
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  margin: 0.8rem 0;
  min-inline-size: 0;
}
.store-guide-box > summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.store-guide-tag {
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--line, #303542);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  color: var(--mute);
}
.store-guide-steps {
  padding-inline-start: 1.4rem;
  margin: 0.6rem 0;
  display: grid;
  gap: 0.9rem;
}
.store-guide-steps p {
  margin: 0.25rem 0;
  line-height: 1.8;
}
.g-see {
  color: var(--mute);
}
.g-diff > summary {
  cursor: pointer;
  color: #f0b44c;
  font-weight: 600;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.apple-label {
  font-weight: 700;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}
.store-copy-values {
  display: grid;
  gap: 0.5rem;
  margin: 0.6rem 0;
}
.store-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid var(--line, #303542);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}
.store-copy-value {
  overflow-wrap: anywhere;
  text-align: start;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}
.store-copy {
  min-height: 40px;
  padding: 0.3rem 0.9rem;
}
.store-copy-buffer {
  position: fixed;
  inset-inline-start: -9999px;
}
.store-guide-open {
  margin-top: 0.5rem;
}
.store-illus {
  margin: 0.6rem 0;
}
.store-illus svg {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  direction: ltr;
}
.store-illus figcaption {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 0.35rem;
}
.il-panel {
  fill: rgba(255, 255, 255, 0.04);
  stroke: var(--line, #303542);
}
.il-field {
  fill: rgba(255, 255, 255, 0.1);
}
.il-row {
  fill: rgba(255, 255, 255, 0.07);
}
.il-line {
  stroke: var(--line, #303542);
}
.il-highlight {
  fill: rgba(80, 140, 255, 0.25);
}
.il-button {
  fill: #3478f6;
}
.il-button-text {
  fill: #fff;
  font: 600 11px system-ui, -apple-system, sans-serif;
}
.il-title {
  fill: var(--ink, #e8eaf0);
  font: 700 12px system-ui, -apple-system, sans-serif;
}
.il-text {
  fill: var(--ink, #e8eaf0);
  font: 11px system-ui, -apple-system, sans-serif;
}
.il-strong {
  font-weight: 700;
}
.store-journey-steps {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: grid;
  gap: 0.15rem;
}
.store-journey-steps li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0;
}
.store-journey-steps .done {
  color: #7be4af;
}
.store-journey-steps .current {
  font-weight: 700;
}
.store-journey-steps .todo {
  color: var(--mute);
}
.j-state {
  font-size: 0.8rem;
}
.store-journey-now {
  border-top: 1px solid var(--line, #303542);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}
.store-guide-box > summary:focus-visible,
.g-diff > summary:focus-visible,
.store-copy:focus-visible,
.store-guide-open:focus-visible {
  outline: 2px solid #7fb0ff;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .store-copy-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .store-copy-label {
    grid-column: 1 / -1;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .store-guide-box,
  .g-diff {
    scroll-behavior: auto;
  }
}

/* «طريقك إلى App Store» (his ask 2026-10-14: one clear visual, less text): eight connected dots, then ONE card. */
.sj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sj-head .h2 { margin: 0; }
.sj-count { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: var(--sky-bg, rgba(143, 178, 255, 0.1)); color: var(--sky, #8fb2ff); font-size: 13px; font-weight: 600; }
.sj-sub { margin: 6px 0 0; }
.store-journey-steps { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin: 18px 0 6px; padding: 0; list-style: none; }
.store-journey-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; grid-template-columns: none; text-align: center; }
.store-journey-steps li::before { content: ""; position: absolute; top: 14px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--edge2, rgba(255, 255, 255, 0.18)); }
.store-journey-steps li:last-child::before { display: none; }
.store-journey-steps li.done::before { background: var(--ok, #5fd4a8); }
.store-journey-steps .j-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--edge2, rgba(255, 255, 255, 0.18)); background: var(--bg2, #11151f); color: var(--mute); font-size: 13px; font-weight: 600; }
.store-journey-steps .done { color: var(--ok, #5fd4a8); }
.store-journey-steps .done .j-mark { border-color: var(--ok, #5fd4a8); background: var(--ok, #5fd4a8); color: #0b1a14; }
.store-journey-steps .current .j-mark { border-color: var(--sky, #8fb2ff); background: var(--blue, #2f6ae0); color: #fff; box-shadow: 0 0 0 5px rgba(47, 106, 224, 0.25); }
.store-journey-steps .j-title { font-size: 11.5px; line-height: 1.35; color: var(--dim, #6b7388); font-weight: 400; }
.store-journey-steps .done .j-title { color: var(--ok, #5fd4a8); }
.store-journey-steps .current .j-title { color: var(--ink, #f2f3f7); font-weight: 600; }
/* Phones: the dots stay; only the current step keeps its name (the card below says it in full). */
@media (max-width: 560px) {
  .store-journey-steps .j-mark { width: 24px; height: 24px; font-size: 11px; }
  .store-journey-steps li::before { top: 11px; }
  .store-journey-steps .j-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.sj-now { display: flex; align-items: flex-start; gap: 14px; margin-top: 14px; padding: 16px; border: 1px solid var(--edge, rgba(255, 255, 255, 0.1)); border-top: 1px solid var(--edge, rgba(255, 255, 255, 0.1)); border-radius: 16px; background: rgba(0, 0, 0, 0.2); }
.sj-now.you { border-color: rgba(243, 178, 91, 0.45); }
.sj-now.wait { border-color: rgba(143, 178, 255, 0.4); }
.sj-now.ok { border-color: rgba(95, 212, 168, 0.45); }
.sj-big { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue, #2f6ae0); color: #fff; font-size: 20px; font-weight: 700; }
.sj-now.ok .sj-big { background: var(--ok, #5fd4a8); color: #0b1a14; }
.sj-body { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.sj-body > b { font-size: 17px; font-weight: 600; }
.sj-body > p { margin: 0; color: var(--mute); line-height: 1.7; }
.sj-body .pill { margin: 0; }
.sj-body .btn { margin-top: 6px; }

/* The step-by-step guide, cleaner: numbered cards, the «what you'll see» line quiet, «looks different?» a small link. */
.store-guide-box { padding: 0.75rem 1rem; border-radius: 16px; background: rgba(0, 0, 0, 0.15); }
.store-guide-box > p.muted { line-height: 1.8; }
.store-guide-steps { counter-reset: gstep; list-style: none; padding: 0; gap: 10px; }
.store-guide-steps > li { counter-increment: gstep; position: relative; padding: 12px 14px; padding-inline-start: 52px; border-radius: 14px; border: 1px solid var(--edge, rgba(255, 255, 255, 0.1)); background: var(--card, rgba(255, 255, 255, 0.045)); }
.store-guide-steps > li::before { content: counter(gstep); position: absolute; top: 12px; inset-inline-start: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue, #2f6ae0); color: #fff; font-size: 13px; font-weight: 700; }
.store-guide-steps .g-do { margin-top: 2px; font-weight: 500; }
.store-guide-steps .g-see { font-size: 13px; }
.store-guide-steps .g-see b { font-weight: 500; }
.g-diff > summary { min-height: 32px; font-size: 12.5px; font-weight: 500; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.g-diff[open] > summary { color: #f0b44c; }
.store-checklist > li { border-radius: 14px; }
.store-journey-steps[hidden] { display: none; }

/* One step per card with a real screen and a moving pointer (his ask 2026-10-14). */
.gw { display: grid; gap: 12px; margin-top: 10px; }
.gw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gw-count { color: var(--mute); font-size: 13px; }
.gw-count b { color: var(--ink, #f2f3f7); }
.gw-bar { display: flex; gap: 4px; }
.gw-bar i { width: 18px; height: 4px; border-radius: 2px; background: var(--edge2, rgba(255, 255, 255, 0.18)); }
.gw-bar i.done { background: var(--ok, #5fd4a8); }
.gw-bar i.now { background: var(--sky, #8fb2ff); }
.store-guide-steps > li.gw-step { padding-inline-start: 14px; }
.store-guide-steps > li.gw-step::before { content: none; }
.store-guide-steps > li[hidden] { display: none; }
.gw-step .g-do { font-size: 16px; font-weight: 500; line-height: 1.8; }
.gw-step .g-see { font-size: 12.5px; }
.gw-open { margin: 4px 0 0; }
.gw-shot { margin: 0 0 10px; }
.gw-frame { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--edge2, rgba(255, 255, 255, 0.18)); background: #fff; }
.gw-frame img { display: block; width: 100%; height: auto; }
.gw-shot figcaption { margin-top: 6px; color: var(--mute); font-size: 11.5px; }
.gw-cursor { position: absolute; left: 92%; top: 90%; width: 26px; height: 26px; margin: -3px 0 0 -4px; pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 10.5-6.6 1.3 3.9 7.4-3 1.6-3.9-7.4L4 20z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); transition: left 0.9s cubic-bezier(0.4, 0, 0.2, 1), top 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.gw-cursor.jump { transition: none; }
.gw-ring { position: absolute; left: -100px; top: -100px; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid #e5484d; opacity: 0; pointer-events: none; z-index: 1; }
.gw-ring.tap { animation: gwTap 1.1s ease-out; }
.gw-ring.still { opacity: 1; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.25); }
@keyframes gwTap { 0% { opacity: 1; transform: scale(0.4); } 60% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .gw-cursor { transition: none; } .gw-ring.tap { animation: none; } }
.gw-nav { display: flex; justify-content: space-between; gap: 10px; }
.gw-nav .btn.primary { flex: 1 1 auto; }
.store-agree { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--edge, rgba(255, 255, 255, 0.1)); background: rgba(0, 0, 0, 0.15); }
.store-agree h3 { margin: 0 0 8px; font-size: 15px; }
.store-agree ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.store-agree li { position: relative; padding-inline-start: 26px; line-height: 1.7; font-size: 14px; }
.store-agree li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg, rgba(95, 212, 168, 0.12)); color: var(--ok, #5fd4a8); font-size: 11px; display: grid; place-items: center; margin-top: 3px; }
