.ppeanut-global .pg-recipe-board {
    width: min(100% - 80px, 1280px);
    margin: 0 auto;
    padding: 48px 0 96px;
    color: var(--pg-color-text);
}

.ppeanut-global .pg-recipe-board__eyebrow {
    margin: 0 0 12px;
    color: var(--pg-color-text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ppeanut-global .pg-recipe-board__hero,
.ppeanut-global .pg-recipe-write__hero,
.ppeanut-global .pg-recipe-view__hero {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

.ppeanut-global .pg-recipe-list .pg-recipe-board__hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 28px;
}

.ppeanut-global .pg-recipe-board__title,
.ppeanut-global .pg-recipe-write__hero h1,
.ppeanut-global .pg-recipe-password__card h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.ppeanut-global .pg-recipe-board__desc,
.ppeanut-global .pg-recipe-write__hero p,
.ppeanut-global .pg-recipe-password__desc {
    max-width: 620px;
    margin: 0;
    color: var(--pg-color-text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.ppeanut-global .pg-recipe-board__hero-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: -4px 0 28px;
}

.ppeanut-global .pg-recipe-board__actions,
.ppeanut-global .pg-recipe-view__actions,
.ppeanut-global .pg-recipe-write__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ppeanut-global .pg-recipe-list .pg-recipe-board__actions {
    justify-content: flex-end;
    align-self: start;
}

.ppeanut-global .pg-recipe-board__action,
.ppeanut-global .pg-recipe-view__actions a,
.ppeanut-global .pg-recipe-write__actions a,
.ppeanut-global .pg-recipe-write__actions button,
.ppeanut-global .pg-recipe-password__card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: var(--pg-color-text);
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
}

.ppeanut-global .pg-recipe-board__action--primary,
.ppeanut-global .pg-recipe-write__actions button,
.ppeanut-global .pg-recipe-password__card button {
    border-color: var(--pg-color-text);
    background: var(--pg-color-text);
    color: #fff;
}

.ppeanut-global .pg-recipe-board__categories {
    margin-bottom: 30px;
}

.ppeanut-global .pg-recipe-board__categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ppeanut-global .pg-recipe-board__categories a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #e8e8e8;
    color: var(--pg-color-text-muted);
    font-size: 0.9rem;
}

.ppeanut-global .pg-recipe-board__categories #bo_cate_on {
    border-color: var(--pg-color-text);
    color: var(--pg-color-text);
}

.ppeanut-global .pg-recipe-board__toolbar,
.ppeanut-global .pg-recipe-board__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.ppeanut-global .pg-recipe-board__toolbar {
    min-height: 24px;
    margin-bottom: 22px;
}

.ppeanut-global .pg-recipe-board__count {
    color: var(--pg-color-text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.ppeanut-global .pg-recipe-board__bulk,
.ppeanut-global .pg-recipe-board__bulk label {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ppeanut-global .pg-recipe-board__bulk button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: var(--pg-color-text-muted);
    font-size: 0.84rem;
}

.ppeanut-global .pg-recipe-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
}

.ppeanut-global .pg-recipe-card {
    position: relative;
    min-width: 0;
}

.ppeanut-global .pg-recipe-card__select {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.94);
}

.ppeanut-global .pg-recipe-card__link {
    display: block;
    color: inherit;
}

