/*
Theme Name: FWBTH_TEMP
Theme URI: http://example.com
Author: Your Name
Author URI: http://example.com
Description: A temporary WordPress theme FWBTH_TEMP
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fwbth_temp
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options
*/

html, body {
    touch-action: pan-x pan-y;
    overscroll-behavior: none;
    -ms-touch-action: pan-x pan-y;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

/* Reset basic */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background: #000000;
    overflow: hidden; /* Ã Â¸Â«Ã Â¹â€°Ã Â¸Â²Ã Â¸Â¡ Scroll Ã Â¸â„¢Ã Â¸Â­Ã Â¸Â body */
}

/* Ã Â¹Æ’Ã Â¸Å Ã Â¹â€° Safe Viewport Units Ã Â¹â‚¬Ã Â¸Å¾Ã Â¸Â·Ã Â¹Ë†Ã Â¸Â­Ã Â¸Â£Ã Â¸Â­Ã Â¸â€¡Ã Â¸Â£Ã Â¸Â±Ã Â¸Å¡Ã Â¸Â¡Ã Â¸Â·Ã Â¸Â­Ã Â¸â€“Ã Â¸Â·Ã Â¸Â­ Chrome/Safari */
body {
    
     /* Ã Â¸ÂÃ Â¸Â¶Ã Â¹Ë†Ã Â¸â€¡Ã Â¸ÂÃ Â¸Â¥Ã Â¸Â²Ã Â¸â€¡Ã Â¹ÂÃ Â¸â„¢Ã Â¸Â§Ã Â¸â„¢Ã Â¸Â­Ã Â¸â„¢ */
         /* Ã Â¸ÂÃ Â¸Â¶Ã Â¹Ë†Ã Â¸â€¡Ã Â¸ÂÃ Â¸Â¥Ã Â¸Â²Ã Â¸â€¡Ã Â¹ÂÃ Â¸â„¢Ã Â¸Â§Ã Â¸â€¢Ã Â¸Â±Ã Â¹â€°Ã Â¸â€¡ */
          /* dynamic viewport height */
    
    
    
    
    
    
       /* ทำให้ลูกทุกตัวอ้างอิงภายใน */
         /* ห้าม modal, div, หรือ id/class ใด ๆ ล้น */
    max-width: 480px;     /* ถ้าต้องการจำกัดความกว้าง */
    margin: 0 auto;       /* ให้อยู่กลางหน้าจอ */
         /* ตัวอย่างพื้นหลัง */
              /* ข้อความ */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);  /* รีเซ็ต context ของ fixed */
    contain: layout paint;     /* บังคับให้ทุก element อยู่ภายใน */
    isolation: isolate;        /* แยก layer ของ body */
}

/* Ã Â¹â‚¬Ã Â¸â„¢Ã Â¸Â·Ã Â¹â€°Ã Â¸Â­Ã Â¸Â«Ã Â¸Â²Ã Â¸Â«Ã Â¸Â¥Ã Â¸Â±Ã Â¸Â */
.main-content {
    width: 100%;
    max-width: 480px;       /* Ã Â¸ÂÃ Â¸Â§Ã Â¹â€°Ã Â¸Â²Ã Â¸â€¡Ã Â¸ÂªÃ Â¸Â¹Ã Â¸â€¡Ã Â¸ÂªÃ Â¸Â¸Ã Â¸â€ 540px */
    height: 100%;           /* Ã Â¸ÂªÃ Â¸Â¹Ã Â¸â€¡Ã Â¹â‚¬Ã Â¸â€¢Ã Â¹â€¡Ã Â¸Â¡ body */
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;       /* scroll Ã Â¸Â Ã Â¸Â²Ã Â¸Â¢Ã Â¹Æ’Ã Â¸â„¢ .main-content Ã Â¸â€“Ã Â¹â€°Ã Â¸Â²Ã Â¹â‚¬Ã Â¸â„¢Ã Â¸Â·Ã Â¹â€°Ã Â¸Â­Ã Â¸Â«Ã Â¸Â²Ã Â¹â‚¬Ã Â¸Â¢Ã Â¸Â­Ã Â¸Â° */
}

header.header-content {
    position: fixed;
    top: 0;
    left: 50%;               /* Ã Â¸ÂÃ Â¸Â¶Ã Â¹Ë†Ã Â¸â€¡Ã Â¸ÂÃ Â¸Â¥Ã Â¸Â²Ã Â¸â€¡Ã Â¹ÂÃ Â¸â„¢Ã Â¸Â§Ã Â¸â„¢Ã Â¸Â­Ã Â¸â„¢ */
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;        /* Ã Â¹â€žÃ Â¸Â¡Ã Â¹Ë†Ã Â¹â‚¬Ã Â¸ÂÃ Â¸Â´Ã Â¸â„¢Ã Â¹â‚¬Ã Â¸â„¢Ã Â¸Â·Ã Â¹â€°Ã Â¸Â­Ã Â¸Â«Ã Â¸Â² body */
    box-sizing: border-box;  /* padding Ã Â¹â€žÃ Â¸Â¡Ã Â¹Ë†Ã Â¸Â¥Ã Â¹â€°Ã Â¸â„¢ */
    z-index: 999;
    height: 100px;
    background-color: #080808;
}

main {
    position: fixed;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    z-index: 9;
    height: calc(100dvh - 190px);
}

#secondary {
    max-width: 65px;
    width: 100%;
    float: left;
    height: 100%;
    position: absolute;
    z-index: 999999999999999999999999999999999999999;
}

.content {
    max-width: calc(100% - 70px);
    width: 100%;
    float: right;
    background-color: #080808;
    height: 100%;
    overflow: hidden;
}

footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    z-index: 999;
    height: 80px;
    background-color: #080808;
    overflow: hidden;
}

.aside-list {
    max-width: 100%;
    width: 65px;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.aside-items {
    max-width: 65px;
    width: 65px;
    background-color: #080808;
    margin-bottom: 0;
    height: 58px;
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    opacity: 0.888;
}

img.aside-User {
    width: 100%;
}

.aside-items-padding {
    padding: 18px 22px 16px 22px;
}

.aside-items:hover {
    opacity: 0.22;
    transition: 0.4s;
    cursor: pointer;
}

/* FWB User Plugin Styles (List, Card, Grid, Load More) */

/* Container and Card Base */
.fwb-user-container {
    margin: 0 auto;
    padding: 0px 10px 0px 8px;
    position: fixed;
    width: 100%;
    height: calc(100% - 110px);
    overflow: auto;
    bottom: 35px;
    max-width: calc(100% - 20px);
}

.fwb-user-card {
    background: #ffffff00;
    display: flex;
    gap: 12px;
    position: relative;
    height: 56px;
}

img.chat-image {
    width: 15px;
    position: absolute;
    right: 0;
    top: 9px;
    opacity: 0.88;
}

img.fwb-frame-overlay-img {
    width: 42px;
    position: absolute;
    left: 0;
    top: 0;
}

.fwb-frame-wrapper img {
    width: 85px;
}


.fwb-rank-frame-group .fwb-frame-wrapper img {
}

.fwb-user-avatar img {
    margin-bottom: 0;
}

.fwb-user-name {
    font-weight: 300;
    margin-bottom: 0px;
    text-align: left;
    letter-spacing: 0.68px;
    font-size: 11px;
    padding-left: 18px;
}

.fwb-user-detail {
    font-size: 9px;
    margin-top: 9px;
    text-align: left;
}

.fwb-user-chat-btn {
    display: inline-block;
    background: #21759b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
}

/* Grid Layout */
.fwb-user-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Load More Button Styling */
.fwb-load-more-wrap {
    text-align: center;
    padding: 20px 0;
}
.fwb-load-more-btn {
    background: #ddd;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}
.fwb-load-more-btn:hover:not(:disabled) {
    background: #ccc;
}
.fwb-load-more-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.fwb-user-avatar {
    width: 42px;
    float: left;
    height: 42px;
}

img.avatar.avatar-80.photo {
    width: 35px;
    height: 35px;
    border: 5px solid #000;
}

.fwb-user-listed {
    float: left;
    max-width: calc(100% - 42px);
    width: 100%;
    font-size: 12px;
}

a.bpbm-pm-button.fwb-user-chat-btn.bm-fast-start {
    top: -5px;
    position: absolute;
    right: -9px;
    color: #fff;
    background: #4700ff00;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 20px;
    padding-bottom: 33px;
    border-radius: 0;
    text-decoration: none;
    font-size: 0px;
    width: 84px;
    z-index: 9999;
}

.fwb-user-rank {
    width: fit-content;
    margin-top: 0 !important;
    position: absolute;
    top: 0px;
    left: 50px;
}

.fwb-user-rank img {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50%;
    object-fit: cover;
}

span.user-age {
    background-color: #191919;
    padding: 2px 8px 2px 6px;
    border-radius: 50px;
    margin-right: 2px;
    color: #999;
}

.fwb-user-detail img {
}

span.user-zodiac {
    background-color: #191919;
    padding: 2px 8px 2px 6px;
    border-radius: 50px;
    margin-right: 1px;
    color: #999;
}

span.user-gender {
    background-color: #191919;
    padding: 2px 8px 2px 6px;
    border-radius: 50px;
    margin-right: 2px;
    color: #999;
}

span.user-province {
    background-color: #191919;
    padding: 2px 8px 2px 6px;
    border-radius: 50px;
    margin-right: 2px;
    color: #999;
}

img.icnsp {
    width: 8px;
    position: relative;
    top: 1px;
    margin-right: 3px;
    opacity: 0.88;
}

.fwb-user-status-list-badge {
    width: 6px;
    height: 6px;
    font-size: 0;
    position: absolute;
    top: 9px;
    left: 5px;
    border-radius: 50%;
    border: 2px solid #000000;
    z-index: 99;
}

.fwb-user-status-wrapper {
    position: absolute;
    left: -5px;
    z-index: 99999;
    top: -5px;
}


#fwb-reset-btn {
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    background-color: #00000000;
    position: absolute;
    left: 10px;
    opacity: 0.66;
    top: 5px;
}

#fwb-sort-order-btn {
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    background-color: #00000000;
    position: absolute;
    right: 89px;
    top: 6px;
    opacity: 0.66;
}

