@charset "UTF-8";
body{
    color: #C2C4C6;
}
/*- font --*/
:root {
   --subject-font-family: 'Prompt','Kanit', sans-serif;
   --control-font-family: 'Kanit','Prompt',sans-serif;
   --content-font-family: 'Sarabun', sans-serif;
}
/*- by font -*/
.subject-font {
    font-family: var(--subject-font-family);
}
.control-font {
    font-family: var(--control-font-family);
}
.content-font {
    font-family: var(--content-font-family);
}
.subject-font-important {
    font-family: var(--subject-font-family) !important;
}
.control-font-important {
    font-family: var(--control-font-family) !important;
}
/*- by type -*/
h1, h2, h3 {
    font-family: var(--subject-font-family) !important;
}
button {
    font-family: var(--control-font-family);
}
/*- by group -*/
.my-story-head,
.my-story {
 font-family: var(--content-font-family);
    padding: 0.44rem 0px;

    margin-top: 0px;
    margin-bottom: 0px;
}

.my-story-nav{
    padding: 20px 0px 60px 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.tag-scifi {
    font-family: var(--subject-font-family !important);
}
.tag-scifi-blue{
    font-family: var(--subject-font-family !important);
}
.tag-scifi-fluid{
    font-family: var(--subject-font-family !important);
}

.content-color {
    color: #C2C4C6;
}

.my-novel-text{
    color: #C2C4C6;
    font-size: 16px;
    line-height: 1.6;
  font-family: var(--content-font-family);
}
.my-novel-text a{
color: #89BBE0 !important;
    text-decoration: none !important; /* ปิดเส้นใต้มาตรฐาน */
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
}
.my-novel-text a:hover{
    filter: drop-shadow(0 0 8px #00d4ff);
}

.my-novel-text h1{
    font-family: var(--subject-font-family) !important;
    font-size: 22px;
    font-weight: 400;
    color: #c8cce0;
}

.my-novel-text img {
    border-radius: 30px;
}

.intro-text {
    text-indent: 0;
    font-size: 10pt;
    font-style: italic;
}

.my-story-head,
.my-story,
.my-story-nav,
.story-background {
    background: #1d397c;
}
/*----*/

h2, h1, h3, h4, h5, h6, p, span, a, button {
    font-family: inherit !important;
}

.my-novel-text hr {
    border: none;
    height: 4px;
    margin: 8px auto 28px auto; /*not changed!*/
    /*
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 212, 255, 0.4) 50%
    );
    */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(255, 255, 255, 0.6) 50%
    );
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    opacity: 0.8;
}

.my-novel-text hr.circuit-liner {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 242, 255, 0.8), transparent);
    position: relative;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

hr.glass-liner {
    border: none;
    height: 4px;
    
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 212, 255, 0.4) 50%
    );
    
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    opacity: 0.8;
}

hr.glass-liner-short {
    width: 200px; 
    
    /* 2. จัดให้มาอยู่กึ่งกลาง (ถ้าไม่ใส่ เส้นจะชิดซ้าย) */
        margin: 34px auto;
    
    border: none;
    height: 4px;
    /*
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 212, 255, 0.4) 50%
    );
    */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(255, 255, 255, 0.6) 50%
    );
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    opacity: 0.8;
}
.continued-text {
    /*margin-top: 10px;*/
    margin-top: -20px;
    position: relative;
    font-style: italic;
    font-weight: 600;
    color: transparent;
    background-color: rgba(0, 0, 0, 0.4);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.7);
    /*display: inline-block;*/
    display: block;
    opacity: 0.9;
}
.continued-text::after {
    content: "(มีต่อ)";
}

.glass-text {
    font-weight: 600;
    color: transparent;
    background-color: rgba(0, 0, 0, 0.4);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.7);    
    display: inline-block;
    opacity: 0.9;
}

.glass-text-thin {
    font-weight: 100 !important;
    color: transparent;
    background-color: rgba(0, 0, 0, 0.4);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.4);    
    display: inline-block;
    opacity: 0.9;
}

.star-field-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    
}

.custom-star {
    position: absolute;
    background: rgba(0, 175, 232, 0.4); 
    border-radius: 50%;
    box-shadow: 
        0 0 15px 1px rgba(255, 255, 255, 0.5),
        0 0 20px 5px rgba(0, 212, 255, 0.3);
    animation: star-twinkle-hyper var(--d) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes star-twinkle-hyper {
    0%, 100% { 
        opacity: 0.5; 
        transform: scale(0.8); 
        filter: brightness(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5);
        filter: brightness(2) contrast(1.5);
    }
}

.scifi-stardust {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    position: relative;
    height: 10px;
}

/* เส้นฟุ้งเชื่อมจุด */
.scifi-stardust::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

.scifi-stardust-dot {
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    margin: 0 15px;
    box-shadow: 0 0 10px #00d4ff;
    z-index: 1;
}

.wp-block-image img {
    max-width: 95% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.my-novel-text p {
text-indent: 1.7em;
    
    margin-top: 1.3em !important; 
    margin-bottom: 0.9em !important;
    
}
hr { 
    border: 0; border-top: 1px solid #ccc; text-align: center; overflow: visible; height: 0; 
}

strong, b {
    font-weight: 800 !important;
}

.scifi-btn a {
    background: rgba(0, 212, 255, 0.05) !important; 
    
}
.scifi-btn {

    /*border-radius: 5px 15px 5px 15px !important;*/
    border-radius: 10px 20px 10px 20px !important;
    background: rgba(0, 212, 255, 0.05) !important; 
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    outline: none;
}

.scifi-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
    letter-spacing: 0.5px;
    /*border-radius: 20px 10px 20px 10px !important;*/

    


}

.scifi-glass-btn a {
    background: rgba(0, 212, 255, 0.05) !important; 
    
}
.scifi-glass-btn {

    /*border-radius: 0 15px 0 15px !important;*/
    background: rgba(0, 212, 255, 0.05) !important; 
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    outline: none;
    /*clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);*/
    clip-path: polygon(1% 0%, 100% 0%, 99% 100%, 0% 100%);
}

.scifi-glass-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
    letter-spacing: 0.5px;

}

/**/

.glass-btn .wp-block-button__link a {
    background: rgba(0, 212, 255, 0.05) !important; 
    
}

.glass-btn .wp-block-button__link {
    background: rgba(0, 212, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: #00d4ff;
    padding: 12px 30px !important;
    /*letter-spacing: 2px;*/
    transition: all 0.4s ease;
    clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
}
.glass-btn .wp-block-button__link:hover {
    background: rgba(0, 212, 255, 0.2) !important;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.1)) !important;
    letter-spacing: 0.5px;

}



