.hero-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-top: 7px;
  padding: 0 17px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.quick-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 14px;
  background: #fff;
  font-size: 12px;
  color: inherit;
  text-decoration: none;
}

.event {
  text-decoration: none;
  color: inherit;
}

.flash-box {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding: 10px 16px 0;
}

.flash {
  margin: 0 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f5ee;
  color: var(--green);
  font-size: 12px;
}

.flash.error {
  background: #fce4e1;
  color: #b92b24;
}

.flash.info {
  background: #eef3fa;
  color: var(--blue);
}

.page-scroll,
.page-scroll-short {
  overflow: visible;
  padding-bottom: 24px;
}

.page-scroll {
  max-height: none;
}

.page-scroll-short {
  max-height: none;
}

.empty-tip {
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.form-block {
  padding: 8px 18px 0;
}

.form-block label {
  display: block;
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.form-block input,
.form-block textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.form-block textarea {
  resize: vertical;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip {
  margin: 0;
}

.chip input {
  display: none;
}

.chip span {
  display: grid;
  place-items: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 13px;
}

.chip input:checked + span {
  border-color: var(--red);
  background: var(--soft);
  color: var(--red);
  font-weight: 700;
}

.submit-btn {
  display: grid;
  place-items: center;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.submit-btn.soft {
  background: var(--soft);
  color: var(--red);
}

.link-line {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--red);
  font-size: 13px;
  text-decoration: none;
}

.signup,
button.signup {
  position: sticky;
  left: auto;
  right: auto;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 8px);
  width: calc(100% - 36px);
  height: 60px;
  margin: 24px 18px 12px;
  border: 0;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 10;
}

.signup.done {
  background: var(--bg);
  color: var(--muted);
}

.record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.record-row b {
  display: block;
  font-size: 14px;
}

.record-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.record-row .plus {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}

.record-row .minus {
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.menu-list {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

.menu-list a:last-child {
  border-bottom: 0;
}

.menu-list b {
  color: var(--muted);
  font-weight: 400;
}

.phone.home,
.phone {
  overflow: visible;
}

.phone.home {
  display: flex !important;
  flex-direction: column;
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
}

.phone.home > .page-title,
.phone.home > .hero,
.phone.home > .quick {
  flex: none;
}

.phone.home > .home-feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 12px;
}

.contact-btn {
  position: absolute;
  right: 18px;
  top: 42px;
  height: 30px;
  padding: 0 15px;
  border: 0;
  border-radius: 15px;
  background: var(--soft);
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

button.review {
  width: calc(100% - 36px);
  height: 54px;
  margin: 26px 18px 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: var(--soft);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

.phone.detail .flash-box {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  padding: 0 16px;
}

.type-filter {
  margin-top: 8px;
}

.type-filter .chip {
  text-decoration: none;
}

.type-filter .chip span,
a.chip span {
  display: grid;
  place-items: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 13px;
  color: var(--ink);
}

.type-filter .chip.on span,
a.chip.on span {
  border-color: var(--red);
  background: var(--soft);
  color: var(--red);
  font-weight: 700;
}

.case-image {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.page-title .sub-line {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.mini-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.gift-row form {
  margin: 0;
}

.notice-card {
  margin-bottom: 8px;
}


