@charset "utf-8";

/*
 *
 * CSS CONTENTS:
 *
 * 01. Web Font
 * 02. Type Selector Reset
 * 03. Accessibility Navigation
 * 04. Layout Selector
 * 05. Components
 * 06. Entry Content
 * 07. Comment
 * 08. Widget & Template Page
 * 09. ETC
 * 10. Post Type & Color Type
 * 11. Retina Display
 * 12. Media Screen - Tablet
 * 13. Media Screen - Mobie
 *
 */

/* Web Font Load */
@import url("//fonts.googleapis.com/earlyaccess/notosanskr.css");
@import url("//fonts.googleapis.com/css?family=Nanum+Myeongjo");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap");
@font-face {
    font-family: "NEXON Lv1 Gothic OTF";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "KyoboHand";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/KyoboHand.woff")
        format("woff");
    font-weight: lighter;
    font-style: normal;
}
@font-face {
    font-family: "D2Coding";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_three@1.0/D2Coding.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
}
:root {
    --dark-bg-color: rgb(30, 31, 33);
    --dark-font-color: #fefefe;

    --dark-bg-second-color: rgb(50, 51, 53);

    --highlight-color: #ff4081;
    --sidebar-hr-color: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    /*font-family: 'Roboto', sans-serif;*/
    font-family: "NEXON Lv1 Gothic OTF";
    /*font-family: 'KyoboHand';*/
    text-decoration: none;
    font-size: 1em;
    line-height: 1.85;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    color: inherit;
}
*:focus {
    outline: none;
}
* s {
    text-decoration: line-through;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--dark-bg-color);
    color: var(--dark-font-color);
}
/********************************************************************/
/* NAVBAR */
.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    width: calc(100% - 2em);
    background-color: var(--dark-bg-color);
    position: fixed;
    top: 0;
    z-index: 1000;
}
.navbar .navbar-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}
.navbar .navbar-block .navbar-btn {
    background: transparent;
    border: none;
    cursor: pointer;
}
.navbar .search {
    background-color: var(--dark-bg-second-color);
    padding: 0.1em;
    padding-right: 1em;
    border-radius: 2em;
    width: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.navbar .search .sbar {
    background-color: var(--dark-bg-color);
    border-radius: 2em;
    border: none;
    color: var(--dark-font-color);
    padding: 0.5em 1em 0.5em 2em;
    font-size: 0.8em;
    height: 2em;
    width: 450px;
}

.navbar .navbar-block .blog_img img {
    width: 2em;
    height: 2em;
    object-fit: cover;
    border-radius: 100%;
}
/* NAVBAR DONE */
/********************************************************************/

.container {
    margin-top: 73px;
    display: flex;
    flex-direction: row;
}

/********************************************************************/
/* SIDEBAR DONE */
.sidebar {
    width: 300px;
    position: sticky;
    top: 73px;
    height: 100vh;
    transition: all 0.5s ease;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(0);
    visibility: visible;
}
.sidebar::-webkit-scrollbar {
    width: 1px;
}

.sidebar.hidden {
    width: 0;
    visibility: hidden;
    transform: translateX(-200px);
}
.sidebar .sidebar-closeBtn {
    display: none;
    background: transparent;
    border: none;
    position: absolute;
    top: 10px;
    left: 160px;
    cursor: pointer;
}
.sidebar .sidebar-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 85%;
    padding: 1em 0.5em 1em 1.5em;
    margin: 0.5em auto;
    font-size: 0.8em;
    gap: 1em;
    border-radius: 1em;
}
.sidebar .sidebar-item:hover {
    background-color: var(--dark-bg-second-color);
}
.sidebar .sidebar-item i {
    width: 1em;
}
.sidebar .sidebar-item a {
    color: var(--dark-font-color);
}
.sidebar .sidebar-item ul,
.sidebar .sidebar-item li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .sidebar-category,
.sidebar .sidebar-theme {
    border-top: 1px solid var(--sidebar-hr-color);
}
.sidebar .sidebar-category .link_tit {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 85%;
    padding: 1em 0.5em 1em 1.5em;
    margin: 0.5em auto;
    font-size: 0.8em;
    gap: 0.5em;
    border-radius: 1em;
}

