/* Camp companions and readable touch controls, using the approved camp materials. */
#pixel-camp .pb-pet-hit{position:absolute;z-index:3001;background:none;border:0;padding:0;min-width:44px;min-height:44px}
#pixel-camp .pb-pet-hit:hover{background:radial-gradient(ellipse at 50% 85%,#e5ba5b12,transparent 70%)}
#pixel-camp .pb-pet-hit:focus-visible{outline:1px solid #e8c47a;outline-offset:2px}
#pixel-camp .pb-hot[data-pb=contract]:focus-visible .pb-hot-label{color:#ffe6a0;text-decoration:underline}
#pixel-camp .pb-camp-music{grid-column:1/-1;width:100%;padding:10px 0 2px;border-top:1px solid #8b74434d;font-size:13px;line-height:1.6}
#pixel-camp .pb-camp-music label{display:flex;align-items:center;justify-content:space-between;gap:8px}
#pixel-camp .pb-camp-music input{width:100%;min-height:44px;accent-color:#bf9345}
#pixel-camp .pb-camp-music button{width:100%;min-height:44px;text-align:left;font-size:14px}
#pixel-camp .pb-music-credit{font:11px/1.6 system-ui;color:#bcad91;display:block;margin-top:5px}
#pixel-camp .pb-music-credit a{color:inherit;text-underline-offset:3px}
#pixel-camp .pb-music-state{font:11px/1.5 system-ui;color:#aab5a1}
.pb-goods-actions{display:contents}.pb-goods-details{display:none}
@media(max-width:650px),(orientation:landscape) and (max-height:500px){
  body.pixel-camp-active #modal-merchant{padding:8px!important}
  body.pixel-camp-active #modal-merchant .modal-box{width:min(100%,600px)!important;max-width:none!important;max-height:calc(100dvh - 16px)!important;padding:18px 16px!important;font-size:14px!important}
  body.pixel-camp-active #modal-merchant h2,body.pixel-camp-active #modal-merchant h3{font-size:20px!important;line-height:1.5!important}
  body.pixel-camp-active #modal-merchant .hub-tabs{display:flex;flex-wrap:nowrap!important;gap:6px;padding-right:48px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
  body.pixel-camp-active #modal-merchant .hub-tabs button{flex:0 0 auto!important;width:auto!important;min-height:44px!important;min-width:62px;padding:8px!important;font-size:14px!important;white-space:nowrap}
  body.pixel-camp-active #modal-merchant #merchant-gold{font-size:15px!important}
  body.pixel-camp-active #modal-merchant .shop-head,body.pixel-camp-active #modal-merchant .sell-head{font-size:14px!important;line-height:1.6!important}
  body.pixel-camp-active #modal-merchant #btn-shop-refresh{font-size:13px!important;min-height:44px!important;padding:8px!important}
  body.pixel-camp-active #modal-merchant .goods-row{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:10px 12px!important;padding:14px 12px!important;margin-bottom:10px!important;align-items:start!important}
  body.pixel-camp-active #modal-merchant .goods-row>img{width:44px!important;height:44px!important;object-fit:contain;image-rendering:pixelated}
  body.pixel-camp-active #modal-merchant .goods-info{min-width:0!important;font-size:16px!important;line-height:1.45!important}
  body.pixel-camp-active #modal-merchant .goods-info>span{font-size:16px!important;font-weight:700;overflow-wrap:anywhere}
  body.pixel-camp-active #modal-merchant .gstat{font-size:13px!important;line-height:1.65!important;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.pixel-camp-active #modal-merchant .goods-row .pb-goods-compare{display:none!important}
  body.pixel-camp-active #modal-merchant .pb-goods-expanded .gstat{display:block!important;overflow:visible!important;-webkit-line-clamp:unset}
  body.pixel-camp-active #modal-merchant .pb-goods-expanded .pb-goods-compare{display:block!important;font-size:13px!important;line-height:1.65!important}
  body.pixel-camp-active #modal-merchant .pb-goods-compare *{font-size:inherit!important;line-height:inherit!important}
  body.pixel-camp-active #modal-merchant .pb-goods-actions{grid-column:1/-1;display:flex;gap:8px;align-items:center;justify-content:space-between}
  body.pixel-camp-active #modal-merchant .pb-goods-details{display:block!important;min-height:44px!important;padding:8px 0!important;font-size:14px!important;color:#cfbb91!important;background:none!important;border:0!important;text-decoration:underline;text-underline-offset:4px}
  body.pixel-camp-active #modal-merchant .goods-buy{min-height:44px!important;min-width:120px!important;font-size:15px!important;line-height:1.4!important;padding:9px 14px!important;color:#fff0cd!important;border:1px solid #c29745!important;background:#49361d url('../assets/camp/pixel-b/controls.png') 50.48% 11.91%/105.08% 259.5%!important;border-radius:0!important;box-shadow:inset 0 1px #f3d28a88,0 2px #080b08!important}
  body.pixel-camp-active #modal-merchant .goods-buy:disabled{filter:saturate(.25);opacity:.45}
  body.pixel-camp-active #modal-merchant .sell-quality-btn{min-height:44px!important;font-size:13px!important;padding:8px!important}
  body.pixel-camp-active #modal-merchant #sell-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(48px,1fr))!important;gap:8px!important}
  body.pixel-camp-active #modal-merchant #sell-grid>*{min-width:48px!important;min-height:52px!important;width:auto!important;height:52px!important}
  body.pixel-camp-active #modal-merchant #sell-grid img{width:32px!important;height:32px!important}
}
