@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-3Light.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: 'Gloock';
    src: url("../fonts/Gloock-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fafafa url("../images/background.png") no-repeat center center;
    background-size: cover;
    font-family: 'Freesentation', 'Malgun Gothic', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
}

.container {
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

.layout {
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

:root {
    --logo-top: calc(90px + 40dvh - min(40dvw, 650px) * 89 / 650);
}

.background-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.background-bars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.background-math {
    width: 93.75%;
    height: 100%;
    opacity: 0.3;
    background: url("../images/background_math.png") repeat center center;
}

.background_box1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #000;
}

.background_box2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #000;
}

footer {
    position: absolute;
    bottom: 10px;
    right: 25px;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.footerTxt1 {
    color: #fafafa;
    text-align: right;
    font-family: 'Gloock', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.footerTxt2 {
    color: #fafafa;
    font-size: 12px;
    font-weight: 250;
    line-height: normal;
    margin-bottom: 5px;
    text-align: right;
}

.side-nav {
    position: absolute;
    top: 145px;
    right: 80px;
    display: flex;
    flex-direction: row;
    gap: 68px;
    white-space: nowrap;
    z-index: 10;
}

.side-nav.on-index {
    top: 180px;
}

.nav-item {
    display: block;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.75;
}

#nav_main {
    width: 85px;
    height: 40px;
    background-image: url("../images/nav1.png");
}
#nav_gallery_voicebank {
    width: 158px;
    height: 40px;
    background-image: url("../images/nav2.png");
}
#nav_page_GUIDELINE {
    width: 138px;
    height: 40px;
    background-image: url("../images/nav3.png");
}
#nav_page_credits {
    width: 116px;
    height: 40px;
    background-image: url("../images/nav4.png");
}
#nav_askboard {
    width: 126px;
    height: 40px;
    background-image: url("../images/nav5.png");
}


.sub_menu {
    position: absolute;
    bottom: 103px;
    left: 20px;
    width: 18vw;
    height: auto;
    aspect-ratio: 300 / 91.19;
    background: url("../images/twinkle.png") no-repeat center center;
    background-size: contain;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_auth {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn_auth:hover {
    opacity: 0.8;
}

#content {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.site-logo {
    position: absolute;
    top: 118px;
    left: 30px;
    width: 250px;
    height: 68px;
    aspect-ratio: 125 / 34;
    background: url("../images/logo.png") no-repeat center;
    background-size: contain;
    z-index: 10;
    display: none;
    cursor: pointer;
}

.main-logo {
    width: 40%;
    max-width: 650px;
    aspect-ratio: 325 / 89;
    background: url("../images/logo.png") no-repeat center;
    background-size: contain;
}

.container_gallery_voicebank {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-upload-btn {
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 20;
}

.gallery-empty {
    color: #aaa;
}

.gallery-box-wrap {
    position: relative;
    width: 50%;
    height: 62.5%;
    max-height: calc(120dvh - 445px);
    margin-top: 85px;
}

.gallery-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 40px;
    overflow-y: hidden;
    overflow-x: auto;
}

.gallery-box::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.gallery-item {
    width: 200px;
    height: 100%;
    flex-shrink: 0;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-color 0.6s ease-in-out;
    cursor: pointer;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0) 40%, rgba(26,26,26,1) 60%);
    background-size: 300% 100%;
    background-position: 100% 0;
    transition: background-position 0.6s ease-in-out, opacity 0.3s ease-in-out 0.3s;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    background-color: #f5f5f5;
}

.gallery-item:hover::before {
    background-position: 0 0;
    opacity: 0;
}

.gallery-item-meta {
    position: absolute;
    bottom: 16px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.gallery-item-title {
    color: #fafafa;
    font-size: 13px;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease-in-out;
}

.gallery-item-lock {
    color: #fafafa;
    font-size: 11px;
    flex-shrink: 0;
    transition: color 0.3s ease-in-out;
}

.gallery-item:hover .gallery-item-lock,
.gallery-item:hover .gallery-item-title {
    color: #1a1a1a;
}

.ask-admin-wrap,
.askboard-wrap,
.container_page_GUIDELINE,
.container_page_credits {
    width: 43.75%;
    height: 73.6%;
    max-height: calc(120dvh - 456px);
    border: 2px solid #bfbfbf;
    background: #f5f5f5;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px 36px;
    position: relative;
    margin-top: 96px;
}

.askboard-wrap::-webkit-scrollbar,
.container_page_GUIDELINE::-webkit-scrollbar,
.container_page_credits::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.detail-wrap {
    margin-top: 135px;
    width: 43.75%;
    height: calc(100dvh - 350px);
    max-height: calc(120dvh - 495px);
    border: 2px solid #bfbfbf;
    background: #f5f5f5;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.detail-wrap::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.introduce-box {
    width: 100%;
    background: #f5f5f5;
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    overflow: hidden;
    flex-shrink: 0;
}

.intro-left {
    padding: 0 0 0 10px;
    overflow: hidden;
    position: relative;
}

.intro-left img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-right {
    padding: 24px 20px 16px;
    display: flex;
    flex-direction: column;
}

.intro-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.intro-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 10px;
}

