*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Noto Sans TC',sans-serif;
}

body{
background:#000;
color:white;
overflow-x:hidden;
overflow-y:auto;
height:100%;
}

/* =========================
   APP
========================= */
.app{
padding-bottom:170px;
padding-top:0px;
position:relative;
min-height:100vh;
overflow-y:auto;
}

/* =========================
   BACKGROUND
========================= */
.background{
position:fixed;
inset:0;
background-size:cover;
background-position:center;
filter:blur(60px);
opacity:.2;
transform:scale(1.3);
z-index:-1;
}

/* =========================
   CONTENT & PAGE - 修正滾動問題
========================= */
.content{
padding:10px;
position: relative;
min-height: 100vh;
}

.page{
position: relative;
width: 100%;
min-height: 100vh;
background: #000;
transition: opacity 0.35s ease;
z-index: 1;
display: block;
padding-bottom: 20px;
}

/* Page 1 狀態 */
#page1{
opacity: 1;
display: block;
z-index: 2;
position: relative;
}

#page1.show{
opacity: 1;
display: block;
}

#page1.hide{
opacity: 0;
display: none;
}

/* Page 2 狀態 */
#page2{
opacity: 0;
display: none;
z-index: 2;
position: relative;
}
#page3{
opacity: 0;
display: none;
z-index: 2;
position: relative;
}


#page2.show{
opacity: 1;
display: block;
}

#page2.hide{
opacity: 0;
display: none;
}
#page3.show{
opacity: 1;
display: block;
}
#page3.hide{
opacity: 0;
display: none;
}

/* =========================
   HEADER
========================= */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #000;
z-index: 100;
padding: 10px 10px 6px 10px;
}

.header-top{
display:flex;
align-items:center;
gap:20px;
}

.heart-btn{
font-size:30px;
}

.back-btn{
background:none;
border:none;
color:white;
font-size:24px;
cursor: pointer;
}

.header-title{
font-size:24px;
font-weight:700;
}

.listeners{

height:60px;
font-size:14px;
color:#ccc;
}

.header-actions{
display:flex;
align-items:center;
gap:20px;
margin-top:30px;
}

.follow-btn{
padding:12px 16px;
border-radius:40px;
background:none;
border:2px solid #777;
color:white;
font-size:12px;
}

.more-btn,
.shuffle-btn{
background:none;
border:none;
color:white;
font-size:38px;
}

.play-all-btn{
margin-left:auto;
width:50px;
height:50px;
border-radius:50%;
border:none;
background:#1ed760;
font-size:24px;
}

/* =========================
   CATEGORY
========================= */
.category-wrap{
display:flex;
gap:10px;
overflow-x:auto;
overflow-y:hidden;
white-space:nowrap;
padding:8px 15px;
position: fixed;

left: 0;
width: 100%;
background:#121212;
z-index:99;
scrollbar-width:none;
-webkit-overflow-scrolling: touch;
}

.category-wrap::-webkit-scrollbar{
height:8px;
}

.category-wrap::-webkit-scrollbar-thumb{
background:#666;
border-radius:10px;
}

