



@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    zoom: 0.8; 
    -moz-transform: scale(0.8); 
    -moz-transform-origin: top center;
    
    font-family: 'NeoDungGeunMo', monospace !important;
}

body a:hover{
  background: var(--primary-color);
}

:root {
    /* Core Layout */
    --global-font-size: 15px;
    --global-font-color: #444;
    --font-stack: "Roboto Mono", monospace, "NeoDungGeunMo", monospace;
    --mono-font-stack: "Roboto Mono", monospace;
    --global-line-height: 1.6em;
    --page-width: 70em;
    --display-h1-decoration: 1;

    --background-color: #fff;
    --font-color: #151515;
    --invert-font-color: #fff;
    --primary-color: #0BB31D;
    --secondary-color: #727578;
    --error-color: #d20962;
    --progress-bar-background: #727578;
    --progress-bar-fill: #151515;
    --code-bg-color: #e8eff2;
}
@media only screen and (max-width: 850px) {
    :root {
        --global-font-size: 14px;
        --global-font-color: #444;
        --global-line-height: 1.6em;
        --page-width: 70em;
    }
}

h1, .logo {
    font-family: 'NeoDungGeunMo', monospace !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: none !important; 
}

.cy-tabs ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    border-bottom: 2px solid var(--primary-color); 
    justify-content: flex-end !important;
}


.cy-tabs li a:not(.active) {
    background: rgba(224, 224, 224, 0.8) !important;
    border-color: #ddd !important;
}

