* {
  box-sizing: border-box;
}

:root {
  --app-bg-image: url(/images/pouch-glam-bg.png);
  --app-bg-accent: rgba(255, 240, 246, .12);
  --app-bg-theme: linear-gradient(115deg, rgba(255, 244, 248, .08), rgba(255, 220, 230, .08));
}

html[data-bg="roomwear"] {
  --app-bg-image: url(/images/bg_roomwear.png);
  --app-bg-accent: rgba(255, 128, 176, .38);
  --app-bg-theme:
    radial-gradient(circle at 82% 22%, rgba(255, 210, 225, .56), transparent 30%),
    linear-gradient(115deg, rgba(98, 30, 68, .2), rgba(255, 132, 176, .36) 46%, rgba(255, 222, 232, .18));
}

html[data-bg="underwear"],
html[data-bg="swimwear"] {
  --app-bg-image: url(/images/bg_underwear.png);
  --app-bg-accent: rgba(255, 142, 188, .38);
  --app-bg-theme:
    radial-gradient(circle at 80% 18%, rgba(255, 226, 238, .5), transparent 30%),
    linear-gradient(115deg, rgba(255, 210, 226, .34), rgba(255, 172, 205, .2) 48%, rgba(133, 48, 88, .18));
}

html[data-bg="casual"] {
  --app-bg-image: url(/images/bg_casual.png);
  --app-bg-accent: rgba(180, 226, 255, .38);
  --app-bg-theme:
    radial-gradient(circle at 80% 18%, rgba(255, 250, 192, .54), transparent 30%),
    linear-gradient(115deg, rgba(210, 242, 255, .42), rgba(255, 232, 190, .22) 48%, rgba(184, 224, 255, .26));
}

html[data-bg="wedding"] {
  --app-bg-image: url(/images/bg_wedding.png);
  --app-bg-accent: rgba(255, 250, 235, .5);
  --app-bg-theme:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .62), transparent 28%),
    linear-gradient(115deg, rgba(255, 255, 255, .46), rgba(255, 240, 218, .38) 48%, rgba(255, 215, 232, .2));
}

body {
  min-height: 100vh;
  margin: 0;
  color: #351f29;
  background: #fff4f7;
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Segoe UI", sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

body > main {
  position: relative;
  z-index: 1;
}

.app-background-layer,
.app-background-tint {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.app-background-layer {
  z-index: 0;
  overflow: hidden;
  background: #fff4f7;
  background-position: center top;
  background-size: cover;
}

.app-background-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.app-background-tint {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .24), transparent 25%),
    radial-gradient(circle at 78% 16%, rgba(255, 231, 179, .18), transparent 26%),
    linear-gradient(90deg, rgba(255, 246, 250, .32), rgba(255, 230, 238, .16) 44%, rgba(35, 18, 28, .08)),
    linear-gradient(180deg, rgba(45, 18, 32, .1), rgba(255, 255, 255, .04) 38%, rgba(45, 18, 32, .12));
}

html[data-bg="swimwear"] body,
html[data-bg="underwear"] body {
  background: #fff4f7;
}

html[data-bg="roomwear"] body {
  background: #fff4f7;
}

html[data-bg="casual"] body {
  background: #fff4f7;
}

html[data-bg="wedding"] body {
  background: #fff4f7;
}

html[data-bg="current"] body {
  background: #fff4f7;
}

.game-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: 58vh;
  overflow: hidden;
  padding: 52px max(24px, 8vw) 68px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 212, 117, .46), transparent 24%),
    linear-gradient(135deg, #111722 0%, #293040 42%, #8c3330 100%);
  box-shadow: inset 0 -28px 52px rgba(17, 23, 34, .36);
}

.hero::before {
  position: absolute;
  inset: 16px max(16px, 4vw) 42px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  transform: perspective(900px) rotateX(4deg);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 6px 0 12px;
  font-size: clamp(56px, 11vw, 132px);
  line-height: .88;
  letter-spacing: 0;
  color: #ffe7a8;
  text-shadow:
    0 1px 0 #c97842,
    0 2px 0 #a85638,
    0 3px 0 #76372f,
    0 18px 34px rgba(0, 0, 0, .45);
}

.hero p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .36);
}

.hero-card {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, .42),
    -10px 10px 0 rgba(255, 231, 168, .58),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kicker,
.turn {
  margin: 0;
  color: #ffe7a8;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: -42px auto 40px;
  position: relative;
}

.panel,
.stats,
.actions,
.log {
  border: 1px solid #ded6c8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 34px rgba(42, 33, 23, .12);
}