.ppeanut-global .pg-recipe-card__image-wrap {
    display: block;
    overflow: hidden;
    background: linear-gradient(180deg, #f3ecdf 0%, #ece4d6 100%);
    aspect-ratio: 4 / 5;
}

.ppeanut-global .pg-recipe-card__image,
.ppeanut-global .pg-recipe-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.ppeanut-global .pg-recipe-card__image {
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.ppeanut-global .pg-recipe-card__placeholder {
    background:
        linear-gradient(135deg, rgba(201, 183, 149, 0.28), rgba(255, 255, 255, 0.55)),
        linear-gradient(180deg, rgba(111, 118, 66, 0.18), rgba(255, 255, 255, 0) 58%);
}

.ppeanut-global .pg-recipe-card__placeholder--notice {
    display: grid;
    place-items: center;
    color: var(--pg-color-text-muted);
    font-size: 0.88rem;
    letter-spacing: 0.18em;
}

.ppeanut-global .pg-recipe-card__link:hover .pg-recipe-card__image,
.ppeanut-global .pg-recipe-card__link:focus-visible .pg-recipe-card__image {
    transform: scale(1.03);
    opacity: 0.96;
}

.ppeanut-global .pg-recipe-card__body {
    display: block;
    padding-top: 16px;
}

.ppeanut-global .pg-recipe-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--pg-color-text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ppeanut-global .pg-recipe-card__title {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.44;
    letter-spacing: -0.015em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ppeanut-global .pg-recipe-card__summary {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: var(--pg-color-text-muted);
    font-size: 0.92rem;
    line-height: 1.68;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ppeanut-global .pg-recipe-card__badge {
    display: inline-flex;
    margin-left: 8px;
    color: var(--pg-color-accent);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
}

.ppeanut-global .pg-recipe-board__empty {
    grid-column: 1 / -1;
    padding: 72px 24px;
    background: #faf8f3;
    text-align: center;
}

.ppeanut-global .pg-recipe-board__empty strong,
.ppeanut-global .pg-recipe-board__empty p {
    display: block;
    margin: 0;
}

.ppeanut-global .pg-recipe-board__empty p {
    margin-top: 10px;
    color: var(--pg-color-text-muted);
}

.ppeanut-global .pg-recipe-board__footer {
    justify-content: center;
    margin-top: 42px;
}

.ppeanut-global .pg-recipe-board__search {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.ppeanut-global .pg-recipe-board__search form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.ppeanut-global .pg-recipe-board__search select,
.ppeanut-global .pg-recipe-board__search input,
.ppeanut-global .pg-recipe-write input,
.ppeanut-global .pg-recipe-write select,
.ppeanut-global .pg-recipe-password__card input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: var(--pg-color-text);
    font: inherit;
}

.ppeanut-global .pg-recipe-board__search button {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--pg-color-text);
    background: var(--pg-color-text);
    color: #fff;
    font: inherit;
}

.ppeanut-global .pg-recipe-board__pagination .pg_page,
.ppeanut-global .pg-recipe-board__pagination .pg_current {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    border: 1px solid #e8e8e8;
}

.ppeanut-global .pg-recipe-board__pagination .pg_current {
    border-color: var(--pg-color-text);
    background: var(--pg-color-text);
    color: #fff;
}

.ppeanut-global .pg-recipe-view__hero {
    gap: 26px;
    margin-bottom: 28px;
}

.ppeanut-global .pg-recipe-view__header {
    width: min(100%, 860px);
}

.ppeanut-global .pg-recipe-view__title {
    margin: 0;
    font-size: clamp(2.5rem, 4.8vw, 4.4rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.ppeanut-global .pg-recipe-view__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 18px;
    color: var(--pg-color-text-muted);
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}

.ppeanut-global .pg-recipe-view__cover {
    display: block;
    overflow: hidden;
    background: #f4efe4;
    aspect-ratio: 16 / 9;
}

.ppeanut-global .pg-recipe-view__cover img,
.ppeanut-global .pg-recipe-view__cover-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.ppeanut-global .pg-recipe-view__cover img {
    object-fit: cover;
}

.ppeanut-global .pg-recipe-view__cover-placeholder {
    background:
        linear-gradient(135deg, rgba(201, 183, 149, 0.28), rgba(255, 255, 255, 0.55)),
        linear-gradient(180deg, rgba(111, 118, 66, 0.18), rgba(255, 255, 255, 0) 58%);
}

.ppeanut-global .pg-recipe-view__actions {
    justify-content: space-between;
    gap: 14px 18px;
    padding: 18px 0 0;
    border-top: 1px solid #e8e8e8;
}

.ppeanut-global .pg-recipe-view__actions-primary,
.ppeanut-global .pg-recipe-view__actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ppeanut-global .pg-recipe-view__body {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 42px 0 0;
}

.ppeanut-global .pg-recipe-view__gallery {
    margin-bottom: 28px;
}

.ppeanut-global .pg-recipe-view__gallery img,
.ppeanut-global .pg-recipe-view__content img {
    max-width: 100%;
    height: auto;
}

.ppeanut-global .pg-recipe-view__content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--pg-color-text);
}

.ppeanut-global .pg-recipe-view__content p,
.ppeanut-global .pg-recipe-view__content ul,
.ppeanut-global .pg-recipe-view__content ol,
.ppeanut-global .pg-recipe-view__content blockquote {
    margin: 0 0 1.45em;
}

.ppeanut-global .pg-recipe-view__content h1,
.ppeanut-global .pg-recipe-view__content h2,
.ppeanut-global .pg-recipe-view__content h3,
.ppeanut-global .pg-recipe-view__content h4 {
    margin: 2.1em 0 0.7em;
    line-height: 1.25;
}

.ppeanut-global .pg-recipe-view__content > *:first-child {
    margin-top: 0;
}

.ppeanut-global .pg-recipe-view__content > *:last-child {
    margin-bottom: 0;
}

.ppeanut-global .pg-recipe-view__signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    color: var(--pg-color-text-muted);
}

.ppeanut-global .pg-recipe-view__section {
    width: min(100%, 860px);
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.ppeanut-global .pg-recipe-view__section h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 500;
}

.ppeanut-global .pg-recipe-view__file-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ppeanut-global .pg-recipe-view__file-list li + li {
    margin-top: 10px;
}

.ppeanut-global .pg-recipe-view__file-list a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
}

