:root{
  --wine:#5b2d35;--wine2:#7c3f4a;--rose:#f3dfe0;--cream:#fffaf3;
  --ink:#35282a;--muted:#806f70;--line:#eadcda;--gold:#d9a441;
  --white:#fff;--green:#286b50;--shadow:0 22px 60px rgba(74,38,43,.12)
}
*{box-sizing:border-box}
body{
  margin:0;min-height:100vh;padding:28px 16px calc(40px + env(safe-area-inset-bottom));color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 8% 5%,rgba(243,223,224,.9),transparent 28%),
    radial-gradient(circle at 95% 25%,rgba(249,232,201,.75),transparent 25%),
    var(--cream)
}
.page{width:min(100%,620px);margin:0 auto}
.brand{text-align:center;margin:0 auto 18px}
.brand-mark{
  width:62px;height:62px;margin:0 auto 12px;border-radius:22px;
  overflow:hidden;background:#fff;box-shadow:0 9px 24px #5b2d3530;
  display:flex;align-items:center;justify-content:center;
}
.brand-mark img{
  width:100%;height:100%;object-fit:cover;
}
.eyebrow{font-size:10px;letter-spacing:3px;font-weight:800;color:var(--wine2);text-transform:uppercase}
.brand h1{font-family:Georgia,serif;font-weight:600;font-size:clamp(29px,7vw,39px);letter-spacing:-1px;margin:5px 0;color:var(--wine)}
.brand p{margin:0;color:var(--muted);font-size:14px}
.card{background:rgba(255,255,255,.94);border:1px solid #efe3df;border-radius:25px;overflow:hidden;box-shadow:var(--shadow)}
.hero{
  padding:24px 25px 21px;text-align:center;color:white;
  background:linear-gradient(125deg,#4d2630,#7c3f4a 68%,#9a5960);position:relative
}
.hero:after{content:"✦";position:absolute;right:23px;top:18px;color:#f3dca9;font-size:22px;opacity:.8}
.hero .tag{display:inline-block;padding:6px 11px;border:1px solid #ffffff55;border-radius:30px;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#f8e9d5}
.hero h2{font:600 25px Georgia,serif;margin:12px 0 6px}
.hero p{font-size:13px;color:#f5e6e4;margin:0}
.content{padding:24px}
.section{margin-bottom:24px}
.section:last-child{margin-bottom:0}
.section-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.step{
  flex:0 0 27px;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;
  background:var(--rose);color:var(--wine);font-size:12px;font-weight:800
}
h3{font-size:15px;margin:0;font-weight:750;color:#493238}
.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:5px 0 0 37px}
.stars{display:flex;justify-content:center;gap:8px;padding:9px 0 2px}
.star{
  border:1px solid var(--line);background:#fff;border-radius:13px;width:52px;height:50px;
  font-size:26px;color:#c9babb;cursor:pointer;transition:.18s
}
.star:hover{transform:translateY(-2px);border-color:var(--gold)}
.star.active{color:var(--gold);background:#fff8e9;border-color:#e7c77f;box-shadow:0 4px 12px #d9a44120}
.rating-label{text-align:center;color:var(--muted);font-size:12px;margin-top:8px;min-height:18px}
.topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.topic{
  min-height:44px;display:flex;align-items:center;gap:9px;padding:10px 11px;
  border:1px solid var(--line);border-radius:12px;background:#fff;font-size:13px;
  cursor:pointer;transition:.15s
}
.topic:has(input:checked){border-color:#b77b82;background:#fff6f5;color:var(--wine);box-shadow:0 3px 10px #5b2d350b}
.topic input{accent-color:var(--wine);width:16px;height:16px;margin:0}
textarea{
  display:block;width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;
  font:inherit;font-size:16px;line-height:1.6;color:var(--ink);background:#fff;resize:vertical;outline:none
}
textarea:focus{border-color:#a96b73;box-shadow:0 0 0 3px #f3dfe0}
#draft{min-height:170px;background:#fffdfb}
.word-count{text-align:right;color:var(--muted);font-size:11px;margin-top:7px}
.actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}
button{
  border:0;border-radius:13px;padding:14px 15px;font-weight:750;font-size:13px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;
  transition:.15s
}
button:hover{transform:translateY(-1px);filter:brightness(1.03)}
.primary{background:linear-gradient(120deg,#6c3540,#8a4a54);color:white;box-shadow:0 7px 17px #5b2d3528}
.google-action{
  background:#2f654e;color:white;box-shadow:0 9px 24px #2f654e30;
  font-size:15px;padding:16px 22px;border-radius:15px;width:100%;max-width:440px;margin:0 auto;
  display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;
  font-weight:750;cursor:pointer;transition:.15s;
}
.google-action:hover{transform:translateY(-1px);filter:brightness(1.03);color:white;}
.notice{display:flex;gap:10px;padding:13px;border-radius:13px;background:#fff8eb;border:1px solid #f0e2c7;color:#695331;font-size:11px;line-height:1.55;margin-top:18px}
.notice span{font-size:16px}
.footer{text-align:center;padding:18px 10px 0;color:#9a8585;font-size:11px}
.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);opacity:0;pointer-events:none;
  background:#2d2929;color:#fff;padding:11px 17px;border-radius:30px;font-size:12px;transition:.25s;box-shadow:0 8px 25px #0002}
.toast.show{opacity:1;transform:translate(-50%,0)}
button,.topic{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(max-width:430px){
  body{padding:18px 11px calc(30px + env(safe-area-inset-bottom))}.content{padding:19px 16px}.hero{padding:22px 18px}
  .topics{gap:8px}.topic{font-size:12px;padding:9px 8px;min-height:46px}.star{width:48px;height:48px;min-width:44px}
}
@media(max-width:520px){
  .actions{grid-template-columns:1fr;gap:9px}
  .actions button{min-height:48px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}