.protagonist {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.protagonist h2,
.log h2 {
  margin: 6px 0 10px;
  font-size: 28px;
}

.protagonist p {
  line-height: 1.7;
}

.portrait {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #ffe7a8;
  box-shadow: 0 12px 26px rgba(22, 26, 34, .2);
}

.stats {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.stat-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 700;
}

.meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece4d6;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c4493d, #f2b15e);
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
  padding: 16px;
}

.button_to {
  margin: 0;
}

.action-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #8c3330;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.action-button:hover {
  background: #6d2826;
}

.action-button:disabled {
  cursor: default;
  opacity: .55;
}

.action-button.subtle {
  color: #18201b;
  background: #e9dccb;
}

.log {
  grid-column: 1 / -1;
  padding: 24px 28px;
}

.log p {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #eee5d7;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 20px 56px;
  }

  .hero::before {
    inset: 12px;
  }

  .hero-card {
    max-width: 290px;
    transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  }

  .board {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 520px);
  }

  .protagonist {
    flex-direction: column;
  }

  .actions {
    grid-template-columns: 1fr 1fr;
  }
}

.rooms-page,
.chat-room {
  min-height: 100vh;
}

.rooms-page {
  background: transparent;
  padding: 0 16px 48px;
  color: #4b2132;
}

.rooms-main-header {
  margin-bottom: 22px;
}

.rooms-hero,
.room-list {
  width: min(720px, 100%);
  margin: 0 auto;
}

.rooms-hero {
  min-height: 42vh;
  padding: 42px 18px 22px;
  border-radius: 30px 12px 30px 12px;
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 255, 255, .96), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 235, 243, .6));
  box-shadow:
    0 26px 54px rgba(99, 37, 62, .2),
    0 0 44px rgba(255, 245, 210, .5),
    inset 0 1px 0 rgba(255, 255, 255, .86);
}

.rooms-icon {
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 232, 192, .78);
  border-radius: 24px 10px 24px 10px;
  background: rgba(255, 255, 255, .62);
  box-shadow:
    0 18px 34px rgba(154, 68, 98, .22),
    0 6px 0 rgba(255, 255, 255, .42),
    inset 0 1px 0 rgba(255, 255, 255, .86);
  object-fit: cover;
}

.rooms-kicker {
  margin: 0 0 8px;
  color: #b77a25;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .9),
    0 0 18px rgba(255, 255, 255, .9);
}

.rooms-hero h1 {
  margin: 0;
  color: #ff6fb0;
  background:
    linear-gradient(100deg, #c72d75 0%, #ff8fbe 18%, #ffd7e7 32%, #fff1a8 45%, #ff6fb0 58%, #ffc7df 72%, #ffe78a 84%, #d63b83 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(64px, 17vw, 128px);
  line-height: .86;
  letter-spacing: 0;
  -webkit-text-fill-color: #ff6fb0;
  animation: title-shine 3.8s ease-in-out infinite;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, .86))
    drop-shadow(0 0 28px rgba(255, 199, 103, .72))
    drop-shadow(0 0 48px rgba(255, 148, 188, .54));
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, .95),
    0 1px 0 #f2b06d,
    0 2px 0 #b86a48,
    0 4px 0 rgba(117, 58, 37, .58),
    0 16px 30px rgba(70, 39, 20, .42),
    0 0 16px rgba(255, 255, 255, .95),
    0 0 46px rgba(255, 220, 105, .96),
    0 0 86px rgba(255, 176, 202, .68);
}

.rooms-lead {
  max-width: 460px;
  margin: 18px 0 0;
  color: #8d5b1e;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 900;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .95),
    0 0 18px rgba(255, 255, 255, .9),
    0 0 24px rgba(255, 220, 116, .56),
    0 8px 18px rgba(95, 58, 32, .2);
}

.rooms-description,
.rooms-safety,
.safety-note,
.ending-summary {
  max-width: 640px;
  color: #6f431a;
  font-size: 14px;
  line-height: 1.8;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .94),
    0 0 14px rgba(255, 255, 255, .78),
    0 0 22px rgba(255, 221, 128, .34);
}

.rooms-safety,
.safety-note {
  font-weight: 800;
}

.safety-note {
  padding: 0 14px 10px;
}

.room-list {
  display: grid;
  gap: 14px;
}

.room-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 207, 181, .48);
  border-radius: 24px 10px 24px 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 222, 232, .86));
  box-shadow:
    0 24px 54px rgba(158, 75, 103, .2),
    0 8px 0 rgba(255, 255, 255, .42),
    inset 0 1px 0 rgba(255, 255, 255, .78);
}