#fwb-filter-gender-btn {
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    background-color: #00000000;
    position: absolute;
    right: 64px;
    top: 6px;
    opacity: 0.66;
}

#fwb-filter-province-btn {
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    background-color: #00000000;
    position: absolute;
    right: 37px;
    top: 6px;
    opacity: 0.66;
}

#fwb-filter-zodiac-btn {
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    background-color: #00000000;
    position: absolute;
    right: 12px;
    top: 6px;
    opacity: 0.66;
}

#fwb-filter-status-btn {
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    background-color: #00000000;
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.66;
    display: none;
}

.fwb-user-filter-bar.fwb-icon-only-mode {
    border-bottom: 1px solid #000000;
    padding: 10px 0 6px 0;
    border-top: 1px solid #000000;
    height: 24px;
    position: relative;
    width: 100%;
    background-color: #080808;
}

img.fwb-btn-icon {
    width: 12px;
    position: relative;
    top: 3px;
}

#fwb-reset-btn:active {
    opacity: 0.168;
}

#fwb-reset-btn:active {
    opacity: 0.168;
}

#fwb-sort-order-btn:active {
    opacity: 0.168;
}

#fwb-filter-gender-btn:active {
    opacity: 0.168;
}

#fwb-filter-province-btn:active {
    opacity: 0.168;
}

#fwb-filter-zodiac-btn:active {
    opacity: 0.168;
}

#fwb-filter-status-btn:active {
    opacity: 0.168;
}

#fwb-active-filters-status {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.68px;
    line-height: 33px;
    background-color: #000000;
    color: #999;
    z-index: 99999999;
    position: absolute;
    width: 210px;
    text-align: right;
    top: 40px;
    right: 0px;
    padding-right: 10px;
    height: 30px;
    overflow: hidden;
}

p.fwb-no-results-msg {
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 0;
}

.fwb-user-container {
  overflow: auto;         /* Ã Â¹Æ’Ã Â¸Â«Ã Â¹â€°Ã Â¸Â¢Ã Â¸Â±Ã Â¸â€¡ scroll Ã Â¹â€žÃ Â¸â€Ã Â¹â€° Ã Â¹ÂÃ Â¸â€¢Ã Â¹Ë†Ã Â¸â€¹Ã Â¹Ë†Ã Â¸Â­Ã Â¸â„¢ scrollbar */
  scrollbar-width: none;  /* Ã Â¸ÂªÃ Â¸Â³Ã Â¸Â«Ã Â¸Â£Ã Â¸Â±Ã Â¸Å¡ Firefox */
  -ms-overflow-style: none; /* Ã Â¸ÂªÃ Â¸Â³Ã Â¸Â«Ã Â¸Â£Ã Â¸Â±Ã Â¸Å¡ IE Ã Â¹ÂÃ Â¸Â¥Ã Â¸Â° Edge Ã Â¹â‚¬Ã Â¸ÂÃ Â¹Ë†Ã Â¸Â² */
}

/* Ã Â¸ÂªÃ Â¸Â³Ã Â¸Â«Ã Â¸Â£Ã Â¸Â±Ã Â¸Å¡ Chrome, Safari, Opera */
.fwb-user-container::-webkit-scrollbar {
  display: none;
  width: 0px;
  height: 0px;
}

/* Ã Â¸â€ºÃ Â¹â€°Ã Â¸Â­Ã Â¸â€¡Ã Â¸ÂÃ Â¸Â±Ã Â¸â„¢Ã Â¹â€žÃ Â¸Â¡Ã Â¹Ë†Ã Â¹Æ’Ã Â¸Â«Ã Â¹â€° scrollbar Ã Â¸ÂÃ Â¸Â¥Ã Â¸Â±Ã Â¸Å¡Ã Â¸Â¡Ã Â¸Â²Ã Â¹Æ’Ã Â¸â„¢Ã Â¸â€”Ã Â¸Â¸Ã Â¸ÂÃ Â¸â€šÃ Â¸â„¢Ã Â¸Â²Ã Â¸â€Ã Â¸Â«Ã Â¸â„¢Ã Â¹â€°Ã Â¸Â²Ã Â¸Ë†Ã Â¸Â­ */
@media (max-width: 1024px),
       (max-width: 768px),
       (max-width: 480px) {
  .fwb-user-container {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .fwb-user-container::-webkit-scrollbar {
    display: none;
    width: 0px;
    height: 0px;
  }
}

#fwb-user-pagination {
    position: absolute;
    bottom: 2px;
    width: 100%;
}

.fwb-pagination-btn.fwb-filter-btn {
    width: 100%;
    padding-block: 0;
    padding-inline: 0;
    border-width: 0;
    background-color: #080808;
    color: #ababab;
    font-size: 12px;
    line-height: 39px;
    border-top: 1px solid #000000;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.168px;
    font-weight: 400;
    cursor: pointer;
}

/* Hover effect */
.fwb-pagination-btn.fwb-filter-btn:hover {
    color: #666;
	transition:0.2s
}

        .fwb-status-summary-inline { 
            /* Ã Â¹Æ’Ã Â¸Å Ã Â¹â€° Flexbox Ã Â¹â‚¬Ã Â¸Å¾Ã Â¸Â·Ã Â¹Ë†Ã Â¸Â­Ã Â¸Ë†Ã Â¸Â±Ã Â¸â€Ã Â¹â‚¬Ã Â¸Â£Ã Â¸ÂµÃ Â¸Â¢Ã Â¸â€¡Ã Â¹ÂÃ Â¸â„¢Ã Â¸Â§Ã Â¸â„¢Ã Â¸Â­Ã Â¸â„¢ */
            display: block;
            flex-wrap: wrap;
            align-items: center;
            gap: 15px; /* Ã Â¸Â£Ã Â¸Â°Ã Â¸Â¢Ã Â¸Â°Ã Â¸Â«Ã Â¹Ë†Ã Â¸Â²Ã Â¸â€¡Ã Â¸Â£Ã Â¸Â°Ã Â¸Â«Ã Â¸Â§Ã Â¹Ë†Ã Â¸Â²Ã Â¸â€¡Ã Â¸Â£Ã Â¸Â²Ã Â¸Â¢Ã Â¸ÂÃ Â¸Â²Ã Â¸Â£ */
            font-size: 11px;
            font-weight: 300;
        }
        .fwb-status-item {
            align-items: center;
            white-space: nowrap; /* Ã Â¸â€ºÃ Â¹â€°Ã Â¸Â­Ã Â¸â€¡Ã Â¸ÂÃ Â¸Â±Ã Â¸â„¢Ã Â¸ÂÃ Â¸Â²Ã Â¸Â£Ã Â¸â€šÃ Â¸Â¶Ã Â¹â€°Ã Â¸â„¢Ã Â¸Å¡Ã Â¸Â£Ã Â¸Â£Ã Â¸â€”Ã Â¸Â±Ã Â¸â€Ã Â¹Æ’Ã Â¸Â«Ã Â¸Â¡Ã Â¹Ë†Ã Â¸Â£Ã Â¸Â°Ã Â¸Â«Ã Â¸Â§Ã Â¹Ë†Ã Â¸Â²Ã Â¸â€¡Ã Â¸Ë†Ã Â¸Â¸Ã Â¸â€Ã Â¸ÂÃ Â¸Â±Ã Â¸Å¡Ã Â¸â€¢Ã Â¸Â±Ã Â¸Â§Ã Â¹â‚¬Ã Â¸Â¥Ã Â¸â€š */
            background-color: #0f0f0f;
            margin-right: 5px;
            padding: 0 6px 0 4px;
            border-radius: 50px;
            font-family: 'Noto Sans Thai';
            font-size: 10px;
        }
        .fwb-status-dot {
            width: 8px; 
            height: 8px; 
            border-radius: 50%; 
            display: inline-block; 
            margin-right: 4px;
        }
		
		.fwb-user-status-display {
			font-size: 11px;
			background-color: #000000;
			max-width: 100%;
			width: 100%;
			height: 26px;
			padding: 8px 0 0px 0;
			position: absolute;
			top: 40px;
			left: 0;
		}

.fwb-status-summary-inline-right {width: fit-content;float: right;}

.fwb-status-summary-inline-left {
    width: fit-content;
    float: left;
    padding-left: 12px;
}

#fwb-user-list-content {
    padding-top: 6px;
    padding-bottom: 2px;
}
.wp-radio-player-details {
    display: none;
}

