@font-face {
    font-family: 'Freesentation';
    src: url("../fonts/Freesentation-1Thin.ttf") format('truetype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Freesentation';
    src: url("../fonts/Freesentation-3Light.ttf") format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Freesentation';
    src: url("../fonts/Freesentation-5Medium.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Freesentation';
    src: url("../fonts/Freesentation-7Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Freesentation';
    src: url("../fonts/Freesentation-9Black.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'HBIOS-SYS';
    src: url("../fonts/HBIOS-SYS.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --accent: #FF2600;
    --nav-width: 200px;
    --bg: #FFFCF4;
    --border: #FF2600;
    --radius: 10px;
}
*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    background: transparent url("../images/배경.png") no-repeat center center;
    background-size: cover;
    font-family: 'Freesentation', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--accent);
}
input, select, textarea, button {
    font-family: inherit;
}
.container {
    background-size: cover;
    width: 1800px;
    height: 960px;
    overflow: hidden;
    flex-shrink: 0;
    transform-origin: top left;
    position: absolute;
    transform: scale(0);
    transition: opacity 0.6s ease;
}
@media (max-width: 768px) {
    .container {
        width: 720px;
        height: 1280px;
    }
}

.layout {
    width: 1800px;
    height: 960px;
    overflow: hidden;
}

#nav_list_art {
    top: 129px;
    left: 532px;
    position: absolute;
    width: 58px;
    height: 64px;
    aspect-ratio: 29/32;
    background: transparent url("../images/1.png") no-repeat center center;
    background-size: contain;
}
#nav_road_diary {
    position: absolute;
    left: 658px;
    top: 115px;
    width: 83px;
    height: 91px;
    aspect-ratio: 83/91;
    background: transparent url("../images/2.png") no-repeat center center;
    background-size: contain;
}
#nav_main {
    position: absolute;
    left: 809px;
    top: 28px;
    width: 185px;
    height: 186px;
    aspect-ratio: 185/186;
    background: transparent url("../images/3.png") no-repeat center center;
    background-size: contain;
}
#nav_gallery_review {
    position: absolute;
    right: 683px;
    top: 139px;
    width: 55px;
    height: 44px;
    aspect-ratio: 5/4;
    background: transparent url("../images/4.png") no-repeat center center;
    background-size: contain;
}
#nav_guestbook {
    position: absolute;
    width: 83px;
    height: 95px;
    aspect-ratio: 83/95;
    top: 113px;
    right: 532px;
    background: transparent url("../images/5.png") no-repeat center center;
    background-size: contain;
}
#nav_settings {
    position: absolute;
    right: 267px;
    bottom: 133px;
    width: 89px;
    height: 101px;
    aspect-ratio: 89/101;
    background: transparent url("../images/설정.png") no-repeat center center;
    background-size: contain;
}
.sub_menu {
    position: absolute;
    left: 159px;
    top: 315px;
    width: 230px;
    height: 201px;
    aspect-ratio: 111/97;
    background: transparent url("../images/로그인.png") no-repeat center center;
    background-size: contain;
}
.btn_auth {
    width: 100%;
    height: 100%;
    background: transparent;
    flex-shrink: 0;
    border: none;
    outline: none;
    cursor: pointer;
    transition: transform 0.1s ease;
    transform-origin: center;
}
.btn_auth:hover {
    transform: scale(0.98);
}
#nav_settings,
.nav-item,
.sub_menu {
    transition: transform 0.1s ease, filter 0.1s ease;
    transform-origin: center;
}
.nav-item:hover, .sub_menu:hover, #nav_settings:hover {
    transform: scale(0.95);
}
.nav-item.active, .sub_menu.active, #nav_settings.active {
    transform: scale(1.05);
}

.win-window {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 234px;
    width: 919px;
    height: 565px;
    box-sizing: border-box;
    border-radius: 20px;
    border: 3px solid #FF826C;
    background: #FFFCF4;
    display: flex;
    flex-direction: column;
    padding: 2px;
    align-items: center;
}
.win-title-bar {
    background: #FF2600;
    color: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 2px 2px 6px;
    font-family: 'Freesentation', sans-serif;
    font-size: 16px;
    font-weight: 900;
    height: 34px;
    width: 98%;
    border-radius: 12px;
    margin-top: 6px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}
