* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #222; }
a { text-decoration: none; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden { display: none; }

.header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: bold; color: #222; }
.logo i { color: #ff2d55; font-size: 24px; }
.logo span { color: #ff2d55; }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 16px; color: #666; font-size: 15px; border-radius: 4px; }
.nav a:hover { color: #ff2d55; background: #fff5f6; }
.nav a.on { color: #fff; background: #ff2d55; }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-search { position: relative; width: 200px; }
.header-search input { width: 100%; padding: 8px 12px 8px 32px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; background: #f9f9f9; }
.header-search input:focus { border-color: #ff2d55; outline: none; background: #fff; }
.header-search i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #999; font-size: 14px; }

.btn-login { padding: 8px 20px; background: #ff2d55; color: #fff; border-radius: 4px; font-size: 14px; font-weight: 500; }
.btn-login:hover { background: #e0264a; }
.btn-reg { padding: 8px 20px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; color: #666; }
.btn-reg:hover { border-color: #ff2d55; color: #ff2d55; }

.user-area { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn { position: relative; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #666; font-size: 16px; border-radius: 50%; transition: all 0.2s; background: transparent; border: none; cursor: pointer; }
.nav-icon-btn:hover { color: #ff2d55; background: #fff5f6; }
.nav-icon-btn .badge { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; background: #ff2d55; color: #fff; font-size: 10px; font-weight: 600; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.user-dropdown { position: relative; }
.avatar-btn { display: flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; background: #f5f5f5; border: none; border-radius: 20px; cursor: pointer; transition: background 0.2s; }
.avatar-btn:hover { background: #ebebeb; }
.avatar-btn.active { background: #e5e5e5; }
.avatar-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.avatar-text { width: 28px; height: 28px; background: #ff2d55; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 600; }
.dropdown-arrow { font-size: 10px; color: #999; transition: transform 0.2s; }
.avatar-btn.active .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 160px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); border: 1px solid #eee; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.15s; z-index: 200; pointer-events: none; }
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-header { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.user-name { font-size: 14px; font-weight: 600; color: #333; }
.dropdown-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #555; font-size: 14px; transition: background 0.15s; }
.dropdown-menu a:hover { background: #f9f9f9; color: #ff2d55; }
.dropdown-menu a i { width: 14px; color: #999; font-size: 13px; }
.dropdown-menu a:hover i { color: #ff2d55; }
.dropdown-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }
.logout-link { color: #999; }
.logout-link:hover { color: #ff2d55; }

main { min-height: calc(100vh - 200px); }

.footer { background: #222; color: #fff; padding: 40px 20px 20px; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand h4 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand h4 i { color: #ff2d55; }
.footer-brand p { color: #888; font-size: 14px; line-height: 1.6; }
.footer-links h5 { font-size: 14px; margin-bottom: 12px; color: #fff; }
.footer-links a { display: block; color: #888; font-size: 13px; margin-bottom: 8px; }
.footer-links a:hover { color: #ff2d55; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #333; text-align: center; color: #666; font-size: 13px; }

.banner-wrap { position: relative; height: 420px; background: #1a1a1a; overflow: hidden; }
.banner-list { height: 100%; }
.banner-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.banner-item.on { opacity: 1; z-index: 1; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 60%, transparent); }
.banner-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; z-index: 2; width: 100%; max-width: 1200px; padding: 0 20px; }
.banner-text .tag { display: inline-block; padding: 4px 12px; background: #ff2d55; border-radius: 4px; font-size: 12px; font-weight: bold; margin-bottom: 12px; }
.banner-text h2 { font-size: 32px; font-weight: bold; margin-bottom: 8px; }
.banner-text p { font-size: 16px; opacity: .8; margin-bottom: 20px; }
.buy-btn { display: inline-block; padding: 10px 28px; background: #ff2d55; color: #fff; border-radius: 4px; font-weight: bold; }
.buy-btn:hover { background: #e0264a; }
.banner-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; width: 100%; max-width: 1200px; padding: 0 20px; justify-content: flex-start; }
.banner-dots span { width: 8px; height: 8px; background: rgba(255,255,255,.4); border-radius: 50%; cursor: pointer; }
.banner-dots span.active { width: 24px; border-radius: 4px; background: #ff2d55; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(0,0,0,.5); border: none; border-radius: 50%; color: #fff; font-size: 16px; cursor: pointer; z-index: 3; }
.arrow:hover { background: rgba(0,0,0,.7); }
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

.page-body { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.search-bar { display: flex; gap: 12px; margin-bottom: 30px; }
.search-bar input { flex: 1; padding: 12px 16px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 15px; }
.search-bar input:focus { border-color: #ff2d55; outline: none; }
.search-bar select { width: 140px; padding: 12px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; }
.search-bar button { padding: 12px 32px; background: #ff2d55; color: #fff; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; }
.search-bar button:hover { background: #e0264a; }

.block { margin-bottom: 40px; }
.block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.block-head h3 { font-size: 18px; font-weight: bold; color: #222; }
.block-head h3 i { color: #ff2d55; margin-right: 8px; }
.block-head a { font-size: 14px; color: #888; }
.block-head a:hover { color: #ff2d55; }

.show-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .show-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .show-list { grid-template-columns: 1fr; } }

.show-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.show-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.show-card .pic { position: relative; height: 160px; overflow: hidden; }
.show-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.show-card .label { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 2px; font-size: 12px; color: #fff; }
.show-card .label.hot { background: #ff2d55; }
.show-card .label.soon { background: #ff9500; }
.show-card .label.new { background: #5856d6; }
.show-card .info { padding: 12px; }
.show-card h4 { font-size: 15px; font-weight: bold; color: #222; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.show-card .artist { font-size: 13px; color: #666; margin-bottom: 4px; }
.show-card .meta { font-size: 12px; color: #999; margin-bottom: 8px; }
.show-card .price { font-size: 18px; font-weight: bold; color: #ff2d55; }
.show-card .price small { font-size: 12px; font-weight: normal; }

.cat-list { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-list a { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; color: #333; transition: all .2s; }
.cat-list a:hover { border-color: #ff2d55; color: #ff2d55; }
.cat-list i { color: #ff2d55; }

.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-list a { padding: 8px 16px; background: #f5f5f5; border-radius: 4px; color: #333; font-size: 14px; }
.city-list a:hover { background: #ff2d55; color: #fff; }
.city-list small { margin-left: 6px; color: #999; font-size: 12px; }
.city-list a:hover small { color: rgba(255,255,255,.8); }

.page-wrap { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.page-head { margin-bottom: 24px; }
.page-head h2 { font-size: 24px; font-weight: bold; }
.page-head p { color: #888; font-size: 14px; }

.loading { text-align: center; padding: 60px; color: #888; }

.empty { text-align: center; padding: 80px 20px; background: #fff; border-radius: 8px; }
.empty i { font-size: 48px; color: #ddd; margin-bottom: 16px; }
.empty p { color: #888; margin-bottom: 16px; }
.empty a { padding: 10px 24px; background: #ff2d55; color: #fff; border-radius: 4px; }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs span { padding: 10px 24px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; cursor: pointer; font-size: 14px; color: #666; }
.tabs span:hover { border-color: #ff2d55; }
.tabs span.on { background: #ff2d55; border-color: #ff2d55; color: #fff; }

.list { background: #fff; border-radius: 8px; display: flex; flex-direction: column; gap: 0; }
.list .empty { text-align: center; padding: 40px; color: #888; }
.list .item { border-bottom: 1px solid #f0f0f0; }
.list .item:last-child { border-bottom: none; }
.list .item-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f9f9f9; font-size: 13px; }
.list .item-head span:first-child { color: #666; }
.list .item-body { display: flex; gap: 16px; padding: 16px; }
.list .item-body .cover { width: 100px; height: 80px; border-radius: 4px; object-fit: cover; }
.list .item-body .info { flex: 1; }
.list .item-body h4 { font-size: 15px; font-weight: bold; margin-bottom: 8px; color: #222; }
.list .item-body .venue { font-size: 13px; color: #666; margin-bottom: 4px; }
.list .item-body .time { font-size: 13px; color: #666; margin-bottom: 4px; }
.list .item-body .area { font-size: 13px; color: #888; margin-bottom: 8px; }
.list .item-body .right { text-align: right; }
.list .status { display: inline-block; padding: 2px 8px; border-radius: 2px; font-size: 12px; color: #fff; }
.status-2 { background: #34c759; }
.status-3 { background: #ff9500; }
.status-4 { background: #007aff; }
.list .item-body .price { font-size: 18px; font-weight: bold; color: #ff2d55; margin-bottom: 8px; }
.list .item-body .right .time { font-size: 12px; color: #999; margin-bottom: 12px; }
.btn-link { display: inline-block; padding: 6px 16px; background: #f5f5f5; border-radius: 4px; font-size: 13px; color: #666; }
.btn-link:hover { background: #ff2d55; color: #fff; }
.btn-refund { padding: 6px 16px; background: #fff; border: 1px solid #ff9500; border-radius: 4px; font-size: 13px; color: #ff9500; margin-left: 8px; cursor: pointer; }
.btn-refund:hover { background: #ff9500; color: #fff; }

.concert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .concert-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .concert-list { grid-template-columns: 1fr; } }
.concert-list .item { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.concert-list .item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.concert-list .item .pic { position: relative; height: 200px; overflow: hidden; }
.concert-list .item .pic img { width: 100%; height: 100%; object-fit: cover; }
.concert-list .item .tag { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; color: #fff; }
.concert-list .item .tag.status-1 { background: #ff9500; }
.concert-list .item .tag.status-2 { background: #5856d6; }
.concert-list .item .tag.status-3 { background: #ff2d55; }
.concert-list .item .tag.status-4 { background: #8e8e93; }
.concert-list .item .tag.status-5 { background: #666; }
.concert-list .item .info { padding: 16px; }
.concert-list .item h4 { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.concert-list .item .artist { font-size: 14px; color: #ff2d55; margin-bottom: 6px; }
.concert-list .item .meta { font-size: 13px; color: #666; margin-bottom: 4px; }
.concert-list .item .time { font-size: 13px; color: #888; margin-bottom: 12px; }
.concert-list .item .price { font-size: 20px; font-weight: bold; color: #ff2d55; }
.concert-list .item .price small { font-size: 13px; font-weight: normal; color: #999; margin-left: 2px; }

.user-card { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.avatar-wrap { position: relative; }
.avatar-wrap .avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.edit-avatar { position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; background: #ff2d55; border: none; border-radius: 50%; color: #fff; cursor: pointer; }
.user-info h2 { font-size: 20px; font-weight: bold; margin-bottom: 4px; }
.user-info p { color: #888; font-size: 14px; }
.user-card .actions { margin-left: auto; display: flex; gap: 12px; }
.user-card .actions button, .user-card .actions a { padding: 10px 20px; border-radius: 4px; font-size: 14px; }
.user-card .actions button { background: #ff2d55; color: #fff; border: none; }
.user-card .actions a { background: #fff; border: 1px solid #e5e5e5; color: #666; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal-box { background: #fff; border-radius: 8px; padding: 24px; width: 360px; max-width: 90%; }
.modal-box h3 { font-size: 18px; font-weight: bold; margin-bottom: 20px; }
.modal-box .form label { display: block; font-size: 14px; color: #666; margin-bottom: 6px; margin-top: 12px; }
.modal-box .form label:first-child { margin-top: 0; }
.modal-box .form label small { color: #999; font-weight: normal; }
.modal-box .form input { width: 100%; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; }
.modal-box .form input:focus { border-color: #ff2d55; outline: none; }
.avatar-preview { text-align: center; margin-bottom: 16px; }
.avatar-preview img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.btn-upload { width: 100%; padding: 12px; background: #f5f5f5; border: 2px dashed #e5e5e5; border-radius: 4px; color: #666; cursor: pointer; margin-bottom: 16px; }
.btn-upload:hover { border-color: #ff2d55; color: #ff2d55; }
.modal-btns { display: flex; gap: 12px; margin-top: 20px; }
.modal-btns button { flex: 1; padding: 12px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; cursor: pointer; }
.modal-btns button.primary { background: #ff2d55; border-color: #ff2d55; color: #fff; }

.cart-list { background: #fff; border-radius: 8px; margin-bottom: 16px; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid #f0f0f0; }
.cart-item:last-child { border-bottom: none; }
.cart-item input { width: 18px; height: 18px; }
.cart-item .cover { width: 80px; height: 60px; border-radius: 4px; object-fit: cover; }
.cart-item .info { flex: 1; }
.cart-item h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.cart-item .info p { font-size: 13px; color: #888; }
.cart-item .area { font-size: 13px; color: #666; background: #f5f5f5; padding: 4px 12px; border-radius: 4px; }
.cart-item .price { font-size: 16px; font-weight: bold; color: #ff2d55; min-width: 80px; text-align: right; }
.cart-item .del { width: 36px; height: 36px; padding: 0; background: #f5f5f5; border: none; border-radius: 6px; color: #999; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .2s; }
.cart-item .del:hover { background: #ff2d55; color: #fff; }

.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #666; }
.checkbox input { display: none; }
.checkbox span { width: 18px; height: 18px; border: 2px solid #ddd; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.checkbox span::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; transition: all .2s; }
.checkbox input:checked + span { background: #ff2d55; border-color: #ff2d55; }
.checkbox input:checked + span::after { opacity: 1; }

.bar { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 8px; padding: 16px; }
.bar .btn-delete { padding: 8px 16px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; color: #666; cursor: pointer; transition: all .2s; }
.bar .btn-delete:hover { border-color: #ff2d55; color: #ff2d55; }
.bar .btn-delete:disabled { opacity: .5; cursor: not-allowed; }
.bar .total { flex: 1; text-align: right; font-size: 14px; color: #666; }
.bar .total b { color: #ff2d55; font-size: 18px; }
.bar .btn-buy { padding: 12px 32px; background: #ff2d55; color: #fff; border: none; border-radius: 4px; font-weight: 500; }
.bar .btn-buy:hover { background: #e0264a; }

.filter-box { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 24px; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filter-row:last-child { margin-bottom: 0; }
.filter-row label { color: #666; font-size: 14px; min-width: 50px; }
.filter-row input[type="text"] { flex: 1; padding: 10px 14px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; min-width: 200px; }
.filter-row input[type="text"]:focus { border-color: #ff2d55; outline: none; }
.filter-row input[type="date"] { padding: 8px 12px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; }
.filter-row button { padding: 10px 24px; background: #ff2d55; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; }
.filter-row button:hover { background: #e0264a; }
.filter-row > span { padding: 6px 14px; background: #f5f5f5; border-radius: 4px; font-size: 13px; color: #666; cursor: pointer; }
.filter-row > span:hover { background: #eee; }
.filter-row > span.on { background: #ff2d55; color: #fff; }

.concert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .concert-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .concert-list { grid-template-columns: 1fr; } }

.concert-item { background: #fff; border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.concert-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.concert-item .pic { position: relative; height: 180px; }
.concert-item .pic img { width: 100%; height: 100%; object-fit: cover; }
.concert-item .tag { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 2px; font-size: 12px; color: #fff; }
.status-1 { background: #ff9500; }
.status-2 { background: #34c759; }
.status-3 { background: #007aff; }
.status-4, .status-5 { background: #8e8e93; }

.concert-item .info { padding: 14px; }
.concert-item h4 { font-size: 16px; font-weight: bold; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.concert-item .artist { font-size: 13px; color: #666; margin-bottom: 4px; }
.concert-item .meta { font-size: 12px; color: #888; margin-bottom: 2px; }
.concert-item .time { font-size: 12px; color: #999; margin-bottom: 8px; }
.concert-item .price { font-size: 18px; font-weight: bold; color: #ff2d55; }
.concert-item .price small { font-size: 12px; font-weight: normal; }

.main-info { display: grid; grid-template-columns: 400px 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 800px) { .main-info { grid-template-columns: 1fr; } }

.pic { position: relative; border-radius: 8px; overflow: hidden; }
.pic img { width: 100%; height: 300px; object-fit: cover; display: block; }
.pic .status { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 4px; font-size: 12px; color: #fff; }

.info h1 { font-size: 24px; font-weight: bold; margin-bottom: 8px; }
.info .artist { color: #ff2d55; font-size: 16px; margin-bottom: 20px; }

.meta-list { background: #fff; border-radius: 8px; margin-bottom: 20px; }
.meta-item { display: flex; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }
.meta-item:last-child { border-bottom: none; }
.meta-item .label { width: 80px; color: #888; font-size: 14px; }
.meta-item .value { flex: 1; font-size: 14px; }

.price-box { background: #fff5f6; border: 1px solid #ffe0e3; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.price-box .label { font-size: 14px; color: #888; }
.price-box .price { font-size: 28px; font-weight: bold; color: #ff2d55; margin-left: 12px; }

.venue-layout-card { background: #fff; border: 1px solid #e5eefc; border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.venue-layout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.venue-layout-head h4 { font-size: 15px; margin-bottom: 4px; }
.venue-layout-head p { font-size: 13px; color: #888; }
.venue-layout-tip { font-size: 12px; color: #ff2d55; background: #fff1f3; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
@media (max-width: 720px) { .venue-layout-head { flex-direction: column; } .venue-layout-tip { white-space: normal; } }
.venue-layout-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; font-size: 13px; color: #666; }
.venue-layout-legend .dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.venue-layout-legend .dot.stage { background: #111827; }
.venue-layout-legend .dot.ok { background: #2563eb; }
.venue-layout-legend .dot.on { background: #ff2d55; }
.venue-layout-legend .dot.wait { background: #cbd5e1; }
.venue-layout-wrap { overflow: auto; background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%); border-radius: 12px; border: 1px solid #dbeafe; padding: 14px; }
.venue-layout-grid { display: grid; gap: 4px; min-width: 560px; user-select: none; }
.venue-layout-cell { aspect-ratio: 1 / 1; border: 1px solid #dbe3f0; border-radius: 6px; background: rgba(255,255,255,.72); color: transparent; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px; transition: transform .12s, box-shadow .12s, opacity .12s; }
.venue-layout-cell.type-section { cursor: pointer; color: #fff; }
.venue-layout-cell.type-section:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(37,99,235,.14); }
.venue-layout-cell.type-stage { color: #fff; }
.venue-layout-cell.type-aisle { color: #94a3b8; border-style: dashed; }
.venue-layout-cell.active { box-shadow: inset 0 0 0 2px #ff2d55; }
.venue-layout-cell.muted { opacity: .18; cursor: not-allowed; }
.venue-layout-cell.soldout { opacity: .45; }

.area-section { margin-bottom: 20px; }
.area-section h4 { font-size: 15px; margin-bottom: 12px; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-item { padding: 12px 16px; background: #fff; border: 2px solid #e5e5e5; border-radius: 8px; cursor: pointer; min-width: 100px; text-align: center; }
.area-item:hover { border-color: #ff2d55; }
.area-item.on { border-color: #ff2d55; background: #fff5f6; }
.area-item.disabled { opacity: .5; cursor: not-allowed; }
.area-item .name { display: block; font-weight: 500; margin-bottom: 4px; }
.area-item .price { color: #ff2d55; font-weight: bold; }
.area-item .remain { font-size: 12px; color: #999; display: block; margin-top: 4px; }

.qty-section { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-section .label { color: #666; }
.qty-ctrl { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; padding: 4px 12px; }
.qty-ctrl button { width: 28px; height: 28px; border: none; background: #f5f5f5; border-radius: 4px; cursor: pointer; }
.qty-ctrl button:hover { background: #ff2d55; color: #fff; }
.qty-ctrl button:disabled { opacity: .3; cursor: not-allowed; }
.qty-ctrl span { font-weight: bold; min-width: 20px; text-align: center; }
.qty-section .total { color: #666; }
.qty-section .total b { color: #ff2d55; font-size: 18px; }

.seat-section { margin-bottom: 20px; }
.seat-section.full-venue { margin-top: 20px; }
.seat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 12px; }
.seat-header h4 { font-size: 15px; margin: 0; }
.seat-header h4 small { font-weight: normal; color: #999; }
.seat-tools { display: flex; align-items: center; gap: 12px; }
.row-jump { padding: 6px 12px; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 13px; background: #fff; cursor: pointer; }
.row-jump:focus { border-color: #ff2d55; outline: none; }
.zoom-ctrl { display: flex; align-items: center; gap: 8px; background: #f5f5f5; border-radius: 6px; padding: 4px 8px; }
.zoom-ctrl button { width: 24px; height: 24px; border: none; background: #fff; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.zoom-ctrl button:hover { background: #ff2d55; color: #fff; }
.zoom-ctrl button:disabled { opacity: .4; cursor: not-allowed; }
.zoom-ctrl span { font-size: 12px; color: #666; min-width: 36px; text-align: center; }
.seat-legend { display: flex; gap: 16px; margin-bottom: 12px; font-size: 13px; color: #888; flex-wrap: wrap; align-items: center; }
.seat-legend.full { gap: 8px 16px; background: #f8fafc; padding: 12px 16px; border-radius: 8px; border: 1px solid #e2e8f0; }
.area-legend-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; border: 1px solid; background: #fff; font-size: 12px; font-weight: 500; }
.area-legend-item .dot { width: 12px; height: 12px; border-radius: 3px; }
.soldout-tag { background: #fee2e2; color: #dc2626; padding: 1px 6px; border-radius: 4px; font-size: 10px; margin-left: 4px; }
.legend-divider { width: 1px; height: 20px; background: #e2e8f0; margin: 0 8px; }
.seat-legend .dot { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.seat-legend .dot.ok { background: #d4edda; border: 1px solid #28a745; }
.seat-legend .dot.on { background: #ff2d55; }
.seat-legend .dot.no { background: #ddd; }
.lock-timer { color: #ff9500; font-weight: 500; }
.lock-timer i { margin-right: 4px; }
.stage-wrap { perspective: 800px; margin-bottom: 20px; }
.stage { background: linear-gradient(135deg, #ff2d55 0%, #e91e63 100%); color: #fff; text-align: center; padding: 14px 24px; border-radius: 8px; font-weight: 600; letter-spacing: 6px; box-shadow: 0 4px 20px rgba(255, 45, 85, 0.3); transform: rotateX(-5deg); display: inline-block; width: 100%; }
.stage i { margin-right: 8px; }
.seat-map-wrap { background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 100%); border-radius: 12px; border: 1px solid #e2e8f0; padding: 20px; overflow: hidden; max-height: 400px; position: relative; }
.seat-map-wrap:hover { overflow: auto; }
.seat-map { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform 0.1s ease-out; will-change: transform; }
.seat-map.full-venue { gap: 24px; }
.area-block { width: 100%; padding: 16px; background: #fff; border-radius: 10px; border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.area-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 14px; font-weight: 600; padding-bottom: 8px; border-bottom: 2px solid currentColor; }
.area-title small { font-weight: 400; color: #888; font-size: 12px; }
.seat-row { display: flex; align-items: center; width: 100%; }
.row-label { width: 44px; font-size: 11px; color: #64748b; text-align: right; padding-right: 10px; font-weight: 500; flex-shrink: 0; }
.seats { display: flex; gap: 5px; flex-wrap: nowrap; }
.seat { width: 28px; height: 28px; border-radius: 6px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #e2e8f0; color: #94a3b8; border: 2px solid transparent; transition: all 0.15s ease; position: relative; }
.seat.ok { background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); border-color: var(--area-color, #28a745); color: var(--area-color, #28a745); }
.seat.ok:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 10; }
.seat.on { background: linear-gradient(135deg, #ff2d55 0%, #e91e63 100%); border-color: #ff2d55; color: #fff; box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4); transform: scale(1.1); }
.seat.no { cursor: not-allowed; opacity: .4; background: #cbd5e1; border-color: #94a3b8; }

.viewer-section { margin-bottom: 20px; background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #e5e5e5; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.viewer-header h4 { font-size: 15px; margin: 0; }
.viewer-header small { font-weight: normal; color: #888; margin-left: 8px; }
.btn-add-viewer { padding: 6px 12px; background: #fff; border: 1px solid #ff2d55; color: #ff2d55; border-radius: 6px; font-size: 13px; cursor: pointer; }
.btn-add-viewer:hover { background: #ff2d55; color: #fff; }
.viewer-list { display: flex; flex-direction: column; gap: 8px; }
.viewer-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 8px; cursor: pointer; transition: all 0.15s; }
.viewer-item:hover { border-color: #ff2d55; background: #fff5f6; }
.viewer-item.selected { border-color: #ff2d55; background: #fff5f6; }
.viewer-info { display: flex; align-items: center; gap: 12px; }
.viewer-info .name { font-weight: 500; color: #333; }
.viewer-info .id-card { color: #888; font-size: 13px; }
.default-tag { padding: 2px 8px; background: #ff2d55; color: #fff; font-size: 11px; border-radius: 4px; }
.viewer-item i { color: #ff2d55; font-size: 20px; }
.no-viewer { text-align: center; padding: 24px; color: #888; }
.viewer-selected { margin-top: 12px; padding: 10px 16px; background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; font-size: 13px; color: #166534; }
.viewer-selected .selected-names { margin-left: 8px; font-weight: 500; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-overlay.viewer-modal-overlay { z-index: 1100; }
.modal-content { background: #fff; border-radius: 12px; width: 90%; max-width: 400px; max-height: 90vh; overflow: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e5e5e5; }
.modal-header h3 { font-size: 16px; margin: 0; }
.modal-close { width: 32px; height: 32px; border: none; background: transparent; cursor: pointer; font-size: 18px; color: #888; }
.modal-close:hover { color: #333; }
.modal-body { padding: 20px; }
.modal-footer { display: flex; gap: 12px; padding: 16px 20px; border-top: 1px solid #e5e5e5; }
.modal-footer button { flex: 1; padding: 10px 16px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.btn-cancel { background: #f5f5f5; border: 1px solid #e5e5e5; color: #666; }
.btn-cancel:hover { background: #eee; }
.btn-save { background: #ff2d55; border: none; color: #fff; }
.btn-save:hover { background: #e91e63; }
.btn-save:disabled { opacity: .5; cursor: not-allowed; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: #333; }
.form-group .required { color: #ff2d55; }
.form-group input { width: 100%; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 14px; }
.form-group input:focus { outline: none; border-color: #ff2d55; }
.form-group.checkbox label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-group.checkbox input { width: auto; }

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-header h3 { font-size: 16px; margin: 0; }
.btn-add { padding: 8px 16px; background: #ff2d55; color: #fff; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.btn-add:hover { background: #e91e63; }
.empty-viewer { text-align: center; padding: 60px 20px; background: #fff; border-radius: 12px; }
.empty-viewer i { font-size: 48px; color: #ddd; margin-bottom: 16px; }
.empty-viewer p { color: #888; margin-bottom: 16px; }
.btn-add-viewer { padding: 10px 24px; background: #ff2d55; color: #fff; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; }
.btn-add-viewer:hover { background: #e91e63; }
.viewer-list { display: flex; flex-direction: column; gap: 12px; }
.viewer-card { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 16px; transition: all 0.15s; }
.viewer-card:hover { border-color: #ff2d55; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.viewer-main { display: flex; align-items: center; gap: 16px; }
.viewer-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, #ff2d55 0%, #e91e63 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.viewer-name { font-size: 16px; font-weight: 500; color: #333; margin-bottom: 4px; }
.default-badge { padding: 2px 8px; background: #ff2d55; color: #fff; font-size: 11px; border-radius: 4px; margin-left: 8px; }
.viewer-detail { display: flex; gap: 16px; color: #888; font-size: 13px; }
.viewer-detail span { display: flex; align-items: center; gap: 4px; }
.viewer-actions { display: flex; gap: 8px; }
.viewer-actions button { width: 36px; height: 36px; border: 1px solid #e5e5e5; background: #fff; border-radius: 8px; cursor: pointer; color: #666; display: flex; align-items: center; justify-content: center; }
.viewer-actions button:hover { border-color: #ff2d55; color: #ff2d55; }
.viewer-actions button.danger:hover { border-color: #dc2626; color: #dc2626; }
.viewer-tip { margin-top: 16px; padding: 12px 16px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; font-size: 13px; color: #0369a1; display: flex; align-items: center; gap: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-label input { width: auto; }
.required { color: #ff2d55; }
.seat.locked { animation: pulse 1s infinite; border-color: #ff9500; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 149, 0, 0.4); } 50% { box-shadow: 0 0 0 6px rgba(255, 149, 0, 0); } }
.selected-info { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 14px 16px; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.selected-seats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.selected-seats .label { font-size: 13px; color: #888; }
.selected-seat-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: #fff1f3; border: 1px solid; border-radius: 20px; font-size: 12px; color: #333; font-weight: 500; }
.area-badge { padding: 2px 6px; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 600; }
.selected-seat-tag button { width: 16px; height: 16px; border: none; background: transparent; color: #999; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; opacity: .6; }
.selected-seat-tag button:hover { opacity: 1; color: #ff2d55; }
.selected-total { font-size: 13px; color: #666; }
.selected-total b { color: #333; }
.selected-total .price { color: #ff2d55; font-size: 18px; }
.seat-tooltip { background: #1e293b; color: #fff; padding: 12px 14px; border-radius: 8px; font-size: 13px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); pointer-events: none; min-width: 140px; }
.tip-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.tip-row:last-child { margin-bottom: 0; }
.tip-label { color: #94a3b8; }
.tip-value { font-weight: 500; }
.tip-value.price { color: #ff6b8a; }
.tip-value.available { color: #4ade80; }
.tip-value.sold { color: #f87171; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-buy { padding: 14px 32px; background: #ff2d55; color: #fff; border: none; border-radius: 4px; font-size: 16px; font-weight: 500; cursor: pointer; }
.btn-buy:hover { background: #e0264a; }
.btn-buy:disabled { opacity: .5; cursor: not-allowed; }
.btn-cart, .btn-fav { padding: 14px 24px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; cursor: pointer; }
.btn-cart:hover, .btn-fav:hover { border-color: #ff2d55; color: #ff2d55; }
.btn-cart:disabled, .btn-fav:disabled { opacity: .5; cursor: not-allowed; }

.notice { background: #fff; border-radius: 8px; overflow: hidden; }
.notice .tabs { border-bottom: 1px solid #f0f0f0; }
.notice .tabs span { padding: 14px 24px; cursor: pointer; color: #888; font-size: 14px; }
.notice .tabs span:hover { color: #333; }
.notice .tabs span.on { color: #ff2d55; border-bottom: 2px solid #ff2d55; }
.content { padding: 20px; }
.content p { margin-bottom: 12px; font-size: 14px; color: #666; line-height: 1.6; }
.content b { color: #333; }

.checkout-modal { max-width: 500px; }
.checkout-info { background: #f8fafc; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.checkout-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.checkout-row .label { color: #666; }
.checkout-row .value { color: #333; font-weight: 500; }
.checkout-row.total { border-top: 1px solid #e5e5e5; margin-top: 8px; padding-top: 12px; }
.checkout-row.total .value { font-size: 18px; color: #ff2d55; }
.viewer-section-modal { border-top: 1px solid #e5e5e5; padding-top: 16px; }
.viewer-header-modal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.viewer-header-modal h4 { font-size: 15px; margin: 0; }
.viewer-header-modal small { font-weight: normal; color: #888; margin-left: 8px; }
.viewer-list-modal { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow-y: auto; }
.viewer-item-modal { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 8px; cursor: pointer; transition: all 0.15s; }
.viewer-item-modal:hover { border-color: #ff2d55; }
.viewer-item-modal.selected { border-color: #ff2d55; background: #fff5f6; }
.viewer-info-modal { display: flex; align-items: center; gap: 12px; }
.viewer-info-modal .name { font-weight: 500; }
.viewer-info-modal .id-card { color: #888; font-size: 13px; }
.viewer-item-modal i { color: #ff2d55; font-size: 18px; }
.no-viewer-modal { text-align: center; padding: 24px; color: #888; }
.no-viewer-modal p { margin-bottom: 12px; }
.viewer-selected-modal { margin-top: 12px; text-align: center; font-size: 13px; color: #ff2d55; font-weight: 500; }
.btn-confirm { flex: 1; padding: 12px; background: #ff2d55; color: #fff; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; font-weight: 500; }
.btn-confirm:hover { background: #e91e63; }
.btn-confirm:disabled { opacity: .5; cursor: not-allowed; }

.login-wrap { display: flex; min-height: 100vh; }

.image-section { flex: 1; background: url('/img/R (1).jpg') center/cover; position: relative; display: none; }
@media (min-width: 1024px) { .image-section { display: flex; } }
.image-section::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 150px; background: linear-gradient(to right, transparent, #fff); pointer-events: none; z-index: 20; }
.image-section .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.image-section .text { position: absolute; bottom: 60px; left: 60px; color: #fff; z-index: 10; }
.image-section .text h2 { font-size: 32px; font-weight: bold; margin-bottom: 12px; }
.image-section .text p { font-size: 16px; opacity: .8; }

.form-section { width: 100%; max-width: 480px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 40px; background: #fff; overflow-y: auto; }
@media (min-width: 1024px) { .form-section { width: 480px; } }

.form-section .logo { margin-bottom: 40px; }
.form-section .logo i { font-size: 32px; color: #ff2d55; }
.form-section .logo h1 { font-size: 24px; font-weight: bold; margin-top: 12px; }
.form-section .logo p { color: #888; font-size: 14px; margin-top: 4px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: #333; margin-bottom: 8px; }
.form-group input { width: 100%; padding: 14px 16px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 15px; transition: border-color .2s; }
.form-group input:focus { border-color: #ff2d55; outline: none; }
.form-group input.error { border-color: #ff2d55; background: #fff5f6; }
.form-group .err-msg { color: #ff2d55; font-size: 13px; margin-top: 6px; }

.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.form-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; cursor: pointer; }
.form-row a { font-size: 14px; color: #ff2d55; }

.btn { width: 100%; padding: 14px; background: #ff2d55; color: #fff; border: none; border-radius: 4px; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s; }
.btn:hover { background: #e0264a; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.divider { text-align: center; margin: 24px 0; color: #ccc; font-size: 14px; }

.link-btn { display: block; width: 100%; padding: 14px; border: 1px solid #e5e5e5; border-radius: 4px; text-align: center; color: #666; font-size: 14px; }
.link-btn:hover { border-color: #ff2d55; color: #ff2d55; }

.admin-link { text-align: center; margin-top: 40px; }
.admin-link a { color: #999; font-size: 13px; }
.admin-link a:hover { color: #ff2d55; }

.strength-bar { display: flex; gap: 4px; margin-top: 8px; }
.strength-bar span { flex: 1; height: 3px; background: #e5e5e5; border-radius: 2px; transition: background .2s; }
.strength-bar span.weak { background: #ff3b30; }
.strength-bar span.medium { background: #ff9500; }
.strength-bar span.strong { background: #34c759; }
.strength-text { font-size: 12px; margin-top: 4px; }
.strength-text.weak { color: #ff3b30; }
.strength-text.medium { color: #ff9500; }
.strength-text.strong { color: #34c759; }

.terms { text-align: center; margin-top: 24px; font-size: 12px; color: #999; }
.terms a { color: #ff2d55; }

.order-list { display: flex; flex-direction: column; gap: 16px; }
.order-item { background: #fff; border-radius: 8px; overflow: hidden; }
.order-head { display: flex; justify-content: space-between; padding: 12px 16px; background: #f9f9f9; font-size: 13px; }
.order-head .order-no { color: #666; }
.order-head .status { padding: 2px 8px; border-radius: 2px; font-size: 12px; color: #fff; }

.order-body { display: flex; gap: 16px; padding: 16px; }
.order-body .cover { width: 100px; height: 80px; border-radius: 4px; object-fit: cover; }
.order-body .info { flex: 1; }
.order-body h4 { font-size: 15px; font-weight: bold; margin-bottom: 8px; }
.order-body .venue, .order-body .time { font-size: 13px; color: #666; margin-bottom: 4px; }
.order-body .area { font-size: 13px; color: #888; margin-bottom: 8px; }
.order-body .right { text-align: right; }
.order-body .price { font-size: 18px; font-weight: bold; color: #ff2d55; }
.order-body .time { color: #999; font-size: 12px; }

.page-head-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.page-head-detail .back { color: #888; font-size: 14px; }
.page-head-detail h2 { flex: 1; font-size: 20px; font-weight: bold; }
.status-cancel, .status-paid, .status-refund, .status-done, .status-pending { padding: 4px 12px; border-radius: 12px; font-size: 12px; }
.status-cancel { background: #ffebee; color: #f44336; }
.status-paid { background: #e8f5e9; color: #4caf50; }
.status-refund { background: #e3f2fd; color: #2196f3; }
.status-done { background: #f3e5f5; color: #9c27b0; }
.status-pending { background: #fff3e0; color: #ff9800; }

.steps { display: flex; background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: 12.5%; right: 12.5%; height: 2px; background: #e5e5e5; }
.step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step .num { width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%; background: #f5f5f5; border: 2px solid #e5e5e5; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; color: #999; }
.step.active .num { background: #ff2d55; border-color: #ff2d55; color: #fff; }
.step .text { font-size: 13px; color: #666; margin-bottom: 4px; }
.step.active .text { color: #333; font-weight: 500; }
.step .time { font-size: 11px; color: #999; }

.qr-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; margin-bottom: 16px; }
.qr-card h3 { font-size: 15px; color: #ff2d55; margin-bottom: 16px; }
.qr-box { width: 160px; height: 160px; margin: 0 auto; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; }
.qr-invalid { display: flex; align-items: center; justify-content: center; color: #999; background: #f5f5f5; }
.qr-tip { margin-top: 12px; font-size: 13px; color: #888; }
.qr-tip.invalid { color: #f44336; }

.concert-card { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.concert-card img { width: 100%; height: 160px; object-fit: cover; }
.concert-card .info { padding: 16px; }
.concert-card h3 { font-size: 16px; font-weight: bold; margin-bottom: 12px; }
.concert-card p { font-size: 13px; color: #666; margin-bottom: 6px; }
.concert-card i { width: 16px; color: #ff2d55; margin-right: 8px; }

.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-main { min-width: 0; }
.detail-sidebar { min-width: 0; }

.detail-card { background: #fff; border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.detail-card .card-header { padding: 16px 20px; background: #f9f9f9; border-bottom: 1px solid #f0f0f0; }
.detail-card .card-title { font-size: 15px; font-weight: 500; color: #333; }
.detail-card .card-title i { color: #ff2d55; margin-right: 8px; }
.detail-card .card-body { padding: 20px; }
.detail-card .card-body.compact { padding: 16px 20px; }
.detail-card .card-footer { padding: 16px 20px; background: #fafafa; border-top: 1px solid #f0f0f0; }

.concert-info { display: flex; gap: 20px; }
.concert-info .concert-img { width: 180px; height: 120px; border-radius: 8px; object-fit: cover; }
.concert-info .concert-detail { flex: 1; }
.concert-info h3 { font-size: 18px; font-weight: bold; margin-bottom: 12px; color: #222; }
.meta-list { display: flex; flex-direction: column; gap: 8px; }
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; }
.meta-item i { color: #ff2d55; width: 16px; }

.info-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row .label { color: #888; font-size: 14px; }
.info-row .value { color: #333; font-size: 14px; }
.info-row .value.small { font-size: 13px; }
.info-row .value.mono { font-family: 'SF Mono', Monaco, monospace; }

.amount-row { display: flex; justify-content: space-between; align-items: center; }
.amount-row span:first-child { font-size: 14px; color: #666; }
.amount-row .amount { font-size: 24px; font-weight: bold; color: #ff2d55; }

.ticket-list { display: flex; flex-direction: column; gap: 12px; }
.ticket-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f9f9f9; border-radius: 8px; }
.ticket-info { display: flex; flex-direction: column; gap: 4px; }
.ticket-name { font-size: 14px; font-weight: 500; color: #333; }
.ticket-code { font-size: 12px; color: #999; font-family: 'SF Mono', Monaco, monospace; }
.ticket-price { font-size: 16px; font-weight: bold; color: #ff2d55; }

.detail-sidebar .detail-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.detail-sidebar .detail-actions .btn-refund-action, .detail-sidebar .detail-actions .btn-back { width: 100%; padding: 14px; border-radius: 8px; font-size: 15px; text-align: center; cursor: pointer; transition: all .2s; border: none; }
.detail-sidebar .detail-actions .btn-refund-action { background: #fff; border: 1px solid #f44336; color: #f44336; }
.detail-sidebar .detail-actions .btn-refund-action:hover { background: #f44336; color: #fff; }
.detail-sidebar .detail-actions .btn-back { background: #fff; border: 1px solid #e5e5e5; color: #666; text-decoration: none; }
.detail-sidebar .detail-actions .btn-back:hover { border-color: #ff2d55; color: #ff2d55; }
.detail-sidebar .detail-actions i { margin-right: 6px; }

.qr-section .qr-body { text-align: center; padding: 24px 20px; }
.qr-box { width: 160px; height: 160px; margin: 0 auto; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; }
.qr-tip { margin-top: 12px; font-size: 13px; color: #888; }
.qr-order { margin-top: 8px; font-size: 12px; color: #999; font-family: 'SF Mono', Monaco, monospace; }

.orders-card { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.pay-order-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid #f5f5f5; }
.pay-order-item:last-child { border-bottom: none; }
.pay-order-item .cover { width: 80px; height: 100px; object-fit: cover; border-radius: 6px; }
.pay-order-item .info { flex: 1; }
.pay-order-item h4 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.pay-order-item .venue, .pay-order-item .ticket { font-size: 13px; color: #888; margin-bottom: 4px; }
.pay-order-item i { width: 14px; color: #ff2d55; margin-right: 6px; }
.pay-order-item .price { font-size: 18px; font-weight: bold; color: #ff2d55; }

.pay-methods { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.pay-methods h4 { font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.methods { display: flex; gap: 12px; }
.method { flex: 1; padding: 16px 8px; border: 2px solid #e5e5e5; border-radius: 8px; text-align: center; cursor: pointer; }
.method:hover { border-color: #ff2d55; }
.method.active { border-color: #ff2d55; background: #fff5f6; }
.method i { font-size: 24px; margin-bottom: 8px; display: block; }
.method span { font-size: 13px; color: #666; }

.summary { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: #666; }
.summary .total { border-top: 1px solid #f5f5f5; margin-top: 8px; padding-top: 16px; }
.summary .price { font-size: 22px; font-weight: bold; color: #ff2d55; }

.action-row { display: flex; gap: 12px; }
.btn-back { flex: 1; padding: 14px; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; text-align: center; font-size: 15px; color: #666; }
.btn-back:hover { border-color: #ff2d55; color: #ff2d55; }
.btn-pay { flex: 2; padding: 14px; background: #ff2d55; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; }
.btn-pay:hover { background: #e0264a; }
.btn-pay:disabled { opacity: .5; cursor: not-allowed; }

.results-info { margin-bottom: 16px; padding: 12px 16px; background: #fff; border-radius: 8px; font-size: 14px; color: #666; }
.results-info strong { color: #ff2d55; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.concert-card-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.concert-card-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.concert-card-img { position: relative; height: 180px; overflow: hidden; }
.concert-card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; color: #fff; }
.card-badge.selling { background: #ff2d55; }
.card-badge.upcoming { background: #ff9500; }
.card-badge.ended { background: #8e8e93; }
.card-price { position: absolute; bottom: 10px; right: 10px; padding: 4px 10px; background: rgba(0,0,0,.7); border-radius: 4px; font-size: 14px; font-weight: bold; color: #fff; }
.concert-card-body { padding: 14px; }
.concert-card-body h3 { font-size: 16px; font-weight: bold; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta { font-size: 13px; color: #666; margin-bottom: 8px; }
.card-meta span { display: block; margin-bottom: 4px; }
.card-meta .highlight { color: #ff2d55; font-weight: 500; }
.card-btn { display: block; width: 100%; padding: 10px; margin-top: 12px; background: #ff2d55; color: #fff; border-radius: 4px; text-align: center; font-size: 14px; font-weight: 500; }
.card-btn:hover { background: #e0264a; }

.empty-state { text-align: center; padding: 80px 20px; background: #fff; border-radius: 8px; }
.empty-state .icon { font-size: 48px; color: #ddd; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: #333; margin-bottom: 8px; }
.empty-state p { color: #888; font-size: 14px; }

@media (max-width: 768px) {
    .seat-header { flex-direction: column; align-items: flex-start; }
    .seat-tools { width: 100%; justify-content: space-between; }
    .seat-map-wrap { padding: 12px; max-height: 320px; }
    .seat { width: 24px; height: 24px; font-size: 10px; }
    .row-label { width: 36px; font-size: 10px; }
    .selected-info { flex-direction: column; align-items: flex-start; }
    .selected-total { width: 100%; text-align: right; }
    .stage { letter-spacing: 3px; padding: 10px 16px; }
    .area-block { padding: 12px; }
    .seat-legend.full { padding: 10px 12px; }
    .area-legend-item { padding: 3px 8px; font-size: 11px; }
}

@media (max-width: 480px) {
    .seat-legend { gap: 10px; font-size: 12px; }
    .seat { width: 20px; height: 20px; font-size: 9px; border-radius: 4px; }
    .seats { gap: 3px; }
    .row-label { width: 30px; font-size: 9px; padding-right: 6px; }
    .zoom-ctrl { padding: 2px 6px; }
    .zoom-ctrl button { width: 20px; height: 20px; }
    .selected-seat-tag { font-size: 11px; padding: 3px 8px; }
    .area-title { font-size: 13px; }
    .area-title small { font-size: 11px; }
}

.announcement-page { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.announcement-page .page-head { margin-bottom: 24px; }
.announcement-page .page-head h2 { font-size: 24px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.announcement-page .page-head p { color: #888; font-size: 14px; }

.announcement-filter { margin-bottom: 24px; }
.announcement-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.announcement-tabs .tab-btn { padding: 10px 20px; border: none; background: #fff; border-radius: 8px; font-size: 14px; font-weight: 500; color: #666; cursor: pointer; transition: all .2s; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.announcement-tabs .tab-btn:hover { color: #ff2d55; }
.announcement-tabs .tab-btn.active { background: #ff2d55; color: #fff; }

.announcement-loading { text-align: center; padding: 80px 20px; }
.announcement-loading .spinner { width: 40px; height: 40px; border: 3px solid #f0f0f0; border-top-color: #ff2d55; border-radius: 50%; margin: 0 auto 16px; animation: spin .8s linear infinite; }
.announcement-loading p { color: #888; }

.announcement-list { display: flex; flex-direction: column; gap: 16px; }
.announcement-card { display: block; background: #fff; border-radius: 12px; padding: 24px; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(0,0,0,.04); border: 1px solid #f0f0f0; transition: all .25s ease; }
.announcement-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: #ff2d55; }
.announcement-card .card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.announcement-card .meta-left { display: flex; gap: 8px; }
.announcement-card .tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.announcement-card .tag-top { background: #fee2e2; color: #dc2626; }
.announcement-card .tag-normal { background: #f3f4f6; color: #6b7280; }
.announcement-card .tag-system { background: #dbeafe; color: #2563eb; }
.announcement-card .tag-activity { background: #fef3c7; color: #d97706; }
.announcement-card .meta-time { font-size: 13px; color: #999; }
.announcement-card .card-title { font-size: 18px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; }
.announcement-card:hover .card-title { color: #ff2d55; }
.announcement-card .card-preview { font-size: 14px; color: #666; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 16px; }
.announcement-card .card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #f5f5f5; }
.announcement-card .view-count { font-size: 13px; color: #999; }
.announcement-card .view-count i { margin-right: 4px; }
.announcement-card .read-more { font-size: 13px; color: #ff2d55; font-weight: 500; }
.announcement-card .read-more i { margin-left: 4px; transition: transform .2s; }
.announcement-card:hover .read-more i { transform: translateX(4px); }

.announcement-empty { text-align: center; padding: 80px 20px; background: #fff; border-radius: 12px; }
.announcement-empty .empty-icon { width: 80px; height: 80px; background: #f5f5f5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.announcement-empty .empty-icon i { font-size: 32px; color: #ccc; }
.announcement-empty h3 { font-size: 18px; color: #333; margin-bottom: 8px; }
.announcement-empty p { color: #888; font-size: 14px; }

.announcement-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding: 20px 24px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.announcement-pagination .pagination-info { font-size: 14px; color: #666; }
.announcement-pagination .pagination-controls { display: flex; align-items: center; gap: 8px; }
.announcement-pagination .page-btn { min-width: 36px; height: 36px; border: 1px solid #e5e5e5; background: #fff; border-radius: 8px; font-size: 14px; color: #666; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.announcement-pagination .page-btn:hover:not(:disabled) { border-color: #ff2d55; color: #ff2d55; }
.announcement-pagination .page-btn:disabled { opacity: .4; cursor: not-allowed; }
.announcement-pagination .page-btn.active { background: #ff2d55; border-color: #ff2d55; color: #fff; }
.announcement-pagination .page-ellipsis { color: #999; padding: 0 4px; }

@media (max-width: 600px) {
    .announcement-tabs { justify-content: center; }
    .announcement-tabs .tab-btn { padding: 8px 16px; font-size: 13px; }
    .announcement-card { padding: 20px; }
    .announcement-card .card-title { font-size: 16px; }
    .announcement-pagination { flex-direction: column; gap: 16px; }
}

.detail-page { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.detail-container { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); }

.detail-header { padding: 32px 40px; border-bottom: 1px solid #f0f0f0; }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #888; }
.breadcrumb a { color: #888; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: #ff2d55; }
.breadcrumb i { font-size: 10px; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #f5f5f5; border-radius: 8px; font-size: 13px; color: #666; text-decoration: none; transition: all .2s; }
.back-btn:hover { background: #ff2d55; color: #fff; }

.article-header { text-align: center; }
.article-tags { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.article-tags .tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.article-tags .tag-top { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); color: #dc2626; }
.article-tags .tag-system { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #2563eb; }
.article-tags .tag-activity { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; }
.article-tags .tag-normal { background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%); color: #6b7280; }

.article-title { font-size: 28px; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin-bottom: 20px; }
.article-meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #888; }
.meta-item i { color: #bbb; }
.meta-item.updated { color: #999; font-size: 13px; }

.detail-body { padding: 40px; }
.article-content { font-size: 16px; line-height: 1.9; color: #333; }
.article-content::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, #ff2d55, #ff6b8a); margin: 40px auto 0; border-radius: 2px; }
.article-content h1, .article-content h2, .article-content h3 { color: #1a1a1a; margin: 32px 0 16px; font-weight: 600; }
.article-content h1 { font-size: 24px; }
.article-content h2 { font-size: 20px; }
.article-content h3 { font-size: 18px; }
.article-content p { margin: 16px 0; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 28px; }
.article-content li { margin: 8px 0; }
.article-content a { color: #ff2d55; text-decoration: none; border-bottom: 1px dashed #ff2d55; }
.article-content a:hover { border-bottom-style: solid; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 24px 0; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.article-content blockquote { margin: 24px 0; padding: 16px 24px; background: #f8fafc; border-left: 4px solid #ff2d55; border-radius: 0 8px 8px 0; color: #666; }
.article-content code { background: #f5f5f5; padding: 2px 6px; border-radius: 4px; font-size: 14px; color: #e91e63; }
.article-content pre { background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: 8px; overflow-x: auto; margin: 24px 0; }
.article-content pre code { background: transparent; color: inherit; padding: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-content th, .article-content td { padding: 12px 16px; border: 1px solid #e5e5e5; text-align: left; }
.article-content th { background: #f8fafc; font-weight: 600; }

.detail-footer { padding: 24px 40px; background: #fafafa; border-top: 1px solid #f0f0f0; }
.footer-actions { display: flex; justify-content: center; gap: 16px; }
.action-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: all .2s; border: none; }
.action-btn-back { background: #fff; color: #666; border: 1px solid #e5e5e5; }
.action-btn-back:hover { border-color: #ff2d55; color: #ff2d55; }
.action-btn-print { background: #f5f5f5; color: #666; }
.action-btn-print:hover { background: #e5e5e5; }

@media (max-width: 600px) {
    .detail-header { padding: 24px 20px; }
    .header-top { flex-direction: column; gap: 16px; align-items: flex-start; }
    .article-title { font-size: 22px; }
    .article-meta { gap: 16px; }
    .detail-body { padding: 24px 20px; }
    .article-content { font-size: 15px; }
    .detail-footer { padding: 20px; }
    .footer-actions { flex-direction: column; }
    .action-btn { justify-content: center; }
}

@media print {
    .detail-page { padding: 0; }
    .detail-container { box-shadow: none; }
    .header-top, .detail-footer { display: none; }
    .article-content::after { display: none; }
}
