@charset "UTF-8";


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    background: #080012;
}

body {
    background:
        radial-gradient(circle at 50% 0%, #24106d 0%, #090018 45%, #030006 100%);
    color: #f5f5f5;
    font-family:
        Arial,
        "Malgun Gothic",
        sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   전체
========================================================= */

#retro-space {
    width: min(1420px, calc(100% - 40px));
    margin: 20px auto;
    border: 4px ridge #c0c0c0;
    background: #111;
    box-shadow:
        0 0 0 2px #000,
        0 0 30px rgba(0, 0, 255, .35);
}


/* =========================================================
   HEADER
========================================================= */

.space-header {
    position: relative;
    min-height: 220px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border-bottom: 5px solid #fff;

    background:
        radial-gradient(circle at 15% 30%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 28% 70%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 51% 20%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 72% 45%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 89% 25%, #fff 0 1px, transparent 2px),
        linear-gradient(
            180deg,
            #07001c,
            #16005b 50%,
            #07001c
        );
}


/* 별 */

.space-header::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(#ffffff 1px, transparent 1px),
        radial-gradient(#ffffff 1px, transparent 1px);

    background-size:
        90px 70px,
        150px 110px;

    background-position:
        10px 20px,
        50px 40px;

    opacity: .7;
}


/* =========================================================
   BLOG TITLE
========================================================= */

.site-title {
    position: relative;
    z-index: 5;

    text-align: center;
}

.site-title a {
    display: block;
}

.title-stars {
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 900;
    letter-spacing: -5px;

    color: #fff;

    text-shadow:
        5px 5px 0 #ff0000,
        10px 10px 0 #002aff,
        15px 15px 0 #00ff2f,
        8px 8px 0 #000;
}

.title-stars strong {
    color: #fff;
}

.title-sub {
    margin-top: 8px;

    color: #ffff00;

    font-size: 17px;
    font-weight: 900;

    text-shadow:
        2px 2px 0 #ff0000;
}

/* ==========================================================
   TITLE — 교정 부호 스타일 "연애를"
========================================================== */

.title-stars {
    position: relative;
}


/* ------------------------------------------
   "연애를"
------------------------------------------ */

.title-stars::after {
    content: "연애를";

    position: absolute;

    left: 54%;
    top: -58px;

    color: #fff;

    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;

    transform: translateX(-50%) rotate(-4deg);

    text-shadow:
        2px 2px 0 #000;

    white-space: nowrap;

    pointer-events: none;
}


/* ==========================================================
   출판 교정 부호 - '연애를' 삽입
========================================================== */

.title-stars {
    position: relative;
    overflow: visible;
}

/* 삽입되는 '연애를' */
.title-stars::after {
    content: "연애를";
    position: absolute;

    left: 65%;
    top: -23px;

    transform: translateX(-50%) rotate(5deg);

    /* 기존 제목과 같은 느낌 */
    color: #fff;
    font-family: inherit;
    font-size: 0.42em;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;

    text-shadow:
        3px 3px 0 #ff0000,
        6px 6px 0 #002aff,
        9px 9px 0 #00ff2f,
        5px 5px 0 #000;

    white-space: nowrap;
    z-index: 20;
}


/* 손으로 그린 삽입 교정 부호 */
.title-stars::before {
    content: "⌄";
    position: absolute;

    left: 58%;
    top: -30px;

    transform: translateX(-50%) rotate(15deg) scaleX(1.5);

    color: #fff;
    font-family: "Times New Roman", serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 1;

    z-index: 19;

    text-shadow:
        1px 1px 0 #000;
}

/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 768px) {

    .title-stars::after {
        left: 59%;
        top: -20px;
        font-size: 0.45em;
        letter-spacing: -1px;

        text-shadow:
            2px 2px 0 #ff0000,
            4px 4px 0 #002aff,
            6px 6px 0 #00ff2f,
            3px 3px 0 #000;
    }

    .title-stars::before {
        left: 58%;
        top: -50px;

        width: 30px;
        height: 17px;

        border-top-width: 2px;
    }
}

/* =========================================================
   HEADER UFO — RETRO FLYING SAUCER
========================================================= */

.header-ufo {
    position: absolute;
    left: 38px;
    top: 70px;

    width: 125px;
    height: 95px;

    z-index: 4;

    transform: rotate(-7deg);

    filter:
        drop-shadow(0 0 8px rgba(0, 255, 255, .8))
        drop-shadow(0 0 15px rgba(0, 100, 255, .45));
}


/* -------------------------
   UFO 본체
------------------------- */

.ufo-body {
    position: absolute;

    left: 8px;
    top: 39px;

    width: 108px;
    height: 35px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #e8ffff 0%,
            #9dbbc9 30%,
            #4d657c 55%,
            #18243a 100%
        );

    border: 3px solid #080808;

    box-shadow:
        inset 0 -6px 0 rgba(0,0,0,.4),
        inset 0 5px 0 rgba(255,255,255,.7);
}


/* -------------------------
   조종석 돔
------------------------- */

.ufo-body::before {
    content: "";

    position: absolute;

    left: 28px;
    top: -25px;

    width: 48px;
    height: 34px;

    border-radius: 50% 50% 35% 35%;

    background:
        linear-gradient(
            180deg,
            #dfffff 0%,
            #55d8ff 30%,
            #245caa 65%,
            #101a48 100%
        );

    border: 3px solid #080808;

    box-shadow:
        inset 0 5px 0 rgba(255,255,255,.7),
        0 0 8px rgba(0,255,255,.8);
}


/* 돔 중앙 반사광 */

.ufo-body::after {
    content: "";

    position: absolute;

    left: 40px;
    top: -19px;

    width: 11px;
    height: 6px;

    border-radius: 50%;

    background: #fff;

    opacity: .9;

    transform: rotate(-15deg);
}


/* -------------------------
   UFO 창문
------------------------- */

.ufo-window {
    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 5px;

    display: flex;

    justify-content: space-between;

    gap: 5px;

    z-index: 3;
}

.ufo-window i {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff,
            #00ffff 35%,
            #0066ff 70%
        );

    border: 1px solid #111;

    box-shadow:
        0 0 5px #00ffff;
}


