.rp-blog{min-width:0}
.rp-profile-blog:has(.rp-blog-access-card)>.rp-blog-header{display:none}
.rp-blog-access-card{display:flex;align-items:center;gap:38px;padding:38px 40px;margin-top:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface2)}
.rp-blog-access-art{display:grid;place-items:center;flex:0 0 150px}
.rp-blog-access-art .rp-blog-opening{width:140px;height:170px}
.rp-blog-access-copy{min-width:0;max-width:65ch}
body .rp-blog-access-card h3{font:400 28px/1.3 var(--font-display,Georgia,serif);margin:0 0 12px}
.rp-blog-access-card p{font-size:13px;line-height:1.8;margin:0 0 18px}
.rp-blog-access-features{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 24px;color:var(--muted);font-size:12px;line-height:1.7}
.rp-blog-access-features li:before{content:'·';color:var(--primary);margin-right:6px}
.rp-blog-unavailable{display:block}
@media(max-width:600px){.rp-blog-access-card{flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.rp-blog-access-art{align-self:center;flex-basis:auto}.rp-blog-access-art .rp-blog-opening{width:95px;height:110px}body .rp-blog-access-card h3{font-size:24px}.rp-blog-access-features{display:grid;gap:8px}}
.rp-profile-blog{scroll-margin-top:100px}
.rp-blog-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-top:24px}
.rp-blog-card{min-width:0;overflow:hidden;display:flex;align-items:stretch}
.rp-blog-card .card-body{display:flex;flex:1;flex-direction:column;min-width:0;gap:14px;padding:26px 28px}
.rp-blog-cover-media{position:relative;flex:0 0 27%;max-width:270px;min-height:260px;overflow:hidden;background:var(--surface2)}
.rp-blog-cover{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.rp-blog-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}
.rp-blog-author{display:flex;align-items:center;gap:15px;min-width:0;padding:7px}
.rp-blog-author-copy{display:grid;gap:3px;min-width:0}
.rp-blog-author-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.rp-blog-author-name{font-size:13px;font-weight:500;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.rp-blog-author-name:hover{color:var(--primary)}
.rp-blog-author-heading .identity-plan{width:22px;height:22px}
.rp-blog-author-handle{font-size:11px;overflow-wrap:anywhere}
.rp-blog-date{flex:none;font-size:11px}
body .rp-blog-card .card-title{font-family:var(--font-display,Georgia,serif);font-size:26px;font-weight:400;line-height:1.3;margin:0;overflow-wrap:anywhere}
.rp-blog-excerpt{overflow-wrap:anywhere;margin:0;line-height:1.8;color:var(--muted);font-size:13px;max-width:82ch;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.rp-blog-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:18px;margin-top:6px;border-top:1px solid var(--line)}
.rp-blog-owner-tools{display:flex;gap:8px;margin-left:auto}
.rp-blog-actions .btn{font-weight:500}
.rp-blog-owner-tools .btn.icon{width:34px;height:34px;min-width:34px;padding:7px;border-radius:50%}
.rp-blog-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:20px 0}
.rp-blog-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;margin:16px 0}
.rp-blog-photos img{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:var(--radius,12px)}
.rp-blog-preview .rp-blog-photos{margin:0}
.rp-blog-form textarea{min-height:220px;resize:vertical}
.rp-blog-form input,.rp-blog-form textarea{max-width:100%;min-width:0}
.rp-blog-modal .modal-content{min-width:0}
.rp-story-competition{padding-top:20px}
.rp-profile-blog .rp-blog-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 0 22px;border-bottom:1px solid var(--line)}
.rp-profile-blog .rp-blog-hero{gap:18px;margin:0;flex:1}
.rp-profile-blog .rp-blog-opening{width:76px;height:90px}
.rp-blog-heading h2{font-size:30px;font-weight:400;line-height:1.25;margin:0 0 8px;font-family:var(--font-display,Georgia,serif)}
.rp-blog-heading p{margin:0;font-size:13px;line-height:1.7;max-width:55ch}
.rp-blog-header-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex:none}
.rp-blog-header-actions .btn{font-weight:500;white-space:normal}
.rp-profile-blog>.rp-blog-demo-note{max-width:none;margin:16px 0 0;font-size:11px;line-height:1.6}
.rp-blog-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;align-items:start;margin-top:26px}
.rp-blog-archive{min-width:0;padding:18px 0;border-top:1px solid var(--line)}
body .rp-blog-archive>h3{font:500 13px/1.5 var(--font-body);margin:0 12px 14px;color:var(--muted)}
.rp-blog-history{display:grid;gap:6px;max-height:600px;overflow-y:auto;padding:2px}
body .rp-blog-history-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:13px 12px;border:1px solid transparent;box-shadow:none;background:transparent;transform:none;border-radius:11px;min-width:0;font-weight:400}
body .rp-blog-history-item:hover{border-color:var(--line);background:var(--surface);box-shadow:none;transform:none}
body .rp-blog-history-item[aria-current=true]{background:var(--surface2);border-color:var(--line);color:var(--primary)}
.rp-blog-history-title{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.rp-blog-history-latest{font-size:10px;color:var(--primary)}
.rp-blog-history .rp-blog-date{margin:0;font-size:10px}
.rp-blog-current{min-width:0}
.rp-blog-reader .card-body{padding:28px;gap:22px}
.rp-blog-reader .rp-blog-text{font-size:14px;line-height:1.95;margin:0;max-width:78ch}
.rp-blog-reader .rp-blog-photos{margin:0;grid-template-columns:minmax(0,1fr);width:100%}
.rp-blog-reader .rp-blog-photos img{max-height:650px;background:var(--surface2)}
.rp-blog-reader .rp-blog-actions{justify-content:flex-end;margin-top:0}
.rp-blog-reader .rp-blog-owner-tools{margin-left:auto}
.rp-blog-reader .rp-blog-compete{margin-left:0}
.rp-profile-blog{--blog-secondary:#69515e}
body[data-theme=dark] .rp-profile-blog{--blog-secondary:#d4bdc9}
.rp-profile-blog .rp-blog-heading p{font-size:14px;color:var(--blog-secondary)}
.rp-profile-blog .rp-blog-archive{padding:20px 12px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,var(--surface2),var(--surface))}
body .rp-profile-blog .rp-blog-archive>h3{font-size:14px;font-weight:600;color:var(--ink);margin:0 8px 16px}
.rp-profile-blog .rp-blog-history-title{font-size:14px;font-weight:600;color:var(--ink)}
.rp-profile-blog .rp-blog-history .rp-blog-date{font-size:12px;color:var(--blog-secondary)}
.rp-profile-blog .rp-blog-history-latest{font-size:11px;font-weight:600}
body .rp-profile-blog .rp-blog-history-item[aria-current=true]{border-color:var(--primary);background:var(--surface);box-shadow:inset 3px 0 0 var(--primary)}
.rp-profile-blog .rp-blog-author-name{font-size:14px;font-weight:600}
.rp-profile-blog .rp-blog-author-handle{font-size:12px;color:var(--blog-secondary)}
.rp-profile-blog .rp-blog-reader .rp-blog-date{font-size:12px;color:var(--blog-secondary)}
.rp-profile-blog .rp-blog-reader .card-title{font:400 28px/1.35 var(--font-display,Georgia,serif);color:var(--ink)}
.rp-profile-blog .rp-blog-reader .rp-blog-text{font-size:15px;color:var(--ink)}
.rp-blog-confirm-summary{display:grid;gap:16px}
.rp-blog-confirm-summary h3{font:500 18px/1.5 var(--font-body);margin:0;overflow-wrap:anywhere}
.rp-blog-confirm-summary p{margin:0;line-height:1.7}
.rp-blog-confirm-form>[role=alert]:empty{display:none}
body .rp-blog-confirm-modal .dh-dialog-footer{justify-content:flex-end}
body .rp-blog-confirm-modal .dh-dialog-footer>.dh-ui-button{flex:0 1 auto}
@media(max-width:760px){
  .rp-blog-layout{grid-template-columns:minmax(0,1fr);gap:20px}
  .rp-blog-history{max-height:250px}
  .rp-blog-reader .card-body{padding:22px 20px}
  .rp-profile-blog .rp-blog-header{align-items:flex-start;flex-direction:column;gap:18px}
  .rp-blog-header-actions{flex-direction:row;flex-wrap:wrap}
  .rp-blog-card{flex-direction:column}
  .rp-blog-cover-media{width:100%;max-width:none;min-height:0;flex:auto;aspect-ratio:16/9}
  .rp-blog-card .card-body{padding:20px;gap:12px}
  .rp-blog-meta{flex-wrap:wrap;gap:6px}
  .rp-blog-date{margin-left:7px}
  body .rp-blog-card .card-title{font-size:24px}
}
@media(max-width:430px){
  .rp-blog-grid{gap:14px}
  .rp-blog-heading h2{font-size:26px}
  .rp-profile-blog .rp-blog-hero{gap:10px}
  .rp-profile-blog .rp-blog-opening{width:58px;height:74px}
  .rp-blog-card .card-body{padding:18px 16px}
  .rp-blog-actions{gap:8px}
  .rp-blog-compete{margin-left:auto}
  .rp-blog-actions .rp-blog-read{flex:1 1 100%}
  .rp-blog-owner-tools{margin-left:0}
}