.win-controls {
    display: flex;
    gap: 4px;
}
.win-btn {
    background-color: #c0c0c0;
    color: #0a0a0a;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 20px;
    font-family: 'Freesentation', sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    box-shadow: inset -1px -1px #808080;
    outline: none;
}
.win-btn:hover {
    transform: none;
    filter: none;
}
.win-btn:active {
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    box-shadow: inset 1px 1px #808080;
    padding-top: 2px;
    padding-left: 2px;
}
#content {
    flex-grow: 1;
    min-height: 0;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    color: #FF2600;
    font-family: 'Freesentation', sans-serif;
    overflow-y: auto;
    background-color: transparent;
}

.deco_item1 {
    position: absolute;
    bottom: 670px;
    left: 202px;
    width: 144px;
    height: 138px;
    aspect-ratio: 24/23;
    background: transparent url("../images/장식1.png") no-repeat center center;
    background-size: contain;
}
.deco_item2 {
    position: absolute;
    bottom: 81px;
    left: 376px;
    width: 60px;
    height: 57px;
    aspect-ratio: 20/19;
    background: transparent url("../images/장식2.png") no-repeat center center;
    background-size: contain;
}
.deco_item3 {
    position: absolute;
    top: 417px;
    right: 219px;
    width: 80px;
    height: 80px;
    aspect-ratio: 1/1;
    background: transparent url("../images/장식3.png") no-repeat center center;
    background-size: contain;
}
.music_box{
    position: absolute;
    bottom: 110px;
    right: 454px;
    width: 165px;
    height: 34px;
}
.music_button{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 45px;
}

.music_button.is-playing{
    gap: 46.5px;
}

[class^="container_"],
[class*=" container_"] {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 30px 40px;
    overflow-y: auto;
}
[class^="container_"]::-webkit-scrollbar,
[class*=" container_"]::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.btn,
button,
input[type="file"]::file-selector-button {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    background: var(--accent);
    color: #fafafa;
    transition: transform 0.1s ease;
    transform-origin: center;
    display: inline-block;
    text-decoration: none;
}
input[type="file"]::file-selector-button {
    font-size: 12px;
}
.btn:hover,
button:hover {
    transform: scale(0.95);
}
.btn-secondary {
    background: #0D0D17;
}
.btn-list {
    background: var(--accent);
}
.btn-danger {
    background: #0D0D17;
}
.admin-badge {
    font-size: 12px;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    color: #555;
}

.gallery-header {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-bottom: 20px;
}
.gallery-header h2 {
    flex: 1;
}
.gallery-grid {
    column-count: 3; 
    column-gap: 30px;
    width: 100%;
}
.gallery-card {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #FF2600;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.15s;
    break-inside: avoid;
    margin-bottom: 30px;
}
.gallery-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-card .no-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e8e8e8;
    display: block;
}
.gallery-card .card-body {
    padding: 10px 14px 12px;
}
.gallery-card .card-title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.private-badge {
    font-size: 10px;
    background: #888;
    color: #fff;
    border-radius: 4px;
    padding: 1px 5px;
    margin-right: 4px;
}

.pagination {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pagination a {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--accent);
}
.pagination a.cur {
    background: var(--accent);
    color: #fafafa;
    border-color: var(--accent);
}
.pagination a:hover:not(.cur) {
    background: #f0f0f0;
}

.post-header {
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 12px;
}
.post-header h2 {
    font-size: 20px;
}
.post-meta {
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}
.post-content {
    line-height: 1.7;
}
.post-actions {
    margin-top: 20px;
    display: flex;
    gap: 8px;
}

.form-wrap {
    max-width: 800px;
}
.form-wrap h2 {
    margin-bottom: 16px;
}
.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 13px;
}
.form-group input[type=password],
.form-group input[type=text],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
}
.form-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.modal {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal.hidden {
    display: none;
}
.modal-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal-box h3 {
    margin-bottom: 4px;
}
.modal-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 4px;
}
.error-msg {
    color: #e55;
    font-size: 12px;
    min-height: 16px;
}