.room-card:hover {
  border-color: #e7b7a9;
  transform: translateY(-1px);
}

.room-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #ffe0d3;
}

.room-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.room-card p,
.room-card span {
  display: block;
  margin: 0;
  color: #6f625d;
  font-size: 14px;
  line-height: 1.5;
}

.room-card span {
  overflow: hidden;
  margin-top: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-intro {
  margin: 16px 14px 10px;
  padding: 18px;
  border: 1px solid rgba(255, 214, 226, .78);
  border-radius: 26px 10px 26px 10px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, .98), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 238, 244, .86));
  box-shadow:
    0 22px 46px rgba(158, 75, 103, .18),
    0 0 42px rgba(255, 246, 210, .48),
    0 7px 0 rgba(255, 255, 255, .38),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.intro-app-name,
.intro-chapter {
  margin: 0;
  color: #b77a25;
  font-size: 13px;
  font-weight: 900;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .95),
    0 0 16px rgba(255, 255, 255, .9);
}

.intro-app-name {
  display: inline-block;
  color: #ff6fb0;
  background:
    linear-gradient(100deg, #c72d75 0%, #ff8fbe 18%, #ffd7e7 32%, #fff1a8 45%, #ff6fb0 58%, #ffc7df 72%, #ffe78a 84%, #d63b83 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #ff6fb0;
  animation: title-shine 3.8s ease-in-out infinite;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, .86))
    drop-shadow(0 0 18px rgba(255, 199, 103, .68))
    drop-shadow(0 0 28px rgba(255, 148, 188, .48));
}

.app-intro h2 {
  margin: 6px 0 10px;
  color: #ff6fb0;
  background:
    linear-gradient(100deg, #c72d75 0%, #ff8fbe 18%, #ffd7e7 32%, #fff1a8 45%, #ff6fb0 58%, #ffc7df 72%, #ffe78a 84%, #d63b83 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(26px, 8vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  -webkit-text-fill-color: #ff6fb0;
  animation: title-shine 3.8s ease-in-out infinite;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, .86))
    drop-shadow(0 0 24px rgba(255, 199, 103, .68))
    drop-shadow(0 0 42px rgba(255, 94, 166, .68));
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, .96),
    0 1px 0 #f2b06d,
    0 2px 0 #b86a48,
    0 4px 0 rgba(117, 58, 37, .42),
    0 0 18px rgba(255, 255, 255, .95),
    0 0 50px rgba(255, 220, 116, .9),
    0 14px 24px rgba(95, 58, 32, .2);
}

@keyframes title-shine {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.app-intro h3 {
  margin: 4px 0 8px;
  color: #a46922;
  font-size: 20px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .95),
    0 0 18px rgba(255, 255, 255, .86);
}

.app-intro p {
  color: #6f431a;
  line-height: 1.8;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .92),
    0 0 14px rgba(255, 255, 255, .72),
    0 0 22px rgba(255, 221, 128, .34);
}

.goal-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 14px 0 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 222, 231, .8);
  border-radius: 18px 8px 18px 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow:
    0 12px 24px rgba(158, 75, 103, .12),
    0 0 22px rgba(255, 246, 210, .56),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.goal-strip strong {
  color: #b77a25;
}

.goal-strip span {
  color: #7a4a1c;
  font-weight: 800;
}

.chat-room {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto auto minmax(260px, 1fr) auto auto;
  width: min(760px, 100%);
  margin: 0 auto;
  color: #2a1820;
}

.chat-room::before {
  content: none;
}

.chat-header {
  position: relative;
  left: 50%;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: visible;
  width: 100vw;
  margin-left: -50vw;
  padding: 18px 16px 16px;
  padding-right: 16px;
  padding-left: 16px;
  border-bottom: 1px solid rgba(255, 222, 151, .95);
  background:
    radial-gradient(circle at 10% -20%, rgba(255, 255, 255, .98), transparent 26%),
    radial-gradient(circle at 76% 8%, rgba(255, 233, 164, .9), transparent 28%),
    linear-gradient(115deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 22%),
    linear-gradient(135deg, #fff4cf 0%, #f7c3cd 26%, #e7a16f 50%, #b76d75 72%, #ffe2a8 100%);
  color: #4b251e;
  box-shadow:
    0 30px 58px rgba(121, 58, 39, .28),
    0 10px 0 rgba(164, 105, 52, .16),
    0 0 46px rgba(255, 204, 109, .46),
    inset 0 2px 0 rgba(255, 255, 255, .92),
    inset 0 -5px 0 rgba(130, 71, 43, .18);
}

.chat-header::before {
  position: absolute;
  inset: 8px 10px;
  z-index: 0;
  content: "";
  border: 1px solid rgba(255, 239, 186, .72);
  border-radius: 22px 10px 22px 10px;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 248, 210, .34), transparent 20%),
    radial-gradient(circle at 90% 50%, rgba(255, 218, 124, .28), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, .54), rgba(255, 220, 162, .16) 48%, rgba(146, 71, 69, .1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -2px 0 rgba(154, 95, 48, .2),
    inset 0 0 24px rgba(255, 220, 112, .18),
    0 14px 28px rgba(121, 66, 42, .16);
  pointer-events: none;
}

