.tipjar-scope .pointer-events-none {
  pointer-events: none
}

.tipjar-scope .absolute {
  position: absolute
}

.tipjar-scope .relative {
  position: relative
}

.tipjar-scope .left-3 {
  left: 0.75rem
}

.tipjar-scope .top-1\/2 {
  top: 50%
}

.tipjar-scope .my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem
}

.tipjar-scope .mb-0\.5 {
  margin-bottom: 0.125rem
}

.tipjar-scope .mb-1 {
  margin-bottom: 0.25rem
}

.tipjar-scope .mb-2 {
  margin-bottom: 0.5rem
}

.tipjar-scope .mb-3 {
  margin-bottom: 0.75rem
}

.tipjar-scope .mb-4 {
  margin-bottom: 1rem
}

.tipjar-scope .ml-auto {
  margin-left: auto
}

.tipjar-scope .mt-0\.5 {
  margin-top: 0.125rem
}

.tipjar-scope .mt-1 {
  margin-top: 0.25rem
}

.tipjar-scope .mt-2 {
  margin-top: 0.5rem
}

.tipjar-scope .mt-3 {
  margin-top: 0.75rem
}

.tipjar-scope .mt-4 {
  margin-top: 1rem
}

.tipjar-scope .block {
  display: block
}

.tipjar-scope .inline-block {
  display: inline-block
}

.tipjar-scope .flex {
  display: flex
}

.tipjar-scope .inline-flex {
  display: inline-flex
}

.tipjar-scope .grid {
  display: grid
}

.tipjar-scope .h-2 {
  height: 0.5rem
}

.tipjar-scope .h-4 {
  height: 1rem
}

.tipjar-scope .w-2 {
  width: 0.5rem
}

.tipjar-scope .w-4 {
  width: 1rem
}

.tipjar-scope .w-full {
  width: 100%
}

.tipjar-scope .min-w-\[5\.5rem\] {
  min-width: 5.5rem
}

.tipjar-scope .flex-1 {
  flex: 1 1 0%
}

.tipjar-scope .shrink-0 {
  flex-shrink: 0
}

.tipjar-scope .-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

@keyframes spin {
  .tipjar-scope to {
    transform: rotate(360deg)
  }
}

.tipjar-scope .animate-spin {
  animation: spin 1s linear infinite
}

.tipjar-scope .cursor-not-allowed {
  cursor: not-allowed
}

.tipjar-scope .cursor-pointer {
  cursor: pointer
}

.tipjar-scope .cursor-wait {
  cursor: wait
}

.tipjar-scope .select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none
}

.tipjar-scope .list-none {
  list-style-type: none
}

.tipjar-scope .grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.tipjar-scope .flex-col {
  flex-direction: column
}

.tipjar-scope .items-start {
  align-items: flex-start
}

.tipjar-scope .items-center {
  align-items: center
}

.tipjar-scope .justify-center {
  justify-content: center
}

.tipjar-scope .gap-1 {
  gap: 0.25rem
}

.tipjar-scope .gap-2 {
  gap: 0.5rem
}

.tipjar-scope .gap-4 {
  gap: 1rem
}

.tipjar-scope .space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse))
}

.tipjar-scope .space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse))
}

.tipjar-scope .space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse))
}

.tipjar-scope .break-words {
  overflow-wrap: break-word
}

.tipjar-scope .break-all {
  word-break: break-all
}

.tipjar-scope .rounded {
  border-radius: 0.25rem
}

.tipjar-scope .rounded-2xl {
  border-radius: 1rem
}

.tipjar-scope .rounded-full {
  border-radius: 9999px
}

.tipjar-scope .rounded-lg {
  border-radius: 0.5rem
}

.tipjar-scope .rounded-xl {
  border-radius: 0.75rem
}

.tipjar-scope .border {
  border-width: 1px
}

.tipjar-scope .border-2 {
  border-width: 2px
}

.tipjar-scope .border-amber-200 {
  --tw-border-opacity: 1;
  border-color: rgb(253 230 138 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-emerald-200 {
  --tw-border-opacity: 1;
  border-color: rgb(167 243 208 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-rose-100 {
  --tw-border-opacity: 1;
  border-color: rgb(255 228 230 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-rose-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 205 211 / var(--tw-border-opacity, 1))
}

.tipjar-scope .border-rose-500 {
  --tw-border-opacity: 1;
  border-color: rgb(244 63 94 / var(--tw-border-opacity, 1))
}

.tipjar-scope .bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-emerald-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-emerald-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-rose-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-rose-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(253 164 175 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-rose-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 113 133 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-rose-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(225 29 72 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops))
}

.tipjar-scope .from-rose-50 {
  --tw-gradient-from: #fff1f2 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 241 242 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)
}

.tipjar-scope .via-white {
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to)
}

.tipjar-scope .to-amber-50 {
  --tw-gradient-to: #fffbeb var(--tw-gradient-to-position)
}

.tipjar-scope .p-3 {
  padding: 0.75rem
}

.tipjar-scope .p-4 {
  padding: 1rem
}

.tipjar-scope .p-5 {
  padding: 1.25rem
}

.tipjar-scope .px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem
}

.tipjar-scope .px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem
}

.tipjar-scope .px-4 {
  padding-left: 1rem;
  padding-right: 1rem
}

.tipjar-scope .px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem
}

.tipjar-scope .py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem
}

.tipjar-scope .py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem
}

.tipjar-scope .py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem
}

.tipjar-scope .py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem
}

.tipjar-scope .py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem
}

.tipjar-scope .py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem
}

.tipjar-scope .pl-8 {
  padding-left: 2rem
}

.tipjar-scope .pr-3 {
  padding-right: 0.75rem
}

