.template3-project-playground {
  min-height: 100vh;
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}





.template3-project-playground, .template3-project-playground *, .template3-project-playground *::before, .template3-project-playground *::after {
  box-sizing: border-box;
}

.template3-project-playground a {
  color: inherit;
}

.template3-project-playground [hidden] {
  display: none !important;
}

.template3-project-playground .mdl-icon {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.template3-project-playground .mdl-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
}



.template3-project-playground .mdl-variant-trigger {
  display: inline-flex;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: var(--surface-1);
  color: var(--ink-1);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.template3-project-playground .mdl-variant-trigger:hover {
  border-color: var(--line-4);
  background: var(--surface-5);
}



.template3-project-playground .pg-composer-wrap {
  width: 100%;
}

.template3-project-playground .prompt-input {
  position: relative;
  width: 100%;
}

.template3-project-playground .prompt-input__shell {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--surface-6);
  cursor: text;
  transition: background-color 0.15s, border-color 0.15s;
}

.template3-project-playground .prompt-input__shell:hover {
  background: var(--surface-7);
}

.template3-project-playground .prompt-input:focus-within .prompt-input__shell {
  border-color: var(--line-3);
  background: var(--surface-6);
}

.template3-project-playground .prompt-input[data-pending="true"] .prompt-input__shell {
  opacity: 0.95;
}

.template3-project-playground .prompt-input__content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.template3-project-playground .prompt-input__textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  max-height: 240px;
  margin: 0 0 56px;
  padding: 12px 12px 0;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink-1);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  box-shadow: none;
}

.template3-project-playground .prompt-input__textarea::placeholder {
  color: var(--ink-5);
}

.template3-project-playground .prompt-input__toolbar {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: default;
}

.template3-project-playground .prompt-input__toolbar-start, .template3-project-playground .prompt-input__toolbar-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.template3-project-playground .prompt-input__toolbar-end {
  margin-inline-start: auto;
}

.template3-project-playground .prompt-input .button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}

.template3-project-playground .prompt-input .button--sm {
  width: 32px;
  height: 32px;
}

.template3-project-playground .prompt-input .button--md {
  width: 36px;
  height: 36px;
}

.template3-project-playground .prompt-input .button--ghost:hover, .template3-project-playground .prompt-input .button--ghost[data-active="true"] {
  background: var(--surface-8);
  color: var(--ink-1);
}

.template3-project-playground .prompt-input .button--primary {
  background: var(--inv-1);
  color: var(--inv-ink-1);
}

.template3-project-playground .prompt-input .button--primary:hover {
  background: var(--inv-2);
}

.template3-project-playground .prompt-input .button--primary:disabled {
  background: var(--surface-11);
  color: var(--surface-6);
  cursor: not-allowed;
}

.template3-project-playground .prompt-input__icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.template3-project-playground .prompt-input__footer {
  margin: 4px 0 0;
  color: var(--ink-5);
  font-size: 12px;
  line-height: 1.33;
  text-align: center;
}

.template3-project-playground .prompt-suggestion {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 32px;
}

.template3-project-playground .prompt-suggestion__items--pill {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 8px;
}

@media (min-width: 40rem) {
  .template3-project-playground .prompt-suggestion__items--pill {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.template3-project-playground .prompt-suggestion__item--pill {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink-1);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.375;
  text-align: start;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.template3-project-playground .prompt-suggestion__item--pill:hover {
  border-color: var(--line-3);
  background: var(--surface-3);
}



.template3-project-playground .pg-settings {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  padding: 12px 16px 16px;
  border: 1px solid var(--line-2);
  background: var(--surface-1);
  text-align: left;
}

.template3-project-playground .pg-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 -8px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}

.template3-project-playground .pg-settings-head p {
  margin: 0;
  color: var(--ink-1);
  font-size: 14px;
  font-weight: 500;
}

.template3-project-playground .pg-settings-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template3-project-playground .pg-settings-field .label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.template3-project-playground .pg-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.template3-project-playground .pg-settings-row code, .template3-project-playground .pg-settings-field small {
  color: var(--ink-5);
  font-family: var(--mono);
  font-size: 12px;
}

.template3-project-playground .pg-settings-field small {
  text-align: right;
  font-size: 11px;
}

.template3-project-playground .pg-settings-field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  outline: none;
  background: var(--surface-4);
  color: var(--ink-1);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.template3-project-playground .pg-settings-field textarea:focus-visible {
  border-color: var(--line-3);
  outline: 2px solid color-mix(in srgb, var(--brand) 60%, transparent);
  outline-offset: -1px;
}

.template3-project-playground .pg-settings-field input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.template3-project-playground .pg-settings-reset {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-ink);
  font-size: 12px;
  cursor: pointer;
}


.template3-project-playground .pg-settings-advanced summary {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: 13px;
  cursor: pointer;
}

.template3-project-playground .pg-settings-advanced summary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

.template3-project-playground .pg-settings-advanced[open] summary::before {
  transform: rotate(45deg);
}

.template3-project-playground .pg-settings-advanced .mdl-core {
  margin-top: 14px;
}



.template3-project-playground .pg-thread {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.template3-project-playground .pg-turn {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template3-project-playground .pg-message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.template3-project-playground .pg-message.is-user {
  align-self: flex-end;
  max-width: 85%;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  background: var(--surface-6);
  color: var(--ink-1);
  font-size: 14px;
  line-height: 1.55;
}

.template3-project-playground .pg-message.is-assistant {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.template3-project-playground .pg-message-author {
  color: var(--ink-5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.template3-project-playground .pg-message-loading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-5);
  font-size: 13px;
}

.template3-project-playground .pg-message-loading i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-4);
  animation: pg-dot 1.2s ease-in-out infinite;
}

.template3-project-playground .pg-message-loading i:nth-child(2) {
  animation-delay: 0.15s;
}

.template3-project-playground .pg-message-loading i:nth-child(3) {
  animation-delay: 0.3s;
}

.template3-project-playground .pg-message-loading span {
  margin-left: 6px;
}

@keyframes pg-dot {
  0%,
  80%,
  100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}

.template3-project-playground .pg-message-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--destructive) 40%, transparent);
  background: color-mix(in srgb, var(--destructive) 8%, transparent);
  color: var(--destructive);
  font-size: 13px;
}

.template3-project-playground .pg-message-error button {
  padding: 5px 10px;
  border: 1px solid var(--line-3);
  background: var(--surface-1);
  color: var(--ink-1);
  font-size: 12px;
  cursor: pointer;
}

.template3-project-playground .pg-message-error button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .pg-message-loading i {
    animation: none;
  }
}


.template3-project-playground .pg-thinking { border-left: 2px solid var(--line-3); padding: 2px 0 2px 12px; color: var(--ink-4); font-size: 13px; line-height: 1.6; }
.template3-project-playground .pg-thinking summary { cursor: pointer; color: var(--ink-5); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; list-style-position: inside; }
.template3-project-playground .pg-thinking summary:hover { color: var(--ink-2); }
.template3-project-playground .pg-thinking p { margin-top: 6px; max-height: 320px; overflow: auto; }
.template3-project-playground .pg-message-stop { align-self: flex-start; padding: 4px 10px; border: 1px solid var(--line-3); background: transparent; color: var(--ink-3); font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.template3-project-playground .pg-message-stop:hover { border-color: var(--ink-4); color: var(--ink-1); }
.template3-project-playground .pg-message-note { color: var(--ink-5); font-family: var(--mono); font-size: 11px; }
.template3-project-playground .pg-message-text.is-streaming .pg-md > :last-child::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ink-4); animation: pg-caret 1s steps(1) infinite; }
@keyframes pg-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .template3-project-playground .pg-message-text.is-streaming .pg-md > :last-child::after { animation: none; } }

.template3-project-playground .pg-md { min-width: 0; overflow-wrap: anywhere; }
.template3-project-playground .pg-message .pg-md p { white-space: normal; }
.template3-project-playground .pg-md > * + * { margin-top: .75em; }
.template3-project-playground .pg-md h1, .template3-project-playground .pg-md h2, .template3-project-playground .pg-md h3, .template3-project-playground .pg-md h4, .template3-project-playground .pg-md h5, .template3-project-playground .pg-md h6 { margin: 1.1em 0 .4em; color: var(--ink-1); font-weight: 650; line-height: 1.35; }
.template3-project-playground .pg-md > :first-child { margin-top: 0; }
.template3-project-playground .pg-md h1 { font-size: 1.35em; }
.template3-project-playground .pg-md h2 { font-size: 1.2em; }
.template3-project-playground .pg-md h3 { font-size: 1.08em; }
.template3-project-playground .pg-md h4, .template3-project-playground .pg-md h5, .template3-project-playground .pg-md h6 { font-size: 1em; }
.template3-project-playground .pg-md ul, .template3-project-playground .pg-md ol { margin: 0; padding-left: 1.4em; }
.template3-project-playground .pg-md ul { list-style: disc; }
.template3-project-playground .pg-md ol { list-style: decimal; }
.template3-project-playground .pg-md li + li { margin-top: .25em; }
.template3-project-playground .pg-md li > ul, .template3-project-playground .pg-md li > ol { margin-top: .25em; }
.template3-project-playground .pg-md li.task-list-item { list-style: none; margin-left: -1.2em; }
.template3-project-playground .pg-md li.task-list-item input { margin-right: 6px; vertical-align: -1px; }
.template3-project-playground .pg-md a { color: var(--brand-ink, var(--brand)); text-decoration: underline; text-underline-offset: 2px; }
.template3-project-playground .pg-md strong { color: var(--ink-1); font-weight: 650; }
.template3-project-playground .pg-md blockquote { margin: 0; padding-left: 12px; border-left: 2px solid var(--line-3); color: var(--ink-4); }
.template3-project-playground .pg-md hr { border: 0; border-top: 1px solid var(--line-2); }
.template3-project-playground .pg-md :not(pre) > code { padding: 1px 5px; border: 1px solid var(--line-2); background: var(--surface-6); color: var(--ink-1); font-family: var(--mono); font-size: .88em; }
.template3-project-playground .pg-md-code { border: 1px solid var(--line-2); background: var(--surface-2); }
.template3-project-playground .pg-md-code-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 4px 12px; border-bottom: 1px solid var(--line-2); color: var(--ink-5); font-family: var(--mono); font-size: 11px; }
.template3-project-playground .pg-md-code-head button { padding: 2px 8px; border: 1px solid var(--line-3); background: transparent; color: var(--ink-3); font: inherit; cursor: pointer; }
.template3-project-playground .pg-md-code-head button:hover { color: var(--ink-1); border-color: var(--ink-4); }
.template3-project-playground .pg-md-code pre { margin: 0; padding: 12px; overflow-x: auto; color: var(--ink-1); font-family: var(--mono); font-size: 13px; line-height: 1.55; white-space: pre; }
.template3-project-playground .pg-md-code pre code { font-family: inherit; }
.template3-project-playground .pg-md-table { max-width: 100%; overflow-x: auto; }
.template3-project-playground .pg-md table { border-collapse: collapse; font-size: 13.5px; }
.template3-project-playground .pg-md th, .template3-project-playground .pg-md td { padding: 6px 10px; border: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.template3-project-playground .pg-md th { background: var(--surface-6); color: var(--ink-1); font-weight: 600; }



.template3-project-playground .model-landing-faq details {
  padding: 18px;
  border: 1px solid var(--line-2);
  background: var(--surface-4);
}

.template3-project-playground .model-landing-faq summary {
  margin: 0 0 8px;
  color: var(--ink-1);
  font-size: 16px;
  font-weight: var(--fw-strong);
}

.template3-project-playground .model-landing-faq p, .template3-project-playground .model-landing-faq li {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

.template3-project-playground .model-landing-faq {
  display: grid;
  gap: 10px;
}

.template3-project-playground .model-landing-faq summary {
  position: relative;
  padding-right: 32px;
  list-style: none;
  cursor: pointer;
}


.template3-project-playground .model-landing-faq summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease, color 0.2s ease;
}

.template3-project-playground .model-landing-faq summary:hover::after {
  color: var(--brand);
}

.template3-project-playground .model-landing-faq details[open] > summary::after {
  color: var(--brand);
  transform: translateY(-30%) rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .model-landing-faq summary::after {
    transition: none;
  }
}

.template3-project-playground .model-landing-faq summary::-webkit-details-marker {
  display: none;
}

.template3-project-playground .model-landing-faq details:not([open]) summary {
  margin-bottom: 0;
}

.template3-project-playground .model-landing-faq ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 1.2em;
}



.template3-project-playground .seo-crawl-index {
  max-width: clamp(1408px, 92vw, 1760px);
  margin: 0 auto;
  padding: 0 16px 3rem;
}

.template3-project-playground .mdl-page .seo-crawl-index {
  padding-top: 8px;
}

.template3-project-playground .seo-crawl-index-inner {
  padding: 24px 24px 20px;
  border: 1px solid var(--line-1);
  background: var(--surface-2);
}

.template3-project-playground .seo-crawl-index h2 {
  margin: 0 0 6px;
  color: var(--ink-1);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.template3-project-playground .seo-crawl-index h2 + ul, .template3-project-playground .seo-crawl-index ul + h2, .template3-project-playground .seo-crawl-index .seo-crawl-desc + h2 {
  margin-top: 16px;
}

.template3-project-playground .seo-crawl-index .seo-crawl-desc {
  max-width: 48rem;
  margin: 0 0 16px;
  color: var(--ink-4);
  font-size: 14px;
  line-height: 1.6;
}

.template3-project-playground .seo-crawl-index ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 6px 24px;
  margin: 0 0 16px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-1);
  list-style: none;
}

.template3-project-playground .seo-crawl-index li {
  font-size: 13px;
  line-height: 1.5;
}

.template3-project-playground .seo-crawl-index a {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s;
}

.template3-project-playground .seo-crawl-index a:hover {
  color: var(--brand-ink);
}

.template3-project-playground .seo-crawl-links {
  margin: 0;
  color: var(--ink-6);
}


.template3-project-playground .mdl-outro .seo-crawl-index-inner { padding: clamp(22px, 3vw, 32px); background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); }
.template3-project-playground .mdl-outro-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
.template3-project-playground .mdl-outro .mdl-outro-about h2 { font-size: clamp(20px, 2vw, 24px); }
.template3-project-playground .mdl-outro .mdl-outro-about .seo-crawl-desc { margin: 0; color: var(--ink-3); font-size: 15px; }
.template3-project-playground .mdl-outro .mdl-outro-label { margin: 0 0 10px; color: var(--ink-5); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.template3-project-playground .mdl-outro .seo-crawl-desc + h2 { margin-top: 0; }
.template3-project-playground .mdl-outro-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.template3-project-playground .mdl-outro .mdl-outro-btn { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; height: 38px; padding: 0 16px; border: 1px solid var(--line-3); background: var(--surface-1); color: var(--ink-1); font-family: inherit; font-size: 13.5px; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.template3-project-playground .mdl-outro .mdl-outro-btn:hover, .template3-project-playground .mdl-outro .mdl-outro-btn:focus-visible { border-color: var(--brand); color: var(--brand-ink); outline: none; }
.template3-project-playground .mdl-outro .mdl-outro-btn.is-primary { border-color: var(--brand); background: var(--brand); color: var(--on-brand); font-weight: 600; }
.template3-project-playground .mdl-outro .mdl-outro-btn.is-primary:hover, .template3-project-playground .mdl-outro .mdl-outro-btn.is-primary:focus-visible { filter: brightness(1.06); color: var(--on-brand); }
.template3-project-playground .mdl-outro-related { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-1); }

.template3-project-playground .mdl-outro .mdl-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; margin: 0; padding: 0; border: 0; list-style: none; }
.template3-project-playground .mdl-outro .mdl-related-grid li { margin: 0; }
.template3-project-playground .mdl-outro .mdl-related-grid li:only-child { max-width: 640px; }
.template3-project-playground .mdl-outro .mdl-related-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-1); color: var(--ink-1); font-family: inherit; transition: border-color .2s, transform .2s; }
.template3-project-playground .mdl-outro .mdl-related-card:hover, .template3-project-playground .mdl-outro .mdl-related-card:focus-visible { border-color: var(--brand); transform: translateY(-2px); outline: none; }

