html,body{margin:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;touch-action:pan-y;background:#121722;color:#eef0f7}
html body #lz-preview-fit,html body #lz-simple{position:relative!important;left:0!important;top:0!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important}
html body #lz-simple *{box-sizing:border-box;min-width:0;max-width:100%}
html body #lz-simple .lz-app,html body #lz-simple #lz-program{width:100%!important;height:auto!important;min-height:0!important;padding:10px!important;display:block!important}
html body #lz-simple #lz-settings-area{width:100%!important;display:block!important;min-height:0!important}
html body #lz-simple .lz-page{min-height:0!important;height:auto!important;padding:12px 0!important;display:block!important}
html body #lz-simple .lz-characters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body #lz-simple .lz-character{padding:9px!important;min-width:0!important;border:0!important}
html body #lz-simple .lz-character-name{font-size:16px!important;white-space:normal!important;overflow-wrap:anywhere}
html body #lz-simple .lz-character-top{flex-wrap:wrap!important}.lz-placement{min-height:32px!important}
html body #lz-simple .lz-char-job,html body #lz-simple .lz-char-role{font-size:12px!important;white-space:normal!important}
html body #lz-simple .lz-vital-meter{height:22px!important}.lz-meter-text{font-size:12px!important}
html body #lz-simple .lz-program-toolbar,html body #lz-simple .lz-program-actions,html body #lz-simple .lz-program-footer,html body #lz-simple .lz-revenue,html body #lz-simple .lz-row{flex-wrap:wrap!important;height:auto!important;gap:8px!important}
html body #lz-simple button,html body #lz-simple input,html body #lz-simple select,html body #lz-simple textarea{font-size:16px!important;max-width:100%!important}
html body #lz-simple button{min-height:40px;white-space:normal!important}
html body #lz-simple .lz-main-tabs,html body #lz-simple .lz-sub-tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;position:static!important}
html body #lz-simple .lz-main-tabs button,html body #lz-simple .lz-sub-tabs button{flex:1 1 auto;padding:8px!important}
html body #lz-simple .lz-catalog,html body #lz-simple .lz-membership-layout,html body #lz-simple .lz-count-layout169,html body #lz-simple .lz-rec-layout,html body #lz-simple .lz-chat-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
html body #lz-simple .lz-catalog-editor,html body #lz-simple .lz-member-settings,html body #lz-simple .lz-catalog-list{width:100%!important;max-width:100%!important}
html body #lz-simple .lz-rec-characters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}
html body #lz-simple .lz-settings-direction173,html body #lz-simple [data-command=minimize],html body #lz-simple [data-command=maximize]{display:none!important}
html body #lz-simple .lz-modal{width:100%!important;max-width:100%!important;padding:14px!important;max-height:none!important}
html body #lz-simple .lz-modal-fields{grid-template-columns:minmax(70px,.6fr) minmax(0,1fr)!important;gap:10px!important}
html body #lz-simple .lz-overlay{position:absolute!important;inset:0!important;align-items:flex-start!important;padding:14px 4px!important;height:100%!important}
html body #lz-simple .lz-modal-actions{flex-wrap:wrap!important}
html body #lz-simple .lz-black-reason,html body #lz-simple .lz-black-reason.lz-black-native{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;padding:10px!important}
html body #lz-simple table,html body #lz-simple tbody{display:block!important;width:100%!important}
html body #lz-simple thead{display:none!important}
html body #lz-simple tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:10px!important;border-bottom:1px solid #364158}
html body #lz-simple td{display:block!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere}
html body #lz-simple td:before{content:attr(data-mobile-label);display:block;font-size:12px;color:#a6bbd6;margin-bottom:4px}
@media(min-width:650px){html body #lz-simple .lz-characters{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* 240m1: desktop right-side preference must never overlay mobile cards. */
html body #lz-simple #lz-settings-area{position:static!important;inset:auto!important;float:none!important;clear:both!important;padding:16px 0 0!important;border-left:0!important;overflow:visible!important}
html body #lz-simple #lz-page{overflow:visible!important;max-height:none!important;scrollbar-gutter:auto!important}
html body #lz-simple #lz-settings-area[hidden],html body #lz-simple .lz-sub-tabs[hidden],html body #lz-simple .lz-overlay[hidden]{display:none!important}
/* Compact four-character rows on phones. */
html body #lz-simple .lz-characters{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
html body #lz-simple .lz-character{padding:5px 3px!important;gap:0!important}
html body #lz-simple .lz-character-top{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;margin-bottom:2px!important;line-height:16px!important}
html body #lz-simple .lz-character-name{font-size:12px!important;line-height:16px!important;letter-spacing:-.4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #lz-simple .lz-character .lz-placement{font-size:11px!important;line-height:18px!important;min-height:22px!important;padding:0!important;text-align:left!important}
html body #lz-simple .lz-character .lz-char-role{font-size:10px!important;line-height:13px!important;min-height:26px!important;overflow-wrap:anywhere!important}
html body #lz-simple .lz-character .lz-vital-meter{height:16px!important;margin-top:2px!important}
html body #lz-simple .lz-character .lz-meter-text{font-size:10px!important;line-height:14px!important;text-shadow:0 1px 1px #000!important}
/* 240m2: populated price rows wrap buffs below amount/actions. */
html body #lz-simple .lz-price-rows{display:flex!important;flex-direction:column!important;gap:0!important}
html body #lz-simple .lz-price-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;height:auto!important;min-height:0!important;padding:10px 4px!important}
html body #lz-simple .lz-price-amount{grid-column:1!important;grid-row:1!important;font-size:16px!important;white-space:nowrap!important;align-self:center!important}
html body #lz-simple .lz-price-actions{grid-column:2!important;grid-row:1!important;display:flex!important;gap:6px!important;flex-wrap:nowrap!important}
html body #lz-simple .lz-price-actions .lz-button{width:auto!important;min-width:48px!important;min-height:32px!important;font-size:14px!important;line-height:20px!important;padding:5px 8px!important;white-space:nowrap!important}
html body #lz-simple .lz-price-buffs{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-wrap:wrap!important;white-space:normal!important;gap:4px!important;padding:0!important;overflow:visible!important}
html body #lz-simple .lz-price-buffs .lz-chip{font-size:12px!important;line-height:18px!important;white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}
