.tiktaktry-container {
    width: 100%;
    min-height: 600px;
    background: transparent;
    padding: 2rem;
}

.tiktaktry-main {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 2rem;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
}

.slider-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0.5rem 0;
}

.slider-track-wrapper {
    position: relative;
    flex: 1;
    width: 5rem;
    padding: 2rem 0;
    margin: 1rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    position: absolute;
    width: 6px;
    height: 100%;
    background: #e5e7eb;
    border-radius: 3px;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
}

.slider-fill {
    position: absolute;
    width: 6px;
    bottom: 0;
    border-radius: 3px;
    pointer-events: none;
    transition: height 0.1s ease-out;
    left: 50%;
    transform: translateX(-50%);
}

.slider-track-tempo {
    background: #e5e7eb;
}

.slider-track-complexity {
    background: #e5e7eb;
}

.slider-cursor {
    position: absolute;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    z-index: 10;
    transition: none;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
}

.slider-cursor:active {
    cursor: grabbing;
}

.cursor-value {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    color: #2563eb;
    pointer-events: auto;
}

.slider-cursor-tempo .cursor-value {
    border-color: #3b82f6;
    color: #2563eb;
}

.slider-cursor-complexity .cursor-value {
    border-color: #a855f7;
    color: #9333ea;
}

#tt-complexity-cursor .cursor-value {
    border-color: #a855f7;
    color: #9333ea;
}

.card-board {
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.card-item {
    aspect-ratio: 1;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.card-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.card-item:active {
    transform: scale(0.95);
}

.card-item.active {
    box-shadow: 0 0 0 4px #fbbf24;
    transform: scale(1.1);
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tiktaktry-controls {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tt-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.tt-button:hover {
    transform: scale(1.05);
}

.tt-button:active {
    transform: scale(0.95);
}

.tt-button-primary {
    background: #3b82f6;
    color: white;
}

.tt-button-primary:hover {
    background: #2563eb;
}

.tt-button-secondary {
    background: #10b981;
    color: white;
}

.tt-button-secondary:hover {
    background: #059669;
}

.tt-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .tiktaktry-main {
        flex-direction: column;
    }
    
    .slider-container {
        flex-direction: row;
        min-height: auto;
        width: 100%;
    }
    
    .slider-wrapper {
        min-height: 80px;
        height: 80px;
        width: 100%;
        flex: 1;
    }
    
    .vertical-slider {
        writing-mode: initial;
        -webkit-appearance: slider-horizontal;
    }
    
    .card-grid {
        gap: 0.5rem;
    }
    
    .tiktaktry-controls {
        flex-direction: column;
    }
}
    width: 100%;
    min-height: 600px;
    background: transparent;
    padding: 2rem;
}

.tiktaktry-header h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.tiktaktry-main {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 2rem;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
}

.slider-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0.5rem 0;
}

.slider-wrapper {
    position: relative;
    flex: 1;
    width: 5rem;
    padding: 2rem 0;
    margin: 1rem 0;
    min-height: 400px;
}

.vertical-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    appearance: none;
    -webkit-appearance: slider-vertical;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    writing-mode: bt-lr;
}

.vertical-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    opacity: 0;
    cursor: pointer;
}

.vertical-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    opacity: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.vertical-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
}

.vertical-slider::-moz-range-track {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
}

.slider-cursor {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 20;
    transition: top 0.15s ease-out;
}

.cursor-value {
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #2563eb;
}

#tt-complexity-cursor .cursor-value {
    border-color: #a855f7;
    color: #9333ea;
}

.card-board {
    background: #bfdbfe;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.card-item {
    aspect-ratio: 1;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.card-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.card-item:active {
    transform: scale(0.95);
}

.card-item.active {
    box-shadow: 0 0 0 4px #fbbf24;
    transform: scale(1.1);
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tiktaktry-controls {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tt-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.tt-button:hover {
    transform: scale(1.05);
}

.tt-button:active {
    transform: scale(0.95);
}

.tt-button-primary {
    background: #3b82f6;
    color: white;
}

.tt-button-primary:hover {
    background: #2563eb;
}

.tt-button-secondary {
    background: #10b981;
    color: white;
}

.tt-button-secondary:hover {
    background: #059669;
}

.tt-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .tiktaktry-main {
        flex-direction: column;
    }
    
    .slider-container {
        flex-direction: row;
        min-height: auto;
        width: 100%;
    }
    
    .slider-wrapper {
        min-height: 80px;
        height: 80px;
        width: 100%;
        flex: 1;
    }
    
    .vertical-slider {
        writing-mode: initial;
        -webkit-appearance: slider-horizontal;
    }
    
    .card-grid {
        gap: 0.5rem;
    }
    
    .tiktaktry-controls {
        flex-direction: column;
    }
}

.tiktaktry-header h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.tiktaktry-main {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 2rem;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.slider-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
}

.slider-wrapper {
    position: relative;
    flex: 1;
    width: 5rem;
    padding: 2rem 0;
    margin: 1rem 0;
}

.vertical-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    appearance: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    writing-mode: bt-lr;
    -webkit-appearance: slider-vertical;
}

.vertical-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0;
    height: 0;
    opacity: 0;
}

.vertical-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    opacity: 0;
}

.slider-cursor {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 20;
    transition: top 0.2s;
}

.cursor-value {
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #2563eb;
}

#tt-complexity-cursor .cursor-value {
    border-color: #a855f7;
    color: #9333ea;
}

.card-board {
    background: #bfdbfe;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card-item {
    aspect-ratio: 1;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.card-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.card-item:active {
    transform: scale(0.95);
}

.card-item.active {
    box-shadow: 0 0 0 4px #fbbf24;
    transform: scale(1.1);
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tiktaktry-controls {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tt-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.tt-button:hover {
    transform: scale(1.05);
}

.tt-button:active {
    transform: scale(0.95);
}

.tt-button-primary {
    background: #3b82f6;
    color: white;
}

.tt-button-primary:hover {
    background: #2563eb;
}

.tt-button-secondary {
    background: #10b981;
    color: white;
}

.tt-button-secondary:hover {
    background: #059669;
}

.tt-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .tiktaktry-main {
        flex-direction: column;
    }
    
    .card-grid {
        gap: 0.5rem;
    }
    
    .tiktaktry-controls {
        flex-direction: column;
    }
}