.scifi-edge-btn a {
    background: rgba(0, 212, 255, 0.05) !important;
}

.scifi-edge-btn {
    border-radius: 0 15px 0 15px !important;
    /*
    color: #00d4ff;
    border: 1px solid #00d4ff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3), 
                0 0 10px rgba(0, 212, 255, 0.2);
    */
    background: rgba(0, 212, 255, 0.05) !important; 
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    outline: none;

    clip-path: polygon(1% 0%, 100% 0%, 99% 100%, 0% 100%);
}
.scifi-edge-btn:hover {
    
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
    letter-spacing: 0.5px;
/*
    
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.5), 
                0 0 20px rgba(0, 212, 255, 0.4);
    color: #fff;
    letter-spacing: 1px;
*/
}

/* 🔮 สั่งการตัวปุ่มจริงที่อยู่ข้างในบล็อก WordPress */
.liquid-glass-btn .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* เพิ่ม Padding ให้ปุ่มอวบอิ่ม มีพื้นที่โชว์ทรงหยดน้ำ */
    padding: 10px 20px !important; 
    /*
    font-size: 1rem;
    font-weight: 600;
    */
    /*text-transform: uppercase;*/
    text-decoration: none !important;
    
    /* 💧 สลัดขอบเดิมทิ้ง แล้วใส่ผิวสัมผัสกระจกเหลว (Liquid Glass) */
    border: none !important;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.25) 0%, rgba(157, 78, 221, 0.15) 100%) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* 🧬 ดัดสัดส่วนปุ่มให้โค้งมนแบบอสมมาตรทรงหยดน้ำ */
    border-radius: 60% 40% 65% 35% / 40% 60% 40% 60% !important;
    
    /* 💡 เล่นมิติแสงสะท้อน Inset ขอบบน และแสงออร่านีออนด้านล่าง */
    box-shadow: 
        inset 0 4px 6px rgba(255, 255, 255, 0.4),
        inset 0 -4px 8px rgba(0, 242, 255, 0.2),
        0 6px 20px rgba(0, 242, 255, 0.2) !important;
        
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    
    /* อนิเมชั่นเวลาเด้งดึ๋ง */
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 🧪 เอฟเฟกต์ตอนเหลวไหลเมื่อลูกเรือเอาเมาส์มาชี้ (Hover) */
.liquid-glass-btn .wp-block-button__link:hover {
    /* บิดรูปทรงหยดน้ำไปอีกทางเพื่อให้ความรู้สึกเหมือนของเหลวกำลังเคลื่อนไหว */
    border-radius: 40% 60% 35% 65% / 60% 40% 60% 40% !important;
    
    /* เร่งสารเรืองแสงและพลังงานนีออนให้วาบขึ้น */
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.4) 0%, rgba(157, 78, 221, 0.3) 100%) !important;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        0 0 25px rgba(0, 242, 255, 0.6),
        0 0 15px rgba(157, 78, 221, 0.4) !important;
        
    transform: scale(1.04) translateY(-2px);
}

.is-style-fill-nav-direct {
    filter: drop-shadow(0 0 8px #00d4ff) !important;
}
.is-style-fill-nav-direct:hover {
    filter: drop-shadow(0 0 15px #00d4ff) !important;
}
.is-style-fill-nav {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: transform 0.2s !important;
    border: 1px solid #00d4ff !important;
    border-radius: 12px !important;
    color: #c2c4c6 !important;
}

.is-style-fill-nav:hover a{
    /*color: #78a3c1 !important;*/
}
.is-style-fill-nav:hover {

    border: 1px solid #70e7ff !important;
    border-radius: 12px !important;
    transition: color 0.3s ease;
    filter: drop-shadow(0 0 8px #00d4ff);
}
.scifi-frame-halo{
    filter: drop-shadow(0 0 8px #00d4ff);
}
.halo-hover{
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.halo-hover:hover {
    
    filter: drop-shadow(0 0 8px #00d4ff);
}

.halo-hover-6:hover {
    filter: drop-shadow(0 0 8px #00d4ff);
    transition: filter 0.3s ease-in-out;
}

.halo-hover-4 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* จังหวะการเคลื่อนไหวนุ่มๆ */
}

.halo-hover-4:hover {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7)) 
            drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.halo-hover-3:hover {
    text-shadow: 0 0 25px #ffffff;
    
}
.normal-hover:hover{
    /*
    filter: drop-shadow(0 0 1px #fff);
*/
}
.halo-hover-2:hover {
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.15) !important;
    border-color: #00d4ff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5) !important;
    text-shadow: 0 0 8px #00d4ff !important;
}
.halo-hover-2{
    transition: all 0.4s ease;
    border-radius: 10px !important;
}

.halo-hover-7:hover {
    /*border: 1px solid rgba(0, 212, 255, 0.3);*/
    background: rgba(0, 212, 255, 0.15) !important;
    border-color: #00d4ff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5) !important;
    text-shadow: 0 0 8px #00d4ff !important;
}
.halo-hover-7{
    transition: all 0.8s ease;
}

.halo-hover-5:hover {
    background: rgba(0, 212, 255, 0.15) !important;
    border-color: #00d4ff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5) !important;
    text-shadow: 0 0 8px #00d4ff !important;
}

.halo-hover-5{
    transition: all 0.4s ease;
    border-radius: 50px !important;
}

.style-halo {    
    filter: drop-shadow(0 0 8px #00d4ff);
}

.is-style-fill {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: transform 0.2s !important;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.1));
    border: 1px solid #037cba !important;
    border-radius: 12px !important;
    color: #c2c4c6 !important;
}

.is-style-fill:hover a{
    color: #78a3c1 !important;
}

.is-style-fill:hover {

    border: 1px solid #00aee7 !important;
    border-radius: 12px !important;
    color: #00afe8 !important;
    transition: color 0.3s ease;
    filter: drop-shadow(0 0 8px #00d4ff);
}

.mybanner{
    max-width: 95%;
}

.shadow-blue{
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));    
}

.mya-topic:hover {
    filter: drop-shadow(0 0 8px #00d4ff);

}

.mya-topic {
    margin-top: 10px;
    font-family: var(--subject-font-family);
    font-size: 16px;
    color: #89BBE0 !important;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.7));
}

.mya-link:hover {
    filter: drop-shadow(0 0 8px #00d4ff);

}

.mya-topic-link {
    color: #89BBE0 !important;
    text-decoration: none !important;    
}

.mya-tip-block {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70% !important;
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.05), rgba(0, 40, 80, 0.5)) !important;
    text-align: center;
    color: #b0b0b0; /*#C2C4C6;*/
    padding: 30px !important;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);    
    border: 1.5px solid rgba(189, 239, 255, 0.2) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 40px rgba(0, 175, 232, 0.2),
        0 0 25px rgba(0, 175, 232, 0.1) !important;
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.4;
}


.mya-tip-block::before {
    content: "";
    position: absolute;
    top: 10%; left: 15%;
    width: 40%; height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.mya-collection-block {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70% !important;
    /*
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.05), rgba(0, 40, 80, 0.5)) !important;
    */
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.15), rgba(0, 40, 80, 0.05)) !important;
    
    text-align: center;
    color: #e2e8f0; /*#C2C4C6;*/
    padding: 30px 20px !important;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);    
    border: 1.5px solid rgba(189, 239, 255, 0.2) !important;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: inset 0 0 40px rgba(0, 175, 232, 0.2),
        0 0 25px rgba(0, 175, 232, 0.1) !important;

    font-size: 16px;

    margin-bottom: 80px;
    line-height: 1.5;
}