.chat-header::after {
  position: absolute;
  inset: 0 8px;
  z-index: 0;
  content: "";
  background:
    radial-gradient(ellipse 20px 42px at 18% 28%, rgba(255, 247, 202, .78) 0 31%, transparent 35%),
    radial-gradient(ellipse 24px 46px at 18% 72%, rgba(255, 205, 116, .42) 0 34%, transparent 38%),
    radial-gradient(ellipse 18px 50px at 29% 50%, rgba(255, 241, 181, .56) 0 29%, transparent 34%),
    radial-gradient(ellipse 34px 72px at 42% 48%, transparent 0 45%, rgba(255, 231, 145, .5) 47% 52%, transparent 54%),
    radial-gradient(ellipse 30px 66px at 58% 52%, transparent 0 45%, rgba(255, 250, 214, .62) 47% 52%, transparent 54%),
    radial-gradient(ellipse 22px 46px at 73% 29%, rgba(255, 246, 194, .72) 0 34%, transparent 38%),
    radial-gradient(ellipse 25px 48px at 73% 71%, rgba(255, 211, 124, .42) 0 34%, transparent 39%),
    radial-gradient(ellipse 16px 52px at 84% 50%, rgba(255, 236, 160, .52) 0 31%, transparent 36%),
    conic-gradient(from 210deg at 26% 50%, transparent 0 24deg, rgba(255, 251, 223, .76) 26deg 34deg, transparent 36deg 100deg, rgba(214, 137, 72, .28) 103deg 110deg, transparent 112deg),
    conic-gradient(from 30deg at 74% 50%, transparent 0 26deg, rgba(255, 232, 142, .64) 28deg 36deg, transparent 38deg 98deg, rgba(255, 255, 235, .46) 101deg 108deg, transparent 110deg),
    linear-gradient(104deg, transparent 0 13%, rgba(255, 245, 192, .42) 14%, transparent 16% 48%, rgba(255, 218, 123, .28) 49%, transparent 52% 82%, rgba(255, 252, 224, .34) 83%, transparent 85%),
    repeating-linear-gradient(116deg, transparent 0 38px, rgba(255, 236, 170, .16) 39px 41px, transparent 42px 80px);
  background-size:
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    360px 96px,
    240px 100%,
    180px 100%;
  background-position:
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    24px 6px,
    0 0,
    0 0;
  background-repeat: repeat-x;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, .72))
    drop-shadow(0 4px 0 rgba(116, 67, 28, .26))
    drop-shadow(0 0 18px rgba(255, 218, 106, .62));
  mix-blend-mode: screen;
  opacity: .88;
  pointer-events: none;
}

.brand-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 238, 174, .95);
  border-radius: 20px 8px 20px 8px;
  color: #71311f;
  background:
    radial-gradient(circle at 28% 18%, #fff, transparent 30%),
    linear-gradient(145deg, #fff5be 0%, #f8cf83 34%, #e59a78 62%, #b95774 100%);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 18px 30px rgba(126, 73, 35, .34),
    0 6px 0 rgba(126, 70, 35, .18),
    0 0 24px rgba(255, 218, 128, .45),
    inset 0 2px 0 rgba(255, 255, 255, .94),
    inset 0 -3px 0 rgba(127, 62, 50, .2);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 12px 5px 12px 5px;
  object-fit: cover;
  filter: drop-shadow(0 2px 3px rgba(123, 41, 67, .18));
}

.brand-kicker {
  margin: 0 0 4px;
  color: rgba(170, 111, 36, .96);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chat-header h1 {
  margin: 0;
  color: #ff6fb0;
  background:
    linear-gradient(100deg, #c72d75 0%, #ff8fbe 18%, #ffd7e7 32%, #fff1a8 45%, #ff6fb0 58%, #ffc7df 72%, #ffe78a 84%, #d63b83 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(25px, 7vw, 40px);
  line-height: 1;
  letter-spacing: 0;
  -webkit-text-fill-color: #ff6fb0;
  animation: title-shine 3.8s ease-in-out infinite;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, .94))
    drop-shadow(0 0 28px rgba(255, 199, 103, .78))
    drop-shadow(0 0 54px rgba(255, 94, 166, .76));
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, .98),
    0 1px 0 #f2b06d,
    0 2px 0 #b86a48,
    0 4px 0 rgba(117, 58, 37, .46),
    0 16px 28px rgba(96, 45, 35, .42),
    0 0 8px rgba(255, 255, 255, 1),
    0 0 24px rgba(255, 255, 255, .96),
    0 0 58px rgba(255, 219, 108, .94),
    0 0 96px rgba(255, 170, 204, .82);
}

