.terms-page .policy-card {
  display: flex;
  flex-direction: column;
  height: 292px;
  min-width: 0;
}
.terms-page .policy-card::after { display: none; }
.terms-page .policy-card h2 {
  flex: none;
  min-height: 2.5em;
  margin: 0;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.25;
}
.terms-page .policy-card .policy-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 12px 0 16px;
  font-size: .92rem;
  line-height: 1.6;
}
.policy-detail { margin-top: auto; }
.policy-read {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #151719;
  border-radius: 999px;
  background: #151719;
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.policy-read::-webkit-details-marker { display: none; }
.policy-read svg { width: 16px; height: 16px; flex: none; }
.policy-read:hover { background: #e1c98f; color: #151719; border-color: #c8a96a; }
.policy-read:focus-visible { outline: 3px solid #a58a55; outline-offset: 3px; }
.terms-page .policy-card:has(.policy-detail[open]) { height: auto; }
.policy-full { padding-top: 18px; }
.policy-full p { margin: 0 0 14px; line-height: 1.7; }
.policy-full ul { padding-left: 20px; }
.policy-full li { margin-bottom: 12px; line-height: 1.65; }
body.policy-reader-open { overflow: hidden; }
.policy-reader {
  width: min(760px, calc(100vw - 32px));
  max-height: min(82dvh, 900px);
  margin: auto;
  padding: 0;
  border: 1px solid #dedbd3;
  border-radius: 18px;
  background: #fff;
  color: #202426;
  overscroll-behavior: contain;
}
.policy-reader::backdrop { background: rgba(17, 20, 19, .65); }
.policy-reader-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e8e5de;
  background: #fff;
}
.policy-reader-header h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.5rem); line-height: 1.25; }
.policy-reader-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d3d0c9;
  border-radius: 50%;
  background: #fff;
  color: #202426;
  font-size: 24px;
  cursor: pointer;
}
.policy-reader-close:hover { background: #f4f1e9; }
.policy-reader-close:focus-visible { outline: 3px solid #a58a55; outline-offset: 2px; }
.policy-reader-body { padding: 24px; font-size: 1rem; }
.policy-reader-body a { color: #705b32; overflow-wrap: anywhere; }
.policy-reader-body .policy-list { display: block; margin: 16px 0; padding-left: 20px; }
.policy-reader-body .policy-list li::before { display: none; }
@media (max-width: 720px) {
  .terms-page .policy-card { padding: 22px 20px; }
  .policy-reader { width: calc(100vw - 20px); max-height: 88dvh; }
  .policy-reader-header { padding: 14px 16px; }
  .policy-reader-body { padding: 18px 16px; }
}