.sidebar .sidebar-category ul li ul li ul li:hover,
.sidebar .sidebar-category .link_tit:hover {
    background-color: var(--dark-bg-second-color);
}
.sidebar .sidebar-category ul li ul li {
    display: flex;
    flex-direction: column;
    width: 85%;
    padding: 1em 0.5em 1em 1.5em;
    margin: 0.5em auto;
    font-size: 0.8em;
    gap: 0.5em;
    border-radius: 1em;
}
.sidebar .sidebar-category ul li ul li ul li {
    display: flex;
    flex-direction: row;
    width: 85%;
    padding: 0.5em 0.5em 0.5em 3em;
    margin: 0 auto;
    font-size: 1em;
    border-radius: 1em;
    position: relative;
    left: -15px;
}
.sidebar .sidebar-category ul li ul li ul li::before {
    content: "￫";
    position: absolute;
    top: 0px;
    left: 1em;
    font-size: 22px;
    font-weight: 600;
    opacity: 0.7;
}
.sidebar .sidebar-theme {
    padding: 2em 0em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar .sidebar-theme .theme-info {
    font-size: 0.7em;
    margin-right: 1em;
    text-transform: uppercase;
}
.sidebar .sidebar-theme .switch {
    position: relative;
    display: inline-block;
    width: 3em;
    height: 1.5em;
}
.sidebar .sidebar-theme .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.sidebar .sidebar-theme .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(70, 71, 73);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.sidebar .sidebar-theme .slider:before {
    position: absolute;
    content: "";
    height: 1em;
    width: 1em;
    left: 4px;
    bottom: 4px;
    background-color: #fefefe;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.sidebar .sidebar-theme input:checked + .slider {
    background-color: #ff4081;
}

.sidebar .sidebar-theme input:focus + .slider {
    box-shadow: 0 0 1px #ff4081;
}

.sidebar .sidebar-theme input:checked + .slider:before {
    -webkit-transform: translateX(1.5em);
    -ms-transform: translateX(1.5em);
    transform: translateX(1.5em);
}
.sidebar .sidebar-theme .slider.round {
    border-radius: 34px;
}
.sidebar .sidebar-theme .slider.round:before {
    border-radius: 50%;
}

.sidebar .empty-div {
    height: 100px;
}
/* SIDEBAR DONE */
/**********************************************************************/

.content {
    width: 100%;
}

/**********************************************************************/
/* SEARCH LIST */
.searchList {
    display: flex;
    flex-wrap: wrap;
    padding: 1em;
    gap: 1em;
    margin: 0 auto;
    justify-content: center;
    max-width: 1024px;
}
.searchList .one_article {
    flex: 0 0 calc(32% - 1em);
    margin-top: 1em;
}
.searchList .one_article .thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 정사각형 */
  height: auto;          /* 브라우저가 비율로 계산 */
  background-color: var(--dark-bg-second-color);
  border-radius: 1em;
  margin-bottom: 0.5em;
  position: relative;
  overflow: hidden;
}
.searchList .one_article .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* 텍스트 썸네일이면 contain 권장(크롭 방지) */
  /* object-fit: cover;      글/로고가 잘려도 된다면 cover 사용 */
  image-rendering: auto;     /* 선명도 기본(텍스트 썸네일은 auto가 가장 깔끔) */
  border-radius: 1em;
}
.searchList .one_article .title {
    color: var(--dark-font-color);
    margin-bottom: 0.5em;
    font-size: 0.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.searchList .one_article .summary {
    color: #aaa;
    margin-bottom: 0.5em;
    font-size: 0.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.searchList .one_article .date {
    font-size: 0.6em;
    color: var(--dark-font-color);
}
.searchList .one_article .category a {
    color: var(--dark-font-color);
    font-size: 0.5em;
}
/* SEARCH LIST DONE */
/**********************************************************************/

.paging {
    width: 100%;
    margin: 2em 0;
    text-align: center;
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
}
.paging .selected {
    color: var(--highlight-color);
}
.paging .numbox {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

/**********************************************************************/
/* ARTICLE */
#removeButton {
    background: none; /* 배경 제거 */
    color: #aaa; /* 원하는 색상으로 설정 (여기서는 빨간색 예시) */
    border: none; /* 테두리 제거 */
    cursor: pointer; /* 커서 모양 변경 (선택사항) */
    font-size: 12px;
}
.entry_wrap {
}
.entry {
    max-width: 1024px;
    margin: 0 auto;
}

.entry .titleWrap {
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: center;
    justify-content: center;
    border-bottom: 0.2px solid rgb(70, 71, 73);
    margin-bottom: 2em;
    margin-top: 3em;
}
.entry .titleWrap .category {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #aaa;
    border-radius: 1em;
    width: fit-content;
    padding: 0.25em 0.5em 0.25em 0.5em;
    margin-bottom: 0.5em;
}
.entry .titleWrap .category a {
    color: #aaa;
    font-size: 0.5em;
}
.entry .titleWrap h2 {
    text-align: center;
    margin-bottom: 0.5em;
}
.entry .titleWrap h2 a {
    font-size: 0.8em;
    color: var(--dark-font-color);
}
.entry .titleWrap .info {
    display: flex;
    flex-direction: row;
    gap: 1em;
    font-size: 0.8em;
    color: #aaa;
}
.entry .titleWrap .info .date span {
    margin-right: 1em;
}
.entry .titleWrap .info .admin a {
    color: #aaa;
}

.entry .article {
    width: 100%;
    margin: 0 auto;
}
.entry .article .article_content {
    padding: 0em 2em 2em 2em;
    word-break: break-word;
    line-height: 200%;
}
.entry .article .article_content .contents_style {
    min-height: 50vh;
}
.entry .article .article_content .contents_style a {
    color: var(--highlight-color);
}

/* 플로팅 목차 스타일 */
.toc-absolute {
    position: fixed;
    top: 100px;
    margin-top: 10px;
}
.toc-fixed {
    position: fixed;
    top: 100px;
}
.toc {
    left: calc((100% + 300px + 1024px) / 2 + 0px);
    max-width: 330px;
    padding: 10px;
    box-sizing: border-box;
}
.toc-list > li {
    margin-top: 10px !important;
    font-size: 0.9em;
}
.toc > .toc-list li {
    margin-bottom: 10px;
}
.toc > .toc-list li:last-child {
    margin-bottom: 0;
}
.toc > .toc-list li a {
    text-decoration: none;
}
.is-active-link::before {
    background-color: var(--highlight-color) !important;
}

.entry .article .article_content h1,
.entry .article .article_content h2,
.entry .article .article_content h3,
.entry .article .article_content h4 {
    color: var(--highlight-color);
    padding-top: 1em;
    padding-bottom: 0.5em;
}

.entry .article .article_content h3 {
    font-weight: bold !important;
}
.entry .article .article_content ul li,
.entry .article .article_content ol li {
    word-break: break-word;
    width: 80%;
    position: relative;
    left: 50px;
    margin: 1em 0;
}
.entry .article .article_content figure {
    margin-top: 1em;
}
figure[data-ke-type="opengraph"] div.og-text p.og-title,
#tt-body-page figure[data-ke-type="opengraph"] div.og-text p.og-title {
    color: var(--dark-font-color);
}
.entry .article .article_content table {
    border: 1px solid var(--sidebar-hr-color);
}
.entry .article .article_content table tbody tr td {
    padding: 0.5em;
    font-size: 0.9em;
}
.entry .article .article_content .another_category.another_category_color_gray {
    border: none;
    background-color: var(--dark-bg-second-color);
    padding: 1em;
    border-radius: 1em;
}
.entry
    .article
    .article_content
    .another_category.another_category_color_gray
    * {
    color: var(--dark-font-color) !important;
}
.entry
    .article
    .article_content
    .another_category.another_category_color_gray
    h4,
.entry
    .article
    .article_content
    .another_category.another_category_color_gray
    h4
    a {
    color: var(--dark-font-color) !important;
}
.entry
    .article
    .article_content
    .another_category.another_category_color_gray
    table {
    border: none;
}
.entry
    .article
    .article_content
    .another_category.another_category_color_gray
    table
    tr
    a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.entry
    .article
    .article_content
    .another_category.another_category_color_gray
    table
    td {
    font-size: 12px;
}
.entry .article .article_content figure.fileblock .filename {
    color: var(--dark-font-color) !important;
}

.entry .article .article_content p {
    line-height: 2;
    margin-bottom: 0.25em !important;
}
.entry .article .article_content code {
    margin: 1em 0;
    border-radius: 5px;
    padding: 20px;
    background-color: var(--dark-bg-second-color);
    color: var(--dark-font-color);
    font-family: "D2Coding";
}

pre code.hljs {
    overflow-x: auto;
}

.entry .article .tagTrail {
    margin-top: 2em;
    color: var(--dark-font-color);
}
.entry .article .tagTrail .tagText {
    color: var(--highlight-color);
}
.entry .article .tagTrail a {
    font-size: 0.8em;
    padding: 0.5em;
    border-radius: 0.5em;
    background-color: var(--dark-bg-second-color);
}
.entry .article .tagTrail a:hover {
    color: white;
    background-color: var(--highlight-color);
}
.progress-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    display: flex;
    text-align: center;
    visibility: hidden;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.progress-circle:hover {
    cursor: pointer;
    transform: scale(1.1);
}
.top-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    color: var(--highlight-color);
    z-index: 3;
}
.is-visible {
    visibility: visible;
    opacity: 1;
}
/* ARTICLE DONE */
/**********************************************************************/

