/* BrandAds online designers (v3.7.0) */

/* Product-page call to action */
.ba-dz { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 16px; align-items: center; margin: 0 0 18px; padding: 16px 18px; border: 2px dashed #c9d3ea; border-radius: 14px; background: linear-gradient(135deg, #f4f7ff, #fff7fb); }
.ba-dz__art { width: 56px; height: 56px; display: grid; place-items: center; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(20, 24, 58, .08); }
.ba-dz__h { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.3; }
.ba-dz__free { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: #e0218a; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.ba-dz__txt p { margin: 0; font-size: .9rem; color: #4a5568; }
.ba-dz__btn { white-space: nowrap; }
.ba-dz__result { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: .88rem; color: #1e6b3a; }
.ba-dz__result[hidden] { display: none; }
.ba-dz__result img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid #dfe5ef; border-radius: 8px; }
.ba-dz.is-done { border-style: solid; border-color: #9fd3b2; background: #f3fbf6; }
@media (max-width: 640px) {
	.ba-dz { grid-template-columns: auto 1fr; }
	.ba-dz__btn { grid-column: 1 / -1; width: 100%; }
}

/* Dialog */
html.bad-lock, html.bad-lock body { overflow: hidden; }
.bad { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(12, 16, 38, .62); }
.bad.is-open { display: flex; }
.bad__box { display: flex; flex-direction: column; width: min(1180px, 100%); height: min(820px, 100%); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.bad__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #e6e9f0; }
.bad__head strong { display: block; font-size: 1.05rem; }
.bad__head span { display: block; font-size: .82rem; color: #6b7385; }
.bad__x { width: 40px; height: 40px; border: 0; border-radius: 10px; background: #f1f3f8; font-size: 26px; line-height: 1; cursor: pointer; color: #222; }
.bad__x:hover { background: #e3e7f0; }
.bad__body { flex: 1; display: grid; grid-template-columns: 1fr 380px; min-height: 0; }
.bad__stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 14px 18px; background: #eef1f6; }
.bad__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bad__tabs button { padding: 8px 14px; border: 1px solid #d4d9e4; border-radius: 99px; background: #fff; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; color: #333a4a; }
.bad__tabs button.is-on { background: var(--ba-primary, #233e91); border-color: var(--ba-primary, #233e91); color: #fff; }
.bad__tabs .bad__again { margin-left: auto; background: transparent; border-style: dashed; }
.bad__tabs .bad__again[hidden] { display: none; }
.bad__view { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bad__view > svg, .bad__view > div { max-width: 100%; max-height: 100%; }
.bad__cap { margin: 8px 0 0; font-size: .8rem; color: #5b6475; text-align: center; }
.bad-paper { width: 100%; height: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 10px 30px rgba(30, 30, 50, .18); background: #fbfaf5; }
.bad-proof { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 24px; background: #fff; border-radius: 8px; background-image: linear-gradient(45deg, #f6f7fa 25%, transparent 25%, transparent 75%, #f6f7fa 75%), linear-gradient(45deg, #f6f7fa 25%, transparent 25%, transparent 75%, #f6f7fa 75%); background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.bad-proof svg { width: auto; height: auto; max-width: 92%; max-height: 92%; min-width: 50%; }
.bad-empty { padding: 40px; color: #6b7385; text-align: center; }

/* Panel */
.bad__panel { overflow-y: auto; padding: 14px 18px 24px; border-left: 1px solid #e6e9f0; }
.bad-f { margin: 0 0 12px; }
.bad-f[hidden], .bad-chk[hidden], .bad__panel [hidden] { display: none !important; }
.bad-f__l { display: block; margin: 0 0 5px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #4b5366; }
.bad-f__l small { text-transform: none; font-weight: 400; letter-spacing: 0; }
.bad-f__v { display: block; margin-top: 4px; font-size: .82rem; color: #5b6475; }
.bad-f .ba-input { width: 100%; }
.bad-f textarea.ba-input { resize: vertical; min-height: 70px; }
.bad-f input[type=range] { width: 100%; accent-color: var(--ba-primary, #233e91); }
.bad-f input[type=color] { width: 40px; height: 30px; margin-top: 6px; padding: 0; border: 1px solid #d4d9e4; border-radius: 6px; background: #fff; cursor: pointer; }
.bad-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.bad-seg label { position: relative; flex: 1 1 auto; cursor: pointer; }
.bad-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bad-seg span { display: block; padding: 8px 10px; border: 1px solid #d4d9e4; border-radius: 8px; background: #fff; font-size: .84rem; font-weight: 600; text-align: center; white-space: nowrap; }
.bad-seg input:checked + span { border-color: var(--ba-primary, #233e91); background: #eef2ff; color: var(--ba-primary, #233e91); box-shadow: inset 0 0 0 1px var(--ba-primary, #233e91); }
.bad-seg input:focus-visible + span { outline: 2px solid #e0218a; outline-offset: 2px; }
.bad-sw { display: flex; flex-wrap: wrap; gap: 7px; }
.bad-sw label { position: relative; cursor: pointer; }
.bad-sw input { position: absolute; opacity: 0; pointer-events: none; }
.bad-sw span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 2px #fff; }
.bad-sw input:checked + span { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ba-primary, #233e91); }
.bad-sw input:focus-visible + span { outline: 2px solid #e0218a; outline-offset: 2px; }
.bad-row2 { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; }
.bad-chk { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; cursor: pointer; }
.bad-chk input { accent-color: var(--ba-primary, #233e91); width: 16px; height: 16px; }
.bad-file { display: block; margin: 0 0 8px; cursor: pointer; }
.bad-file span { display: block; padding: 10px 12px; border: 2px dashed #b9c4dd; border-radius: 10px; background: #f7f9fe; font-size: .86rem; font-weight: 600; text-align: center; color: var(--ba-primary, #233e91); }
.bad-file:hover span { background: #eef2ff; }
.bad-file:focus-within span { outline: 2px solid #e0218a; outline-offset: 2px; }
.bad-hint { margin: 0 0 12px; font-size: .8rem; color: #6b7385; }
.bad-link { padding: 0; border: 0; background: none; font: inherit; font-size: .82rem; color: var(--ba-primary, #233e91); text-decoration: underline; cursor: pointer; }
.bad-checks { margin: 4px 0 10px; padding: 0; list-style: none; font-size: .82rem; }
.bad-checks li { margin: 0 0 6px; padding: 7px 10px; border-radius: 8px; }
.bad-checks .is-ok { background: #edf8f1; color: #1e6b3a; }
.bad-checks .is-warn { background: #fff6e5; color: #8a5300; }
.bad-checks .is-info { background: #eef3fb; color: #2b4a7e; }
.bad-add { display: flex; gap: 8px; align-items: stretch; margin: 4px 0 8px; }
.bad-add .bad-file { flex: 1; margin: 0; }
.bad-btn-sm { padding: 8px 12px; font-size: .86rem; }
.bad-layers { margin: 0 0 12px; padding: 0; list-style: none; border: 1px solid #e3e7f0; border-radius: 10px; overflow: hidden; }
.bad-layers li { display: flex; border-top: 1px solid #e3e7f0; }
.bad-layers li:first-child { border-top: 0; }
.bad-layers li.is-sel { background: #fdf0f7; }
.bad-layers button { padding: 8px 10px; border: 0; background: none; font: inherit; font-size: .84rem; cursor: pointer; }
.bad-layers button:first-child { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bad-props { padding: 12px; border: 1px solid #f3c1dc; border-radius: 10px; background: #fffafd; }
.bad-props > strong { display: block; margin-bottom: 8px; font-size: .86rem; }

/* Footer */
.bad__foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid #e6e9f0; }
.bad__msg { flex: 1; font-size: .86rem; color: #1e6b3a; }
.bad__msg.is-warn { color: #a14b00; }
.bad__foot .ba-btn[disabled] { opacity: .6; pointer-events: none; }

/* Business card mockup */
.bad-desk { position: relative; width: 100%; height: 100%; min-height: 300px; border-radius: 10px; background: radial-gradient(ellipse at 30% 20%, #f7f2ea, #d9d1c3); overflow: hidden; }
.bad-card { position: absolute; width: 56%; aspect-ratio: 85 / 55; filter: drop-shadow(0 14px 18px rgba(40, 30, 20, .28)) drop-shadow(0 2px 3px rgba(40, 30, 20, .25)); }
.bad-desk.is-square .bad-card { width: 40%; aspect-ratio: 1; }
.bad-card svg { display: block; width: 100%; height: 100%; }
.bad-card--front { left: 26%; top: 30%; transform: rotate(-5deg); }
.bad-card--back { left: 14%; top: 10%; transform: rotate(7deg); }
.bad-desk.is-single .bad-card--front { left: 22%; top: 20%; }
.bad-desk--pvc .bad-card { filter: drop-shadow(0 14px 18px rgba(40, 30, 20, .32)) drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.bad-flat { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; width: 100%; }
.bad-flat figure { margin: 0; flex: 1 1 300px; max-width: 460px; }
.bad-flat figcaption { margin-bottom: 6px; font-size: .78rem; font-weight: 700; color: #5b6475; text-transform: uppercase; }
.bad-flat svg { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 4px 16px rgba(20, 24, 58, .12); }

/* Apparel */
.bad-garment { width: auto; height: 100%; max-width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }

@media (max-width: 860px) {
	.bad { padding: 0; }
	.bad__box { height: 100%; border-radius: 0; }
	.bad__body { grid-template-columns: 1fr; grid-template-rows: minmax(260px, 46vh) 1fr; }
	.bad__panel { border-left: 0; border-top: 1px solid #e6e9f0; }
	.bad__stage { padding: 10px; }
	.bad__foot { flex-wrap: wrap; }
	.bad__msg { flex-basis: 100%; }
	.bad__foot .ba-btn { flex: 1; }
	.bad-card { width: 66%; }
	.bad-card--front { left: 22%; top: 34%; }
	.bad-card--back { left: 8%; top: 8%; }
}

/* v3.7.0 b: readouts, date block, drinkware */
.bad-f__o { float: right; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ba-primary, #233e91); }
.bad-date { margin: 4px 0 12px; padding: 10px 12px; border: 1px solid #e3e7f0; border-radius: 10px; background: #fafbfd; }
.bad-date.is-on { border-color: #c9d3ea; background: #f4f7ff; }
.bad-date > .bad-chk { font-weight: 600; margin-bottom: 8px; }
.bad-drink { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; width: 100%; height: 100%; }
.bad-drink__mock { min-height: 0; display: flex; align-items: center; justify-content: center; }
.bad-drink__mock canvas { width: auto; height: 100%; max-width: 100%; aspect-ratio: 1; border-radius: 10px; box-shadow: 0 6px 24px rgba(20, 24, 58, .12); }
.bad-drink__flat { padding: 8px 10px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(20, 24, 58, .08); }
.bad-drink__lab { display: block; margin-bottom: 6px; font-size: .76rem; color: #5b6475; }
.bad-drink__flat svg { display: block; width: 100%; height: auto; max-height: 150px; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 4px; }
.bad-garment { filter: none; }
@media (max-width: 860px) {
	.bad-drink__flat svg { max-height: 110px; }
}

/* v3.8.0 — pro scenes */
.bad-scene { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; min-height: 0; }
.bad-scene canvas { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 6px 24px rgba(20, 24, 58, .12); background: #e9ecf1; }
.bad-scene canvas.is-sq { width: auto; max-width: 100%; aspect-ratio: 1; align-self: center; }
.bad-scene__bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bad-scene__bar[hidden] { display: none; }
.bad-scene__bar button { padding: 6px 12px; border: 1px solid #d4d9e4; border-radius: 99px; background: #fff; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; color: #333a4a; }
.bad-scene__bar button.is-on { background: #14213d; border-color: #14213d; color: #fff; }
.bad-scene__lab { min-width: 120px; font-size: .86rem; font-weight: 700; text-align: center; }
.bad-flatedit { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: auto; }
.bad-flatedit svg { display: block; width: 100%; max-width: 100%; max-height: 100%; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 6px 18px rgba(20, 24, 58, .14)); }
.bad-flatedit.is-tall svg { width: auto; height: 100%; }
.bad-flatedit.is-strip svg { width: 100%; height: auto; }
.bad-tpls { display: flex; flex-wrap: wrap; gap: 6px; }
.bad-tpls button { flex: 1 1 auto; padding: 8px 10px; border: 1px solid #d4d9e4; border-radius: 8px; background: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.bad-tpls button.is-on { border-color: #e0218a; background: #fdf0f7; color: #a0125e; }
.bad-add2 { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.bad-add2:empty { display: none; }
.bad-add2 button { padding: 6px 10px; border: 1px dashed #b9c4dd; border-radius: 8px; background: #f7f9fe; font: inherit; font-size: .8rem; font-weight: 600; color: #233e91; cursor: pointer; }
.bad-sw__none { background: linear-gradient(45deg, #fff 45%, #e0218a 45%, #e0218a 55%, #fff 55%) !important; }
.bad-num { width: 110px !important; display: inline-block; }
.bad-hint--side { padding: 6px 10px; border-radius: 8px; background: #f4f7ff; }
.bad-flags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; max-height: 260px; overflow: auto; margin-top: 8px; padding: 2px; }
.bad-flag { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid #e3e7f0; border-radius: 8px; background: #fff; font: inherit; font-size: .78rem; text-align: left; cursor: pointer; }
.bad-flag img { width: 30px; height: 20px; object-fit: contain; background: #f3f4f6; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); flex: none; }
.bad-flag__c { width: 30px; text-align: center; font-size: 1rem; }
.bad-flag.is-on { border-color: #233e91; background: #eef2ff; font-weight: 700; }

/* 3D cards */
.bad-3dhost { flex: 1; min-height: 0; width: 100%; height: 100%; display: flex; }
.b3d { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; perspective: 1400px; border-radius: 10px; background: radial-gradient(ellipse at 50% 35%, #fbfbfc, #cfd4dc); cursor: grab; touch-action: pan-y; user-select: none; overflow: hidden; }
.b3d.is-drag { cursor: grabbing; }
.b3d__card { position: relative; transform-style: preserve-3d; will-change: transform; }
.b3d__face, .b3d__card b { position: absolute; inset: 0; border-radius: var(--r, 12px); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.b3d__card b { backface-visibility: visible; background: var(--edge, #f2f2f0); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.b3d__face img { display: block; width: 100%; height: 100%; pointer-events: none; }
.b3d__face { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.b3d__face i { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, 0) 60%); background-size: 300% 300%; mix-blend-mode: screen; opacity: .5; pointer-events: none; }
.b3d--gloss .b3d__face i { opacity: 1; }
.b3d__back.is-blank img { opacity: 0; }
.b3d__back.is-blank { background: #f7f7f5; }
.b3d__shadow { position: absolute; left: 50%; bottom: 13%; width: 320px; height: 28px; border-radius: 50%; background: radial-gradient(ellipse, rgba(20, 24, 40, .35), rgba(20, 24, 40, 0) 70%); transform: translateX(-50%); }
.b3d--hang .b3d__card { margin-top: 70px; }
.b3d__lan { position: absolute; top: 0; left: 50%; width: 120px; height: 150px; transform: translateX(-50%); background:
	linear-gradient(var(--lan, #233e91), var(--lan, #233e91)) 18px 0 / 22px 82% no-repeat,
	linear-gradient(var(--lan, #233e91), var(--lan, #233e91)) 80px 0 / 22px 82% no-repeat; }
.b3d__lan::before { content: ''; position: absolute; left: 50%; top: 76%; width: 30px; height: 26px; transform: translateX(-50%); border-radius: 6px; background: linear-gradient(90deg, #8d9298, #eef0f2 40%, #a7acb2 60%, #6f747a); }
.b3d__lan::after { content: ''; position: absolute; left: 50%; top: 92%; width: 18px; height: 26px; transform: translateX(-50%); border: 5px solid #b6bbc1; border-radius: 10px; box-sizing: border-box; }
.b3d__hint { position: absolute; bottom: 10px; left: 0; right: 0; margin: 0; text-align: center; font-size: .76rem; color: #6b7385; pointer-events: none; }

/* 360° garments */
.bad-spin { position: relative; flex: 1; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; perspective: 1600px; cursor: grab; touch-action: pan-y; user-select: none; }
.bad-spin__card { position: relative; width: min(100%, 560px); aspect-ratio: 600 / 640; max-height: 100%; transform-style: preserve-3d; }
.bad-spin__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bad-spin__face svg { width: 100%; height: 100%; display: block; }
.bad-spin__b { transform: rotateY(180deg); }
.bad-spin__shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 55%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .06) 70%); }
@media (max-width: 860px) {
	.bad-flags { grid-template-columns: 1fr 1fr; max-height: 200px; }
	.b3d__shadow { width: 220px; }
}
@media (max-width: 860px) {
	.bad-drink { grid-template-rows: minmax(180px, 1fr) auto; gap: 6px; }
	.bad-drink__lab { display: none; }
	.bad-drink__flat { padding: 4px 6px; }
	.bad-drink__flat svg { max-height: 70px; }
	.b3d--hang .b3d__card { margin-top: 90px; }
	.b3d__lan { transform: translateX(-50%) scale(.8); transform-origin: top center; }
}

/* v3.9.1 stamp: see the stamp, see what it prints */
.bad-model { width: 100%; max-height: 100%; overflow: auto; background: #fff; border: 1px solid #e6e3ef; border-radius: 14px; padding: 12px 16px; box-shadow: 0 6px 24px rgba(40, 30, 80, .06); }
.bad-model__head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5b5872; border-bottom: 1px solid #eeecf3; padding-bottom: 10px; }
.bad-model__head em { font-style: normal; letter-spacing: 0; background: #f3f1f8; border-radius: 99px; padding: 3px 10px; color: #444; }
.bad-model__name { margin: 10px 0 0; font-size: 1.15rem; line-height: 1.25; color: #1d1a2e; }
.bad-model__sub { margin: 0 0 8px; color: #6a6780; font-size: .9rem; }
.bad-model__pair { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.bad-model__pair figure { margin: 0; border: 1px solid #ebe8f2; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.bad-model__pair figcaption { background: #f6f4fb; text-align: center; font-weight: 700; font-size: .85rem; padding: 7px; color: #3a3550; }
.bad-model__pair figure > div { flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px; min-height: 150px; background: radial-gradient(circle at 50% 40%, #fff 0, #f4f5f8 100%); }
.bad-model__pair svg { width: 100%; height: auto; max-height: 200px; }
.bad-model__imp { background: #fff !important; }
.bad-model__imp svg { max-width: 92%; }
.bad-model__desc { margin: 8px 2px; font-size: .88rem; color: #3f3c52; }
.bad-model__nav { display: flex; align-items: center; gap: 8px; }
.bad-model__nav > button { flex: none; border: 0; background: none; color: #6b3fa0; font-weight: 600; cursor: pointer; padding: 6px 4px; font-size: .85rem; }
.bad-model__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; flex: 1; }
.bad-model__t { flex: none; width: 66px; border: 1.5px solid #e4e1ec; border-radius: 10px; background: #fff; padding: 4px 2px 2px; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.bad-model__t svg { width: 58px; height: 62px; }
.bad-model__t small { font-size: 10px; color: #555; line-height: 1.2; }
.bad-model__t.is-on { border-color: #6b3fa0; box-shadow: 0 0 0 2px rgba(107, 63, 160, .18); }
.bad-sheet { width: 100%; max-height: 100%; background: #fff; border-radius: 6px; box-shadow: 0 8px 26px rgba(40, 30, 80, .12); padding: 14px 18px 10px; display: flex; flex-direction: column; }
.bad-sheet__h { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #77738a; padding-bottom: 6px; }
.bad-sheet__a { flex: 1; min-height: 0; border: 1.5px dashed #d5d1e0; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 18px; }
.bad-sheet__a svg { max-width: 86%; max-height: 380px; width: auto; height: auto; min-width: 40%; }
.bad-sheet__d { display: flex; justify-content: center; padding-top: 8px; font-size: 12.5px; color: #555; }
.bad-sheet__d span + span { border-left: 1px solid #ccc; margin-left: 10px; padding-left: 10px; }
.bad-hist { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 10px; font-size: 12px; color: #77738a; }
.bad-hist span { margin-right: auto; }
.bad-hist button { border: 1px solid #ddd9e6; background: #fff; border-radius: 8px; padding: 5px 12px; font-weight: 600; cursor: pointer; }
.bad-fs { display: grid; gap: 6px; }
.bad-fs__r { display: grid; grid-template-columns: 1fr auto 70px auto auto; align-items: center; gap: 4px; }
.bad-fs__r[hidden] { display: none; }
.bad-fs__l { font-size: 12.5px; color: #333; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bad-fs__r > button { border: 1px solid #ddd9e6; background: #fff; border-radius: 8px; min-width: 34px; height: 32px; font-weight: 700; color: #4a2f7a; cursor: pointer; }
.bad-fs__r b { text-align: center; font-size: 12.5px; border: 1px solid #e4e1ec; border-radius: 8px; padding: 6px 2px; }
.bad-fs__r .bad-fs__auto { font-weight: 500; font-size: 11px; color: #888; min-width: 40px; visibility: hidden; }
.bad-fs__r.is-fixed .bad-fs__auto { visibility: visible; }
@media (max-width: 640px) { .bad-model { padding: 10px; } .bad-model__pair { gap: 8px; } .bad-model__pair figure > div { min-height: 110px; padding: 4px; } .bad-model__pair svg { max-height: 140px; } .bad-model__desc, .bad-model__head span { display: none; } .bad-model__name { font-size: 1rem; margin-top: 4px; } .bad-model__nav > button { display: none; } }
.bad-model__photo { width: 100%; height: 100%; max-height: 220px; object-fit: contain; }
.bad-model__t img { width: 58px; height: 62px; object-fit: contain; }
.bad-flagreg { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.bad-flagreg button { border: 1px solid #dde2ea; background: #fff; border-radius: 99px; padding: 5px 12px; font-size: .8rem; font-weight: 600; cursor: pointer; }
.bad-flagreg button.is-on { background: #1f3b8f; border-color: #1f3b8f; color: #fff; }
.bad-digi { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.bad-digi svg { width: 120px; height: 150px; }
.bad-digi b { font-size: .95rem; color: #1d1a2e; }
.bad-digi small { font-size: .78rem; color: #6a6780; max-width: 200px; }
