* { box-sizing: border-box; }
body { margin: 0; background: #0f0d1a; color: #f2f2f7; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: #1bb76e; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #17152a; border-bottom: 1px solid #2a2745; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.brand em { font-style: normal; color: #1bb76e; }
.tag { color: #9a97b8; font-size: 14px; }
.btn-upload { background: #1bb76e; color: #06281a; font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 8px; }
main { max-width: 760px; margin: 0 auto; padding: 28px 18px 60px; }
.hero { text-align: center; margin-bottom: 26px; }
.hero h1 { font-size: 34px; margin: 0 0 10px; line-height: 1.2; }
.hero h1 span { color: #1bb76e; }
.sub { color: #b9b6d4; font-size: 17px; line-height: 1.55; margin: 0; }
.card { background: #1b1932; border: 1px solid #2c2947; border-radius: 14px; padding: 22px; margin-bottom: 26px; }
.dropzone { border: 2px dashed #3a3760; border-radius: 12px; padding: 30px 16px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone.over { border-color: #1bb76e; background: #14122a; }
.dz-icon { font-size: 34px; color: #1bb76e; }
.dz-title { font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
.dz-sub { color: #9a97b8; margin: 0; font-size: 14px; }
.linklike { background: none; border: none; color: #1bb76e; font-size: 14px; cursor: pointer; text-decoration: underline; padding: 0; }
.preview { margin-top: 18px; }
.preview img { max-width: 100%; max-height: 300px; border-radius: 10px; }
.preview-meta { display: flex; justify-content: center; gap: 14px; color: #9a97b8; font-size: 13px; margin-top: 8px; }
.field-label { display: block; font-weight: 700; margin: 20px 0 8px; }
.optional { color: #9a97b8; font-weight: 400; font-size: 13px; }
input[type="url"], input[type="text"] { width: 100%; background: #12102a; border: 1px solid #3a3760; color: #fff; border-radius: 9px; padding: 12px 14px; font-size: 15px; }
input[type="url"]:focus, input[type="text"]:focus { outline: none; border-color: #1bb76e; }
.hint { color: #9a97b8; font-size: 13px; margin: 8px 0 0; }
.btn-generate { width: 100%; margin-top: 20px; background: #1bb76e; color: #06281a; border: none; border-radius: 10px; padding: 14px; font-size: 18px; font-weight: 800; cursor: pointer; }
.btn-generate:disabled { opacity: .6; cursor: wait; }
.status { color: #ff9d9d; min-height: 20px; margin: 10px 0 0; text-align: center; }
.result h2 { margin-top: 0; }
.result-row { margin-bottom: 14px; }
.result-row label { display: block; font-size: 13px; color: #9a97b8; margin-bottom: 6px; }
.copyline { display: flex; gap: 8px; }
.copyline input { flex: 1; min-width: 0; }
.btn-copy { background: #2c2947; color: #fff; border: 1px solid #3a3760; border-radius: 9px; padding: 0 18px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-copy:hover { border-color: #1bb76e; }
.redirect-note { color: #b9b6d4; font-size: 14px; }
.open-row { margin: 16px 0 0; }
.how ol, .faq p { line-height: 1.6; color: #c9c6e0; }
.how h2, .faq h2 { margin-top: 0; }
.faq h3 { margin-bottom: 4px; }
.faq p { margin-top: 0; }
.view { max-width: 860px; }
.adslot { background: #1b1932; border: 1px dashed #3a3760; color: #6f6c93; text-align: center; padding: 26px 10px; border-radius: 10px; margin: 18px 0; letter-spacing: 2px; font-size: 13px; }
.imagebox { margin: 0; background: #1b1932; border: 1px solid #2c2947; border-radius: 12px; padding: 14px; }
.imagebox img { width: 100%; border-radius: 8px; display: block; }
.imagebox figcaption { display: flex; justify-content: space-between; color: #9a97b8; font-size: 14px; padding: 10px 4px 0; }
.redirect-box { background: #14261c; border: 1px solid #1bb76e; border-radius: 12px; padding: 18px; margin: 18px 0; text-align: center; }
.redirect-box p { margin: 6px 0; }
.dest-url { color: #9a97b8; font-size: 13px; word-break: break-all; }
.btn-continue { display: inline-block; background: #1bb76e; color: #06281a; font-weight: 800; text-decoration: none; padding: 10px 20px; border-radius: 8px; margin-right: 10px; }
.btn-stay { background: none; border: 1px solid #3a3760; color: #fff; border-radius: 8px; padding: 10px 16px; cursor: pointer; }
footer { text-align: center; color: #6f6c93; font-size: 13px; padding: 20px; }
@media (max-width: 560px) {
  .hero h1 { font-size: 26px; }
  .tag { display: none; }
  .copyline { flex-direction: column; }
  .btn-copy { padding: 10px; }
}
