* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f5f0;
    color: #333;
    line-height: 1.6;
    max-width: 414px;
    margin: 0 auto;
}

#center1_main_container {
    max-width: 414px;
    margin: 0 auto;
    padding: 10px;
}

.screen {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#top1_nav_bar {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 414px;
    margin: 0 auto;
}

#top1_logo {
    font-size: 16px;
    font-weight: bold;
    margin-right: 12px;
    white-space: nowrap;
    color: #d4af37;
}

#top1_nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    flex: 1;
}

#top1_nav::-webkit-scrollbar {
    display: none;
}

#top1_nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

#top1_nav a.active,
#top1_nav a:hover {
    background: #d4af37;
    color: #1a1a2e;
}

#center1_rules_section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#center1_rules_title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

#center1_rules_desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

#center1_rules_list {
    font-size: 13px;
    color: #666;
    margin-left: 20px;
}

#center1_rule_1,
#center1_rule_2,
#center1_rule_3,
#center1_rule_4 {
    margin-bottom: 5px;
}

#center2_my_auction_section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#center2_my_auction_title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

#center2_auction_stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

#center2_stat_bidding {
    text-align: center;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
}

#center2_stat_bidding_count {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
}

#center2_stat_bidding_label {
    font-size: 12px;
    color: #666;
}

#center2_stat_won {
    text-align: center;
    padding: 15px;
    background: #fff8dc;
    border-radius: 8px;
}

#center2_stat_won_count {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
}

#center2_stat_won_label {
    font-size: 12px;
    color: #666;
}

#center2_view_records_btn {
    width: 100%;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

#center3_image_section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#center3_image_container {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

#center3_main_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#center3_thumbs_container {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
}

#center3_thumb_1,
#center3_thumb_2,
#center3_thumb_3 {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

#center3_thumb_1 {
    border: 2px solid #d4af37;
}

#center3_thumb_2,
#center3_thumb_3 {
    border: 2px solid transparent;
}

#center4_info_section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#center4_item_title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

#center4_status_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

#center4_status_badge {
    background: #d4af37;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

#center4_end_time {
    font-size: 12px;
    color: #666;
}

#center4_price_box {
    background: #fafafa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

#center4_current_price_row {
    margin-bottom: 8px;
}

#center4_current_price_label {
    font-size: 13px;
    color: #666;
}

#center4_current_price_value {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    margin-left: 10px;
}

#center4_price_details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

#center5_bid_section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#center5_bid_title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

#center5_bid_input_row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

#center5_bid_amount {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

#center5_bid_btn {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #1a1a2e;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

#center5_quick_bid_container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#center5_quick_bid_100,
#center5_quick_bid_200,
#center5_quick_bid_500,
#center5_quick_bid_1000 {
    padding: 6px 12px;
    background: #f8f5f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

#center6_tabs_section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#center6_tab_buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#center6_tab_detail_btn,
#center6_tab_bids_btn,
#center6_tab_seller_btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

#center6_tab_detail_btn {
    background: #d4af37;
    color: #1a1a2e;
}

#center6_tab_bids_btn,
#center6_tab_seller_btn {
    background: #f8f5f0;
    color: #666;
    border: 1px solid #ddd;
}

.tab_content {
    display: block;
}

#center6_tab_bids,
#center6_tab_seller {
    display: none;
}

#center6_detail_title {
    font-size: 14px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

#center6_detail_desc_1,
#center6_detail_desc_2,
#center6_detail_desc_3 {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

#center6_bids_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#center6_bid_1,
#center6_bid_2,
#center6_bid_3 {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: #fafafa;
    border-radius: 4px;
}

#center6_bid_1_user,
#center6_bid_2_user,
#center6_bid_3_user {
    font-size: 13px;
}

#center6_bid_1_price,
#center6_bid_2_price,
#center6_bid_3_price {
    font-size: 13px;
    font-weight: bold;
    color: #d4af37;
}

#center6_bid_1_time,
#center6_bid_2_time,
#center6_bid_3_time {
    font-size: 11px;
    color: #999;
}

#center6_seller_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

#center6_seller_avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

#center6_seller_name {
    font-size: 14px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 4px;
}

#center6_seller_badge {
    font-size: 12px;
    color: #666;
}

#center6_seller_stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

#center6_seller_products,
#center6_seller_rating {
    text-align: center;
    padding: 10px;
    background: #fafafa;
    border-radius: 6px;
}

#center6_seller_products_count,
#center6_seller_rating_value {
    font-size: 18px;
    font-weight: bold;
    color: #d4af37;
}

#center6_seller_products_label,
#center6_seller_rating_label {
    font-size: 12px;
    color: #666;
}

#center6_contact_seller_btn {
    width: 100%;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

#float1_appraisal_btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #d4af37;
    color: #1a1a2e;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 99;
    font-size: 13px;
    font-weight: bold;
}