/* -------------------------
   양옆 날개 / 엔진
------------------------- */

.ufo-body span {
    position: absolute;

    top: 8px;

    width: 15px;
    height: 18px;

    background:
        linear-gradient(
            180deg,
            #798ca2,
            #26364c
        );

    border: 2px solid #080808;
}


/* 왼쪽 엔진 */

.ufo-body span:nth-child(1) {
    left: -16px;

    transform:
        skewY(-18deg)
        rotate(-8deg);
}


/* 가운데 장식 */

.ufo-body span:nth-child(2) {
    left: 46px;

    width: 16px;
    height: 5px;

    top: 25px;

    border: 0;

    background: #00ffff;

    box-shadow:
        0 0 6px #00ffff;
}


/* 오른쪽 엔진 */

.ufo-body span:nth-child(3) {
    right: -16px;

    transform:
        skewY(18deg)
        rotate(8deg);
}


/* -------------------------
   아래 추진 장치
------------------------- */

.ufo-light {
    position: absolute;

    left: 25px;
    top: 67px;

    width: 75px;
    height: 27px;

    background:
        linear-gradient(
            180deg,
            rgba(0,255,255,.95),
            rgba(0,100,255,.55),
            rgba(0,0,255,0)
        );

    clip-path: polygon(
        15% 0,
        85% 0,
        100% 100%,
        0 100%
    );

    filter: blur(1px);

    opacity: .9;
}


/* 추진광 안쪽 */

.ufo-light::after {
    content: "";

    position: absolute;

    left: 31px;
    top: 0;

    width: 14px;
    height: 25px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #00ffff,
            transparent
        );

    filter: blur(2px);
}


/* =========================================================
   HEADER BADGE
========================================================= */

.header-badge {
    position: absolute;

    right: 25px;
    top: 25px;

    width: 115px;
    padding: 14px 8px;

    text-align: center;

    color: #ffff00;

    font-size: 14px;
    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            #ff0000,
            #ff6200
        );

    border: 3px solid #ffff00;

    transform: rotate(8deg);

    text-shadow: 1px 1px #000;

    box-shadow:
        4px 4px 0 #000;
}


/* =========================================================
   NAV
========================================================= */

.retro-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-bottom: 4px solid #fff;
}

.retro-nav a {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-right: 3px solid #fff;

    color: #000;

    font-weight: 900;
    font-size: 15px;

    background:
        linear-gradient(
            90deg,
            #ff00ff,
            #00ffff,
            #7fff00,
            #ffff00
        );

    text-shadow: 1px 1px 0 #fff;
}

