.textdecor-page main{
  padding-bottom:70px;
}

body.textdecor-page .wm-site-header{
  margin-top:0;
  top:0;
}

.textdecor-title-card{
  margin:22px 0 12px;
  padding:18px 22px;
  display:grid;
  gap:7px;
  border:1px solid var(--line);
  border-radius:22px;
  text-align:center;
  background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.46));
  box-shadow:0 14px 38px rgba(7,29,43,.08);
}

.textdecor-title-card span{
  color:var(--lime-deep);
  font-size:11px;
  font-weight:950;
}

.textdecor-title-card h1{
  margin:0;
  color:var(--ink);
  font-size:clamp(20px,3.2vw,34px);
  line-height:1.45;
  letter-spacing:-.025em;
}

.textdecor-hero{
  margin-top:24px;
  padding:clamp(34px,6vw,70px);
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  align-items:center;
  gap:clamp(28px,5vw,70px);
  border:1px solid var(--line);
  border-radius:32px;
  background:
    radial-gradient(circle at 12% 12%,rgba(203,243,106,.14),transparent 32%),
    radial-gradient(circle at 88% 16%,rgba(79,179,213,.12),transparent 30%),
    var(--card);
  box-shadow:var(--shadow);
}

.textdecor-hero .eyebrow{
  justify-content:flex-start;
}

.textdecor-hero-title{
  margin:14px 0 18px;
  font-size:clamp(40px,6vw,74px);
  line-height:1.12;
  letter-spacing:-.05em;
  color:var(--ink);
  font-weight:950;
}

.textdecor-hero p{
  max-width:650px;
  margin:0;
  color:var(--muted);
  font-size:clamp(14px,1.6vw,17px);
  line-height:2;
}

.textdecor-badges{
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.textdecor-badges span{
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink-soft);
  background:rgba(255,255,255,.45);
  font-size:11px;
  font-weight:800;
}

.textdecor-preview{
  position:relative;
  min-height:290px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(203,243,106,.28);
  border-radius:28px;
  background:#071d2b;
}

.textdecor-preview::before{
  content:"";
  position:absolute;
  inset:12%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(203,243,106,.22),transparent 62%);
  filter:blur(5px);
}

.textdecor-preview strong{
  position:relative;
  z-index:1;
  width:min(100%,430px);
  padding:26px;
  color:#f6fbfc;
  font-size:clamp(30px,5vw,58px);
  line-height:1.35;
  text-align:center;
  word-break:break-word;
}

.textdecor-hero-image{
  position:relative;
  z-index:1;
  width:118px;
  height:118px;
  margin-bottom:14px;
  object-fit:contain;
  border-radius:26px;
  background:rgba(255,255,255,.06);
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}

.textdecor-tool{
  position:relative;
  margin-top:22px;
  padding:clamp(18px,3vw,28px);
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--card);
  box-shadow:var(--shadow);
}

.textdecor-tool::before{
  content:"";
  position:absolute;
  inset:10px;
  z-index:0;
  border-radius:24px;
  pointer-events:none;
  background:radial-gradient(circle at 8% 0,rgba(203,243,106,.08),transparent 28%);
}

.textdecor-tool>*{
  position:relative;
  z-index:1;
}

.textdecor-tool-head{
  margin-bottom:20px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:18px;
  flex-direction:column;
  text-align:center;
}

.textdecor-tool-head > div{
  width:100%;
}

.textdecor-tool-head h2{
  margin:7px 0 0;
  color:var(--ink);
  font-size:clamp(24px,3vw,34px);
}

.textdecor-tool-head p{
  max-width:460px;
  margin:0 auto;
  color:var(--muted);
  font-size:12px;
  line-height:1.9;
  direction:rtl;
  text-align:center;
}

.textdecor-form{
  position:sticky;
  top:88px;
  z-index:20;
  padding:12px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px;
  gap:9px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.82);
  box-shadow:0 14px 35px rgba(7,29,43,.1);
}

.textdecor-form label{
  display:grid;
  gap:0;
  color:var(--ink);
  font-size:12px;
  font-weight:900;
}

