@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1;600&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#493944;background:#fffaf7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px max(20px,calc((100vw - 1080px)/2));background:#fff;border-bottom:1px solid #f3e2e8}.brand{font-size:25px;letter-spacing:-1px;font-weight:800;color:#48353e;text-decoration:none}.brand span{color:#e2a0b7}.brand i{font-style:normal;color:#d7b348;font-size:20px}.nav{display:flex;gap:10px;align-items:center}.nav a{color:#96647c;text-decoration:none;font-size:13px}.wrap{max-width:1080px;margin:auto;padding:24px 18px 70px}.hero{background:linear-gradient(125deg,#ffe8f0,#fff3d2);border-radius:22px;padding:28px;margin-bottom:20px}.hero h1{margin:0 0 8px;font-size:clamp(27px,5vw,43px);letter-spacing:-1px}.hero p{margin:0;color:#8c6979}.pill{display:inline-block;background:#fff8f5;border-radius:100px;padding:6px 12px;color:#ad6d8c;font-size:12px;font-weight:700;margin-bottom:10px}.btn{border:0;background:#b9688d;color:white;border-radius:12px;padding:12px 16px;font-weight:700}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.secondary{background:#fff;color:#9c5b7a;border:1px solid #eecedb}.btn.danger{background:#fff0f1;color:#ad3e55}.btn.small{padding:8px 10px;font-size:12px}.panel{background:#fff;border:1px solid #f2e2e8;border-radius:18px;padding:20px;margin-bottom:16px;box-shadow:0 8px 25px #77515a09}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field label{font-size:13px;font-weight:700;color:#765465}.field input,.field select,.field textarea,.search{width:100%;border:1px solid #e9d7df;border-radius:12px;padding:12px;background:#fffdfd;color:#45333e}.field textarea{min-height:175px;resize:vertical}.hint,.muted{font-size:12px;color:#8b7b80}.hidden{display:none!important}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.status{padding:12px;border-radius:12px;background:#fff4d8;color:#775c2b;margin-bottom:16px;white-space:pre-wrap}.status.error{background:#ffeaed;color:#9e3753}.status.ok{background:#eaf7ef;color:#276a49}.preview{max-width:180px;max-height:250px;border-radius:14px;background:#fff2f5;object-fit:cover}.cardgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:14px}.promptcard{background:#fff;border:1px solid #f1dfe7;border-radius:16px;overflow:hidden}.media{aspect-ratio:9/12;background:linear-gradient(135deg,#ffe3eb,#fff0c7);display:flex;align-items:center;justify-content:center;color:#a9798b;font-size:13px;overflow:hidden}.media video,.media img{width:100%;height:100%;object-fit:cover}.cardbody{padding:14px}.cardbody h3{margin:5px 0;font-size:16px}.cardbody p{font-size:12px;color:#8b7880}.tag{font-size:11px;background:#fff1c6;color:#8d6c22;border-radius:100px;padding:4px 8px;display:inline-block}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0;flex-wrap:wrap}.toolbar .search{max-width:320px}.auth{max-width:430px;margin:60px auto}.notice{padding:12px 15px;background:#fff3dc;border-radius:12px;color:#765b3c;font-size:13px;margin-bottom:15px}footer{text-align:center;color:#ad98a1;padding:25px;font-size:12px}@media(max-width:640px){.grid{grid-template-columns:1fr}header{padding:15px}.brand{font-size:21px}.nav a{font-size:12px}.panel{padding:15px}.hero{padding:22px}}

.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}
.auth-tab{border:1px solid #ead7df;background:#fff;color:#8e6075;border-radius:12px;padding:11px 10px;font-weight:700}
.auth-tab.active{background:#f9e6ed;color:#9d5577;border-color:#e8bfd0}
.auth-view h3{margin-top:0}
.auth-main-btn{width:100%}
.link-button{display:block;border:0;background:transparent;color:#a45d7d;font-weight:700;font-size:13px;padding:12px 0 0;margin:0 auto;text-decoration:underline;text-underline-offset:3px}
.auth-help{font-size:12px;line-height:1.5;color:#8b7b80;margin:14px 0 0}
