body {
  margin: 0; padding: 10px;
  background: transparent;
  font-family: 'Satoshi', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
}

.builder-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.widget-header {
  font-size: 15px;
  font-weight: 600;

  letter-spacing: 0.6px;

  padding: 8px 16px;

  border-radius: 999px;

  background: linear-gradient(
    to right,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.7)
  );

  backdrop-filter: blur(14px);

  box-shadow: 0 10px 24px rgba(0,0,0,0.08);

  text-align: center;

  color: #444;

  margin-bottom: 8px;
}


.usage-tip {
  font-size: 12px;
  line-height: 1.4;

  width: 260px;

  background: rgba(255,255,255,0.75);

  padding: 14px;

  border-radius: 16px;

  box-shadow: 0 10px 24px rgba(0,0,0,0.08);

  text-align: center;
}

.theme-btn {
  width: 20px;
  height: 20px;

  padding: 0; 
  
  border-radius: 50%;
  background-color: #f4dfeb;

  border: 2px solid white;

  display: block; 

  cursor: pointer;
  transition: transform 0.2s ease;
}

.top-left-controls {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none !important;
}

.sign-popup {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);

  width: 210px; /* ⬅️ increased from ~180px */

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);

  padding: 14px;
  border-radius: 18px;

  box-shadow: 0 18px 40px rgba(0,0,0,0.12);

  z-index: 50;

  box-sizing: border-box;
}

.sign-title {
  font-size: 10px;
  opacity: 0.6;
  text-align: center;
  margin-bottom: 8px;
}

/* SIGN GRID */
.sign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;

  width: 100%;
}

/* REMOVE DEFAULT BUTTON LOOK */
.sign-grid button {
  all: unset;
  cursor: pointer;

  font-size: 10px;
  line-height: 1;
  text-transform: lowercase;
  text-align: center;

  padding: 5px 6px;

  border-radius: 9px;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);

  box-shadow: 0 4px 10px rgba(0,0,0,0.06);

  transition: transform 0.15s ease, background 0.2s ease;

  width: 100%;
  box-sizing: border-box;
}
.sign-popup {
  overflow: hidden;
}

/* HOVER = soft pop */
.sign-grid button:hover {
  transform: scale(1.06);
  background: rgba(255,255,255,0.95);
}

/* ACTIVE / SELECTED STATE (optional but ✨ cute) */
.sign-grid button.active {
  background: white;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  transform: scale(1.05);
}
.setup-area {
  margin-top: 10px;
  text-align: center;
}

.copy-btn {
  padding: 8px 14px;
  border-radius: 14px;

  border: none;
  background: white;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.copy-message {
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-message.show {
  opacity: 1;
}

.footer-links {
  margin-top: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  font-size: 11px;

  opacity: 0.65;
}

.footer-link {
  text-decoration: none;
  color: inherit;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.divider {
  opacity: 0.4;
}



.widget {
  transition: height 0.25s ease;
  width: 180px;
  height: auto;

  min-height: 180px;

  border-radius: 22px;

  padding: 12px;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.4);

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  font-size: 0.8rem;
  text-transform: lowercase;

  overflow: visible;
}

.widget-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 6px;

  height: auto;
}

#text {
  font-size: 0.65rem;
  line-height: 1.25;

  display: -webkit-box;
  -webkit-box-orient: vertical;

  opacity: 0.9;
}

#signDisplay {
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.8;
}

#date {
  font-size: 0.65rem;
  opacity: 0.5;
}
.theme-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-circle:hover {
  transform: scale(1.25);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.widget.pink { background-color: #f4dfeb; color: #60355c; }
.widget.beige { background-color: #faebdd; color: #5d4c3a; }
.widget.blue { background-color: #ddebf1; color: #4b5c74; }
.widget.green { background-color: #ddedea; color: #5b6c5a; }

.theme-circle.pink { background-color: #f4dfeb; }
.theme-circle.beige { background-color: #faebdd; }
.theme-circle.blue { background-color: #ddebf1; }
.theme-circle.green { background-color: #ddedea; }

.widget.font-default { font-family: system-ui, sans-serif; }
.widget.font-serif { font-family: Georgia, serif; }
.widget.font-mono { font-family: ui-monospace, monospace; }

.themes-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.font-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  align-items: center;
}
.font-option {
  font-size: 12px;
  padding: 6px 10px;

  border-radius: 10px;

  background: rgba(255,255,255,0.7);

  cursor: pointer;
  transition: all 0.2s ease;
}

.font-option:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.95);
}
.font-option[data-font="default"] {
  font-family: system-ui, -apple-system, sans-serif;
}

.font-option[data-font="serif"] {
  font-family: Georgia, serif;
}

.font-option[data-font="mono"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.widget {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.4);
}
.theme-popup {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);

  width: 180px;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);

  padding: 14px;
  border-radius: 18px;

  box-shadow: 0 18px 40px rgba(0,0,0,0.12);

  z-index: 50;
}

.widget-title {
  display: flex;
  gap: 4px;
  align-items: baseline;
  justify-content: center;

  font-size: 0.85rem;
  font-weight: 600;
}

.title-suffix {
  font-size: 0.6rem;
  opacity: 0.6;
  font-weight: 400;
}

.divider-line {
  width: 60%;
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 2px 0 4px;
}
.sign-btn,
.font-toggle-btn {
  width: 42px;
  height: 42px;

  border-radius: 14px; /* square-but-soft */

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);

  box-shadow: 0 10px 22px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;

  transition: transform 0.2s ease;
}

.sign-btn:hover,
.font-toggle-btn:hover {
  transform: translateY(-2px) scale(1.05);
}
.sign-btn,
.font-toggle-btn {
  border: 1px solid rgba(255,255,255,0.6);
}
