@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}
.tc-wp-tool-root img,
.tc-wp-tool-root video,
.tc-wp-tool-root svg,
.tc-wp-tool-root iframe {
  max-width: 100%;
  height: auto;
}

.tc-wp-tool-root .ancient-font-generator-tool{
  width: 100%;
  max-width: none;
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
  border-radius: 0 !important;
  padding: 56px 18px;
  color: #fff7df;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 194, 102, 0.34), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(165, 91, 42, 0.34), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(230, 166, 72, 0.24), transparent 38%),
    linear-gradient(135deg, #24150f 0%, #6b3f23 28%, #b88a4c 53%, #2d2b2a 73%, #090806 100%);
  isolation: isolate;
}.tc-wp-tool-root .ancient-font-generator-tool, .tc-wp-tool-root .ancient-font-generator-tool .afg-container, .tc-wp-tool-root .ancient-font-generator-tool .afg-control-panel, .tc-wp-tool-root .ancient-font-generator-tool .afg-grid, .tc-wp-tool-root .ancient-font-generator-tool .afg-card, .tc-wp-tool-root .ancient-font-generator-tool .afg-preview, .tc-wp-tool-root .ancient-font-generator-tool .afg-input, .tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
  box-sizing: border-box;
}.tc-wp-tool-root .ancient-font-generator-tool::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.38;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-hero{
  text-align: center;
  margin: 0 auto 28px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-kicker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 224, 161, 0.34);
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.28);
  color: #ffe0a1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 0 28px rgba(255, 172, 75, 0.18);
}.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
  margin: 16px 0 10px;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0;
  color: #fff8e7;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.38);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 248, 231, 0.88);
  font-size: 1.04rem;
  line-height: 1.65;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-control-panel{
  width: 100%;
  max-width: 940px;
  margin: 0 auto 26px;
  padding: 22px;
  border: 1px solid rgba(255, 226, 170, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 245, 217, 0.14), rgba(18, 14, 10, 0.34));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-label{
  display: block;
  margin: 0 0 9px;
  color: #ffe4ad;
  font-size: 0.94rem;
  font-weight: 800;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 225, 172, 0.36);
  border-radius: 14px;
  outline: none;
  background: rgba(8, 7, 6, 0.56);
  color: #fff8e7;
  font-size: 1.04rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-input::placeholder{
  color: rgba(255, 235, 193, 0.56);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-input:focus{
  border-color: rgba(255, 202, 112, 0.92);
  background: rgba(8, 7, 6, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 185, 83, 0.18), 0 0 30px rgba(255, 172, 75, 0.18);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-helper{
  margin: 9px 0 16px;
  color: rgba(255, 246, 222, 0.72);
  font-size: 0.91rem;
  line-height: 1.45;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-actions, .tc-wp-tool-root .ancient-font-generator-tool .afg-load-wrap{
  display: flex;
  justify-content: center;
  width: 100%;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
  min-height: 46px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(255, 224, 161, 0.34);
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #f4bc68 0%, #9f5d2d 48%, #2d241e 100%);
  color: #fffaf0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.24), 0 0 22px rgba(255, 174, 77, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 184, 88, 0.24);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-btn:focus-visible{
  outline: 3px solid rgba(255, 242, 199, 0.92);
  outline-offset: 3px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-clear-btn{
  min-width: 150px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 100%;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 224, 161, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045)),
    rgba(18, 14, 10, 0.42);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  animation: afgFadeUp 360ms ease both;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-card:hover{
  transform: translateY(-5px);
  border-color: rgba(255, 205, 126, 0.52);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.32), 0 0 34px rgba(255, 177, 76, 0.13);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-style-name{
  margin: 0 0 12px;
  color: #ffe3ab;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
  width: 100%;
  max-width: 100%;
  min-height: 112px;
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px;
  border: 1px solid rgba(255, 226, 170, 0.18);
  border-radius: 14px;
  background: rgba(9, 8, 7, 0.5);
  color: #fff8e7;
  font-size: 1.22rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-preview::-webkit-scrollbar{
  width: 9px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-preview::-webkit-scrollbar-track{
  background: rgba(255, 238, 198, 0.08);
  border-radius: 999px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-preview::-webkit-scrollbar-thumb{
  background: linear-gradient(#f4bc68, #8f552e);
  border-radius: 999px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-copy-btn{
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(255, 232, 181, 0.22), rgba(255, 176, 81, 0.22)), rgba(9, 8, 7, 0.58);
}.tc-wp-tool-root .ancient-font-generator-tool .afg-load-wrap{
  margin-top: 24px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-load-btn{
  min-width: 220px;
}.tc-wp-tool-root .ancient-font-generator-tool .afg-load-btn.afg-hidden{
  display: none;
}@keyframes afgFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}@media (prefers-reduced-motion: reduce) {.tc-wp-tool-root .ancient-font-generator-tool .afg-card, .tc-wp-tool-root .ancient-font-generator-tool .afg-btn, .tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    animation: none;
    transition: none;
  }}@media (min-width: 320px) and (max-width: 374px) {.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 34px 12px;
    border-radius: 0 !important;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
    width: 100%;
    max-width: 1200px;
  }.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
    font-size: 0.92rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-control-panel{
    padding: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    font-size: 0.98rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 44px;
    padding: 11px 14px;
    font-size: 0.9rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: 1fr !important;
    gap: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 1.04rem;
  }}@media (min-width: 375px) and (max-width: 429px) {.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 38px 14px;
    border-radius: 0 !important;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
    width: 100%;
    max-width: 1200px;
  }.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
    font-size: 0.95rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-control-panel{
    padding: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    width: 100%;
    max-width: 100%;
    min-height: 53px;
    font-size: 1rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 45px;
    padding: 11px 15px;
    font-size: 0.92rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: 1fr !important;
    gap: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 1.08rem;
  }}@media (min-width: 430px) and (max-width: 767px) {.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 42px 16px;
    border-radius: 0 !important;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
    width: 100%;
    max-width: 1200px;
  }.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
    font-size: 0.98rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-control-panel{
    padding: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    font-size: 1rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 46px;
    padding: 12px 16px;
    font-size: 0.93rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: 1fr !important;
    gap: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 1.12rem;
  }}@media (min-width: 768px) and (max-width: 1023px) {.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 50px 22px;
    border-radius: 0 !important;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
    width: min(100%, 1200px);
    max-width: 1200px;
  }.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
    font-size: 1rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    font-size: 1.03rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 46px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 1.16rem;
  }}@media (min-width: 1024px) and (max-width: 1199px) {.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 56px 24px;
    border-radius: 0 !important;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
    width: min(100%, 1200px);
    max-width: 1200px;
  }.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
    font-size: 1.03rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    font-size: 1.04rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 46px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 1.18rem;
  }}@media (min-width: 1200px) {.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 64px 28px;
    border-radius: 0 !important;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-container{
    width: min(100%, 1200px);
    max-width: 1200px;
  }.tc-wp-tool-root .ancient-font-generator-tool #afg-title{
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-subtitle{
    font-size: 1.04rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input{
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    font-size: 1.04rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 46px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 1.22rem;
  }}.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}