.merchant-dialog{width:min(680px,96vw);max-height:90dvh;overflow:auto;background:var(--jt-surface,#fff8e9);color:var(--jt-text,#624a2e);border:1px solid var(--jt-line,#b68b49);border-radius:12px;padding:15px;font:16px/1.6 system-ui}.merchant-dialog::backdrop{background:#241a1666}.merchant-dialog header{display:flex;justify-content:space-between;align-items:center}.merchant-dialog h2{font-size:19px;margin:0}.merchant-dialog button{font:inherit;padding:8px 13px;border:1px solid var(--jt-line,#d8bd8e);background:var(--jt-soft,#f3dcaf);border-radius:7px;color:var(--jt-text,#624a2e);cursor:pointer}.merchant-dialog input,.merchant-dialog select{font:inherit;font-size:16px;width:100%;padding:10px;border:1px solid var(--jt-line,#d8bd8e);border-radius:7px;background:var(--jt-surface,white);margin:8px 0}.merchant-dialog img.voucher-qr{display:block;width:220px;max-width:80%;margin:auto}.voucher-code{font:700 16px monospace;overflow-wrap:anywhere;text-align:center;color:var(--jt-text,#111)}.merchant-error{color:#b33;white-space:pre-wrap}.merchant-row{border-bottom:1px solid var(--jt-line,#e6d1b1);padding:10px 0}.merchant-entry{margin:7px 4px;padding:8px 12px;background:var(--jt-soft,#f3dcaf);border:1px solid var(--jt-line,#d4b27b);border-radius:7px}.jh-exterior-frame{position:relative!important;overflow:visible!important;margin:34px 30px!important;width:calc(100% - 60px)!important;isolation:isolate}.jh-exterior-frame::after{content:'';position:absolute;inset:-26px;pointer-events:none;z-index:2;border:40px solid transparent;border-image-source:var(--jh-outer-image);border-image-slice:var(--jh-outer-slice,150 200);border-image-width:40px;border-image-outset:0;border-image-repeat:stretch}.jh-exterior-frame.jh-frame{box-shadow:none!important;outline:none!important}.wardrobe-preview.jh-exterior-frame{min-height:95px}.postList:has(.jh-exterior-frame){overflow:visible}.premium-badge{font-size:10px;color:var(--jt-muted,#ae7b26)}

.jh-exterior-frame::after{border-width:26px;border-image-width:26px;border-radius:0;background:none!important;opacity:1!important;animation:none!important}.jh-exterior-frame{border-color:transparent!important}.wardrobe-product-art .jh-exterior-frame,.art .jh-exterior-frame{margin:15px!important;width:calc(100% - 30px)!important}.wardrobe-product-art .jh-exterior-frame::after,.art .jh-exterior-frame::after{inset:-12px;border-width:12px;border-image-width:12px}.voucher-code{user-select:all}

/* premium54: top and bottom stretch independently; side rails never consume text width. */
.jh-exterior-frame{margin:52px 3px!important;width:calc(100% - 6px)!important;border-left:2px solid var(--jh-custom-edge,var(--jt-line,#cda65b))!important;border-right:2px solid var(--jh-custom-edge,var(--jt-line,#cda65b))!important;border-radius:4px!important}
.jh-exterior-frame::before{display:none!important}
.jh-exterior-frame::after{inset:-46px -2px!important;border:46px solid transparent!important;border-left-width:0!important;border-right-width:0!important;border-image-slice:var(--jh-outer-slice,25% 0 25% 0)!important;border-image-width:46px 0!important;border-image-repeat:stretch!important;background:none!important;animation:none!important;box-shadow:none!important;transform:none!important}
.wardrobe-product-art .jh-exterior-frame,.art .jh-exterior-frame{margin:12px 2px!important;width:calc(100% - 4px)!important;min-height:22px!important;height:22px!important}
.wardrobe-product-art .jh-exterior-frame::after,.art .jh-exterior-frame::after{inset:-12px -2px!important;border-top-width:12px!important;border-bottom-width:12px!important;border-image-width:12px 0!important}
.jh-coupon-logo{display:inline-grid!important;place-items:center;position:relative;width:48px;height:32px;border:1px dashed #fff9;border-radius:6px;background:linear-gradient(135deg,#f4be57,#c57129);box-shadow:0 2px 5px rgb(var(--jt-shadow-rgb,35 48 68) / 0.2);color:white!important;font:bold 23px/1 system-ui!important}
.jh-coupon-logo::before,.jh-coupon-logo::after{content:'';position:absolute;top:12px;width:8px;height:8px;background:var(--jt-surface,#fff8e9);border-radius:50%}.jh-coupon-logo::before{left:-5px}.jh-coupon-logo::after{right:-5px}

/* frames55: two separate image panels, no border-image dependency or side ornaments. */
.jh-exterior-frame{--jh-panel-height:48px;margin:54px 3px!important;width:calc(100% - 6px)!important;border-left:2px solid var(--jh-custom-edge,var(--jt-line,#d4ac55))!important;border-right:2px solid var(--jh-custom-edge,var(--jt-line,#d4ac55))!important;border-top:0!important;border-bottom:0!important;overflow:visible!important}
.jh-exterior-frame::before,.jh-exterior-frame::after{content:''!important;display:block!important;position:absolute!important;left:-2px!important;right:-2px!important;width:auto!important;height:var(--jh-panel-height)!important;min-height:0!important;bottom:auto!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background-color:transparent!important;background-image:var(--jh-outer-image)!important;background-repeat:no-repeat!important;opacity:1!important;animation:none!important;transform:none!important;pointer-events:none!important;z-index:2!important;filter:none!important}
.jh-exterior-frame::before{top:calc(-1 * var(--jh-panel-height))!important;background-size:100% var(--jh-outer-top-size,400%)!important;background-position:center top!important}
.jh-exterior-frame::after{top:100%!important;background-size:100% var(--jh-outer-bottom-size,400%)!important;background-position:center bottom!important}
.wardrobe-product-art .jh-exterior-frame,.art .jh-exterior-frame{--jh-panel-height:15px;margin:17px 2px!important;width:calc(100% - 4px)!important;min-height:19px!important;height:19px!important;padding:0!important;font-size:11px!important}
.wardrobe-product{min-width:0}.wardrobe-product>small{white-space:nowrap;font-size:9px!important;letter-spacing:-.2px}.wardrobe-product-art:has(.jh-exterior-frame){min-height:55px}

/* frames56: flush rails overlap the card edge; compact mobile decorations. */
.jh-exterior-frame{--jh-panel-height:36px;margin:34px 3px!important;border-top:1px solid var(--jt-line,#d4ac55)!important;border-bottom:1px solid var(--jt-line,#d4ac55)!important;background:var(--jt-surface,#fff9ec)!important;box-shadow:inset 0 0 12px rgb(var(--jt-shadow-rgb,35 48 68) / 0.094)!important;border-radius:4px!important}
.jh-exterior-frame::before{top:calc(8px - var(--jh-panel-height))!important}
.jh-exterior-frame::after{top:calc(100% - 8px)!important}
.wardrobe-product-art .jh-exterior-frame,.art .jh-exterior-frame{--jh-panel-height:13px;margin:10px 2px!important}
.wardrobe-product-art .jh-exterior-frame::before,.art .jh-exterior-frame::before{top:calc(3px - var(--jh-panel-height))!important}
.wardrobe-product-art .jh-exterior-frame::after,.art .jh-exterior-frame::after{top:calc(100% - 3px)!important}

/* studio57: independent panels share the studio canvas's exact text-boundary anchors. */
.jh-exterior-frame::before{top:calc(var(--jh-top-overlap,8px) - var(--jh-panel-height))!important}
.jh-exterior-frame::after{top:calc(100% - var(--jh-bottom-overlap,8px))!important}
.jh-four-panel{border-top:0!important;border-bottom:0!important;border-left:var(--jh-part-side-width,4px) solid var(--jh-part-left-line,var(--jt-line,#d4ac55))!important;border-right:var(--jh-part-side-width,4px) solid var(--jh-part-right-line,var(--jt-line,#d4ac55))!important;margin-top:calc(var(--jh-part-top-height,36px) + 5px)!important;margin-bottom:calc(var(--jh-part-bottom-height,36px) + 5px)!important;background-color:var(--jt-surface,#fff9ec)!important;background-image:var(--jh-part-left,none),var(--jh-part-right,none)!important;background-position:left center,right center!important;background-repeat:no-repeat!important;background-size:var(--jh-part-side-width,4px) 100%,var(--jh-part-side-width,4px) 100%!important;background-origin:border-box!important}
.jh-four-panel::before,.jh-four-panel::after{left:calc(-1 * var(--jh-part-side-width,4px))!important;right:calc(-1 * var(--jh-part-side-width,4px))!important;background-size:100% 100%!important}
.jh-four-panel::before{height:var(--jh-part-top-height,36px)!important;top:calc(-1 * var(--jh-part-top-height,36px))!important;background-image:var(--jh-part-top,none)!important}
.jh-four-panel::after{height:var(--jh-part-bottom-height,36px)!important;top:100%!important;background-image:var(--jh-part-bottom,none)!important}
.wardrobe-product-art .jh-four-panel,.art .jh-four-panel{--jh-part-top-height:12px!important;--jh-part-bottom-height:12px!important;--jh-part-side-width:2px!important}

.wardrobe-preview.jh-exterior-frame:not(.jh-scene-frame){padding-top:28px!important;padding-bottom:28px!important}
