/* v5.3 refined public board layout */
.p-hero{height:360px;padding-top:84px;background-position:center center}
.p-hero h1{font-size:clamp(42px,4vw,64px);letter-spacing:-.05em;margin:10px 0 0}
.p-hero span{display:inline-block;font-size:12px;font-weight:800;color:#9fd5ff;letter-spacing:2px}
.p-sub-layout{grid-template-columns:280px minmax(0,1fr);gap:64px;padding-top:56px;padding-bottom:100px}
.p-wrap{display:block}
.p-board-content .sub-rule{margin:24px 0 30px}
.p-intro{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;background:linear-gradient(135deg,#f4f9fd,#ffffff);border:1px solid #dfeaf1;border-radius:16px;padding:26px 28px;margin-bottom:28px;box-shadow:0 12px 28px rgba(10,44,71,.05)}
.p-intro strong{display:block;font-size:20px;line-height:1.4;color:#10283b;margin-bottom:10px}
.p-intro p{margin:0;color:#586e81;line-height:1.85;font-size:14px}
.p-intro-side{min-width:170px;background:#08253d;color:#fff;border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:8px;text-align:right}
.p-intro-side span{font-size:26px;font-weight:800;line-height:1}
.p-intro-side small{font-size:12px;letter-spacing:1px;color:#b8d5ea}
.p-panel{padding:26px 28px}
.p-list{padding:0;overflow:hidden}
.p-list-head,.p-list a{grid-template-columns:minmax(0,1fr) 130px 140px;padding:18px 24px}
.p-list a strong{font-size:15px;line-height:1.55}
.p-list a span,.p-list a small{color:#698096}
.p-empty{padding:54px 22px;text-align:center;color:#5e7387;display:flex;flex-direction:column;gap:10px}
.p-empty b{font-size:19px;color:#17364e}
.p-quote-guide ul{margin:16px 0 0;padding-left:18px;color:#586e81;line-height:1.9;font-size:14px}
.p-toolbar{background:#f5f9fd}
.p-editor{min-height:280px}
label{font-size:13px;color:#17364e}
label input[type="text"],label input[type="password"],label input[type="file"],label input:not([type]),textarea{background:#fff}
#writeForm button,.p-login button{min-width:120px}
.p-login{padding:34px}
.p-login h2{margin-bottom:8px}
.p-login form{display:grid;gap:14px}
@media(max-width:960px){.p-sub-layout{grid-template-columns:1fr;gap:34px}.p-intro{flex-direction:column}.p-intro-side{min-width:0;width:100%;text-align:left}.p-list-head,.p-list a{grid-template-columns:minmax(0,1fr) 92px 112px}}
@media(max-width:700px){.p-hero{height:290px;padding-top:72px}.p-hero h1{font-size:36px}.p-panel{padding:18px}.p-list-head,.p-list a{grid-template-columns:minmax(0,1fr) 76px}.p-list-head span:last-child,.p-list a small{display:none}.p-intro{padding:20px 18px}.p-intro strong{font-size:18px}}

/* v5.4 board structure refinement */
.p-board-content > .section-kicker + h2{margin-bottom:0}
.p-intro{margin-bottom:22px}
.p-row{margin:20px 0 14px}
.p-row h2{font-size:22px}
.p-list{border-radius:16px;border:1px solid #dfe8ef;background:#fff;box-shadow:0 14px 34px rgba(10,44,71,.05)}
.p-list-head,.p-list a,.quote-row{display:grid;align-items:center;gap:16px}
.quote-list .p-list-head,.quote-list .quote-row{grid-template-columns:minmax(0,1fr) 120px 130px 90px}
.quote-row em{font-style:normal;display:inline-flex;justify-content:center;padding:7px 10px;border-radius:999px;background:#edf5ff;color:#1165af;font-size:12px;font-weight:700}
.p-list-head{background:#f6f9fc;color:#486174;font-weight:800;font-size:13px;border-bottom:1px solid #e4edf4}
.p-list a,.quote-row{padding:18px 24px;border-bottom:1px solid #eef3f7;text-decoration:none;color:#16334d}
.p-list a:last-of-type,.quote-row:last-of-type{border-bottom:0}
.p-list a:hover,.quote-row:hover{background:#fbfdff}
.p-list a strong,.quote-row strong{font-size:15px;line-height:1.5;font-weight:700;color:#15314a}
.p-list a span,.quote-row span,.p-list a small,.quote-row small{font-size:13px;color:#698096}
.p-empty{padding:46px 22px}
@media(max-width:820px){.quote-list .p-list-head,.quote-list .quote-row{grid-template-columns:minmax(0,1fr) 80px 100px}.quote-list .p-list-head span:last-child,.quote-row em{display:none}}
@media(max-width:700px){.quote-list .p-list-head,.quote-list .quote-row{grid-template-columns:minmax(0,1fr) 80px}.quote-list .p-list-head span:nth-child(3),.quote-row small{display:none}.p-row{margin:16px 0 12px}.p-intro{margin-bottom:18px}}