.header-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-left: auto;
  padding-bottom: 1px;
}

.header-stats {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: flex-start;
  overflow: visible;
}

.header-stats span {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 209, 221, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  box-shadow:
    0 8px 18px rgba(158, 75, 103, .12),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

.header-stats span {
  padding: 7px 11px;
  color: #8f3f5d;
  font-size: 13px;
  font-weight: 800;
}

.header-stats strong {
  color: #cf4d78;
  font-size: 15px;
}

.support-nav-link,
.support-menu summary,
.background-switcher button,
.background-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 238, 174, .9);
  border-radius: 999px 999px 999px 12px;
  color: #7d4a19;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .95), transparent 26%),
    linear-gradient(145deg, #fff4ba 0%, #f3bf78 38%, #df8f83 68%, #b95678 100%);
  box-shadow:
    0 14px 24px rgba(126, 73, 35, .24),
    0 5px 0 rgba(135, 82, 36, .18),
    0 0 18px rgba(255, 216, 127, .35),
    inset 0 2px 0 rgba(255, 255, 255, .88),
    inset 0 -3px 0 rgba(127, 62, 50, .18);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .48);
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.support-nav-link:hover,
.support-menu summary:hover,
.background-switcher button:hover,
.background-button:hover {
  filter: saturate(1.1) brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    0 18px 30px rgba(126, 73, 35, .3),
    0 7px 0 rgba(135, 82, 36, .18),
    0 0 24px rgba(255, 222, 136, .46),
    inset 0 2px 0 rgba(255, 255, 255, .9),
    inset 0 -3px 0 rgba(127, 62, 50, .18);
}

.support-nav-link:active,
.support-menu summary:active,
.background-switcher button:active,
.background-button:active {
  transform: translateY(3px);
  box-shadow:
    0 7px 14px rgba(126, 73, 35, .2),
    0 2px 0 rgba(135, 82, 36, .2),
    inset 0 1px 0 rgba(255, 255, 255, .72),
    inset 0 -1px 0 rgba(127, 62, 50, .14);
}

.support-menu {
  position: relative;
  z-index: 9;
  flex: 0 0 auto;
}

.support-menu summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.support-menu summary::-webkit-details-marker {
  display: none;
}

.support-menu nav {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 8;
  display: grid;
  gap: 6px;
  min-width: 136px;
  padding: 8px;
  border: 1px solid rgba(255, 234, 174, .92);
  border-radius: 18px 8px 18px 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 239, 202, .96) 45%, rgba(255, 222, 232, .94));
  box-shadow:
    0 22px 38px rgba(126, 73, 35, .24),
    0 6px 0 rgba(135, 82, 36, .1),
    0 0 24px rgba(255, 221, 135, .28),
    inset 0 1px 0 rgba(255, 255, 255, .86);
}

.support-menu:not([open]) nav {
  display: none;
}

.support-menu nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: #79402c;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.support-menu nav a:hover {
  background: rgba(255, 232, 178, .62);
}

.background-switcher {
  position: relative;
  z-index: 1;
  order: -2;
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
  justify-content: flex-start;
  overflow-x: auto;
  width: auto;
  max-width: min(44vw, 420px);
  margin-left: 0;
  padding: 0 0 2px;
}

.background-switcher button,
.background-button {
  min-height: 34px;
  cursor: pointer;
  appearance: none;
}

