.template-main { max-width: 1060px; padding: 48px 22px 0; margin: auto; }
.template-intro { margin-bottom: 46px; }
.template-eyebrow { display: inline-block; font-size: 11px; color: #a5b4fc; letter-spacing: .16em; padding: 6px 12px; margin-bottom: 17px; border: 1px solid rgba(129,140,248,.22); border-radius: 20px; background: rgba(129,140,248,.07); }
.template-intro h1 { font-size: 32px; margin-bottom: 14px; }
.template-intro p { line-height: 1.9; }
.template-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 19px 0 24px; font-size: 12px; color: #cbd5e1; }
.template-legend span { display: inline-flex; align-items: center; gap: 7px; }
.template-legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend-curious { background: var(--color-green); }
.legend-like { background: var(--color-pink); }
.legend-dislike { background: var(--color-blue); }
.free-entry { display: inline-flex; justify-content: center; align-items: center; gap: 25px; max-width: 100%; padding: 13px 25px; border-radius: 28px; background: linear-gradient(135deg,#38bdf8,#818cf8); box-shadow: 0 6px 22px rgba(0,0,0,.3); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; transition: filter .2s,transform .2s; }
.free-entry:hover { filter: brightness(1.1); transform: translateY(-2px); }
.template-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.template-section-heading h2 { font-size: 18px; }
.template-section-heading > span { color: #64748b; font-size: 12px; }
.template-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.template-card { display: block; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: 0 6px 24px rgba(0,0,0,.2); text-decoration: none; transition: border-color .2s,transform .2s,background .2s; }
.template-card:hover { border-color: rgba(126,200,255,.4); background: rgba(255,255,255,.05); transform: translateY(-3px); }
.template-card-top { display: flex; justify-content: space-between; gap: 10px; padding: 15px 20px 12px; color: #94a3b8; font-size: 10px; letter-spacing: .06em; }
.template-card-top > span:last-child { color: #a5b4fc; }
.template-preview { margin: 0 16px; border: 1px solid rgba(148,163,184,.08); border-radius: 10px; overflow: hidden; background: #0f172a; }
.template-preview > svg { display: block; width: 100%; height: auto; }
.template-card-body { padding: 20px; overflow-wrap: anywhere; }
.template-card h3 { font-size: 19px; margin: 0 0 9px; letter-spacing: .03em; }
.template-card-body > p { font-size: 12px; color: #94a3b8; line-height: 1.8; margin: 0 0 19px; }
.template-card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; color: #64748b; }
.template-use { color: #7ec8ff; font-size: 12px; font-weight: 700; }
.template-use > span { margin-left: 7px; }
.template-hint { text-align: center; font-size: 11px; color: #64748b; line-height: 1.8; margin: 23px 0 0; }
@media (max-width: 640px) {
  .template-main { padding: 30px 16px 0; }
  .template-intro { margin-bottom: 32px; }
  .template-intro h1 { font-size: 25px; }
  .template-intro p { font-size: 12px; }
  .template-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .template-card-body { padding: 17px; }
  .template-section-heading h2 { font-size: 16px; }
}