/**********************************************************************/
/* Namecard */
.tt_box_namecard {
    border-radius: 5px;
    background-color: var(--dark-bg-second-color) !important;
    margin: 0 2em;
}
.tt_box_namecard .tt_tit_cont {
    color: var(--dark-font-color) !important;
}
/**********************************************************************/
/* COMMENT */
.entry .comment {
    padding: 2em;
    word-wrap: break-word;
}
.entry .comment .commentWrite {
    margin-top: 0.5em;
    margin-bottom: 2em;
    padding: 1.5em;
    border-radius: 10px;
    min-height: 150px;
    background-color: var(--dark-bg-second-color);
}
.entry .comment .comment_input_box {
    margin-top: 1em;
    margin-bottom: 0.5em;
    min-height: 100px;
}
.entry .comment .comment_input_box textarea {
    background: transparent;
    border: none;
    width: 100%;
    height: 100px;
    border-bottom: 1px solid var(--sidebar-hr-color);
    resize: none;
}
.entry .comment .comment_input_box .guset_input_box {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    gap: 1em;
}
.entry .comment .comment_input_box .guset_input_box input {
    flex: 0 0 calc(50% - 1em);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--sidebar-hr-color);
}
.entry .comment .write_box {
    display: flex;
    flex-direction: row;
    margin-top: 1em;
    gap: 1em;
}
.entry .comment .write_box input {
    background: transparent;
    border: none;
    font-size: 0.8em;
    font-weight: bold;
}
input#sercret_check {
    position: relative;
    top: 3px;
}
.entry .comment .commentList .reply-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.entry .comment .commentList .reply-list.show {
    max-height: 1000px;
}
.entry .comment .commentList ol {
    display: flex;
    flex-direction: column-reverse;
    -webkit-flex-direction: column-reverse;
}
.entry .comment .commentList ol li {
    list-style: none;
    margin-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--sidebar-hr-color);
}
.entry .comment .commentList ol li .rp_admin,
.entry .comment .commentList ol li .rp_general {
    margin-bottom: 1em;
}
.entry .comment .commentList ol li .top {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.8em;
}
.entry .comment .commentList ol li .top img {
    height: 2.5em;
    width: 2.5em;
    object-fit: cover;
    border-radius: 100%;
    margin-right: 0.5em;
}
.entry .comment .commentList ol li .top .date {
    margin-left: auto;
    font-style: italic;
    font-size: 0.7em;
}
.entry .comment .commentList ol li .top .date a {
    color: var(--highlight-color);
}
.entry .comment .commentList ol li .mid {
    padding: 0.5em 0 0.5em 0;
}