.intro-scroll::-webkit-scrollbar {
    width: 0;
}

.intro-profile {
    font-size: 12px;
    line-height: 1.7;
}

.intro-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}

.audio-list {
    width: 100%;
    background: #f5f5f5;
    flex-shrink: 0;
}

.audio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-top: 1px solid #e0e0e0;
}

.audio-title {
    flex: 1;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-play-btn {
    width: 26px;
    height: 26px;
    background: #1a1a1a;
    color: #fafafa;
    border: none;
    font-size: 10px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.audio-play-btn:hover {
    opacity: 0.75;
    transform: none;
    filter: none;
}

.audio-bar-wrap {
    width: 30%;
    height: 4px;
    background: #d0d0d0;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.audio-progress {
    height: 100%;
    background: #1a1a1a;
    width: 0;
    pointer-events: none;
}

.audio-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background: #1a1a1a;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.audio-time {
    font-size: 10px;
    color: #888;
    flex-shrink: 0;
    min-width: 30px;
    text-align: right;
}

.vb-upload-wrap {
    margin-top: 96px;
    width: 43.75%;
    height: 73.6%;
    max-height: calc(120dvh - 456px);
    border: 2px solid #bfbfbf;
    background: #f5f5f5;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.vb-upload-wrap::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.vb-illust-zone {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
    transition: background 0.15s;
}

.vb-illust-zone:hover {
    background: #d4d4d4;
}

#illust_hint {
    text-align: center;
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    pointer-events: none;
}

#illust_preview {
    width: 100%;
    height: auto;
    display: block;
}

.vb-form-fields {
    overflow-y: auto;
}

.vb-form-fields::-webkit-scrollbar {
    width: 0;
}

.vb-profile-group {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.vb-profile-group .note-editor {
    flex: 1;
    min-height: 0;
}

.vb-audio-section {
    background: #f5f5f5;
    flex-shrink: 0;
}

.vb-audio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-top: 1px solid #e0e0e0;
    font-size: 11px;
    font-weight: 700;
}

.audio-upload-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-top: 1px solid #eee;
    transition: opacity 0.15s;
}

.audio-upload-row.dragging {
    opacity: 0.3;
}
.audio-upload-row.drag-over {
    border-top: 2px solid #1a1a1a;
}

.drag-handle {
    cursor: grab;
    padding: 0 2px;
    color: #bbb;
    font-size: 15px;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
    letter-spacing: -1px;
}
.drag-handle:active {
    cursor: grabbing;
}

.ar-title {
    flex: 1;
    padding: 5px 8px;
    border: 1px solid #ccc;
    font-size: 12px;
    font-family: inherit;
    background: rgba(250,250,250,0.8);
}