.category-btn{
      display: inline-block;
      padding: 0rem 1.2rem;
      font-size: 1.25rem;
      font-weight: 600;
      color: #ffffff;
      text-decoration: none;
      letter-spacing: 0.03em;
      border: none;
      border-radius: 10px;          /* 圓潤外觀 */
      cursor: pointer;
border:1px white solid;
      /* ② 漸層背景 — 上方 #1D4D76 → 下方 #0A2250 */
      background: linear-gradient(to bottom, #1D4D76, #0A2250);

      /* ③ 微光澤 + 立體感 (選擇性) */
      box-shadow: 0 8px 18px rgba(10, 34, 80, 0.35);
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
user-select: none;
position: relative;
z-index: 10;
}

.category-btn:active {
transform: scale(0.95);
}

.category-btn.active{

 
      background: linear-gradient(to bottom, #A51011, #590D11);


font-weight:700;
}

/* =========================
   SECTION
========================= */
.section-title{
font-size:24px;
font-weight:bold;
margin-top:20px;
margin-bottom:10px;
scroll-margin-top:116px;
}

/* =========================
   PLAYLIST
========================= */
.playlist-item{
display:flex;
align-items:center;
gap:5px;

padding:5px 0;
cursor:pointer;
touch-action: manipulation;
}

.song-index{
font-size:18px;
margin-top:10px;
width:40px;
color:#bbb;
}

.playlist-item img{
width:80px;
height:80px;
border-radius:12px;
object-fit:cover;
}

.playlist-text{
flex:1;
overflow:hidden;
}

.playlist-song{
font-size:24px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.playlist-artist{
font-size:18px;
color:#aaa;
margin-top:8px;
}

.song-menu{
font-size:18px;
color:#999;
}

/* =========================
   MINI PLAYER
========================= */
.mini-player{
position:fixed;
left:12px;
right:12px;
bottom:90px;
height:80px;
background:#8d4d18;
border-radius:18px;
display:flex;
align-items:center;
padding:10px;
gap:14px;
z-index:1000;
}

.ad21280{
background:#8d4d18;
border-radius:18px;
display:flex;
align-items:center;
padding:10px;
gap:14px;
z-index:1000;
margin-bottom:5px
}


.mini-cover{
width:60px;
height:60px;
border-radius:10px;
object-fit:cover;
}

.mini-info{
flex:1;
overflow:hidden;
}

.mini-title{
font-size:24px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.mini-artist{
font-size:18px;
color:#ddd;
margin-top:5px;
}

.mini-buttons{
display:flex;
align-items:center;
gap:18px;
}

.mini-buttons button{
background:none;
border:none;
color:white;
font-size:28px;
cursor: pointer;
touch-action: manipulation;
}

/* =========================
   BOTTOM NAV
========================= */
.bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
height:85px;
background:#111;
display:flex;
justify-content:space-around;
align-items:center;
z-index:2000;
padding-bottom: env(safe-area-inset-bottom);
}

.nav-item{
display:flex;
flex-direction:column;
align-items:center;
font-size:16px;
color:#999;
cursor: pointer;
touch-action: manipulation;
}

.nav-item.active{
color:white;
}

/* =========================
   FULLSCREEN PLAYER
========================= */
.fullscreen-player {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 9999;
transform: translateY(100%);
transition: transform 0.45s cubic-bezier(0.22, 0.9, 0.32, 1);
touch-action: pan-y pinch-zoom;
}

.fullscreen-player.show {
transform: translateY(0);
}

.fullscreen-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
filter: blur(60px);
transform: scale(1.2);
opacity: .3;
pointer-events: none;
}

.fullscreen-content {
position: relative;
z-index: 2;
padding: 15px;
height: 100%;
display: flex;
flex-direction: column;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

.fullscreen-top{
display:flex;
justify-content:space-between;
align-items:center;
font-size:24px;
}

.fullscreen-top button{
background:none;
border:none;
color:white;
font-size:20px;
cursor: pointer;
touch-action: manipulation;
}

/* ★★★ 容器本身縮小為 90% 且置中 ★★★ */
.fullscreen-cover-wrap,
#coverWrap {
width:90%;
aspect-ratio:1/1;
border-radius:30px;
overflow:hidden;
margin:10px auto 0 auto;
position:relative;
touch-action:pan-y;
cursor:grab;
display:block;
background:#000;
}

.fullscreen-cover-wrap:active,
#coverWrap:active {
cursor:grabbing;
}

/* ★★★ 圖片填滿容器 ★★★ */
.fullscreen-cover,
#coverWrap .fullscreen-cover {
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
will-change:transform;
border-radius:30px;
}

.fullscreen-song-info{
margin-top:20px;
display:flex;
justify-content:space-between;
align-items:center;
}

.fullscreen-song-title{
font-size:24px;
font-weight:700;
}

.fullscreen-artist{
font-size:18px;
margin-top:10px;
color:#ccc;
}

.progress-section{
margin-top:10px;
}

#fullscreenProgress{
width:100%;
}

.time-row{
margin-top:10px;
display:flex;
justify-content:space-between;
color:#ccc;
}

.controls{
display:flex;
justify-content:center;
align-items:center;
gap:20px;
margin-top:15px;
}

.icon-btn{
background:none;
border:none;
color:white;
font-size:32px;
cursor: pointer;
touch-action: manipulation;
}

