/* PENGATURAN DW — warna dan ukuran halaman dapat diubah di sini. */
:root {
  --page-width: 400px;
  --page-background: #ffffff;
  --outside-background: #606060;
  --button-color: #a2cd35;
  --button-secondary: #cee58e;
  --form-width: 65%;
  --logo-size: 80px;
  --field-height: 46px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--outside-background);
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}
.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--page-width);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px 0 32px;
  background: var(--page-background);
}
.brand { text-align: center; }
.brand-logo {
  display: block;
  width: var(--logo-size);
  height: var(--logo-size);
  margin: 0 auto 24px;
  border-radius: 14px;
}
.brand h1 {
  margin: 0;
  font: 400 21px/1.25 monospace;
  letter-spacing: 2px;
}
.brand p {
  margin: 2px 0 0;
  font: 400 11px/1.4 monospace;
}
.generator {
  width: var(--form-width);
  margin: 76px auto 30px;
}
input, button, textarea { font: inherit; }
input {
  display: block;
  width: 100%;
  height: var(--field-height);
  padding: 8px 10px;
  border: 1.5px solid #222;
  border-radius: 0;
  background: white;
  color: #111;
  text-align: center;
  font-size: 20px;
}
input::placeholder { color: #111; opacity: 1; }
#invitation-link { font-size: 16px; }
.button {
  display: block;
  width: 100%;
  min-height: var(--field-height);
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  color: #000;
  font-size: 22px;
  cursor: pointer;
  touch-action: manipulation;
}
.button-primary { margin-top: 21px; background: var(--button-color); }
.button-secondary { margin-top: 13px; background: var(--button-secondary); }
.button-edit {
  width: 64%;
  min-height: 30px;
  margin: 14px auto 0;
  padding: 6px;
  font-size: 14px;
}
.generator.is-editing { width: 84%; margin-top: 36px; }
#format-title { margin: 0; text-align: center; font-size: 19px; font-weight: 400; }
.editor-help, .editor-note { font-size: 12px; line-height: 1.6; }
.editor-help code { padding: 2px 4px; background: #edf5d9; }
#message-template { min-height: 350px; }
.editor-note { color: #555; }
.editor-action { min-height: 40px; font-size: 17px; }
.button-reset {
  margin-top: 14px;
  min-height: 36px;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}
.button:hover { filter: brightness(.96); }
.button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid #456d00; outline-offset: 4px; }
.status {
  margin: 12px -15px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.status:empty { margin: 0; }
details { margin-top: 20px; font-size: 12px; }
summary { cursor: pointer; text-align: center; }
textarea {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 0;
  background: #fff;
  color: #222;
  resize: vertical;
  font-size: 16px;
  line-height: 1.5;
}
footer {
  margin-top: auto;
  padding: 28px 12px 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: -.3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 600px) {
  body { padding: 40px 20px; }
  .page { min-height: 660px; min-height: max(660px, calc(100svh - 80px)); }
}
