/* The auction is staged on the tower terrace: no dashboard, timer or stake form. */
.auction-mode .table-rail,.auction-mode .felt{padding:0;background:none;border:0;box-shadow:none}
.auction-mode .game-layout{display:block;max-width:1420px;margin:auto}
.auction-mode #pocket-wallet{display:none!important}
.auction-inspect{position:absolute;left:8%;bottom:12%;z-index:7;display:flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;min-height:42px;border:1px solid #d5be8b;border-radius:12px;background:#192f47ed;color:#f7e6bb;font:12px 'Microsoft YaHei',sans-serif;box-shadow:0 3px 8px #0a132c50}.auction-inspect img{width:40px;height:40px;object-fit:contain}.auction-inspect small{font:11px Georgia,serif;color:#e7d5b0}.auction-inspect:disabled{opacity:.55}
@media(max-width:760px){.auction-inspect{left:4%;bottom:33%;padding:3px 7px 3px 2px;gap:4px;font-size:10px}.auction-inspect img{width:30px;height:30px}.auction-inspect small{font-size:9px}}
.auction-price-steps{gap:4px!important}.auction-price-steps i{width:4px!important;height:4px!important;flex-shrink:0}.auction-rules details{margin-block:20px}.auction-rules summary{cursor:pointer;color:#f3d994;font-size:14px}.auction-rules table{width:100%;border-collapse:collapse;margin-top:12px;font:14px Georgia,serif}.auction-rules td,.auction-rules th{padding:6px 12px;text-align:center;border-bottom:1px solid #bfa57533}
.auction-actions #tower-fast-wait{position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);min-height:24px;min-width:130px;padding:4px 10px;letter-spacing:1px;font-size:12px;box-shadow:none;border-color:#d9bf7980;background:#19334ee8;color:#f4e3bb}.auction-actions #tower-fast-wait:active{transform:translateX(-50%) translateY(1px)}
.auction-mode .story-column,.auction-mode .bet-panel,.auction-mode .table-top,.auction-mode .score-strip,.auction-mode .grid-wrap,.auction-mode .board-bottom,.auction-mode .felt-logo,.auction-mode .table-front,.auction-mode .item-pouch,.auction-mode #active-effects,.auction-mode .mobile-dock,.auction-mode #show-items,.auction-mode .board-message{display:none!important}
.auction-mode .island-background{background:linear-gradient(#0c173562,#071329bd),url('assets/tower-auction-hall.png') center/cover;filter:none}
.auction-mode .chapter-hud{padding-block:9px}.auction-mode .chapter-name>.eyebrow{display:none}.auction-mode .chapter-name h1{font-family:Georgia,'Microsoft YaHei',serif;font-weight:500}
.auction-mode .topbar{background:linear-gradient(110deg,#13283fed,#24344ce8);border:1px solid #c3aa714d;box-shadow:0 7px 25px #07142a33}.auction-mode .topbar .brand,.auction-mode .topbar .brand small,.auction-mode .topbar .top-location,.auction-mode .topbar .help-button,.auction-mode .topbar .header-right{color:#f0dfb9}.auction-mode .topbar .coordinates{color:#c9d3d6}.auction-mode .topbar .brand-symbol{background:#294d55;border-color:#c9b77e;outline-color:#746a4e;color:#f9e7af}.auction-mode .topbar .icon-button{color:#f0dfb9;background:#294153;border:1px solid #cfb77b66}.auction-mode .topbar .bond-button{background:#243d50;color:#f3e5c3;border-color:#cfb77b66}
.auction-scene{position:relative;isolation:isolate;width:100%;aspect-ratio:16/10;min-height:620px;overflow:hidden;border:1px solid #c1a7768c;border-radius:25px;background:#142340;box-shadow:0 12px 40px #040c284f;color:#fff1cc;font-family:'Noto Serif SC','SimSun',serif}
.auction-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.auction-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(#07122e80,transparent 27%,transparent 74%,#08162cba),radial-gradient(ellipse at center,transparent 45%,#11203c35)}
.auction-heading{position:absolute;top:5%;left:5%;text-shadow:0 2px 12px #08122e}.auction-heading small{font:11px Georgia,serif;letter-spacing:3px;color:#f4d89f}.auction-heading h2{font-size:30px;font-weight:400;letter-spacing:6px;margin:12px 0}
.auction-guide{position:absolute;right:4%;top:4%;width:34px;height:34px;border:1px solid #e7cc9480;border-radius:50%;background:#152741c9;color:#fff0c9;font:18px Georgia,serif}
.auction-wallet{position:absolute;right:4%;top:13%;min-width:140px;text-align:right;color:#fff0cc;text-shadow:0 2px 6px #071329;z-index:5}.auction-wallet>span{font-size:12px;letter-spacing:3px;color:#e7d7b7}.auction-wallet>strong{display:block;font:24px Georgia,serif;margin-top:7px}.auction-wallet>small{display:block;font-size:12px;margin-top:6px;color:#e3dfd3}.auction-wallet>i{display:block;width:100%;height:3px;margin-top:10px;background:#17263e99;outline:1px solid #d8bf7d55;border-radius:3px;overflow:hidden}.auction-wallet b{display:block;height:100%;background:linear-gradient(90deg,#a59b6a,#ffe3a5);transition:width .7s}.auction-shadow[data-exhausted=true]{opacity:.45}
.auction-shelf{position:absolute;left:32%;width:37%;top:40%;height:14%;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;z-index:1;pointer-events:none}
.auction-shelf>span{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;--lamp-hue:#d2c2ac;filter:brightness(.55) saturate(.35);opacity:.4;transition:filter 1s,opacity 1s}
.auction-shelf svg{height:100%;max-width:100%;overflow:visible}.auction-shelf i{font:11px Georgia,serif;position:absolute;bottom:-9px;color:#fff1cd;font-style:normal;text-shadow:0 1px 3px #171b28}
.auction-shelf>[data-owner=player]{--lamp-hue:#ffe6a0;filter:drop-shadow(0 0 12px #ffe7a0);opacity:1}.auction-shelf>[data-owner=shadow]{--lamp-hue:#b0a1ed;filter:drop-shadow(0 0 7px #b4ace4);opacity:.85}.auction-shelf>[data-owner=unsold]{opacity:.27;filter:grayscale(1)}.auction-shelf>.is-current{opacity:.85;filter:brightness(.8)}
.auction-yuzu{position:absolute;left:0;bottom:10%;width:28%;height:51%;z-index:3;pointer-events:none}.auction-yuzu>img{height:100%;width:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 5px 9px #09132a40)}
.auction-estimate{position:absolute;left:12%;top:-15%;width:87%;padding:13px 14px 10px;background:linear-gradient(125deg,#fff8e6f5,#e9ddbef2);border:1px solid #ba9b66;box-shadow:2px 4px 0 #705c3b25;transform:rotate(-3deg);color:#374b4c;border-radius:3px 14px 4px 8px}
.auction-estimate:before{content:'✧';position:absolute;right:12px;top:9px;color:#ad8d51}.auction-estimate small{font-size:12px;letter-spacing:2px;color:#637261}.auction-estimate strong{display:block;margin-top:10px;font:23px Georgia,'SimSun',serif;white-space:nowrap;color:#3f594f}.auction-estimate p{font-size:13px;line-height:1.8;margin:8px 0 0;color:#4c625a}
.auction-shadow{position:absolute;right:5%;bottom:23%;width:17%;height:32%;z-index:2;text-align:center;filter:drop-shadow(0 7px 8px #09132c)}.auction-shadow>svg{display:block;height:100%;width:100%;opacity:.86}.auction-shadow>span{display:block;font-size:14px;letter-spacing:4px;text-shadow:0 1px 4px #000}.auction-shadow>small{display:block;margin-top:7px;font:14px Georgia,serif;color:#f2dca5;text-shadow:0 1px 4px #000}
.auction-lot{position:absolute;left:50%;top:25%;height:41%;width:23%;transform:translateX(-50%);z-index:4;filter:drop-shadow(0 5px 17px #ffedb858);transition:filter .5s;pointer-events:none}.auction-lot>svg{height:100%;width:100%;overflow:visible}.auction-lot .lamp-flame{transform-origin:50% 50%;animation:auction-flame 3s ease-in-out infinite}.auction-lot>span{display:block;text-align:center;margin-top:-10px;font-size:13px;letter-spacing:5px;color:#fff4cf;text-shadow:0 2px 5px #0a142e}
.auction-scene[data-phase=idle] .auction-lot{filter:grayscale(.8) brightness(.7);opacity:.6}
.auction-price-plaque{position:absolute;left:50%;top:69%;width:25%;min-width:200px;transform:translateX(-50%);z-index:5;text-align:center;padding:12px 16px 13px;border:2px solid #d3b57a;border-radius:7px 7px 18px 18px;background:linear-gradient(120deg,#fff8e8,#ead9ae);box-shadow:0 4px 0 #715d3a57,inset 0 0 0 3px #fff9e34d;color:#57482f}
.auction-price-plaque>small{display:block;font-size:12px;letter-spacing:3px;color:#716346}.auction-price-plaque>strong{display:block;font:36px Georgia,serif;letter-spacing:1px;margin-top:5px}.auction-price-plaque em{font-style:normal;font-size:14px;margin-left:7px;color:#8d743e}
.auction-price-steps{display:flex;justify-content:center;gap:9px;margin-top:9px}.auction-price-steps i{width:5px;height:5px;border:1px solid #aa8e56;border-radius:50%;background:#bba77750}.auction-price-steps .is-current{background:#786744;box-shadow:0 0 0 3px #b99d5a40}.auction-price-steps .is-past{opacity:.3}
.auction-actions{position:absolute;bottom:7%;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:13px;z-index:6;width:55%}
.auction-actions button{font-family:inherit;font-weight:600;letter-spacing:2px;min-height:49px;border-radius:10px;border:1px solid #e5cd9c;box-shadow:0 4px 0 #493f2c6b;white-space:nowrap}.auction-buy{min-width:132px;padding:12px 24px;background:linear-gradient(120deg,#fff0bd,#dfbd73);color:#354a4b}.auction-buy i{font-style:normal;margin-left:9px;color:#a38543}.auction-wait{min-width:120px;padding:12px 20px;background:linear-gradient(135deg,#29445ae8,#152f47eb);color:#fff0c6}.auction-wait i{font-style:normal;margin-left:6px;color:#edce8b}.auction-pass{padding:11px 15px;background:#142a42b3;color:#dfe6ee;border-color:#c7cfdb80!important;font-size:13px}.auction-actions button:disabled{opacity:.5;box-shadow:none}
.auction-foot{position:absolute;left:5%;right:5%;bottom:2.4%;display:flex;justify-content:space-between;align-items:center;font:12px Georgia,serif;letter-spacing:3px;color:#f6e8c7;text-shadow:0 1px 5px #111b30}.auction-error{position:absolute;bottom:14%;left:30%;right:30%;z-index:7;margin:0;color:#fff4d7;font-size:14px;line-height:1.6;text-align:center;text-shadow:0 1px 6px #101a2c}
.auction-result{position:absolute;top:15%;left:50%;transform:translateX(-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:7px}.auction-result>span{font-size:17px;letter-spacing:5px;padding:6px 18px;border:2px solid #e5c380;color:#ffe7ae;border-radius:50%;transform:rotate(-7deg);background:#20334a9c}.auction-result>strong{font:26px Georgia,serif;text-shadow:0 2px 7px #162038}.auction-result>small{font-size:12px;letter-spacing:1px;color:#f8ecd2;text-shadow:0 1px 5px #10203a}
.auction-scene[data-phase=shadow] .auction-lot{opacity:.35;filter:hue-rotate(30deg) brightness(.8)}.auction-scene[data-phase=unsold] .auction-lot{filter:grayscale(.85) brightness(.6);opacity:.5}
.auction-scene[data-round-effect=player] .auction-lot{animation:auction-home 1.25s ease-in-out both}.auction-scene[data-round-effect=shadow] .auction-lot{animation:auction-shadow-take 1.25s ease-in-out both}.auction-scene[data-round-effect=shadow] .shadow-hand{transform-origin:115px 165px;animation:auction-bid 1.1s ease-in-out both}.auction-scene[data-round-effect=unsold] .auction-lot{animation:auction-dim 1.2s ease both}
.auction-finale{position:absolute;inset:0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(ellipse at center,#12263bd9,#08162dd9 70%);backdrop-filter:blur(3px);color:#fff0bd;animation:auction-reveal 1.5s ease both}
.auction-compass{position:relative;display:grid;place-items:center;width:180px;height:180px;font:145px Georgia,serif;color:#f2d18c;border:5px double #d7b777;border-radius:50%;box-shadow:0 0 0 12px #f2d18c1f,0 0 70px #e8c57355,inset 0 0 0 9px #fff1be22;animation:auction-compass 4s ease-in-out both}
.auction-finale-stars{position:absolute;inset:0;background:repeating-conic-gradient(from 0deg at 50% 43%,transparent 0deg 24deg,#ffe7a417 26deg,transparent 29deg 45deg);animation:auction-rays 12s linear infinite;pointer-events:none}.auction-finale h3{font-size:29px;letter-spacing:6px;font-weight:400;margin:32px 20px 18px}.auction-finale p{font-size:16px;letter-spacing:2px;line-height:1.9;padding-inline:20px}.auction-finale>strong{margin-top:15px;font:17px Georgia,serif;color:#e8d6b1}
.auction-scene[data-finale=over] .auction-finale{background:radial-gradient(ellipse at center,#142941e0,#090f24ed);color:#d5d9ec}.auction-scene[data-finale=over] .auction-compass{color:#929ebb;border-color:#8d96af;box-shadow:0 0 0 12px #9dacce16,inset 0 0 0 9px #a0afca16;animation:auction-dim 3s ease both}.auction-scene[data-finale=over] .auction-finale-stars{opacity:.2;animation:none}
.auction-rules{position:relative;width:min(540px,calc(100vw - 30px));max-height:85dvh;border:1px solid #c1a46c;border-radius:20px;background:#14283e;color:#ece6d7;padding:32px;box-shadow:0 15px 80px #071228a0}.auction-rules::backdrop{background:#051126a8;backdrop-filter:blur(5px)}.auction-rules>button{position:absolute;right:12px;top:10px;background:transparent;border:0;color:#fff0bf;font-size:25px}.auction-rules>small{font-size:13px;letter-spacing:3px;color:#e5cb93}.auction-rules h2{font-size:24px;font-weight:400;color:#ffe6af;line-height:1.5}.auction-rules p{font-size:14px;line-height:1.9;color:#dce2e9}
@keyframes auction-flame{50%{opacity:.7;transform:scale(.94,1.04)}}@keyframes auction-home{0%{opacity:1;transform:translateX(-50%) scale(1)}60%{filter:drop-shadow(0 0 25px #ffeca2)}100%{opacity:0;transform:translate(-50%,-55%) scale(.25)}}@keyframes auction-shadow-take{to{opacity:0;transform:translate(140%,15%) scale(.35)}}@keyframes auction-bid{45%,80%{transform:rotate(-17deg)}}@keyframes auction-dim{to{opacity:.4;filter:grayscale(.8) brightness(.65)}}@keyframes auction-reveal{from{opacity:0}to{opacity:1}}@keyframes auction-compass{0%{transform:scale(.2) rotate(-70deg);opacity:0}55%{transform:scale(1.07) rotate(12deg);opacity:1}100%{transform:scale(1) rotate(0)}}@keyframes auction-rays{to{transform:rotate(360deg)}}
@media(max-width:760px){.auction-scene{aspect-ratio:auto;min-height:690px;border-radius:20px}.auction-background{object-position:51% center}.auction-heading{left:6%;top:4%}.auction-heading h2{font-size:23px;letter-spacing:4px}.auction-heading small{font-size:10px;letter-spacing:2px}.auction-yuzu{height:31%;width:40%;bottom:20%;left:-7%}.auction-estimate{top:-42%;left:24%;width:134%;padding:10px;transform:rotate(-3deg)}.auction-estimate strong{font-size:19px;margin-top:7px}.auction-estimate p{font-size:12px;line-height:1.7}.auction-shadow{right:0;bottom:29%;width:26%;height:24%}.auction-shadow>small{font-size:12px}.auction-shadow>span{font-size:12px}.auction-lot{top:35%;height:29%;width:36%}.auction-lot>span{font-size:12px}.auction-shelf{left:25%;width:58%;top:22%;height:11%;gap:1px}.auction-shelf i{font-size:10px;bottom:-4px}.auction-price-plaque{top:66%;width:56%;min-width:0;padding:10px 8px}.auction-price-plaque>strong{font-size:32px}.auction-price-plaque>small{font-size:12px}.auction-actions{width:96%;gap:7px;bottom:8%}.auction-actions button{min-height:48px;letter-spacing:1px}.auction-buy{min-width:104px;padding:10px 14px}.auction-wait{min-width:106px;padding:10px 12px}.auction-pass{padding:10px 12px}.auction-foot{font-size:12px;bottom:3%}.auction-error{bottom:15%;left:8%;right:8%;font-size:13px}.auction-result{top:29%;width:80%}.auction-result>span{font-size:14px}.auction-result>strong{font-size:22px}.auction-compass{width:125px;height:125px;font-size:104px}.auction-finale h3{font-size:22px;letter-spacing:3px}.auction-finale p{font-size:14px;letter-spacing:1px}.auction-guide{right:5%;top:4%}}
@media(prefers-reduced-motion:reduce){.auction-scene *{animation:none!important;transition:none!important}.auction-scene[data-round-effect] .auction-lot{opacity:1}}
.auction-shelf{top:14%;left:34%;width:33%;height:12%}.auction-shelf>span{filter:brightness(.9) saturate(.6);opacity:.55}.auction-shelf>.is-current{filter:drop-shadow(0 0 7px #ffe6a0);opacity:1}.auction-mode .chapter-hud{display:none}.auction-mode .history-panel{display:none}
.auction-estimate{top:-22%}.auction-price-plaque #auction-result{position:static;transform:none;display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:5px 12px;margin-top:10px}.auction-price-plaque #auction-result>span{font-size:13px;letter-spacing:2px;border:1px solid #ac8a51;border-radius:6px;padding:3px 7px;color:#655031;background:#fff5d766;transform:none}.auction-price-plaque #auction-result>strong{font-size:21px;text-shadow:none;color:#3c584f}.auction-price-plaque #auction-result>small{grid-column:1/-1;font-size:12px;color:#6d6044;text-shadow:none}.auction-scene:not([data-phase=bidding]):not([data-phase=idle]) .auction-price-plaque{top:62%}.auction-scene:not([data-phase=bidding]):not([data-phase=idle]) .auction-price-steps{display:none}
@media(max-width:760px){.auction-wallet{top:13%;right:5%;min-width:105px}.auction-wallet>strong{font-size:20px}.auction-wallet>span,.auction-wallet>small{font-size:12px}.auction-shelf{top:23%;left:14%;width:72%;height:10%}}
@media(max-width:760px){.auction-estimate{top:-42%}.auction-price-plaque #auction-result{gap:5px 7px}.auction-price-plaque #auction-result>strong{font-size:19px}.auction-price-plaque #auction-result>span{font-size:12px;padding:3px 5px}}
.auction-compass>svg{display:block;width:100%;height:100%;filter:drop-shadow(0 0 12px #f3d39144)}.auction-compass .compass-needle{transform-origin:100px 100px;animation:auction-needle 4.8s ease-in-out both}.auction-scene[data-finale=over] .auction-compass .compass-needle{animation:auction-needle-rest 3s ease both}.auction-scene[data-finale=won] .auction-shelf>[data-owner=player]{filter:drop-shadow(0 0 22px #ffe6a0)}
@keyframes auction-needle{0%{transform:rotate(-135deg)}65%{transform:rotate(15deg)}82%{transform:rotate(-8deg)}100%{transform:rotate(0)}}@keyframes auction-needle-rest{to{transform:rotate(50deg)}}
@media(max-width:760px){.auction-estimate{top:-95%;width:150%}.auction-estimate strong{font-size:17px;letter-spacing:-.3px}.auction-shelf{top:35%;height:8%}.auction-lot{top:43%;height:23%;width:33%}.auction-price-plaque{top:68%}}