.entry .comment .commentList ol li .bottom {
    text-align: right;
    font-style: italic;
    font-size: 0.7em;
}
.entry .comment .commentList ol li .bottom .modify {
    margin-right: 1em;
}

.entry .comment .commentList ol li ul li {
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    width: 90%;
    margin-left: auto;
}
/**********************************************************************/

footer {
    padding: 2em 0;
    text-align: center;
    font-size: 0.8em;
    color: #888;
}
footer a:hover {
    color: var(--highlight-color);
}
/**********************************************************************/

/**********************************************************************/
/* Responsive Web */
@media only screen and (max-width: 1600px) {
    .toc {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    * {
        font-family: "Noto Sans KR", sans-serif;
    }
    .navbar {
        background-color: var(--dark-bg-color);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 998;
        height: 15px;
    }
    .navbar .blog_title {
        font-size: 0.7em;
    }
    .navbar .search {
        width: 60%;
        height: 30px;
        padding-right: 10px;
    }
    .navbar .search .sbar {
        width: calc(100% - 16px);
        height: 18px;
    }
    .container {
        margin-top: 3em;
    }
    .sidebar {
        z-index: 999;
        padding-top: 2em;
        width: 200px;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        background-color: var(--dark-bg-color);
    }
    .sidebar .sidebar-closeBtn {
        display: block;
    }
    .searchList .one_article {
        flex: 0 0 100%;
    }
    /* .searchList .one_article .thumbnail {
        height: 20vh;
    } */
    .searchList .one_article .thumbnail { 
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;     /* ✅ 정사각형 비율 유지 */
        border-radius: 1em;
        overflow: hidden;
        background-color: var(--dark-bg-second-color);
    }
    .entry_wrap {
        display: block;
    }
    .entry .titleWrap {
        padding-top: 3em;
    }
    .entry .article .article_content {
        padding: 0em 1em 1em 1em;
    }
    .entry .comment {
        padding: 1em;
    }
    .entry .comment .comment_input_box .guset_input_box input {
        width: 50%;
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--sidebar-hr-color);
    }
    .entry .titleWrap {
        margin-top: 1em;
    }
    .toc {
        display: none;
    }
    footer {
        padding: 2em 0.5em;
        text-align: center;
        font-size: 0.7em;
    }
}
/**********************************************************************/