.play-btn{
width:60px;
height:60px;
border-radius:50%;
border:none;
background:white;
color:black;
font-size:22px;
cursor: pointer;
touch-action: manipulation;
}

/* =========================
   RECOMMEND
========================= */
.recommend-section{
margin:20px 0 30px;
}

.recommend-title{
font-size:24px;
font-weight:700;

}

.recommend-scroll{
display:flex;
overflow-x:auto;
gap:15px;
padding:0 15px;
scroll-behavior:smooth;
-webkit-overflow-scrolling:touch;
scrollbar-width:none;
cursor: grab;
}

.recommend-scroll:active {
cursor: grabbing;
}

.recommend-scroll::-webkit-scrollbar{
display:none;
}
@media (max-width: 768px) {
.recommend-card{
flex:0 0 156px;
cursor:pointer;
scroll-snap-align:start;
touch-action: manipulation;
}

.recommend-card img{
width:150px;
height:150px;
border-radius:12px;
object-fit:cover;
display:block;
}
}
/* =========================
   電腦版 (大於等於 768px)
========================= */
@media (min-width: 768px) {
.recommend-card{
 flex: 0 0 160px;  /* 固定寬度 */
    width: 150px;
    cursor: pointer;
}

.recommend-card img{
width:152px;
height:152px;
border-radius:12px;
object-fit:cover;
display:block;
}
}

.recommend-name{
margin-top:10px;
font-size:16px;
font-weight:600;
line-height:1.4;
}

.recommend-artist{
margin-top:5px;
font-size:14px;
color:#b3b3b3;
}

/* =========================
   PLAYLIST MODAL
========================= */
.playlist-modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.8);
display:none;
justify-content:center;
align-items:center;
z-index:99999;
}

.playlist-modal.show{
display:flex;
}

.playlist-modal-content{
width:90%;
max-width:400px;
color:#fff;
text-align:center;
}

.playlist-modal-content h2{
margin-bottom:30px;
}

.playlist-modal-content input{
width:100%;
background:transparent;
border:none;
border-bottom:1px solid #666;
color:#fff;
font-size:32px;
font-weight:bold;
text-align:center;
padding:10px;
outline:none;
}

.playlist-actions{
display:flex;
justify-content:center;
gap:20px;
margin-top:40px;
}

.playlist-actions button{
width:120px;
height:50px;
border-radius:25px;
border:none;
font-size:20px;
cursor:pointer;
touch-action: manipulation;
}

#createPlaylist{
background:#1ED760;
color:#000;
}

/* =========================
   PLAYLIST SHEET
========================= */
.playlist2-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background:rgba(0,0,0,.7);
z-index:99999;
display:flex;
justify-content:center;
align-items:flex-end;
opacity:0;
visibility:hidden;
transition:.3s;
}

.playlist2-modal.show{
opacity:1;
visibility:visible;
}

.playlist2-sheet{
width: 100%;
background: #121212;
border-radius: 20px 20px 0 0;
padding: 15px;
height: 100vh;
max-height: 100vh;
overflow-y: auto;
transform: translateY(100%);
transition: transform .35s ease;
-webkit-overflow-scrolling: touch;
}

.playlist2-modal.show .playlist2-sheet{
transform: translateY(0);
}

.sheet-handle{
width:60px;
height:5px;
background:#666;
border-radius:10px;
margin:0 auto 20px;
cursor: pointer;
}

.sheet-header{
display:flex;
justify-content:space-between;
align-items:center;
color:#fff;
font-size:24px;
margin-bottom:20px;
}

.create-btn{
font-size:24px;
color:#1ed760;
cursor:pointer;
touch-action: manipulation;
}

.playlist2-list{
overflow-y:auto;
-webkit-overflow-scrolling: touch;
}

.playlist2-item{
display:flex;
align-items:center;
padding:0px 0;
color:#fff;
}

.playlist2-cover{
width:70px;
height:70px;
border-radius:8px;
object-fit:cover;
margin-right:15px;
}

.playlist2-info{
flex:1;
}

.playlist2-name{
font-size:24px;
}

.playlist2-count{
color:#aaa;
font-size:18px;
}

.playlist2-action{
display:flex;
justify-content:center;
align-items:center;
width:40px;
height:40px;
cursor:pointer;
touch-action: manipulation;
}

