:root {
  --bg: #090609;
  --panel: #0f0d0e;
  --panel-2: #252324;
  --text: #ebe6e9;
  --muted: #cbacbe;
  --accent: #6a3b57;
  --accent-2: #b9719c;
  --ring: #b9719c;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 80%;
  margin: 0;
}

body {
  font-family: "Comic Relief", system-ui !important;
  color: var(--text);
  letter-spacing: 0.1px;
  background: var(--bg)
}

.wrap {
  max-width: 1050px;
  margin: 60px auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}


.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 55px;
  height: 55px;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.logo-gif:hover {
    box-shadow: 0 0 0 2px var(--ring)   
}

.logo-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  border-radius: 12px;
  display: block;
  transition: 0.25s all ease;
}



h1 {
  margin: 0;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
}

.sub {
  font-size: 14px;
  color: var(--muted);
}


.card {
  background: var(--panel);
  border-radius: var(--radius);
}

.card h2 {
  font-size: 18px;
  margin: 0 0 10px;
}

.card .pad {
  padding: 18px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.muted {
  color: var(--muted);
}


.drop {
  display: grid;
  place-items: center;
  text-align: center;
  margin-top: 7px;
  padding: 160px;
  border-radius: var(--radius);
  background: var(--panel-2);
  transition: 0.25s all ease;
  cursor: pointer;
}

.drop.drag {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}

.drop input {
  display: none;
}



.btn {
  font-family: "Comic Relief", system-ui !important;
  border: none;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
  background: var(--accent-2);
  transition: 0.2s ease-in-out;
}


.btn:active {
  transform: translateY(1px);
}

.btn.alt {
 background: var(--accent);
}

.btn.ghost {
  background: var(--panel-2);
  color: var(--text);
  box-shadow: none;
}

.btn:hover {
      box-shadow: 0 0 0 2px var(--accent)     
}
.btn.alt:hover {
      box-shadow: 0 0 0 2px var(--accent-2)     
}
.btn.ghost:hover {
      box-shadow: 0 0 0 2px var(--muted)     
}



label.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--panel-2);
  border: none;
}

input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent-2);
}

select,
input[type="text"],
input[type="number"] {
  min-width: 120px;
  padding: 10px 12px;
  border-radius: var(--radius);
  outline: none;
  background: var(--panel-2);
  border: none;
  color: var(--text);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.preview {
  height: 210px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--panel-2);
  border: none;
}

.preview textarea {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.45;
  resize: none;
  
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.preview textarea::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}



.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.pill {
  padding: 6px 10px;
  border-radius: var(--radius);
  background: rgba(231, 3, 109, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

footer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 2px 6px;
  border-radius: var(--radius);
  background: rgba(231, 3, 109, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