.retro-nav a:last-child {
    border-right: 0;
}

.retro-nav a:hover {
    background:
        linear-gradient(
            90deg,
            #ffff00,
            #ff00ff,
            #00ffff
        );

    color: #fff;

    text-shadow:
        2px 2px #ff0000;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.space-layout {
    display: grid;

    grid-template-columns:
        210px
        minmax(0, 1fr)
        245px;

    gap: 12px;

    padding: 12px;

    background:
        #b5b5b5;
}


/* =========================================================
   SIDEBAR BOX
========================================================= */

.side-box {
    margin-bottom: 12px;

    border: 4px ridge #eee;

    background: #111;

    box-shadow:
        inset 0 0 0 2px #555;
}

.box-title {
    padding: 9px 5px;

    text-align: center;

    color: #ffff00;

    font-weight: 900;
    font-size: 14px;

    background:
        linear-gradient(
            90deg,
            #ff00ff,
            #6b00ff,
            #00ffff,
            #00ff00,
            #ffff00,
            #ff0000
        );

    border-bottom: 3px solid #fff;

    text-shadow:
        1px 1px #000;
}


/* =========================================================
   BIG UFO
========================================================= */

/* =========================================================
   BIG UFO — RETRO SPACECRAFT
========================================================= */

.big-ufo {
    position: relative;

    width: 100%;
    height: 155px;

    margin: 5px auto 10px;

    overflow: hidden;
}


/* UFO 본체 */

.big-ufo-body {
    position: absolute;

    left: 12%;
    top: 55px;

    width: 76%;
    height: 50px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #edfaff 0%,
            #91b5c8 28%,
            #536c83 52%,
            #172337 100%
        );

    border: 4px solid #070707;

    box-shadow:
        inset 0 6px 0 rgba(255,255,255,.7),
        inset 0 -8px 0 rgba(0,0,0,.45),
        0 0 15px rgba(0,255,255,.7);

    z-index: 3;
}


/* 조종석 돔 */

.big-ufo-body::before {
    content: "";

    position: absolute;

    left: 25%;
    top: -39px;

    width: 50%;
    height: 48px;

    border-radius: 55% 55% 30% 30%;

    background:
        linear-gradient(
            180deg,
            #e8ffff,
            #48d9ff 28%,
            #2864b5 65%,
            #111a46
        );

    border: 4px solid #050505;

    box-shadow:
        inset 0 6px 0 rgba(255,255,255,.8),
        0 0 10px #00ffff;
}


/* 돔 하이라이트 */

.big-ufo-body::after {
    content: "";

    position: absolute;

    left: 38%;
    top: -30px;

    width: 16px;
    height: 7px;

    border-radius: 50%;

    background: #fff;

    transform: rotate(-15deg);
}


/* 창문 */

.big-ufo-window {
    position: absolute;

    left: 10%;
    right: 10%;
    bottom: 7px;

    display: flex;

    justify-content: space-between;
}

.big-ufo-window i {
    width: 14px;
    height: 14px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff,
            #00ffff 35%,
            #006eff 75%
        );

    border: 2px solid #0b1525;

    box-shadow:
        0 0 6px #00ffff;
}


/* 아래쪽 원반 */

.big-ufo-bottom {
    position: absolute;

    left: 23%;
    top: 91px;

    width: 54%;
    height: 17px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #43566e,
            #111827
        );

    border: 3px solid #050505;

    z-index: 2;
}


/* UFO 빛 */

.big-ufo-light {
    position: absolute;

    left: 27%;
    top: 99px;

    width: 46%;
    height: 50px;

    background:
        linear-gradient(
            180deg,
            rgba(0,255,255,.9),
            rgba(0,120,255,.5),
            transparent
        );

    clip-path: polygon(
        15% 0,
        85% 0,
        100% 100%,
        0 100%
    );

    filter: blur(1px);

    z-index: 1;
}

.ufo-message {
    margin: 0 10px 15px;

    line-height: 1.7;

    color: #fff;

    text-align: center;
}

.ufo-message strong {
    color: #00ffff;

    font-size: 18px;

    text-shadow:
        2px 2px #ff00ff;
}


/* =========================================================
   LEFT MENU
========================================================= */