.circle-btn{
width:28px;
height:28px;
border-radius:50%;
border:2px solid #aaa;
color:#aaa;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
line-height:1;
transition:.2s;
}

.playlist2-action.added .circle-btn{
background:#1ed760;
border-color:#1ed760;
color:#000;
font-weight:bold;
}

/* =========================
   SEARCH PAGE STYLES
========================= */
.search-content{
padding:20px 10px;
margin-top:10px;
padding-bottom: 10px;
}

.search-content h2{
font-size:24px;
margin-bottom:15px;
color:#fff;
}

#recentList{
color:#aaa;
}

/* =========================
   explore PAGE STYLES
========================= */
.explore-content{
padding:20px 0px;
margin-top:10px;
padding-bottom: 10px;
}

.explore-content h2{
font-size:18px;
margin-bottom:15px;
color:#fff;
}

#exploreList{
color:#aaa;
}


/* =========================
   DESKTOP ONLY - 修正 fullscreen-player 置中問題
========================= */
@media (min-width: 768px){
body{
background:#111;
display:flex;
justify-content:center;
}

.app,
.fullscreen-player{
width:430px;
max-width:430px;
}

.app{
position:relative;
min-height:100vh;
background:#000;
overflow:visible;
}

.header,
.category-wrap,
.bottom-nav{
width:430px;
left:50%;
transform:translateX(-50%);
}

.mini-player{
width:406px;
left:50%;
transform:translateX(-50%);
right:auto;
}

/* ✅ 修正：不用 transform 置中，改用 left:0; right:0; margin:0 auto; */
.fullscreen-player{
left: 0 !important;
right: 0 !important;
margin: 0 auto;
transform: translateY(100%);
width:430px;
border-radius:30px;
overflow: hidden;
}

.fullscreen-player.show{
transform: translateY(0);
}

.playlist2-modal{
justify-content:center;
align-items:flex-end;
}

.playlist2-sheet{
width:430px;
border-radius:20px 20px 0 0;
}
}

/* 加入播放清單按鈕完整樣式 */
.add-to-playlist-btn {
    transition: all 0.2s ease;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.circle-btn.add-to-playlist-btn {
    background-color: white !important;
    border: 1px solid #ddd !important;
}

.circle-btn.add-to-playlist-btn i {
    color: black !important;
    font-size: 14px;
}

.circle-btn.add-to-playlist-btn.added {
    background-color: #1ed760 !important;
    border: 1px solid #1ed760 !important;
}

.circle-btn.add-to-playlist-btn.added i {
    color: black !important;
}

.add-to-playlist-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.add-to-playlist-btn:active {
    transform: scale(0.95);
}

/* Toast 提示訊息 */
.custom-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1ed760;
    color: black;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 999999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .custom-toast {
        bottom: 100px;
        font-size: 13px;
        padding: 10px 20px;
        white-space: normal;
        max-width: 80%;
        text-align: center;
        line-height: 1.4;
    }
}

/* Font Awesome 圖示輔助樣式 */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone {
    line-height: 1;
}

button {
    transition: all 0.2s ease;
}

button:active {
    transform: scale(0.96);
}

.bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.bottom-nav .nav-item span {
    font-size: 18px;
}

.category-btn:hover {

    transform: scale(1.02);
}

.category-btn.active:hover {
   
    transform: scale(1.02);
}

.playlist3-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.playlist3-item:active {
    background: rgba(255, 255, 255, 0.1);
}

.recommend-card:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.recommend-card:active {
    transform: scale(0.98);
}

/* =========================
   SONG MENU MODAL - 完整版
========================= */
.songmenu-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    z-index:999999;
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease, visibility .3s ease;
    display:flex;
    align-items:flex-end;
    justify-content:center;
}

.songmenu-modal.show{
    opacity:1;
    visibility:visible;
}

.songmenu-sheet{
    width:100%;
    max-width:430px;
    max-height: 85vh;
    background:#121212;
    border-radius:20px 20px 0 0;
    padding:0 15px 20px;
    transform:translateY(100%);
    transition:transform .35s cubic-bezier(0.22, 0.9, 0.32, 1);
    margin:0 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    will-change: transform;
}

.songmenu-modal.show .songmenu-sheet{
    transform:translateY(0);
}

