
/* /src/components/game/logo/logo-studio.css */
/* Logo Studio — compact density company create (Mock A cream→sky) */

.ls-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(180deg, #fff6e8 0%, #f3f7fb 42%, #bae0e6 100%);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  color: #1c2a44;
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.ls-stage {
  /* fill device — no 1920px ceiling (Danny via Bill) */
  width: 100%;
  min-height: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(12px, 2vw, 28px);
  padding-top: max(clamp(12px, 2vw, 28px), env(safe-area-inset-top, 0px));
  padding-right: max(clamp(16px, 3vw, 40px), env(safe-area-inset-right, 0px));
  padding-bottom: max(clamp(12px, 2vw, 28px), env(safe-area-inset-bottom, 0px));
  padding-left: max(clamp(16px, 3vw, 40px), env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  align-items: start;
}

.ls-controls {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.ls-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(100, 120, 145, 0.95);
  font-weight: 600;
}
.ls-brand-sep { opacity: 0.6; }
.ls-brand-studio {
  color: #c7921d;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.ls-gold-arc {
  width: min(280px, 70%);
  height: 28px;
  margin: 4px 0 2px;
  border: 3px solid transparent;
  border-top-color: rgba(224, 178, 58, 0.75);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.ls-title {
  margin: 0;
  font-family: "Barlow Condensed", "Source Sans 3", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #1c2a44;
}

.ls-sub {
  margin: 6px 0 12px;
  font-size: clamp(13px, 1.2vw, 15px);
  color: #5a7088;
}


.ls-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d6e82;
  margin: 10px 0 6px;
}
.ls-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.ls-label-row .ls-label { margin: 0; }
.ls-hint {
  font-size: 11px;
  color: #7a8fa8;
}

.ls-field {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(224, 178, 58, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #1c2a44;
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  box-shadow: 0 6px 16px rgba(40, 60, 80, 0.06);
}
.ls-field:focus {
  border-color: rgba(224, 178, 58, 0.95);
  box-shadow: 0 0 0 3px rgba(224, 178, 58, 0.18);
}
.ls-field::placeholder { color: #9aadc2; }
.ls-mono {
  width: 120px;
  text-align: center;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}

.ls-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 24px);
  margin-top: 4px;
}
.ls-col { min-width: 0; }

.ls-marks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  max-height: 100px; /* ~6–8 marks visible */
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 2px 10px;
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  scrollbar-width: thin;
}
.ls-mark-tile {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 2px solid rgba(180, 200, 220, 0.55);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ls-mark-tile.on {
  border-color: rgba(224, 178, 58, 0.95);
  box-shadow: 0 0 0 2px rgba(224, 178, 58, 0.35), 0 8px 18px rgba(224, 178, 58, 0.25);
  background: #fff;
}

.ls-frames {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ls-frame-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 2px solid rgba(180, 200, 220, 0.55);
  background: rgba(255, 255, 255, 0.75);
  color: #1c2a44;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}
.ls-frame-chip.on {
  border-color: rgba(224, 178, 58, 0.95);
  box-shadow: 0 0 0 2px rgba(224, 178, 58, 0.25);
  background: #fff;
}

.ls-seg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(180, 200, 220, 0.45);
}
.ls-seg button {
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3a5068;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-seg button.on {
  background: linear-gradient(180deg, #f1cc63, #c7921d);
  color: #fff;
  box-shadow: 0 4px 10px rgba(180, 130, 20, 0.28);
}

.ls-paint-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 4px 0 8px;
}
.ls-paint-tabs button {
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(180, 200, 220, 0.55);
  background: rgba(255, 255, 255, 0.7);
  color: #3a5068;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ls-paint-tabs button.on {
  background: #1c2a44;
  color: #fff;
  border-color: #1c2a44;
}

.ls-paint-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #5a7088;
  margin-bottom: 6px;
}
.ls-paint-dots {
  display: inline-flex;
  gap: 4px;
}
.ls-paint-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(40, 60, 80, 0.2);
}

.ls-paint-book {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(180, 200, 220, 0.45);
  border-radius: 16px;
  padding: 10px 12px;
}
.ls-paint-group { margin-bottom: 8px; }
.ls-paint-group:last-child { margin-bottom: 0; }
.ls-paint-group-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8fa8;
  margin-bottom: 4px;
}
.ls-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ls-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(40, 60, 80, 0.18);
  cursor: pointer;
  padding: 0;
}
.ls-swatch.on {
  box-shadow: 0 0 0 2px rgba(224, 178, 58, 0.95), 0 0 0 4px rgba(224, 178, 58, 0.25);
}