.wp-radio-player.align-center.shortcode {
    padding: 0 !important;
    border: none;
    box-shadow: unset !important;
    display: block !important;
    align-items: center;
    flex-wrap: wrap;
    flex-flow: column;
    justify-content: flex-start;
    max-width: 80px !important;
    width: 100% !important;
    background: #141414 !important;
    border-radius: 0 !important;
    height: 80px;
    position: absolute;
    top: 0;
    right: 0px;
    overflow: hidden;
    z-index: 99999999999999;
}

.wp-radio-player.shortcode .wp-radio-player-controls {
    padding: 0;
    order: 3;
    margin-top: 0 !important;
}

.wp-radio-player.full-width {
    bottom: 0;
    z-index: 9999999999 !important;
    position: fixed;
    width: 100%;
    height: 80px !important;
    box-shadow: unset !important;
    border-radius: 0;
    flex-flow: row;
    padding: 0 !important;
    max-width: 480px !important;
    overflow: hidden;
}

.wp-radio-player.full-width .wp-radio-player-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-flow: row;
    width: 100% !important;
    margin-left: 20px;
    max-width: calc(100% - 240px) !important;
}

.wp-radio-player-controls .play-btn {
    border: 0px solid !important;
    border-radius: 0 !important;
    padding: 0px !important;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999999999;
    background-color: #080808 !important;
    top: 0px;
}

.wp-radio-player-song-title {
    font-size: 10px;
    letter-spacing: 0.68px;
    padding-top: 3px;
    opacity: 0.68;
    font-weight: 100;
}

.wp-radio-player-status .status-text-live, .wp-radio-player-status .status-text-offline {
    padding: 3px 10px 1px 10px !important;
    border-radius: 25px !important;
    color: #fff;
    background: blue !important;
    font-size: 8px;
    line-height: 10px;
}


.wp-radio-player.full-width .wp-radio-player-details .station-meta .station-title {
    font-size: 11px !important;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 0.68px;
}

.wp-radio-player.full-width .wp-radio-player-details .station-thumbnail {
    min-width: 36px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 0 !important;
}

.wp-radio-player.full-width .wp-radio-player-controls>* {
    margin: 0 15px;
    position: absolute !important;
    left: 0 !important;
    opacity: 0 !important;
}


.wp-radio-listing {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border: 0px solid rgb(0 0 0 / 0%);
    justify-content: flex-start;
    align-items: center;
    line-height: 1;
    margin-bottom: 5px;
    width: 100%;
    border-radius: 0 !important;
    overflow: hidden;
    background: #ffffff00;
    box-shadow: unset !important;
}

i.dashicons.dashicons-heart {
    color: #ffffff;
}

i.dashicons.dashicons-controls-play {
    color: white;
}

.footer-wp-radio-click {
    width: 200px;
    height: 100%;
    position: absolute;
    background-color: #080808;
    z-index: 9999999999999999999999999;
    right: 0;
}

.wp-radio-listing .listing-details .listing-heading .station-name {
    font-size: 11px;
    text-decoration: none !important;
    font-weight: 300;
    box-shadow: none;
    color: #ffffff;
    letter-spacing: 0.68px;
}

.wp-radio-listing .listing-details .listing-heading .slogan {
    margin-top: 5px;
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #c9c9c9;
    letter-spacing: 0.68px;
    font-weight: 200;
    width: 80%;
    margin-bottom: 1px;
    display: none;
}

.wp-radio-listing .listing-thumbnail img {
    border-radius: 50% !important;
    width: 42px !important;
    -o-object-fit: contain;
    object-fit: contain;
}

.wp-radio-listing .listing-details .listing-heading .radio-country a {
    text-decoration: none !important;
    box-shadow: none;
    margin-right: 3px;
    font-size: 10px !important;
    display: flex;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.wp-radio-listing .listing-details .genres {
    font-size: 10px !important;
    color: #fff !important;
    height: 20px;
    margin-left: -3px;
}

.wp-radio-listing .listing-details .genres a {
    text-decoration: none !important;
    text-transform: capitalize;
    font-size: 9px !important;
    border: 0px solid #000 !important;
    color: #949494;
    padding: 4px 8px 3px 8px;
    border-radius: 25px;
    margin: 2px 3px;
    font-weight: 200;
    display: inline-flex;
    align-items: center;
    background-color: #191919;
    letter-spacing: 0.68px;
}

.radio-country {
    display: none !important;
}

.wp-radio-listing .listing-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 15px;
    flex: 1;
    padding: 0px 0px 0px 0px;
    overflow: hidden;
    position: relative;
    top: 0px;
}


.wp-radio-listing .listing-thumbnail {
    max-width: 50px;
    padding: 0px 0 10px 10px;
    position:relative;
    top: 5px;
}

.wp-radio-listing .listing-details .listing-heading {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    margin-bottom: 5px;
    flex-flow: column;
    overflow: hidden;
    color: #fff;
}
.wp-radio-listing .play-btn-wrap .favorite-btn .dashicons {
    font-size: 15px;
    position: relative;
    top: 0.5px;
}
.wp-radio-listing .play-btn-wrap button .dashicons {
    font-size: 18px!important;
}

.play-btn-wrap {
    position: relative;
    top: 7px;
    opacity: 0.68 !important;
}

.play-btn-wrap button.active, .play-btn-wrap button:hover, .wp-radio-player-controls button.active, .wp-radio-player-controls button:hover {
    color: #ffffff !important;
    transform: scale(1.15);
}

.button-row {
  display: block;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 0px 0px 0px 0px;
  border-bottom: 1px solid #000;
  padding: 10px 5px;
}

.btn-primary {
  background: #6a5acd00;
  color: #fff;
  border: none;
  padding: 3px 8px;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
  font-family: 'Noto Sans Thai';
  letter-spacing: 0.11px;
  font-weight: 300;
}


.btn-secondary {
  background: #6a5acd00;
  color: #fff;
  border: none;
  padding: 3px 8px;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
  font-family: 'Noto Sans Thai';
  letter-spacing: 0.24px;
  font-weight: 300;
  float: right;
}


.btn-danger {
  background: #6a5acd00;
  color: #fff;
  border: none;
  padding: 3px 8px;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
  font-family: 'Noto Sans Thai';
  letter-spacing: 0.24px;
  font-weight: 300;
  float: right;
}


button.btn-danger i.dashicons.dashicons-heart {
    font-size: 16px;
    position: relative;
    top: 1px;
}
.play-btn-wrap button .dashicons, .wp-radio-player-controls button .dashicons {
    height: auto;
    width: auto;
    font-size: 1.68rem !important;
    position: relative;
    z-index: 99999999;
}

.user-online-row {
    padding: 8px 0px 0px 0px;
    height: 26px;
    background-color: black;
    margin-bottom: 5px;
}

.user-online-filtter {
    height: 42px;
    position: relative;
}

.radio-filter-button {
    padding: 14px 13px;
    margin: 0px;
    background-color: #4caf5000; /* Ã Â¸ÂªÃ Â¸ÂµÃ Â¹â‚¬Ã Â¸â€šÃ Â¸ÂµÃ Â¸Â¢Ã Â¸Â§ */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.radio-right-filtter {
    padding: 14px 9px;
    margin: 0px;
    background-color: #4caf5000; /* Ã Â¸ÂªÃ Â¸ÂµÃ Â¹â‚¬Ã Â¸â€šÃ Â¸ÂµÃ Â¸Â¢Ã Â¸Â§ */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    float: right;
}

.radio-online-filtter {
    height: 42px;
    position: relative;
    padding-right: 1px;
    opacity: 0.8;
}

img.radio-filtter {
    width: 12px;
}

span.search-sp {
    font-size: 12px;
    transition: 0.3s;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.11px;
    font-weight: 300;
    position: relative;
    left: 3px;
    top: -3px;
}


.page-radio-content {
    max-width: 100%;
    width: 100%;
    height: calc(100% - 121px) !important;
    overflow: auto;
    margin-top: -5px;
    padding-top: 5px;
}

.page-radio-content {
    overflow: auto; /* Ã Â¸Â«Ã Â¸Â£Ã Â¸Â·Ã Â¸Â­ overflow-y: auto; Ã Â¸â€“Ã Â¹â€°Ã Â¸Â²Ã Â¹â‚¬Ã Â¸Â¥Ã Â¸Â·Ã Â¹Ë†Ã Â¸Â­Ã Â¸â„¢Ã Â¹ÂÃ Â¸â„¢Ã Â¸Â§Ã Â¸â€¢Ã Â¸Â±Ã Â¹â€°Ã Â¸â€¡ */
}

/* Ã Â¸â€¹Ã Â¹Ë†Ã Â¸Â­Ã Â¸â„¢ scrollbar Ã Â¸ÂªÃ Â¸Â³Ã Â¸Â«Ã Â¸Â£Ã Â¸Â±Ã Â¸Å¡ Chrome, Edge, Safari */
.page-radio-content::-webkit-scrollbar {
    width: 0px;
    height: 0px; /* Ã Â¸â€“Ã Â¹â€°Ã Â¸Â²Ã Â¹â‚¬Ã Â¸Â¥Ã Â¸Â·Ã Â¹Ë†Ã Â¸Â­Ã Â¸â„¢Ã Â¹ÂÃ Â¸â„¢Ã Â¸Â§Ã Â¸â„¢Ã Â¸Â­Ã Â¸â„¢Ã Â¸â€Ã Â¹â€°Ã Â¸Â§Ã Â¸Â¢ */
}

/* Firefox */
.page-radio-content {
    scrollbar-width: none; /* Ã Â¸â€¹Ã Â¹Ë†Ã Â¸Â­Ã Â¸â„¢ scrollbar */
}

