@font-face {
  font-family: Pinyon Script;
  src: url("assets/pinyon-script.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noto Sans Thai;
  src: url("assets/noto-thai.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noto Sans Thai;
  src: url("assets/noto-thai-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Noto Looped Thai;
  src: url("assets/noto-looped-thai.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noto Looped Thai;
  src: url("assets/noto-looped-thai-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Noto Serif Thai;
  src: url("assets/noto-serif-thai.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noto Serif Thai;
  src: url("assets/noto-serif-thai-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #3f3945;
  --muted: #625c6c;
  --berry: #714957;
  --cloud: #fbfafd;
  --outline: #dad4e1;
  font: 400 1rem/1.6 "Noto Sans Thai", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(18px, 6vw, 56px) 0 36px;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 30% at 5% 29%, #e9e7f0 0%, #e9e7f000 100%),
    radial-gradient(ellipse 43% 29% at 103% 57%, #f4e8ec 0%, #f4e8ec00 100%),
    var(--shop-background, #f8f7fa);
}
button, select, input, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid #78596e; outline-offset: 4px; }
.page { position: relative; width: min(calc(100% - 34px), 592px); margin-inline: auto; }
.wallpaper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.wallpaper i {
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  background: #e5bfda;
  clip-path: polygon(41% 0, 59% 0, 59% 27%, 73% 27%, 73% 41%, 100% 41%, 100% 59%, 73% 59%, 73% 73%, 59% 73%, 59% 100%, 41% 100%, 41% 73%, 27% 73%, 27% 59%, 0 59%, 0 41%, 27% 41%, 27% 27%, 41% 27%);
}
.wallpaper i:nth-child(1) { inset: 8% auto auto 12%; opacity: .65; }
.wallpaper i:nth-child(2) { inset: 5% 10% auto auto; width: 11px; background: #d7c9e5; }
.wallpaper i:nth-child(3) { inset: 43% 7% auto auto; width: 23px; opacity: .52; }
.wallpaper i:nth-child(4) { inset: 52% auto auto 10%; width: 13px; background: #d7c9e5; }
.wallpaper i:nth-child(5) { inset: 64% 20% auto auto; width: 11px; opacity: .6; }
.wallpaper i:nth-child(6) { inset: auto auto 13% 7%; width: 21px; background: #e3d8ea; }
.wallpaper i:nth-child(7) { inset: auto 11% 8% auto; opacity: .58; }
.wallpaper i:nth-child(8) { inset: auto auto 4% 25%; width: 10px; background: #dacbe6; }
.shop { position: relative; text-align: center; isolation: isolate; }
.credit-label {
  position: relative;
  z-index: 2;
  width: fit-content;
  color: #5c5264;
  background: #fff;
  padding: 4px 15px;
  border: 1px solid #e3dce8;
  border-radius: 40% 60% 51% 49% / 57% 42% 58% 43%;
  margin: 0 auto -6px;
  box-shadow: 0 3px 0 #e8e1eb;
  transform: rotate(-4deg);
  font: 400 .87rem/1.55 "Noto Sans Thai", system-ui, sans-serif;
  letter-spacing: .045em;
}
.cover-frame {
  position: relative;
  margin: 0 auto;
  width: min(100%, 410px);
  border-radius: 29px 34px 31px 35px;
  box-shadow: 0 5px 0 #e5d9e8, 0 0 0 4px #fff;
}
.cover-frame picture {
  display: block;
  overflow: hidden;
  padding: 10px;
  border-radius: inherit;
  background: #fcecf2;
}
.cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 444 / 306;
  object-fit: contain;
}
.spark-trigger {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
}
.spark-hint {
  position: absolute;
  right: 7%;
  bottom: 7%;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #edc9d8;
  border-radius: 13px 15px 12px 15px;
  background: #fff9fc;
  box-shadow: 0 3px 0 #ebd3df;
  transform: rotate(8deg);
}
.spark-trigger:hover .spark-hint { background: #fff; }
.pixel-heart {
  display: block;
  width: 15px;
  height: 13px;
  background: #b96588;
  clip-path: polygon(0 20%, 14% 20%, 14% 0%, 43% 0%, 43% 20%, 57% 20%, 57% 0%, 86% 0%, 86% 20%, 100% 20%, 100% 58%, 86% 58%, 86% 73%, 71% 73%, 71% 86%, 57% 86%, 57% 100%, 43% 100%, 43% 86%, 29% 86%, 29% 73%, 14% 73%, 14% 58%, 0% 58%);
}
.screen-hearts {
  position: fixed;
  z-index: 20;
  width: 0;
  height: 0;
  pointer-events: none;
}
.screen-heart {
  position: absolute;
  left: -8px;
  top: -7px;
  background: #e58eb3;
  animation: pixel-pop 740ms ease-out both;
  animation-delay: var(--delay);
}
.screen-heart:nth-child(2n) { background: #cf6a98; width: 12px; height: 10px; }
.screen-heart:nth-child(3n) { background: #f1a9c7; }
@keyframes pixel-pop {
  0% { opacity: 0; transform: scale(.6); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.13); }
}
.avatar {
  display: block;
  position: relative;
  z-index: 3;
  width: clamp(68px, 20vw, 99px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 42%;
  margin: clamp(-36px, -8vw, -24px) auto 0;
  border: 5px solid #fff;
  outline: 2px solid #f0d8e5;
  border-radius: 50%;
  background: #f1edf5;
  box-shadow: 0 3px 0 #e1d8e7;
}
.signature {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 5px auto 0;
  padding-inline: clamp(18px, 6vw, 32px);
}
h1 {
  margin: 0;
  padding-inline: .12em;
  color: var(--shop-text, #4c4254);
  font: 400 clamp(3rem, 15vw, 5.15rem)/1.16 "Pinyon Script", "Snell Roundhand", cursive;
}
.diamond {
  position: absolute;
  display: block;
  width: var(--size, 13px);
  aspect-ratio: 1;
  pointer-events: none;
  background: #ac8399;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: float-glint 3.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.diamond-left { left: 2px; top: 51%; --delay: -.4s; }
.diamond-right { right: 1px; top: 18%; --size: 15px; --delay: -1.4s; }
.diamond-small { right: 15px; top: 42%; --size: 8px; --delay: -2.35s; }
@keyframes float-glint {
  0%, 100% { opacity: .5; transform: translateY(2px) scale(.75) rotate(-12deg); }
  38% { opacity: 1; transform: translateY(-3px) scale(1.15) rotate(8deg); }
}
.review-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px auto 0;
}
.score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: #ede9f1;
  font-size: .875rem;
}
.score strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.score span { margin-inline-start: 2px; }
.stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 7px 19px;
  border: 1px solid #d9bdca;
  border-radius: 999px;
  background: #f3e4eb;
  color: var(--berry);
  font-weight: 600;
  box-shadow: 0 3px 0 #e6d2dd;
}
.stamp:hover { background: #faeef3; }
#write { border-radius: 21px 25px 23px 22px; }
.write-sparkle { color: #9c547a; line-height: 1; }
.mail-icon {
  flex: none;
  position: relative;
  width: 18px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 4px;
  overflow: hidden;
}
.mail-icon::before {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.guestbook {
  position: relative;
  margin-top: 27px;
  padding: 17px clamp(14px, 5.3vw, 27px) 18px;
  border: 1px solid #ede8ef;
  border-radius: 35px 45px 35px 49px / 39px 31px 39px 30px;
  background: #fff;
  box-shadow: 0 5px 0 #ebe6ee;
}
.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 9px;
}
h2, h3, p { overflow-wrap: anywhere; }
h2 { margin: 0; color: var(--ink); font-size: 1.13rem; font-weight: 600; }
.sort-control { position: relative; }
.sort-control::after {
  content: "";
  position: absolute;
  right: 11px;
  top: calc(50% - 5px);
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
select {
  appearance: none;
  min-height: 44px;
  padding: 5px 26px 5px 12px;
  border: 1px solid #e6e0eb;
  border-radius: 999px;
  background: #f5f2f8;
  font-size: .875rem;
}
.notice { margin: 0; padding: 12px; text-align: center; color: var(--muted); }
.notice-row { display: flex; align-items: center; gap: 8px; }
.notice-row .notice { flex: 1; min-width: 0; }
#notice-text, #text-preview { white-space: pre-wrap; overflow-wrap: anywhere; }
.notice[data-state="empty"], #text-dialog[data-field="empty"] .text-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border-radius: 28px 36px 31px 32px / 25px 30px 26px 30px;
  background: #f4f1f7;
}
.notice[data-state="empty"]::before,
#text-dialog[data-field="empty"] .text-preview::before { content: "✉"; color: var(--berry); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.envelope {
  padding: 5px;
  border-radius: 21px 24px 18px 26px;
  background: #eeebf3;
}
.paper { padding: 12px; border-radius: 17px 19px 14px 22px; background: #fcfbfd; }
.review-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
h3 { margin: 0; min-width: 0; font-size: 1rem; font-weight: 600; }
.mark { color: var(--berry); white-space: nowrap; font-size: .875rem; }
.comment { margin: 7px 0 0; white-space: pre-wrap; line-height: 1.65; }
.snapshot {
  display: block;
  width: min(140px, 85%);
  margin-top: 10px;
  padding: 4px;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: #fff;
}
.snapshot img { display: block; width: 100%; height: 90px; object-fit: cover; border-radius: 10px; }

dialog { color: var(--ink); }
dialog::backdrop { background: #30273566; }
.composer, .lightbox {
  width: min(calc(100vw - 27px), 440px);
  max-height: 88dvh;
  padding: 0;
  border: 1px solid #eee7f1;
  border-radius: 29px 34px 28px 37px;
  background: var(--cloud);
  box-shadow: 0 6px 0 #dcd0e0;
}
.letter { position: relative; padding: 16px clamp(14px, 5vw, 23px) 20px; }
.letter h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: 46px;
  min-height: 43px;
}
.letter h2 .mail-icon { color: var(--berry); }
.composer[open] .letter { animation: rise 240ms ease-out; }
@keyframes rise { from { transform: translateY(10px); opacity: .5; } to { transform: none; opacity: 1; } }
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid #e3dce8;
  background: #f4eff7;
  font-size: 1.3rem;
  line-height: 1;
}
form { display: grid; gap: 12px; margin-top: 8px; }
form > label { display: grid; gap: 4px; font-size: .95rem; }
input:not([type="radio"]), textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--outline);
  border-radius: 15px 17px 16px 19px;
  background: #fff;
  font-size: 1rem;
}
textarea { resize: vertical; }
input[type="file"]::file-selector-button {
  margin-right: 8px;
  padding: 4px 10px;
  border: 1px solid #e0d9e8;
  border-radius: 999px;
  background: #f2eef7;
  color: var(--ink);
  font: inherit;
}
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
legend { margin-bottom: 6px; }
.rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  gap: 4px;
}
.rating label { position: relative; cursor: pointer; }
.rating input { position: absolute; opacity: 0; pointer-events: none; }
.rating-heart {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid var(--outline);
  border-radius: 13px;
  background: #f4f0f8 url("assets/rating-heart-still.webp") center / contain no-repeat;
  image-rendering: pixelated;
  filter: grayscale(.82) saturate(.55);
  opacity: .7;
}
.rating label.is-filled .rating-heart {
  border-color: #e2b0c7;
  background-color: #f9c2d8;
  background-image: url("assets/rating-heart.gif");
  filter: none;
  opacity: 1;
}
.rating input:checked + .rating-heart {
  box-shadow: 0 0 0 2px #ad688c;
}
.rating input:focus-visible + .rating-heart {
  outline: 2px solid #78596e;
  outline-offset: 4px;
}
.rating-score {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .83rem;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .rating label.is-filled .rating-heart { background-image: url("assets/rating-heart-still.webp"); }
}
.attachment { display: flex; align-items: center; gap: 8px; }
.attachment img { max-width: 80px; max-height: 70px; border-radius: 9px; }
.plain { padding: 5px 8px; border: 1px solid var(--outline); border-radius: 999px; background: var(--cloud); }
.message { color: #7c3a54; font-size: .9rem; margin: 0; }
.message:empty { display: none; }
#send { width: 100%; }
.lightbox { width: min(92vw, 720px); background: var(--cloud); padding: 61px 9px 9px; }
.lightbox img { display: block; max-width: 100%; max-height: 72dvh; margin: auto; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .screen-heart { transform: translate(calc(var(--x) * .3), -8px); }
}

.admin-area { position: relative; z-index: 4; }
.admin-key {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #e3dce8;
  border-radius: 15px;
  background: #fff9fc;
  color: var(--berry);
  font-size: 1.25rem;
}
.admin-toolbar, .admin-reviews li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 13px;
  background: #f5edf5;
}
.admin-toolbar { margin-bottom: 10px; }
.admin-toolbar button, .admin-reviews button, .edit-spot {
  min-height: 38px;
  padding: 4px 11px;
  border: 1px solid #d9bdca;
  border-radius: 999px;
  background: #fff9fc;
  color: var(--berry);
  font-size: .84rem;
  font-weight: 600;
}
.key-icon {
  display: inline-block;
  position: relative;
  width: 25px;
  height: 14px;
  transform: rotate(-38deg);
  vertical-align: middle;
}
.key-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 25px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 25%, 12% 0, 39% 0, 49% 29%, 100% 29%, 100% 61%, 91% 61%, 91% 91%, 77% 91%, 77% 61%, 68% 61%, 68% 82%, 55% 82%, 55% 61%, 49% 61%, 39% 100%, 12% 100%, 0 75%);
}
.key-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff9fc;
}
.profile-wrap {
  position: relative;
  z-index: 3;
  display: flow-root;
  margin-top: clamp(-36px, -8vw, -24px);
}
.profile-wrap .avatar { margin-top: 0; }
.edit-cover { position: absolute; z-index: 2; left: 9px; bottom: 9px; }
.edit-profile { position: absolute; z-index: 4; left: calc(50% + 47px); bottom: 2px; white-space: nowrap; }
.review-controls { margin-bottom: 12px; }
.admin-reviews { padding: 0; margin: 9px 0; list-style: none; display: grid; gap: 7px; }
.admin-reviews li p { margin: 0; min-width: 0; white-space: pre-wrap; }
.admin-reviews li[data-hidden="true"] { background: #eeecf0; }
#admin-dialog {
  width: min(calc(100% - 32px), 365px);
  border: 2px solid #fff;
  border-radius: 43px 43px 36px 36px;
  background: #f5f3f7;
  box-shadow: 0 6px 0 #d9d2de, 0 16px 42px #34233936;
}
#admin-dialog::backdrop { background: #342b4160; }
.pin-case {
  padding: 16px clamp(14px, 6vw, 26px) 22px;
  background:
    radial-gradient(ellipse at 50% 0, #fff 0%, #fffbfd00 60%),
    radial-gradient(circle, #d5cfdb70 1px, transparent 1.5px) 0 0 / 13px 13px;
}
.pin-case .close { background: #fffafd; color: #71576c; }
.pin-header { display: grid; justify-items: center; }
.pin-header h2 {
  min-height: 0;
  margin: 3px 0 0;
  font-size: 1.24rem;
  outline: none;
}
.pin-decoration {
  display: grid;
  place-items: center;
  width: 61px;
  height: 43px;
  border-radius: 50%;
  background: #fff7fa;
  color: #dda7bd;
  transform: rotate(-9deg);
}
.pin-bow {
  position: relative;
  width: 9px;
  height: 10px;
  border-radius: 4px;
  background: currentColor;
  box-shadow: 0 0 0 2px #fff6fa;
}
.pin-bow::before, .pin-bow::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -3px;
  width: 18px;
  height: 16px;
  border: 1px solid #c88da5;
  background: #f0cad9;
}
.pin-bow::before { right: 5px; border-radius: 7px 9px 6px 9px; transform: rotate(17deg); }
.pin-bow::after { left: 5px; border-radius: 9px 7px 9px 6px; transform: rotate(-17deg); }
#admin-login { gap: 11px; margin-top: 8px; }
.pin-label { text-align: center; color: var(--muted); }
.pin-display {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid #d9d0df;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 2px 4px #75607e12;
}
.pin-display:focus-within { outline: 2px solid #9b6f86; outline-offset: 2px; }
.pin-display #admin-pin {
  position: absolute;
  inset: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  outline: none;
}
.pin-hearts { display: flex; gap: clamp(5px, 2vw, 10px); pointer-events: none; }
.pin-hearts i::before {
  content: "♡";
  display: block;
  color: #9b8294;
  font: normal 25px/1 system-ui, sans-serif;
}
.pin-hearts .is-filled::before {
  content: "♥";
  color: #bc6b92;
  animation: pin-heart-pop 220ms ease-out;
}
@keyframes pin-heart-pop {
  45% { transform: scale(1.24) rotate(-8deg); }
}
.admin-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 9px;
  padding: 9px;
  border: 1px solid #e3dbe7;
  border-radius: 24px;
  background: #eeeaf1;
  box-shadow: inset 0 1px 3px #5743610b;
}
.admin-keypad button {
  min-height: 44px;
  border: 1px solid #dcd4e1;
  border-radius: 18px 18px 16px 16px;
  background: linear-gradient(#fff, #faf8fc);
  box-shadow: 0 2px 0 #d9d0df;
  font-size: 1.15rem;
  font-weight: 600;
  touch-action: manipulation;
}
.admin-keypad button:is([data-key="clear"], [data-key="back"]) {
  background: #f7ebf1;
  color: #774e66;
}
.admin-keypad button[data-key="clear"] { font-size: .9rem; }
.admin-keypad button:active {
  transform: translateY(2px);
  background: #f2dee9;
  box-shadow: none;
}
.admin-keypad button:focus-visible { outline-offset: 1px; }
#admin-login-message { text-align: center; }
#admin-sign-in { justify-self: center; width: min(100%, 200px); min-height: 44px; }
#admin-sign-in span { margin-left: 4px; }
#media-preview { display: block; width: 100%; max-height: 210px; object-fit: contain; border-radius: 13px; background: #f7eff5; }
.admin-dialog .stamp { width: 100%; }


.editor-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.editor-tools button:disabled { cursor: default; opacity: .45; }
.editor-tools button[aria-pressed="true"], #editor-save:not(:disabled) { background: #ead4e2; }
.design-fields { display: grid; gap: 9px; }
.design-fields label { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.design-effect {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--outline);
  padding-top: 12px;
}
.design-effect button { min-height: 44px; }
#design-text-fields label { display: grid; gap: 3px; }
.design-fields input[type="color"] { width: 49px; height: 39px; padding: 3px; border-radius: 8px; cursor: pointer; }
#admin-toolbar { position: relative; }
#write, #send { background: var(--shop-button, #f3e4eb); color: var(--shop-button-text, #714957); }
#write:hover, #send:hover { filter: brightness(1.04); }
.screen-hearts .screen-heart { background: var(--shop-tap, #e58eb3); }
.screen-hearts .screen-heart:nth-child(2n) { opacity: .76; }
.screen-hearts[data-shape="star"] .screen-heart {
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 36%);
}
.screen-hearts[data-shape="petal"] .screen-heart { clip-path: none; border-radius: 65% 38% 60% 40%; }


.inline-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.send-wrap { display: flex; }
.inline-edit {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 33px;
  min-height: 33px;
  border: 1px solid #d9bdca;
  border-radius: 50%;
  background: #fff9fc;
  color: var(--berry);
  font-size: 1rem;
}
.inline-edit:hover, .text-tools button:hover { background: #f4e4ed; }
.inline-wrap > .credit-label + .inline-edit { position: absolute; left: calc(100% + 5px); z-index: 4; }
.empty-edit { width: 44px; height: 44px; margin-left: auto; }
.text-tools { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.text-tools button, .text-tools select { min-height: 40px; min-width: 37px; border: 1px solid var(--outline); border-radius: 8px; background: white; }
.text-tools button[aria-pressed="true"] { background: #ead4e2; }
.text-color { display: inline-flex; align-items: center; gap: 4px; }
.text-color input[type="color"] { width: 41px; height: 39px; padding: 3px; border-radius: 8px; cursor: pointer; }
.text-example { display: grid; gap: 4px; }
.text-example label { color: var(--muted); font-size: .875rem; }
.text-preview { min-height: 43px; border: 1px solid var(--outline); border-radius: 10px; padding: 8px; }
#text-dialog[data-field="empty"] .text-preview { color: var(--muted); text-align: center; }
#text-dialog[data-field="shopName"] .text-preview { font: 400 2.25rem/1.2 "Pinyon Script", "Noto Sans Thai", cursive; }
.screen-hearts[data-shape="image"] .screen-heart {
  width: 30px;
  height: 30px;
  object-fit: contain;
  clip-path: none;
  background: transparent;
}

.inline-field { display: grid; gap: 4px; font-size: .95rem; }
.rating-caption { display: flex; justify-content: center; align-items: center; gap: 6px; }


.review-admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-reviews button.delete-review { color: #8a405c; border-color: #e6b5c8; background: #fff0f5; }
