:root {
    --blue: #9bc9db;
    --ink: #282828;
    --mint: #9cdac5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #e6e3e1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mobile-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ui-container {
    width: 280px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 16px 0px;
    text-align: center;
}

.description {
    margin-top: 90px;
}

#progress-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
}

#progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

#progress-fill {
    width: 0%;
    height: 100%;
    background-color: #9cdac5;
    border-radius: 3px;
    transition: width 0.25s ease-out;
}

#progress-text {
    font-size: 0.7rem;
    color: #555555;
}

.choices-container {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
}

.or-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #9bc9db;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    border: 7px solid #ffffff;
}

.choice-box {
    flex: 1 1 0%; 
    min-width: 0; 
    height: 150px;
    background-color: #ffffff;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.song-title {
    font-size: 0.9rem;
    line-height: 1.3;
    width: 100%;
    
    word-wrap: break-word;
    word-break: normal;
    overflow: hidden;
    
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.skip-button {
    color: #282828;
    background-color: #ffffff;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 12px 36px;
    cursor: pointer;
}

.results-heading {
    margin-bottom: 10px;
    padding-top: 40px;
    color: var(--ink);
}

.results-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.55rem;
}

.results-table td {
    padding: 2px 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: top;
}

.results-table td.empty {
    border-color: transparent;
}

.rank-cell {
    width: 15px;
    text-align: center;
    padding-right: 10px;
}

.song-cell {
    text-align: left;
}

.socials-container {
    font-size: 0.6rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}

.insta-link {
    color: #9bc9db;
}

.consent-overlay {
    position: fixed;
    inset: 0;
    background-color: #97979775;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

.consent-overlay.hidden {
    display: none;
}

.consent-box {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 24px 20px;
    max-width: 320px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #282828;
    text-align: center;
}

.consent-box p {
    margin-bottom: 12px;
}

.consent-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    cursor: pointer;
}

.consent-button {
    color: #282828;
    background-color: #ffffff;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 12px 36px;
    cursor: pointer;
    font-family: inherit;
}