/* =========================
   Minimal Additions (Non-destructive)
   1) Code block backgrounds (light tone + pastel pink accents)
   2) Content line-height only
   ========================= */
   
/* Inline code (keep subtle, readable) */
.entry .article .article_content p code,
.entry .article .article_content li code,
.entry .article .article_content table code {
  display: inline;
  padding: .15em .35em;
  border-radius: 4px;
  background-color: #fff0f5;   /* light pink */
  border: 1px solid #ffd6e8;   /* pastel pink border */
  color: #222;
  font-family: "D2Coding", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Block code (pre/hljs) — light readable scheme */
pre,
pre code,
pre code.hljs,
.hljs {
  font-family: "D2Coding", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  color: #222;
}
pre {
  background: #f9f9f9;
  border: 1px solid #ffd6e8;
  /* no width/margin changes to avoid layout shifts */
  overflow-x: auto;
}
pre code.hljs { 
  display: block;
  white-space: pre;
}

/* Content area line-height only (keep site structure intact) */
.entry .article .article_content,
.entry .article .article_content p,
.entry .article .article_content li {
  line-height: 2.0;
}



/* ==========================================
   Enhancement: Spacing & Pretty Pink Code Blocks
   ========================================== */

/* Space below code blocks for better readability */
pre {
  /* 하단 여백: 깔끔하게 시선 분리 */
  margin-bottom: 2.5em !important; 
}

/* 최소한의 레드를 사용한 미니멀 스타일 */
pre {
  /* 배경: 깨끗하고 전문적인 느낌을 위한 미세한 오프 화이트 */
  /* background: #fafafa;  */
  
  /* 테두리: 아주 얇고 연한 회색으로 미니멀리즘 강조 */
  border: 1px solid #e5e5e5;
  
  /* 모서리: 부드러운 전문성 (4px로 더 각지게) */
  border-radius: 4px;
  
  /* 그림자: 거의 느껴지지 않도록 아주 얇고 가볍게 */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); 
  
  /* 레드를 '아주 약하게' 적용: 하단 테두리(border-bottom)에 얇은 라인으로만! */
  border-bottom: 1px solid #e63946; 
  
  /* 코드 텍스트/폰트 관련 설정은 건드리지 않음! */
  line-height: 2;
  padding: 1em 1.2em;
}

