  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    background: #fafaf8;
    min-height: 100vh;
    font-family: 'Shippori Mincho', serif;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  header {
    width: 100%;
    padding: 2.5rem 0 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e0ddd8;
    margin-bottom: 3rem;
  }
  .site-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
  }
  .site-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #bbb;
  }
  main {
    width: 100%;
    max-width: 640px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .form-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #888;
    align-self: flex-start;
  }
  textarea {
    width: 100%;
    height: 140px;
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 2px;
    padding: 1rem 1.2rem;
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    color: #1a1a1a;
    resize: none;
    outline: none;
    line-height: 1.8;
    transition: border-color 0.25s;
  }
  textarea:focus { border-color: #aaa; }
  textarea::placeholder { color: #ccc; font-style: italic; }
  .char-count {
    align-self: flex-end;
    font-size: 0.7rem;
    color: #bbb;
    letter-spacing: 0.05em;
    margin-top: -1rem;
  }
  .generate-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 0.85rem 3rem;
    font-family: 'Shippori Mincho', serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border-radius: 1px;
  }
  .generate-btn:hover { background: #333; }
  .generate-btn:disabled { background: #ccc; cursor: not-allowed; }
  .stage {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    gap: 1.5rem;
  }
  .loading-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #999;
    animation: blink 1.1s ease-in-out infinite;
  }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
  .gem-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) both;
  }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  .gem-meta { font-family: 'Cormorant Garamond', serif; font-size: 0.7rem; letter-spacing: 0.3em; color: #ccc; text-transform: uppercase; }
  .gem-input-text { font-size: 0.85rem; color: #999; text-align: center; max-width: 400px; line-height: 1.8; }
  .save-btn { background: transparent; border: 1px solid #e0ddd8; color: #888; padding: 0.6rem 2rem; font-size: 0.75rem; cursor: pointer; }
  .divider { width: 1px; height: 40px; background: #e0ddd8; }