/* Account-deletion page: extends the site's shared legal-page theme. */
.deletion-page .legal-shell { width: min(100%, 990px); }
.deletion-page .legal-brand { text-decoration: none; }
.deletion-page .legal-card { padding: clamp(1.5rem, 4vw, 3.25rem); }
.deletion-page .markdown-body h1 { max-width: 700px; margin-bottom: 1rem; }
.deletion-page .markdown-body .deletion-intro { max-width: 730px; font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.75; color: #52525b; margin-bottom: 2rem; }
.deletion-page .legal-meta { margin-bottom: 1.2rem; }
.deletion-page .markdown-body .deletion-section > h2 { margin-top: 2.3rem; padding-top: 2.2rem; }
.deletion-page .markdown-body .deletion-steps { padding: 0; margin: 1.4rem 0 1.6rem; list-style: none; }
.deletion-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid rgba(154,52,18,.11); }
.deletion-step:first-child { padding-top: .2rem; }
.deletion-step:last-child { border-bottom: 0; }
.deletion-page .markdown-body .deletion-step { margin: 0; padding-left: 0; }
.deletion-page .markdown-body .step-info h3 { margin: .4rem 0 .5rem; font-size: 1.25rem; }
.deletion-page .markdown-body .step-info p { margin: 0; max-width: 380px; color: #52525b; }
.step-count { font-weight: 700; font-size: .88rem; letter-spacing: .075em; color: #ba611b; }
.step-visual { margin: 0; min-height: 125px; border: 1px solid rgba(220, 180, 115, .45); background: #fff8eb; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step-visual-navigation { padding: 1rem .85rem; }
.step-visual-navigation img { width: 100%; max-width: 383px; height: auto; border: 1px solid #ece4d5; border-radius: 9px; }
.step-visual-gear { gap: 1rem; background: radial-gradient(circle at top left,#fff1d4,#fff8eb); min-height: 125px; }
.mock-gear { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: #29231e; box-shadow: 0 1px 9px rgba(90,54,19,.06); }
.visual-caption { font-weight: 600; color: #765b38; font-size: .95rem; }
.step-visual-delete { padding: 1rem; }
.mini-settings-card { display: flex; flex-direction: column; gap: .35rem; width: 100%; max-width: 320px; padding: .95rem; border: 1px solid #ffbca6; background: #fff; border-radius: 16px; box-shadow: 0 3px 12px rgba(60,29,0,.04); }
.mini-danger-label { font-size: .98rem; line-height: 1.2; color: #af1717; font-weight: 700; }
.mini-explainer { font-size: .72rem; line-height: 1.4; color: #8d6a49; }
.mini-danger-button { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .82rem; font-weight: 700; background: #dc2427; color: #fff; border-radius: 12px; padding: .57rem; margin-top: .15rem; }
.step-visual-confirm { min-height: 235px; padding: .9rem; background: #d6c9b4; }
.mini-confirm-dialog { width: 100%; max-width: 310px; padding: 1rem; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(48,31,5,.12); display: flex; align-items: flex-start; flex-direction: column; gap: .45rem; }
.mini-warning { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #ffe5e4; color: #d92828; font-weight: 700; font-size: 1.2rem; }
.mini-confirm-title { font-size: 1rem; color: #2b221a; font-weight: 700; }
.mini-confirm-description { color: #97714c; font-size: .7rem; }
.mini-confirm-description strong { color: #b02424; }
.mini-confirm-field { border: 1.5px solid #2b221a; border-radius: 10px; width: 100%; padding: .35rem .65rem; color: #98550c; font-size: .85rem; }
.mini-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; margin-top: .15rem; font-size: .76rem; font-weight: 700; text-align: center; }
.mini-confirm-actions > span { border-radius: 10px; padding: .38rem; background: #fff6e7; color: #2b221a; border: 1px solid #ffdfb3; }
.mini-confirm-actions > span:last-child { background: #dc2427; color: #fff; border-color: #dc2427; }
.deletion-page .markdown-body .irreversible-note { padding: 1rem 1.15rem; border-left: 4px solid #d8312e; border-radius: 12px; background: #fff3ef; font-size: .95rem; }
.deletion-page .markdown-body .deletion-section ul { margin-bottom: 1rem; }
.deletion-page .markdown-body .deletion-section h3 { font-size: 1.12rem; }
.deletion-page .legal-footer { line-height: 2; }
.deletion-page .legal-footer a { text-underline-offset: .15rem; text-decoration: underline; }
@media (max-width: 660px) {
 .deletion-page .legal-card { padding: 1.4rem 1.25rem; }
 .deletion-step { grid-template-columns: 1fr; gap: .8rem; padding: 1.4rem 0; }
 .deletion-page .markdown-body .step-info h3 { margin-top: .1rem; }
 .step-visual { max-width: 480px; width: 100%; }
 .deletion-page .markdown-body .deletion-section > h2 { margin-top: 2rem; padding-top: 1.8rem; }
}

/* Individual content deletion guides: posts, comments, direct messages. */
.deletion-page .markdown-body .content-guide-nav {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.15rem 0 1.4rem;
}
.deletion-page .markdown-body .content-guide-nav a {
  display: inline-flex; align-items: center; min-height: 38px;
  border: 1px solid #e7c9a2; border-radius: 999px;
  padding: .38rem .88rem; background: #fff8ee;
  font-size: .9rem; font-weight: 650; color: #7c3a18; text-decoration: none;
  transition: background 160ms ease;
}
.deletion-page .markdown-body .content-guide-nav a:hover { background: #ffebce; }
.deletion-page .markdown-body .content-guide-nav a:focus-visible {
  outline: 3px solid #be6a1c; outline-offset: 2px;
}
.content-deletion-guides { display: flex; flex-direction: column; gap: 1rem; }
.content-deletion-guide {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr);
  align-items: center; gap: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(154,52,18,.14);
  border-radius: 22px; padding: clamp(1.1rem, 2.7vw, 1.65rem);
  background: rgba(255,253,249,.94);
  scroll-margin-top: 1.5rem;
}
.content-guide-copy { min-width: 0; }
.content-guide-kicker { font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; color: #aa5917; }
.deletion-page .markdown-body .content-guide-copy h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.25;
  margin: .38rem 0 1rem;
}
.deletion-page .markdown-body .content-guide-steps {
  padding-left: 1.3rem; list-style: decimal; margin: 0;
  color: #4d4037; font-size: .94rem; line-height: 1.65;
}
.deletion-page .markdown-body .content-guide-steps li { padding-left: .2rem; margin: 0 0 .65rem; }
.content-guide-steps li::marker { font-weight: 700; color: #b05b12; }
.deletion-page .markdown-body .content-guide-steps li:last-child { margin-bottom: 0; }
.deletion-page .markdown-body .content-guide-note {
  margin: .95rem 0 0; padding: .75rem .85rem; border-radius: 12px;
  background: #fff5e6; font-size: .83rem; color: #705339; line-height: 1.6;
}
.content-guide-figure { margin: 0; min-width: 0; }
.content-guide-preview {
  display: flex; justify-content: center; align-items: center;
  border: 1px solid #f0dfc2; border-radius: 18px;
  background: #fff4df; padding: 1.1rem;
  overflow: hidden;
}
.content-guide-preview-screenshot img {
  display: block; width: 100%; max-width: 361px; height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 23px rgba(45,31,16,.12);
}
.content-guide-preview-sheet { background: #fff0d6; padding: .75rem; }
.ui-menu-card {
  width: 100%; max-width: 360px; background: #fffdf8;
  border: 1px solid rgba(146,95,45,.06); border-radius: 20px;
  padding: .5rem 1rem 1rem;
  box-shadow: 0 6px 20px rgba(80,56,25,.05);
}
.ui-menu-handle { width: 37px; height: 4px; margin: 0 auto 1rem; border-radius: 50px; background: #ded9cd; }
.ui-menu-title { font-size: .98rem; font-weight: 750; color: #282017; margin: 0 0 .45rem; }
.ui-menu-row {
  min-height: 40px; display: flex; align-items: center;
  font-size: .85rem; font-weight: 700; line-height: 1.3; color: #35271d;
  border-bottom: 1px solid #f3e6d3;
}
.ui-menu-danger { color: #d22627; }
.ui-menu-cancel {
  margin-top: 1rem; padding: .56rem .8rem;
  display: flex; justify-content: center; align-items: center;
  background: #fff0cd; border-radius: 13px;
  color: #825012; font-size: .82rem; font-weight: 750;
}
.ui-menu-cancel-orange { background: #ff9e09; color: #261c11; }
.deletion-page .markdown-body .content-guide-figure figcaption {
  margin-top: .65rem; font-size: .8rem; color: #765e43; line-height: 1.5; text-align: center;
}
.deletion-page .markdown-body .data-deletion-fallback {
  background: #fff6e6; border-left: 4px solid #e49b45;
  border-radius: 12px; padding: 1rem 1.1rem; margin: 1.3rem 0 0;
  font-size: .94rem; line-height: 1.65;
}
@media (max-width: 720px) {
  .content-deletion-guide { grid-template-columns: 1fr; }
  .content-guide-preview { max-width: 480px; }
}
@media (max-width: 380px) {
  .content-deletion-guide { padding: 1rem; }
  .content-guide-preview { padding: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .deletion-page .markdown-body .content-guide-nav a { transition: none; }
}