pre:hover {
    /* 호버 시 레드를 살짝만 강조 */
    border-bottom: 3px solid #ff596b; /* 레드를 살짝 밝게 */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); 
    transform: none; /* 움직임 없이 고정 */
    transition: all 0.2s ease-out;
}

/* 코드 하이라이트 배경은 투명 유지 */
pre code.hljs {
  background: transparent;
  color: #222; 
}

.entry .article .article_content p code,
.entry .article .article_content li code,
.entry .article .article_content table code {
  /* 배경: 주변 텍스트와 최소한의 대비를 위한 아주 연한 회색 */
  background-color: #f3f3f3; 
  /* 테두리: 테두리 없이 깔끔하게 (선택) */
  border: none; 
  border-radius: 3px;
  /* 텍스트 색상: 주변 텍스트보다 살짝 어둡게 */
  color: #444; 
  padding: .2em .4em;
}

/* Space between code block and next paragraph */
.entry .article .article_content pre + p {
  margin-top: 2em; 
}


/* 비눗방울 효과 시작 !!!!!!!!! */
:root {
  --bubble-glow: rgba(255,255,255,0.8);
}

:root[data-theme="light"] {
  --dark-bg-color: #ffffff;           /* 라이트 배경 */
  --dark-font-color: #111111;         /* 라이트 텍스트 */
  --dark-bg-second-color: #f4f6f8;    /* 서브 배경 */
  --sidebar-hr-color: rgba(0,0,0,.12);
  /* --highlight-color: #ff4081; */
}


/* 🫧 비눗방울 본체 */
.bubble {
  position: fixed;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--size, 30) * 1px);
  height: calc(var(--size, 30) * 1px);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 2147483647;
  animation: bubble-rise calc(var(--dur, 1400) * 0.5ms) ease-in-out forwards;
  will-change: transform, opacity, filter;
  mix-blend-mode: screen;
  background:
    radial-gradient(35% 35% at 30% 28%,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.35) 35%,
    rgba(255,255,255,0) 60%),
  conic-gradient(from 0deg,
    rgba(255,180,180,.30),
    rgba(255,240,200,.28),
    rgba(190,255,220,.28),
    rgba(200,220,255,.30),
    rgba(255,180,255,.28),
    rgba(255,180,180,.30));
  background-blend-mode: screen, lighten;
  box-shadow:
    0 0 25px 6px rgba(255,255,255,0.25),
    inset 0 0 25px rgba(255,255,255,0.25);
  filter: saturate(1.2) brightness(1.05);
}

/* 💫 하이라이트도 약하게 */
.bubble::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 12%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(255,255,255,0) 70%);
  opacity: 0.4;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 60%;
  top: 58%;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.5), rgba(255,255,255,0) 80%);
  opacity: 0.4;
}


/* 🌈 색 변화 + 위로 이동 */
@keyframes bubble-rise {
  0% {
    transform: translate(-20%, -20%) scale(0.3);
    opacity: 0;
    filter: hue-rotate(0deg);
  }
  25% {
    transform: translate(-20%, -20%) scale(1.1);
    opacity: 1;
    filter: hue-rotate(60deg);
  }
  60% {
    transform: translate(calc(-20% + var(--dx, 0px)), calc(-20% + var(--dy, -50px))) scale(0.95);
    opacity: 0.95;
    filter: hue-rotate(180deg) brightness(1.35);
  }
  100% {
    transform: translate(calc(-20% + var(--dx, 0px)), calc(-20% + var(--dy, -130px))) scale(0.8);
    opacity: 0;
    filter: hue-rotate(360deg);
  }
}