/* STREAMING_CHUNK:Defining base animations for floating button and sound waves /
/ ==========================================================================
WinWAP Floating Music Player Styles
========================================================================== */
​@keyframes gkMusicPulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.08);
}
}
​@keyframes gkWave {
0%, 100% {
height: 5px;
}
50% {
height: 18px;
}
}
​/* STREAMING_CHUNK:Styling floating trigger button /
/ Butang Terapung Muzik di Penjuru Skrin */
#gk-floating-music-btn {
position: fixed;
bottom: 80px;
right: 16px;
width: 50px;
height: 50px;
background: linear-gradient(135deg, #10b981, #059669);
border: 2px solid #34d399;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 10px rgba(16, 185, 129, 0.4);
z-index: 99998;
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
​#gk-floating-music-btn:active {
transform: scale(0.92);
}
​/* STREAMING_CHUNK:Configuring active playing state and wave animations */
#gk-floating-music-btn.gk-is-playing {
background: linear-gradient(135deg, #f59e0b, #b45309);
border-color: #fcd34d;
box-shadow: 0 0 16px rgba(245, 158, 11, 0.7);
animation: gkMusicPulse 1.8s infinite ease-in-out;
}
​.gk-wave-bar {
display: inline-block;
width: 3px;
height: 12px;
background-color: #ffffff;
margin: 0 1.5px;
border-radius: 2px;
transition: height 0.2s ease;
}
​.gk-is-playing .gk-wave-bar:nth-child(1) {
animation: gkWave 0.8s infinite ease-in-out;
}
.gk-is-playing .gk-wave-bar:nth-child(2) {
animation: gkWave 0.5s infinite ease-in-out 0.2s;
}
.gk-is-playing .gk-wave-bar:nth-child(3) {
animation: gkWave 0.7s infinite ease-in-out 0.4s;
}
​/* STREAMING_CHUNK:Styling modal sheet and backdrop /
/ Latar Belakang Kelabu / Backdrop */
#gk-music-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
z-index: 99997;
display: none;
opacity: 0;
transition: opacity 0.25s ease;
}
​#gk-music-backdrop.gk-backdrop-open {
display: block;
opacity: 1;
}
​/* Panel Modal Bawah (Mobile Bottom Sheet) */
#gk-music-modal {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%) translateY(115%);
width: 100%;
max-width: 450px;
background: #0f172a;
color: #f8fafc;
border-top-left-radius: 22px;
border-top-right-radius: 22px;
border: 1px solid #334155;
box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.8);
z-index: 99999;
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
display: flex;
flex-direction: column;
max-height: 84vh;
overflow: hidden;
}
​#gk-music-modal.gk-modal-open {
transform: translateX(-50%) translateY(0%);
}
​/* STREAMING_CHUNK:Styling header and title bar */
.gk-music-header {
padding: 13px 16px;
background: #1e293b;
border-bottom: 1px solid #334155;
display: flex;
align-items: center;
justify-content: space-between;
}
​.gk-music-header h3 {
margin: 0;
font-size: 15px;
font-weight: 700;
color: #38bdf8;
display: flex;
align-items: center;
gap: 7px;
}
​.gk-badge-zero {
font-size: 10px;
background: #064e3b;
color: #34d399;
padding: 2px 7px;
border-radius: 999px;
font-weight: 700;
border: 1px solid #059669;
}
​.gk-music-close-btn {
background: transparent;
border: none;
color: #94a3b8;
font-size: 20px;
font-weight: bold;
cursor: pointer;
padding: 4px 8px;
line-height: 1;
}
​/* STREAMING_CHUNK:Styling tabs and navigation */
.gk-tabs {
display: flex;
padding: 0 16px;
gap: 10px;
background: #1e293b;
border-bottom: 1px solid #334155;
}
​.gk-tab {
padding: 9px 12px;
font-size: 13px;
font-weight: 600;
color: #94a3b8;
border-bottom: 3px solid transparent;
cursor: pointer;
transition: color 0.15s, border-bottom-color 0.15s;
}
​.gk-tab.gk-tab-active {
color: #38bdf8;
border-bottom-color: #38bdf8;
}
​/* STREAMING_CHUNK:Styling search input and trigger button */
.gk-search-wrap {
padding: 12px 16px 8px;
display: flex;
gap: 8px;
background: #0f172a;
}
​.gk-search-input {
flex: 1;
background: #1e293b;
border: 1px solid #475569;
border-radius: 10px;
padding: 10px 14px;
color: #ffffff;
font-size: 13px;
outline: none;
transition: border-color 0.2s;
}
​.gk-search-input:focus {
border-color: #38bdf8;
}
​.gk-search-btn {
background: #0284c7;
color: #ffffff;
font-weight: 700;
border: none;
border-radius: 10px;
padding: 0 16px;
cursor: pointer;
font-size: 13px;
transition: background 0.15s;
}
​.gk-search-btn:active {
background: #0369a1;
}
​/* STREAMING_CHUNK:Styling tracks list and items */
.gk-music-list {
flex: 1;
overflow-y: auto;
padding: 10px 16px;
min-height: 180px;
max-height: 300px;
background: #0f172a;
}
​.gk-track-item {
display: flex;
align-items: center;
gap: 12px;
padding: 9px 12px;
border-radius: 10px;
background: #1e293b;
margin-bottom: 8px;
cursor: pointer;
transition: background 0.15s, transform 0.1s;
}
​.gk-track-item:hover,
.gk-track-item:active {
background: #283548;
transform: translateY(-1px);
}
​.gk-track-thumb {
width: 42px;
height: 42px;
border-radius: 8px;
object-fit: cover;
background: #334155;
flex-shrink: 0;
}
​.gk-track-info {
flex: 1;
min-width: 0;
}
​.gk-track-title {
font-size: 13px;
font-weight: 700;
color: #f8fafc;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
​.gk-track-artist {
font-size: 11px;
color: #94a3b8;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 2px;
}
​.gk-track-play-icon {
font-size: 15px;
color: #38bdf8;
flex-shrink: 0;
}
​/* STREAMING_CHUNK:Styling bottom player bar */
.gk-player-bar {
background: #090d16;
border-top: 1px solid #1e293b;
padding: 10px 16px;
display: flex;
align-items: center;
gap: 12px;
}
​.gk-current-thumb {
width: 46px;
height: 46px;
border-radius: 8px;
object-fit: cover;
background: #1e293b;
flex-shrink: 0;
}
​.gk-current-info {
flex: 1;
min-width: 0;
}
​.gk-current-title {
font-size: 13px;
font-weight: 700;
color: #facc15;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
​.gk-current-artist {
font-size: 11px;
color: #94a3b8;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 2px;
}
​.gk-ctrl-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: #10b981;
border: none;
color: #064e3b;
font-size: 17px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex-shrink: 0;
transition: transform 0.15s, background 0.15s;
}
​.gk-ctrl-btn:active {
transform: scale(0.92);
}
​.gk-status-msg {
text-align: center;
color: #94a3b8;
font-size: 12px;
padding: 28px 12px;
line-height: 1.5;
}