body.is-skillet {
    background-image: repeating-linear-gradient(120deg, rgba(255, 175, 145, 0.15) 0px, rgba(255, 175, 145, 0.15) 1.5px, transparent 1.5px, transparent 18px) !important;
    background-attachment: fixed !important;
}

#skillet-top {
    display: none;
}

.skillet-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color, #333);
    padding-bottom: 15px;
    margin-bottom: 10px;
    position: relative;
}

.skillet-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--acc-color, #ffaf91);
    border-radius: 2px;
}

.skillet-header h2 .material-symbols-rounded {
    color: var(--acc-color, #ffaf91);
    font-size: 1.8rem;
}

.skillet-desc {
    color: var(--text-muted, #5c5c5c);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skillet-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted, #5c5c5c);
    margin-top: 0.25rem;
}

.skillet-meta a {
    color: var(--acc-hover, #ff9166);
    text-decoration: none;
    transition: color 0.2s;
}

.skillet-meta a:hover {
    color: var(--acc-color, #ffaf91);
    opacity: 0.8;
}

/* --- è¨˜äº‹ä¸€è¦§ã‚»ã‚¯ã‚·ãƒ§ãƒ³ --- */
.skillet-articles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ã‚¹ãƒ¬ãƒƒãƒ‰å…¨ä½“ã‚’å›²ã†ã‚³ãƒ³ãƒ†ãƒŠ */
.skillet-thread {
    background: #fff;
    border: 1px solid var(--card-border, #f0e6e1);
    border-top: none;
    /* ä¸Šã®ãƒ•ã‚©ãƒ¼ãƒ ã¨ã¤ãªã’ã‚‹ */
    border-radius: 0 0 18px 18px;
    /* ä¸‹éƒ¨ã ã‘ä¸¸ã‚ã‚‹ï¼ˆä¸Šã®ãƒ•ã‚©ãƒ¼ãƒ ãŒ 18px 18px 0 0ï¼‰ */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

/* --- å€‹åˆ¥è¨˜äº‹ã‚«ãƒ¼ãƒ‰ --- */
.skillet-card {
    padding: 24px 30px;
    border-bottom: 1px solid var(--card-border, #f0e6e1);
    position: relative;
}

.skillet-card:last-child {
    border-bottom: none;
}

.skillet-subject {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color, #333);
    margin-bottom: 6px;
    line-height: 1.4;
}

.skillet-date {
    font-size: 0.8rem;
    color: var(--text-muted, #5c5c5c);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.skillet-message {
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--text-color, #333);
    white-space: pre-wrap;
    word-break: break-word;
}

/* --- ãƒãƒƒã‚¸ --- */
.skillet-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.admin-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: #fff;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mod-badge {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #fff;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-badge {
    background: linear-gradient(135deg, #54a0ff, #2e86de);
    color: #fff;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ blockquote */
.skillet-message blockquote {
    position: relative;
    padding: 10px 15px 10px 60px;
    box-sizing: border-box;
    font-style: italic;
    background: #faf5f0;
    color: #666;
    border-radius: 10px;
    margin: 12px 0;
    width: auto;
}

.skillet-message blockquote::before {
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 5px;
    content: "\201C";
    font-family: 'Yomogi', serif;
    color: #f0c9b0;
    font-size: 80px;
    line-height: 1;
    font-weight: 400;
}

.skillet-page-top {
    text-align: right;
    margin-top: 14px;
    font-size: 0.8rem;
}

.skillet-page-top a {
    color: var(--text-muted, #5c5c5c);
    text-decoration: none;
    transition: color 0.2s;
}

.skillet-page-top a:hover {
    color: var(--acc-color, #ffaf91) !important;
    border-color: var(--acc-color, #ffaf91) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 175, 145, 0.15) !important;
}

/* --- ãƒšãƒ¼ã‚¸ãƒãƒ¼ã‚·ãƒ§ãƒ³ --- */
.skillet-paging {
    font-size: 0.9rem;
    color: var(--text-muted, #5c5c5c);
    letter-spacing: 0.1em;
    padding: 4px 0;
}

.skillet-paging--bottom {
    margin-top: 10px;
}

.skillet-paging a {
    color: var(--acc-hover, #ff9166);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.2s;
}

.skillet-paging a:hover {
    background: rgba(255, 175, 145, 0.15);
}

/* --- ã‚³ãƒ”ãƒ¼ãƒ©ã‚¤ãƒˆ --- */
.skillet-copyright {
    font-size: 0.75rem;
    color: #aaa;
    text-align: right;
    margin-top: 10px;
}

.skillet-copyright a {
    color: #bbb;
    text-decoration: none;
}

.skillet-copyright a:hover {
    color: var(--acc-color, #ffaf91);
}

.global-footer {
    height: 5rem;
}

.global-footer p {
    display: none;
}

/* --- æŠ•ç¨¿ã‚»ã‚¯ã‚·ãƒ§ãƒ³ --- */
.skillet-post-section {
    margin-bottom: 2rem;
}

/* --- æŽ²ç¤ºæ¿ãƒ«ãƒ¼ãƒ«æŠ˜ã‚ŠãŸãŸã¿ --- */
.skillet-rules {
    background: #fff8f4;
    border: 1px solid var(--card-border, #f0e6e1);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
    color: var(--text-muted, #5c5c5c);
}

.skillet-rules h3 {
    margin: 15px 0;
}

.skillet-rules summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color, #333);
    list-style: none;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skillet-rules summary::-webkit-details-marker {
    display: none;
}

.skillet-rules ul {
    margin: 10px 0 2px 0;
    padding-left: 1.2em;
    line-height: 2;
}

/* --- æŠ•ç¨¿ãƒ•ã‚©ãƒ¼ãƒ  --- */
.skillet-post-form {
    padding: 24px 30px;
    background: #faf8f7;
    /* ã‚¹ãƒ¬ãƒƒãƒ‰ã®æœ€å¾Œå°¾ã§ã‚ã‚‹ã“ã¨ã‚’ç¤ºã™èƒŒæ™¯è‰² */
    position: relative;
    border-top: 1px solid var(--card-border, #f0e6e1);
}

.skillet-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.skillet-form-row label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #5c5c5c);
    letter-spacing: 0.04em;
}

.skillet-form-row input[type="text"],
.skillet-form-row textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #f0e6e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color, #333);
    background: #fffaf8;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.skillet-form-row input[type="text"]:focus,
.skillet-form-row textarea:focus {
    border-color: var(--acc-color, #ffaf91);
    box-shadow: 0 0 0 3px rgba(255, 175, 145, 0.18);
    background: #fff;
}

.skillet-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.skillet-submit-btn .material-symbols-rounded {
    color: #fff;
}

.skillet-char-count {
    font-size: 0.78rem;
    color: #bbb;
    flex-shrink: 0;
}

.skillet-char-count.is-warn {
    color: #e07050;
}

.skillet-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffaf91, #ff9166);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 145, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    letter-spacing: 0.03em;
}

.skillet-submit-btn .material-symbols-rounded {
    font-size: 1.1rem;
}

.skillet-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 145, 102, 0.45);
}

.skillet-submit-btn:active {
    transform: translateY(0);
    opacity: 0.85;
}

/* --- ãƒ¬ã‚¹ãƒãƒ³ã‚·ãƒ– --- */
@media (max-width: 600px) {

    .skillet-card,
    .skillet-post-form {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .skillet-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .skillet-form-footer {
        flex-direction: column;
        align-items: flex-end;
    }
}

/* ==========================================================
 * Extracted Inline Styles (BBS Body / Index)
 * ========================================================== */

.bbs-post-container {
    background: #fff;
    border: 1px solid #f0e6e1;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.bbs-post-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #ffaf91, #ffcba4);
}

.bbs-rules {
    background: #fff3e0;
    padding: 20px 32px 15px 32px;
    margin: 0;
    border-bottom: 1px solid #f0e6e1;
    color: #d84315;
}

.bbs-rules-h3 {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px 0;
}

.bbs-rules-p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bbs-icon-good {
    color: #fbc02d;
}

.bbs-icon-bad {
    color: #d32f2f;
}

.bbs-rules-note {
    margin: 5px 0;
    font-size: 0.9em;
    font-weight: normal;
    color: #d84315;
}

.bbs-meta-info {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.bbs-subject {
    font-weight: bold;
}

.bbs-date {
    margin-left: 10px;
}

.bbs-message {
    margin-top: 5px;
    line-height: 1.5;
}

.bbs-page-top {
    text-align: right;
    font-size: 0.8em;
    margin-top: 10px;
}

.bbs-paging-bottom {
    padding: 15px 32px;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
}

.bbs-copyright {
    font-size: 0.75em;
    color: #888;
    text-align: center;
    margin-top: 30px;
}

.bbs-paging-current {
    display: inline-block;
    padding: 2px 10px;
    background: #f0e6e1;
    border-radius: 12px;
    margin: 0 3px;
    color: #5c5c5c;
}

.bbs-paging-link {
    display: inline-block;
    padding: 2px 10px;
    background: transparent;
    border-radius: 12px;
    margin: 0 3px;
    text-decoration: none;
    color: #aaa;
    transition: background 0.2s, color 0.2s;
}

.bbs-paging-link:hover {
    background: #f9f5f3;
    color: #5c5c5c;
}

.bbs-emergency-msg {
    padding: 30px 32px;
    background: #fffaf8;
    color: #d84315;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #f0e6e1;
}

.bbs-emergency-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.copyright_yohakunonibitashi {
    border-top: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li a.none_menu {
    text-decoration: none;
}

/* BBS Authentication Styles */
.bbs-auth-btn {
    display: inline-block;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.bbs-auth-btn.login-btn {
    color: #1dd1a1 !important;
    padding: 0;
    background: none;
    box-shadow: none;
    text-shadow: none;
}

.bbs-auth-btn.login-btn:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

.bbs-auth-btn.logout-btn {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: #fff !important;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bbs-auth-btn.logout-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 82, 83, 0.3);
}

.skillet-user-info {
    margin-left: 5px;
    font-weight: bold;
    color: #ee5253;
}

/* BBS Authentication Form Styles (Aligned with Skillet Theme) */
.registration-form-container {
    max-width: 480px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #f0e6e1;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5c5c5c;
    letter-spacing: 0.02em;
}

.form-row input {
    width: 100%;
    padding: 12px 16px;
    background: #fffaf8;
    border: 1.5px solid #f0e6e1;
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-row input:focus {
    outline: none;
    border-color: #ffaf91;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 175, 145, 0.15);
}

.form-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    letter-spacing: 0.05em;
    text-decoration: none !important;
}

.submit-btn .material-symbols-rounded {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

/* Right arrow animation */
.submit-btn:hover .material-symbols-rounded:not(.icon-left) {
    transform: translateX(3px);
}

/* Left arrow animation */
.submit-btn:hover .icon-left {
    transform: translateX(-3px);
}

.primary-btn {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(29, 209, 161, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 209, 161, 0.4);
    background: linear-gradient(135deg, #2ae0b1, #1dd1a1);
    opacity: 1;
}

.primary-btn .material-symbols-rounded {
    color: #fff;
}

/* Specific color for Login Button (Orange Style) */
.submit-btn.login-btn {
    background: linear-gradient(135deg, #ffaf91, #ff9166);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 175, 145, 0.3);
}

.submit-btn.login-btn .material-symbols-rounded {
    color: #fff !important;
}

.submit-btn.login-btn:hover {
    background: linear-gradient(135deg, #ffcba4, #ffaf91);
    box-shadow: 0 8px 20px rgba(255, 175, 145, 0.4);
}

/* Red Line Style (Back Button) */
.submit-btn.danger-line {
    background: transparent;
    border: 1.5px solid #ee5253;
    color: #ee5253 !important;
    box-shadow: none;
}

.submit-btn.danger-line:hover {
    background: rgba(238, 82, 83, 0.05);
    box-shadow: 0 4px 12px rgba(238, 82, 83, 0.1);
}

.submit-btn.danger-line .material-symbols-rounded {
    color: #ee5253;
}

.submit-btn.secondary-btn {
    background: #f0e6e1;
    color: #5c5c5c !important;
    font-size: 0.9rem;
}

.submit-btn.secondary-btn:hover {
    background: #e6dad4;
}

.form-agreement {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #f0e6e1;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.form-agreement input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ff9166;
}

.form-agreement label {
    font-size: 0.95rem;
    color: #5c5c5c;
    cursor: pointer;
    line-height: 1.4;
}

.form-agreement a {
    color: #ff7e5f;
    text-decoration: underline;
    font-weight: 600;
}

.form-agreement a:hover {
    color: #ff6b6b;
}

.form-sub-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

.form-sub-link a {
    color: #ff9166;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 145, 102, 0.3);
    transition: all 0.2s;
}

.form-sub-link a:hover {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}

.result-message {
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    font-weight: 600;
}

.is-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}