.pf-wrap,
.pf-view-wrap,
.pf-write-wrap {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    color: #1f2937;
}

.pf-header,
.pf-view-header {
    position: relative;
    padding: 18px 16px 22px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.pf-view-header {
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.pf-view-header-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}

.pf-back {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

.pf-back--light {
    margin-bottom: 18px;
}

.pf-header-text {
    position: relative;
    z-index: 2;
    margin-top: 14px;
}

.pf-title,
.pf-view-title {
    margin: 0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.35;
}

.pf-view-title {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.pf-sub {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.pf-body,
.pf-view-body {
    padding: 16px;
    background: #fff;
}

.pf-empty {
    padding: 60px 20px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    color: #9ca3af;
}

.pf-write-btn {
    position: fixed;
    right: 18px;
    bottom: 110px;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
    text-decoration: none;
}

.pf-write-btn--edit {
    bottom: 180px;
    background: #f59e0b;
}

.pf-write-btn--delete {
    bottom: 250px;
    background: #ef4444;
}

.pf-view-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.pf-view-stat {
    padding: 14px 10px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.pf-view-stat span {
    display: block;
    margin-bottom: 6px;
    color: #9ca3af;
    font-size: 0.75rem;
}

.pf-view-stat strong {
    color: #111827;
    font-size: 0.95rem;
}

.pf-view-content {
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    line-height: 1.7;
}

.pf-view-content img {
    max-width: 100%;
    height: auto;
}

.pf-view-actions {
    margin-top: 16px;
    text-align: center;
}

.pf-view-link {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: #fff;
    color: #ea580c;
    font-weight: 700;
    text-decoration: none;
}

.pf-write-wrap {
    padding: 16px;
}

.pf-write-form {
    padding: 18px;
    border-radius: 16px;
    background: #fff;
}

.pf-write-title {
    margin: 0 0 16px;
    font-size: 1.2rem;
}

.pf-write-field {
    margin-bottom: 14px;
}

.pf-write-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.pf-write-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pf-write-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.pf-btn {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    text-align: center;
    line-height: 46px;
    font-weight: 700;
    text-decoration: none;
}

.pf-btn--cancel {
    background: #e5e7eb;
    color: #374151;
}

.pf-btn--submit {
    border: 0;
    background: #f97316;
    color: #fff;
    cursor: pointer;
}

.pf-file-del {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #6b7280;
}

.board-header,
.category-tabs,
.btn_top,
#bo_v_info,
.bo_v_nb,
#bo_v_act {
    display: none !important;
}