/* Browser web shell — sits on top of Mini App styles */

.platform-web {
  min-height: 100vh;
}

.web-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

.web-topbar {
  padding: 18px 20px 8px;
  text-align: center;
}

.web-topbar__brand {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--accent, #c9a46a);
  font-weight: 600;
}

.web-topbar__tag {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--hint, #9a9488);
}

.web-topbar__nav {
  margin: 10px 0 0;
}

.web-topbar__nav a {
  color: var(--accent, #c9a46a);
  font-size: 0.8rem;
  text-decoration: none;
}

.web-topbar__nav a:hover {
  text-decoration: underline;
}

.platform-web .screen {
  padding-bottom: 32px;
}

/* —— Channel picker (social share landing) —— */

.start-page {
  min-height: 100vh;
}

.start-shell {
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100vh;
  justify-content: center;
}

.start-hero {
  text-align: center;
}

.start-hero__brand {
  margin: 0 0 18px;
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--accent, #c9a46a);
  font-weight: 700;
}

.start-hero__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text, #f2f2f2);
  letter-spacing: 0.01em;
}

.start-hero__lead {
  margin: 0;
  color: var(--hint, #9a9a9a);
  font-size: 0.95rem;
  line-height: 1.45;
}

.start-hero__choose {
  margin: 18px 0 0;
  color: var(--text, #f2f2f2);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 500;
}

.start-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.start-choice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.85);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.start-choice:hover,
.start-choice:focus-visible {
  border-color: rgba(201, 164, 106, 0.55);
  background: rgba(26, 26, 26, 0.95);
  outline: none;
}

.start-choice--accent {
  border-color: rgba(201, 164, 106, 0.4);
}

.start-choice__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text, #f2f2f2);
}

.start-choice__hint {
  font-size: 0.82rem;
  color: var(--hint, #9a9a9a);
  line-height: 1.35;
}

.start-lang {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.start-lang__btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--hint, #9a9a9a);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

.start-lang__btn.is-active {
  color: var(--accent, #c9a46a);
  border-color: rgba(201, 164, 106, 0.5);
}

/* Guest history warning + account form */

.web-guest-banner {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 164, 106, 0.28);
  border-radius: 12px;
  background: rgba(201, 164, 106, 0.08);
  color: var(--text, #f2f2f2);
  font-size: 0.82rem;
  line-height: 1.4;
}

.web-guest-banner a,
.web-guest-banner button.linkish {
  color: var(--accent, #c9a46a);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.web-account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.web-account-tabs .btn {
  flex: 1;
}

.web-form-error {
  color: var(--danger, #ff8a80);
  font-size: 0.85rem;
  margin: 0 0 10px;
}
