/* 投稿ひろば */
.pz { position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column; background: #f3f1ea; color: #1b1f27; font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif; }
.pz[hidden] { display: none; }
body.pz-open { overflow: hidden; }
.pz a { color: #c22a3c; }
.pz button { font: inherit; cursor: pointer; }
.pz .primary { background: #e2364a; color: #fff; border: 2px solid #e2364a; }
.pz-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 14px; background: #fff; border-bottom: 3px solid #e2364a; }
.pz-bar h1 { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: .06em; }
.pz-bar > button, .pz-tabs button { background: #fff; border: 1.5px solid #1b1f27; padding: 4px 12px; font-weight: 700; font-size: 13px; }
.pz-tabs { display: flex; gap: 6px; margin-left: auto; }
.pz-tabs button[aria-pressed="true"] { background: #1b1f27; color: #fff; }
.pz-main { flex: 1 1 auto; overflow: auto; padding: 22px max(16px, calc(50% - 540px)) 40px; }
.pz-lead { margin: 0 0 16px; font-size: 14px; }
.pz-wait, .pz-empty { color: #666; font-size: 14px; }
.pz-err { color: #c22a3c; font-weight: 700; }
.pz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pz-card { background: #fff; border: 1.5px solid #d8d4c8; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.pz-open { display: block; padding: 0; border: 0; background: #000; }
.pz-card img { display: block; width: 100%; image-rendering: pixelated; background: #000; }
.pz-card h3 { margin: 6px 0 0; font-size: 15px; font-weight: 900; }
.pz-card h3 a { color: inherit; text-decoration: none; }
.pz-card h3 a:hover { text-decoration: underline; }
.pz-by, .pz-meta { margin: 0; font-size: 12.5px; color: #555; }
.pz-from { display: block; font-size: 12px; color: #8a5a00; }
.pz-from.big { font-size: 14px; margin: 8px 0; }
.pz-ver { color: #1b1f27; font-weight: 700; }
.pz-1k, .pz-ram { display: inline-block; padding: 0 6px; font-size: 11px; color: #fff; border-radius: 3px; }
.pz-1k { background: #e2364a; }
.pz-ram { background: #3a5bd8; }
.pz-st { font-weight: 700; }
.pz-st.public { color: #1f8a3a; }
.pz-st.pending { color: #b46b00; }
.pz-st.rejected { color: #888; }

.pz-link { background: none; border: 0; padding: 0; color: #c22a3c; text-decoration: underline; font-size: 13px; }
.pz-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; }
.pz-acts button { padding: 6px 16px; border: 1.5px solid #1b1f27; background: #fff; font-weight: 700; }
.pz-acts button.primary { border-color: #e2364a; background: #e2364a; }
.pz-vsel { font-size: 13px; }
.pz-report { margin: 18px 0 0; text-align: right; }
.pz-note { margin: 10px 0; padding: 8px 12px; background: #fff6d8; border-left: 4px solid #e0a000; font-size: 13px; line-height: 1.7; }
.pz-fine { font-size: 12px; color: #555; line-height: 1.7; margin: 8px 0 0; }

.pz-dlg { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; background: rgba(0, 0, 0, .45); padding: 16px; }
.pz-dlg-in { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; padding: 20px 22px; border-top: 4px solid #e2364a; display: flex; flex-direction: column; gap: 10px; }
.pz-dlg-in h2 { margin: 0; font-size: 18px; }
.pz-dlg-in p { margin: 0; font-size: 13px; line-height: 1.7; }
.pz-dlg-in label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; font-weight: 700; }
.pz-dlg-in input, .pz-dlg-in textarea { font: 400 14px/1.6 inherit; font-family: inherit; padding: 6px 8px; border: 1.5px solid #bdb8aa; }
.pz-dlg-in textarea { resize: vertical; }
.pz-cmp { display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: start; }
.pz-cmp > div { display: flex; flex-direction: column; gap: 10px; }
.pz-cmp img { width: 100%; image-rendering: pixelated; background: #000; }
.pz-dlg-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.pz-dlg-acts button { padding: 6px 18px; border: 1.5px solid #1b1f27; background: #fff; font-weight: 700; }
.pz-dlg-acts button.primary { border-color: #e2364a; background: #e2364a; }
.pz-dlg-acts button:disabled { opacity: .5; }

.pz-h { font-size: 17px; margin: 18px 0 10px; }
.pz-rv { display: grid; grid-template-columns: 200px 1fr; gap: 16px; background: #fff; border: 1.5px solid #d8d4c8; padding: 12px; margin-bottom: 12px; }
.pz-rv img { width: 100%; image-rendering: pixelated; background: #000; }
.pz-rv h3 { margin: 0 0 6px; font-size: 16px; }
.pz-rv h3 small { font-weight: 400; color: #666; font-size: 12px; }
.pz-sim, .pz-reasons { margin: 0; padding-left: 1.2em; font-size: 13px; line-height: 1.7; }
.pz-warn { color: #c22a3c; font-weight: 700; }

/* カートリッジの「投稿」ボタン */
.cart-post { position: absolute; left: 8px; top: 6px; z-index: 2; padding: 1px 8px; font-size: 11px; font-weight: 700; border-radius: 10px; border: 0; background: #e2364a; color: #fff; cursor: pointer; opacity: 0; transition: opacity .15s; }
.cart:hover .cart-post, .cart-post:focus-visible, .cart-post.done { opacity: 1; }
.cart-post.done { background: #2f7a45; }
@media (hover: none) { .cart-post { opacity: 1; } }

@media (max-width: 760px) {
	.pz-bar { flex-wrap: wrap; }
	.pz-tabs { margin-left: 0; width: 100%; }
	.pz-cmp, .pz-rv { grid-template-columns: 1fr; }
}

/* 記事のページ：上の操作の列と、マガジンと同じ体裁の記事 */
.pz-postbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.pz-postbar > button { padding: 6px 16px; border: 1.5px solid #1b1f27; background: #fff; font-weight: 700; }
.pz-postbar > button.primary { border-color: #e2364a; background: #e2364a; color: #fff; }
.pz-postbar .pz-back { border: 0; padding: 0; background: none; font-weight: 400; margin-right: 6px; }
.pz-postbar .pz-mark[aria-pressed="true"] { background: #fff4c2; border-color: #c99400; }
.pz-count { font-size: 13px; color: #555; }
.pz-mag { max-width: none; margin: 0; color: #111; font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif; }
.pz-mag button { font: inherit; color: #111; cursor: pointer; }
.pz-mag figcaption { font: 700 11px/1.5 "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; margin-top: 4px; }
.pz-post { background: none; border: 0; padding: 0; }
.pz-card-acts { margin: 6px 0 0; }
.pz-quick { width: 100%; padding: 5px 8px; border: 1.5px solid #e2364a; background: #fff; color: #c22a3c; font-weight: 700; font-size: 13px; }
.pz-quick:hover { background: #e2364a; color: #fff; }
.pz-star { color: #c99400; }
.pz-art { padding: 8px 12px; background: #f3f1ea; font-size: 13px; }
