/* Style Text Generator; styles are scoped to #mgn-style-generator. */
/* All rules are scoped to this widget to help protect your WordPress theme. */
  #mgn-style-generator, #mgn-style-generator * { box-sizing: border-box; }
  #mgn-style-generator {
    --mgn-ink: #233047; --mgn-muted: #718096; --mgn-line: #e5eaf3;
    --mgn-blue: #4569e8; --mgn-purple: #8765df; --mgn-pale: #f4f7ff;
    width: 100%; max-width: 1180px; margin: 0 auto; color: var(--mgn-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px; line-height: 1.5; isolation: isolate;
  }
  #mgn-style-generator button, #mgn-style-generator input, #mgn-style-generator textarea { font: inherit; }
  #mgn-style-generator button { cursor: pointer; }
  #mgn-style-generator [hidden] { display: none !important; }
  #mgn-style-generator button:focus-visible, #mgn-style-generator input:focus-visible, #mgn-style-generator textarea:focus-visible { outline: 3px solid rgba(69,105,232,.25); outline-offset: 2px; }
  #mgn-style-generator .mgn-hero {
    position: relative; overflow: hidden; margin: 0 0 22px; padding: clamp(25px, 4vw, 48px);
    border: 1px solid #e2e8ff; border-radius: 26px;
    background: radial-gradient(circle at 92% 15%, rgba(190,207,255,.56), transparent 27%), linear-gradient(125deg, #f8faff 0%, #f2f5ff 58%, #fbf8ff 100%);
    text-align: left;
  }
  #mgn-style-generator .mgn-hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid #dfe6ff; border-radius: 999px; color: #4f62b9; background: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
  #mgn-style-generator .mgn-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #65c99b; box-shadow: 0 0 0 4px #e1f8ed; }
  #mgn-style-generator .mgn-hero h1 { margin: 15px 0 8px; color: #202c45; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.04em; font-weight: 850; }
  #mgn-style-generator .mgn-hero h2.mgn-hero-subheading { margin: 0 0 10px; color: #465674; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.35; font-weight: 750; letter-spacing: -.02em; }
  #mgn-style-generator .mgn-hero p { max-width: 760px; margin: 0; color: #65728b; font-size: clamp(15px, 1.6vw, 17px); }
  /* Clear, professional spacing for the PUBG introduction without changing its wording. */
  #mgn-style-generator .mgn-hero-copy { display: grid; gap: 13px; max-width: 850px; margin-top: 15px; }
  #mgn-style-generator .mgn-hero-copy p { max-width: none; margin: 0; color: #5d6a80; font-size: clamp(15px, 1.35vw, 16.5px); line-height: 1.78; }
  #mgn-style-generator .mgn-hero-copy .mgn-hero-intro { color: #4e5d75; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.72; }
  #mgn-style-generator .mgn-hero-copy .mgn-hero-limit-note { margin-top: 2px; padding: 12px 15px; border: 1px solid #e0e7ff; border-left: 3px solid #6479e8; border-radius: 12px; background: rgba(255,255,255,.72); color: #596780; }
  #mgn-style-generator .mgn-hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
  #mgn-style-generator .mgn-hero-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid #e5e9f7; border-radius: 9px; background: rgba(255,255,255,.78); color: #526078; font-size: 12px; font-weight: 650; }
  #mgn-style-generator .mgn-panel { margin: 0 0 22px; padding: clamp(18px, 2.5vw, 30px); border: 1px solid var(--mgn-line); border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(31,51,91,.045); }
  #mgn-style-generator .mgn-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
  #mgn-style-generator .mgn-section-heading > div { display: flex; align-items: center; gap: 12px; }
  #mgn-style-generator .mgn-step { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; background: #eef2ff; color: #5267d5; font-size: 12px; font-weight: 850; }
  #mgn-style-generator h3 { margin: 0; color: #263249; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
  #mgn-style-generator .mgn-soft-label { color: #8190a8; font-size: 12px; font-weight: 700; }
  #mgn-style-generator .mgn-field-label { display: block; margin: 0 0 8px; color: #56647c; font-size: 13px; font-weight: 750; }
  #mgn-style-generator #mgn-text-input { display: block; width: 100%; min-height: 96px; resize: vertical; border: 1px solid #dfe5f0; border-radius: 15px; padding: 16px 17px; background: #fcfdff; color: #27344b; font-size: 18px; line-height: 1.55; box-shadow: inset 0 1px 2px rgba(18,35,68,.025); }
  #mgn-style-generator #mgn-text-input::placeholder { color: #a0a9b9; }
  #mgn-style-generator #mgn-text-input:focus { border-color: #8ba0f4; background: #fff; outline: 3px solid rgba(69,105,232,.09); }
  #mgn-style-generator .mgn-editor-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; }
  #mgn-style-generator .mgn-limit-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
  #mgn-style-generator .mgn-limit-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  #mgn-style-generator .mgn-toggle-track { position: relative; display: inline-block; width: 37px; height: 21px; flex: 0 0 37px; border-radius: 99px; background: #dce2ec; transition: background .18s ease; }
  #mgn-style-generator .mgn-toggle-track:after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(30,45,70,.18); transition: transform .18s ease; }
  #mgn-style-generator .mgn-limit-toggle input:checked + .mgn-toggle-track { background: #5572e8; }
  #mgn-style-generator .mgn-limit-toggle input:checked + .mgn-toggle-track:after { transform: translateX(16px); }
  #mgn-style-generator .mgn-limit-toggle input:focus-visible + .mgn-toggle-track { outline: 3px solid rgba(69,105,232,.25); outline-offset: 2px; }
  #mgn-style-generator .mgn-limit-toggle b { display: block; color: #4a5870; font-size: 12px; font-weight: 800; }
  #mgn-style-generator .mgn-limit-toggle small { display: block; color: #919bad; font-size: 11px; }
  #mgn-style-generator .mgn-game-limit-select-wrap { display: inline-flex; flex-direction: column; gap: 4px; min-width: 245px; }
  #mgn-style-generator .mgn-game-limit-label { color: #68758b; font-size: 11px; font-weight: 750; }
  #mgn-style-generator #mgn-limit-game { width: 100%; min-height: 38px; padding: 8px 32px 8px 11px; border: 1px solid #dfe5f0; border-radius: 10px; color: #465674; background: #fcfdff; font-size: 12px; font-weight: 650; }
  #mgn-style-generator #mgn-limit-game:focus { border-color: #8ba0f4; outline: 3px solid rgba(69,105,232,.09); }
  #mgn-style-generator .mgn-counter { white-space: nowrap; padding: 6px 10px; border: 1px solid #e7ebf3; border-radius: 9px; color: #718098; background: #fafbfe; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
  #mgn-style-generator .mgn-counter.mgn-counter-limit { border-color: #f6d1a6; color: #a6651d; background: #fff9ef; }
  #mgn-style-generator .mgn-editor-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; padding-bottom: 22px; border-bottom: 1px solid #edf0f6; }
  #mgn-style-generator .mgn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 800; line-height: 1.1; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
  #mgn-style-generator .mgn-btn:hover:not(:disabled) { transform: translateY(-1px); }
  #mgn-style-generator .mgn-btn:disabled { cursor: not-allowed; opacity: .42; }
  #mgn-style-generator .mgn-btn-light { border-color: #e4e9f2; color: #58667f; background: #fff; }
  #mgn-style-generator .mgn-btn-light:hover:not(:disabled) { background: #f7f9ff; }
  #mgn-style-generator .mgn-btn-danger { border-color: #f4d9dd; color: #bf5967; background: #fff9fa; }
  #mgn-style-generator .mgn-btn-danger:hover { background: #fff0f2; }
  #mgn-style-generator .mgn-btn-primary { color: #fff; background: linear-gradient(110deg, #4f6fe7, #8263dd); box-shadow: 0 5px 12px rgba(91,103,218,.18); }
  #mgn-style-generator .mgn-btn-primary:hover { box-shadow: 0 7px 16px rgba(91,103,218,.25); }
  #mgn-style-generator .mgn-insert-block { margin-top: 18px; }
  #mgn-style-generator .mgn-insert-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
  #mgn-style-generator .mgn-insert-heading b { color: #4c5a72; font-size: 12px; font-weight: 800; }
  #mgn-style-generator .mgn-insert-heading span { color: #9aa4b5; font-size: 11px; }
  #mgn-style-generator .mgn-token-row { display: flex; flex-wrap: wrap; gap: 7px; }
  #mgn-style-generator .mgn-token-search { display: flex; align-items: center; gap: 8px; width: min(420px, 100%); min-height: 39px; margin: 0 0 11px; padding: 0 12px; border: 1px solid #e4e9f2; border-radius: 10px; background: #fbfcff; color: #9ba5b6; }
  #mgn-style-generator .mgn-token-search > span { font-size: 21px; line-height: 1; }
  #mgn-style-generator .mgn-token-search input { width: 100%; min-width: 0; padding: 8px 0; border: 0; outline: 0; color: #3d4a61; background: transparent; font-size: 12px; }
  #mgn-style-generator .mgn-token-search input::placeholder { color: #a2abba; }
  #mgn-style-generator .mgn-token-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 11px; }
  #mgn-style-generator .mgn-token-count { color: #8792a6; font-size: 11px; font-weight: 700; }
  #mgn-style-generator .mgn-token-empty { margin: 0; padding: 11px 4px; color: #8792a6; font-size: 12px; }
  #mgn-style-generator .mgn-token-load-more { min-height: 34px; padding: 8px 11px; }
  #mgn-style-generator .mgn-manual-add { margin-top: 13px; padding-top: 13px; border-top: 1px dashed #e8ecf4; }
  #mgn-style-generator .mgn-manual-add-row { display: flex; align-items: stretch; gap: 8px; }
  #mgn-style-generator .mgn-manual-add-row input { display: block; flex: 1 1 auto; width: 100%; min-width: 0; min-height: 39px; padding: 9px 12px; border: 1px solid #e1e7f1; border-radius: 10px; background: #fcfdff; color: #27344b; font-size: 13px; }
  #mgn-style-generator .mgn-manual-add-row input:focus { border-color: #8ba0f4; outline: 3px solid rgba(69,105,232,.09); }
  #mgn-style-generator .mgn-manual-add-row .mgn-btn { flex: 0 0 auto; }

  #mgn-style-generator .mgn-token { display: inline-grid; min-width: 38px; min-height: 36px; place-items: center; padding: 5px 9px; border: 1px solid #e7ebf3; border-radius: 10px; color: #38455d; background: #fbfcff; font-size: 18px; line-height: 1.2; transition: border-color .14s ease, background .14s ease, transform .14s ease; }
  #mgn-style-generator .mgn-token:hover { transform: translateY(-1px); border-color: #c9d3ff; background: #f1f4ff; }
  #mgn-style-generator .mgn-view-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 9px; }
  #mgn-style-generator .mgn-view-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 9px 13px; border: 1px solid #e3e8f3; border-radius: 11px; color: #68758b; background: #fff; font-size: 13px; font-weight: 800; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
  #mgn-style-generator .mgn-view-tab:hover { border-color: #cfd8ff; color: #4a62d2; background: #f8f9ff; }
  #mgn-style-generator .mgn-view-tab.active { border-color: #cfd8ff; color: #4a62d2; background: linear-gradient(135deg, #eef2ff 0%, #f8f5ff 100%); box-shadow: 0 3px 10px rgba(69,105,232,.07); }
  #mgn-style-generator .mgn-view-tab > span { font-size: 16px; line-height: 1; }
  #mgn-style-generator .mgn-view-note { margin: 0 0 16px; color: #8390a5; font-size: 12px; line-height: 1.55; }
  #mgn-style-generator .mgn-results-heading { margin-bottom: 18px; }
  #mgn-style-generator .mgn-results-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
  #mgn-style-generator .mgn-filter-row { display: flex; flex-wrap: wrap; gap: 6px; }
  #mgn-style-generator .mgn-filter { padding: 8px 12px; border: 1px solid #e8ecf4; border-radius: 9px; color: #69768c; background: #fff; font-size: 12px; font-weight: 750; }
  #mgn-style-generator .mgn-filter:hover { background: #f8f9ff; }
  #mgn-style-generator .mgn-filter.active { border-color: #dce3ff; color: #4a62d2; background: #eef2ff; }
  #mgn-style-generator .mgn-search-box { display: flex; align-items: center; gap: 8px; width: min(250px, 100%); min-height: 38px; padding: 0 11px; border: 1px solid #e4e9f2; border-radius: 10px; background: #fbfcff; color: #9ba5b6; }
  #mgn-style-generator .mgn-search-box > span { font-size: 21px; line-height: 1; }
  #mgn-style-generator .mgn-search-box input { width: 100%; min-width: 0; padding: 8px 0; border: 0; outline: 0; color: #3d4a61; background: transparent; font-size: 12px; }
  #mgn-style-generator .mgn-search-box input::placeholder { color: #a2abba; }
  #mgn-style-generator .mgn-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #mgn-style-generator .mgn-style-card { display: flex; min-width: 0; flex-direction: column; padding: 14px; border: 1px solid #e8ecf4; border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
  #mgn-style-generator .mgn-style-card:hover { transform: translateY(-2px); border-color: #d6defd; box-shadow: 0 8px 20px rgba(48,70,130,.07); }
  #mgn-style-generator .mgn-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
  #mgn-style-generator .mgn-style-name { overflow: hidden; color: #66738a; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  #mgn-style-generator .mgn-style-tag { flex: 0 0 auto; padding: 3px 6px; border-radius: 6px; color: #7c6acc; background: #f4f0ff; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
  #mgn-style-generator .mgn-style-preview { display: flex; align-items: center; min-height: 56px; overflow-wrap: anywhere; word-break: break-word; padding: 12px 10px; border-radius: 9px; color: #2e3a52; background: #f8faff; font-size: 18px; line-height: 1.45; }
  #mgn-style-generator .mgn-style-preview.mgn-placeholder-preview { color: #a2acbc; font-size: 15px; font-style: italic; }
  #mgn-style-generator .mgn-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }
  #mgn-style-generator .mgn-copy-one { min-height: 32px; padding: 7px 11px; border: 1px solid #dfe6ff; border-radius: 8px; color: #5067d6; background: #f4f6ff; font-size: 11px; font-weight: 850; }
  #mgn-style-generator .mgn-copy-one:hover { background: #eaf0ff; }

  /* Shared, accessible style-like buttons */
  #mgn-style-generator .mgn-card-actions { display: inline-flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; gap: 7px; min-width: 0; }
  #mgn-style-generator .mgn-like-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 54px; min-height: 32px; padding: 6px 9px; border: 1px solid #f0dce5; border-radius: 8px; color: #b84e78; background: #fff8fb; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
  #mgn-style-generator .mgn-like-button:hover:not(:disabled) { border-color: #edb9ce; background: #fff0f6; transform: translateY(-1px); }
  #mgn-style-generator .mgn-like-button:focus-visible { outline: 3px solid rgba(214, 75, 126, .22); outline-offset: 2px; }
  #mgn-style-generator .mgn-like-button .mgn-like-icon { font-size: 17px; line-height: 1; }
  #mgn-style-generator .mgn-like-button .mgn-like-count { min-width: 1ch; font-variant-numeric: tabular-nums; }
  #mgn-style-generator .mgn-like-button.mgn-is-liked { border-color: #f1b8cf; color: #d23e79; background: #ffedf4; }
  #mgn-style-generator .mgn-like-button.mgn-is-liked .mgn-like-icon { color: #d23e79; }
  #mgn-style-generator .mgn-like-button.mgn-like-pending { opacity: .65; cursor: progress; }
  #mgn-style-generator .mgn-like-button:disabled { cursor: not-allowed; opacity: .55; }
  @media (max-width: 600px) {
    #mgn-style-generator .mgn-card-actions { gap: 6px; }
    #mgn-style-generator .mgn-like-button { min-width: 50px; padding: 6px 8px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #mgn-style-generator .mgn-like-button { transition: none; }
  }

  #mgn-style-generator .mgn-card-hint { color: #a3acba; font-size: 10px; }
  #mgn-style-generator .mgn-card-hint.mgn-card-hint-over-limit { color: #b96b20; font-weight: 800; }
  #mgn-style-generator .mgn-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
  #mgn-style-generator #mgn-style-count { color: #8792a6; font-size: 12px; font-weight: 700; }
  #mgn-style-generator .mgn-empty-state { padding: 36px 16px; border: 1px dashed #dce2ee; border-radius: 13px; color: #7e8aa0; background: #fbfcff; text-align: center; font-size: 13px; }
  #mgn-style-generator .mgn-disclaimer { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #edf0f6; color: #8a95a8; font-size: 11px; }
  #mgn-style-generator .mgn-toast { position: sticky; bottom: 14px; z-index: 5; width: fit-content; max-width: 95%; margin: -7px auto 12px; padding: 10px 15px; border-radius: 11px; color: #fff; background: #2b3650; box-shadow: 0 8px 25px rgba(28,40,70,.18); font-size: 12px; font-weight: 750; opacity: 0; pointer-events: none; transform: translateY(7px); transition: opacity .18s ease, transform .18s ease; }
  #mgn-style-generator .mgn-toast.mgn-toast-show { opacity: 1; transform: translateY(0); }
  @media (max-width: 900px) { #mgn-style-generator .mgn-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) {
    #mgn-style-generator .mgn-view-tabs { gap: 6px; }
    #mgn-style-generator .mgn-view-tab { min-height: 40px; padding: 8px 5px; gap: 5px; font-size: 12px; }
    #mgn-style-generator .mgn-hero { border-radius: 19px; }
    #mgn-style-generator .mgn-panel { border-radius: 17px; }
    #mgn-style-generator .mgn-editor-bottom { align-items: flex-start; flex-direction: column; }
    #mgn-style-generator .mgn-results-tools { align-items: stretch; flex-direction: column; }
    #mgn-style-generator .mgn-search-box { width: 100%; }
    #mgn-style-generator .mgn-style-grid { grid-template-columns: 1fr; }
    #mgn-style-generator .mgn-pagination { align-items: stretch; flex-direction: column; }
    #mgn-style-generator #mgn-load-more { width: 100%; }
    #mgn-style-generator .mgn-style-card { padding: 13px; }
    #mgn-style-generator .mgn-results-heading { align-items: flex-start; flex-direction: column; }
    #mgn-style-generator .mgn-copy-all { width: 100%; }
    #mgn-style-generator .mgn-insert-heading { align-items: flex-start; flex-direction: column; gap: 1px; }
    #mgn-style-generator .mgn-token-pagination { align-items: stretch; flex-direction: column; }
    #mgn-style-generator .mgn-token-load-more { width: 100%; }
    #mgn-style-generator .mgn-manual-add-row { flex-direction: column; }
    #mgn-style-generator .mgn-manual-add-row .mgn-btn { width: 100%; }
  }