.ar-file-label {
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid #1a1a1a;
    cursor: pointer;
    background: rgba(245,245,245,0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

.ar-file-label input[type=file] {
    display: none;
}

.ar-status {
    font-size: 10px;
    color: #888;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

.vb-form-actions {
    padding: 10px 14px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.container_login {
    width: min(360px, 90%);
    max-height: calc(100dvh - 230px);
    padding: 40px 36px;
    border: 2px solid #bfbfbf;
    background: rgba(245, 245, 245, 0.20);
    overflow-y: auto;
}

.page-view h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1a1a1a;
}

.post-content {
    line-height: 1.7;
    font-size: 14px;
}

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

.post-header {
    margin-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 12px;
}

.post-header h2 {
    font-size: 18px;
}

.post-meta {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
}

.post-actions {
    margin-top: 20px;
    display: flex;
    gap: 8px;
}

:root {
    --accent: #1a1a1a;
    --accent-dark: #000;
    --border: #d0d0d0;
    --radius: 0;
}

.btn,
button,
input[type="file"]::file-selector-button {
    padding: 6px 14px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    font-weight: 300;
    background: rgba(245, 245, 245, 0.5);
    color: #1a1a1a;
    transition: opacity 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.btn:hover,
button:hover {
    opacity: 0.8;
}

.btn-secondary {
    background: rgba(220, 220, 220, 0.5);
}
.btn-danger {
    background: rgba(220, 80, 80, 0.15);
    color: #a00;
    border-color: #a00;
}
.btn-list {
    background: rgba(245, 245, 245, 0.5);
}

.form-wrap {
    max-width: 100%;
}
.form-wrap h2 {
    margin-bottom: 16px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 12px;
}

.form-group input[type=password],
.form-group input[type=text],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #aaa;
    border-radius: 0;
    font-size: 13px;
    font-family: inherit;
    background: rgba(250, 250, 250, 0.7);
    color: #1a1a1a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.page-login {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.page-login h2 {
    margin-bottom: 8px;
    font-size: 18px;
}

#form_login .form-group {
    margin-bottom: 8px;
}

.error-msg {
    color: #c00;
    font-size: 12px;
    min-height: 16px;
    margin-top: 4px;
}

.modal {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal.hidden {
    display: none;
}

.modal-box {
    background: #fafafa;
    border: 1px solid #1a1a1a;
    padding: 28px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-box input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #aaa;
    font-size: 13px;
    font-family: inherit;
}

.form-secret {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 36px 40px;
    background: rgba(245, 245, 245, 0.4);
    border: 1px solid #1a1a1a;
    width: max-content;
    max-width: 90%;
}

.pagination {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.pagination a {
    padding: 5px 10px;
    border: 1px solid #aaa;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 12px;
}
.pagination a.cur {
    background: #1a1a1a;
    color: #fafafa;
    border-color: #1a1a1a;
}
.pagination a:hover:not(.cur) {
    background: rgba(0,0,0,0.05);
}

.admin-badge {
    font-size: 11px;
    background: #eee;
    padding: 3px 8px;
    color: #555;
}

.private-badge {
    font-size: 10px;
    background: #555;
    color: #fff;
    padding: 1px 4px;
    margin-right: 3px;
}

.ask-admin-wrap,
.askboard-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ask-notice {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.ask-notice-admin-section {
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
}

.ask-notice-preview {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    padding: 8px 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    min-height: 32px;
}

.ask-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ask-input {
    padding: 10px 12px;
    border: 1px solid #aaa;
    font-family: inherit;
    font-size: 20px;
    color: #1a1a1a;
    background: rgba(250, 250, 250, 0.7);
    outline: none;
    transition: border-color 0.15s;
}

.ask-input:focus {
    border-color: #1a1a1a;
}

.ask-form-wrap textarea {
    padding: 12px;
    border: 1px solid #aaa;
    font-family: inherit;
    font-size: 20px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    color: #1a1a1a;
    background: rgba(250, 250, 250, 0.7);
    outline: none;
    transition: border-color 0.15s;
}

.ask-form-wrap textarea:focus {
    border-color: #1a1a1a;
}

.ask-send-btn {
    padding: 10px;
    background: #1a1a1a;
    color: #fafafa;
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}

.ask-send-btn:hover {
    opacity: 0.75;
}

.ask-success-msg {
    text-align: center;
    padding: 40px 0;
}
.ask-success-msg p {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ask-success-msg span {
    font-size: 18px;
    color: #888;
}

.ask-a-label,
.ask-q-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 4px;
}

.ask-question {
    font-size: 13px;
    color: #444;
    line-height: 1.65;
    white-space: pre-wrap;
    margin-bottom: 10px;
}
.ask-answer {
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.7;
    white-space: pre-wrap;
}
.ask-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 0 0 10px;
}
.ask-meta {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 4px;
}

.ask-card {
    background: rgba(255,255,255,0.5);
    border: 1px solid #ddd;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.ask-empty {
    text-align: center;
    color: #bbb;
    padding: 40px 0;
    font-size: 13px;
}

.ask-plus-btn {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    color: #fafafa;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ask-mgmt-btn {
    padding: 6px 14px;
    background: #1a1a1a;
    color: #fafafa;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.askboard-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.ask-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    border-left: 2px solid #1a1a1a;
    padding-left: 8px;
    margin: 16px 0 10px;
}

.ask-admin-card {
    background: rgba(255,255,255,0.5);
    border: 1px solid #eee;
    padding: 14px 16px;
    margin-bottom: 10px;
    position: relative;
}

.ask-admin-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
    min-height: 70px;
    box-sizing: border-box;
    line-height: 1.5;
    color: #1a1a1a;
    outline: none;
    margin-bottom: 6px;
}

.ask-answer-btn {
    padding: 6px 16px;
    background: #1a1a1a;
    color: #fafafa;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ask-item-menu {
    position: absolute;
    top: 10px;
    right: 12px;
}
.ask-item-menu-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #ccc;
    padding: 2px 5px;
    letter-spacing: 2px;
    line-height: 1;
}
.ask-item-menu-btn:hover {
    color: #888;
}

.ask-ctx-menu {
    position: fixed;
    background: #fafafa;
    border: 1px solid #ddd;
    z-index: 2000;
    overflow: hidden;
    min-width: 100px;
    display: none;
}
.ask-ctx-menu button {
    display: block;
    width: 100%;
    padding: 9px 14px;
    text-align: left;
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
}
.ask-ctx-menu button:hover {
    background: #f5f5f5;
}
.ask-ctx-del {
    color: #c00;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #aaa;
}

.comments-section {
    margin-top: 24px;
    border-top: 1px solid #ddd;
    padding-top: 16px;
}
.comments-section h3 {
    margin-bottom: 12px;
    font-size: 14px;
}
.comment-item {
    background: rgba(255,255,255,0.5);
    border: 1px solid #eee;
    padding: 10px;
    margin-bottom: 8px;
}
.comment-author {
    font-weight: 700;
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
}
.comment-form {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.comment-form input,
.comment-form textarea {
    padding: 7px 10px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 12px;
    background: rgba(250,250,250,0.7);
}

.note-editable {
    color: #1a1a1a;
    font-family: 'Freesentation', 'Malgun Gothic', sans-serif !important;
}

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

.note-editor .note-toolbar {
    background-color: rgba(240, 240, 240, 0.9);
    border-bottom: 1px solid #ccc;
}

.note-editor .note-btn {
    color: #1a1a1a;
    background-color: transparent;
    border: transparent solid 1px;
}

.note-dropdown-menu {
    background-color: #f5f5f5;
    color: #1a1a1a;
}
.note-dropdown-menu a {
    color: #1a1a1a;
}

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

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

.note-popover,
.note-popover .popover,
.note-popover.note-image-popover {
    background-color: #f5f5f5 !important;
    border: 1px solid #ccc !important;
}

details {
    border-left: 2px solid #1a1a1a;
    padding-left: 10px;
    margin: 6px 0;
}
details summary {
    cursor: pointer;
    font-weight: 700;
    user-select: none;
}
.toggle-body {
    padding: 4px 0;
}

pre code.hljs {
    border-radius: 0;
    font-size: 12px;
}

@media (max-width: 1400px) {


    .side-nav {
        gap: 40px;
    }
}


@media (max-width: 900px) {
    .side-nav {
        position: absolute;
        top: 145px;
        right: 19.5vw;
        display: flex;
        flex-direction: row;
        gap: 68px;
        white-space: nowrap;
        z-index: 10;
    }

    .footerTxt2{
        font-size: 8px;
    }

    .sub_menu {
        width: 41.6vw;
        height: auto;
        background-image: url("../images/twinkleM.png");
    }

    .site-logo {
        width: auto;
        height: 4.68vh;
        top: auto;
        left: auto;
        bottom: 105px;
        right: 15px;
    }

    .main-logo {
        width: 90.3%;
        max-width: 650px;
    }

    .gallery-box-wrap {
        margin-top: 10px;
        width: 76.4%;
        height: 54.5%;
    }

    .gallery-item {
        height: 100%;
    }

    .ask-admin-wrap,
    .askboard-wrap,
    .container_page_GUIDELINE,
    .container_page_credits {
        width: 76.4%;
        height: 67.3%;
        max-height: calc(120dvh - 396px - 26vw);
        min-height: 0;
        margin-top: 10px;
    }

    .detail-wrap,
    .vb-upload-wrap {
        margin-top: 10px;
        width: 76.4%;
        height: 67.3%;
        max-height: calc(120dvh - 396px - 26vw);
        min-height: 0;
    }

    .gallery-box-wrap {
        max-height: calc(120dvh - 396px - 26vw);
    }

    .introduce-box {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .ask-input,
    .ask-form-wrap textarea,
    .ask-send-btn {
        font-size: 13px;
    }

    .ask-success-msg p {
        font-size: 15px;
    }

    .ask-success-msg span {
        font-size: 12px;
    }

    .footerTxt1 {
        font-size: 18px;
    }

    .page-view h2,
    .page-login h2 {
        font-size: 14px;
    }

    .intro-title {
        font-size: 13px;
    }
}
