.fund-notice[hidden] {
  display: none !important;
}

.fund-notice {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(8, 18, 40, 0.62);
}

.fund-notice__panel {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: 100%;
  max-height: 100%;
  background: #f6f3ea;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fund-notice__scroll {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 12px;
}

.fund-notice__doc {
  background: #fffdf6;
  border: 1px solid #d8c9a3;
  box-shadow: 0 8px 24px rgba(70, 50, 10, 0.08);
  padding: 18px 16px 16px;
}

.fund-notice__head {
  text-align: center;
  border-bottom: 1px solid #e6d7b4;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.fund-notice__org {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #8a6a2a;
  font-weight: 700;
}

.fund-notice__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  color: #7a1a1a;
  font-weight: 800;
}

.fund-notice__meta {
  margin: 0;
  font-size: 12px;
  color: #7a6a4a;
}

.fund-notice__lead,
.fund-notice__p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #2c2416;
}

.fund-notice__lead {
  font-weight: 650;
}

.fund-notice__p strong {
  color: #8a1515;
}

.fund-notice__h {
  margin: 14px 0 8px;
  font-size: 14px;
  color: #7a1a1a;
  font-weight: 800;
}

.fund-notice__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
  font-size: 13px;
}

.fund-notice__table th,
.fund-notice__table td {
  border: 1px solid #e0d0a8;
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
}

.fund-notice__table th {
  background: #f4ead0;
  color: #5a4010;
  font-weight: 800;
}

.fund-notice__table tr:nth-child(1) td {
  background: #fff4d6;
  font-weight: 750;
}

.fund-notice__table .is-first td:nth-child(2) {
  color: #9a181c;
}

.fund-notice__note {
  margin: 0 0 8px;
  padding: 8px 10px;
  background: #fff6e8;
  border-left: 3px solid #c62828;
  font-size: 13px;
  line-height: 1.6;
  color: #5c2a10;
}

.fund-notice__sign {
  padding: 12px 16px 20px;
  background: #fff;
  border-top: 1px solid #eadfbf;
  flex-shrink: 0;
}

.fund-notice__field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #3a2a12;
}

.fund-notice__field input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d8c9a3;
  border-radius: 10px;
  font-size: 16px;
  background: #fffdf8;
}

.fund-notice__ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #3a2a12;
}

.fund-notice__ack input {
  margin-top: 3px;
  flex-shrink: 0;
}

.fund-notice__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #c62828, #9a181c);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.fund-notice__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fund-notice__hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: #8a7a5a;
}

.fund-notice.is-done .fund-notice__sign {
  display: none;
}
