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

/* 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 #clg-wrap#clg-wrap{
  --clg-primary: #17201f;
  --clg-secondary: #2f7d67;
  --clg-accent: #b6382d;
  --clg-gold: #c99a45;
  --clg-soft-bg: linear-gradient(135deg, #fffaf0 0%, #f7ead8 48%, #eef7f0 100%);
  --clg-card-bg: rgba(255, 252, 246, .82);
  --clg-heading: #17201f;
  --clg-body: #2d2a26;
  --clg-muted: #81756a;
  --clg-border: rgba(107, 88, 67, .18);
  --clg-button: linear-gradient(135deg, #b6382d 0%, #c99a45 100%);
  --clg-shadow: 0 24px 70px rgba(47, 36, 24, .14), 0 8px 22px rgba(47, 36, 24, .08);
  --clg-radius: 20px;
  position: relative;
  width: 100%;
  max-width: none;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 8%, rgba(201,154,69,.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(47,125,103,.15), transparent 28%),
    var(--clg-soft-bg);
  color: var(--clg-body);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 28px 14px;
  box-sizing: border-box;
}.tc-wp-tool-root #clg-wrap#clg-wrap *, .tc-wp-tool-root #clg-wrap#clg-wrap *::before, .tc-wp-tool-root #clg-wrap#clg-wrap *::after{
  box-sizing: border-box;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-shell{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-hero{
  text-align: center;
  max-width: 860px;
  margin: 0 auto 22px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-title{
  margin: 0 auto 10px;
  max-width: 920px;
  color: var(--clg-heading);
  font-family: "Noto Serif SC", Inter, serif;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-subtitle{
  margin: 0 auto;
  max-width: 720px;
  color: var(--clg-muted);
  font-size: 15px;
  line-height: 1.55;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-tool{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-panel, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-preview, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-result-card{
  background: var(--clg-card-bg);
  border: 1px solid var(--clg-border);
  border-radius: var(--clg-radius);
  box-shadow: var(--clg-shadow);
  backdrop-filter: blur(18px);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-panel{
  padding: 16px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-chip{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 8px;
  color: var(--clg-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}.tc-wp-tool-root #clg-wrap#clg-wrap button, .tc-wp-tool-root #clg-wrap#clg-wrap input, .tc-wp-tool-root #clg-wrap#clg-wrap textarea, .tc-wp-tool-root #clg-wrap#clg-wrap select, .tc-wp-tool-root #clg-wrap#clg-wrap button[type="button"], .tc-wp-tool-root #clg-wrap#clg-wrap input[type="range"], .tc-wp-tool-root #clg-wrap#clg-wrap input[type="color"]{
  appearance: none;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.2;
  border: 1px solid var(--clg-border);
  background: rgba(255,255,255,.88);
  color: var(--clg-body);
  border-radius: 14px;
  box-shadow: none;
  max-width: 100%;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-input{
  display: block;
  width: 100%;
  min-height: 142px;
  padding: 14px;
  resize: vertical;
  font-size: 16px;
  outline: none;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-input:focus, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-select:focus, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-range:focus, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-color:focus, .tc-wp-tool-root #clg-wrap#clg-wrap button:focus-visible{
  outline: 3px solid rgba(182,56,45,.28);
  outline-offset: 2px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-tabs, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-tab, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-btn, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-copy-btn, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-clear-btn, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-more{
  min-height: 44px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-btn{
  background: var(--clg-button);
  color: #fffaf3;
  border-color: rgba(182,56,45,.12);
  box-shadow: 0 12px 24px rgba(182,56,45,.22);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-copy-btn{
  background: rgba(47,125,103,.1);
  color: var(--clg-primary);
  border-color: rgba(47,125,103,.28);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-clear-btn, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-tab, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-more{
  background: rgba(255,255,255,.72);
  color: var(--clg-primary);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-tab-active{
  border-color: rgba(182,56,45,.55);
  box-shadow: inset 0 0 0 2px rgba(182,56,45,.15), 0 8px 20px rgba(182,56,45,.12);
  background: rgba(255,248,239,.95);
}.tc-wp-tool-root #clg-wrap#clg-wrap button:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}.tc-wp-tool-root #clg-wrap#clg-wrap button:active{
  transform: scale(.96);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-options{
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-options.clg-open{
  display: grid;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-select{
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 12px;
  background-image: linear-gradient(45deg, transparent 50%, var(--clg-muted) 50%), linear-gradient(135deg, var(--clg-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-range{
  width: 100%;
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-range::-webkit-slider-runnable-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clg-secondary), var(--clg-gold));
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-range::-moz-range-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clg-secondary), var(--clg-gold));
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-range::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--clg-accent);
  border: 3px solid #fffaf3;
  box-shadow: 0 5px 14px rgba(0,0,0,.22);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-range::-moz-range-thumb{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clg-accent);
  border: 3px solid #fffaf3;
  box-shadow: 0 5px 14px rgba(0,0,0,.22);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-color-row{
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 10px;
  align-items: center;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-color{
  width: 64px;
  min-height: 44px;
  padding: 5px;
  cursor: pointer;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-preview{
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-preview-art{
  position: relative;
  min-height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(91,72,52,.2);
  background:
    linear-gradient(115deg, rgba(255,255,255,.42), transparent 35%),
    radial-gradient(circle at 22% 18%, rgba(201,154,69,.12), transparent 22%),
    repeating-linear-gradient(0deg, rgba(54,39,23,.025), rgba(54,39,23,.025) 1px, transparent 1px, transparent 7px),
    #fbf4e8;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 26px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-preview-text{
  max-width: 100%;
  color: var(--clg-primary);
  font-family: "Noto Serif SC", serif;
  font-size: 52px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: normal;
  text-shadow: 0 8px 26px rgba(23,32,31,.12);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-seal{
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff7ee;
  background: var(--clg-accent);
  border: 2px solid rgba(255,247,238,.75);
  border-radius: 10px;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(182,56,45,.22);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-results{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-result-card{
  height: 222px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-result-card[hidden]{
  display: none;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-result-title{
  margin: 0;
  color: var(--clg-primary);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-result-output{
  min-height: 0;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: normal;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(107,88,67,.14);
  border-radius: 14px;
  color: var(--clg-body);
  font-size: 16px;
  line-height: 1.55;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-toast{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  min-width: 160px;
  max-width: min(90vw, 420px);
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(23,32,31,.96);
  color: #fffaf0;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 26px 80px rgba(0,0,0,.36);
  transition: opacity .2s ease, transform .2s ease;
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-toast.clg-open{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}.tc-wp-tool-root #clg-wrap#clg-wrap .clg-success{
  box-shadow: 0 0 0 4px rgba(47,125,103,.2), 0 10px 24px rgba(47,125,103,.22);
}@media (min-width: 640px) {.tc-wp-tool-root #clg-wrap#clg-wrap{
    padding: 34px 18px;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-results{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-options{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}@media (min-width: 768px) {.tc-wp-tool-root #clg-wrap#clg-wrap .clg-title{
    font-size: clamp(42px, 5vw, 64px);
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-subtitle{
    font-size: 17px;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-more{
    display: none;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-options{
    display: grid;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-results{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}@media (min-width: 1024px) {.tc-wp-tool-root #clg-wrap#clg-wrap{
    padding: 44px 22px;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-tool{
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 18px;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-panel, .tc-wp-tool-root #clg-wrap#clg-wrap .clg-preview{
    padding: 22px;
  }.tc-wp-tool-root #clg-wrap#clg-wrap .clg-results{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}.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;
}

.tc-wp-tool-root .clg-wrap {}