.template3-project-playground .mdl-related-media { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--surface-3); }
.template3-project-playground .mdl-related-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.template3-project-playground .mdl-related-media.is-empty { display: grid; place-items: center; background: radial-gradient(120% 100% at 15% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 62%), radial-gradient(90% 80% at 100% 100%, rgba(120, 140, 255, .16), transparent 60%), var(--surface-3); }
.template3-project-playground .mdl-related-mark { max-width: 100%; box-sizing: border-box; overflow: hidden; padding: 0 16px; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-1); font-family: var(--heading); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-align: center; }
.template3-project-playground .mdl-related-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px 14px; }
.template3-project-playground .mdl-related-name { overflow: hidden; color: var(--ink-1); font-size: 14.5px; font-weight: 560; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.template3-project-playground .mdl-related-kind { display: flex; justify-content: space-between; color: var(--ink-5); font-family: var(--mono); font-size: 11.5px; }
.template3-project-playground .mdl-related-card:hover .mdl-related-kind { color: var(--brand-ink); }
@media (max-width: 720px) {
  .template3-project-playground .mdl-outro-head { grid-template-columns: 1fr; align-items: start; }
  .template3-project-playground .mdl-outro .mdl-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .template3-project-playground .mdl-related-mark { padding: 0 10px; font-size: 15px; }
  .template3-project-playground .mdl-related-body { padding: 10px 11px 12px; }
  .template3-project-playground .mdl-related-name { font-size: 13px; }
}


.template3-project-playground .mdl-readme .mdl-usecase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.template3-project-playground .mdl-readme .mdl-usecase { display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); }
.template3-project-playground .mdl-usecase-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.template3-project-playground .mdl-usecase-media img, .template3-project-playground .mdl-usecase-media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.template3-project-playground .mdl-usecase:hover .mdl-usecase-media img, .template3-project-playground .mdl-usecase:hover .mdl-usecase-media video { transform: scale(1.04); }
.template3-project-playground .mdl-usecase-play { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 26px; height: 26px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 10px; pointer-events: none; }
.template3-project-playground .mdl-usecase-copy { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; font-size: 13.5px; line-height: 1.55; }
.template3-project-playground .mdl-usecase-copy strong { font-size: 14.5px; }
.template3-project-playground .mdl-usecase-grid:not(.has-media) .mdl-usecase { border-left: 2px solid var(--brand); }
@media (max-width: 1100px) {
  .template3-project-playground .mdl-readme .mdl-usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .template3-project-playground .mdl-readme .mdl-usecase-grid { grid-template-columns: 1fr; gap: 10px; }
  .template3-project-playground .mdl-readme .mdl-usecase-grid.has-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template3-project-playground .mdl-usecase-copy { padding: 10px 11px 12px; font-size: 12.5px; }
  .template3-project-playground .mdl-usecase-copy strong { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .mdl-outro .mdl-related-card, .template3-project-playground .mdl-usecase-media img, .template3-project-playground .mdl-usecase-media video { transition: none; }
  .template3-project-playground .mdl-outro .mdl-related-card:hover { transform: none; }
}



.template3-project-playground .mdl-page {
  --mdl-gutter: 16px;
  --mdl-max: clamp(1408px, 92vw, 1760px);
  --mdl-subnav-h: 52px;
  --mdl-site-nav-h: 65px;
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: var(--sans);
}


@media (min-width: 1024px) {
  .template3-project-playground .mdl-page.mdl-page-narrow {
    --mdl-gutter: 24px;
    --mdl-max: 1360px;
  }
}

.template3-project-playground .mdl-header {
  border-bottom: 0;
  background: var(--surface-1);
}

.template3-project-playground .mdl-header-inner {
  width: calc(100% - 2 * var(--mdl-gutter));
  max-width: var(--mdl-max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) 0 clamp(18px, 3vw, 24px);
}


.template3-project-playground .mdl-header-inner.has-hero-actions { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 40px); }
.template3-project-playground .mdl-hero-main { flex: 1; min-width: 0; }
.template3-project-playground .mdl-hero-actions { display: flex; flex: none; align-items: center; gap: 8px; margin-top: 4px; }
.template3-project-playground .mdl-hero-actions .mdl-apidoc-ai, .template3-project-playground .mdl-hero-docs .t3-mode-docbtn { box-sizing: border-box; height: 34px; padding: 0 14px; border-radius: 0; font-size: 13px; white-space: nowrap; }
.template3-project-playground .mdl-hero-docs { display: flex; }
.template3-project-playground .mdl-hero-docs:empty { display: none; }
.template3-project-playground .mdl-hero-docs .t3-mode-docbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; border: 1px solid var(--line-3); background: var(--surface-2); color: var(--ink-1); text-decoration: none; transition: border-color .15s, color .15s; }
.template3-project-playground .mdl-hero-docs .t3-mode-docbtn:hover, .template3-project-playground .mdl-hero-docs .t3-mode-docbtn:focus-visible { border-color: var(--brand); color: var(--brand); outline: none; }
@media (max-width: 860px) {
  .template3-project-playground .mdl-header-inner.has-hero-actions { flex-direction: column; }
  .template3-project-playground .mdl-hero-actions { flex-wrap: wrap; margin-top: 0; }
}

.template3-project-playground .mdl-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.template3-project-playground .mdl-vendor-icon {
  width: 32px;
  height: 32px;
  flex: none;
  padding: 5px;
  border: 1px solid var(--line-2);
  background: var(--surface-4);
  object-fit: contain;
}

.template3-project-playground .mdl-vendor-letter {
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--brand-ink);
  font-family: var(--mono);
  font-size: 14px;
}

.template3-project-playground .mdl-title {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.template3-project-playground .mdl-title-vendor {
  color: var(--ink-4);
  font-weight: 400;
}

.template3-project-playground .mdl-title-slash {
  color: var(--ink-6);
  font-weight: var(--fw-regular);
}

.template3-project-playground .mdl-title-name {
  color: var(--ink-1);
}

.template3-project-playground .mdl-variant-menu {
  position: relative;
}

.template3-project-playground .mdl-variant-menu summary {
  list-style: none;
}

.template3-project-playground .mdl-variant-menu summary::-webkit-details-marker {
  display: none;
}

.template3-project-playground .mdl-variant-trigger .mdl-icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.15s;
}

.template3-project-playground .mdl-variant-menu[open] .mdl-variant-trigger .mdl-icon {
  transform: rotate(180deg);
}

.template3-project-playground .mdl-variant-trigger.is-icon {
  width: 28px;
  padding: 0;
}

.template3-project-playground .mdl-variant-trigger.is-static {
  cursor: default;
}

.template3-project-playground .mdl-variant-trigger.is-static:hover {
  border-color: var(--line-2);
  background: var(--surface-1);
}

.template3-project-playground .mdl-title-row .mdl-variant-trigger {
  height: 28px;
  border-color: transparent;
  color: var(--ink-4);
}

.template3-project-playground .mdl-variant-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--line-2);
  background: var(--surface-3);
  box-shadow: var(--rim);
}

.template3-project-playground .mdl-variant-option {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
  text-decoration: none;
}

.template3-project-playground .mdl-variant-option code {
  color: var(--ink-6);
  font-family: var(--mono);
  font-size: 11px;
}

.template3-project-playground .mdl-variant-option:hover, .template3-project-playground .mdl-variant-option.is-active {
  background: var(--surface-6);
  color: var(--ink-1);
}

.template3-project-playground .mdl-variant-option.is-active span::after {
  content: " \2713";
  color: var(--brand-ink);
}

.template3-project-playground .mdl-description {
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  color: var(--ink-4);
  font-size: 14px;
  line-height: 1.65;
}

.template3-project-playground .mdl-family-description {
  margin-bottom: 0;
}

.template3-project-playground .mdl-family-variants {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-1);
}

.template3-project-playground .mdl-family-variants-label {
  margin-bottom: 9px;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.template3-project-playground .mdl-family-variants-list {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}

.template3-project-playground .mdl-family-variant {
  display: grid;
  min-width: 170px;
  flex: 0 0 auto;
  gap: 4px;
  padding: 10px 13px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink-3);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}

.template3-project-playground .mdl-family-variant:hover, .template3-project-playground .mdl-family-variant:focus-visible {
  border-color: var(--line-4);
  background: var(--surface-5);
  color: var(--ink-1);
  outline: none;
  transform: translateY(-1px);
}

.template3-project-playground .mdl-family-variant.is-active {
  border-color: var(--brand);
  background: var(--surface-6);
  color: var(--ink-1);
  box-shadow: inset 0 -2px 0 var(--brand);
}

.template3-project-playground .mdl-family-variant span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template3-project-playground .mdl-family-variant code {
  overflow: hidden;
  color: var(--ink-5);
  font-family: var(--mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template3-project-playground .mdl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
}

.template3-project-playground .mdl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.template3-project-playground .mdl-badge .mdl-icon {
  width: 13px;
  height: 13px;
  color: var(--ink-5);
}


.template3-project-playground .mdl-badge-saving {
  gap: 5px;
  color: var(--brand-ink);
}

.template3-project-playground .mdl-badge-saving strong {
  font-weight: var(--fw-strong);
}

.template3-project-playground .mdl-badge-price strong {
  color: var(--brand-ink);
}

.template3-project-playground .mdl-badge-live, .template3-project-playground .mdl-badge-tag {
  color: var(--brand-ink);
}

.template3-project-playground .mdl-badge-id {
  color: var(--ink-5);
  font-family: var(--mono);
  cursor: pointer;
}

.template3-project-playground .mdl-badge-id:hover {
  color: var(--ink-1);
}

.template3-project-playground .mdl-subnav {
  position: sticky;
  z-index: 20;
  top: var(--mdl-site-nav-h);
  border-bottom: 1px solid var(--line-1);
  background: var(--surface-1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.template3-project-playground .mdl-subnav-inner {
  display: flex;
  width: calc(100% - 2 * var(--mdl-gutter));
  max-width: var(--mdl-max);
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.template3-project-playground .mdl-subnav-inner::-webkit-scrollbar {
  display: none;
}

.template3-project-playground .mdl-subnav-link {
  display: inline-flex;
  height: var(--mdl-subnav-h);
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--ink-5);
  font-size: 13px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.template3-project-playground .mdl-subnav-link:hover {
  color: var(--ink-2);
}

.template3-project-playground .mdl-subnav-link[aria-current="true"] {
  color: var(--ink-1);
  border-bottom-color: var(--brand);
}

.template3-project-playground .mdl-section {
  width: calc(100% - 2 * var(--mdl-gutter));
  max-width: var(--mdl-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0;
  scroll-margin-top: calc(var(--mdl-site-nav-h) + var(--mdl-subnav-h) + 16px);
}

.template3-project-playground .mdl-section + .mdl-section {
  border-top: 1px solid var(--line-1);
}

.template3-project-playground .mdl-section-title {
  margin: 0 0 24px;
  color: var(--ink-1);
  font-family: var(--heading);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.template3-project-playground .mdl-panel-title {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template3-project-playground .mdl-playground {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
}

.template3-project-playground .mdl-playground-input, .template3-project-playground .mdl-playground-output {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.template3-project-playground .mdl-playground-input {
  padding-right: 32px;
  border-right: 1px solid var(--line-1);
}

.template3-project-playground .mdl-playground-output {
  position: sticky;
  top: calc(var(--mdl-subnav-h) + 72px);
  padding-left: 32px;
}

.template3-project-playground .mdl-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}

.template3-project-playground .mdl-panel-heading {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding-bottom: 10px;
  color: var(--ink-1);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
}

.template3-project-playground .mdl-panel-heading small {
  color: var(--ink-6);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.04em;
}

.template3-project-playground .mdl-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.template3-project-playground .mdl-tab {
  flex: none;
  padding: 6px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-5);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.template3-project-playground .mdl-tab:hover {
  color: var(--ink-2);
}

.template3-project-playground .mdl-tab[aria-selected="true"] {
  border-color: var(--line-3);
  background: var(--surface-5);
  color: var(--ink-1);
}

.template3-project-playground .mdl-tabs-underline {
  gap: 2px;
}

.template3-project-playground .mdl-tabs-underline .mdl-tab {
  margin-bottom: -1px;
  padding: 0 8px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
}

.template3-project-playground .mdl-tabs-underline .mdl-tab[aria-selected="true"] {
  border-color: var(--ink-3);
  background: transparent;
}

.template3-project-playground .mdl-field-help {
  margin: 0;
  color: var(--ink-5);
  font-size: 12px;
  line-height: 1.55;
}

.template3-project-playground .mdl-field-help a {
  color: var(--brand-ink);
}

.template3-project-playground .mdl-signin-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
}

.template3-project-playground .mdl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line-3);
  background: var(--surface-5);
  color: var(--ink-1);
  font-family: inherit;
  font-size: 13px;
  font-weight: var(--fw-strong);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.template3-project-playground .mdl-btn:hover {
  background: var(--surface-7);
}

.template3-project-playground .mdl-btn-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}

.template3-project-playground .mdl-btn-primary:hover {
  background: color-mix(in srgb, var(--brand) 86%, var(--surface-base));
}

.template3-project-playground .mdl-btn-ghost {
  border-color: var(--line-2);
  background: transparent;
  color: var(--ink-3);
}

.template3-project-playground .mdl-btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
}

.template3-project-playground .mdl-run-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.template3-project-playground .mdl-code-panel {
  position: relative;
}

.template3-project-playground .mdl-code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
}

.template3-project-playground .mdl-code {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  tab-size: 2;
  white-space: pre;
}

.template3-project-playground .mdl-playground .mdl-code {
  max-height: 640px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
}

.template3-project-playground .mdl-output-preview {
  margin: 0;
}

.template3-project-playground .mdl-output-preview img, .template3-project-playground .mdl-output-preview video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  object-fit: contain;
}

.template3-project-playground .mdl-output-preview-audio {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}


.template3-project-playground .mdl-output-preview-audio.is-coverless {
  grid-template-columns: minmax(0, 1fr);
}

.template3-project-playground .mdl-output-preview .mdl-output-preview-audio img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.template3-project-playground .mdl-output-preview-audio audio {
  display: block;
  width: 100%;
  color-scheme: dark;
}

.template3-project-playground .mdl-output-audio-body {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: center;
}

.template3-project-playground .mdl-output-audio-title {
  color: var(--ink-1);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.template3-project-playground .mdl-output-audio-tags {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-4);
  font-size: 12.5px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.template3-project-playground .mdl-output-audio-script {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  max-height: 240px;
  margin: 0;
  padding: 12px 14px;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.template3-project-playground .mdl-output-audio-script li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.template3-project-playground .mdl-output-audio-script b {
  justify-self: start;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(124, 92, 255, 0.18);
  color: #b9a6ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
}

.template3-project-playground .mdl-output-audio-script li[data-speaker="2"] b {
  background: rgba(45, 212, 191, 0.16);
  color: #7ee8d6;
}

@media (max-width: 640px) {
  .template3-project-playground .mdl-output-preview-audio {
    grid-template-columns: minmax(0, 1fr);
  }
}

.template3-project-playground .mdl-output-preview figcaption {
  margin-top: 14px;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 1.55;
}

.template3-project-playground .mdl-output-empty {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px dashed var(--line-2);
  color: var(--ink-5);
  font-size: 13px;
  text-align: center;
}

.template3-project-playground .mdl-output-empty .mdl-icon {
  width: 22px;
  height: 22px;
  color: var(--ink-6);
}

.template3-project-playground .mdl-output-empty p {
  max-width: 34ch;
  margin: 0;
}


.template3-project-playground .mdl-output-run-results {
  min-width: 0;
}

.template3-project-playground .mdl-output-run-results.is-hidden {
  display: none;
}

.template3-project-playground .mdl-output-run-results:not(:empty) ~ .mdl-output-fallback {
  display: none;
}

.template3-project-playground .mdl-api {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
}

.template3-project-playground .mdl-api-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-2);
}

.template3-project-playground .mdl-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line-1);
  font-family: var(--mono);
  font-size: 12.5px;
}

.template3-project-playground .mdl-endpoint strong {
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, transparent);
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: var(--fw-regular);
}

.template3-project-playground .mdl-endpoint code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink-2);
}

.template3-project-playground .mdl-api .mdl-code {
  max-height: 520px;
}

.template3-project-playground .mdl-api .mdl-field-help {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line-1);
}

.template3-project-playground .mdl-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.template3-project-playground .mdl-example-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: inherit;
  text-align: left;
}

.template3-project-playground .mdl-example-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface-4);
  transition: border-color 0.15s;
}

.template3-project-playground .mdl-example-card:hover .mdl-example-media {
  border-color: var(--line-4);
}