.mya-collection-block::before {
    content: "";
    position: absolute;
    top: 10%; left: 15%;
    width: 40%; height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.mya-collection-block:hover {
    border-radius: 40% 60% 30% 70% / 60% 40% 70% 30% !important;
    box-shadow: 
        inset 0 0 50px rgba(0, 175, 232, 0.3),
        0 0 40px rgba(0, 212, 255, 0.2) !important;
    transform: scale(1.02);
    
}

.mya-msg {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70% !important;
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.05), rgba(0, 40, 80, 0.5)) !important;
    color: #C2C4C6;
    text-align: center;
    padding: 30px !important;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(189, 239, 255, 0.2) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 0 40px rgba(0, 175, 232, 0.2),
        0 0 25px rgba(0, 175, 232, 0.1) !important;
    font-size: 15px;

}

.mya-msg::before {
    content: "";
    position: absolute;
    top: 10%; left: 15%;
    width: 40%; height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.mya-star {
    position: absolute;
    top: 8px;
    right: 32px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    user-select: none;
}

.mya-share {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    user-select: none;
}

.mya-star.active {
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    transform: scale(1.2);
}

.mya-star:hover {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.65);
}

.mya-share:hover {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.65);
}

.mya-caption {
    text-align: center;
}
.mya-label {
    color: #888888;
    font-size: 12px;
}

.mya-title {
    font-family: var(--subject-font-family) !important;
    /*color: #d6d6d6;*/
    font-weight: 500;
    margin-left: 0px;
}

.mya-content {
    margin-top: 12px;
}

.mya-link {
    font-family: var(--subject-font-family) !important;
    color: #89BBE0 !important; /*#78a3c1*/ 
    text-decoration: none;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
}

.mya-divider {
    border: 0;
    border-top: 1px solid rgba(3, 124, 186, 0.3);
    width: 50%;
}

.mya-footer {
    font-style: italic;
    color: #888888;
    font-size: 12px;
}

.mya-footer::after {
    font-style: italic;
    color: #888888;
    font-size: 12px;
    content: "ช่วยสนับสนุนไรท์ด้วยการกดลิงก์นี้ก่อนสั่งซื้อ🛒นะครับ";
}


