*{box-sizing:border-box}body{margin:0;background:#f1f4ee;color:#1d3028;font:16px system-ui}header{background:#123e30;color:white;padding:22px 5%;display:flex;justify-content:space-between;align-items:center}header small{display:block;letter-spacing:.22em;color:#e2c46a}main{max-width:1500px;margin:auto;padding:28px}h1{font-size:30px}h2{font-size:21px}button,.link{background:#176747;color:white;border:0;border-radius:8px;padding:14px 20px;cursor:pointer;font:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#e6ece7;color:#234334}.gold{background:#d9b65c;color:#192f24}.layout{display:grid;grid-template-columns:190px minmax(0,1fr) 260px;gap:20px}.card{background:white;border:1px solid #dce3dc;border-radius:14px;padding:22px;margin-bottom:18px}.participant{padding:14px;background:#eff4ee;border-radius:8px;margin-bottom:8px}.screen{position:relative;background:#10241d;border-radius:12px;overflow:hidden;min-height:240px;color:#d6dfd5;display:grid;place-items:center}video{width:100%;max-height:520px;display:block}.screen span{padding:35px}.badge{display:inline-block;background:#e9f0df;color:#31502b;padding:6px 10px;border-radius:20px;font-size:13px}.price{font-size:30px;font-weight:750;color:#176747}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}input,textarea{width:100%;padding:12px;border:1px solid #b9c9bc;border-radius:7px;font:inherit;margin:6px 0 14px}label{display:block}dialog{border:0;border-radius:15px;max-width:460px;width:90%;padding:28px}dialog::backdrop{background:#071a14aa}.landing{text-align:center;max-width:650px;margin:9vh auto}.mark{font-size:42px;color:#d9b65c}.notice{min-height:28px;color:#6b4420}.photos img{width:90px;height:70px;object-fit:cover;border-radius:6px;margin:5px}.adminGrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:10px;border-bottom:1px solid #ddd}.muted{color:#64756a}#status{padding:12px 5%;background:#e3eadf}#exitBusy{animation:pulse .6s infinite alternate}@keyframes pulse{to{opacity:.4}}@media(max-width:950px){.layout{grid-template-columns:1fr}.participants{order:2}.participants #people{display:flex;gap:8px;overflow:auto}.participant{white-space:nowrap}.adminGrid{grid-template-columns:1fr}main{padding:14px}header{padding:18px}h1{font-size:24px}}

.liveBadge{position:absolute;top:14px;right:14px;z-index:2;background:#c63330;color:white;padding:6px 10px;border-radius:5px;font-size:13px}.liveBadge[hidden]{display:none}#liveLot,#liveAuctioneer{width:100%}#liveLot[hidden]{display:none}#liveLot video,#liveAuctioneer video{width:100%;max-height:520px}select{display:block;padding:12px;margin:8px 0 16px;width:100%;font:inherit}input[type=checkbox]{width:auto}#ingressDetails input{font:14px monospace}#auctioneerScreen{min-height:200px}

.mediaRow{display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,22%);gap:16px;align-items:start;margin-top:16px}.productMedia{min-width:0}.hostPanel{min-width:0}.hostPanel h2{font-size:16px;margin:0 0 9px}.hostPanel .muted{font-size:12px;overflow-wrap:anywhere}.hostPanel button{font-size:12px;padding:10px;width:100%;margin-top:6px}#auctioneerScreen{aspect-ratio:9/16;width:100%;min-height:0;background:#0c1c16}#auctioneerScreen>*{grid-area:1/1}#liveAuctioneer{height:100%;width:100%}#liveAuctioneer video{height:100%;width:100%;max-height:none;object-fit:contain}#auctioneerEmpty{font-size:12px;padding:12px;text-align:center}#lotScreen{min-height:0;aspect-ratio:16/9}#lotScreen>*{grid-area:1/1}#lotScreen video{height:100%;object-fit:contain}#lotScreen span{padding:14px;font-size:14px;text-align:center}#liveLot{height:100%;min-width:0}#liveLot video{height:100%;max-height:none;object-fit:contain}#room video{pointer-events:none;user-select:none}#room video::-webkit-media-controls{display:none!important}.operatorPlayback{margin:18px 0;padding:14px;background:#f2f5f0;border-radius:10px}.operatorPlayback video{max-height:300px;background:#10241d}.operatorPlayback video[hidden]{display:none}#video[hidden],#liveAuctioneer[hidden]{display:none}#accessKey{text-transform:none}#generatedKey{overflow-wrap:anywhere}
@media(min-width:380px) and (max-width:950px){.mediaRow{grid-template-columns:minmax(0,1fr) 94px;gap:10px}.hostPanel h2{font-size:13px}.hostPanel .muted{font-size:11px}.hostPanel button{padding:8px 4px;font-size:11px}#lotScreen span{font-size:12px;padding:8px}#lotScreen .liveBadge{font-size:10px;top:7px;right:7px;padding:4px 6px}}
@media(max-width:379px){.mediaRow{grid-template-columns:minmax(0,1fr)}.hostPanel{width:150px;max-width:100%;justify-self:center}#auctioneerScreen{max-height:none}}

.bidRow{display:flex;gap:14px;align-items:center;justify-content:space-between;border-bottom:1px solid #dce3dc;padding:12px 0}.bidRow p{margin:0;overflow-wrap:anywhere}.bidRow button{flex-shrink:0;font-size:14px;padding:10px}@media(max-width:550px){.bidRow{align-items:stretch;flex-direction:column}}

#room .layout{grid-template-columns:minmax(0,1fr) 230px}.lotTopline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.albumDialog{max-width:900px;max-height:90vh;overflow:auto}#albumImages{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0}#albumImages img{width:100%;height:260px;object-fit:contain;background:#f2f4ee;border-radius:9px}.chatList{max-height:380px;overflow:auto}.question{padding:14px;background:#f0f4ec;border-radius:10px;margin:10px 0}.question p{white-space:pre-wrap;overflow-wrap:anywhere}.question button{display:block;margin-top:10px;font-size:13px}.question small{color:#64756a}#whatsappLink[hidden]{display:none}#whatsappLink{display:inline-block;margin-bottom:16px}@media(max-width:950px){#room .layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:420px){.lotTopline .badge{font-size:11px;padding:6px 8px}#albumImages{grid-template-columns:1fr}}

.brandLogo{display:block;width:min(260px,80%);max-height:180px;object-fit:contain;margin:0 auto 22px}.presenceCard{padding:18px;background:#edf4e8;border:1px solid #cfdfc4;border-radius:10px;margin:16px 0}.presenceCard strong{display:block;font-size:42px;color:#176747}.existingPhoto{display:inline-flex;align-items:center;gap:8px;padding:8px;margin:4px;border:1px solid #d3dfd2;border-radius:8px}.existingPhoto img{width:80px;height:60px;object-fit:contain}.existingPhoto input{width:auto;margin:0}.danger{background:#a3352d;color:white}
