.novo-campaign {
  --campaign-ink: #142f48; --campaign-green: #166955;
  box-sizing: border-box; width: min(760px, calc(100vw - 28px));
  max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 1px solid #ffffff88; border-radius: 24px;
  background: #fffcf6; color: var(--campaign-ink); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 28px 100px #051e4955; font-family: 'Noto Sans Thai', 'Anakotmai', system-ui, sans-serif;
  font-size: 15px; line-height: 1.6; text-align: left;
}
.novo-campaign::backdrop { background: #071d39b8; backdrop-filter: blur(5px); }
.novo-campaign *, .novo-campaign *::before, .novo-campaign *::after { box-sizing: border-box; }
.novo-campaign [hidden] { display: none !important; }
.novo-campaign button, .novo-campaign a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.novo-campaign button { font: inherit; cursor: pointer; }
.novo-campaign a { color: inherit; }
.novo-campaign :focus-visible { outline: 3px solid #da6a1e; outline-offset: 4px; }
.novo-campaign h2:focus { outline: none; }
.novo-campaign-top {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 9px 18px 9px 28px; background: #0a3767; color: #fff; font-size: 12px; font-weight: 700;
}
.novo-campaign-top button {
  flex: 0 0 44px; height: 44px; border: 1px solid #ffffff40; border-radius: 50%;
  background: #ffffff12; color: white; font-size: 19px;
}
.novo-campaign-content { padding: 25px 32px 12px; }
.novo-campaign-kicker { margin: 0 0 9px; color: var(--campaign-green); font-size: 12px; font-weight: 750; }
.novo-campaign h2 { margin: 0; font-size: clamp(27px, 4.6vw, 38px); line-height: 1.25; letter-spacing: -.7px; font-weight: 850; }
.novo-campaign h2 em { color: var(--campaign-green); font-style: normal; }
#novo-campaign-story { margin: 15px 0 21px; color: #53606a; font-size: 14px; line-height: 1.8; }
.novo-campaign-fund { border: 1px solid #cedfd3; border-radius: 18px; background: #edf5ee; padding: 18px 20px; }
.novo-campaign-fund-top { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.novo-campaign h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.5; }
.novo-campaign-fund-top h3 { font-size: 14px; }
.novo-campaign-fund-top span { font-size: 11px; color: #52665d; }
.novo-campaign-totals { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 8px 0 10px; }
.novo-campaign-totals strong { font-size: clamp(23px, 4vw, 30px); line-height: 1.4; font-variant-numeric: tabular-nums; }
.novo-campaign-totals span { font-size: 12px; color: #256752; font-weight: 700; }
.novo-campaign progress { display: block; width: 100%; height: 13px; border: 0; border-radius: 999px; overflow: hidden; background: #d3e1d5; accent-color: #228263; }
.novo-campaign progress::-webkit-progress-bar { background: #d3e1d5; border-radius: 999px; }
.novo-campaign progress::-webkit-progress-value { background: linear-gradient(90deg, #176650, #43a683); border-radius: 999px; }
.novo-campaign progress::-moz-progress-bar { background: #228263; border-radius: 999px; }
.novo-campaign-breakdown { margin: 9px 0 0; font-size: 12px; color: #395c4e; }
.novo-campaign-source { margin: 8px 0 0; font-size: 10px; line-height: 1.65; color: #607368; }
.novo-campaign-retry { margin-top: 8px; border: 1px solid #819a8b; border-radius: 8px; background: white; color: #174e3a; padding: 8px 12px; min-height: 44px; }
.novo-campaign-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.novo-campaign-product, .novo-campaign-member { display: flex; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid #e7dfd0; border-radius: 18px; background: white; min-width: 0; }
.novo-campaign-photo { display: block; align-self: center; width: 126px; height: 112px; margin: 0 0 10px; border-radius: 14px; overflow: hidden; background: #fff2f7; }
.novo-campaign-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.novo-campaign-label { display: block; color: #78654e; font-size: 10px; font-weight: 700; margin-bottom: 3px; }
.novo-campaign-options p { margin: 7px 0 12px; color: #62707a; font-size: 12px; line-height: 1.7; }
.novo-campaign-cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; min-height: 48px; border-radius: 11px; font-size: 13px; font-weight: 750; text-decoration: none; }
.novo-campaign a.novo-campaign-buy { background: #0a3767; color: #fff; margin-top: auto; }
.novo-campaign a.novo-campaign-join { background: #176b54; color: #fff; margin-top: auto; }
.novo-campaign-cta:hover { filter: brightness(1.14); }
.novo-campaign-shopee, .novo-campaign-details { text-align: center; padding: 11px 0 0; min-height: 44px; font-size: 12px; text-underline-offset: 4px; }
.novo-campaign a.novo-campaign-shopee { color: #b94219; font-weight: 700; }
.novo-campaign-member { background: #f7f5ec; }
.novo-campaign-vip { display: grid; place-content: center; align-self: center; width: 82px; height: 82px; margin: 15px 0 25px; border: 1px solid #cfa65d; border-radius: 50%; background: #f0dfb5; color: #745121; font-size: 25px; font-weight: 850; letter-spacing: 1px; box-shadow: 0 0 0 7px #e9d7a829; }
.novo-campaign-options .novo-campaign-membership-price { color: var(--campaign-green); font-size: 13px; font-weight: 750; }
.novo-campaign-free { text-align: center; font-size: 11px; color: #758079; margin: 18px 0 2px; }
.novo-campaign-footer { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 10px; background: #fffcf6f5; border-top: 1px solid #e8e5dc; padding: 11px 24px max(11px, env(safe-area-inset-bottom)); }
.novo-campaign-footer button { padding: 9px 16px; min-height: 44px; border: 1px solid #d6d8cf; border-radius: 10px; color: #49584f; background: white; font-size: 13px; }
.novo-campaign-footer [data-hide-today] { background: #eceee5; border-color: #d6d8cf; }
.novo-campaign-footer [data-storage-note] { width: 100%; color: #9a3e1a; font-size: 11px; }
@media (max-width: 540px) {
  .novo-campaign { border-radius: 18px; font-size: 14px; }
  .novo-campaign-top { padding: 7px 12px 7px 18px; font-size: 11px; }
  .novo-campaign-content { padding: 21px 18px 12px; }
  .novo-campaign-wide { display: none; }
  .novo-campaign-fund { padding: 15px; }
  .novo-campaign-options { grid-template-columns: 1fr; gap: 12px; }
  .novo-campaign-product { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; padding: 15px; }
  .novo-campaign-photo { width: 90px; height: 105px; margin: 0; }
  .novo-campaign-product .novo-campaign-cta, .novo-campaign-shopee { grid-column: 1 / -1; }
  .novo-campaign-member { padding: 16px; position: relative; }
  .novo-campaign-vip { position: absolute; right: 17px; top: 15px; width: 46px; height: 46px; margin: 0; font-size: 15px; box-shadow: none; }
  .novo-campaign-member h3, .novo-campaign-member .novo-campaign-label { padding-right: 60px; }
  .novo-campaign-member p { max-width: 94%; }
  .novo-campaign-options p { margin-bottom: 8px; }
  .novo-campaign-footer { padding-left: 16px; padding-right: 16px; }
  .novo-campaign-footer button { flex: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .novo-campaign[open] { animation: novo-campaign-enter .2s ease-out; }
  @keyframes novo-campaign-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