.mya-shortxx {
    background: #213047;
    color: #b0b0b0;
    text-align: left;
    padding: 10px 16px 10px;
    /*margin: 30px auto;*/
    margin: 30px auto 0;

    border-radius: 50px;
    line-height: 1.5;
    font-size: 14px;
    max-width: 87%;
}
.mya-short {
    position: relative;
    background: rgba(33, 48, 71, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    color: #b0b0b0; /*#C2C4C6; #b0b0b0;*/ 
    text-align: left;
    padding: 8px 10px 8px;
    margin: 40px auto 10px;
    border-radius: 40px 0 40px 0;
    
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    
    line-height: 1.6;
    font-size: 14px;
    max-width: 85%;
/*
    box-shadow: 

        inset 2px 2px 8px rgba(10, 25, 47, 0.45), 
        
        inset -1px -1px 6px rgba(0, 175, 232, 0.15),        

        0 4px 10px rgba(0, 0, 0, 0.15) !important;
    
    transition: all 0.3s ease;
    */
}


.mya-short::after {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 35px 0 35px 0;
    border: 1px solid rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: -1;
}
.mya-short-label {
    color: #888888;
    font-size: 12px;
    /*margin-left: 20px;*/
}

.mya-short-title {
    margin-left: 1px;
}

.mya-short-content {
    margin-top: 4px;
}

.mya-short-link-1 {
    color: #78a3c1;
    text-decoration: underline;
    /*margin-left: 20px;*/
}

.mya-short-link-2 {
    color: #78a3c1;
    text-decoration: underline;
    margin-left: 12px;
}

/*
.mya-short-link-1:hover {
    filter: drop-shadow(0 0 8px #00d4ff);

}
.mya-short-link-2:hover {
    filter: drop-shadow(0 0 8px #00d4ff);

}
.mya-short-link-1 {
    color: #89BBE0 !important;
    text-decoration: none;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
    margin-left: 20px;
}
.mya-short-link-2 {
    color: #89BBE0 !important;
    text-decoration: none;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
    margin-left: 12px;
}
.mya-short-content {
    margin-top: 12px;
}

.mya-short-title {
    margin-left: 0px;
}
.mya-short-label {
    color: #888888;
    font-size: 12px;
}
.mya-short {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70% !important;
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.05), rgba(0, 40, 80, 0.5)) !important;
    text-align: center;
    color: #C2C4C6;
    padding: 30px !important;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);    
    border: 1.5px solid rgba(189, 239, 255, 0.2) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 40px rgba(0, 175, 232, 0.2),
        0 0 25px rgba(0, 175, 232, 0.1) !important;
    font-size: 15px;
}


.mya-short::before {
    content: "";
    position: absolute;
    top: 10%; left: 15%;
    width: 40%; height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}
*/
/*
.mya-collection-block {
    margin-bottom: 50px;    
}
*/
.my-biohacking .mya-topic {
    display: block;
}

.my-story .mya-topic {
    display: none;
}

.mya-actions-footer {
    text-align: right;
    max-width: 85%;
    margin: -30px auto 10px;
    padding-right: 15px;
}

.mya-share-btn {
    font-size: 12px;
    color: #78a3c1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mya-share-btn:hover {
    opacity: 1;
}

html.has-modal-open .mymain-content-btn {
    display: none !important;
}

html.has-modal-open .mystory-inline-bookmark {
    display: none !important;
}

html.has-modal-open .mynotification-btn {
    display: none !important;
}

.mymain-content-btn:hover{
    border-color: white;
    box-sizing: border-box;
    transition: color 0.3s ease;
}
.mymain-content-btn a{
    color: #c8cce0 !important;
    text-decoration: none;
}

.mymain-content-btn {
    position: fixed;
    top: 4px;
    right: 101px;    
    color: #c8cce0 !important;
    text-decoration: none;
    border: 1px solid #c8cce0;
    width: 30px;
    height: 30px;
    padding: 0px 4px;
    margin: 0;
    
    border-radius: 8px;
    z-index: 2147483647 !important;  
    font-family: sans-serif;
    font-size: 24px;
    display: block !important;
    box-sizing: border-box;
    text-align: center; 
    backface-visibility: hidden;
    cursor: pointer !important;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; 
    will-change: top, opacity;
    cursor: pointer !important;
    align-items: center;
    justify-content: center;
}


.mynotification-btn:hover{
    border-color: white;
    box-sizing: border-box;
    transition: color 0.3s ease;
}

.mynotification-btn {
    position: fixed;
    top: 4px;
    right: 37px;    
    color: #00AFE8 !important;
    text-decoration: none;
    border: 1px solid #c8cce0;
    width: 30px;
    height: 30px;
    padding: 0px 4px;
    margin: 0;
    border-radius: 8px;
    z-index: 2147483647 !important;  
    font-family: sans-serif;
    font-size: 24px;
    font-style: bold !important;
    display: block !important;
    box-sizing: border-box;
    text-align: center; 
    backface-visibility: hidden;
    cursor: pointer !important;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; 
    will-change: top, opacity;
    cursor: pointer !important;
    align-items: center;
    justify-content: center;
}

.mystory-share-btn:hover{
    border-color: white;
    box-sizing: border-box;
    transition: color 0.3s ease;
}

html.has-modal-open .mystory-share-btn {
    display: none !important;
}

.mystory-share-btn {
    position: fixed;
    top: 4px;
    right: 5px;
    z-index: 2147483647 !important;
    color: #c8cce0 !important;
    text-decoration: none;
    border: 1px solid #c8cce0;
    width: 30px;
    height: 30px;
    padding: 0px 4px;
    margin: 0;
    border-radius: 8px;   
    font-family: sans-serif;
    font-size: 17px;
    display: block !important;
    box-sizing: border-box;
    text-align: center; 
    backface-visibility: hidden;
    cursor: pointer !important;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: top, opacity;
    align-items: center;
    justify-content: center;
}

.mystory-share-btn.hide-btn {
    bottom: -60px !important;
    opacity: 0;
}

html.has-modal-open .mystory-inline-bookmark {
    display: none !important;
}

.mystory-inline-bookmark {
    position: fixed;
    top: 4px;
    right: 69px;    
    border: 1px solid #c8cce0;
    width: 30px;
    height: 30px;
    padding: 1px 4px;
    margin: 0;
    border-radius: 8px;
    z-index: 2147483647 !important;    
    font-family: sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: block !important;
    box-sizing: border-box;
    text-align: center;     
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: top, opacity;
    backface-visibility: hidden;
    cursor: pointer !important;
    align-items: center;
    justify-content: center;
}

.mystory-inline-bookmark:hover{
    border-color: white;
    box-sizing: border-box;
    transition: color 0.3s ease;
}

.mystory-inline-bookmark.hide-btn {
    bottom: -60px !important;
    opacity: 0;
}

.resume-reading-popup a{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.resume-reading-popup:hover {
    border-color: white;
    box-sizing: border-box;
    transition: color 0.3s ease;
}

.resume-reading-popup.hide-btn {
    bottom: -60px !important;
    opacity: 0;
}

html.has-modal-open .resume-reading-popup {
    display: none !important;
}

.resume-reading-popup {
    position: fixed;
    top: 4px;
    right: 69px;
    border: 1px solid #c8cce0;
    width: 30px;
    height: 30px;
    padding: 2px 4px;
    margin: 0;
    border-radius: 8px;
    z-index: 2147483647 !important;
    font-family: sans-serif;
    font-size: 14px;
    display: block !important;
    box-sizing: border-box;
    text-align: center; 
    backface-visibility: hidden;
    cursor: pointer !important;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: top, opacity;
    align-items: center;
    justify-content: center;
}

#mymain-hide-btn {
    top: -50px !important;
    opacity: 0;
    pointer-events: none;
}

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2147483646;
    display: none;
}


.post-nav-links {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    font-style: italic !important;
    
    background-color: #1d397c !important;

}

.post-nav-links:not(:has(a)) {
    display: none !important;
}

.post-nav-links:has(.current:last-child) {
    display: none !important;
}

.post-nav-links:has(a) {
    padding-bottom: 30px !important;
}

.post-nav-links:not(:has(a)) {
    display: none !important;
}

.post-nav-links {
    font-size: 0 !important;
    color: transparent !important;
}

.post-nav-links .current {
    display: none !important;
}

.post-nav-links .post-page-numbers:has(~ .current) {
    display: none !important;
}

.post-nav-links .current ~ a.post-page-numbers ~ a.post-page-numbers {
    display: none !important;
}

.post-nav-links a.post-page-numbers {
    font-size: 16px !important;    
    color: #C2C4C6 !important;
    text-decoration: underline !important;
    padding: 0 !important;
    border: none !important;
    
    /* glass-text*/
    font-weight: 600 !important;
    color: transparent !important;
    
    background-color: rgba(0, 0, 0, 0.4) !important;
  
    background-clip: text;
    -webkit-background-clip: text !important;
    
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.7) !important;

    /*
    display: inline-block;
    
    opacity: 0.9;   
    */
}

.post-nav-links a.post-page-numbers::before {
    content: "(ต่อหน้า ";
}
.post-nav-links a.post-page-numbers::after {

    content: "/" var(--total-pages) ")";
}

