@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { touch-action: manipulation; }
body { touch-action: manipulation; -webkit-text-size-adjust: 100%; }

html, body {
  height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(to bottom, #fafafa, #e5e5e5);
  color: #1c1c1c;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
  background-color: #fafafa;
  overflow: hidden;
}

.content-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 100vh;
  padding: 40px 24px;
}

.hero-text {
  text-align: center;
  pointer-events: none;
  z-index: 5;
  transition: opacity .3s ease;
}

.hero-title,
.hero-tagline,
.note-title {
  user-select: none;
  -webkit-user-select: none;
}

.hero-title {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', serif;
  font-size: clamp(72px, 15vw, 140px);
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.15) 50%,
    rgba(0,0,0,.08) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s ease-in-out infinite, fadeSlideIn 0.8s ease-out both;
}

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 300;
  color: rgba(0,0,0,.18);
  margin-top: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeSlideIn 0.8s ease-out 0.2s both;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
  position: relative;
  z-index: 10;
}

.focus-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.focus-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.note-wrapper {
  margin-bottom: 56px;
}


.note-wrapper {
  position: relative;
  width: 360px;
  height: 340px;
  transition: transform 0.18s ease-out;
  cursor: default;
  z-index: 10;
  margin-top: 8px;
  user-select: none;
  -webkit-user-select: none;
  transform: perspective(800px) rotateY(1.5deg) rotateX(-0.5deg);
}

.note-wrapper.can-grab {
  cursor: grab !important;
}

.note-wrapper.is-grabbing {
  cursor: grabbing !important;
}

@media (hover: hover) {
  .note-wrapper:hover {
    transform: translateY(-2px);
  }
  .note-wrapper.drawing-mode,
  .note-wrapper.drawing-mode:hover {
    transform: scale(1.1);
  }
}

/* Focused state - note lifts and grows slightly */
.note-wrapper.flat {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .note-wrapper {
    transform: perspective(800px) rotateY(1.5deg) rotateX(-0.5deg) scale(var(--mobile-note-scale, 1.1));
  }
  .note-wrapper.flat {
    transform: scale(var(--mobile-note-focus-scale, 1.15)) translateY(-100px);
  }
}

.note-wrapper.flat:hover {
  transform: scale(1.08) translateY(-2px);
}

.note-wrapper.drawing-mode:hover,
.note-wrapper.drawing-mode.flat:hover {
  transform: scale(1.1);
}

/* Shadow layer - blurred rectangle behind note, gradient fades in from top */
.note-shadow {
  position: absolute;
  top: 70px;
  left: 30px;
  width: 240px;
  height: 240px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgba(70, 100, 150, 0.22) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(132, 175, 221, 0) 0%, rgba(132, 175, 221, 0.3) 100%);
  filter: blur(30px);
  border-radius: 4px;
  transition: all 0.25s ease-out;
}

/* When lifted: shadow darkens, spreads out, shifts down to show depth */
.note-wrapper.flat .note-shadow,
.note-wrapper.drawing-mode .note-shadow {
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(50, 80, 140, 0.22) 0%, transparent 65%),
    rgba(80, 120, 170, 0.25);
  opacity: 0.85;
  top: 90px;
  left: 25px;
  width: 250px;
  height: 260px;
  filter: blur(60px);
}

/* Sticky note paper SVG */
.note-paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 340px;
  z-index: 1;
  pointer-events: none;
}


.note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  width: 360px;
  height: 340px;
  padding: 48px 57px;
  border-radius: 0;
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  isolation: isolate;
  z-index: 2;
  overflow: hidden;
}

/* note-version removed - using build-hover-area instead */

/* Ellipsis menu button */
.note-menu-btn {
  position: absolute;
  top: 48px;
  right: 54px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease, background .15s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.note:hover .note-menu-btn,
.note-wrapper:hover .note-menu-btn,
.note-menu-btn.active,
.note-wrapper.flat .note-menu-btn {
  opacity: 1 !important;
}

.note-menu-btn:hover {
  background: rgba(0,0,0,.08);
}

.note-menu-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(0,0,0,.35);
}

