/* ============================================================
   app-mobile.css — 客人 App (H5) 移动端样式
   ============================================================ */

body.is-mobile-app #app { background: var(--bg); }

.app-mobile {
  max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative;
  background: var(--bg); padding-bottom: 72px;
}
.app-mobile .app-header {
  padding: 18px 18px 14px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10; background: linear-gradient(180deg, var(--bg) 70%, transparent);
}
.app-mobile .app-header .greet { font-size: 18px; font-weight: 700; }
.app-mobile .app-header .greet .sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* 卡片流 */
.app-cards { padding: 6px 14px; }
.app-order-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px; margin-bottom: 12px;
}
.app-order-card .aoc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-order-card .aoc-hotel { font-size: 14px; font-weight: 700; }
.app-order-card .aoc-body { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.app-order-card .aoc-amount { text-align: right; }
.app-order-card .aoc-amount .v { font-size: 18px; font-weight: 700; color: var(--accent); }
.app-order-card .aoc-actions { display: flex; gap: 8px; }
.app-order-card .aoc-actions .btn { flex: 1; }

/* 底部 tabbar */
.app-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 62px;
  background: var(--panel); border-top: 1px solid var(--border);
  display: flex; z-index: 100;
}
.app-tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--muted); font-size: 11px; cursor: pointer; background: none; border: none;
}
.app-tabbar .tab .ico { font-size: 20px; }
.app-tabbar .tab.active { color: var(--accent); }

/* 房卡票券 */
.room-card-ticket {
  background: linear-gradient(135deg, var(--panel2), var(--panel3));
  border: 1px solid var(--border2); border-radius: 16px;
  padding: 20px; position: relative; overflow: hidden; margin-bottom: 14px;
}
.room-card-ticket::before, .room-card-ticket::after {
  content: ''; position: absolute; top: 50%; width: 20px; height: 20px;
  background: var(--bg); border-radius: 50%; transform: translateY(-50%);
}
.room-card-ticket::before { left: -10px; }
.room-card-ticket::after { right: -10px; }
.room-card-ticket .rct-room { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.room-card-ticket .rct-hotel { font-size: 12px; color: var(--muted); margin: 2px 0 14px; }
/* 二维码需保持白底黑码才能被扫描，故固定为白色（不跟随主题） */
.room-card-ticket .rct-qr { display: flex; justify-content: center; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.room-card-ticket .rct-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* 签名板 */
.signature-pad { background: var(--panel2); border: 1px solid var(--border); border-radius: var(--radius-md); touch-action: none; width: 100%; height: 200px; }

/* 上传占位 */
.id-upload {
  border: 1.5px dashed var(--border2); border-radius: var(--radius-md);
  padding: 26px 16px; text-align: center; color: var(--muted); cursor: pointer; font-size: 13px;
}
.id-upload:hover { border-color: var(--accent); color: var(--accent); }

/* 会员中心 */
.member-head { text-align: center; padding: 24px 16px 8px; }
.member-head .avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto 10px; }
.member-head .name { font-size: 17px; font-weight: 700; }
.member-head .level { font-size: 12px; color: var(--muted); margin-top: 4px; }
.member-stats { display: flex; gap: 12px; padding: 16px; }
.member-stats .ms { flex: 1; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; text-align: center; }
.member-stats .ms .v { font-size: 20px; font-weight: 700; color: var(--accent); }
.member-stats .ms .k { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 通用移动列表 */
.app-list { padding: 6px 14px; }
.app-list-item {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.app-list-item .ali-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.app-list-item .ali-body { flex: 1; }
.app-list-item .ali-title { font-size: 14px; font-weight: 600; }
.app-list-item .ali-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.app-list-item .ali-right { color: var(--muted); font-size: 12px; text-align: right; }