.post-nav-links a.post-page-numbers:hover {
    text-decoration: none !important;
    transform: translateY(-2px) !important; 
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.header-menu svg {
    fill: #C2C4C6 !important; 
}

.post-nav-links {
    font-size: 0 !important;
    color: transparent !important;
}

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

.my-transparent-group {
    background-color: transparent !important;
    background: none !important;
}

.header-menu .wp-block-navigation__responsive-container-open {
    background: transparent !important;
    border: none !important;        
    padding: 0 !important;           
    outline: none !important;       
    box-shadow: none !important;
}

.show-only-home {
    display: none !important;
}

.home .show-only-home {
    display: block !important;
}

.my-top-sticky { 
    position: fixed !important; 
    top: 0 !important; 
    left: 0; width: 100% !important; 
    z-index: 99999 !important; 

} 

.sci-fi-hr-glow {
    border: none;
    height: 1px;
    background: #00f2ff; /* สีฟ้า Cyan แบบดิจิทัล */
    box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff; /* สร้างรัศมีเรืองแสง */
    margin: 0;
    position: relative;
    overflow: visible;
}

.sci-fi-hr-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 4px;
    background: #fff;
    filter: blur(2px);
}
.cosmic-hr {
    border: none;
    height: 1px;
    background-image: linear-gradient(to right, transparent, #7b2ff7, #00f2ff, #7b2ff7, transparent);
    opacity: 0.8;
    margin: 50px 0;
}
.circuit-hr-2{
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 175, 232, 0.8), transparent);
    position: relative;
    box-shadow: 0 0 8px rgba(0, 175, 232, 0.5);
    margin-left: 0;
    margin-right: auto;
    
}
@media (max-width: 768px) {
    .circuit-hr-2 {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 60%; 
    }
}

.circuit-hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 242, 255, 0.8), transparent);
    position: relative;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
    
}

.scifi-end-cosmic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    font-family: 'Sarabun', sans-serif;
}

.end-word {
    color: #fff;
    text-shadow: 0 0 10px #00d4ff, 0 0 20px #ff00e5;
    font-weight: 300;
    letter-spacing: 5px;
}

.line-left, .line-right {
    height: 1px;
    flex-grow: 1;
    max-width: 100px;
    background: linear-gradient(to left, #00d4ff, transparent);
}

.line-right {
    background: linear-gradient(to right, #00d4ff, transparent);
}

.scifi-end-circuit {
    position: relative;
    width: fit-content;
    padding: 15px 40px;
    margin: 50px auto;
    font-family: 'Prompt', sans-serif;
    color: #00f2ff;
    letter-spacing: 8px;
    border-top: 1px solid rgba(0, 242, 255, 0.3);
    border-bottom: 1px solid rgba(0, 242, 255, 0.3);
}

.corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #00f2ff;
}

.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.tag-scifi {
    display: inline-block;
    padding: 2px 12px;
    margin-top: 5px !important;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00f2ff;
    border: 1px solid #00f2ff;
    border-radius: 54px;
    background: rgba(0, 242, 255, 0.1);
    text-shadow: 0 0 6px #00f2ff;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.3);
    letter-spacing: 1px;
    vertical-align: middle;
}

.tag-scifi-blue {
    display: inline-block;
    padding: 1px 12px;
    margin-top: 5px !important;

    font-size: 0.75rem;
    font-weight: 600;
    color: #00d4ff;
    border: 1px solid #00d4ff;
    /*border-radius: 15px;*/
    border-radius: 10px 0 10px 0;
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 1px #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
    letter-spacing: 1px;
    vertical-align: middle;
}

.tag-scifi-fluid {
    display: inline-block;
    padding: 1px 12px;
    margin-top: 5px !important;

    font-size: 0.75rem;
    font-weight: 600;
    color: #00d4ff;
    border: 1px solid #00d4ff;
    /*border-radius: 15px;*/
    border-radius: 20px 10px 20px 10px;
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 1px #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
    letter-spacing: 4px;
    vertical-align: middle;
}

.tag-liquid-glass {
    display: inline-block;
    padding: 6px 16px; /* เพิ่มพื้นที่ให้รูปทรงของเหลวดูอวบอิ่มนุ่มนวลขึ้น */
    margin-top: 5px !important;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff; /* เปลี่ยนตัวหนังสือเป็นสีขาวเพื่อให้ตัดกับพื้นหลังของเหลวเรืองแสง */
    letter-spacing: 1.5px;
    vertical-align: middle;
    /*text-transform: uppercase;*/
    
    /* 🔮 1. ลบเส้นขอบแข็งๆ ออก แล้วใช้พื้นหลังแบบกระจกเหลวที่มีมิติ */
    border: none; 
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.25) 0%, rgba(157, 78, 221, 0.15) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* 🔮 2. ทีเด็ด Liquid Shape: ทำขอบโค้ดให้บิดเบี้ยวเป็นทรงหยดน้ำธรรมชาติ */
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60% !important;
    
    /* 🔮 3. ใส่เงาสะท้อนในผิวกระจก (Inset) ให้ดูมีปริมาตรนูนใสเหมือนปรอท */
    box-shadow: 
        inset 0 4px 6px rgba(255, 255, 255, 0.4), /* แสงไฮไลท์ตกกระทบขอบบน */
        inset 0 -4px 8px rgba(0, 242, 255, 0.2),  /* เงาสะท้อนไซแอนด้านล่าง */
        0 4px 15px rgba(0, 242, 255, 0.2);        /* แสงออร่าเรืองแสงนุ่มๆ ใต้แท็ก */
        
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* อนิเมชั่นแบบเด้งดึ๋งนุ่มๆ */
    cursor: none;
}

/* 🧪 4. เอฟเฟกต์ตอนเหลวไหลเมื่อเมาส์ชี้ (Hover) */
.tag-liquid-glass:hover {
    /* สลับมุมโค้งให้ของเหลวบิดขยับรูปทรง */
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40% !important;
    
    /* เร่งแสงนีออนของเหลวให้เปล่งประกายเข้มขึ้น */
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.4) 0%, rgba(157, 78, 221, 0.3) 100%);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(0, 242, 255, 0.5),
        0 0 10px rgba(157, 78, 221, 0.3);
        
    transform: scale(1.05) translateY(-1px); /* ขยายตัวนิดๆ เหมือนหยดน้ำกำลังเคลื่อนที่ */
}

.tag-glass {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: #00d4ff;
    letter-spacing: 1.5px;
    padding: 12px 30px !important;
    /*letter-spacing: 2px;*/
    transition: all 0.4s ease;
    clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
}
.scifi-btn-circuit {
    border-radius: 0 15px 0 15px;
    
    background: rgba(0, 212, 255, 0.1);
    font-family: 'Inter', sans-serif !important;
    color: #00d4ff;
    border: 1px solid #00d4ff;
    padding: 10px 40px;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3), 
                0 0 10px rgba(0, 212, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}


.scifi-btn-circuit:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));

}

