.auction-page { padding-bottom: 104px; }
.auction-title-row { display:flex; align-items:flex-start; justify-content:space-between; padding:0 20px; }
.auction-title-row .page-title { margin-bottom:3px; }
.auction-title-row .subhead { margin:0; }
.auction-title-actions { display:flex; align-items:center; gap:7px; flex:0 0 auto; }
.secondary-btn.auction-stats-entry { min-height:36px; padding:7px 10px; border-radius:10px; font-size:11px; line-height:1; white-space:nowrap; }
.auction-refresh { width:36px; height:36px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--green-800); font-size:21px; font-weight:900; }
.auction-group-refresh { width:auto; height:28px; margin-top:7px; padding:0 10px; border-radius:9px; font-size:11px; line-height:1; }
.page-home-return { flex:0 0 auto; margin-right:2px; }
.auction-group-collapse { width:100%; margin-top:2px; border:1px dashed #bfd0c3; border-radius:10px; padding:8px 10px; background:#f7faf7; color:#52705b; font-size:11px; font-weight:800; }
.auction-group-collapse-head { width:auto; margin-top:7px; padding:6px 10px; }
.auction-group-collapsed { width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid #dce8df; border-radius:13px; padding:13px; background:#f7fbf8; color:#587262; font-size:12px; text-align:left; }
.auction-group-collapsed b { color:var(--green-800); font-size:11px; }
.auction-group.is-collapsed { margin-bottom:12px; }
.auction-budget { display:grid; grid-template-columns:1.15fr 1fr .82fr; gap:8px; margin:15px 20px 13px; }
.auction-budget > div { min-height:70px; padding:12px 10px; border-radius:15px; background:linear-gradient(145deg,#124836,#0b3024); color:#fff; }
.auction-budget > div:nth-child(2) { background:linear-gradient(145deg,#6e4d19,#b07a26); }
.auction-budget > div:nth-child(3) { background:#fff; color:var(--ink); border:1px solid var(--line); }
.auction-budget span { display:block; opacity:.76; font-size:10px; font-weight:700; }
.auction-budget b { display:block; margin-top:7px; font-size:14px; letter-spacing:-.4px; }
.auction-funds-card { margin:0 20px 14px; padding:10px; border:1px solid #dce8e1; border-radius:11px; background:rgba(255,255,255,.94); }
.auction-funds-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.auction-funds-card h2 { margin:0; color:var(--green-900); font-size:11px; }
.auction-funds-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin-top:7px; }
.auction-funds-summary > div { min-width:0; border:1px solid #edf3ef; border-radius:8px; padding:6px 7px; background:#f8fbf8; }
.auction-funds-summary span, .auction-funds-summary b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.auction-funds-summary span { color:var(--muted); font-size:9px; font-weight:700; }
.auction-funds-summary b { margin-top:2px; color:var(--green-800); font-size:11px; font-weight:900; }
.auction-funds-team-list { margin-top:4px; }
.auction-funds-team-card { display:grid; grid-template-columns:minmax(0,1fr); align-items:center; width:100%; min-height:35px; border:0; border-top:1px solid #edf3ef; padding:5px 0; background:transparent; color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
.auction-funds-team-card > span { min-width:0; }
.auction-funds-team-card b, .auction-funds-team-card small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.auction-funds-team-card b { color:var(--ink); font-size:10px; }
.auction-funds-team-card b i { display:inline-block; min-width:22px; color:var(--muted); font-size:9px; font-style:normal; }
.auction-funds-team-card small { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin-top:1px; color:var(--muted); font-size:9px; }
.auction-funds-team-card small span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.auction-funds-team-card small strong { color:#53645b; font-size:9px; font-weight:800; }
.auction-funds-team-card small span:nth-child(2) strong { color:var(--green-700); }
.auction-funds-team-card small span:nth-child(3) strong { color:#93651b; }
.auction-funds-team-card.is-own-team { margin:0 -5px; width:calc(100% + 10px); border-radius:7px; padding-right:5px; padding-left:5px; background:#edf7ef; }
.auction-statistics-page { padding-bottom:36px; }
.auction-stats-page-title { margin:14px 20px 12px; }
.auction-stats-page-title .page-title { margin:0; }
.auction-stats-section { padding:10px; }
.auction-stats-section + .auction-stats-section { margin-top:0; }
.auction-stats-row { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:6px; min-height:39px; border-top:1px solid #edf3ef; padding:7px 0; }
.auction-stats-rank { color:var(--muted); font-size:9px; font-weight:800; text-align:center; }
.auction-stats-body { min-width:0; }
.auction-stats-body > b, .auction-stats-body > small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.auction-stats-body > b { color:var(--ink); font-size:11px; }
.auction-stats-body > small, .auction-stats-lot-top > small, .auction-stats-winner { color:var(--muted); font-size:9px; }
.auction-stats-value { color:var(--green-800); font-size:11px; font-weight:900; text-align:right; white-space:nowrap; }
.auction-stats-lot-row { align-items:start; }
.auction-stats-lot-row .auction-stats-body { padding-top:1px; }
.auction-stats-lot-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.auction-stats-lot-top .auction-stats-value { font-size:11px; }
.auction-stats-player-list { display:grid; gap:2px; margin-top:4px; }
.auction-stats-player { width:100%; display:flex; align-items:baseline; justify-content:space-between; gap:7px; border:0; padding:2px 0; background:transparent; color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
.auction-stats-player b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); font-size:10px; }
.auction-stats-player small { flex:0 0 auto; color:var(--muted); font-size:9px; }
.auction-stats-winner { display:block; margin-top:4px; }
.auction-stats-winner .team-name-link { margin-left:2px; font-size:9px; }
.auction-stats-position-group { border-top:1px solid #edf3ef; padding:8px 0 1px; }
.auction-stats-position-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 2px 4px; }
.auction-stats-position-head b { color:var(--green-900); font-size:11px; }
.auction-stats-position-head small { color:var(--muted); font-size:9px; }
.auction-stats-position-group .auction-stats-row { min-height:34px; padding:5px 0; }
.auction-stats-position-group .auction-stats-row + .auction-stats-row { border-top:1px solid #f2f6f3; }
.auction-stats-position-group .team-name-link { font-size:9px; }
.auction-stats-empty { margin-top:7px; }
.auction-day-scroll { display:flex; gap:7px; overflow-x:auto; padding:0 20px 14px; scrollbar-width:none; }
.auction-day-scroll::-webkit-scrollbar { display:none; }
.auction-day { flex:0 0 auto; min-width:59px; border:1px solid var(--line); border-radius:999px; padding:8px 10px; background:#fff; color:var(--muted); font-size:11px; font-weight:800; }
.auction-day.active { border-color:var(--green-800); background:var(--green-800); color:#fff; }
.auction-rule { margin:0 20px 15px; padding:11px 13px; border-radius:14px; background:#edf7ef; color:#386049; font-size:10px; line-height:1.55; }
.auction-rule b { display:block; margin-bottom:3px; color:var(--green-800); font-size:11px; }
.auction-group { margin:0 20px 17px; }
.auction-group-head { display:flex; justify-content:space-between; align-items:center; padding:0 2px 8px; }
.auction-group-head h2 { margin:0; color:var(--ink); font-size:15px; letter-spacing:-.25px; }
.auction-group-head p { margin:3px 0 0; color:var(--muted); font-size:10px; }
.auction-group-head > span { width:27px; height:27px; display:grid; place-items:center; border-radius:9px; background:var(--green-100); color:var(--green-800); font-size:13px; font-weight:900; }
.auction-lot { margin-bottom:10px; overflow:hidden; border:1px solid #e5ede7; border-radius:17px; padding:13px; background:#fff; box-shadow:0 4px 13px rgba(18,48,36,.05); }
.auction-lot-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.auction-kind, .auction-status { border-radius:999px; padding:4px 8px; font-size:10px; font-weight:900; }
.auction-kind { background:#f7eee0; color:#8a5c16; }
.auction-status { background:#edf1ef; color:#6b7a70; }
.status-active { background:#dff5e5; color:#176a3b; }
.status-sold { background:#e9efff; color:#355fa6; }
.status-unsold { background:#f5ebeb; color:#9a5050; }
.auction-players { display:grid; gap:6px; }
.auction-player-chip { width:100%; display:flex; align-items:center; justify-content:space-between; gap:8px; border:0; border-radius:10px; padding:8px 9px; background:#f6f8f6; color:var(--ink); text-align:left; }
.auction-player-chip b { font-size:12px; }
.auction-player-chip span { color:var(--muted); font-size:10px; font-weight:700; }
.auction-price-row { display:grid; grid-template-columns:1fr 1.3fr; gap:8px; margin-top:11px; }
.auction-price-row > div { min-width:0; padding:9px; border-radius:10px; background:#f8faf8; }
.auction-price-row span, .auction-deadline span { display:block; color:var(--muted); font-size:9px; font-weight:700; }
.auction-price-row b { display:block; overflow:hidden; margin-top:3px; color:var(--green-800); text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.auction-price-row .auction-bidder { color:var(--ink); font-size:11px; }
.auction-deadline { display:flex; align-items:center; justify-content:space-between; gap:9px; margin-top:10px; padding:9px 0 0; border-top:1px dashed #dbe4dd; }
.auction-deadline span { flex:0 0 auto; }
.auction-deadline b { color:#53645b; font-size:10px; }
.auction-bid-form { display:grid; grid-template-columns:1fr 76px; gap:8px; margin-top:12px; }
.auction-bid-field { position:relative; min-width:0; }
.auction-bid-form input { width:100%; min-width:0; border:1px solid #bed1c2; border-radius:10px; padding:10px 34px 10px 10px; color:var(--ink); font-size:13px; font-weight:800; outline:0; }
.auction-bid-unit { position:absolute; top:50%; right:11px; transform:translateY(-50%); color:#587262; font-size:12px; font-style:normal; font-weight:900; pointer-events:none; }
.auction-bid-form input:focus { border-color:var(--green-700); box-shadow:0 0 0 3px rgba(28,115,82,.1); }
.auction-bid-form .primary-btn { min-height:auto; padding:8px; }
.auction-minimum, .auction-note { margin:7px 0 0; color:var(--muted); font-size:10px; line-height:1.45; }
.auction-note.success { color:#187041; font-weight:800; }
.auction-no-lot { border:1px dashed #cbd8cd; border-radius:14px; padding:15px; color:var(--muted); text-align:center; font-size:11px; }
.auction-empty { margin-top:25px; }
.auction-empty .primary-btn { margin-top:15px; }
.auction-admin-box .secondary-btn { width:100%; margin-top:10px; }
.secondary-btn { border:1px solid var(--green-700); border-radius:11px; padding:10px 12px; background:#fff; color:var(--green-800); font-size:12px; font-weight:900; }
.auction-date-label { display:grid; gap:6px; color:#54675e; font-size:12px; font-weight:800; }
.auction-date-label input { width:100%; border:1px solid var(--line); border-radius:11px; padding:11px; background:#fff; color:var(--ink); font:inherit; }
.danger-zone { margin:22px 0 8px; padding:15px; border:1px solid #efc4c4; border-radius:15px; background:#fff7f7; }
.danger-zone h2 { margin:0 0 5px; color:#9d3131; font-size:15px; }
.danger-zone p { margin:0 0 12px; color:#7d5555; font-size:12px; line-height:1.55; }
.danger-btn { width:100%; border:1px solid #bf3939; border-radius:11px; padding:10px 12px; background:#fff; color:#af3030; font-size:12px; font-weight:900; }
.reset-zone { margin-top:22px; border-color:#f0d9a6; background:#fffaf0; }
.reset-zone h2 { color:#8a5c00; }
.reset-zone p { color:#735b31; }
.warning-btn { width:100%; border:1px solid #b77b18; border-radius:11px; padding:10px 12px; background:#fff; color:#925f08; font-size:12px; font-weight:900; }
.auction-request { margin:0 20px 16px; padding:14px; border:1px solid #cfe3d4; border-radius:16px; background:#f4fbf6; }
.auction-request h2 { margin:0 0 5px; color:var(--green-900); font-size:15px; }
.auction-request p { margin:0; color:#4f6758; font-size:11px; line-height:1.55; }
.request-selected { display:flex; flex-wrap:wrap; gap:7px; min-height:27px; margin:12px 0; }
.request-chip { display:inline-flex; align-items:center; gap:5px; padding:6px 8px; border-radius:999px; background:#dcefe2; color:var(--green-900); font-size:11px; font-weight:800; }
.request-chip button { border:0; padding:0; background:transparent; color:#407252; font:inherit; font-size:17px; line-height:12px; cursor:pointer; }
.supplement-search { display:grid; grid-template-columns:1fr auto; gap:7px; }
.supplement-search input { min-width:0; border:1px solid #bdd5c4; border-radius:10px; padding:10px; font:inherit; font-size:12px; }
.supplement-results { display:grid; gap:7px; margin:10px 0; }
.supplement-result { display:flex; align-items:center; justify-content:space-between; gap:8px; border:1px solid #d8e7db; border-radius:10px; padding:9px; background:#fff; color:var(--ink); text-align:left; }
.supplement-result:disabled { opacity:.55; }
.supplement-result b, .supplement-result small { display:block; }
.supplement-result b { font-size:12px; }
.supplement-result small { margin-top:3px; color:var(--muted); font-size:10px; }
.supplement-result strong { color:var(--green-800); font-size:11px; }

@media (min-width: 700px) {
  .auction-page { max-width:720px; margin:0 auto; }
}