.tipjar-scope .text-center {
  text-align: center
}

.tipjar-scope .font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

.tipjar-scope .text-2xl {
  font-size: 1.5rem;
  line-height: 2rem
}

.tipjar-scope .text-\[10px\] {
  font-size: 10px
}

.tipjar-scope .text-\[11px\] {
  font-size: 11px
}

.tipjar-scope .text-base {
  font-size: 1rem;
  line-height: 1.5rem
}

.tipjar-scope .text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem
}

.tipjar-scope .text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem
}

.tipjar-scope .text-xs {
  font-size: 0.75rem;
  line-height: 1rem
}

.tipjar-scope .font-bold {
  font-weight: 700
}

.tipjar-scope .font-medium {
  font-weight: 500
}

.tipjar-scope .font-semibold {
  font-weight: 600
}

.tipjar-scope .uppercase {
  text-transform: uppercase
}

.tipjar-scope .leading-none {
  line-height: 1
}

.tipjar-scope .leading-relaxed {
  line-height: 1.625
}

.tipjar-scope .tracking-wider {
  letter-spacing: 0.05em
}

.tipjar-scope .text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-amber-900 {
  --tw-text-opacity: 1;
  color: rgb(120 53 15 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-emerald-800 {
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-emerald-900 {
  --tw-text-opacity: 1;
  color: rgb(6 78 59 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-red-900 {
  --tw-text-opacity: 1;
  color: rgb(127 29 29 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-rose-700 {
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-rose-900 {
  --tw-text-opacity: 1;
  color: rgb(136 19 55 / var(--tw-text-opacity, 1))
}

.tipjar-scope .text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1))
}

.tipjar-scope .underline {
  text-decoration-line: underline
}

.tipjar-scope .opacity-25 {
  opacity: 0.25
}

.tipjar-scope .opacity-60 {
  opacity: 0.6
}

.tipjar-scope .opacity-75 {
  opacity: 0.75
}

.tipjar-scope .shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.tipjar-scope .shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.tipjar-scope .ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.tipjar-scope .ring-gray-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))
}

.tipjar-scope .ring-rose-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(253 164 175 / var(--tw-ring-opacity, 1))
}

.tipjar-scope .transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms
}

.tipjar-scope .transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms
}

.tipjar-scope .hover\:border-gray-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1))
}

.tipjar-scope .hover\:border-rose-300:hover {
  --tw-border-opacity: 1;
  border-color: rgb(253 164 175 / var(--tw-border-opacity, 1))
}

.tipjar-scope .hover\:bg-gray-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .hover\:bg-gray-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .hover\:bg-rose-50\/50:hover {
  background-color: rgb(255 241 242 / 0.5)
}

.tipjar-scope .hover\:bg-rose-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(190 18 60 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .hover\:text-gray-800:hover {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1))
}

.tipjar-scope .hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1))
}

.tipjar-scope .hover\:text-rose-800:hover {
  --tw-text-opacity: 1;
  color: rgb(159 18 57 / var(--tw-text-opacity, 1))
}

.tipjar-scope .focus\:border-gray-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1))
}

.tipjar-scope .focus\:border-rose-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(251 113 133 / var(--tw-border-opacity, 1))
}

.tipjar-scope .focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px
}

.tipjar-scope .focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.tipjar-scope .focus\:ring-gray-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity, 1))
}

.tipjar-scope .focus\:ring-rose-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(251 113 133 / var(--tw-ring-opacity, 1))
}

.tipjar-scope .disabled\:bg-gray-50:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1))
}

.tipjar-scope .disabled\:text-gray-500:disabled {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1))
}

.tipjar-scope .group[open] .group-open\:rotate-90 {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

@media (min-width: 640px) {
  .tipjar-scope .sm\:w-auto {
    width: auto
  }

  .tipjar-scope .sm\:flex-row {
    flex-direction: row
  }

  .tipjar-scope .sm\:items-start {
    align-items: flex-start
  }
}

@media (min-width: 768px) {
  .tipjar-scope .md\:p-6 {
    padding: 1.5rem
  }

  .tipjar-scope .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
  }
}

/* トークン切替（ブログ側の追加UI） */
.tipjar-token-switch { display: flex; gap: 8px; margin-bottom: 10px; }
.tipjar-token-switch button {
  flex: 1; padding: 6px 0; border: 1px solid #d1d5db; border-radius: 9999px;
  background: #fff; color: #374151; font-size: 13px; font-weight: 600; cursor: pointer;
}
.tipjar-token-switch button.is-active { background: #c2255c; border-color: #c2255c; color: #fff; }

/* サイドバー埋め込み用レイアウト修正（2026-11-24）
   ウィジェットは常に狭いサイドバー内にあるため、ビューポート基準の
   ブレークポイントや固定最小幅が効くと崩れる。ここで吸収する。 */
.tipjar-scope .min-w-\[5\.5rem\] {
  min-width: 0;
  padding-left: 0.375rem;
  padding-right: 0.375rem
}

.tipjar-scope .-translate-y-1\/2 {
  transform: translateY(-50%)
}

@media (min-width: 640px) {
  .tipjar-scope .sm\:flex-row {
    flex-direction: column
  }

  .tipjar-scope .sm\:items-start {
    align-items: center
  }
}

.tipjar-note {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 10px
}

/* Device-specific visibility for the tip jar (added 2026-11-25):
   on mobile the QR code and the MetaMask install box are pointless,
   so only the address + copy button remain. */
@media (max-width: 639px) {
  .tipjar-scope .tj-only-desktop { display: none !important; }
}
@media (min-width: 640px) {
  .tipjar-scope .tj-only-mobile { display: none !important; }
}
