/* ARKIZAT AI H5 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Naskh Arabic", sans-serif;
  background: #EDF3FC;
  color: #1a2233;
  font-size: 15px;
  padding-bottom: 70px;
}
.hidden { display: none !important; }
.muted { color: #8a94a6; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(23,86,184,.06); }
.small { font-size: 12px; }

.btn-primary {
  background: #1677ff; color: #fff; border: none; border-radius: 28px;
  font-size: 16px; font-weight: 500; padding: 13px 0; width: 100%; cursor: pointer;
}
.btn-primary:disabled { background: #a9c7f5; }
.btn-warning { background: #f7b500; color: #fff; border: none; border-radius: 28px; font-size: 16px; font-weight: 500; padding: 13px 0; width: 100%; cursor: pointer; }
.mini-btn { background: #1677ff; color: #fff; border: none; border-radius: 20px; padding: 7px 24px; font-size: 14px; cursor: pointer; }

/* 视图 */
.view { display: none; padding: 14px 16px 30px; }
.view.active { display: block; }
.page-title { font-size: 22px; margin: 6px 0 16px; }
.nav-back { color: #1677ff; margin: 6px 0; cursor: pointer; font-size: 15px; }

/* 首页 */
.banner { position: relative; border-radius: 16px; overflow: hidden; height: 160px; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-mask {
  position: absolute; top: 0; right: 0; width: 58%; height: 100%;
  background: linear-gradient(90deg, rgba(84,116,235,.25), rgba(120,140,255,.55));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.banner-logo { font-size: 20px; color: #2b3d8f; }
.banner-cn { margin-top: 6px; font-size: 24px; font-weight: 600; color: #fff; text-shadow: 0 2px 6px rgba(30,60,160,.4); }
.banner-ug { margin-top: 4px; font-size: 17px; color: #eaf0ff; }

.entry-row { display: flex; justify-content: space-between; margin-top: 16px; }
.entry { width: 31.5%; padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.entry-icon { width: 48px; height: 48px; border-radius: 14px; background: #e8f1ff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.entry-icon.light { background: #f2f6fd; color: #1677ff; font-weight: 600; }
.create-btn { margin-top: 42px; font-size: 18px; padding: 15px 0; }

.status-line { margin-top: 14px; text-align: center; font-size: 12px; cursor: pointer; }
.status-line .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #bbb; }
.status-line.ok .dot { background: #34c77b; }
.status-line.bad .dot { background: #f25b5b; }

.points-bar { margin-top: 30px; padding: 12px 14px; display: flex; align-items: center; }
.points-badge { width: 28px; height: 28px; border-radius: 50%; background: #1677ff; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-right: 10px; flex-shrink: 0; }
.points-label { font-weight: 500; }
.points-value { color: #1677ff; flex: 1; font-size: 17px; }

/* 创作页 */
.ai-tag { display: inline-block; background: #dbe7fb; color: #1677ff; font-size: 12px; padding: 4px 12px; border-radius: 14px; margin-bottom: 12px; }
.agree-card { padding: 10px 14px; margin-bottom: 14px; }
.agree-row { display: flex; gap: 8px; font-size: 12px; color: #5a6478; line-height: 1.5; align-items: flex-start; }
.agree-row input { margin-top: 2px; }
.agree-row a { color: #1677ff; text-decoration: none; }

.photo-row { display: flex; justify-content: space-between; }
.photo-slot { position: relative; width: 49%; height: 120px; border-radius: 12px; border: 1px dashed #b9c8e2; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; }
.photo-img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { display: flex; flex-direction: column; align-items: center; color: #8a94a6; font-size: 14px; gap: 6px; }
.photo-icon { font-size: 26px; opacity: .55; }
.photo-clear { position: absolute; top: 4px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.photo-tip { font-size: 12px; margin: 8px 2px 0; }

.section-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 2px 8px; }
.section-head b { font-size: 15px; }
.clear-link { color: #1677ff; font-size: 13px; text-decoration: none; cursor: pointer; }
.text-card { padding: 10px; }
.script-input { width: 100%; height: 150px; border: none; outline: none; font-size: 15px; line-height: 1.6; resize: none; background: transparent; }
.script-input.prompt { height: 110px; }
.ug { direction: rtl; text-align: right; font-family: "UKIJ Tuz Tom", "Noto Naskh Arabic", "Microsoft Uighur", sans-serif; }
.count-row { text-align: right; font-size: 12px; margin-top: 6px; }

.voice-row { display: flex; gap: 10px; margin-top: 16px; }
.voice-box { flex: 1; background: #fff; border: none; border-radius: 10px; height: 44px; padding: 0 12px; font-size: 14px; box-shadow: 0 2px 8px rgba(23,86,184,.05); outline: none; }
.half-btn { flex: 1; border-radius: 10px; padding: 11px 0; font-size: 15px; }

.player { margin-top: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.play-btn { width: 34px; height: 34px; border-radius: 50%; background: #1677ff; color: #fff; border: none; font-size: 14px; cursor: pointer; flex-shrink: 0; }
.player-wave { flex: 1; color: #1677ff; letter-spacing: 2px; overflow: hidden; white-space: nowrap; font-size: 13px; }

.dual-btns { display: flex; gap: 10px; margin-top: 16px; }

.opt-row { display: flex; gap: 10px; margin-top: 18px; }
.opt-col { flex: 1; }
.opt-col label { font-size: 13px; color: #5a6478; display: block; margin-bottom: 6px; }
.opt-box { width: 100%; background: #fff; border: none; border-radius: 10px; height: 44px; padding: 0 12px; font-size: 14px; box-shadow: 0 2px 8px rgba(23,86,184,.05); outline: none; }

.mode-row { display: flex; margin-top: 18px; background: #e2ecfa; border-radius: 10px; padding: 4px; }
.mode-item { flex: 1; text-align: center; font-size: 13px; color: #5a6478; padding: 8px 0; border-radius: 8px; cursor: pointer; }
.mode-item.on { background: #fff; color: #1677ff; font-weight: 600; }

.video-btn { margin-top: 22px; font-size: 17px; padding: 14px 0; }
.cost-tip { text-align: center; font-size: 12px; margin-top: 10px; }

/* 我的 */
.user-card { display: flex; align-items: center; padding: 16px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: #dbe7fb; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-right: 12px; }
.user-info { flex: 1; }
.user-name { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.edit-link { color: #1677ff; font-size: 12px; font-weight: 400; text-decoration: none; cursor: pointer; }
.user-id { margin-top: 5px; font-size: 12px; }
.points-card { margin-top: 12px; padding: 14px; display: flex; align-items: center; }
.points-info { flex: 1; }
.points-num { font-size: 22px; font-weight: 700; }
.recharge-btn { width: 110px; padding: 9px 0; font-size: 15px; }
.menu-card { margin-top: 12px; padding: 4px 0; }
.menu-item { display: flex; align-items: center; padding: 14px 16px; cursor: pointer; }
.menu-icon { width: 28px; height: 28px; border-radius: 8px; background: #1677ff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; margin-right: 12px; flex-shrink: 0; }
.menu-icon.green { background: #34c77b; }
.menu-icon.red { background: #f7b500; }
.menu-text { flex: 1; font-size: 15px; }
.arrow { color: #c0c8d4; }
.fab { position: fixed; right: 16px; bottom: 100px; width: 48px; height: 48px; border-radius: 50%; background: #1677ff; color: #fff; border: none; font-size: 14px; box-shadow: 0 4px 14px rgba(22,119,255,.4); cursor: pointer; z-index: 50; }

/* 资产 */
.tabs { display: flex; background: #e2ecfa; border-radius: 10px; padding: 4px; margin-bottom: 12px; }
.tab { flex: 1; text-align: center; font-size: 13px; color: #5a6478; padding: 8px 0; border-radius: 8px; cursor: pointer; }
.tab.on { background: #fff; color: #1677ff; font-weight: 600; }
.asset-item { display: flex; align-items: center; padding: 12px; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.asset-icon { font-size: 24px; margin-right: 6px; }
.asset-body { flex: 1; min-width: 0; }
.asset-title { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
.asset-meta { font-size: 11px; margin-top: 4px; }
.asset-actions { width: 100%; display: flex; justify-content: flex-end; gap: 10px; }
.act { font-size: 13px; padding: 5px 16px; border-radius: 16px; background: #eef3fb; color: #5a6478; cursor: pointer; }
.act.primary { background: #1677ff; color: #fff; }
.act.danger { background: #fdeeee; color: #e5484d; }
.empty { padding: 50px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-icon { font-size: 36px; }

/* 底部导航 */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 62px;
  background: #fff; display: flex; box-shadow: 0 -2px 12px rgba(23,86,184,.08); z-index: 60;
}
.tabbar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; color: #9aa5b5; cursor: pointer; }
.tabbar-item.on { color: #1677ff; }
.t-icon { font-size: 20px; }
.t-icon.plus { width: 34px; height: 34px; border-radius: 50%; background: #1677ff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); background: rgba(20,28,45,.88); color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 14px; z-index: 99; max-width: 80vw; }

/* 形象生成 */
.avatar-row { display: flex; justify-content: space-between; margin-top: 10px; }
.avatar-slot { position: relative; width: 31.5%; height: 108px; border-radius: 12px; border: 1px dashed #b9c8e2; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; }
.photo-plus { font-size: 22px; color: #1677ff; }
.labels-row { display: flex; justify-content: space-between; margin-top: 6px; }
.labels-row span { width: 31.5%; font-size: 12px; color: #8a94a6; }

/* 扣费标准 */
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid #f0f3f8; font-size: 15px; }
.price-row:last-child { border-bottom: none; }
.price-row .blue { color: #1677ff; font-weight: 600; }
.price-row .free { color: #34c77b; font-weight: 600; }
.free-list { margin-top: 10px; font-size: 13px; color: #5a6478; line-height: 2; }

/* 实名认证 */
.verify-ok { display: flex; align-items: center; gap: 14px; padding: 20px 16px; background: linear-gradient(135deg, #eafaf1, #fff); }
.verify-check { width: 44px; height: 44px; border-radius: 12px; background: #34c77b; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v-label { font-size: 13px; color: #5a6478; display: block; margin-bottom: 6px; }
.v-input { width: 100%; height: 46px; border: 1px solid #dde5f0; border-radius: 10px; padding: 0 14px; font-size: 15px; outline: none; background: #fff; }
.v-input:focus { border-color: #1677ff; }
