.wish-textarea{
  --paper-line-height: 32px;
    position: relative;
  display: block;
    width: 100%;
  min-height: 320px;
  padding: 24px 24px 40px 54px;
  color: var(--text-color);
  border: 1px solid #e6e3d8;
  border-radius: 3px 8px 8px 3px;
    text-align: left;
  font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
  line-height: var(--paper-line-height);
  overflow-wrap: anywhere;
  background-color: var(--paper-color);
    background-image:
    linear-gradient(to right, transparent 38px, #e4b7b7 38px, #e4b7b7 39px, transparent 39px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #e2e7e1 31px, #e2e7e1 var(--paper-line-height));
  background-position: 0 0, 0 24px;
  box-shadow: 0 8px 28px #243d3508, 3px 4px 0 -1px var(--paper-color), 3px 4px 0 0 #e6e3d8;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wish-textarea::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 12px;
  background: radial-gradient(circle, var(--page-color) 4px, #deded5 4px, #deded5 5px, transparent 5px) center 8px / 12px 32px repeat-y;
  pointer-events: none;
}
.wish-textarea[contenteditable="true"]:focus{
  outline: 2px solid var(--green-color);
  outline-offset: 4px;
  border-color: #a8b9ac;
  box-shadow: 0 12px 32px #243d3510;
}
.wish-textarea[data-placeholder]:empty::before{
  content: attr(data-placeholder);
  color: var(--muted-color);
  pointer-events: none;
}
.wish-textarea p, .wish-textarea ul, .wish-textarea ol{
  margin-block: 0;
}
.wish-textarea img{
  max-width: 100%;
  height: auto;
}
#wish-letter-wrapper{
  min-height: 192px;
  max-height: 384px;
  margin-top: 12px;
  overflow: auto;
  scrollbar-width: thin;
}
.wish-list{
    position: relative;
    display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
    padding-top: 20px;
    width: 100%;
}
.wish-list-add-item{
    position: relative;
  display: inline-flex;
    align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 12px 5px 5px;
  border: 1px solid transparent;
  border-radius: 28px;
  color: var(--green-color);
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.add-item-icon{
  display: inline-flex;
    align-items: center;
    justify-content: center;
  flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
  background: var(--green-color);
  font-size: 22px;
  line-height: 1;
}
.wish-list-add-item:hover{
  border-color: #c8d6ca;
  background: #edf2eb;
}
.wish-list-label{
    position: relative;
    width: 100%;
  margin-bottom: 28px;
}
.wish-list-label p{
  max-width: 440px;
  margin-top: 16px;
  color: var(--muted-color);
  font-size: 14px;
}
.editor-meta{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  width: 100%;
  margin-bottom: 12px;
}
.saving-animation-wrapper{
    display: flex;
  min-height: 24px;
  align-items: center;
  color: var(--muted-color);
  font-size: 11px;
}
.saving-element{
    display: none;
}
.saving-idle{
  display: inline;
}
.saving-notification{
    align-items: center;
  gap: 6px;
}
.saving-notification img{
  width: 16px;
  height: 16px;
}
.saved{
  color: var(--green-color);
}
.error{
  color: #a32d42;
}
.dots{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}
.dot{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-color);
  animation: dot-scale 1s ease-in infinite;
}
.dot:nth-of-type(2){
  animation-delay: 0.15s;
}
.dot:nth-of-type(3){
  animation-delay: 0.3s;
}
@keyframes dot-scale{
  0%, 70%{ transform: scale(0.65); }
  35%{ transform: scale(1); }
}
.save-retry{
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #a32d42;
  border-radius: 6px;
  color: #a32d42;
  background: var(--paper-color);
  font-size: 12px;
  cursor: pointer;
}
.editor-hint{
  width: 100%;
  color: var(--muted-color);
  font-size: 11px;
}
@media (max-width:800px){
  .wish-textarea{
    min-height: 288px;
    padding-right: 16px;
    padding-left: 46px;
    background-image:
      linear-gradient(to right, transparent 32px, #e4b7b7 32px, #e4b7b7 33px, transparent 33px),
      repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #e2e7e1 31px, #e2e7e1 var(--paper-line-height));
  }
  .wish-textarea::after{
    left: 7px;
  }
}