.market-view{padding-bottom:92px}.market-titlebar{gap:10px}.market-round-action{position:relative;width:44px;height:44px;border:1px solid #ddd;border-radius:50%;background:#fff;font-size:20px}.market-mini-badge{position:absolute;right:-4px;top:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e11d2e;color:#fff;font-size:11px;line-height:20px;font-weight:800}.market-warning{margin:12px 14px;padding:12px 14px;border:1px solid #e11d2e;border-radius:14px;background:#fff3f3;color:#b00020;font-size:13px;line-height:1.45;font-weight:700}.market-warning.compact{margin:12px 0}.market-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px 18px}.market-product-card{display:flex;min-width:0;flex-direction:column;border:1px solid #ececec;border-radius:16px;background:#fff;overflow:hidden;text-align:left;padding:0}.market-product-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f6f6f6;overflow:hidden}.market-product-image img{width:100%;height:100%;object-fit:cover}.market-product-copy{display:flex;flex-direction:column;gap:4px;padding:10px}.market-product-copy strong{font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.market-product-copy b{font-size:15px}.market-product-copy small{display:flex;gap:4px;flex-wrap:wrap;color:#666;font-size:11px}.market-stars{color:#ef9f00;letter-spacing:1px;white-space:nowrap}.market-story-button .story-folder-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7}.market-subscription{margin:14px;padding:16px;border:1px solid #ddd;border-radius:18px;background:#fff;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.market-subscription.active{border-color:#55a868;background:#f4fff5}.market-subscription-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#111;color:#fff;font-size:22px;font-weight:800}.market-subscription strong{font-size:17px}.market-subscription p{margin:5px 0;color:#444;line-height:1.4}.market-subscription small{color:#666}.market-subscription button{grid-column:1/-1}.market-profile-settings{margin:14px;padding:14px;border:1px solid #e8e8e8;border-radius:16px;background:#fff}.market-profile-settings .secondary-btn{margin-top:10px}.market-main-action{margin:0 14px 16px;width:calc(100% - 28px)}.market-my-list{display:flex;flex-direction:column;gap:9px;padding:0 12px 20px}.market-my-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e6e6e6;border-radius:14px;background:#fff;padding:8px}.market-my-image{display:grid;place-items:center;width:76px;height:76px;border-radius:10px;background:#f3f3f3;overflow:hidden}.market-my-image img{width:100%;height:100%;object-fit:contain}.market-my-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.market-my-copy strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.market-my-copy em{color:#b00020;font-size:12px}.market-my-card>button{border:0;background:transparent;color:#b00020;font-weight:700}.market-status{display:inline-flex;width:max-content;border-radius:999px;padding:3px 8px;background:#eee;font-size:11px;font-weight:700}.market-status.approved{background:#e7f8eb;color:#14752c}.market-status.pending{background:#fff4cf;color:#8b6500}.market-status.rejected{background:#ffe2e2;color:#a40000}.market-thread-list{display:flex;flex-direction:column}.market-thread-row{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:10px;align-items:center;border:0;border-bottom:1px solid #eee;background:#fff;padding:12px 14px;text-align:left}.market-thread-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.market-thread-copy strong,.market-thread-copy small,.market-thread-copy em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-thread-copy small{font-weight:700}.market-thread-copy em{font-style:normal;color:#666;font-size:12px}.market-thread-side{display:flex;align-items:flex-end;flex-direction:column;gap:5px}.market-thread-side small{color:#888;font-size:10px}.market-thread-side b{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#e11d2e;color:#fff;font-size:11px}.market-thread-side i{font-size:10px;color:#137b2b;font-style:normal}.market-chat-head>div{min-width:0}.market-chat-head h2,.market-chat-head p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-wait{margin:8px 12px;padding:12px;border-radius:12px;background:#fff7da;color:#725500;font-size:13px;line-height:1.4}.market-deal-card{margin:8px 12px;padding:12px;border:1px solid #e5e5e5;border-radius:14px;background:#fff}.market-deal-card>div:first-child{display:flex;justify-content:space-between;gap:10px}.market-deal-card p{color:#666;font-size:12px;line-height:1.4}.market-deal-card .primary-btn,.market-deal-card .secondary-btn{margin-top:8px}.market-completed{padding:10px;border-radius:10px;background:#e7f8eb;color:#14752c;font-weight:700}.market-chat-messages{height:calc(100vh - 390px);min-height:250px;padding-bottom:15px}.market-chat-quick{padding:8px 12px;background:#fff}.market-chat-quick .secondary-btn{width:100%}.market-composer{position:sticky;bottom:67px;z-index:4}.market-public-profile{display:flex;gap:14px;align-items:center;padding:18px 14px}.market-public-avatar{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#111;color:#fff;font-size:28px;overflow:hidden}.market-public-avatar img{width:100%;height:100%;object-fit:cover}.market-public-profile h2{margin:0 0 5px}.market-public-profile p{margin:0 0 4px}.market-review-list{display:flex;flex-direction:column;padding:0 14px 30px}.market-review{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;border-top:1px solid #eee;padding:12px 0}.market-review strong{margin-right:7px}.market-review p{margin:5px 0;white-space:pre-wrap;line-height:1.4}.market-review small{color:#888}.market-product-dialog{width:min(720px,calc(100vw - 18px));max-height:calc(100vh - 18px);padding:0;border:0;border-radius:20px;overflow:hidden}.market-product-dialog .detail-shell{display:flex;flex-direction:column;max-height:calc(100vh - 18px)}.market-detail-media{position:relative;display:grid;place-items:center;height:min(58vh,520px);background:#f6f6f6}.market-detail-media img{width:100%;height:100%;object-fit:contain}.market-detail-content{overflow:auto;padding:15px 18px 110px}.market-detail-content h2{margin:0 0 6px}.market-detail-price{display:block;font-size:21px;margin-bottom:10px}.market-seller-link{display:grid;width:100%;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;border:1px solid #e5e5e5;border-radius:14px;background:#fff;padding:8px;text-align:left}.market-seller-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#111;color:#fff;overflow:hidden}.market-seller-avatar img{width:100%;height:100%;object-fit:cover}.market-seller-link span:nth-child(2){display:flex;flex-direction:column}.market-detail-meta{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.market-detail-meta span{padding:5px 8px;border-radius:999px;background:#f0f0f0;font-size:12px}.market-detail-description{white-space:pre-wrap;line-height:1.55;color:#333}.market-product-dialog .detail-fixed-actions{position:absolute;left:0;right:0;bottom:0;padding:12px 18px;background:linear-gradient(transparent,#fff 20%,#fff)}.market-product-dialog .detail-fixed-actions .primary-btn{width:100%}.market-form-dialog,.market-review-dialog{width:min(700px,calc(100vw - 18px));max-height:calc(100vh - 18px)}.market-image-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:8px}.market-image-preview img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:9px;background:#eee}.market-legal-confirm{display:flex;gap:9px;align-items:flex-start;margin-top:14px;font-size:13px;line-height:1.4}.market-legal-confirm input{margin-top:3px}.market-rating-field{border:0;padding:0;margin:0 0 14px}.market-rating-field legend{font-weight:700;margin-bottom:8px}.market-rating-field button{border:0;background:transparent;color:#d39a00;font-size:36px;padding:0 3px}.market-moderation-list{padding:12px}.market-moderation-card{display:grid;grid-template-columns:minmax(150px,230px) minmax(0,1fr);gap:14px;border:1px solid #ddd;border-radius:16px;background:#fff;padding:12px;margin-bottom:12px}.market-moderation-images{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.market-moderation-images img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f3f3f3;border-radius:8px}.market-moderation-card h3{margin:0 0 7px}.market-moderation-card p{white-space:pre-wrap;line-height:1.4}.market-moderation-actions{display:flex;gap:8px}.market-moderation-actions button{flex:1}.market-moderation-count{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#e11d2e;color:#fff;padding:0 6px}
@media(min-width:700px){.market-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-subscription{grid-template-columns:auto 1fr auto}.market-subscription button{grid-column:auto}.market-product-card:hover{border-color:#bbb}.market-chat-messages{height:calc(100vh - 340px)}}
@media(max-width:520px){.market-moderation-card{grid-template-columns:1fr}.market-product-dialog .detail-shell{height:calc(100vh - 18px)}.market-detail-media{height:46vh}.market-detail-content{padding-bottom:100px}}

.market-payment-state{grid-column:1/-1;padding:11px 12px;border-radius:12px;background:#fff7da;color:#725500}.market-payment-state.ready{background:#eef7ff;color:#174f7b}.market-payment-state.reported{background:#f3f0ff;color:#4f3b84}.market-payment-state p{margin:0 0 4px}.market-payment-state small{color:inherit;opacity:.85}.market-payment-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.market-payment-actions button{width:100%}@media(max-width:520px){.market-payment-actions{grid-template-columns:1fr}}

.market-cancel-request{grid-column:1/-1;border:0;background:transparent;color:#b00020;font-weight:800;padding:8px 4px;text-decoration:underline}.market-my-actions{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.market-my-actions button{border:0;background:transparent;font-weight:800;padding:4px}.market-my-actions button:first-child{color:#1769aa}.market-my-actions button:last-child{color:#b00020}.market-instagram-link{display:inline-flex;margin-top:7px;color:#1769aa;font-weight:800;text-decoration:none}.market-instagram-link:hover{text-decoration:underline}@media(max-width:520px){.market-my-card{grid-template-columns:68px minmax(0,1fr)}.market-my-image{width:68px;height:68px}.market-my-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end}}

/* 1.2.6 seller trust, owner moderation, and manual-payment UX */
.market-payment-chat-note{margin:14px;padding:14px 16px;border:1px solid #d9e7ff;border-radius:16px;background:#f5f9ff;color:#153d66}.market-payment-chat-note strong{display:block;margin-bottom:5px}.market-payment-chat-note p{margin:0;font-size:13px;line-height:1.45}.market-chat-payment-hint{margin:6px 12px 8px;padding:9px 11px;border-radius:10px;background:#f4f4f4;color:#555;font-size:12px;line-height:1.4}.market-verified-inline,.market-unverified-inline{display:inline-flex;align-items:center;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800}.market-verified-inline{background:#e6f8eb;color:#14752c}.market-unverified-inline{background:#f1f1f1;color:#666}.market-verified-check,.market-profile-check{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#1877f2;color:#fff;font-style:normal;font-size:12px;vertical-align:middle}.market-verification-badge{display:inline-flex;width:max-content;margin:3px 0 7px;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.market-verification-badge.verified{background:#e7f8eb;color:#14752c}.market-verification-badge.unverified{background:#f0f0f0;color:#666}.market-rating-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%;margin:5px 0 8px;padding:8px 10px;border:1px solid #e8e8e8;border-radius:12px;background:#fff;text-align:left}.market-rating-summary>span:first-child{font-weight:800}.market-rating-summary small{width:100%;color:#666}.market-owner-seller-tools{margin:0 14px 16px;padding:14px;border:1px solid #d7e5ff;border-radius:15px;background:#f6f9ff}.market-owner-seller-tools>strong{display:block;margin-bottom:9px}.market-owner-seller-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.market-owner-seller-actions button{width:100%}.market-moderation-seller{display:block;margin:7px 0;border:0;background:transparent;color:#1769aa;font-weight:800;padding:0;text-align:left}.market-access-list{display:flex;flex-direction:column;gap:12px;padding:12px}.market-access-card{border:1px solid #ddd;border-radius:16px;background:#fff;padding:14px}.market-access-head{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center}.market-access-head>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:3px}.market-access-head small{color:#666}.market-access-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.market-access-actions .field-label,.market-access-actions input{grid-column:1/-1}.market-owner-notification{text-align:left;width:100%}.market-own-seller-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:calc(100% - 28px);margin:8px 14px 12px;padding:11px 13px;border:1px solid #e5e5e5;border-radius:14px;background:#fff;text-align:left}.market-own-seller-summary>span:first-child{display:flex;flex-direction:column;min-width:0}.market-own-seller-summary small{color:#666;margin-top:2px}.market-own-seller-summary b{font-size:12px;color:#555;white-space:nowrap}
@media(max-width:620px){.market-owner-seller-actions{grid-template-columns:1fr}.market-access-actions{grid-template-columns:1fr}.market-public-profile{align-items:flex-start}.market-own-seller-summary{flex-wrap:wrap}.market-own-seller-summary b{width:100%}}

/* v1.2.6: visible product submission feedback inside modal */
.market-form-status{margin:12px 0 2px;padding:12px 14px;border-radius:12px;font-weight:700;line-height:1.35;border:1px solid #d7d7d7;background:#f5f5f5;color:#222}
.market-form-status.info{background:#eef6ff;border-color:#9bc7f4;color:#173f68}
.market-form-status.success{background:#ecf9ef;border-color:#8dcea0;color:#155b2b}
.market-form-status.error{background:#fff0f1;border-color:#e69aa1;color:#8b1621}
.market-form-status.hidden{display:none}


/* v1.2.7 — subscriber products use the same complete product card as KiNo products */
.market-product-dialog{padding:0!important;overflow:hidden!important;background:#fff!important}
.market-product-dialog[open]{display:grid!important}
.market-product-dialog .market-detail-carousel{min-height:0;background:#f7f7f7}
.market-product-dialog .detail-slides,.market-product-dialog .detail-slide{min-width:0;min-height:0}
.market-product-dialog .detail-slide{padding:0!important;overflow:hidden;background:#f7f7f7}
.market-detail-image-button{display:grid;place-items:center;width:100%;height:100%;padding:12px;box-sizing:border-box;background:#f7f7f7}
.market-detail-image-button img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center}
.market-detail-no-photo{display:grid;place-items:center;width:100%;height:100%;color:#777;font-weight:700}
.market-product-dialog .market-product-detail-scroll{padding-top:18px}
.market-product-dialog .market-seller-link{margin:12px 0 8px}
.market-product-dialog .market-detail-meta{margin:10px 0}
.market-product-dialog .market-detail-description{display:block!important;max-height:none!important;overflow:visible!important;white-space:pre-wrap!important;line-height:1.62!important;margin:12px 0 22px!important;color:#333!important}
.market-product-dialog .product-detail-actions{z-index:4}
.market-product-dialog .detail-add-cart::before{content:'✉';font-size:20px}
@media(max-width:680px){
  .market-product-dialog{width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;grid-template-rows:minmax(260px,52dvh) minmax(0,48dvh)!important}
  .market-detail-image-button{padding:8px}
}
@media(min-width:681px){
  .market-product-dialog{width:min(96vw,760px)!important;height:min(96dvh,940px)!important;max-height:96dvh!important;grid-template-rows:minmax(340px,55%) minmax(0,45%)!important}
}

/* v1.2.8 — full subscriber media, seller product shelves, owner seller overview */
.market-product-dialog .market-detail-carousel{background:#f2f2f2!important}
.market-product-dialog .detail-slide{background:#f2f2f2!important}
.market-detail-image-button{position:relative;border:0;cursor:zoom-in!important;overflow:hidden!important}
.market-detail-image-button img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;background:#f2f2f2!important}
.market-image-zoom-hint{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.94);color:#111;font-size:27px;font-weight:900;box-shadow:0 2px 12px rgba(0,0,0,.22);pointer-events:none}
.market-detail-zoom{z-index:8}
.market-description-title{display:block;margin:0 0 9px;font-size:16px;color:#111}
.market-detail-description>div{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.market-product-dialog .product-detail-body{min-height:0!important;overflow:hidden!important}
.market-product-dialog .market-product-detail-scroll{min-height:0!important;overflow-y:auto!important;padding-bottom:32px!important;scrollbar-gutter:stable}
.market-image-zoom-dialog{z-index:1000000}
.market-image-zoom-dialog .image-zoom-image{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.market-profile-products-section{padding:4px 14px 18px;background:#fff;border-top:1px solid #eee}
.market-profile-products-section.hidden{display:none}
.market-profile-products-section .section-line{padding-left:0;padding-right:0}
.market-profile-products-grid{padding:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.market-own-profile-product .market-product-copy small{display:block;margin-top:4px}
.market-owner-sellers-list{display:flex;flex-direction:column;gap:14px;padding:14px}
.market-owner-seller-card{border:1px solid #ddd;border-radius:18px;background:#fff;padding:14px}
.market-owner-seller-head{display:grid;grid-template-columns:62px minmax(0,1fr);gap:12px;align-items:center}
.market-owner-seller-head .market-public-avatar{width:62px;height:62px}
.market-owner-seller-head h3{margin:0 0 4px}
.market-owner-seller-head>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.market-owner-subscription-status{margin-top:5px;font-size:13px}
.market-owner-subscription-status.active{color:#16833b}.market-owner-subscription-status.inactive{color:#9b1c1c}
.market-owner-seller-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.market-owner-seller-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.market-owner-seller-products>button{display:flex;min-width:0;flex-direction:column;align-items:stretch;border:1px solid #e2e2e2;border-radius:12px;background:#fff;padding:7px;text-align:left}
.market-owner-seller-products>button>span{display:grid;place-items:center;width:100%;aspect-ratio:1/1;background:#f3f3f3;border-radius:9px;overflow:hidden}
.market-owner-seller-products img{width:100%;height:100%;object-fit:contain}
.market-owner-seller-products strong{margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-owner-seller-products small{margin-top:3px;color:#666;line-height:1.35}
@media(max-width:680px){
  .market-product-dialog{grid-template-rows:minmax(220px,46dvh) minmax(0,54dvh)!important}
  .market-detail-image-button{padding:6px!important}
  .market-image-zoom-hint{right:9px;bottom:9px;width:38px;height:38px;font-size:24px}
  .market-profile-products-grid,.market-owner-seller-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:681px){
  .market-product-dialog{grid-template-rows:minmax(330px,50%) minmax(0,50%)!important}
}


/* v1.2.9 — show the original subscriber photo immediately and keep Buy visible */
.market-product-dialog{
  display:none!important;
  width:min(96vw,760px)!important;
  height:auto!important;
  max-height:96dvh!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  grid-template-rows:none!important;
  overscroll-behavior:contain;
  background:#fff!important;
}
.market-product-dialog[open]{display:block!important}
.market-product-dialog .market-detail-carousel{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  background:#f2f2f2!important;
}
.market-product-dialog .detail-slides{
  display:flex!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  align-items:flex-start!important;
}
.market-product-dialog .detail-slide{
  flex:0 0 100%!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  align-self:flex-start!important;
  overflow:hidden!important;
}
.market-product-dialog .market-detail-image-button{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  line-height:0!important;
  background:#f2f2f2!important;
}
.market-product-dialog .market-detail-image-button img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  clip-path:none!important;
}
.market-product-dialog .product-detail-body{
  display:block!important;
  min-height:0!important;
  overflow:visible!important;
}
.market-product-dialog .market-product-detail-scroll{
  display:block!important;
  overflow:visible!important;
  max-height:none!important;
  padding:18px 18px 22px!important;
}
.market-product-dialog .market-detail-description{
  display:block!important;
  max-height:none!important;
  overflow:visible!important;
  margin-bottom:12px!important;
}
.market-product-dialog .product-detail-actions{
  position:sticky!important;
  left:auto!important;
  right:auto!important;
  bottom:0!important;
  z-index:30!important;
  display:block!important;
  padding:12px 18px calc(14px + env(safe-area-inset-bottom,0px))!important;
  border-top:1px solid #e5e5e5!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 -8px 24px rgba(0,0,0,.10)!important;
}
.market-product-dialog #market-buy-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:54px!important;
  font-size:16px!important;
  font-weight:900!important;
}
@media(max-width:680px){
  .market-product-dialog{
    width:100%!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
  }
  .market-product-dialog .market-product-detail-scroll{padding:16px 14px 20px!important}
  .market-product-dialog .product-detail-actions{padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px))!important}
}

/* v1.3.0 — combined messages, buyer-only completion, owner blocking */
.market-main-thread-row{border-top:1px solid #eee}
.market-main-thread-row .conversation-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-waiting-buyer,.market-complete-hint{display:block;margin-top:8px;font-size:12px;color:#6b7280}
.market-owner-seller-actions .danger,.market-owner-seller-buttons .danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}

/* 1.3.3 seller and owner product controls */
.market-profile-product-card,.market-seller-product-card,.market-owner-product-card{min-width:0;border:1px solid #e7e7e7;border-radius:16px;background:#fff;overflow:hidden}
.market-profile-product-card>.market-product-card,.market-seller-product-card>.market-product-card{width:100%;border:0;border-radius:0}
.market-profile-product-actions{display:flex;gap:6px;padding:7px;border-top:1px solid #eee;background:#fff}
.market-profile-product-actions button{flex:1;min-height:34px;border:0;border-radius:9px;background:#f1f4f8;color:#1769aa;font-size:12px;font-weight:800}
.market-profile-product-actions button:last-child,.market-profile-product-actions.owner button{background:#fff0f0;color:#b00020}
.market-owner-seller-products>.market-owner-product-card{display:flex;min-width:0;flex-direction:column;align-items:stretch;border:1px solid #e2e2e2;border-radius:12px;background:#fff;overflow:hidden}
.market-owner-product-card>button:first-child{display:flex;min-width:0;flex:1;flex-direction:column;align-items:stretch;border:0;background:#fff;padding:7px;text-align:left}
.market-owner-product-card>button:first-child>span{display:grid;place-items:center;width:100%;aspect-ratio:1/1;background:#f3f3f3;border-radius:9px;overflow:hidden}
.market-owner-product-card img{width:100%;height:100%;object-fit:contain}
.market-owner-product-card strong{margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-owner-product-card small{margin-top:3px;color:#666;line-height:1.35}
.market-owner-delete-product{border:0;border-top:1px solid #eee;background:#fff0f0;color:#b00020;padding:9px 6px;font-size:12px;font-weight:800}
.market-owner-delete-product:disabled,.market-profile-product-actions button:disabled{opacity:.55}