.textdecor-form label:first-child{
  grid-column:1;
}

.textdecor-form label:first-child,
.textdecor-form label:first-child input{
  min-width:0;
}

.textdecor-form label:first-child{
  color:transparent;
  font-size:0;
}

.textdecor-form input,
.textdecor-form select{
  min-height:58px;
  width:100%;
  padding:0 15px;
  border:1px solid var(--line);
  border-radius:15px;
  outline:0;
  color:var(--ink);
  background:rgba(255,255,255,.62);
  font:inherit;
  font-size:18px;
  font-weight:800;
}

.textdecor-form input{
  border:0;
  border-radius:16px;
  color:#071d2b;
  background:#ffffff;
}

.textdecor-form input::placeholder{
  color:#7d8a90;
}

.textdecor-emoji-button{
  width:54px;
  min-height:58px;
  border:0;
  border-radius:16px;
  color:#071d2b;
  background:#ffffff;
  font-size:23px;
  cursor:pointer;
  display:grid;
  place-items:center;
}

.textdecor-emoji-button.is-active{
  box-shadow:inset 0 0 0 2px rgba(203,243,106,.72);
}

.textdecor-emoji-panel{
  display:none;
  width:min(320px,calc(100vw - 24px));
  padding:13px;
  position:fixed;
  z-index:1000;
  border:1px solid var(--line);
  border-radius:18px;
  color:#071d2b;
  background:linear-gradient(145deg,#ffffff,#f4f8f2);
  box-shadow:0 22px 58px rgba(7,29,43,.22);
}

.textdecor-emoji-panel.is-open{
  display:grid;
  gap:11px;
  animation:textdecorPanelIn .14s ease both;
}

@keyframes textdecorPanelIn{
  from{opacity:0;transform:translateY(-6px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.textdecor-emoji-panel>strong{
  display:block;
  text-align:center;
  font-size:13px;
  font-weight:900;
}

.textdecor-emoji-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:7px;
}

.textdecor-emoji-grid button,
.textdecor-emoji-positions button,
.textdecor-emoji-custom button,
.textdecor-emoji-remove{
  min-height:40px;
  border:1px solid #dbe5dd;
  border-radius:13px;
  color:#071d2b;
  background:#ffffff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-emoji-grid button{
  font-size:22px;
}

.textdecor-emoji-grid button:hover,
.textdecor-emoji-positions button:hover,
.textdecor-emoji-positions button.is-active,
.textdecor-emoji-custom button:hover,
.textdecor-emoji-remove:hover{
  border-color:var(--lime);
  color:#071d2b;
  background:var(--lime);
  transform:translateY(-1px);
}

.textdecor-emoji-positions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}

.textdecor-emoji-positions button,
.textdecor-emoji-custom button,
.textdecor-emoji-remove{
  font-size:12px;
}

.textdecor-emoji-custom{
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  gap:7px;
}

.textdecor-emoji-custom input{
  min-height:42px;
  width:100%;
  padding:0 12px;
  border:1px solid #dbe5dd;
  border-radius:13px;
  outline:0;
  color:#071d2b;
  background:#ffffff;
  font:inherit;
  font-size:18px;
  font-weight:900;
  text-align:center;
}

.textdecor-emoji-remove{
  width:100%;
}

.textdecor-decor-label,
#textdecorGenerate{
  display:none !important;
}

.textdecor-form select{
  text-align:center;
  text-align-last:center;
}

.textdecor-form input:focus,
.textdecor-form select:focus{
  box-shadow:none;
}

.textdecor-form button{
  align-self:end;
  min-height:56px;
  border:0;
  border-radius:15px;
  color:var(--on-lime);
  background:var(--lime);
  font:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-form button:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(203,243,106,.2);
}

.textdecor-presets{
  margin-top:13px;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:2px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.textdecor-presets::-webkit-scrollbar{
  display:none;
}

.textdecor-presets span{
  flex:0 0 auto;
  color:var(--muted);
  font-size:11px;
  font-weight:900;
}

.textdecor-presets button{
  flex:0 0 auto;
  min-height:36px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink);
  background:rgba(255,255,255,.52);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-presets button:hover{
  border-color:var(--lime);
  color:var(--on-lime);
  background:var(--lime);
  transform:translateY(-1px);
}

.textdecor-live-preview{
  min-height:86px;
  margin-top:12px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  border:1px solid rgba(203,243,106,.22);
  border-radius:18px;
  text-align:center;
  background:linear-gradient(135deg,rgba(203,243,106,.11),rgba(255,255,255,.42));
}

.textdecor-hidden-preview{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

.textdecor-live-preview img{
  width:54px;
  height:54px;
  flex:0 0 54px;
  object-fit:contain;
  border-radius:15px;
}

.textdecor-live-preview small,
.textdecor-live-preview strong{
  display:block;
}

.textdecor-live-preview small{
  margin-bottom:5px;
  color:var(--muted);
  font-size:10px;
  font-weight:950;
}

.textdecor-live-preview strong{
  color:var(--ink);
  font-size:clamp(20px,3.6vw,32px);
  line-height:1.45;
  word-break:break-word;
  direction:auto;
  unicode-bidi:plaintext;
}

.textdecor-filter-strip{
  margin-top:13px;
  padding:3px 0 10px;
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
  cursor:grab;
  -webkit-overflow-scrolling:touch;
  user-select:none;
  touch-action:pan-x;
}

.textdecor-filter-strip.is-dragging{
  cursor:grabbing;
  scroll-snap-type:none;
}

.textdecor-filter-strip::-webkit-scrollbar{
  display:none;
}

.textdecor-filter-strip a,
.textdecor-filter-strip button,
.textdecor-utility-actions button{
  min-height:38px;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink);
  background:#ffffff;
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-filter-strip a,
.textdecor-filter-strip button{
  padding:0 14px;
  scroll-snap-align:start;
  text-decoration:none;
}

.textdecor-filter-strip a:hover,
.textdecor-filter-strip a.is-active,
.textdecor-filter-strip button:hover,
.textdecor-filter-strip button.is-active,
.textdecor-utility-actions button:hover,
.textdecor-utility-actions button.is-active{
  border-color:var(--lime);
  color:var(--on-lime);
  background:var(--lime);
}

.textdecor-filter-strip a.is-active{
  border-color:var(--lime);
  color:#071d2b;
  background:linear-gradient(135deg,var(--lime),#ddff87);
  box-shadow:
    0 0 0 2px rgba(203,243,106,.14),
    0 12px 26px rgba(126,164,37,.2);
}

.textdecor-utility-row{
  margin-top:0;
  display:grid;
  gap:10px;
}

.textdecor-utility-row>span{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}

.textdecor-utility-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.textdecor-utility-actions button{
  min-height:42px;
  justify-content:center;
  padding:0 13px;
  border-radius:999px;
}

.textdecor-results{
  margin-top:18px;
  display:grid;
  gap:10px;
}

.textdecor-tool.is-loading-results .textdecor-results{
  min-height:2850px;
}

.textdecor-popular-grid button:nth-child(n+19){
  display:none;
}

.textdecor-popular{
  margin-top:16px;
  padding:16px;
  display:grid;
  gap:13px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(203,243,106,.13),rgba(255,255,255,.72));
}

.textdecor-popular>div:first-child span,
.textdecor-faq>span{
  display:block;
  margin-bottom:5px;
  color:#78984a;
  font-size:10px;
  font-weight:950;
}

.textdecor-popular h3,
.textdecor-faq h2{
  margin:0;
  color:var(--ink);
  font-size:clamp(20px,3vw,28px);
  line-height:1.55;
}

.textdecor-popular-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}

.textdecor-popular-grid button{
  min-height:88px;
  padding:12px 10px;
  display:grid;
  place-items:center;
  gap:5px;
  border:1px solid var(--line);
  border-radius:16px;
  color:#071d2b;
  background:#ffffff;
  font:inherit;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-popular-grid button:hover,
.textdecor-popular-grid button.is-copied{
  border-color:var(--lime);
  background:var(--lime);
  transform:translateY(-2px);
}

.textdecor-popular-grid strong{
  max-width:100%;
  display:block;
  overflow-wrap:anywhere;
  font-size:clamp(17px,3.5vw,24px);
  line-height:1.45;
  text-align:center;
  direction:auto;
  unicode-bidi:plaintext;
}

.textdecor-popular-grid small{
  color:#6d7c82;
  font-size:10px;
  font-weight:950;
}

.textdecor-empty,
.textdecor-result{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.52);
}

.textdecor-empty{
  min-height:112px;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  text-align:center;
}

.textdecor-result{
  min-height:146px;
  padding:18px 14px;
  display:grid;
  grid-template-columns:1fr;
  align-items:start;
  gap:14px;
  transition:.18s ease;
  background:linear-gradient(145deg,#ffffff,#f8fbf4);
}

.textdecor-result.is-favorite{
  border-color:rgba(203,243,106,.92);
  background:
    linear-gradient(145deg,rgba(203,243,106,.38),rgba(255,255,255,.96) 34%,#ffffff),
    #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(203,243,106,.18),
    0 0 0 2px rgba(203,243,106,.12),
    0 18px 42px rgba(203,243,106,.1);
}

.textdecor-result.is-favorite .textdecor-result-name{
  color:var(--lime);
}

.textdecor-result-name{
  display:block;
  margin-bottom:12px;
  color:#6d7c82;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
}

.textdecor-result:hover{
  border-color:rgba(203,243,106,.75);
  transform:translateY(-2px);
}

.textdecor-result-text{
  min-width:0;
  color:#071d2b;
  font-size:clamp(26px,6vw,38px);
  font-weight:900;
  line-height:1.6;
  word-break:break-word;
  direction:auto;
  unicode-bidi:plaintext;
}

.textdecor-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.textdecor-actions button{
  min-width:50px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:13px;
  color:#071d2b;
  background:#ffffff;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-actions button:hover{
  border-color:#4e7bff;
  color:#fff;
  background:#1f49d8;
}

.textdecor-actions button.is-favorite{
  border-color:rgba(126,164,37,.58);
  color:#071d2b;
  background:rgba(203,243,106,.28);
}

.textdecor-actions button.is-favorite::first-letter{
  color:#78984a;
}

.textdecor-actions button:nth-child(2),
.textdecor-actions button:nth-child(3){
  width:auto;
  padding:0 15px;
  font-size:13px;
  font-weight:950;
}

.textdecor-actions button:nth-child(3){
  min-width:50px;
  padding:0;
  border-color:#315bff;
  color:#ffffff;
  background:#244ed8;
}

.textdecor-actions svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.textdecor-load-more{
  display:none;
  width:min(100%,340px);
  min-height:52px;
  margin:16px auto 0;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(203,243,106,.55);
  border-radius:15px;
  color:var(--on-lime);
  background:var(--lime);
  font:inherit;
  font-size:13px;
  font-weight:950;
  cursor:pointer;
  transition:.18s ease;
}

.textdecor-load-more.is-visible{
  display:flex;
}

.textdecor-load-more:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(203,243,106,.2);
}

.textdecor-content{
  margin-top:34px;
  padding:clamp(22px,4vw,34px);
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--card);
  box-shadow:var(--shadow);
}

.textdecor-faq{
  margin-top:24px;
  padding:clamp(22px,4vw,34px);
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--card);
  box-shadow:var(--shadow);
}

.textdecor-faq details{
  margin-top:10px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.58);
}