.space-menu {
    list-style: none;

    margin: 0;
    padding: 8px;
}

.space-menu li {
    border-bottom: 1px dotted #555;
}

.space-menu a {
    display: block;

    padding: 9px;

    color: #00ff00;

    font-weight: bold;
}

.space-menu a:hover {
    color: #ffff00;

    background: #300060;
}


/* =========================================================
   TRANSMISSION
========================================================= */

.visitor-box p {
    padding: 12px;

    line-height: 1.7;

    color: #00ff00;
}

.signal {
    padding: 7px;

    text-align: center;

    color: #000;

    font-size: 11px;
    font-weight: 900;

    background: #00ff00;
}


/* =========================================================
   CENTER
========================================================= */

.main-content {
    min-width: 0;

    padding: 10px;

    background: #929292;

    border: 4px ridge #eee;
}


/* 제목 */

.content-heading {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-bottom: 10px;
    padding: 12px;

    background: #111;

    border: 3px solid #fff;

    text-align: center;
}

.content-heading h1 {
    margin: 0;

    color: #ffff00;

    font-size: clamp(20px, 3vw, 30px);

    text-shadow:
        2px 2px #ff0000;
}

.content-heading p {
    margin: 3px 0 0;

    color: #fff;

    font-size: 12px;
}

.heading-star {
    color: #ff00ff;

    font-size: 25px;
}


/* =========================================================
   SEARCH
========================================================= */

.space-search {
    margin-bottom: 12px;

    padding: 8px;

    background: #000;

    border: 2px solid #fff;
}

.space-search form {
    display: flex;
}

.space-search input {
    flex: 1;

    min-width: 0;

    height: 35px;

    padding: 0 10px;

    border: 2px inset #ddd;

    background: #fff;

    color: #000;
}

.space-search button {
    width: 85px;

    border: 2px outset #ddd;

    background:
        linear-gradient(
            180deg,
            #ffff00,
            #ff8c00
        );

    color: #000;

    font-weight: 900;

    cursor: pointer;
}


/* =========================================================
   POST
========================================================= */

.post-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.post-card {
    display: grid;

    grid-template-columns: 70px minmax(0, 1fr);

    min-height: 150px;

    background: #111;

    border: 4px ridge #eee;

    box-shadow:
        inset 0 0 0 2px #444;
}


/* 번호 */

.post-number {
    padding-top: 15px;

    text-align: center;

    color: #00ffff;

    background:
        linear-gradient(
            180deg,
            #25004e,
            #08001b
        );

    border-right: 2px solid #555;
}

.post-number span {
    display: block;

    font-size: 10px;

    color: #aaa;
}

.post-number strong {
    display: block;

    margin-top: 5px;

    font-size: 25px;

    color: #ffff00;

    text-shadow:
        2px 2px #ff0000;
}


/* 글 정보 */

.post-info {
    padding: 14px 17px;
}

.post-meta {
    display: flex;

    gap: 10px;

    margin-bottom: 6px;

    color: #00ff00;

    font-size: 11px;
}

.post-meta span:first-child {
    color: #00ffff;
}

.post-info h2 {
    margin: 0 0 7px;

    font-size: 20px;

    line-height: 1.3;
}

.post-info h2 a {
    color: #fff;

    text-shadow:
        2px 2px #6b00ff;
}

.post-info h2 a:hover {
    color: #ffff00;
}

.post-info p {
    margin: 0 0 8px;

    color: #cfcfcf;

    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;

    padding: 3px 8px;

    background: #ff00ff;

    color: #fff;

    border: 2px outset #fff;

    font-size: 10px;
    font-weight: 900;

    text-shadow: 1px 1px #000;
}

.read-more:hover {
    background: #00ffff;

    color: #000;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-top: 15px;
    padding: 10px;

    background: #000;

    border: 3px ridge #fff;
}

.page-arrow {
    padding: 4px 10px;

    color: #000;

    background: #ffff00;

    border: 2px outset #fff;

    font-weight: 900;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-box {
    text-align: center;
}

.profile-image {
    width: 120px;
    height: 120px;

    margin: 15px auto 10px;

    padding: 4px;

    background:
        linear-gradient(
            135deg,
            #ff00ff,
            #00ffff,
            #ffff00
        );

    border: 3px ridge #fff;
}

.profile-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    background: #05000d;
}