.ppeanut-global .pg-recipe-view__file-list span {
    color: var(--pg-color-text-muted);
    font-size: 0.88rem;
}

.ppeanut-global .pg-recipe-view__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 860px);
    margin: 42px auto 0;
}

.ppeanut-global .pg-recipe-view__nav-item {
    padding: 20px 22px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.ppeanut-global .pg-recipe-view__nav-label {
    display: block;
    margin-bottom: 10px;
    color: var(--pg-color-text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
}

.ppeanut-global .pg-recipe-view__nav-item a,
.ppeanut-global .pg-recipe-view__nav-item .is-empty {
    display: block;
    line-height: 1.55;
}

.ppeanut-global .pg-recipe-view__nav-item .is-empty {
    color: var(--pg-color-text-muted);
}

.ppeanut-global .pg-recipe-write__layout,
.ppeanut-global .pg-recipe-password {
    width: min(100%, 960px);
    margin: 0 auto;
}

.ppeanut-global .pg-recipe-write__hero {
    margin-bottom: 30px;
}

.ppeanut-global .pg-recipe-write__section,
.ppeanut-global .pg-recipe-password__card {
    padding: 34px 36px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.ppeanut-global .pg-recipe-write__row + .pg-recipe-write__row {
    margin-top: 26px;
}

.ppeanut-global .pg-recipe-write__row label,
.ppeanut-global .pg-recipe-password__card label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.92rem;
    font-weight: 500;
}

.ppeanut-global .pg-recipe-write__row-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ppeanut-global .pg-recipe-write__subject-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ppeanut-global .pg-recipe-write__subject-wrap input {
    flex: 1 1 320px;
}

.ppeanut-global .pg-recipe-write__subject-wrap button {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: var(--pg-color-text);
}

.ppeanut-global #autosave_pop {
    width: 100%;
    padding: 16px;
    border: 1px solid #e8e8e8;
    background: #faf8f3;
}

.ppeanut-global #autosave_pop strong {
    display: block;
    margin-bottom: 10px;
}