.scifi-btn-fluid {
    border-radius: 10px 30px 15px 30px;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border: 1px solid #00d4ff;
    padding: 10px 40px;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3), 
                0 0 10px rgba(0, 212, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.scifi-btn-fluid:hover {
    background: rgba(0, 0, 0, 0.4);
    letter-spacing: 8px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
    transform: translateY(-2px);
}

.glow-scifi {
    color: #00DDFF;
    
    text-shadow: 
        0 0 5px #00DDFF,
        0 0 10px #00d4ff,
        0 0 20px #00d4ff,
        0 0 40px #005f73;
}

.glow-scifi-2 {
    color: #00FBFF;
    
    text-shadow: 
        0 0 5px #00DDFF,
        0 0 10px #00afe8,
        0 0 20px #00afe8,
        0 0 40px #005f73;
}

.glow-word {
    color: #00d4ff;
    font-weight: 800;

    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(0, 212, 255, 0.2);
    animation: pulse-glow 2s infinite alternate;
}

.scifi-glass {
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 12px 30px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
}

.scifi-glass-menu {
    background: rgba(0, 175, 232, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 175, 232, 0.3);

    color: #00afe8;
    padding: 12px 30px;

    transition: all 0.4s ease;
    
height: auto !important;
    min-height: fit-content;
    overflow: visible !important;

}

.wp-block-navigation__responsive-container.is-menu-open {
    
    height: 100vh !important;
  
    width: 100vw !important;
    
    position: fixed !important;
    
    top: 0 !important;
    left: 0 !important;
    
    z-index: 999999 !important;
    
}

.wp-block-navigation__responsive-container-content {
    height: 100% !important;
    display: flex !important;
    align-items: flex-start !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label {
    color: #00afe8 !important;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 175, 232, 0.5);
}

.scifi-glass-space {
    border-radius: 15px 15px 15px 15px !important;
    background: rgba(0, 175, 232, 0.1);
    color: #00afe8;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 10px;
    position: relative;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 50px rgba(0, 175, 232, 0.3), 
                0 0 10px rgba(0, 175, 232, 0.2);
}

.scifi-glass-cocoon-blue {
    background: rgba(29, 57, 124, 0.4) !important;

    position: relative;
    overflow: hidden;
    
    box-shadow: 
        0 0 20px rgba(0, 175, 232, 0.2),
        inset 0 0 30px rgba(0, 175, 232, 0.1) !important;
    
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.scifi-glass-cocoon-blue::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 175, 232, 0.1), transparent 40%);
    animation: rotateCocoon 8s linear infinite;
}

.scifi-glass-cocoon-purple {
    /* เปลี่ยนพื้นหลังเป็นม่วงอวกาศลึกขุ่นๆ (Deep Space Purple) */
    background: rgba(35, 18, 62, 0.45) !important;

    position: relative;
    overflow: hidden;
    
    /* เปลี่ยนแสงเรืองรอง (Glow) ด้านนอกและด้านในเป็นสีม่วงนีออนเนบิวลา */
    box-shadow: 
        0 0 25px rgba(157, 78, 221, 0.25),
        inset 0 0 30px rgba(157, 78, 221, 0.15) !important;
    
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.scifi-glass-cocoon-purple::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    /* เปลี่ยนลำแสงหมุนรอบดักแด้แก้วให้เป็นประกายม่วงมาเจนต้า (Nebula Glow) */
    background: conic-gradient(from 0deg, transparent, rgba(224, 170, 255, 0.15), transparent 40%);
    animation: rotateCocoon 8s linear infinite;
}

@keyframes rotateCocoon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scifi-glass-cocoon:hover {
}

.scifi-glass-mercury {
    border-radius: 30% 70% 50% 50% / 50% 30% 70% 50% !important;
    
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 35px !important;
    position: relative;
    transition: all 1.2s ease-in-out;
    
    box-shadow: 
        inset 10px -10px 20px rgba(0, 175, 232, 0.2),
        inset -10px 10px 20px rgba(255, 255, 255, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.scifi-glass-mercury::after {
    content: "";
    position: absolute;
    bottom: 15%; right: 20%;
    width: 20px; height: 20px;
    background: rgba(0, 212, 255, 0.3);
    filter: blur(8px);
    border-radius: 50%;
}

.scifi-glass-mercury:hover {
    border-radius: 50% 50% 30% 70% / 50% 70% 30% 50% !important;
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 
        inset 15px -15px 30px rgba(0, 175, 232, 0.3),
        0 25px 50px rgba(0, 0, 0, 0.4) !important;
}

.scifi-glass-fluid {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70% !important;
    
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.15), rgba(0, 40, 80, 0.05)) !important;
    
    color: #bdefff;
    
    padding: 30px 10px !important;
    
    position: relative;
    
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    border: 1.5px solid rgba(189, 239, 255, 0.2) !important;
    
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    box-shadow: 
        inset 0 0 40px rgba(0, 175, 232, 0.2),
        0 0 25px rgba(0, 175, 232, 0.1) !important;
}