/* Dropdown menu */
.note-dropdown {
  position: absolute;
  top: 40px;
  right: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.05);
  padding: 6px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.95);
  transition: all .2s ease;
  z-index: 100;
  /* Safari border-radius fix */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.note-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
  .note-dropdown {
    right: -8px;
  }
  .note-wrapper.flat .note-dropdown.open {
    transform: translateY(0) scale(calc(1 / var(--mobile-note-scale, 1)));
    transform-origin: top right;
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease;
}

.dropdown-item:hover {
  background: rgba(0,0,0,.06);
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dropdown-item:disabled {
  opacity: 0.5;
  cursor: default;
}

.coming-soon-tag {
  font-size: 10px;
  color: rgba(0,0,0,0.4);
  margin-left: auto;
  font-weight: 400;
}

.color-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #B4DCE8;
}

/* Color picker submenu */
.color-submenu {
  display: none;
  padding: 8px 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.color-submenu.open {
  display: flex;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: rgba(0,0,0,.4);
}

/* Drawing mode - zoomed in on note */
.drawing-mode-active {
  overflow: hidden;
}

.drawing-mode-active .wallet-wrapper > *:not(.build-hover-area) {
  opacity: 0;
  pointer-events: none;
}

.note-wrapper.drawing-mode {
  transform: scale(1.1);
  z-index: 100;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 21l1.5-4.5L17.5 3.5a1.4 1.4 0 0 1 2 0l1 1a1.4 1.4 0 0 1 0 2L7.5 19.5z' fill='%231a1a1a' stroke='white' stroke-width='1'/%3E%3C/svg%3E") 2 22, crosshair !important;
}

.note-wrapper.drawing-mode.can-grab {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 21l1.5-4.5L17.5 3.5a1.4 1.4 0 0 1 2 0l1 1a1.4 1.4 0 0 1 0 2L7.5 19.5z' fill='%231a1a1a' stroke='white' stroke-width='1'/%3E%3C/svg%3E") 2 22, crosshair !important;
}

.note-wrapper.drawing-mode .note-drawing-layer {
  touch-action: none;
  pointer-events: auto;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 21l1.5-4.5L17.5 3.5a1.4 1.4 0 0 1 2 0l1 1a1.4 1.4 0 0 1 0 2L7.5 19.5z' fill='%231a1a1a' stroke='white' stroke-width='1'/%3E%3C/svg%3E") 2 22, crosshair;
}

.note-wrapper.drawing-mode .note-menu-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  display: none !important;
}

.note-wrapper.drawing-mode .textarea.hide-for-drawing {
  opacity: 0;
  pointer-events: none;
}

.drawing-toolbar {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 10px;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transition: none;
  z-index: 101;
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

.pen-colors,
.pen-sizes {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pen-color-picker {
  position: relative;
}

.pen-color-current {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}

.pen-color-current:hover {
  border-color: #fff;
  transform: scale(1.1);
}

.pen-color-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  display: flex;
  gap: 6px;
  background: rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  pointer-events: none;
}

.pen-color-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.pen-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}

.pen-color:hover {
  transform: scale(1.1);
}

.pen-color.active {
  border-color: #fff;
}

.pen-size {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: rgba(255,255,255,.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}

.pen-size span {
  background: #fff;
  border-radius: 50%;
  display: block;
}

.pen-size:hover {
  background: rgba(255,255,255,.2);
}

.pen-size.active {
  border-color: #fff;
}

.drawing-toolbar.visible {
  opacity: 1;
  visibility: visible;
}

.toolbar-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.toolbar-btn.cancel {
  background: transparent;
  color: rgba(255,255,255,.7);
}

.toolbar-btn.cancel:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.toolbar-btn.done {
  background: #007AFF;
  color: #fff;
}

.toolbar-btn.done:hover {
  background: #0066DD;
}

.toolbar-btn.clear {
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 18px;
}

.toolbar-btn.clear:hover {
  color: #FF3B30;
  background: rgba(255,255,255,.1);
}



.note-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(0,0,0,.4);
  margin-bottom: 16px;
}