#login_window {
    display: none;
    position: absolute;
    top: 325px;
    left: 154px;
    width: 350px;
    height: 180px;
    background: #fafafa;
    border: 2px solid #0a0a0a;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;

}
#login_window.open { display: flex; }
#login_window .win-title-bar {
    height: 16px;
    font-size: 12px;
}
#login_content {
    flex: 1;
    padding: 20px 22px 16px;
    overflow: hidden;
}
#form_login {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
#form_login input[type=text],
#form_login input[type=password] {
    width: 100%;
    height: 20px;
    padding: 0 8px;
    box-sizing: border-box;
    border: 1px solid #0a0a0a;
    background: transparent;
    color: #FF2600;
    font-family: inherit;
    font-size: 12px;
}
#form_login button[type=submit] {
    height: 20px;
    background: transparent;
    border: 1px solid #0a0a0a;
    color: #FF2600;
    font-size: 12px;
    padding: 0;
    margin-top: 5px;
}
#login-msg { min-height: 0; font-size: 10px; text-align: center; margin-top: 4px; }
.login-register-link { text-align: center; font-size: 11px; margin-top: 8px; }
.login-register-link a { color: #FF2600; text-decoration: underline; cursor: pointer; }

@media (max-width: 768px) {
    #login_window { left: 50%; top: 450px; transform: translateX(-50%); }
}

.page-view h2 {
    font-size: 20px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}
.loading {
    text-align: center;
    padding: 40px;
    color: #aaa;
}

.comments-section {
    margin-top: 32px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.comments-section h3 {
    margin-bottom: 14px;
}
.comment-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}
.comment-author {
    font-weight: bold;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}
.comment-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.comment-form input,
.comment-form textarea {
    padding: 8px 12px;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
}

@media (max-width: 768px) {
    .container {
        width: 720px;
        height: 1280px;
    }
    .layout {
        width: 720px;
        height: 1280px;
    }

    #nav_list_art {
        top: 110px;
        left: 92px;
        position: absolute;
        width: 41.986px;
        height: 46.329px;
        aspect-ratio: 29/32;
        background: transparent url("../images/1.png") no-repeat center center;
        background-size: contain;
    }
    #nav_road_diary {
        position: absolute;
        left: 184px;
        top: 100px;
        width: 60.083px;
        height: 65.874px;
        aspect-ratio: 60.08/65.87;
        background: transparent url("../images/2.png") no-repeat center center;
        background-size: contain;
    }
    #nav_main {
        position: absolute;
        left: 294px;
        top: 30px;
        width: 133.92px;
        height: 134.644px;
        aspect-ratio: 133.92/134.64;
        background: transparent url("../images/3.png") no-repeat center center;
        background-size: contain;
    }
    #nav_gallery_review {
        position: absolute;
        right: 202px;
        top: 117px;
        width: 39.814px;
        height: 31.851px;
        aspect-ratio: 5/4;
        background: transparent url("../images/4.png") no-repeat center center;
        background-size: contain;
    }
    #nav_guestbook {
        position: absolute;
        right: 92.1px;
        top: 98px;
        width: 60.083px;
        height: 68.77px;
        aspect-ratio: 60.08/68.77;
        background: transparent url("../images/5.png") no-repeat center center;
        background-size: contain;
    }
    #nav_settings {
        position: absolute;
        right: 0px;
        bottom: 106px;
        width: 64.426px;
        height: 73.113px;
        aspect-ratio: 64.43/73.11;
        background: transparent url("../images/설정.png") no-repeat center center;
        background-size: contain;
    }
    .sub_menu {
        position: absolute;
        left: 0px;
        top: 315px;
        width: 166.495px;
        height: 145.502px;
        aspect-ratio: 111/97;
        background: transparent url("../images/로그인.png") no-repeat center center;
        background-size: contain;
    }

    .win-window {
        top: 207px;
        width: 580px;
        height: 950px;
    }
    .win-title-bar {
        height: 28px;
        font-size: 18px;
    }
    .win-btn {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }

    [class^="container_"],
    [class*=" container_"] {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        padding: 30px 40px;
        overflow-y: auto;
    }

    .deco_item1 {
        position: absolute;
        bottom: 130px;
        left: 8.14px;
        width: 104.24px;
        height: 99.897px;
        aspect-ratio: 24/23;
        background: transparent url("../images/장식1.png") no-repeat center center;
        background-size: contain;
    }
    .deco_item2 {
        position: absolute;
        bottom: 40.1px;
        left: 108px;
        width: 43.433px;
        height: 41.262px;
        aspect-ratio: 20/19;
        background: transparent url("../images/장식2.png") no-repeat center center;
        background-size: contain;
    }
    .deco_item3 {
        position: absolute;
        top: 400px;
        right: 4.58px;
        width: 57.911px;
        height: 57.911px;
        aspect-ratio: 1/1;
        background: transparent url("../images/장식3.png") no-repeat center center;
        background-size: contain;
    }

    .music_box{
        position: absolute;
        bottom: 36px;
        right: 35px;
        width: 165px;
        height: 34px;
    }
    .music_button{
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 45px;
    }

    .music_button.is-playing{
        gap: 46.5px;
    }
    .gallery-grid {
        display: flex;
        flex-direction: column;
        column-count: auto;
        gap: 30px;
    }
    .gallery-card {
        margin-bottom: 0;
    }
    .form-secret {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #38373350;
        padding: 50px;
        width: max-content;
        border-radius: 10px;
    }

}