/* IE/Edge Legacy */
.page-radio-content {
    -ms-overflow-style: none;
}

.listing-footer {
    width: 100%;
    margin: 0px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: unset !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

a.prev.page-numbers {
    position: fixed;
    width: 100%;
    max-width: 410px;
    bottom: 0;
    border: 0 solid #000 !important;
    z-index: 999999999;
    background-color: #080808;
    padding: 9px 0 !important;
    border-top: 1px solid #000000 !important;
    border-radius: 0px !important;
    right: 0;
}

a.next.page-numbers {
    position: fixed;
    width: 100%;
    max-width: 410px;
    bottom: 0;
    border: 0 solid #000 !important;
    z-index: 999999999;
    background-color: #080808;
    padding: 9px 0 !important;
    border-top: 1px solid #000000 !important;
    border-radius: 0px !important;
	right: 0;
}

i.dashicons.dashicons-arrow-right-alt {
    color: #999;
    font-size: 14px;
    position: relative;
    top: 2px;
}

i.dashicons.dashicons-arrow-left-alt {
    color: #999;
    font-size: 14px;
    position: relative;
    top: 2px;
}

form.wp-radio-pagination-form {
    display: none !important;
}

a.page-numbers {
    display: none;
}

span.page-numbers.current {
    display: none !important;
}

a.prev.page-numbers {
    display: block !important;
	text-align: center;
}

a.next.page-numbers {
    display: block !important;
	text-align: center;
}

.page-radio-next {
    position: relative;
    top: -35px;
    z-index: 999999999;
    text-align: center;
    color: #ababab;
    font-size: 12px;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.168px;
    cursor: pointer;
}

.page-radio-next:hover {
    color: #ffffff;
}

.wp-radio-listings {
    padding-bottom: 45px;
}

span.slogan {
    display: none !important;
}

.play-btn-wrap {
    top: 7px;
}

.header-main-content-avatar {
    margin: 11px 11px 10px 11px;
    width: 68px;
    max-width: 68px;
    height: 68px;
}

img.avatar.avatar-96.photo.current-user-avatar {
    width: 68px;
    height: 68px;
    border: 1px solid #000000;
    background-color: black;
    padding: 5px;
    border-radius: 0 !important;
}

.header-main-content {
    display: flex;
    gap: 10px;
}


.header-main-content-meta-hi {
    font-size: 10px;
    letter-spacing: 0.68px;
    color: #999;
    padding-bottom: 1px;
    position: relative;
    top: 4px;
    font-weight: 300;
}

.header-main-content-meta {
    padding-top: 15px;
}

.header-main-content-meta-name {
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
}

.user-rank-wrap img#mycred_rank {
    border-radius: 50%;
    object-fit: cover;
}

.user-rank-wrap .user-display-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

/* à¹€à¸žà¸´à¹ˆà¸¡à¹‚à¸„à¹‰à¸” CSS à¸™à¸µà¹‰à¹€à¸‚à¹‰à¸²à¹„à¸›à¹ƒà¸™à¹„à¸Ÿà¸¥à¹Œ style.css à¸‚à¸­à¸‡ Theme à¸„à¸¸à¸“ */
.user-rank-profile-info {
    /* à¹ƒà¸Šà¹‰ Flexbox à¹€à¸žà¸·à¹ˆà¸­à¸ˆà¸±à¸”à¸­à¸‡à¸„à¹Œà¸›à¸£à¸°à¸à¸­à¸šà¹ƒà¸«à¹‰à¸­à¸¢à¸¹à¹ˆà¹ƒà¸™à¹à¸–à¸§à¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸™ */
    display: flex;
    align-items: center; /* à¸ˆà¸±à¸”à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡à¸•à¸²à¸¡à¹à¸™à¸§à¸•à¸±à¹‰à¸‡ */
    gap: 0px; /* à¹€à¸§à¹‰à¸™à¸Šà¹ˆà¸­à¸‡à¸§à¹ˆà¸²à¸‡à¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸£à¸¹à¸›à¸à¸±à¸šà¸Šà¸·à¹ˆà¸­ */
    margin-left: -2px;
    margin-top: 2px;
    position: relative;
    top: 3px;
}

.user-rank-profile-info .mycred-rank-image {
    width: 20px; /* à¸à¸³à¸«à¸™à¸”à¸‚à¸™à¸²à¸”à¸£à¸¹à¸›à¸ à¸²à¸žà¸•à¸²à¸¡à¸•à¹‰à¸­à¸‡à¸à¸²à¸£ */
    height: 20px;
    border-radius: 50%; /* à¸—à¸³à¹ƒà¸«à¹‰à¸£à¸¹à¸›à¸ à¸²à¸žà¹€à¸›à¹‡à¸™à¸§à¸‡à¸à¸¥à¸¡ */
    object-fit: cover;
}

.user-rank-profile-info .user-display-name {
    /* à¸ˆà¸±à¸”à¸£à¸¹à¸›à¹à¸šà¸šà¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡à¸«à¸²à¸à¸ˆà¸³à¹€à¸›à¹‡à¸™ */
    font-weight: bold;
}

img.mycred-rank-image {
    width: 16px;
}

span.user-display-name {
    margin-left: 2px;
}

.header-main-content-meta-coin {
    background-color: #000000;
    padding: 2px 8px 4px 8px;
    margin-top: 6px;
    border: 1px solid #0c0c0c;
    font-size: 16px;
    font-weight: 600;
    width: 140px;
    font-family: Oswald;
    letter-spacing: 0.68px;
    margin-left: -1px;
    position: relative;
}

img.fwb-coin-img {
    position: absolute;
    width: 24px;
    right: 2px;
}

span.fwb-coin {
    right: 1px;
    position: absolute;
}

.header-main-content-edit {
    width: 100px;
    height: 76px;
    position: absolute;
    right: 11px;
    top: 12px;
}
.grid-container {
    width: 100px;     /* à¸à¸£à¸­à¸šà¸£à¸§à¸¡ width */
    height: 78px;     /* à¸à¸£à¸­à¸šà¸£à¸§à¸¡ height */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 à¸„à¸­à¸¥à¸±à¸¡à¸™à¹Œ */
    grid-template-rows: repeat(2, 1fr);    /* 2 à¹à¸–à¸§ */
    gap: 5px; /* à¸Šà¹ˆà¸­à¸‡à¸§à¹ˆà¸²à¸‡à¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡ grid items */
    box-sizing: border-box;
}

.grid-item {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: relative;
}
.grid-item-title {
    max-width: 100%;
    width: 100%;
    font-size: 7px;
    text-align: center;
    position: absolute;
    bottom: 0;
    height: 14px;
    background-color: #111111;
    line-height: 14px;
    font-family: Oswald;
}
img.item-profile {
    width: 16px;
    position: relative;
    top: -5px;
    left: 0.5px;
}

    .fwb-music-player-container {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 350px;
    }
    .music-player-toggle {
        background: #0073aa00;
        color: white;
        border: none;
        border-radius: 0;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
        line-height: 1;
        padding: 0;
        position: relative;
        top: 1px;
        left: -1px;
        opacity: 0.68;
    }
    .music-details {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 8px;
        font-weight: 200;
        position: absolute;
        bottom: -3px;
        width: 56px;
        left: 7px;
        color: #ffffff9c;
    }
    .music-track-name {
        font-weight: 300;
        letter-spacing: 0.88px;
    }
.header-main-content-music {
    position: absolute;
    top: 15px;
    left: 16px;
}

.user-page-header {
    max-width: 100%;
    width: 100%;
    background-color: #080808;
    height: calc(100% - 46px - 40px - 15px);
}

.user-page {
    position: relative;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    height: calc(100% - 3px);
}

.user-page-header-meta-left {
    width: 100%;
    max-width: 85px;
    float: left;
    position: relative;
    height: 85px;
}

.user-page-header-meta-right {
    width: 100%;
    float: right;
    position: relative;
    max-width: calc(100% - 80px);
    height: fit-content;
    margin-top: 5px;
}

.user-page-header-meta {
    width: 100%;
    float: left;
    position: absolute;
    display: flex;
    gap: 10px;
    padding: 10px;
    max-width: calc(100% - 20px);
    height: 85px;
    overflow: hidden;
    z-index: 999999999;
    background-color: #080808;
    bottom: -4px;
}

.user-page-header-meta-left-avatar {
    width: 100%;
    height: 85px;
    max-width: calc(100% - 0px);
}

img.user-page-header-meta-left-avatar-img {
    width: 100%;
    height: auto;
    border: 10px solid #000;
    max-width: calc(100% - 20px);
}


.user-page-header-meta-right-name h2 {
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    letter-spacing: 0.68px;
    margin-block-start: 0;
    margin-block-end: 0;
}

.user-page-header-meta-right-rank {
    display: flex;
}

.user-profile-container img {
    width: 20px;
    position: relative;
    top: -13px;
    left: -3px;
}

.user-profile-container span {
    font-size: 10px;
    letter-spacing: 0.68px;
    position: relative;
    top: -2px;
    font-weight: 200;
    color: #999;
    left: -25px;
}

.user-page-header-meta-right-name {
    margin-bottom: -5px;
    padding-left: 20px;
    width: 100px;
    overflow: hidden;
    height: 17px;
}