/* handle 條 - 可拖曳區域 */
.songmenu-sheet .sheet-handle-area {
    display:flex;
    justify-content:center;
    padding:12px 0 10px;
    cursor:grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #121212;
    z-index: 1;
}

.songmenu-sheet .sheet-handle-area:active {
    cursor:grabbing;
}

.songmenu-sheet .sheet-handle {
    width:50px;
    height:4px;
    background:#555;
    border-radius:4px;
    transition:background .2s;
}

.songmenu-sheet .sheet-handle-area:hover .sheet-handle {
    background:#777;
}

/* header 區域 - 可拖曳區域 */
.songmenu-header{
    display:flex;
    gap:18px;
    align-items:center;
    padding-bottom:16px;
    border-bottom:1px solid rgba(255,255,255,.08);
    cursor:grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.songmenu-header:active {
    cursor:grabbing;
}

.songmenu-cover{
    width:56px;
    height:56px;
    border-radius:10px;
    object-fit:cover;
    flex-shrink:0;
}

.songmenu-title{
    font-size:24px;
    font-weight:600;
    color:#fff;
    line-height:1.3;
}

.songmenu-artist{
    color:#aaa;
    font-size:18px;
    margin-top:3px;
}

/* list 區域 - 可滾動，不可拖曳 */
.songmenu-list{
    padding-top:6px;
    padding-bottom:10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.songmenu-item{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px 8px;
    font-size:16px;
    cursor:pointer;
    color:#fff;
    transition:background .2s;
    border-radius:10px;
    touch-action: manipulation;
}

.songmenu-item i{
    width:26px;
    text-align:center;
    font-size:24px;
    color:#bbb;
}

.songmenu-item span{
    font-size:24px;
}

.songmenu-item:hover{
    background:#1e1e1e;
}

.songmenu-item:active{
    background:#2a2a2a;
    transform:scale(0.97);
}

/* =========================
   DESKTOP 修正
========================= */
@media (min-width: 768px){
    .songmenu-modal{
        justify-content:center;
        align-items:flex-end;
        background:rgba(0,0,0,.8);
    }
    
    .songmenu-sheet{
        width:430px;
        max-height: 80vh;
        border-radius:20px 20px 0 0;
    }
}

/* =========================
   選單項目圖示顏色微調
========================= */
.songmenu-item .fa-share-nodes { color: #1ed760; }
.songmenu-item .fa-heart { color: #e74c3c; }
.songmenu-item .fa-circle-plus { color: #1ed760; }
.songmenu-item .fa-list { color: #3498db; }
.songmenu-item .fa-bars { color: #f39c12; }
.songmenu-item .fa-compact-disc { color: #9b59b6; }

/* =========================
   CIRCLE BTN2 (歌曲選單按鈕)
========================= */
.circle-btn2 {
    width:28px;
    height:28px;
    color:#aaa;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    line-height:1;
    transition:.2s;
    cursor:pointer;
    touch-action: manipulation;
}

.circle-btn2:hover {
    color:#1ed760;
}

.circle-btn2:active {
    transform:scale(0.9);
}

/* =========================
   SHARE PANEL - 滿版從底部滑出，內容從頂部開始
========================= */

/* =========================
   SHARE PANEL
========================= */

.share-panel{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;

    background:rgba(0,0,0,.7);
    z-index:999998;

    opacity:0;
    visibility:hidden;

    transition:opacity .3s ease, visibility .3s ease;

    display:flex;

    align-items:stretch;
    justify-content:center;
}

.share-panel.show{
    opacity:1;
    visibility:visible;
}


/* =========================
   SHARE SHEET - 修正抖動
========================= */

.share-sheet{
    width:100%;
    max-width:100%;

    height:100%;

    background:#121212;
    border-radius:0;

    padding:0 20px 30px;

    transform:translateY(100%);
    transition:transform .35s cubic-bezier(0.22, 0.9, 0.32, 1);

    margin:0 auto;

    overflow-y:auto;
    -webkit-overflow-scrolling:touch;

    touch-action:pan-y;
    will-change:transform;

    display:flex;
    flex-direction:column;

    /* ★★★ 修正抖動：強制 GPU 加速 ★★★ */
    transform-style:preserve-3d;
    -webkit-transform-style:preserve-3d;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

.share-panel.show .share-sheet{
    transform:translateY(0);
}


/* =========================
   handle 條（不動）
========================= */

.share-sheet .sheet-handle-area{
    display:flex;
    justify-content:center;
    padding:12px 0 10px;

    cursor:grab;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;

    flex-shrink:0;

    position:sticky;
    top:0;

    background:#121212;
    z-index:1;
}

.share-sheet .sheet-handle-area:active{
    cursor:grabbing;
}

.share-sheet .sheet-handle{
    width:50px;
    height:4px;
    background:#555;
    border-radius:4px;
    transition:background .2s;
}

.share-sheet .sheet-handle-area:hover .sheet-handle{
    background:#777;
}


/* =========================
   header（不動）
========================= */

.share-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:8px 4px 16px;
    border-bottom:1px solid rgba(255,255,255,.08);

    flex-shrink:0;
}

.share-header span{
    font-size:24px;
    font-weight:600;
    color:#fff;
}

.share-close-btn{
    background:none;
    border:none;
    color:#999;
    font-size:24px;
    cursor:pointer;
    padding:4px 8px;
    touch-action:manipulation;
    transition:color .2s;
}

.share-close-btn:hover{
    color:#fff;
}

.share-close-btn:active{
    transform:scale(0.9);
}


/* =========================
   content
========================= */

.share-content{
    padding:16px 4px 10px;

    flex:1;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;

    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}


/* =========================
   song info（不動）
========================= */

.share-song-info{
    display:flex;
    align-items:center;
    gap:14px;

    padding-bottom:16px;
    border-bottom:1px solid rgba(255,255,255,.08);

    margin-bottom:20px;

    flex-shrink:0;
}

.share-song-cover{
    width:60px;
    height:60px;
    border-radius:10px;
    object-fit:cover;
    flex-shrink:0;
}

.share-song-title{
    font-size:24px;
    font-weight:600;
    color:#fff;
    line-height:1.3;
}

.share-song-artist{
    color:#aaa;
    font-size:18px;
    margin-top:3px;
}


/* =========================
   share buttons（不動）
========================= */

.share-buttons{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
    margin-top:10px;

    flex-shrink:0;
}

.share-btn{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;

    background:none;
    border:none;

    color:#ccc;
    font-size:12px;

    cursor:pointer;
    padding:14px 4px;
    border-radius:12px;

    transition:background .2s ease, transform .15s ease;

    touch-action:manipulation;
    font-family:'Noto Sans TC',sans-serif;
}

.share-btn i{
    font-size:32px;
    line-height:1;
}

.share-btn span{
    font-size:20px;
    color:#999;
}

.share-btn:hover{
    background:rgba(255,255,255,.05);
}

.share-btn:active{
    transform:scale(0.92);
    background:rgba(255,255,255,.08);
}


/* =========================
   icon color（不動）
========================= */

.share-btn[data-platform="facebook"] i{ color:#1877f2; }
.share-btn[data-platform="line"] i{ color:#00b900; }
.share-btn[data-platform="twitter"] i{ color:#000; }
.share-btn[data-platform="email"] i{ color:#ea4335; }
.share-btn[data-platform="copy"] i{ color:#777; }


/* =========================
   desktop
========================= */

@media (min-width: 768px){

    .share-panel{
        justify-content:center;
        align-items:stretch;
    }

    .share-sheet{
        width:430px;
        max-width:430px;

        height:100%;

        border-radius:20px 20px 0 0;
    }
}


/* =========================
   mobile tweak（不動）
========================= */

@media (max-width: 430px){
    .share-buttons{
        grid-template-columns:repeat(5,1fr);
        gap:8px;
    }

    .share-btn{
        padding:12px 2px;
        font-size:11px;
    }

    .share-btn i{ font-size:28px; }
    .share-btn span{ font-size:11px; }
}

@media (max-width: 360px){
    .share-buttons{
        gap:4px;
    }

    .share-btn{
        padding:10px 2px;
    }

    .share-btn i{ font-size:24px; }
    .share-btn span{ font-size:10px; }
}

.jconfirm .jconfirm-holder {
  max-height: 100%;
  padding: 50px 0;
    padding-top: 50px;
    padding-bottom: 50px;
  width: 430px;
      margin: 0 auto;
}