/* =========================================================
   v9.15 拍賣會（js/auction.js）：拍賣台（3 個位置）／送拍／成交紀錄
   ========================================================= */
.gp-auction .gp-head{background:repeating-linear-gradient(92deg,#7a1f2a 0 7px,#5a141e 7px 11px,#94303b 11px 15px)}
.gp-auction .gp-ic{background:#3d0c14}
.gp-auction .gp-body{flex-direction:column;gap:6px;background:linear-gradient(#fbecd2,#ecd2a2)}
.gp-auction .gp-body>*{flex:0 0 auto}

/* ---- 拍賣台 ---- */
.au-stage{flex:1 1 auto!important;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.au-lot{position:relative;min-height:0;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto 1fr auto;column-gap:8px;row-gap:4px;padding:8px 9px;
  background:linear-gradient(#fffaf0,#f3e1bb);border:3px solid #000;box-shadow:inset 2px 2px 0 #fff,inset -2px -2px 0 #d8bf88,0 4px 0 #0005}
.au-lot.reached{box-shadow:inset 2px 2px 0 #fff,inset -2px -2px 0 #d8bf88,inset 0 0 0 3px #3fb57d,0 4px 0 #0005}
.au-lot.empty{grid-template-columns:1fr;grid-template-rows:none;align-content:center;justify-items:center;gap:6px;text-align:center;background:repeating-linear-gradient(45deg,#f6e8c9 0 8px,#efdcb2 8px 16px);border-style:dashed}
.au-lot.empty b{font-size:15px;font-weight:900;color:#5a3512}
.au-lot.empty small{font-size:11.5px;font-weight:800;color:#8a5a12}
.au-pod{width:56px;height:46px;background:linear-gradient(#a85a32,#7a3a1e);border:3px solid #000;box-shadow:inset 0 6px 0 #c98a4a;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)}
.au-top{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:6px}
.au-dur{display:inline-flex;align-items:center;gap:3px;padding:0 6px;font-size:11px;font-weight:900;color:#fff;background:#7a1f2a;border:2px solid #000}
.au-dur .pxi{width:13px;height:13px}
.au-left{font-size:18px;font-weight:900;color:#7a1f2a;font-variant-numeric:tabular-nums;letter-spacing:1px}
.au-slab{grid-row:2 / span 3;align-self:start}
.au-slab .gslab{zoom:.78;cursor:default}
.au-slab .gslab:hover{transform:none}
.au-name{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.au-name b{font-size:14px;font-weight:900;color:#3d2308;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-name small{font-size:10.5px;font-weight:800;color:#8a5a12}
.au-name small .pxi{width:12px;height:12px;vertical-align:-2px}
.au-now{display:flex;flex-direction:column;padding:4px 7px;background:#2a1408;border:2px solid #000;box-shadow:inset 0 0 0 1px #ffd75e55}
.au-now small{font-size:10px;font-weight:800;color:#e8c98a}
.au-now b{font-size:21px;font-weight:900;color:#ffd75e;font-variant-numeric:tabular-nums;line-height:1.1}
.au-now b .pxi{width:18px;height:18px;vertical-align:-3px}
.au-now b.bump{animation:au-bump .5s ease-out}
@keyframes au-bump{0%{transform:scale(1.25);color:#fff}100%{transform:none}}
.au-now em{font-style:normal;font-size:10.5px;font-weight:800;color:#f5e3bf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-meta{display:flex;flex-direction:column;gap:2px;align-self:start;font-size:10.5px;font-weight:800;color:#6b4a1e}
.au-res .pxi{width:12px;height:12px;vertical-align:-2px}
.au-lot.reached .au-res{color:#1f7a4a}
.au-log{grid-column:1 / -1;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px;min-height:0;overflow:hidden}
.au-log li{display:grid;grid-template-columns:1fr auto auto;gap:6px;align-items:center;padding:1px 6px;font-size:11px;font-weight:800;color:#3d2308;background:#ffffffa8;border:1.5px solid #c9a86a}
.au-log li:first-child{background:#fff3c4;border-color:#d9a520}
.au-log li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-log li b{font-variant-numeric:tabular-nums}
.au-log li b .pxi{width:12px;height:12px;vertical-align:-2px}
.au-log li em{font-style:normal;font-size:10px;color:#8a5a12;font-variant-numeric:tabular-nums}
.au-wd{grid-column:1 / -1;justify-self:end;padding:3px 12px;font-size:12px}
.au-foot{margin:0;font-size:11.5px;font-weight:800;color:#6b4a1e;line-height:1.5}
.au-foot .pxi{width:15px;height:15px;vertical-align:-3px;margin-right:3px}

/* ---- 送拍 ---- */
.au-new{flex:1 1 auto!important;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:10px}
.au-pickcol{min-height:0;display:flex;flex-direction:column}
.au-grid{flex:1;min-height:0;overflow-y:auto;display:flex;flex-wrap:wrap;gap:14px 10px;align-content:flex-start;padding:8px 8px 12px;background:#2a1408;border:3px solid #000}
.au-it{position:relative;padding:0;margin:0;background:none;border:0;cursor:pointer;font:inherit}
.au-it .gslab{zoom:.74}
.au-it.on{outline:3px solid #ffd75e;outline-offset:2px}
.au-it .nt-mv{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);z-index:2;pointer-events:none}
.au-form{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:5px;padding-right:2px}
.au-sel{display:flex;gap:10px;align-items:center;min-height:118px;padding:6px 8px;background:#fffaf0;border:3px solid #000}
.au-sel .grx-empty{padding:6px}
.au-selslab .gslab{zoom:.62}
.au-selinfo{display:flex;flex-direction:column;gap:3px;min-width:0}
.au-selinfo b{font-size:16px;font-weight:900;color:#3d2308}
.au-selinfo small{font-size:11.5px;font-weight:800;color:#8a5a12}
.au-selinfo span{font-size:13px;font-weight:900;color:#0f4a2a}
.au-selinfo span .pxi{width:15px;height:15px;vertical-align:-3px}
.au-hot,.au-warn{align-self:flex-start;font-style:normal;padding:0 6px;font-size:10.5px;font-weight:900;border:2px solid #000}
.au-hot{color:#3d2308;background:#ffd75e}
.au-warn{color:#fff;background:#c2372f}
.au-durs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.au-ress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.au-opt{display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 3px;cursor:pointer;font-family:inherit;color:#3d2308;
  background:linear-gradient(#fffdf5,#efe0bf);border:3px solid #000;box-shadow:inset 2px 2px 0 #fff,0 3px 0 #0005}
.au-opt b{font-size:13px;font-weight:900}
.au-opt small{font-size:10px;font-weight:800;color:#8a5a12;text-align:center}
.au-opt em{font-style:normal;font-size:10px;font-weight:900;color:#5a3512}
.au-opt .pxi{width:12px;height:12px;vertical-align:-2px}
.au-opt.sm b{font-size:12px}
.au-opt.on{background:linear-gradient(#ffd98a,#f0b429);box-shadow:inset 2px 2px 0 #fff3c4,0 3px 0 #0005;transform:translateY(-2px)}
.au-go{margin-top:4px;padding:9px 12px;font-size:15px}
.au-go .pxi{width:18px;height:18px;vertical-align:-4px;margin-right:4px}

/* ---- 成交紀錄 ---- */
.au-hist{flex:1 1 auto!important;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:5px;padding-right:2px}
.au-h{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.3fr) auto;gap:10px;align-items:center;padding:6px 10px;background:#fffaf0;border:3px solid #000;box-shadow:0 3px 0 #0004}
.au-h>.pxi{width:26px;height:26px}
.au-h.no{background:#efe6d6;opacity:.85}
.au-hn,.au-hr{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.au-hn b,.au-hr b{font-size:14px;font-weight:900;color:#3d2308}
.au-hr b .pxi{width:15px;height:15px;vertical-align:-3px}
.au-hn small,.au-hr small{font-size:10.5px;font-weight:800;color:#8a5a12}
.au-hn small .pxi,.au-hr small .pxi{width:11px;height:11px;vertical-align:-2px}
.au-h em{font-style:normal;font-size:10.5px;font-weight:800;color:#8a5a12;white-space:nowrap}

/* 手機直立（大廳的面板會縮小）：拍賣台改成可以左右滑 */
@media (max-width: 700px){
  .au-stage{grid-template-columns:repeat(3,minmax(250px,1fr));overflow-x:auto}
  .au-new{grid-template-columns:1fr}
}