.user-page-header-meta-right-fooer {
    position: absolute;
    top: 0;
    max-width: 100%;
    width: 100%;
    padding-block: 0;
    padding-inline: 0;
    border-width: 0;
    background-color: #080808;
    color: #e2e2e2;
    font-size: 12px;
    line-height: 32px;
    border-bottom: 1px solid #000000;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.368px;
    font-weight: 300;
    cursor: pointer;
    text-align: center;
    height: 45px;
    overflow: hidden;
    z-index: 99999;
}

.grid-container-user {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 5px;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	left: -1px;
	position: relative;
}

.grid-item-user {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #000000;
	font-size: 10px;
	overflow: hidden;
	position: relative;
}

.grid-item-icon-user img.item-profile-user {
	width: 17px;
	height: 17px;
	object-fit: contain;
	display: block;
}

.grid-item-title-user {
	font-size: 8px;
	color: #ffffff;
	text-align: center;
	max-width: 100%;
	background-color: #111111;
	position: absolute;
	bottom: 0;
	width: 100%;
	line-height: 11px;
	padding-top: 1px;
	font-family: Oswald;
	padding-bottom: 1px;
}

.grid-item-icon-user {
    position: relative;
    top: -7px;
}

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.user-page-header-meta-right-post {
    height: 100%;
    max-width: calc(100% - 20px);
    width: 100%;
    display: inline-block;
    background-color: #11111100;
    position: absolute;
    height: calc(100% - 53px);
}

ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
    position: relative;
}

li {
    display: block;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

.user-page-header-meta-right-post {
    overflow: auto; /* à¸¢à¸±à¸‡à¸„à¸‡à¹€à¸¥à¸·à¹ˆà¸­à¸™à¹„à¸”à¹‰ */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.user-page-header-meta-right-post::-webkit-scrollbar {
    width: 0;  /* Chrome, Safari, Opera */
    height: 0;
}

.user-posts-list {
    list-style: none;
    padding: 1px;
    margin: 0;
}
.user-post-item {
    display: flex;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 10px;
}
.user-post-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
}
.post-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    margin-right: 10px;
}
.post-info {
    flex: 1;
    font-family: 'Noto Sans Thai';
}
.post-title {
    font-size: 11px;
    margin: 2px 0 -1px 0;
    font-family: 'Noto Sans Thai';
    font-weight: 200;
    letter-spacing: 0.68px;
    line-height: 14px;
}
.post-excerpt {
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    margin: 0 0 0px;
    font-weight: 300;
    letter-spacing: 0.68px;
}
.post-date {
    color: #999;
    font-size: 8px;
    margin: 0px 0 0px 0;
    font-family: 'Oswald';
    font-weight: 300;
    letter-spacing: 0.68px;
    background-color: #191919;
    padding: 1px 9px 3px 9px;
    border-radius: 25px;
}

.user-page-header-meta-right-fooer-flex {
    top: 6px;
    display: flex;
    gap: 5px;
    padding: 0;
    position: relative;
}

.user-page-header-meta-right-fooer-col {
    width: 33.33%;
    background-color: #00000000;
}

img.user-post {
    position: relative;
    top: 3px;
    opacity: 0.88;
    width: 13px;
}

/* 1. à¸à¸³à¸«à¸™à¸”à¸‚à¸­à¸šà¹€à¸‚à¸•à¸à¸²à¸£à¸—à¸³à¸‡à¸²à¸™à¸‚à¸­à¸‡ Modal */
.user-page-header {
    position: relative; 
}

/* 2. à¸ªà¹„à¸•à¸¥à¹Œà¸žà¸·à¹‰à¸™à¸à¸²à¸™à¸‚à¸­à¸‡ Modal */
.custom-modal {
    position: absolute;
    /* à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸ˆà¸°à¹€à¸•à¹‡à¸¡à¸žà¸·à¹‰à¸™à¸—à¸µà¹ˆà¸‚à¸­à¸‡ .user-page-header */
    top: 45px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5); /* à¸žà¸·à¹‰à¸™à¸«à¸¥à¸±à¸‡à¸—à¸¶à¸šà¹à¸ªà¸‡ */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* à¸ˆà¸±à¸”à¹ƒà¸«à¹‰à¹€à¸™à¸·à¹‰à¸­à¸«à¸²à¸­à¸¢à¸¹à¹ˆà¸”à¹‰à¸²à¸™à¸¥à¹ˆà¸²à¸‡ */
    visibility: hidden; /* à¸‹à¹ˆà¸­à¸™à¹€à¸£à¸´à¹ˆà¸¡à¸•à¹‰à¸™ */
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

/* 3. à¸ªà¹„à¸•à¸¥à¹Œà¹€à¸¡à¸·à¹ˆà¸­ Modal à¹€à¸›à¸´à¸” */
.custom-modal.is-open {
    visibility: visible;
    opacity: 1;
}

/* 4. à¸ªà¹„à¸•à¸¥à¹Œà¸‚à¸­à¸‡ Content Box à¸—à¸µà¹ˆà¸ˆà¸°à¸¡à¸µà¸à¸²à¸£à¹€à¸¥à¸·à¹ˆà¸­à¸™ */
.modal-content {
    background: #080808;
    width: 100%;
    padding: 10px 10px 0px 10px;
    transform: translateY(100%); /* à¹€à¸£à¸´à¹ˆà¸¡à¸•à¹‰à¸™: à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸¥à¸‡à¹„à¸›à¸”à¹‰à¸²à¸™à¸¥à¹ˆà¸²à¸‡ (à¸‹à¹ˆà¸­à¸™) */
    transition: transform 0.3s ease-out; /* Animation à¸à¸²à¸£à¹€à¸¥à¸·à¹ˆà¸­à¸™ */
    /* à¸à¸³à¸«à¸™à¸”à¸„à¸§à¸²à¸¡à¸ªà¸¹à¸‡à¸‚à¸­à¸‡ Modal Content à¹„à¸”à¹‰à¸•à¸²à¸¡à¸•à¹‰à¸­à¸‡à¸à¸²à¸£ à¹€à¸Šà¹ˆà¸™ 50% à¸‚à¸­à¸‡ parent */
    max-height: 100%;
    overflow-y: hidden;
    height: calc(100% - 0px);
    position: relative;
}

/* 5. Animation à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸‚à¸¶à¹‰à¸™ */
.custom-modal.is-open .modal-content {
    transform: translateY(0); /* à¹€à¸¡à¸·à¹ˆà¸­à¹€à¸›à¸´à¸”: à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸‚à¸¶à¹‰à¸™à¸¡à¸²à¸—à¸µà¹ˆà¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸›à¸à¸•à¸´ */
}

/* à¸ªà¹„à¸•à¸¥à¹Œà¸›à¸¸à¹ˆà¸¡ (optional) */
.user-post {
    cursor: pointer;
}


.user-page-header-meta-right-post-header {
    text-align: center;
    margin: 0px auto;
    position: absolute;
    z-index: 9999999;
    height: 31px;
    width: 100%;
    max-width: calc(100% - 10px);
    border-bottom: 1px solid #000;
    padding: 5px 0px 5px 10px;
    left: 0px;
    background-color: #080808;
    top: 10px;
    font-size: 12px;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.68px;
    line-height: 34px;
    text-align: left;
}

.user-posts {
    padding-top: 42px;
    padding-bottom: 2px;
}

button.close-modal-btn {
    position: fixed;
    left: 12px;
    top: 11px;
    background-color: #00000000;
    color: #ccc;
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    font-family: 'Noto Sans Thai';
    font-size: 11px;
    width: fit-content;
    text-align: right;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 0.68px;
    z-index: 99999999999999999999;
}

img.post-date-image {
    width: 10px;
    position: relative;
    top: 2px;
    left: -3px;
    opacity: 0.77;
}
span.sp-icn-user {
    margin-left: -30px;
    margin-right: 2px;
}

span.sp-icn-text {
    position: absolute;
    left: 13px;
}


.like-header {
    position: absolute;
    width: fit-content;
    right: 5px;
}

.setting-header.user-page-header-meta-right-fooer-col.modal-trigger {
    position: absolute;
    width: fit-content;
    right: 40px;
}