.template3-project-playground .mdl-example-media img, .template3-project-playground .mdl-example-media video {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.template3-project-playground .mdl-example-card:hover .mdl-example-media img, .template3-project-playground .mdl-example-card:hover .mdl-example-media video {
  transform: scale(1.04);
}

.template3-project-playground .mdl-price-card {
  transition: border-color 0.2s, transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.template3-project-playground .mdl-price-card:hover {
  border-color: var(--line-3);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .mdl-example-media img, .template3-project-playground .mdl-example-media video, .template3-project-playground .mdl-price-card {
    transition: none;
  }

  .template3-project-playground .mdl-example-card:hover .mdl-example-media img, .template3-project-playground .mdl-example-card:hover .mdl-example-media video, .template3-project-playground .mdl-price-card:hover {
    transform: none;
  }
}


.template3-project-playground .mdl-example-card-audio .mdl-example-audio-cover {
  aspect-ratio: 1 / 1;
}

.template3-project-playground .mdl-example-audio-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-size: 40px;
}

.template3-project-playground .mdl-example-audio {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 10px;
  color-scheme: dark;
}

.template3-project-playground .mdl-example-media img, .template3-project-playground .mdl-example-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template3-project-playground .mdl-example-title {
  display: block;
  overflow: hidden;
  padding: 10px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template3-project-playground .mdl-pricing .mdl-section-title {
  margin-bottom: 20px;
}

.template3-project-playground .mdl-pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 24px;
}

.template3-project-playground .mdl-pricing-copy p {
  margin: 0 0 12px;
  color: var(--ink-4);
  font-size: 15px;
  line-height: 1.6;
}


.template3-project-playground .mdl-pricing-layout .t3-trow > span { gap: 8px; padding: 16px 22px; justify-content: flex-start; }
.template3-project-playground .mdl-pricing-layout .t3-trow > span b { font-size: 13px; line-height: 1.4; }
.template3-project-playground .mdl-pricing-layout .t3-trow > span strong { font-size: 18px; line-height: 1.3; }
.template3-project-playground .mdl-pricing-layout .t3-trow > span strong small { font-size: 12px !important; }
.template3-project-playground .mdl-pricing-layout .t3-trow > span strong s { font-size: 13px; }
.template3-project-playground .mdl-pricing-layout .t3-tiers td { font-size: 16px; }

.template3-project-playground .mdl-pricing-copy a {
  color: var(--ink-1);
}


.template3-project-playground .mdl-pricing-layout > .mdl-price-table { min-width: 0; }
.template3-project-playground .mdl-pricing-layout > .mdl-price-table > .t3-trow, .template3-project-playground .mdl-pricing-layout > .mdl-price-table > .t3-tiers, .template3-project-playground .mdl-pricing-layout > .mdl-price-table > .mdl-price-saving-row:first-of-type { margin-top: 0; }
.template3-project-playground .mdl-pricing-layout > .mdl-price-table > .mdl-price-summary { margin: 10px 0 0; }
.template3-project-playground .mdl-pricing-layout > .mdl-price-table .t3-tiers { width: 100%; overflow-x: auto; }
.template3-project-playground .mdl-pricing-layout > .mdl-price-table .t3-tiers table { width: 100%; }

.template3-project-playground .mdl-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 10px;
}

.template3-project-playground .mdl-price-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.template3-project-playground .mdl-price-criteria {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.template3-project-playground .mdl-price-value {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.template3-project-playground .mdl-price-dimension {
  display: block;
  color: var(--ink-4);
  font-size: 12px;
}

.template3-project-playground .mdl-price-sale, .template3-project-playground .mdl-price-original {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  font-variant-numeric: tabular-nums;
}

.template3-project-playground .mdl-price-amount {
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 500;
}

.template3-project-playground .mdl-price-original {
  color: var(--ink-4);
  font-size: 18px;
}

.template3-project-playground .mdl-price-unit {
  color: var(--ink-4);
  font-size: 12px;
}

.template3-project-playground .mdl-readme {
  max-width: 82ch;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.75;
}

.template3-project-playground .mdl-readme h2, .template3-project-playground .mdl-readme h3 {
  margin: 1.8em 0 0.6em;
  color: var(--ink-1);
  font-family: var(--heading);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.template3-project-playground .mdl-readme h2 {
  margin-top: 0;
  font-size: 1.6em;
}

.template3-project-playground .mdl-readme h3 {
  font-size: 1.2em;
}

.template3-project-playground .mdl-readme p, .template3-project-playground .mdl-readme ul {
  margin: 0 0 1em;
}

.template3-project-playground .mdl-readme ul {
  padding-left: 1.4em;
}

.template3-project-playground .mdl-readme li {
  margin: 0.3em 0;
}

.template3-project-playground .mdl-readme strong {
  color: var(--ink-1);
  font-weight: var(--fw-strong);
}



.template3-project-playground .mdl-readme-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.template3-project-playground .mdl-readme-layout .mdl-readme {
  max-width: none;
  min-width: 0;
}

.template3-project-playground .mdl-readme-toc {
  position: sticky;
  top: 132px;
  padding: 18px 0 18px 18px;
  border-left: 1px solid var(--line-2);
}

.template3-project-playground .mdl-readme-toc-title {
  margin: 0 0 12px;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template3-project-playground .mdl-readme-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.template3-project-playground .mdl-readme-toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s;
}

.template3-project-playground .mdl-readme-toc a:hover {
  color: var(--ink-1);
}

.template3-project-playground .mdl-readme h3[id] {
  scroll-margin-top: 132px;
}

.template3-project-playground .mdl-readme h4 {
  margin: 1.4em 0 0.4em;
  color: var(--ink-1);
  font-size: 1em;
  font-weight: var(--fw-strong);
}

.template3-project-playground .mdl-readme ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.template3-project-playground .mdl-readme code {
  padding: 1px 6px;
  background: var(--surface-5);
  color: var(--ink-1);
  font-family: var(--mono);
  font-size: 0.86em;
}

.template3-project-playground .mdl-readme a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.template3-project-playground .mdl-readme-points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 0 0 1em;
}

.template3-project-playground .mdl-readme-points > div {
  padding: 16px 18px;
  border: 1px solid var(--line-1);
  background: var(--surface-4);
}

.template3-project-playground .mdl-readme-points dt {
  margin: 0 0 4px;
  color: var(--ink-1);
  font-weight: var(--fw-strong);
  line-height: 1.4;
}

.template3-project-playground .mdl-readme-points dd {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

.template3-project-playground .mdl-readme-table-wrap {
  margin: 0 0 1em;
  overflow-x: auto;
  border: 1px solid var(--line-1);
}

.template3-project-playground .mdl-readme-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.template3-project-playground .mdl-readme-table th, .template3-project-playground .mdl-readme-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-1);
  text-align: start;
  vertical-align: top;
}

.template3-project-playground .mdl-readme-table thead th {
  background: var(--surface-4);
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template3-project-playground .mdl-readme-table tbody th {
  color: var(--ink-1);
  font-weight: var(--fw-strong);
  white-space: nowrap;
}

.template3-project-playground .mdl-readme-table tbody th small {
  display: block;
  margin-top: 2px;
  color: var(--ink-5);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: var(--fw-regular);
}

.template3-project-playground .mdl-readme-table tbody tr:last-child th, .template3-project-playground .mdl-readme-table tbody tr:last-child td {
  border-bottom: 0;
}

.template3-project-playground .mdl-readme-table td s {
  color: var(--ink-5);
  font-size: 12px;
}

.template3-project-playground .mdl-readme-compare tbody th {
  width: 88px;
}

.template3-project-playground .mdl-readme-example {
  margin: 0 0 1em;
  padding: 12px 16px;
  border-left: 2px solid var(--brand);
  background: var(--surface-4);
  color: var(--ink-2);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .template3-project-playground .mdl-readme-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .template3-project-playground .mdl-readme-toc {
    position: static;
    padding: 14px 16px;
    border: 1px solid var(--line-1);
  }

  .template3-project-playground .mdl-readme-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .template3-project-playground .mdl-readme-table tbody th {
    white-space: normal;
  }
}

.template3-project-playground #readme > .mdl-panel-title {
  margin-bottom: 18px;
  color: var(--ink-1);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}



.template3-project-playground .mdl-state-page {
  min-height: 60vh;
}

.template3-project-playground .mdl-state {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  border: 1px dashed var(--line-2);
  color: var(--ink-4);
  font-size: 14px;
  text-align: center;
}

.template3-project-playground .mdl-state p {
  max-width: 52ch;
  margin: 0;
}

.template3-project-playground .mdl-state.is-error {
  border-style: solid;
  background: var(--surface-2);
}

.template3-project-playground .mdl-state.is-error .mdl-section-title {
  margin: 0;
}

.template3-project-playground .mdl-state.is-error .mdl-panel-title {
  margin: 0;
  color: var(--destructive);
}

.template3-project-playground .mdl-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-2);
  border-top-color: var(--ink-2);
  border-radius: 50%;
  animation: mdl-spin 0.9s linear infinite;
}

@keyframes mdl-spin {
  to {
    transform: rotate(360deg);
  }
}


.template3-project-playground .mdl-skeleton {
  background: linear-gradient(100deg, var(--surface-5) 30%, color-mix(in srgb, var(--ink-1) 9%, var(--surface-5)) 50%, var(--surface-5) 70%) 0 0 / 220% 100%;
  animation: t3m-shimmer 1.5s ease-in-out infinite;
}

.template3-project-playground .mdl-skeleton-title {
  width: min(360px, 70%);
  height: 34px;
  margin-bottom: 16px;
}

.template3-project-playground .mdl-skeleton-line {
  width: min(640px, 100%);
  height: 12px;
  margin-top: 10px;
}

.template3-project-playground .mdl-skeleton-line.is-short {
  width: min(420px, 70%);
}

@keyframes mdl-pulse {
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .mdl-spinner, .template3-project-playground .mdl-skeleton {
    animation: none;
  }
}



.template3-project-playground .mdl-core {
  color: var(--ink-2);
  font-size: 14px;
}

.template3-project-playground .mdl-core * {
  border-radius: 0 !important;
}

.template3-project-playground .mdl-core .space-y-5 > * + * {
  margin-top: 16px;
}

.template3-project-playground .mdl-core .space-y-3 > * + * {
  margin-top: 16px;
}

.template3-project-playground .mdl-core label.block, .template3-project-playground .mdl-core .space-y-2, .template3-project-playground .mdl-core .space-y-1 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template3-project-playground .mdl-core label.block > * + *, .template3-project-playground .mdl-core .space-y-2 > * + *, .template3-project-playground .mdl-core .space-y-1 > * + * {
  margin-top: 0;
}

.template3-project-playground .mdl-core .font-semibold.text-gray-700, .template3-project-playground .mdl-core .text-xs.font-semibold {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-1);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: var(--fw-regular);
}

.template3-project-playground .mdl-core .text-\[10px\] {
  color: var(--ink-6);
  font-family: var(--mono);
  font-size: 11px;
}

.template3-project-playground .mdl-core .text-rose-500, .template3-project-playground .mdl-core .text-rose-600, .template3-project-playground .mdl-core .text-\[11px\].text-rose-500 {
  color: var(--destructive);
}

.template3-project-playground .mdl-core .text-amber-600 {
  color: var(--accent-yellow);
}

.template3-project-playground .mdl-core .text-gray-400, .template3-project-playground .mdl-core .text-gray-500 {
  color: var(--ink-5);
}

.template3-project-playground .mdl-core .text-gray-600 {
  color: var(--ink-4);
}

.template3-project-playground .mdl-core .text-gray-700, .template3-project-playground .mdl-core .text-gray-900 {
  color: var(--ink-2);
}

.template3-project-playground .mdl-core textarea, .template3-project-playground .mdl-core input:not([type="range"]):not([type="file"]):not([type="checkbox"]), .template3-project-playground .mdl-core select {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--line-2);
  background: var(--surface-4);
  color: var(--ink-1);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
}

.template3-project-playground .mdl-core textarea {
  min-height: 68px;
  resize: vertical;
}

.template3-project-playground .mdl-core textarea.font-mono {
  font-family: var(--mono);
  font-size: 12.5px;
}

.template3-project-playground .mdl-core textarea::placeholder, .template3-project-playground .mdl-core input::placeholder {
  color: var(--ink-6);
}

.template3-project-playground .mdl-core textarea:focus-visible, .template3-project-playground .mdl-core input:focus-visible, .template3-project-playground .mdl-core select:focus-visible, .template3-project-playground .mdl-core textarea:focus, .template3-project-playground .mdl-core input:focus {
  border-color: var(--line-3);
  outline: 2px solid color-mix(in srgb, var(--brand) 60%, transparent);
  outline-offset: -1px;
}

.template3-project-playground .mdl-core input[type="range"] {
  height: 22px;
  accent-color: var(--brand);
}

.template3-project-playground .mdl-core .flex.flex-wrap.gap-2 button {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
}

.template3-project-playground .mdl-core .flex.flex-wrap.gap-2 button:hover {
  border-color: var(--line-4);
  color: var(--ink-1);
}

.template3-project-playground .mdl-core .flex.flex-wrap.gap-2 button.bg-gray-900 {
  border-color: var(--line-3);
  background: var(--surface-5);
  color: var(--ink-1);
}

.template3-project-playground .mdl-core button.relative.h-5.w-9 {
  width: 38px;
  height: 21px;
  border: 1px solid var(--line-3);
  background: var(--surface-6);
}

.template3-project-playground .mdl-core button.relative.h-5.w-9.bg-gray-900 {
  border-color: color-mix(in srgb, var(--brand) 46%, transparent);
  background: color-mix(in srgb, var(--brand) 26%, var(--surface-6));
}

.template3-project-playground .mdl-core button.relative.h-5.w-9 span {
  top: 2px;
  width: 15px;
  height: 15px;
  background: var(--ink-4);
}

.template3-project-playground .mdl-core button.relative.h-5.w-9.bg-gray-900 span {
  background: var(--brand);
}

.template3-project-playground .mdl-core .border-dashed {
  padding: 18px;
  border: 1px dashed var(--line-2);
  background: transparent;
  text-align: center;
}

.template3-project-playground .mdl-core label.inline-flex.cursor-pointer {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  background: var(--surface-1);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: var(--fw-regular);
}

.template3-project-playground .mdl-core label.inline-flex.cursor-pointer:hover {
  border-color: var(--line-4);
  color: var(--ink-1);
}

.template3-project-playground .mdl-core .hidden {
  display: none;
}

.template3-project-playground .mdl-core .grid.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.template3-project-playground .mdl-core .bg-white, .template3-project-playground .mdl-core .bg-gray-50 {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.template3-project-playground .mdl-core .border-gray-200, .template3-project-playground .mdl-core .border-gray-300 {
  border-color: var(--line-2);
}

.template3-project-playground .mdl-core .rounded-xl.border.border-gray-200 > button {
  padding: 10px 12px;
  background: transparent;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: var(--fw-strong);
}

.template3-project-playground .mdl-core .rounded-xl.border.border-gray-200 > button:hover {
  background: var(--surface-5);
  color: var(--ink-1);
}

.template3-project-playground .mdl-core .t3-pg-actions > button.bg-gray-950 {
  display: flex;
  width: fit-content;
  min-width: 180px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--inv-1);
  background: var(--inv-1);
  color: var(--inv-ink-1);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.template3-project-playground .mdl-core .t3-pg-actions > button.bg-gray-950:hover {
  background: var(--inv-2);
}

.template3-project-playground .mdl-core .t3-pg-actions > button.bg-gray-950:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.template3-project-playground .mdl-core .bg-rose-50 {
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--destructive) 40%, transparent);
  background: color-mix(in srgb, var(--destructive) 10%, transparent);
  color: var(--destructive);
  font-size: 13px;
}

.template3-project-playground .mdl-core .rounded-2xl.border.bg-white {
  padding: 16px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
}

.template3-project-playground .mdl-core .rounded-2xl.border-dashed {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-5);
  font-size: 13px;
}

.template3-project-playground .mdl-core .rounded-lg.bg-gray-50, .template3-project-playground .mdl-core pre.bg-gray-50 {
  padding: 10px 12px;
  border: 1px solid var(--line-1);
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13px;
}

.template3-project-playground .mdl-core pre.bg-gray-50 {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
}

.template3-project-playground .mdl-core .rounded-lg.border.border-gray-200.bg-gray-50 {
  font-family: var(--mono);
  font-size: 12px;
}

.template3-project-playground .mdl-core pre.bg-gray-950 {
  margin: 0;
  padding: 14px;
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: var(--mono);
}

.template3-project-playground .mdl-core .mt-3.overflow-hidden.rounded-lg.border {
  margin-top: 12px;
  border: 1px solid var(--line-2);
}

.template3-project-playground .mdl-core .mt-3.overflow-hidden.rounded-lg.border > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid var(--line-2);
}