.scifi-glass-fluid::before {
    content: "";
    position: absolute;
    top: 10%; left: 15%;
    width: 40%; height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.scifi-glass-fluid:hover {
    border-radius: 40% 60% 30% 70% / 60% 40% 70% 30% !important;
    box-shadow: 
        inset 0 0 50px rgba(0, 175, 232, 0.3),
        0 0 40px rgba(0, 212, 255, 0.2) !important;
    transform: scale(1.02);
}

.scifi-glass-fluid-content {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70% !important;
    
    background: radial-gradient(circle at center, rgba(0, 175, 232, 0.15), rgba(0, 40, 80, 0.05)) !important;
    
    color: #bdefff;
    padding: 30px 0 !important;
    
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    border: 1.5px solid rgba(189, 239, 255, 0.2) !important;
    
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    box-shadow: 
        inset 0 0 40px rgba(0, 175, 232, 0.2),
        0 0 25px rgba(0, 175, 232, 0.1) !important;

}

.scifi-glass-fluid-content::before {
    content: "";
    position: absolute;
    top: 10%; left: 15%;
    width: 40%; height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.scifi-glass-fluid-content:hover {
    border-radius: 40% 60% 30% 70% / 60% 40% 70% 30% !important;
    box-shadow: 
        inset 0 0 50px rgba(0, 175, 232, 0.3),
        0 0 40px rgba(0, 212, 255, 0.2) !important;
    transform: scale(1.02);
    
}

.scifi-glass-info {
    border-radius: 15px !important;
    background: rgba(0, 175, 232, 0.1);
    color: #00afe8;
    border: 1px solid rgba(0, 212, 255, 0.3);
        
    padding: 20px 10px !important; /*not changed!*/
    
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 50px rgba(0, 175, 232, 0.3), 
                0 0 10px rgba(0, 175, 232, 0.2);
}
.scifi-glass-message {
    border-radius: 100px !important;
    background: rgba(0, 175, 232, 0.1);
    color: #00afe8;
    border: 1px solid rgba(0, 212, 255, 0.3);
        
    padding: 20px 10px !important; /*not changed!*/
    
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 50px rgba(0, 175, 232, 0.3), 
                0 0 10px rgba(0, 175, 232, 0.2);
}

.scifi-glass-message::before,
.scifi-glass-message::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(0, 175, 232, 0.6);
    border: 1px solid #00afe8;
    
}

.scifi-glass-message::before { 
    top: -4px; 
    box-shadow: 0 -2px 10px #00afe8;
}

.scifi-glass-message::after { 
    bottom: -4px; 
    box-shadow: 0 2px 10px #00afe8;
}

.scifi-glass-content, 
.my-novel-text {
    border-radius: 60px !important;
    margin-bottom: 16px;
    background: rgba(25, 51, 102, 0.9) !important;

    border: 1px solid rgba(0, 175, 232, 0.4) !important;

    padding: 30px 10px !important; /*not changed!*/
                           
    position: relative;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: inset 0 0 30px rgba(0, 175, 232, 0.2), 
                0 10px 30px rgba(0, 0, 0, 0.5);
}

.scifi-glass-control {
    border-radius: 20px !important; /*15px 15px 15px 15px !important;*/
    
    background: rgba(25, 51, 102, 0.8) !important;
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    color: #00afe8; 
    
    border: 1px solid rgba(0, 175, 232, 0.4) !important;

    padding: 10px;
    position: relative;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    box-shadow: inset 0 0 30px rgba(0, 175, 232, 0.2), 
                0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 95%;

}

.scifi-glass-control::before,
.scifi-glass-control::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: rgba(0, 175, 232, 0.6);
    border: 1px solid #00afe8;
}

.scifi-glass-control::before { 
    left: -4px; 
    box-shadow: -2px 0 10px #00afe8;
}

.scifi-glass-control::after { 
    right: -4px; 
    box-shadow: 2px 0 10px #00afe8;
}


.scifi-glass-2 {
    border: 1px solid #00d4ff !important;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 12px 30px;
    transition: all 0.4s ease;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.radius-10{
 
    border-radius: 0 15px 0 15px !important;

    color: #00d4ff !important;

    border: 1px solid #00d4ff !important;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);


    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3), 
                0 0 10px rgba(0, 212, 255, 0.2);
    
    clip-path: polygon(1% 0%, 100% 0%, 99% 100%, 0% 100%);
    

}

.radius-10:hover {

    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.5), 
                0 0 20px rgba(0, 212, 255, 0.4);
}

.faq-scifi {

    border-radius: 0 15px 0 15px !important;
    color: #00d4ff !important;
    border: 2px solid #00d4ff !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);    
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3),  
                0 0 10px rgba(0, 212, 255, 0.2);    
    clip-path: polygon(1% 0%, 100% 0%, 99% 100%, 0% 100%);

    -webkit-mask-image: linear-gradient(135deg, 
        black 0%, 
        rgba(0,0,0,0.3) 40%, 
        rgba(0,0,0,0.3) 60%, 
        black 100%);
    mask-image: linear-gradient(135deg, 
        black 0%, 
        rgba(0,0,0,0.3) 40%, 
        rgba(0,0,0,0.3) 60%, 
        black 100%);
}

.faq-scifi:hover {
    -webkit-mask-image: linear-gradient(135deg, black, black);
    mask-image: linear-gradient(135deg, black, black);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.5), 
                0 0 20px rgba(0, 212, 255, 0.4);
}

.my-group-fit {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.white-scifi a{
    color: #E0F7FA !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
.white-scifi {
    color: #E0F7FA !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
.white-scifi-2 a{
    color: #E2E8F0 !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
.white-scifi-2 {
    color: #E2E8F0 !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.scifi-frame {

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    filter: drop-shadow(0 0 2px #00d4ff);

}

.scifi-frame-content {

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.8));

}

.scifi-frame-story {
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    box-shadow: 
        -2px -2px 10px rgba(0, 212, 255, 0.2), 
        0 0 20px rgba(0, 212, 255, 0.2) !important;
}

.scifi-frame-2 {
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.1);
    /*background: rgba(0, 10, 20, 0.4);*/
    padding: 1px;
}
.scifi-frame-2::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, #00d4ff, transparent);
}

.scifi-frame-2::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, #00d4ff, transparent);
}

.circuit-hr-3 {
    border: none;
    height: 1px;

    background: linear-gradient(to right, transparent, rgba(0, 242, 255, 0.8), transparent);
    position: relative;

    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
    margin: 0;
}

.cosmic-hr-2 {
    border: none;
    height: 1px;
    background-image: linear-gradient(to right, transparent, #7b2ff7, #00f2ff, #7b2ff7, transparent);
    opacity: 0.8;
    margin: 0;
}

.hr-glow {
    border: none;
    height: 1px;

    background: linear-gradient(90deg, 
        transparent 0%, 
        #00d4ff 50%, 
        transparent 100%);

    box-shadow: 0 0 10px #00d4ff, 0 0 5px #00d4ff;
    margin: 0;
    opacity: 0.7;
}
.scifi-hr-soft {
    border: none;
    height: 5px;
    background: rgba(0, 175, 232, 0.2);

    box-shadow: 0 0 15px 1px rgba(0, 175, 232, 0.5);
    margin: 0;

}

.scifi-star-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 0;
    border: none;
    height: auto;
}

.scifi-star-dots::before,
.scifi-star-dots::after,
.scifi-star-dots-center {
    content: "";
    width: 4px;
    height: 4px;
    background: #00f2ff;
    border-radius: 50%;

    box-shadow: 0 0 8px #00f2ff, 0 0 15px #00f2ff, 0 0 25px #00f2ff;
    opacity: 0.8;
}

.scifi-star-dots-center {
    width: 5px;
    height: 5px;
    opacity: 1;
    box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff, 0 0 35px #00f2ff;
}

@keyframes star-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes star-pulse {
    0%, 100% { 
        opacity: 0.5;
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
    }
    50% { 
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
}
.star-flare-multi {
    position: relative;
    width: 4px;
    height: 4px;
    background: #00f2ff;
    border-radius: 50%;
    box-shadow: 0 0 12px #00f2ff, 0 0 20px #00f2ff;
    
    animation: star-pulse 4s ease-in-out infinite;

    display: inline-block;
}

.star-flare-multi::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f2ff, transparent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 3px #00f2ff;
}