button.title-modal-btn {
    position: fixed;
    right: 12px;
    top: 12px;
    background-color: #00000000;
    color: #ccc;
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    font-family: 'Noto Sans Thai';
    font-size: 11px;
    width: fit-content;
    text-align: right;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 0.68px;
    z-index: 99999999999999999999;
}

        .fwb-like-recent-list {list-style: none;padding: 2px 0px 0 0;margin: 0 0 0px 0;}
        .fwb-like-recent-list .fwb-like-item {
            display: flex;
            align-items: center;
            padding: 10px 0 0px 0;
            display: inline-block;
            width: 100%;
            max-width: 100%;
            position: relative;
        }
        .fwb-like-recent-list .fwb-like-link {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: inherit;
            width: 100%;
        }
        .fwb-like-recent-list .fwb-like-avatar { margin-right: 10px; }
        .fwb-like-recent-list .fwb-like-content {width: 100%;display: flex;flex-direction: column;float: left;margin-top: -13px;}
        .fwb-like-recent-list .fwb-like-name {font-size: 11px;margin: 3px 0 -1px 0;font-family: 'Noto Sans Thai';font-weight: 200;letter-spacing: 0.68px;line-height: 14px;width: fit-content;float: left;padding-left: 15px;position: relative;}
        .fwb-like-recent-list .fwb-like-message {color: #999;font-size: 10px;margin: 3px 0 -1px 0;font-family: 'Noto Sans Thai';font-weight: 200;letter-spacing: 0.68px;line-height: 14px;width: fit-content;float: right;position: absolute;right: 2px;}
        .fwb-like-recent-list .fwb-like-date {color: #999;font-size: 8px;margin: 7px 0 -1px 0;font-weight: 200;border-radius: 50px;letter-spacing: 0.68px;width: fit-content;float: left;background-color: #191919;padding: 1px 6px 2px 6px;font-family: 'Oswald';}
        .fwb-like-recent-list .fwb-like-item:hover { color: #cecece; }

                .fwb-like-button {
                    background: #000000;
                    border: 0px solid #ccc;
                    padding: 3px 7px 5px 8px;
                    cursor:pointer;
                    transition:0.25s;
                    display:inline-flex;
                    align-items:center;
                    gap: 3px;
                    font-size: 12px;
                    letter-spacing: 0.68px;
                    color: #fff;
     }
                .fwb-like-button.liked {background: #111111;color:#ccc;}

.user-page-header-meta-right-like {
    position: absolute;
    right: 0;
    top: 3px;
}

.fwb-like-avatar img {
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 0;
}

img.fwb-rank-icon {
    width: 18px !important;
    height: 18px !important;
    position: absolute;
    top: -2px;
    left: -5px;
}

img.frame-rank {
    position: absolute;
    width: 84px;
}

.user-page-header-meta-right-items {
    margin-top: -1px;
}

span.user-frame-display {
    display: none;
}

img.user-frame-overlay {
    position: absolute;
    top: 0;
    width: 85px;
    z-index:999999;
}

.aside-list {
    max-height: 100%; /* à¸«à¸£à¸·à¸­à¸à¸³à¸«à¸™à¸”à¸•à¸²à¸¡à¸•à¹‰à¸­à¸‡à¸à¸²à¸£ */
    overflow-y: scroll;
    scrollbar-width: none;          /* à¸‹à¹ˆà¸­à¸™ scrollbar - Firefox */
    -ms-overflow-style: none;       /* à¸‹à¹ˆà¸­à¸™ scrollbar - IE/Edge à¹€à¸à¹ˆà¸² */
    scroll-behavior: smooth;        /* ðŸª¶ à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸™à¸´à¹ˆà¸¡à¹à¸šà¸š native */
    overscroll-behavior: contain;   /* à¸à¸±à¸™à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸”à¸µà¸”à¹€à¸§à¸¥à¸²à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸ªà¸¸à¸” */
    scroll-snap-type: y proximity;  /* à¸Šà¹ˆà¸§à¸¢à¹ƒà¸«à¹‰à¸«à¸¢à¸¸à¸”à¹€à¸›à¹‡à¸™à¸ˆà¸±à¸‡à¸«à¸§à¸°à¸™à¸´à¹ˆà¸¡ */
}

.aside-list::-webkit-scrollbar {
    width: 0px;                     /* à¸‹à¹ˆà¸­à¸™ scrollbar - Chrome/Safari/Edge */
    background: transparent;
}

/* (à¹€à¸žà¸´à¹ˆà¸¡ optional) à¹ƒà¸«à¹‰ scroll â€œà¸™à¸¸à¹ˆà¸¡à¸‚à¸¶à¹‰à¸™â€ à¹à¸¡à¹‰à¹ƒà¸Šà¹‰ wheel */
html {
    scroll-behavior: smooth;
}

#fwb_user_frame {
    width: 44px;
    position: absolute;
    left: 0;
    height: 44px;
}

#fwb-status-frontend-1 {
    display: none !important;
}

img.avatar.avatar-96.photo.user-page-header-meta-left-avatar-img {
    /* width: 100%; */
    /* height: auto; */
    /* border: 0px solid #000; */
    /* max-width: calc(100% - 0px); */
}

.user-page-header-meta-left-avatar {
    /* width: 54px; */
}

.frame-profile-warp {
    margin-top: 0;
    max-width: 100%;
    width: 100%;
    position: relative;
    height: calc(100% - 46px);
}

.column-fwb_user_frame {
    width: 80px; 
}
.fwb-frame-select {
    min-width: 60px;
    padding: 2px;
    border-radius: 4px;
    box-sizing: border-box;
    transition: background-color 0.3s;
}
.fwb-frame-select.is-saving {
    background-color: #fff3cd; 
    border-color: #ffe082;
    cursor: wait;
}
.fwb-frame-select.is-error {
    background-color: #f8d7da; 
    border-color: #f5c6cb;
}


    /* ---------------------------------------------------------------- */
    /* CSS FOR FRONTEND (Shop & Frame Display)                          */
    /* ---------------------------------------------------------------- */
    
    /* Grid Container */
    .fwb-frame-frontend-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 10px;
        padding: 0;
        border: 0px solid #eee;
        border-radius: 8px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -5px;
    }
    .fwb-frame-section-title {
        font-size: 12px;
        color: #ffffff;
        text-align: left;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
        margin-block-start: 0;
        margin-block-end: 0;
        font-family: 'Oswald';
        font-weight: normal;
    }

    /* Action Buttons */
    .fwb-save-button-row {
        display: flex;
        justify-content: center;
        gap: 10px;
        max-width: 100%; /* เพิ่มความกว้างเล็กน้อย */
        margin: 0 auto;
        width: 100%;
    }
    .fwb-main-action-btn {
        flex-grow: 1;
        max-width: 100%;
        background-color: #111111;
        color: white;
        border: none;
        border-radius: 0;
        cursor: pointer;
        padding: 5px 9px 8px 9px !important;
        font-size: 12px !important;
        height: 37px;
        transition: background-color 0.3s;
        width: 100%;
        border: 1px solid #000;
    }
    .fwb-main-action-btn:disabled {
        background-color: #111111 !important;
        cursor: not-allowed;
    }
    .fwb-remove-btn {
        flex-grow: 0;
        max-width: 50%;
        border: 0px solid #f44336;
        background-color: #111111 !important;
        color: white !important;
        border-radius: 0;
        cursor: pointer;
        transition: all 0.2s;
        padding: 5px 9px 8px 9px !important;
        font-size: 12px !important;
        height: 36px;
        width: 100%;
    }
    
    /* Frame Button in Grid */
    .fwb-frame-frontend-grid .fwb-frame-btn {
        position: relative;
        border: 1px solid #111111;
        background: #111111;
        padding: 10px 0 0 0;
        cursor: pointer;
        transition: all 0.2s;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }
    .fwb-frame-frontend-grid .frame-id-label {
        font-size: 8px;
        color: #ccc;
        letter-spacing: 0.368px;
        padding: 1px 0 3px 0;
    }
    .fwb-frame-frontend-grid .frame-status {
        font-size: 10px;
        color: #ffffff;
        white-space: nowrap;
        font-weight: 300;
        font-family: 'Oswald';
        padding: 3px 0 5px 0;
        letter-spacing: 0.68px;
        border-top: 1px solid #000000;
    }
    
    /* Visual States */
    .fwb-frame-btn.is-equipped {
        border-color: #4caf5000 !important;
        background: #000000 !important;
    }
    .fwb-frame-btn.is-owned {
        border-color: #000000;
        background: #000000;
    }
    .fwb-frame-btn.can-buy {
        background: #000000;
        border: 1px solid #000000;
    }
    .fwb-frame-btn.cannot-buy {
        opacity: 0.5;
        border-color: #000000;
        background: #000000;
        cursor: not-allowed;
    }
    .fwb-frame-btn.is-selected {
        box-shadow: 0 0 0 0px #ff0000 !important; /* Black border on selection */
        border-width: 1px;
        background: #000000;
        border-color: #cccccc;
    }
    .fwb-remove-btn.is-equipped {
        border-color: #4CAF50 !important; 
        box-shadow: 0 0 0 3px #4CAF50 !important;
    }
    
    /* Frame Preview CSS (if not defined elsewhere) */
    .user-page-header-meta-left-avatar {
        position: relative;
        display: inline-block;
    }
    .user-frame-overlay {
        position: absolute;
        top: -5px; 
        left: -5px; 
        width: 106px; /* 96px avatar + padding/frame size */
        height: 106px; /* 96px avatar + padding/frame size */
        z-index: 10;
        pointer-events: none; /* ทำให้คลิกผ่านไปที่ avatar ด้านล่างได้ */
    }
    .user-rank-frame-group {
        display: block;
        text-align: center;
        margin-top: 5px;
    }
    .user-rank-frame-wrapper {
        position: relative;
        width: 96px; /* ขนาด Avatar */
        height: 96px;
        margin: 0 auto;
    }
    .user-rank-name {
        display: block;
        font-weight: bold;
        margin-top: 5px;
    }

.fwb-avatar-preview-content {
    width: 64px;
    height: 64px;
    position: relative;
}

.fwb-avatar-preview-content img {
    width: 64px;
    height: 64px;
}

.fwb-rank-frame-group {
    position: absolute;
    top: 0;
    width: 64px;
    height: 64px;
}

.fwb-rank-frame-group {
    position: absolute;
    top: 0;
    width: 64px;
    height: 64px;
}

.fwb-avatar-preview-wrapper {
    display: flex;
    gap: 10px !important;
    padding-bottom: 10px;
    background-color: #080808;
    position: relative;
    z-index: 99;
}
.fwb-shop-info {
    text-align: left !important;
    margin-bottom: 0 !important;
    font-size: 11px;
    color: #fff;
    margin-top: 5px;
}

.user-card-frame-search {
    width: 42px !important;
}

p.pscre {
    font-weight: 600;
    letter-spacing: 0.168px;
}

p.pactived {
    font-weight: 100;
    letter-spacing: 0.468px;
    font-size: 9px;
    color: #ccc;
    line-height: 12.5px;
    margin-top: 3px;
}


.fwb-frame-all-grids {
    margin-top: -10px;
    max-width: 100%;
    width: 100%;
    position: relative;
    overflow: auto;
    height: calc(100% - 117px);
}

.frame-profile {
    max-width: 100%;
    width: 100%;
    position: relative;
    height: 100%;
}

.fwb-frame-shop-container {
    width: 100%;
    position: relative;
    height: calc(100% - 20px);
    padding: 10px;
    max-width: calc(100% - 20px);
}

/* Container ต้องมี overflow (auto / scroll) เพื่อให้เลื่อนได้ */
.fwb-frame-all-grids {
  overflow: auto;
  -webkit-overflow-scrolling: touch; /* เพิ่มความลื่นบนมือถือ iOS */
}

/* Chrome, Edge, Safari (WebKit/Blink) */
.fwb-frame-all-grids::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/* Firefox */
.fwb-frame-all-grids {
  scrollbar-width: none; /* hide scrollbar for Firefox */
}

/* IE 10+ / old Edge */
.fwb-frame-all-grids {
  -ms-overflow-style: none; /* hide scrollbar for IE/Edge */
}

/* ถ้าต้องการให้พื้นที่ไม่หาย (gap) เมื่อ scrollbar ถูกซ่อน บางกรณีอยากมี padding ข้างใน */
.fwb-frame-all-grids {
  padding-bottom: 6px; /* ปรับตามต้องการ เพื่อกันเนื้อหาไปชนขอบเมื่อมี swipe */
}

.fwb-frame-control-group {
    text-align: center;
    margin-top: 10px !important;
}

.frame-status {
    max-width: 100%;
    width: 100%;
    background-color: #111111;
}
img.cncframe {
    width: 50% !important;
    height: auto !important;
}

h4.fwb-frame-section-title.fwb-frame-free_frames {
    margin-top: 15px !important;
}

#fwb-notification-modal {
    position: absolute;
    top: 80px;
    height: calc(100% - 225px);
    display: none;
}