/* Roblox display-name range helper */
#mgn-style-generator .mgn-roblox-limit-note {
  margin: 10px 0 0;
  padding: 10px 13px;
  border: 1px solid #e4e9f5;
  border-radius: 10px;
  background: #f8faff;
  color: #68758b;
  font-size: 12px;
  line-height: 1.65;
}
#mgn-style-generator .mgn-roblox-limit-note.mgn-roblox-limit-note-warning {
  border-color: #f2d6b0;
  background: #fff9ef;
  color: #98621e;
}


/* Facebook Stylish Text page: quick-start examples using the same light theme. */
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-quickstart-copy { margin: -6px 0 18px; color: #68758b; line-height: 1.65; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; width: 100%; padding: 16px; border: 1px solid #e3e8f4; border-radius: 15px; background: #fbfcff; color: #27344b; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset:hover { border-color: #aab8f6; box-shadow: 0 7px 18px rgba(56, 77, 145, .08); transform: translateY(-1px); }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset:focus-visible { outline: 3px solid rgba(69,105,232,.22); outline-offset: 2px; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset-title { color: #5368d9; font-size: 13px; font-weight: 800; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset-example { color: #526078; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset-action { margin-top: 3px; color: #5368d9; font-size: 12px; font-weight: 800; }
#mgn-style-generator.mgn-facebook-tool .mgn-facebook-trademark-note { margin: 12px 0 0; color: #8893a5; font-size: 12px; line-height: 1.55; }
@media (max-width: 640px) {
  #mgn-style-generator.mgn-facebook-tool .mgn-facebook-start-grid { grid-template-columns: minmax(0, 1fr); }
  #mgn-style-generator.mgn-facebook-tool .mgn-facebook-preset { padding: 14px; }
}


/* YouTube Stylish Text page: restore the light-theme quick-start cards and subtle trademark note. */
#mgn-style-generator.mgn-youtube-tool .mgn-youtube-quickstart-copy {
  margin: -6px 0 18px;
  color: #68758b;
  line-height: 1.65;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e3e8f4;
  border-radius: 15px;
  background: #fbfcff;
  color: #27344b;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset:hover {
  border-color: #aab8f6;
  background: #fbfcff;
  color: #27344b;
  box-shadow: 0 7px 18px rgba(56, 77, 145, .08);
  transform: translateY(-1px);
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset:focus-visible {
  outline: 3px solid rgba(69, 105, 232, .22);
  outline-offset: 2px;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset-title,
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset-example,
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset-action {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: normal;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset-title {
  color: #5368d9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset-example {
  color: #526078;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset-action {
  margin-top: 3px;
  color: #5368d9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
#mgn-style-generator.mgn-youtube-tool .mgn-youtube-trademark-note {
  margin: 5px 0 0;
  color: #8893a5;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 640px) {
  #mgn-style-generator.mgn-youtube-tool .mgn-facebook-start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #mgn-style-generator.mgn-youtube-tool .mgn-facebook-preset {
    padding: 14px;
  }
}


/* Instagram Stylish Text page: clear, responsive starter cards and a subtle trademark note. */
#mgn-style-generator.mgn-instagram-tool .mgn-instagram-quickstart-copy {
  margin: -6px 0 18px;
  color: #68758b;
  line-height: 1.65;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e3e8f4;
  border-radius: 15px;
  background: #fbfcff;
  color: #27344b;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset:hover {
  border-color: #aab8f6;
  background: #fbfcff;
  color: #27344b;
  box-shadow: 0 7px 18px rgba(56, 77, 145, .08);
  transform: translateY(-1px);
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset:focus-visible {
  outline: 3px solid rgba(69, 105, 232, .22);
  outline-offset: 2px;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset-title,
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset-example,
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset-action {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: normal;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset-title {
  color: #5368d9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset-example {
  color: #526078;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset-action {
  margin-top: 3px;
  color: #5368d9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
#mgn-style-generator.mgn-instagram-tool .mgn-instagram-trademark-note {
  margin: 5px 0 0;
  color: #8893a5;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 640px) {
  #mgn-style-generator.mgn-instagram-tool .mgn-facebook-start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #mgn-style-generator.mgn-instagram-tool .mgn-facebook-preset {
    padding: 14px;
  }
}


/* TikTok Stylish Text page: responsive starter cards and a subtle trademark note. */
#mgn-style-generator.mgn-tiktok-tool .mgn-tiktok-quickstart-copy {
  margin: -6px 0 18px;
  color: #68758b;
  line-height: 1.65;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e3e8f4;
  border-radius: 15px;
  background: #fbfcff;
  color: #27344b;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset:hover {
  border-color: #aab8f6;
  background: #fbfcff;
  color: #27344b;
  box-shadow: 0 7px 18px rgba(56, 77, 145, .08);
  transform: translateY(-1px);
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset:focus-visible {
  outline: 3px solid rgba(69, 105, 232, .22);
  outline-offset: 2px;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset-title,
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset-example,
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset-action {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: normal;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset-title {
  color: #5368d9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset-example {
  color: #526078;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset-action {
  margin-top: 3px;
  color: #5368d9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
#mgn-style-generator.mgn-tiktok-tool .mgn-tiktok-trademark-note {
  margin: 5px 0 0;
  color: #8893a5;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 640px) {
  #mgn-style-generator.mgn-tiktok-tool .mgn-facebook-start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #mgn-style-generator.mgn-tiktok-tool .mgn-facebook-preset {
    padding: 14px;
  }
}


/* WhatsApp Stylish Text page: responsive starter cards and a subtle trademark note. */
#mgn-style-generator.mgn-whatsapp-tool .mgn-whatsapp-quickstart-copy {
  margin: -6px 0 18px;
  color: #68758b;
  line-height: 1.65;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e3e8f4;
  border-radius: 15px;
  background: #fbfcff;
  color: #27344b;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset:hover {
  border-color: #83d7c7;
  background: #fbfcff;
  color: #27344b;
  box-shadow: 0 7px 18px rgba(18, 140, 126, .10);
  transform: translateY(-1px);
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .25);
  outline-offset: 2px;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset-title,
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset-example,
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset-action {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: normal;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset-title {
  color: #128c7e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset-example {
  color: #526078;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset-action {
  margin-top: 3px;
  color: #128c7e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
#mgn-style-generator.mgn-whatsapp-tool .mgn-whatsapp-trademark-note {
  margin: 5px 0 0;
  color: #8893a5;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 640px) {
  #mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #mgn-style-generator.mgn-whatsapp-tool .mgn-facebook-preset {
    padding: 14px;
  }
}

/* Combined Stylish Letters & Numbers Generator */
#mgn-style-generator.mgn-letters-numbers-tool .mgn-hero {
  background: radial-gradient(circle at 92% 12%, rgba(117, 226, 221, .23), transparent 28%), linear-gradient(125deg, #f8fffe 0%, #f2fbfb 55%, #f8f9ff 100%);
  border-color: #dcefee;
}
#mgn-style-generator.mgn-letters-numbers-tool .mgn-hero-pill { color: #0d827d; border-color: #d5eeeb; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-pill-dot { background: #14aaa2; box-shadow: 0 0 0 4px #dff8f5; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-step { color: #087e78; background: #e3f8f5; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode-tabs,
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-case-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode-tabs { margin-bottom: 21px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 17px;
  border: 1px solid #dce6ef; border-radius: 12px; color: #52637b; background: #fbfcff; font-size: 14px; font-weight: 800; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode:hover { border-color: #a8dcd7; background: #f0fbfa; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode.is-active { border-color: #078f89; color: #fff; background: linear-gradient(135deg, #0eaaa2, #07857f); box-shadow: 0 5px 14px rgba(7, 143, 137, .16); }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-subheading-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-subheading-row > strong { color: #465674; font-size: 13px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-case {
  min-height: 34px; padding: 7px 11px; border: 1px solid #e3e9f1; border-radius: 9px; color: #68758b; background: #fff; font-size: 12px; font-weight: 750;
}
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-case.is-active { border-color: #b9e5e1; color: #087e78; background: #eaf9f7; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 8px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-digit-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character {
  display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 7px 4px;
  border: 1px solid #e1e8f0; border-radius: 11px; color: #233047; background: #fff; font-size: 17px; font-weight: 750;
  box-shadow: 0 2px 5px rgba(30, 50, 80, .025); transition: transform .14s ease, border-color .14s ease, color .14s ease, background .14s ease;
}
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character:hover { transform: translateY(-1px); border-color: #a7dad6; color: #087e78; background: #f3fbfa; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character:active { transform: translateY(0); }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-panel-copy { margin: 0 0 13px; color: #69778c; font-size: 13px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-helper { margin: 15px 0 0; padding: 11px 13px; border: 1px solid #e0f0ee; border-radius: 11px; color: #5c727e; background: #f6fcfb; font-size: 12px; line-height: 1.6; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-sequence {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px; border: 1px solid #e2e9f1; border-radius: 13px; color: #2d3a51; background: #fbfdfd; text-align: left; transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-sequence:hover { transform: translateY(-1px); border-color: #acdcd7; background: #f0fbf9; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-symbol { display: grid; flex: 0 0 49px; min-height: 43px; place-items: center; border-radius: 10px; color: #087e78; background: #e5f8f5; font-size: 15px; font-weight: 850; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-sequence strong { display: block; color: #36455e; font-size: 12px; font-weight: 850; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-sequence small { display: block; margin-top: 3px; color: #8792a6; font-size: 11px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-editor-note { color: #7d899e; font-size: 12px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-btn-primary,
#mgn-style-generator.mgn-letters-numbers-tool .mgn-copy-one { border-color: #bde4df; color: #087e78; background: #eaf9f7; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-btn-primary:hover,
#mgn-style-generator.mgn-letters-numbers-tool .mgn-copy-one:hover { background: #dff5f1; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-filter.active { border-color: #bde4df; color: #087e78; background: #eaf9f7; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-style-preview { background: #f5fbfa; }
@media (max-width: 900px) {
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-digit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode-tabs { display: grid; grid-template-columns: 1fr; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-mode { width: 100%; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-subheading-row { align-items: flex-start; flex-direction: column; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-case-tabs { width: 100%; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-case { flex: 1 1 125px; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-digit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-character { min-height: 42px; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-copy-grid { grid-template-columns: 1fr; }
}


/* Character style library for the combined Stylish Letters & Numbers tool */
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-style-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-style-tab { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:39px; padding:8px 12px; border:1px solid #dce6ef; border-radius:10px; color:#52637b; background:#fbfcff; font-size:12px; font-weight:800; transition:background .15s ease,border-color .15s ease,color .15s ease; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-style-tab:hover { border-color:#a8dcd7; background:#f0fbfa; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-style-tab.is-active { border-color:#078f89; color:#fff; background:linear-gradient(135deg,#0eaaa2,#07857f); box-shadow:0 4px 12px rgba(7,143,137,.14); }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-summary { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 15px; padding:13px 15px; border:1px solid #e0f0ee; border-radius:12px; background:#f6fcfb; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-summary strong { display:block; color:#304058; font-size:14px; font-weight:850; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-summary p { margin:3px 0 0; color:#77859a; font-size:12px; line-height:1.5; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-group { margin:0 0 19px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-group:last-child { margin-bottom:0; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-group-title { margin:0 0 10px; color:#465674; font-size:12px; font-weight:850; letter-spacing:.015em; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-grid { display:grid; grid-template-columns:repeat(13,minmax(0,1fr)); gap:8px; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-character { min-height:48px; font-size:22px; font-weight:650; }
#mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-character:hover { border-color:#78c9c2; background:#eaf9f7; box-shadow:0 5px 12px rgba(7,143,137,.08); }
@media (max-width:900px) {
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-grid { grid-template-columns:repeat(8,minmax(0,1fr)); }
}
@media (max-width:600px) {
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-style-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-style-tab { min-width:0; padding:8px 7px; font-size:11px; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-summary { align-items:flex-start; flex-direction:column; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-summary .mgn-btn { width:100%; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
  #mgn-style-generator.mgn-letters-numbers-tool .mgn-ln-library-character { min-height:43px; font-size:21px; }
}


/* Snapchat Stylish Text page: keep the shared light blue/violet palette and polish the quick-start layout. */
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-quickstart {
  position: relative;
  overflow: hidden;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-quickstart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f6fe7, #8263dd);
  opacity: .8;
  pointer-events: none;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-quickstart-copy {
  margin: -6px 0 18px;
  color: #68758b;
  line-height: 1.65;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 13px;
  width: 100%;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 148px;
  margin: 0;
  padding: 16px;
  border: 1px solid #e3e8f4;
  border-radius: 15px;
  background: #fbfcff;
  color: #27344b;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset:hover {
  border-color: #aab8f6;
  background: #fbfcff;
  color: #27344b;
  box-shadow: 0 7px 18px rgba(56, 77, 145, .08);
  transform: translateY(-2px);
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset:focus-visible {
  outline: 3px solid rgba(69, 105, 232, .22);
  outline-offset: 2px;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-preset-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-preset-icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dfe6ff;
  border-radius: 10px;
  background: #eef2ff;
  font-size: 16px;
  line-height: 1;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-preset-heading .mgn-facebook-preset-title {
  width: auto;
  min-width: 0;
  margin: 0;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset-title,
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset-example,
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset-action {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: normal;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset-title {
  color: #5368d9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset-example {
  color: #526078;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset-action {
  margin-top: auto;
  padding-top: 4px;
  color: #5368d9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset:first-child {
  grid-column: span 2;
  border-color: #dfe6ff;
  background: #f6f8ff;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset:first-child .mgn-facebook-preset-example {
  font-size: 16px;
}
#mgn-style-generator.mgn-snapchat-tool .mgn-snapchat-trademark-note {
  margin: 5px 0 0;
  color: #8893a5;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 900px) {
  #mgn-style-generator.mgn-snapchat-tool .mgn-facebook-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  #mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset:first-child {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  #mgn-style-generator.mgn-snapchat-tool .mgn-facebook-start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset,
  #mgn-style-generator.mgn-snapchat-tool .mgn-facebook-preset:first-child {
    grid-column: auto;
    min-height: 0;
    padding: 14px;
  }
}

@media (max-width: 600px) { #mgn-style-generator .mgn-view-tabs { gap: 6px; } #mgn-style-generator .mgn-view-tab { min-height: 40px; padding: 8px 5px; gap: 5px; font-size: 12px; } }

/* Name Suggestions Generator — separate section, matching the existing light blue-purple design. */
.stg-name-suggestions,
.stg-name-suggestions * { box-sizing: border-box; }
.stg-name-suggestions {
  --stg-ns-ink: #233047;
  --stg-ns-muted: #6d7a91;
  --stg-ns-line: #e4e9f3;
  width: 100%;
  max-width: 1180px;
  margin: 28px auto 30px;
  color: var(--stg-ns-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.stg-name-suggestions button,
.stg-name-suggestions input { font: inherit; }
.stg-name-suggestions button { cursor: pointer; }
.stg-name-suggestions [hidden] { display: none !important; }
.stg-name-suggestions button:focus-visible,
.stg-name-suggestions input:focus-visible { outline: 3px solid rgba(69,105,232,.25); outline-offset: 2px; }
.stg-name-suggestions .stg-ns-hero {
  margin: 0 0 18px;
  padding: clamp(22px, 3.6vw, 38px);
  border: 1px solid #e2e8ff;
  border-radius: 22px;
  background: radial-gradient(circle at 92% 15%, rgba(190,207,255,.45), transparent 28%), linear-gradient(125deg, #f8faff 0%, #f2f5ff 58%, #fbf8ff 100%);
}
.stg-name-suggestions .stg-ns-eyebrow { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border: 1px solid #dfe6ff; border-radius: 999px; color: #4f62b9; background: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stg-name-suggestions .stg-ns-hero h2 { margin: 0 0 10px; color: #202c45; font-size: clamp(24px, 3.1vw, 34px); line-height: 1.2; letter-spacing: -.03em; font-weight: 850; }
.stg-name-suggestions .stg-ns-hero p { max-width: 800px; margin: 0; color: #65728b; font-size: 15px; line-height: 1.75; }
.stg-name-suggestions .stg-ns-panel { padding: clamp(17px, 2.5vw, 28px); border: 1px solid var(--stg-ns-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(31,51,91,.045); }
.stg-name-suggestions .stg-ns-label { display: block; margin: 0 0 8px; color: #56647c; font-size: 13px; font-weight: 750; }
.stg-name-suggestions .stg-ns-input-row { display: flex; align-items: stretch; gap: 10px; }
.stg-name-suggestions [data-ns-name] { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; border: 1px solid #dfe5f0; border-radius: 11px; color: #27344b; background: #fcfdff; font-size: 15px; }
.stg-name-suggestions [data-ns-name]::placeholder { color: #a0a9b9; }
.stg-name-suggestions [data-ns-name]:focus { border-color: #8ba0f4; background: #fff; outline: 3px solid rgba(69,105,232,.09); }
.stg-name-suggestions .stg-ns-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.stg-name-suggestions .stg-ns-button:hover { transform: translateY(-1px); }
.stg-name-suggestions .stg-ns-button-primary { color: #fff; background: linear-gradient(110deg, #4f6fe7, #8263dd); box-shadow: 0 5px 12px rgba(91,103,218,.18); }
.stg-name-suggestions .stg-ns-button-primary:hover { box-shadow: 0 7px 16px rgba(91,103,218,.25); }
.stg-name-suggestions .stg-ns-button-light { border-color: #e1e7f3; color: #526078; background: #fff; }
.stg-name-suggestions .stg-ns-button-light:hover { background: #f7f9ff; }
.stg-name-suggestions .stg-ns-help { margin: 8px 0 0; color: #8a96a9; font-size: 12px; }
.stg-name-suggestions .stg-ns-results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0 15px; }
.stg-name-suggestions .stg-ns-results-head h3 { margin: 0 0 4px; color: #263249; font-size: clamp(17px, 2vw, 21px); line-height: 1.3; font-weight: 800; }
.stg-name-suggestions .stg-ns-results-head h3 span { color: #5d61c9; overflow-wrap: anywhere; }
.stg-name-suggestions .stg-ns-results-head p { margin: 0; color: #8792a6; font-size: 12px; }
.stg-name-suggestions .stg-ns-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stg-name-suggestions .stg-ns-card { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid #e6eaf3; border-radius: 13px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.stg-name-suggestions .stg-ns-card:hover { border-color: #cbd5ff; box-shadow: 0 7px 18px rgba(54,74,140,.07); transform: translateY(-1px); }
.stg-name-suggestions .stg-ns-suggestion { min-width: 0; color: #2e3a52; font-size: 15px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; }
.stg-name-suggestions .stg-ns-card-action { flex: 0 0 auto; }
.stg-name-suggestions .stg-ns-copy { min-height: 33px; padding: 7px 10px; border: 1px solid #dfe6ff; border-radius: 8px; color: #5067d6; background: #f4f6ff; font-size: 11px; font-weight: 850; }
.stg-name-suggestions .stg-ns-copy:hover { background: #eaf0ff; }
.stg-name-suggestions .stg-ns-disclaimer { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #edf0f6; color: #8a95a8; font-size: 11px; line-height: 1.65; }
.stg-name-suggestions .stg-ns-empty { margin-top: 16px; padding: 17px; border: 1px dashed #dce2ee; border-radius: 13px; color: #7e8aa0; background: #fbfcff; text-align: center; font-size: 13px; }
.stg-name-suggestions .stg-ns-toast { position: sticky; bottom: 14px; z-index: 4; width: fit-content; max-width: 95%; margin: 12px auto 0; padding: 10px 15px; border-radius: 11px; color: #fff; background: #2b3650; box-shadow: 0 8px 25px rgba(28,40,70,.18); font-size: 12px; font-weight: 750; }
@media (max-width: 900px) { .stg-name-suggestions .stg-ns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .stg-name-suggestions { margin: 22px auto 25px; }
  .stg-name-suggestions .stg-ns-hero { padding: 24px 19px; border-radius: 18px; }
  .stg-name-suggestions .stg-ns-panel { padding: 16px; border-radius: 17px; }
  .stg-name-suggestions .stg-ns-input-row { flex-direction: column; }
  .stg-name-suggestions .stg-ns-input-row .stg-ns-button { width: 100%; }
  .stg-name-suggestions .stg-ns-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .stg-name-suggestions .stg-ns-card { padding: 12px; }
  .stg-name-suggestions .stg-ns-results-head { align-items: flex-start; flex-direction: column; }
  .stg-name-suggestions .stg-ns-results-head .stg-ns-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .stg-name-suggestions .stg-ns-button, .stg-name-suggestions .stg-ns-card { transition: none; } }
