/* 3OT · share.css
   Public share pages (/s/...).
*/

:root {
  --bg: #080b12;
  --panel: #121826;
  --line: #263244;
  --text: #f5f7fb;
  --muted: #9aa8bc;
  --orange: #ff7a1a;
  --orange2: #ffb11a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(255, 122, 26, .18), transparent 45%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

a {
  color: var(--orange2);
}

.share-main {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.share-brand {
  justify-self: start;
  color: var(--orange);
  font-family: "Roboto Condensed", Impact, sans-serif;
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
}

.share-story {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.share-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.share-action.is-primary {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #16100b;
}

.share-cta {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.share-cta a {
  font-weight: 800;
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #1f2a3c;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease;
}

.share-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
