* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f3ef; color: #222; line-height: 1.6; }
.wrap { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; padding-bottom: 90px; }
#gal::-webkit-scrollbar { display: none; }
.cover { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #3b4a3a; }
.sec { padding: 16px 18px; border-bottom: 8px solid #f5f3ef; }
h1 { font-size: 21px; line-height: 1.4; }
.tag { color: #888; font-size: 13px; margin-top: 4px; }
.price { font-size: 22px; font-weight: 600; margin-top: 12px; }
.price small { font-size: 14px; }
.label { color: #999; font-size: 13px; margin-bottom: 8px; }
.sessions { display: flex; gap: 10px; overflow-x: auto; }
.sess { flex: 0 0 auto; border: 1px solid #ddd; border-radius: 6px; padding: 8px 12px; cursor: pointer; min-width: 130px; }
.sess b { display: block; font-size: 15px; }
.sess span { font-size: 12px; color: #999; }
.sess.on { border-color: #2f3e2e; background: #2f3e2e; color: #fff; }
.sess.on span { color: #ddd; }
.sess.off { opacity: .45; cursor: not-allowed; }
.badge { display: inline-block; font-size: 11px; background: #eee; padding: 0 6px; border-radius: 3px; margin-top: 4px; }
.addr { display: flex; justify-content: space-between; align-items: center; }
.text { white-space: pre-wrap; font-size: 15px; }
.bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; padding: 12px 18px; border-top: 1px solid #eee; display: flex; gap: 12px; align-items: center; }
.btn { background: #2f3e2e; color: #fff; border: 0; border-radius: 6px; padding: 12px 18px; font-size: 16px; cursor: pointer; }
.btn:disabled { background: #aaa; }
.btn.full { flex: 1; }
.btn.ghost { background: #fff; color: #2f3e2e; border: 1px solid #2f3e2e; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.btn.red { background: #b5442f; }
input, textarea, select { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 10px; font-size: 15px; font-family: inherit; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: flex-end; justify-content: center; z-index: 9; }
.mask.show { display: flex; }
.sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 12px 12px 0 0; padding: 20px 18px; }
.qty { display: flex; align-items: center; gap: 12px; }
.qty button { width: 32px; height: 32px; border: 1px solid #ddd; background: #fff; border-radius: 4px; font-size: 18px; }
.center { text-align: center; }
.code { font-size: 34px; letter-spacing: 6px; font-weight: 700; color: #2f3e2e; margin: 10px 0; }
.card { border: 1px solid #eee; border-radius: 8px; padding: 14px; margin-bottom: 12px; cursor: pointer; }
.empty { color: #999; text-align: center; padding: 40px 0; }
