/* wa-lint: skip */
/* ============================================================
   stand-hero-deling.css — hero partial: deling.
   Primary phone with cascading copies, role-aware overlays.
   ============================================================ */

.stand-hero-share {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 600/380;
  background: rgb(255, 255, 255);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(49, 79, 89, 0.04),
    0 30px 60px -20px rgba(49, 79, 89, 0.25);
  overflow: hidden;
  isolation: isolate;
}
[data-theme="dark"] .stand-hero-share { background: var(--surface); }

.stand-hero-share__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Primary phone (left) */
.stand-hero-share__primary {
  position: absolute;
  top: 50%;
  left: 12%;
  transform: translateY(-50%);
  z-index: 3;
}
.stand-hero-share__phone {
  width: 200px;
  background: rgb(255, 255, 255);
  border-radius: 18px;
  border: 2px solid rgb(29, 35, 39);
  padding: 14px 14px 12px;
  box-shadow: 0 18px 40px -12px rgba(49, 79, 89, 0.35);
}
[data-theme="dark"] .stand-hero-share__phone { background: var(--surface); }
.stand-hero-share__phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.stand-hero-share__phone-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.stand-hero-share__phone-share {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stand-hero-share__phone-share svg { width: 13px; height: 13px; }

.stand-hero-share__items {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stand-hero-share__items li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--brand-30);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stand-hero-share .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-70, rgb(197, 211, 214));
  flex: 0 0 auto;
}
.stand-hero-share .dot--accent { background: var(--accent); }
.stand-hero-share__shareline {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.stand-hero-share__shareline strong {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 9.5px;
  margin-right: 6px;
}

/* Copies (right cascade) */
.stand-hero-share__copies {
  position: absolute;
  top: 0;
  right: 4%;
  bottom: 0;
  width: 38%;
  pointer-events: none;
}
.stand-hero-share__copy {
  position: absolute;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  width: 160px;
  box-shadow: 0 14px 28px -10px rgba(49, 79, 89, 0.18);
}
[data-theme="dark"] .stand-hero-share__copy { background: var(--surface); }
.stand-hero-share__copy ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stand-hero-share__copy li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--brand-30);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stand-hero-share__copy-head {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin-bottom: 2px;
}

.stand-hero-share__copy--1 { top: 8%;   right: 0; transform: rotate(-2.5deg); }
.stand-hero-share__copy--2 { top: 36%;  right: 12%; transform: rotate(1.5deg); }
.stand-hero-share__copy--3 { top: 66%;  right: 4%; transform: rotate(-1deg); }

/* Role-aware: udstiller dims copies, primary glows */
.stand[data-role="udstiller"] .stand-hero-share__copies { opacity: 0.65; }
.stand[data-role="udstiller"] .stand-hero-share__primary .stand-hero-share__phone {
  box-shadow:
    0 0 0 3px rgba(184, 90, 58, 0.22),
    0 18px 40px -12px rgba(184, 90, 58, 0.35);
}
/* Role-aware: arrangør — copies pop equally (reach matters) */
.stand[data-role="arrangoer"] .stand-hero-share__copy {
  border-color: rgba(184, 90, 58, 0.4);
}
/* Role-aware: besøgende — primary phone is "yours", copies are friends' */
.stand[data-role="besoegende"] .stand-hero-share__primary .stand-hero-share__phone {
  border-color: var(--accent);
}

/* === Overlays === */
.stand-hero-share__overlay {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgb(29, 35, 39);
  color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity .35s, transform .35s;
  pointer-events: none;
  display: none;
  white-space: nowrap;
  z-index: 5;
}
.stand-hero-share__overlay strong {
  display: block;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.stand[data-role="arrangoer"]  .stand-hero-share__overlay--arrangoer,
.stand[data-role="udstiller"]  .stand-hero-share__overlay--udstiller,
.stand[data-role="besoegende"] .stand-hero-share__overlay--besoegende {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
  .stand-hero-share { aspect-ratio: 4/5; }
  .stand-hero-share__primary { left: 50%; top: 32%; transform: translate(-50%, -50%); }
  .stand-hero-share__phone { width: 168px; }
  .stand-hero-share__copies {
    top: auto;
    bottom: 8%;
    left: 0;
    right: 0;
    width: 100%;
    height: 32%;
  }
  .stand-hero-share__copy { width: 110px; padding: 8px 9px; }
  .stand-hero-share__copy ul { display: none; }
  .stand-hero-share__copy--1 { top: 0;  right: 4%; }
  .stand-hero-share__copy--2 { top: 0;  left: 36%; right: auto; }
  .stand-hero-share__copy--3 { top: 0;  left: 4%; right: auto; }
  .stand-hero-share__overlay { font-size: 10px; padding: 7px 10px; bottom: 8px; }
}
