/* New Ganabid home. Scoped so legacy routes keep their current presentation. */
body.modern-home-page { margin: 0; background: #f7f7f7; color: #151515; font-family: Arial, Helvetica, sans-serif; }
.modern-home-page #container, .modern-home-page #maincontent { width: auto; margin: 0; padding: 0; background: transparent; }
.modern-site-header { position: relative; z-index: 20; background: #080909; border-bottom: 2px solid #c79828; }
.modern-header-inner { box-sizing: border-box; width: min(1180px, calc(100% - 40px)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.modern-brand { display: block; flex: 0 0 136px; }
.modern-brand img { display: block; width: 136px; height: auto; }
.modern-main-nav { display: flex; align-items: center; gap: 22px; flex: 1; white-space: nowrap; }
.modern-main-nav a, .modern-account-nav a { color: #f4f4f4; font-size: 13px; font-weight: 700; text-decoration: none; }
.modern-main-nav a:hover, .modern-account-nav a:hover { color: #d8aa38; }
.modern-account-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; white-space: nowrap; }
.modern-user-link { display: flex; align-items: center; gap: 7px; }
.modern-user-link img { width: 30px; height: 30px; border-radius: 50%; background: #f2f2f2; }
.modern-bid-balance { padding: 8px 10px; color: #f2c44d !important; border: 1px solid #c79828; border-radius: 5px; }
.modern-logout { color: #f2c44d !important; }
.modern-login, .modern-register { padding: 9px 12px; border: 1px solid #c79828; border-radius: 4px; }
.modern-register { background: #c79828; color: #111 !important; }
.modern-home { max-width: 1180px; margin: 0 auto; padding: 0 20px 48px; }
.modern-hero { position: relative; min-height: 340px; overflow: hidden; background: #171717; }
.modern-hero > img { display: block; width: 100%; height: 340px; object-fit: cover; }
.modern-hero-overlay { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; box-sizing: border-box; padding: 74px 54px 34px; background: rgba(255,255,255,.84); }
.modern-hero-overlay span { display: block; color: #a06d0b; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.modern-hero-overlay h1 { margin: 8px 0; color: #151515; font-size: 40px; line-height: 1.06; letter-spacing: 0; }
.modern-hero-overlay p { margin: 0 0 24px; color: #4f4f4f; font-size: 17px; }
.modern-hero-overlay a { display: inline-block; padding: 13px 24px; background: #c79828; border-radius: 4px; color: #111; font-size: 15px; font-weight: 700; text-decoration: none; }
.modern-section { margin-top: 42px; }
.modern-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.modern-section-heading h2 { margin: 0; color: #141414; font-size: 29px; line-height: 1.05; letter-spacing: 0; }
.modern-section-heading p { margin: 6px 0 0; color: #6b6b6b; font-size: 14px; }
.modern-section-heading > a { color: #a87513; font-size: 14px; font-weight: 700; text-decoration: none; }
.modern-live-dot { display: inline-block; margin-left: 6px; color: #169b46; font-size: 12px; vertical-align: middle; }
.modern-live-dot:before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #18a64c; }
.modern-auction-grid, .modern-future-grid, .modern-winner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.modern-auction-card, .modern-future-card, .modern-winner-card { box-sizing: border-box; overflow: visible; background: #fff; border: 1px solid #dedede; border-radius: 6px; position: relative; }
.modern-auction-image { position: relative; display: block; aspect-ratio: 1 / .85; background: #f2f2f2; overflow: hidden; border-radius: 5px 5px 0 0; }
.modern-auction-image > img { width: 100%; height: 100%; object-fit: cover; }
.modern-live-badge, .modern-winner-badge { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 6px 9px; border-radius: 4px; background: #dc2733; color: #fff; font-size: 12px; font-weight: 700; }
.modern-live-badge:before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 5px 1px 0; border-radius: 50%; background: #35d560; vertical-align: middle; }
.modern-auction-content { padding: 13px; }
.modern-auction-content h3, .modern-future-card h3, .modern-winner-card h3 { min-height: 38px; margin: 0 0 8px; color: #202020; font-size: 16px; line-height: 1.2; }
.modern-auction-content h3 a, .modern-future-card h3 a, .modern-winner-card a { color: inherit; text-decoration: none; }
.modern-bidder-label { min-height: 19px; margin: 0; color: #666; font-size: 13px; }
.modern-bidder-label strong { color: #353535; }
.modern-auction-divider { height: 1px; margin: 12px 0; background: #e4e4e4; }
.modern-countdown-label { color: #656565; font-size: 12px; }
.modern-countdown { margin: 2px 0 8px; color: #e1262e; font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.modern-price-row { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: #686868; font-size: 13px; }
.modern-price-row strong { color: #121212; font-size: 20px; }
.modern-bid-message { margin: 0 0 8px; color: #ba2930; font-size: 12px; }
.modern-bid-action .bid-button a { display: flex; align-items: center; justify-content: space-between; gap: 8px; box-sizing: border-box; width: 100%; min-height: 42px; padding: 11px 13px; background: #c79828; border: 0; border-radius: 4px; color: #151515; font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.modern-bid-action .bid-button a:active { background: #a97b1d; color: #fff; }
.modern-bid-action .bid-button a span { padding: 4px 6px; border-radius: 3px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; }
.modern-bid-action .bid-loading { padding: 10px; color: #555; font-size: 12px; text-align: center; }
.modern-how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; overflow: hidden; background: #fff; border: 1px solid #dfdfdf; border-radius: 6px; }
.modern-how-it-works article { display: flex; align-items: center; gap: 14px; padding: 22px; border-right: 1px solid #e1e1e1; }
.modern-how-it-works article:last-child { border-right: 0; }
.modern-how-it-works strong { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #c79828; color: #1a1a1a; font-size: 20px; }
.modern-how-it-works h3 { margin: 0 0 4px; font-size: 15px; }
.modern-how-it-works p { margin: 0; color: #666; font-size: 13px; line-height: 1.35; }
.modern-future-card { padding: 10px; }
.modern-future-time { min-height: 18px; margin-bottom: 8px; color: #696969; font-size: 12px; }
.modern-future-card img { display: block; width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; border-radius: 4px; }
.modern-future-card h3 { min-height: 37px; margin: 10px 2px; font-size: 14px; }
.modern-reminder { display: block; padding: 10px; border: 1px solid #dedede; border-radius: 4px; color: #333; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.modern-reminder:before { content: 'o'; display: inline-block; margin-right: 7px; color: #c79828; font-weight: 700; }
.modern-winner-card { position: relative; padding: 10px; }
.modern-winner-card .modern-winner-badge { position: absolute; top: 17px; left: 17px; background: #dff2df; color: #28713a; }
.modern-winner-card > a { display: block; }
.modern-winner-card img { display: block; width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; border-radius: 4px; }
.modern-winner-card h3 { margin: 10px 0 6px; font-size: 14px; }
.modern-winner-card p { margin: 0; color: #676767; font-size: 13px; }
.modern-winner-price { display: flex; align-items: end; justify-content: space-between; margin-top: 12px; padding-top: 9px; border-top: 1px solid #e4e4e4; color: #777; font-size: 12px; }
.modern-winner-price strong { color: #171717; font-size: 17px; }
.modern-empty-state { padding: 32px; background: #fff; border: 1px solid #dfdfdf; color: #666; text-align: center; }
.modern-empty-state.compact { padding: 18px; }
.modern-payment-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 42px; padding: 24px; background: #fff; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; color: #333; }
.modern-payment-strip strong { font-size: 15px; }
.modern-payment-strip span { color: #315f9d; font-size: 17px; font-weight: 700; }
.modern-payment-strip span:nth-last-child(2) { color: #2587cf; }
.modern-payment-strip span:nth-last-child(1) { color: #358844; }
.modern-site-footer { background: #121313; color: #ededed; }
.modern-footer-inner { box-sizing: border-box; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.modern-newsletter { border-bottom: 1px solid #464646; }
.modern-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 28px 0; }
.modern-newsletter strong { display: block; font-size: 22px; }
.modern-newsletter span { display: block; margin-top: 4px; color: #b9b9b9; font-size: 13px; }
.modern-newsletter form { display: flex; width: min(500px, 100%); }
.modern-newsletter input { flex: 1; min-width: 0; padding: 12px; border: 0; border-radius: 4px 0 0 4px; font-size: 14px; }
.modern-newsletter button { padding: 0 21px; border: 0; border-radius: 0 4px 4px 0; background: #c79828; color: #151515; font-size: 14px; font-weight: 700; }
.modern-footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.modern-footer-links h3 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.modern-footer-links a { display: block; margin: 7px 0; color: #c5c5c5; font-size: 13px; text-decoration: none; }
.modern-footer-bottom { padding: 16px 20px; border-top: 1px solid #393939; color: #aaa; font-size: 12px; text-align: center; }
@media (max-width: 960px) { .modern-header-inner { gap: 14px; } .modern-main-nav { gap: 13px; } .modern-main-nav a { font-size: 12px; } .modern-auction-grid, .modern-future-grid, .modern-winner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .modern-hero-overlay { width: 50%; padding: 58px 32px; } .modern-hero-overlay h1 { font-size: 31px; } }
@media (max-width: 680px) { .modern-home { padding: 0 12px 28px; } .modern-header-inner { width: calc(100% - 24px); min-height: 58px; gap: 10px; } .modern-brand { flex-basis: 103px; } .modern-brand img { width: 103px; } .modern-main-nav { display: none; } .modern-account-nav { margin-left: auto; gap: 7px; } .modern-user-link span { display: none; } .modern-user-link img { width: 32px; height: 32px; } .modern-bid-balance { padding: 7px; font-size: 12px; } .modern-login, .modern-register { padding: 7px 8px; font-size: 12px; } .modern-hero { min-height: 200px; margin: 0 -12px; } .modern-hero > img { height: 200px; } .modern-hero-overlay { width: 61%; padding: 30px 18px; } .modern-hero-overlay span { font-size: 11px; } .modern-hero-overlay h1 { font-size: 23px; } .modern-hero-overlay p { margin-bottom: 14px; font-size: 13px; } .modern-hero-overlay a { padding: 9px 13px; font-size: 13px; } .modern-section { margin-top: 28px; } .modern-section-heading { align-items: start; } .modern-section-heading h2 { font-size: 25px; } .modern-section-heading p { font-size: 12px; } .modern-auction-grid, .modern-future-grid, .modern-winner-grid { grid-template-columns: 1fr; gap: 12px; } .modern-auction-card { display: grid; grid-template-columns: 51% 49%; } .modern-auction-image { min-height: 100%; aspect-ratio: auto; } .modern-auction-content { padding: 12px; } .modern-auction-content h3 { font-size: 17px; } .modern-countdown { font-size: 25px; } .modern-how-it-works { grid-template-columns: 1fr; margin-top: 20px; } .modern-how-it-works article { padding: 16px; border-right: 0; border-bottom: 1px solid #e1e1e1; } .modern-how-it-works article:last-child { border-bottom: 0; } .modern-future-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .modern-winner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .modern-payment-strip { gap: 12px 17px; margin-top: 28px; padding: 18px 10px; } .modern-payment-strip strong { width: 100%; text-align: center; } .modern-payment-strip span { font-size: 13px; } .modern-newsletter-inner { display: block; padding: 24px 0; } .modern-newsletter form { margin-top: 16px; } .modern-footer-links { grid-template-columns: repeat(2,1fr); padding: 26px 0; } }
/* Mobile app navigation for the redesigned home only. */
.modern-mobile-tabs, .modern-mobile-bottom-bar { display: none; }
@media (max-width: 680px) {
    body.modern-home-page { background: #f4f4f4; }
    .modern-site-header { position: sticky; top: 0; z-index: 100; border-bottom: 0; box-shadow: 0 1px 5px rgba(0,0,0,.2); }
    .modern-header-inner { min-height: 64px; }
    .modern-brand { flex-basis: 122px; }
    .modern-brand img { width: 122px; }
    .modern-account-nav { gap: 9px; }
    .modern-user-link { order: 2; }
    .modern-bid-balance { order: 1; min-width: 62px; padding: 8px 9px; border-radius: 6px; color: #f3bb25 !important; text-align: center; }
    .modern-mobile-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 11px 12px; background: #fff; border-top: 1px solid #252525; }
    .modern-mobile-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #e0e0e0; border-radius: 10px; color: #454545; font-size: 14px; font-weight: 700; text-decoration: none; }
    .modern-mobile-tabs a.is-active { border-color: #c79828; background: #c79828; color: #fff; }
    .modern-home { padding-bottom: 82px; }
    .modern-hero { margin-top: 0; background: #111; }
    .modern-hero-overlay { background: rgba(0,0,0,.58); color: #fff; }
    .modern-hero-overlay h1 { color: #fff; }
    .modern-hero-overlay p { color: #f2f2f2; }
    .modern-hero-overlay span { color: #f2c44d; }
    .modern-section-heading { padding: 0 2px; }
    .modern-section-heading > a { padding-top: 6px; }
    .modern-auction-card { border-radius: 10px; box-shadow: 0 2px 7px rgba(0,0,0,.06); }
    .modern-auction-content { padding: 14px 12px; }
    .modern-auction-content h3 { min-height: 0; margin-bottom: 12px; font-size: 18px; }
    .modern-live-badge { top: 9px; left: 9px; }
    .modern-bid-action .bid-button a { min-height: 46px; border-radius: 6px; font-size: 15px; }
    .modern-payment-strip, .modern-site-footer { display: none; }
    .modern-mobile-bottom-bar { position: fixed; z-index: 120; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 64px; padding: 5px 4px calc(5px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid #d9d9d9; box-shadow: 0 -2px 8px rgba(0,0,0,.09); }
    .modern-mobile-bottom-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #484848; font-size: 10px; font-weight: 700; text-decoration: none; }
    .modern-mobile-bottom-bar a.is-active { color: #b77f12; }
    .modern-app-icon { position: relative; display: inline-block; width: 20px; height: 20px; box-sizing: border-box; color: currentColor; }
    .icon-home { border: 2px solid currentColor; border-top: 0; border-radius: 2px; width: 16px; height: 12px; margin-top: 6px; }
    .icon-home:before { content: ''; position: absolute; top: -7px; left: 1px; width: 10px; height: 10px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
    .icon-live { border: 2px solid currentColor; border-radius: 50%; transform: scale(.55); }
    .icon-live:before, .icon-live:after { content: ''; position: absolute; border: 2px solid currentColor; border-radius: 50%; }
    .icon-live:before { inset: -7px; } .icon-live:after { inset: 5px; background: currentColor; }
    .icon-calendar { border: 2px solid currentColor; border-radius: 3px; }
    .icon-calendar:before { content: ''; position: absolute; top: 4px; right: 2px; left: 2px; border-top: 2px solid currentColor; }
    .icon-calendar:after { content: ''; position: absolute; top: -4px; left: 4px; width: 8px; height: 4px; border-right: 2px solid currentColor; border-left: 2px solid currentColor; }
    .icon-trophy:before { content: ''; position: absolute; top: 1px; left: 3px; width: 12px; height: 10px; border: 2px solid currentColor; border-radius: 1px 1px 7px 7px; }
    .icon-trophy:after { content: ''; position: absolute; bottom: 1px; left: 8px; width: 4px; height: 5px; border-bottom: 2px solid currentColor; box-shadow: -4px 5px 0 -1px currentColor, 4px 5px 0 -1px currentColor; }
    .icon-bids:before { content: ''; position: absolute; top: 3px; left: 8px; width: 4px; height: 15px; background: currentColor; transform: rotate(-42deg); border-radius: 1px; }
    .icon-bids:after { content: ''; position: absolute; top: 1px; left: 2px; width: 10px; height: 5px; border: 2px solid currentColor; transform: rotate(-42deg); border-radius: 2px; }
    .icon-account { border: 2px solid currentColor; border-radius: 50%; }
    .icon-account:before { content: ''; position: absolute; top: 3px; left: 6px; width: 5px; height: 5px; border: 2px solid currentColor; border-radius: 50%; }
    .icon-account:after { content: ''; position: absolute; right: 3px; bottom: 2px; left: 3px; height: 6px; border: 2px solid currentColor; border-radius: 8px 8px 3px 3px; }
}
.modern-market-price { display: flex; align-items: center; justify-content: space-between; margin: 0 0 5px; color: #777; font-size: 12px; }
.modern-market-price del { color: #a97b1d; font-size: 13px; }
.modern-install-app { display: none; padding: 8px 10px; border: 1px solid #c79828; border-radius: 4px; background: transparent; color: #f2c44d; font-size: 12px; font-weight: 700; cursor: pointer; }
.modern-install-app.is-ready { display: inline-block; }
@media (max-width: 680px) { .modern-install-app.is-ready { display: block !important; position: fixed; z-index: 130; right: 12px; bottom: 76px; padding: 10px 13px; background: #111; border-color: #c79828; box-shadow: 0 2px 8px rgba(0,0,0,.22); } .modern-market-price { margin-bottom: 7px; } }
/* Auction configuration badges. Every visible mark includes a hover tooltip. */
.modern-auction-rules { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 28px; margin: 0 0 9px; }
.modern-rule { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 2px 6px; border: 1px solid #d5d5d5; border-radius: 3px; background: #f7f7f7; color: #424242; font-size: 10px; font-weight: 700; line-height: 1; cursor: help; }
.modern-rule:focus:after, .modern-rule:hover:after { position: absolute; z-index: 25; bottom: calc(100% + 7px); left: 50%; width: max-content; max-width: 205px; padding: 7px 9px; border-radius: 4px; background: #161616; color: #fff; content: attr(data-tooltip); font-size: 11px; font-weight: 400; line-height: 1.25; text-align: center; transform: translateX(-50%); }
.modern-auction-card:hover, .modern-auction-card:focus-within { z-index: 10; }
.modern-rule:first-child:focus:after, .modern-rule:first-child:hover:after { left: 0; transform: none; text-align: left; }
.modern-rule:first-child:focus:before, .modern-rule:first-child:hover:before { left: 8px; }
.modern-rule:focus:before, .modern-rule:hover:before { position: absolute; z-index: 26; bottom: calc(100% + 2px); left: calc(50% - 5px); width: 0; height: 0; border-top: 5px solid #161616; border-right: 5px solid transparent; border-left: 5px solid transparent; content: ''; }
.modern-rule-time { width: 27px; height: 27px; min-height: 27px; padding: 0; border: 2px solid #d8910d; border-left-color: #fff; border-radius: 50%; background: #fff; color: #171717; flex-direction: column; line-height: .85; }
.modern-rule-time b { font-size: 11px; } .modern-rule-time small { color: #8a6117; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.modern-rule-no-butler { border-color: #c94d35; color: #a93622; } .modern-rule-no-butler:after { } .modern-rule-no-butler { text-decoration: line-through; }
.modern-rule-featured { border-color: #de3e35; background: #df3029; color: #fff; }
.modern-rule-peak { border-color: #9c6d20; background: #f7ead0; color: #805615; }
.modern-rule-beginner { border-color: #2a8e52; background: #e2f4e6; color: #286f42; }
.modern-rule-penny { border-color: #2486b2; background: #e1f2fa; color: #1c729a; }
.modern-rule-reverse { border-color: #7750a0; background: #eee7f5; color: #67428e; }
.modern-rule-fixed { border-color: #536f8f; background: #e8eef5; color: #3f5e80; }
.modern-rule-free { border-color: #258951; background: #dff2e5; color: #237445; }
@media (max-width: 680px) { .modern-auction-rules { gap: 4px; margin-bottom: 10px; } .modern-rule { min-height: 21px; padding: 2px 5px; font-size: 9px; } .modern-rule-time { width: 26px; height: 26px; min-height: 26px; padding: 0; } }
/* Public auction listing pages use the same visual system as the home. */
body.modern-auction-page { margin: 0; background: #f7f7f7; color: #151515; font-family: Arial, Helvetica, sans-serif; }
.modern-auction-page #container, .modern-auction-page #maincontent { width: auto; margin: 0; padding: 0; background: transparent; }
.modern-list-page { box-sizing: border-box; max-width: 1180px; min-height: 580px; margin: 0 auto; padding: 38px 20px 54px; }
.modern-list-section { margin-top: 0; }
.modern-list-heading { margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid #dedede; }
.modern-list-heading h1 { margin: 0; color: #141414; font-size: 32px; line-height: 1.05; letter-spacing: 0; }
.modern-pagination { margin-top: 26px; }
.modern-pagination .paging { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #dedede; }
.modern-pagination .pagenumber ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.modern-pagination .pagenumber li { margin: 0; padding: 0; }
.modern-pagination .pagenumber a, .modern-pagination .pagenumber .current, .modern-pagination .pagenumber .disabled { display: inline-block; min-width: 31px; padding: 8px 7px; border: 1px solid #d4d4d4; background: #fff; color: #444; font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; }
.modern-pagination .pagenumber .current { border-color: #c79828; background: #c79828; color: #151515; }
.modern-pagination .totalresults { color: #686868; font-size: 12px; }
.modern-pagination .totalresults strong { margin-right: 4px; color: #222; }
.modern-pagination .totalresults .side_2px { margin-right: 6px; }
@media (max-width: 680px) { .modern-list-page { min-height: 500px; padding: 24px 12px 84px; } .modern-list-heading { margin-bottom: 16px; padding-bottom: 12px; } .modern-list-heading h1 { font-size: 26px; } .modern-pagination .paging { display: block; } .modern-pagination .totalresults { display: none; } .modern-pagination .pagenumber ul { justify-content: center; } }
.modern-auction-page #maincontent, .modern-home-page #maincontent { position: relative; transition: opacity .16s ease; }
.modern-auction-page #maincontent.modern-content-loading, .modern-home-page #maincontent.modern-content-loading { opacity: .46; pointer-events: none; }
.modern-auction-page #maincontent.modern-content-loading:after, .modern-home-page #maincontent.modern-content-loading:after { position: fixed; z-index: 90; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 3px solid #dedede; border-top-color: #c79828; border-radius: 50%; content: ''; animation: modern-section-spin .7s linear infinite; }
@keyframes modern-section-spin { to { transform: rotate(360deg); } }
.modern-bidder-label { display: flex; align-items: center; gap: 6px; }
.modern-bidder-avatar { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: #ededed; object-fit: cover; }
.modern-winner-card .modern-winner-badge { background: #dff2df; color: #28713a; }
.modern-winner-card.modern-no-winner .modern-winner-badge { background: #eeeeee; color: #666; }
.modern-winner-user { display: flex; align-items: center; gap: 6px; min-height: 25px; }
.modern-winner-user img { flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; background: #ededed; object-fit: cover; }
.modern-no-winner .modern-winner-user img { opacity: .56; }
@media (max-width: 680px) { .modern-bidder-avatar { flex-basis: 22px; width: 22px; height: 22px; } }
/* Product gallery and description for the modern auction detail page. */
.modern-product-main-image { position: relative; }
.modern-product-zoom { position: relative; display: block; cursor: zoom-in; }
.modern-product-zoom img { display: block; }
.modern-product-zoom-hint { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 4px; background: rgba(16,16,16,.82); color: #fff; font: 700 12px Arial,sans-serif; opacity: 0; transition: opacity .18s ease; }
.modern-product-zoom:hover .modern-product-zoom-hint, .modern-product-zoom:focus .modern-product-zoom-hint { opacity: 1; }
.modern-product-thumb { cursor: zoom-in; }
.modern-product-description { margin: 30px 0; padding: 26px 30px; border: 1px solid #e1e1e1; background: #fff; }
.modern-product-description h2 { margin: 0 0 16px; color: #151515; font: 700 24px Arial,sans-serif; }
.modern-product-description-body { color: #404040; font: 15px/1.65 Arial,sans-serif; }
.modern-product-description-body p:first-child { margin-top: 0; }
.modern-product-description-body p:last-child { margin-bottom: 0; }
.modern-gallery-open { overflow: hidden; }
.modern-gallery-modal { display: none; position: fixed; z-index: 10050; inset: 0; padding: 34px 20px; align-items: center; justify-content: center; background: rgba(0,0,0,.82); }
.modern-gallery-modal.is-open { display: flex; }
.modern-gallery-dialog { position: relative; display: flex; align-items: center; justify-content: center; width: min(100%, 1040px); min-height: 180px; max-height: 100%; }
.modern-gallery-image { display: block; max-width: 100%; max-height: calc(100vh - 100px); border-radius: 6px; background: #fff; object-fit: contain; }
.modern-gallery-close, .modern-gallery-nav { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; color: #fff; font-family: Arial,sans-serif; }
.modern-gallery-close { top: -30px; right: 0; width: 34px; height: 34px; border-radius: 50%; background: #202020; font-size: 29px; line-height: 1; }
.modern-gallery-nav { top: 50%; width: 46px; height: 54px; border-radius: 4px; background: rgba(16,16,16,.75); font-size: 46px; line-height: 1; transform: translateY(-50%); }
.modern-gallery-prev { left: 12px; }
.modern-gallery-next { right: 12px; }
.modern-gallery-close:hover, .modern-gallery-nav:hover { background: #c99a25; }
.modern-gallery-count { position: absolute; bottom: -31px; left: 50%; margin: 0; padding: 5px 10px; border-radius: 3px; background: rgba(16,16,16,.75); color: #fff; font: 700 12px Arial,sans-serif; transform: translateX(-50%); }
@media (max-width: 640px) {
  .modern-product-description { margin: 20px 8px; padding: 20px; }
  .modern-product-description h2 { font-size: 21px; }
  .modern-gallery-modal { padding: 20px 10px; }
  .modern-gallery-image { max-height: calc(100vh - 86px); }
  .modern-gallery-nav { width: 38px; height: 48px; font-size: 38px; }
  .modern-gallery-prev { left: 3px; }
  .modern-gallery-next { right: 3px; }
  .modern-product-zoom-hint { opacity: 1; }
}
.modern-push-toggle { padding: 8px 10px; border: 1px solid #c79828; border-radius: 5px; background: transparent; color: #f2c44d; cursor: pointer; font: 700 12px Arial,sans-serif; }
.modern-push-toggle:hover { background: #2a220f; }
.modern-push-toggle.is-active { border-color: #2b9f55; color: #6bd18a; cursor: default; }
.modern-push-toggle.is-blocked { border-color: #9b4545; color: #e18484; cursor: default; }
@media (max-width: 680px) { .modern-push-toggle { padding: 7px 8px; font-size: 11px; } }
