/* Reading comes first. Management belongs to the author metadata. */
.detail-meta,body.card-reading .detail-meta{flex-wrap:nowrap;gap:12px;}
.post-author-meta{display:flex;align-items:center;gap:8px;flex:1;min-width:0;}
.post-author-meta .author-link,.post-author-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.post-author-name{font-weight:600;color:#354052;}
#detailTime,.post-time{flex:none;white-space:nowrap;}
.post-meta-actions{display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap;}
#detailOwnerTools{display:inline-flex;}
#detailOwnerTools:empty{display:none;}
.post-owner-tools{display:inline-flex;align-items:center;position:relative;margin:-14px 0 -14px 2px;}
.post-owner-tools::before{content:'';width:1px;height:11px;background:#e2e6eb;margin-right:5px;}
.post-owner-trigger{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;padding:0 6px;border:0;border-radius:7px;background:transparent;color:#626d7b;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer;transition:color .16s,background .16s;}
.post-tool-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;}
.post-tool-icon svg{width:18px;height:18px;}
.post-owner-trigger .post-tool-icon svg{width:12px;height:12px;stroke-width:1.7;}
.post-owner-trigger:focus-visible,.post-action-dialog button:focus-visible,#subHeaderAction.post-menu-trigger:focus-visible{outline:2px solid #6b8fbd;outline-offset:3px;}
#subHeaderAction.post-menu-trigger{flex:none;width:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:9px;background:transparent;color:#677383;font-size:25px;font-weight:400;line-height:1;}
#subHeaderAction.post-menu-trigger:empty{visibility:hidden;pointer-events:none;}
body.card-reading #readerFirstMenu[hidden]{display:none;}
.post-dialog-open{overflow:hidden;}
.post-action-dialog{box-sizing:border-box;width:min(380px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #e8ebef;border-radius:20px;background:#fff;color:#253041;box-shadow:0 16px 64px #101b2b26;overflow:auto;overscroll-behavior:contain;font-family:inherit;}
.post-action-dialog::backdrop{background:#18213045;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);}
.post-dialog-surface{position:relative;padding:26px;}
.post-dialog-handle{display:none;}
.post-dialog-head{margin:0 0 18px;}
.post-dialog-title{margin:0;font-size:20px;font-weight:650;line-height:1.4;letter-spacing:-.035em;}
.post-dialog-subtitle{overflow:hidden;margin:6px 0 0;color:#7b8491;font-size:12px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap;}
.post-action-menu .post-dialog-surface{padding:24px 20px 12px;}
.post-action-menu .post-dialog-head{margin-bottom:14px;padding:0 6px;}
.post-action-menu .post-dialog-title{padding-right:34px;font-size:18px;}
.post-menu-list{display:flex;flex-direction:column;}
.post-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:12px 8px;border:0;border-radius:8px;background:transparent;color:#374455;text-align:left;font-family:inherit;cursor:pointer;transition:background .16s;}
.post-menu-item>.post-tool-icon{width:22px;color:#667386;}
.post-menu-copy{flex:1;min-width:0;}
.post-menu-copy strong{display:block;font-size:14px;font-weight:500;line-height:1.5;}
.post-menu-copy small{display:block;margin-top:3px;color:#7b8491;font-size:12px;line-height:1.5;}
.post-menu-item.is-danger{margin-top:5px;border-top:1px solid #edf0f3;border-radius:0 0 8px 8px;color:#ad514a;}
.post-menu-item.is-danger>.post-tool-icon{color:#ad514a;}
.post-dialog-close{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#88919d;cursor:pointer;}
.post-dialog-close svg{width:17px;height:17px;}
.post-dialog-cancel,.post-delete-confirm{display:block;width:100%;min-height:46px;padding:12px;border:1px solid #e1e5eb;border-radius:10px;background:#fff;color:#4e5c6f;font-family:inherit;font-size:14px;font-weight:500;cursor:pointer;}
.post-delete-symbol{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:16px;border-radius:12px;background:#fcf2f0;color:#ad514a;}
.post-delete-symbol svg{width:20px;height:20px;}
.post-delete-preview{margin:0 0 12px;padding:14px;border:1px solid #e9edf1;border-radius:10px;background:#f8f9fb;font-size:14px;font-weight:500;line-height:1.7;overflow-wrap:anywhere;}
.post-delete-warning{margin:0 0 22px;color:#747e8c;font-size:13px;line-height:1.7;}
.post-delete-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.post-delete-confirm{border-color:#ae5149;background:#ae5149;color:#fff;}
.post-delete-error{margin:0 0 18px;color:#a3332c;font-size:13px;line-height:1.6;}
.post-action-dialog [hidden]{display:none!important;}
.post-action-dialog button:disabled{opacity:.6;cursor:wait;}
@media(hover:hover){.post-owner-trigger:hover,#subHeaderAction.post-menu-trigger:hover{background:#f4f6f8;color:#303d50;}.post-menu-item:hover,.post-dialog-close:hover,.post-dialog-cancel:hover{background:#f5f7f9;}.post-menu-item.is-danger:hover{background:#fcf5f4;}.post-delete-confirm:hover{background:#97443e;}}
@media(max-width:600px){
  .post-action-dialog{position:fixed;inset:auto 12px calc(12px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-height:calc(100dvh - 48px - env(safe-area-inset-bottom));margin:0;border:0;border-radius:20px;}
  .post-dialog-surface{padding:12px 22px 22px;}
  .post-dialog-handle{display:block;width:28px;height:3px;margin:0 auto 20px;border-radius:3px;background:#dfe3e8;}
  .post-action-menu .post-dialog-surface{padding:12px 18px 12px;}
  .post-action-menu .post-dialog-head{margin-bottom:10px;}
  .post-action-menu .post-dialog-close{top:27px;right:12px;}
  .post-action-dialog[open]{animation:post-dialog-enter .18s cubic-bezier(.2,.7,.3,1);}
}
@media(max-width:360px){.detail-meta,body.card-reading .detail-meta{gap:7px;font-size:11px;}.post-author-meta{gap:6px;}.post-meta-actions{gap:6px;}.post-owner-trigger{font-size:11px;}.post-owner-tools{margin-left:0;}}
@keyframes post-dialog-enter{from{transform:translateY(10px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.post-action-dialog[open]{animation:none}.post-owner-trigger,.post-menu-item{transition:none}}