/* Drawing layer on note */
.note-drawing-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  clip-path: polygon(12.8% 7.9%, 86.4% 7.6%, 89.1% 83.9%, 10.7% 84.9%);
  overflow: hidden;
}

.textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Patrick Hand', cursive;
  font-size: 20px;
  line-height: 1.5;
  color: #1a1a1a;
  resize: none;
  outline: none;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transform: perspective(800px) rotateX(3deg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-wrapper.flat .textarea {
  transform: perspective(800px) rotateX(0deg);
}

.textarea::placeholder {
  color: rgba(0,0,0,.3);
}

.char-count {
  font-size: 11px;
  color: rgba(0,0,0,.35);
  text-align: right;
  margin-top: 12px;
}

.wallet-buttons {
  text-align: center;
  position: relative;
  height: 44px;
  width: 100%;
}

.wallet-btn-link {
  display: inline-flex;
  cursor: pointer;
  transition: filter .15s ease;
  animation: fadeSlideIn 0.6s ease-out 0.5s both;
}

.wallet-btn-link:hover {
  filter: brightness(1.05);
}

.wallet-btn-link:active {
}

.wallet-btn-link img {
  display: block;
  height: 40px;
  width: auto;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  background: #e8e8e8;
  color: #1a1a1a;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
  animation: fadeSlideIn 0.6s ease-out 0.6s both;
}

.contact-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.9);
}

.contact-btn:active {
  transform: translateY(0);
}

.wallet-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity .3s ease;
  height: 54px;
  overflow: visible;
  flex-shrink: 0;
  z-index: 50;
}

.wallet-message {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 500;
  color: rgba(0,0,0,.25);
  margin-top: 12px;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.wallet-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  body {
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .content-group {
    gap: 32px;
    padding: 24px 16px;
    padding-bottom: 160px;
  }

  .hero-text {
    width: 100%;
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(40px, 14vw, 64px);
  }

  .hero-tagline {
    font-size: 13px;
    margin-top: 6px;
  }

  /* Container - centered */
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    margin-top: 0;
    gap: 40px;
    width: 100%;
    max-width: 100%;
  }

  /* Note wrapper - bigger and centered */
  .note-wrapper {
    width: 320px;
    height: 302px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .note-shadow {
    top: 50px;
    left: 20px;
    width: 280px;
    height: 260px;
    filter: blur(28px);
    opacity: 0.75;
  }

  .note-wrapper.flat .note-shadow {
    top: 70px;
    left: 15px;
    width: 290px;
    height: 270px;
    filter: blur(44px);
    opacity: 0.7;
  }

  /* Scale up bigger on mobile when clicked/focused - almost edge to edge */
  .note-wrapper.flat,
  .note-wrapper.flat:hover {
    transform: scale(var(--mobile-note-focus-scale, 1.15)) translateY(-100px);
  }

  .note-paper {
    width: 320px;
    height: 302px;
  }

  .note {
    width: 320px;
    height: 302px;
    padding: 44px 50px 44px 56px;
  }

  .textarea {
    font-size: 17px;
  }

  .note-menu-btn {
    top: 44px;
    right: 50px;
  }

  /* Wallet section - at bottom, stacked */
  .wallet-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 16px 20px 32px;
    background: linear-gradient(to top, rgba(250,250,250,1) 60%, rgba(250,250,250,0));
  }

  .wallet-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: auto;
  }

  .wallet-btn-link {
    width: auto;
    max-width: none;
    justify-content: center;
  }

  .wallet-btn-link#apple-wallet-btn {
    max-height: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .wallet-btn-link#apple-wallet-btn .wallet-qr {
    display: none;
  }

  .wallet-btn-link img {
    height: 44px;
  }

  .wallet-message {
    margin-top: 12px;
  }

  /* Language picker adjustments */
  .lang-picker {
    top: 12px;
    right: 12px;
  }

  /* Drawing mode adjustments — center note vertically, zoom slightly */
  .drawing-mode-active {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }

  .note-wrapper.drawing-mode {
    position: fixed !important;
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1.12) !important;
    z-index: 100 !important;
    margin: 0 !important;
  }

  .drawing-mode-active .wallet-wrapper {
    opacity: 0;
    pointer-events: none;
  }

  /* Block overlay clicks in draw mode — must use toolbar to exit */
  .drawing-mode-active .focus-overlay.active {
    pointer-events: none;
  }

  /* Toolbar fixed at bottom center on mobile */
  .drawing-toolbar.visible {
    top: auto !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* QR Code inside wallet button — DESKTOP ONLY */
@media (min-width: 601px) {
  .wallet-btn-link#apple-wallet-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #000;
    box-shadow: 0 0 0 1px rgba(0,0,0,1);
    max-height: 42px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    vertical-align: top;
  }
  .wallet-btn-link#apple-wallet-btn.qr-open {
    max-height: 250px;
    margin-top: -80px;
    z-index: 30;
  }
  .wallet-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 6px 4px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    box-sizing: border-box;
    width: 0;
    min-width: 100%;
    overflow: hidden;
  }
  .wallet-qr img {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
    display: block;
  }
  .wallet-btn-link#apple-wallet-btn.qr-open .wallet-qr {
    opacity: 1;
  }
  .wallet-qr svg {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }
}