.textdecor-faq summary{
  min-height:58px;
  padding:14px 18px;
  color:var(--ink);
  font-size:13px;
  font-weight:950;
  cursor:pointer;
}

.textdecor-faq p{
  margin:0;
  padding:0 18px 16px;
  color:#5c6e76;
  font-size:13px;
  line-height:2;
}

.textdecor-content h2{
  margin:26px 0 10px;
  color:var(--ink);
  font-size:clamp(22px,3vw,31px);
}

.textdecor-content h2:first-child{
  margin-top:0;
}

.textdecor-content p{
  margin:0;
  color:#5c6e76;
  font-size:14px;
  line-height:2.05;
}

.textdecor-toast{
  position:fixed;
  right:50%;
  bottom:26px;
  z-index:500;
  padding:12px 18px;
  border-radius:14px;
  color:#071d2b;
  background:var(--lime);
  font-size:12px;
  font-weight:900;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
  opacity:0;
  transform:translate(50%,70px);
  transition:.25s ease;
}

.textdecor-toast.show{
  opacity:1;
  transform:translate(50%,0);
}

body.dark-mode.textdecor-page .textdecor-hero,
body.dark-mode.textdecor-page .textdecor-title-card,
body.dark-mode.textdecor-page .textdecor-tool,
body.dark-mode.textdecor-page .textdecor-content,
body.dark-mode.textdecor-page .textdecor-faq{
  border-color:#29414b;
  background:
    radial-gradient(circle at 12% 12%,rgba(203,243,106,.1),transparent 32%),
    #0b222c;
}