.star-flare-multi::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, transparent, #00f2ff, transparent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 3px #00f2ff;
}

.star-flare-sub {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;

    animation: star-rotate 20s linear infinite;

    display: inline-block;

}

.star-flare-sub::before,
.star-flare-sub::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
}

.star-flare-sub::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}



.foreground-content {
    padding: 50px;
    position: relative;
    z-index: 1;
}


.scifi-bg {
    /* 1. ดึงรูปจาก URL ภายนอก */
    background-image: url('https://lamoonman.space/assets/site-ui/bg5.png') !important;
    
    /* 2. สั่งให้รูปติดอยู่กับที่ (Fixed Background) */
    background-attachment: fixed !important;
    
    /* 3. คุมขนาดและตำแหน่ง */
    background-size: cover !important;
    background-position: center center !important;
    /*
    filter: saturate(1.2) brightness(1.05) !important;
*/
}

/**/
.scifi-space-wrapper {
    /*min-height: 80vh;*/

    display: flex;
    justify-content: center;
    align-items: center;
    background: #0b0518; /* ดำอมม่วงลึกสุดใจ */
    position: relative;
    font-family: monospace, sans-serif;
    padding: 100px 0px;
    overflow: hidden;
}

/* 2. จำลองละอองดาวเนบิวลาจางๆ ด้านหลัง */
.space-stars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(rgba(157, 78, 221, 0.3) 1px, transparent 30px);
    background-size: 550px 550px, 350px 350px;
    opacity: 0.4;
}

/* 3. กล่องดักแด้แก้วสีม่วงอวกาศลึก (อัปเกรดความเนี๊ยบ) */
.scifi-glass-cocoon-purple-2 {
    /*
    background: rgba(35, 18, 62, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(157, 78, 221, 0.25);
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(157, 78, 221, 0.25),
        inset 0 0 30px rgba(157, 78, 221, 0.15) !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    */
    background: rgba(35, 18, 62, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(157, 78, 221, 0.25);
    
    /* 🔴 1. บังคับเป็นวงกลมไร้เหลี่ยม */
    border-radius: 50% !important; 
    
    /* 🔴 2. บังคับสัดส่วน 1:1 จอคอม/มือถือ จะได้ไม่เบี้ยวเป็นวงรี */
    aspect-ratio: 1 / 1 !important; 
    
    /* 🔴 3. กำหนดขนาด และใช้ Flexbox จัดเนื้อหาข้างในให้อยู่กึ่งกลางวงกลมเป๊ะๆ */
    max-width: 500px; /* ปรับลดลงมานิดนึงจาก 600px เพื่อให้เป็นวงกลมที่สมส่วนบนหน้าจอ */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 40px; /* ปรับพาดดิ้งให้เท่ากันทุกด้าน */
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 35px rgba(157, 78, 221, 0.3),
        inset 0 0 35px rgba(157, 78, 221, 0.2) !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

/* ลำแสงหมุนรอบดักแด้แก้ว */
.scifi-glass-cocoon-purple-2::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(224, 170, 255, 0.15), transparent 40%);
    animation: rotateCocoon2 10s linear infinite;
    z-index: 1;
}

.cocoon-content {
    position: relative;
    z-index: 2; /* ดึงเนื้อหาให้ลอยเหนือแสงหมุน */
}

/* 4. สถานะระบบ (ลูกเล่นไฟกะพริบไซไฟ) */
.system-status {
    font-size: 0.75rem;
    color: #e0aaff;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/*
.status-dot {
    width: 6px;
    height: 6px;
    background-color: #ff007f;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff007f;
    animation: blinkStatus 1.5s ease-in-out infinite;
}
*/
.status-dot {
    width: 6px;
    height: 6px;
    background-color: #b76eff; /* เปลี่ยนเป็นสีม่วงสว่างนุ่มๆ */
    border-radius: 50%;
    box-shadow: 0 0 8px #b76eff;
    animation: blinkStatus 2s ease-in-out infinite; /* ปรับเป็น 2 วินาทีให้กะพริบช้าลงดูผ่อนคลาย */
}

/* 5. หัวข้อใหญ่สไตล์โฮโลแกรม */
.scifi-title {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 400; /*900;*/
    letter-spacing: 6px;
    margin: 0 0 20px 0 !important;
    text-shadow: 0 0 15px rgba(224, 170, 255, 0.6);
}

/* 6. เส้นแบ่งแก้วเรืองแสงสีม่วงมาเจนต้า */
.glass-liner-purple {
    height: 2px;
    background: linear-gradient(to right, transparent, #9d4ede, #ff007f, #9d4ede, transparent);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
    margin: 25px 0;
    opacity: 0.8;
}

/* 7. ข้อความอธิบาย */
.scifi-text {
    color: #c7a7e3 !important;
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 1px;
    margin-bottom: 35px !important;
}

/* 8. ปุ่มกดสไตล์อินเตอร์เฟสคอมพิวเตอร์ยาน */
.scifi-btn-2 {
    display: inline-block;
    text-decoration: none !important;
    border: 1px solid rgba(224, 170, 255, 0.4);
    padding: 12px 30px;
    border-radius: 100px;
    background: rgba(157, 78, 221, 0.1);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(157, 78, 221, 0);
}
.scifi-btn-2:hover {
    background: rgba(157, 78, 221, 0.25);
    /*border-color: #ff007f;*/
    box-shadow: 
        0 0 15px rgba(255, 0, 127, 0.3),
        inset 0 0 10px rgba(255, 0, 127, 0.2);
    transform: translateY(-2px);
}
.btn-text {
    color: #e0aaff !important;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.scifi-btn-2:hover .btn-text {
    color: #ffffff !important;
    text-shadow: 0 0 8px #ff007f;
}

/* 🎬 9. ระบบแอนิเมชันควบคุมเครื่องยนต์ */
@keyframes rotateCocoon2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes blinkStatus {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
/*
.chapter-btn .wp-block-button__link:not([href]), 
.chapter-btn[id="soon"] .wp-block-button__link {
    cursor: default !important;
    pointer-events: none !important;
}


.chapter-btn[id="soon"] {
    cursor: default !important;
    pointer-events: none !important; 
}


.chapter-btn[id="soon"] .wp-block-button__link {
    cursor: default !important;
    pointer-events: none !important;
}
*/