@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;
}.wpc-scope-293 .tc-wp-tool-root img, .wpc-scope-293 .tc-wp-tool-root video, .wpc-scope-293 .tc-wp-tool-root svg, .wpc-scope-293 .tc-wp-tool-root iframe{
  max-width: 100%;
  height: auto;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool{
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 42px 18px;
  color: #fff4d6;
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 142, 45, 0.34), transparent 32%),
    radial-gradient(circle at 85% 22%, rgba(255, 196, 87, 0.18), transparent 30%),
    linear-gradient(135deg, #120d0a 0%, #2b170e 34%, #0a0a0d 66%, #3b210f 100%);
  border-radius: 18px;
  isolation: isolate;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-shell, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-grid, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-card, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-preview, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-text-input, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
  box-sizing: border-box;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(255, 208, 116, 0.055) 100%);
  background-size: 38px 38px, 38px 38px, auto;
  opacity: 0.55;
  z-index: -1;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-hero{
  text-align: center;
  margin: 0 auto 26px;
  max-width: 860px;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
  color: #ffdf93;
  text-shadow: 0 0 22px rgba(255, 185, 66, 0.42);
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #f5dbad;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-input-panel, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-card{
  border: 1px solid rgba(255, 211, 126, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 232, 177, 0.12), rgba(42, 25, 16, 0.38)),
    rgba(16, 13, 11, 0.58);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-input-panel{
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-label{
  display: block;
  margin: 0 0 10px;
  color: #ffd984;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 112px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(255, 211, 126, 0.34);
  padding: 16px;
  color: #fff7df;
  background: rgba(10, 9, 9, 0.62);
  outline: none;
  font-size: 18px;
  line-height: 1.5;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.32);
  overflow-wrap: anywhere;
  word-break: break-word;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-text-input:focus{
  border-color: rgba(255, 211, 126, 0.84);
  box-shadow: 0 0 0 4px rgba(255, 185, 66, 0.14), inset 0 0 22px rgba(0, 0, 0, 0.32);
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-actions, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-load-wrap{
  display: grid;
  justify-items: center;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-actions{
  justify-items: end;
  margin-top: 14px;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
  min-height: 42px;
  border: 1px solid rgba(255, 213, 126, 0.42);
  border-radius: 10px;
  padding: 11px 18px;
  cursor: pointer;
  color: #1d1308;
  background: linear-gradient(135deg, #ffd978, #b97825);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(196, 116, 31, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-btn:hover{
  filter: brightness(1.08);
  box-shadow: 0 14px 32px rgba(255, 176, 55, 0.28);
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-btn:disabled{
  opacity: 0.48;
  cursor: not-allowed;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow-x: hidden;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-card{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 14px;
  padding: 18px;
  overflow: hidden;
  animation: afgFadeRise 360ms ease both;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-card-title{
  margin: 0 0 12px;
  color: #ffe2a1;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
  width: 100%;
  max-width: 100%;
  min-height: 92px;
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 138, 0.22);
  padding: 13px;
  margin-bottom: 14px;
  color: #fff9e7;
  background:
    linear-gradient(145deg, rgba(83, 52, 24, 0.42), rgba(10, 9, 10, 0.72)),
    radial-gradient(circle at top, rgba(255, 208, 116, 0.1), transparent 58%);
  font-size: 18px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-preview::-webkit-scrollbar, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-text-input::-webkit-scrollbar{
  width: 9px;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-preview::-webkit-scrollbar-track, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-text-input::-webkit-scrollbar-track{
  background: rgba(22, 14, 9, 0.8);
  border-radius: 10px;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-preview::-webkit-scrollbar-thumb, .wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-text-input::-webkit-scrollbar-thumb{
  background: linear-gradient(#ffd978, #9f6420);
  border-radius: 10px;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-copy-btn{
  width: 100%;
}.wpc-scope-293 .tc-wp-tool-root .ancient-font-generator-tool .afg-load-wrap{
  margin-top: 24px;
}@keyframes afgFadeRise{
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}@media (hover: hover){.tc-wp-tool-root .ancient-font-generator-tool .afg-card:hover{
    transform: translateY(-4px);
    border-color: rgba(255, 218, 133, 0.46);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 178, 56, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn:hover{
    transform: translateY(-1px);
  }}@media (min-width: 320px) and (max-width: 374px){.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 24px 10px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
    width: 100%;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
    font-size: 28px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
    font-size: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input-panel{
    padding: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
    min-height: 96px;
    padding: 12px;
    font-size: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    width: 100%;
    min-height: 40px;
    padding: 10px 13px;
    font-size: 13px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: 1fr !important;
    gap: 12px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 13px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 15px;
  }}@media (min-width: 375px) and (max-width: 429px){.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 28px 12px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
    width: 100%;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
    font-size: 31px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
    font-size: 14.5px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input-panel{
    padding: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
    min-height: 100px;
    padding: 13px;
    font-size: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    width: 100%;
    min-height: 41px;
    padding: 10px 14px;
    font-size: 13.5px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: 1fr !important;
    gap: 13px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 16px;
  }}@media (min-width: 430px) and (max-width: 767px){.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 32px 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
    width: 100%;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
    font-size: 34px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
    font-size: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-input-panel{
    padding: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
    min-height: 104px;
    padding: 14px;
    font-size: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 42px;
    padding: 11px 16px;
    font-size: 14px;
  }.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: 15px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 16px;
  }}@media (min-width: 768px) and (max-width: 1023px){.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 38px 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
    width: 96%;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
    font-size: 40px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
    font-size: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
    min-height: 108px;
    font-size: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 42px;
    padding: 11px 17px;
    font-size: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 17px;
  }}@media (min-width: 1024px) and (max-width: 1199px){.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 42px 20px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
    width: 96%;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
    font-size: 44px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
    font-size: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
    min-height: 112px;
    font-size: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 42px;
    padding: 11px 18px;
    font-size: 14px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-card{
    padding: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-preview{
    font-size: 18px;
  }}@media (min-width: 1200px){.tc-wp-tool-root .ancient-font-generator-tool{
    padding: 48px 22px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-shell{
    width: 100%;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero h1{
    font-size: 48px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-hero p{
    font-size: 17px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-text-input{
    min-height: 116px;
    font-size: 18px;
  }.tc-wp-tool-root .ancient-font-generator-tool .afg-btn{
    min-height: 43px;
    padding: 12px 19px;
    font-size: 14px;
  }.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: 18px;
  }}.wpc-scope-293 /* tc-layout-guard: stay in page body flow — do not overlap theme header/nav */
.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;
}.wpc-scope-293 /* tc-auto: preserve HTML class hooks */
.tc-wp-tool-root .afg-clear-btn{}.wpc-scope-293 .tc-wp-tool-root .afg-load-btn{}