body.dark-mode.textdecor-page .textdecor-title-card{
  box-shadow:0 14px 38px rgba(0,0,0,.26);
}

body.dark-mode.textdecor-page .textdecor-title-card h1,
body.dark-mode.textdecor-page .textdecor-hero-title{
  color:#f4fbfc;
}

body.dark-mode.textdecor-page .textdecor-badges span,
body.dark-mode.textdecor-page .textdecor-form,
body.dark-mode.textdecor-page .textdecor-live-preview,
body.dark-mode.textdecor-page .textdecor-popular,
body.dark-mode.textdecor-page .textdecor-popular-grid button,
body.dark-mode.textdecor-page .textdecor-faq details,
body.dark-mode.textdecor-page .textdecor-form input,
body.dark-mode.textdecor-page .textdecor-form select,
body.dark-mode.textdecor-page .textdecor-presets button,
body.dark-mode.textdecor-page .textdecor-filter-strip a,
body.dark-mode.textdecor-page .textdecor-filter-strip button,
body.dark-mode.textdecor-page .textdecor-utility-actions button,
body.dark-mode.textdecor-page .textdecor-empty,
body.dark-mode.textdecor-page .textdecor-result,
body.dark-mode.textdecor-page .textdecor-actions button{
  border-color:#36515c;
  color:#edf4f6;
  background:#15171c;
}