pre code.hljs {
    border-radius: 6px;
    font-size: 13px;
}

.modal-backdrop,
.note-modal-backdrop {
    background-color: transparent !important;
    z-index: -1 !important;
}

.note-editable {
    color: #FF2600;
    font-family: 'Freesentation', sans-serif;
}

.form-group input[type=password],
.form-group input[type=text],
.form-group select,
.form-group textarea {
    background-color: #fafafa;
    color: #FF2600;
    border: 1px solid #0a0a0a;
}

.form-group input[type=password]:focus,
.form-group input[type=text]:focus {
    outline: none;
    border-color: var(--accent);
}

.note-editor.note-frame {
    border: 1px solid #0a0a0a;
}

.note-editor .note-toolbar {
    background-color: transparent;
    border-bottom: 1px solid #0a0a0a;
}

.note-editor .note-btn {
    color: #FF2600;
    background-color: transparent;
    border: transparent solid 1px;
    font-family: 'Freesentation', sans-serif;
}

.note-dropdown-menu {
    background-color: #fafafa;
    color: #FF2600;
    border: 1px solid #0a0a0a;
}
.note-dropdown-menu a {
    color: #FF2600;
}

.note-editable img,
.post-content img {
    max-width: 100% !important;
    height: auto !important;
}

details {
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    margin: 8px 0;
}
details summary {
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}
details summary::marker {
    color: var(--accent);
}
.toggle-body {
    padding: 6px 0;
}

.note-popover,
.note-popover .popover,
.note-popover.note-image-popover {
    background-color: #fafafa !important;
    border: 1px solid #0a0a0a !important;
}

.note-popover .bottom,
.note-popover .note-children-container,
.note-popover .note-popover-content,
.note-popover .popover-content {
    background-color: #fafafa !important;
}
.note-popover .note-btn {
    color: #FF2600;
}
.container_gallery_review {
    background: none;
    padding: 30px 40px;
}
@media (max-width: 1200px) {
    .container_gallery_review {
        width: 100%;
        height: 100%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
}

.container_guestbook {
    padding: 56px 67px;
}
.guestbook_send_box {
    width: 750px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
    position: absolute;
    bottom: 38px;
}
.gb-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    height: 310px;
    overflow-y: auto;
}
.gb-list::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.gb-item {
    background: none;
    border: none;
    border-radius: 0;
    padding: 15px 22px;
    max-width: 400px;
    font-size: 20px;
    color: #FF2600;
}
.gb-item.gb-admin {
    cursor: context-menu;
    user-select: none;
}
.gb-item.gb-right {
    align-self: flex-end;
}
.gb-author {
    font-weight: bold;
    font-size: 12px;
    color: #FF2600;
    margin-bottom: 6px;
}
.guestbook_send_box textarea {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid #0a0a0a;
    background: rgba(255,255,255,0.35);
    border-radius: 20px;
    font-family: inherit;
    font-size: 13px;
    color: inherit;
    resize: none;
    height: 34px;
    line-height: 20px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .container_guestbook {
        padding: 39px 45px;
    }
    .guestbook_send_box {
        width: 470px;
    }
    .gb-list {
        height: 535px;
    }
    .gb-item {
        max-width: 300px;
    }
}

.list-grid {
    column-count: 3;
    column-gap: 60px;
    width: 100%;
    margin-top: 65px;
    margin-bottom: 80px;
}