.background-switcher button.is-active,
.background-button.is-active,
html[data-bg="underwear"] .background-button[data-bg-choice="underwear"],
html[data-bg="swimwear"] .background-button[data-bg-choice="underwear"],
html[data-bg="swimwear"] .background-button[data-bg-choice="swimwear"],
html[data-bg="roomwear"] .background-button[data-bg-choice="roomwear"],
html[data-bg="casual"] .background-button[data-bg-choice="casual"],
html[data-bg="wedding"] .background-button[data-bg-choice="wedding"],
html[data-bg="current"] .background-button[data-bg-choice="current"] {
  color: #fffdf4;
  border-color: rgba(255, 230, 180, .9);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .52), transparent 28%),
    linear-gradient(145deg, #9f5345, #e29285 48%, #ffc86d 100%);
  box-shadow:
    0 16px 28px rgba(126, 73, 35, .34),
    0 5px 0 rgba(91, 54, 32, .24),
    0 0 24px rgba(255, 215, 122, .42),
    inset 0 2px 0 rgba(255, 255, 255, .58);
}

.header-glow {
  position: absolute;
  right: -34px;
  top: -64px;
  width: 240px;
  height: 220px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 42%, rgba(255, 255, 255, .86), transparent 30%),
    radial-gradient(circle, rgba(255, 210, 98, .54), transparent 58%);
  pointer-events: none;
}

.avatar-panel {
  position: relative;
  overflow: hidden;
  margin: 18px 14px 10px;
  border: 1px solid rgba(255, 214, 226, .72);
  border-radius: 28px 12px 28px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .74)),
    #231d21;
  box-shadow:
    0 28px 58px rgba(158, 75, 103, .22),
    0 9px 0 rgba(255, 255, 255, .28),
    0 0 42px rgba(255, 179, 202, .2);
}

.avatar-panel::after {
  content: none;
}

.avatar-panel.outfit-morning::after {
  background: linear-gradient(135deg, rgba(255, 236, 213, .34), rgba(255, 190, 214, .12));
}

.avatar-panel.outfit-day::after {
  background: linear-gradient(135deg, rgba(255, 252, 222, .22), rgba(180, 224, 255, .16));
}

.avatar-panel.outfit-night::after {
  background: linear-gradient(135deg, rgba(255, 202, 222, .22), rgba(92, 49, 88, .18));
}

.avatar-panel.outfit-midnight::after {
  background: linear-gradient(135deg, rgba(255, 216, 229, .28), rgba(37, 18, 42, .24));
}

.avatar-panel video,
.avatar-fallback-motion {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  background: #221c20;
}

.avatar-fallback-motion {
  position: relative;
  overflow: hidden;
  background: #221c20;
  animation: avatar-idle-breathe 7s ease-in-out infinite alternate;
  transform-origin: center top;
}

.avatar-scene-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.avatar-fallback-motion::before {
  position: absolute;
  inset: -12%;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, .24), transparent 24%),
    linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .14) 48%, transparent 70%);
  animation: avatar-light-sweep 6s ease-in-out infinite;
  pointer-events: none;
}

.live-motion-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 222, 231, .7);
  border-radius: 999px;
  color: #fffafc;
  background: rgba(139, 49, 86, .54);
  box-shadow:
    0 10px 18px rgba(78, 26, 48, .18),
    inset 0 1px 0 rgba(255, 255, 255, .36);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@keyframes avatar-idle-breathe {
  from {
    filter: saturate(1.02) brightness(1);
    transform: scale(1);
  }

  to {
    filter: saturate(1.1) brightness(1.04);
    transform: scale(1.035);
  }
}

@keyframes avatar-light-sweep {
  0%,
  100% {
    opacity: .28;
    transform: translateX(-8%) rotate(0deg);
  }

  50% {
    opacity: .58;
    transform: translateX(8%) rotate(2deg);
  }
}

.avatar-panel video[poster] {
  background-image:
    linear-gradient(180deg, rgba(20, 8, 18, .02), rgba(20, 8, 18, .24)),
    url(/images/pouch-glam-bg.png);
  background-size: cover;
  background-position: center top;
}

.outfit-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 148px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 222, 231, .72);
  border-radius: 999px 999px 999px 14px;
  color: #68283e;
  background: rgba(255, 249, 251, .9);
  box-shadow:
    0 14px 24px rgba(78, 26, 48, .18),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}


.outfit-badge span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.outfit-badge small {
  overflow: hidden;
  color: rgba(104, 40, 62, .7);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.typing-indicator {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffaf7;
  background: rgba(42, 34, 32, .82);
  font-size: 12px;
  opacity: .82;
  box-shadow:
    0 0 18px rgba(255, 255, 255, .34),
    0 10px 22px rgba(42, 18, 30, .2);
}

.typing-indicator.is-active {
  background: rgba(194, 31, 86, .78);
  animation: typing-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes typing-pulse {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-2px);
  }
}

