* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif; user-select: none; } body, html { height: 100%; background: transparent !important; overflow: hidden; } body.show { opacity: 1; pointer-events: auto; animation: fadeIn 0.4s ease; } .container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; justify-content: center; align-items: center; width: 100%; pointer-events: none; } .airpods-ui { position: relative; display: inline-block; pointer-events: auto; display: none; text-align: center; animation: popIn 0.4s ease; } .airpods-img { width: 260px; height: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)); border-radius: 20px; margin-bottom: 6px; transition: transform 0.3s ease; } .music-link { margin: 0 auto 4px; padding: 10px 14px; width: 240px; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; font-size: 14px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .music-link:focus { border-color: #007aff; box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.15); } .mode-selector { display: flex; justify-content: center; gap: 8px; margin-top: 8px; } .mode-btn { padding: 8px 10px; font-size: 13px; border: none; border-radius: 10px; background: #f0f0f0; color: #333; cursor: pointer; transition: all 0.2s ease; } .mode-btn:hover { background: #e6e6e6; } .mode-btn.active { background: #007aff; color: white; } .btn { position: absolute; background: white; border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 20px; font-weight: bold; box-shadow: 0 2px 6px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; } .btn:hover { transform: scale(1.08); box-shadow: 0 4px 10px rgba(0,0,0,0.12); } .volume-btn.minus { top: 40%; left: 28%; } .volume-btn.plus { top: 40%; right: 28%; } .play-btn { bottom: 34%; left: 20%; background-color: #007aff; color: white; border-radius: 999px; padding: 0 14px; width: auto; height: 36px; font-size: 14px; transition: background-color 0.2s ease; } .play-btn:hover { background-color: #006ae6; } .stop-btn { bottom: 34%; right: 20%; background-color: white; color: black; border-radius: 999px; padding: 0 14px; width: auto; height: 36px; font-size: 14px; border: 1px solid rgba(0,0,0,0.1); transition: background-color 0.2s ease; } .stop-btn:hover { background-color: #f2f2f2; } .close-btn { position: absolute; top: -6px; right: -6px; background: #fff; color: #666; font-size: 16px; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.1); z-index: 10; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; outline: none; border: none; } .close-btn:hover { background: #f0f0f0; transform: scale(1.1); } .close-btn:focus { outline: none; box-shadow: none; } .notification { background: rgba(255, 255, 255, .95); backdrop-filter: blur(20px) saturate(180%); border-radius: 14px; padding: 14px 18px; color: #000; font-size: 14px; font-weight: 500; box-shadow: 0 4px 24px -1px rgba(0, 0, 0, .1), 0 0 1px 0 rgba(0, 0, 0, .05); transform: translateX(120%); animation: slideIn .3s forwards, fadeOut .3s 2s forwards; } @keyframes slideIn { to { transform: translateX(0); } } @keyframes fadeOut { to { opacity: 0; transform: translateX(120%); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes popIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }