:root {
      ?>;
      ?>;
      ?>;

      --text: rgba(15, 23, 42, 0.92);
      --muted: rgba(15, 23, 42, 0.62);
      --card: rgba(255, 255, 255, 0.72);
      --card-border: rgba(255, 255, 255, 0.55);
      --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
      --radius: 26px;

      color-scheme: light;
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; }

    body {
      margin: 0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color: var(--text);

      background:
        radial-gradient(900px 500px at 15% 20%, rgba(255,255,255,0.65), transparent 55%),
        radial-gradient(900px 500px at 85% 30%, rgba(255,255,255,0.55), transparent 60%),
        linear-gradient(135deg, var(--bg1), var(--bg2));
      display: grid;
      place-items: center;
      padding: 28px;
    }

    .wrap {
	  margin-top: 100px;
      width: min(920px, 100%);
      display: grid;
      gap: 16px;
      align-items: center;
      justify-items: center;
    }

    .card {
      width: 100%;
      border-radius: var(--radius);
      background: var(--card);
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      overflow: visible;
      position: relative;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: -60px -60px auto auto;
      width: 180px;
      height: 180px;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 55%, transparent 70%),
                  radial-gradient(circle at 60% 60%, color-mix(in oklab, var(--accent) 55%, white), transparent 65%);
      transform: rotate(15deg);
      opacity: 0.75;
      pointer-events: none;
    }

    .card-inner {
      padding: clamp(22px, 4vw, 44px);
      display: grid;
      gap: 18px;
    }

    .label-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.6);
      border: 1px solid rgba(255,255,255,0.55);
      color: var(--muted);
      font-weight: 800;
      letter-spacing: -0.01em;
      font-size: 0.95rem;
    }

    .label .pill {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: var(--accent);
    }

    .tagline {
      color: var(--muted);
      font-weight: 750;
      font-size: 0.95rem;
      letter-spacing: -0.01em;
      opacity: 0.9;
    }

    .prompt {
      font-size: clamp(1.9rem, 4.8vw, 3.6rem);
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1.08;
      margin: 0;
      max-width: 30ch;
	  margin-bottom:60px;
    }

    .prompt::before {
      content: "“";
      color: color-mix(in oklab, var(--accent) 55%, transparent);
      margin-right: 0.05em;
    }
    .prompt::after {
      content: "”";
      color: color-mix(in oklab, var(--accent) 55%, transparent);
      margin-left: 0.05em;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    /* SEO navigation links (to stable subpages) */
    .link-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-top: 6px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.92rem;
      letter-spacing: -0.01em;
      text-decoration: none;
      color: inherit;
      background: rgba(255,255,255,0.62);
      border: 1px solid rgba(255,255,255,0.55);
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
      transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
      user-select: none;
    }

    .chip:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    }

    .chip .dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--accent);
      opacity: 0.9;
      flex: 0 0 auto;
    }

    .btn {
      appearance: none;
      border: 0;
      cursor: pointer;
      border-radius: 14px;
      padding: 12px 14px;
      font-weight: 800;
      font-size: 0.98rem;
      letter-spacing: -0.01em;
      display: inline-flex;
      gap: 10px;
      align-items: center;
      transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
      user-select: none;
      text-decoration: none;
      color: rgba(15, 23, 42, 0.92);
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(255,255,255,0.6);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    }

    .btn svg {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      opacity: 0.9;
    }

    .btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14); }
    .btn:active { transform: translateY(0px) scale(0.99); }

    .btn.primary {
      color: rgba(255,255,255,0.96);
      background: color-mix(in oklab, var(--accent) 78%, white);
      border: 1px solid rgba(255,255,255,0.35);
    }

    .meta {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.45;
      padding: 0 6px;
      text-align: center;
    }

    .kbd {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
      font-weight: 900;
      font-size: 0.85em;
      padding: 0.18em 0.45em;
      border-radius: 8px;
      border: 1px solid rgba(15, 23, 42, 0.14);
      background: rgba(255,255,255,0.55);
    }

    /* Suggestion form */
    .suggest {
      width: 100%;
      border-radius: var(--radius);
      background: rgba(255,255,255,0.55);
      border: 1px solid rgba(255,255,255,0.55);
      box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: clamp(18px, 3vw, 26px);
	  margin-top:20px;
    }

    .suggest h2 {
      margin: 0 0 6px 0;
      font-size: 1.05rem;
      letter-spacing: -0.01em;
    }

    .suggest p {
      margin: 0 0 14px 0;
      color: var(--muted);
      line-height: 1.45;
      font-weight: 500;
    }

    .row {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    .input {
      flex: 1 1 340px;
      min-width: 240px;
      border-radius: 14px;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,0.55);
      background: rgba(255,255,255,0.72);
      color: inherit;
      font-weight: 700;
      outline: none;
    }

    .input:focus, .textarea:focus {
      border-color: color-mix(in oklab, var(--accent) 55%, white);
      box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 20%, transparent);
    }
	
	.textarea {
	  resize: vertical;       /* user can resize vertically */
	  line-height: 1.4;
	  font-family: inherit;
	  padding-top: 10px;
	  font-size: medium;
	}

    .hp {
      position: absolute;
      left: -10000px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .notice {
      margin-top: 10px;
      color: var(--muted);
      font-weight: 750;
    }
	
	.notes {
		margin-top: 120px;
	}

    @media (prefers-color-scheme: dark) {
      :root {
        color-scheme: dark;
        --text: rgba(255, 255, 255, 0.92);
        --muted: rgba(255, 255, 255, 0.66);
        --card: rgba(15, 23, 42, 0.45);
        --card-border: rgba(255, 255, 255, 0.12);
        --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
      }
      body {
        background:
          radial-gradient(900px 500px at 15% 20%, rgba(255,255,255,0.10), transparent 55%),
          radial-gradient(900px 500px at 85% 30%, rgba(255,255,255,0.08), transparent 60%),
          linear-gradient(135deg, color-mix(in oklab, var(--bg1) 60%, #0b1220), color-mix(in oklab, var(--bg2) 55%, #0b1220));
      }
      .btn { color: rgba(255,255,255,0.92); }
      .suggest { background: rgba(15, 23, 42, 0.30); border-color: rgba(255,255,255,0.12); }
      .input { background: rgba(15, 23, 42, 0.45); border-color: rgba(255,255,255,0.12); }
    }

/* Top links above card */
.top-links{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 4px;
  z-index: 1000;
}

/* Share dropdown */
.share-wrap{ position: relative; }
.share-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
  padding: 8px;
  display: none;
  z-index: 50;
}
.share-menu.open{ display: block; }
.share-item{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
  cursor: pointer;
}
.share-item:hover{
  background: rgba(0,0,0,0.05);
}
.share-item.share-btn{ text-align: left; }
.si{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  font-size: 0.95rem;
  font-weight: 900;
}
@media (prefers-color-scheme: dark){
  .share-menu{
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  }
  .share-item:hover{ background: rgba(255,255,255,0.08); }
  .si{ background: rgba(255,255,255,0.10); }
}