body.dark-mode.textdecor-page .textdecor-form{
  border-color:#2b3039;
  background:#090b0f;
  box-shadow:0 14px 35px rgba(0,0,0,.35);
}

body.dark-mode.textdecor-page .textdecor-form input,
body.dark-mode.textdecor-page .textdecor-emoji-button{
  color:#edf4f6;
  background:#15171c;
}

body.dark-mode.textdecor-page .textdecor-emoji-panel{
  border-color:#36515c;
  color:#edf4f6;
  background:linear-gradient(145deg,#15171c,#101217);
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}

body.dark-mode.textdecor-page .textdecor-emoji-grid button,
body.dark-mode.textdecor-page .textdecor-emoji-positions button,
body.dark-mode.textdecor-page .textdecor-emoji-custom button,
body.dark-mode.textdecor-page .textdecor-emoji-remove{
  border-color:#323844;
  color:#edf4f6;
  background:#1b1f27;
}

body.dark-mode.textdecor-page .textdecor-emoji-custom input{
  border-color:#323844;
  color:#edf4f6;
  background:#101217;
}

body.dark-mode.textdecor-page .textdecor-form input::placeholder{
  color:#8ea3aa;
}

body.dark-mode.textdecor-page .textdecor-hero p,
body.dark-mode.textdecor-page .textdecor-tool-head p,
body.dark-mode.textdecor-page .textdecor-content p,
body.dark-mode.textdecor-page .textdecor-faq p{
  color:#c0cdd1;
}

body.dark-mode.textdecor-page .textdecor-popular-grid strong,
body.dark-mode.textdecor-page .textdecor-faq h2,
body.dark-mode.textdecor-page .textdecor-faq summary{
  color:#f4fbfc;
}

body.dark-mode.textdecor-page .textdecor-popular-grid button:hover,
body.dark-mode.textdecor-page .textdecor-popular-grid button.is-copied{
  color:#071d2b;
  background:var(--lime);
}

body.dark-mode.textdecor-page .textdecor-filter-strip a.is-active{
  border-color:var(--lime);
  color:#071d2b;
  background:linear-gradient(135deg,var(--lime),#ddff87);
  box-shadow:
    0 0 0 2px rgba(203,243,106,.18),
    0 12px 30px rgba(203,243,106,.18);
}

body.dark-mode.textdecor-page .textdecor-result:hover{
  border-color:#3d4655;
  background:#181b22;
}

body.dark-mode.textdecor-page .textdecor-result-text{
  color:#ffffff;
}

body.dark-mode.textdecor-page .textdecor-result.is-favorite{
  border-color:rgba(203,243,106,.92);
  background:
    linear-gradient(145deg,rgba(203,243,106,.08),rgba(21,23,28,.98) 34%,#0b0f14),
    #15171c;
}

body.dark-mode.textdecor-page .textdecor-actions button:hover{
  color:#071d2b;
  background:var(--lime);
}

body.dark-mode.textdecor-page .textdecor-presets button:hover{
  border-color:var(--lime);
  color:#071d2b;
  background:var(--lime);
}

body.dark-mode.textdecor-page .textdecor-filter-strip a:hover,
body.dark-mode.textdecor-page .textdecor-filter-strip a.is-active,
body.dark-mode.textdecor-page .textdecor-filter-strip button:hover,
body.dark-mode.textdecor-page .textdecor-filter-strip button.is-active,
body.dark-mode.textdecor-page .textdecor-utility-actions button:hover,
body.dark-mode.textdecor-page .textdecor-utility-actions button.is-active{
  border-color:var(--lime);
  color:#071d2b;
  background:var(--lime);
}

body.dark-mode.textdecor-page .textdecor-result-name,
body.dark-mode.textdecor-page .textdecor-utility-row>span,
body.dark-mode.textdecor-page .textdecor-live-preview small{
  color:#aebfc5;
}

body.dark-mode.textdecor-page .textdecor-live-preview strong{
  color:#f4fbfc;
}

body.dark-mode.textdecor-page .textdecor-actions button.is-favorite{
  border-color:rgba(203,243,106,.6);
  color:#fff;
  background:#15171c;
}

@media (max-width:900px){
  .textdecor-hero{
    grid-template-columns:1fr;
  }
  .textdecor-form{
    position:sticky;
    top:84px;
    z-index:30;
    grid-template-columns:minmax(0,1fr) 50px;
  }
  .textdecor-utility-row{
    display:grid;
  }
  .textdecor-utility-actions{
    width:100%;
  }
  .textdecor-utility-actions button{
    flex:1;
  }
  .textdecor-tool-head{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:560px){
  .textdecor-form{
    top:78px;
  }

  .textdecor-popular{
    margin-top:14px;
    padding:11px;
    border-radius:18px;
    gap:10px;
  }

  .textdecor-popular>div:first-child span{
    font-size:9px;
  }

  .textdecor-popular h3{
    font-size:18px;
  }

  .textdecor-popular-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .textdecor-popular-grid button{
    min-height:66px;
    padding:8px 7px;
    border-radius:13px;
    gap:2px;
  }

  .textdecor-popular-grid strong{
    font-size:clamp(14px,4.2vw,17px);
    line-height:1.35;
  }

  .textdecor-popular-grid small{
    font-size:8px;
  }

  .textdecor-hero,
  .textdecor-tool,
  .textdecor-content{
    border-radius:22px;
  }

  .textdecor-tool.is-loading-results .textdecor-results{
    min-height:2550px;
  }
  .textdecor-preview{
    min-height:220px;
  }
  .textdecor-result{
    grid-template-columns:1fr;
  }
  .textdecor-actions{
    justify-content:center;
  }
}