.compact-status {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 14px 10px;
}

.compact-status span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 213, 225, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #6a3541;
  font-size: 13px;
}

.compact-status strong {
  color: #c21f56;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 14px 16px;
}

.message-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.message-row.user {
  justify-content: flex-end;
}

.message-row.system {
  justify-content: center;
}

.message-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #ffe0d3;
}

.message-bubble {
  max-width: min(78%, 520px);
  padding: 11px 13px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(84, 53, 46, .08);
}

.message-bubble p {
  margin: 0;
  line-height: 1.55;
}

.message-bubble small {
  display: block;
  margin-top: 6px;
  color: rgba(42, 34, 32, .52);
  font-size: 11px;
}

.message-row.assistant .message-bubble {
  border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, .94);
}

.message-row.user .message-bubble {
  border-bottom-right-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #c21f56, #f06b63);
}

.message-row.user .message-bubble small {
  color: rgba(255, 255, 255, .72);
}

.message-row.system .message-bubble {
  max-width: 86%;
  color: #7d6c66;
  background: #f3e4dc;
  font-size: 13px;
  text-align: center;
}

.memory-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 14px 12px;
}

.memory-strip span {
  flex: 0 0 auto;
  max-width: 280px;
  overflow: hidden;
  padding: 7px 10px;
  border-radius: 999px;
  color: #7b4b42;
  background: #ffe5dc;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-result {
  margin: 0 14px 12px;
  padding: 14px;
  border: 1px solid rgba(255, 213, 225, .78);
  border-radius: 22px 10px 22px 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 232, 240, .82));
  box-shadow:
    0 18px 36px rgba(158, 75, 103, .16),
    0 6px 0 rgba(255, 255, 255, .42),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.clear-reward {
  margin: 0 14px 12px;
  padding: 14px;
  border: 1px solid rgba(255, 232, 180, .9);
  border-radius: 22px 10px 22px 10px;
  color: #6d2e47;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 241, 206, .82));
  box-shadow:
    0 18px 36px rgba(158, 75, 103, .16),
    0 6px 0 rgba(255, 255, 255, .42),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.clear-reward h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.clear-reward p {
  margin: 0;
  line-height: 1.7;
}

.action-result h2 {
  margin: 0 0 10px;
  color: #7b2943;
  font-size: 15px;
}

.result-deltas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.result-deltas span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffafc;
  background: linear-gradient(145deg, #c21f56, #f06b9a);
  box-shadow:
    0 10px 18px rgba(158, 75, 103, .18),
    inset 0 1px 0 rgba(255, 255, 255, .36);
  font-size: 13px;
  font-weight: 900;
}

.action-result p {
  margin: 0;
  color: rgba(75, 33, 50, .82);
  line-height: 1.7;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.result-stats span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 213, 225, .78);
  border-radius: 14px 6px 14px 6px;
  color: #6d2e47;
  background: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
}

.result-stats strong {
  color: #c21f56;
}

.ending-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.ending-progress section {
  padding: 12px;
  border: 1px solid rgba(255, 232, 180, .8);
  border-radius: 18px 8px 18px 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow:
    0 12px 24px rgba(158, 75, 103, .1),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.ending-progress h3 {
  margin: 0 0 7px;
  color: #7b2943;
  font-size: 14px;
}

.ending-progress p {
  margin: 4px 0;
  color: #4b2132;
  font-size: 13px;
}

.quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 214, 226, .62);
  background: rgba(255, 246, 249, .96);
  box-shadow:
    0 -12px 34px rgba(255, 255, 255, .3),
    0 -8px 24px rgba(116, 42, 72, .08);
}

.quick-actions h2 {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: #7b2943;
  font-size: 14px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .94),
    0 0 16px rgba(255, 255, 255, .82);
}

.quick-actions .button_to {
  flex: 0 0 auto;
}

.quick-actions input[type="submit"],
.quick-link {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 225, 193, .72);
  border-radius: 999px 999px 999px 14px;
  color: #7b2943;
  background:
    linear-gradient(145deg, #fff8dc, #ffc6d6 58%, #f891ac);
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 12px 24px rgba(158, 75, 103, .22),
    0 4px 0 rgba(255, 255, 255, .5),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.quick-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.message-form {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding: 10px 14px 14px;
  background: rgba(255, 246, 249, .97);
  box-shadow:
    0 -14px 34px rgba(255, 255, 255, .34),
    0 -8px 24px rgba(116, 42, 72, .1);
}

.message-form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
}