.cy-tabs li, .cy-tabs li::before, .cy-tabs li::after {
    content: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cy-tabs li a {
    display: block;
    font-family: 'NeoDungGeunMo', monospace !important;
    font-size: 12px !important;
    padding: 6px 15px !important;
    background: #e4e4e4;
    color: #777 !important;
    border: 1px solid #ccc !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0;
    text-decoration: none !important;
    transition: background 0.2s;
}

.cy-tabs li a.active {
    background: #fff !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    border-bottom: 2px solid #fff !important; 
    margin-bottom: -2px; 
    font-weight: bold;
    z-index: 2;
}

.cy-tabs li a:hover:not(.active) {
    background: #f0f0f0;
    color: #000 !important;
} 


.tab-header {
    display: flex;
    align-items: flex-end;
    margin-top: 30px;
    margin-bottom: 15px;
    margin-top: 0 !important;
    padding-top: 20px !important;
}

.tab-header.main .tab-title {
    font-family: 'NeoDungGeunMo', monospace !important;
    font-size: 13px !important;
    color: #0bb31d !important; 
    background: linear-gradient(to bottom, #ffffff 0%, #f0f9f0 100%) !important;
    
    border: 1px solid #0bb31d !important;
    border-bottom: 1px solid #088a16 !important;
    
    padding: 6px 15px !important;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.tab-header.main .count-box {
    background: #0bb31d !important;
    color: #ffffff !important;
    border: 1px solid #088a16 !important;
    font-size: 9px !important;
    padding: 2px 2px !important;
    text-transform: uppercase;
}

.tab-header.main .tab-bar {
    flex-grow: 1;
    height: 1px;
    background: #0bb31d;
    align-self: flex-end;
}


.tab-title {
    font-family: 'NeoDungGeunMo', monospace !important;
    font-size: 13px !important;
    background: var(--primary-color) !important; 
    color: white !important;
    padding: 4px 12px !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 2px 0px 0px rgba(0,0,0,0.05);
    margin: 0 !important;
     letter-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}


.tab-bar {
    flex-grow: 1;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 0px; 
}


.tab-header.secondary {
    display: flex;
    align-items: flex-end;
    margin-top: 25px;
    margin-bottom: 0px !important;
}

.tab-header.secondary .tab-title {
    font-family: 'NeoDungGeunMo', monospace !important;
    font-size: 12px !important;
    color:#3a3a3a  !important;
    
    background: linear-gradient(to bottom, #f9f9f9 0%, #e8e8e8 100%) !important;
    
    border: 1px solid #d1d1d1 !important;
    border-top: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #bcbcbc !important;
    
    padding: 5px 15px !important;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-header.secondary .tab-bar {
    flex-grow: 1;
    height: 1px;
    background: #d1d1d1;
    margin-bottom: 0px;
}

.count-box {
    font-size: 10px !important;
    background: #ffffff !important;
    color: #888 !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 2px !important;
    padding: 1px 4px !important;
    margin-left: 8px !important;
    box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,0.05) !important;
    line-height: 1 !important;
    font-weight: normal !important;
}

.tab-title[data-count]::after {
    content: "(" attr(data-count) ")";
    font-family: 'NeoDungGeunMo', monospace !important;
    font-size: 10px;
    background: #fdfdfd;
    color: #888;
    
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    padding: 1px 4px;
    margin-left: 5px;
    
    box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,0.05);
}


.random-container {
  margin-top:-10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
}

.random-button {
    font-family: 'NeoDungGeunMo', monospace !important;
    font-size: 11px !important;
    font-weight: bold;
    color: #0bb31d !important;
    text-decoration: none !important;
    
    background: linear-gradient(to bottom, #f9f9f9 0%, #e8e8e8 100%) !important;
    
    border: 1px solid #d1d1d1 !important;
    border-radius: 4px 4px 4px 4px;
    
    padding: 4px 10px !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.random-button:hover {
    background: #ffffff !important;
    filter: brightness(1.05);
}

.gacha-icon {
    font-size: 10px;
    margin-right: 6px;
    filter: saturate(0); /* Keeps the emoji from being too distracting */
}


.terminal-nav {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    align-items: flex-end !important;
}


.container {
    margin-right: 0 !important; 
    margin-left: 500px !important; 
    
    max-width: 70em !important; 
    width: 100% !important;
    
    float: none !important;
}

.visitor-panel {
    float: right;
    border: 1px dotted var(--primary-color);
    padding: 10px;
    margin-top:40px;
    margin-left: 20px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    min-width: 150px;
    text-align: left;
}

.panel-tag {
    font-size: 0.65rem;
    color: var(--background-color);
    background: var(--primary-color);
    display: flex;
    align-items: center;   
    gap: 8px;           
    padding: 2px 8px;    
    font-weight: bold;
    white-space: nowrap;  
}


.counter-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.counter-wrap .label {
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.counter-wrap img {
    width: auto;
}

.panel-status {
  padding-left:7px;
    font-size: 0.65rem;
    color: black;
}

.panel-status::after {
    content: " _";
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.visitor-counter {
    background-color: transparent;
    display: inline-block;  
    border-radius: 2px;           
}

.visitor-counter img {
    display: block;      
    height: 12px;         
    width: auto;
}

.top-scroll {
    width: 100%;
    background: var(--primary-color) !important;
    color: var(--background-color);
    height: 22px;
    line-height: 22px;
    font-size: 11px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #000;
    position: relative;
}

.top-scroll-inner {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.sidebar-heading {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.box-masonry .box-masonry-image {
    background: #fff;
}

.box-masonry,
.box-masonry:hover {
    box-shadow: none;
}

.label {
    font-family: var(--font-stack);
}

body {
    font-family: var(--font-stack);
    font-size: var(--global-font-size);
    background-color: var(--background-color);
    margin-bottom: 75px;
    position: relative;}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-stack);
    clear: both;
}

h1 {
    margin-bottom: 150px;
}

.content-column-content p,
.content-column-content li {
    color: #666;
}

.btn-ghost {
    color: #666;
    background-color: transparent;
    border-color: #333;
    font-weight: 400;
    font-family: var(--font-stack);
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.55;
    border-radius: 0;
    margin-left: 0;
    margin-top: 5px;
}

.content-column-content .command {
    color: #aaa;
}

p.social a {
    margin: 0 0 10px 0;
    color: #fff;
    display: inline-block;
    width: 30px;
    height: 30px;
    border: none;
    line-height: 30px;
    font-size: 25px;
    text-align: center;
    vertical-align: bottom;
    color: #999999;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.active a {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

.terminal-logo {
    font-weight: normal;
}

.terminal-menu li {
    margin-right: 30px;
    justify-content:right;
}

figure {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 60px;
    margin-right: 60px;
}

.footer {
    clear: both;
    margin-top: 100px;
    padding-top: 10px;
    border-top: 1px solid var(--secondary-color);
    color: var(--global-font-color);
}

/* Container to help with alignment */
.artlog-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}


.bottom-left-image {
    position: fixed;
    bottom: 0;
    left: 3%;
    margin: 10px;
    width: auto;
    height: 55%;
    z-index:-1;
}


div.image-grid, 
.terminal .image-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 15px 0 !important;
    position: relative;
}

.image-grid a, 
.image-grid a:hover {
    display: block !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
}

.image-grid img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    image-rendering: pixelated !important;
    transition: none !important;
}

.image-grid img:hover {
    filter: grayscale(100%) !important;
}

/* See More Link Styling */
.artlog-footer {
    text-align: right;
    font-size: 0.75rem;
}

.artlog-footer a:hover{
background-color:var(--primary-color) !important;
text-decoration: underline;

}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid #fff; 
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-family: var(--font-stack);
}

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    text-decoration: none;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.pagination a:hover:not(.active) {
    background-color: rgba(98, 196, 255, 0.2);
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.terminal-prompt::after {
    -webkit-animation: cursor 1s infinite;
    animation: cursor 1s infinite;
    width: 10px;
}

.terminal-prompt::before {
    content: none;
}

.gallery-image {
    margin-top: 10px;
    margin-bottom: 10px;
}

.posts-list {
    position: relative;
    padding-left: 130px;
    top: 0;
}


.posts-list a:hover {
    background-color: transparent !important;
    padding: 0 !important;
}


.post h1,
.post h2 {
    padding-top: 0;
    margin: 0;
    margin-bottom: 5px;
}

.posts-list .date {
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 130px;
    z-index: 400;
    padding-top: 0;
}

@media only screen and (max-width: 850px) {
    .site-name {
        width: 2ch;
        overflow: hidden;
    }

    .header-nav {
        align-items: flex-start;
        display: flex;
    }

    .terminal-menu ul {
        align-items: flex-start;
        display: flex;
        flex-direction: row;
        justify-content: left;
        margin-top: 0;
    }

    .terminal-menu li {
        margin-right: 20px;
    }

    .logo {
        padding: calc(var(--global-space) * 1) 0 calc(var(--global-space) * 1);
    }

    figure {
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 30px;
        margin-right: 30px;
    }

    .posts-list {
        position: relative;
        padding-left: 0;
        top: 0;
    }

    .post h1,
    .post h2 {
        padding-top: 0;
    }

    .posts-list .date {
        display: inline-block;
        position: absolute;
        left: 0px;
        width: 150px;
        z-index: 400;
        font-weight: bold;
        padding-top: 0;
        display: none;
    }

    .footer {
        margin-top: 50px;
        padding-top: 5px;
    }
}
.terminal .archive-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; 
    grid-template-rows: auto !important;
    gap: 20px !important;
    width: 100%!important;
    max-width: var(--page-width) !important;
    margin: 40px auto !important;
    padding: 0!important;
    clear: both !important;
    position: relative;
}

/* 3. FIX THE GIANT IMAGE ISSUE */
.archive-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important; /* Prevents the image from expanding to full screen */
    margin: 0 !important;
}

.archive-item a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    overflow: hidden;
    padding: 10px !important;
    background-color: transparent !important;
}

.archive-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    display: block !important;
}

.archive-item a:hover {
    border-color: #62c4ff !important;
    background-color: transparent !important;
}

.item-meta {
    color: #a3abba !important; 
    font-family: var(--font-stack);
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 600px) {
    .terminal .archive-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 800px) {
    .posts-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 15px 0 !important;
    }

    .posts-block{
        display: flex !important;
        flex-direction: column !important;
        height: 250px !important;
        width: 100% !important;  
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .posts-thumb {
        height: 100px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .posts-block:nth-child(n+3) {
        display: none !important;
    }

    .posts-text {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2 !important;
    }
}
.green-link {
    transition: background-color 0.1s ease;
    padding: 0 2px; 
}

.green-link:hover {
    background-color: var(--primary-color) !important;
    color: var(--background-color) !important;
    text-decoration: underline;
}

.sidebar-right {
    position: fixed;
    top: 120px; 
    right: 20px;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.sidebar-left {
    position: fixed;
    top: 40px;
    left: 20px;
    width: 270px; 
    z-index: 100;
}

.askbox {
    background: #fff;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.askbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.sidebar-widget {
  background:white;
    border: 1px solid #0BB31D;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.widget-header {
    background: linear-gradient(to bottom, #0ccb21 0%, #0bb31d 100%) !important;
    
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-family: 'NeoDungGeunMo', monospace !important;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    border-bottom: 1px solid #088a16;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); 
}



.cam-box {
    width: 100%;
    height: 110px;
    background-image:url('https://64.media.tumblr.com/6488c830658eec6e5514e72b19ae5898/tumblr_na41m3vBmr1tzsko7o3_500.gifv');
    background-size:100%;
    position: relative;
    border-top: 1px solid #0BB31D;
}

.live-text {
    position: absolute;
    top: 0;
    left: 8px;
    color: #ff0000;
    font-size: 10px;
    font-weight: bold;
    animation: blinker 1s steps(2, start) infinite;
}

@keyframes blinker {
    to { visibility: hidden; }
}

.cam-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 10px;
    letter-spacing: 1px;
}

/* List/Form styling */
.rankings-list {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.rankings-item {
    font-size: 10px;
    font-family: monospace;
    padding: 3px 0;
    border-bottom: 1px dotted #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank {
    color: #0BB31D;
    font-weight: bold;
    margin-right: 5px;
}

.request-form { padding: 10px; }

.request-btn {
    background: #0BB31D;
    color: white;
    padding: 6px;
    font-size: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.request-btn:hover {
    background: #000;
    color: #0BB31D;
    outline: 1px solid #0BB31D;
}

@media screen and (max-width: 1200px) {
    .sidebar-left, .sidebar-right, .bottom-left-image {
        display: none;
    }
    .container {
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 20px !important;
    }

}
#manga-trinket {
  
    font-family: 'NeoDungGeunMo', monospace !important;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 2147483647 !important;
    width: 230px !important;
    height: 160px !important;
    display: flex !important;
    align-items: center !important;
    padding: 10px !important;
    transform: scale(1.25) !important;
    transform-origin: bottom right !important;

    border: 3px solid transparent !important;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
        url('https://64.media.tumblr.com/6e9b47642a38f1e7168791c22fa0d2bf/ca9e2b39e6ce7fa4-f6/s640x960/e883ed535c75650bb136f3f9aa9fa487cba19f75.jpg'),
        linear-gradient(90deg, #0BB31D 50%, transparent 50%),
        linear-gradient(90deg, #0BB31D 50%, transparent 50%),
        linear-gradient(0deg, #0BB31D 50%, transparent 50%),
        linear-gradient(0deg, #0BB31D 50%, transparent 50%);

    background-repeat: no-repeat, no-repeat, repeat-x, repeat-x, repeat-y, repeat-y;
    
    background-size: cover, cover, 10px 3px, 10px 3px, 3px 10px, 3px 10px;
    
   
    background-origin: padding-box, padding-box, border-box, border-box, border-box, border-box;
    background-clip: padding-box, padding-box, border-box, border-box, border-box, border-box;
    
 
    background-position: 0 0, 0 0, 0 0, 0 100%, 0 0, 100% 0;
    
    animation: border-dance 0.4s infinite linear;
}

@keyframes border-dance {
   
    from { background-position: 0 0, 0 0, 0 0, 0 100%, 0 0, 100% 0; }
    to { background-position: 0 0, 0 0, 10px 0, -10px 100%, 0 -10px, 100% 10px; }
}

#manga-trinket .trinket-cover {
    width: 90px !important;
    height: auto !important;
    min-width: 65px !important;
    object-fit: cover !important;
    border: 1px solid #000 !important;
    margin-right: 12px !important;
}

#manga-trinket .trinket-text {
  
    font-family: 'NeoDungGeunMo', monospace !important;
    text-decoration:bold !important;
    color: #000 !important;
    font-size: 13px !important;
    line-height:1em;
    margin: 0 !important;
}

#manga-trinket .trinket-tag {
    height:fit-content !important;
    width: fit-content !important;
}

#manga-trinket .trinket-url {
    color: #0BB31D !important;
    font-size: 10px !important;
    text-decoration: bold underline !important;
}

#manga-trinket .trinket-close {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    cursor: pointer !important;
    width: 24px !important;
    height: 24px !important;
}
    
  
.tab-header + p,
.tab-header + ul,
.tab-header + ol,
.tab-header + .posts-grid,
.tab-header + .image-grid,
.tab-header + div {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tab-title h1, .tab-title h2 {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 850px) {
    body, .terminal, h1, h2, .tab-title, .cy-tabs a {
        font-family: 'NeoDungGeunMo', monospace !important;
    }

    .tab-header {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .tab-title {
        white-space: nowrap !important; 
        font-size: 11px !important;
    }
}
