:root {
    --board-bg: #ffffff;
    --board-panel: #ffffff;
    --board-line: #e8e5e2;
    --board-text: #333333;
    --board-muted: #666666;
    --board-accent: #a98147;
}

body.ee-layout-board {
    background: var(--board-bg);
}

.ee-board-main {
    width: min(1180px, 94vw);
    margin: 0 auto;
    padding: 20px 0 56px;
}

.ee-layout-board .hero {
    padding-top: 20px;
}

.ee-layout-board .hero-inner {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

.ee-layout-board .container {
    width: 100%;
    margin: 0;
    padding-bottom: 0;
}

.ee-layout-board .content-block {
    background: var(--board-panel);
    border: 1px solid var(--board-line);
    border-radius: 0;
    box-shadow: none;
}

.ee-layout-board .feed {
    gap: 0;
}

.ee-layout-board .feed-item {
    border: 0;
    border-bottom: 1px solid #e5edf5;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 14px 2px;
}

.ee-layout-board .feed-item:last-child {
    border-bottom: 0;
}

.ee-layout-board .feed-item.has-thumb {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    align-items: start;
}

.ee-layout-board .feed-item .feed-thumb {
    width: 180px;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--board-line);
    border-radius: 0;
    overflow: hidden;
    background: #f8f8f8;
}

.ee-layout-board .feed-item .feed-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ee-layout-board .feed-item .feed-body {
    min-width: 0;
}

.ee-layout-board .feed-item h3 {
    margin: 7px 0 0;
    font-size: 19px;
    line-height: 1.4;
}

.ee-layout-board .feed-item a {
    color: var(--board-text);
}

.ee-layout-board .feed-item a:hover {
    color: var(--board-accent);
    text-decoration: none;
}

.ee-layout-board .feed-item .meta {
    color: var(--board-muted);
}

.ee-layout-board .reload-button {
    border-color: var(--board-line);
    color: var(--board-accent);
    font-weight: 600;
}

.board-view-page {
    padding-bottom: 24px;
}

.board-view-header {
    margin: 0 0 14px;
}

.board-view-eyebrow {
    margin: 0;
    color: #4f667e;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.board-view-header h1 {
    margin: 8px 0 8px;
    font-size: clamp(26px, 4.8vw, 38px);
    color: #102d47;
}

.board-view-meta {
    margin: 0;
    color: var(--board-muted);
    font-size: 14px;
}

.board-view-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.board-back-link,
.board-origin-link {
    display: inline-flex;
    border: 1px solid var(--board-line);
    border-radius: 0;
    padding: 8px 12px;
    color: var(--board-accent);
    font-weight: 600;
}

.board-view-content {
    color: var(--board-text);
    line-height: 1.7;
    font-size: 16px;
    word-break: break-word;
}

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

.board-view-thumbnail {
    margin: 0 0 16px;
}

.board-view-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
}

.board-view-content table {
    width: 100%;
    border-collapse: collapse;
}

.board-view-content th,
.board-view-content td {
    border: 1px solid var(--board-line);
    padding: 8px;
}

@media (max-width: 900px) {
    .ee-board-main {
        width: 100%;
        padding: 14px 0 40px;
    }

    .ee-layout-board .hero-inner {
        border-radius: 0;
    }

    .board-view-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ee-layout-board .feed-item.has-thumb {
        grid-template-columns: 1fr;
    }

    .ee-layout-board .feed-item .feed-thumb {
        width: 100%;
        max-width: 320px;
    }
}