/* Mobile: hide QR, plain button */
@media (max-width: 600px) {
  .wallet-qr {
    display: none !important;
  }
}

.wallet-btn-link img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
}

.site-footer a {
  color: #888;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.site-footer a:hover {
  opacity: 1;
}

/* Hidden build number */

/* Hidden build number - shows on hover over bottom-left corner */
.add-note-btn {
  width: 200px;
  height: 200px;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  background: rgba(0,0,0,0.1);
  margin-top: 70px;
}

.add-note-btn:hover {
  background: rgba(0,0,0,0.06);
}

.add-note-btn .plus-icon {
  width: 40px;
  height: 40px;
  position: relative;
}

.add-note-btn .plus-icon::before,
.add-note-btn .plus-icon::after {
  content: '';
  position: absolute;
  background: #ffffff;
  border-radius: 4px;
}

.add-note-btn .plus-icon::before {
  width: 4px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.add-note-btn .plus-icon::after {
  height: 4px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.add-note-btn:hover .plus-icon::before,
.add-note-btn:hover .plus-icon::after {
  background: #ffffff;
}

.dragged-note {
  transition: transform 0.18s ease-out;
  cursor: pointer;
}

.dragged-note.is-grabbing {
  transition: none !important;
}

.build-hover-area {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
  word-spacing: normal;
}

.build-hover-area .copyright {
  font-size: 11px;
  color: rgba(0,0,0,0.5);
}

@media (max-width: 600px) {
  .build-hover-area {
    position: static;
    margin-top: 8px;
  }
}

.build-number {
  font-size: 11px;
  color: rgba(0,0,0,0.5);
  user-select: none;
}

.footer-link {
  font-size: 11px;
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  transition: color .15s ease;
  margin: 0 6px;
}

.build-hover-area .copyright {
  margin: 0 6px;
}

.footer-link:hover {
  color: rgba(0,0,0,0.7);
}

/* Changelog */
.changelog-section {
  max-width: 700px;
  margin: 60px auto 40px;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
}
.changelog-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 28px;
  color: rgba(0,0,0,0.8);
  margin-bottom: 32px;
  text-align: center;
}
.changelog-date-group {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.changelog-date-group:last-child {
  border-bottom: none;
}
.changelog-date {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.changelog-list li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,0.7);
  padding: 4px 0;
}
.cl-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 6px;
  white-space: nowrap;
}
.cl-new { background: rgba(99,102,241,0.08); color: rgba(99,102,241,0.8); }
.cl-fix { background: rgba(245,158,11,0.08); color: rgba(180,120,10,0.85); }
.cl-design { background: rgba(168,85,247,0.08); color: rgba(148,70,220,0.8); }
.cl-improve { background: rgba(16,185,129,0.08); color: rgba(14,150,105,0.85); }