.message-form input[type="text"] {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(255, 207, 221, .82);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow:
    inset 0 2px 5px rgba(158, 75, 103, .08),
    0 9px 18px rgba(158, 75, 103, .12),
    0 0 18px rgba(255, 255, 255, .56);
  font-size: 16px;
}

.message-form input[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 999px 999px 14px 999px;
  color: #7b2943;
  background: linear-gradient(145deg, #fff8dc, #ffc1d3 60%, #ef86a5);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 13px 24px rgba(158, 75, 103, .24),
    0 4px 0 rgba(255, 255, 255, .52),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

@media (min-width: 761px) {
  .chat-room {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 207, 181, .36);
    border-radius: 18px;
    overflow: visible;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
  }

  .chat-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .header-meta {
    grid-column: 1 / 2;
  }

  .header-stats {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    justify-content: flex-end;
  }
}

.support-page {
  min-height: 100vh;
  padding: 28px 16px 54px;
  color: #4b2132;
  background: transparent;
}

.support-hero,
.support-options,
.support-note,
.support-subnav,
.support-card,
.supporter-grid,
.support-thanks {
  width: min(820px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.support-hero {
  padding: 18px 0 22px;
}

.support-back-link,
.support-primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #7b2943;
  background: rgba(255, 255, 255, .72);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(158, 75, 103, .16);
}

.support-kicker {
  margin: 28px 0 8px;
  color: #b65a78;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-hero h1 {
  margin: 0;
  color: #e989a3;
  font-size: clamp(36px, 10vw, 72px);
  line-height: .98;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 #fff4c9,
    0 2px 0 #b85b78,
    0 18px 28px rgba(158, 75, 103, .18),
    0 0 22px rgba(255, 255, 255, .9),
    0 0 46px rgba(255, 236, 153, .5);
}

.support-hero p,
.support-card p {
  max-width: 660px;
  color: #351826;
  line-height: 1.8;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .92),
    0 0 14px rgba(255, 255, 255, .7);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-option,
.support-card,
.supporter-card,
.support-note {
  border: 1px solid rgba(255, 213, 225, .78);
  border-radius: 24px 10px 24px 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 229, 237, .84));
  box-shadow:
    0 22px 44px rgba(158, 75, 103, .16),
    0 6px 0 rgba(255, 255, 255, .46),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.support-option {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  color: #7b2943;
  text-decoration: none;
}

.support-option span {
  font-size: 17px;
  font-weight: 900;
}

.support-option small {
  color: rgba(75, 33, 50, .58);
}

.support-note,
.support-card {
  margin-top: 16px;
  padding: 18px;
}

.support-note p {
  margin: 6px 0;
  color: rgba(75, 33, 50, .72);
  font-size: 13px;
}

.support-subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.support-subnav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #8f3f5d;
  background: rgba(255, 255, 255, .72);
  font-weight: 800;
  text-decoration: none;
}

.soft-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.soft-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #8f3f5d;
  background: rgba(255, 255, 255, .66);
  font-weight: 800;
}

.support-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
}

.supporter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.supporter-card {
  padding: 18px;
}

.supporter-card span {
  color: #e989a3;
  font-size: 22px;
}

.supporter-card h2 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.supporter-card p {
  margin: 0;
  color: rgba(75, 33, 50, .68);
  line-height: 1.6;
}

.support-thanks {
  margin-top: 18px;
  color: #b65a78;
  font-weight: 900;
  text-align: center;
}

.memory-count {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 22px rgba(158, 75, 103, .14);
  font-weight: 900;
}

.memory-card-grid,
.ending-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(820px, 100%);
  margin: 0 auto;
}

.memory-card {
  padding: 18px;
  border: 1px solid rgba(255, 213, 225, .78);
  border-radius: 24px 10px 24px 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 229, 237, .84));
  box-shadow:
    0 22px 44px rgba(158, 75, 103, .16),
    0 6px 0 rgba(255, 255, 255, .46),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.memory-card span {
  color: #b65a78;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.memory-card h2 {
  margin: 7px 0;
  font-size: 20px;
}

.memory-card p {
  color: rgba(75, 33, 50, .72);
  line-height: 1.7;
}

.memory-card small {
  color: rgba(75, 33, 50, .56);
  font-weight: 800;
}

@media (max-width: 700px) {
  .support-options,
  .supporter-grid,
  .memory-card-grid,
  .ending-grid {
    grid-template-columns: 1fr;
  }
}
