* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0b0f1a;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 16px 90px;
    scrollbar-color: rgba(148, 163, 184, 0.6) rgba(15, 23, 42, 0.5);
    scrollbar-width: thin;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.85);
}

.launcher {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.launcher.hidden {
    display: none;
}

.launcher-btn {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 14px 36px;
    font-size: 1.6rem;
    letter-spacing: 2px;
    cursor: pointer;
}

.app {
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}

canvas {
    width: 100%;
    height: 500px;
    background: #000000;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.help {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    text-align: center;
}

.btn {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #0f172a;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.35);
}

.fast-forward-btn {
    min-width: 64px;
}

.fast-forward-btn.active {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.audio-toggle-btn.active {
    background: linear-gradient(135deg, #10b981, #22c55e);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

.controls {
    display: flex;
    gap: 8px;
    padding-bottom: 6px;
}

.top-actions {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.top-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.top-action-icon:hover {
    transform: translateY(-1px);
}

.notify-btn {
    background: #3b82f6;
}

.recommend-btn {
    background: #f87171;
}

.top-action-main {
    padding: 8px 14px;
    border-radius: 12px;
    border: none;
    background: #22c55e;
    color: #0b1020;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.35);
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.top-action-main:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(1px);
}