.profile-box h2 {
    margin: 8px 10px;

    color: #ffff00;

    font-size: 18px;

    text-shadow:
        2px 2px #ff0000;
}

.profile-desc {
    padding: 0 12px;

    color: #ddd;

    line-height: 1.6;
}

.profile-line {
    margin: 8px;

    color: #555;
}

.online-status {
    margin: 10px;

    padding: 5px;

    color: #000;

    background: #00ff00;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   CATEGORY
========================================================= */

.category-list {
    padding: 10px;
}

.category-list ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.category-list li {
    border-bottom: 1px dotted #555;
}

.category-list a {
    display: block;

    padding: 8px;

    color: #00ffff;

    font-weight: bold;
}

.category-list a:hover {
    color: #ffff00;

    background: #330055;
}


/* =========================================================
   RECENT LOG
========================================================= */

.mini-post-box ul {
    margin: 0;
    padding: 8px;

    list-style: none;
}

.mini-post-box li {
    border-bottom: 1px dotted #555;
}

.mini-post-box a {
    display: block;

    padding: 7px 3px;

    color: #fff;

    font-size: 12px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-post-box a:hover {
    color: #ffff00;
}

.mini-arrow {
    color: #ff00ff;
}


/* =========================================================
   FOOTER
========================================================= */

.space-footer {
    padding: 20px;

    text-align: center;

    color: #fff;

    background: #000;

    border-top: 4px solid #fff;
}

.footer-ufo {
    margin-bottom: 8px;

    color: #00ffff;

    font-size: 20px;
    font-weight: 900;

    text-shadow:
        2px 2px #ff00ff;
}

.space-footer p {
    margin: 5px;
}

.copyright {
    color: #777;

    font-size: 10px;
}


/* =========================================================
   반응형
========================================================= */

@media (max-width: 950px) {

    #retro-space {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .space-layout {
        grid-template-columns:
            170px
            minmax(0, 1fr)
            200px;
    }

    .header-ufo {
        left: 15px;
        transform: scale(.75);
    }

    .header-badge {
        right: 10px;
        transform: scale(.75) rotate(8deg);
    }

}


@media (max-width: 720px) {

    #retro-space {
        width: 100%;
        margin: 0;

        border-width: 2px;
    }

    .space-header {
        min-height: 180px;
    }

    .header-ufo,
    .header-badge {
        display: none;
    }

    .retro-nav {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .retro-nav a {
        min-height: 40px;

        font-size: 12px;
    }

    .space-layout {
        grid-template-columns: 1fr;
    }

    .left-sidebar {
        order: 2;

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }

    .right-sidebar {
        order: 3;

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }

    .main-content {
        order: 1;
    }

}


@media (max-width: 480px) {

    .title-stars {
        font-size: 38px;

        letter-spacing: -3px;
    }

    .title-sub {
        font-size: 12px;
    }

    .left-sidebar,
    .right-sidebar {
        display: block;
    }

    .post-card {
        grid-template-columns: 50px 1fr;
    }

    .post-number strong {
        font-size: 20px;
    }

    .post-info {
        padding: 10px;
    }

    .post-info h2 {
        font-size: 17px;
    }

}

/* ==========================================================
   MOBILE — TITLE / SPACE HEADER
   PC 분위기 유지 + UFO 비율/거리 보정
========================================================== */

@media screen and (max-width: 768px) {

    /* ------------------------------------------
       SPACE HEADER
    ------------------------------------------ */

    .space-header {
        position: relative;
        min-height: 180px;
        overflow: hidden;

        background:
            radial-gradient(circle at 20% 25%, #fff 0 1px, transparent 2px),
            radial-gradient(circle at 50% 70%, #fff 0 1px, transparent 2px),
            radial-gradient(circle at 80% 30%, #fff 0 1px, transparent 2px),
            linear-gradient(
                180deg,
                #07001c 0%,
                #12004b 50%,
                #07001c 100%
            );
    }


    /* ------------------------------------------
       별
       PC보다 너무 퍼져 보이지 않도록 조정
    ------------------------------------------ */

    .space-header::before {
        background-image:
            radial-gradient(#ffffff 1px, transparent 1px),
            radial-gradient(#ffffff 1px, transparent 1px);

        background-size:
            70px 55px,
            115px 85px;

        background-position:
            8px 12px,
            30px 25px;

        opacity: .6;
    }


    /* ------------------------------------------
       TITLE
    ------------------------------------------ */

    .site-title {
        position: relative;
        z-index: 5;

        width: 100%;
        max-width: 100%;

        padding: 0 12px;

        overflow: visible;
    }

    .site-title a {
        display: block;
        width: 100%;
    }

    .title-stars {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 100%;

        font-size: clamp(32px, 10vw, 52px);
        letter-spacing: -3px;

        white-space: nowrap;
        overflow: visible;

        text-shadow:
            3px 3px 0 #ff0000,
            6px 6px 0 #002aff,
            9px 9px 0 #00ff2f,
            5px 5px 0 #000;
    }

    .title-stars strong {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .title-sub {
        margin-top: 5px;

        font-size: 12px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        text-align: center;
    }


    /* ------------------------------------------
       HEADER UFO
       PC UFO의 형태는 유지하고
       모바일에서는 전체 크기만 축소
    ------------------------------------------ */

    .header-ufo {
        display: block;

        width: 125px;
        height: 95px;

        left: 8px;
        top: 62px;

        transform:
            rotate(-7deg)
            scale(.62);

        transform-origin: center center;

        z-index: 4;
    }

    /* UFO 내부 요소도 원래 비율 그대로 유지 */
    .header-ufo .ufo-body {
        width: 108px;
        height: 35px;
    }

    .header-ufo .ufo-light {
        width: 75px;
        height: 27px;
    }

    .header-ufo img {
        width: auto;
        height: auto;
        max-width: none;
        object-fit: contain;
    }


    /* ------------------------------------------
       BADGE
       모바일에서는 PC처럼 화면을 복잡하게
       만들지 않도록 숨김
    ------------------------------------------ */

    .header-badge {
        display: none;
    }
}


/* ==========================================================
   VERY SMALL MOBILE
   480px 이하에서는 UFO를 한 단계만 더 축소
========================================================== */

@media screen and (max-width: 480px) {

    .header-ufo {
        left: 2px;
        top: 64px;

        transform:
            rotate(-7deg)
            scale(.55);
    }

    .title-stars {
        font-size: 38px;
        letter-spacing: -3px;
    }

    .title-sub {
        font-size: 12px;
    }
}


/* ==========================================================
   POST / ARTICLE FIX
   Tistory article structure + current HTML
========================================================== */

/* 글 목록 카드 전체가 링크 */
.post-card {
    text-decoration: none;
    color: inherit;
}

/* 기존 HTML과 CSS 클래스 연결 */
.record-main {
    padding: 14px 17px;
}

/* 카드 내부 제목 */
.post-card .post-title,
.post-card h2 {
    margin: 0 0 7px;
    font-size: 20px;
    line-height: 1.3;
}

.post-card .post-title,
.post-card h2 a {
    color: #fff;
}

/* READ MORE는 내부 링크가 아니라 카드의 일부 */
.post-card .read-more {
    display: inline-block;
    padding: 3px 8px;
    background: #ff00ff;
    color: #fff;
    border: 2px outset #fff;
    font-size: 10px;
    font-weight: 900;
    text-shadow: 1px 1px #000;
}

/* 실제 글 본문 */
.post-view {
    padding: 18px;
    background: #111;
    border: 4px ridge #eee;
    box-shadow: inset 0 0 0 2px #444;
}

.post-view-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #fff;
}

.post-view-header h1 {
    margin: 8px 0;
    color: #ffff00;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.3;
    text-shadow: 2px 2px #ff0000;
}

.post-view-category a {
    color: #00ffff;
    font-weight: 900;
}

.post-view-content {
    color: #eee;
    line-height: 1.8;
    word-break: break-word;
}

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

.post-view-content iframe {
    max-width: 100%;
}

/* 모바일 */
@media screen and (max-width: 480px) {

    .record-main {
        padding: 10px;
    }

    .post-card .post-title,
    .post-card h2 {
        font-size: 17px;
    }

    .post-view {
        padding: 12px;
    }

    .post-view-header h1 {
        font-size: 24px;
    }
}

/* ==========================================================
   MOBILE — SPACE STATION UFO 비율 유지
========================================================== */

@media screen and (max-width: 480px) {

    .big-ufo {
        width: 200px;
        height: 175px;
        margin-left: auto;
        margin-right: auto;
    }

}