.frame-profile-header {
    height: 25px;
    border-bottom: 1px solid #000000;
    padding: 10px 10px 10px 10px;
    display: flex;
    line-height: 8px;
    position: relative;
    letter-spacing: 0.268px;
    font-weight: 300;
}
.frame-profile-header-title {
    color: #fff;
    border: none;
    padding: 8px 10px 8px 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 12px;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.44px;
}

.frame-profile-header-sub-one {
    color: #ccc;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 12px;
    font-family: 'Noto Sans Thai';
    right: 0;
    position: absolute;
}

.frame-profile-header-sub-two {
    color: #ccc;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 12px;
    font-family: 'Noto Sans Thai';
    right: 36px;
    position: absolute;
}

img.sub-image-two {
    width: 13px;
    position: relative;
    top: -3px;
    opacity: 0.68;
}

img.sub-image-one {
    width: 15px;
    position: relative;
    top: -4px;
    opacity: 0.68;
}
.header-main-content-avatar-header {
    position: relative;
    top: -4px;
    left: -3px;
}
.user-card-frame-like {
    width: 42px !important;
    top: 10px !important;
}

.frame-rank-warp {
    margin-top: 0;
    max-width: 100%;
    width: 100%;
    position: relative;
    height: calc(100% - 46px);
    overflow: auto;
}


/* สำหรับซ่อน Scrollbar ของ WebKit browsers (Chrome, Safari) */
.frame-rank-warp::-webkit-scrollbar {
    width: 0px; 
    height: 0px; 
}

/* สำหรับซ่อน Scrollbar ของ Firefox */
.frame-rank-warp {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* ======================================================= */
/* === CSS สำหรับ Card อันดับผู้ใช้ปัจจุบัน (.current-user-rank-container) === */
/* ======================================================= */

.current-user-rank-container {
    margin: 0;
    padding: 0;
    position: fixed;
    background-color: #080808;
    width: 100%;
    right: 0;
    z-index: 999;
    max-width: calc(100% - 70px);
}

/* สไตล์ของ Card ผู้ใช้ปัจจุบัน (เลียนแบบ .top-user-item แต่ปรับให้เด่น) */
.current-user-rank-card {
    background-color: #000000; /* พื้นหลังดำ/มืด */
    border: 3px solid #ffcc00; /* กรอบสีทอง */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative; 
    padding: 15px; /* เพิ่ม padding ภายใน */
    display: flex;
    align-items: center;
}

.current-user-rank-card a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    pointer-events: none; /* ปิดการคลิก Card นี้ */
    cursor: default;
}


/* สไตล์ของเลขอันดับ (Rank Number) */
.current-user-rank-number {
    position: absolute; 
    top: 0;
    left: 0;
    background-color: #ffcc00; /* สีเหลืองทอง */
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1.5em; /* ทำให้ใหญ่ขึ้น */
    padding: 8px 15px;
    border-radius: 12px 0 12px 0; 
    z-index: 10;
    min-width: 50px;
    text-align: center;
    line-height: 1; 
}

/* อวาตาร์ */
.current-user-avatar {
    flex-shrink: 0;
    margin-right: 15px;
    border: 3px solid #ffcc00; 
    border-radius: 50%;
    overflow: hidden;
    width: 70px; 
    height: 70px;
}
.current-user-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

/* ส่วนข้อมูล */
.current-user-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

/* Points */
.current-user-points {
    font-size: 1.4em;
    font-weight: 700;
    color: #ffcc00; /* สีทอง */
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
/* ไอคอน Points */
.current-user-points::before {
    content: "🪙"; /* หรือใช้รูปภาพ/ไอคอน myCRED */
    margin-right: 8px;
    font-size: 1.2em;
}


/* Rank Name + Display Name */
.current-user-name-group {
    font-size: 1.3em;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rank Image/Icon */
.current-user-rank-img {
    width: 28px; 
    height: 28px; 
    margin-right: 8px; 
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Rank Name */
.current-user-rank-name {
    font-size: 1em;
    font-weight: 700;
    color: #ff9900; /* สีส้มทอง */
    margin-right: 8px; 
    flex-shrink: 0;
}
.current-user-name-text {
    font-weight: 400; /* ชื่อ Display Name เบากว่า Rank */
}


/* สไตล์สำหรับผู้ใช้ที่ "ไม่ถูกจัดอันดับ" */
.unranked-message {
    font-weight: 300;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #000000;
    color: #fff;
    font-size: 11px;
}
/* ข้อความสำหรับผู้เข้าชมทั่วไป */
.guest-message {
    border: 2px dashed #007bff !important; 
    background-color: #f0f8ff !important; 
    color: #333 !important;
}

/* ======================================================= */
/* === CSS สำหรับรายชื่อ 100 อันดับแรก (.top-mycred-users) === */
/* ======================================================= */

.top-mycred-users {
    list-style: none;
    padding: 47px 5px 9px 5px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.top-user-item {
    overflow: hidden;
    flex: 1 1 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    height: 45px;
}

.top-user-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.user-rank-number {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #999999;
    color: #000000;
    font-weight: 500;
    font-size: 9px;
    border-radius: 50%;
    z-index: 10;
    text-align: center;
    width: 13px;
    height: 13px;
    line-height: 12px;
    border: 3px solid #000;
    font-family: 'Oswald';
}
.user-rank-number.top-3 {
    background-color: #ffd200;
    color: #000000;
}
.user-rank-number.top-1 {
    background-color: #00ff00;
    color: #000000;
    font-size: 9px;
}

	.user-card-frame-rank {
		position: relative;
		top: 3px !important;
		width: 42px !important;
	}

.user-like-button-wrapper {
    position: absolute;
    right: 5px;
    top: 9px;
    z-index: 99;
}

.top-user-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 15px 15px 0px 5px;
    color: #333;
    padding-top: 0;
}

.user-avatar {
    flex-shrink: 0;
    margin-right: 15px;
    overflow: hidden;
}

.user-avatar img {
    display: block;
    width: 38px;
    height: 38px;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    letter-spacing: 0.68px;
}

.user-points {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    order: 1;
    margin-top: 5px;
    display: flex;
    align-items: center;
    font-family: 'Oswald' !important;
}

img.emoji {
    padding-left: 2px !important;
    padding-right: 2px !important;
    font-family: 'Oswald' !important;
}

.user-name {
    font-size: 10px;
    font-weight: 300;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    order: 2;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

#mycred_rank {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

#mycred_rank_name {
    font-size: 11px;
    font-weight: 400;
    color: #999;
    margin-right: 8px;
    flex-shrink: 0;
}

/*
 * FWB Radio Player Styles
 * วางโค้ดนี้ใน style.css ของธีมคุณ
 */

/* --- Fixed Top Wrapper --- */
#fwb-radio-top-wrapper {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
}
.fwb-radio-list-container {
    width: 100% ;
    margin: 0 auto ;
    box-sizing: border-box ;
}

/* --- Player Controls --- */
#fwb-radio-global-controls {
    display: flex;
    align-items: center;
    padding: 8px 15px 0px 10px;
    margin-bottom: -2px;
}
.global-control-btn {
    padding: 2px 8px 2px 8px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.2s;
    white-space: nowrap;
}
#fwb-control-play {
    background-color: #111111;
    color: #ffffff;
}
#fwb-control-pause {
    background-color: #000000;
    color: white;
}
#fwb-control-scan, #fwb-control-playlist {
    background-color: #111111;
    color: #f0f0f0;
}
button#fwb-control-play img {
    width: 12px;
}