.ppeanut-global #autosave_pop ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.ppeanut-global #autosave_pop li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
}

.ppeanut-global #autosave_pop li:last-child {
    border-bottom: 0;
}

.ppeanut-global #autosave_pop .autosave_load {
    color: var(--pg-color-text);
}

.ppeanut-global #autosave_pop .autosave_del,
.ppeanut-global #autosave_pop .autosave_close {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: var(--pg-color-text-muted);
}

.ppeanut-global .pg-recipe-write__options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ppeanut-global .pg-recipe-write__options label,
.ppeanut-global .pg-recipe-write__check {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    font-weight: 400;
}

.ppeanut-global .pg-recipe-write__hint,
.ppeanut-global .pg-recipe-write__char {
    color: var(--pg-color-text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.ppeanut-global .pg-recipe-write__notice {
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 1px solid #e8e8e8;
    background: #faf8f3;
}

.ppeanut-global .pg-recipe-write__notice .pg-recipe-write__hint + .pg-recipe-write__hint {
    margin-top: 4px;
}

.ppeanut-global .pg-recipe-write__editor textarea {
    width: 100%;
    min-height: 420px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    background: #fff;
    font: inherit;
    color: var(--pg-color-text);
    line-height: 1.8;
    resize: vertical;
}

.ppeanut-global .pg-recipe-write__stack {
    display: grid;
    gap: 10px;
}

.ppeanut-global .pg-recipe-write__file-row {
    display: grid;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid #f0f0f0;
}

.ppeanut-global .pg-recipe-write__file-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.ppeanut-global .pg-recipe-write__captcha {
    overflow-x: auto;
}

.ppeanut-global .pg-recipe-write__actions {
    width: min(100%, 960px);
    margin: 26px auto 0;
    justify-content: flex-end;
}

.ppeanut-global .pg-recipe-password {
    padding-top: 24px;
}

.ppeanut-global .pg-recipe-password__card {
    max-width: 460px;
    margin: 0 auto;
}

.ppeanut-global .pg-recipe-password__card form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

@media (max-width: 1080px) {
    .ppeanut-global .pg-recipe-grid {
        gap: 28px 18px;
    }
}

@media (max-width: 980px) {
    .ppeanut-global .pg-recipe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ppeanut-global .pg-recipe-board {
        width: min(100% - 40px, 1280px);
        padding: 32px 0 64px;
    }

    .ppeanut-global .pg-recipe-list .pg-recipe-board__hero,
    .ppeanut-global .pg-recipe-board__actions,
    .ppeanut-global .pg-recipe-view__actions,
    .ppeanut-global .pg-recipe-write__actions,
    .ppeanut-global .pg-recipe-board__footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .ppeanut-global .pg-recipe-grid,
    .ppeanut-global .pg-recipe-view__nav,
    .ppeanut-global .pg-recipe-write__row-grid {
        grid-template-columns: 1fr;
    }

    .ppeanut-global .pg-recipe-view__body,
    .ppeanut-global .pg-recipe-view__section,
    .ppeanut-global .pg-recipe-write__layout,
    .ppeanut-global .pg-recipe-write__actions {
        width: 100%;
    }

    .ppeanut-global .pg-recipe-view__title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .ppeanut-global .pg-recipe-view__cover {
        aspect-ratio: 4 / 5;
    }

    .ppeanut-global .pg-recipe-write__section,
    .ppeanut-global .pg-recipe-password__card {
        padding: 24px 20px;
    }

    .ppeanut-global .pg-recipe-board__search form,
    .ppeanut-global .pg-recipe-write__subject-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .ppeanut-global .pg-recipe-board__action,
    .ppeanut-global .pg-recipe-view__actions a,
    .ppeanut-global .pg-recipe-write__actions a,
    .ppeanut-global .pg-recipe-write__actions button {
        width: 100%;
    }
}