.list-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    cursor: pointer;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 60px;
}
.list-grid-2col {
    column-count: 2;
    column-gap: 150px;
    width: 900px;
    max-width: 100%;
    margin: 65px auto 80px;
}
.list-item-thumb {
    width: 100%;
    height: auto;
    display: block;
}
.list-item-thumb-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 13px;
}
.list-item-info {
    padding: 8px 10px 10px;
}
.list-item-title {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.list-item-subtitle {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
}
.list-admin-btns {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 4px;
}
.list-admin-btns button {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.list-admin-btns .btn-edit {
    background: rgba(255,255,255,.85);
    color: #555;
}
.list-admin-btns .btn-del {
    background: rgba(220,50,50,.8);
    color: #fff;
}
.list-context-menu {
    position: fixed;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    z-index: 2000;
    overflow: hidden;
    min-width: 120px;
}
.list-context-menu button {
    display: block;
    width: 100%;
    padding: 10px 18px;
    text-align: left;
    background: none;
    color: #FF2600;
    border: none;
    font-size: 14px;
    cursor: pointer;
}
.list-context-menu button:hover {
    background: #f5f5f5;
    transform: none;
    filter: none;
}
.list-context-menu .ctx-del {
    color: #e33;
}
.list-item-menu-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #555;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    letter-spacing: 0;
}
.list-item-menu-btn:hover {
    background: #fff;
    transform: none;
    filter: none;
}
.list-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.72);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}
.list-modal-bg.open {
    display: flex;
}
.list-modal {
    background: #fff;
    border-radius: 12px;
    width: fit-content;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.list-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}
.list-modal-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    margin: 0 auto;
}
.list-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
}
.list-modal-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
    text-align: center;
}

@media (max-width: 768px) {
    .list-grid {
        column-count: 1;
    }
}
@media (max-width: 900px) {
    .list-grid-2col {
        column-count: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.container_settings {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.st-sidebar {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.st-tab {
    background: transparent;
    border: 1px solid #0a0a0a;
    text-align: left;
    color: #FF2600;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}
.st-tab.active {
    background: #FF2600;
    color: #fafafa;
}
.st-body {
    flex: 1;
    min-width: 0;
}
.st-panel {
    display: none;
}
.st-panel.active {
    display: block;
}
.st-panel h3 {
    margin-bottom: 14px;
    font-size: 15px;
}
.st-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.st-item,
.bgm-row-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #0a0a0a;
}
.bgm-type-badge {
    font-size: 10px;
    padding: 2px 6px;
    border: 1px solid #0a0a0a;
    flex-shrink: 0;
}
.bgm-title-inp {
    flex: 1;
    border: 1px solid #0a0a0a;
    background: transparent;
    color: #FF2600;
    padding: 4px 8px;
    font-family: inherit;
    font-size: 12px;
}
@media (max-width: 768px) {
    .container_settings {
        flex-direction: column;
        gap: 14px;
    }
    .st-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.roadbee-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.roadbee-feed {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.rb-post {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.55);
}
.rb-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}
.rb-post-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rb-post-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rb-post-no {
    font-size: 13px;
    font-weight: bold;
}
.rb-collapse-btn {
    font-size: 11px;
    padding: 2px 8px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    background: transparent;
    color: inherit;
}
.btn-sm {
    font-size: 11px;
    padding: 2px 8px;
}
.rb-post-body {
    padding: 0 16px;
}
.rb-post-content {
    line-height: 1.7;
    margin-bottom: 16px;
}
.rb-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
}
.rb-post-comments {
    padding-bottom: 16px;
}
.rb-cmt-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 12px;
}
.rb-comment-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.5;
    min-width: 0;
    overflow: hidden;
    position: relative;
    padding-right: 40px;
}
.rbc-meta {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.rbc-author {
    font-size: 10px;
}
.rbc-date {
    font-size: 8px;
    opacity: 0.5;
}
.rbc-btns {
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0;
}
.rbc-del {
    background: none;
    border: none;
    color: #bbb;
    font-size: 10px;
    padding: 0 2px;
    flex-shrink: 0;
    box-shadow: none;
    line-height: 1;
}
.rbc-del:hover {
    color: #e55;
    transform: none;
}
.rbc-content {
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}
.rb-comment-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rb-comment-form input,
.rb-comment-form textarea {
    padding: 8px;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    color: inherit;
}
.rb-comment-form textarea {
    resize: none;
    min-height: 48px;
    overflow: hidden;
}