#fwb-control-playlist img {
    width: 12px;
}

#fwb-control-pause img {
    width: 13px;
}

span.radio-category {
    margin-left: 5px;
    background-color: #111111;
    padding: 0px 8px 1px 8px;
    border-radius: 50px;
    position: relative;
    top: 1px;
}


#fwb-current-station-display {
    flex-grow: 1;
    color: #ccc;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 5px;
    letter-spacing: 0.268px;
}
#fwb-current-station-display span {
    font-weight: 300;
    color: #999;
}

/* Wrapper สำหรับ Scrolling List (Mini List) */
.fwb-radio-list-wrapper {
    width: 100%;
    padding: 0 15px 0 10px;
    max-height: 80px;
    box-sizing: border-box;
}

/* List Item Styles (ใช้ร่วมกัน) */
#fwb-radio-list, #fwb-modal-list {
    list-style: none;
    margin: 2px 0 -5px 0;
    padding: 0;
    position: relative;
}
.radio-item {
    display: flex;
    align-items: center;
    padding: 7px 0 10px 0;
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: #080808;
}
.radio-item:last-child {
    border-bottom: none ;
}

.radio-item.playing {
}
.radio-item.playing .radio-title {
    color: #ffffff;
    margin-bottom: 0px;
}

/* Thumbnail and Info */
.radio-thumbnail {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
    border-radius: 50px;
    position: relative;
    top: 2px;
}
.default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #444;
    color: white;
    font-size: 20px;
}
.radio-info {
    flex-grow: 1 ;
    min-width: 0;
    color: #f0f0f0;
}
.radio-title {
    font-weight: 400;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1px;
}

span.listener-count-title {
    position: relative;
    top: 1px;
    margin-right: 3px;
}

.radio-listeners {
    position: relative;
    top: -1px;
}

.radio-select-indicator img {
    width: 13px;
    position: relative;
    top: 8px;
}
.radio-listeners, .radio-category {
    font-size: 9px;
    color: #ccc;
    letter-spacing: 0.168px;
    font-weight: 200;
    margin-top: 0px;
}
.listener-count {
    font-weight: 200;
    color: #000000; /* สีเขียว */
    font-size: 8px;
    font-family: 'Oswald';
    background-color: #91ff00;
    padding: 0px 8px 1px 8px;
    border-radius: 50px;
    position: relative;
    top: 2px;
    font-weight: 500;
}
.radio-select-indicator {
    padding-left: 10px;
    font-size: 18px;
    opacity: 0.33;
}
.radio-item.playing .radio-select-indicator {
    opacity: 1;
    color: #00e676;
}

/* --- Modal Styles --- */
#fwb-playlist-modal {
    display: none;
    position: fixed;
    z-index: 9;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 50px;
    box-sizing: border-box;
    right: 0;
    max-width: calc(100% - 70px);
}
.fwb-modal-content {
    background-color: #080808;
    margin: 0 auto;
    width: 100%;
    position: absolute;
    right: 0;
    max-width: calc(480px - 70px);
    bottom: 85px;
    height: calc(100% - 190px);
}
.fwb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000000;
    padding: 11px 10px;
}
.fwb-modal-header h2 {
    font-weight: 400;
    margin: 0;
    color: #f0f0f0;
    font-size: 12px;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.68px;
}
.fwb-close {
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    font-weight: 300;
    margin: 0;
    color: #999;
    font-size: 10px;
    font-family: 'Noto Sans Thai';
    letter-spacing: 0.68px;
}
.fwb-close:hover,
.fwb-close:focus {
    color: #fff;
    text-decoration: none;
}
.fwb-modal-body {
    overflow-y: auto;
    padding: 0px 10px 10px 10px;
    height: calc(100% - 50px);
}

#fwb-control-scan {
    /* display: none !important; */
}

.fwb-modal-body {
  overflow-y: auto;                 /* เปิดให้ scroll ตามแนวตั้ง */
  -webkit-overflow-scrolling: touch; /* ลื่นบน iOS */
  
  /* ซ่อน scrollbar ทุกเบราว์เซอร์ */
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE และ Edge เก่า */
}

.fwb-modal-body::-webkit-scrollbar {
  width: 0px;                       /* Chrome, Safari, Edge */
  height: 0px;
}

/* CSS ที่จำเป็นสำหรับทำให้ Mini List เลื่อนได้ */
.fwb-radio-list-wrapper {
    max-height: 120px; /* กำหนดความสูงที่ต้องการแสดงผล (ตัวอย่าง 120px) */
    overflow-y: scroll; /* บอกให้เบราว์เซอร์แสดง Scroll Bar เมื่อรายการเกิน */
}

/* 1. CSS พื้นฐานที่จำเป็นสำหรับการ Scroll */
.fwb-radio-list-wrapper {
    max-height: 38px; /* ยืนยันความสูงสูงสุด */
    overflow-y: scroll; /* ยืนยันการแสดง Scroll Bar */
    position: relative;
    top: 5px;
}

/* 2. บังคับให้ Scroll Bar แสดงผลใน WebKit Browsers (Chrome, Safari, Edge ใหม่) */
.fwb-radio-list-wrapper::-webkit-scrollbar {
    -webkit-appearance: none; /* ป้องกันการปรากฏตัวที่ผิดเพี้ยน */
    width: 0px; /* กำหนดความกว้างของ Scroll Bar (ปรับได้ตามต้องการ) */
    height: 0px; /* สำหรับแนวนอน (ไม่จำเป็นมากนัก แต่ควรใส่ไว้) */
}

/* 3. กำหนดสไตล์ของแทร็ก (พื้นหลัง) */
.fwb-radio-list-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* สีพื้นหลังรางเลื่อน */
    border-radius: 10px;
}

/* 4. กำหนดสไตล์ของ Thumb (ตัวเลื่อน) */
.fwb-radio-list-wrapper::-webkit-scrollbar-thumb {
    background: #888; /* สีของตัวเลื่อน */
}

/* 5. สไตล์เมื่อวางเมาส์เหนือตัวเลื่อน */
.fwb-radio-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555; /* สีเมื่อเมาส์ชี้ */
}
#fwb-control-scan img {
    width: 13px;
}






























@media (max-width: 767px) {	
	
    .wp-radio-listing .play-btn-wrap .favorite-btn {
        display: block;
    }
	
	.wp-radio-player.full-width .wp-radio-player-details {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		flex-flow: row;
		width: 100% !important;
		margin-left: 10px;
		max-width: calc(100% - 200px) !important;
		background: #ffffff00 !important;
		margin-top: 10px;
	}
    .wp-radio-player.full-width .wp-radio-player-details .station-meta {
        align-items: flex-start !important;
        margin-left: 17px !important;
    }
    .wp-radio-player.full-width .wp-radio-player-details .station-meta .station-status {
        width: 100%;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
	
    .wp-radio-listing .listing-details {
        margin-left: 8px;
        width: 50%;
    }
    .wp-radio-listing .play-btn-wrap {
        position: absolute;
        right: 0px !important;
        background: #ffffff00 !important;
    }
    .wp-radio-listing .listing-details .genres {
        display: block !important;
        position: relative;
        top: 0px;
    }
	
	.wp-radio-listing .listing-details .listing-heading .station-name {
        margin-left: -1px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-shadow: none;
    }
    .wp-radio-listing .listing-details .listing-heading .slogan {
        display: block;
    }
	
    .wp-radio-listing .listing-details .listing-heading {
        margin-top: 0;
        margin-bottom: 5px;
        margin-left: 5px !important;
    }


}

@media (max-width: 480px) {	
	
#fwb-playlist-modal {
    right: 0;
    max-width: calc(100% - 70px);
}

.wp-radio-listing .listing-details .genres {
    margin-left: 0px;
}

	
	a.next.page-numbers {
        right: 0;
        max-width: calc(100% - 70px);
 }
	a.prev.page-numbers {
        right: 0;
        max-width: calc(100% - 70px);
	}
}


@media (max-width: 420px) {	
	
    .wp-radio-player.full-width .wp-radio-player-details {
        max-width: calc(100% - 150px) !important;
    }
	
	.main-content {
		width: 100%;
		max-width: 100%;
		height: 100%;
		padding: 20px;
		box-sizing: border-box;
		overflow-y: auto;
	}	
	header.header-content {
		max-width: 100%;
	}
	main {
		max-width: 100%;
	}
	.fwb-tabs {
		max-width: calc(100% - 70px);
	}
	.fwb-tabs {
		max-width: calc(100% - 70px);
	}
	
	span.user-province {
		display: none !important;
	}
	.nav-buttons {
		width: 100%;
		display: flex;
		justify-content: right;
		align-items: end;
		gap: 0px;
		padding: 0;
		background: #080808;
		position: absolute;
		z-index: 999;
		font-size: 12px;
		margin-left: 70px;
		max-width: calc(100% - 70px) !important;
		height: 43px;
		letter-spacing: 0.68px;
		border-bottom: 1px solid #000000;
	}
	
	
	.genres {
		width: 150px !important;
		overflow: hidden;
	}

	.listing-heading {
		width: 180px;
		overflow: hidden;
	}

}