.template3-project-playground .mdl-core .mt-3.overflow-hidden.rounded-lg.border button, .template3-project-playground .mdl-core button.rounded.border {
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.template3-project-playground .mdl-core button.rounded.border {
  padding: 4px 8px;
  border-color: var(--line-2);
}

.template3-project-playground .mdl-core .mt-3.overflow-hidden.rounded-lg.border button:hover, .template3-project-playground .mdl-core button.rounded.border:hover {
  color: var(--ink-1);
}

.template3-project-playground .mdl-core img.rounded-lg, .template3-project-playground .mdl-core video.rounded-lg {
  border: 1px solid var(--line-2);
  background: var(--surface-1);
}

.template3-project-playground .mdl-core .mb-2.flex.text-xs {
  color: var(--ink-5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}



@media (max-width: 1024px) {
  .template3-project-playground .mdl-pricing-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .template3-project-playground .mdl-playground {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .template3-project-playground .mdl-playground-input {
    padding-right: 0;
    border-right: 0;
  }

  .template3-project-playground .mdl-playground-output {
    position: static;
    padding-left: 0;
  }
}

@media (max-width: 640px) {

  .template3-project-playground .seo-crawl-index {
    padding: 0 16px 2rem;
  }

  .template3-project-playground .seo-crawl-index-inner {
    padding: 20px 18px 16px;
  }

  .template3-project-playground .mdl-examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .template3-project-playground .mdl-core .t3-pg-actions > button.bg-gray-950 {
    width: 100%;
  }

  .template3-project-playground .mdl-variant-list {
    min-width: min(280px, calc(100vw - 32px));
  }
}



.template3-project-playground .mdl-chat-input .prompt-input__footer {
  margin-top: 8px;
  text-align: start;
}

.template3-project-playground .mdl-chat-input .prompt-suggestion__items--pill {
  margin-top: 18px;
}

.template3-project-playground .mdl-playground-output .pg-thread {
  max-height: min(640px, 70vh);
  overflow-y: auto;
  padding: 4px 4px 4px 0;
}


.template3-project-playground .mdl-core .schema-media-upload {
  padding: 0;
  border: 0;
  text-align: left;
}
.template3-project-playground .mdl-core .schema-media-upload label.inline-flex.cursor-pointer {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  padding: 6px 12px;
  border-style: dashed;
}
.template3-project-playground .mdl-core .schema-media-upload .grid.grid-cols-2 {
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}
.template3-project-playground .mdl-core .flex.flex-wrap.gap-2 button {
  min-height: 36px;
  min-width: 56px;
  padding: 6px 14px;
}
.template3-project-playground .mdl-core .flex.flex-wrap.gap-2 button[aria-pressed="true"] {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, var(--surface-4));
  color: var(--brand);
}

.template3-project-playground .mdl-performance-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.template3-project-playground .mdl-performance-heading .mdl-section-title { margin-bottom:10px; }
.template3-project-playground .mdl-performance-period { display:flex; gap:4px; border:1px solid var(--line-2); padding:4px; flex-shrink:0; }
.template3-project-playground .mdl-performance-period button { padding:8px 14px; font:inherit; font-size:13px; color:var(--ink-4); background:transparent; border:0; cursor:pointer; }
.template3-project-playground .mdl-performance-period button[aria-pressed="true"] { color:var(--brand); background:var(--surface-4); }
.template3-project-playground .mdl-performance-window { display:inline-block; margin-left:8px; padding:3px 8px; border:1px solid var(--line-2); font-size:12px; font-weight:500; color:var(--ink-3); vertical-align:middle; }
.template3-project-playground .mdl-availability { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:24px; align-items:center; width:100%; height:100%; }
.template3-project-playground .mdl-availability > .mdl-performance-interactive { align-self:stretch; }
.template3-project-playground .mdl-availability-readout { padding:18px 20px; border:1px solid var(--line-2); background:var(--surface-2, var(--surface-1)); }
.template3-project-playground .mdl-availability-readout > strong { display:block; padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid var(--line-2); font-size:14px; font-weight:500; color:var(--ink-1); font-variant-numeric:tabular-nums; }
.template3-project-playground .mdl-availability-readout > div { display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--ink-4); }
.template3-project-playground .mdl-availability-readout > div span { display:flex; align-items:center; gap:8px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .mdl-availability-readout i { flex:none; width:12px; height:2px; background:var(--brand); position:relative; }
.template3-project-playground .mdl-availability-readout i::after { content:""; position:absolute; left:3px; top:-3px; width:4px; height:4px; border:1px solid var(--brand); border-radius:50%; background:var(--surface-1); }
.template3-project-playground .mdl-availability-readout b { font-weight:500; color:var(--ink-1); font-variant-numeric:tabular-nums; }
.template3-project-playground .mdl-performance-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:16px; }
.template3-project-playground .mdl-performance-card { min-width:0; padding:24px; border:1px solid var(--line-2); background:var(--surface-1); }
.template3-project-playground .mdl-performance-card h3 { font-size:14px; font-weight:500; margin:0 0 18px; color:var(--ink-3); }
.template3-project-playground .mdl-performance-card strong { display:block; font-size:30px; font-weight:500; color:var(--ink-1); font-variant-numeric:tabular-nums; }
.template3-project-playground .mdl-performance-card p { margin:12px 0 24px; font-size:12px; color:var(--ink-5); min-height:18px; }
.template3-project-playground .mdl-performance-chart { height:100px; display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--line-2); background:repeating-linear-gradient(to top,transparent 0,transparent 32px,var(--line-1) 33px); color:var(--ink-5); font-size:13px; }
.template3-project-playground .mdl-performance-chart svg { width:100%; height:100%; fill:var(--brand); }
.template3-project-playground .mdl-performance-axis { display:flex; justify-content:space-between; margin-top:10px; color:var(--ink-5); font-size:11px; }
@media(max-width:760px) { .template3-project-playground .mdl-performance-chart { height:auto; } .template3-project-playground .mdl-availability { grid-template-columns:1fr; gap:12px; } .template3-project-playground .mdl-availability > .mdl-performance-interactive { height:240px; } .template3-project-playground .mdl-performance-grid { grid-template-columns:1fr; } .template3-project-playground .mdl-performance-heading { align-items:flex-start; flex-direction:column; gap:16px; } .template3-project-playground .mdl-performance-card { padding:20px; } }

.template3-project-playground .mdl-performance-chart { height:150px; background:none; }
.template3-project-playground .mdl-performance-chart svg { fill:none; color:var(--brand); overflow:visible; }
.template3-project-playground .mdl-performance-gridline { stroke:var(--line-2); stroke-width:1; stroke-dasharray:3 5; }
.template3-project-playground .mdl-performance-point { fill:var(--brand); stroke:var(--surface-1); stroke-width:2; opacity:0; transition:opacity .15s; }
.template3-project-playground .mdl-performance-chart:hover .mdl-performance-point { opacity:1; }
.template3-project-playground .mdl-performance-demo { float:right; padding:3px 7px; border:1px solid var(--line-2); color:var(--ink-5); font-size:10px; }

.template3-project-playground .mdl-performance-chart { height:300px; border-bottom:0; }
.template3-project-playground .mdl-performance-interactive { width:100%; height:100%; min-width:0; }
.template3-project-playground .mdl-performance-interactive svg { overflow:visible; }
.template3-project-playground .mdl-performance-tooltip { padding:12px 14px; background:var(--surface-4); border:1px solid var(--line-3); box-shadow:0 8px 24px #0006; min-width:150px; }
.template3-project-playground .mdl-performance-tooltip > span { display:block; margin-bottom:8px; color:var(--ink-4); font-size:11px; }
.template3-project-playground .mdl-performance-tooltip > strong { font-size:13px; white-space:nowrap; color:var(--brand); }
.template3-project-playground .mdl-performance-tooltip > small { display:block; margin-top:8px; color:var(--ink-5); font-size:10px; }

.template3-project-playground .mdl-example-select { display:flex; flex-direction:column; padding:0; text-align:left; font:inherit; color:var(--ink-1); background:var(--surface-1); border:1px solid var(--line-2); cursor:pointer; overflow:hidden; transition:border-color .15s; }
.template3-project-playground .mdl-example-select:hover, .template3-project-playground .mdl-example-select:focus-visible { border-color:var(--brand); outline:none; }
.template3-project-playground .mdl-example-select:disabled { cursor:default; }
.template3-project-playground .mdl-example-select .mdl-example-media { display:block; width:100%; aspect-ratio:16/10; overflow:hidden; }
.template3-project-playground .mdl-example-select .mdl-example-media img, .template3-project-playground .mdl-example-select .mdl-example-media video { width:100%; height:100%; object-fit:cover; }
 .template3-project-playground .mdl-example-caption { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; width:100%; min-width:0; box-sizing:border-box; }
.template3-project-playground .mdl-example-select .mdl-example-title { min-width:0; padding:0; font-size:12px; line-height:1.5; }
.template3-project-playground .mdl-example-apply { flex-shrink:0; color:var(--brand); font-size:11px; line-height:1.5; }

.template3-project-playground .mdl-examples-empty { border:1px dashed var(--line-2); padding:32px; color:var(--ink-5); text-align:center; }


.template3-project-playground .mdl-core .t3-media-field { display:grid; gap:8px; }
.template3-project-playground .mdl-core .t3-media-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.template3-project-playground .mdl-core .t3-media-link-toggle { padding:5px 9px; border:1px solid var(--line-2); color:var(--ink-3); font-size:12px; background:var(--surface-4); }
.template3-project-playground .mdl-core .t3-media-links[hidden] { display:none; }
.template3-project-playground .mdl-core .t3-media-links textarea { min-height:56px; font-size:12px; }
.template3-project-playground .mdl-core .t3-media-tray { display:flex; flex-wrap:wrap; gap:8px; padding:8px; border:1px solid var(--line-2); }
.template3-project-playground .mdl-core .t3-media-add, .template3-project-playground .mdl-core .t3-media-tile { position:relative; width:92px; height:92px; flex:none; border:1px solid var(--line-2); overflow:hidden; }
.template3-project-playground .mdl-core .t3-media-add { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer; color:var(--ink-4); background:var(--surface-4); font-size:11px; }
.template3-project-playground .mdl-core .t3-media-add:hover { border-color:var(--brand); color:var(--brand); }
.template3-project-playground .mdl-core .t3-media-add:focus-within { outline:2px solid var(--brand); outline-offset:2px; }
.template3-project-playground .mdl-core .t3-media-plus { font-size:30px; line-height:1; }
.template3-project-playground .mdl-core .t3-media-add.is-full { opacity:.4; cursor:default; }
.template3-project-playground .mdl-core .t3-media-tile img { width:100%; height:100%; object-fit:cover; }
.template3-project-playground .mdl-core .t3-media-tile button { position:absolute; top:3px; right:3px; display:grid; place-items:center; min-height:24px; width:24px; padding:0; border:1px solid var(--line-2); background:var(--surface-1); color:var(--ink-1); font-size:18px; }
.template3-project-playground .mdl-core .t3-media-filename { display:block; padding:10px; font-size:11px; overflow-wrap:anywhere; }
.template3-project-playground .mdl-core .t3-media-count { color:var(--ink-5); font-size:11px; text-align:right; }
.template3-project-playground .mdl-core .t3-media-count.is-full { color:var(--brand); }

.template3-project-playground .mdl-core .t3-link-dialog { position:fixed; inset:0; margin:auto; height:fit-content; width:min(480px, calc(100vw - 32px)); max-height:calc(100dvh - 48px); box-sizing:border-box; padding:22px; color:var(--ink-1); background:var(--surface-1); border:1px solid var(--line-3); overflow:auto; }
.template3-project-playground .mdl-core .t3-link-dialog::backdrop { background:rgb(0 0 0 / .65); backdrop-filter:blur(3px); }
.template3-project-playground .mdl-core .t3-link-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.template3-project-playground .mdl-core .t3-link-dialog h3 { margin:0; font-size:16px; }
.template3-project-playground .mdl-core .t3-link-dialog-heading button { border:0; background:transparent; color:var(--ink-4); font-size:24px; }
.template3-project-playground .mdl-core .t3-link-dialog label { display:block; margin-bottom:8px; font-size:12px; }
.template3-project-playground .mdl-core .t3-link-dialog textarea { min-height:110px; font-size:13px; }
.template3-project-playground .mdl-core .t3-link-dialog p { margin:8px 0; font-size:12px; color:var(--ink-5); }
.template3-project-playground .mdl-core .t3-link-dialog .t3-link-dialog-error { color:#f87171; }
.template3-project-playground .mdl-core .t3-link-dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:20px; }
.template3-project-playground .mdl-core .t3-link-dialog-actions button { padding:8px 18px; border:1px solid var(--line-2); background:transparent; color:var(--ink-2); font-size:12px; }
.template3-project-playground .mdl-core .t3-link-dialog-actions button:last-child { background:var(--brand); color:var(--surface-1); border-color:var(--brand); }

.template3-project-playground .mdl-core .t3-choice-options { display:flex; flex-wrap:wrap; gap:8px; }
.template3-project-playground .mdl-core .t3-choice-options button { min-height:36px; min-width:64px; padding:7px 14px; border:1px solid var(--line-2); background:var(--surface-1); color:var(--ink-3); font:inherit; font-size:13px; line-height:20px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-choice-options button:hover { border-color:var(--ink-4); color:var(--ink-1); }
.template3-project-playground .mdl-core .t3-choice-options button[aria-pressed="true"] { border-color:var(--brand); color:var(--brand); background:color-mix(in srgb,var(--brand) 12%,var(--surface-1)); }
.template3-project-playground .mdl-core .t3-choice-options button:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }

.template3-project-playground .mdl-title-row .mdl-title-saving { flex:none; display:inline-flex; align-items:baseline; gap:6px; margin-inline-start:8px; padding:6px 12px; border-radius:999px; background:var(--brand); color:var(--brand-on, #0b0b0d); font-size:14px; font-weight:600; line-height:20px; white-space:nowrap; }
.template3-project-playground .mdl-title-row .mdl-title-saving strong { font-size:16px; font-weight:800; }
.template3-project-playground .mdl-title-row .mdl-title-copy { flex:none; max-width:100%; margin-inline-start:8px; padding:5px 8px; border:1px solid var(--line-2); font-size:12px; line-height:20px; }
.template3-project-playground .mdl-title-copy span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:240px; }
@media (max-width:640px) { .template3-project-playground .mdl-title-row .mdl-title-copy { margin-inline-start:0; } .template3-project-playground .mdl-title-copy span { max-width:200px; } }


.template3-project-playground .mdl-output-run-results .bg-white, .template3-project-playground .mdl-output-run-results .bg-gray-50 { background:var(--surface-2); }
.template3-project-playground .mdl-output-run-results .border-gray-200, .template3-project-playground .mdl-output-run-results .border-gray-300 { border-color:var(--line-2); }
.template3-project-playground .mdl-output-run-results .text-gray-700 { color:var(--ink-2); }
.template3-project-playground .mdl-output-run-results .text-gray-500 { color:var(--ink-5); }


.template3-project-playground .t3-generation-stage { --gen-accent:var(--brand); --gen-ratio:1; --gen-progress:0; position:relative; isolation:isolate; display:flex; flex-direction:column; gap:10px; width:100%; min-width:0; min-height:260px; max-height:min(72vh,640px); aspect-ratio:var(--gen-stage-ratio,4/3); box-sizing:border-box; overflow:hidden; color:var(--ink-3); }
.template3-project-playground .t3-generation-canvas { position:relative; display:grid; flex:1 1 auto; min-height:0; place-items:center; container-type:size; }
.template3-project-playground .t3-generation-frame { position:relative; display:block; width:100%; height:100%; overflow:hidden; border-radius:10px; background:#0a0b0a; box-shadow:0 0 0 1px color-mix(in srgb,var(--ink-1) 9%,transparent), 0 24px 60px -30px rgb(0 0 0 / .9); }
@supports (width:1cqw) { .template3-project-playground .t3-generation-frame { width:min(100cqw, calc(100cqh * var(--gen-ratio))); height:auto; aspect-ratio:var(--gen-ratio); } }

.template3-project-playground .t3-generation-frame::before { content:''; position:absolute; inset:0; z-index:3; pointer-events:none; border-radius:inherit; box-shadow:inset 0 0 0 1px rgb(255 255 255 / .04), inset 0 0 70px rgb(0 0 0 / .55); }
.template3-project-playground .t3-generation-frame::after { content:''; position:absolute; inset:-40%; z-index:4; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size:140px; opacity:.075; mix-blend-mode:overlay; animation:t3-generation-grain 1.2s steps(5) infinite; }

.template3-project-playground .t3-generation-develop { position:absolute; inset:-25%; z-index:1; filter:blur(34px); opacity:.55; animation:t3-generation-emerge 26s cubic-bezier(.3,0,.2,1) forwards; }
.template3-project-playground .t3-generation-develop i { position:absolute; display:block; border-radius:50%; mix-blend-mode:screen; will-change:transform; }
.template3-project-playground .t3-generation-develop i:nth-child(1) { left:8%; top:12%; width:62%; aspect-ratio:1; background:radial-gradient(closest-side,rgb(240 236 226 / .5),transparent); animation:t3-generation-drift-a 16s ease-in-out infinite alternate; }
.template3-project-playground .t3-generation-develop i:nth-child(2) { right:6%; top:26%; width:54%; aspect-ratio:1; background:radial-gradient(closest-side,color-mix(in srgb,var(--gen-accent) 42%,transparent),transparent); animation:t3-generation-drift-b 21s ease-in-out infinite alternate; }
.template3-project-playground .t3-generation-develop i:nth-child(3) { left:24%; bottom:4%; width:66%; aspect-ratio:1.3; background:radial-gradient(closest-side,rgb(128 150 182 / .42),transparent); animation:t3-generation-drift-c 25s ease-in-out infinite alternate; }

.template3-project-playground .t3-generation-sheen { position:absolute; inset:0 -60%; z-index:2; pointer-events:none; background:linear-gradient(105deg,transparent 38%,rgb(255 255 255 / .05) 46%,rgb(255 255 255 / .09) 50%,rgb(255 255 255 / .05) 54%,transparent 62%); transform:translateX(-60%); animation:t3-generation-sheen 5.6s cubic-bezier(.5,0,.3,1) infinite; }


.template3-project-playground .t3-generation-wave { position:absolute; inset:28% -50%; z-index:3; pointer-events:none; background:repeating-linear-gradient(90deg,rgb(255 255 255 / .1) 0 2px,transparent 2px 7px); -webkit-mask-image:linear-gradient(180deg,transparent,#000 35%,#000 65%,transparent); mask-image:linear-gradient(180deg,transparent,#000 35%,#000 65%,transparent); animation:t3-generation-strip 3.2s linear infinite; }
.template3-project-playground .t3-generation-caption { display:flex; flex:none; align-items:baseline; justify-content:space-between; gap:12px; min-width:0; padding:0 2px; }
.template3-project-playground .t3-generation-label { min-width:0; overflow:hidden; font-size:13.5px; font-weight:500; letter-spacing:.005em; line-height:1.4; white-space:nowrap; text-overflow:ellipsis; color:var(--ink-2); background:linear-gradient(90deg,var(--ink-4) 0%,var(--ink-4) 38%,var(--ink-1) 50%,var(--ink-4) 62%,var(--ink-4) 100%); background-size:250% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:t3-generation-shimmer 3.6s linear infinite; }
.template3-project-playground .t3-generation-meter { display:block; flex:none; }
.template3-project-playground .t3-generation-time { font:500 11.5px/1 var(--mono); letter-spacing:.12em; color:var(--ink-5); font-variant-numeric:tabular-nums; }

.template3-project-playground .t3-generation-bar { position:relative; display:block; flex:none; height:1px; margin:0 2px; overflow:hidden; background:color-mix(in srgb,var(--ink-1) 11%,transparent); }
.template3-project-playground .t3-generation-bar i { position:absolute; inset:0; display:block; background:linear-gradient(90deg,color-mix(in srgb,var(--gen-accent) 25%,transparent),color-mix(in srgb,var(--gen-accent) 85%,transparent)); transform-origin:0 50%; transform:scaleX(var(--gen-progress)); transition:transform 1s linear; }
.template3-project-playground .t3-generation-bar::after { content:''; position:absolute; top:0; bottom:0; left:0; width:22%; background:linear-gradient(90deg,transparent,rgb(255 255 255 / .55),transparent); transform:translateX(-100%); animation:t3-generation-glide 2.8s cubic-bezier(.6,0,.3,1) infinite; }

.template3-project-playground .t3-generation-reveal { animation:t3-generation-reveal .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes t3-generation-emerge { to { opacity:1; } }
@keyframes t3-generation-sheen { 0% { transform:translateX(-60%); } 62%,100% { transform:translateX(60%); } }
@keyframes t3-generation-strip { to { transform:translateX(-20px); } }
@keyframes t3-generation-shimmer { from { background-position:100% 0; } to { background-position:-150% 0; } }
@keyframes t3-generation-glide { 0% { transform:translateX(-100%); } 70%,100% { transform:translateX(460%); } }
@keyframes t3-generation-grain { 0% { transform:translate(0,0); } 20% { transform:translate(-3%,2%); } 40% { transform:translate(2%,-3%); } 60% { transform:translate(-2%,-1%); } 80% { transform:translate(3%,1%); } 100% { transform:translate(0,0); } }
@keyframes t3-generation-drift-a { to { transform:translate(22%,14%) scale(1.18) rotate(8deg); } }
@keyframes t3-generation-drift-b { to { transform:translate(-28%,-12%) scale(.86); } }
@keyframes t3-generation-drift-c { to { transform:translate(-12%,-22%) scale(1.12) rotate(-10deg); } }
@keyframes t3-generation-breathe { 50% { opacity:.35; } }
@keyframes t3-generation-reveal { from { opacity:0; filter:blur(14px); transform:scale(1.015); } to { opacity:1; filter:blur(0); transform:none; } }
@media (max-width:640px) { .template3-project-playground .t3-generation-stage { min-height:220px; } }
@media (prefers-reduced-motion:reduce) {
  .template3-project-playground .t3-generation-frame::after, .template3-project-playground .t3-generation-develop, .template3-project-playground .t3-generation-develop i, .template3-project-playground .t3-generation-wave, .template3-project-playground .t3-generation-bar::after, .template3-project-playground .t3-generation-reveal { animation:none; }
  .template3-project-playground .t3-generation-develop { opacity:.85; }
  .template3-project-playground .t3-generation-sheen { display:none; }
  .template3-project-playground .t3-generation-label { animation:none; background:none; -webkit-text-fill-color:currentColor; }
  .template3-project-playground .t3-generation-bar i { transition:none; }
}



.template3-project-playground .mdl-core .t3-pg-params > * + * { margin-top: 18px; }
.template3-project-playground .mdl-core .t3-pg-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.template3-project-playground .mdl-core .t3-pg-fields > * { grid-column: 1 / -1; margin-top: 0 !important; }

.template3-project-playground .mdl-core .t3-pg-fields > .t3-media-field[data-media-count="1"] { grid-column: auto; }
.template3-project-playground .mdl-core .t3-pg-fields > .t3-media-field[data-media-count="1"] .t3-media-tray { min-height: 0; }
.template3-project-playground .mdl-core .t3-media-add, .template3-project-playground .mdl-core .t3-media-tile { width: 76px; height: 76px; }
.template3-project-playground .mdl-core .t3-media-plus { font-size: 24px; }
.template3-project-playground .mdl-core .t3-pg-fields p.text-xs { margin: 6px 0 0; line-height: 1.5; }
.template3-project-playground .mdl-core .t3-choice-options { gap: 6px; }
.template3-project-playground .mdl-core .t3-choice-options button { min-height: 32px; min-width: 56px; padding: 5px 12px; }

.template3-project-playground .mdl-core .t3-range-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.template3-project-playground .mdl-core .t3-range-value { color: var(--brand); font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.template3-project-playground .mdl-core .t3-range-field input[type="range"] { width: 100%; margin: 4px 0 0; accent-color: var(--brand); cursor: pointer; }
.template3-project-playground .mdl-core .t3-range-scale { display: flex; justify-content: space-between; color: var(--ink-6); font-family: var(--mono); font-size: 11px; }

.template3-project-playground .mdl-core .t3-pg-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-top: 0 !important;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-1);
  background: var(--surface-1);
  box-shadow: 0 -12px 16px -12px rgb(0 0 0 / 0.55);
}
.template3-project-playground .mdl-core .t3-pg-actions > .t3-form-error { align-self: stretch; margin: 0; }
.template3-project-playground .mdl-core .t3-pg-actions > button.bg-gray-950 { margin-left: 0; }



.template3-project-playground .mdl-core .t3-pg-fields { grid-auto-flow: row dense; row-gap: 16px; }
.template3-project-playground .mdl-core .t3-pg-fields > .t3-choice-field[data-compact="true"] { grid-column: auto; }

@media (max-width: 560px) {
  .template3-project-playground .mdl-core .t3-pg-fields > .t3-media-field[data-media-count="1"], .template3-project-playground .mdl-core .t3-pg-fields > .t3-choice-field[data-compact="true"] { grid-column: 1 / -1; }
}



.template3-project-playground .mdl-core .t3-mode-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.template3-project-playground .mdl-core .t3-mode-bar { flex:1 1 360px; min-width:0; display:flex; gap:4px; padding:4px; overflow-x:auto; scrollbar-width:none; border:1px solid var(--line-2); background:var(--surface-1); }
.template3-project-playground .mdl-core .t3-mode-bar::-webkit-scrollbar { display:none; }
.template3-project-playground .mdl-core .t3-mode { flex:none; min-height:32px; padding:6px 12px; border:0; background:transparent; color:var(--ink-4); font:inherit; font-size:13px; white-space:nowrap; cursor:pointer; transition:background .15s,color .15s; }
.template3-project-playground .mdl-core .t3-mode:hover { color:var(--ink-1); background:var(--surface-4); }
.template3-project-playground .mdl-core .t3-mode[aria-selected="true"] { background:var(--ink-1); color:var(--surface-1); font-weight:600; }
.template3-project-playground .mdl-core .t3-mode:focus-visible { outline:2px solid var(--brand); outline-offset:-2px; }
.template3-project-playground .mdl-core .t3-mode-doc { color:var(--ink-4); font-size:12px; text-decoration:none; white-space:nowrap; }
.template3-project-playground .mdl-core .t3-mode-doc:hover { color:var(--brand); }

.template3-project-playground .mdl-core .t3-field-label-row { display:inline-flex; align-items:center; gap:6px; }
.template3-project-playground .mdl-core .t3-field-doc { display:inline-grid; place-items:center; width:16px; height:16px; border:1px solid var(--line-3); color:var(--ink-5); font-family:var(--mono); font-size:10px; line-height:1; text-decoration:none; }
.template3-project-playground .mdl-core .t3-field-doc:hover, .template3-project-playground .mdl-core .t3-field-doc:focus-visible { color:var(--brand); border-color:var(--brand); }


.template3-project-playground .mdl-core .t3-frame-pair { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:12px; }
.template3-project-playground .mdl-core .t3-frame-pair.is-single { grid-template-columns:minmax(0,1fr); max-width:420px; }
.template3-project-playground .mdl-core .t3-frame-arrow { color:var(--ink-6); font-family:var(--mono); font-size:14px; }
.template3-project-playground .mdl-core .t3-frame-slot-field { display:grid; gap:6px; min-width:0; }
.template3-project-playground .mdl-core .t3-frame-slot { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; aspect-ratio:16/9; max-width:100%; overflow:hidden; border:1px dashed var(--line-3); background:var(--surface-1); color:var(--ink-4); font-size:12px; }
.template3-project-playground .mdl-core .t3-frame-slot:hover { border-color:var(--ink-3); color:var(--ink-1); }
.template3-project-playground .mdl-core .t3-frame-slot.is-filled { border-style:solid; border-color:var(--line-2); }
.template3-project-playground .mdl-core .t3-frame-slot.is-filled img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.template3-project-playground .mdl-core .t3-frame-tag { position:absolute; z-index:1; top:8px; left:8px; padding:2px 6px; background:rgb(0 0 0 / .65); color:var(--ink-1); font-size:11px; }
.template3-project-playground .mdl-core .t3-frame-doc { position:absolute; z-index:1; top:8px; right:8px; }
.template3-project-playground .mdl-core .t3-frame-drop { display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-frame-drop:focus-within { outline:2px solid var(--brand); outline-offset:4px; }
.template3-project-playground .mdl-core .t3-frame-link { border:0; padding:0; background:none; color:var(--ink-5); font-size:11px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-frame-link:hover { color:var(--ink-1); }
.template3-project-playground .mdl-core .t3-frame-ops { position:absolute; z-index:1; right:8px; bottom:8px; display:flex; gap:4px; }
.template3-project-playground .mdl-core .t3-frame-op { padding:3px 8px; border:1px solid var(--line-3); background:rgb(0 0 0 / .7); color:var(--ink-1); font-size:11px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-frame-op:focus-within, .template3-project-playground .mdl-core .t3-frame-op:focus-visible { outline:2px solid var(--brand); outline-offset:1px; }
.template3-project-playground .mdl-core .t3-frame-slot .t3-media-filename { position:relative; max-width:80%; text-align:center; }


.template3-project-playground .mdl-core .t3-ref-tray-field { display:grid; gap:8px; }
.template3-project-playground .mdl-core .t3-ref-tray-hint { color:var(--ink-6); font-size:11px; }

.template3-project-playground .mdl-core .t3-ref-tray.has-items { align-items:stretch; justify-content:flex-start; }
.template3-project-playground .mdl-core .t3-ref-tray-items { display:flex; flex-wrap:wrap; gap:8px; }
.template3-project-playground .mdl-core .t3-ref-tile, .template3-project-playground .mdl-core .t3-ref-add { position:relative; width:84px; height:84px; flex:none; overflow:hidden; border:1px solid var(--line-2); }
.template3-project-playground .mdl-core .t3-ref-tile img, .template3-project-playground .mdl-core .t3-ref-tile video { width:100%; height:100%; object-fit:cover; }
.template3-project-playground .mdl-core .t3-ref-tile[data-kind="audio"] { background:repeating-linear-gradient(90deg,var(--surface-4) 0 3px,var(--surface-1) 3px 6px); }
.template3-project-playground .mdl-core .t3-ref-tile[data-kind="video"] { background:var(--surface-4); }
.template3-project-playground .mdl-core .t3-ref-tile-name { display:block; padding:24px 6px 0; font-size:10px; color:var(--ink-4); overflow-wrap:anywhere; }
.template3-project-playground .mdl-core .t3-ref-tile-kind { position:absolute; top:4px; left:4px; padding:1px 5px; background:rgb(0 0 0 / .7); color:var(--ink-2); font-family:var(--mono); font-size:10px; }
.template3-project-playground .mdl-core .t3-ref-tile-remove { position:absolute; top:3px; right:3px; display:grid; place-items:center; width:20px; height:20px; padding:0; border:0; background:rgb(0 0 0 / .7); color:var(--ink-1); font-size:13px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-ref-tile-cite { position:absolute; left:0; right:0; bottom:0; padding:3px 5px; border:0; background:rgb(0 0 0 / .78); color:var(--brand); font-family:var(--mono); font-size:10px; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
.template3-project-playground .mdl-core .t3-ref-tile-cite:hover { background:rgb(0 0 0 / .9); text-decoration:underline; }
.template3-project-playground .mdl-core .t3-ref-add { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:var(--ink-4); font-size:11px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-ref-add:hover { color:var(--ink-1); border-color:var(--line-3); }
.template3-project-playground .mdl-core .t3-ref-add:focus-within { outline:2px solid var(--brand); outline-offset:2px; }
.template3-project-playground .mdl-core .t3-ref-tray-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.template3-project-playground .mdl-core .t3-ref-quota { display:flex; gap:8px; color:var(--ink-6); font-family:var(--mono); font-size:10.5px; font-variant-numeric:tabular-nums; }
.template3-project-playground .mdl-core .t3-ref-quota .is-used { color:var(--ink-2); }


.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-select-field, .template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-switch-field, .template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-input-field { grid-column:auto; }
.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] { grid-template-columns:repeat(4, minmax(0, 1fr)); align-items:start; }

.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-media-field[data-media-count="1"] { grid-column:span 2; }

.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-prompt-block { order:-2; }
.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > [data-field-key="negative_prompt"] { order:-2; }
.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > :is(.t3-media-field, .template3-project-playground .t3-frame-pair, .template3-project-playground .t3-ref-tray-field) { order:-1; }

.template3-project-playground .mdl-core .t3-select-field, .template3-project-playground .mdl-core .t3-switch-field, .template3-project-playground .mdl-core .t3-input-field { display:grid; grid-template-rows:20px 36px; row-gap:8px; align-content:start; min-width:0; }
.template3-project-playground .mdl-core .t3-select-field > *, .template3-project-playground .mdl-core .t3-switch-field > *, .template3-project-playground .mdl-core .t3-input-field > * { margin:0 !important; }
.template3-project-playground .mdl-core .t3-select-field > :first-child, .template3-project-playground .mdl-core .t3-switch-field > :first-child, .template3-project-playground .mdl-core .t3-input-field > :first-child { display:flex; align-items:center; min-width:0; height:20px; line-height:20px; white-space:nowrap; }

.template3-project-playground .mdl-core :is(.t3-select-field, .template3-project-playground .t3-switch-field, .template3-project-playground .t3-input-field) > :first-child > :is(label, .template3-project-playground span) { min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.template3-project-playground .mdl-core :is(.t3-select-field, .template3-project-playground .t3-switch-field, .template3-project-playground .t3-input-field) .t3-field-label-row > :is(label, .template3-project-playground span) { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .mdl-core :is(.t3-select-field, .template3-project-playground .t3-switch-field, .template3-project-playground .t3-input-field) .t3-field-doc { flex:none; }
.template3-project-playground .mdl-core .t3-field-select, .template3-project-playground .mdl-core .t3-field-select .t3-select-trigger { width:100%; }
.template3-project-playground .mdl-core .t3-field-select { --t3-select-height:36px; display:flex; height:36px; }

.template3-project-playground .mdl-core .t3-pg-fields .t3-input-field input.t3-field-input { box-sizing:border-box; width:100%; height:36px; padding:0 10px 0 12px; border:1px solid var(--line-2); border-radius:var(--radius); background:color-mix(in srgb, var(--surface-base) 50%, transparent); color:var(--ink-1); font-family:var(--sans); font-size:var(--control-font-size,13px); font-weight:var(--fw-strong,650); line-height:1.5; }
.template3-project-playground .mdl-core .t3-pg-fields .t3-input-field input.t3-field-input:hover { border-color:var(--line-3); }
.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-image-size-field[data-custom-size] { grid-column:span 2; }
.template3-project-playground .mdl-core .t3-image-size-custom { display:grid; gap:8px; }
.template3-project-playground .mdl-core .t3-image-size-pair { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto; align-items:center; gap:8px; color:var(--ink-4); font-size:12px; }
.template3-project-playground .mdl-core .t3-image-size-pair input.t3-image-size-input { box-sizing:border-box; width:100%; min-width:0; height:36px; padding:0 10px; border:1px solid var(--line-2); border-radius:var(--radius); background:color-mix(in srgb, var(--surface-base) 50%, transparent); color:var(--ink-1); font:inherit; font-size:var(--control-font-size,13px); }
.template3-project-playground .mdl-core .t3-image-size-pair input.t3-image-size-input[aria-invalid="true"] { border-color:#f87171; }
.template3-project-playground .mdl-core .t3-image-size-limits, .template3-project-playground .mdl-core .t3-image-size-error { margin:0; color:var(--ink-4); font-size:12px; line-height:1.5; }
.template3-project-playground .mdl-core .t3-image-size-error { color:#f87171; }
.template3-project-playground .mdl-core .t3-image-size-limits summary { cursor:pointer; width:fit-content; }
.template3-project-playground .mdl-core .t3-image-size-limits ul { margin:6px 0 0; padding-inline-start:18px; list-style:disc; }

.template3-project-playground .mdl-core .t3-switch { box-sizing:border-box; display:flex; align-items:center; gap:8px; width:100%; height:36px; min-height:36px; padding:0 10px 0 12px; border:1px solid var(--line-2); border-radius:var(--radius); background:color-mix(in srgb, var(--surface-base) 50%, transparent); color:var(--ink-1); font-family:var(--sans); font-size:var(--control-font-size,13px); font-weight:var(--fw-strong,650); cursor:pointer; }
.template3-project-playground .mdl-core .t3-switch:hover { border-color:var(--line-3); }
.template3-project-playground .mdl-core .t3-switch i { position:relative; width:26px; height:14px; flex:none; background:var(--line-3); }
.template3-project-playground .mdl-core .t3-switch i::after { content:''; position:absolute; top:2px; left:2px; width:10px; height:10px; background:var(--ink-4); transition:left .15s; }
.template3-project-playground .mdl-core .t3-switch[aria-checked="true"] i { background:var(--brand); }
.template3-project-playground .mdl-core .t3-switch[aria-checked="true"] i::after { left:14px; background:var(--on-brand); }
.template3-project-playground .mdl-core .t3-switch:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
@media (max-width: 720px) {
  .template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .template3-project-playground .mdl-core .t3-frame-pair { grid-template-columns:minmax(0,1fr); }
  .template3-project-playground .mdl-core .t3-frame-arrow { justify-self:center; transform:rotate(90deg); }
}



.template3-project-playground .mdl-code-actions { position:absolute; top:10px; right:10px; z-index:1; display:flex; align-items:center; gap:6px; }
.template3-project-playground .mdl-code-actions .mdl-code-copy { position:static; }
.template3-project-playground .mdl-code-docs { text-decoration:none; }
.template3-project-playground .mdl-code .t3-tok-key { color:#9ecbff; }
.template3-project-playground .mdl-code .t3-tok-str { color:var(--brand); }
.template3-project-playground .mdl-code .t3-tok-num { color:#ffc58a; }
.template3-project-playground .mdl-code .t3-tok-kw { color:#d7a6ff; }
.template3-project-playground .mdl-code .t3-tok-fn { color:#7fe0d8; }
.template3-project-playground .mdl-code .t3-tok-flag { color:#d7a6ff; }
.template3-project-playground .mdl-code .t3-tok-var { color:#ffc58a; }
.template3-project-playground .mdl-code .t3-tok-com { color:var(--ink-6); font-style:italic; }



.template3-project-playground .t3-audio-list { display:grid; gap:10px; }
.template3-project-playground .t3-audio-card { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; padding:10px; border:1px solid var(--line-2); border-radius:12px; background:var(--surface-2); }
.template3-project-playground .t3-audio-cover { width:88px; height:88px; border-radius:8px; object-fit:cover; background:var(--surface-3, var(--surface-1)); }
.template3-project-playground .t3-audio-cover.is-empty { display:flex; align-items:center; justify-content:center; color:var(--ink-4); font-size:28px; }
.template3-project-playground .t3-audio-body { display:flex; min-width:0; flex-direction:column; gap:6px; }
.template3-project-playground .t3-audio-title { margin:0; overflow:hidden; color:var(--ink-1); font-size:14px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .t3-audio-tags { margin:0; overflow:hidden; color:var(--ink-4); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .t3-audio-player { width:100%; height:36px; }
.template3-project-playground .t3-audio-actions, .template3-project-playground .t3-audio-followups { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.template3-project-playground .t3-audio-duration { color:var(--ink-4); font-size:12px; font-variant-numeric:tabular-nums; }
.template3-project-playground .t3-audio-btn, .template3-project-playground .t3-audio-copy { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border:1px solid var(--line-2); border-radius:6px; background:var(--surface-1); color:var(--ink-2); font-size:11px; font-weight:600; text-decoration:none; cursor:pointer; }
.template3-project-playground .t3-audio-btn:hover, .template3-project-playground .t3-audio-copy:hover { border-color:var(--brand); color:var(--ink-1); }
.template3-project-playground .t3-audio-text { position:relative; }
.template3-project-playground .t3-audio-text-copy { position:absolute; top:6px; right:6px; }
@media (max-width: 560px) {
  .template3-project-playground .t3-audio-card { grid-template-columns:64px minmax(0,1fr); }
  .template3-project-playground .t3-audio-cover { width:64px; height:64px; }
}



.template3-project-playground .t3-run-list { display:grid; gap:14px; }

.template3-project-playground .t3-run-card { display:grid; gap:12px; padding:0; border:0; background:none; }
.template3-project-playground .t3-run-card + .t3-run-card { padding-top:18px; border-top:1px solid var(--line-1); }

.template3-project-playground .t3-run-error { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border:1px solid color-mix(in srgb,var(--destructive) 32%,transparent); border-radius:10px; background:color-mix(in srgb,var(--destructive) 7%,transparent); }
.template3-project-playground .t3-run-error-icon { flex:none; margin-top:1px; color:var(--destructive); }
.template3-project-playground .t3-run-error-body { display:grid; gap:4px; min-width:0; flex:1; }
.template3-project-playground .t3-run-error-title { margin:0; color:var(--ink-1); font-size:13px; font-weight:600; line-height:1.45; }
.template3-project-playground .t3-run-error-message { margin:0; color:var(--ink-4); font-size:12.5px; line-height:1.55; overflow-wrap:anywhere; white-space:pre-wrap; }
.template3-project-playground .t3-run-error-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin-top:6px; }
.template3-project-playground .t3-run-error-actions .t3-run-meta { min-width:0; }
.template3-project-playground .t3-run-error-retry { display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 12px; border:1px solid var(--line-3,#48484a); border-radius:8px; background:var(--surface-4,#272728); color:var(--ink-1); font:inherit; font-size:12px; font-weight:600; cursor:pointer; transition:border-color .15s,color .15s; }
.template3-project-playground .t3-run-error-retry:hover { border-color:var(--brand); color:var(--brand); }

.template3-project-playground .t3-form-error { display:flex; align-items:flex-start; gap:8px; padding:10px 12px; border:1px solid color-mix(in srgb,var(--destructive) 32%,transparent); border-radius:10px; background:color-mix(in srgb,var(--destructive) 7%,transparent); color:var(--ink-2); font-size:13px; line-height:1.5; }
.template3-project-playground .t3-form-error svg { flex:none; margin-top:2px; color:var(--destructive); }
.template3-project-playground .t3-form-error p { margin:0; min-width:0; overflow-wrap:anywhere; }
.template3-project-playground .t3-run-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; color:var(--ink-5); font-size:11px; }
.template3-project-playground .t3-run-status { display:inline-flex; align-items:center; gap:6px; padding:2px 8px; border:1px solid var(--line-2); border-radius:999px; color:var(--ink-3); font-size:11px; line-height:18px; text-transform:lowercase; }
.template3-project-playground .t3-run-status i { width:6px; height:6px; border-radius:50%; background:var(--ink-5); }
.template3-project-playground .t3-run-status[data-tone="done"] { border-color:color-mix(in srgb,var(--brand) 40%,transparent); color:var(--brand); }
.template3-project-playground .t3-run-status[data-tone="done"] i { background:var(--brand); }
.template3-project-playground .t3-run-status[data-tone="failed"] { border-color:rgb(248 113 113 / .45); color:#f87171; }
.template3-project-playground .t3-run-status[data-tone="failed"] i { background:#f87171; }
.template3-project-playground .t3-run-status[data-tone="running"] i { background:#fbbf24; animation:t3-generation-breathe 1.2s infinite; }
.template3-project-playground .t3-run-task { display:inline-flex; min-width:0; max-width:100%; align-items:center; gap:6px; padding:0; border:0; background:none; color:var(--ink-6); font:inherit; font-size:11px; cursor:pointer; transition:color .15s; }
.template3-project-playground .t3-run-task .font-mono { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .t3-run-task svg { flex:none; opacity:0; transition:opacity .15s; }
.template3-project-playground .t3-run-task:hover, .template3-project-playground .t3-run-task:focus-visible { color:var(--ink-3); }
.template3-project-playground .t3-run-task:hover svg, .template3-project-playground .t3-run-task:focus-visible svg { opacity:1; }
.template3-project-playground .t3-run-retry { display:inline-flex; align-items:center; gap:4px; padding:0; border:0; background:none; color:var(--ink-3); font:inherit; font-size:11px; font-weight:600; cursor:pointer; transition:color .15s; }
.template3-project-playground .t3-run-retry:hover:not(:disabled) { color:var(--brand); }
.template3-project-playground .t3-run-retry:disabled { opacity:.5; cursor:default; }
.template3-project-playground .t3-run-media { position:relative; overflow:hidden; border-radius:10px; background:#000; }
.template3-project-playground .t3-run-video video { display:block; width:100%; max-height:min(62vh,560px); background:#000; }
.template3-project-playground .t3-run-images { display:grid; gap:8px; background:transparent; }
.template3-project-playground .t3-run-images.is-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.template3-project-playground .t3-run-images img { display:block; width:100%; max-height:min(62vh,560px); border-radius:10px; object-fit:contain; background:var(--surface-1); }
.template3-project-playground .t3-run-media-action { position:absolute; top:10px; right:10px; padding:4px 10px; border:1px solid rgb(255 255 255 / .18); border-radius:999px; background:rgb(0 0 0 / .55); color:#fff; font-size:11px; font-weight:600; text-decoration:none; opacity:0; transition:opacity .15s; backdrop-filter:blur(6px); }
.template3-project-playground .t3-run-media:hover .t3-run-media-action, .template3-project-playground .t3-run-media-action:focus-visible { opacity:1; }
.template3-project-playground .t3-run-curl { overflow:hidden; border:0; border-top:1px solid var(--line-1); border-radius:0; }
.template3-project-playground .t3-run-curl-bar { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0 0; }
.template3-project-playground .t3-run-curl-bar button { display:inline-flex; align-items:center; gap:4px; padding:0; border:0; background:none; color:var(--ink-4); font-size:12px; font-weight:600; cursor:pointer; }
.template3-project-playground .t3-run-curl-bar button:hover { color:var(--ink-1); }
.template3-project-playground .t3-run-curl pre { max-height:260px; margin:0; padding:12px; overflow:auto; border-top:1px solid var(--line-1); background:var(--surface-1); color:var(--ink-2); font-family:var(--mono); font-size:11px; line-height:1.7; }
@media (prefers-reduced-motion:reduce) { .template3-project-playground .t3-run-status[data-tone="running"] i { animation:none; } }



.template3-project-playground .t3-history { display:grid; gap:12px; }
.template3-project-playground .t3-history-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--ink-5); font-size:12px; }
.template3-project-playground .t3-history-refresh, .template3-project-playground .t3-history-reuse { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border:1px solid var(--line-2); border-radius:6px; background:var(--surface-1); color:var(--ink-3); font-size:11px; font-weight:600; cursor:pointer; }
.template3-project-playground .t3-history-refresh:hover:not(:disabled), .template3-project-playground .t3-history-reuse:hover { border-color:var(--brand); color:var(--ink-1); }
.template3-project-playground .t3-history-refresh:disabled { opacity:.5; cursor:default; }
.template3-project-playground .t3-history-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.template3-project-playground .t3-history-card { display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid var(--line-2); border-radius:12px; background:var(--surface-2); }
.template3-project-playground .t3-history-media { display:flex; aspect-ratio:16/10; align-items:center; justify-content:center; overflow:hidden; background:#000; }
.template3-project-playground .t3-history-media video, .template3-project-playground .t3-history-media img { width:100%; height:100%; object-fit:cover; }
.template3-project-playground .t3-history-images { display:grid; width:100%; height:100%; }
.template3-project-playground .t3-history-images.is-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; }
.template3-project-playground .t3-history-images a { display:block; min-height:0; overflow:hidden; }
.template3-project-playground .t3-history-audios { display:grid; width:100%; gap:6px; padding:10px; background:var(--surface-1); align-self:stretch; overflow:auto; }
.template3-project-playground .t3-history-audio { display:grid; grid-template-columns:40px minmax(0,1fr); align-items:center; gap:8px; }

.template3-project-playground .t3-history-audio:not(:has(> img)) { grid-template-columns:minmax(0,1fr); }
.template3-project-playground .t3-history-audios:has(> .t3-history-audio:only-child) { align-content:center; }
.template3-project-playground .t3-history-audio audio { min-width:0; }
.template3-project-playground .t3-history-expired { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:100%; height:100%; padding:12px; background:var(--surface-1); color:var(--ink-5); font-size:12px; text-align:center; }
.template3-project-playground .t3-history-audio img { width:40px; height:40px; border-radius:6px; object-fit:cover; }
.template3-project-playground .t3-history-audio span { display:block; overflow:hidden; color:var(--ink-2); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .t3-history-audio audio { width:100%; height:28px; }
.template3-project-playground .t3-history-placeholder { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:100%; padding:12px; background:var(--surface-1); color:var(--ink-5); font-size:12px; text-align:center; }
.template3-project-playground .t3-history-placeholder.is-failed { color:#f87171; }
.template3-project-playground .t3-history-text { width:100%; height:100%; margin:0; padding:12px; overflow:auto; background:var(--surface-1); color:var(--ink-3); font-size:12px; white-space:pre-wrap; }
.template3-project-playground .t3-history-body { display:grid; gap:8px; padding:10px 12px 12px; }
.template3-project-playground .t3-history-model { justify-self:start; color:var(--ink-1); font-size:12px; font-weight:650; text-decoration:none; }
.template3-project-playground a.t3-history-model:hover { color:var(--brand); }
.template3-project-playground .t3-history-prompt { display:-webkit-box; margin:0; overflow:hidden; color:var(--ink-2); font-size:13px; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.template3-project-playground .t3-history-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--ink-6); font-size:11px; }
.template3-project-playground .t3-history-meta .t3-history-reuse { margin-inline-start:auto; }
.template3-project-playground .t3-history-empty { display:flex; min-height:320px; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:24px; border:1px dashed var(--line-2); border-radius:12px; color:var(--ink-5); font-size:13px; text-align:center; }
.template3-project-playground .t3-history-empty p { max-width:36ch; margin:0; }
.template3-project-playground .t3-history-link { padding:0; border:0; background:none; color:var(--brand); font-size:13px; font-weight:600; text-decoration:none; cursor:pointer; }
.template3-project-playground .t3-history-error { margin:0; color:#f87171; font-size:12px; }



.template3-project-playground .mdl-core .t3-mention { position:relative; }
.template3-project-playground .mdl-core .t3-mention-menu { position:absolute; z-index:20; left:0; right:0; top:calc(100% + 4px); max-width:420px; max-height:280px; padding:6px; overflow:auto; border:1px solid var(--line-3); border-radius:10px; background:var(--surface-1); box-shadow:0 18px 40px rgb(0 0 0 / .45); }
.template3-project-playground .mdl-core .t3-mention-option { display:grid; grid-template-columns:36px auto minmax(0,1fr); align-items:center; gap:10px; width:100%; padding:6px 8px; border:0; border-radius:6px; background:transparent; color:var(--ink-2); font-size:13px; text-align:left; cursor:pointer; }
.template3-project-playground .mdl-core .t3-mention-option[aria-selected="true"] { background:color-mix(in srgb,var(--brand) 14%,var(--surface-1)); color:var(--ink-1); }
.template3-project-playground .mdl-core .t3-mention-thumb { display:grid; width:36px; height:36px; place-items:center; overflow:hidden; border-radius:6px; background:var(--surface-3, var(--surface-2)); color:var(--ink-5); font-family:var(--mono); font-size:10px; }
.template3-project-playground .mdl-core .t3-mention-thumb img { width:100%; height:100%; object-fit:cover; }
.template3-project-playground .mdl-core .t3-mention-token { color:var(--brand); font-family:var(--mono); font-size:12px; white-space:nowrap; }
.template3-project-playground .mdl-core .t3-mention-label { overflow:hidden; color:var(--ink-5); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.template3-project-playground .mdl-core .t3-mention-empty { margin:0; padding:10px; color:var(--ink-5); font-size:12px; }
.template3-project-playground .mdl-core .t3-mention-hint { margin:4px 0 0; padding:6px 8px 2px; border-top:1px solid var(--line-1); color:var(--ink-6); font-size:11px; }



.template3-project-playground .mdl-core .t3-frame-pair.is-single { max-width:none; }
.template3-project-playground .mdl-core .t3-frame-slot { border-radius:12px; border-color:var(--line-2); background:linear-gradient(180deg,var(--surface-2),var(--surface-1)); transition:border-color .15s, background-color .15s; }
.template3-project-playground .mdl-core .t3-frame-pair.is-single .t3-frame-slot:not(.is-filled) { aspect-ratio:auto; min-height:188px; }
.template3-project-playground .mdl-core .t3-frame-slot:hover, .template3-project-playground .mdl-core .t3-frame-slot:focus-within { border-color:color-mix(in srgb,var(--brand) 55%,transparent); background:color-mix(in srgb,var(--brand) 5%,var(--surface-1)); color:var(--ink-1); }
.template3-project-playground .mdl-core .t3-frame-slot.is-filled { background:#000; }
.template3-project-playground .mdl-core .t3-frame-slot.is-filled img { object-fit:contain; }
.template3-project-playground .mdl-core .t3-frame-tag { border-radius:999px; padding:3px 9px; }
.template3-project-playground .mdl-core .t3-frame-drop { gap:8px; color:var(--ink-3); font-size:13px; }
.template3-project-playground .mdl-core .t3-frame-drop .t3-media-plus { display:grid; width:44px; height:44px; place-items:center; border:1px solid color-mix(in srgb,var(--brand) 35%,transparent); border-radius:50%; background:color-mix(in srgb,var(--brand) 10%,transparent); color:var(--brand); font-size:22px; }
.template3-project-playground .mdl-core .t3-frame-op { border-radius:6px; }



.template3-project-playground .mdl-core .t3-media-dropzone { aspect-ratio:auto; min-height:188px; padding:44px 16px 16px; }
.template3-project-playground .mdl-core .t3-media-dropzone.has-items { align-items:stretch; justify-content:flex-start; gap:10px; background:linear-gradient(180deg,var(--surface-2),var(--surface-1)); }
.template3-project-playground .mdl-core .t3-media-dropzone .t3-media-tray { padding:0; border:0; }
.template3-project-playground .mdl-core .t3-media-dropzone .t3-media-tile { border-radius:8px; }
.template3-project-playground .mdl-core .t3-media-dropzone.has-items .t3-frame-link { align-self:flex-start; }
.template3-project-playground .mdl-core .t3-media-drop-tile { position:relative; display:flex; flex:none; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:76px; height:76px; border:1px dashed var(--line-3); border-radius:8px; color:var(--ink-4); font-size:11px; cursor:pointer; }
.template3-project-playground .mdl-core .t3-media-drop-tile:hover { border-color:var(--brand); color:var(--brand); }
.template3-project-playground .mdl-core .t3-media-drop-tile:focus-within { outline:2px solid var(--brand); outline-offset:2px; }
.template3-project-playground .mdl-core .t3-media-drop-tile .t3-media-plus { font-size:22px; }

.template3-project-playground .mdl-core .t3-media-field { position:relative; }
.template3-project-playground .mdl-core .t3-media-dropzone:not(.has-items) { min-height:132px; padding:40px 16px 14px; }
.template3-project-playground .mdl-core .t3-media-dropzone:not(.has-items) .t3-frame-drop .t3-media-plus { width:36px; height:36px; font-size:18px; }
.template3-project-playground .mdl-core .t3-media-field > .t3-media-count { position:absolute; z-index:1; top:11px; right:12px; pointer-events:none; }
.template3-project-playground .mdl-core .t3-media-count-num::before { content:"("; }
.template3-project-playground .mdl-core .t3-media-count-num::after { content:")"; }

.template3-project-playground .mdl-core .t3-media-dropzone.is-filled { padding:0; background:#000; }
.template3-project-playground .mdl-core .t3-media-field:has(> .t3-media-dropzone.is-filled) > .t3-media-count { display:none; }
.template3-project-playground .mdl-core .t3-pg-fields > .t3-media-field:not([data-media-count="1"]):has(+ .t3-media-field[data-media-count="1"]) { grid-column:span 1; }
.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-media-field:not([data-media-count="1"]):has(+ .t3-media-field[data-media-count="1"]) { grid-column:span 2; }
@media (max-width: 560px) {
  .template3-project-playground .mdl-core .t3-pg-fields > .t3-media-field:not([data-media-count="1"]):has(+ .t3-media-field[data-media-count="1"]) { grid-column:1 / -1; }
}




.template3-project-playground .mdl-page-tabs .mdl-page-tab { position: relative; border-top: 0; border-left: 0; border-right: 0; background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.template3-project-playground .mdl-page-tabs .mdl-page-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.template3-project-playground .mdl-page-tabs .mdl-page-tab[aria-selected="true"] { border-bottom-color: transparent; color: var(--ink-1); }
.template3-project-playground .mdl-page-tabs .mdl-page-tab[aria-selected="true"]::after { transform: scaleX(1); }
.template3-project-playground .mdl-page-tabs .mdl-page-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.template3-project-playground .mdl-page-tab-count { min-width: 18px; padding: 1px 5px; border: 1px solid var(--line-3); color: var(--ink-4); font-family: var(--mono); font-size: 10px; line-height: 14px; text-align: center; }
.template3-project-playground .mdl-page-tab-jump { display: inline-flex; align-items: center; height: var(--mdl-subnav-h); flex: none; padding: 0 12px; color: var(--ink-6); font-size: 12px; text-decoration: none; }
.template3-project-playground .mdl-page-tab-jump:first-of-type { margin-left: auto; }
.template3-project-playground .mdl-page-tab-jump:hover { color: var(--ink-2); }
.template3-project-playground .mdl-tab-panel[hidden] { display: none !important; }
.template3-project-playground .mdl-tab-panel:not([hidden]) { animation: mdl-panel-in .32s cubic-bezier(.2,.7,.2,1) both; }
.template3-project-playground .mdl-history-panel { min-height: 320px; }
@keyframes mdl-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


.template3-project-playground .mdl-core .t3-mode-bar:has(.t3-mode-indicator) { position: relative; flex-basis: 100%; }
.template3-project-playground .mdl-core .t3-mode-bar:has(.t3-mode-indicator) .t3-mode { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; padding: 6px 6px; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.25; font-size: 12.5px; transition: color .2s; }
.template3-project-playground .mdl-core .t3-mode-bar:has(.t3-mode-indicator) .t3-mode[aria-selected="true"] { background: transparent; color: var(--surface-1); }
.template3-project-playground .mdl-core .t3-mode-bar:has(.t3-mode-indicator) .t3-mode:not([aria-selected="true"]):hover { background: transparent; color: var(--ink-1); }
.template3-project-playground .mdl-core .t3-mode-indicator { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px - (var(--t3-mode-count) - 1) * 4px) / var(--t3-mode-count)); background: var(--ink-1); transform: translateX(calc(var(--t3-mode-index) * (100% + 4px))); transition: transform .3s cubic-bezier(.2,.7,.2,1); }


.template3-project-playground .mdl-core .t3-mode-info { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--line-1); border-left: 2px solid var(--brand); background: var(--surface-2); animation: t3-info-in .3s ease-out both; }
.template3-project-playground .mdl-core .t3-mode-info p { flex: 1; margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.template3-project-playground .mdl-core .t3-mode-docbtn { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line-3); background: var(--surface-1); color: var(--ink-2); font-family: var(--mono); font-size: 12px; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.template3-project-playground .mdl-core .t3-mode-docbtn span { transition: transform .2s; }

.template3-project-playground .mdl-panel-head-end { display: flex; align-items: center; gap: 12px; min-width: 0; margin-left: auto; }
.template3-project-playground .mdl-panel-head-end > .mdl-tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.template3-project-playground .mdl-panel-head .mdl-head-docs { display: inline-flex; flex: none; margin-bottom: 6px; }
.template3-project-playground .mdl-panel-head .mdl-head-docs:empty { display: none; }
.template3-project-playground .mdl-head-docs .t3-mode-docbtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line-3); background: var(--surface-1); color: var(--ink-2); font-family: var(--mono); font-size: 12px; text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.template3-project-playground .mdl-head-docs .t3-mode-docbtn:hover, .template3-project-playground .mdl-head-docs .t3-mode-docbtn:focus-visible { border-color: var(--brand); color: var(--brand); background: rgb(175 255 159 / .06); outline: none; }
.template3-project-playground .mdl-core .t3-mode-docbtn:hover, .template3-project-playground .mdl-core .t3-mode-docbtn:focus-visible { border-color: var(--brand); color: var(--brand); background: rgb(175 255 159 / .06); outline: none; }
.template3-project-playground .mdl-core .t3-mode-docbtn:hover span { transform: translate(2px, -2px); }
@keyframes t3-info-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .template3-project-playground .mdl-core .t3-mode-info { flex-direction: column; align-items: flex-start; gap: 10px; } }



.template3-project-playground .mdl-core .t3-prompt-block { position: relative; display: grid; gap: 6px; }
.template3-project-playground .mdl-core .t3-preset { position: absolute; top: -4px; right: 0; z-index: 30; }
.template3-project-playground .mdl-core .t3-preset-toggle { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-3); font: inherit; font-size: 12px; cursor: pointer; transition: border-color .15s, color .15s; }
.template3-project-playground .mdl-core .t3-preset-toggle span { font-size: 10px; transition: transform .2s; }
.template3-project-playground .mdl-core .t3-preset-toggle:hover, .template3-project-playground .mdl-core .t3-preset-toggle[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
.template3-project-playground .mdl-core .t3-preset-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.template3-project-playground .mdl-core .t3-preset-menu { position: absolute; top: calc(100% + 6px); right: 0; width: min(440px, calc(100vw - 48px)); max-height: 380px; margin: 0; padding: 4px; overflow-y: auto; list-style: none; border: 1px solid var(--line-2); background: var(--surface-3); box-shadow: 0 18px 40px rgb(0 0 0 / .55), var(--rim); animation: t3-menu-in .18s ease-out both; transform-origin: top right; }
.template3-project-playground .mdl-core .t3-preset-menu button { display: grid; gap: 4px; width: 100%; padding: 10px 12px; border: 0; border-left: 2px solid transparent; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.template3-project-playground .mdl-core .t3-preset-menu button:hover, .template3-project-playground .mdl-core .t3-preset-menu button:focus-visible { border-left-color: var(--brand); background: var(--surface-5); outline: none; }
.template3-project-playground .mdl-core .t3-preset-menu strong { color: var(--ink-1); font-size: 13px; font-weight: 600; }
.template3-project-playground .mdl-core .t3-preset-menu span { display: -webkit-box; overflow: hidden; color: var(--ink-5); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.template3-project-playground .mdl-core .t3-prompt-count { margin: 0; color: var(--ink-6); font-family: var(--mono); font-size: 11px; text-align: right; }

.template3-project-playground .mdl-core .t3-prompt-block:has(p.text-xs.text-gray-500):not(:has([role="alert"])) > .t3-prompt-count { position: absolute; right: 0; bottom: 0; line-height: 1.5; }
.template3-project-playground .mdl-core .t3-prompt-block:has(p.text-xs.text-gray-500):not(:has([role="alert"])) p.text-xs.text-gray-500 { padding-right: 88px; }
.template3-project-playground .mdl-core .t3-prompt-block[data-flash="a"] textarea { animation: t3-prompt-flash-a .7s ease-out; }
.template3-project-playground .mdl-core .t3-prompt-block[data-flash="b"] textarea { animation: t3-prompt-flash-b .7s ease-out; }
@keyframes t3-menu-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes t3-prompt-flash-a { from { box-shadow: 0 0 0 1px var(--brand), 0 0 24px rgb(175 255 159 / .25); } to { box-shadow: none; } }
@keyframes t3-prompt-flash-b { from { box-shadow: 0 0 0 1px var(--brand), 0 0 24px rgb(175 255 159 / .25); } to { box-shadow: none; } }


.template3-project-playground .mdl-core .t3-pg-more { padding-top: 18px; border-top: 1px solid var(--line-1); }
.template3-project-playground .mdl-core .t3-pg-more-title { margin: 0 0 14px; color: var(--ink-5); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }


.template3-project-playground .mdl-core .t3-pg-actions.is-guided { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.template3-project-playground .mdl-core .t3-pg-actions.is-guided > .t3-form-error { flex-basis: 100%; }
.template3-project-playground .mdl-core .t3-pg-actions.is-guided > button.bg-gray-950 { width: auto; min-width: 168px; }
.template3-project-playground .mdl-core .t3-run-meta { display: flex; align-items: center; gap: 14px; min-width: 0; }

.template3-project-playground .mdl-core .t3-run-reset { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-3); font: inherit; font-size: 13px; line-height: 1; white-space: nowrap; cursor: pointer; transition: border-color .15s, color .15s; }
.template3-project-playground .mdl-core .t3-run-reset svg { display: block; flex: none; width: 14px; height: 14px; }
.template3-project-playground .mdl-core .t3-run-reset:hover:not(:disabled) { border-color: var(--ink-4); color: var(--ink-1); }
.template3-project-playground .mdl-core .t3-run-reset:disabled { opacity: .5; cursor: not-allowed; }
.template3-project-playground .mdl-core .t3-run-price { color: var(--ink-5); font-size: 12px; white-space: nowrap; }
.template3-project-playground .mdl-core .t3-run-price strong { color: var(--brand); font-family: var(--mono); font-weight: 500; }
@media (max-width: 560px) { .template3-project-playground .mdl-core .t3-pg-actions.is-guided > button.bg-gray-950 { flex: 1 1 100%; } }


.template3-project-playground .mdl-apidoc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

.template3-project-playground .mdl-apidoc > .mdl-apidoc-body:only-child { grid-column: 1 / -1; }
.template3-project-playground .mdl-apidoc-aside { position: sticky; top: calc(var(--mdl-site-nav-h) + var(--mdl-subnav-h) + 20px); display: grid; gap: 10px; }
.template3-project-playground .mdl-apidoc-ai, .template3-project-playground .mdl-apidoc-tryit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px solid var(--line-3); background: var(--surface-2); color: var(--ink-1); font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s; }
.template3-project-playground .mdl-apidoc-ai { border-color: var(--brand); background: var(--brand); color: var(--on-brand); font-weight: 600; }
.template3-project-playground .mdl-apidoc-ai:hover { filter: brightness(1.06); }

.template3-project-playground .mdl-copy-btn { position: relative; }

.template3-project-playground .mdl-copy-btn:has(> .mdl-copy-sizer) { display: inline-grid; place-items: center; }
.template3-project-playground .mdl-copy-btn:has(> .mdl-copy-sizer) > * { grid-area: 1 / 1; }
.template3-project-playground .mdl-copy-sizer { display: grid; visibility: hidden; pointer-events: none; }
.template3-project-playground .mdl-copy-sizer > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.template3-project-playground .mdl-copy-sizer .mdl-copy-check { animation: none; }
.template3-project-playground .mdl-copy-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; white-space: nowrap; animation: mdl-copy-label-in .24s ease-out; }
.template3-project-playground .mdl-copy-check { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 18; stroke-dashoffset: 18; animation: mdl-copy-check .34s .08s ease-out forwards; }
.template3-project-playground .mdl-copy-btn.is-copied { animation: mdl-copy-dip .38s cubic-bezier(.3, 1.5, .5, 1); }
.template3-project-playground .mdl-copy-btn.is-copied::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; animation: mdl-copy-ring .75s ease-out forwards; }
.template3-project-playground .mdl-btn.mdl-copy-btn.is-copied { border-color: var(--brand); color: var(--brand); }
.template3-project-playground .mdl-copy-btn.is-failed { border-color: #f87171; color: #f87171; }
.template3-project-playground .mdl-apidoc-ai.mdl-copy-btn.is-failed { background: transparent; }
@keyframes mdl-copy-label-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes mdl-copy-check { to { stroke-dashoffset: 0; } }
@keyframes mdl-copy-dip { 0% { transform: scale(1); } 35% { transform: scale(.95); } 100% { transform: scale(1); } }
@keyframes mdl-copy-ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); } to { box-shadow: 0 0 0 12px color-mix(in srgb, var(--brand) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .mdl-copy-label, .template3-project-playground .mdl-copy-btn.is-copied, .template3-project-playground .mdl-copy-btn.is-copied::after { animation: none; }
  .template3-project-playground .mdl-copy-check { animation: none; stroke-dashoffset: 0; }
}
.template3-project-playground .mdl-apidoc-tryit:hover { border-color: var(--brand); color: var(--brand); }

.template3-project-playground .mdl-id-copy { position: relative; transition: border-color .2s, color .2s, background .2s; }
.template3-project-playground .mdl-id-copy .mdl-copy-check { width: 13px; height: 13px; }
.template3-project-playground .mdl-id-copy.is-copied { border-color: var(--brand); color: var(--brand); animation: mdl-copy-dip .38s cubic-bezier(.3, 1.5, .5, 1); }
.template3-project-playground .mdl-id-copy.is-failed { border-color: #f87171; color: #f87171; }
.template3-project-playground .mdl-id-copy-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 5; padding: 3px 8px; background: var(--brand); color: var(--on-brand); font-family: var(--body, inherit); font-size: 12px; font-weight: 600; line-height: 18px; white-space: nowrap; pointer-events: none; transform: translateX(-50%); animation: mdl-id-copy-tip 1.8s ease forwards; }
.template3-project-playground .mdl-id-copy.is-failed .mdl-id-copy-tip { background: #f87171; color: #1a0606; }
.template3-project-playground .mdl-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes mdl-id-copy-tip { 0% { opacity: 0; transform: translate(-50%, 4px); } 12%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -2px); } }
@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .mdl-id-copy.is-copied, .template3-project-playground .mdl-id-copy-tip { animation: none; }
}
.template3-project-playground .mdl-apidoc-aside nav { display: grid; margin-top: 8px; border-left: 1px solid var(--line-2); }
.template3-project-playground .mdl-apidoc-aside nav a { padding: 6px 12px; color: var(--ink-5); font-size: 12.5px; line-height: 1.4; text-decoration: none; transition: color .15s, border-color .15s; border-left: 1px solid transparent; margin-left: -1px; }
.template3-project-playground .mdl-apidoc-aside nav a.is-page { margin-top: 10px; color: var(--ink-2); font-weight: 600; }
.template3-project-playground .mdl-apidoc-aside nav a:first-child { margin-top: 0; }
.template3-project-playground .mdl-apidoc-aside nav a:hover { border-left-color: var(--brand); color: var(--ink-1); }
.template3-project-playground .mdl-apidoc-body { display: grid; gap: 40px; min-width: 0; }
.template3-project-playground .mdl-apidoc-page { min-width: 0; scroll-margin-top: calc(var(--mdl-site-nav-h) + var(--mdl-subnav-h) + 16px); color: var(--ink-3); font-size: 14px; line-height: 1.75; }
.template3-project-playground .mdl-apidoc-page + .mdl-apidoc-page { padding-top: 40px; border-top: 1px solid var(--line-1); }
.template3-project-playground .mdl-apidoc-page header { display: grid; gap: 6px; margin-bottom: 18px; }
.template3-project-playground .mdl-apidoc-kicker { margin: 0; color: var(--brand); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.template3-project-playground .mdl-apidoc-page h2 { margin: 0; color: var(--ink-1); font-family: var(--heading); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.2; }
.template3-project-playground .mdl-apidoc-lead { margin: 0; color: var(--ink-4); }
.template3-project-playground .mdl-apidoc-source { justify-self: start; color: var(--ink-5); font-size: 12px; text-decoration: none; }
.template3-project-playground .mdl-apidoc-source:hover { color: var(--brand); }
.template3-project-playground .mdl-apidoc-heading { margin: 28px 0 10px; scroll-margin-top: calc(var(--mdl-site-nav-h) + var(--mdl-subnav-h) + 16px); color: var(--ink-1); font-size: 16px; font-weight: 600; }
.template3-project-playground .mdl-apidoc-page p { margin: 0 0 12px; }
.template3-project-playground .mdl-apidoc-page ul { margin: 0 0 12px; padding-left: 18px; }
.template3-project-playground .mdl-apidoc-page code { padding: 1px 5px; background: var(--surface-4); color: var(--ink-1); font-family: var(--mono); font-size: 12.5px; }
.template3-project-playground .mdl-apidoc-page pre code { padding: 0; background: transparent; }
.template3-project-playground .mdl-apidoc-page a { color: var(--brand); text-decoration: none; }
.template3-project-playground .mdl-apidoc-page a:hover { text-decoration: underline; }
.template3-project-playground .mdl-apidoc-page .mdl-code { margin: 0 0 14px; border: 1px solid var(--line-2); }
.template3-project-playground .mdl-apidoc-callout { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-left: 2px solid var(--brand); background: var(--surface-2); color: var(--ink-3); font-size: 13px; }
.template3-project-playground .mdl-apidoc-callout[data-kind="warning"] { border-left-color: #ffb86b; }
.template3-project-playground .mdl-apidoc-table { margin: 0 0 14px; overflow-x: auto; border: 1px solid var(--line-2); }
.template3-project-playground .mdl-apidoc-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.template3-project-playground .mdl-apidoc-table th, .template3-project-playground .mdl-apidoc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line-1); text-align: left; vertical-align: top; }
.template3-project-playground .mdl-apidoc-table th { background: var(--surface-2); color: var(--ink-4); font-weight: 500; white-space: nowrap; }
.template3-project-playground .mdl-apidoc-table tr:last-child td { border-bottom: 0; }
.template3-project-playground .mdl-apidoc-code { margin: 0 0 14px; border: 1px solid var(--line-2); background: var(--surface-1); }
.template3-project-playground .mdl-apidoc-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 0; border-bottom: 1px solid var(--line-1); }
.template3-project-playground .mdl-apidoc-code-bar .mdl-tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.template3-project-playground .mdl-apidoc-code-bar > .mdl-btn { flex: none; }
.template3-project-playground .mdl-apidoc, .template3-project-playground .mdl-apidoc-code { min-width: 0; max-width: 100%; }
.template3-project-playground .mdl-apidoc-code .mdl-code { margin: 0; border: 0; max-height: 520px; }
.template3-project-playground .mdl-apidoc-note { margin: 0 !important; padding: 8px 14px; border-top: 1px solid var(--line-1); color: var(--ink-6); font-size: 12px; }
.template3-project-playground .mdl-apidoc-loading { display: flex; align-items: center; gap: 10px; color: var(--ink-5); font-size: 13px; }
@media (max-width: 900px) {
  .template3-project-playground .mdl-apidoc { grid-template-columns: minmax(0, 1fr); }
  .template3-project-playground .mdl-apidoc-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template3-project-playground .mdl-apidoc-aside nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .template3-project-playground .mdl-tab-panel:not([hidden]), .template3-project-playground .mdl-core .t3-mode-info, .template3-project-playground .mdl-core .t3-preset-menu, .template3-project-playground .mdl-core .t3-prompt-block[data-flash] textarea { animation: none; }
  .template3-project-playground .mdl-page-tabs .mdl-page-tab::after, .template3-project-playground .mdl-core .t3-mode-indicator, .template3-project-playground .mdl-core .t3-mode-docbtn span, .template3-project-playground .mdl-core .t3-preset-toggle span { transition: none; }
}


.template3-project-playground .mdl-core .t3-pg-fields[data-param-grid] > .t3-duration-field { grid-column:1 / -1; }
.template3-project-playground .mdl-core .t3-duration-field { display:grid; gap:12px; padding:16px 18px 10px; border:1px solid var(--line-2); background:var(--surface-1); transition:border-color .2s, box-shadow .2s; }
.template3-project-playground .mdl-core .t3-duration-field:focus-within, .template3-project-playground .mdl-core .t3-duration-field.is-dragging { border-color:rgb(175 255 159 / .45); box-shadow:0 0 0 3px rgb(175 255 159 / .08); }
.template3-project-playground .mdl-core .t3-duration-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; min-width:0; }
.template3-project-playground .mdl-core .t3-duration-label { display:flex; align-items:center; min-width:0; }
.template3-project-playground .mdl-core .t3-duration-readout { display:inline-flex; align-items:baseline; gap:4px; color:var(--ink-3); font-family:var(--mono); font-size:12px; font-variant-numeric:tabular-nums; }
.template3-project-playground .mdl-core .t3-duration-num { color:var(--brand); font-size:24px; font-weight:600; line-height:1; animation:t3-duration-pop .28s cubic-bezier(.2,.9,.3,1.4); }
.template3-project-playground .mdl-core .t3-duration-readout-auto { color:var(--brand); font-size:15px; font-weight:600; }
@keyframes t3-duration-pop { from { transform:translateY(4px) scale(.86); opacity:.4; } to { transform:none; opacity:1; } }
.template3-project-playground .mdl-core .t3-duration-body { display:flex; align-items:flex-start; gap:16px; }
.template3-project-playground .mdl-core .t3-duration-auto { flex:none; display:inline-flex; align-items:center; gap:8px; height:30px; margin-top:3px; padding:0 12px; border:1px solid var(--line-3); background:transparent; color:var(--ink-3); font:inherit; font-size:12px; cursor:pointer; transition:border-color .15s, color .15s, background .15s; }
.template3-project-playground .mdl-core .t3-duration-auto:hover { color:var(--ink-1); border-color:var(--ink-4); }
.template3-project-playground .mdl-core .t3-duration-auto[aria-pressed="true"] { border-color:var(--brand); color:var(--brand); background:rgb(175 255 159 / .08); }
.template3-project-playground .mdl-core .t3-duration-auto-dot { width:8px; height:8px; border-radius:50%; border:1px solid currentColor; transition:background .2s, box-shadow .2s; }
.template3-project-playground .mdl-core .t3-duration-auto[aria-pressed="true"] .t3-duration-auto-dot { background:var(--brand); box-shadow:0 0 8px rgb(175 255 159 / .7); }
.template3-project-playground .mdl-core .t3-duration-rail { flex:1 1 auto; min-width:0; padding:0 9px; }
.template3-project-playground .mdl-core .t3-duration-track-wrap { position:relative; height:36px; touch-action:none; cursor:pointer; user-select:none; }
.template3-project-playground .mdl-core .t3-duration-track { position:absolute; left:0; right:0; top:50%; height:4px; margin-top:-2px; background:var(--line-2); border-radius:2px; }
.template3-project-playground .mdl-core .t3-duration-fill { position:absolute; left:0; top:0; bottom:0; width:var(--t3-duration-pct); background:linear-gradient(90deg, rgb(175 255 159 / .35), var(--brand)); border-radius:2px; transition:width .22s cubic-bezier(.2,.8,.2,1); }
.template3-project-playground .mdl-core .t3-duration-tick { position:absolute; top:50%; width:2px; height:10px; margin:-5px 0 0 -1px; background:var(--line-3); transition:background .2s; }
.template3-project-playground .mdl-core .t3-duration-tick.is-on { background:rgb(5 5 5 / .55); }
.template3-project-playground .mdl-core .t3-duration-thumb { position:absolute; top:50%; left:var(--t3-duration-pct); width:18px; height:18px; margin:-9px 0 0 -9px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 4px rgb(175 255 159 / .18), 0 2px 10px rgb(0 0 0 / .5); outline:none; cursor:grab; transition:left .22s cubic-bezier(.2,.8,.2,1), transform .18s, box-shadow .18s; }
.template3-project-playground .mdl-core .t3-duration-thumb:hover, .template3-project-playground .mdl-core .t3-duration-thumb:focus-visible { transform:scale(1.12); box-shadow:0 0 0 6px rgb(175 255 159 / .22), 0 2px 12px rgb(0 0 0 / .5); }
.template3-project-playground .mdl-core .t3-duration-field.is-dragging .t3-duration-thumb { cursor:grabbing; transform:scale(1.25); box-shadow:0 0 0 9px rgb(175 255 159 / .2), 0 0 18px rgb(175 255 159 / .55); }
.template3-project-playground .mdl-core .t3-duration-field.is-dragging :is(.t3-duration-thumb, .template3-project-playground .t3-duration-fill) { transition-duration:.06s; }
.template3-project-playground .mdl-core .t3-duration-bubble { position:absolute; left:50%; bottom:calc(100% + 10px); padding:3px 8px; background:var(--brand); color:#050505; font-family:var(--mono); font-size:12px; font-weight:600; white-space:nowrap; pointer-events:none; opacity:0; transform:translate(-50%, 6px) scale(.85); transition:opacity .16s, transform .2s cubic-bezier(.2,.9,.3,1.3); }
.template3-project-playground .mdl-core .t3-duration-bubble::after { content:''; position:absolute; left:50%; top:100%; margin-left:-4px; border:4px solid transparent; border-top-color:var(--brand); }
.template3-project-playground .mdl-core .t3-duration-field.is-dragging .t3-duration-bubble, .template3-project-playground .mdl-core .t3-duration-thumb:focus-visible .t3-duration-bubble, .template3-project-playground .mdl-core .t3-duration-thumb:hover .t3-duration-bubble { opacity:1; transform:translate(-50%, 0) scale(1); }
.template3-project-playground .mdl-core .t3-duration-field.is-auto :is(.t3-duration-fill, .template3-project-playground .t3-duration-thumb) { opacity:.35; filter:grayscale(1); }
.template3-project-playground .mdl-core .t3-duration-scale { position:relative; height:20px; }
.template3-project-playground .mdl-core .t3-duration-scale button { position:absolute; top:0; transform:translateX(-50%); padding:0 2px; border:0; background:none; color:var(--ink-6); font-family:var(--mono); font-size:11px; font-variant-numeric:tabular-nums; cursor:pointer; transition:color .15s, transform .2s; }
.template3-project-playground .mdl-core .t3-duration-scale button:hover { color:var(--ink-2); }
.template3-project-playground .mdl-core .t3-duration-scale button.is-current { color:var(--brand); transform:translateX(-50%) scale(1.15); }
@media (max-width:600px) { .template3-project-playground .mdl-core .t3-duration-body { flex-direction:column; gap:6px; } .template3-project-playground .mdl-core .t3-duration-rail { width:100%; box-sizing:border-box; } }
@media (prefers-reduced-motion: reduce) { .template3-project-playground .mdl-core :is(.t3-duration-fill, .template3-project-playground .t3-duration-thumb, .template3-project-playground .t3-duration-bubble, .template3-project-playground .t3-duration-num) { transition:none; animation:none; } }


.template3-project-playground .mdl-core .t3-textarea-box { position: relative; }
.template3-project-playground .mdl-core .t3-textarea-box textarea { display: block; padding-bottom: 48px; }
.template3-project-playground .mdl-core .t3-prompt-chips { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; animation: t3-chips-in .3s ease-out; }
.template3-project-playground .mdl-core .t3-prompt-chips::-webkit-scrollbar { display: none; }
.template3-project-playground .mdl-core .t3-prompt-chips-label { flex: none; color: var(--ink-6); font-size: 12px; }
.template3-project-playground .mdl-core .t3-prompt-chip { flex: none; height: 26px; padding: 0 11px; border: 1px solid var(--line-3); background: rgb(255 255 255 / .04); color: var(--ink-2); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.template3-project-playground .mdl-core .t3-prompt-chip:hover, .template3-project-playground .mdl-core .t3-prompt-chip:focus-visible { border-color: var(--ink-4); color: var(--ink-1); background: rgb(255 255 255 / .09); outline: none; }
@keyframes t3-chips-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .template3-project-playground .mdl-core .t3-prompt-chips { animation: none; } .template3-project-playground .mdl-core .t3-prompt-chip { transition: none; } }


.template3-project-playground .t3-run-go { position: relative; overflow: visible; }
.template3-project-playground .t3-run-go-label{font-weight:700;}
.template3-project-playground .t3-run-go-price{display:inline-flex;align-items:baseline;gap:6px;font-variant-numeric:tabular-nums;}
.template3-project-playground .t3-run-go-was{color:rgba(10,10,10,.42);font-weight:500;font-size:13px;text-decoration-thickness:1.5px;}
.template3-project-playground .t3-run-go-now{font-weight:800;animation:t3-run-price-pop .35s cubic-bezier(.2,.9,.3,1.4);}
@keyframes t3-run-price-pop{from{transform:translateY(5px);opacity:0;}to{transform:none;opacity:1;}}
.template3-project-playground .t3-run-go-off{position:absolute;top:-11px;right:12px;padding:2px 9px;border-radius:999px;background:linear-gradient(90deg,#ff6a3d,#ff3d77);color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em;box-shadow:0 4px 14px rgba(255,80,90,.45);overflow:hidden;animation:t3-run-off-bob 2.6s ease-in-out infinite;}
.template3-project-playground .t3-run-go-off::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);transform:translateX(-120%);animation:t3-run-off-sweep 2.6s ease-in-out infinite;}
@keyframes t3-run-off-sweep{0%,55%{transform:translateX(-120%);}85%,100%{transform:translateX(120%);}}
@keyframes t3-run-off-bob{0%,100%{transform:translateY(0);}50%{transform:translateY(-2px);}}
@media (prefers-reduced-motion:reduce){.template3-project-playground .t3-run-go-off, .template3-project-playground .t3-run-go-off::after, .template3-project-playground .t3-run-go-now{animation:none;}}
