#ov-town.nht-market54.nht-market140>.sheet{width:min(1120px,98vw)!important;height:min(760px,94dvh)!important;max-height:94dvh!important}
#ov-town.nht-market140 .sheet-b{display:flex;flex-direction:column;min-height:0;padding:12px;overflow:auto}
#ov-town.nht-market140 #town-box{min-height:0;flex:1}
#ov-town.nht-market140 #town-box[data-market140-mode=buy],#ov-town.nht-market140 #town-box[data-market140-mode=sell]{display:flex;flex-direction:column;overflow:hidden}
#ov-town.nht-market140 .tabs{flex-shrink:0;margin:0 0 8px!important;gap:6px}
#ov-town.nht-market140 .tabs .tab{min-height:34px;padding:6px 10px;touch-action:manipulation}
#ov-town.nht-market140 .nht-market-search{flex-shrink:0;margin:0 0 10px;gap:6px}
#ov-town.nht-market140 .nht-market-search input{min-width:100px;min-height:38px;margin:0}
#ov-town.nht-market140 .nht-market-search>span{font-size:10px}
#ov-town.nht-market140 #nht-shop-results{display:flex;flex-direction:column;min-height:0;flex:1}
#ov-town.nht-market140 .nht-seller-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;grid-auto-rows:max-content;flex:1;gap:10px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px;scrollbar-width:thin}
#ov-town.nht-market140 .nht-seller-row{box-sizing:border-box;aspect-ratio:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:8px;width:100%;min-width:0;min-height:0;padding:12px;text-align:left;overflow:hidden;background:linear-gradient(145deg,#33281c,#21190f);touch-action:manipulation}
#ov-town.nht-market140 .nht-seller-kind{align-self:flex-start;max-width:100%;padding:3px 7px;border:1px solid #76613e;border-radius:4px;font-size:10px;line-height:13px;color:#d3bc89;white-space:nowrap}
#ov-town.nht-market140 .tier3 .nht-seller-kind{color:#f3d581;border-color:#bf9440}
#ov-town.nht-market140 .tier2 .nht-seller-kind{color:#d8e6f1;border-color:#8399aa}
#ov-town.nht-market140 .nht-seller-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-height:0;min-width:0}
#ov-town.nht-market140 .nht-seller-label{font-size:11px;color:#c3b296}
#ov-town.nht-market140 .nht-seller-copy strong{font-size:14px;line-height:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;flex-shrink:0}
#ov-town.nht-market140 .nht-seller-pitch{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:15px;margin-top:3px;color:#c5baa5;min-height:0}
#ov-town.nht-market140 .nht-seller-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 5px;font-size:10px;line-height:13px;flex-shrink:0}
#ov-town.nht-market140 .nht-enter-shop{display:flex;align-items:center;justify-content:space-between;font-size:11px;line-height:14px;border-top:1px solid #5c482d;padding-top:5px;flex-shrink:0}
#ov-town.nht-market140 .nht-enter-shop>span{font-size:18px;line-height:14px;margin:0}
#ov-town.nht-market140 .nht-shop-pages{flex-shrink:0;gap:10px;padding:8px 0 0;font-size:12px;margin-top:auto}
#ov-town.nht-market140 .nht-shop-pages .mini{min-height:32px;padding:4px 12px}
#ov-town.nht-market140 .nht-shop-back{align-self:flex-start;margin:0 0 8px;min-height:32px}
#ov-town.nht-market140 .nht-open-shop{overflow:auto;min-height:0;padding:10px}
#ov-town.nht-market140 .nht-open-shop .nht-seller-items{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:7px}
#ov-town.nht-market140 [data-market140-mode=sell]>.note{margin:0 0 8px;font-size:12px;flex-shrink:0}
#ov-town.nht-market140 .sellbar{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;padding:8px;border:1px solid #78613c;border-radius:6px;background:#291f15}
#ov-town.nht-market140 .sellbar .input{width:120px;max-width:100%;min-width:0;min-height:36px;margin:0;box-sizing:border-box}
#ov-town.nht-market140 .sellbar #mk-price{flex:1;min-width:90px}
#ov-town.nht-market140 .sellbar #mk-cur{width:74px}
#ov-town.nht-market140 .sellbar #mk-go{min-height:36px;padding:5px 14px}
#ov-town.nht-market140 .sellbar label{display:flex;align-items:center;gap:5px;font-size:12px}
#ov-town.nht-market140 .nht-listing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:7px;align-content:start;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:2px;scrollbar-width:thin}
#ov-town.nht-market140 .nht-listing-item{box-sizing:border-box;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 7px;align-items:center;min-width:0;min-height:72px;padding:8px;background:#261e15;border:1px solid #6c5636;border-radius:6px;color:#dfcdab;text-align:left;cursor:pointer;touch-action:manipulation}
#ov-town.nht-market140 .nht-listing-item:hover,#ov-town.nht-market140 .nht-listing-item:focus-visible{outline:2px solid #d8b66b;outline-offset:-2px;background:#382b1d}
#ov-town.nht-market140 .nht-listing-item.sel{border-color:#ebc363;background:#47351c;box-shadow:inset 0 0 0 1px #ebc363}
#ov-town.nht-market140 .nht-listing-item .ic{width:42px;height:42px;min-width:0;grid-row:1/3;display:block;position:relative;margin:0}
#ov-town.nht-market140 .nht-listing-item .ic>img,#ov-town.nht-market140 .nht-listing-item .ic>canvas{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#ov-town.nht-market140 .nht-listing-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:16px;min-width:0}
#ov-town.nht-market140 .nht-listing-choice{font-size:10px;line-height:13px;color:#a89b84}
#ov-town.nht-market140 .sel .nht-listing-choice{color:#ffe5a2}
@media(max-width:900px){#ov-town.nht-market140 .nht-seller-row{padding:8px;gap:5px}#ov-town.nht-market140 .nht-seller-copy strong{font-size:12px;line-height:16px}#ov-town.nht-market140 .nht-seller-pitch{font-size:10px;line-height:13px}}
@media(max-width:700px) and (orientation:portrait){#ov-town.nht-market140 .nht-seller-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#ov-town.nht-market140 .nht-seller-row{padding:8px;gap:4px}#ov-town.nht-market140 .nht-seller-meta{font-size:9px;line-height:12px}#ov-town.nht-market140 .nht-seller-kind{padding:2px 5px;font-size:9px;line-height:12px}#ov-town.nht-market140 .nht-seller-label{font-size:10px}#ov-town.nht-market140 .nht-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ov-town.nht-market140 .nht-listing-item{grid-template-columns:34px minmax(0,1fr);gap:3px 5px;padding:6px}#ov-town.nht-market140 .nht-listing-item .ic{width:34px;height:34px}#ov-town.nht-market140 .nht-listing-name{font-size:11px;line-height:15px}}
@media(max-height:500px) and (orientation:landscape){#ov-town.nht-market140 .sheet-h{padding-top:6px;padding-bottom:6px}#ov-town.nht-market140 .sheet-b{padding:8px}#ov-town.nht-market140 .nht-market-search{margin-bottom:6px}#ov-town.nht-market140 .nht-market-search>span{display:none}#ov-town.nht-market140 .nht-seller-list{grid-template-columns:repeat(5,minmax(100px,1fr));gap:6px}#ov-town.nht-market140 .nht-seller-row{padding:7px;gap:3px}#ov-town.nht-market140 .nht-seller-kind,#ov-town.nht-market140 .nht-seller-pitch,#ov-town.nht-market140 .nht-seller-label{display:none}#ov-town.nht-market140 .nht-seller-meta{display:block;font-size:9px;line-height:12px}#ov-town.nht-market140 .nht-seller-meta>span{display:block}#ov-town.nht-market140 .nht-shop-pages{padding-top:5px}#ov-town.nht-market140 .nht-listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#ov-town.nht-market54.nht-market140>.sheet{height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important}#ov-town.nht-market140 .sheet-b{padding:8px}#ov-town.nht-market140 .tabs .tab{padding:4px 6px;font-size:12px}#ov-town.nht-market140 .nht-market-search{gap:3px}#ov-town.nht-market140 .nht-market-search>span{width:100%;font-size:9px}#ov-town.nht-market140 .nht-shop-pages{gap:7px;font-size:11px}#ov-town.nht-market140 .sellbar{padding:6px;gap:5px}#ov-town.nht-market140 .sellbar .input{font-size:16px}#ov-town.nht-market140 .sellbar #mk-go{padding:5px 10px}#ov-town.nht-market140 .sellbar #mk-cur{width:65px}}