.ls-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.ls-btn-primary {
  min-width: 160px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid rgba(224, 178, 58, 0.95);
  box-shadow: 0 10px 24px rgba(40, 60, 80, 0.12);
  color: #1c2a44;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.ls-btn-primary:hover { background: #fff; }
.ls-back {
  background: none;
  border: 0;
  color: #5a7088;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 4px;
}
.ls-back:hover { color: #1c2a44; }

.ls-preview-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}
.ls-preview-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(200, 214, 228, 0.8);
  border-radius: 22px;
  padding: 16px 18px 18px;
  box-shadow: 0 18px 40px rgba(40, 60, 80, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ls-preview-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d6e82;
}
.ls-preview-head small {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #7a8fa8;
  font-size: 12px;
}
.ls-preview-badge { filter: drop-shadow(0 10px 18px rgba(40, 60, 80, 0.18)); }

.ls-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  font-size: 12px;
  color: #5a7088;
}
.ls-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(40, 60, 80, 0.2);
}

.ls-slim-benefits {
  width: 100%;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(180, 200, 220, 0.45);
}
.ls-slim-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8fa8;
  margin-bottom: 8px;
}
.ls-slim-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ls-slim-pill {
  text-align: left;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(180, 200, 220, 0.55);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  color: #1c2a44;
}
.ls-slim-pill b {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.ls-slim-pill span {
  display: block;
  font-size: 10px;
  color: #5a7088;
  line-height: 1.25;
}
.ls-slim-pill.on {
  border-color: rgba(224, 178, 58, 0.95);
  box-shadow: 0 0 0 1px rgba(224, 178, 58, 0.35);
  background: #fff;
}

.ls-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.ls-benefit-card {
  position: relative;
  text-align: left;
  padding: 18px 16px;
  border-radius: 16px;
  border: 2px solid rgba(180, 200, 220, 0.55);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  color: #1c2a44;
  min-height: 110px;
}
.ls-benefit-card b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.ls-benefit-card span {
  display: block;
  font-size: 13px;
  color: #5a7088;
}
.ls-benefit-card.on {
  border-color: rgba(224, 178, 58, 0.95);
  box-shadow: inset 4px 0 0 #e0b23a, 0 8px 20px rgba(224, 178, 58, 0.18);
}
.ls-selected-tag {
  position: absolute !important;
  top: 10px;
  right: 10px;
  font-size: 10px !important;
  font-weight: 700;
  color: #c45a18 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ls-locked-name {
  font-weight: 700;
  font-size: 15px;
  color: #1c2a44;
}

.ls-car {
  pointer-events: none;
  opacity: 0.16;
  display: flex;
  justify-content: center;
  margin-top: auto;
}
.ls-car img {
  width: min(100%, 520px);
  height: auto;
  max-height: 28vh;
  object-fit: contain;
  filter: none;
}

.shell-logo-badge {
  display: block;
  flex-shrink: 0;
}

/* Phone landscape / narrow landscape */
@media (max-width: 980px) and (orientation: landscape) {
  .ls-stage {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    padding-top: max(10px, env(safe-area-inset-top, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    gap: 10px;
  }
  .ls-title { font-size: 24px; }
  .ls-marks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-height: 96px;
  }
  .ls-seg { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
  .ls-benefit-grid { grid-template-columns: 1fr; }
  .ls-slim-row { grid-template-columns: 1fr; }
  .ls-preview-badge { width: 140px !important; height: 140px !important; }
}

/* Tablet+ roomier */
@media (min-width: 1200px) {
  .ls-marks { max-height: 140px; }
  .ls-swatch { width: 24px; height: 24px; }
}

/* Force landscape-friendly stack if portrait phone sneaks in */
@media (orientation: portrait) and (max-width: 820px) {
  .ls-stage {
    grid-template-columns: 1fr;
  }
  .ls-preview-col { order: -1; }
  .ls-car { display: none; }
  .ls-two-col { grid-template-columns: 1fr; }
}


/* iphone-landscape-density: keep preview + benefits + Continue reachable */
@media (max-height: 500px) and (orientation: landscape),
       (max-width: 900px) and (orientation: landscape) {
  .ls-stage {
    grid-template-columns: minmax(240px, 0.48fr) minmax(240px, 0.52fr);
    gap: 10px;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
  }
  .ls-marks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 96px; /* ~6–8 marks visible */
  }
  .ls-mark-tile { padding: 2px; }
  .ls-paint-book { max-height: 110px; overflow: auto; }
  .ls-two-col { gap: 8px; }
  .ls-title { font-size: clamp(22px, 4vw, 32px); }
  .ls-sub { margin-bottom: 6px; }
  .ls-preview-badge { transform: scale(0.85); transform-origin: top center; }
  .ls-slim-benefits { margin-top: 6px; }
  .ls-car { opacity: 0.12; pointer-events: none; }
  .ls-car img { opacity: 0.14; max-width: 280px; }
}


.ls-input-error,
.ls-field.ls-input-error {
  border-color: #ef4b4b !important;
  box-shadow: 0 0 0 3px rgba(239, 75, 75, 0.2);
}


.ls-name-error-msg {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #c62828;
}
