@import url(../../../../assets/css/base.css);

.challenge-page {
    padding: 24px 14px 28px;
    box-sizing: border-box;
    max-width: var(--content-width-desktop);
    margin: 0 auto;
}

.challenge-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

.challenge-title {
    color: var(--color-accent);
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .24rem;
    text-transform: uppercase;
}

.challenge-title-2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
}

.widget-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "a c"
        "b c"
        "d d";
    gap: 12px;
    width: 100%;
}

.widget-a {
    grid-area: a;
}

.widget-b {
    grid-area: b;
}

.widget-c {
    grid-area: c;
}

.widget-d {
    grid-area: d;
}

.widget-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 140px;
    padding: 14px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    background:
        linear-gradient(180deg, var(--bg-surface-hover), var(--bg-surface)),
        #1a1f2b;
    border: 1px solid var(--border-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.widget-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-main);
    box-shadow: 0 16px 38px rgba(0,0,0,0.34);
}

.widget-card:active {
    transform: translateY(-1px);
}

.widget-label {
    position: absolute;
    /* top: 12px;
    bottom: 14px; */
    bottom: 12px;
    right: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.widget-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 90px;
    text-align: center;
}


.widget-c {
    min-height: 292px;
}

.widget-d {
    min-height: 110px;
}

.widget-c .widget-content,
.widget-d .widget-content {
    min-height: 0;
}















.route-svg {
    width: 90%;
    height: 90%;
}

.route-svg path {
    fill: none;
    stroke: var( --text-secondary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}




model-viewer {
    background: transparent;
}

.widget-c model-viewer {
    pointer-events: none;
}

.bottle-glow {
    position: relative;
    width: 100%;
    height: 100%;
}

.bottle-glow::before {
    content: "";
    position: absolute;
    inset: 20%;
    background: radial-gradient(
        circle,
        #00ad0240 0%,
        transparent 70%
    );
    filter: blur(25px);
    z-index: 0;
}

.bottle-glow model-viewer {
    position: relative;
    z-index: 1;
}
























.widget-content-people {
    align-items: stretch;
    justify-content: center;
    min-height: 100%;
    padding-top: 18px;
}

.people-preview {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.people-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.people-row-primary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(211, 174, 54, 0.18);
}

.people-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    flex-shrink: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.people-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.people-line {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.people-line-long {
    width: 82%;
}

.people-line-medium {
    width: 68%;
}

.people-line-short {
    width: 54%;
}

.people-line-shorter {
    width: 42%;
}

.people-line-tiny {
    width: 28%;
}

.people-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
    background: rgba(211, 174, 54, 0.75);
    box-shadow: 0 0 12px rgba(211, 174, 54, 0.35);
}